✨ UserDetail and UserList views
This commit is contained in:
1 parent
ec0549154d
commit
e2a84c25a6
16 files changed
+201
-22
No files matched your search
@@ -121,9 +121,16 @@ type Query {
|
||||
allOrders: [Order!]!
|
||||
orderList(pagination: OffsetPaginationInput, order: OrderOrdering): [Order!]!
|
||||
transactionList(pagination: OffsetPaginationInput, order: TransactionOrdering): [Transaction!]!
|
||||
user(userId: ID!): User!
|
||||
orderStats: OrderStats!
|
||||
}
|
||||
|
||||
type TopMonth {
|
||||
period: String!
|
||||
count: Int!
|
||||
sum: Int!
|
||||
}
|
||||
|
||||
type Transaction {
|
||||
id: ID!
|
||||
user: User!
|
||||
@@ -147,4 +154,6 @@ type UserProfile {
|
||||
balance: Float!
|
||||
image: String!
|
||||
lastPurchaseDate: DateTime!
|
||||
orderSumTotal: Float!
|
||||
topMonths: [TopMonth!]!
|
||||
}
|
||||
Reference in new issue
Block a user