Просмотр исходного кода

change IPageActionType to PageActionType

yohei0125 3 лет назад
Родитель
Сommit
1e2971f829
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      packages/app/src/interfaces/page.ts

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

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