export type PrivatePageGrantType = 'email'; export type PrivatePageGrantRole = 'viewer' | 'editor' | 'manager'; export type PrivatePageGrant = { type: PrivatePageGrantType; value: string; role: PrivatePageGrantRole; }; export type PrivatePageType = { _id: string; pageId: string; orgId: string; deploymentId: string; ownerUserId: string; title: string; grants?: PrivatePageGrant[]; createdAt: Date; };