ev/app/salty/salty.graphqls

13 lines
295 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 @goModel(model: "github.com/sour-is/ev/app/salty.SaltyUser"){
2022-08-14 10:04:15 -06:00
pubkey: String!
inbox: String!
endpoint: String!
}