summaryrefslogtreecommitdiffstats
path: root/finished-application/backend/src/generated/prisma.graphql
diff options
context:
space:
mode:
authorRandy Ridge <randyridge@gmail.com>2018-09-14 20:01:25 -0400
committerGitHub <noreply@github.com>2018-09-14 20:01:25 -0400
commit908180c77cd38011eeedcae949613da2a3391e5e (patch)
treeb59bf1aae819a04d453cde72f6e601f5561a740f /finished-application/backend/src/generated/prisma.graphql
parent1f6667d233a4a2e9df977204d83a8f749c050c75 (diff)
parentb3bebda57ba187b7fa10398054b54c05d3fd3555 (diff)
Merge branch 'master' into randyridge/our
Diffstat (limited to 'finished-application/backend/src/generated/prisma.graphql')
-rw-r--r--finished-application/backend/src/generated/prisma.graphql549
1 files changed, 134 insertions, 415 deletions
diff --git a/finished-application/backend/src/generated/prisma.graphql b/finished-application/backend/src/generated/prisma.graphql
index 64f39a4..cc13ecf 100644
--- a/finished-application/backend/src/generated/prisma.graphql
+++ b/finished-application/backend/src/generated/prisma.graphql
@@ -1,5 +1,5 @@
-# source: https://us1.prisma.sh/wesbos/sick-fits/dev
-# timestamp: Thu Jun 21 2018 15:13:13 GMT-0400 (EDT)
+# source: https://us1.prisma.sh/wesbos/siccccccccck-fits/dev
+# timestamp: Tue Sep 11 2018 16:26:22 GMT-0400 (EDT)
type AggregateCartItem {
count: Int!
@@ -31,8 +31,6 @@ type CartItem implements Node {
quantity: Int!
item(where: ItemWhereInput): Item
user(where: UserWhereInput): User!
- createdAt: DateTime!
- updatedAt: DateTime!
}
"""A connection to a list of items."""
@@ -75,17 +73,15 @@ enum CartItemOrderByInput {
id_DESC
quantity_ASC
quantity_DESC
- createdAt_ASC
- createdAt_DESC
updatedAt_ASC
updatedAt_DESC
+ createdAt_ASC
+ createdAt_DESC
}
type CartItemPreviousValues {
id: ID!
quantity: Int!
- createdAt: DateTime!
- updatedAt: DateTime!
}
type CartItemSubscriptionPayload {
@@ -130,7 +126,7 @@ input CartItemSubscriptionWhereInput {
input CartItemUpdateInput {
quantity: Int
item: ItemUpdateOneInput
- user: UserUpdateOneWithoutCartInput
+ user: UserUpdateOneRequiredWithoutCartInput
}
input CartItemUpdateManyWithoutUserInput {
@@ -229,50 +225,6 @@ input CartItemWhereInput {
"""All values greater than or equal the given value."""
quantity_gte: Int
- createdAt: DateTime
-
- """All values that are not equal to given value."""
- createdAt_not: DateTime
-
- """All values that are contained in given list."""
- createdAt_in: [DateTime!]
-
- """All values that are not contained in given list."""
- createdAt_not_in: [DateTime!]
-
- """All values less than the given value."""
- createdAt_lt: DateTime
-
- """All values less than or equal the given value."""
- createdAt_lte: DateTime
-
- """All values greater than the given value."""
- createdAt_gt: DateTime
-
- """All values greater than or equal the given value."""
- createdAt_gte: DateTime
- updatedAt: DateTime
-
- """All values that are not equal to given value."""
- updatedAt_not: DateTime
-
- """All values that are contained in given list."""
- updatedAt_in: [DateTime!]
-
- """All values that are not contained in given list."""
- updatedAt_not_in: [DateTime!]
-
- """All values less than the given value."""
- updatedAt_lt: DateTime
-
- """All values less than or equal the given value."""
- updatedAt_lte: DateTime
-
- """All values greater than the given value."""
- updatedAt_gt: DateTime
-
- """All values greater than or equal the given value."""
- updatedAt_gte: DateTime
item: ItemWhereInput
user: UserWhereInput
}
@@ -290,8 +242,6 @@ type Item implements Node {
image: String
largeImage: String
price: Int!
- createdAt: DateTime!
- updatedAt: DateTime!
user(where: UserWhereInput): User!
}
@@ -341,10 +291,10 @@ enum ItemOrderByInput {
largeImage_DESC
price_ASC
price_DESC
- createdAt_ASC
- createdAt_DESC
updatedAt_ASC
updatedAt_DESC
+ createdAt_ASC
+ createdAt_DESC
}
type ItemPreviousValues {
@@ -354,8 +304,6 @@ type ItemPreviousValues {
image: String
largeImage: String
price: Int!
- createdAt: DateTime!
- updatedAt: DateTime!
}
type ItemSubscriptionPayload {
@@ -403,7 +351,7 @@ input ItemUpdateDataInput {
image: String
largeImage: String
price: Int
- user: UserUpdateOneInput
+ user: UserUpdateOneRequiredInput
}
input ItemUpdateInput {
@@ -412,7 +360,7 @@ input ItemUpdateInput {
image: String
largeImage: String
price: Int
- user: UserUpdateOneInput
+ user: UserUpdateOneRequiredInput
}
input ItemUpdateOneInput {
@@ -660,54 +608,7 @@ input ItemWhereInput {
"""All values greater than or equal the given value."""
price_gte: Int
- createdAt: DateTime
-
- """All values that are not equal to given value."""
- createdAt_not: DateTime
-
- """All values that are contained in given list."""
- createdAt_in: [DateTime!]
-
- """All values that are not contained in given list."""
- createdAt_not_in: [DateTime!]
-
- """All values less than the given value."""
- createdAt_lt: DateTime
-
- """All values less than or equal the given value."""
- createdAt_lte: DateTime
-
- """All values greater than the given value."""
- createdAt_gt: DateTime
-
- """All values greater than or equal the given value."""
- createdAt_gte: DateTime
- updatedAt: DateTime
-
- """All values that are not equal to given value."""
- updatedAt_not: DateTime
-
- """All values that are contained in given list."""
- updatedAt_in: [DateTime!]
-
- """All values that are not contained in given list."""
- updatedAt_not_in: [DateTime!]
-
- """All values less than the given value."""
- updatedAt_lt: DateTime
-
- """All values less than or equal the given value."""
- updatedAt_lte: DateTime
-
- """All values greater than the given value."""
- updatedAt_gt: DateTime
-
- """All values greater than or equal the given value."""
- updatedAt_gte: DateTime
user: UserWhereInput
- _MagicalBackRelation_CartItemToItem_every: CartItemWhereInput
- _MagicalBackRelation_CartItemToItem_some: CartItemWhereInput
- _MagicalBackRelation_CartItemToItem_none: CartItemWhereInput
}
input ItemWhereUniqueInput {
@@ -723,34 +624,34 @@ scalar Long
type Mutation {
createCartItem(data: CartItemCreateInput!): CartItem!
createOrder(data: OrderCreateInput!): Order!
- createUser(data: UserCreateInput!): User!
createItem(data: ItemCreateInput!): Item!
createOrderItem(data: OrderItemCreateInput!): OrderItem!
+ createUser(data: UserCreateInput!): User!
updateCartItem(data: CartItemUpdateInput!, where: CartItemWhereUniqueInput!): CartItem
updateOrder(data: OrderUpdateInput!, where: OrderWhereUniqueInput!): Order
- updateUser(data: UserUpdateInput!, where: UserWhereUniqueInput!): User
updateItem(data: ItemUpdateInput!, where: ItemWhereUniqueInput!): Item
updateOrderItem(data: OrderItemUpdateInput!, where: OrderItemWhereUniqueInput!): OrderItem
+ updateUser(data: UserUpdateInput!, where: UserWhereUniqueInput!): User
deleteCartItem(where: CartItemWhereUniqueInput!): CartItem
deleteOrder(where: OrderWhereUniqueInput!): Order
- deleteUser(where: UserWhereUniqueInput!): User
deleteItem(where: ItemWhereUniqueInput!): Item
deleteOrderItem(where: OrderItemWhereUniqueInput!): OrderItem
+ deleteUser(where: UserWhereUniqueInput!): User
upsertCartItem(where: CartItemWhereUniqueInput!, create: CartItemCreateInput!, update: CartItemUpdateInput!): CartItem!
upsertOrder(where: OrderWhereUniqueInput!, create: OrderCreateInput!, update: OrderUpdateInput!): Order!
- upsertUser(where: UserWhereUniqueInput!, create: UserCreateInput!, update: UserUpdateInput!): User!
upsertItem(where: ItemWhereUniqueInput!, create: ItemCreateInput!, update: ItemUpdateInput!): Item!
upsertOrderItem(where: OrderItemWhereUniqueInput!, create: OrderItemCreateInput!, update: OrderItemUpdateInput!): OrderItem!
+ upsertUser(where: UserWhereUniqueInput!, create: UserCreateInput!, update: UserUpdateInput!): User!
updateManyCartItems(data: CartItemUpdateInput!, where: CartItemWhereInput): BatchPayload!
updateManyOrders(data: OrderUpdateInput!, where: OrderWhereInput): BatchPayload!
- updateManyUsers(data: UserUpdateInput!, where: UserWhereInput): BatchPayload!
updateManyItems(data: ItemUpdateInput!, where: ItemWhereInput): BatchPayload!
updateManyOrderItems(data: OrderItemUpdateInput!, where: OrderItemWhereInput): BatchPayload!
+ updateManyUsers(data: UserUpdateInput!, where: UserWhereInput): BatchPayload!
deleteManyCartItems(where: CartItemWhereInput): BatchPayload!
deleteManyOrders(where: OrderWhereInput): BatchPayload!
- deleteManyUsers(where: UserWhereInput): BatchPayload!
deleteManyItems(where: ItemWhereInput): BatchPayload!
deleteManyOrderItems(where: OrderItemWhereInput): BatchPayload!
+ deleteManyUsers(where: UserWhereInput): BatchPayload!
}
enum MutationType {
@@ -770,9 +671,9 @@ type Order implements Node {
items(where: OrderItemWhereInput, orderBy: OrderItemOrderByInput, skip: Int, after: String, before: String, first: Int, last: Int): [OrderItem!]
total: Int!
user(where: UserWhereInput): User!
+ charge: String!
createdAt: DateTime!
updatedAt: DateTime!
- charge: String!
}
"""A connection to a list of items."""
@@ -789,18 +690,7 @@ input OrderCreateInput {
total: Int!
charge: String!
items: OrderItemCreateManyInput
- user: UserCreateOneWithoutOrdersInput!
-}
-
-input OrderCreateManyWithoutUserInput {
- create: [OrderCreateWithoutUserInput!]
- connect: [OrderWhereUniqueInput!]
-}
-
-input OrderCreateWithoutUserInput {
- total: Int!
- charge: String!
- items: OrderItemCreateManyInput
+ user: UserCreateOneInput!
}
"""An edge in a connection."""
@@ -816,11 +706,9 @@ type OrderItem implements Node {
id: ID!
title: String!
description: String!
- image: String
- largeImage: String
+ image: String!
+ largeImage: String!
price: Int!
- createdAt: DateTime!
- updatedAt: DateTime!
quantity: Int!
user(where: UserWhereInput): User
}
@@ -838,8 +726,8 @@ type OrderItemConnection {
input OrderItemCreateInput {
title: String!
description: String!
- image: String
- largeImage: String
+ image: String!
+ largeImage: String!
price: Int!
quantity: Int
user: UserCreateOneInput
@@ -872,23 +760,21 @@ enum OrderItemOrderByInput {
largeImage_DESC
price_ASC
price_DESC
- createdAt_ASC
- createdAt_DESC
- updatedAt_ASC
- updatedAt_DESC
quantity_ASC
quantity_DESC
+ updatedAt_ASC
+ updatedAt_DESC
+ createdAt_ASC
+ createdAt_DESC
}
type OrderItemPreviousValues {
id: ID!
title: String!
description: String!
- image: String
- largeImage: String
+ image: String!
+ largeImage: String!
price: Int!
- createdAt: DateTime!
- updatedAt: DateTime!
quantity: Int!
}
@@ -1202,50 +1088,6 @@ input OrderItemWhereInput {
"""All values greater than or equal the given value."""
price_gte: Int
- createdAt: DateTime
-
- """All values that are not equal to given value."""
- createdAt_not: DateTime
-
- """All values that are contained in given list."""
- createdAt_in: [DateTime!]
-
- """All values that are not contained in given list."""
- createdAt_not_in: [DateTime!]
-
- """All values less than the given value."""
- createdAt_lt: DateTime
-
- """All values less than or equal the given value."""
- createdAt_lte: DateTime
-
- """All values greater than the given value."""
- createdAt_gt: DateTime
-
- """All values greater than or equal the given value."""
- createdAt_gte: DateTime
- updatedAt: DateTime
-
- """All values that are not equal to given value."""
- updatedAt_not: DateTime
-
- """All values that are contained in given list."""
- updatedAt_in: [DateTime!]
-
- """All values that are not contained in given list."""
- updatedAt_not_in: [DateTime!]
-
- """All values less than the given value."""
- updatedAt_lt: DateTime
-
- """All values less than or equal the given value."""
- updatedAt_lte: DateTime
-
- """All values greater than the given value."""
- updatedAt_gt: DateTime
-
- """All values greater than or equal the given value."""
- updatedAt_gte: DateTime
quantity: Int
"""All values that are not equal to given value."""
@@ -1269,9 +1111,6 @@ input OrderItemWhereInput {
"""All values greater than or equal the given value."""
quantity_gte: Int
user: UserWhereInput
- _MagicalBackRelation_OrderToOrderItem_every: OrderWhereInput
- _MagicalBackRelation_OrderToOrderItem_some: OrderWhereInput
- _MagicalBackRelation_OrderToOrderItem_none: OrderWhereInput
}
input OrderItemWhereUniqueInput {
@@ -1283,20 +1122,20 @@ enum OrderOrderByInput {
id_DESC
total_ASC
total_DESC
+ charge_ASC
+ charge_DESC
createdAt_ASC
createdAt_DESC
updatedAt_ASC
updatedAt_DESC
- charge_ASC
- charge_DESC
}
type OrderPreviousValues {
id: ID!
total: Int!
+ charge: String!
createdAt: DateTime!
updatedAt: DateTime!
- charge: String!
}
type OrderSubscriptionPayload {
@@ -1342,33 +1181,7 @@ input OrderUpdateInput {
total: Int
charge: String
items: OrderItemUpdateManyInput
- user: UserUpdateOneWithoutOrdersInput
-}
-
-input OrderUpdateManyWithoutUserInput {
- create: [OrderCreateWithoutUserInput!]
- connect: [OrderWhereUniqueInput!]
- disconnect: [OrderWhereUniqueInput!]
- delete: [OrderWhereUniqueInput!]
- update: [OrderUpdateWithWhereUniqueWithoutUserInput!]
- upsert: [OrderUpsertWithWhereUniqueWithoutUserInput!]
-}
-
-input OrderUpdateWithoutUserDataInput {
- total: Int
- charge: String
- items: OrderItemUpdateManyInput
-}
-
-input OrderUpdateWithWhereUniqueWithoutUserInput {
- where: OrderWhereUniqueInput!
- data: OrderUpdateWithoutUserDataInput!
-}
-
-input OrderUpsertWithWhereUniqueWithoutUserInput {
- where: OrderWhereUniqueInput!
- update: OrderUpdateWithoutUserDataInput!
- create: OrderCreateWithoutUserInput!
+ user: UserUpdateOneRequiredInput
}
input OrderWhereInput {
@@ -1442,6 +1255,46 @@ input OrderWhereInput {
"""All values greater than or equal the given value."""
total_gte: Int
+ charge: String
+
+ """All values that are not equal to given value."""
+ charge_not: String
+
+ """All values that are contained in given list."""
+ charge_in: [String!]
+
+ """All values that are not contained in given list."""
+ charge_not_in: [String!]
+
+ """All values less than the given value."""
+ charge_lt: String
+
+ """All values less than or equal the given value."""
+ charge_lte: String
+
+ """All values greater than the given value."""
+ charge_gt: String
+
+ """All values greater than or equal the given value."""
+ charge_gte: String
+
+ """All values containing the given string."""
+ charge_contains: String
+
+ """All values not containing the given string."""
+ charge_not_contains: String
+
+ """All values starting with the given string."""
+ charge_starts_with: String
+
+ """All values not starting with the given string."""
+ charge_not_starts_with: String
+
+ """All values ending with the given string."""
+ charge_ends_with: String
+
+ """All values not ending with the given string."""
+ charge_not_ends_with: String
createdAt: DateTime
"""All values that are not equal to given value."""
@@ -1486,46 +1339,6 @@ input OrderWhereInput {
"""All values greater than or equal the given value."""
updatedAt_gte: DateTime
- charge: String
-
- """All values that are not equal to given value."""
- charge_not: String
-
- """All values that are contained in given list."""
- charge_in: [String!]
-
- """All values that are not contained in given list."""
- charge_not_in: [String!]
-
- """All values less than the given value."""
- charge_lt: String
-
- """All values less than or equal the given value."""
- charge_lte: String
-
- """All values greater than the given value."""
- charge_gt: String
-
- """All values greater than or equal the given value."""
- charge_gte: String
-
- """All values containing the given string."""
- charge_contains: String
-
- """All values not containing the given string."""
- charge_not_contains: String
-
- """All values starting with the given string."""
- charge_starts_with: String
-
- """All values not starting with the given string."""
- charge_not_starts_with: String
-
- """All values ending with the given string."""
- charge_ends_with: String
-
- """All values not ending with the given string."""
- charge_not_ends_with: String
items_every: OrderItemWhereInput
items_some: OrderItemWhereInput
items_none: OrderItemWhereInput
@@ -1563,19 +1376,19 @@ enum Permission {
type Query {
cartItems(where: CartItemWhereInput, orderBy: CartItemOrderByInput, skip: Int, after: String, before: String, first: Int, last: Int): [CartItem]!
orders(where: OrderWhereInput, orderBy: OrderOrderByInput, skip: Int, after: String, before: String, first: Int, last: Int): [Order]!
- users(where: UserWhereInput, orderBy: UserOrderByInput, skip: Int, after: String, before: String, first: Int, last: Int): [User]!
items(where: ItemWhereInput, orderBy: ItemOrderByInput, skip: Int, after: String, before: String, first: Int, last: Int): [Item]!
orderItems(where: OrderItemWhereInput, orderBy: OrderItemOrderByInput, skip: Int, after: String, before: String, first: Int, last: Int): [OrderItem]!
+ users(where: UserWhereInput, orderBy: UserOrderByInput, skip: Int, after: String, before: String, first: Int, last: Int): [User]!
cartItem(where: CartItemWhereUniqueInput!): CartItem
order(where: OrderWhereUniqueInput!): Order
- user(where: UserWhereUniqueInput!): User
item(where: ItemWhereUniqueInput!): Item
orderItem(where: OrderItemWhereUniqueInput!): OrderItem
+ user(where: UserWhereUniqueInput!): User
cartItemsConnection(where: CartItemWhereInput, orderBy: CartItemOrderByInput, skip: Int, after: String, before: String, first: Int, last: Int): CartItemConnection!
ordersConnection(where: OrderWhereInput, orderBy: OrderOrderByInput, skip: Int, after: String, before: String, first: Int, last: Int): OrderConnection!
- usersConnection(where: UserWhereInput, orderBy: UserOrderByInput, skip: Int, after: String, before: String, first: Int, last: Int): UserConnection!
itemsConnection(where: ItemWhereInput, orderBy: ItemOrderByInput, skip: Int, after: String, before: String, first: Int, last: Int): ItemConnection!
orderItemsConnection(where: OrderItemWhereInput, orderBy: OrderItemOrderByInput, skip: Int, after: String, before: String, first: Int, last: Int): OrderItemConnection!
+ usersConnection(where: UserWhereInput, orderBy: UserOrderByInput, skip: Int, after: String, before: String, first: Int, last: Int): UserConnection!
"""Fetches an object given its ID"""
node(
@@ -1587,23 +1400,20 @@ type Query {
type Subscription {
cartItem(where: CartItemSubscriptionWhereInput): CartItemSubscriptionPayload
order(where: OrderSubscriptionWhereInput): OrderSubscriptionPayload
- user(where: UserSubscriptionWhereInput): UserSubscriptionPayload
item(where: ItemSubscriptionWhereInput): ItemSubscriptionPayload
orderItem(where: OrderItemSubscriptionWhereInput): OrderItemSubscriptionPayload
+ user(where: UserSubscriptionWhereInput): UserSubscriptionPayload
}
type User implements Node {
id: ID!
+ name: String!
email: String!
password: String!
- name: String!
- orders(where: OrderWhereInput, orderBy: OrderOrderByInput, skip: Int, after: String, before: String, first: Int, last: Int): [Order!]
resetToken: String
resetTokenExpiry: String
- cart(where: CartItemWhereInput, orderBy: CartItemOrderByInput, skip: Int, after: String, before: String, first: Int, last: Int): [CartItem!]
- createdAt: DateTime!
- updatedAt: DateTime!
permissions: [Permission!]!
+ cart(where: CartItemWhereInput, orderBy: CartItemOrderByInput, skip: Int, after: String, before: String, first: Int, last: Int): [CartItem!]
}
"""A connection to a list of items."""
@@ -1617,13 +1427,12 @@ type UserConnection {
}
input UserCreateInput {
+ name: String!
email: String!
password: String!
- name: String!
resetToken: String
resetTokenExpiry: String
permissions: UserCreatepermissionsInput
- orders: OrderCreateManyWithoutUserInput
cart: CartItemCreateManyWithoutUserInput
}
@@ -1637,33 +1446,17 @@ input UserCreateOneWithoutCartInput {
connect: UserWhereUniqueInput
}
-input UserCreateOneWithoutOrdersInput {
- create: UserCreateWithoutOrdersInput
- connect: UserWhereUniqueInput
-}
-
input UserCreatepermissionsInput {
set: [Permission!]
}
input UserCreateWithoutCartInput {
- email: String!
- password: String!
name: String!
- resetToken: String
- resetTokenExpiry: String
- permissions: UserCreatepermissionsInput
- orders: OrderCreateManyWithoutUserInput
-}
-
-input UserCreateWithoutOrdersInput {
email: String!
password: String!
- name: String!
resetToken: String
resetTokenExpiry: String
permissions: UserCreatepermissionsInput
- cart: CartItemCreateManyWithoutUserInput
}
"""An edge in a connection."""
@@ -1678,31 +1471,29 @@ type UserEdge {
enum UserOrderByInput {
id_ASC
id_DESC
+ name_ASC
+ name_DESC
email_ASC
email_DESC
password_ASC
password_DESC
- name_ASC
- name_DESC
resetToken_ASC
resetToken_DESC
resetTokenExpiry_ASC
resetTokenExpiry_DESC
- createdAt_ASC
- createdAt_DESC
updatedAt_ASC
updatedAt_DESC
+ createdAt_ASC
+ createdAt_DESC
}
type UserPreviousValues {
id: ID!
+ name: String!
email: String!
password: String!
- name: String!
resetToken: String
resetTokenExpiry: String
- createdAt: DateTime!
- updatedAt: DateTime!
permissions: [Permission!]!
}
@@ -1746,49 +1537,46 @@ input UserSubscriptionWhereInput {
}
input UserUpdateDataInput {
+ name: String
email: String
password: String
- name: String
resetToken: String
resetTokenExpiry: String
permissions: UserUpdatepermissionsInput
- orders: OrderUpdateManyWithoutUserInput
cart: CartItemUpdateManyWithoutUserInput
}
input UserUpdateInput {
+ name: String
email: String
password: String
- name: String
resetToken: String
resetTokenExpiry: String
permissions: UserUpdatepermissionsInput
- orders: OrderUpdateManyWithoutUserInput
cart: CartItemUpdateManyWithoutUserInput
}
input UserUpdateOneInput {
create: UserCreateInput
connect: UserWhereUniqueInput
+ disconnect: Boolean
delete: Boolean
update: UserUpdateDataInput
upsert: UserUpsertNestedInput
}
-input UserUpdateOneWithoutCartInput {
- create: UserCreateWithoutCartInput
+input UserUpdateOneRequiredInput {
+ create: UserCreateInput
connect: UserWhereUniqueInput
- delete: Boolean
- update: UserUpdateWithoutCartDataInput
- upsert: UserUpsertWithoutCartInput
+ update: UserUpdateDataInput
+ upsert: UserUpsertNestedInput
}
-input UserUpdateOneWithoutOrdersInput {
- create: UserCreateWithoutOrdersInput
+input UserUpdateOneRequiredWithoutCartInput {
+ create: UserCreateWithoutCartInput
connect: UserWhereUniqueInput
- delete: Boolean
- update: UserUpdateWithoutOrdersDataInput
- upsert: UserUpsertWithoutOrdersInput
+ update: UserUpdateWithoutCartDataInput
+ upsert: UserUpsertWithoutCartInput
}
input UserUpdatepermissionsInput {
@@ -1796,23 +1584,12 @@ input UserUpdatepermissionsInput {
}
input UserUpdateWithoutCartDataInput {
- email: String
- password: String
name: String
- resetToken: String
- resetTokenExpiry: String
- permissions: UserUpdatepermissionsInput
- orders: OrderUpdateManyWithoutUserInput
-}
-
-input UserUpdateWithoutOrdersDataInput {
email: String
password: String
- name: String
resetToken: String
resetTokenExpiry: String
permissions: UserUpdatepermissionsInput
- cart: CartItemUpdateManyWithoutUserInput
}
input UserUpsertNestedInput {
@@ -1825,11 +1602,6 @@ input UserUpsertWithoutCartInput {
create: UserCreateWithoutCartInput!
}
-input UserUpsertWithoutOrdersInput {
- update: UserUpdateWithoutOrdersDataInput!
- create: UserCreateWithoutOrdersInput!
-}
-
input UserWhereInput {
"""Logical AND on all given filters."""
AND: [UserWhereInput!]
@@ -1879,6 +1651,46 @@ input UserWhereInput {
"""All values not ending with the given string."""
id_not_ends_with: ID
+ name: String
+
+ """All values that are not equal to given value."""
+ name_not: String
+
+ """All values that are contained in given list."""
+ name_in: [String!]
+
+ """All values that are not contained in given list."""
+ name_not_in: [String!]
+
+ """All values less than the given value."""
+ name_lt: String
+
+ """All values less than or equal the given value."""
+ name_lte: String
+
+ """All values greater than the given value."""
+ name_gt: String
+
+ """All values greater than or equal the given value."""
+ name_gte: String
+
+ """All values containing the given string."""
+ name_contains: String
+
+ """All values not containing the given string."""
+ name_not_contains: String
+
+ """All values starting with the given string."""
+ name_starts_with: String
+
+ """All values not starting with the given string."""
+ name_not_starts_with: String
+
+ """All values ending with the given string."""
+ name_ends_with: String
+
+ """All values not ending with the given string."""
+ name_not_ends_with: String
email: String
"""All values that are not equal to given value."""
@@ -1959,46 +1771,6 @@ input UserWhereInput {
"""All values not ending with the given string."""
password_not_ends_with: String
- name: String
-
- """All values that are not equal to given value."""
- name_not: String
-
- """All values that are contained in given list."""
- name_in: [String!]
-
- """All values that are not contained in given list."""
- name_not_in: [String!]
-
- """All values less than the given value."""
- name_lt: String
-
- """All values less than or equal the given value."""
- name_lte: String
-
- """All values greater than the given value."""
- name_gt: String
-
- """All values greater than or equal the given value."""
- name_gte: String
-
- """All values containing the given string."""
- name_contains: String
-
- """All values not containing the given string."""
- name_not_contains: String
-
- """All values starting with the given string."""
- name_starts_with: String
-
- """All values not starting with the given string."""
- name_not_starts_with: String
-
- """All values ending with the given string."""
- name_ends_with: String
-
- """All values not ending with the given string."""
- name_not_ends_with: String
resetToken: String
"""All values that are not equal to given value."""
@@ -2079,62 +1851,9 @@ input UserWhereInput {
"""All values not ending with the given string."""
resetTokenExpiry_not_ends_with: String
- createdAt: DateTime
-
- """All values that are not equal to given value."""
- createdAt_not: DateTime
-
- """All values that are contained in given list."""
- createdAt_in: [DateTime!]
-
- """All values that are not contained in given list."""
- createdAt_not_in: [DateTime!]
-
- """All values less than the given value."""
- createdAt_lt: DateTime
-
- """All values less than or equal the given value."""
- createdAt_lte: DateTime
-
- """All values greater than the given value."""
- createdAt_gt: DateTime
-
- """All values greater than or equal the given value."""
- createdAt_gte: DateTime
- updatedAt: DateTime
-
- """All values that are not equal to given value."""
- updatedAt_not: DateTime
-
- """All values that are contained in given list."""
- updatedAt_in: [DateTime!]
-
- """All values that are not contained in given list."""
- updatedAt_not_in: [DateTime!]
-
- """All values less than the given value."""
- updatedAt_lt: DateTime
-
- """All values less than or equal the given value."""
- updatedAt_lte: DateTime
-
- """All values greater than the given value."""
- updatedAt_gt: DateTime
-
- """All values greater than or equal the given value."""
- updatedAt_gte: DateTime
- orders_every: OrderWhereInput
- orders_some: OrderWhereInput
- orders_none: OrderWhereInput
cart_every: CartItemWhereInput
cart_some: CartItemWhereInput
cart_none: CartItemWhereInput
- _MagicalBackRelation_OrderItemToUser_every: OrderItemWhereInput
- _MagicalBackRelation_OrderItemToUser_some: OrderItemWhereInput
- _MagicalBackRelation_OrderItemToUser_none: OrderItemWhereInput
- _MagicalBackRelation_ItemToUser_every: ItemWhereInput
- _MagicalBackRelation_ItemToUser_some: ItemWhereInput
- _MagicalBackRelation_ItemToUser_none: ItemWhereInput
}
input UserWhereUniqueInput {