1
0
mirror of https://github.com/matrix-org/matrix-authentication-service.git synced 2025-07-28 11:02:02 +03:00
Files
authentication-service/crates/graphql/schema.graphql
Quentin Gliech ea1ecd5fc6 Update schemas
2022-11-09 19:17:12 +01:00

33 lines
405 B
GraphQL

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
}