Browse Source

add IPageActionType to page-operation interface

yohei0125 4 năm trước cách đây
mục cha
commit
37545207fe
1 tập tin đã thay đổi với 9 bổ sung0 xóa
  1. 9 0
      packages/app/src/interfaces/page-operation.ts

+ 9 - 0
packages/app/src/interfaces/page-operation.ts

@@ -0,0 +1,9 @@
+export const IPageActionType = {
+  Rename: 'Rename',
+  Duplicate: 'Duplicate',
+  Delete: 'Delete',
+  DeleteCompletely: 'DeleteCompletely',
+  Revert: 'Revert',
+  NormalizeParent: 'NormalizeParent',
+} as const;
+export type IPageActionType = typeof IPageActionType[keyof typeof IPageActionType]