1
0
mirror of https://github.com/matrix-org/matrix-authentication-service.git synced 2025-07-31 09:24:31 +03:00

Update schemas

This commit is contained in:
Quentin Gliech
2022-11-07 12:04:55 +01:00
parent 3f56031795
commit ea1ecd5fc6
2 changed files with 56 additions and 0 deletions

View File

@ -0,0 +1,32 @@
type Mutation {
"""
A dummy mutation so that the mutation object is not empty
"""
hello: Boolean!
}
type Query {
"""
A simple property which uses the DB pool and the current session
"""
username: String
}
type Subscription {
"""
A dump subscription to try out the websocket
"""
integers(step: Int! = 1): Int!
}
schema {
query: Query
mutation: Mutation
subscription: Subscription
}

View File

@ -80,6 +80,10 @@
{
"name": "compat"
},
{
"name": "graphql",
"playground": true
},
{
"name": "static"
}
@ -1333,6 +1337,26 @@
}
}
},
{
"description": "GraphQL endpoint",
"type": "object",
"required": [
"name"
],
"properties": {
"name": {
"type": "string",
"enum": [
"graphql"
]
},
"playground": {
"description": "Enabled the GraphQL playground",
"default": false,
"type": "boolean"
}
}
},
{
"description": "OAuth-related APIs",
"type": "object",