diff options
| author | Wes Bos <wesbos@gmail.com> | 2018-04-13 10:22:02 -0400 |
|---|---|---|
| committer | Wes Bos <wesbos@gmail.com> | 2018-04-13 10:22:02 -0400 |
| commit | d3748f5c7a744ca04e11421a8a7745f1314b14ae (patch) | |
| tree | a9a429b59c9deac2b7d2f67715085b105dceeba2 | |
| parent | 1711cef0c3e32082d30e5fe1189597ad5761e82b (diff) | |
removing stuff
| -rw-r--r-- | backend/src/schema.graphql | 24 |
1 files changed, 2 insertions, 22 deletions
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! |
