ev/api/gql_ev/salty.graphqls

14 lines
257 B
GraphQL
Raw Normal View History

2022-08-14 10:04:15 -06:00
extend type Query {
saltyUser(nick: String!): SaltyUser
}
extend type Mutation {
createSaltyUser(nick: String! pubkey: String!): SaltyUser
}
type SaltyUser {
nick: String!
pubkey: String!
inbox: String!
endpoint: String!
}