فهرست منبع

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}>;