From 73801ce8641d2e7aeec8b0fb13bd139c507322ab Mon Sep 17 00:00:00 2001 From: liuyi Date: Wed, 13 Mar 2024 04:11:44 +0000 Subject: [PATCH] fix(server): gql schema is outdated (#6097) --- packages/frontend/graphql/src/schema.ts | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) 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; };