瀏覽代碼

add new types in page operation interface

yohei0125 3 年之前
父節點
當前提交
9028305765
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      packages/app/src/interfaces/page-operation.ts

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

@@ -7,3 +7,5 @@ export const PageActionType = {
   NormalizeParent: 'NormalizeParent',
   NormalizeParent: 'NormalizeParent',
 } as const;
 } as const;
 export type PageActionType = typeof PageActionType[keyof typeof PageActionType]
 export type PageActionType = typeof PageActionType[keyof typeof PageActionType]
+export type IPageOperationProcessData = Partial<Record<PageActionType, {isProcessing: boolean}>>
+export type IPageOperationProcessInfo = Partial<Record<string, IPageOperationProcessData>>