2
0
Эх сурвалжийг харах

add new type IPageOperationProcessInfo to page interface

yohei0125 3 жил өмнө
parent
commit
a439a3cafa

+ 3 - 0
packages/app/src/interfaces/page.ts

@@ -1,5 +1,6 @@
 import { Ref, Nullable } from './common';
 import { HasObjectId } from './has-object-id';
+import { IPageActionType } from './page-operation';
 import { IRevision, HasRevisionShortbody } from './revision';
 import { SubscriptionStatusType } from './subscription';
 import { ITag } from './tag';
@@ -34,6 +35,8 @@ export interface IPage {
 
 export type IPageHasId = IPage & HasObjectId;
 
+export type IPageOperationProcessInfo = Partial<Record<IPageActionType, {isProcessing: boolean}>>
+
 export type IPageForItem = Partial<IPageHasId & {isTarget?: boolean}>;
 
 export type IPageInfo = {