Преглед изворни кода

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 const PageStatus = {
+  STATUS_PUBLISHED: 'published',
+  STATUS_DELETED: 'deleted',
+} as const;
+export type PageStatus = typeof PageStatus[keyof typeof PageStatus];
 
 export type IPageHasId = IPage & HasObjectId;