Explorar o código

Merge branch 'feat/140128-enable-saving-as-a-wip-page' into feat/140129-turn-existing-pages-into-wip-pages

Shun Miyazawa %!s(int64=2) %!d(string=hai) anos
pai
achega
51a3b4da17
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      packages/core/src/interfaces/page.ts

+ 2 - 0
packages/core/src/interfaces/page.ts

@@ -39,6 +39,8 @@ export type IPage = {
   latestRevision?: Ref<IRevision>,
   latestRevision?: Ref<IRevision>,
   latestRevisionBodyLength?: number,
   latestRevisionBodyLength?: number,
   expandContentWidth?: boolean,
   expandContentWidth?: boolean,
+  wip?: boolean,
+  wipExpiredAt?: Date,
 }
 }
 
 
 export type IPagePopulatedToList = Omit<IPageHasId, 'lastUpdateUser'> & {
 export type IPagePopulatedToList = Omit<IPageHasId, 'lastUpdateUser'> & {