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): gql schema is outdated (#6097)

liuyi73801ce8641d
diff --git a/packages/frontend/graphql/src/schema.ts b/packages/frontend/graphql/src/schema.ts
index c43b7c1ef1..903dcf52a6 100644
--- a/packages/frontend/graphql/src/schema.ts
+++ b/packages/frontend/graphql/src/schema.ts
@@ -394,14 +394,18 @@ export type GetUserQueryVariables = Exact<{
export type GetUserQuery = {
__typename?: 'Query';
user:
- | { __typename: 'LimitedUserType'; email: string; hasPassword: boolean }
+ | {
+ __typename: 'LimitedUserType';
+ email: string;
+ hasPassword: boolean | null;
+ }
| {
__typename: 'UserType';
id: string;
name: string;
avatarUrl: string | null;
email: string;
- hasPassword: boolean;
+ hasPassword: boolean | null;
}
| null;
};