Skip to content

There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.

fix(server): page variant may exist

forehalo5e9efbffa340
diff --git a/packages/backend/server/src/utils/doc.ts b/packages/backend/server/src/utils/doc.ts
index 1cb275596d..1754d280a6 100644
--- a/packages/backend/server/src/utils/doc.ts
+++ b/packages/backend/server/src/utils/doc.ts
@@ -2,6 +2,7 @@ import { registerEnumType } from '@nestjs/graphql';
export enum DocVariant {
Workspace = 'workspace',
+ Page = 'page',
Space = 'space',
Settings = 'settings',
Unknown = 'unknown',