fix(core): selfhosted auth handling (#15295)

fix #15284
fix #15266
fix #15268
fix #15267

#### PR Dependency Tree


* **PR #15295** 👈

This tree was auto-generated by
[Charcoal](https://github.com/danerwilliams/charcoal)
This commit is contained in:
DarkSky
2026-07-21 11:26:15 +08:00
committed by GitHub
parent bb55d6fd21
commit b1abd8db54
17 changed files with 169 additions and 65 deletions
@@ -5,8 +5,7 @@ query getCurrentUser {
email
emailVerified
avatarUrl
token {
sessionToken
}
hasPassword
features
}
}
+2 -4
View File
@@ -1967,12 +1967,10 @@ export const getCurrentUserQuery = {
email
emailVerified
avatarUrl
token {
sessionToken
}
hasPassword
features
}
}`,
deprecations: ["'token' is deprecated: use auth session exchange instead"],
};
export const getDocCreatedByUpdatedByListQuery = {
+2 -1
View File
@@ -6519,7 +6519,8 @@ export type GetCurrentUserQuery = {
email: string;
emailVerified: boolean;
avatarUrl: string | null;
token: { __typename?: 'tokenType'; sessionToken: string | null };
hasPassword: boolean | null;
features: Array<FeatureType>;
} | null;
};