diff options
| author | Wes Bos <wesbos@gmail.com> | 2018-05-22 09:33:29 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-05-22 09:33:29 -0400 |
| commit | 176b6e1b0c2133a28e65953e1f710bc265b9c971 (patch) | |
| tree | 34e7560276d0b32aa09b406b6566415f67125c1d /backend/src/schema.graphql | |
| parent | 51f593384f1325b78a263d0d870d162236ed28d2 (diff) | |
| parent | 6e617cbcb456bd0316392d53550e9b34de16001a (diff) | |
Merge pull request #6 from wesbos/prisma
WIP: Updated Prisma related setup/code
Diffstat (limited to 'backend/src/schema.graphql')
| -rw-r--r-- | backend/src/schema.graphql | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/backend/src/schema.graphql b/backend/src/schema.graphql index bd60b61..fdaa04f 100644 --- a/backend/src/schema.graphql +++ b/backend/src/schema.graphql @@ -1,9 +1,12 @@ -# The Below line looks like a comment, but its not! -# import Permission, Order, OrderItem, CartItem, ItemWhereInput, ItemOrderByInput, allItems, Item, ItemCreateInput, ItemOrderByInput, ItemWhereInput, Query.orders, Query.users, Query.items, Query.itemsConnection from './generated/prisma.graphql' +# The Below line looks like a comment, but it's not! +# import * from './generated/prisma.graphql' type Query { me: User order(id: ID!): Order! + orders(where: OrderWhereInput, orderBy: OrderOrderByInput, skip: Int, after: String, before: String, first: Int, last: Int): [Order]! + items(where: ItemWhereInput, orderBy: ItemOrderByInput, skip: Int, after: String, before: String, first: Int, last: Int): [Item]! + itemsConnection(where: ItemWhereInput, orderBy: ItemOrderByInput, first: Int, last: Int): ItemConnection! } type Mutation { |
