From 3773626bf8ea82ff8102cb6f99c7f7a9ea42e2c3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jay=20P=C3=A9clard?= Date: Fri, 19 Feb 2021 12:58:45 +0100 Subject: [PATCH] feat: update nexus and prisma versions (#54) BREAKING CHANGE: no longer compatible with prisma < 2.16.0 --- package.json | 10 +- packages/backend/package.json | 2 +- packages/backend/src/addCrudResolvers.ts | 2 +- .../dataprovider/generated/nexus-prisma.ts | 75 ++- packages/dataprovider/generated/nexus.ts | 442 ++++++++++++------ .../dataprovider/generated/schema.graphql | 418 ++++++++++++----- packages/dataprovider/package.json | 4 +- packages/dataprovider/test-data/testSchema.ts | 2 +- packages/dataprovider/yarn.lock | 28 +- yarn.lock | 139 +++--- 10 files changed, 762 insertions(+), 360 deletions(-) diff --git a/package.json b/package.json index 8ea52f0..53e41e1 100644 --- a/package.json +++ b/package.json @@ -5,9 +5,7 @@ "@babel/core": "^7.9.0", "@babel/preset-env": "^7.9.5", "@babel/preset-typescript": "^7.9.0", - "@nexus/schema": "^0.19.2", - "@prisma/cli": "2.12.1", - "@prisma/client": "2.12.1", + "@prisma/client": "~2.16.0", "@types/jest": "^25.2.1", "@types/node": "^13.13.4", "@typescript-eslint/eslint-plugin": "^2.28.0", @@ -17,16 +15,18 @@ "eslint": "^6.8.0", "eslint-config-prettier": "^6.10.1", "eslint-plugin-prettier": "^3.1.3", - "graphql": "~15.0.0", + "graphql": "~15.5.0", "graphql-tag": "^2.10.3", "jest": "^25.4.0", "jest-matcher-utils": "^25.4.0", "lerna": "^3.20.2", "lodash": "^4.17.15", - "nexus-plugin-prisma": "^0.25.0", + "nexus": "^1.0.0", + "nexus-plugin-prisma": "^0.30.0", "path": "^0.12.7", "pluralize": "~7.0.0", "prettier": "^2.0.5", + "prisma": "~2.16.0", "react": "~16.12.0", "react-admin": "^3.4.3", "react-dom": "~16.13.1", diff --git a/packages/backend/package.json b/packages/backend/package.json index 1d15e2e..7312c59 100644 --- a/packages/backend/package.json +++ b/packages/backend/package.json @@ -30,7 +30,7 @@ "pluralize": "^7.0.0" }, "peerDependencies": { - "@nexus/schema": ">=0.19.0" + "nexus": ">=1.0.0" }, "devDependencies": { "rimraf": "^3.0.2", diff --git a/packages/backend/src/addCrudResolvers.ts b/packages/backend/src/addCrudResolvers.ts index 1958780..6a2fc8c 100644 --- a/packages/backend/src/addCrudResolvers.ts +++ b/packages/backend/src/addCrudResolvers.ts @@ -1,6 +1,6 @@ import { ResourceOptions, CommonOptions } from "./types"; import setupCrudResolvers from "./setupCrudResolvers"; -import { extendType, arg, intArg } from "@nexus/schema"; +import { extendType, arg, intArg } from "nexus"; const addCrudResolvers = ( resourceName: string, diff --git a/packages/dataprovider/generated/nexus-prisma.ts b/packages/dataprovider/generated/nexus-prisma.ts index 20d4fdc..f8d216a 100644 --- a/packages/dataprovider/generated/nexus-prisma.ts +++ b/packages/dataprovider/generated/nexus-prisma.ts @@ -3,13 +3,13 @@ import * as Prisma from '@prisma/client'; // Pagination type type Pagination = { - take?: boolean - skip?: boolean - cursor?: boolean + take?: boolean + skip?: boolean + cursor?: boolean } // Prisma custom scalar names -type CustomScalars = 'Json' +type CustomScalars = 'Json' | 'DateTime' // Prisma model type definitions interface PrismaModels { @@ -18,6 +18,7 @@ interface PrismaModels { BlogPost: Prisma.BlogPost BlogPostComment: Prisma.BlogPostComment User: Prisma.User + FilteringTest: Prisma.FilteringTest SomePublicRecordWithIntId: Prisma.SomePublicRecordWithIntId } @@ -34,15 +35,19 @@ interface NexusPrismaInputs { } blogPosts: { filtering: 'AND' | 'OR' | 'NOT' | 'id' | 'title' | 'text' | 'author' | 'authorId' | 'comments' - ordering: 'id' | 'title' | 'text' | 'authorId' + ordering: 'id' | 'title' | 'text' | 'author' | 'authorId' } blogPostComments: { filtering: 'AND' | 'OR' | 'NOT' | 'id' | 'text' | 'post' | 'postId' | 'author' | 'authorId' - ordering: 'id' | 'text' | 'postId' | 'authorId' + ordering: 'id' | 'text' | 'post' | 'postId' | 'author' | 'authorId' } users: { filtering: 'AND' | 'OR' | 'NOT' | 'id' | 'email' | 'roles' | 'firstName' | 'lastName' | 'gender' | 'yearOfBirth' | 'wantsNewsletter' | 'interests' | 'userSocialMedia' | 'address' | 'blogPosts' | 'comments' - ordering: 'id' | 'email' | 'firstName' | 'lastName' | 'gender' | 'yearOfBirth' | 'wantsNewsletter' | 'interests' | 'address' + ordering: 'id' | 'email' | 'firstName' | 'lastName' | 'gender' | 'yearOfBirth' | 'wantsNewsletter' | 'interests' | 'userSocialMedia' | 'address' + } + filteringTests: { + filtering: 'AND' | 'OR' | 'NOT' | 'id' | 'intField' | 'floatField' | 'stringField' | 'dateTimeField' | 'boolField' | 'intField_lt' | 'intField_bt' | 'snake_field' | 'snake_field_bt' + ordering: 'id' | 'intField' | 'floatField' | 'stringField' | 'dateTimeField' | 'boolField' | 'intField_lt' | 'intField_bt' | 'snake_field' | 'snake_field_bt' } somePublicRecordWithIntIds: { filtering: 'AND' | 'OR' | 'NOT' | 'id' | 'title' @@ -52,7 +57,7 @@ interface NexusPrismaInputs { UserRole: { users: { filtering: 'AND' | 'OR' | 'NOT' | 'id' | 'email' | 'roles' | 'firstName' | 'lastName' | 'gender' | 'yearOfBirth' | 'wantsNewsletter' | 'interests' | 'userSocialMedia' | 'address' | 'blogPosts' | 'comments' - ordering: 'id' | 'email' | 'firstName' | 'lastName' | 'gender' | 'yearOfBirth' | 'wantsNewsletter' | 'interests' | 'address' + ordering: 'id' | 'email' | 'firstName' | 'lastName' | 'gender' | 'yearOfBirth' | 'wantsNewsletter' | 'interests' | 'userSocialMedia' | 'address' } } UserSocialMedia: { @@ -61,7 +66,7 @@ interface NexusPrismaInputs { BlogPost: { comments: { filtering: 'AND' | 'OR' | 'NOT' | 'id' | 'text' | 'post' | 'postId' | 'author' | 'authorId' - ordering: 'id' | 'text' | 'postId' | 'authorId' + ordering: 'id' | 'text' | 'post' | 'postId' | 'author' | 'authorId' } } BlogPostComment: { @@ -74,12 +79,15 @@ interface NexusPrismaInputs { } blogPosts: { filtering: 'AND' | 'OR' | 'NOT' | 'id' | 'title' | 'text' | 'author' | 'authorId' | 'comments' - ordering: 'id' | 'title' | 'text' | 'authorId' + ordering: 'id' | 'title' | 'text' | 'author' | 'authorId' } comments: { filtering: 'AND' | 'OR' | 'NOT' | 'id' | 'text' | 'post' | 'postId' | 'author' | 'authorId' - ordering: 'id' | 'text' | 'postId' | 'authorId' + ordering: 'id' | 'text' | 'post' | 'postId' | 'author' | 'authorId' } + } + FilteringTest: { + } SomePublicRecordWithIntId: { @@ -99,45 +107,53 @@ interface NexusPrismaOutputs { blogPostComments: 'BlogPostComment' user: 'User' users: 'User' + filteringTest: 'FilteringTest' + filteringTests: 'FilteringTest' somePublicRecordWithIntId: 'SomePublicRecordWithIntId' somePublicRecordWithIntIds: 'SomePublicRecordWithIntId' }, Mutation: { createOneUserRole: 'UserRole' updateOneUserRole: 'UserRole' - updateManyUserRole: 'BatchPayload' + updateManyUserRole: 'AffectedRowsOutput' deleteOneUserRole: 'UserRole' - deleteManyUserRole: 'BatchPayload' + deleteManyUserRole: 'AffectedRowsOutput' upsertOneUserRole: 'UserRole' createOneUserSocialMedia: 'UserSocialMedia' updateOneUserSocialMedia: 'UserSocialMedia' - updateManyUserSocialMedia: 'BatchPayload' + updateManyUserSocialMedia: 'AffectedRowsOutput' deleteOneUserSocialMedia: 'UserSocialMedia' - deleteManyUserSocialMedia: 'BatchPayload' + deleteManyUserSocialMedia: 'AffectedRowsOutput' upsertOneUserSocialMedia: 'UserSocialMedia' createOneBlogPost: 'BlogPost' updateOneBlogPost: 'BlogPost' - updateManyBlogPost: 'BatchPayload' + updateManyBlogPost: 'AffectedRowsOutput' deleteOneBlogPost: 'BlogPost' - deleteManyBlogPost: 'BatchPayload' + deleteManyBlogPost: 'AffectedRowsOutput' upsertOneBlogPost: 'BlogPost' createOneBlogPostComment: 'BlogPostComment' updateOneBlogPostComment: 'BlogPostComment' - updateManyBlogPostComment: 'BatchPayload' + updateManyBlogPostComment: 'AffectedRowsOutput' deleteOneBlogPostComment: 'BlogPostComment' - deleteManyBlogPostComment: 'BatchPayload' + deleteManyBlogPostComment: 'AffectedRowsOutput' upsertOneBlogPostComment: 'BlogPostComment' createOneUser: 'User' updateOneUser: 'User' - updateManyUser: 'BatchPayload' + updateManyUser: 'AffectedRowsOutput' deleteOneUser: 'User' - deleteManyUser: 'BatchPayload' + deleteManyUser: 'AffectedRowsOutput' upsertOneUser: 'User' + createOneFilteringTest: 'FilteringTest' + updateOneFilteringTest: 'FilteringTest' + updateManyFilteringTest: 'AffectedRowsOutput' + deleteOneFilteringTest: 'FilteringTest' + deleteManyFilteringTest: 'AffectedRowsOutput' + upsertOneFilteringTest: 'FilteringTest' createOneSomePublicRecordWithIntId: 'SomePublicRecordWithIntId' updateOneSomePublicRecordWithIntId: 'SomePublicRecordWithIntId' - updateManySomePublicRecordWithIntId: 'BatchPayload' + updateManySomePublicRecordWithIntId: 'AffectedRowsOutput' deleteOneSomePublicRecordWithIntId: 'SomePublicRecordWithIntId' - deleteManySomePublicRecordWithIntId: 'BatchPayload' + deleteManySomePublicRecordWithIntId: 'AffectedRowsOutput' upsertOneSomePublicRecordWithIntId: 'SomePublicRecordWithIntId' }, UserRole: { @@ -183,6 +199,18 @@ interface NexusPrismaOutputs { blogPosts: 'BlogPost' comments: 'BlogPostComment' } + FilteringTest: { + id: 'Int' + intField: 'Int' + floatField: 'Float' + stringField: 'String' + dateTimeField: 'DateTime' + boolField: 'Boolean' + intField_lt: 'String' + intField_bt: 'Int' + snake_field: 'Int' + snake_field_bt: 'Int' + } SomePublicRecordWithIntId: { id: 'Int' title: 'String' @@ -196,6 +224,7 @@ interface NexusPrismaMethods { BlogPost: Typegen.NexusPrismaFields<'BlogPost'> BlogPostComment: Typegen.NexusPrismaFields<'BlogPostComment'> User: Typegen.NexusPrismaFields<'User'> + FilteringTest: Typegen.NexusPrismaFields<'FilteringTest'> SomePublicRecordWithIntId: Typegen.NexusPrismaFields<'SomePublicRecordWithIntId'> Query: Typegen.NexusPrismaFields<'Query'> Mutation: Typegen.NexusPrismaFields<'Mutation'> diff --git a/packages/dataprovider/generated/nexus.ts b/packages/dataprovider/generated/nexus.ts index 30028c7..7bfa023 100644 --- a/packages/dataprovider/generated/nexus.ts +++ b/packages/dataprovider/generated/nexus.ts @@ -20,17 +20,17 @@ declare global { export interface NexusGenInputs { BlogPostCommentCreateInput: { // input type - author?: NexusGenInputs['UserCreateOneWithoutCommentsInput'] | null; // UserCreateOneWithoutCommentsInput + author?: NexusGenInputs['UserCreateNestedOneWithoutCommentsInput'] | null; // UserCreateNestedOneWithoutCommentsInput id?: string | null; // String - post?: NexusGenInputs['BlogPostCreateOneWithoutCommentsInput'] | null; // BlogPostCreateOneWithoutCommentsInput + post?: NexusGenInputs['BlogPostCreateNestedOneWithoutCommentsInput'] | null; // BlogPostCreateNestedOneWithoutCommentsInput text: string; // String! } - BlogPostCommentCreateManyWithoutAuthorInput: { // input type + BlogPostCommentCreateNestedManyWithoutAuthorInput: { // input type connect?: NexusGenInputs['BlogPostCommentWhereUniqueInput'][] | null; // [BlogPostCommentWhereUniqueInput!] connectOrCreate?: NexusGenInputs['BlogPostCommentCreateOrConnectWithoutauthorInput'][] | null; // [BlogPostCommentCreateOrConnectWithoutauthorInput!] create?: NexusGenInputs['BlogPostCommentCreateWithoutAuthorInput'][] | null; // [BlogPostCommentCreateWithoutAuthorInput!] } - BlogPostCommentCreateManyWithoutPostInput: { // input type + BlogPostCommentCreateNestedManyWithoutPostInput: { // input type connect?: NexusGenInputs['BlogPostCommentWhereUniqueInput'][] | null; // [BlogPostCommentWhereUniqueInput!] connectOrCreate?: NexusGenInputs['BlogPostCommentCreateOrConnectWithoutpostInput'][] | null; // [BlogPostCommentCreateOrConnectWithoutpostInput!] create?: NexusGenInputs['BlogPostCommentCreateWithoutPostInput'][] | null; // [BlogPostCommentCreateWithoutPostInput!] @@ -45,11 +45,11 @@ export interface NexusGenInputs { } BlogPostCommentCreateWithoutAuthorInput: { // input type id?: string | null; // String - post?: NexusGenInputs['BlogPostCreateOneWithoutCommentsInput'] | null; // BlogPostCreateOneWithoutCommentsInput + post?: NexusGenInputs['BlogPostCreateNestedOneWithoutCommentsInput'] | null; // BlogPostCreateNestedOneWithoutCommentsInput text: string; // String! } BlogPostCommentCreateWithoutPostInput: { // input type - author?: NexusGenInputs['UserCreateOneWithoutCommentsInput'] | null; // UserCreateOneWithoutCommentsInput + author?: NexusGenInputs['UserCreateNestedOneWithoutCommentsInput'] | null; // UserCreateNestedOneWithoutCommentsInput id?: string | null; // String text: string; // String! } @@ -59,17 +59,19 @@ export interface NexusGenInputs { some?: NexusGenInputs['BlogPostCommentWhereInput'] | null; // BlogPostCommentWhereInput } BlogPostCommentOrderByInput: { // input type + author?: NexusGenInputs['UserOrderByInput'] | null; // UserOrderByInput authorId?: NexusGenEnums['SortOrder'] | null; // SortOrder id?: NexusGenEnums['SortOrder'] | null; // SortOrder + post?: NexusGenInputs['BlogPostOrderByInput'] | null; // BlogPostOrderByInput postId?: NexusGenEnums['SortOrder'] | null; // SortOrder text?: NexusGenEnums['SortOrder'] | null; // SortOrder } BlogPostCommentScalarWhereInput: { // input type AND?: NexusGenInputs['BlogPostCommentScalarWhereInput'][] | null; // [BlogPostCommentScalarWhereInput!] - authorId?: NexusGenInputs['StringNullableFilter'] | null; // StringNullableFilter - id?: NexusGenInputs['StringFilter'] | null; // StringFilter NOT?: NexusGenInputs['BlogPostCommentScalarWhereInput'][] | null; // [BlogPostCommentScalarWhereInput!] OR?: NexusGenInputs['BlogPostCommentScalarWhereInput'][] | null; // [BlogPostCommentScalarWhereInput!] + authorId?: NexusGenInputs['StringNullableFilter'] | null; // StringNullableFilter + id?: NexusGenInputs['StringFilter'] | null; // StringFilter postId?: NexusGenInputs['StringNullableFilter'] | null; // StringNullableFilter text?: NexusGenInputs['StringFilter'] | null; // StringFilter } @@ -145,11 +147,11 @@ export interface NexusGenInputs { } BlogPostCommentWhereInput: { // input type AND?: NexusGenInputs['BlogPostCommentWhereInput'][] | null; // [BlogPostCommentWhereInput!] + NOT?: NexusGenInputs['BlogPostCommentWhereInput'][] | null; // [BlogPostCommentWhereInput!] + OR?: NexusGenInputs['BlogPostCommentWhereInput'][] | null; // [BlogPostCommentWhereInput!] author?: NexusGenInputs['UserWhereInput'] | null; // UserWhereInput authorId?: NexusGenInputs['StringNullableFilter'] | null; // StringNullableFilter id?: NexusGenInputs['StringFilter'] | null; // StringFilter - NOT?: NexusGenInputs['BlogPostCommentWhereInput'][] | null; // [BlogPostCommentWhereInput!] - OR?: NexusGenInputs['BlogPostCommentWhereInput'][] | null; // [BlogPostCommentWhereInput!] post?: NexusGenInputs['BlogPostWhereInput'] | null; // BlogPostWhereInput postId?: NexusGenInputs['StringNullableFilter'] | null; // StringNullableFilter text?: NexusGenInputs['StringFilter'] | null; // StringFilter @@ -158,18 +160,18 @@ export interface NexusGenInputs { id?: string | null; // String } BlogPostCreateInput: { // input type - author?: NexusGenInputs['UserCreateOneWithoutBlogPostsInput'] | null; // UserCreateOneWithoutBlogPostsInput - comments?: NexusGenInputs['BlogPostCommentCreateManyWithoutPostInput'] | null; // BlogPostCommentCreateManyWithoutPostInput + author?: NexusGenInputs['UserCreateNestedOneWithoutBlogPostsInput'] | null; // UserCreateNestedOneWithoutBlogPostsInput + comments?: NexusGenInputs['BlogPostCommentCreateNestedManyWithoutPostInput'] | null; // BlogPostCommentCreateNestedManyWithoutPostInput id?: string | null; // String text: string; // String! title: string; // String! } - BlogPostCreateManyWithoutAuthorInput: { // input type + BlogPostCreateNestedManyWithoutAuthorInput: { // input type connect?: NexusGenInputs['BlogPostWhereUniqueInput'][] | null; // [BlogPostWhereUniqueInput!] connectOrCreate?: NexusGenInputs['BlogPostCreateOrConnectWithoutauthorInput'][] | null; // [BlogPostCreateOrConnectWithoutauthorInput!] create?: NexusGenInputs['BlogPostCreateWithoutAuthorInput'][] | null; // [BlogPostCreateWithoutAuthorInput!] } - BlogPostCreateOneWithoutCommentsInput: { // input type + BlogPostCreateNestedOneWithoutCommentsInput: { // input type connect?: NexusGenInputs['BlogPostWhereUniqueInput'] | null; // BlogPostWhereUniqueInput connectOrCreate?: NexusGenInputs['BlogPostCreateOrConnectWithoutcommentsInput'] | null; // BlogPostCreateOrConnectWithoutcommentsInput create?: NexusGenInputs['BlogPostCreateWithoutCommentsInput'] | null; // BlogPostCreateWithoutCommentsInput @@ -183,13 +185,13 @@ export interface NexusGenInputs { where: NexusGenInputs['BlogPostWhereUniqueInput']; // BlogPostWhereUniqueInput! } BlogPostCreateWithoutAuthorInput: { // input type - comments?: NexusGenInputs['BlogPostCommentCreateManyWithoutPostInput'] | null; // BlogPostCommentCreateManyWithoutPostInput + comments?: NexusGenInputs['BlogPostCommentCreateNestedManyWithoutPostInput'] | null; // BlogPostCommentCreateNestedManyWithoutPostInput id?: string | null; // String text: string; // String! title: string; // String! } BlogPostCreateWithoutCommentsInput: { // input type - author?: NexusGenInputs['UserCreateOneWithoutBlogPostsInput'] | null; // UserCreateOneWithoutBlogPostsInput + author?: NexusGenInputs['UserCreateNestedOneWithoutBlogPostsInput'] | null; // UserCreateNestedOneWithoutBlogPostsInput id?: string | null; // String text: string; // String! title: string; // String! @@ -200,6 +202,7 @@ export interface NexusGenInputs { some?: NexusGenInputs['BlogPostWhereInput'] | null; // BlogPostWhereInput } BlogPostOrderByInput: { // input type + author?: NexusGenInputs['UserOrderByInput'] | null; // UserOrderByInput authorId?: NexusGenEnums['SortOrder'] | null; // SortOrder id?: NexusGenEnums['SortOrder'] | null; // SortOrder text?: NexusGenEnums['SortOrder'] | null; // SortOrder @@ -207,10 +210,10 @@ export interface NexusGenInputs { } BlogPostScalarWhereInput: { // input type AND?: NexusGenInputs['BlogPostScalarWhereInput'][] | null; // [BlogPostScalarWhereInput!] - authorId?: NexusGenInputs['StringNullableFilter'] | null; // StringNullableFilter - id?: NexusGenInputs['StringFilter'] | null; // StringFilter NOT?: NexusGenInputs['BlogPostScalarWhereInput'][] | null; // [BlogPostScalarWhereInput!] OR?: NexusGenInputs['BlogPostScalarWhereInput'][] | null; // [BlogPostScalarWhereInput!] + authorId?: NexusGenInputs['StringNullableFilter'] | null; // StringNullableFilter + id?: NexusGenInputs['StringFilter'] | null; // StringFilter text?: NexusGenInputs['StringFilter'] | null; // StringFilter title?: NexusGenInputs['StringFilter'] | null; // StringFilter } @@ -278,12 +281,12 @@ export interface NexusGenInputs { } BlogPostWhereInput: { // input type AND?: NexusGenInputs['BlogPostWhereInput'][] | null; // [BlogPostWhereInput!] + NOT?: NexusGenInputs['BlogPostWhereInput'][] | null; // [BlogPostWhereInput!] + OR?: NexusGenInputs['BlogPostWhereInput'][] | null; // [BlogPostWhereInput!] author?: NexusGenInputs['UserWhereInput'] | null; // UserWhereInput authorId?: NexusGenInputs['StringNullableFilter'] | null; // StringNullableFilter comments?: NexusGenInputs['BlogPostCommentListRelationFilter'] | null; // BlogPostCommentListRelationFilter id?: NexusGenInputs['StringFilter'] | null; // StringFilter - NOT?: NexusGenInputs['BlogPostWhereInput'][] | null; // [BlogPostWhereInput!] - OR?: NexusGenInputs['BlogPostWhereInput'][] | null; // [BlogPostWhereInput!] text?: NexusGenInputs['StringFilter'] | null; // StringFilter title?: NexusGenInputs['StringFilter'] | null; // StringFilter } @@ -297,6 +300,19 @@ export interface NexusGenInputs { equals?: boolean | null; // Boolean not?: NexusGenInputs['NestedBoolFilter'] | null; // NestedBoolFilter } + DateTimeFieldUpdateOperationsInput: { // input type + set?: NexusGenScalars['DateTime'] | null; // DateTime + } + DateTimeFilter: { // input type + equals?: NexusGenScalars['DateTime'] | null; // DateTime + gt?: NexusGenScalars['DateTime'] | null; // DateTime + gte?: NexusGenScalars['DateTime'] | null; // DateTime + in?: NexusGenScalars['DateTime'][] | null; // [DateTime!] + lt?: NexusGenScalars['DateTime'] | null; // DateTime + lte?: NexusGenScalars['DateTime'] | null; // DateTime + not?: NexusGenInputs['NestedDateTimeFilter'] | null; // NestedDateTimeFilter + notIn?: NexusGenScalars['DateTime'][] | null; // [DateTime!] + } EnumGenderNullableFilter: { // input type equals?: NexusGenEnums['Gender'] | null; // Gender in?: NexusGenEnums['Gender'][] | null; // [Gender!] @@ -305,6 +321,97 @@ export interface NexusGenInputs { } EnumTopicNullableListFilter: { // input type equals?: NexusGenEnums['Topic'][] | null; // [Topic!] + has?: NexusGenEnums['Topic'] | null; // Topic + hasEvery?: NexusGenEnums['Topic'][] | null; // [Topic!] + hasSome?: NexusGenEnums['Topic'][] | null; // [Topic!] + isEmpty?: boolean | null; // Boolean + } + FilteringTestCreateInput: { // input type + boolField: boolean; // Boolean! + dateTimeField: NexusGenScalars['DateTime']; // DateTime! + floatField: number; // Float! + intField: number; // Int! + intField_bt: number; // Int! + intField_lt: string; // String! + snake_field: number; // Int! + snake_field_bt: number; // Int! + stringField: string; // String! + } + FilteringTestOrderByInput: { // input type + boolField?: NexusGenEnums['SortOrder'] | null; // SortOrder + dateTimeField?: NexusGenEnums['SortOrder'] | null; // SortOrder + floatField?: NexusGenEnums['SortOrder'] | null; // SortOrder + id?: NexusGenEnums['SortOrder'] | null; // SortOrder + intField?: NexusGenEnums['SortOrder'] | null; // SortOrder + intField_bt?: NexusGenEnums['SortOrder'] | null; // SortOrder + intField_lt?: NexusGenEnums['SortOrder'] | null; // SortOrder + snake_field?: NexusGenEnums['SortOrder'] | null; // SortOrder + snake_field_bt?: NexusGenEnums['SortOrder'] | null; // SortOrder + stringField?: NexusGenEnums['SortOrder'] | null; // SortOrder + } + FilteringTestUpdateInput: { // input type + boolField?: NexusGenInputs['BoolFieldUpdateOperationsInput'] | null; // BoolFieldUpdateOperationsInput + dateTimeField?: NexusGenInputs['DateTimeFieldUpdateOperationsInput'] | null; // DateTimeFieldUpdateOperationsInput + floatField?: NexusGenInputs['FloatFieldUpdateOperationsInput'] | null; // FloatFieldUpdateOperationsInput + intField?: NexusGenInputs['IntFieldUpdateOperationsInput'] | null; // IntFieldUpdateOperationsInput + intField_bt?: NexusGenInputs['IntFieldUpdateOperationsInput'] | null; // IntFieldUpdateOperationsInput + intField_lt?: NexusGenInputs['StringFieldUpdateOperationsInput'] | null; // StringFieldUpdateOperationsInput + snake_field?: NexusGenInputs['IntFieldUpdateOperationsInput'] | null; // IntFieldUpdateOperationsInput + snake_field_bt?: NexusGenInputs['IntFieldUpdateOperationsInput'] | null; // IntFieldUpdateOperationsInput + stringField?: NexusGenInputs['StringFieldUpdateOperationsInput'] | null; // StringFieldUpdateOperationsInput + } + FilteringTestUpdateManyMutationInput: { // input type + boolField?: NexusGenInputs['BoolFieldUpdateOperationsInput'] | null; // BoolFieldUpdateOperationsInput + dateTimeField?: NexusGenInputs['DateTimeFieldUpdateOperationsInput'] | null; // DateTimeFieldUpdateOperationsInput + floatField?: NexusGenInputs['FloatFieldUpdateOperationsInput'] | null; // FloatFieldUpdateOperationsInput + intField?: NexusGenInputs['IntFieldUpdateOperationsInput'] | null; // IntFieldUpdateOperationsInput + intField_bt?: NexusGenInputs['IntFieldUpdateOperationsInput'] | null; // IntFieldUpdateOperationsInput + intField_lt?: NexusGenInputs['StringFieldUpdateOperationsInput'] | null; // StringFieldUpdateOperationsInput + snake_field?: NexusGenInputs['IntFieldUpdateOperationsInput'] | null; // IntFieldUpdateOperationsInput + snake_field_bt?: NexusGenInputs['IntFieldUpdateOperationsInput'] | null; // IntFieldUpdateOperationsInput + stringField?: NexusGenInputs['StringFieldUpdateOperationsInput'] | null; // StringFieldUpdateOperationsInput + } + FilteringTestWhereInput: { // input type + AND?: NexusGenInputs['FilteringTestWhereInput'][] | null; // [FilteringTestWhereInput!] + NOT?: NexusGenInputs['FilteringTestWhereInput'][] | null; // [FilteringTestWhereInput!] + OR?: NexusGenInputs['FilteringTestWhereInput'][] | null; // [FilteringTestWhereInput!] + boolField?: NexusGenInputs['BoolFilter'] | null; // BoolFilter + dateTimeField?: NexusGenInputs['DateTimeFilter'] | null; // DateTimeFilter + floatField?: NexusGenInputs['FloatFilter'] | null; // FloatFilter + id?: NexusGenInputs['IntFilter'] | null; // IntFilter + intField?: NexusGenInputs['IntFilter'] | null; // IntFilter + intField_bt?: NexusGenInputs['IntFilter'] | null; // IntFilter + intField_lt?: NexusGenInputs['StringFilter'] | null; // StringFilter + snake_field?: NexusGenInputs['IntFilter'] | null; // IntFilter + snake_field_bt?: NexusGenInputs['IntFilter'] | null; // IntFilter + stringField?: NexusGenInputs['StringFilter'] | null; // StringFilter + } + FilteringTestWhereUniqueInput: { // input type + id?: number | null; // Int + } + FloatFieldUpdateOperationsInput: { // input type + decrement?: number | null; // Float + divide?: number | null; // Float + increment?: number | null; // Float + multiply?: number | null; // Float + set?: number | null; // Float + } + FloatFilter: { // input type + equals?: number | null; // Float + gt?: number | null; // Float + gte?: number | null; // Float + in?: number[] | null; // [Float!] + lt?: number | null; // Float + lte?: number | null; // Float + not?: NexusGenInputs['NestedFloatFilter'] | null; // NestedFloatFilter + notIn?: number[] | null; // [Float!] + } + IntFieldUpdateOperationsInput: { // input type + decrement?: number | null; // Int + divide?: number | null; // Int + increment?: number | null; // Int + multiply?: number | null; // Int + set?: number | null; // Int } IntFilter: { // input type equals?: number | null; // Int @@ -334,12 +441,32 @@ export interface NexusGenInputs { equals?: boolean | null; // Boolean not?: NexusGenInputs['NestedBoolFilter'] | null; // NestedBoolFilter } + NestedDateTimeFilter: { // input type + equals?: NexusGenScalars['DateTime'] | null; // DateTime + gt?: NexusGenScalars['DateTime'] | null; // DateTime + gte?: NexusGenScalars['DateTime'] | null; // DateTime + in?: NexusGenScalars['DateTime'][] | null; // [DateTime!] + lt?: NexusGenScalars['DateTime'] | null; // DateTime + lte?: NexusGenScalars['DateTime'] | null; // DateTime + not?: NexusGenInputs['NestedDateTimeFilter'] | null; // NestedDateTimeFilter + notIn?: NexusGenScalars['DateTime'][] | null; // [DateTime!] + } NestedEnumGenderNullableFilter: { // input type equals?: NexusGenEnums['Gender'] | null; // Gender in?: NexusGenEnums['Gender'][] | null; // [Gender!] not?: NexusGenInputs['NestedEnumGenderNullableFilter'] | null; // NestedEnumGenderNullableFilter notIn?: NexusGenEnums['Gender'][] | null; // [Gender!] } + NestedFloatFilter: { // input type + equals?: number | null; // Float + gt?: number | null; // Float + gte?: number | null; // Float + in?: number[] | null; // [Float!] + lt?: number | null; // Float + lte?: number | null; // Float + not?: NexusGenInputs['NestedFloatFilter'] | null; // NestedFloatFilter + notIn?: number[] | null; // [Float!] + } NestedIntFilter: { // input type equals?: number | null; // Int gt?: number | null; // Int @@ -414,9 +541,9 @@ export interface NexusGenInputs { } SomePublicRecordWithIntIdWhereInput: { // input type AND?: NexusGenInputs['SomePublicRecordWithIntIdWhereInput'][] | null; // [SomePublicRecordWithIntIdWhereInput!] - id?: NexusGenInputs['IntFilter'] | null; // IntFilter NOT?: NexusGenInputs['SomePublicRecordWithIntIdWhereInput'][] | null; // [SomePublicRecordWithIntIdWhereInput!] OR?: NexusGenInputs['SomePublicRecordWithIntIdWhereInput'][] | null; // [SomePublicRecordWithIntIdWhereInput!] + id?: NexusGenInputs['IntFilter'] | null; // IntFilter title?: NexusGenInputs['StringFilter'] | null; // StringFilter } SomePublicRecordWithIntIdWhereUniqueInput: { // input type @@ -455,29 +582,34 @@ export interface NexusGenInputs { } UserCreateInput: { // input type address?: NexusGenScalars['Json'] | null; // Json - blogPosts?: NexusGenInputs['BlogPostCreateManyWithoutAuthorInput'] | null; // BlogPostCreateManyWithoutAuthorInput - comments?: NexusGenInputs['BlogPostCommentCreateManyWithoutAuthorInput'] | null; // BlogPostCommentCreateManyWithoutAuthorInput + blogPosts?: NexusGenInputs['BlogPostCreateNestedManyWithoutAuthorInput'] | null; // BlogPostCreateNestedManyWithoutAuthorInput + comments?: NexusGenInputs['BlogPostCommentCreateNestedManyWithoutAuthorInput'] | null; // BlogPostCommentCreateNestedManyWithoutAuthorInput email: string; // String! firstName?: string | null; // String gender?: NexusGenEnums['Gender'] | null; // Gender id?: string | null; // String interests?: NexusGenInputs['UserCreateinterestsInput'] | null; // UserCreateinterestsInput lastName?: string | null; // String - roles?: NexusGenInputs['UserRoleCreateManyWithoutUsersInput'] | null; // UserRoleCreateManyWithoutUsersInput - userSocialMedia?: NexusGenInputs['UserSocialMediaCreateOneWithoutUserInput'] | null; // UserSocialMediaCreateOneWithoutUserInput + roles?: NexusGenInputs['UserRoleCreateNestedManyWithoutUsersInput'] | null; // UserRoleCreateNestedManyWithoutUsersInput + userSocialMedia?: NexusGenInputs['UserSocialMediaCreateNestedOneWithoutUserInput'] | null; // UserSocialMediaCreateNestedOneWithoutUserInput wantsNewsletter: boolean; // Boolean! yearOfBirth?: number | null; // Int } - UserCreateManyWithoutRolesInput: { // input type + UserCreateNestedManyWithoutRolesInput: { // input type connect?: NexusGenInputs['UserWhereUniqueInput'][] | null; // [UserWhereUniqueInput!] connectOrCreate?: NexusGenInputs['UserCreateOrConnectWithoutrolesInput'][] | null; // [UserCreateOrConnectWithoutrolesInput!] create?: NexusGenInputs['UserCreateWithoutRolesInput'][] | null; // [UserCreateWithoutRolesInput!] } - UserCreateOneWithoutBlogPostsInput: { // input type + UserCreateNestedOneWithoutBlogPostsInput: { // input type connect?: NexusGenInputs['UserWhereUniqueInput'] | null; // UserWhereUniqueInput connectOrCreate?: NexusGenInputs['UserCreateOrConnectWithoutblogPostsInput'] | null; // UserCreateOrConnectWithoutblogPostsInput create?: NexusGenInputs['UserCreateWithoutBlogPostsInput'] | null; // UserCreateWithoutBlogPostsInput } + UserCreateNestedOneWithoutCommentsInput: { // input type + connect?: NexusGenInputs['UserWhereUniqueInput'] | null; // UserWhereUniqueInput + connectOrCreate?: NexusGenInputs['UserCreateOrConnectWithoutcommentsInput'] | null; // UserCreateOrConnectWithoutcommentsInput + create?: NexusGenInputs['UserCreateWithoutCommentsInput'] | null; // UserCreateWithoutCommentsInput + } UserCreateOneWithoutCommentsInput: { // input type connect?: NexusGenInputs['UserWhereUniqueInput'] | null; // UserWhereUniqueInput } @@ -495,43 +627,43 @@ export interface NexusGenInputs { } UserCreateWithoutBlogPostsInput: { // input type address?: NexusGenScalars['Json'] | null; // Json - comments?: NexusGenInputs['BlogPostCommentCreateManyWithoutAuthorInput'] | null; // BlogPostCommentCreateManyWithoutAuthorInput + comments?: NexusGenInputs['BlogPostCommentCreateNestedManyWithoutAuthorInput'] | null; // BlogPostCommentCreateNestedManyWithoutAuthorInput email: string; // String! firstName?: string | null; // String gender?: NexusGenEnums['Gender'] | null; // Gender id?: string | null; // String interests?: NexusGenInputs['UserCreateinterestsInput'] | null; // UserCreateinterestsInput lastName?: string | null; // String - roles?: NexusGenInputs['UserRoleCreateManyWithoutUsersInput'] | null; // UserRoleCreateManyWithoutUsersInput - userSocialMedia?: NexusGenInputs['UserSocialMediaCreateOneWithoutUserInput'] | null; // UserSocialMediaCreateOneWithoutUserInput + roles?: NexusGenInputs['UserRoleCreateNestedManyWithoutUsersInput'] | null; // UserRoleCreateNestedManyWithoutUsersInput + userSocialMedia?: NexusGenInputs['UserSocialMediaCreateNestedOneWithoutUserInput'] | null; // UserSocialMediaCreateNestedOneWithoutUserInput wantsNewsletter: boolean; // Boolean! yearOfBirth?: number | null; // Int } UserCreateWithoutCommentsInput: { // input type address?: NexusGenScalars['Json'] | null; // Json - blogPosts?: NexusGenInputs['BlogPostCreateManyWithoutAuthorInput'] | null; // BlogPostCreateManyWithoutAuthorInput + blogPosts?: NexusGenInputs['BlogPostCreateNestedManyWithoutAuthorInput'] | null; // BlogPostCreateNestedManyWithoutAuthorInput email: string; // String! firstName?: string | null; // String gender?: NexusGenEnums['Gender'] | null; // Gender id?: string | null; // String interests?: NexusGenInputs['UserCreateinterestsInput'] | null; // UserCreateinterestsInput lastName?: string | null; // String - roles?: NexusGenInputs['UserRoleCreateManyWithoutUsersInput'] | null; // UserRoleCreateManyWithoutUsersInput - userSocialMedia?: NexusGenInputs['UserSocialMediaCreateOneWithoutUserInput'] | null; // UserSocialMediaCreateOneWithoutUserInput + roles?: NexusGenInputs['UserRoleCreateNestedManyWithoutUsersInput'] | null; // UserRoleCreateNestedManyWithoutUsersInput + userSocialMedia?: NexusGenInputs['UserSocialMediaCreateNestedOneWithoutUserInput'] | null; // UserSocialMediaCreateNestedOneWithoutUserInput wantsNewsletter: boolean; // Boolean! yearOfBirth?: number | null; // Int } UserCreateWithoutRolesInput: { // input type address?: NexusGenScalars['Json'] | null; // Json - blogPosts?: NexusGenInputs['BlogPostCreateManyWithoutAuthorInput'] | null; // BlogPostCreateManyWithoutAuthorInput - comments?: NexusGenInputs['BlogPostCommentCreateManyWithoutAuthorInput'] | null; // BlogPostCommentCreateManyWithoutAuthorInput + blogPosts?: NexusGenInputs['BlogPostCreateNestedManyWithoutAuthorInput'] | null; // BlogPostCreateNestedManyWithoutAuthorInput + comments?: NexusGenInputs['BlogPostCommentCreateNestedManyWithoutAuthorInput'] | null; // BlogPostCommentCreateNestedManyWithoutAuthorInput email: string; // String! firstName?: string | null; // String gender?: NexusGenEnums['Gender'] | null; // Gender id?: string | null; // String interests?: NexusGenInputs['UserCreateinterestsInput'] | null; // UserCreateinterestsInput lastName?: string | null; // String - userSocialMedia?: NexusGenInputs['UserSocialMediaCreateOneWithoutUserInput'] | null; // UserSocialMediaCreateOneWithoutUserInput + userSocialMedia?: NexusGenInputs['UserSocialMediaCreateNestedOneWithoutUserInput'] | null; // UserSocialMediaCreateNestedOneWithoutUserInput wantsNewsletter: boolean; // Boolean! yearOfBirth?: number | null; // Int } @@ -551,15 +683,16 @@ export interface NexusGenInputs { id?: NexusGenEnums['SortOrder'] | null; // SortOrder interests?: NexusGenEnums['SortOrder'] | null; // SortOrder lastName?: NexusGenEnums['SortOrder'] | null; // SortOrder + userSocialMedia?: NexusGenInputs['UserSocialMediaOrderByInput'] | null; // UserSocialMediaOrderByInput wantsNewsletter?: NexusGenEnums['SortOrder'] | null; // SortOrder yearOfBirth?: NexusGenEnums['SortOrder'] | null; // SortOrder } UserRoleCreateInput: { // input type id?: string | null; // String name: string; // String! - users?: NexusGenInputs['UserCreateManyWithoutRolesInput'] | null; // UserCreateManyWithoutRolesInput + users?: NexusGenInputs['UserCreateNestedManyWithoutRolesInput'] | null; // UserCreateNestedManyWithoutRolesInput } - UserRoleCreateManyWithoutUsersInput: { // input type + UserRoleCreateNestedManyWithoutUsersInput: { // input type connect?: NexusGenInputs['UserRoleWhereUniqueInput'][] | null; // [UserRoleWhereUniqueInput!] connectOrCreate?: NexusGenInputs['UserRoleCreateOrConnectWithoutusersInput'][] | null; // [UserRoleCreateOrConnectWithoutusersInput!] create?: NexusGenInputs['UserRoleCreateWithoutUsersInput'][] | null; // [UserRoleCreateWithoutUsersInput!] @@ -583,10 +716,10 @@ export interface NexusGenInputs { } UserRoleScalarWhereInput: { // input type AND?: NexusGenInputs['UserRoleScalarWhereInput'][] | null; // [UserRoleScalarWhereInput!] - id?: NexusGenInputs['StringFilter'] | null; // StringFilter - name?: NexusGenInputs['StringFilter'] | null; // StringFilter NOT?: NexusGenInputs['UserRoleScalarWhereInput'][] | null; // [UserRoleScalarWhereInput!] OR?: NexusGenInputs['UserRoleScalarWhereInput'][] | null; // [UserRoleScalarWhereInput!] + id?: NexusGenInputs['StringFilter'] | null; // StringFilter + name?: NexusGenInputs['StringFilter'] | null; // StringFilter } UserRoleUpdateInput: { // input type id?: NexusGenInputs['StringFieldUpdateOperationsInput'] | null; // StringFieldUpdateOperationsInput @@ -628,30 +761,30 @@ export interface NexusGenInputs { } UserRoleWhereInput: { // input type AND?: NexusGenInputs['UserRoleWhereInput'][] | null; // [UserRoleWhereInput!] - id?: NexusGenInputs['StringFilter'] | null; // StringFilter - name?: NexusGenInputs['StringFilter'] | null; // StringFilter NOT?: NexusGenInputs['UserRoleWhereInput'][] | null; // [UserRoleWhereInput!] OR?: NexusGenInputs['UserRoleWhereInput'][] | null; // [UserRoleWhereInput!] + id?: NexusGenInputs['StringFilter'] | null; // StringFilter + name?: NexusGenInputs['StringFilter'] | null; // StringFilter users?: NexusGenInputs['UserListRelationFilter'] | null; // UserListRelationFilter } UserRoleWhereUniqueInput: { // input type id?: string | null; // String } UserScalarWhereInput: { // input type - address?: NexusGenInputs['JsonNullableFilter'] | null; // JsonNullableFilter AND?: NexusGenInputs['UserScalarWhereInput'][] | null; // [UserScalarWhereInput!] + NOT?: NexusGenInputs['UserScalarWhereInput'][] | null; // [UserScalarWhereInput!] + OR?: NexusGenInputs['UserScalarWhereInput'][] | null; // [UserScalarWhereInput!] + address?: NexusGenInputs['JsonNullableFilter'] | null; // JsonNullableFilter email?: NexusGenInputs['StringFilter'] | null; // StringFilter firstName?: NexusGenInputs['StringNullableFilter'] | null; // StringNullableFilter gender?: NexusGenInputs['EnumGenderNullableFilter'] | null; // EnumGenderNullableFilter id?: NexusGenInputs['StringFilter'] | null; // StringFilter interests?: NexusGenInputs['EnumTopicNullableListFilter'] | null; // EnumTopicNullableListFilter lastName?: NexusGenInputs['StringNullableFilter'] | null; // StringNullableFilter - NOT?: NexusGenInputs['UserScalarWhereInput'][] | null; // [UserScalarWhereInput!] - OR?: NexusGenInputs['UserScalarWhereInput'][] | null; // [UserScalarWhereInput!] wantsNewsletter?: NexusGenInputs['BoolFilter'] | null; // BoolFilter yearOfBirth?: NexusGenInputs['IntNullableFilter'] | null; // IntNullableFilter } - UserSocialMediaCreateOneWithoutUserInput: { // input type + UserSocialMediaCreateNestedOneWithoutUserInput: { // input type connect?: NexusGenInputs['UserSocialMediaWhereUniqueInput'] | null; // UserSocialMediaWhereUniqueInput connectOrCreate?: NexusGenInputs['UserSocialMediaCreateOrConnectWithoutuserInput'] | null; // UserSocialMediaCreateOrConnectWithoutuserInput create?: NexusGenInputs['UserSocialMediaCreateWithoutUserInput'] | null; // UserSocialMediaCreateWithoutUserInput @@ -665,6 +798,12 @@ export interface NexusGenInputs { instagram: string; // String! twitter: string; // String! } + UserSocialMediaOrderByInput: { // input type + id?: NexusGenEnums['SortOrder'] | null; // SortOrder + instagram?: NexusGenEnums['SortOrder'] | null; // SortOrder + twitter?: NexusGenEnums['SortOrder'] | null; // SortOrder + userId?: NexusGenEnums['SortOrder'] | null; // SortOrder + } UserSocialMediaUpdateOneWithoutUserInput: { // input type connect?: NexusGenInputs['UserSocialMediaWhereUniqueInput'] | null; // UserSocialMediaWhereUniqueInput connectOrCreate?: NexusGenInputs['UserSocialMediaCreateOrConnectWithoutuserInput'] | null; // UserSocialMediaCreateOrConnectWithoutuserInput @@ -685,10 +824,10 @@ export interface NexusGenInputs { } UserSocialMediaWhereInput: { // input type AND?: NexusGenInputs['UserSocialMediaWhereInput'][] | null; // [UserSocialMediaWhereInput!] - id?: NexusGenInputs['StringFilter'] | null; // StringFilter - instagram?: NexusGenInputs['StringFilter'] | null; // StringFilter NOT?: NexusGenInputs['UserSocialMediaWhereInput'][] | null; // [UserSocialMediaWhereInput!] OR?: NexusGenInputs['UserSocialMediaWhereInput'][] | null; // [UserSocialMediaWhereInput!] + id?: NexusGenInputs['StringFilter'] | null; // StringFilter + instagram?: NexusGenInputs['StringFilter'] | null; // StringFilter twitter?: NexusGenInputs['StringFilter'] | null; // StringFilter user?: NexusGenInputs['UserWhereInput'] | null; // UserWhereInput userId?: NexusGenInputs['StringFilter'] | null; // StringFilter @@ -819,8 +958,10 @@ export interface NexusGenInputs { update: NexusGenInputs['UserUpdateWithoutCommentsInput']; // UserUpdateWithoutCommentsInput! } UserWhereInput: { // input type - address?: NexusGenInputs['JsonNullableFilter'] | null; // JsonNullableFilter AND?: NexusGenInputs['UserWhereInput'][] | null; // [UserWhereInput!] + NOT?: NexusGenInputs['UserWhereInput'][] | null; // [UserWhereInput!] + OR?: NexusGenInputs['UserWhereInput'][] | null; // [UserWhereInput!] + address?: NexusGenInputs['JsonNullableFilter'] | null; // JsonNullableFilter blogPosts?: NexusGenInputs['BlogPostListRelationFilter'] | null; // BlogPostListRelationFilter comments?: NexusGenInputs['BlogPostCommentListRelationFilter'] | null; // BlogPostCommentListRelationFilter email?: NexusGenInputs['StringFilter'] | null; // StringFilter @@ -829,8 +970,6 @@ export interface NexusGenInputs { id?: NexusGenInputs['StringFilter'] | null; // StringFilter interests?: NexusGenInputs['EnumTopicNullableListFilter'] | null; // EnumTopicNullableListFilter lastName?: NexusGenInputs['StringNullableFilter'] | null; // StringNullableFilter - NOT?: NexusGenInputs['UserWhereInput'][] | null; // [UserWhereInput!] - OR?: NexusGenInputs['UserWhereInput'][] | null; // [UserWhereInput!] roles?: NexusGenInputs['UserRoleListRelationFilter'] | null; // UserRoleListRelationFilter userSocialMedia?: NexusGenInputs['UserSocialMediaWhereInput'] | null; // UserSocialMediaWhereInput wantsNewsletter?: NexusGenInputs['BoolFilter'] | null; // BoolFilter @@ -855,6 +994,7 @@ export interface NexusGenScalars { Float: number Boolean: boolean ID: string + DateTime: any Json: any } @@ -864,7 +1004,7 @@ export interface NexusGenObjects { countryCode?: string | null; // String street?: string | null; // String } - BatchPayload: { // root type + AffectedRowsOutput: { // root type count: number; // Int! } BlogPost: { // root type @@ -876,6 +1016,18 @@ export interface NexusGenObjects { id: string; // String! text: string; // String! } + FilteringTest: { // root type + boolField: boolean; // Boolean! + dateTimeField: NexusGenScalars['DateTime']; // DateTime! + floatField: number; // Float! + id: number; // Int! + intField: number; // Int! + intField_bt: number; // Int! + intField_lt: string; // String! + snake_field: number; // Int! + snake_field_bt: number; // Int! + stringField: string; // String! + } Mutation: {}; Query: {}; SomePublicRecordWithIntId: { // root type @@ -921,7 +1073,7 @@ export interface NexusGenFieldTypes { countryCode: string | null; // String street: string | null; // String } - BatchPayload: { // field return type + AffectedRowsOutput: { // field return type count: number; // Int! } BlogPost: { // field return type @@ -937,34 +1089,52 @@ export interface NexusGenFieldTypes { post: NexusGenRootTypes['BlogPost'] | null; // BlogPost text: string; // String! } + FilteringTest: { // field return type + boolField: boolean; // Boolean! + dateTimeField: NexusGenScalars['DateTime']; // DateTime! + floatField: number; // Float! + id: number; // Int! + intField: number; // Int! + intField_bt: number; // Int! + intField_lt: string; // String! + snake_field: number; // Int! + snake_field_bt: number; // Int! + stringField: string; // String! + } Mutation: { // field return type createOneBlogPost: NexusGenRootTypes['BlogPost']; // BlogPost! createOneBlogPostComment: NexusGenRootTypes['BlogPostComment']; // BlogPostComment! + createOneFilteringTest: NexusGenRootTypes['FilteringTest']; // FilteringTest! createOneSomePublicRecordWithIntId: NexusGenRootTypes['SomePublicRecordWithIntId']; // SomePublicRecordWithIntId! createOneUser: NexusGenRootTypes['User']; // User! createOneUserRole: NexusGenRootTypes['UserRole']; // UserRole! - deleteManyBlogPost: NexusGenRootTypes['BatchPayload']; // BatchPayload! - deleteManyBlogPostComment: NexusGenRootTypes['BatchPayload']; // BatchPayload! - deleteManySomePublicRecordWithIntId: NexusGenRootTypes['BatchPayload']; // BatchPayload! - deleteManyUser: NexusGenRootTypes['BatchPayload']; // BatchPayload! - deleteManyUserRole: NexusGenRootTypes['BatchPayload']; // BatchPayload! + deleteManyBlogPost: NexusGenRootTypes['AffectedRowsOutput']; // AffectedRowsOutput! + deleteManyBlogPostComment: NexusGenRootTypes['AffectedRowsOutput']; // AffectedRowsOutput! + deleteManyFilteringTest: NexusGenRootTypes['AffectedRowsOutput']; // AffectedRowsOutput! + deleteManySomePublicRecordWithIntId: NexusGenRootTypes['AffectedRowsOutput']; // AffectedRowsOutput! + deleteManyUser: NexusGenRootTypes['AffectedRowsOutput']; // AffectedRowsOutput! + deleteManyUserRole: NexusGenRootTypes['AffectedRowsOutput']; // AffectedRowsOutput! deleteOneBlogPost: NexusGenRootTypes['BlogPost'] | null; // BlogPost deleteOneBlogPostComment: NexusGenRootTypes['BlogPostComment'] | null; // BlogPostComment + deleteOneFilteringTest: NexusGenRootTypes['FilteringTest'] | null; // FilteringTest deleteOneSomePublicRecordWithIntId: NexusGenRootTypes['SomePublicRecordWithIntId'] | null; // SomePublicRecordWithIntId deleteOneUser: NexusGenRootTypes['User'] | null; // User deleteOneUserRole: NexusGenRootTypes['UserRole'] | null; // UserRole - updateManyBlogPost: NexusGenRootTypes['BatchPayload']; // BatchPayload! - updateManyBlogPostComment: NexusGenRootTypes['BatchPayload']; // BatchPayload! - updateManySomePublicRecordWithIntId: NexusGenRootTypes['BatchPayload']; // BatchPayload! - updateManyUser: NexusGenRootTypes['BatchPayload']; // BatchPayload! - updateManyUserRole: NexusGenRootTypes['BatchPayload']; // BatchPayload! + updateManyBlogPost: NexusGenRootTypes['AffectedRowsOutput']; // AffectedRowsOutput! + updateManyBlogPostComment: NexusGenRootTypes['AffectedRowsOutput']; // AffectedRowsOutput! + updateManyFilteringTest: NexusGenRootTypes['AffectedRowsOutput']; // AffectedRowsOutput! + updateManySomePublicRecordWithIntId: NexusGenRootTypes['AffectedRowsOutput']; // AffectedRowsOutput! + updateManyUser: NexusGenRootTypes['AffectedRowsOutput']; // AffectedRowsOutput! + updateManyUserRole: NexusGenRootTypes['AffectedRowsOutput']; // AffectedRowsOutput! updateOneBlogPost: NexusGenRootTypes['BlogPost'] | null; // BlogPost updateOneBlogPostComment: NexusGenRootTypes['BlogPostComment'] | null; // BlogPostComment + updateOneFilteringTest: NexusGenRootTypes['FilteringTest'] | null; // FilteringTest updateOneSomePublicRecordWithIntId: NexusGenRootTypes['SomePublicRecordWithIntId'] | null; // SomePublicRecordWithIntId updateOneUser: NexusGenRootTypes['User'] | null; // User updateOneUserRole: NexusGenRootTypes['UserRole'] | null; // UserRole upsertOneBlogPost: NexusGenRootTypes['BlogPost']; // BlogPost! upsertOneBlogPostComment: NexusGenRootTypes['BlogPostComment']; // BlogPostComment! + upsertOneFilteringTest: NexusGenRootTypes['FilteringTest']; // FilteringTest! upsertOneSomePublicRecordWithIntId: NexusGenRootTypes['SomePublicRecordWithIntId']; // SomePublicRecordWithIntId! upsertOneUser: NexusGenRootTypes['User']; // User! upsertOneUserRole: NexusGenRootTypes['UserRole']; // UserRole! @@ -976,6 +1146,9 @@ export interface NexusGenFieldTypes { blogPostCommentsCount: number | null; // Int blogPosts: NexusGenRootTypes['BlogPost'][]; // [BlogPost!]! blogPostsCount: number | null; // Int + filteringTest: NexusGenRootTypes['FilteringTest'] | null; // FilteringTest + filteringTests: NexusGenRootTypes['FilteringTest'][]; // [FilteringTest!]! + filteringTestsCount: number | null; // Int somePublicRecordWithIntId: NexusGenRootTypes['SomePublicRecordWithIntId'] | null; // SomePublicRecordWithIntId somePublicRecordWithIntIds: NexusGenRootTypes['SomePublicRecordWithIntId'][]; // [SomePublicRecordWithIntId!]! somePublicRecordWithIntIdsCount: number | null; // Int @@ -1024,7 +1197,7 @@ export interface NexusGenFieldTypeNames { countryCode: 'String' street: 'String' } - BatchPayload: { // field return type name + AffectedRowsOutput: { // field return type name count: 'Int' } BlogPost: { // field return type name @@ -1040,34 +1213,52 @@ export interface NexusGenFieldTypeNames { post: 'BlogPost' text: 'String' } + FilteringTest: { // field return type name + boolField: 'Boolean' + dateTimeField: 'DateTime' + floatField: 'Float' + id: 'Int' + intField: 'Int' + intField_bt: 'Int' + intField_lt: 'String' + snake_field: 'Int' + snake_field_bt: 'Int' + stringField: 'String' + } Mutation: { // field return type name createOneBlogPost: 'BlogPost' createOneBlogPostComment: 'BlogPostComment' + createOneFilteringTest: 'FilteringTest' createOneSomePublicRecordWithIntId: 'SomePublicRecordWithIntId' createOneUser: 'User' createOneUserRole: 'UserRole' - deleteManyBlogPost: 'BatchPayload' - deleteManyBlogPostComment: 'BatchPayload' - deleteManySomePublicRecordWithIntId: 'BatchPayload' - deleteManyUser: 'BatchPayload' - deleteManyUserRole: 'BatchPayload' + deleteManyBlogPost: 'AffectedRowsOutput' + deleteManyBlogPostComment: 'AffectedRowsOutput' + deleteManyFilteringTest: 'AffectedRowsOutput' + deleteManySomePublicRecordWithIntId: 'AffectedRowsOutput' + deleteManyUser: 'AffectedRowsOutput' + deleteManyUserRole: 'AffectedRowsOutput' deleteOneBlogPost: 'BlogPost' deleteOneBlogPostComment: 'BlogPostComment' + deleteOneFilteringTest: 'FilteringTest' deleteOneSomePublicRecordWithIntId: 'SomePublicRecordWithIntId' deleteOneUser: 'User' deleteOneUserRole: 'UserRole' - updateManyBlogPost: 'BatchPayload' - updateManyBlogPostComment: 'BatchPayload' - updateManySomePublicRecordWithIntId: 'BatchPayload' - updateManyUser: 'BatchPayload' - updateManyUserRole: 'BatchPayload' + updateManyBlogPost: 'AffectedRowsOutput' + updateManyBlogPostComment: 'AffectedRowsOutput' + updateManyFilteringTest: 'AffectedRowsOutput' + updateManySomePublicRecordWithIntId: 'AffectedRowsOutput' + updateManyUser: 'AffectedRowsOutput' + updateManyUserRole: 'AffectedRowsOutput' updateOneBlogPost: 'BlogPost' updateOneBlogPostComment: 'BlogPostComment' + updateOneFilteringTest: 'FilteringTest' updateOneSomePublicRecordWithIntId: 'SomePublicRecordWithIntId' updateOneUser: 'User' updateOneUserRole: 'UserRole' upsertOneBlogPost: 'BlogPost' upsertOneBlogPostComment: 'BlogPostComment' + upsertOneFilteringTest: 'FilteringTest' upsertOneSomePublicRecordWithIntId: 'SomePublicRecordWithIntId' upsertOneUser: 'User' upsertOneUserRole: 'UserRole' @@ -1079,6 +1270,9 @@ export interface NexusGenFieldTypeNames { blogPostCommentsCount: 'Int' blogPosts: 'BlogPost' blogPostsCount: 'Int' + filteringTest: 'FilteringTest' + filteringTests: 'FilteringTest' + filteringTestsCount: 'Int' somePublicRecordWithIntId: 'SomePublicRecordWithIntId' somePublicRecordWithIntIds: 'SomePublicRecordWithIntId' somePublicRecordWithIntIdsCount: 'Int' @@ -1136,6 +1330,9 @@ export interface NexusGenArgTypes { createOneBlogPostComment: { // args data: NexusGenInputs['BlogPostCommentCreateInput']; // BlogPostCommentCreateInput! } + createOneFilteringTest: { // args + data: NexusGenInputs['FilteringTestCreateInput']; // FilteringTestCreateInput! + } createOneSomePublicRecordWithIntId: { // args data: NexusGenInputs['SomePublicRecordWithIntIdCreateInput']; // SomePublicRecordWithIntIdCreateInput! } @@ -1151,6 +1348,9 @@ export interface NexusGenArgTypes { deleteManyBlogPostComment: { // args where?: NexusGenInputs['BlogPostCommentWhereInput'] | null; // BlogPostCommentWhereInput } + deleteManyFilteringTest: { // args + where?: NexusGenInputs['FilteringTestWhereInput'] | null; // FilteringTestWhereInput + } deleteManySomePublicRecordWithIntId: { // args where?: NexusGenInputs['SomePublicRecordWithIntIdWhereInput'] | null; // SomePublicRecordWithIntIdWhereInput } @@ -1166,6 +1366,9 @@ export interface NexusGenArgTypes { deleteOneBlogPostComment: { // args where: NexusGenInputs['BlogPostCommentWhereUniqueInput']; // BlogPostCommentWhereUniqueInput! } + deleteOneFilteringTest: { // args + where: NexusGenInputs['FilteringTestWhereUniqueInput']; // FilteringTestWhereUniqueInput! + } deleteOneSomePublicRecordWithIntId: { // args where: NexusGenInputs['SomePublicRecordWithIntIdWhereUniqueInput']; // SomePublicRecordWithIntIdWhereUniqueInput! } @@ -1183,6 +1386,10 @@ export interface NexusGenArgTypes { data: NexusGenInputs['BlogPostCommentUpdateManyMutationInput']; // BlogPostCommentUpdateManyMutationInput! where?: NexusGenInputs['BlogPostCommentWhereInput'] | null; // BlogPostCommentWhereInput } + updateManyFilteringTest: { // args + data: NexusGenInputs['FilteringTestUpdateManyMutationInput']; // FilteringTestUpdateManyMutationInput! + where?: NexusGenInputs['FilteringTestWhereInput'] | null; // FilteringTestWhereInput + } updateManySomePublicRecordWithIntId: { // args data: NexusGenInputs['SomePublicRecordWithIntIdUpdateManyMutationInput']; // SomePublicRecordWithIntIdUpdateManyMutationInput! where?: NexusGenInputs['SomePublicRecordWithIntIdWhereInput'] | null; // SomePublicRecordWithIntIdWhereInput @@ -1203,6 +1410,10 @@ export interface NexusGenArgTypes { data: NexusGenInputs['BlogPostCommentUpdateInput']; // BlogPostCommentUpdateInput! where: NexusGenInputs['BlogPostCommentWhereUniqueInput']; // BlogPostCommentWhereUniqueInput! } + updateOneFilteringTest: { // args + data: NexusGenInputs['FilteringTestUpdateInput']; // FilteringTestUpdateInput! + where: NexusGenInputs['FilteringTestWhereUniqueInput']; // FilteringTestWhereUniqueInput! + } updateOneSomePublicRecordWithIntId: { // args data: NexusGenInputs['SomePublicRecordWithIntIdUpdateInput']; // SomePublicRecordWithIntIdUpdateInput! where: NexusGenInputs['SomePublicRecordWithIntIdWhereUniqueInput']; // SomePublicRecordWithIntIdWhereUniqueInput! @@ -1225,6 +1436,11 @@ export interface NexusGenArgTypes { update: NexusGenInputs['BlogPostCommentUpdateInput']; // BlogPostCommentUpdateInput! where: NexusGenInputs['BlogPostCommentWhereUniqueInput']; // BlogPostCommentWhereUniqueInput! } + upsertOneFilteringTest: { // args + create: NexusGenInputs['FilteringTestCreateInput']; // FilteringTestCreateInput! + update: NexusGenInputs['FilteringTestUpdateInput']; // FilteringTestUpdateInput! + where: NexusGenInputs['FilteringTestWhereUniqueInput']; // FilteringTestWhereUniqueInput! + } upsertOneSomePublicRecordWithIntId: { // args create: NexusGenInputs['SomePublicRecordWithIntIdCreateInput']; // SomePublicRecordWithIntIdCreateInput! update: NexusGenInputs['SomePublicRecordWithIntIdUpdateInput']; // SomePublicRecordWithIntIdUpdateInput! @@ -1276,6 +1492,23 @@ export interface NexusGenArgTypes { take?: number | null; // Int where?: NexusGenInputs['BlogPostWhereInput'] | null; // BlogPostWhereInput } + filteringTest: { // args + where: NexusGenInputs['FilteringTestWhereUniqueInput']; // FilteringTestWhereUniqueInput! + } + filteringTests: { // args + cursor?: NexusGenInputs['FilteringTestWhereUniqueInput'] | null; // FilteringTestWhereUniqueInput + orderBy?: NexusGenInputs['FilteringTestOrderByInput'][] | null; // [FilteringTestOrderByInput!] + skip?: number | null; // Int + take?: number | null; // Int + where?: NexusGenInputs['FilteringTestWhereInput'] | null; // FilteringTestWhereInput + } + filteringTestsCount: { // args + cursor?: NexusGenInputs['FilteringTestWhereUniqueInput'] | null; // FilteringTestWhereUniqueInput + orderBy?: NexusGenInputs['FilteringTestOrderByInput'] | null; // FilteringTestOrderByInput + skip?: number | null; // Int + take?: number | null; // Int + where?: NexusGenInputs['FilteringTestWhereInput'] | null; // FilteringTestWhereInput + } somePublicRecordWithIntId: { // args where: NexusGenInputs['SomePublicRecordWithIntIdWhereUniqueInput']; // SomePublicRecordWithIntIdWhereUniqueInput! } @@ -1386,6 +1619,7 @@ export interface NexusGenTypes { context: any; inputTypes: NexusGenInputs; rootTypes: NexusGenRootTypes; + inputTypeShapes: NexusGenInputs & NexusGenEnums & NexusGenScalars; argTypes: NexusGenArgTypes; fieldTypes: NexusGenFieldTypes; fieldTypeNames: NexusGenFieldTypeNames; @@ -1412,71 +1646,11 @@ declare global { interface NexusGenPluginTypeConfig { } interface NexusGenPluginFieldConfig { - /** - * Whether the type can be null - * @default (depends on whether nullability is configured in type or schema) - * @see declarativeWrappingPlugin - */ - nullable?: boolean - /** - * Whether the type is list of values, or just a single value. - * If list is true, we assume the type is a list. If list is an array, - * we'll assume that it's a list with the depth. The boolean indicates whether - * the type is required (non-null), where true = nonNull, false = nullable. - * @see declarativeWrappingPlugin - */ - list?: true | boolean[] - /** - * Whether the type should be non null, `required: true` = `nullable: false` - * @default (depends on whether nullability is configured in type or schema) - * @see declarativeWrappingPlugin - */ - required?: boolean } interface NexusGenPluginInputFieldConfig { - /** - * Whether the type can be null - * @default (depends on whether nullability is configured in type or schema) - * @see declarativeWrappingPlugin - */ - nullable?: boolean - /** - * Whether the type is list of values, or just a single value. - * If list is true, we assume the type is a list. If list is an array, - * we'll assume that it's a list with the depth. The boolean indicates whether - * the type is required (non-null), where true = nonNull, false = nullable. - * @see declarativeWrappingPlugin - */ - list?: true | boolean[] - /** - * Whether the type should be non null, `required: true` = `nullable: false` - * @default (depends on whether nullability is configured in type or schema) - * @see declarativeWrappingPlugin - */ - required?: boolean } interface NexusGenPluginSchemaConfig { } interface NexusGenPluginArgConfig { - /** - * Whether the type can be null - * @default (depends on whether nullability is configured in type or schema) - * @see declarativeWrappingPlugin - */ - nullable?: boolean - /** - * Whether the type is list of values, or just a single value. - * If list is true, we assume the type is a list. If list is an array, - * we'll assume that it's a list with the depth. The boolean indicates whether - * the type is required (non-null), where true = nonNull, false = nullable. - * @see declarativeWrappingPlugin - */ - list?: true | boolean[] - /** - * Whether the type should be non null, `required: true` = `nullable: false` - * @default (depends on whether nullability is configured in type or schema) - * @see declarativeWrappingPlugin - */ - required?: boolean } } \ No newline at end of file diff --git a/packages/dataprovider/generated/schema.graphql b/packages/dataprovider/generated/schema.graphql index b03e881..c5951bb 100644 --- a/packages/dataprovider/generated/schema.graphql +++ b/packages/dataprovider/generated/schema.graphql @@ -8,7 +8,7 @@ type Address { street: String } -type BatchPayload { +type AffectedRowsOutput { count: Int! } @@ -28,19 +28,19 @@ type BlogPostComment { } input BlogPostCommentCreateInput { - author: UserCreateOneWithoutCommentsInput + author: UserCreateNestedOneWithoutCommentsInput id: String - post: BlogPostCreateOneWithoutCommentsInput + post: BlogPostCreateNestedOneWithoutCommentsInput text: String! } -input BlogPostCommentCreateManyWithoutAuthorInput { +input BlogPostCommentCreateNestedManyWithoutAuthorInput { connect: [BlogPostCommentWhereUniqueInput!] connectOrCreate: [BlogPostCommentCreateOrConnectWithoutauthorInput!] create: [BlogPostCommentCreateWithoutAuthorInput!] } -input BlogPostCommentCreateManyWithoutPostInput { +input BlogPostCommentCreateNestedManyWithoutPostInput { connect: [BlogPostCommentWhereUniqueInput!] connectOrCreate: [BlogPostCommentCreateOrConnectWithoutpostInput!] create: [BlogPostCommentCreateWithoutPostInput!] @@ -58,12 +58,12 @@ input BlogPostCommentCreateOrConnectWithoutpostInput { input BlogPostCommentCreateWithoutAuthorInput { id: String - post: BlogPostCreateOneWithoutCommentsInput + post: BlogPostCreateNestedOneWithoutCommentsInput text: String! } input BlogPostCommentCreateWithoutPostInput { - author: UserCreateOneWithoutCommentsInput + author: UserCreateNestedOneWithoutCommentsInput id: String text: String! } @@ -75,18 +75,20 @@ input BlogPostCommentListRelationFilter { } input BlogPostCommentOrderByInput { + author: UserOrderByInput authorId: SortOrder id: SortOrder + post: BlogPostOrderByInput postId: SortOrder text: SortOrder } input BlogPostCommentScalarWhereInput { AND: [BlogPostCommentScalarWhereInput!] - authorId: StringNullableFilter - id: StringFilter NOT: [BlogPostCommentScalarWhereInput!] OR: [BlogPostCommentScalarWhereInput!] + authorId: StringNullableFilter + id: StringFilter postId: StringNullableFilter text: StringFilter } @@ -103,6 +105,16 @@ input BlogPostCommentUpdateManyMutationInput { text: StringFieldUpdateOperationsInput } +input BlogPostCommentUpdateManyWithWhereWithoutAuthorInput { + data: BlogPostCommentUpdateManyMutationInput! + where: BlogPostCommentScalarWhereInput! +} + +input BlogPostCommentUpdateManyWithWhereWithoutPostInput { + data: BlogPostCommentUpdateManyMutationInput! + where: BlogPostCommentScalarWhereInput! +} + input BlogPostCommentUpdateManyWithoutAuthorInput { connect: [BlogPostCommentWhereUniqueInput!] connectOrCreate: [BlogPostCommentCreateOrConnectWithoutauthorInput!] @@ -129,14 +141,14 @@ input BlogPostCommentUpdateManyWithoutPostInput { upsert: [BlogPostCommentUpsertWithWhereUniqueWithoutPostInput!] } -input BlogPostCommentUpdateManyWithWhereWithoutAuthorInput { - data: BlogPostCommentUpdateManyMutationInput! - where: BlogPostCommentScalarWhereInput! +input BlogPostCommentUpdateWithWhereUniqueWithoutAuthorInput { + data: BlogPostCommentUpdateWithoutAuthorInput! + where: BlogPostCommentWhereUniqueInput! } -input BlogPostCommentUpdateManyWithWhereWithoutPostInput { - data: BlogPostCommentUpdateManyMutationInput! - where: BlogPostCommentScalarWhereInput! +input BlogPostCommentUpdateWithWhereUniqueWithoutPostInput { + data: BlogPostCommentUpdateWithoutPostInput! + where: BlogPostCommentWhereUniqueInput! } input BlogPostCommentUpdateWithoutAuthorInput { @@ -151,16 +163,6 @@ input BlogPostCommentUpdateWithoutPostInput { text: StringFieldUpdateOperationsInput } -input BlogPostCommentUpdateWithWhereUniqueWithoutAuthorInput { - data: BlogPostCommentUpdateWithoutAuthorInput! - where: BlogPostCommentWhereUniqueInput! -} - -input BlogPostCommentUpdateWithWhereUniqueWithoutPostInput { - data: BlogPostCommentUpdateWithoutPostInput! - where: BlogPostCommentWhereUniqueInput! -} - input BlogPostCommentUpsertWithWhereUniqueWithoutAuthorInput { create: BlogPostCommentCreateWithoutAuthorInput! update: BlogPostCommentUpdateWithoutAuthorInput! @@ -175,11 +177,11 @@ input BlogPostCommentUpsertWithWhereUniqueWithoutPostInput { input BlogPostCommentWhereInput { AND: [BlogPostCommentWhereInput!] + NOT: [BlogPostCommentWhereInput!] + OR: [BlogPostCommentWhereInput!] author: UserWhereInput authorId: StringNullableFilter id: StringFilter - NOT: [BlogPostCommentWhereInput!] - OR: [BlogPostCommentWhereInput!] post: BlogPostWhereInput postId: StringNullableFilter text: StringFilter @@ -190,20 +192,20 @@ input BlogPostCommentWhereUniqueInput { } input BlogPostCreateInput { - author: UserCreateOneWithoutBlogPostsInput - comments: BlogPostCommentCreateManyWithoutPostInput + author: UserCreateNestedOneWithoutBlogPostsInput + comments: BlogPostCommentCreateNestedManyWithoutPostInput id: String text: String! title: String! } -input BlogPostCreateManyWithoutAuthorInput { +input BlogPostCreateNestedManyWithoutAuthorInput { connect: [BlogPostWhereUniqueInput!] connectOrCreate: [BlogPostCreateOrConnectWithoutauthorInput!] create: [BlogPostCreateWithoutAuthorInput!] } -input BlogPostCreateOneWithoutCommentsInput { +input BlogPostCreateNestedOneWithoutCommentsInput { connect: BlogPostWhereUniqueInput connectOrCreate: BlogPostCreateOrConnectWithoutcommentsInput create: BlogPostCreateWithoutCommentsInput @@ -220,14 +222,14 @@ input BlogPostCreateOrConnectWithoutcommentsInput { } input BlogPostCreateWithoutAuthorInput { - comments: BlogPostCommentCreateManyWithoutPostInput + comments: BlogPostCommentCreateNestedManyWithoutPostInput id: String text: String! title: String! } input BlogPostCreateWithoutCommentsInput { - author: UserCreateOneWithoutBlogPostsInput + author: UserCreateNestedOneWithoutBlogPostsInput id: String text: String! title: String! @@ -240,6 +242,7 @@ input BlogPostListRelationFilter { } input BlogPostOrderByInput { + author: UserOrderByInput authorId: SortOrder id: SortOrder text: SortOrder @@ -248,10 +251,10 @@ input BlogPostOrderByInput { input BlogPostScalarWhereInput { AND: [BlogPostScalarWhereInput!] - authorId: StringNullableFilter - id: StringFilter NOT: [BlogPostScalarWhereInput!] OR: [BlogPostScalarWhereInput!] + authorId: StringNullableFilter + id: StringFilter text: StringFilter title: StringFilter } @@ -270,6 +273,11 @@ input BlogPostUpdateManyMutationInput { title: StringFieldUpdateOperationsInput } +input BlogPostUpdateManyWithWhereWithoutAuthorInput { + data: BlogPostUpdateManyMutationInput! + where: BlogPostScalarWhereInput! +} + input BlogPostUpdateManyWithoutAuthorInput { connect: [BlogPostWhereUniqueInput!] connectOrCreate: [BlogPostCreateOrConnectWithoutauthorInput!] @@ -283,11 +291,6 @@ input BlogPostUpdateManyWithoutAuthorInput { upsert: [BlogPostUpsertWithWhereUniqueWithoutAuthorInput!] } -input BlogPostUpdateManyWithWhereWithoutAuthorInput { - data: BlogPostUpdateManyMutationInput! - where: BlogPostScalarWhereInput! -} - input BlogPostUpdateOneWithoutCommentsInput { connect: BlogPostWhereUniqueInput connectOrCreate: BlogPostCreateOrConnectWithoutcommentsInput @@ -298,6 +301,11 @@ input BlogPostUpdateOneWithoutCommentsInput { upsert: BlogPostUpsertWithoutCommentsInput } +input BlogPostUpdateWithWhereUniqueWithoutAuthorInput { + data: BlogPostUpdateWithoutAuthorInput! + where: BlogPostWhereUniqueInput! +} + input BlogPostUpdateWithoutAuthorInput { comments: BlogPostCommentUpdateManyWithoutPostInput id: StringFieldUpdateOperationsInput @@ -312,8 +320,9 @@ input BlogPostUpdateWithoutCommentsInput { title: StringFieldUpdateOperationsInput } -input BlogPostUpdateWithWhereUniqueWithoutAuthorInput { - data: BlogPostUpdateWithoutAuthorInput! +input BlogPostUpsertWithWhereUniqueWithoutAuthorInput { + create: BlogPostCreateWithoutAuthorInput! + update: BlogPostUpdateWithoutAuthorInput! where: BlogPostWhereUniqueInput! } @@ -322,20 +331,14 @@ input BlogPostUpsertWithoutCommentsInput { update: BlogPostUpdateWithoutCommentsInput! } -input BlogPostUpsertWithWhereUniqueWithoutAuthorInput { - create: BlogPostCreateWithoutAuthorInput! - update: BlogPostUpdateWithoutAuthorInput! - where: BlogPostWhereUniqueInput! -} - input BlogPostWhereInput { AND: [BlogPostWhereInput!] + NOT: [BlogPostWhereInput!] + OR: [BlogPostWhereInput!] author: UserWhereInput authorId: StringNullableFilter comments: BlogPostCommentListRelationFilter id: StringFilter - NOT: [BlogPostWhereInput!] - OR: [BlogPostWhereInput!] text: StringFilter title: StringFilter } @@ -353,6 +356,23 @@ input BoolFilter { not: NestedBoolFilter } +scalar DateTime + +input DateTimeFieldUpdateOperationsInput { + set: DateTime +} + +input DateTimeFilter { + equals: DateTime + gt: DateTime + gte: DateTime + in: [DateTime!] + lt: DateTime + lte: DateTime + not: NestedDateTimeFilter + notIn: [DateTime!] +} + input EnumGenderNullableFilter { equals: Gender in: [Gender!] @@ -362,6 +382,111 @@ input EnumGenderNullableFilter { input EnumTopicNullableListFilter { equals: [Topic!] + has: Topic + hasEvery: [Topic!] + hasSome: [Topic!] + isEmpty: Boolean +} + +type FilteringTest { + boolField: Boolean! + dateTimeField: DateTime! + floatField: Float! + id: Int! + intField: Int! + intField_bt: Int! + intField_lt: String! + snake_field: Int! + snake_field_bt: Int! + stringField: String! +} + +input FilteringTestCreateInput { + boolField: Boolean! + dateTimeField: DateTime! + floatField: Float! + intField: Int! + intField_bt: Int! + intField_lt: String! + snake_field: Int! + snake_field_bt: Int! + stringField: String! +} + +input FilteringTestOrderByInput { + boolField: SortOrder + dateTimeField: SortOrder + floatField: SortOrder + id: SortOrder + intField: SortOrder + intField_bt: SortOrder + intField_lt: SortOrder + snake_field: SortOrder + snake_field_bt: SortOrder + stringField: SortOrder +} + +input FilteringTestUpdateInput { + boolField: BoolFieldUpdateOperationsInput + dateTimeField: DateTimeFieldUpdateOperationsInput + floatField: FloatFieldUpdateOperationsInput + intField: IntFieldUpdateOperationsInput + intField_bt: IntFieldUpdateOperationsInput + intField_lt: StringFieldUpdateOperationsInput + snake_field: IntFieldUpdateOperationsInput + snake_field_bt: IntFieldUpdateOperationsInput + stringField: StringFieldUpdateOperationsInput +} + +input FilteringTestUpdateManyMutationInput { + boolField: BoolFieldUpdateOperationsInput + dateTimeField: DateTimeFieldUpdateOperationsInput + floatField: FloatFieldUpdateOperationsInput + intField: IntFieldUpdateOperationsInput + intField_bt: IntFieldUpdateOperationsInput + intField_lt: StringFieldUpdateOperationsInput + snake_field: IntFieldUpdateOperationsInput + snake_field_bt: IntFieldUpdateOperationsInput + stringField: StringFieldUpdateOperationsInput +} + +input FilteringTestWhereInput { + AND: [FilteringTestWhereInput!] + NOT: [FilteringTestWhereInput!] + OR: [FilteringTestWhereInput!] + boolField: BoolFilter + dateTimeField: DateTimeFilter + floatField: FloatFilter + id: IntFilter + intField: IntFilter + intField_bt: IntFilter + intField_lt: StringFilter + snake_field: IntFilter + snake_field_bt: IntFilter + stringField: StringFilter +} + +input FilteringTestWhereUniqueInput { + id: Int +} + +input FloatFieldUpdateOperationsInput { + decrement: Float + divide: Float + increment: Float + multiply: Float + set: Float +} + +input FloatFilter { + equals: Float + gt: Float + gte: Float + in: [Float!] + lt: Float + lte: Float + not: NestedFloatFilter + notIn: [Float!] } enum Gender { @@ -370,6 +495,14 @@ enum Gender { OTHER } +input IntFieldUpdateOperationsInput { + decrement: Int + divide: Int + increment: Int + multiply: Int + set: Int +} + input IntFilter { equals: Int gt: Int @@ -402,31 +535,37 @@ input JsonNullableFilter { type Mutation { createOneBlogPost(data: BlogPostCreateInput!): BlogPost! createOneBlogPostComment(data: BlogPostCommentCreateInput!): BlogPostComment! + createOneFilteringTest(data: FilteringTestCreateInput!): FilteringTest! createOneSomePublicRecordWithIntId(data: SomePublicRecordWithIntIdCreateInput!): SomePublicRecordWithIntId! createOneUser(data: UserCreateInput!): User! createOneUserRole(data: UserRoleCreateInput!): UserRole! - deleteManyBlogPost(where: BlogPostWhereInput): BatchPayload! - deleteManyBlogPostComment(where: BlogPostCommentWhereInput): BatchPayload! - deleteManySomePublicRecordWithIntId(where: SomePublicRecordWithIntIdWhereInput): BatchPayload! - deleteManyUser(where: UserWhereInput): BatchPayload! - deleteManyUserRole(where: UserRoleWhereInput): BatchPayload! + deleteManyBlogPost(where: BlogPostWhereInput): AffectedRowsOutput! + deleteManyBlogPostComment(where: BlogPostCommentWhereInput): AffectedRowsOutput! + deleteManyFilteringTest(where: FilteringTestWhereInput): AffectedRowsOutput! + deleteManySomePublicRecordWithIntId(where: SomePublicRecordWithIntIdWhereInput): AffectedRowsOutput! + deleteManyUser(where: UserWhereInput): AffectedRowsOutput! + deleteManyUserRole(where: UserRoleWhereInput): AffectedRowsOutput! deleteOneBlogPost(where: BlogPostWhereUniqueInput!): BlogPost deleteOneBlogPostComment(where: BlogPostCommentWhereUniqueInput!): BlogPostComment + deleteOneFilteringTest(where: FilteringTestWhereUniqueInput!): FilteringTest deleteOneSomePublicRecordWithIntId(where: SomePublicRecordWithIntIdWhereUniqueInput!): SomePublicRecordWithIntId deleteOneUser(where: UserWhereUniqueInput!): User deleteOneUserRole(where: UserRoleWhereUniqueInput!): UserRole - updateManyBlogPost(data: BlogPostUpdateManyMutationInput!, where: BlogPostWhereInput): BatchPayload! - updateManyBlogPostComment(data: BlogPostCommentUpdateManyMutationInput!, where: BlogPostCommentWhereInput): BatchPayload! - updateManySomePublicRecordWithIntId(data: SomePublicRecordWithIntIdUpdateManyMutationInput!, where: SomePublicRecordWithIntIdWhereInput): BatchPayload! - updateManyUser(data: UserUpdateManyMutationInput!, where: UserWhereInput): BatchPayload! - updateManyUserRole(data: UserRoleUpdateManyMutationInput!, where: UserRoleWhereInput): BatchPayload! + updateManyBlogPost(data: BlogPostUpdateManyMutationInput!, where: BlogPostWhereInput): AffectedRowsOutput! + updateManyBlogPostComment(data: BlogPostCommentUpdateManyMutationInput!, where: BlogPostCommentWhereInput): AffectedRowsOutput! + updateManyFilteringTest(data: FilteringTestUpdateManyMutationInput!, where: FilteringTestWhereInput): AffectedRowsOutput! + updateManySomePublicRecordWithIntId(data: SomePublicRecordWithIntIdUpdateManyMutationInput!, where: SomePublicRecordWithIntIdWhereInput): AffectedRowsOutput! + updateManyUser(data: UserUpdateManyMutationInput!, where: UserWhereInput): AffectedRowsOutput! + updateManyUserRole(data: UserRoleUpdateManyMutationInput!, where: UserRoleWhereInput): AffectedRowsOutput! updateOneBlogPost(data: BlogPostUpdateInput!, where: BlogPostWhereUniqueInput!): BlogPost updateOneBlogPostComment(data: BlogPostCommentUpdateInput!, where: BlogPostCommentWhereUniqueInput!): BlogPostComment + updateOneFilteringTest(data: FilteringTestUpdateInput!, where: FilteringTestWhereUniqueInput!): FilteringTest updateOneSomePublicRecordWithIntId(data: SomePublicRecordWithIntIdUpdateInput!, where: SomePublicRecordWithIntIdWhereUniqueInput!): SomePublicRecordWithIntId updateOneUser(data: UserUpdateInput!, where: UserWhereUniqueInput!): User updateOneUserRole(data: UserRoleUpdateInput!, where: UserRoleWhereUniqueInput!): UserRole upsertOneBlogPost(create: BlogPostCreateInput!, update: BlogPostUpdateInput!, where: BlogPostWhereUniqueInput!): BlogPost! upsertOneBlogPostComment(create: BlogPostCommentCreateInput!, update: BlogPostCommentUpdateInput!, where: BlogPostCommentWhereUniqueInput!): BlogPostComment! + upsertOneFilteringTest(create: FilteringTestCreateInput!, update: FilteringTestUpdateInput!, where: FilteringTestWhereUniqueInput!): FilteringTest! upsertOneSomePublicRecordWithIntId(create: SomePublicRecordWithIntIdCreateInput!, update: SomePublicRecordWithIntIdUpdateInput!, where: SomePublicRecordWithIntIdWhereUniqueInput!): SomePublicRecordWithIntId! upsertOneUser(create: UserCreateInput!, update: UserUpdateInput!, where: UserWhereUniqueInput!): User! upsertOneUserRole(create: UserRoleCreateInput!, update: UserRoleUpdateInput!, where: UserRoleWhereUniqueInput!): UserRole! @@ -437,6 +576,17 @@ input NestedBoolFilter { not: NestedBoolFilter } +input NestedDateTimeFilter { + equals: DateTime + gt: DateTime + gte: DateTime + in: [DateTime!] + lt: DateTime + lte: DateTime + not: NestedDateTimeFilter + notIn: [DateTime!] +} + input NestedEnumGenderNullableFilter { equals: Gender in: [Gender!] @@ -444,6 +594,17 @@ input NestedEnumGenderNullableFilter { notIn: [Gender!] } +input NestedFloatFilter { + equals: Float + gt: Float + gte: Float + in: [Float!] + lt: Float + lte: Float + not: NestedFloatFilter + notIn: [Float!] +} + input NestedIntFilter { equals: Int gt: Int @@ -517,6 +678,9 @@ type Query { blogPostCommentsCount(cursor: BlogPostCommentWhereUniqueInput, orderBy: BlogPostCommentOrderByInput, skip: Int, take: Int, where: BlogPostCommentWhereInput): Int blogPosts(cursor: BlogPostWhereUniqueInput, orderBy: [BlogPostOrderByInput!], skip: Int, take: Int, where: BlogPostWhereInput): [BlogPost!]! blogPostsCount(cursor: BlogPostWhereUniqueInput, orderBy: BlogPostOrderByInput, skip: Int, take: Int, where: BlogPostWhereInput): Int + filteringTest(where: FilteringTestWhereUniqueInput!): FilteringTest + filteringTests(cursor: FilteringTestWhereUniqueInput, orderBy: [FilteringTestOrderByInput!], skip: Int, take: Int, where: FilteringTestWhereInput): [FilteringTest!]! + filteringTestsCount(cursor: FilteringTestWhereUniqueInput, orderBy: FilteringTestOrderByInput, skip: Int, take: Int, where: FilteringTestWhereInput): Int somePublicRecordWithIntId(where: SomePublicRecordWithIntIdWhereUniqueInput!): SomePublicRecordWithIntId somePublicRecordWithIntIds(cursor: SomePublicRecordWithIntIdWhereUniqueInput, orderBy: [SomePublicRecordWithIntIdOrderByInput!], skip: Int, take: Int, where: SomePublicRecordWithIntIdWhereInput): [SomePublicRecordWithIntId!]! somePublicRecordWithIntIdsCount(cursor: SomePublicRecordWithIntIdWhereUniqueInput, orderBy: SomePublicRecordWithIntIdOrderByInput, skip: Int, take: Int, where: SomePublicRecordWithIntIdWhereInput): Int @@ -557,9 +721,9 @@ input SomePublicRecordWithIntIdUpdateManyMutationInput { input SomePublicRecordWithIntIdWhereInput { AND: [SomePublicRecordWithIntIdWhereInput!] - id: IntFilter NOT: [SomePublicRecordWithIntIdWhereInput!] OR: [SomePublicRecordWithIntIdWhereInput!] + id: IntFilter title: StringFilter } @@ -631,36 +795,38 @@ type User { input UserCreateInput { address: Json - blogPosts: BlogPostCreateManyWithoutAuthorInput - comments: BlogPostCommentCreateManyWithoutAuthorInput + blogPosts: BlogPostCreateNestedManyWithoutAuthorInput + comments: BlogPostCommentCreateNestedManyWithoutAuthorInput email: String! firstName: String gender: Gender id: String interests: UserCreateinterestsInput lastName: String - roles: UserRoleCreateManyWithoutUsersInput - userSocialMedia: UserSocialMediaCreateOneWithoutUserInput + roles: UserRoleCreateNestedManyWithoutUsersInput + userSocialMedia: UserSocialMediaCreateNestedOneWithoutUserInput wantsNewsletter: Boolean! yearOfBirth: Int } -input UserCreateinterestsInput { - set: [Topic!] -} - -input UserCreateManyWithoutRolesInput { +input UserCreateNestedManyWithoutRolesInput { connect: [UserWhereUniqueInput!] connectOrCreate: [UserCreateOrConnectWithoutrolesInput!] create: [UserCreateWithoutRolesInput!] } -input UserCreateOneWithoutBlogPostsInput { +input UserCreateNestedOneWithoutBlogPostsInput { connect: UserWhereUniqueInput connectOrCreate: UserCreateOrConnectWithoutblogPostsInput create: UserCreateWithoutBlogPostsInput } +input UserCreateNestedOneWithoutCommentsInput { + connect: UserWhereUniqueInput + connectOrCreate: UserCreateOrConnectWithoutcommentsInput + create: UserCreateWithoutCommentsInput +} + input UserCreateOneWithoutCommentsInput { connect: UserWhereUniqueInput } @@ -682,49 +848,53 @@ input UserCreateOrConnectWithoutrolesInput { input UserCreateWithoutBlogPostsInput { address: Json - comments: BlogPostCommentCreateManyWithoutAuthorInput + comments: BlogPostCommentCreateNestedManyWithoutAuthorInput email: String! firstName: String gender: Gender id: String interests: UserCreateinterestsInput lastName: String - roles: UserRoleCreateManyWithoutUsersInput - userSocialMedia: UserSocialMediaCreateOneWithoutUserInput + roles: UserRoleCreateNestedManyWithoutUsersInput + userSocialMedia: UserSocialMediaCreateNestedOneWithoutUserInput wantsNewsletter: Boolean! yearOfBirth: Int } input UserCreateWithoutCommentsInput { address: Json - blogPosts: BlogPostCreateManyWithoutAuthorInput + blogPosts: BlogPostCreateNestedManyWithoutAuthorInput email: String! firstName: String gender: Gender id: String interests: UserCreateinterestsInput lastName: String - roles: UserRoleCreateManyWithoutUsersInput - userSocialMedia: UserSocialMediaCreateOneWithoutUserInput + roles: UserRoleCreateNestedManyWithoutUsersInput + userSocialMedia: UserSocialMediaCreateNestedOneWithoutUserInput wantsNewsletter: Boolean! yearOfBirth: Int } input UserCreateWithoutRolesInput { address: Json - blogPosts: BlogPostCreateManyWithoutAuthorInput - comments: BlogPostCommentCreateManyWithoutAuthorInput + blogPosts: BlogPostCreateNestedManyWithoutAuthorInput + comments: BlogPostCommentCreateNestedManyWithoutAuthorInput email: String! firstName: String gender: Gender id: String interests: UserCreateinterestsInput lastName: String - userSocialMedia: UserSocialMediaCreateOneWithoutUserInput + userSocialMedia: UserSocialMediaCreateNestedOneWithoutUserInput wantsNewsletter: Boolean! yearOfBirth: Int } +input UserCreateinterestsInput { + set: [Topic!] +} + input UserListRelationFilter { every: UserWhereInput none: UserWhereInput @@ -739,6 +909,7 @@ input UserOrderByInput { id: SortOrder interests: SortOrder lastName: SortOrder + userSocialMedia: UserSocialMediaOrderByInput wantsNewsletter: SortOrder yearOfBirth: SortOrder } @@ -751,10 +922,10 @@ type UserRole { input UserRoleCreateInput { id: String name: String! - users: UserCreateManyWithoutRolesInput + users: UserCreateNestedManyWithoutRolesInput } -input UserRoleCreateManyWithoutUsersInput { +input UserRoleCreateNestedManyWithoutUsersInput { connect: [UserRoleWhereUniqueInput!] connectOrCreate: [UserRoleCreateOrConnectWithoutusersInput!] create: [UserRoleCreateWithoutUsersInput!] @@ -783,10 +954,10 @@ input UserRoleOrderByInput { input UserRoleScalarWhereInput { AND: [UserRoleScalarWhereInput!] - id: StringFilter - name: StringFilter NOT: [UserRoleScalarWhereInput!] OR: [UserRoleScalarWhereInput!] + id: StringFilter + name: StringFilter } input UserRoleUpdateInput { @@ -800,6 +971,11 @@ input UserRoleUpdateManyMutationInput { name: StringFieldUpdateOperationsInput } +input UserRoleUpdateManyWithWhereWithoutUsersInput { + data: UserRoleUpdateManyMutationInput! + where: UserRoleScalarWhereInput! +} + input UserRoleUpdateManyWithoutUsersInput { connect: [UserRoleWhereUniqueInput!] connectOrCreate: [UserRoleCreateOrConnectWithoutusersInput!] @@ -813,9 +989,9 @@ input UserRoleUpdateManyWithoutUsersInput { upsert: [UserRoleUpsertWithWhereUniqueWithoutUsersInput!] } -input UserRoleUpdateManyWithWhereWithoutUsersInput { - data: UserRoleUpdateManyMutationInput! - where: UserRoleScalarWhereInput! +input UserRoleUpdateWithWhereUniqueWithoutUsersInput { + data: UserRoleUpdateWithoutUsersInput! + where: UserRoleWhereUniqueInput! } input UserRoleUpdateWithoutUsersInput { @@ -823,11 +999,6 @@ input UserRoleUpdateWithoutUsersInput { name: StringFieldUpdateOperationsInput } -input UserRoleUpdateWithWhereUniqueWithoutUsersInput { - data: UserRoleUpdateWithoutUsersInput! - where: UserRoleWhereUniqueInput! -} - input UserRoleUpsertWithWhereUniqueWithoutUsersInput { create: UserRoleCreateWithoutUsersInput! update: UserRoleUpdateWithoutUsersInput! @@ -836,10 +1007,10 @@ input UserRoleUpsertWithWhereUniqueWithoutUsersInput { input UserRoleWhereInput { AND: [UserRoleWhereInput!] - id: StringFilter - name: StringFilter NOT: [UserRoleWhereInput!] OR: [UserRoleWhereInput!] + id: StringFilter + name: StringFilter users: UserListRelationFilter } @@ -848,16 +1019,16 @@ input UserRoleWhereUniqueInput { } input UserScalarWhereInput { - address: JsonNullableFilter AND: [UserScalarWhereInput!] + NOT: [UserScalarWhereInput!] + OR: [UserScalarWhereInput!] + address: JsonNullableFilter email: StringFilter firstName: StringNullableFilter gender: EnumGenderNullableFilter id: StringFilter interests: EnumTopicNullableListFilter lastName: StringNullableFilter - NOT: [UserScalarWhereInput!] - OR: [UserScalarWhereInput!] wantsNewsletter: BoolFilter yearOfBirth: IntNullableFilter } @@ -869,7 +1040,7 @@ type UserSocialMedia { user: User! } -input UserSocialMediaCreateOneWithoutUserInput { +input UserSocialMediaCreateNestedOneWithoutUserInput { connect: UserSocialMediaWhereUniqueInput connectOrCreate: UserSocialMediaCreateOrConnectWithoutuserInput create: UserSocialMediaCreateWithoutUserInput @@ -886,6 +1057,13 @@ input UserSocialMediaCreateWithoutUserInput { twitter: String! } +input UserSocialMediaOrderByInput { + id: SortOrder + instagram: SortOrder + twitter: SortOrder + userId: SortOrder +} + input UserSocialMediaUpdateOneWithoutUserInput { connect: UserSocialMediaWhereUniqueInput connectOrCreate: UserSocialMediaCreateOrConnectWithoutuserInput @@ -909,10 +1087,10 @@ input UserSocialMediaUpsertWithoutUserInput { input UserSocialMediaWhereInput { AND: [UserSocialMediaWhereInput!] - id: StringFilter - instagram: StringFilter NOT: [UserSocialMediaWhereInput!] OR: [UserSocialMediaWhereInput!] + id: StringFilter + instagram: StringFilter twitter: StringFilter user: UserWhereInput userId: StringFilter @@ -938,10 +1116,6 @@ input UserUpdateInput { yearOfBirth: NullableIntFieldUpdateOperationsInput } -input UserUpdateinterestsInput { - set: [Topic!] -} - input UserUpdateManyMutationInput { address: Json email: StringFieldUpdateOperationsInput @@ -954,6 +1128,11 @@ input UserUpdateManyMutationInput { yearOfBirth: NullableIntFieldUpdateOperationsInput } +input UserUpdateManyWithWhereWithoutRolesInput { + data: UserUpdateManyMutationInput! + where: UserScalarWhereInput! +} + input UserUpdateManyWithoutRolesInput { connect: [UserWhereUniqueInput!] connectOrCreate: [UserCreateOrConnectWithoutrolesInput!] @@ -967,11 +1146,6 @@ input UserUpdateManyWithoutRolesInput { upsert: [UserUpsertWithWhereUniqueWithoutRolesInput!] } -input UserUpdateManyWithWhereWithoutRolesInput { - data: UserUpdateManyMutationInput! - where: UserScalarWhereInput! -} - input UserUpdateOneWithoutBlogPostsInput { connect: UserWhereUniqueInput connectOrCreate: UserCreateOrConnectWithoutblogPostsInput @@ -992,6 +1166,11 @@ input UserUpdateOneWithoutCommentsInput { upsert: UserUpsertWithoutCommentsInput } +input UserUpdateWithWhereUniqueWithoutRolesInput { + data: UserUpdateWithoutRolesInput! + where: UserWhereUniqueInput! +} + input UserUpdateWithoutBlogPostsInput { address: Json comments: BlogPostCommentUpdateManyWithoutAuthorInput @@ -1037,8 +1216,13 @@ input UserUpdateWithoutRolesInput { yearOfBirth: NullableIntFieldUpdateOperationsInput } -input UserUpdateWithWhereUniqueWithoutRolesInput { - data: UserUpdateWithoutRolesInput! +input UserUpdateinterestsInput { + set: [Topic!] +} + +input UserUpsertWithWhereUniqueWithoutRolesInput { + create: UserCreateWithoutRolesInput! + update: UserUpdateWithoutRolesInput! where: UserWhereUniqueInput! } @@ -1052,15 +1236,11 @@ input UserUpsertWithoutCommentsInput { update: UserUpdateWithoutCommentsInput! } -input UserUpsertWithWhereUniqueWithoutRolesInput { - create: UserCreateWithoutRolesInput! - update: UserUpdateWithoutRolesInput! - where: UserWhereUniqueInput! -} - input UserWhereInput { - address: JsonNullableFilter AND: [UserWhereInput!] + NOT: [UserWhereInput!] + OR: [UserWhereInput!] + address: JsonNullableFilter blogPosts: BlogPostListRelationFilter comments: BlogPostCommentListRelationFilter email: StringFilter @@ -1069,8 +1249,6 @@ input UserWhereInput { id: StringFilter interests: EnumTopicNullableListFilter lastName: StringNullableFilter - NOT: [UserWhereInput!] - OR: [UserWhereInput!] roles: UserRoleListRelationFilter userSocialMedia: UserSocialMediaWhereInput wantsNewsletter: BoolFilter diff --git a/packages/dataprovider/package.json b/packages/dataprovider/package.json index 46f5c60..38e80c8 100644 --- a/packages/dataprovider/package.json +++ b/packages/dataprovider/package.json @@ -31,7 +31,7 @@ "generate:test:nexus": "yarn ts-node --project test-data/tsconfig.json --transpile-only test-data/buildTestSchema.ts" }, "devDependencies": { - "@prisma/cli": "2.12.1", + "prisma": "~2.16.0", "rimraf": "^3.0.2", "ts-node": "~8.9.1", "typescript": "^4.1.2" @@ -43,7 +43,7 @@ }, "peerDependencies": { "graphql": ">=14.0.0", - "nexus-plugin-prisma": "^0.25.0", + "nexus-plugin-prisma": "^0.30.0", "react": "*", "react-admin": "*" } diff --git a/packages/dataprovider/test-data/testSchema.ts b/packages/dataprovider/test-data/testSchema.ts index 5473967..cb8519f 100644 --- a/packages/dataprovider/test-data/testSchema.ts +++ b/packages/dataprovider/test-data/testSchema.ts @@ -4,7 +4,7 @@ import { stringArg, inputObjectType, nonNull, -} from "@nexus/schema"; +} from "nexus"; import { join } from "path"; import { nexusSchemaPrisma } from "nexus-plugin-prisma/schema"; import { addCrudResolvers } from "../../backend/src"; diff --git a/packages/dataprovider/yarn.lock b/packages/dataprovider/yarn.lock index 5b4b46b..b543ed2 100644 --- a/packages/dataprovider/yarn.lock +++ b/packages/dataprovider/yarn.lock @@ -2,23 +2,10 @@ # yarn lockfile v1 -"@prisma/bar@^0.0.1": - version "0.0.1" - resolved "https://registry.yarnpkg.com/@prisma/bar/-/bar-0.0.1.tgz#088c4fbbb79c588391437ade9fd3a85527e753b3" - integrity sha512-FVLhwVkbfhXlBhroWfIXMLi+3Jh9IEzYp+9z+MUUiw3ZsbcoAil7CN9/QIjHc4/TcCRyRfuSmT7qCnn4O+TjJw== - -"@prisma/cli@2.12.1": - version "2.12.1" - resolved "https://registry.yarnpkg.com/@prisma/cli/-/cli-2.12.1.tgz#1f52ab2a363ae4cc88d4d18933bd304ed7f80612" - integrity sha512-obkwK95dEeifCdVehG0rS0BlPQGLsOtc9U1MgbrjNX3MnhXQdwROnvymfPB3DBlNyoLoHGklPgi9UlwBokNXcQ== - dependencies: - "@prisma/bar" "^0.0.1" - "@prisma/engines" "2.12.0-18.cf0680a1bfe8d5e743dc659cc7f08009f9587d58" - -"@prisma/engines@2.12.0-18.cf0680a1bfe8d5e743dc659cc7f08009f9587d58": - version "2.12.0-18.cf0680a1bfe8d5e743dc659cc7f08009f9587d58" - resolved "https://registry.yarnpkg.com/@prisma/engines/-/engines-2.12.0-18.cf0680a1bfe8d5e743dc659cc7f08009f9587d58.tgz#0e23c811cfa2f58650bb3c04394b1ac0d9dac78a" - integrity sha512-F6RmUZ5JpPWxmGvVDji8c4gepHIGkvYbtuFi0IoDDJVaCVo8yS656stciKFyswI6/BLWXa0X47/MIMbz6nzw7g== +"@prisma/engines@2.16.1-1.8b74ad57aaf2cc6c155f382a18a8e3ba95aceb03": + version "2.16.1-1.8b74ad57aaf2cc6c155f382a18a8e3ba95aceb03" + resolved "https://registry.yarnpkg.com/@prisma/engines/-/engines-2.16.1-1.8b74ad57aaf2cc6c155f382a18a8e3ba95aceb03.tgz#38f64337f6ad2ab9e13e7e2bac54286a79d2edfa" + integrity sha512-GZ1huP5KC6TPf9u8pYGFklUkGVTKFel6k4wL4iMr8AQ6MeSV4GDJX3lEtEJLb0ayj6je/hDEyQG9iMp/BysFYg== "@types/node@>=6": version "13.11.1" @@ -246,6 +233,13 @@ pluralize@~7.0.0: resolved "https://registry.yarnpkg.com/pluralize/-/pluralize-7.0.0.tgz#298b89df8b93b0221dbf421ad2b1b1ea23fc6777" integrity sha512-ARhBOdzS3e41FbkW/XWrTEtukqqLoK5+Z/4UeDaLuSW+39JPeFgs4gCGqsrJHVZX0fUrx//4OF0K1CUGwlIFow== +prisma@~2.16.0: + version "2.16.1" + resolved "https://registry.yarnpkg.com/prisma/-/prisma-2.16.1.tgz#cf73322e5426aabcd084a42dac89866006f5823f" + integrity sha512-TniTihl4xwWY7Hy+1UUpZ6jxHyriRDUW4i7TChZNBZM88IG8kvR5cSX+/JY/lzWGMUR4ZDBzoIuNcdPx/7eWag== + dependencies: + "@prisma/engines" "2.16.1-1.8b74ad57aaf2cc6c155f382a18a8e3ba95aceb03" + ra-data-graphql@^3.2.2: version "3.2.2" resolved "https://registry.yarnpkg.com/ra-data-graphql/-/ra-data-graphql-3.2.2.tgz#19ad698eb8343fefb5a54cfa5c9c5923d5437c74" diff --git a/yarn.lock b/yarn.lock index feb759a..555cab6 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1863,14 +1863,6 @@ call-me-maybe "^1.0.1" glob-to-regexp "^0.3.0" -"@nexus/schema@^0.19.2": - version "0.19.2" - resolved "https://registry.yarnpkg.com/@nexus/schema/-/schema-0.19.2.tgz#a589fedd1b3a57b1d8ce56f0a86a700513083ef0" - integrity sha512-/bN+Rb+uM98n/Hll1bgODd8y5yOEPOUY6lMi3QdKOR7uYA7CEt0zbfbEEBb/S7YB07/S8s6HBDX1r8YGAu+Wwg== - dependencies: - iterall "^1.3.0" - tslib "^2.0.3" - "@nodelib/fs.scandir@2.1.3": version "2.1.3" resolved "https://registry.yarnpkg.com/@nodelib/fs.scandir/-/fs.scandir-2.1.3.tgz#3a582bdb53804c6ba6d146579c46e52130cf4a3b" @@ -2045,35 +2037,22 @@ dependencies: "@types/node" ">= 8" -"@prisma/bar@^0.0.1": - version "0.0.1" - resolved "https://registry.yarnpkg.com/@prisma/bar/-/bar-0.0.1.tgz#088c4fbbb79c588391437ade9fd3a85527e753b3" - integrity sha512-FVLhwVkbfhXlBhroWfIXMLi+3Jh9IEzYp+9z+MUUiw3ZsbcoAil7CN9/QIjHc4/TcCRyRfuSmT7qCnn4O+TjJw== - -"@prisma/cli@2.12.1": - version "2.12.1" - resolved "https://registry.yarnpkg.com/@prisma/cli/-/cli-2.12.1.tgz#1f52ab2a363ae4cc88d4d18933bd304ed7f80612" - integrity sha512-obkwK95dEeifCdVehG0rS0BlPQGLsOtc9U1MgbrjNX3MnhXQdwROnvymfPB3DBlNyoLoHGklPgi9UlwBokNXcQ== - dependencies: - "@prisma/bar" "^0.0.1" - "@prisma/engines" "2.12.0-18.cf0680a1bfe8d5e743dc659cc7f08009f9587d58" - -"@prisma/client@2.12.1": - version "2.12.1" - resolved "https://registry.yarnpkg.com/@prisma/client/-/client-2.12.1.tgz#ff655c9cc1188035303f374d2f9f794b66fc18c7" - integrity sha512-HP4/E9sRdxw/FB7XP4EeRa5ri8Lp1U/L7G4VAA95aM8C+8ARioQHMNDpEjC83NrOrOr4EcaZV5pXDDQL1H+F0g== +"@prisma/client@~2.16.0": + version "2.16.1" + resolved "https://registry.yarnpkg.com/@prisma/client/-/client-2.16.1.tgz#3aed1506f4090734735d1036bfdaee997032e793" + integrity sha512-g4zXwC9PRtlrad/CBu+lXHRhvkEz4QW9tDn7bJGwCVNeLi+gLzSbEHjo3xLZgI3+Jp+40flOzrJrYP0bkNCpdQ== dependencies: - "@prisma/engines-version" "2.12.0-18.cf0680a1bfe8d5e743dc659cc7f08009f9587d58" + "@prisma/engines-version" "2.16.1-1.8b74ad57aaf2cc6c155f382a18a8e3ba95aceb03" -"@prisma/engines-version@2.12.0-18.cf0680a1bfe8d5e743dc659cc7f08009f9587d58": - version "2.12.0-18.cf0680a1bfe8d5e743dc659cc7f08009f9587d58" - resolved "https://registry.yarnpkg.com/@prisma/engines-version/-/engines-version-2.12.0-18.cf0680a1bfe8d5e743dc659cc7f08009f9587d58.tgz#428f8996f88c92a4142e35f196584a5e17c95871" - integrity sha512-IHb/Jag1Wmoq5tLZhOHP5zqLHEXqQEfrHb6l0drIBSvh2AF7yWQ3yyuD0ZEb1Nq37SvbBgop5wrWMOU8YWFTGQ== +"@prisma/engines-version@2.16.1-1.8b74ad57aaf2cc6c155f382a18a8e3ba95aceb03": + version "2.16.1-1.8b74ad57aaf2cc6c155f382a18a8e3ba95aceb03" + resolved "https://registry.yarnpkg.com/@prisma/engines-version/-/engines-version-2.16.1-1.8b74ad57aaf2cc6c155f382a18a8e3ba95aceb03.tgz#52c026a05f6c109dd642c1edcc60ca45b01021ca" + integrity sha512-BkqxSWOc9aNYXjtmRtaLy2fKIeJ3+NKimRL1gKWXMjtxhKS5E3wvyxwZamtfIpEaZELGAO3x5+gqwoR9kS2oZA== -"@prisma/engines@2.12.0-18.cf0680a1bfe8d5e743dc659cc7f08009f9587d58": - version "2.12.0-18.cf0680a1bfe8d5e743dc659cc7f08009f9587d58" - resolved "https://registry.yarnpkg.com/@prisma/engines/-/engines-2.12.0-18.cf0680a1bfe8d5e743dc659cc7f08009f9587d58.tgz#0e23c811cfa2f58650bb3c04394b1ac0d9dac78a" - integrity sha512-F6RmUZ5JpPWxmGvVDji8c4gepHIGkvYbtuFi0IoDDJVaCVo8yS656stciKFyswI6/BLWXa0X47/MIMbz6nzw7g== +"@prisma/engines@2.16.1-1.8b74ad57aaf2cc6c155f382a18a8e3ba95aceb03": + version "2.16.1-1.8b74ad57aaf2cc6c155f382a18a8e3ba95aceb03" + resolved "https://registry.yarnpkg.com/@prisma/engines/-/engines-2.16.1-1.8b74ad57aaf2cc6c155f382a18a8e3ba95aceb03.tgz#38f64337f6ad2ab9e13e7e2bac54286a79d2edfa" + integrity sha512-GZ1huP5KC6TPf9u8pYGFklUkGVTKFel6k4wL4iMr8AQ6MeSV4GDJX3lEtEJLb0ayj6je/hDEyQG9iMp/BysFYg== "@redux-saga/core@^1.1.3": version "1.1.3" @@ -3121,10 +3100,10 @@ camelcase@^5.0.0, camelcase@^5.3.1: resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-5.3.1.tgz#e3c9b31569e106811df242f715725a1f4c494320" integrity sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg== -camelcase@^6.0.0: - version "6.0.0" - resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-6.0.0.tgz#5259f7c30e35e278f1bdc2a4d91230b37cad981e" - integrity sha512-8KMDF1Vz2gzOq54ONPJS65IvTUaB1cHJ2DMM7MbPmLZljDH1qpzzLsWdiN9pHh6qvkRVDTi/07+eNGch/oLU4w== +camelcase@^6.2.0: + version "6.2.0" + resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-6.2.0.tgz#924af881c9d525ac9d87f40d964e5cea982a1809" + integrity sha512-c7wVvbw3f37nuobQNtgsgG9POC9qMbNuMQmTCqZv23b6MIz0fcYpBiOlv9gEN/hdLdnZTDQhg6e9Dq5M1vKvfg== caniuse-lite@^1.0.30001043: version "1.0.30001048" @@ -4068,6 +4047,15 @@ end-of-stream@^1.0.0, end-of-stream@^1.1.0: dependencies: once "^1.4.0" +endent@^2.0.1: + version "2.0.1" + resolved "https://registry.yarnpkg.com/endent/-/endent-2.0.1.tgz#fb18383a3f37ae3213a5d9f6c4a880d1061eb4c5" + integrity sha512-mADztvcC+vCk4XEZaCz6xIPO2NHQuprv5CAEjuVAu6aZwqAj7nVNlMyl1goPFYqCCpS2OJV9jwpumJLkotZrNw== + dependencies: + dedent "^0.7.0" + fast-json-parse "^1.0.3" + objectorarray "^1.0.4" + env-ci@^5.0.0: version "5.0.2" resolved "https://registry.yarnpkg.com/env-ci/-/env-ci-5.0.2.tgz#48b6687f8af8cdf5e31b8fcf2987553d085249d9" @@ -4484,6 +4472,11 @@ fast-glob@^3.1.1: micromatch "^4.0.2" picomatch "^2.2.1" +fast-json-parse@^1.0.3: + version "1.0.3" + resolved "https://registry.yarnpkg.com/fast-json-parse/-/fast-json-parse-1.0.3.tgz#43e5c61ee4efa9265633046b770fb682a7577c4d" + integrity sha512-FRWsaZRWEJ1ESVNbDWmsAlqDk96gPQezzLghafp5J4GUKjbCz3OkAHuZs5TuPEtkbVQERysLp9xv6c24fBm8Aw== + fast-json-stable-stringify@^2.0.0: version "2.1.0" resolved "https://registry.yarnpkg.com/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz#874bf69c6f404c2b5d99c481341399fd55892633" @@ -4715,7 +4708,7 @@ fs-extra@^9.0.0: jsonfile "^6.0.1" universalify "^1.0.0" -fs-jetpack@^4.0.0: +fs-jetpack@^4.1.0: version "4.1.0" resolved "https://registry.yarnpkg.com/fs-jetpack/-/fs-jetpack-4.1.0.tgz#d693fcffd3cedbd8829226967866b9e89f290f0f" integrity sha512-h4nHLIcCaxnXfUWhwP+mLnar03R2DBlqicNvKJG44TJob8RV6GB8EKNwJgSaBeDAfqWhqq01y+Ao96vRwpXlPw== @@ -5047,10 +5040,10 @@ graphql-tag@^2.10.3: resolved "https://registry.yarnpkg.com/graphql-tag/-/graphql-tag-2.10.3.tgz#ea1baba5eb8fc6339e4c4cf049dabe522b0edf03" integrity sha512-4FOv3ZKfA4WdOKJeHdz6B3F/vxBLSgmBcGeAFPf4n1F64ltJUvOOerNj0rsJxONQGdhUMynQIvd6LzB+1J5oKA== -graphql@~15.0.0: - version "15.0.0" - resolved "https://registry.yarnpkg.com/graphql/-/graphql-15.0.0.tgz#042a5eb5e2506a2e2111ce41eb446a8e570b8be9" - integrity sha512-ZyVO1xIF9F+4cxfkdhOJINM+51B06Friuv4M66W7HzUOeFd+vNzUn4vtswYINPi6sysjf1M2Ri/rwZALqgwbaQ== +graphql@~15.5.0: + version "15.5.0" + resolved "https://registry.yarnpkg.com/graphql/-/graphql-15.5.0.tgz#39d19494dbe69d1ea719915b578bf920344a69d5" + integrity sha512-OmaM7y0kaK31NKG31q4YbD2beNYa6jBBKtMFT6gLYJljHLJr42IqJ8KX08u3Li/0ifzTU5HjmoOOrwa5BRLeDA== growly@^1.3.0: version "1.3.0" @@ -6906,6 +6899,13 @@ lru-cache@^5.1.1: dependencies: yallist "^3.0.2" +lru-cache@^6.0.0: + version "6.0.0" + resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-6.0.0.tgz#6d6fe6570ebd96aaf90fcad1dafa3b2566db3a94" + integrity sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA== + dependencies: + yallist "^4.0.0" + macos-release@^2.2.0: version "2.3.0" resolved "https://registry.yarnpkg.com/macos-release/-/macos-release-2.3.0.tgz#eb1930b036c0800adebccd5f17bc4c12de8bb71f" @@ -7314,17 +7314,25 @@ nerf-dart@^1.0.0: resolved "https://registry.yarnpkg.com/nerf-dart/-/nerf-dart-1.0.0.tgz#e6dab7febf5ad816ea81cf5c629c5a0ebde72c1a" integrity sha1-5tq3/r9a2Bbqgc9cYpxaDr3nLBo= -nexus-plugin-prisma@^0.25.0: - version "0.25.0" - resolved "https://registry.yarnpkg.com/nexus-plugin-prisma/-/nexus-plugin-prisma-0.25.0.tgz#b06ecb7596ee6e0ce2403bf84174a61a706a549a" - integrity sha512-nKAsTtlmRhw6cOL/afUEGKaMfcJxHSsAvcUVDnmFwychBllms5Gqp1lFOdoE29U8qBS5l9PpuUMFEK+vAgI+iQ== +nexus-plugin-prisma@^0.30.0: + version "0.30.0" + resolved "https://registry.yarnpkg.com/nexus-plugin-prisma/-/nexus-plugin-prisma-0.30.0.tgz#6860328ee09c80f16bbc359864415b8358084111" + integrity sha512-/Slypcty4fLVnN8k0ifsav0zY/xHWHzBpCboAmLs3eINxy++oYNUurpEv9C1dJ/2kTOBGSE1kpWMYt1SjUyHNg== dependencies: - camelcase "^6.0.0" - fs-jetpack "^4.0.0" + camelcase "^6.2.0" + endent "^2.0.1" + fs-jetpack "^4.1.0" lodash "^4.17.20" - outdent "^0.7.1" pluralize "^8.0.0" - semver "^7.3.2" + semver "^7.3.4" + +nexus@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/nexus/-/nexus-1.0.0.tgz#633b39abae1d7e9472ca40e37bb5d3e1263f6aa3" + integrity sha512-Toa91s9BJsX8pDX34QkOyKdnw8MmuOQkEboZMKSxvF9mWuAFkY74Zj1ssaexeV7yTQ7HoLQYUQ00FaWzXPmggQ== + dependencies: + iterall "^1.3.0" + tslib "^2.0.3" nice-try@^1.0.4: version "1.0.5" @@ -7775,6 +7783,11 @@ object.pick@^1.3.0: dependencies: isobject "^3.0.1" +objectorarray@^1.0.4: + version "1.0.4" + resolved "https://registry.yarnpkg.com/objectorarray/-/objectorarray-1.0.4.tgz#d69b2f0ff7dc2701903d308bb85882f4ddb49483" + integrity sha512-91k8bjcldstRz1bG6zJo8lWD7c6QXcB4nTDUqiEvIL1xAsLoZlOOZZG+nd6YPz+V7zY1580J4Xxh1vZtyv4i/w== + octokit-pagination-methods@^1.1.0: version "1.1.0" resolved "https://registry.yarnpkg.com/octokit-pagination-methods/-/octokit-pagination-methods-1.1.0.tgz#cf472edc9d551055f9ef73f6e42b4dbb4c80bea4" @@ -7862,11 +7875,6 @@ osenv@^0.1.4, osenv@^0.1.5: os-homedir "^1.0.0" os-tmpdir "^1.0.0" -outdent@^0.7.1: - version "0.7.1" - resolved "https://registry.yarnpkg.com/outdent/-/outdent-0.7.1.tgz#e9b400443622a97760b0bc74fa3223252ccd02a2" - integrity sha512-VjIzdUHunL74DdhcwMDt5FhNDQ8NYmTkuW0B+usIV2afS9aWT/1c9z1TsnFW349TP3nxmYeUl7Z++XpJRByvgg== - p-defer@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/p-defer/-/p-defer-1.0.0.tgz#9f6eb182f6c9aa8cd743004a7d4f96b196b0fb0c" @@ -8348,6 +8356,13 @@ pretty-format@^25.2.1, pretty-format@^25.4.0: ansi-styles "^4.0.0" react-is "^16.12.0" +prisma@~2.16.0: + version "2.16.1" + resolved "https://registry.yarnpkg.com/prisma/-/prisma-2.16.1.tgz#cf73322e5426aabcd084a42dac89866006f5823f" + integrity sha512-TniTihl4xwWY7Hy+1UUpZ6jxHyriRDUW4i7TChZNBZM88IG8kvR5cSX+/JY/lzWGMUR4ZDBzoIuNcdPx/7eWag== + dependencies: + "@prisma/engines" "2.16.1-1.8b74ad57aaf2cc6c155f382a18a8e3ba95aceb03" + private@^0.1.8: version "0.1.8" resolved "https://registry.yarnpkg.com/private/-/private-0.1.8.tgz#2381edb3689f7a53d653190060fcf822d2f368ff" @@ -9377,6 +9392,13 @@ semver@^7.1.2, semver@^7.3.2: resolved "https://registry.yarnpkg.com/semver/-/semver-7.3.2.tgz#604962b052b81ed0786aae84389ffba70ffd3938" integrity sha512-OrOb32TeeambH6UrhtShmF7CRDqhL6/5XpPNp2DuRH6+9QLw/orhp72j87v8Qa1ScDkvrrBNpZcDejAirJmfXQ== +semver@^7.3.4: + version "7.3.4" + resolved "https://registry.yarnpkg.com/semver/-/semver-7.3.4.tgz#27aaa7d2e4ca76452f98d3add093a72c943edc97" + integrity sha512-tCfb2WLjqFAtXn4KEdxIhalnRtoKFN7nAwj0B3ZXCbQloV2tq5eDbcTmT68JJD3nRJq24/XgxtQKFIpQdtvmVw== + dependencies: + lru-cache "^6.0.0" + set-blocking@^2.0.0, set-blocking@~2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/set-blocking/-/set-blocking-2.0.0.tgz#045f9782d011ae9a6803ddd382b24392b3d890f7" @@ -10839,6 +10861,11 @@ yallist@^3.0.0, yallist@^3.0.2, yallist@^3.0.3: resolved "https://registry.yarnpkg.com/yallist/-/yallist-3.1.1.tgz#dbb7daf9bfd8bac9ab45ebf602b8cbad0d5d08fd" integrity sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g== +yallist@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/yallist/-/yallist-4.0.0.tgz#9bb92790d9c0effec63be73519e11a35019a3a72" + integrity sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A== + yaml@^1.7.2: version "1.9.2" resolved "https://registry.yarnpkg.com/yaml/-/yaml-1.9.2.tgz#f0cfa865f003ab707663e4f04b3956957ea564ed"