ev/app/salty/salty.graphqls

13 lines
287 B
GraphQL

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