Browse Source

resolve conflicts dc1eb9cbec

Taichi Masuyama 3 years ago
parent
commit
94363f7c1d
1 changed files with 5 additions and 0 deletions
  1. 5 0
      packages/core/src/interfaces/page.ts

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

@@ -62,6 +62,11 @@ export type PageGrant = typeof PageGrant[UnionPageGrantKeys];
  */
 export type PageGrantCanBeOnTree = typeof PageGrant[Exclude<UnionPageGrantKeys, 'GRANT_RESTRICTED' | 'GRANT_SPECIFIED'>];
 
+export const PageStatus = {
+  STATUS_PUBLISHED: 'published',
+  STATUS_DELETED: 'deleted',
+} as const;
+export type PageStatus = typeof PageStatus[keyof typeof PageStatus];
 
 export type IPageHasId = IPage & HasObjectId;