ソースを参照

resolve conflicts dc1eb9cbec

Taichi Masuyama 3 年 前
コミット
94363f7c1d
1 ファイル変更5 行追加0 行削除
  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 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;
 export type IPageHasId = IPage & HasObjectId;