✨ Working user create form

This commit is contained in:
nikolark committed 2022-02-19 15:47:38 +01:00
1 parent b5c9094b64
commit cfd0d94537
7 files changed
+105 -7

No files matched your search

+7
View File
@@ -51,6 +51,7 @@ scalar JSONScalar
type Mutation {
createOrder(customerId: ID!, orderLines: [OrderLineInput!]!, isExternal: Boolean! = false): CreateOrderResponse!
createDeposit(userId: ID!, amount: Int!): CreateDepositResponse!
createUser(input: UserInput!): User!
}
input OffsetPaginationInput {
@@ -149,6 +150,12 @@ type User {
profile: UserProfile
}
input UserInput {
email: String
firstName: String
lastName: String
}
type UserProfile {
id: ID!
balance: Float!