You've already forked authentication-service
mirror of
https://github.com/matrix-org/matrix-authentication-service.git
synced 2025-11-24 23:01:05 +03:00
Update GraphQL schema
This commit is contained in:
@@ -1165,7 +1165,7 @@ union Viewer = User | Anonymous
|
|||||||
"""
|
"""
|
||||||
Represents the current viewer's session
|
Represents the current viewer's session
|
||||||
"""
|
"""
|
||||||
union ViewerSession = BrowserSession | Anonymous
|
union ViewerSession = BrowserSession | Oauth2Session | Anonymous
|
||||||
|
|
||||||
schema {
|
schema {
|
||||||
query: Query
|
query: Query
|
||||||
|
|||||||
@@ -873,7 +873,7 @@ export enum VerifyEmailStatus {
|
|||||||
export type Viewer = Anonymous | User;
|
export type Viewer = Anonymous | User;
|
||||||
|
|
||||||
/** Represents the current viewer's session */
|
/** Represents the current viewer's session */
|
||||||
export type ViewerSession = Anonymous | BrowserSession;
|
export type ViewerSession = Anonymous | BrowserSession | Oauth2Session;
|
||||||
|
|
||||||
export type CurrentViewerQueryQueryVariables = Exact<{ [key: string]: never }>;
|
export type CurrentViewerQueryQueryVariables = Exact<{ [key: string]: never }>;
|
||||||
|
|
||||||
@@ -892,7 +892,8 @@ export type CurrentViewerSessionQueryQuery = {
|
|||||||
__typename?: "Query";
|
__typename?: "Query";
|
||||||
viewerSession:
|
viewerSession:
|
||||||
| { __typename: "Anonymous"; id: string }
|
| { __typename: "Anonymous"; id: string }
|
||||||
| { __typename: "BrowserSession"; id: string };
|
| { __typename: "BrowserSession"; id: string }
|
||||||
|
| { __typename: "Oauth2Session" };
|
||||||
};
|
};
|
||||||
|
|
||||||
export type AddEmailMutationVariables = Exact<{
|
export type AddEmailMutationVariables = Exact<{
|
||||||
|
|||||||
@@ -2601,6 +2601,10 @@ export default {
|
|||||||
kind: "OBJECT",
|
kind: "OBJECT",
|
||||||
name: "BrowserSession",
|
name: "BrowserSession",
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
kind: "OBJECT",
|
||||||
|
name: "Oauth2Session",
|
||||||
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user