Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .github/workflows/tests_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,6 @@ jobs:
'extend-express-app.test.ts',
'extend-graphql-schema-graphql-tools.test.ts',
'extend-graphql-schema-graphql-ts.test.ts',
'extend-graphql-schema-nexus.test.ts',
'testing.test.ts',
'usecase-blog.test.ts',
'usecase-roles.test.ts',
Expand Down
2 changes: 0 additions & 2 deletions .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ pnpm-lock.yaml
*.md
docs/content
docs/public
examples/extend-graphql-schema-nexus/keystone-types.ts
examples/extend-graphql-schema-nexus/nexus-types.ts
examples/graphql-codegen/gql
examples/graphql-gql.tada/tada.generated.d.ts
examples/custom-output-paths/my-types.ts
Expand Down
8 changes: 4 additions & 4 deletions docs/content/docs/graphql/overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,13 +51,13 @@ This system will generate the following GraphQL API.
```graphql
type Query {
users(
where: UserWhereInput! = {}
where: UserWhereInput! = { }
orderBy: [UserOrderByInput!]! = []
take: Int
skip: Int! = 0
): [User!]
user(where: UserWhereUniqueInput!): User
usersCount(where: UserWhereInput! = {}): Int
usersCount(where: UserWhereInput! = { }): Int
}

type User {
Expand Down Expand Up @@ -189,7 +189,7 @@ input UserWhereUniqueInput {
```graphql
type Query {
users(
where: UserWhereInput! = {}
where: UserWhereInput! = { }
orderBy: [UserOrderByInput!]! = []
take: Int
skip: Int! = 0
Expand Down Expand Up @@ -269,7 +269,7 @@ enum OrderDirection {

```graphql
type Query {
usersCount(where: UserWhereInput! = {}): Int
usersCount(where: UserWhereInput! = { }): Int
}

input UserWhereInput {
Expand Down
3 changes: 0 additions & 3 deletions docs/content/docs/guides/schema-extension.md
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,4 @@ A full keystone project illustrating how to extend your GraphQL schema using gra
{% well heading="Example Project: Extend GraphQL Schema with GraphQL-Tools" href="https://github.com/keystonejs/keystone/tree/main/examples/extend-graphql-schema-graphql-tools" %}
A full keystone project illustrating how to extend your GraphQL schema using @graphql-tools/schema.
{% /well %}
{% well heading="Example Project: Extend GraphQL Schema with Nexus" href="https://github.com/keystonejs/keystone/tree/main/examples/extend-graphql-schema-nexus" %}
A full keystone project illustrating how to extend your GraphQL schema using Nexus and @graphql-tools/schema.
{% /well %}
{% /related-content %}
6 changes: 0 additions & 6 deletions docs/content/examples/extend-graphql-schema-nexus.yaml

This file was deleted.

4 changes: 2 additions & 2 deletions examples/actions/schema.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -160,8 +160,8 @@ input HideWithReasonPostArgs {

type Query {
post(where: PostWhereUniqueInput!): Post
posts(where: PostWhereInput! = {}, orderBy: [PostOrderByInput!]! = [], take: Int, skip: Int! = 0, cursor: PostWhereUniqueInput): [Post!]
postsCount(where: PostWhereInput! = {}): Int
posts(where: PostWhereInput! = { }, orderBy: [PostOrderByInput!]! = [], take: Int, skip: Int! = 0, cursor: PostWhereUniqueInput): [Post!]
postsCount(where: PostWhereInput! = { }): Int
keystone: KeystoneMeta!
}

Expand Down
4 changes: 2 additions & 2 deletions examples/assets-local/schema.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -140,8 +140,8 @@ type Mutation {

type Query {
post(where: PostWhereUniqueInput!): Post
posts(where: PostWhereInput! = {}, orderBy: [PostOrderByInput!]! = [], take: Int, skip: Int! = 0, cursor: PostWhereUniqueInput): [Post!]
postsCount(where: PostWhereInput! = {}): Int
posts(where: PostWhereInput! = { }, orderBy: [PostOrderByInput!]! = [], take: Int, skip: Int! = 0, cursor: PostWhereUniqueInput): [Post!]
postsCount(where: PostWhereInput! = { }): Int
keystone: KeystoneMeta!
}

Expand Down
4 changes: 2 additions & 2 deletions examples/assets-s3/schema.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -140,8 +140,8 @@ type Mutation {

type Query {
post(where: PostWhereUniqueInput!): Post
posts(where: PostWhereInput! = {}, orderBy: [PostOrderByInput!]! = [], take: Int, skip: Int! = 0, cursor: PostWhereUniqueInput): [Post!]
postsCount(where: PostWhereInput! = {}): Int
posts(where: PostWhereInput! = { }, orderBy: [PostOrderByInput!]! = [], take: Int, skip: Int! = 0, cursor: PostWhereUniqueInput): [Post!]
postsCount(where: PostWhereInput! = { }): Int
keystone: KeystoneMeta!
}

Expand Down
4 changes: 2 additions & 2 deletions examples/auth-magic-link/schema.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -119,8 +119,8 @@ type UserAuthenticationWithPasswordFailure {

type Query {
user(where: UserWhereUniqueInput!): User
users(where: UserWhereInput! = {}, orderBy: [UserOrderByInput!]! = [], take: Int, skip: Int! = 0, cursor: UserWhereUniqueInput): [User!]
usersCount(where: UserWhereInput! = {}): Int
users(where: UserWhereInput! = { }, orderBy: [UserOrderByInput!]! = [], take: Int, skip: Int! = 0, cursor: UserWhereUniqueInput): [User!]
usersCount(where: UserWhereInput! = { }): Int
keystone: KeystoneMeta!
authenticatedItem: User
}
Expand Down
4 changes: 2 additions & 2 deletions examples/auth/schema.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -127,8 +127,8 @@ type UserAuthenticationWithPasswordFailure {

type Query {
user(where: UserWhereUniqueInput!): User
users(where: UserWhereInput! = {}, orderBy: [UserOrderByInput!]! = [], take: Int, skip: Int! = 0, cursor: UserWhereUniqueInput): [User!]
usersCount(where: UserWhereInput! = {}): Int
users(where: UserWhereInput! = { }, orderBy: [UserOrderByInput!]! = [], take: Int, skip: Int! = 0, cursor: UserWhereUniqueInput): [User!]
usersCount(where: UserWhereInput! = { }): Int
keystone: KeystoneMeta!
authenticatedItem: User
}
Expand Down
24 changes: 12 additions & 12 deletions examples/better-list-search/schema.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ 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
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 {
Expand Down Expand Up @@ -181,8 +181,8 @@ input AuthorCreateInput {
type Tag {
id: ID!
name: String
posts(where: PostWhereInput! = {}, orderBy: [PostOrderByInput!]! = [], take: Int, skip: Int! = 0, cursor: PostWhereUniqueInput): [Post!]
postsCount(where: PostWhereInput! = {}): Int
posts(where: PostWhereInput! = { }, orderBy: [PostOrderByInput!]! = [], take: Int, skip: Int! = 0, cursor: PostWhereUniqueInput): [Post!]
postsCount(where: PostWhereInput! = { }): Int
}

input TagWhereUniqueInput {
Expand Down Expand Up @@ -246,14 +246,14 @@ type Mutation {

type Query {
post(where: PostWhereUniqueInput!): Post
posts(where: PostWhereInput! = {}, orderBy: [PostOrderByInput!]! = [], take: Int, skip: Int! = 0, cursor: PostWhereUniqueInput): [Post!]
postsCount(where: PostWhereInput! = {}): Int
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
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
tags(where: TagWhereInput! = { }, orderBy: [TagOrderByInput!]! = [], take: Int, skip: Int! = 0, cursor: TagWhereUniqueInput): [Tag!]
tagsCount(where: TagWhereInput! = { }): Int
keystone: KeystoneMeta!
}

Expand Down
4 changes: 2 additions & 2 deletions examples/byte-encoding/schema.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,8 @@ type Mutation {

type Query {
post(where: PostWhereUniqueInput!): Post
posts(where: PostWhereInput! = {}, orderBy: [PostOrderByInput!]! = [], take: Int, skip: Int! = 0, cursor: PostWhereUniqueInput): [Post!]
postsCount(where: PostWhereInput! = {}): Int
posts(where: PostWhereInput! = { }, orderBy: [PostOrderByInput!]! = [], take: Int, skip: Int! = 0, cursor: PostWhereUniqueInput): [Post!]
postsCount(where: PostWhereInput! = { }): Int
keystone: KeystoneMeta!
}

Expand Down
4 changes: 2 additions & 2 deletions examples/cloudinary/schema.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -158,8 +158,8 @@ type Mutation {

type Query {
post(where: PostWhereUniqueInput!): Post
posts(where: PostWhereInput! = {}, orderBy: [PostOrderByInput!]! = [], take: Int, skip: Int! = 0, cursor: PostWhereUniqueInput): [Post!]
postsCount(where: PostWhereInput! = {}): Int
posts(where: PostWhereInput! = { }, orderBy: [PostOrderByInput!]! = [], take: Int, skip: Int! = 0, cursor: PostWhereUniqueInput): [Post!]
postsCount(where: PostWhereInput! = { }): Int
keystone: KeystoneMeta!
}

Expand Down
12 changes: 6 additions & 6 deletions examples/custom-admin-ui-logo/schema.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -144,8 +144,8 @@ input PersonRelateToOneForCreateInput {
type Person {
id: ID!
name: String
tasks(where: TaskWhereInput! = {}, orderBy: [TaskOrderByInput!]! = [], take: Int, skip: Int! = 0, cursor: TaskWhereUniqueInput): [Task!]
tasksCount(where: TaskWhereInput! = {}): Int
tasks(where: TaskWhereInput! = { }, orderBy: [TaskOrderByInput!]! = [], take: Int, skip: Int! = 0, cursor: TaskWhereUniqueInput): [Task!]
tasksCount(where: TaskWhereInput! = { }): Int
}

input PersonWhereUniqueInput {
Expand Down Expand Up @@ -222,11 +222,11 @@ type Mutation {

type Query {
task(where: TaskWhereUniqueInput!): Task
tasks(where: TaskWhereInput! = {}, orderBy: [TaskOrderByInput!]! = [], take: Int, skip: Int! = 0, cursor: TaskWhereUniqueInput): [Task!]
tasksCount(where: TaskWhereInput! = {}): Int
tasks(where: TaskWhereInput! = { }, orderBy: [TaskOrderByInput!]! = [], take: Int, skip: Int! = 0, cursor: TaskWhereUniqueInput): [Task!]
tasksCount(where: TaskWhereInput! = { }): Int
person(where: PersonWhereUniqueInput!): Person
people(where: PersonWhereInput! = {}, orderBy: [PersonOrderByInput!]! = [], take: Int, skip: Int! = 0, cursor: PersonWhereUniqueInput): [Person!]
peopleCount(where: PersonWhereInput! = {}): Int
people(where: PersonWhereInput! = { }, orderBy: [PersonOrderByInput!]! = [], take: Int, skip: Int! = 0, cursor: PersonWhereUniqueInput): [Person!]
peopleCount(where: PersonWhereInput! = { }): Int
keystone: KeystoneMeta!
}

Expand Down
12 changes: 6 additions & 6 deletions examples/custom-admin-ui-navigation/schema.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -144,8 +144,8 @@ input PersonRelateToOneForCreateInput {
type Person {
id: ID!
name: String
tasks(where: TaskWhereInput! = {}, orderBy: [TaskOrderByInput!]! = [], take: Int, skip: Int! = 0, cursor: TaskWhereUniqueInput): [Task!]
tasksCount(where: TaskWhereInput! = {}): Int
tasks(where: TaskWhereInput! = { }, orderBy: [TaskOrderByInput!]! = [], take: Int, skip: Int! = 0, cursor: TaskWhereUniqueInput): [Task!]
tasksCount(where: TaskWhereInput! = { }): Int
}

input PersonWhereUniqueInput {
Expand Down Expand Up @@ -222,11 +222,11 @@ type Mutation {

type Query {
task(where: TaskWhereUniqueInput!): Task
tasks(where: TaskWhereInput! = {}, orderBy: [TaskOrderByInput!]! = [], take: Int, skip: Int! = 0, cursor: TaskWhereUniqueInput): [Task!]
tasksCount(where: TaskWhereInput! = {}): Int
tasks(where: TaskWhereInput! = { }, orderBy: [TaskOrderByInput!]! = [], take: Int, skip: Int! = 0, cursor: TaskWhereUniqueInput): [Task!]
tasksCount(where: TaskWhereInput! = { }): Int
person(where: PersonWhereUniqueInput!): Person
people(where: PersonWhereInput! = {}, orderBy: [PersonOrderByInput!]! = [], take: Int, skip: Int! = 0, cursor: PersonWhereUniqueInput): [Person!]
peopleCount(where: PersonWhereInput! = {}): Int
people(where: PersonWhereInput! = { }, orderBy: [PersonOrderByInput!]! = [], take: Int, skip: Int! = 0, cursor: PersonWhereUniqueInput): [Person!]
peopleCount(where: PersonWhereInput! = { }): Int
keystone: KeystoneMeta!
}

Expand Down
12 changes: 6 additions & 6 deletions examples/custom-admin-ui-pages/schema.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -144,8 +144,8 @@ input PersonRelateToOneForCreateInput {
type Person {
id: ID!
name: String
tasks(where: TaskWhereInput! = {}, orderBy: [TaskOrderByInput!]! = [], take: Int, skip: Int! = 0, cursor: TaskWhereUniqueInput): [Task!]
tasksCount(where: TaskWhereInput! = {}): Int
tasks(where: TaskWhereInput! = { }, orderBy: [TaskOrderByInput!]! = [], take: Int, skip: Int! = 0, cursor: TaskWhereUniqueInput): [Task!]
tasksCount(where: TaskWhereInput! = { }): Int
}

input PersonWhereUniqueInput {
Expand Down Expand Up @@ -222,11 +222,11 @@ type Mutation {

type Query {
task(where: TaskWhereUniqueInput!): Task
tasks(where: TaskWhereInput! = {}, orderBy: [TaskOrderByInput!]! = [], take: Int, skip: Int! = 0, cursor: TaskWhereUniqueInput): [Task!]
tasksCount(where: TaskWhereInput! = {}): Int
tasks(where: TaskWhereInput! = { }, orderBy: [TaskOrderByInput!]! = [], take: Int, skip: Int! = 0, cursor: TaskWhereUniqueInput): [Task!]
tasksCount(where: TaskWhereInput! = { }): Int
person(where: PersonWhereUniqueInput!): Person
people(where: PersonWhereInput! = {}, orderBy: [PersonOrderByInput!]! = [], take: Int, skip: Int! = 0, cursor: PersonWhereUniqueInput): [Person!]
peopleCount(where: PersonWhereInput! = {}): Int
people(where: PersonWhereInput! = { }, orderBy: [PersonOrderByInput!]! = [], take: Int, skip: Int! = 0, cursor: PersonWhereUniqueInput): [Person!]
peopleCount(where: PersonWhereInput! = { }): Int
keystone: KeystoneMeta!
}

Expand Down
4 changes: 2 additions & 2 deletions examples/custom-esbuild/schema.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,8 @@ type Mutation {

type Query {
post(where: PostWhereUniqueInput!): Post
posts(where: PostWhereInput! = {}, orderBy: [PostOrderByInput!]! = [], take: Int, skip: Int! = 0, cursor: PostWhereUniqueInput): [Post!]
postsCount(where: PostWhereInput! = {}): Int
posts(where: PostWhereInput! = { }, orderBy: [PostOrderByInput!]! = [], take: Int, skip: Int! = 0, cursor: PostWhereUniqueInput): [Post!]
postsCount(where: PostWhereInput! = { }): Int
keystone: KeystoneMeta!
}

Expand Down
4 changes: 2 additions & 2 deletions examples/custom-field/schema.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -119,8 +119,8 @@ type Mutation {

type Query {
post(where: PostWhereUniqueInput!): Post
posts(where: PostWhereInput! = {}, orderBy: [PostOrderByInput!]! = [], take: Int, skip: Int! = 0, cursor: PostWhereUniqueInput): [Post!]
postsCount(where: PostWhereInput! = {}): Int
posts(where: PostWhereInput! = { }, orderBy: [PostOrderByInput!]! = [], take: Int, skip: Int! = 0, cursor: PostWhereUniqueInput): [Post!]
postsCount(where: PostWhereInput! = { }): Int
keystone: KeystoneMeta!
}

Expand Down
44 changes: 22 additions & 22 deletions examples/custom-id/schema.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -116,8 +116,8 @@ input PersonRelateToOneForCreateInput {
type Person {
id: ID!
name: String
tasks(where: TaskWhereInput! = {}, orderBy: [TaskOrderByInput!]! = [], take: Int, skip: Int! = 0, cursor: TaskWhereUniqueInput): [Task!]
tasksCount(where: TaskWhereInput! = {}): Int
tasks(where: TaskWhereInput! = { }, orderBy: [TaskOrderByInput!]! = [], take: Int, skip: Int! = 0, cursor: TaskWhereUniqueInput): [Task!]
tasksCount(where: TaskWhereInput! = { }): Int
}

input PersonWhereUniqueInput {
Expand Down Expand Up @@ -177,10 +177,10 @@ type Order {
id: ID!
description: String
assignedTo: Person
options(where: OptionWhereInput! = {}, orderBy: [OptionOrderByInput!]! = [], take: Int, skip: Int! = 0, cursor: OptionWhereUniqueInput): [Option!]
optionsCount(where: OptionWhereInput! = {}): Int
products(where: ProductWhereInput! = {}, orderBy: [ProductOrderByInput!]! = [], take: Int, skip: Int! = 0, cursor: ProductWhereUniqueInput): [Product!]
productsCount(where: ProductWhereInput! = {}): Int
options(where: OptionWhereInput! = { }, orderBy: [OptionOrderByInput!]! = [], take: Int, skip: Int! = 0, cursor: OptionWhereUniqueInput): [Option!]
optionsCount(where: OptionWhereInput! = { }): Int
products(where: ProductWhereInput! = { }, orderBy: [ProductOrderByInput!]! = [], take: Int, skip: Int! = 0, cursor: ProductWhereUniqueInput): [Product!]
productsCount(where: ProductWhereInput! = { }): Int
orderedAt: DateTime
}

Expand Down Expand Up @@ -499,29 +499,29 @@ type Mutation {

type Query {
task(where: TaskWhereUniqueInput!): Task
tasks(where: TaskWhereInput! = {}, orderBy: [TaskOrderByInput!]! = [], take: Int, skip: Int! = 0, cursor: TaskWhereUniqueInput): [Task!]
tasksCount(where: TaskWhereInput! = {}): Int
tasks(where: TaskWhereInput! = { }, orderBy: [TaskOrderByInput!]! = [], take: Int, skip: Int! = 0, cursor: TaskWhereUniqueInput): [Task!]
tasksCount(where: TaskWhereInput! = { }): Int
person(where: PersonWhereUniqueInput!): Person
people(where: PersonWhereInput! = {}, orderBy: [PersonOrderByInput!]! = [], take: Int, skip: Int! = 0, cursor: PersonWhereUniqueInput): [Person!]
peopleCount(where: PersonWhereInput! = {}): Int
people(where: PersonWhereInput! = { }, orderBy: [PersonOrderByInput!]! = [], take: Int, skip: Int! = 0, cursor: PersonWhereUniqueInput): [Person!]
peopleCount(where: PersonWhereInput! = { }): Int
order(where: OrderWhereUniqueInput!): Order
orders(where: OrderWhereInput! = {}, orderBy: [OrderOrderByInput!]! = [], take: Int, skip: Int! = 0, cursor: OrderWhereUniqueInput): [Order!]
ordersCount(where: OrderWhereInput! = {}): Int
orders(where: OrderWhereInput! = { }, orderBy: [OrderOrderByInput!]! = [], take: Int, skip: Int! = 0, cursor: OrderWhereUniqueInput): [Order!]
ordersCount(where: OrderWhereInput! = { }): Int
option(where: OptionWhereUniqueInput!): Option
options(where: OptionWhereInput! = {}, orderBy: [OptionOrderByInput!]! = [], take: Int, skip: Int! = 0, cursor: OptionWhereUniqueInput): [Option!]
optionsCount(where: OptionWhereInput! = {}): Int
options(where: OptionWhereInput! = { }, orderBy: [OptionOrderByInput!]! = [], take: Int, skip: Int! = 0, cursor: OptionWhereUniqueInput): [Option!]
optionsCount(where: OptionWhereInput! = { }): Int
product(where: ProductWhereUniqueInput!): Product
products(where: ProductWhereInput! = {}, orderBy: [ProductOrderByInput!]! = [], take: Int, skip: Int! = 0, cursor: ProductWhereUniqueInput): [Product!]
productsCount(where: ProductWhereInput! = {}): Int
products(where: ProductWhereInput! = { }, orderBy: [ProductOrderByInput!]! = [], take: Int, skip: Int! = 0, cursor: ProductWhereUniqueInput): [Product!]
productsCount(where: ProductWhereInput! = { }): Int
cuid2(where: Cuid2WhereUniqueInput!): Cuid2
cuid2s(where: Cuid2WhereInput! = {}, orderBy: [Cuid2OrderByInput!]! = [], take: Int, skip: Int! = 0, cursor: Cuid2WhereUniqueInput): [Cuid2!]
cuid2sCount(where: Cuid2WhereInput! = {}): Int
cuid2s(where: Cuid2WhereInput! = { }, orderBy: [Cuid2OrderByInput!]! = [], take: Int, skip: Int! = 0, cursor: Cuid2WhereUniqueInput): [Cuid2!]
cuid2sCount(where: Cuid2WhereInput! = { }): Int
ulid(where: UlidWhereUniqueInput!): Ulid
ulids(where: UlidWhereInput! = {}, orderBy: [UlidOrderByInput!]! = [], take: Int, skip: Int! = 0, cursor: UlidWhereUniqueInput): [Ulid!]
ulidsCount(where: UlidWhereInput! = {}): Int
ulids(where: UlidWhereInput! = { }, orderBy: [UlidOrderByInput!]! = [], take: Int, skip: Int! = 0, cursor: UlidWhereUniqueInput): [Ulid!]
ulidsCount(where: UlidWhereInput! = { }): Int
nanoid(where: NanoidWhereUniqueInput!): Nanoid
nanoids(where: NanoidWhereInput! = {}, orderBy: [NanoidOrderByInput!]! = [], take: Int, skip: Int! = 0, cursor: NanoidWhereUniqueInput): [Nanoid!]
nanoidsCount(where: NanoidWhereInput! = {}): Int
nanoids(where: NanoidWhereInput! = { }, orderBy: [NanoidOrderByInput!]! = [], take: Int, skip: Int! = 0, cursor: NanoidWhereUniqueInput): [Nanoid!]
nanoidsCount(where: NanoidWhereInput! = { }): Int
keystone: KeystoneMeta!
}

Expand Down
4 changes: 2 additions & 2 deletions examples/custom-output-paths/my-graphql.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -119,8 +119,8 @@ type Mutation {

type Query {
post(where: PostWhereUniqueInput!): Post
posts(where: PostWhereInput! = {}, orderBy: [PostOrderByInput!]! = [], take: Int, skip: Int! = 0, cursor: PostWhereUniqueInput): [Post!]
postsCount(where: PostWhereInput! = {}): Int
posts(where: PostWhereInput! = { }, orderBy: [PostOrderByInput!]! = [], take: Int, skip: Int! = 0, cursor: PostWhereUniqueInput): [Post!]
postsCount(where: PostWhereInput! = { }): Int
keystone: KeystoneMeta!
}

Expand Down
Loading
Loading