ev/app/salty/salty.graphqls
2022-10-25 16:11:28 -06:00

13 lines
295 B
GraphQL

extend type Query {
saltyUser(nick: String!): SaltyUser
}
extend type Mutation {
createSaltyUser(nick: String! pubkey: String!): SaltyUser
}
type SaltyUser @goModel(model: "github.com/sour-is/ev/app/salty.SaltyUser"){
pubkey: String!
inbox: String!
endpoint: String!
}