# This file is automatically generated by Keystone, do not modify it manually. # Modify your Keystone config when you want to change this. type Post { id: ID! title: String author: Author related(where: PostWhereInput! = {}, orderBy: [PostOrderByInput!]! = [], take: Int, skip: Int! = 0, cursor: PostWhereUniqueInput): [Post!] relatedCount(where: PostWhereInput! = {}): Int tags(where: TagWhereInput! = {}, orderBy: [TagOrderByInput!]! = [], take: Int, skip: Int! = 0, cursor: TagWhereUniqueInput): [Tag!] tagsCount(where: TagWhereInput! = {}): Int } input PostWhereUniqueInput { id: ID } input PostWhereInput { AND: [PostWhereInput!] OR: [PostWhereInput!] NOT: [PostWhereInput!] id: IDFilter title: StringFilter author: AuthorWhereInput related: PostManyRelationFilter tags: TagManyRelationFilter } input IDFilter { equals: ID in: [ID!] notIn: [ID!] lt: ID lte: ID gt: ID gte: ID not: IDFilter } input StringFilter { equals: String in: [String!] notIn: [String!] lt: String lte: String gt: String gte: String contains: String startsWith: String endsWith: String not: NestedStringFilter } input NestedStringFilter { equals: String in: [String!] notIn: [String!] lt: String lte: String gt: String gte: String contains: String startsWith: String endsWith: String not: NestedStringFilter } input PostManyRelationFilter { every: PostWhereInput some: PostWhereInput none: PostWhereInput } input TagManyRelationFilter { every: TagWhereInput some: TagWhereInput none: TagWhereInput } input PostOrderByInput { id: OrderDirection title: OrderDirection } enum OrderDirection { asc desc } input PostUpdateInput { title: String author: AuthorRelateToOneForUpdateInput related: PostRelateToManyForUpdateInput tags: TagRelateToManyForUpdateInput } input AuthorRelateToOneForUpdateInput { create: AuthorCreateInput connect: AuthorWhereUniqueInput disconnect: Boolean } input PostRelateToManyForUpdateInput { disconnect: [PostWhereUniqueInput!] set: [PostWhereUniqueInput!] create: [PostCreateInput!] connect: [PostWhereUniqueInput!] } input TagRelateToManyForUpdateInput { disconnect: [TagWhereUniqueInput!] set: [TagWhereUniqueInput!] create: [TagCreateInput!] connect: [TagWhereUniqueInput!] } input PostUpdateArgs { where: PostWhereUniqueInput! data: PostUpdateInput! } input PostCreateInput { title: String author: AuthorRelateToOneForCreateInput related: PostRelateToManyForCreateInput tags: TagRelateToManyForCreateInput } input AuthorRelateToOneForCreateInput { create: AuthorCreateInput connect: AuthorWhereUniqueInput } input PostRelateToManyForCreateInput { create: [PostCreateInput!] connect: [PostWhereUniqueInput!] set: [PostWhereUniqueInput!] } input TagRelateToManyForCreateInput { create: [TagCreateInput!] connect: [TagWhereUniqueInput!] set: [TagWhereUniqueInput!] } type Author { id: ID! name: String } input AuthorWhereUniqueInput { id: ID } input AuthorWhereInput { AND: [AuthorWhereInput!] OR: [AuthorWhereInput!] NOT: [AuthorWhereInput!] id: IDFilter name: StringFilter } input AuthorOrderByInput { id: OrderDirection name: OrderDirection } input AuthorUpdateInput { name: String } input AuthorUpdateArgs { where: AuthorWhereUniqueInput! data: AuthorUpdateInput! } input AuthorCreateInput { name: String } type Tag { id: ID! name: String posts(where: PostWhereInput! = {}, orderBy: [PostOrderByInput!]! = [], take: Int, skip: Int! = 0, cursor: PostWhereUniqueInput): [Post!] postsCount(where: PostWhereInput! = {}): Int } input TagWhereUniqueInput { id: ID } input TagWhereInput { AND: [TagWhereInput!] OR: [TagWhereInput!] NOT: [TagWhereInput!] id: IDFilter name: StringFilter posts: PostManyRelationFilter } input TagOrderByInput { id: OrderDirection name: OrderDirection } input TagUpdateInput { name: String posts: PostRelateToManyForUpdateInput } input TagUpdateArgs { where: TagWhereUniqueInput! data: TagUpdateInput! } input TagCreateInput { name: String posts: PostRelateToManyForCreateInput } """ The `JSON` scalar type represents JSON values as specified by [ECMA-404](http://www.ecma-international.org/publications/files/ECMA-ST/ECMA-404.pdf). """ scalar JSON @specifiedBy(url: "http://www.ecma-international.org/publications/files/ECMA-ST/ECMA-404.pdf") type Mutation { createPost(data: PostCreateInput!): Post createPosts(data: [PostCreateInput!]!): [Post] updatePost(where: PostWhereUniqueInput!, data: PostUpdateInput!): Post updatePosts(data: [PostUpdateArgs!]!): [Post] deletePost(where: PostWhereUniqueInput!): Post deletePosts(where: [PostWhereUniqueInput!]!): [Post] createAuthor(data: AuthorCreateInput!): Author createAuthors(data: [AuthorCreateInput!]!): [Author] updateAuthor(where: AuthorWhereUniqueInput!, data: AuthorUpdateInput!): Author updateAuthors(data: [AuthorUpdateArgs!]!): [Author] deleteAuthor(where: AuthorWhereUniqueInput!): Author deleteAuthors(where: [AuthorWhereUniqueInput!]!): [Author] createTag(data: TagCreateInput!): Tag createTags(data: [TagCreateInput!]!): [Tag] updateTag(where: TagWhereUniqueInput!, data: TagUpdateInput!): Tag updateTags(data: [TagUpdateArgs!]!): [Tag] deleteTag(where: TagWhereUniqueInput!): Tag deleteTags(where: [TagWhereUniqueInput!]!): [Tag] } type Query { post(where: PostWhereUniqueInput!): Post posts(where: PostWhereInput! = {}, orderBy: [PostOrderByInput!]! = [], take: Int, skip: Int! = 0, cursor: PostWhereUniqueInput): [Post!] postsCount(where: PostWhereInput! = {}): Int author(where: AuthorWhereUniqueInput!): Author authors(where: AuthorWhereInput! = {}, orderBy: [AuthorOrderByInput!]! = [], take: Int, skip: Int! = 0, cursor: AuthorWhereUniqueInput): [Author!] authorsCount(where: AuthorWhereInput! = {}): Int tag(where: TagWhereUniqueInput!): Tag tags(where: TagWhereInput! = {}, orderBy: [TagOrderByInput!]! = [], take: Int, skip: Int! = 0, cursor: TagWhereUniqueInput): [Tag!] tagsCount(where: TagWhereInput! = {}): Int keystone: KeystoneMeta! } type KeystoneMeta { adminMeta: KeystoneAdminMeta! } type KeystoneAdminMeta { lists: [KeystoneAdminUIListMeta!]! list(key: String!, itemId: ID): KeystoneAdminUIListMeta } type KeystoneAdminUIListMeta { key: String! label: String! singular: String! plural: String! path: String! labelField: String! fields: [KeystoneAdminUIFieldMeta!]! groups: [KeystoneAdminUIFieldGroupMeta!]! actions: [KeystoneAdminUIActionMeta!]! graphql: KeystoneAdminUIGraphQL! pageSize: Int! initialColumns: [String!]! initialSearchFields: [String!]! initialSort: KeystoneAdminUISort initialFilter: JSON hiddenFilter: JSON isSingleton: Boolean! hideNavigation: Boolean! hideCreate: Boolean! hideDelete: Boolean! } type KeystoneAdminUIFieldMeta { key: String! label: String! description: String isOrderable: Boolean! isFilterable: Boolean! isNonNull: [KeystoneAdminUIFieldMetaIsNonNull!] fieldMeta: JSON viewsIndex: Int! customViewsIndex: Int createView: KeystoneAdminUIFieldMetaCreateView! itemView: KeystoneAdminUIFieldMetaItemView listView: KeystoneAdminUIFieldMetaListView! search: QueryMode } enum KeystoneAdminUIFieldMetaIsNonNull { read create update } type KeystoneAdminUIFieldMetaCreateView { fieldMode: JSON! isRequired: JSON! } type KeystoneAdminUIFieldMetaItemView { fieldMode: JSON! fieldPosition: KeystoneAdminUIFieldMetaItemViewFieldPosition! isRequired: JSON! } enum KeystoneAdminUIFieldMetaItemViewFieldPosition { form sidebar } type KeystoneAdminUIFieldMetaListView { fieldMode: KeystoneAdminUIFieldMetaListViewFieldMode! } enum KeystoneAdminUIFieldMetaListViewFieldMode { read hidden } enum QueryMode { default insensitive } type KeystoneAdminUIFieldGroupMeta { label: String! description: String fields: [KeystoneAdminUIFieldMeta!]! } type KeystoneAdminUIActionMeta { key: String! label: String! icon: String messages: KeystoneAdminUIActionMetaMessages! graphql: KeystoneAdminUIActionMetaGraphQL itemView: KeystoneAdminUIActionMetaItemView listView: KeystoneAdminUIActionMetaListView! } type KeystoneAdminUIActionMetaMessages { promptTitle: String! promptTitleMany: String prompt: String! promptMany: String promptConfirmLabel: String! promptConfirmLabelMany: String fail: String! failMany: String success: String! successMany: String } type KeystoneAdminUIActionMetaGraphQL { arguments: [KeystoneAdminUIActionMetaGraphQLArgument!]! names: KeystoneAdminUIActionMetaGraphQLNames! } type KeystoneAdminUIActionMetaGraphQLArgument { name: String! type: String! source: JSON } type KeystoneAdminUIActionMetaGraphQLNames { one: String! many: String } type KeystoneAdminUIActionMetaItemView { actionMode: JSON! navigation: KeystoneAdminUIActionMetaItemViewNavigation! hidePrompt: Boolean! hideToast: Boolean! } enum KeystoneAdminUIActionMetaItemViewNavigation { follow refetch return } type KeystoneAdminUIActionMetaListView { actionMode: JSON! } type KeystoneAdminUIGraphQL { names: KeystoneAdminUIGraphQLNames! } type KeystoneAdminUIGraphQLNames { outputTypeName: String! whereInputName: String! whereUniqueInputName: String! createInputName: String! createMutationName: String! createManyMutationName: String! relateToOneForCreateInputName: String! relateToManyForCreateInputName: String! itemQueryName: String! listOrderName: String! listQueryCountName: String! listQueryName: String! updateInputName: String! updateMutationName: String! updateManyInputName: String! updateManyMutationName: String! relateToOneForUpdateInputName: String! relateToManyForUpdateInputName: String! deleteMutationName: String! deleteManyMutationName: String! } type KeystoneAdminUISort { field: String! direction: KeystoneAdminUISortDirection! } enum KeystoneAdminUISortDirection { ASC DESC }