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

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

@@ -31,6 +31,7 @@ export interface IPage {
   hasDraftOnHackmd: boolean,
   hasDraftOnHackmd: boolean,
   deleteUser: Ref<IUser>,
   deleteUser: Ref<IUser>,
   deletedAt: Date,
   deletedAt: Date,
+  latestRevision?: Ref<IRevision>,
 }
 }
 
 
 export const PageGrant = {
 export const PageGrant = {
@@ -42,7 +43,7 @@ export const PageGrant = {
 };
 };
 export type PageGrant = typeof PageGrant[keyof typeof PageGrant];
 export type PageGrant = typeof PageGrant[keyof typeof PageGrant];
 
 
-export type IPageHasId = IPage & HasObjectId & {latestRevision?: Ref<IRevision>};
+export type IPageHasId = IPage & HasObjectId;
 
 
 export type IPageForItem = Partial<IPageHasId & {isTarget?: boolean, processData?: IPageOperationProcessData}>;
 export type IPageForItem = Partial<IPageHasId & {isTarget?: boolean, processData?: IPageOperationProcessData}>;