mirror of
https://github.com/baserow/baserow.git
synced 2026-12-04 00:08:25 +00:00
Co-authored-by: Jeremie Pardou <571533+jrmi@users.noreply.github.com>
13 lines
466 B
JavaScript
13 lines
466 B
JavaScript
// The different types of undo/redo scopes available for the builder module.
|
|
export const BUILDER_ACTION_SCOPES = {
|
|
// Scope for the page currently being edited. `sharedPageId` is sent alongside
|
|
// so that edits to shared (header/footer) elements — which live on the builder's
|
|
// shared page — are undoable while editing any content page.
|
|
page(pageId, sharedPageId = null) {
|
|
return {
|
|
page: pageId,
|
|
shared_page: sharedPageId,
|
|
}
|
|
},
|
|
}
|