Explorar o código

change IPageActionType to PageActionType

yohei0125 %!s(int64=4) %!d(string=hai) anos
pai
achega
1e2971f829
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  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}>;