ev/app/salty/salty.graphqls

14 lines
317 B
GraphQL
Raw Permalink 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
nick: String!
pubkey: String!
inbox: String!
endpoint: String!
}