You've already forked authentication-service
mirror of
https://github.com/matrix-org/matrix-authentication-service.git
synced 2025-07-29 22:01:14 +03:00
Update schemas
This commit is contained in:
32
crates/graphql/schema.graphql
Normal file
32
crates/graphql/schema.graphql
Normal 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
|
||||
}
|
||||
|
Reference in New Issue
Block a user