refactor: move graphql into individual services
This commit is contained in:
14
app/salty/salty.graphqls
Normal file
14
app/salty/salty.graphqls
Normal file
@@ -0,0 +1,14 @@
|
||||
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"){
|
||||
nick: String!
|
||||
pubkey: String!
|
||||
inbox: String!
|
||||
endpoint: String!
|
||||
}
|
||||
Reference in New Issue
Block a user