Last active
May 26, 2019 13:13
-
-
Save gc-codesnippets/f302c104f2806f9e13f41d909e07d82d to your computer and use it in GitHub Desktop.
Revisions
-
gc-codesnippets renamed this gist
Jan 16, 2018 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
gc-codesnippets created this gist
Jan 11, 2018 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,147 @@ # THIS FILE HAS BEEN AUTO-GENERATED BY THE "GRAPHCOOL DEPLOY" # DO NOT EDIT THIS FILE DIRECTLY # # Model Types # type User implements Node { id: ID! name: String! } # # Other Types # type BatchPayload { count: Long! } scalar Long type Mutation { createUser(data: UserCreateInput!): User! updateUser(data: UserUpdateInput!, where: UserWhereUniqueInput!): User deleteUser(where: UserWhereUniqueInput!): User upsertUser(where: UserWhereUniqueInput!, create: UserCreateInput!, update: UserUpdateInput!): User! updateManyUsers(data: UserUpdateInput!, where: UserWhereInput!): BatchPayload! deleteManyUsers(where: UserWhereInput!): BatchPayload! } enum MutationType { CREATED UPDATED DELETED } interface Node { id: ID! } type PageInfo { hasNextPage: Boolean! hasPreviousPage: Boolean! startCursor: String endCursor: String } type Query { users(where: UserWhereInput, orderBy: UserOrderByInput, skip: Int, after: String, before: String, first: Int, last: Int): [User]! user(where: UserWhereUniqueInput!): User usersConnection(where: UserWhereInput, orderBy: UserOrderByInput, skip: Int, after: String, before: String, first: Int, last: Int): UserConnection! node(id: ID!): Node } type Subscription { user(where: UserSubscriptionWhereInput): UserSubscriptionPayload } type UserConnection { pageInfo: PageInfo! edges: [UserEdge]! } input UserCreateInput { name: String! } type UserEdge { node: User! cursor: String! } enum UserOrderByInput { id_ASC id_DESC name_ASC name_DESC updatedAt_ASC updatedAt_DESC createdAt_ASC createdAt_DESC } type UserPreviousValues { id: ID! name: String! } type UserSubscriptionPayload { mutation: MutationType! node: User updatedFields: [String!] previousValues: UserPreviousValues } input UserSubscriptionWhereInput { AND: [UserSubscriptionWhereInput!] OR: [UserSubscriptionWhereInput!] mutation_in: [MutationType!] updatedFields_contains: String updatedFields_contains_every: [String!] updatedFields_contains_some: [String!] node: UserWhereInput } input UserUpdateInput { name: String } input UserWhereInput { AND: [UserWhereInput!] OR: [UserWhereInput!] id: ID id_not: ID id_in: [ID!] id_not_in: [ID!] id_lt: ID id_lte: ID id_gt: ID id_gte: ID id_contains: ID id_not_contains: ID id_starts_with: ID id_not_starts_with: ID id_ends_with: ID id_not_ends_with: ID name: String name_not: String name_in: [String!] name_not_in: [String!] name_lt: String name_lte: String name_gt: String name_gte: String name_contains: String name_not_contains: String name_starts_with: String name_not_starts_with: String name_ends_with: String name_not_ends_with: String } input UserWhereUniqueInput { id: ID }