1
1
# source: https://us1.prisma.sh/wesbos/sick-fits/dev
2
- # timestamp: Mon Jun 18 2018 16:08:08 GMT-0400 (EDT)
2
+ # timestamp: Thu Jun 21 2018 15:13:13 GMT-0400 (EDT)
3
3
4
4
type AggregateCartItem {
5
5
count : Int !
@@ -705,6 +705,9 @@ input ItemWhereInput {
705
705
"""All values greater than or equal the given value."""
706
706
updatedAt_gte : DateTime
707
707
user : UserWhereInput
708
+ _MagicalBackRelation_CartItemToItem_every : CartItemWhereInput
709
+ _MagicalBackRelation_CartItemToItem_some : CartItemWhereInput
710
+ _MagicalBackRelation_CartItemToItem_none : CartItemWhereInput
708
711
}
709
712
710
713
input ItemWhereUniqueInput {
@@ -718,36 +721,36 @@ Long can represent values between -(2^63) and 2^63 - 1.
718
721
scalar Long
719
722
720
723
type Mutation {
721
- createUser (data : UserCreateInput ! ): User !
722
724
createCartItem (data : CartItemCreateInput ! ): CartItem !
725
+ createOrder (data : OrderCreateInput ! ): Order !
726
+ createUser (data : UserCreateInput ! ): User !
723
727
createItem (data : ItemCreateInput ! ): Item !
724
728
createOrderItem (data : OrderItemCreateInput ! ): OrderItem !
725
- createOrder (data : OrderCreateInput ! ): Order !
726
- updateUser (data : UserUpdateInput ! , where : UserWhereUniqueInput ! ): User
727
729
updateCartItem (data : CartItemUpdateInput ! , where : CartItemWhereUniqueInput ! ): CartItem
730
+ updateOrder (data : OrderUpdateInput ! , where : OrderWhereUniqueInput ! ): Order
731
+ updateUser (data : UserUpdateInput ! , where : UserWhereUniqueInput ! ): User
728
732
updateItem (data : ItemUpdateInput ! , where : ItemWhereUniqueInput ! ): Item
729
733
updateOrderItem (data : OrderItemUpdateInput ! , where : OrderItemWhereUniqueInput ! ): OrderItem
730
- updateOrder (data : OrderUpdateInput ! , where : OrderWhereUniqueInput ! ): Order
731
- deleteUser (where : UserWhereUniqueInput ! ): User
732
734
deleteCartItem (where : CartItemWhereUniqueInput ! ): CartItem
735
+ deleteOrder (where : OrderWhereUniqueInput ! ): Order
736
+ deleteUser (where : UserWhereUniqueInput ! ): User
733
737
deleteItem (where : ItemWhereUniqueInput ! ): Item
734
738
deleteOrderItem (where : OrderItemWhereUniqueInput ! ): OrderItem
735
- deleteOrder (where : OrderWhereUniqueInput ! ): Order
736
- upsertUser (where : UserWhereUniqueInput ! , create : UserCreateInput ! , update : UserUpdateInput ! ): User !
737
739
upsertCartItem (where : CartItemWhereUniqueInput ! , create : CartItemCreateInput ! , update : CartItemUpdateInput ! ): CartItem !
740
+ upsertOrder (where : OrderWhereUniqueInput ! , create : OrderCreateInput ! , update : OrderUpdateInput ! ): Order !
741
+ upsertUser (where : UserWhereUniqueInput ! , create : UserCreateInput ! , update : UserUpdateInput ! ): User !
738
742
upsertItem (where : ItemWhereUniqueInput ! , create : ItemCreateInput ! , update : ItemUpdateInput ! ): Item !
739
743
upsertOrderItem (where : OrderItemWhereUniqueInput ! , create : OrderItemCreateInput ! , update : OrderItemUpdateInput ! ): OrderItem !
740
- upsertOrder (where : OrderWhereUniqueInput ! , create : OrderCreateInput ! , update : OrderUpdateInput ! ): Order !
741
- updateManyUsers (data : UserUpdateInput ! , where : UserWhereInput ): BatchPayload !
742
744
updateManyCartItems (data : CartItemUpdateInput ! , where : CartItemWhereInput ): BatchPayload !
745
+ updateManyOrders (data : OrderUpdateInput ! , where : OrderWhereInput ): BatchPayload !
746
+ updateManyUsers (data : UserUpdateInput ! , where : UserWhereInput ): BatchPayload !
743
747
updateManyItems (data : ItemUpdateInput ! , where : ItemWhereInput ): BatchPayload !
744
748
updateManyOrderItems (data : OrderItemUpdateInput ! , where : OrderItemWhereInput ): BatchPayload !
745
- updateManyOrders (data : OrderUpdateInput ! , where : OrderWhereInput ): BatchPayload !
746
- deleteManyUsers (where : UserWhereInput ): BatchPayload !
747
749
deleteManyCartItems (where : CartItemWhereInput ): BatchPayload !
750
+ deleteManyOrders (where : OrderWhereInput ): BatchPayload !
751
+ deleteManyUsers (where : UserWhereInput ): BatchPayload !
748
752
deleteManyItems (where : ItemWhereInput ): BatchPayload !
749
753
deleteManyOrderItems (where : OrderItemWhereInput ): BatchPayload !
750
- deleteManyOrders (where : OrderWhereInput ): BatchPayload !
751
754
}
752
755
753
756
enum MutationType {
@@ -1266,6 +1269,9 @@ input OrderItemWhereInput {
1266
1269
"""All values greater than or equal the given value."""
1267
1270
quantity_gte : Int
1268
1271
user : UserWhereInput
1272
+ _MagicalBackRelation_OrderToOrderItem_every : OrderWhereInput
1273
+ _MagicalBackRelation_OrderToOrderItem_some : OrderWhereInput
1274
+ _MagicalBackRelation_OrderToOrderItem_none : OrderWhereInput
1269
1275
}
1270
1276
1271
1277
input OrderItemWhereUniqueInput {
@@ -1555,21 +1561,21 @@ enum Permission {
1555
1561
}
1556
1562
1557
1563
type Query {
1558
- users (where : UserWhereInput , orderBy : UserOrderByInput , skip : Int , after : String , before : String , first : Int , last : Int ): [User ]!
1559
1564
cartItems (where : CartItemWhereInput , orderBy : CartItemOrderByInput , skip : Int , after : String , before : String , first : Int , last : Int ): [CartItem ]!
1565
+ orders (where : OrderWhereInput , orderBy : OrderOrderByInput , skip : Int , after : String , before : String , first : Int , last : Int ): [Order ]!
1566
+ users (where : UserWhereInput , orderBy : UserOrderByInput , skip : Int , after : String , before : String , first : Int , last : Int ): [User ]!
1560
1567
items (where : ItemWhereInput , orderBy : ItemOrderByInput , skip : Int , after : String , before : String , first : Int , last : Int ): [Item ]!
1561
1568
orderItems (where : OrderItemWhereInput , orderBy : OrderItemOrderByInput , skip : Int , after : String , before : String , first : Int , last : Int ): [OrderItem ]!
1562
- orders (where : OrderWhereInput , orderBy : OrderOrderByInput , skip : Int , after : String , before : String , first : Int , last : Int ): [Order ]!
1563
- user (where : UserWhereUniqueInput ! ): User
1564
1569
cartItem (where : CartItemWhereUniqueInput ! ): CartItem
1570
+ order (where : OrderWhereUniqueInput ! ): Order
1571
+ user (where : UserWhereUniqueInput ! ): User
1565
1572
item (where : ItemWhereUniqueInput ! ): Item
1566
1573
orderItem (where : OrderItemWhereUniqueInput ! ): OrderItem
1567
- order (where : OrderWhereUniqueInput ! ): Order
1568
- usersConnection (where : UserWhereInput , orderBy : UserOrderByInput , skip : Int , after : String , before : String , first : Int , last : Int ): UserConnection !
1569
1574
cartItemsConnection (where : CartItemWhereInput , orderBy : CartItemOrderByInput , skip : Int , after : String , before : String , first : Int , last : Int ): CartItemConnection !
1575
+ ordersConnection (where : OrderWhereInput , orderBy : OrderOrderByInput , skip : Int , after : String , before : String , first : Int , last : Int ): OrderConnection !
1576
+ usersConnection (where : UserWhereInput , orderBy : UserOrderByInput , skip : Int , after : String , before : String , first : Int , last : Int ): UserConnection !
1570
1577
itemsConnection (where : ItemWhereInput , orderBy : ItemOrderByInput , skip : Int , after : String , before : String , first : Int , last : Int ): ItemConnection !
1571
1578
orderItemsConnection (where : OrderItemWhereInput , orderBy : OrderItemOrderByInput , skip : Int , after : String , before : String , first : Int , last : Int ): OrderItemConnection !
1572
- ordersConnection (where : OrderWhereInput , orderBy : OrderOrderByInput , skip : Int , after : String , before : String , first : Int , last : Int ): OrderConnection !
1573
1579
1574
1580
"""Fetches an object given its ID"""
1575
1581
node (
@@ -1579,11 +1585,11 @@ type Query {
1579
1585
}
1580
1586
1581
1587
type Subscription {
1582
- user (where : UserSubscriptionWhereInput ): UserSubscriptionPayload
1583
1588
cartItem (where : CartItemSubscriptionWhereInput ): CartItemSubscriptionPayload
1589
+ order (where : OrderSubscriptionWhereInput ): OrderSubscriptionPayload
1590
+ user (where : UserSubscriptionWhereInput ): UserSubscriptionPayload
1584
1591
item (where : ItemSubscriptionWhereInput ): ItemSubscriptionPayload
1585
1592
orderItem (where : OrderItemSubscriptionWhereInput ): OrderItemSubscriptionPayload
1586
- order (where : OrderSubscriptionWhereInput ): OrderSubscriptionPayload
1587
1593
}
1588
1594
1589
1595
type User implements Node {
@@ -1597,7 +1603,7 @@ type User implements Node {
1597
1603
cart (where : CartItemWhereInput , orderBy : CartItemOrderByInput , skip : Int , after : String , before : String , first : Int , last : Int ): [CartItem ! ]
1598
1604
createdAt : DateTime !
1599
1605
updatedAt : DateTime !
1600
- permissions : [Permission ! ]
1606
+ permissions : [Permission ! ]!
1601
1607
}
1602
1608
1603
1609
"""A connection to a list of items."""
@@ -1697,7 +1703,7 @@ type UserPreviousValues {
1697
1703
resetTokenExpiry : String
1698
1704
createdAt : DateTime !
1699
1705
updatedAt : DateTime !
1700
- permissions : [Permission ! ]
1706
+ permissions : [Permission ! ]!
1701
1707
}
1702
1708
1703
1709
type UserSubscriptionPayload {
@@ -1764,7 +1770,6 @@ input UserUpdateInput {
1764
1770
input UserUpdateOneInput {
1765
1771
create : UserCreateInput
1766
1772
connect : UserWhereUniqueInput
1767
- disconnect : Boolean
1768
1773
delete : Boolean
1769
1774
update : UserUpdateDataInput
1770
1775
upsert : UserUpsertNestedInput
@@ -2124,6 +2129,12 @@ input UserWhereInput {
2124
2129
cart_every : CartItemWhereInput
2125
2130
cart_some : CartItemWhereInput
2126
2131
cart_none : CartItemWhereInput
2132
+ _MagicalBackRelation_OrderItemToUser_every : OrderItemWhereInput
2133
+ _MagicalBackRelation_OrderItemToUser_some : OrderItemWhereInput
2134
+ _MagicalBackRelation_OrderItemToUser_none : OrderItemWhereInput
2135
+ _MagicalBackRelation_ItemToUser_every : ItemWhereInput
2136
+ _MagicalBackRelation_ItemToUser_some : ItemWhereInput
2137
+ _MagicalBackRelation_ItemToUser_none : ItemWhereInput
2127
2138
}
2128
2139
2129
2140
input UserWhereUniqueInput {
0 commit comments