| 12345678910111213141516171819202122232425262728 |
- export const PageActionType = {
- Create: 'Create',
- Update: 'Update',
- Rename: 'Rename',
- Duplicate: 'Duplicate',
- Delete: 'Delete',
- DeleteCompletely: 'DeleteCompletely',
- Revert: 'Revert',
- NormalizeParent: 'NormalizeParent',
- } as const;
- export type PageActionType = typeof PageActionType[keyof typeof PageActionType];
- export const PageActionStage = {
- Main: 'Main',
- Sub: 'Sub',
- } as const;
- export type PageActionStage = typeof PageActionStage[keyof typeof PageActionStage];
- export type IPageOperationProcessData = {
- [key in PageActionType]?: {
- [PageActionStage.Main]?: { isProcessable: boolean },
- [PageActionStage.Sub]?: { isProcessable: boolean },
- }
- }
- export type IPageOperationProcessInfo = {
- [pageId: string]: IPageOperationProcessData,
- }
|