From d3748f5c7a744ca04e11421a8a7745f1314b14ae Mon Sep 17 00:00:00 2001 From: Wes Bos Date: Fri, 13 Apr 2018 10:22:02 -0400 Subject: removing stuff --- backend/src/schema.graphql | 24 ++---------------------- 1 file changed, 2 insertions(+), 22 deletions(-) (limited to 'backend/src') diff --git a/backend/src/schema.graphql b/backend/src/schema.graphql index 4318d2a..5c77d56 100644 --- a/backend/src/schema.graphql +++ b/backend/src/schema.graphql @@ -1,27 +1,11 @@ -# import Permission, Order, OrderItem, CartItem, ItemWhereInput, ItemOrderByInput, allItems, Item, ItemCreateInput, ItemOrderByInput, ItemWhereInput, Query.orders, Query.users from './generated/prisma.graphql' +# 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' type Query { me: User - itemsConnection( - where: ItemWhereInput - orderBy: ItemOrderByInput - skip: Int - after: String - before: String - first: Int - last: Int - ): ItemConnection! - items( - where: ItemWhereInput - orderBy: ItemOrderByInput - skip: Int - first: Int - ): [Item]! order(id: ID!): Order! } -# import Mutation from './generated/prisma.graphql' - type Mutation { signup(email: String!, password: String!, name: String!): AuthPayload! signin(email: String!, password: String!): AuthPayload! @@ -37,10 +21,6 @@ type Mutation { updatePermissions(permissions: [Permission], userId: ID!): User } -input UserInput { - name: String -} - type AuthPayload { token: String! user: User! -- cgit v1.3