✨ Start log view with orders & transactions

This commit is contained in:
Nikolai R Kristiansen committed 2022-02-02 23:06:33 +01:00
1 parent 85698deba5
commit a2cfd0ceaf
8 files changed
+169 -1

No files matched your search

+7
View File
@@ -48,6 +48,11 @@ type Mutation {
createDeposit(userId: ID!, amount: Int!): CreateDepositResponse!
}
input OffsetPaginationInput {
offset: Int! = 0
limit: Int! = -1
}
type Order {
id: ID!
customer: User
@@ -87,6 +92,8 @@ type Query {
allProducts(filters: ProductFilter): [Product!]!
allUsers: [User!]!
allOrders: [Order!]!
orderList(pagination: OffsetPaginationInput): [Order!]!
transactionList(pagination: OffsetPaginationInput): [Transaction!]!
}
type Transaction {