feat: support google login on desktop (#4053)

Co-authored-by: Alex Yang <himself65@outlook.com>
This commit is contained in:
Peng Xiao
2023-08-31 12:51:49 +08:00
committed by GitHub
parent ba735d8b57
commit 4e45554585
14 changed files with 256 additions and 96 deletions

View File

@@ -6,5 +6,8 @@ query getCurrentUser {
emailVerified
avatarUrl
createdAt
token {
token
}
}
}

View File

@@ -125,6 +125,9 @@ query getCurrentUser {
emailVerified
avatarUrl
createdAt
token {
token
}
}
}`,
};

View File

@@ -147,6 +147,7 @@ export type GetCurrentUserQuery = {
emailVerified: string | null;
avatarUrl: string | null;
createdAt: string | null;
token: { __typename?: 'TokenType'; token: string };
};
};