diff options
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 { |
