go-tools/app/salty/salty.graphqls

13 lines
290 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/tools/app/salty.SaltyUser"){
pubkey: String!
inbox: String!
endpoint: String!
}