Explorar o código

add new types in page operation interface

yohei0125 %!s(int64=4) %!d(string=hai) anos
pai
achega
9028305765
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  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',
 } as const;
 export type PageActionType = typeof PageActionType[keyof typeof PageActionType]
+export type IPageOperationProcessData = Partial<Record<PageActionType, {isProcessing: boolean}>>
+export type IPageOperationProcessInfo = Partial<Record<string, IPageOperationProcessData>>