Explorar o código

add IPageActionType to page-operation interface

yohei0125 %!s(int64=4) %!d(string=hai) anos
pai
achega
37545207fe
Modificáronse 1 ficheiros con 9 adicións e 0 borrados
  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]