page-operation.ts 540 B

12345678910111213141516171819202122232425
  1. import { ObjectIdLike } from './mongoose-utils';
  2. export type IPageForResuming = {
  3. _id: ObjectIdLike,
  4. path: string,
  5. isEmpty: boolean,
  6. parent?: ObjectIdLike,
  7. grant?: number,
  8. grantedUsers?: ObjectIdLike[],
  9. grantedGroup?: ObjectIdLike,
  10. descendantCount: number,
  11. status?: number,
  12. revision?: ObjectIdLike,
  13. lastUpdateUser?: ObjectIdLike,
  14. creator?: ObjectIdLike,
  15. };
  16. export type IUserForResuming = {
  17. _id: ObjectIdLike,
  18. };
  19. export type IOptionsForResuming = {
  20. updateMetadata?: boolean,
  21. createRedirectPage?: boolean,
  22. };