Преглед на файлове

add latestRevision as optional prop to IPageHasId

yohei0125 преди 3 години
родител
ревизия
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}>;