From 6e617cbcb456bd0316392d53550e9b34de16001a Mon Sep 17 00:00:00 2001 From: Johannes Schickling Date: Mon, 21 May 2018 18:45:20 -0700 Subject: simplified schema import --- backend/src/schema.graphql | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'backend/src/schema.graphql') 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 { -- cgit v1.3