2021-08-07 19:56:39 +07:00
|
|
|
type Query {
|
|
|
|
hello: String
|
|
|
|
|
|
|
|
helloByName(name: String!): String
|
|
|
|
|
|
|
|
fetchUsers: [User]!
|
|
|
|
|
|
|
|
fetchAccounts: [Account]!
|
|
|
|
|
|
|
|
fetchExpenses(filter: ExpenseFilter, pageNumber: Int, pageSize: Int) : ExpensePage
|
|
|
|
}
|
|
|
|
|
|
|
|
type Subscription {
|
|
|
|
hello: Int
|
|
|
|
}
|
|
|
|
|
|
|
|
type Mutation {
|
2021-08-08 18:55:52 +07:00
|
|
|
login(username: String!, password: String!): LoginResponse
|
|
|
|
|
2021-08-07 19:56:39 +07:00
|
|
|
createUser(input: UserInput): User!
|
2021-08-08 18:55:52 +07:00
|
|
|
changeUserPassword(input: UserChangePasswordInput): User!
|
2021-08-07 19:56:39 +07:00
|
|
|
|
|
|
|
openAccount(input: AccountInput): Account!
|
|
|
|
}
|