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

add latestRevision as optional prop to IPageHasId

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

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

@@ -42,7 +42,7 @@ export const PageGrant = {
 };
 export type PageGrant = typeof PageGrant[keyof typeof PageGrant];
 
-export type IPageHasId = IPage & HasObjectId;
+export type IPageHasId = IPage & HasObjectId & {latestRevision?: Ref<IRevision>};
 
 export type IPageForItem = Partial<IPageHasId & {isTarget?: boolean, processData?: IPageOperationProcessData}>;