Explorar o código

add latestRevision as optional prop to IPageHasId

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