2022-08-14 10:04:15 -06:00
|
|
|
extend type Query {
|
|
|
|
saltyUser(nick: String!): SaltyUser
|
|
|
|
}
|
|
|
|
|
|
|
|
extend type Mutation {
|
|
|
|
createSaltyUser(nick: String! pubkey: String!): SaltyUser
|
|
|
|
}
|
|
|
|
|
2023-02-26 22:33:01 -07:00
|
|
|
type SaltyUser @goModel(model: "go.sour.is/ev/app/salty.SaltyUser"){
|
2022-08-14 10:04:15 -06:00
|
|
|
pubkey: String!
|
|
|
|
inbox: String!
|
|
|
|
endpoint: String!
|
|
|
|
}
|