1
0
mirror of https://github.com/matrix-org/matrix-authentication-service.git synced 2026-01-03 17:02:28 +03:00

Update the schema

This commit is contained in:
Quentin Gliech
2024-07-02 15:35:58 +02:00
parent 57c87071d1
commit 378bcbc39e
2 changed files with 9 additions and 0 deletions

View File

@@ -107,6 +107,9 @@ module.exports = {
},
],
// async-graphql generates a few unused directives, let's not warn about them
"@graphql-eslint/no-unreachable-types": "off",
// We need to disable this rule because of the 'username' field in the 'User' node
"@graphql-eslint/no-typename-prefix": "off",

View File

@@ -1857,6 +1857,12 @@ Represents the current viewer's session
"""
union ViewerSession = BrowserSession | Oauth2Session | Anonymous
directive @deprecated(
reason: String = "No longer supported"
) on FIELD_DEFINITION | ARGUMENT_DEFINITION | INPUT_FIELD_DEFINITION | ENUM_VALUE
directive @include(if: Boolean!) on FIELD | FRAGMENT_SPREAD | INLINE_FRAGMENT
directive @skip(if: Boolean!) on FIELD | FRAGMENT_SPREAD | INLINE_FRAGMENT
directive @specifiedBy(url: String!) on SCALAR
schema {
query: Query
mutation: Mutation