diff --git a/package.json b/package.json index ae9f0ef..7ea7269 100644 --- a/package.json +++ b/package.json @@ -3,10 +3,11 @@ "private": true, "devDependencies": { "@babel/core": "^7.15.8", + "@morgothulhu/nexus-plugin-prisma": "^5.5.2", "@babel/plugin-proposal-decorators": "^7.15.8", "@babel/preset-env": "^7.15.8", "@babel/preset-typescript": "^7.15.0", - "@prisma/client": "^3.15.2", + "@prisma/client": "^5.5.2", "@types/jest": "^27.0.2", "@types/lodash": "^4.14.171", "@types/node": "^13.13.4", @@ -31,7 +32,6 @@ "lint-staged": ">=10", "lodash": "^4.17.15", "nexus": "^1.0.0", - "nexus-plugin-prisma": "^0.35.0", "path": "^0.12.7", "plain-tag": "^0.1.3", "pluralize": "~7.0.0", @@ -45,7 +45,7 @@ "semantic-release-monorepo": "^7.0.2", "ts-jest": "^27.0.5", "ts-node": "^8.9.1", - "typescript": "^4.4.3" + "typescript": "^5.2.2" }, "scripts": { "clean": "lerna run clean --stream --parallel", diff --git a/packages/backend/package.json b/packages/backend/package.json index e556cc4..af0eec8 100644 --- a/packages/backend/package.json +++ b/packages/backend/package.json @@ -29,10 +29,11 @@ "pluralize": "^7.0.0" }, "peerDependencies": { - "nexus": ">=1.0.0" + "nexus": ">=1.0.0", + "@morgothulhu/nexus-plugin-prisma": "*" }, "devDependencies": { "rimraf": "^3.0.2", - "typescript": "^4.4.3" + "typescript": "^5.2.2" } } diff --git a/packages/backend/src/addCrudResolvers.ts b/packages/backend/src/addCrudResolvers.ts index 7cb61a3..73f22d0 100644 --- a/packages/backend/src/addCrudResolvers.ts +++ b/packages/backend/src/addCrudResolvers.ts @@ -1,7 +1,7 @@ import { ResourceOptions, CommonOptions } from "./types"; import setupCrudResolvers from "./setupCrudResolvers"; import { extendType, arg, intArg } from "nexus"; -import * as Helpers from "nexus-plugin-prisma/src/typegen/helpers"; +import * as Helpers from "@morgothulhu/nexus-plugin-prisma/src/typegen/helpers"; const addCrudResolvers = < AliasPrefix extends string, diff --git a/packages/backend/src/setupCrudResolvers.ts b/packages/backend/src/setupCrudResolvers.ts index 4834147..1ecefa5 100644 --- a/packages/backend/src/setupCrudResolvers.ts +++ b/packages/backend/src/setupCrudResolvers.ts @@ -1,5 +1,5 @@ import { upperFirst, lowerFirst } from "lodash"; -import * as Helpers from "nexus-plugin-prisma/src/typegen/helpers"; +import * as Helpers from "@morgothulhu/nexus-plugin-prisma/src/typegen/helpers"; import pluralize from "pluralize"; import { ResourceOptions, CommonOptions } from "./types"; diff --git a/packages/backend/src/types.ts b/packages/backend/src/types.ts index 07c6b7e..83fd7db 100644 --- a/packages/backend/src/types.ts +++ b/packages/backend/src/types.ts @@ -1,5 +1,5 @@ -import * as Helpers from "nexus-plugin-prisma/src/typegen/helpers"; -import { BaseRelationOptions } from "nexus-plugin-prisma/typegen"; +import * as Helpers from "@morgothulhu/nexus-plugin-prisma/src/typegen/helpers"; +import { BaseRelationOptions } from "@morgothulhu/nexus-plugin-prisma/typegen"; type Prefix = Prefix extends `` ? Uncapitalize diff --git a/packages/backend/yarn.lock b/packages/backend/yarn.lock index c5b4ff7..8ea9f77 100644 --- a/packages/backend/yarn.lock +++ b/packages/backend/yarn.lock @@ -86,10 +86,10 @@ rimraf@^3.0.2: dependencies: glob "^7.1.3" -typescript@^4.4.3: - version "4.4.3" - resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.4.3.tgz#bdc5407caa2b109efd4f82fe130656f977a29324" - integrity sha512-4xfscpisVgqqDfPaJo5vkd+Qd/ItkoagnHpufr+i2QCHBsNYp+G7UAoyFl8aPtx879u38wPV65rZ8qbGZijalA== +typescript@^5.2.2: + version "5.2.2" + resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.2.2.tgz#5ebb5e5a5b75f085f22bc3f8460fba308310fa78" + integrity sha512-mI4WrpHsbCIcwT9cF4FZvr80QUeKvsUsUvKDoR+X/7XHQH98xYD8YHZg7ANtz2GtZt/CBq2QJ0thkGJMHfqc1w== wrappy@1: version "1.0.2" diff --git a/packages/dataprovider/.prisma/edge.d.ts b/packages/dataprovider/.prisma/edge.d.ts new file mode 100644 index 0000000..34c6161 --- /dev/null +++ b/packages/dataprovider/.prisma/edge.d.ts @@ -0,0 +1 @@ +export * from './index' \ No newline at end of file diff --git a/packages/dataprovider/.prisma/edge.js b/packages/dataprovider/.prisma/edge.js new file mode 100644 index 0000000..a9d6944 --- /dev/null +++ b/packages/dataprovider/.prisma/edge.js @@ -0,0 +1,276 @@ + +Object.defineProperty(exports, "__esModule", { value: true }); + +const { + PrismaClientKnownRequestError, + PrismaClientUnknownRequestError, + PrismaClientRustPanicError, + PrismaClientInitializationError, + PrismaClientValidationError, + NotFoundError, + getPrismaClient, + sqltag, + empty, + join, + raw, + Decimal, + Debug, + objectEnumValues, + makeStrictEnum, + Extensions, + warnOnce, + defineDmmfProperty, + Public, +} = require('./runtime/edge') + + +const Prisma = {} + +exports.Prisma = Prisma +exports.$Enums = {} + +/** + * Prisma Client JS version: 5.5.2 + * Query Engine version: aebc046ce8b88ebbcb45efe31cbe7d06fd6abc0a + */ +Prisma.prismaVersion = { + client: "5.5.2", + engine: "aebc046ce8b88ebbcb45efe31cbe7d06fd6abc0a" +} + +Prisma.PrismaClientKnownRequestError = PrismaClientKnownRequestError; +Prisma.PrismaClientUnknownRequestError = PrismaClientUnknownRequestError +Prisma.PrismaClientRustPanicError = PrismaClientRustPanicError +Prisma.PrismaClientInitializationError = PrismaClientInitializationError +Prisma.PrismaClientValidationError = PrismaClientValidationError +Prisma.NotFoundError = NotFoundError +Prisma.Decimal = Decimal + +/** + * Re-export of sql-template-tag + */ +Prisma.sql = sqltag +Prisma.empty = empty +Prisma.join = join +Prisma.raw = raw +Prisma.validator = Public.validator + +/** +* Extensions +*/ +Prisma.getExtensionContext = Extensions.getExtensionContext +Prisma.defineExtension = Extensions.defineExtension + +/** + * Shorthand utilities for JSON filtering + */ +Prisma.DbNull = objectEnumValues.instances.DbNull +Prisma.JsonNull = objectEnumValues.instances.JsonNull +Prisma.AnyNull = objectEnumValues.instances.AnyNull + +Prisma.NullTypes = { + DbNull: objectEnumValues.classes.DbNull, + JsonNull: objectEnumValues.classes.JsonNull, + AnyNull: objectEnumValues.classes.AnyNull +} + + + +/** + * Enums + */ +exports.Prisma.TransactionIsolationLevel = makeStrictEnum({ + ReadUncommitted: 'ReadUncommitted', + ReadCommitted: 'ReadCommitted', + RepeatableRead: 'RepeatableRead', + Serializable: 'Serializable' +}); + +exports.Prisma.UserRoleScalarFieldEnum = { + id: 'id', + name: 'name' +}; + +exports.Prisma.CompanyScalarFieldEnum = { + id: 'id', + name: 'name', + userId: 'userId' +}; + +exports.Prisma.UserSocialMediaScalarFieldEnum = { + id: 'id', + instagram: 'instagram', + twitter: 'twitter', + userId: 'userId' +}; + +exports.Prisma.BlogPostScalarFieldEnum = { + id: 'id', + title: 'title', + text: 'text', + authorId: 'authorId' +}; + +exports.Prisma.BlogPostCommentScalarFieldEnum = { + id: 'id', + text: 'text', + postId: 'postId', + authorId: 'authorId' +}; + +exports.Prisma.SiteScalarFieldEnum = { + id: 'id', + name: 'name', + url: 'url', + userId: 'userId' +}; + +exports.Prisma.UserScalarFieldEnum = { + id: 'id', + email: 'email', + firstName: 'firstName', + lastName: 'lastName', + gender: 'gender', + yearOfBirth: 'yearOfBirth', + wantsNewsletter: 'wantsNewsletter', + interests: 'interests', + address: 'address', + weddingDate: 'weddingDate' +}; + +exports.Prisma.FilteringTestScalarFieldEnum = { + id: 'id', + intField: 'intField', + floatField: 'floatField', + stringField: 'stringField', + dateTimeField: 'dateTimeField', + boolField: 'boolField', + intField_lt: 'intField_lt', + intField_bt: 'intField_bt', + snake_field: 'snake_field', + snake_field_bt: 'snake_field_bt' +}; + +exports.Prisma.SomePublicRecordWithIntIdScalarFieldEnum = { + id: 'id', + title: 'title' +}; + +exports.Prisma.SortOrder = { + asc: 'asc', + desc: 'desc' +}; + +exports.Prisma.NullableJsonNullValueInput = { + DbNull: Prisma.DbNull, + JsonNull: Prisma.JsonNull +}; + +exports.Prisma.QueryMode = { + default: 'default', + insensitive: 'insensitive' +}; + +exports.Prisma.NullsOrder = { + first: 'first', + last: 'last' +}; + +exports.Prisma.JsonNullValueFilter = { + DbNull: Prisma.DbNull, + JsonNull: Prisma.JsonNull, + AnyNull: Prisma.AnyNull +}; +exports.Gender = exports.$Enums.Gender = { + MALE: 'MALE', + FEMALE: 'FEMALE', + OTHER: 'OTHER' +}; + +exports.Topic = exports.$Enums.Topic = { + TOPIC_ONE: 'TOPIC_ONE', + TOPIC_TWO: 'TOPIC_TWO', + TOPIC_THREE: 'TOPIC_THREE' +}; + +exports.Prisma.ModelName = { + UserRole: 'UserRole', + Company: 'Company', + UserSocialMedia: 'UserSocialMedia', + BlogPost: 'BlogPost', + BlogPostComment: 'BlogPostComment', + Site: 'Site', + User: 'User', + FilteringTest: 'FilteringTest', + SomePublicRecordWithIntId: 'SomePublicRecordWithIntId' +}; +/** + * Create the Client + */ +const config = { + "generator": { + "name": "client", + "provider": { + "fromEnvVar": null, + "value": "prisma-client-js" + }, + "output": { + "value": "/Users/macrozone/git/panter/ra-data-prisma/packages/dataprovider/.prisma", + "fromEnvVar": null + }, + "config": { + "engineType": "library" + }, + "binaryTargets": [ + { + "fromEnvVar": null, + "value": "darwin-arm64", + "native": true + } + ], + "previewFeatures": [], + "isCustomOutput": true + }, + "relativeEnvPaths": { + "rootEnvPath": null + }, + "relativePath": "../test-data", + "clientVersion": "5.5.2", + "engineVersion": "aebc046ce8b88ebbcb45efe31cbe7d06fd6abc0a", + "datasourceNames": [ + "db" + ], + "activeProvider": "postgresql", + "postinstall": false, + "inlineDatasources": { + "db": { + "url": { + "fromEnvVar": "POSTGRESQL_URL", + "value": null + } + } + }, + "inlineSchema": "Z2VuZXJhdG9yIGNsaWVudCB7CiAgcHJvdmlkZXIgPSAicHJpc21hLWNsaWVudC1qcyIKICBvdXRwdXQgICA9ICIuLi8ucHJpc21hIgp9CgpnZW5lcmF0b3IgdHlwZWdyYXBocWwgewogIHByb3ZpZGVyID0gInR5cGVncmFwaHFsLXByaXNtYSIKfQoKZGF0YXNvdXJjZSBkYiB7CiAgcHJvdmlkZXIgPSAicG9zdGdyZXNxbCIKICB1cmwgICAgICA9IGVudigiUE9TVEdSRVNRTF9VUkwiKQp9Cgptb2RlbCBVc2VyUm9sZSB7CiAgaWQgICAgU3RyaW5nIEBpZCBAZGVmYXVsdCh1dWlkKCkpCiAgbmFtZSAgU3RyaW5nCiAgdXNlcnMgVXNlcltdCn0KCm1vZGVsIENvbXBhbnkgewogIGlkICAgICBTdHJpbmcgQGlkIEBkZWZhdWx0KHV1aWQoKSkKICBuYW1lICAgU3RyaW5nCiAgdXNlciAgIFVzZXIgICBAcmVsYXRpb24oZmllbGRzOiBbdXNlcklkXSwgcmVmZXJlbmNlczogW2lkXSkKICB1c2VySWQgU3RyaW5nCn0KCm1vZGVsIFVzZXJTb2NpYWxNZWRpYSB7CiAgaWQgICAgICAgIFN0cmluZyBAaWQgQGRlZmF1bHQodXVpZCgpKQogIGluc3RhZ3JhbSBTdHJpbmcKICB0d2l0dGVyICAgU3RyaW5nCiAgdXNlciAgICAgIFVzZXIgICBAcmVsYXRpb24oZmllbGRzOiBbdXNlcklkXSwgcmVmZXJlbmNlczogW2lkXSkKICB1c2VySWQgICAgU3RyaW5nIEB1bmlxdWUKfQoKbW9kZWwgQmxvZ1Bvc3QgewogIGlkICAgICAgIFN0cmluZyAgICAgICAgICAgIEBpZCBAZGVmYXVsdCh1dWlkKCkpCiAgdGl0bGUgICAgU3RyaW5nCiAgdGV4dCAgICAgU3RyaW5nCiAgYXV0aG9yICAgVXNlcj8gICAgICAgICAgICAgQHJlbGF0aW9uKGZpZWxkczogW2F1dGhvcklkXSwgcmVmZXJlbmNlczogW2lkXSkKICBhdXRob3JJZCBTdHJpbmc/CiAgY29tbWVudHMgQmxvZ1Bvc3RDb21tZW50W10KfQoKbW9kZWwgQmxvZ1Bvc3RDb21tZW50IHsKICBpZCAgICAgICBTdHJpbmcgICAgQGlkIEBkZWZhdWx0KHV1aWQoKSkKICB0ZXh0ICAgICBTdHJpbmcKICBwb3N0ICAgICBCbG9nUG9zdD8gQHJlbGF0aW9uKGZpZWxkczogW3Bvc3RJZF0sIHJlZmVyZW5jZXM6IFtpZF0pCiAgcG9zdElkICAgU3RyaW5nPwogIGF1dGhvciAgIFVzZXI/ICAgICBAcmVsYXRpb24oZmllbGRzOiBbYXV0aG9ySWRdLCByZWZlcmVuY2VzOiBbaWRdKQogIGF1dGhvcklkIFN0cmluZz8KfQoKbW9kZWwgU2l0ZSB7CiAgaWQgICBTdHJpbmcgQGlkIEBkZWZhdWx0KHV1aWQoKSkKICBuYW1lIFN0cmluZwogIHVybCAgU3RyaW5nCgogIG93bmVyICBVc2VyPyAgIEByZWxhdGlvbihmaWVsZHM6IFt1c2VySWRdLCByZWZlcmVuY2VzOiBbaWRdKQogIHVzZXJJZCBTdHJpbmc/IEB1bmlxdWUKfQoKZW51bSBHZW5kZXIgewogIE1BTEUKICBGRU1BTEUKICBPVEhFUgp9Cgptb2RlbCBVc2VyIHsKICBpZCAgICAgICAgICAgICAgU3RyaW5nICAgICAgICAgICAgQGlkIEBkZWZhdWx0KHV1aWQoKSkKICBlbWFpbCAgICAgICAgICAgU3RyaW5nICAgICAgICAgICAgQHVuaXF1ZQogIHJvbGVzICAgICAgICAgICBVc2VyUm9sZVtdCiAgZmlyc3ROYW1lICAgICAgIFN0cmluZz8KICBsYXN0TmFtZSAgICAgICAgU3RyaW5nPwogIGdlbmRlciAgICAgICAgICBHZW5kZXI/CiAgeWVhck9mQmlydGggICAgIEludD8KICB3YW50c05ld3NsZXR0ZXIgQm9vbGVhbgogIGludGVyZXN0cyAgICAgICBUb3BpY1tdCiAgdXNlclNvY2lhbE1lZGlhIFVzZXJTb2NpYWxNZWRpYT8KICAvLy8gQFR5cGVHcmFwaFFMLm9taXQob3V0cHV0OiB0cnVlKQogIGFkZHJlc3MgICAgICAgICBKc29uPwogIGJsb2dQb3N0cyAgICAgICBCbG9nUG9zdFtdCiAgY29tbWVudHMgICAgICAgIEJsb2dQb3N0Q29tbWVudFtdCiAgY29tcGFuaWVzICAgICAgIENvbXBhbnlbXQogIHdlZGRpbmdEYXRlICAgICBEYXRlVGltZT8KICAvLy8gQFR5cGVHcmFwaFFMLm9taXQob3V0cHV0OiB0cnVlKQogIHNpdGUgICAgICAgICAgICBTaXRlPwp9Cgptb2RlbCBGaWx0ZXJpbmdUZXN0IHsKICBpZCAgICAgICAgICAgICBJbnQgICAgICBAaWQgQGRlZmF1bHQoYXV0b2luY3JlbWVudCgpKQogIGludEZpZWxkICAgICAgIEludAogIGZsb2F0RmllbGQgICAgIEZsb2F0CiAgc3RyaW5nRmllbGQgICAgU3RyaW5nCiAgZGF0ZVRpbWVGaWVsZCAgRGF0ZVRpbWUKICBib29sRmllbGQgICAgICBCb29sZWFuCiAgaW50RmllbGRfbHQgICAgU3RyaW5nCiAgaW50RmllbGRfYnQgICAgSW50CiAgc25ha2VfZmllbGQgICAgSW50CiAgc25ha2VfZmllbGRfYnQgSW50Cn0KCm1vZGVsIFNvbWVQdWJsaWNSZWNvcmRXaXRoSW50SWQgewogIGlkICAgIEludCAgICBAaWQgQGRlZmF1bHQoYXV0b2luY3JlbWVudCgpKQogIHRpdGxlIFN0cmluZwp9CgplbnVtIFRvcGljIHsKICBUT1BJQ19PTkUKICBUT1BJQ19UV08KICBUT1BJQ19USFJFRQp9Cg==", + "inlineSchemaHash": "6a67a074df6d7e9030a31f735bd02e9b0572192a798ff0d5a3c697372c711342", + "noEngine": false +} +config.dirname = '/' + +config.runtimeDataModel = JSON.parse("{\"models\":{\"UserRole\":{\"dbName\":null,\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":true,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"String\",\"default\":{\"name\":\"uuid\",\"args\":[]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"name\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"users\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"User\",\"relationName\":\"UserToUserRole\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false}],\"primaryKey\":null,\"uniqueFields\":[],\"uniqueIndexes\":[],\"isGenerated\":false},\"Company\":{\"dbName\":null,\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":true,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"String\",\"default\":{\"name\":\"uuid\",\"args\":[]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"name\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"user\",\"kind\":\"object\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"User\",\"relationName\":\"CompanyToUser\",\"relationFromFields\":[\"userId\"],\"relationToFields\":[\"id\"],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"userId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"isGenerated\":false,\"isUpdatedAt\":false}],\"primaryKey\":null,\"uniqueFields\":[],\"uniqueIndexes\":[],\"isGenerated\":false},\"UserSocialMedia\":{\"dbName\":null,\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":true,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"String\",\"default\":{\"name\":\"uuid\",\"args\":[]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"instagram\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"twitter\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"user\",\"kind\":\"object\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"User\",\"relationName\":\"UserToUserSocialMedia\",\"relationFromFields\":[\"userId\"],\"relationToFields\":[\"id\"],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"userId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":true,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"isGenerated\":false,\"isUpdatedAt\":false}],\"primaryKey\":null,\"uniqueFields\":[],\"uniqueIndexes\":[],\"isGenerated\":false},\"BlogPost\":{\"dbName\":null,\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":true,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"String\",\"default\":{\"name\":\"uuid\",\"args\":[]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"title\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"text\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"author\",\"kind\":\"object\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"User\",\"relationName\":\"BlogPostToUser\",\"relationFromFields\":[\"authorId\"],\"relationToFields\":[\"id\"],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"authorId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"comments\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"BlogPostComment\",\"relationName\":\"BlogPostToBlogPostComment\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false}],\"primaryKey\":null,\"uniqueFields\":[],\"uniqueIndexes\":[],\"isGenerated\":false},\"BlogPostComment\":{\"dbName\":null,\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":true,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"String\",\"default\":{\"name\":\"uuid\",\"args\":[]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"text\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"post\",\"kind\":\"object\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"BlogPost\",\"relationName\":\"BlogPostToBlogPostComment\",\"relationFromFields\":[\"postId\"],\"relationToFields\":[\"id\"],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"postId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"author\",\"kind\":\"object\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"User\",\"relationName\":\"BlogPostCommentToUser\",\"relationFromFields\":[\"authorId\"],\"relationToFields\":[\"id\"],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"authorId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"isGenerated\":false,\"isUpdatedAt\":false}],\"primaryKey\":null,\"uniqueFields\":[],\"uniqueIndexes\":[],\"isGenerated\":false},\"Site\":{\"dbName\":null,\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":true,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"String\",\"default\":{\"name\":\"uuid\",\"args\":[]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"name\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"url\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"owner\",\"kind\":\"object\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"User\",\"relationName\":\"SiteToUser\",\"relationFromFields\":[\"userId\"],\"relationToFields\":[\"id\"],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"userId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":true,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"isGenerated\":false,\"isUpdatedAt\":false}],\"primaryKey\":null,\"uniqueFields\":[],\"uniqueIndexes\":[],\"isGenerated\":false},\"User\":{\"dbName\":null,\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":true,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"String\",\"default\":{\"name\":\"uuid\",\"args\":[]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"email\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":true,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"roles\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"UserRole\",\"relationName\":\"UserToUserRole\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"firstName\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"lastName\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"gender\",\"kind\":\"enum\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Gender\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"yearOfBirth\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Int\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"wantsNewsletter\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Boolean\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"interests\",\"kind\":\"enum\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Topic\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"userSocialMedia\",\"kind\":\"object\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"UserSocialMedia\",\"relationName\":\"UserToUserSocialMedia\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"address\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Json\",\"isGenerated\":false,\"isUpdatedAt\":false,\"documentation\":\"@TypeGraphQL.omit(output: true)\"},{\"name\":\"blogPosts\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"BlogPost\",\"relationName\":\"BlogPostToUser\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"comments\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"BlogPostComment\",\"relationName\":\"BlogPostCommentToUser\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"companies\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Company\",\"relationName\":\"CompanyToUser\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"weddingDate\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"DateTime\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"site\",\"kind\":\"object\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Site\",\"relationName\":\"SiteToUser\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false,\"documentation\":\"@TypeGraphQL.omit(output: true)\"}],\"primaryKey\":null,\"uniqueFields\":[],\"uniqueIndexes\":[],\"isGenerated\":false},\"FilteringTest\":{\"dbName\":null,\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":true,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"Int\",\"default\":{\"name\":\"autoincrement\",\"args\":[]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"intField\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Int\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"floatField\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Float\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"stringField\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"dateTimeField\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"DateTime\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"boolField\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Boolean\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"intField_lt\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"intField_bt\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Int\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"snake_field\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Int\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"snake_field_bt\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Int\",\"isGenerated\":false,\"isUpdatedAt\":false}],\"primaryKey\":null,\"uniqueFields\":[],\"uniqueIndexes\":[],\"isGenerated\":false},\"SomePublicRecordWithIntId\":{\"dbName\":null,\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":true,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"Int\",\"default\":{\"name\":\"autoincrement\",\"args\":[]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"title\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"isGenerated\":false,\"isUpdatedAt\":false}],\"primaryKey\":null,\"uniqueFields\":[],\"uniqueIndexes\":[],\"isGenerated\":false}},\"enums\":{\"Gender\":{\"values\":[{\"name\":\"MALE\",\"dbName\":null},{\"name\":\"FEMALE\",\"dbName\":null},{\"name\":\"OTHER\",\"dbName\":null}],\"dbName\":null},\"Topic\":{\"values\":[{\"name\":\"TOPIC_ONE\",\"dbName\":null},{\"name\":\"TOPIC_TWO\",\"dbName\":null},{\"name\":\"TOPIC_THREE\",\"dbName\":null}],\"dbName\":null}},\"types\":{}}") +defineDmmfProperty(exports.Prisma, config.runtimeDataModel) + + +config.injectableEdgeEnv = () => ({ + parsed: { + POSTGRESQL_URL: typeof globalThis !== 'undefined' && globalThis['POSTGRESQL_URL'] || typeof process !== 'undefined' && process.env && process.env.POSTGRESQL_URL || undefined + } +}) + +if (typeof globalThis !== 'undefined' && globalThis['DEBUG'] || typeof process !== 'undefined' && process.env && process.env.DEBUG || undefined) { + Debug.enable(typeof globalThis !== 'undefined' && globalThis['DEBUG'] || typeof process !== 'undefined' && process.env && process.env.DEBUG || undefined) +} + +const PrismaClient = getPrismaClient(config) +exports.PrismaClient = PrismaClient +Object.assign(exports, Prisma) + diff --git a/packages/dataprovider/.prisma/index-browser.js b/packages/dataprovider/.prisma/index-browser.js index 9bee0b0..71b1b99 100644 --- a/packages/dataprovider/.prisma/index-browser.js +++ b/packages/dataprovider/.prisma/index-browser.js @@ -2,41 +2,50 @@ Object.defineProperty(exports, "__esModule", { value: true }); const { - Decimal + Decimal, + objectEnumValues, + makeStrictEnum, + Public, + detectRuntime, } = require('./runtime/index-browser') const Prisma = {} exports.Prisma = Prisma +exports.$Enums = {} /** - * Prisma Client JS version: 3.15.2 - * Query Engine version: 461d6a05159055555eb7dfb337c9fb271cbd4d7e + * Prisma Client JS version: 5.5.2 + * Query Engine version: aebc046ce8b88ebbcb45efe31cbe7d06fd6abc0a */ Prisma.prismaVersion = { - client: "3.15.2", - engine: "461d6a05159055555eb7dfb337c9fb271cbd4d7e" + client: "5.5.2", + engine: "aebc046ce8b88ebbcb45efe31cbe7d06fd6abc0a" } Prisma.PrismaClientKnownRequestError = () => { - throw new Error(`PrismaClientKnownRequestError is unable to be run in the browser. + throw new Error(`PrismaClientKnownRequestError is unable to be run ${runtimeDescription}. In case this error is unexpected for you, please report it in https://github.com/prisma/prisma/issues`, )}; Prisma.PrismaClientUnknownRequestError = () => { - throw new Error(`PrismaClientUnknownRequestError is unable to be run in the browser. + throw new Error(`PrismaClientUnknownRequestError is unable to be run ${runtimeDescription}. In case this error is unexpected for you, please report it in https://github.com/prisma/prisma/issues`, )} Prisma.PrismaClientRustPanicError = () => { - throw new Error(`PrismaClientRustPanicError is unable to be run in the browser. + throw new Error(`PrismaClientRustPanicError is unable to be run ${runtimeDescription}. In case this error is unexpected for you, please report it in https://github.com/prisma/prisma/issues`, )} Prisma.PrismaClientInitializationError = () => { - throw new Error(`PrismaClientInitializationError is unable to be run in the browser. + throw new Error(`PrismaClientInitializationError is unable to be run ${runtimeDescription}. In case this error is unexpected for you, please report it in https://github.com/prisma/prisma/issues`, )} Prisma.PrismaClientValidationError = () => { - throw new Error(`PrismaClientValidationError is unable to be run in the browser. + throw new Error(`PrismaClientValidationError is unable to be run ${runtimeDescription}. +In case this error is unexpected for you, please report it in https://github.com/prisma/prisma/issues`, +)} +Prisma.NotFoundError = () => { + throw new Error(`NotFoundError is unable to be run ${runtimeDescription}. In case this error is unexpected for you, please report it in https://github.com/prisma/prisma/issues`, )} Prisma.Decimal = Decimal @@ -45,77 +54,99 @@ Prisma.Decimal = Decimal * Re-export of sql-template-tag */ Prisma.sql = () => { - throw new Error(`sqltag is unable to be run in the browser. + throw new Error(`sqltag is unable to be run ${runtimeDescription}. In case this error is unexpected for you, please report it in https://github.com/prisma/prisma/issues`, )} Prisma.empty = () => { - throw new Error(`empty is unable to be run in the browser. + throw new Error(`empty is unable to be run ${runtimeDescription}. In case this error is unexpected for you, please report it in https://github.com/prisma/prisma/issues`, )} Prisma.join = () => { - throw new Error(`join is unable to be run in the browser. + throw new Error(`join is unable to be run ${runtimeDescription}. In case this error is unexpected for you, please report it in https://github.com/prisma/prisma/issues`, )} Prisma.raw = () => { - throw new Error(`raw is unable to be run in the browser. + throw new Error(`raw is unable to be run ${runtimeDescription}. +In case this error is unexpected for you, please report it in https://github.com/prisma/prisma/issues`, +)} +Prisma.validator = Public.validator + +/** +* Extensions +*/ +Prisma.getExtensionContext = () => { + throw new Error(`Extensions.getExtensionContext is unable to be run ${runtimeDescription}. +In case this error is unexpected for you, please report it in https://github.com/prisma/prisma/issues`, +)} +Prisma.defineExtension = () => { + throw new Error(`Extensions.defineExtension is unable to be run ${runtimeDescription}. In case this error is unexpected for you, please report it in https://github.com/prisma/prisma/issues`, )} -Prisma.validator = () => (val) => val /** * Shorthand utilities for JSON filtering */ -Prisma.DbNull = 'DbNull' -Prisma.JsonNull = 'JsonNull' -Prisma.AnyNull = 'AnyNull' +Prisma.DbNull = objectEnumValues.instances.DbNull +Prisma.JsonNull = objectEnumValues.instances.JsonNull +Prisma.AnyNull = objectEnumValues.instances.AnyNull + +Prisma.NullTypes = { + DbNull: objectEnumValues.classes.DbNull, + JsonNull: objectEnumValues.classes.JsonNull, + AnyNull: objectEnumValues.classes.AnyNull +} /** * Enums */ -// Based on -// https://github.com/microsoft/TypeScript/issues/3192#issuecomment-261720275 -function makeEnum(x) { return x; } -exports.Prisma.UserRoleScalarFieldEnum = makeEnum({ +exports.Prisma.TransactionIsolationLevel = makeStrictEnum({ + ReadUncommitted: 'ReadUncommitted', + ReadCommitted: 'ReadCommitted', + RepeatableRead: 'RepeatableRead', + Serializable: 'Serializable' +}); + +exports.Prisma.UserRoleScalarFieldEnum = { id: 'id', name: 'name' -}); +}; -exports.Prisma.CompanyScalarFieldEnum = makeEnum({ +exports.Prisma.CompanyScalarFieldEnum = { id: 'id', name: 'name', userId: 'userId' -}); +}; -exports.Prisma.UserSocialMediaScalarFieldEnum = makeEnum({ +exports.Prisma.UserSocialMediaScalarFieldEnum = { id: 'id', instagram: 'instagram', twitter: 'twitter', userId: 'userId' -}); +}; -exports.Prisma.BlogPostScalarFieldEnum = makeEnum({ +exports.Prisma.BlogPostScalarFieldEnum = { id: 'id', title: 'title', text: 'text', authorId: 'authorId' -}); +}; -exports.Prisma.BlogPostCommentScalarFieldEnum = makeEnum({ +exports.Prisma.BlogPostCommentScalarFieldEnum = { id: 'id', text: 'text', postId: 'postId', authorId: 'authorId' -}); +}; -exports.Prisma.SiteScalarFieldEnum = makeEnum({ +exports.Prisma.SiteScalarFieldEnum = { id: 'id', name: 'name', url: 'url', userId: 'userId' -}); +}; -exports.Prisma.UserScalarFieldEnum = makeEnum({ +exports.Prisma.UserScalarFieldEnum = { id: 'id', email: 'email', firstName: 'firstName', @@ -126,9 +157,9 @@ exports.Prisma.UserScalarFieldEnum = makeEnum({ interests: 'interests', address: 'address', weddingDate: 'weddingDate' -}); +}; -exports.Prisma.FilteringTestScalarFieldEnum = makeEnum({ +exports.Prisma.FilteringTestScalarFieldEnum = { id: 'id', intField: 'intField', floatField: 'floatField', @@ -139,46 +170,51 @@ exports.Prisma.FilteringTestScalarFieldEnum = makeEnum({ intField_bt: 'intField_bt', snake_field: 'snake_field', snake_field_bt: 'snake_field_bt' -}); +}; -exports.Prisma.SomePublicRecordWithIntIdScalarFieldEnum = makeEnum({ +exports.Prisma.SomePublicRecordWithIntIdScalarFieldEnum = { id: 'id', title: 'title' -}); +}; -exports.Prisma.SortOrder = makeEnum({ +exports.Prisma.SortOrder = { asc: 'asc', desc: 'desc' -}); +}; -exports.Prisma.NullableJsonNullValueInput = makeEnum({ - DbNull: 'DbNull', - JsonNull: 'JsonNull' -}); +exports.Prisma.NullableJsonNullValueInput = { + DbNull: Prisma.DbNull, + JsonNull: Prisma.JsonNull +}; -exports.Prisma.QueryMode = makeEnum({ +exports.Prisma.QueryMode = { default: 'default', insensitive: 'insensitive' -}); +}; -exports.Prisma.JsonNullValueFilter = makeEnum({ - DbNull: 'DbNull', - JsonNull: 'JsonNull', - AnyNull: 'AnyNull' -}); -exports.Gender = makeEnum({ +exports.Prisma.NullsOrder = { + first: 'first', + last: 'last' +}; + +exports.Prisma.JsonNullValueFilter = { + DbNull: Prisma.DbNull, + JsonNull: Prisma.JsonNull, + AnyNull: Prisma.AnyNull +}; +exports.Gender = exports.$Enums.Gender = { MALE: 'MALE', FEMALE: 'FEMALE', OTHER: 'OTHER' -}); +}; -exports.Topic = makeEnum({ +exports.Topic = exports.$Enums.Topic = { TOPIC_ONE: 'TOPIC_ONE', TOPIC_TWO: 'TOPIC_TWO', TOPIC_THREE: 'TOPIC_THREE' -}); +}; -exports.Prisma.ModelName = makeEnum({ +exports.Prisma.ModelName = { UserRole: 'UserRole', Company: 'Company', UserSocialMedia: 'UserSocialMedia', @@ -188,19 +224,39 @@ exports.Prisma.ModelName = makeEnum({ User: 'User', FilteringTest: 'FilteringTest', SomePublicRecordWithIntId: 'SomePublicRecordWithIntId' -}); +}; /** - * Create the Client + * This is a stub Prisma Client that will error at runtime if called. */ class PrismaClient { constructor() { - throw new Error( - `PrismaClient is unable to be run in the browser. -In case this error is unexpected for you, please report it in https://github.com/prisma/prisma/issues`, - ) + return new Proxy(this, { + get(target, prop) { + const runtime = detectRuntime() + const edgeRuntimeName = { + 'workerd': 'Cloudflare Workers', + 'deno': 'Deno and Deno Deploy', + 'netlify': 'Netlify Edge Functions', + 'edge-light': 'Vercel Edge Functions', + }[runtime] + + let message = 'PrismaClient is unable to run in ' + if (edgeRuntimeName !== undefined) { + message += edgeRuntimeName + '. As an alternative, try Accelerate: https://pris.ly/d/accelerate.' + } else { + message += 'this browser environment, or has been bundled for the browser (running in `' + runtime + '`).' + } + + message += ` +If this is unexpected, please open an issue: https://github.com/prisma/prisma/issues` + + throw new Error(message) + } + }) } } + exports.PrismaClient = PrismaClient Object.assign(exports, Prisma) diff --git a/packages/dataprovider/.prisma/index.d.ts b/packages/dataprovider/.prisma/index.d.ts index 4e87f97..a9e6770 100644 --- a/packages/dataprovider/.prisma/index.d.ts +++ b/packages/dataprovider/.prisma/index.d.ts @@ -3,133 +3,67 @@ * Client **/ -import * as runtime from './runtime/index'; -declare const prisma: unique symbol -export type PrismaPromise = Promise & {[prisma]: true} -type UnwrapPromise

= P extends Promise ? R : P -type UnwrapTuple = { - [K in keyof Tuple]: K extends `${number}` ? Tuple[K] extends PrismaPromise ? X : UnwrapPromise : UnwrapPromise -}; +import * as runtime from './runtime/library'; +import $Types = runtime.Types // general types +import $Public = runtime.Types.Public +import $Utils = runtime.Types.Utils +import $Extensions = runtime.Types.Extensions +import $Result = runtime.Types.Result + +export type PrismaPromise = $Public.PrismaPromise /** * Model UserRole * */ -export type UserRole = { - id: string - name: string -} - +export type UserRole = $Result.DefaultSelection /** * Model Company * */ -export type Company = { - id: string - name: string - userId: string -} - +export type Company = $Result.DefaultSelection /** * Model UserSocialMedia * */ -export type UserSocialMedia = { - id: string - instagram: string - twitter: string - userId: string -} - +export type UserSocialMedia = $Result.DefaultSelection /** * Model BlogPost * */ -export type BlogPost = { - id: string - title: string - text: string - authorId: string | null -} - +export type BlogPost = $Result.DefaultSelection /** * Model BlogPostComment * */ -export type BlogPostComment = { - id: string - text: string - postId: string | null - authorId: string | null -} - +export type BlogPostComment = $Result.DefaultSelection /** * Model Site * */ -export type Site = { - id: string - name: string - url: string - userId: string | null -} - +export type Site = $Result.DefaultSelection /** * Model User * */ -export type User = { - id: string - email: string - firstName: string | null - lastName: string | null - gender: Gender | null - yearOfBirth: number | null - wantsNewsletter: boolean - interests: Topic[] - /** - * @TypeGraphQL.omit(output: true) - */ - address: Prisma.JsonValue | null - weddingDate: Date | null -} - +export type User = $Result.DefaultSelection /** * Model FilteringTest * */ -export type FilteringTest = { - id: number - intField: number - floatField: number - stringField: string - dateTimeField: Date - boolField: boolean - intField_lt: string - intField_bt: number - snake_field: number - snake_field_bt: number -} - +export type FilteringTest = $Result.DefaultSelection /** * Model SomePublicRecordWithIntId * */ -export type SomePublicRecordWithIntId = { - id: number - title: string -} - +export type SomePublicRecordWithIntId = $Result.DefaultSelection /** * Enums */ - -// Based on -// https://github.com/microsoft/TypeScript/issues/3192#issuecomment-261720275 - -export const Gender: { +export namespace $Enums { + export const Gender: { MALE: 'MALE', FEMALE: 'FEMALE', OTHER: 'OTHER' @@ -146,6 +80,15 @@ export const Topic: { export type Topic = (typeof Topic)[keyof typeof Topic] +} + +export type Gender = $Enums.Gender + +export const Gender: typeof $Enums.Gender + +export type Topic = $Enums.Topic + +export const Topic: typeof $Enums.Topic /** * ## Prisma Client ʲˢ @@ -164,34 +107,9 @@ export type Topic = (typeof Topic)[keyof typeof Topic] export class PrismaClient< T extends Prisma.PrismaClientOptions = Prisma.PrismaClientOptions, U = 'log' extends keyof T ? T['log'] extends Array ? Prisma.GetEvents : never : never, - GlobalReject = 'rejectOnNotFound' extends keyof T - ? T['rejectOnNotFound'] - : false - > { - /** - * @private - */ - private fetcher; - /** - * @private - */ - private readonly dmmf; - /** - * @private - */ - private connectionPromise?; - /** - * @private - */ - private disconnectionPromise?; - /** - * @private - */ - private readonly engineConfig; - /** - * @private - */ - private readonly measurePerformance; + ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs +> { + [K: symbol]: { types: Prisma.TypeMap['other'] } /** * ## Prisma Client ʲˢ @@ -209,20 +127,22 @@ export class PrismaClient< */ constructor(optionsArg ?: Prisma.Subset); - $on(eventType: V, callback: (event: V extends 'query' ? Prisma.QueryEvent : V extends 'beforeExit' ? () => Promise : Prisma.LogEvent) => void): void; + $on(eventType: V, callback: (event: V extends 'query' ? Prisma.QueryEvent : Prisma.LogEvent) => void): void; /** * Connect with the database */ - $connect(): Promise; + $connect(): $Utils.JsPromise; /** * Disconnect from the database */ - $disconnect(): Promise; + $disconnect(): $Utils.JsPromise; /** * Add a middleware + * @deprecated since 4.16.0. For new code, prefer client extensions instead. + * @see https://pris.ly/d/extensions */ $use(cb: Prisma.Middleware): void @@ -235,7 +155,7 @@ export class PrismaClient< * * Read more in our [docs](https://www.prisma.io/docs/reference/tools-and-interfaces/prisma-client/raw-database-access). */ - $executeRaw(query: TemplateStringsArray | Prisma.Sql, ...values: any[]): PrismaPromise; + $executeRaw(query: TemplateStringsArray | Prisma.Sql, ...values: any[]): Prisma.PrismaPromise; /** * Executes a raw query and returns the number of affected rows. @@ -247,7 +167,7 @@ export class PrismaClient< * * Read more in our [docs](https://www.prisma.io/docs/reference/tools-and-interfaces/prisma-client/raw-database-access). */ - $executeRawUnsafe(query: string, ...values: any[]): PrismaPromise; + $executeRawUnsafe(query: string, ...values: any[]): Prisma.PrismaPromise; /** * Performs a prepared raw query and returns the `SELECT` data. @@ -258,7 +178,7 @@ export class PrismaClient< * * Read more in our [docs](https://www.prisma.io/docs/reference/tools-and-interfaces/prisma-client/raw-database-access). */ - $queryRaw(query: TemplateStringsArray | Prisma.Sql, ...values: any[]): PrismaPromise; + $queryRaw(query: TemplateStringsArray | Prisma.Sql, ...values: any[]): Prisma.PrismaPromise; /** * Performs a raw query and returns the `SELECT` data. @@ -270,7 +190,7 @@ export class PrismaClient< * * Read more in our [docs](https://www.prisma.io/docs/reference/tools-and-interfaces/prisma-client/raw-database-access). */ - $queryRawUnsafe(query: string, ...values: any[]): PrismaPromise; + $queryRawUnsafe(query: string, ...values: any[]): Prisma.PrismaPromise; /** * Allows the running of a sequence of read/write operations that are guaranteed to either succeed or fail as a whole. @@ -285,7 +205,12 @@ export class PrismaClient< * * Read more in our [docs](https://www.prisma.io/docs/concepts/components/prisma-client/transactions). */ - $transaction

[]>(arg: [...P]): Promise>; + $transaction

[]>(arg: [...P], options?: { isolationLevel?: Prisma.TransactionIsolationLevel }): $Utils.JsPromise> + + $transaction(fn: (prisma: Omit) => $Utils.JsPromise, options?: { maxWait?: number, timeout?: number, isolationLevel?: Prisma.TransactionIsolationLevel }): $Utils.JsPromise + + + $extends: $Extensions.ExtendsHook<'extends', Prisma.TypeMapCb, ExtArgs> /** * `prisma.userRole`: Exposes CRUD operations for the **UserRole** model. @@ -295,7 +220,7 @@ export class PrismaClient< * const userRoles = await prisma.userRole.findMany() * ``` */ - get userRole(): Prisma.UserRoleDelegate; + get userRole(): Prisma.UserRoleDelegate; /** * `prisma.company`: Exposes CRUD operations for the **Company** model. @@ -305,7 +230,7 @@ export class PrismaClient< * const companies = await prisma.company.findMany() * ``` */ - get company(): Prisma.CompanyDelegate; + get company(): Prisma.CompanyDelegate; /** * `prisma.userSocialMedia`: Exposes CRUD operations for the **UserSocialMedia** model. @@ -315,7 +240,7 @@ export class PrismaClient< * const userSocialMedias = await prisma.userSocialMedia.findMany() * ``` */ - get userSocialMedia(): Prisma.UserSocialMediaDelegate; + get userSocialMedia(): Prisma.UserSocialMediaDelegate; /** * `prisma.blogPost`: Exposes CRUD operations for the **BlogPost** model. @@ -325,7 +250,7 @@ export class PrismaClient< * const blogPosts = await prisma.blogPost.findMany() * ``` */ - get blogPost(): Prisma.BlogPostDelegate; + get blogPost(): Prisma.BlogPostDelegate; /** * `prisma.blogPostComment`: Exposes CRUD operations for the **BlogPostComment** model. @@ -335,7 +260,7 @@ export class PrismaClient< * const blogPostComments = await prisma.blogPostComment.findMany() * ``` */ - get blogPostComment(): Prisma.BlogPostCommentDelegate; + get blogPostComment(): Prisma.BlogPostCommentDelegate; /** * `prisma.site`: Exposes CRUD operations for the **Site** model. @@ -345,7 +270,7 @@ export class PrismaClient< * const sites = await prisma.site.findMany() * ``` */ - get site(): Prisma.SiteDelegate; + get site(): Prisma.SiteDelegate; /** * `prisma.user`: Exposes CRUD operations for the **User** model. @@ -355,7 +280,7 @@ export class PrismaClient< * const users = await prisma.user.findMany() * ``` */ - get user(): Prisma.UserDelegate; + get user(): Prisma.UserDelegate; /** * `prisma.filteringTest`: Exposes CRUD operations for the **FilteringTest** model. @@ -365,7 +290,7 @@ export class PrismaClient< * const filteringTests = await prisma.filteringTest.findMany() * ``` */ - get filteringTest(): Prisma.FilteringTestDelegate; + get filteringTest(): Prisma.FilteringTestDelegate; /** * `prisma.somePublicRecordWithIntId`: Exposes CRUD operations for the **SomePublicRecordWithIntId** model. @@ -375,12 +300,19 @@ export class PrismaClient< * const somePublicRecordWithIntIds = await prisma.somePublicRecordWithIntId.findMany() * ``` */ - get somePublicRecordWithIntId(): Prisma.SomePublicRecordWithIntIdDelegate; + get somePublicRecordWithIntId(): Prisma.SomePublicRecordWithIntIdDelegate; } export namespace Prisma { export import DMMF = runtime.DMMF + export type PrismaPromise = $Public.PrismaPromise + + /** + * Validator + */ + export import validator = runtime.Public.validator + /** * Prisma Errors */ @@ -389,6 +321,7 @@ export namespace Prisma { export import PrismaClientRustPanicError = runtime.PrismaClientRustPanicError export import PrismaClientInitializationError = runtime.PrismaClientInitializationError export import PrismaClientValidationError = runtime.PrismaClientValidationError + export import NotFoundError = runtime.NotFoundError /** * Re-export of sql-template-tag @@ -407,8 +340,26 @@ export namespace Prisma { export type DecimalJsLike = runtime.DecimalJsLike /** - * Prisma Client JS version: 3.15.2 - * Query Engine version: 461d6a05159055555eb7dfb337c9fb271cbd4d7e + * Metrics + */ + export type Metrics = runtime.Metrics + export type Metric = runtime.Metric + export type MetricHistogram = runtime.MetricHistogram + export type MetricHistogramBucket = runtime.MetricHistogramBucket + + /** + * Extensions + */ + export import Extension = $Extensions.UserArgs + export import getExtensionContext = runtime.Extensions.getExtensionContext + export import Args = $Public.Args + export import Payload = $Public.Payload + export import Result = $Public.Result + export import Exact = $Public.Exact + + /** + * Prisma Client JS version: 5.5.2 + * Query Engine version: aebc046ce8b88ebbcb45efe31cbe7d06fd6abc0a */ export type PrismaVersion = { client: string @@ -464,46 +415,76 @@ export namespace Prisma { * * @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-by-null-values */ - export type InputJsonValue = string | number | boolean | InputJsonObject | InputJsonArray + export type InputJsonValue = string | number | boolean | InputJsonObject | InputJsonArray | { toJSON(): unknown } + + /** + * Types of the values used to represent different kinds of `null` values when working with JSON fields. + * + * @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field + */ + namespace NullTypes { + /** + * Type of `Prisma.DbNull`. + * + * You cannot use other instances of this class. Please use the `Prisma.DbNull` value. + * + * @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field + */ + class DbNull { + private DbNull: never + private constructor() + } + + /** + * Type of `Prisma.JsonNull`. + * + * You cannot use other instances of this class. Please use the `Prisma.JsonNull` value. + * + * @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field + */ + class JsonNull { + private JsonNull: never + private constructor() + } + + /** + * Type of `Prisma.AnyNull`. + * + * You cannot use other instances of this class. Please use the `Prisma.AnyNull` value. + * + * @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field + */ + class AnyNull { + private AnyNull: never + private constructor() + } + } /** * Helper for filtering JSON entries that have `null` on the database (empty on the db) * * @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field */ - export const DbNull: 'DbNull' + export const DbNull: NullTypes.DbNull /** * Helper for filtering JSON entries that have JSON `null` values (not empty on the db) * * @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field */ - export const JsonNull: 'JsonNull' + export const JsonNull: NullTypes.JsonNull /** * Helper for filtering JSON entries that are `Prisma.DbNull` or `Prisma.JsonNull` * * @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field */ - export const AnyNull: 'AnyNull' + export const AnyNull: NullTypes.AnyNull type SelectAndInclude = { select: any include: any } - type HasSelect = { - select: any - } - type HasInclude = { - include: any - } - type CheckSelect = T extends SelectAndInclude - ? 'Please either choose `select` or `include`' - : T extends HasSelect - ? U - : T extends HasInclude - ? U - : S /** * Get the type of the value, that the Promise holds. @@ -513,7 +494,7 @@ export namespace Prisma { /** * Get the return type of a function which returns a Promise. */ - export type PromiseReturnType Promise> = PromiseType> + export type PromiseReturnType $Utils.JsPromise> = PromiseType> /** * From T, pick a set of properties whose keys are in the union K @@ -529,9 +510,9 @@ export namespace Prisma { [K in keyof T]-?: {} extends Prisma__Pick ? never : K }[keyof T] - export type TruthyKeys = { - [key in keyof T]: T[key] extends false | undefined | null ? never : key - }[keyof T] + export type TruthyKeys = keyof { + [K in keyof T as T[K] extends false | undefined | null ? never : K]: K + } export type TrueKeys = TruthyKeys>> @@ -584,7 +565,7 @@ export namespace Prisma { ? False : T extends Date ? False - : T extends Buffer + : T extends Uint8Array ? False : T extends BigInt ? False @@ -669,6 +650,16 @@ export namespace Prisma { [P in K]: T; }; + // cause typescript not to expand types and preserve names + type NoExpand = T extends unknown ? T : never; + + // this type assumes the passed object is entirely optional + type AtLeast = NoExpand< + O extends unknown + ? | (K extends keyof O ? { [P in K]: O[P] } & O : O) + | {[P in keyof O as P extends K ? K : never]-?: O[P]} & O + : never>; + type _Strict = U extends unknown ? U & OptionalFlat<_Record, keyof U>, never>> : never; export type Strict = ComputeRaw<_Strict>; @@ -719,19 +710,11 @@ export namespace Prisma { export type Keys = U extends unknown ? keyof U : never - type Exact = - W extends unknown ? A extends Narrowable ? Cast : Cast< - {[K in keyof A]: K extends keyof W ? Exact : never}, - {[K in keyof W]: K extends keyof A ? Exact : W[K]}> - : never; - - type Narrowable = string | number | boolean | bigint; - type Cast = A extends B ? A : B; export const type: unique symbol; - export function validator(): (select: Exact) => S; + /** * Used by group by @@ -772,24 +755,20 @@ export namespace Prisma { type MaybeTupleToUnion = T extends any[] ? TupleToUnion : T /** - * Like `Pick`, but with an array + * Like `Pick`, but additionally can also accept an array of keys */ - type PickArray> = Prisma__Pick> + type PickEnumerable | keyof T> = Prisma__Pick> /** * Exclude all keys with underscores */ type ExcludeUnderscoreKeys = T extends `_${string}` ? never : T - class PrismaClientFetcher { - private readonly prisma; - private readonly debug; - private readonly hooks?; - constructor(prisma: PrismaClient, debug?: boolean, hooks?: Hooks | undefined); - request(document: any, dataPath?: string[], rootField?: string, typeName?: string, isList?: boolean, callsite?: string): Promise; - sanitizeMessage(message: string): string; - protected unpack(document: any, data: any, path: string[], rootField?: string, isList?: boolean): any; - } + + export type FieldRef = runtime.FieldRef + + type FieldRefInputType = Model extends never ? never : FieldRef + export const ModelName: { UserRole: 'UserRole', @@ -810,54 +789,651 @@ export namespace Prisma { db?: Datasource } - export type RejectOnNotFound = boolean | ((error: Error) => Error) - export type RejectPerModel = { [P in ModelName]?: RejectOnNotFound } - export type RejectPerOperation = { [P in "findUnique" | "findFirst"]?: RejectPerModel | RejectOnNotFound } - type IsReject = T extends true ? True : T extends (err: Error) => Error ? True : False - export type HasReject< - GlobalRejectSettings extends Prisma.PrismaClientOptions['rejectOnNotFound'], - LocalRejectSettings, - Action extends PrismaAction, - Model extends ModelName - > = LocalRejectSettings extends RejectOnNotFound - ? IsReject - : GlobalRejectSettings extends RejectPerOperation - ? Action extends keyof GlobalRejectSettings - ? GlobalRejectSettings[Action] extends RejectOnNotFound - ? IsReject - : GlobalRejectSettings[Action] extends RejectPerModel - ? Model extends keyof GlobalRejectSettings[Action] - ? IsReject - : False - : False - : False - : IsReject - export type ErrorFormat = 'pretty' | 'colorless' | 'minimal' + interface TypeMapCb extends $Utils.Fn<{extArgs: $Extensions.InternalArgs}, $Utils.Record> { + returns: Prisma.TypeMap + } + + export type TypeMap = { + meta: { + modelProps: 'userRole' | 'company' | 'userSocialMedia' | 'blogPost' | 'blogPostComment' | 'site' | 'user' | 'filteringTest' | 'somePublicRecordWithIntId' + txIsolationLevel: Prisma.TransactionIsolationLevel + }, + model: { + UserRole: { + payload: Prisma.$UserRolePayload + fields: Prisma.UserRoleFieldRefs + operations: { + findUnique: { + args: Prisma.UserRoleFindUniqueArgs, + result: $Utils.PayloadToResult | null + } + findUniqueOrThrow: { + args: Prisma.UserRoleFindUniqueOrThrowArgs, + result: $Utils.PayloadToResult + } + findFirst: { + args: Prisma.UserRoleFindFirstArgs, + result: $Utils.PayloadToResult | null + } + findFirstOrThrow: { + args: Prisma.UserRoleFindFirstOrThrowArgs, + result: $Utils.PayloadToResult + } + findMany: { + args: Prisma.UserRoleFindManyArgs, + result: $Utils.PayloadToResult[] + } + create: { + args: Prisma.UserRoleCreateArgs, + result: $Utils.PayloadToResult + } + createMany: { + args: Prisma.UserRoleCreateManyArgs, + result: Prisma.BatchPayload + } + delete: { + args: Prisma.UserRoleDeleteArgs, + result: $Utils.PayloadToResult + } + update: { + args: Prisma.UserRoleUpdateArgs, + result: $Utils.PayloadToResult + } + deleteMany: { + args: Prisma.UserRoleDeleteManyArgs, + result: Prisma.BatchPayload + } + updateMany: { + args: Prisma.UserRoleUpdateManyArgs, + result: Prisma.BatchPayload + } + upsert: { + args: Prisma.UserRoleUpsertArgs, + result: $Utils.PayloadToResult + } + aggregate: { + args: Prisma.UserRoleAggregateArgs, + result: $Utils.Optional + } + groupBy: { + args: Prisma.UserRoleGroupByArgs, + result: $Utils.Optional[] + } + count: { + args: Prisma.UserRoleCountArgs, + result: $Utils.Optional | number + } + } + } + Company: { + payload: Prisma.$CompanyPayload + fields: Prisma.CompanyFieldRefs + operations: { + findUnique: { + args: Prisma.CompanyFindUniqueArgs, + result: $Utils.PayloadToResult | null + } + findUniqueOrThrow: { + args: Prisma.CompanyFindUniqueOrThrowArgs, + result: $Utils.PayloadToResult + } + findFirst: { + args: Prisma.CompanyFindFirstArgs, + result: $Utils.PayloadToResult | null + } + findFirstOrThrow: { + args: Prisma.CompanyFindFirstOrThrowArgs, + result: $Utils.PayloadToResult + } + findMany: { + args: Prisma.CompanyFindManyArgs, + result: $Utils.PayloadToResult[] + } + create: { + args: Prisma.CompanyCreateArgs, + result: $Utils.PayloadToResult + } + createMany: { + args: Prisma.CompanyCreateManyArgs, + result: Prisma.BatchPayload + } + delete: { + args: Prisma.CompanyDeleteArgs, + result: $Utils.PayloadToResult + } + update: { + args: Prisma.CompanyUpdateArgs, + result: $Utils.PayloadToResult + } + deleteMany: { + args: Prisma.CompanyDeleteManyArgs, + result: Prisma.BatchPayload + } + updateMany: { + args: Prisma.CompanyUpdateManyArgs, + result: Prisma.BatchPayload + } + upsert: { + args: Prisma.CompanyUpsertArgs, + result: $Utils.PayloadToResult + } + aggregate: { + args: Prisma.CompanyAggregateArgs, + result: $Utils.Optional + } + groupBy: { + args: Prisma.CompanyGroupByArgs, + result: $Utils.Optional[] + } + count: { + args: Prisma.CompanyCountArgs, + result: $Utils.Optional | number + } + } + } + UserSocialMedia: { + payload: Prisma.$UserSocialMediaPayload + fields: Prisma.UserSocialMediaFieldRefs + operations: { + findUnique: { + args: Prisma.UserSocialMediaFindUniqueArgs, + result: $Utils.PayloadToResult | null + } + findUniqueOrThrow: { + args: Prisma.UserSocialMediaFindUniqueOrThrowArgs, + result: $Utils.PayloadToResult + } + findFirst: { + args: Prisma.UserSocialMediaFindFirstArgs, + result: $Utils.PayloadToResult | null + } + findFirstOrThrow: { + args: Prisma.UserSocialMediaFindFirstOrThrowArgs, + result: $Utils.PayloadToResult + } + findMany: { + args: Prisma.UserSocialMediaFindManyArgs, + result: $Utils.PayloadToResult[] + } + create: { + args: Prisma.UserSocialMediaCreateArgs, + result: $Utils.PayloadToResult + } + createMany: { + args: Prisma.UserSocialMediaCreateManyArgs, + result: Prisma.BatchPayload + } + delete: { + args: Prisma.UserSocialMediaDeleteArgs, + result: $Utils.PayloadToResult + } + update: { + args: Prisma.UserSocialMediaUpdateArgs, + result: $Utils.PayloadToResult + } + deleteMany: { + args: Prisma.UserSocialMediaDeleteManyArgs, + result: Prisma.BatchPayload + } + updateMany: { + args: Prisma.UserSocialMediaUpdateManyArgs, + result: Prisma.BatchPayload + } + upsert: { + args: Prisma.UserSocialMediaUpsertArgs, + result: $Utils.PayloadToResult + } + aggregate: { + args: Prisma.UserSocialMediaAggregateArgs, + result: $Utils.Optional + } + groupBy: { + args: Prisma.UserSocialMediaGroupByArgs, + result: $Utils.Optional[] + } + count: { + args: Prisma.UserSocialMediaCountArgs, + result: $Utils.Optional | number + } + } + } + BlogPost: { + payload: Prisma.$BlogPostPayload + fields: Prisma.BlogPostFieldRefs + operations: { + findUnique: { + args: Prisma.BlogPostFindUniqueArgs, + result: $Utils.PayloadToResult | null + } + findUniqueOrThrow: { + args: Prisma.BlogPostFindUniqueOrThrowArgs, + result: $Utils.PayloadToResult + } + findFirst: { + args: Prisma.BlogPostFindFirstArgs, + result: $Utils.PayloadToResult | null + } + findFirstOrThrow: { + args: Prisma.BlogPostFindFirstOrThrowArgs, + result: $Utils.PayloadToResult + } + findMany: { + args: Prisma.BlogPostFindManyArgs, + result: $Utils.PayloadToResult[] + } + create: { + args: Prisma.BlogPostCreateArgs, + result: $Utils.PayloadToResult + } + createMany: { + args: Prisma.BlogPostCreateManyArgs, + result: Prisma.BatchPayload + } + delete: { + args: Prisma.BlogPostDeleteArgs, + result: $Utils.PayloadToResult + } + update: { + args: Prisma.BlogPostUpdateArgs, + result: $Utils.PayloadToResult + } + deleteMany: { + args: Prisma.BlogPostDeleteManyArgs, + result: Prisma.BatchPayload + } + updateMany: { + args: Prisma.BlogPostUpdateManyArgs, + result: Prisma.BatchPayload + } + upsert: { + args: Prisma.BlogPostUpsertArgs, + result: $Utils.PayloadToResult + } + aggregate: { + args: Prisma.BlogPostAggregateArgs, + result: $Utils.Optional + } + groupBy: { + args: Prisma.BlogPostGroupByArgs, + result: $Utils.Optional[] + } + count: { + args: Prisma.BlogPostCountArgs, + result: $Utils.Optional | number + } + } + } + BlogPostComment: { + payload: Prisma.$BlogPostCommentPayload + fields: Prisma.BlogPostCommentFieldRefs + operations: { + findUnique: { + args: Prisma.BlogPostCommentFindUniqueArgs, + result: $Utils.PayloadToResult | null + } + findUniqueOrThrow: { + args: Prisma.BlogPostCommentFindUniqueOrThrowArgs, + result: $Utils.PayloadToResult + } + findFirst: { + args: Prisma.BlogPostCommentFindFirstArgs, + result: $Utils.PayloadToResult | null + } + findFirstOrThrow: { + args: Prisma.BlogPostCommentFindFirstOrThrowArgs, + result: $Utils.PayloadToResult + } + findMany: { + args: Prisma.BlogPostCommentFindManyArgs, + result: $Utils.PayloadToResult[] + } + create: { + args: Prisma.BlogPostCommentCreateArgs, + result: $Utils.PayloadToResult + } + createMany: { + args: Prisma.BlogPostCommentCreateManyArgs, + result: Prisma.BatchPayload + } + delete: { + args: Prisma.BlogPostCommentDeleteArgs, + result: $Utils.PayloadToResult + } + update: { + args: Prisma.BlogPostCommentUpdateArgs, + result: $Utils.PayloadToResult + } + deleteMany: { + args: Prisma.BlogPostCommentDeleteManyArgs, + result: Prisma.BatchPayload + } + updateMany: { + args: Prisma.BlogPostCommentUpdateManyArgs, + result: Prisma.BatchPayload + } + upsert: { + args: Prisma.BlogPostCommentUpsertArgs, + result: $Utils.PayloadToResult + } + aggregate: { + args: Prisma.BlogPostCommentAggregateArgs, + result: $Utils.Optional + } + groupBy: { + args: Prisma.BlogPostCommentGroupByArgs, + result: $Utils.Optional[] + } + count: { + args: Prisma.BlogPostCommentCountArgs, + result: $Utils.Optional | number + } + } + } + Site: { + payload: Prisma.$SitePayload + fields: Prisma.SiteFieldRefs + operations: { + findUnique: { + args: Prisma.SiteFindUniqueArgs, + result: $Utils.PayloadToResult | null + } + findUniqueOrThrow: { + args: Prisma.SiteFindUniqueOrThrowArgs, + result: $Utils.PayloadToResult + } + findFirst: { + args: Prisma.SiteFindFirstArgs, + result: $Utils.PayloadToResult | null + } + findFirstOrThrow: { + args: Prisma.SiteFindFirstOrThrowArgs, + result: $Utils.PayloadToResult + } + findMany: { + args: Prisma.SiteFindManyArgs, + result: $Utils.PayloadToResult[] + } + create: { + args: Prisma.SiteCreateArgs, + result: $Utils.PayloadToResult + } + createMany: { + args: Prisma.SiteCreateManyArgs, + result: Prisma.BatchPayload + } + delete: { + args: Prisma.SiteDeleteArgs, + result: $Utils.PayloadToResult + } + update: { + args: Prisma.SiteUpdateArgs, + result: $Utils.PayloadToResult + } + deleteMany: { + args: Prisma.SiteDeleteManyArgs, + result: Prisma.BatchPayload + } + updateMany: { + args: Prisma.SiteUpdateManyArgs, + result: Prisma.BatchPayload + } + upsert: { + args: Prisma.SiteUpsertArgs, + result: $Utils.PayloadToResult + } + aggregate: { + args: Prisma.SiteAggregateArgs, + result: $Utils.Optional + } + groupBy: { + args: Prisma.SiteGroupByArgs, + result: $Utils.Optional[] + } + count: { + args: Prisma.SiteCountArgs, + result: $Utils.Optional | number + } + } + } + User: { + payload: Prisma.$UserPayload + fields: Prisma.UserFieldRefs + operations: { + findUnique: { + args: Prisma.UserFindUniqueArgs, + result: $Utils.PayloadToResult | null + } + findUniqueOrThrow: { + args: Prisma.UserFindUniqueOrThrowArgs, + result: $Utils.PayloadToResult + } + findFirst: { + args: Prisma.UserFindFirstArgs, + result: $Utils.PayloadToResult | null + } + findFirstOrThrow: { + args: Prisma.UserFindFirstOrThrowArgs, + result: $Utils.PayloadToResult + } + findMany: { + args: Prisma.UserFindManyArgs, + result: $Utils.PayloadToResult[] + } + create: { + args: Prisma.UserCreateArgs, + result: $Utils.PayloadToResult + } + createMany: { + args: Prisma.UserCreateManyArgs, + result: Prisma.BatchPayload + } + delete: { + args: Prisma.UserDeleteArgs, + result: $Utils.PayloadToResult + } + update: { + args: Prisma.UserUpdateArgs, + result: $Utils.PayloadToResult + } + deleteMany: { + args: Prisma.UserDeleteManyArgs, + result: Prisma.BatchPayload + } + updateMany: { + args: Prisma.UserUpdateManyArgs, + result: Prisma.BatchPayload + } + upsert: { + args: Prisma.UserUpsertArgs, + result: $Utils.PayloadToResult + } + aggregate: { + args: Prisma.UserAggregateArgs, + result: $Utils.Optional + } + groupBy: { + args: Prisma.UserGroupByArgs, + result: $Utils.Optional[] + } + count: { + args: Prisma.UserCountArgs, + result: $Utils.Optional | number + } + } + } + FilteringTest: { + payload: Prisma.$FilteringTestPayload + fields: Prisma.FilteringTestFieldRefs + operations: { + findUnique: { + args: Prisma.FilteringTestFindUniqueArgs, + result: $Utils.PayloadToResult | null + } + findUniqueOrThrow: { + args: Prisma.FilteringTestFindUniqueOrThrowArgs, + result: $Utils.PayloadToResult + } + findFirst: { + args: Prisma.FilteringTestFindFirstArgs, + result: $Utils.PayloadToResult | null + } + findFirstOrThrow: { + args: Prisma.FilteringTestFindFirstOrThrowArgs, + result: $Utils.PayloadToResult + } + findMany: { + args: Prisma.FilteringTestFindManyArgs, + result: $Utils.PayloadToResult[] + } + create: { + args: Prisma.FilteringTestCreateArgs, + result: $Utils.PayloadToResult + } + createMany: { + args: Prisma.FilteringTestCreateManyArgs, + result: Prisma.BatchPayload + } + delete: { + args: Prisma.FilteringTestDeleteArgs, + result: $Utils.PayloadToResult + } + update: { + args: Prisma.FilteringTestUpdateArgs, + result: $Utils.PayloadToResult + } + deleteMany: { + args: Prisma.FilteringTestDeleteManyArgs, + result: Prisma.BatchPayload + } + updateMany: { + args: Prisma.FilteringTestUpdateManyArgs, + result: Prisma.BatchPayload + } + upsert: { + args: Prisma.FilteringTestUpsertArgs, + result: $Utils.PayloadToResult + } + aggregate: { + args: Prisma.FilteringTestAggregateArgs, + result: $Utils.Optional + } + groupBy: { + args: Prisma.FilteringTestGroupByArgs, + result: $Utils.Optional[] + } + count: { + args: Prisma.FilteringTestCountArgs, + result: $Utils.Optional | number + } + } + } + SomePublicRecordWithIntId: { + payload: Prisma.$SomePublicRecordWithIntIdPayload + fields: Prisma.SomePublicRecordWithIntIdFieldRefs + operations: { + findUnique: { + args: Prisma.SomePublicRecordWithIntIdFindUniqueArgs, + result: $Utils.PayloadToResult | null + } + findUniqueOrThrow: { + args: Prisma.SomePublicRecordWithIntIdFindUniqueOrThrowArgs, + result: $Utils.PayloadToResult + } + findFirst: { + args: Prisma.SomePublicRecordWithIntIdFindFirstArgs, + result: $Utils.PayloadToResult | null + } + findFirstOrThrow: { + args: Prisma.SomePublicRecordWithIntIdFindFirstOrThrowArgs, + result: $Utils.PayloadToResult + } + findMany: { + args: Prisma.SomePublicRecordWithIntIdFindManyArgs, + result: $Utils.PayloadToResult[] + } + create: { + args: Prisma.SomePublicRecordWithIntIdCreateArgs, + result: $Utils.PayloadToResult + } + createMany: { + args: Prisma.SomePublicRecordWithIntIdCreateManyArgs, + result: Prisma.BatchPayload + } + delete: { + args: Prisma.SomePublicRecordWithIntIdDeleteArgs, + result: $Utils.PayloadToResult + } + update: { + args: Prisma.SomePublicRecordWithIntIdUpdateArgs, + result: $Utils.PayloadToResult + } + deleteMany: { + args: Prisma.SomePublicRecordWithIntIdDeleteManyArgs, + result: Prisma.BatchPayload + } + updateMany: { + args: Prisma.SomePublicRecordWithIntIdUpdateManyArgs, + result: Prisma.BatchPayload + } + upsert: { + args: Prisma.SomePublicRecordWithIntIdUpsertArgs, + result: $Utils.PayloadToResult + } + aggregate: { + args: Prisma.SomePublicRecordWithIntIdAggregateArgs, + result: $Utils.Optional + } + groupBy: { + args: Prisma.SomePublicRecordWithIntIdGroupByArgs, + result: $Utils.Optional[] + } + count: { + args: Prisma.SomePublicRecordWithIntIdCountArgs, + result: $Utils.Optional | number + } + } + } + } + } & { + other: { + payload: any + operations: { + $executeRawUnsafe: { + args: [query: string, ...values: any[]], + result: any + } + $executeRaw: { + args: [query: TemplateStringsArray | Prisma.Sql, ...values: any[]], + result: any + } + $queryRawUnsafe: { + args: [query: string, ...values: any[]], + result: any + } + $queryRaw: { + args: [query: TemplateStringsArray | Prisma.Sql, ...values: any[]], + result: any + } + } + } + } + export const defineExtension: $Extensions.ExtendsHook<'define', Prisma.TypeMapCb, $Extensions.DefaultArgs> + export type DefaultPrismaClient = PrismaClient + export type ErrorFormat = 'pretty' | 'colorless' | 'minimal' export interface PrismaClientOptions { /** - * Configure findUnique/findFirst to throw an error if the query returns null. - * * @example - * ``` - * // Reject on both findUnique/findFirst - * rejectOnNotFound: true - * // Reject only on findFirst with a custom error - * rejectOnNotFound: { findFirst: (err) => new Error("Custom Error")} - * // Reject on user.findUnique with a custom error - * rejectOnNotFound: { findUnique: {User: (err) => new Error("User not found")}} - * ``` + * Overwrites the datasource url from your schema.prisma file */ - rejectOnNotFound?: RejectOnNotFound | RejectPerOperation + datasources?: Datasources /** - * Overwrites the datasource url from your prisma.schema file + * Overwrites the datasource url from your schema.prisma file */ - datasources?: Datasources - + datasourceUrl?: string /** * @default "colorless" */ errorFormat?: ErrorFormat - /** * @example * ``` @@ -866,19 +1442,15 @@ export namespace Prisma { * * // Emit as events * log: [ - * { emit: 'stdout', level: 'query' }, - * { emit: 'stdout', level: 'info' }, - * { emit: 'stdout', level: 'warn' } - * { emit: 'stdout', level: 'error' } + * { emit: 'stdout', level: 'query' }, + * { emit: 'stdout', level: 'info' }, + * { emit: 'stdout', level: 'warn' } + * { emit: 'stdout', level: 'error' } * ] * ``` * Read more in our [docs](https://www.prisma.io/docs/reference/tools-and-interfaces/prisma-client/logging#the-log-option). */ - log?: Array - } - - export type Hooks = { - beforeRequest?: (options: { query: string, path: string[], rootField?: string, typeName?: string, document: any }) => any + log?: (LogLevel | LogDefinition)[] } /* Types for Logging */ @@ -911,8 +1483,10 @@ export namespace Prisma { export type PrismaAction = | 'findUnique' + | 'findUniqueOrThrow' | 'findMany' | 'findFirst' + | 'findFirstOrThrow' | 'create' | 'createMany' | 'update' @@ -926,9 +1500,10 @@ export namespace Prisma { | 'count' | 'runCommandRaw' | 'findRaw' + | 'groupBy' /** - * These options are being passed in to the middleware as "params" + * These options are being passed into the middleware as "params" */ export type MiddlewareParams = { model?: ModelName @@ -943,12 +1518,17 @@ export namespace Prisma { */ export type Middleware = ( params: MiddlewareParams, - next: (params: MiddlewareParams) => Promise, - ) => Promise + next: (params: MiddlewareParams) => $Utils.JsPromise, + ) => $Utils.JsPromise // tested in getLogLevel.test.ts export function getLogLevel(log: Array): LogLevel | undefined; + /** + * `PrismaClient` proxy available in interactive transactions. + */ + export type TransactionClient = Omit + export type Datasource = { url?: string } @@ -962,47 +1542,32 @@ export namespace Prisma { * Count Type UserRoleCountOutputType */ - export type UserRoleCountOutputType = { users: number } - export type UserRoleCountOutputTypeSelect = { - users?: boolean + export type UserRoleCountOutputTypeSelect = { + users?: boolean | UserRoleCountOutputTypeCountUsersArgs } - export type UserRoleCountOutputTypeGetPayload< - S extends boolean | null | undefined | UserRoleCountOutputTypeArgs, - U = keyof S - > = S extends true - ? UserRoleCountOutputType - : S extends undefined - ? never - : S extends UserRoleCountOutputTypeArgs - ?'include' extends U - ? UserRoleCountOutputType - : 'select' extends U - ? { - [P in TrueKeys]: - P extends keyof UserRoleCountOutputType ? UserRoleCountOutputType[P] : never - } - : UserRoleCountOutputType - : UserRoleCountOutputType - - - - // Custom InputTypes /** * UserRoleCountOutputType without action */ - export type UserRoleCountOutputTypeArgs = { + export type UserRoleCountOutputTypeDefaultArgs = { /** * Select specific fields to fetch from the UserRoleCountOutputType - * - **/ - select?: UserRoleCountOutputTypeSelect | null + */ + select?: UserRoleCountOutputTypeSelect | null + } + + + /** + * UserRoleCountOutputType without action + */ + export type UserRoleCountOutputTypeCountUsersArgs = { + where?: UserWhereInput } @@ -1011,47 +1576,32 @@ export namespace Prisma { * Count Type BlogPostCountOutputType */ - export type BlogPostCountOutputType = { comments: number } - export type BlogPostCountOutputTypeSelect = { - comments?: boolean + export type BlogPostCountOutputTypeSelect = { + comments?: boolean | BlogPostCountOutputTypeCountCommentsArgs } - export type BlogPostCountOutputTypeGetPayload< - S extends boolean | null | undefined | BlogPostCountOutputTypeArgs, - U = keyof S - > = S extends true - ? BlogPostCountOutputType - : S extends undefined - ? never - : S extends BlogPostCountOutputTypeArgs - ?'include' extends U - ? BlogPostCountOutputType - : 'select' extends U - ? { - [P in TrueKeys]: - P extends keyof BlogPostCountOutputType ? BlogPostCountOutputType[P] : never - } - : BlogPostCountOutputType - : BlogPostCountOutputType - - - - // Custom InputTypes /** * BlogPostCountOutputType without action */ - export type BlogPostCountOutputTypeArgs = { + export type BlogPostCountOutputTypeDefaultArgs = { /** * Select specific fields to fetch from the BlogPostCountOutputType - * - **/ - select?: BlogPostCountOutputTypeSelect | null + */ + select?: BlogPostCountOutputTypeSelect | null + } + + + /** + * BlogPostCountOutputType without action + */ + export type BlogPostCountOutputTypeCountCommentsArgs = { + where?: BlogPostCommentWhereInput } @@ -1060,7 +1610,6 @@ export namespace Prisma { * Count Type UserCountOutputType */ - export type UserCountOutputType = { roles: number blogPosts: number @@ -1068,45 +1617,55 @@ export namespace Prisma { companies: number } - export type UserCountOutputTypeSelect = { - roles?: boolean - blogPosts?: boolean - comments?: boolean - companies?: boolean + export type UserCountOutputTypeSelect = { + roles?: boolean | UserCountOutputTypeCountRolesArgs + blogPosts?: boolean | UserCountOutputTypeCountBlogPostsArgs + comments?: boolean | UserCountOutputTypeCountCommentsArgs + companies?: boolean | UserCountOutputTypeCountCompaniesArgs } - export type UserCountOutputTypeGetPayload< - S extends boolean | null | undefined | UserCountOutputTypeArgs, - U = keyof S - > = S extends true - ? UserCountOutputType - : S extends undefined - ? never - : S extends UserCountOutputTypeArgs - ?'include' extends U - ? UserCountOutputType - : 'select' extends U - ? { - [P in TrueKeys]: - P extends keyof UserCountOutputType ? UserCountOutputType[P] : never - } - : UserCountOutputType - : UserCountOutputType + // Custom InputTypes + /** + * UserCountOutputType without action + */ + export type UserCountOutputTypeDefaultArgs = { + /** + * Select specific fields to fetch from the UserCountOutputType + */ + select?: UserCountOutputTypeSelect | null + } + /** + * UserCountOutputType without action + */ + export type UserCountOutputTypeCountRolesArgs = { + where?: UserRoleWhereInput + } - // Custom InputTypes /** * UserCountOutputType without action */ - export type UserCountOutputTypeArgs = { - /** - * Select specific fields to fetch from the UserCountOutputType - * - **/ - select?: UserCountOutputTypeSelect | null + export type UserCountOutputTypeCountBlogPostsArgs = { + where?: BlogPostWhereInput + } + + + /** + * UserCountOutputType without action + */ + export type UserCountOutputTypeCountCommentsArgs = { + where?: BlogPostCommentWhereInput + } + + + /** + * UserCountOutputType without action + */ + export type UserCountOutputTypeCountCompaniesArgs = { + where?: CompanyWhereInput } @@ -1119,7 +1678,6 @@ export namespace Prisma { * Model UserRole */ - export type AggregateUserRole = { _count: UserRoleCountAggregateOutputType | null _min: UserRoleMinAggregateOutputType | null @@ -1159,39 +1717,34 @@ export namespace Prisma { _all?: true } - export type UserRoleAggregateArgs = { + export type UserRoleAggregateArgs = { /** * Filter which UserRole to aggregate. - * - **/ + */ where?: UserRoleWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of UserRoles to fetch. - * - **/ - orderBy?: Enumerable + */ + orderBy?: UserRoleOrderByWithRelationInput | UserRoleOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position - * - **/ + */ cursor?: UserRoleWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` UserRoles from the position of the cursor. - * - **/ + */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` UserRoles. - * - **/ + */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} @@ -1224,10 +1777,10 @@ export namespace Prisma { - export type UserRoleGroupByArgs = { + export type UserRoleGroupByArgs = { where?: UserRoleWhereInput - orderBy?: Enumerable - by: Array + orderBy?: UserRoleOrderByWithAggregationInput | UserRoleOrderByWithAggregationInput[] + by: UserRoleScalarFieldEnum[] | UserRoleScalarFieldEnum having?: UserRoleScalarWhereWithAggregatesInput take?: number skip?: number @@ -1236,7 +1789,6 @@ export namespace Prisma { _max?: UserRoleMaxAggregateInputType } - export type UserRoleGroupByOutputType = { id: string name: string @@ -1245,9 +1797,9 @@ export namespace Prisma { _max: UserRoleMaxAggregateOutputType | null } - type GetUserRoleGroupByPayload = PrismaPromise< + type GetUserRoleGroupByPayload = Prisma.PrismaPromise< Array< - PickArray & + PickEnumerable & { [P in ((keyof T) & (keyof UserRoleGroupByOutputType))]: P extends '_count' ? T[P] extends boolean @@ -1259,49 +1811,46 @@ export namespace Prisma { > - export type UserRoleSelect = { + export type UserRoleSelect = $Extensions.GetSelect<{ + id?: boolean + name?: boolean + users?: boolean | UserRole$usersArgs + _count?: boolean | UserRoleCountOutputTypeDefaultArgs + }, ExtArgs["result"]["userRole"]> + + export type UserRoleSelectScalar = { id?: boolean name?: boolean - users?: boolean | UserFindManyArgs - _count?: boolean | UserRoleCountOutputTypeArgs - } - - export type UserRoleInclude = { - users?: boolean | UserFindManyArgs - _count?: boolean | UserRoleCountOutputTypeArgs - } - - export type UserRoleGetPayload< - S extends boolean | null | undefined | UserRoleArgs, - U = keyof S - > = S extends true - ? UserRole - : S extends undefined - ? never - : S extends UserRoleArgs | UserRoleFindManyArgs - ?'include' extends U - ? UserRole & { - [P in TrueKeys]: - P extends 'users' ? Array < UserGetPayload> : - P extends '_count' ? UserRoleCountOutputTypeGetPayload : never - } - : 'select' extends U - ? { - [P in TrueKeys]: - P extends 'users' ? Array < UserGetPayload> : - P extends '_count' ? UserRoleCountOutputTypeGetPayload : P extends keyof UserRole ? UserRole[P] : never - } - : UserRole - : UserRole - - - type UserRoleCountArgs = Merge< - Omit & { + } + + export type UserRoleInclude = { + users?: boolean | UserRole$usersArgs + _count?: boolean | UserRoleCountOutputTypeDefaultArgs + } + + + export type $UserRolePayload = { + name: "UserRole" + objects: { + users: Prisma.$UserPayload[] + } + scalars: $Extensions.GetPayloadResult<{ + id: string + name: string + }, ExtArgs["result"]["userRole"]> + composites: {} + } + + + type UserRoleGetPayload = $Result.GetResult + + type UserRoleCountArgs = + Omit & { select?: UserRoleCountAggregateInputType | true } - > - export interface UserRoleDelegate { + export interface UserRoleDelegate { + [K: symbol]: { types: Prisma.TypeMap['model']['UserRole'], meta: { name: 'UserRole' } } /** * Find zero or one UserRole that matches the filter. * @param {UserRoleFindUniqueArgs} args - Arguments to find a UserRole @@ -1313,9 +1862,25 @@ export namespace Prisma { * } * }) **/ - findUnique( - args: SelectSubset - ): HasReject extends True ? CheckSelect, Prisma__UserRoleClient>> : CheckSelect, Prisma__UserRoleClient | null >> + findUnique>( + args: SelectSubset> + ): Prisma__UserRoleClient<$Result.GetResult, T, 'findUnique'> | null, null, ExtArgs> + + /** + * Find one UserRole that matches the filter or throw an error with `error.code='P2025'` + * if no matches were found. + * @param {UserRoleFindUniqueOrThrowArgs} args - Arguments to find a UserRole + * @example + * // Get one UserRole + * const userRole = await prisma.userRole.findUniqueOrThrow({ + * where: { + * // ... provide filter here + * } + * }) + **/ + findUniqueOrThrow>( + args?: SelectSubset> + ): Prisma__UserRoleClient<$Result.GetResult, T, 'findUniqueOrThrow'>, never, ExtArgs> /** * Find the first UserRole that matches the filter. @@ -1330,9 +1895,27 @@ export namespace Prisma { * } * }) **/ - findFirst( - args?: SelectSubset - ): HasReject extends True ? CheckSelect, Prisma__UserRoleClient>> : CheckSelect, Prisma__UserRoleClient | null >> + findFirst>( + args?: SelectSubset> + ): Prisma__UserRoleClient<$Result.GetResult, T, 'findFirst'> | null, null, ExtArgs> + + /** + * Find the first UserRole that matches the filter or + * throw `PrismaKnownClientError` with `P2025` code if no matches were found. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {UserRoleFindFirstOrThrowArgs} args - Arguments to find a UserRole + * @example + * // Get one UserRole + * const userRole = await prisma.userRole.findFirstOrThrow({ + * where: { + * // ... provide filter here + * } + * }) + **/ + findFirstOrThrow>( + args?: SelectSubset> + ): Prisma__UserRoleClient<$Result.GetResult, T, 'findFirstOrThrow'>, never, ExtArgs> /** * Find zero or more UserRoles that matches the filter. @@ -1350,9 +1933,9 @@ export namespace Prisma { * const userRoleWithIdOnly = await prisma.userRole.findMany({ select: { id: true } }) * **/ - findMany( - args?: SelectSubset - ): CheckSelect>, PrismaPromise>>> + findMany>( + args?: SelectSubset> + ): Prisma.PrismaPromise<$Result.GetResult, T, 'findMany'>> /** * Create a UserRole. @@ -1366,9 +1949,9 @@ export namespace Prisma { * }) * **/ - create( - args: SelectSubset - ): CheckSelect, Prisma__UserRoleClient>> + create>( + args: SelectSubset> + ): Prisma__UserRoleClient<$Result.GetResult, T, 'create'>, never, ExtArgs> /** * Create many UserRoles. @@ -1382,9 +1965,9 @@ export namespace Prisma { * }) * **/ - createMany( - args?: SelectSubset - ): PrismaPromise + createMany>( + args?: SelectSubset> + ): Prisma.PrismaPromise /** * Delete a UserRole. @@ -1398,9 +1981,9 @@ export namespace Prisma { * }) * **/ - delete( - args: SelectSubset - ): CheckSelect, Prisma__UserRoleClient>> + delete>( + args: SelectSubset> + ): Prisma__UserRoleClient<$Result.GetResult, T, 'delete'>, never, ExtArgs> /** * Update one UserRole. @@ -1417,9 +2000,9 @@ export namespace Prisma { * }) * **/ - update( - args: SelectSubset - ): CheckSelect, Prisma__UserRoleClient>> + update>( + args: SelectSubset> + ): Prisma__UserRoleClient<$Result.GetResult, T, 'update'>, never, ExtArgs> /** * Delete zero or more UserRoles. @@ -1433,9 +2016,9 @@ export namespace Prisma { * }) * **/ - deleteMany( - args?: SelectSubset - ): PrismaPromise + deleteMany>( + args?: SelectSubset> + ): Prisma.PrismaPromise /** * Update zero or more UserRoles. @@ -1454,9 +2037,9 @@ export namespace Prisma { * }) * **/ - updateMany( - args: SelectSubset - ): PrismaPromise + updateMany>( + args: SelectSubset> + ): Prisma.PrismaPromise /** * Create or update one UserRole. @@ -1475,9 +2058,9 @@ export namespace Prisma { * } * }) **/ - upsert( - args: SelectSubset - ): CheckSelect, Prisma__UserRoleClient>> + upsert>( + args: SelectSubset> + ): Prisma__UserRoleClient<$Result.GetResult, T, 'upsert'>, never, ExtArgs> /** * Count the number of UserRoles. @@ -1494,8 +2077,8 @@ export namespace Prisma { **/ count( args?: Subset, - ): PrismaPromise< - T extends _Record<'select', any> + ): Prisma.PrismaPromise< + T extends $Utils.Record<'select', any> ? T['select'] extends true ? number : GetScalarType @@ -1526,7 +2109,7 @@ export namespace Prisma { * take: 10, * }) **/ - aggregate(args: Subset): PrismaPromise> + aggregate(args: Subset): Prisma.PrismaPromise> /** * Group by UserRole. @@ -1556,7 +2139,7 @@ export namespace Prisma { ? { orderBy: UserRoleGroupByArgs['orderBy'] } : { orderBy?: UserRoleGroupByArgs['orderBy'] }, OrderFields extends ExcludeUnderscoreKeys>>, - ByFields extends TupleToUnion, + ByFields extends MaybeTupleToUnion, ByValid extends Has, HavingFields extends GetHavingFields, HavingValid extends Has, @@ -1603,7 +2186,11 @@ export namespace Prisma { ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` }[OrderFields] - >(args: SubsetIntersection & InputErrors): {} extends InputErrors ? GetUserRoleGroupByPayload : PrismaPromise + >(args: SubsetIntersection & InputErrors): {} extends InputErrors ? GetUserRoleGroupByPayload : Prisma.PrismaPromise + /** + * Fields of the UserRole model + */ + readonly fields: UserRoleFieldRefs; } /** @@ -1612,208 +2199,241 @@ export namespace Prisma { * Because we want to prevent naming conflicts as mentioned in * https://github.com/prisma/prisma-client-js/issues/707 */ - export class Prisma__UserRoleClient implements PrismaPromise { - [prisma]: true; - private readonly _dmmf; - private readonly _fetcher; - private readonly _queryType; - private readonly _rootField; - private readonly _clientMethod; - private readonly _args; - private readonly _dataPath; - private readonly _errorFormat; - private readonly _measurePerformance?; - private _isList; - private _callsite; - private _requestPromise?; - constructor(_dmmf: runtime.DMMFClass, _fetcher: PrismaClientFetcher, _queryType: 'query' | 'mutation', _rootField: string, _clientMethod: string, _args: any, _dataPath: string[], _errorFormat: ErrorFormat, _measurePerformance?: boolean | undefined, _isList?: boolean); - readonly [Symbol.toStringTag]: 'PrismaClientPromise'; - - users(args?: Subset): CheckSelect>, PrismaPromise>>>; - - private get _document(); + export interface Prisma__UserRoleClient extends Prisma.PrismaPromise { + readonly [Symbol.toStringTag]: 'PrismaPromise'; + + users = {}>(args?: Subset>): Prisma.PrismaPromise<$Result.GetResult, T, 'findMany'> | Null>; + /** * Attaches callbacks for the resolution and/or rejection of the Promise. * @param onfulfilled The callback to execute when the Promise is resolved. * @param onrejected The callback to execute when the Promise is rejected. * @returns A Promise for the completion of which ever callback is executed. */ - then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): Promise; + then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): $Utils.JsPromise; /** * Attaches a callback for only the rejection of the Promise. * @param onrejected The callback to execute when the Promise is rejected. * @returns A Promise for the completion of the callback. */ - catch(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): Promise; + catch(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): $Utils.JsPromise; /** * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The * resolved value cannot be modified from the callback. * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected). * @returns A Promise for the completion of the callback. */ - finally(onfinally?: (() => void) | undefined | null): Promise; + finally(onfinally?: (() => void) | undefined | null): $Utils.JsPromise; } + + + /** + * Fields of the UserRole model + */ + interface UserRoleFieldRefs { + readonly id: FieldRef<"UserRole", 'String'> + readonly name: FieldRef<"UserRole", 'String'> + } + + // Custom InputTypes /** * UserRole findUnique */ - export type UserRoleFindUniqueArgs = { + export type UserRoleFindUniqueArgs = { /** * Select specific fields to fetch from the UserRole - * - **/ - select?: UserRoleSelect | null + */ + select?: UserRoleSelect | null /** * Choose, which related nodes to fetch as well. - * - **/ - include?: UserRoleInclude | null - /** - * Throw an Error if a UserRole can't be found - * - **/ - rejectOnNotFound?: RejectOnNotFound + */ + include?: UserRoleInclude | null /** * Filter, which UserRole to fetch. - * - **/ + */ where: UserRoleWhereUniqueInput } /** - * UserRole findFirst + * UserRole findUniqueOrThrow */ - export type UserRoleFindFirstArgs = { + export type UserRoleFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the UserRole - * - **/ - select?: UserRoleSelect | null + */ + select?: UserRoleSelect | null /** * Choose, which related nodes to fetch as well. - * - **/ - include?: UserRoleInclude | null + */ + include?: UserRoleInclude | null /** - * Throw an Error if a UserRole can't be found - * - **/ - rejectOnNotFound?: RejectOnNotFound + * Filter, which UserRole to fetch. + */ + where: UserRoleWhereUniqueInput + } + + + /** + * UserRole findFirst + */ + export type UserRoleFindFirstArgs = { + /** + * Select specific fields to fetch from the UserRole + */ + select?: UserRoleSelect | null + /** + * Choose, which related nodes to fetch as well. + */ + include?: UserRoleInclude | null /** * Filter, which UserRole to fetch. - * - **/ + */ where?: UserRoleWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of UserRoles to fetch. - * - **/ - orderBy?: Enumerable + */ + orderBy?: UserRoleOrderByWithRelationInput | UserRoleOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for UserRoles. - * - **/ + */ cursor?: UserRoleWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` UserRoles from the position of the cursor. - * - **/ + */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` UserRoles. - * - **/ + */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of UserRoles. + */ + distinct?: UserRoleScalarFieldEnum | UserRoleScalarFieldEnum[] + } + + + /** + * UserRole findFirstOrThrow + */ + export type UserRoleFindFirstOrThrowArgs = { + /** + * Select specific fields to fetch from the UserRole + */ + select?: UserRoleSelect | null + /** + * Choose, which related nodes to fetch as well. + */ + include?: UserRoleInclude | null + /** + * Filter, which UserRole to fetch. + */ + where?: UserRoleWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * - **/ - distinct?: Enumerable + * Determine the order of UserRoles to fetch. + */ + orderBy?: UserRoleOrderByWithRelationInput | UserRoleOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for searching for UserRoles. + */ + cursor?: UserRoleWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` UserRoles from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` UserRoles. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of UserRoles. + */ + distinct?: UserRoleScalarFieldEnum | UserRoleScalarFieldEnum[] } /** * UserRole findMany */ - export type UserRoleFindManyArgs = { + export type UserRoleFindManyArgs = { /** * Select specific fields to fetch from the UserRole - * - **/ - select?: UserRoleSelect | null + */ + select?: UserRoleSelect | null /** * Choose, which related nodes to fetch as well. - * - **/ - include?: UserRoleInclude | null + */ + include?: UserRoleInclude | null /** * Filter, which UserRoles to fetch. - * - **/ + */ where?: UserRoleWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of UserRoles to fetch. - * - **/ - orderBy?: Enumerable + */ + orderBy?: UserRoleOrderByWithRelationInput | UserRoleOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing UserRoles. - * - **/ + */ cursor?: UserRoleWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` UserRoles from the position of the cursor. - * - **/ + */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` UserRoles. - * - **/ + */ skip?: number - distinct?: Enumerable + distinct?: UserRoleScalarFieldEnum | UserRoleScalarFieldEnum[] } /** * UserRole create */ - export type UserRoleCreateArgs = { + export type UserRoleCreateArgs = { /** * Select specific fields to fetch from the UserRole - * - **/ - select?: UserRoleSelect | null + */ + select?: UserRoleSelect | null /** * Choose, which related nodes to fetch as well. - * - **/ - include?: UserRoleInclude | null + */ + include?: UserRoleInclude | null /** * The data needed to create a UserRole. - * - **/ + */ data: XOR } @@ -1821,12 +2441,11 @@ export namespace Prisma { /** * UserRole createMany */ - export type UserRoleCreateManyArgs = { + export type UserRoleCreateManyArgs = { /** * The data used to create many UserRoles. - * - **/ - data: Enumerable + */ + data: UserRoleCreateManyInput | UserRoleCreateManyInput[] skipDuplicates?: boolean } @@ -1834,26 +2453,22 @@ export namespace Prisma { /** * UserRole update */ - export type UserRoleUpdateArgs = { + export type UserRoleUpdateArgs = { /** * Select specific fields to fetch from the UserRole - * - **/ - select?: UserRoleSelect | null + */ + select?: UserRoleSelect | null /** * Choose, which related nodes to fetch as well. - * - **/ - include?: UserRoleInclude | null + */ + include?: UserRoleInclude | null /** * The data needed to update a UserRole. - * - **/ + */ data: XOR /** * Choose, which UserRole to update. - * - **/ + */ where: UserRoleWhereUniqueInput } @@ -1861,16 +2476,14 @@ export namespace Prisma { /** * UserRole updateMany */ - export type UserRoleUpdateManyArgs = { + export type UserRoleUpdateManyArgs = { /** * The data used to update UserRoles. - * - **/ + */ data: XOR /** * Filter which UserRoles to update - * - **/ + */ where?: UserRoleWhereInput } @@ -1878,31 +2491,26 @@ export namespace Prisma { /** * UserRole upsert */ - export type UserRoleUpsertArgs = { + export type UserRoleUpsertArgs = { /** * Select specific fields to fetch from the UserRole - * - **/ - select?: UserRoleSelect | null + */ + select?: UserRoleSelect | null /** * Choose, which related nodes to fetch as well. - * - **/ - include?: UserRoleInclude | null + */ + include?: UserRoleInclude | null /** * The filter to search for the UserRole to update in case it exists. - * - **/ + */ where: UserRoleWhereUniqueInput /** * In case the UserRole found by the `where` argument doesn't exist, create a new UserRole with this data. - * - **/ + */ create: XOR /** * In case the UserRole was found with the provided `where` argument, update it with this data. - * - **/ + */ update: XOR } @@ -1910,21 +2518,18 @@ export namespace Prisma { /** * UserRole delete */ - export type UserRoleDeleteArgs = { + export type UserRoleDeleteArgs = { /** * Select specific fields to fetch from the UserRole - * - **/ - select?: UserRoleSelect | null + */ + select?: UserRoleSelect | null /** * Choose, which related nodes to fetch as well. - * - **/ - include?: UserRoleInclude | null + */ + include?: UserRoleInclude | null /** * Filter which UserRole to delete. - * - **/ + */ where: UserRoleWhereUniqueInput } @@ -1932,29 +2537,47 @@ export namespace Prisma { /** * UserRole deleteMany */ - export type UserRoleDeleteManyArgs = { + export type UserRoleDeleteManyArgs = { /** * Filter which UserRoles to delete - * - **/ + */ where?: UserRoleWhereInput } + /** + * UserRole.users + */ + export type UserRole$usersArgs = { + /** + * Select specific fields to fetch from the User + */ + select?: UserSelect | null + /** + * Choose, which related nodes to fetch as well. + */ + include?: UserInclude | null + where?: UserWhereInput + orderBy?: UserOrderByWithRelationInput | UserOrderByWithRelationInput[] + cursor?: UserWhereUniqueInput + take?: number + skip?: number + distinct?: UserScalarFieldEnum | UserScalarFieldEnum[] + } + + /** * UserRole without action */ - export type UserRoleArgs = { + export type UserRoleDefaultArgs = { /** * Select specific fields to fetch from the UserRole - * - **/ - select?: UserRoleSelect | null + */ + select?: UserRoleSelect | null /** * Choose, which related nodes to fetch as well. - * - **/ - include?: UserRoleInclude | null + */ + include?: UserRoleInclude | null } @@ -1963,7 +2586,6 @@ export namespace Prisma { * Model Company */ - export type AggregateCompany = { _count: CompanyCountAggregateOutputType | null _min: CompanyMinAggregateOutputType | null @@ -2009,39 +2631,34 @@ export namespace Prisma { _all?: true } - export type CompanyAggregateArgs = { + export type CompanyAggregateArgs = { /** * Filter which Company to aggregate. - * - **/ + */ where?: CompanyWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Companies to fetch. - * - **/ - orderBy?: Enumerable + */ + orderBy?: CompanyOrderByWithRelationInput | CompanyOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position - * - **/ + */ cursor?: CompanyWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Companies from the position of the cursor. - * - **/ + */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` Companies. - * - **/ + */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} @@ -2074,10 +2691,10 @@ export namespace Prisma { - export type CompanyGroupByArgs = { + export type CompanyGroupByArgs = { where?: CompanyWhereInput - orderBy?: Enumerable - by: Array + orderBy?: CompanyOrderByWithAggregationInput | CompanyOrderByWithAggregationInput[] + by: CompanyScalarFieldEnum[] | CompanyScalarFieldEnum having?: CompanyScalarWhereWithAggregatesInput take?: number skip?: number @@ -2086,7 +2703,6 @@ export namespace Prisma { _max?: CompanyMaxAggregateInputType } - export type CompanyGroupByOutputType = { id: string name: string @@ -2096,9 +2712,9 @@ export namespace Prisma { _max: CompanyMaxAggregateOutputType | null } - type GetCompanyGroupByPayload = PrismaPromise< + type GetCompanyGroupByPayload = Prisma.PrismaPromise< Array< - PickArray & + PickEnumerable & { [P in ((keyof T) & (keyof CompanyGroupByOutputType))]: P extends '_count' ? T[P] extends boolean @@ -2110,46 +2726,47 @@ export namespace Prisma { > - export type CompanySelect = { + export type CompanySelect = $Extensions.GetSelect<{ id?: boolean name?: boolean - user?: boolean | UserArgs userId?: boolean + user?: boolean | UserDefaultArgs + }, ExtArgs["result"]["company"]> + + export type CompanySelectScalar = { + id?: boolean + name?: boolean + userId?: boolean + } + + export type CompanyInclude = { + user?: boolean | UserDefaultArgs + } + + + export type $CompanyPayload = { + name: "Company" + objects: { + user: Prisma.$UserPayload + } + scalars: $Extensions.GetPayloadResult<{ + id: string + name: string + userId: string + }, ExtArgs["result"]["company"]> + composites: {} } - export type CompanyInclude = { - user?: boolean | UserArgs - } - - export type CompanyGetPayload< - S extends boolean | null | undefined | CompanyArgs, - U = keyof S - > = S extends true - ? Company - : S extends undefined - ? never - : S extends CompanyArgs | CompanyFindManyArgs - ?'include' extends U - ? Company & { - [P in TrueKeys]: - P extends 'user' ? UserGetPayload : never - } - : 'select' extends U - ? { - [P in TrueKeys]: - P extends 'user' ? UserGetPayload : P extends keyof Company ? Company[P] : never - } - : Company - : Company - - - type CompanyCountArgs = Merge< - Omit & { + + type CompanyGetPayload = $Result.GetResult + + type CompanyCountArgs = + Omit & { select?: CompanyCountAggregateInputType | true } - > - export interface CompanyDelegate { + export interface CompanyDelegate { + [K: symbol]: { types: Prisma.TypeMap['model']['Company'], meta: { name: 'Company' } } /** * Find zero or one Company that matches the filter. * @param {CompanyFindUniqueArgs} args - Arguments to find a Company @@ -2161,9 +2778,25 @@ export namespace Prisma { * } * }) **/ - findUnique( - args: SelectSubset - ): HasReject extends True ? CheckSelect, Prisma__CompanyClient>> : CheckSelect, Prisma__CompanyClient | null >> + findUnique>( + args: SelectSubset> + ): Prisma__CompanyClient<$Result.GetResult, T, 'findUnique'> | null, null, ExtArgs> + + /** + * Find one Company that matches the filter or throw an error with `error.code='P2025'` + * if no matches were found. + * @param {CompanyFindUniqueOrThrowArgs} args - Arguments to find a Company + * @example + * // Get one Company + * const company = await prisma.company.findUniqueOrThrow({ + * where: { + * // ... provide filter here + * } + * }) + **/ + findUniqueOrThrow>( + args?: SelectSubset> + ): Prisma__CompanyClient<$Result.GetResult, T, 'findUniqueOrThrow'>, never, ExtArgs> /** * Find the first Company that matches the filter. @@ -2178,9 +2811,27 @@ export namespace Prisma { * } * }) **/ - findFirst( - args?: SelectSubset - ): HasReject extends True ? CheckSelect, Prisma__CompanyClient>> : CheckSelect, Prisma__CompanyClient | null >> + findFirst>( + args?: SelectSubset> + ): Prisma__CompanyClient<$Result.GetResult, T, 'findFirst'> | null, null, ExtArgs> + + /** + * Find the first Company that matches the filter or + * throw `PrismaKnownClientError` with `P2025` code if no matches were found. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {CompanyFindFirstOrThrowArgs} args - Arguments to find a Company + * @example + * // Get one Company + * const company = await prisma.company.findFirstOrThrow({ + * where: { + * // ... provide filter here + * } + * }) + **/ + findFirstOrThrow>( + args?: SelectSubset> + ): Prisma__CompanyClient<$Result.GetResult, T, 'findFirstOrThrow'>, never, ExtArgs> /** * Find zero or more Companies that matches the filter. @@ -2198,9 +2849,9 @@ export namespace Prisma { * const companyWithIdOnly = await prisma.company.findMany({ select: { id: true } }) * **/ - findMany( - args?: SelectSubset - ): CheckSelect>, PrismaPromise>>> + findMany>( + args?: SelectSubset> + ): Prisma.PrismaPromise<$Result.GetResult, T, 'findMany'>> /** * Create a Company. @@ -2214,9 +2865,9 @@ export namespace Prisma { * }) * **/ - create( - args: SelectSubset - ): CheckSelect, Prisma__CompanyClient>> + create>( + args: SelectSubset> + ): Prisma__CompanyClient<$Result.GetResult, T, 'create'>, never, ExtArgs> /** * Create many Companies. @@ -2230,9 +2881,9 @@ export namespace Prisma { * }) * **/ - createMany( - args?: SelectSubset - ): PrismaPromise + createMany>( + args?: SelectSubset> + ): Prisma.PrismaPromise /** * Delete a Company. @@ -2246,9 +2897,9 @@ export namespace Prisma { * }) * **/ - delete( - args: SelectSubset - ): CheckSelect, Prisma__CompanyClient>> + delete>( + args: SelectSubset> + ): Prisma__CompanyClient<$Result.GetResult, T, 'delete'>, never, ExtArgs> /** * Update one Company. @@ -2265,9 +2916,9 @@ export namespace Prisma { * }) * **/ - update( - args: SelectSubset - ): CheckSelect, Prisma__CompanyClient>> + update>( + args: SelectSubset> + ): Prisma__CompanyClient<$Result.GetResult, T, 'update'>, never, ExtArgs> /** * Delete zero or more Companies. @@ -2281,9 +2932,9 @@ export namespace Prisma { * }) * **/ - deleteMany( - args?: SelectSubset - ): PrismaPromise + deleteMany>( + args?: SelectSubset> + ): Prisma.PrismaPromise /** * Update zero or more Companies. @@ -2302,9 +2953,9 @@ export namespace Prisma { * }) * **/ - updateMany( - args: SelectSubset - ): PrismaPromise + updateMany>( + args: SelectSubset> + ): Prisma.PrismaPromise /** * Create or update one Company. @@ -2323,9 +2974,9 @@ export namespace Prisma { * } * }) **/ - upsert( - args: SelectSubset - ): CheckSelect, Prisma__CompanyClient>> + upsert>( + args: SelectSubset> + ): Prisma__CompanyClient<$Result.GetResult, T, 'upsert'>, never, ExtArgs> /** * Count the number of Companies. @@ -2342,8 +2993,8 @@ export namespace Prisma { **/ count( args?: Subset, - ): PrismaPromise< - T extends _Record<'select', any> + ): Prisma.PrismaPromise< + T extends $Utils.Record<'select', any> ? T['select'] extends true ? number : GetScalarType @@ -2374,7 +3025,7 @@ export namespace Prisma { * take: 10, * }) **/ - aggregate(args: Subset): PrismaPromise> + aggregate(args: Subset): Prisma.PrismaPromise> /** * Group by Company. @@ -2404,7 +3055,7 @@ export namespace Prisma { ? { orderBy: CompanyGroupByArgs['orderBy'] } : { orderBy?: CompanyGroupByArgs['orderBy'] }, OrderFields extends ExcludeUnderscoreKeys>>, - ByFields extends TupleToUnion, + ByFields extends MaybeTupleToUnion, ByValid extends Has, HavingFields extends GetHavingFields, HavingValid extends Has, @@ -2451,7 +3102,11 @@ export namespace Prisma { ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` }[OrderFields] - >(args: SubsetIntersection & InputErrors): {} extends InputErrors ? GetCompanyGroupByPayload : PrismaPromise + >(args: SubsetIntersection & InputErrors): {} extends InputErrors ? GetCompanyGroupByPayload : Prisma.PrismaPromise + /** + * Fields of the Company model + */ + readonly fields: CompanyFieldRefs; } /** @@ -2460,208 +3115,242 @@ export namespace Prisma { * Because we want to prevent naming conflicts as mentioned in * https://github.com/prisma/prisma-client-js/issues/707 */ - export class Prisma__CompanyClient implements PrismaPromise { - [prisma]: true; - private readonly _dmmf; - private readonly _fetcher; - private readonly _queryType; - private readonly _rootField; - private readonly _clientMethod; - private readonly _args; - private readonly _dataPath; - private readonly _errorFormat; - private readonly _measurePerformance?; - private _isList; - private _callsite; - private _requestPromise?; - constructor(_dmmf: runtime.DMMFClass, _fetcher: PrismaClientFetcher, _queryType: 'query' | 'mutation', _rootField: string, _clientMethod: string, _args: any, _dataPath: string[], _errorFormat: ErrorFormat, _measurePerformance?: boolean | undefined, _isList?: boolean); - readonly [Symbol.toStringTag]: 'PrismaClientPromise'; - - user(args?: Subset): CheckSelect, Prisma__UserClient | null >>; - - private get _document(); + export interface Prisma__CompanyClient extends Prisma.PrismaPromise { + readonly [Symbol.toStringTag]: 'PrismaPromise'; + + user = {}>(args?: Subset>): Prisma__UserClient<$Result.GetResult, T, 'findUniqueOrThrow'> | Null, Null, ExtArgs>; + /** * Attaches callbacks for the resolution and/or rejection of the Promise. * @param onfulfilled The callback to execute when the Promise is resolved. * @param onrejected The callback to execute when the Promise is rejected. * @returns A Promise for the completion of which ever callback is executed. */ - then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): Promise; + then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): $Utils.JsPromise; /** * Attaches a callback for only the rejection of the Promise. * @param onrejected The callback to execute when the Promise is rejected. * @returns A Promise for the completion of the callback. */ - catch(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): Promise; + catch(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): $Utils.JsPromise; /** * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The * resolved value cannot be modified from the callback. * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected). * @returns A Promise for the completion of the callback. */ - finally(onfinally?: (() => void) | undefined | null): Promise; + finally(onfinally?: (() => void) | undefined | null): $Utils.JsPromise; + } + + + + /** + * Fields of the Company model + */ + interface CompanyFieldRefs { + readonly id: FieldRef<"Company", 'String'> + readonly name: FieldRef<"Company", 'String'> + readonly userId: FieldRef<"Company", 'String'> } + // Custom InputTypes /** * Company findUnique */ - export type CompanyFindUniqueArgs = { + export type CompanyFindUniqueArgs = { /** * Select specific fields to fetch from the Company - * - **/ - select?: CompanySelect | null + */ + select?: CompanySelect | null /** * Choose, which related nodes to fetch as well. - * - **/ - include?: CompanyInclude | null - /** - * Throw an Error if a Company can't be found - * - **/ - rejectOnNotFound?: RejectOnNotFound + */ + include?: CompanyInclude | null /** * Filter, which Company to fetch. - * - **/ + */ where: CompanyWhereUniqueInput } /** - * Company findFirst + * Company findUniqueOrThrow */ - export type CompanyFindFirstArgs = { + export type CompanyFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the Company - * - **/ - select?: CompanySelect | null + */ + select?: CompanySelect | null /** * Choose, which related nodes to fetch as well. - * - **/ - include?: CompanyInclude | null - /** - * Throw an Error if a Company can't be found - * - **/ - rejectOnNotFound?: RejectOnNotFound + */ + include?: CompanyInclude | null /** * Filter, which Company to fetch. - * - **/ + */ + where: CompanyWhereUniqueInput + } + + + /** + * Company findFirst + */ + export type CompanyFindFirstArgs = { + /** + * Select specific fields to fetch from the Company + */ + select?: CompanySelect | null + /** + * Choose, which related nodes to fetch as well. + */ + include?: CompanyInclude | null + /** + * Filter, which Company to fetch. + */ where?: CompanyWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Companies to fetch. - * - **/ - orderBy?: Enumerable + */ + orderBy?: CompanyOrderByWithRelationInput | CompanyOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for Companies. - * - **/ + */ cursor?: CompanyWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Companies from the position of the cursor. - * - **/ + */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` Companies. - * - **/ + */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of Companies. + */ + distinct?: CompanyScalarFieldEnum | CompanyScalarFieldEnum[] + } + + + /** + * Company findFirstOrThrow + */ + export type CompanyFindFirstOrThrowArgs = { + /** + * Select specific fields to fetch from the Company + */ + select?: CompanySelect | null + /** + * Choose, which related nodes to fetch as well. + */ + include?: CompanyInclude | null + /** + * Filter, which Company to fetch. + */ + where?: CompanyWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * - **/ - distinct?: Enumerable + * Determine the order of Companies to fetch. + */ + orderBy?: CompanyOrderByWithRelationInput | CompanyOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for searching for Companies. + */ + cursor?: CompanyWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` Companies from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` Companies. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of Companies. + */ + distinct?: CompanyScalarFieldEnum | CompanyScalarFieldEnum[] } /** * Company findMany */ - export type CompanyFindManyArgs = { + export type CompanyFindManyArgs = { /** * Select specific fields to fetch from the Company - * - **/ - select?: CompanySelect | null + */ + select?: CompanySelect | null /** * Choose, which related nodes to fetch as well. - * - **/ - include?: CompanyInclude | null + */ + include?: CompanyInclude | null /** * Filter, which Companies to fetch. - * - **/ + */ where?: CompanyWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Companies to fetch. - * - **/ - orderBy?: Enumerable + */ + orderBy?: CompanyOrderByWithRelationInput | CompanyOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing Companies. - * - **/ + */ cursor?: CompanyWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Companies from the position of the cursor. - * - **/ + */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` Companies. - * - **/ + */ skip?: number - distinct?: Enumerable + distinct?: CompanyScalarFieldEnum | CompanyScalarFieldEnum[] } /** * Company create */ - export type CompanyCreateArgs = { + export type CompanyCreateArgs = { /** * Select specific fields to fetch from the Company - * - **/ - select?: CompanySelect | null + */ + select?: CompanySelect | null /** * Choose, which related nodes to fetch as well. - * - **/ - include?: CompanyInclude | null + */ + include?: CompanyInclude | null /** * The data needed to create a Company. - * - **/ + */ data: XOR } @@ -2669,12 +3358,11 @@ export namespace Prisma { /** * Company createMany */ - export type CompanyCreateManyArgs = { + export type CompanyCreateManyArgs = { /** * The data used to create many Companies. - * - **/ - data: Enumerable + */ + data: CompanyCreateManyInput | CompanyCreateManyInput[] skipDuplicates?: boolean } @@ -2682,26 +3370,22 @@ export namespace Prisma { /** * Company update */ - export type CompanyUpdateArgs = { + export type CompanyUpdateArgs = { /** * Select specific fields to fetch from the Company - * - **/ - select?: CompanySelect | null + */ + select?: CompanySelect | null /** * Choose, which related nodes to fetch as well. - * - **/ - include?: CompanyInclude | null + */ + include?: CompanyInclude | null /** * The data needed to update a Company. - * - **/ + */ data: XOR /** * Choose, which Company to update. - * - **/ + */ where: CompanyWhereUniqueInput } @@ -2709,16 +3393,14 @@ export namespace Prisma { /** * Company updateMany */ - export type CompanyUpdateManyArgs = { + export type CompanyUpdateManyArgs = { /** * The data used to update Companies. - * - **/ + */ data: XOR /** * Filter which Companies to update - * - **/ + */ where?: CompanyWhereInput } @@ -2726,31 +3408,26 @@ export namespace Prisma { /** * Company upsert */ - export type CompanyUpsertArgs = { + export type CompanyUpsertArgs = { /** * Select specific fields to fetch from the Company - * - **/ - select?: CompanySelect | null + */ + select?: CompanySelect | null /** * Choose, which related nodes to fetch as well. - * - **/ - include?: CompanyInclude | null + */ + include?: CompanyInclude | null /** * The filter to search for the Company to update in case it exists. - * - **/ + */ where: CompanyWhereUniqueInput /** * In case the Company found by the `where` argument doesn't exist, create a new Company with this data. - * - **/ + */ create: XOR /** * In case the Company was found with the provided `where` argument, update it with this data. - * - **/ + */ update: XOR } @@ -2758,21 +3435,18 @@ export namespace Prisma { /** * Company delete */ - export type CompanyDeleteArgs = { + export type CompanyDeleteArgs = { /** * Select specific fields to fetch from the Company - * - **/ - select?: CompanySelect | null + */ + select?: CompanySelect | null /** * Choose, which related nodes to fetch as well. - * - **/ - include?: CompanyInclude | null + */ + include?: CompanyInclude | null /** * Filter which Company to delete. - * - **/ + */ where: CompanyWhereUniqueInput } @@ -2780,11 +3454,10 @@ export namespace Prisma { /** * Company deleteMany */ - export type CompanyDeleteManyArgs = { + export type CompanyDeleteManyArgs = { /** * Filter which Companies to delete - * - **/ + */ where?: CompanyWhereInput } @@ -2792,17 +3465,15 @@ export namespace Prisma { /** * Company without action */ - export type CompanyArgs = { + export type CompanyDefaultArgs = { /** * Select specific fields to fetch from the Company - * - **/ - select?: CompanySelect | null + */ + select?: CompanySelect | null /** * Choose, which related nodes to fetch as well. - * - **/ - include?: CompanyInclude | null + */ + include?: CompanyInclude | null } @@ -2811,7 +3482,6 @@ export namespace Prisma { * Model UserSocialMedia */ - export type AggregateUserSocialMedia = { _count: UserSocialMediaCountAggregateOutputType | null _min: UserSocialMediaMinAggregateOutputType | null @@ -2863,39 +3533,34 @@ export namespace Prisma { _all?: true } - export type UserSocialMediaAggregateArgs = { + export type UserSocialMediaAggregateArgs = { /** * Filter which UserSocialMedia to aggregate. - * - **/ + */ where?: UserSocialMediaWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of UserSocialMedias to fetch. - * - **/ - orderBy?: Enumerable + */ + orderBy?: UserSocialMediaOrderByWithRelationInput | UserSocialMediaOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position - * - **/ + */ cursor?: UserSocialMediaWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` UserSocialMedias from the position of the cursor. - * - **/ + */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` UserSocialMedias. - * - **/ + */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} @@ -2928,10 +3593,10 @@ export namespace Prisma { - export type UserSocialMediaGroupByArgs = { + export type UserSocialMediaGroupByArgs = { where?: UserSocialMediaWhereInput - orderBy?: Enumerable - by: Array + orderBy?: UserSocialMediaOrderByWithAggregationInput | UserSocialMediaOrderByWithAggregationInput[] + by: UserSocialMediaScalarFieldEnum[] | UserSocialMediaScalarFieldEnum having?: UserSocialMediaScalarWhereWithAggregatesInput take?: number skip?: number @@ -2940,7 +3605,6 @@ export namespace Prisma { _max?: UserSocialMediaMaxAggregateInputType } - export type UserSocialMediaGroupByOutputType = { id: string instagram: string @@ -2951,9 +3615,9 @@ export namespace Prisma { _max: UserSocialMediaMaxAggregateOutputType | null } - type GetUserSocialMediaGroupByPayload = PrismaPromise< + type GetUserSocialMediaGroupByPayload = Prisma.PrismaPromise< Array< - PickArray & + PickEnumerable & { [P in ((keyof T) & (keyof UserSocialMediaGroupByOutputType))]: P extends '_count' ? T[P] extends boolean @@ -2965,47 +3629,50 @@ export namespace Prisma { > - export type UserSocialMediaSelect = { + export type UserSocialMediaSelect = $Extensions.GetSelect<{ id?: boolean instagram?: boolean twitter?: boolean - user?: boolean | UserArgs userId?: boolean + user?: boolean | UserDefaultArgs + }, ExtArgs["result"]["userSocialMedia"]> + + export type UserSocialMediaSelectScalar = { + id?: boolean + instagram?: boolean + twitter?: boolean + userId?: boolean + } + + export type UserSocialMediaInclude = { + user?: boolean | UserDefaultArgs + } + + + export type $UserSocialMediaPayload = { + name: "UserSocialMedia" + objects: { + user: Prisma.$UserPayload + } + scalars: $Extensions.GetPayloadResult<{ + id: string + instagram: string + twitter: string + userId: string + }, ExtArgs["result"]["userSocialMedia"]> + composites: {} } - export type UserSocialMediaInclude = { - user?: boolean | UserArgs - } - - export type UserSocialMediaGetPayload< - S extends boolean | null | undefined | UserSocialMediaArgs, - U = keyof S - > = S extends true - ? UserSocialMedia - : S extends undefined - ? never - : S extends UserSocialMediaArgs | UserSocialMediaFindManyArgs - ?'include' extends U - ? UserSocialMedia & { - [P in TrueKeys]: - P extends 'user' ? UserGetPayload : never - } - : 'select' extends U - ? { - [P in TrueKeys]: - P extends 'user' ? UserGetPayload : P extends keyof UserSocialMedia ? UserSocialMedia[P] : never - } - : UserSocialMedia - : UserSocialMedia - - - type UserSocialMediaCountArgs = Merge< - Omit & { + + type UserSocialMediaGetPayload = $Result.GetResult + + type UserSocialMediaCountArgs = + Omit & { select?: UserSocialMediaCountAggregateInputType | true } - > - export interface UserSocialMediaDelegate { + export interface UserSocialMediaDelegate { + [K: symbol]: { types: Prisma.TypeMap['model']['UserSocialMedia'], meta: { name: 'UserSocialMedia' } } /** * Find zero or one UserSocialMedia that matches the filter. * @param {UserSocialMediaFindUniqueArgs} args - Arguments to find a UserSocialMedia @@ -3017,9 +3684,25 @@ export namespace Prisma { * } * }) **/ - findUnique( - args: SelectSubset - ): HasReject extends True ? CheckSelect, Prisma__UserSocialMediaClient>> : CheckSelect, Prisma__UserSocialMediaClient | null >> + findUnique>( + args: SelectSubset> + ): Prisma__UserSocialMediaClient<$Result.GetResult, T, 'findUnique'> | null, null, ExtArgs> + + /** + * Find one UserSocialMedia that matches the filter or throw an error with `error.code='P2025'` + * if no matches were found. + * @param {UserSocialMediaFindUniqueOrThrowArgs} args - Arguments to find a UserSocialMedia + * @example + * // Get one UserSocialMedia + * const userSocialMedia = await prisma.userSocialMedia.findUniqueOrThrow({ + * where: { + * // ... provide filter here + * } + * }) + **/ + findUniqueOrThrow>( + args?: SelectSubset> + ): Prisma__UserSocialMediaClient<$Result.GetResult, T, 'findUniqueOrThrow'>, never, ExtArgs> /** * Find the first UserSocialMedia that matches the filter. @@ -3034,9 +3717,27 @@ export namespace Prisma { * } * }) **/ - findFirst( - args?: SelectSubset - ): HasReject extends True ? CheckSelect, Prisma__UserSocialMediaClient>> : CheckSelect, Prisma__UserSocialMediaClient | null >> + findFirst>( + args?: SelectSubset> + ): Prisma__UserSocialMediaClient<$Result.GetResult, T, 'findFirst'> | null, null, ExtArgs> + + /** + * Find the first UserSocialMedia that matches the filter or + * throw `PrismaKnownClientError` with `P2025` code if no matches were found. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {UserSocialMediaFindFirstOrThrowArgs} args - Arguments to find a UserSocialMedia + * @example + * // Get one UserSocialMedia + * const userSocialMedia = await prisma.userSocialMedia.findFirstOrThrow({ + * where: { + * // ... provide filter here + * } + * }) + **/ + findFirstOrThrow>( + args?: SelectSubset> + ): Prisma__UserSocialMediaClient<$Result.GetResult, T, 'findFirstOrThrow'>, never, ExtArgs> /** * Find zero or more UserSocialMedias that matches the filter. @@ -3054,9 +3755,9 @@ export namespace Prisma { * const userSocialMediaWithIdOnly = await prisma.userSocialMedia.findMany({ select: { id: true } }) * **/ - findMany( - args?: SelectSubset - ): CheckSelect>, PrismaPromise>>> + findMany>( + args?: SelectSubset> + ): Prisma.PrismaPromise<$Result.GetResult, T, 'findMany'>> /** * Create a UserSocialMedia. @@ -3070,9 +3771,9 @@ export namespace Prisma { * }) * **/ - create( - args: SelectSubset - ): CheckSelect, Prisma__UserSocialMediaClient>> + create>( + args: SelectSubset> + ): Prisma__UserSocialMediaClient<$Result.GetResult, T, 'create'>, never, ExtArgs> /** * Create many UserSocialMedias. @@ -3086,9 +3787,9 @@ export namespace Prisma { * }) * **/ - createMany( - args?: SelectSubset - ): PrismaPromise + createMany>( + args?: SelectSubset> + ): Prisma.PrismaPromise /** * Delete a UserSocialMedia. @@ -3102,9 +3803,9 @@ export namespace Prisma { * }) * **/ - delete( - args: SelectSubset - ): CheckSelect, Prisma__UserSocialMediaClient>> + delete>( + args: SelectSubset> + ): Prisma__UserSocialMediaClient<$Result.GetResult, T, 'delete'>, never, ExtArgs> /** * Update one UserSocialMedia. @@ -3121,9 +3822,9 @@ export namespace Prisma { * }) * **/ - update( - args: SelectSubset - ): CheckSelect, Prisma__UserSocialMediaClient>> + update>( + args: SelectSubset> + ): Prisma__UserSocialMediaClient<$Result.GetResult, T, 'update'>, never, ExtArgs> /** * Delete zero or more UserSocialMedias. @@ -3137,9 +3838,9 @@ export namespace Prisma { * }) * **/ - deleteMany( - args?: SelectSubset - ): PrismaPromise + deleteMany>( + args?: SelectSubset> + ): Prisma.PrismaPromise /** * Update zero or more UserSocialMedias. @@ -3158,9 +3859,9 @@ export namespace Prisma { * }) * **/ - updateMany( - args: SelectSubset - ): PrismaPromise + updateMany>( + args: SelectSubset> + ): Prisma.PrismaPromise /** * Create or update one UserSocialMedia. @@ -3179,9 +3880,9 @@ export namespace Prisma { * } * }) **/ - upsert( - args: SelectSubset - ): CheckSelect, Prisma__UserSocialMediaClient>> + upsert>( + args: SelectSubset> + ): Prisma__UserSocialMediaClient<$Result.GetResult, T, 'upsert'>, never, ExtArgs> /** * Count the number of UserSocialMedias. @@ -3198,8 +3899,8 @@ export namespace Prisma { **/ count( args?: Subset, - ): PrismaPromise< - T extends _Record<'select', any> + ): Prisma.PrismaPromise< + T extends $Utils.Record<'select', any> ? T['select'] extends true ? number : GetScalarType @@ -3230,7 +3931,7 @@ export namespace Prisma { * take: 10, * }) **/ - aggregate(args: Subset): PrismaPromise> + aggregate(args: Subset): Prisma.PrismaPromise> /** * Group by UserSocialMedia. @@ -3260,7 +3961,7 @@ export namespace Prisma { ? { orderBy: UserSocialMediaGroupByArgs['orderBy'] } : { orderBy?: UserSocialMediaGroupByArgs['orderBy'] }, OrderFields extends ExcludeUnderscoreKeys>>, - ByFields extends TupleToUnion, + ByFields extends MaybeTupleToUnion, ByValid extends Has, HavingFields extends GetHavingFields, HavingValid extends Has, @@ -3307,7 +4008,11 @@ export namespace Prisma { ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` }[OrderFields] - >(args: SubsetIntersection & InputErrors): {} extends InputErrors ? GetUserSocialMediaGroupByPayload : PrismaPromise + >(args: SubsetIntersection & InputErrors): {} extends InputErrors ? GetUserSocialMediaGroupByPayload : Prisma.PrismaPromise + /** + * Fields of the UserSocialMedia model + */ + readonly fields: UserSocialMediaFieldRefs; } /** @@ -3316,73 +4021,82 @@ export namespace Prisma { * Because we want to prevent naming conflicts as mentioned in * https://github.com/prisma/prisma-client-js/issues/707 */ - export class Prisma__UserSocialMediaClient implements PrismaPromise { - [prisma]: true; - private readonly _dmmf; - private readonly _fetcher; - private readonly _queryType; - private readonly _rootField; - private readonly _clientMethod; - private readonly _args; - private readonly _dataPath; - private readonly _errorFormat; - private readonly _measurePerformance?; - private _isList; - private _callsite; - private _requestPromise?; - constructor(_dmmf: runtime.DMMFClass, _fetcher: PrismaClientFetcher, _queryType: 'query' | 'mutation', _rootField: string, _clientMethod: string, _args: any, _dataPath: string[], _errorFormat: ErrorFormat, _measurePerformance?: boolean | undefined, _isList?: boolean); - readonly [Symbol.toStringTag]: 'PrismaClientPromise'; - - user(args?: Subset): CheckSelect, Prisma__UserClient | null >>; - - private get _document(); + export interface Prisma__UserSocialMediaClient extends Prisma.PrismaPromise { + readonly [Symbol.toStringTag]: 'PrismaPromise'; + + user = {}>(args?: Subset>): Prisma__UserClient<$Result.GetResult, T, 'findUniqueOrThrow'> | Null, Null, ExtArgs>; + /** * Attaches callbacks for the resolution and/or rejection of the Promise. * @param onfulfilled The callback to execute when the Promise is resolved. * @param onrejected The callback to execute when the Promise is rejected. * @returns A Promise for the completion of which ever callback is executed. */ - then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): Promise; + then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): $Utils.JsPromise; /** * Attaches a callback for only the rejection of the Promise. * @param onrejected The callback to execute when the Promise is rejected. * @returns A Promise for the completion of the callback. */ - catch(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): Promise; + catch(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): $Utils.JsPromise; /** * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The * resolved value cannot be modified from the callback. * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected). * @returns A Promise for the completion of the callback. */ - finally(onfinally?: (() => void) | undefined | null): Promise; + finally(onfinally?: (() => void) | undefined | null): $Utils.JsPromise; + } + + + + /** + * Fields of the UserSocialMedia model + */ + interface UserSocialMediaFieldRefs { + readonly id: FieldRef<"UserSocialMedia", 'String'> + readonly instagram: FieldRef<"UserSocialMedia", 'String'> + readonly twitter: FieldRef<"UserSocialMedia", 'String'> + readonly userId: FieldRef<"UserSocialMedia", 'String'> } + // Custom InputTypes /** * UserSocialMedia findUnique */ - export type UserSocialMediaFindUniqueArgs = { + export type UserSocialMediaFindUniqueArgs = { /** * Select specific fields to fetch from the UserSocialMedia - * - **/ - select?: UserSocialMediaSelect | null + */ + select?: UserSocialMediaSelect | null /** * Choose, which related nodes to fetch as well. - * - **/ - include?: UserSocialMediaInclude | null + */ + include?: UserSocialMediaInclude | null /** - * Throw an Error if a UserSocialMedia can't be found - * - **/ - rejectOnNotFound?: RejectOnNotFound + * Filter, which UserSocialMedia to fetch. + */ + where: UserSocialMediaWhereUniqueInput + } + + + /** + * UserSocialMedia findUniqueOrThrow + */ + export type UserSocialMediaFindUniqueOrThrowArgs = { + /** + * Select specific fields to fetch from the UserSocialMedia + */ + select?: UserSocialMediaSelect | null + /** + * Choose, which related nodes to fetch as well. + */ + include?: UserSocialMediaInclude | null /** * Filter, which UserSocialMedia to fetch. - * - **/ + */ where: UserSocialMediaWhereUniqueInput } @@ -3390,134 +4104,160 @@ export namespace Prisma { /** * UserSocialMedia findFirst */ - export type UserSocialMediaFindFirstArgs = { + export type UserSocialMediaFindFirstArgs = { /** * Select specific fields to fetch from the UserSocialMedia - * - **/ - select?: UserSocialMediaSelect | null + */ + select?: UserSocialMediaSelect | null /** * Choose, which related nodes to fetch as well. - * - **/ - include?: UserSocialMediaInclude | null - /** - * Throw an Error if a UserSocialMedia can't be found - * - **/ - rejectOnNotFound?: RejectOnNotFound + */ + include?: UserSocialMediaInclude | null /** * Filter, which UserSocialMedia to fetch. - * - **/ + */ where?: UserSocialMediaWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of UserSocialMedias to fetch. - * - **/ - orderBy?: Enumerable + */ + orderBy?: UserSocialMediaOrderByWithRelationInput | UserSocialMediaOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for UserSocialMedias. - * - **/ + */ cursor?: UserSocialMediaWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` UserSocialMedias from the position of the cursor. - * - **/ + */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` UserSocialMedias. - * - **/ + */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of UserSocialMedias. + */ + distinct?: UserSocialMediaScalarFieldEnum | UserSocialMediaScalarFieldEnum[] + } + + + /** + * UserSocialMedia findFirstOrThrow + */ + export type UserSocialMediaFindFirstOrThrowArgs = { + /** + * Select specific fields to fetch from the UserSocialMedia + */ + select?: UserSocialMediaSelect | null + /** + * Choose, which related nodes to fetch as well. + */ + include?: UserSocialMediaInclude | null + /** + * Filter, which UserSocialMedia to fetch. + */ + where?: UserSocialMediaWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * - **/ - distinct?: Enumerable + * Determine the order of UserSocialMedias to fetch. + */ + orderBy?: UserSocialMediaOrderByWithRelationInput | UserSocialMediaOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for searching for UserSocialMedias. + */ + cursor?: UserSocialMediaWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` UserSocialMedias from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` UserSocialMedias. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of UserSocialMedias. + */ + distinct?: UserSocialMediaScalarFieldEnum | UserSocialMediaScalarFieldEnum[] } /** * UserSocialMedia findMany */ - export type UserSocialMediaFindManyArgs = { + export type UserSocialMediaFindManyArgs = { /** * Select specific fields to fetch from the UserSocialMedia - * - **/ - select?: UserSocialMediaSelect | null + */ + select?: UserSocialMediaSelect | null /** * Choose, which related nodes to fetch as well. - * - **/ - include?: UserSocialMediaInclude | null + */ + include?: UserSocialMediaInclude | null /** * Filter, which UserSocialMedias to fetch. - * - **/ + */ where?: UserSocialMediaWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of UserSocialMedias to fetch. - * - **/ - orderBy?: Enumerable + */ + orderBy?: UserSocialMediaOrderByWithRelationInput | UserSocialMediaOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing UserSocialMedias. - * - **/ + */ cursor?: UserSocialMediaWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` UserSocialMedias from the position of the cursor. - * - **/ + */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` UserSocialMedias. - * - **/ + */ skip?: number - distinct?: Enumerable + distinct?: UserSocialMediaScalarFieldEnum | UserSocialMediaScalarFieldEnum[] } /** * UserSocialMedia create */ - export type UserSocialMediaCreateArgs = { + export type UserSocialMediaCreateArgs = { /** * Select specific fields to fetch from the UserSocialMedia - * - **/ - select?: UserSocialMediaSelect | null + */ + select?: UserSocialMediaSelect | null /** * Choose, which related nodes to fetch as well. - * - **/ - include?: UserSocialMediaInclude | null + */ + include?: UserSocialMediaInclude | null /** * The data needed to create a UserSocialMedia. - * - **/ + */ data: XOR } @@ -3525,12 +4265,11 @@ export namespace Prisma { /** * UserSocialMedia createMany */ - export type UserSocialMediaCreateManyArgs = { + export type UserSocialMediaCreateManyArgs = { /** * The data used to create many UserSocialMedias. - * - **/ - data: Enumerable + */ + data: UserSocialMediaCreateManyInput | UserSocialMediaCreateManyInput[] skipDuplicates?: boolean } @@ -3538,26 +4277,22 @@ export namespace Prisma { /** * UserSocialMedia update */ - export type UserSocialMediaUpdateArgs = { + export type UserSocialMediaUpdateArgs = { /** * Select specific fields to fetch from the UserSocialMedia - * - **/ - select?: UserSocialMediaSelect | null + */ + select?: UserSocialMediaSelect | null /** * Choose, which related nodes to fetch as well. - * - **/ - include?: UserSocialMediaInclude | null + */ + include?: UserSocialMediaInclude | null /** * The data needed to update a UserSocialMedia. - * - **/ + */ data: XOR /** * Choose, which UserSocialMedia to update. - * - **/ + */ where: UserSocialMediaWhereUniqueInput } @@ -3565,16 +4300,14 @@ export namespace Prisma { /** * UserSocialMedia updateMany */ - export type UserSocialMediaUpdateManyArgs = { + export type UserSocialMediaUpdateManyArgs = { /** * The data used to update UserSocialMedias. - * - **/ + */ data: XOR /** * Filter which UserSocialMedias to update - * - **/ + */ where?: UserSocialMediaWhereInput } @@ -3582,31 +4315,26 @@ export namespace Prisma { /** * UserSocialMedia upsert */ - export type UserSocialMediaUpsertArgs = { + export type UserSocialMediaUpsertArgs = { /** * Select specific fields to fetch from the UserSocialMedia - * - **/ - select?: UserSocialMediaSelect | null + */ + select?: UserSocialMediaSelect | null /** * Choose, which related nodes to fetch as well. - * - **/ - include?: UserSocialMediaInclude | null + */ + include?: UserSocialMediaInclude | null /** * The filter to search for the UserSocialMedia to update in case it exists. - * - **/ + */ where: UserSocialMediaWhereUniqueInput /** * In case the UserSocialMedia found by the `where` argument doesn't exist, create a new UserSocialMedia with this data. - * - **/ + */ create: XOR /** * In case the UserSocialMedia was found with the provided `where` argument, update it with this data. - * - **/ + */ update: XOR } @@ -3614,21 +4342,18 @@ export namespace Prisma { /** * UserSocialMedia delete */ - export type UserSocialMediaDeleteArgs = { + export type UserSocialMediaDeleteArgs = { /** * Select specific fields to fetch from the UserSocialMedia - * - **/ - select?: UserSocialMediaSelect | null + */ + select?: UserSocialMediaSelect | null /** * Choose, which related nodes to fetch as well. - * - **/ - include?: UserSocialMediaInclude | null + */ + include?: UserSocialMediaInclude | null /** * Filter which UserSocialMedia to delete. - * - **/ + */ where: UserSocialMediaWhereUniqueInput } @@ -3636,11 +4361,10 @@ export namespace Prisma { /** * UserSocialMedia deleteMany */ - export type UserSocialMediaDeleteManyArgs = { + export type UserSocialMediaDeleteManyArgs = { /** * Filter which UserSocialMedias to delete - * - **/ + */ where?: UserSocialMediaWhereInput } @@ -3648,17 +4372,15 @@ export namespace Prisma { /** * UserSocialMedia without action */ - export type UserSocialMediaArgs = { + export type UserSocialMediaDefaultArgs = { /** * Select specific fields to fetch from the UserSocialMedia - * - **/ - select?: UserSocialMediaSelect | null + */ + select?: UserSocialMediaSelect | null /** * Choose, which related nodes to fetch as well. - * - **/ - include?: UserSocialMediaInclude | null + */ + include?: UserSocialMediaInclude | null } @@ -3667,7 +4389,6 @@ export namespace Prisma { * Model BlogPost */ - export type AggregateBlogPost = { _count: BlogPostCountAggregateOutputType | null _min: BlogPostMinAggregateOutputType | null @@ -3719,39 +4440,34 @@ export namespace Prisma { _all?: true } - export type BlogPostAggregateArgs = { + export type BlogPostAggregateArgs = { /** * Filter which BlogPost to aggregate. - * - **/ + */ where?: BlogPostWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of BlogPosts to fetch. - * - **/ - orderBy?: Enumerable + */ + orderBy?: BlogPostOrderByWithRelationInput | BlogPostOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position - * - **/ + */ cursor?: BlogPostWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` BlogPosts from the position of the cursor. - * - **/ + */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` BlogPosts. - * - **/ + */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} @@ -3784,10 +4500,10 @@ export namespace Prisma { - export type BlogPostGroupByArgs = { + export type BlogPostGroupByArgs = { where?: BlogPostWhereInput - orderBy?: Enumerable - by: Array + orderBy?: BlogPostOrderByWithAggregationInput | BlogPostOrderByWithAggregationInput[] + by: BlogPostScalarFieldEnum[] | BlogPostScalarFieldEnum having?: BlogPostScalarWhereWithAggregatesInput take?: number skip?: number @@ -3796,7 +4512,6 @@ export namespace Prisma { _max?: BlogPostMaxAggregateInputType } - export type BlogPostGroupByOutputType = { id: string title: string @@ -3807,9 +4522,9 @@ export namespace Prisma { _max: BlogPostMaxAggregateOutputType | null } - type GetBlogPostGroupByPayload = PrismaPromise< + type GetBlogPostGroupByPayload = Prisma.PrismaPromise< Array< - PickArray & + PickEnumerable & { [P in ((keyof T) & (keyof BlogPostGroupByOutputType))]: P extends '_count' ? T[P] extends boolean @@ -3821,55 +4536,55 @@ export namespace Prisma { > - export type BlogPostSelect = { + export type BlogPostSelect = $Extensions.GetSelect<{ + id?: boolean + title?: boolean + text?: boolean + authorId?: boolean + author?: boolean | BlogPost$authorArgs + comments?: boolean | BlogPost$commentsArgs + _count?: boolean | BlogPostCountOutputTypeDefaultArgs + }, ExtArgs["result"]["blogPost"]> + + export type BlogPostSelectScalar = { id?: boolean title?: boolean text?: boolean - author?: boolean | UserArgs authorId?: boolean - comments?: boolean | BlogPostCommentFindManyArgs - _count?: boolean | BlogPostCountOutputTypeArgs - } - - export type BlogPostInclude = { - author?: boolean | UserArgs - comments?: boolean | BlogPostCommentFindManyArgs - _count?: boolean | BlogPostCountOutputTypeArgs - } - - export type BlogPostGetPayload< - S extends boolean | null | undefined | BlogPostArgs, - U = keyof S - > = S extends true - ? BlogPost - : S extends undefined - ? never - : S extends BlogPostArgs | BlogPostFindManyArgs - ?'include' extends U - ? BlogPost & { - [P in TrueKeys]: - P extends 'author' ? UserGetPayload | null : - P extends 'comments' ? Array < BlogPostCommentGetPayload> : - P extends '_count' ? BlogPostCountOutputTypeGetPayload : never - } - : 'select' extends U - ? { - [P in TrueKeys]: - P extends 'author' ? UserGetPayload | null : - P extends 'comments' ? Array < BlogPostCommentGetPayload> : - P extends '_count' ? BlogPostCountOutputTypeGetPayload : P extends keyof BlogPost ? BlogPost[P] : never - } - : BlogPost - : BlogPost - - - type BlogPostCountArgs = Merge< - Omit & { + } + + export type BlogPostInclude = { + author?: boolean | BlogPost$authorArgs + comments?: boolean | BlogPost$commentsArgs + _count?: boolean | BlogPostCountOutputTypeDefaultArgs + } + + + export type $BlogPostPayload = { + name: "BlogPost" + objects: { + author: Prisma.$UserPayload | null + comments: Prisma.$BlogPostCommentPayload[] + } + scalars: $Extensions.GetPayloadResult<{ + id: string + title: string + text: string + authorId: string | null + }, ExtArgs["result"]["blogPost"]> + composites: {} + } + + + type BlogPostGetPayload = $Result.GetResult + + type BlogPostCountArgs = + Omit & { select?: BlogPostCountAggregateInputType | true } - > - export interface BlogPostDelegate { + export interface BlogPostDelegate { + [K: symbol]: { types: Prisma.TypeMap['model']['BlogPost'], meta: { name: 'BlogPost' } } /** * Find zero or one BlogPost that matches the filter. * @param {BlogPostFindUniqueArgs} args - Arguments to find a BlogPost @@ -3881,9 +4596,25 @@ export namespace Prisma { * } * }) **/ - findUnique( - args: SelectSubset - ): HasReject extends True ? CheckSelect, Prisma__BlogPostClient>> : CheckSelect, Prisma__BlogPostClient | null >> + findUnique>( + args: SelectSubset> + ): Prisma__BlogPostClient<$Result.GetResult, T, 'findUnique'> | null, null, ExtArgs> + + /** + * Find one BlogPost that matches the filter or throw an error with `error.code='P2025'` + * if no matches were found. + * @param {BlogPostFindUniqueOrThrowArgs} args - Arguments to find a BlogPost + * @example + * // Get one BlogPost + * const blogPost = await prisma.blogPost.findUniqueOrThrow({ + * where: { + * // ... provide filter here + * } + * }) + **/ + findUniqueOrThrow>( + args?: SelectSubset> + ): Prisma__BlogPostClient<$Result.GetResult, T, 'findUniqueOrThrow'>, never, ExtArgs> /** * Find the first BlogPost that matches the filter. @@ -3898,9 +4629,27 @@ export namespace Prisma { * } * }) **/ - findFirst( - args?: SelectSubset - ): HasReject extends True ? CheckSelect, Prisma__BlogPostClient>> : CheckSelect, Prisma__BlogPostClient | null >> + findFirst>( + args?: SelectSubset> + ): Prisma__BlogPostClient<$Result.GetResult, T, 'findFirst'> | null, null, ExtArgs> + + /** + * Find the first BlogPost that matches the filter or + * throw `PrismaKnownClientError` with `P2025` code if no matches were found. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {BlogPostFindFirstOrThrowArgs} args - Arguments to find a BlogPost + * @example + * // Get one BlogPost + * const blogPost = await prisma.blogPost.findFirstOrThrow({ + * where: { + * // ... provide filter here + * } + * }) + **/ + findFirstOrThrow>( + args?: SelectSubset> + ): Prisma__BlogPostClient<$Result.GetResult, T, 'findFirstOrThrow'>, never, ExtArgs> /** * Find zero or more BlogPosts that matches the filter. @@ -3918,9 +4667,9 @@ export namespace Prisma { * const blogPostWithIdOnly = await prisma.blogPost.findMany({ select: { id: true } }) * **/ - findMany( - args?: SelectSubset - ): CheckSelect>, PrismaPromise>>> + findMany>( + args?: SelectSubset> + ): Prisma.PrismaPromise<$Result.GetResult, T, 'findMany'>> /** * Create a BlogPost. @@ -3934,9 +4683,9 @@ export namespace Prisma { * }) * **/ - create( - args: SelectSubset - ): CheckSelect, Prisma__BlogPostClient>> + create>( + args: SelectSubset> + ): Prisma__BlogPostClient<$Result.GetResult, T, 'create'>, never, ExtArgs> /** * Create many BlogPosts. @@ -3950,9 +4699,9 @@ export namespace Prisma { * }) * **/ - createMany( - args?: SelectSubset - ): PrismaPromise + createMany>( + args?: SelectSubset> + ): Prisma.PrismaPromise /** * Delete a BlogPost. @@ -3966,9 +4715,9 @@ export namespace Prisma { * }) * **/ - delete( - args: SelectSubset - ): CheckSelect, Prisma__BlogPostClient>> + delete>( + args: SelectSubset> + ): Prisma__BlogPostClient<$Result.GetResult, T, 'delete'>, never, ExtArgs> /** * Update one BlogPost. @@ -3985,9 +4734,9 @@ export namespace Prisma { * }) * **/ - update( - args: SelectSubset - ): CheckSelect, Prisma__BlogPostClient>> + update>( + args: SelectSubset> + ): Prisma__BlogPostClient<$Result.GetResult, T, 'update'>, never, ExtArgs> /** * Delete zero or more BlogPosts. @@ -4001,9 +4750,9 @@ export namespace Prisma { * }) * **/ - deleteMany( - args?: SelectSubset - ): PrismaPromise + deleteMany>( + args?: SelectSubset> + ): Prisma.PrismaPromise /** * Update zero or more BlogPosts. @@ -4022,9 +4771,9 @@ export namespace Prisma { * }) * **/ - updateMany( - args: SelectSubset - ): PrismaPromise + updateMany>( + args: SelectSubset> + ): Prisma.PrismaPromise /** * Create or update one BlogPost. @@ -4043,9 +4792,9 @@ export namespace Prisma { * } * }) **/ - upsert( - args: SelectSubset - ): CheckSelect, Prisma__BlogPostClient>> + upsert>( + args: SelectSubset> + ): Prisma__BlogPostClient<$Result.GetResult, T, 'upsert'>, never, ExtArgs> /** * Count the number of BlogPosts. @@ -4062,8 +4811,8 @@ export namespace Prisma { **/ count( args?: Subset, - ): PrismaPromise< - T extends _Record<'select', any> + ): Prisma.PrismaPromise< + T extends $Utils.Record<'select', any> ? T['select'] extends true ? number : GetScalarType @@ -4094,7 +4843,7 @@ export namespace Prisma { * take: 10, * }) **/ - aggregate(args: Subset): PrismaPromise> + aggregate(args: Subset): Prisma.PrismaPromise> /** * Group by BlogPost. @@ -4124,7 +4873,7 @@ export namespace Prisma { ? { orderBy: BlogPostGroupByArgs['orderBy'] } : { orderBy?: BlogPostGroupByArgs['orderBy'] }, OrderFields extends ExcludeUnderscoreKeys>>, - ByFields extends TupleToUnion, + ByFields extends MaybeTupleToUnion, ByValid extends Has, HavingFields extends GetHavingFields, HavingValid extends Has, @@ -4171,7 +4920,11 @@ export namespace Prisma { ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` }[OrderFields] - >(args: SubsetIntersection & InputErrors): {} extends InputErrors ? GetBlogPostGroupByPayload : PrismaPromise + >(args: SubsetIntersection & InputErrors): {} extends InputErrors ? GetBlogPostGroupByPayload : Prisma.PrismaPromise + /** + * Fields of the BlogPost model + */ + readonly fields: BlogPostFieldRefs; } /** @@ -4180,75 +4933,84 @@ export namespace Prisma { * Because we want to prevent naming conflicts as mentioned in * https://github.com/prisma/prisma-client-js/issues/707 */ - export class Prisma__BlogPostClient implements PrismaPromise { - [prisma]: true; - private readonly _dmmf; - private readonly _fetcher; - private readonly _queryType; - private readonly _rootField; - private readonly _clientMethod; - private readonly _args; - private readonly _dataPath; - private readonly _errorFormat; - private readonly _measurePerformance?; - private _isList; - private _callsite; - private _requestPromise?; - constructor(_dmmf: runtime.DMMFClass, _fetcher: PrismaClientFetcher, _queryType: 'query' | 'mutation', _rootField: string, _clientMethod: string, _args: any, _dataPath: string[], _errorFormat: ErrorFormat, _measurePerformance?: boolean | undefined, _isList?: boolean); - readonly [Symbol.toStringTag]: 'PrismaClientPromise'; - - author(args?: Subset): CheckSelect, Prisma__UserClient | null >>; - - comments(args?: Subset): CheckSelect>, PrismaPromise>>>; - - private get _document(); + export interface Prisma__BlogPostClient extends Prisma.PrismaPromise { + readonly [Symbol.toStringTag]: 'PrismaPromise'; + + author = {}>(args?: Subset>): Prisma__UserClient<$Result.GetResult, T, 'findUniqueOrThrow'> | null, null, ExtArgs>; + + comments = {}>(args?: Subset>): Prisma.PrismaPromise<$Result.GetResult, T, 'findMany'> | Null>; + /** * Attaches callbacks for the resolution and/or rejection of the Promise. * @param onfulfilled The callback to execute when the Promise is resolved. * @param onrejected The callback to execute when the Promise is rejected. * @returns A Promise for the completion of which ever callback is executed. */ - then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): Promise; + then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): $Utils.JsPromise; /** * Attaches a callback for only the rejection of the Promise. * @param onrejected The callback to execute when the Promise is rejected. * @returns A Promise for the completion of the callback. */ - catch(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): Promise; + catch(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): $Utils.JsPromise; /** * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The * resolved value cannot be modified from the callback. * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected). * @returns A Promise for the completion of the callback. */ - finally(onfinally?: (() => void) | undefined | null): Promise; + finally(onfinally?: (() => void) | undefined | null): $Utils.JsPromise; + } + + + + /** + * Fields of the BlogPost model + */ + interface BlogPostFieldRefs { + readonly id: FieldRef<"BlogPost", 'String'> + readonly title: FieldRef<"BlogPost", 'String'> + readonly text: FieldRef<"BlogPost", 'String'> + readonly authorId: FieldRef<"BlogPost", 'String'> } + // Custom InputTypes /** * BlogPost findUnique */ - export type BlogPostFindUniqueArgs = { + export type BlogPostFindUniqueArgs = { /** * Select specific fields to fetch from the BlogPost - * - **/ - select?: BlogPostSelect | null + */ + select?: BlogPostSelect | null /** * Choose, which related nodes to fetch as well. - * - **/ - include?: BlogPostInclude | null + */ + include?: BlogPostInclude | null /** - * Throw an Error if a BlogPost can't be found - * - **/ - rejectOnNotFound?: RejectOnNotFound + * Filter, which BlogPost to fetch. + */ + where: BlogPostWhereUniqueInput + } + + + /** + * BlogPost findUniqueOrThrow + */ + export type BlogPostFindUniqueOrThrowArgs = { + /** + * Select specific fields to fetch from the BlogPost + */ + select?: BlogPostSelect | null + /** + * Choose, which related nodes to fetch as well. + */ + include?: BlogPostInclude | null /** * Filter, which BlogPost to fetch. - * - **/ + */ where: BlogPostWhereUniqueInput } @@ -4256,134 +5018,160 @@ export namespace Prisma { /** * BlogPost findFirst */ - export type BlogPostFindFirstArgs = { + export type BlogPostFindFirstArgs = { /** * Select specific fields to fetch from the BlogPost - * - **/ - select?: BlogPostSelect | null + */ + select?: BlogPostSelect | null /** * Choose, which related nodes to fetch as well. - * - **/ - include?: BlogPostInclude | null - /** - * Throw an Error if a BlogPost can't be found - * - **/ - rejectOnNotFound?: RejectOnNotFound + */ + include?: BlogPostInclude | null /** * Filter, which BlogPost to fetch. - * - **/ + */ where?: BlogPostWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of BlogPosts to fetch. - * - **/ - orderBy?: Enumerable + */ + orderBy?: BlogPostOrderByWithRelationInput | BlogPostOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for BlogPosts. - * - **/ + */ cursor?: BlogPostWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` BlogPosts from the position of the cursor. - * - **/ + */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` BlogPosts. - * - **/ + */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of BlogPosts. - * - **/ - distinct?: Enumerable + */ + distinct?: BlogPostScalarFieldEnum | BlogPostScalarFieldEnum[] } /** - * BlogPost findMany + * BlogPost findFirstOrThrow */ - export type BlogPostFindManyArgs = { + export type BlogPostFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the BlogPost - * - **/ - select?: BlogPostSelect | null + */ + select?: BlogPostSelect | null /** * Choose, which related nodes to fetch as well. + */ + include?: BlogPostInclude | null + /** + * Filter, which BlogPost to fetch. + */ + where?: BlogPostWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * - **/ - include?: BlogPostInclude | null + * Determine the order of BlogPosts to fetch. + */ + orderBy?: BlogPostOrderByWithRelationInput | BlogPostOrderByWithRelationInput[] /** - * Filter, which BlogPosts to fetch. + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * - **/ + * Sets the position for searching for BlogPosts. + */ + cursor?: BlogPostWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` BlogPosts from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` BlogPosts. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of BlogPosts. + */ + distinct?: BlogPostScalarFieldEnum | BlogPostScalarFieldEnum[] + } + + + /** + * BlogPost findMany + */ + export type BlogPostFindManyArgs = { + /** + * Select specific fields to fetch from the BlogPost + */ + select?: BlogPostSelect | null + /** + * Choose, which related nodes to fetch as well. + */ + include?: BlogPostInclude | null + /** + * Filter, which BlogPosts to fetch. + */ where?: BlogPostWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of BlogPosts to fetch. - * - **/ - orderBy?: Enumerable + */ + orderBy?: BlogPostOrderByWithRelationInput | BlogPostOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing BlogPosts. - * - **/ + */ cursor?: BlogPostWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` BlogPosts from the position of the cursor. - * - **/ + */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` BlogPosts. - * - **/ + */ skip?: number - distinct?: Enumerable + distinct?: BlogPostScalarFieldEnum | BlogPostScalarFieldEnum[] } /** * BlogPost create */ - export type BlogPostCreateArgs = { + export type BlogPostCreateArgs = { /** * Select specific fields to fetch from the BlogPost - * - **/ - select?: BlogPostSelect | null + */ + select?: BlogPostSelect | null /** * Choose, which related nodes to fetch as well. - * - **/ - include?: BlogPostInclude | null + */ + include?: BlogPostInclude | null /** * The data needed to create a BlogPost. - * - **/ + */ data: XOR } @@ -4391,12 +5179,11 @@ export namespace Prisma { /** * BlogPost createMany */ - export type BlogPostCreateManyArgs = { + export type BlogPostCreateManyArgs = { /** * The data used to create many BlogPosts. - * - **/ - data: Enumerable + */ + data: BlogPostCreateManyInput | BlogPostCreateManyInput[] skipDuplicates?: boolean } @@ -4404,26 +5191,22 @@ export namespace Prisma { /** * BlogPost update */ - export type BlogPostUpdateArgs = { + export type BlogPostUpdateArgs = { /** * Select specific fields to fetch from the BlogPost - * - **/ - select?: BlogPostSelect | null + */ + select?: BlogPostSelect | null /** * Choose, which related nodes to fetch as well. - * - **/ - include?: BlogPostInclude | null + */ + include?: BlogPostInclude | null /** * The data needed to update a BlogPost. - * - **/ + */ data: XOR /** * Choose, which BlogPost to update. - * - **/ + */ where: BlogPostWhereUniqueInput } @@ -4431,16 +5214,14 @@ export namespace Prisma { /** * BlogPost updateMany */ - export type BlogPostUpdateManyArgs = { + export type BlogPostUpdateManyArgs = { /** * The data used to update BlogPosts. - * - **/ + */ data: XOR /** * Filter which BlogPosts to update - * - **/ + */ where?: BlogPostWhereInput } @@ -4448,31 +5229,26 @@ export namespace Prisma { /** * BlogPost upsert */ - export type BlogPostUpsertArgs = { + export type BlogPostUpsertArgs = { /** * Select specific fields to fetch from the BlogPost - * - **/ - select?: BlogPostSelect | null + */ + select?: BlogPostSelect | null /** * Choose, which related nodes to fetch as well. - * - **/ - include?: BlogPostInclude | null + */ + include?: BlogPostInclude | null /** * The filter to search for the BlogPost to update in case it exists. - * - **/ + */ where: BlogPostWhereUniqueInput /** * In case the BlogPost found by the `where` argument doesn't exist, create a new BlogPost with this data. - * - **/ + */ create: XOR /** * In case the BlogPost was found with the provided `where` argument, update it with this data. - * - **/ + */ update: XOR } @@ -4480,21 +5256,18 @@ export namespace Prisma { /** * BlogPost delete */ - export type BlogPostDeleteArgs = { + export type BlogPostDeleteArgs = { /** * Select specific fields to fetch from the BlogPost - * - **/ - select?: BlogPostSelect | null + */ + select?: BlogPostSelect | null /** * Choose, which related nodes to fetch as well. - * - **/ - include?: BlogPostInclude | null + */ + include?: BlogPostInclude | null /** * Filter which BlogPost to delete. - * - **/ + */ where: BlogPostWhereUniqueInput } @@ -4502,29 +5275,63 @@ export namespace Prisma { /** * BlogPost deleteMany */ - export type BlogPostDeleteManyArgs = { + export type BlogPostDeleteManyArgs = { /** * Filter which BlogPosts to delete - * - **/ + */ where?: BlogPostWhereInput } + /** + * BlogPost.author + */ + export type BlogPost$authorArgs = { + /** + * Select specific fields to fetch from the User + */ + select?: UserSelect | null + /** + * Choose, which related nodes to fetch as well. + */ + include?: UserInclude | null + where?: UserWhereInput + } + + + /** + * BlogPost.comments + */ + export type BlogPost$commentsArgs = { + /** + * Select specific fields to fetch from the BlogPostComment + */ + select?: BlogPostCommentSelect | null + /** + * Choose, which related nodes to fetch as well. + */ + include?: BlogPostCommentInclude | null + where?: BlogPostCommentWhereInput + orderBy?: BlogPostCommentOrderByWithRelationInput | BlogPostCommentOrderByWithRelationInput[] + cursor?: BlogPostCommentWhereUniqueInput + take?: number + skip?: number + distinct?: BlogPostCommentScalarFieldEnum | BlogPostCommentScalarFieldEnum[] + } + + /** * BlogPost without action */ - export type BlogPostArgs = { + export type BlogPostDefaultArgs = { /** * Select specific fields to fetch from the BlogPost - * - **/ - select?: BlogPostSelect | null + */ + select?: BlogPostSelect | null /** * Choose, which related nodes to fetch as well. - * - **/ - include?: BlogPostInclude | null + */ + include?: BlogPostInclude | null } @@ -4533,7 +5340,6 @@ export namespace Prisma { * Model BlogPostComment */ - export type AggregateBlogPostComment = { _count: BlogPostCommentCountAggregateOutputType | null _min: BlogPostCommentMinAggregateOutputType | null @@ -4585,39 +5391,34 @@ export namespace Prisma { _all?: true } - export type BlogPostCommentAggregateArgs = { + export type BlogPostCommentAggregateArgs = { /** * Filter which BlogPostComment to aggregate. - * - **/ + */ where?: BlogPostCommentWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of BlogPostComments to fetch. - * - **/ - orderBy?: Enumerable + */ + orderBy?: BlogPostCommentOrderByWithRelationInput | BlogPostCommentOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position - * - **/ + */ cursor?: BlogPostCommentWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` BlogPostComments from the position of the cursor. - * - **/ + */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` BlogPostComments. - * - **/ + */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} @@ -4650,10 +5451,10 @@ export namespace Prisma { - export type BlogPostCommentGroupByArgs = { + export type BlogPostCommentGroupByArgs = { where?: BlogPostCommentWhereInput - orderBy?: Enumerable - by: Array + orderBy?: BlogPostCommentOrderByWithAggregationInput | BlogPostCommentOrderByWithAggregationInput[] + by: BlogPostCommentScalarFieldEnum[] | BlogPostCommentScalarFieldEnum having?: BlogPostCommentScalarWhereWithAggregatesInput take?: number skip?: number @@ -4662,7 +5463,6 @@ export namespace Prisma { _max?: BlogPostCommentMaxAggregateInputType } - export type BlogPostCommentGroupByOutputType = { id: string text: string @@ -4673,9 +5473,9 @@ export namespace Prisma { _max: BlogPostCommentMaxAggregateOutputType | null } - type GetBlogPostCommentGroupByPayload = PrismaPromise< + type GetBlogPostCommentGroupByPayload = Prisma.PrismaPromise< Array< - PickArray & + PickEnumerable & { [P in ((keyof T) & (keyof BlogPostCommentGroupByOutputType))]: P extends '_count' ? T[P] extends boolean @@ -4687,51 +5487,53 @@ export namespace Prisma { > - export type BlogPostCommentSelect = { + export type BlogPostCommentSelect = $Extensions.GetSelect<{ + id?: boolean + text?: boolean + postId?: boolean + authorId?: boolean + post?: boolean | BlogPostComment$postArgs + author?: boolean | BlogPostComment$authorArgs + }, ExtArgs["result"]["blogPostComment"]> + + export type BlogPostCommentSelectScalar = { id?: boolean text?: boolean - post?: boolean | BlogPostArgs postId?: boolean - author?: boolean | UserArgs authorId?: boolean } - export type BlogPostCommentInclude = { - post?: boolean | BlogPostArgs - author?: boolean | UserArgs - } - - export type BlogPostCommentGetPayload< - S extends boolean | null | undefined | BlogPostCommentArgs, - U = keyof S - > = S extends true - ? BlogPostComment - : S extends undefined - ? never - : S extends BlogPostCommentArgs | BlogPostCommentFindManyArgs - ?'include' extends U - ? BlogPostComment & { - [P in TrueKeys]: - P extends 'post' ? BlogPostGetPayload | null : - P extends 'author' ? UserGetPayload | null : never - } - : 'select' extends U - ? { - [P in TrueKeys]: - P extends 'post' ? BlogPostGetPayload | null : - P extends 'author' ? UserGetPayload | null : P extends keyof BlogPostComment ? BlogPostComment[P] : never - } - : BlogPostComment - : BlogPostComment - - - type BlogPostCommentCountArgs = Merge< - Omit & { + export type BlogPostCommentInclude = { + post?: boolean | BlogPostComment$postArgs + author?: boolean | BlogPostComment$authorArgs + } + + + export type $BlogPostCommentPayload = { + name: "BlogPostComment" + objects: { + post: Prisma.$BlogPostPayload | null + author: Prisma.$UserPayload | null + } + scalars: $Extensions.GetPayloadResult<{ + id: string + text: string + postId: string | null + authorId: string | null + }, ExtArgs["result"]["blogPostComment"]> + composites: {} + } + + + type BlogPostCommentGetPayload = $Result.GetResult + + type BlogPostCommentCountArgs = + Omit & { select?: BlogPostCommentCountAggregateInputType | true } - > - export interface BlogPostCommentDelegate { + export interface BlogPostCommentDelegate { + [K: symbol]: { types: Prisma.TypeMap['model']['BlogPostComment'], meta: { name: 'BlogPostComment' } } /** * Find zero or one BlogPostComment that matches the filter. * @param {BlogPostCommentFindUniqueArgs} args - Arguments to find a BlogPostComment @@ -4743,9 +5545,25 @@ export namespace Prisma { * } * }) **/ - findUnique( - args: SelectSubset - ): HasReject extends True ? CheckSelect, Prisma__BlogPostCommentClient>> : CheckSelect, Prisma__BlogPostCommentClient | null >> + findUnique>( + args: SelectSubset> + ): Prisma__BlogPostCommentClient<$Result.GetResult, T, 'findUnique'> | null, null, ExtArgs> + + /** + * Find one BlogPostComment that matches the filter or throw an error with `error.code='P2025'` + * if no matches were found. + * @param {BlogPostCommentFindUniqueOrThrowArgs} args - Arguments to find a BlogPostComment + * @example + * // Get one BlogPostComment + * const blogPostComment = await prisma.blogPostComment.findUniqueOrThrow({ + * where: { + * // ... provide filter here + * } + * }) + **/ + findUniqueOrThrow>( + args?: SelectSubset> + ): Prisma__BlogPostCommentClient<$Result.GetResult, T, 'findUniqueOrThrow'>, never, ExtArgs> /** * Find the first BlogPostComment that matches the filter. @@ -4760,9 +5578,27 @@ export namespace Prisma { * } * }) **/ - findFirst( - args?: SelectSubset - ): HasReject extends True ? CheckSelect, Prisma__BlogPostCommentClient>> : CheckSelect, Prisma__BlogPostCommentClient | null >> + findFirst>( + args?: SelectSubset> + ): Prisma__BlogPostCommentClient<$Result.GetResult, T, 'findFirst'> | null, null, ExtArgs> + + /** + * Find the first BlogPostComment that matches the filter or + * throw `PrismaKnownClientError` with `P2025` code if no matches were found. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {BlogPostCommentFindFirstOrThrowArgs} args - Arguments to find a BlogPostComment + * @example + * // Get one BlogPostComment + * const blogPostComment = await prisma.blogPostComment.findFirstOrThrow({ + * where: { + * // ... provide filter here + * } + * }) + **/ + findFirstOrThrow>( + args?: SelectSubset> + ): Prisma__BlogPostCommentClient<$Result.GetResult, T, 'findFirstOrThrow'>, never, ExtArgs> /** * Find zero or more BlogPostComments that matches the filter. @@ -4780,9 +5616,9 @@ export namespace Prisma { * const blogPostCommentWithIdOnly = await prisma.blogPostComment.findMany({ select: { id: true } }) * **/ - findMany( - args?: SelectSubset - ): CheckSelect>, PrismaPromise>>> + findMany>( + args?: SelectSubset> + ): Prisma.PrismaPromise<$Result.GetResult, T, 'findMany'>> /** * Create a BlogPostComment. @@ -4796,9 +5632,9 @@ export namespace Prisma { * }) * **/ - create( - args: SelectSubset - ): CheckSelect, Prisma__BlogPostCommentClient>> + create>( + args: SelectSubset> + ): Prisma__BlogPostCommentClient<$Result.GetResult, T, 'create'>, never, ExtArgs> /** * Create many BlogPostComments. @@ -4812,9 +5648,9 @@ export namespace Prisma { * }) * **/ - createMany( - args?: SelectSubset - ): PrismaPromise + createMany>( + args?: SelectSubset> + ): Prisma.PrismaPromise /** * Delete a BlogPostComment. @@ -4828,9 +5664,9 @@ export namespace Prisma { * }) * **/ - delete( - args: SelectSubset - ): CheckSelect, Prisma__BlogPostCommentClient>> + delete>( + args: SelectSubset> + ): Prisma__BlogPostCommentClient<$Result.GetResult, T, 'delete'>, never, ExtArgs> /** * Update one BlogPostComment. @@ -4847,9 +5683,9 @@ export namespace Prisma { * }) * **/ - update( - args: SelectSubset - ): CheckSelect, Prisma__BlogPostCommentClient>> + update>( + args: SelectSubset> + ): Prisma__BlogPostCommentClient<$Result.GetResult, T, 'update'>, never, ExtArgs> /** * Delete zero or more BlogPostComments. @@ -4863,9 +5699,9 @@ export namespace Prisma { * }) * **/ - deleteMany( - args?: SelectSubset - ): PrismaPromise + deleteMany>( + args?: SelectSubset> + ): Prisma.PrismaPromise /** * Update zero or more BlogPostComments. @@ -4884,9 +5720,9 @@ export namespace Prisma { * }) * **/ - updateMany( - args: SelectSubset - ): PrismaPromise + updateMany>( + args: SelectSubset> + ): Prisma.PrismaPromise /** * Create or update one BlogPostComment. @@ -4905,9 +5741,9 @@ export namespace Prisma { * } * }) **/ - upsert( - args: SelectSubset - ): CheckSelect, Prisma__BlogPostCommentClient>> + upsert>( + args: SelectSubset> + ): Prisma__BlogPostCommentClient<$Result.GetResult, T, 'upsert'>, never, ExtArgs> /** * Count the number of BlogPostComments. @@ -4924,8 +5760,8 @@ export namespace Prisma { **/ count( args?: Subset, - ): PrismaPromise< - T extends _Record<'select', any> + ): Prisma.PrismaPromise< + T extends $Utils.Record<'select', any> ? T['select'] extends true ? number : GetScalarType @@ -4956,7 +5792,7 @@ export namespace Prisma { * take: 10, * }) **/ - aggregate(args: Subset): PrismaPromise> + aggregate(args: Subset): Prisma.PrismaPromise> /** * Group by BlogPostComment. @@ -4986,7 +5822,7 @@ export namespace Prisma { ? { orderBy: BlogPostCommentGroupByArgs['orderBy'] } : { orderBy?: BlogPostCommentGroupByArgs['orderBy'] }, OrderFields extends ExcludeUnderscoreKeys>>, - ByFields extends TupleToUnion, + ByFields extends MaybeTupleToUnion, ByValid extends Has, HavingFields extends GetHavingFields, HavingValid extends Has, @@ -5033,7 +5869,11 @@ export namespace Prisma { ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` }[OrderFields] - >(args: SubsetIntersection & InputErrors): {} extends InputErrors ? GetBlogPostCommentGroupByPayload : PrismaPromise + >(args: SubsetIntersection & InputErrors): {} extends InputErrors ? GetBlogPostCommentGroupByPayload : Prisma.PrismaPromise + /** + * Fields of the BlogPostComment model + */ + readonly fields: BlogPostCommentFieldRefs; } /** @@ -5042,75 +5882,84 @@ export namespace Prisma { * Because we want to prevent naming conflicts as mentioned in * https://github.com/prisma/prisma-client-js/issues/707 */ - export class Prisma__BlogPostCommentClient implements PrismaPromise { - [prisma]: true; - private readonly _dmmf; - private readonly _fetcher; - private readonly _queryType; - private readonly _rootField; - private readonly _clientMethod; - private readonly _args; - private readonly _dataPath; - private readonly _errorFormat; - private readonly _measurePerformance?; - private _isList; - private _callsite; - private _requestPromise?; - constructor(_dmmf: runtime.DMMFClass, _fetcher: PrismaClientFetcher, _queryType: 'query' | 'mutation', _rootField: string, _clientMethod: string, _args: any, _dataPath: string[], _errorFormat: ErrorFormat, _measurePerformance?: boolean | undefined, _isList?: boolean); - readonly [Symbol.toStringTag]: 'PrismaClientPromise'; - - post(args?: Subset): CheckSelect, Prisma__BlogPostClient | null >>; - - author(args?: Subset): CheckSelect, Prisma__UserClient | null >>; - - private get _document(); + export interface Prisma__BlogPostCommentClient extends Prisma.PrismaPromise { + readonly [Symbol.toStringTag]: 'PrismaPromise'; + + post = {}>(args?: Subset>): Prisma__BlogPostClient<$Result.GetResult, T, 'findUniqueOrThrow'> | null, null, ExtArgs>; + + author = {}>(args?: Subset>): Prisma__UserClient<$Result.GetResult, T, 'findUniqueOrThrow'> | null, null, ExtArgs>; + /** * Attaches callbacks for the resolution and/or rejection of the Promise. * @param onfulfilled The callback to execute when the Promise is resolved. * @param onrejected The callback to execute when the Promise is rejected. * @returns A Promise for the completion of which ever callback is executed. */ - then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): Promise; + then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): $Utils.JsPromise; /** * Attaches a callback for only the rejection of the Promise. * @param onrejected The callback to execute when the Promise is rejected. * @returns A Promise for the completion of the callback. */ - catch(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): Promise; + catch(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): $Utils.JsPromise; /** * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The * resolved value cannot be modified from the callback. * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected). * @returns A Promise for the completion of the callback. */ - finally(onfinally?: (() => void) | undefined | null): Promise; + finally(onfinally?: (() => void) | undefined | null): $Utils.JsPromise; + } + + + + /** + * Fields of the BlogPostComment model + */ + interface BlogPostCommentFieldRefs { + readonly id: FieldRef<"BlogPostComment", 'String'> + readonly text: FieldRef<"BlogPostComment", 'String'> + readonly postId: FieldRef<"BlogPostComment", 'String'> + readonly authorId: FieldRef<"BlogPostComment", 'String'> } + // Custom InputTypes /** * BlogPostComment findUnique */ - export type BlogPostCommentFindUniqueArgs = { + export type BlogPostCommentFindUniqueArgs = { /** * Select specific fields to fetch from the BlogPostComment - * - **/ - select?: BlogPostCommentSelect | null + */ + select?: BlogPostCommentSelect | null /** * Choose, which related nodes to fetch as well. - * - **/ - include?: BlogPostCommentInclude | null + */ + include?: BlogPostCommentInclude | null /** - * Throw an Error if a BlogPostComment can't be found - * - **/ - rejectOnNotFound?: RejectOnNotFound + * Filter, which BlogPostComment to fetch. + */ + where: BlogPostCommentWhereUniqueInput + } + + + /** + * BlogPostComment findUniqueOrThrow + */ + export type BlogPostCommentFindUniqueOrThrowArgs = { + /** + * Select specific fields to fetch from the BlogPostComment + */ + select?: BlogPostCommentSelect | null + /** + * Choose, which related nodes to fetch as well. + */ + include?: BlogPostCommentInclude | null /** * Filter, which BlogPostComment to fetch. - * - **/ + */ where: BlogPostCommentWhereUniqueInput } @@ -5118,134 +5967,160 @@ export namespace Prisma { /** * BlogPostComment findFirst */ - export type BlogPostCommentFindFirstArgs = { + export type BlogPostCommentFindFirstArgs = { /** * Select specific fields to fetch from the BlogPostComment - * - **/ - select?: BlogPostCommentSelect | null + */ + select?: BlogPostCommentSelect | null /** * Choose, which related nodes to fetch as well. - * - **/ - include?: BlogPostCommentInclude | null - /** - * Throw an Error if a BlogPostComment can't be found - * - **/ - rejectOnNotFound?: RejectOnNotFound + */ + include?: BlogPostCommentInclude | null /** * Filter, which BlogPostComment to fetch. - * - **/ + */ where?: BlogPostCommentWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of BlogPostComments to fetch. - * - **/ - orderBy?: Enumerable + */ + orderBy?: BlogPostCommentOrderByWithRelationInput | BlogPostCommentOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for BlogPostComments. - * - **/ + */ cursor?: BlogPostCommentWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` BlogPostComments from the position of the cursor. - * - **/ + */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` BlogPostComments. - * - **/ + */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of BlogPostComments. + */ + distinct?: BlogPostCommentScalarFieldEnum | BlogPostCommentScalarFieldEnum[] + } + + + /** + * BlogPostComment findFirstOrThrow + */ + export type BlogPostCommentFindFirstOrThrowArgs = { + /** + * Select specific fields to fetch from the BlogPostComment + */ + select?: BlogPostCommentSelect | null + /** + * Choose, which related nodes to fetch as well. + */ + include?: BlogPostCommentInclude | null + /** + * Filter, which BlogPostComment to fetch. + */ + where?: BlogPostCommentWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * - **/ - distinct?: Enumerable + * Determine the order of BlogPostComments to fetch. + */ + orderBy?: BlogPostCommentOrderByWithRelationInput | BlogPostCommentOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for searching for BlogPostComments. + */ + cursor?: BlogPostCommentWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` BlogPostComments from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` BlogPostComments. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of BlogPostComments. + */ + distinct?: BlogPostCommentScalarFieldEnum | BlogPostCommentScalarFieldEnum[] } /** * BlogPostComment findMany */ - export type BlogPostCommentFindManyArgs = { + export type BlogPostCommentFindManyArgs = { /** * Select specific fields to fetch from the BlogPostComment - * - **/ - select?: BlogPostCommentSelect | null + */ + select?: BlogPostCommentSelect | null /** * Choose, which related nodes to fetch as well. - * - **/ - include?: BlogPostCommentInclude | null + */ + include?: BlogPostCommentInclude | null /** * Filter, which BlogPostComments to fetch. - * - **/ + */ where?: BlogPostCommentWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of BlogPostComments to fetch. - * - **/ - orderBy?: Enumerable + */ + orderBy?: BlogPostCommentOrderByWithRelationInput | BlogPostCommentOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing BlogPostComments. - * - **/ + */ cursor?: BlogPostCommentWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` BlogPostComments from the position of the cursor. - * - **/ + */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` BlogPostComments. - * - **/ + */ skip?: number - distinct?: Enumerable + distinct?: BlogPostCommentScalarFieldEnum | BlogPostCommentScalarFieldEnum[] } /** * BlogPostComment create */ - export type BlogPostCommentCreateArgs = { + export type BlogPostCommentCreateArgs = { /** * Select specific fields to fetch from the BlogPostComment - * - **/ - select?: BlogPostCommentSelect | null + */ + select?: BlogPostCommentSelect | null /** * Choose, which related nodes to fetch as well. - * - **/ - include?: BlogPostCommentInclude | null + */ + include?: BlogPostCommentInclude | null /** * The data needed to create a BlogPostComment. - * - **/ + */ data: XOR } @@ -5253,12 +6128,11 @@ export namespace Prisma { /** * BlogPostComment createMany */ - export type BlogPostCommentCreateManyArgs = { + export type BlogPostCommentCreateManyArgs = { /** * The data used to create many BlogPostComments. - * - **/ - data: Enumerable + */ + data: BlogPostCommentCreateManyInput | BlogPostCommentCreateManyInput[] skipDuplicates?: boolean } @@ -5266,26 +6140,22 @@ export namespace Prisma { /** * BlogPostComment update */ - export type BlogPostCommentUpdateArgs = { + export type BlogPostCommentUpdateArgs = { /** * Select specific fields to fetch from the BlogPostComment - * - **/ - select?: BlogPostCommentSelect | null + */ + select?: BlogPostCommentSelect | null /** * Choose, which related nodes to fetch as well. - * - **/ - include?: BlogPostCommentInclude | null + */ + include?: BlogPostCommentInclude | null /** * The data needed to update a BlogPostComment. - * - **/ + */ data: XOR /** * Choose, which BlogPostComment to update. - * - **/ + */ where: BlogPostCommentWhereUniqueInput } @@ -5293,16 +6163,14 @@ export namespace Prisma { /** * BlogPostComment updateMany */ - export type BlogPostCommentUpdateManyArgs = { + export type BlogPostCommentUpdateManyArgs = { /** * The data used to update BlogPostComments. - * - **/ + */ data: XOR /** * Filter which BlogPostComments to update - * - **/ + */ where?: BlogPostCommentWhereInput } @@ -5310,31 +6178,26 @@ export namespace Prisma { /** * BlogPostComment upsert */ - export type BlogPostCommentUpsertArgs = { + export type BlogPostCommentUpsertArgs = { /** * Select specific fields to fetch from the BlogPostComment - * - **/ - select?: BlogPostCommentSelect | null + */ + select?: BlogPostCommentSelect | null /** * Choose, which related nodes to fetch as well. - * - **/ - include?: BlogPostCommentInclude | null + */ + include?: BlogPostCommentInclude | null /** * The filter to search for the BlogPostComment to update in case it exists. - * - **/ + */ where: BlogPostCommentWhereUniqueInput /** * In case the BlogPostComment found by the `where` argument doesn't exist, create a new BlogPostComment with this data. - * - **/ + */ create: XOR /** * In case the BlogPostComment was found with the provided `where` argument, update it with this data. - * - **/ + */ update: XOR } @@ -5342,21 +6205,18 @@ export namespace Prisma { /** * BlogPostComment delete */ - export type BlogPostCommentDeleteArgs = { + export type BlogPostCommentDeleteArgs = { /** * Select specific fields to fetch from the BlogPostComment - * - **/ - select?: BlogPostCommentSelect | null + */ + select?: BlogPostCommentSelect | null /** * Choose, which related nodes to fetch as well. - * - **/ - include?: BlogPostCommentInclude | null + */ + include?: BlogPostCommentInclude | null /** * Filter which BlogPostComment to delete. - * - **/ + */ where: BlogPostCommentWhereUniqueInput } @@ -5364,29 +6224,58 @@ export namespace Prisma { /** * BlogPostComment deleteMany */ - export type BlogPostCommentDeleteManyArgs = { + export type BlogPostCommentDeleteManyArgs = { /** * Filter which BlogPostComments to delete - * - **/ + */ where?: BlogPostCommentWhereInput } + /** + * BlogPostComment.post + */ + export type BlogPostComment$postArgs = { + /** + * Select specific fields to fetch from the BlogPost + */ + select?: BlogPostSelect | null + /** + * Choose, which related nodes to fetch as well. + */ + include?: BlogPostInclude | null + where?: BlogPostWhereInput + } + + + /** + * BlogPostComment.author + */ + export type BlogPostComment$authorArgs = { + /** + * Select specific fields to fetch from the User + */ + select?: UserSelect | null + /** + * Choose, which related nodes to fetch as well. + */ + include?: UserInclude | null + where?: UserWhereInput + } + + /** * BlogPostComment without action */ - export type BlogPostCommentArgs = { + export type BlogPostCommentDefaultArgs = { /** * Select specific fields to fetch from the BlogPostComment - * - **/ - select?: BlogPostCommentSelect | null + */ + select?: BlogPostCommentSelect | null /** * Choose, which related nodes to fetch as well. - * - **/ - include?: BlogPostCommentInclude | null + */ + include?: BlogPostCommentInclude | null } @@ -5395,7 +6284,6 @@ export namespace Prisma { * Model Site */ - export type AggregateSite = { _count: SiteCountAggregateOutputType | null _min: SiteMinAggregateOutputType | null @@ -5447,39 +6335,34 @@ export namespace Prisma { _all?: true } - export type SiteAggregateArgs = { + export type SiteAggregateArgs = { /** * Filter which Site to aggregate. - * - **/ + */ where?: SiteWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Sites to fetch. - * - **/ - orderBy?: Enumerable + */ + orderBy?: SiteOrderByWithRelationInput | SiteOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position - * - **/ + */ cursor?: SiteWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Sites from the position of the cursor. - * - **/ + */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` Sites. - * - **/ + */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} @@ -5512,10 +6395,10 @@ export namespace Prisma { - export type SiteGroupByArgs = { + export type SiteGroupByArgs = { where?: SiteWhereInput - orderBy?: Enumerable - by: Array + orderBy?: SiteOrderByWithAggregationInput | SiteOrderByWithAggregationInput[] + by: SiteScalarFieldEnum[] | SiteScalarFieldEnum having?: SiteScalarWhereWithAggregatesInput take?: number skip?: number @@ -5524,7 +6407,6 @@ export namespace Prisma { _max?: SiteMaxAggregateInputType } - export type SiteGroupByOutputType = { id: string name: string @@ -5535,9 +6417,9 @@ export namespace Prisma { _max: SiteMaxAggregateOutputType | null } - type GetSiteGroupByPayload = PrismaPromise< + type GetSiteGroupByPayload = Prisma.PrismaPromise< Array< - PickArray & + PickEnumerable & { [P in ((keyof T) & (keyof SiteGroupByOutputType))]: P extends '_count' ? T[P] extends boolean @@ -5549,47 +6431,50 @@ export namespace Prisma { > - export type SiteSelect = { + export type SiteSelect = $Extensions.GetSelect<{ id?: boolean name?: boolean url?: boolean - owner?: boolean | UserArgs userId?: boolean + owner?: boolean | Site$ownerArgs + }, ExtArgs["result"]["site"]> + + export type SiteSelectScalar = { + id?: boolean + name?: boolean + url?: boolean + userId?: boolean + } + + export type SiteInclude = { + owner?: boolean | Site$ownerArgs + } + + + export type $SitePayload = { + name: "Site" + objects: { + owner: Prisma.$UserPayload | null + } + scalars: $Extensions.GetPayloadResult<{ + id: string + name: string + url: string + userId: string | null + }, ExtArgs["result"]["site"]> + composites: {} } - export type SiteInclude = { - owner?: boolean | UserArgs - } - - export type SiteGetPayload< - S extends boolean | null | undefined | SiteArgs, - U = keyof S - > = S extends true - ? Site - : S extends undefined - ? never - : S extends SiteArgs | SiteFindManyArgs - ?'include' extends U - ? Site & { - [P in TrueKeys]: - P extends 'owner' ? UserGetPayload | null : never - } - : 'select' extends U - ? { - [P in TrueKeys]: - P extends 'owner' ? UserGetPayload | null : P extends keyof Site ? Site[P] : never - } - : Site - : Site - - - type SiteCountArgs = Merge< - Omit & { + + type SiteGetPayload = $Result.GetResult + + type SiteCountArgs = + Omit & { select?: SiteCountAggregateInputType | true } - > - export interface SiteDelegate { + export interface SiteDelegate { + [K: symbol]: { types: Prisma.TypeMap['model']['Site'], meta: { name: 'Site' } } /** * Find zero or one Site that matches the filter. * @param {SiteFindUniqueArgs} args - Arguments to find a Site @@ -5601,9 +6486,25 @@ export namespace Prisma { * } * }) **/ - findUnique( - args: SelectSubset - ): HasReject extends True ? CheckSelect, Prisma__SiteClient>> : CheckSelect, Prisma__SiteClient | null >> + findUnique>( + args: SelectSubset> + ): Prisma__SiteClient<$Result.GetResult, T, 'findUnique'> | null, null, ExtArgs> + + /** + * Find one Site that matches the filter or throw an error with `error.code='P2025'` + * if no matches were found. + * @param {SiteFindUniqueOrThrowArgs} args - Arguments to find a Site + * @example + * // Get one Site + * const site = await prisma.site.findUniqueOrThrow({ + * where: { + * // ... provide filter here + * } + * }) + **/ + findUniqueOrThrow>( + args?: SelectSubset> + ): Prisma__SiteClient<$Result.GetResult, T, 'findUniqueOrThrow'>, never, ExtArgs> /** * Find the first Site that matches the filter. @@ -5618,9 +6519,27 @@ export namespace Prisma { * } * }) **/ - findFirst( - args?: SelectSubset - ): HasReject extends True ? CheckSelect, Prisma__SiteClient>> : CheckSelect, Prisma__SiteClient | null >> + findFirst>( + args?: SelectSubset> + ): Prisma__SiteClient<$Result.GetResult, T, 'findFirst'> | null, null, ExtArgs> + + /** + * Find the first Site that matches the filter or + * throw `PrismaKnownClientError` with `P2025` code if no matches were found. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {SiteFindFirstOrThrowArgs} args - Arguments to find a Site + * @example + * // Get one Site + * const site = await prisma.site.findFirstOrThrow({ + * where: { + * // ... provide filter here + * } + * }) + **/ + findFirstOrThrow>( + args?: SelectSubset> + ): Prisma__SiteClient<$Result.GetResult, T, 'findFirstOrThrow'>, never, ExtArgs> /** * Find zero or more Sites that matches the filter. @@ -5638,9 +6557,9 @@ export namespace Prisma { * const siteWithIdOnly = await prisma.site.findMany({ select: { id: true } }) * **/ - findMany( - args?: SelectSubset - ): CheckSelect>, PrismaPromise>>> + findMany>( + args?: SelectSubset> + ): Prisma.PrismaPromise<$Result.GetResult, T, 'findMany'>> /** * Create a Site. @@ -5654,9 +6573,9 @@ export namespace Prisma { * }) * **/ - create( - args: SelectSubset - ): CheckSelect, Prisma__SiteClient>> + create>( + args: SelectSubset> + ): Prisma__SiteClient<$Result.GetResult, T, 'create'>, never, ExtArgs> /** * Create many Sites. @@ -5670,9 +6589,9 @@ export namespace Prisma { * }) * **/ - createMany( - args?: SelectSubset - ): PrismaPromise + createMany>( + args?: SelectSubset> + ): Prisma.PrismaPromise /** * Delete a Site. @@ -5686,9 +6605,9 @@ export namespace Prisma { * }) * **/ - delete( - args: SelectSubset - ): CheckSelect, Prisma__SiteClient>> + delete>( + args: SelectSubset> + ): Prisma__SiteClient<$Result.GetResult, T, 'delete'>, never, ExtArgs> /** * Update one Site. @@ -5705,9 +6624,9 @@ export namespace Prisma { * }) * **/ - update( - args: SelectSubset - ): CheckSelect, Prisma__SiteClient>> + update>( + args: SelectSubset> + ): Prisma__SiteClient<$Result.GetResult, T, 'update'>, never, ExtArgs> /** * Delete zero or more Sites. @@ -5721,9 +6640,9 @@ export namespace Prisma { * }) * **/ - deleteMany( - args?: SelectSubset - ): PrismaPromise + deleteMany>( + args?: SelectSubset> + ): Prisma.PrismaPromise /** * Update zero or more Sites. @@ -5742,9 +6661,9 @@ export namespace Prisma { * }) * **/ - updateMany( - args: SelectSubset - ): PrismaPromise + updateMany>( + args: SelectSubset> + ): Prisma.PrismaPromise /** * Create or update one Site. @@ -5763,9 +6682,9 @@ export namespace Prisma { * } * }) **/ - upsert( - args: SelectSubset - ): CheckSelect, Prisma__SiteClient>> + upsert>( + args: SelectSubset> + ): Prisma__SiteClient<$Result.GetResult, T, 'upsert'>, never, ExtArgs> /** * Count the number of Sites. @@ -5782,8 +6701,8 @@ export namespace Prisma { **/ count( args?: Subset, - ): PrismaPromise< - T extends _Record<'select', any> + ): Prisma.PrismaPromise< + T extends $Utils.Record<'select', any> ? T['select'] extends true ? number : GetScalarType @@ -5814,7 +6733,7 @@ export namespace Prisma { * take: 10, * }) **/ - aggregate(args: Subset): PrismaPromise> + aggregate(args: Subset): Prisma.PrismaPromise> /** * Group by Site. @@ -5844,7 +6763,7 @@ export namespace Prisma { ? { orderBy: SiteGroupByArgs['orderBy'] } : { orderBy?: SiteGroupByArgs['orderBy'] }, OrderFields extends ExcludeUnderscoreKeys>>, - ByFields extends TupleToUnion, + ByFields extends MaybeTupleToUnion, ByValid extends Has, HavingFields extends GetHavingFields, HavingValid extends Has, @@ -5891,7 +6810,11 @@ export namespace Prisma { ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` }[OrderFields] - >(args: SubsetIntersection & InputErrors): {} extends InputErrors ? GetSiteGroupByPayload : PrismaPromise + >(args: SubsetIntersection & InputErrors): {} extends InputErrors ? GetSiteGroupByPayload : Prisma.PrismaPromise + /** + * Fields of the Site model + */ + readonly fields: SiteFieldRefs; } /** @@ -5900,73 +6823,82 @@ export namespace Prisma { * Because we want to prevent naming conflicts as mentioned in * https://github.com/prisma/prisma-client-js/issues/707 */ - export class Prisma__SiteClient implements PrismaPromise { - [prisma]: true; - private readonly _dmmf; - private readonly _fetcher; - private readonly _queryType; - private readonly _rootField; - private readonly _clientMethod; - private readonly _args; - private readonly _dataPath; - private readonly _errorFormat; - private readonly _measurePerformance?; - private _isList; - private _callsite; - private _requestPromise?; - constructor(_dmmf: runtime.DMMFClass, _fetcher: PrismaClientFetcher, _queryType: 'query' | 'mutation', _rootField: string, _clientMethod: string, _args: any, _dataPath: string[], _errorFormat: ErrorFormat, _measurePerformance?: boolean | undefined, _isList?: boolean); - readonly [Symbol.toStringTag]: 'PrismaClientPromise'; - - owner(args?: Subset): CheckSelect, Prisma__UserClient | null >>; - - private get _document(); + export interface Prisma__SiteClient extends Prisma.PrismaPromise { + readonly [Symbol.toStringTag]: 'PrismaPromise'; + + owner = {}>(args?: Subset>): Prisma__UserClient<$Result.GetResult, T, 'findUniqueOrThrow'> | null, null, ExtArgs>; + /** * Attaches callbacks for the resolution and/or rejection of the Promise. * @param onfulfilled The callback to execute when the Promise is resolved. * @param onrejected The callback to execute when the Promise is rejected. * @returns A Promise for the completion of which ever callback is executed. */ - then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): Promise; + then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): $Utils.JsPromise; /** * Attaches a callback for only the rejection of the Promise. * @param onrejected The callback to execute when the Promise is rejected. * @returns A Promise for the completion of the callback. */ - catch(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): Promise; + catch(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): $Utils.JsPromise; /** * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The * resolved value cannot be modified from the callback. * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected). * @returns A Promise for the completion of the callback. */ - finally(onfinally?: (() => void) | undefined | null): Promise; + finally(onfinally?: (() => void) | undefined | null): $Utils.JsPromise; + } + + + + /** + * Fields of the Site model + */ + interface SiteFieldRefs { + readonly id: FieldRef<"Site", 'String'> + readonly name: FieldRef<"Site", 'String'> + readonly url: FieldRef<"Site", 'String'> + readonly userId: FieldRef<"Site", 'String'> } + // Custom InputTypes /** * Site findUnique */ - export type SiteFindUniqueArgs = { + export type SiteFindUniqueArgs = { /** * Select specific fields to fetch from the Site - * - **/ - select?: SiteSelect | null + */ + select?: SiteSelect | null /** * Choose, which related nodes to fetch as well. - * - **/ - include?: SiteInclude | null + */ + include?: SiteInclude | null /** - * Throw an Error if a Site can't be found - * - **/ - rejectOnNotFound?: RejectOnNotFound + * Filter, which Site to fetch. + */ + where: SiteWhereUniqueInput + } + + + /** + * Site findUniqueOrThrow + */ + export type SiteFindUniqueOrThrowArgs = { + /** + * Select specific fields to fetch from the Site + */ + select?: SiteSelect | null + /** + * Choose, which related nodes to fetch as well. + */ + include?: SiteInclude | null /** * Filter, which Site to fetch. - * - **/ + */ where: SiteWhereUniqueInput } @@ -5974,134 +6906,160 @@ export namespace Prisma { /** * Site findFirst */ - export type SiteFindFirstArgs = { + export type SiteFindFirstArgs = { /** * Select specific fields to fetch from the Site - * - **/ - select?: SiteSelect | null + */ + select?: SiteSelect | null /** * Choose, which related nodes to fetch as well. - * - **/ - include?: SiteInclude | null - /** - * Throw an Error if a Site can't be found - * - **/ - rejectOnNotFound?: RejectOnNotFound + */ + include?: SiteInclude | null /** * Filter, which Site to fetch. - * - **/ + */ where?: SiteWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Sites to fetch. - * - **/ - orderBy?: Enumerable + */ + orderBy?: SiteOrderByWithRelationInput | SiteOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for Sites. - * - **/ + */ cursor?: SiteWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Sites from the position of the cursor. - * - **/ + */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` Sites. - * - **/ + */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of Sites. + */ + distinct?: SiteScalarFieldEnum | SiteScalarFieldEnum[] + } + + + /** + * Site findFirstOrThrow + */ + export type SiteFindFirstOrThrowArgs = { + /** + * Select specific fields to fetch from the Site + */ + select?: SiteSelect | null + /** + * Choose, which related nodes to fetch as well. + */ + include?: SiteInclude | null + /** + * Filter, which Site to fetch. + */ + where?: SiteWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * - **/ - distinct?: Enumerable + * Determine the order of Sites to fetch. + */ + orderBy?: SiteOrderByWithRelationInput | SiteOrderByWithRelationInput[] + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} + * + * Sets the position for searching for Sites. + */ + cursor?: SiteWhereUniqueInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Take `±n` Sites from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` Sites. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of Sites. + */ + distinct?: SiteScalarFieldEnum | SiteScalarFieldEnum[] } /** * Site findMany */ - export type SiteFindManyArgs = { + export type SiteFindManyArgs = { /** * Select specific fields to fetch from the Site - * - **/ - select?: SiteSelect | null + */ + select?: SiteSelect | null /** * Choose, which related nodes to fetch as well. - * - **/ - include?: SiteInclude | null + */ + include?: SiteInclude | null /** * Filter, which Sites to fetch. - * - **/ + */ where?: SiteWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Sites to fetch. - * - **/ - orderBy?: Enumerable + */ + orderBy?: SiteOrderByWithRelationInput | SiteOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing Sites. - * - **/ + */ cursor?: SiteWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Sites from the position of the cursor. - * - **/ + */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` Sites. - * - **/ + */ skip?: number - distinct?: Enumerable + distinct?: SiteScalarFieldEnum | SiteScalarFieldEnum[] } /** * Site create */ - export type SiteCreateArgs = { + export type SiteCreateArgs = { /** * Select specific fields to fetch from the Site - * - **/ - select?: SiteSelect | null + */ + select?: SiteSelect | null /** * Choose, which related nodes to fetch as well. - * - **/ - include?: SiteInclude | null + */ + include?: SiteInclude | null /** * The data needed to create a Site. - * - **/ + */ data: XOR } @@ -6109,12 +7067,11 @@ export namespace Prisma { /** * Site createMany */ - export type SiteCreateManyArgs = { + export type SiteCreateManyArgs = { /** * The data used to create many Sites. - * - **/ - data: Enumerable + */ + data: SiteCreateManyInput | SiteCreateManyInput[] skipDuplicates?: boolean } @@ -6122,26 +7079,22 @@ export namespace Prisma { /** * Site update */ - export type SiteUpdateArgs = { + export type SiteUpdateArgs = { /** * Select specific fields to fetch from the Site - * - **/ - select?: SiteSelect | null + */ + select?: SiteSelect | null /** * Choose, which related nodes to fetch as well. - * - **/ - include?: SiteInclude | null + */ + include?: SiteInclude | null /** * The data needed to update a Site. - * - **/ + */ data: XOR /** * Choose, which Site to update. - * - **/ + */ where: SiteWhereUniqueInput } @@ -6149,16 +7102,14 @@ export namespace Prisma { /** * Site updateMany */ - export type SiteUpdateManyArgs = { + export type SiteUpdateManyArgs = { /** * The data used to update Sites. - * - **/ + */ data: XOR /** * Filter which Sites to update - * - **/ + */ where?: SiteWhereInput } @@ -6166,31 +7117,26 @@ export namespace Prisma { /** * Site upsert */ - export type SiteUpsertArgs = { + export type SiteUpsertArgs = { /** * Select specific fields to fetch from the Site - * - **/ - select?: SiteSelect | null + */ + select?: SiteSelect | null /** * Choose, which related nodes to fetch as well. - * - **/ - include?: SiteInclude | null + */ + include?: SiteInclude | null /** * The filter to search for the Site to update in case it exists. - * - **/ + */ where: SiteWhereUniqueInput /** * In case the Site found by the `where` argument doesn't exist, create a new Site with this data. - * - **/ + */ create: XOR /** * In case the Site was found with the provided `where` argument, update it with this data. - * - **/ + */ update: XOR } @@ -6198,21 +7144,18 @@ export namespace Prisma { /** * Site delete */ - export type SiteDeleteArgs = { + export type SiteDeleteArgs = { /** * Select specific fields to fetch from the Site - * - **/ - select?: SiteSelect | null + */ + select?: SiteSelect | null /** * Choose, which related nodes to fetch as well. - * - **/ - include?: SiteInclude | null + */ + include?: SiteInclude | null /** * Filter which Site to delete. - * - **/ + */ where: SiteWhereUniqueInput } @@ -6220,29 +7163,42 @@ export namespace Prisma { /** * Site deleteMany */ - export type SiteDeleteManyArgs = { + export type SiteDeleteManyArgs = { /** * Filter which Sites to delete - * - **/ + */ where?: SiteWhereInput } + /** + * Site.owner + */ + export type Site$ownerArgs = { + /** + * Select specific fields to fetch from the User + */ + select?: UserSelect | null + /** + * Choose, which related nodes to fetch as well. + */ + include?: UserInclude | null + where?: UserWhereInput + } + + /** * Site without action */ - export type SiteArgs = { + export type SiteDefaultArgs = { /** * Select specific fields to fetch from the Site - * - **/ - select?: SiteSelect | null + */ + select?: SiteSelect | null /** * Choose, which related nodes to fetch as well. - * - **/ - include?: SiteInclude | null + */ + include?: SiteInclude | null } @@ -6251,7 +7207,6 @@ export namespace Prisma { * Model User */ - export type AggregateUser = { _count: UserCountAggregateOutputType | null _avg: UserAvgAggregateOutputType | null @@ -6273,7 +7228,7 @@ export namespace Prisma { email: string | null firstName: string | null lastName: string | null - gender: Gender | null + gender: $Enums.Gender | null yearOfBirth: number | null wantsNewsletter: boolean | null weddingDate: Date | null @@ -6284,7 +7239,7 @@ export namespace Prisma { email: string | null firstName: string | null lastName: string | null - gender: Gender | null + gender: $Enums.Gender | null yearOfBirth: number | null wantsNewsletter: boolean | null weddingDate: Date | null @@ -6349,39 +7304,34 @@ export namespace Prisma { _all?: true } - export type UserAggregateArgs = { + export type UserAggregateArgs = { /** * Filter which User to aggregate. - * - **/ + */ where?: UserWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Users to fetch. - * - **/ - orderBy?: Enumerable + */ + orderBy?: UserOrderByWithRelationInput | UserOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position - * - **/ + */ cursor?: UserWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Users from the position of the cursor. - * - **/ + */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` Users. - * - **/ + */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} @@ -6426,10 +7376,10 @@ export namespace Prisma { - export type UserGroupByArgs = { + export type UserGroupByArgs = { where?: UserWhereInput - orderBy?: Enumerable - by: Array + orderBy?: UserOrderByWithAggregationInput | UserOrderByWithAggregationInput[] + by: UserScalarFieldEnum[] | UserScalarFieldEnum having?: UserScalarWhereWithAggregatesInput take?: number skip?: number @@ -6440,16 +7390,15 @@ export namespace Prisma { _max?: UserMaxAggregateInputType } - export type UserGroupByOutputType = { id: string email: string firstName: string | null lastName: string | null - gender: Gender | null + gender: $Enums.Gender | null yearOfBirth: number | null wantsNewsletter: boolean - interests: Topic[] + interests: $Enums.Topic[] address: JsonValue | null weddingDate: Date | null _count: UserCountAggregateOutputType | null @@ -6459,9 +7408,9 @@ export namespace Prisma { _max: UserMaxAggregateOutputType | null } - type GetUserGroupByPayload = PrismaPromise< + type GetUserGroupByPayload = Prisma.PrismaPromise< Array< - PickArray & + PickEnumerable & { [P in ((keyof T) & (keyof UserGroupByOutputType))]: P extends '_count' ? T[P] extends boolean @@ -6473,77 +7422,91 @@ export namespace Prisma { > - export type UserSelect = { + export type UserSelect = $Extensions.GetSelect<{ + id?: boolean + email?: boolean + firstName?: boolean + lastName?: boolean + gender?: boolean + yearOfBirth?: boolean + wantsNewsletter?: boolean + interests?: boolean + address?: boolean + weddingDate?: boolean + roles?: boolean | User$rolesArgs + userSocialMedia?: boolean | User$userSocialMediaArgs + blogPosts?: boolean | User$blogPostsArgs + comments?: boolean | User$commentsArgs + companies?: boolean | User$companiesArgs + site?: boolean | User$siteArgs + _count?: boolean | UserCountOutputTypeDefaultArgs + }, ExtArgs["result"]["user"]> + + export type UserSelectScalar = { id?: boolean email?: boolean - roles?: boolean | UserRoleFindManyArgs firstName?: boolean lastName?: boolean gender?: boolean yearOfBirth?: boolean wantsNewsletter?: boolean interests?: boolean - userSocialMedia?: boolean | UserSocialMediaArgs address?: boolean - blogPosts?: boolean | BlogPostFindManyArgs - comments?: boolean | BlogPostCommentFindManyArgs - companies?: boolean | CompanyFindManyArgs weddingDate?: boolean - site?: boolean | SiteArgs - _count?: boolean | UserCountOutputTypeArgs - } - - export type UserInclude = { - roles?: boolean | UserRoleFindManyArgs - userSocialMedia?: boolean | UserSocialMediaArgs - blogPosts?: boolean | BlogPostFindManyArgs - comments?: boolean | BlogPostCommentFindManyArgs - companies?: boolean | CompanyFindManyArgs - site?: boolean | SiteArgs - _count?: boolean | UserCountOutputTypeArgs - } - - export type UserGetPayload< - S extends boolean | null | undefined | UserArgs, - U = keyof S - > = S extends true - ? User - : S extends undefined - ? never - : S extends UserArgs | UserFindManyArgs - ?'include' extends U - ? User & { - [P in TrueKeys]: - P extends 'roles' ? Array < UserRoleGetPayload> : - P extends 'userSocialMedia' ? UserSocialMediaGetPayload | null : - P extends 'blogPosts' ? Array < BlogPostGetPayload> : - P extends 'comments' ? Array < BlogPostCommentGetPayload> : - P extends 'companies' ? Array < CompanyGetPayload> : - P extends 'site' ? SiteGetPayload | null : - P extends '_count' ? UserCountOutputTypeGetPayload : never - } - : 'select' extends U - ? { - [P in TrueKeys]: - P extends 'roles' ? Array < UserRoleGetPayload> : - P extends 'userSocialMedia' ? UserSocialMediaGetPayload | null : - P extends 'blogPosts' ? Array < BlogPostGetPayload> : - P extends 'comments' ? Array < BlogPostCommentGetPayload> : - P extends 'companies' ? Array < CompanyGetPayload> : - P extends 'site' ? SiteGetPayload | null : - P extends '_count' ? UserCountOutputTypeGetPayload : P extends keyof User ? User[P] : never - } - : User - : User - - - type UserCountArgs = Merge< - Omit & { + } + + export type UserInclude = { + roles?: boolean | User$rolesArgs + userSocialMedia?: boolean | User$userSocialMediaArgs + blogPosts?: boolean | User$blogPostsArgs + comments?: boolean | User$commentsArgs + companies?: boolean | User$companiesArgs + site?: boolean | User$siteArgs + _count?: boolean | UserCountOutputTypeDefaultArgs + } + + + export type $UserPayload = { + name: "User" + objects: { + roles: Prisma.$UserRolePayload[] + userSocialMedia: Prisma.$UserSocialMediaPayload | null + blogPosts: Prisma.$BlogPostPayload[] + comments: Prisma.$BlogPostCommentPayload[] + companies: Prisma.$CompanyPayload[] + /** + * @TypeGraphQL.omit(output: true) + */ + site: Prisma.$SitePayload | null + } + scalars: $Extensions.GetPayloadResult<{ + id: string + email: string + firstName: string | null + lastName: string | null + gender: $Enums.Gender | null + yearOfBirth: number | null + wantsNewsletter: boolean + interests: $Enums.Topic[] + /** + * @TypeGraphQL.omit(output: true) + */ + address: Prisma.JsonValue | null + weddingDate: Date | null + }, ExtArgs["result"]["user"]> + composites: {} + } + + + type UserGetPayload = $Result.GetResult + + type UserCountArgs = + Omit & { select?: UserCountAggregateInputType | true } - > - export interface UserDelegate { + export interface UserDelegate { + [K: symbol]: { types: Prisma.TypeMap['model']['User'], meta: { name: 'User' } } /** * Find zero or one User that matches the filter. * @param {UserFindUniqueArgs} args - Arguments to find a User @@ -6555,9 +7518,25 @@ export namespace Prisma { * } * }) **/ - findUnique( - args: SelectSubset - ): HasReject extends True ? CheckSelect, Prisma__UserClient>> : CheckSelect, Prisma__UserClient | null >> + findUnique>( + args: SelectSubset> + ): Prisma__UserClient<$Result.GetResult, T, 'findUnique'> | null, null, ExtArgs> + + /** + * Find one User that matches the filter or throw an error with `error.code='P2025'` + * if no matches were found. + * @param {UserFindUniqueOrThrowArgs} args - Arguments to find a User + * @example + * // Get one User + * const user = await prisma.user.findUniqueOrThrow({ + * where: { + * // ... provide filter here + * } + * }) + **/ + findUniqueOrThrow>( + args?: SelectSubset> + ): Prisma__UserClient<$Result.GetResult, T, 'findUniqueOrThrow'>, never, ExtArgs> /** * Find the first User that matches the filter. @@ -6572,9 +7551,27 @@ export namespace Prisma { * } * }) **/ - findFirst( - args?: SelectSubset - ): HasReject extends True ? CheckSelect, Prisma__UserClient>> : CheckSelect, Prisma__UserClient | null >> + findFirst>( + args?: SelectSubset> + ): Prisma__UserClient<$Result.GetResult, T, 'findFirst'> | null, null, ExtArgs> + + /** + * Find the first User that matches the filter or + * throw `PrismaKnownClientError` with `P2025` code if no matches were found. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {UserFindFirstOrThrowArgs} args - Arguments to find a User + * @example + * // Get one User + * const user = await prisma.user.findFirstOrThrow({ + * where: { + * // ... provide filter here + * } + * }) + **/ + findFirstOrThrow>( + args?: SelectSubset> + ): Prisma__UserClient<$Result.GetResult, T, 'findFirstOrThrow'>, never, ExtArgs> /** * Find zero or more Users that matches the filter. @@ -6592,9 +7589,9 @@ export namespace Prisma { * const userWithIdOnly = await prisma.user.findMany({ select: { id: true } }) * **/ - findMany( - args?: SelectSubset - ): CheckSelect>, PrismaPromise>>> + findMany>( + args?: SelectSubset> + ): Prisma.PrismaPromise<$Result.GetResult, T, 'findMany'>> /** * Create a User. @@ -6608,9 +7605,9 @@ export namespace Prisma { * }) * **/ - create( - args: SelectSubset - ): CheckSelect, Prisma__UserClient>> + create>( + args: SelectSubset> + ): Prisma__UserClient<$Result.GetResult, T, 'create'>, never, ExtArgs> /** * Create many Users. @@ -6624,9 +7621,9 @@ export namespace Prisma { * }) * **/ - createMany( - args?: SelectSubset - ): PrismaPromise + createMany>( + args?: SelectSubset> + ): Prisma.PrismaPromise /** * Delete a User. @@ -6640,9 +7637,9 @@ export namespace Prisma { * }) * **/ - delete( - args: SelectSubset - ): CheckSelect, Prisma__UserClient>> + delete>( + args: SelectSubset> + ): Prisma__UserClient<$Result.GetResult, T, 'delete'>, never, ExtArgs> /** * Update one User. @@ -6659,9 +7656,9 @@ export namespace Prisma { * }) * **/ - update( - args: SelectSubset - ): CheckSelect, Prisma__UserClient>> + update>( + args: SelectSubset> + ): Prisma__UserClient<$Result.GetResult, T, 'update'>, never, ExtArgs> /** * Delete zero or more Users. @@ -6675,9 +7672,9 @@ export namespace Prisma { * }) * **/ - deleteMany( - args?: SelectSubset - ): PrismaPromise + deleteMany>( + args?: SelectSubset> + ): Prisma.PrismaPromise /** * Update zero or more Users. @@ -6696,9 +7693,9 @@ export namespace Prisma { * }) * **/ - updateMany( - args: SelectSubset - ): PrismaPromise + updateMany>( + args: SelectSubset> + ): Prisma.PrismaPromise /** * Create or update one User. @@ -6717,9 +7714,9 @@ export namespace Prisma { * } * }) **/ - upsert( - args: SelectSubset - ): CheckSelect, Prisma__UserClient>> + upsert>( + args: SelectSubset> + ): Prisma__UserClient<$Result.GetResult, T, 'upsert'>, never, ExtArgs> /** * Count the number of Users. @@ -6736,8 +7733,8 @@ export namespace Prisma { **/ count( args?: Subset, - ): PrismaPromise< - T extends _Record<'select', any> + ): Prisma.PrismaPromise< + T extends $Utils.Record<'select', any> ? T['select'] extends true ? number : GetScalarType @@ -6768,7 +7765,7 @@ export namespace Prisma { * take: 10, * }) **/ - aggregate(args: Subset): PrismaPromise> + aggregate(args: Subset): Prisma.PrismaPromise> /** * Group by User. @@ -6798,7 +7795,7 @@ export namespace Prisma { ? { orderBy: UserGroupByArgs['orderBy'] } : { orderBy?: UserGroupByArgs['orderBy'] }, OrderFields extends ExcludeUnderscoreKeys>>, - ByFields extends TupleToUnion, + ByFields extends MaybeTupleToUnion, ByValid extends Has, HavingFields extends GetHavingFields, HavingValid extends Has, @@ -6845,7 +7842,11 @@ export namespace Prisma { ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` }[OrderFields] - >(args: SubsetIntersection & InputErrors): {} extends InputErrors ? GetUserGroupByPayload : PrismaPromise + >(args: SubsetIntersection & InputErrors): {} extends InputErrors ? GetUserGroupByPayload : Prisma.PrismaPromise + /** + * Fields of the User model + */ + readonly fields: UserFieldRefs; } /** @@ -6854,83 +7855,98 @@ export namespace Prisma { * Because we want to prevent naming conflicts as mentioned in * https://github.com/prisma/prisma-client-js/issues/707 */ - export class Prisma__UserClient implements PrismaPromise { - [prisma]: true; - private readonly _dmmf; - private readonly _fetcher; - private readonly _queryType; - private readonly _rootField; - private readonly _clientMethod; - private readonly _args; - private readonly _dataPath; - private readonly _errorFormat; - private readonly _measurePerformance?; - private _isList; - private _callsite; - private _requestPromise?; - constructor(_dmmf: runtime.DMMFClass, _fetcher: PrismaClientFetcher, _queryType: 'query' | 'mutation', _rootField: string, _clientMethod: string, _args: any, _dataPath: string[], _errorFormat: ErrorFormat, _measurePerformance?: boolean | undefined, _isList?: boolean); - readonly [Symbol.toStringTag]: 'PrismaClientPromise'; + export interface Prisma__UserClient extends Prisma.PrismaPromise { + readonly [Symbol.toStringTag]: 'PrismaPromise'; - roles(args?: Subset): CheckSelect>, PrismaPromise>>>; + roles = {}>(args?: Subset>): Prisma.PrismaPromise<$Result.GetResult, T, 'findMany'> | Null>; - userSocialMedia(args?: Subset): CheckSelect, Prisma__UserSocialMediaClient | null >>; + userSocialMedia = {}>(args?: Subset>): Prisma__UserSocialMediaClient<$Result.GetResult, T, 'findUniqueOrThrow'> | null, null, ExtArgs>; - blogPosts(args?: Subset): CheckSelect>, PrismaPromise>>>; + blogPosts = {}>(args?: Subset>): Prisma.PrismaPromise<$Result.GetResult, T, 'findMany'> | Null>; - comments(args?: Subset): CheckSelect>, PrismaPromise>>>; + comments = {}>(args?: Subset>): Prisma.PrismaPromise<$Result.GetResult, T, 'findMany'> | Null>; - companies(args?: Subset): CheckSelect>, PrismaPromise>>>; + companies = {}>(args?: Subset>): Prisma.PrismaPromise<$Result.GetResult, T, 'findMany'> | Null>; - site(args?: Subset): CheckSelect, Prisma__SiteClient | null >>; + site = {}>(args?: Subset>): Prisma__SiteClient<$Result.GetResult, T, 'findUniqueOrThrow'> | null, null, ExtArgs>; - private get _document(); /** * Attaches callbacks for the resolution and/or rejection of the Promise. * @param onfulfilled The callback to execute when the Promise is resolved. * @param onrejected The callback to execute when the Promise is rejected. * @returns A Promise for the completion of which ever callback is executed. */ - then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): Promise; + then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): $Utils.JsPromise; /** * Attaches a callback for only the rejection of the Promise. * @param onrejected The callback to execute when the Promise is rejected. * @returns A Promise for the completion of the callback. */ - catch(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): Promise; + catch(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): $Utils.JsPromise; /** * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The * resolved value cannot be modified from the callback. * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected). * @returns A Promise for the completion of the callback. */ - finally(onfinally?: (() => void) | undefined | null): Promise; + finally(onfinally?: (() => void) | undefined | null): $Utils.JsPromise; } + + + /** + * Fields of the User model + */ + interface UserFieldRefs { + readonly id: FieldRef<"User", 'String'> + readonly email: FieldRef<"User", 'String'> + readonly firstName: FieldRef<"User", 'String'> + readonly lastName: FieldRef<"User", 'String'> + readonly gender: FieldRef<"User", 'Gender'> + readonly yearOfBirth: FieldRef<"User", 'Int'> + readonly wantsNewsletter: FieldRef<"User", 'Boolean'> + readonly interests: FieldRef<"User", 'Topic[]'> + readonly address: FieldRef<"User", 'Json'> + readonly weddingDate: FieldRef<"User", 'DateTime'> + } + + // Custom InputTypes /** * User findUnique */ - export type UserFindUniqueArgs = { + export type UserFindUniqueArgs = { /** * Select specific fields to fetch from the User - * - **/ - select?: UserSelect | null + */ + select?: UserSelect | null /** * Choose, which related nodes to fetch as well. - * - **/ - include?: UserInclude | null + */ + include?: UserInclude | null /** - * Throw an Error if a User can't be found - * - **/ - rejectOnNotFound?: RejectOnNotFound + * Filter, which User to fetch. + */ + where: UserWhereUniqueInput + } + + + /** + * User findUniqueOrThrow + */ + export type UserFindUniqueOrThrowArgs = { + /** + * Select specific fields to fetch from the User + */ + select?: UserSelect | null + /** + * Choose, which related nodes to fetch as well. + */ + include?: UserInclude | null /** * Filter, which User to fetch. - * - **/ + */ where: UserWhereUniqueInput } @@ -6938,134 +7954,160 @@ export namespace Prisma { /** * User findFirst */ - export type UserFindFirstArgs = { + export type UserFindFirstArgs = { /** * Select specific fields to fetch from the User - * - **/ - select?: UserSelect | null + */ + select?: UserSelect | null /** * Choose, which related nodes to fetch as well. + */ + include?: UserInclude | null + /** + * Filter, which User to fetch. + */ + where?: UserWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * - **/ - include?: UserInclude | null + * Determine the order of Users to fetch. + */ + orderBy?: UserOrderByWithRelationInput | UserOrderByWithRelationInput[] /** - * Throw an Error if a User can't be found + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * - **/ - rejectOnNotFound?: RejectOnNotFound + * Sets the position for searching for Users. + */ + cursor?: UserWhereUniqueInput /** - * Filter, which User to fetch. + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * - **/ + * Take `±n` Users from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` Users. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of Users. + */ + distinct?: UserScalarFieldEnum | UserScalarFieldEnum[] + } + + + /** + * User findFirstOrThrow + */ + export type UserFindFirstOrThrowArgs = { + /** + * Select specific fields to fetch from the User + */ + select?: UserSelect | null + /** + * Choose, which related nodes to fetch as well. + */ + include?: UserInclude | null + /** + * Filter, which User to fetch. + */ where?: UserWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Users to fetch. - * - **/ - orderBy?: Enumerable + */ + orderBy?: UserOrderByWithRelationInput | UserOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for Users. - * - **/ + */ cursor?: UserWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Users from the position of the cursor. - * - **/ + */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` Users. - * - **/ + */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of Users. - * - **/ - distinct?: Enumerable + */ + distinct?: UserScalarFieldEnum | UserScalarFieldEnum[] } /** * User findMany */ - export type UserFindManyArgs = { + export type UserFindManyArgs = { /** * Select specific fields to fetch from the User - * - **/ - select?: UserSelect | null + */ + select?: UserSelect | null /** * Choose, which related nodes to fetch as well. - * - **/ - include?: UserInclude | null + */ + include?: UserInclude | null /** * Filter, which Users to fetch. - * - **/ + */ where?: UserWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Users to fetch. - * - **/ - orderBy?: Enumerable + */ + orderBy?: UserOrderByWithRelationInput | UserOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing Users. - * - **/ + */ cursor?: UserWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Users from the position of the cursor. - * - **/ + */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` Users. - * - **/ + */ skip?: number - distinct?: Enumerable + distinct?: UserScalarFieldEnum | UserScalarFieldEnum[] } /** * User create */ - export type UserCreateArgs = { + export type UserCreateArgs = { /** * Select specific fields to fetch from the User - * - **/ - select?: UserSelect | null + */ + select?: UserSelect | null /** * Choose, which related nodes to fetch as well. - * - **/ - include?: UserInclude | null + */ + include?: UserInclude | null /** * The data needed to create a User. - * - **/ + */ data: XOR } @@ -7073,12 +8115,11 @@ export namespace Prisma { /** * User createMany */ - export type UserCreateManyArgs = { + export type UserCreateManyArgs = { /** * The data used to create many Users. - * - **/ - data: Enumerable + */ + data: UserCreateManyInput | UserCreateManyInput[] skipDuplicates?: boolean } @@ -7086,26 +8127,22 @@ export namespace Prisma { /** * User update */ - export type UserUpdateArgs = { + export type UserUpdateArgs = { /** * Select specific fields to fetch from the User - * - **/ - select?: UserSelect | null + */ + select?: UserSelect | null /** * Choose, which related nodes to fetch as well. - * - **/ - include?: UserInclude | null + */ + include?: UserInclude | null /** * The data needed to update a User. - * - **/ + */ data: XOR /** * Choose, which User to update. - * - **/ + */ where: UserWhereUniqueInput } @@ -7113,16 +8150,14 @@ export namespace Prisma { /** * User updateMany */ - export type UserUpdateManyArgs = { + export type UserUpdateManyArgs = { /** * The data used to update Users. - * - **/ + */ data: XOR /** * Filter which Users to update - * - **/ + */ where?: UserWhereInput } @@ -7130,83 +8165,188 @@ export namespace Prisma { /** * User upsert */ - export type UserUpsertArgs = { + export type UserUpsertArgs = { /** * Select specific fields to fetch from the User - * - **/ - select?: UserSelect | null + */ + select?: UserSelect | null /** * Choose, which related nodes to fetch as well. - * - **/ - include?: UserInclude | null + */ + include?: UserInclude | null /** * The filter to search for the User to update in case it exists. - * - **/ + */ where: UserWhereUniqueInput /** * In case the User found by the `where` argument doesn't exist, create a new User with this data. - * - **/ + */ create: XOR /** * In case the User was found with the provided `where` argument, update it with this data. - * - **/ + */ update: XOR } /** - * User delete + * User delete + */ + export type UserDeleteArgs = { + /** + * Select specific fields to fetch from the User + */ + select?: UserSelect | null + /** + * Choose, which related nodes to fetch as well. + */ + include?: UserInclude | null + /** + * Filter which User to delete. + */ + where: UserWhereUniqueInput + } + + + /** + * User deleteMany + */ + export type UserDeleteManyArgs = { + /** + * Filter which Users to delete + */ + where?: UserWhereInput + } + + + /** + * User.roles + */ + export type User$rolesArgs = { + /** + * Select specific fields to fetch from the UserRole + */ + select?: UserRoleSelect | null + /** + * Choose, which related nodes to fetch as well. + */ + include?: UserRoleInclude | null + where?: UserRoleWhereInput + orderBy?: UserRoleOrderByWithRelationInput | UserRoleOrderByWithRelationInput[] + cursor?: UserRoleWhereUniqueInput + take?: number + skip?: number + distinct?: UserRoleScalarFieldEnum | UserRoleScalarFieldEnum[] + } + + + /** + * User.userSocialMedia + */ + export type User$userSocialMediaArgs = { + /** + * Select specific fields to fetch from the UserSocialMedia + */ + select?: UserSocialMediaSelect | null + /** + * Choose, which related nodes to fetch as well. + */ + include?: UserSocialMediaInclude | null + where?: UserSocialMediaWhereInput + } + + + /** + * User.blogPosts + */ + export type User$blogPostsArgs = { + /** + * Select specific fields to fetch from the BlogPost + */ + select?: BlogPostSelect | null + /** + * Choose, which related nodes to fetch as well. + */ + include?: BlogPostInclude | null + where?: BlogPostWhereInput + orderBy?: BlogPostOrderByWithRelationInput | BlogPostOrderByWithRelationInput[] + cursor?: BlogPostWhereUniqueInput + take?: number + skip?: number + distinct?: BlogPostScalarFieldEnum | BlogPostScalarFieldEnum[] + } + + + /** + * User.comments */ - export type UserDeleteArgs = { + export type User$commentsArgs = { /** - * Select specific fields to fetch from the User - * - **/ - select?: UserSelect | null + * Select specific fields to fetch from the BlogPostComment + */ + select?: BlogPostCommentSelect | null /** * Choose, which related nodes to fetch as well. - * - **/ - include?: UserInclude | null + */ + include?: BlogPostCommentInclude | null + where?: BlogPostCommentWhereInput + orderBy?: BlogPostCommentOrderByWithRelationInput | BlogPostCommentOrderByWithRelationInput[] + cursor?: BlogPostCommentWhereUniqueInput + take?: number + skip?: number + distinct?: BlogPostCommentScalarFieldEnum | BlogPostCommentScalarFieldEnum[] + } + + + /** + * User.companies + */ + export type User$companiesArgs = { /** - * Filter which User to delete. - * - **/ - where: UserWhereUniqueInput + * Select specific fields to fetch from the Company + */ + select?: CompanySelect | null + /** + * Choose, which related nodes to fetch as well. + */ + include?: CompanyInclude | null + where?: CompanyWhereInput + orderBy?: CompanyOrderByWithRelationInput | CompanyOrderByWithRelationInput[] + cursor?: CompanyWhereUniqueInput + take?: number + skip?: number + distinct?: CompanyScalarFieldEnum | CompanyScalarFieldEnum[] } /** - * User deleteMany + * User.site */ - export type UserDeleteManyArgs = { + export type User$siteArgs = { /** - * Filter which Users to delete - * - **/ - where?: UserWhereInput + * Select specific fields to fetch from the Site + */ + select?: SiteSelect | null + /** + * Choose, which related nodes to fetch as well. + */ + include?: SiteInclude | null + where?: SiteWhereInput } /** * User without action */ - export type UserArgs = { + export type UserDefaultArgs = { /** * Select specific fields to fetch from the User - * - **/ - select?: UserSelect | null + */ + select?: UserSelect | null /** * Choose, which related nodes to fetch as well. - * - **/ - include?: UserInclude | null + */ + include?: UserInclude | null } @@ -7215,7 +8355,6 @@ export namespace Prisma { * Model FilteringTest */ - export type AggregateFilteringTest = { _count: FilteringTestCountAggregateOutputType | null _avg: FilteringTestAvgAggregateOutputType | null @@ -7341,39 +8480,34 @@ export namespace Prisma { _all?: true } - export type FilteringTestAggregateArgs = { + export type FilteringTestAggregateArgs = { /** * Filter which FilteringTest to aggregate. - * - **/ + */ where?: FilteringTestWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of FilteringTests to fetch. - * - **/ - orderBy?: Enumerable + */ + orderBy?: FilteringTestOrderByWithRelationInput | FilteringTestOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position - * - **/ + */ cursor?: FilteringTestWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` FilteringTests from the position of the cursor. - * - **/ + */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` FilteringTests. - * - **/ + */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} @@ -7418,10 +8552,10 @@ export namespace Prisma { - export type FilteringTestGroupByArgs = { + export type FilteringTestGroupByArgs = { where?: FilteringTestWhereInput - orderBy?: Enumerable - by: Array + orderBy?: FilteringTestOrderByWithAggregationInput | FilteringTestOrderByWithAggregationInput[] + by: FilteringTestScalarFieldEnum[] | FilteringTestScalarFieldEnum having?: FilteringTestScalarWhereWithAggregatesInput take?: number skip?: number @@ -7432,7 +8566,6 @@ export namespace Prisma { _max?: FilteringTestMaxAggregateInputType } - export type FilteringTestGroupByOutputType = { id: number intField: number @@ -7451,9 +8584,9 @@ export namespace Prisma { _max: FilteringTestMaxAggregateOutputType | null } - type GetFilteringTestGroupByPayload = PrismaPromise< + type GetFilteringTestGroupByPayload = Prisma.PrismaPromise< Array< - PickArray & + PickEnumerable & { [P in ((keyof T) & (keyof FilteringTestGroupByOutputType))]: P extends '_count' ? T[P] extends boolean @@ -7465,7 +8598,20 @@ export namespace Prisma { > - export type FilteringTestSelect = { + export type FilteringTestSelect = $Extensions.GetSelect<{ + id?: boolean + intField?: boolean + floatField?: boolean + stringField?: boolean + dateTimeField?: boolean + boolField?: boolean + intField_lt?: boolean + intField_bt?: boolean + snake_field?: boolean + snake_field_bt?: boolean + }, ExtArgs["result"]["filteringTest"]> + + export type FilteringTestSelectScalar = { id?: boolean intField?: boolean floatField?: boolean @@ -7478,32 +8624,35 @@ export namespace Prisma { snake_field_bt?: boolean } - export type FilteringTestGetPayload< - S extends boolean | null | undefined | FilteringTestArgs, - U = keyof S - > = S extends true - ? FilteringTest - : S extends undefined - ? never - : S extends FilteringTestArgs | FilteringTestFindManyArgs - ?'include' extends U - ? FilteringTest - : 'select' extends U - ? { - [P in TrueKeys]: - P extends keyof FilteringTest ? FilteringTest[P] : never - } - : FilteringTest - : FilteringTest - - - type FilteringTestCountArgs = Merge< - Omit & { + + export type $FilteringTestPayload = { + name: "FilteringTest" + objects: {} + scalars: $Extensions.GetPayloadResult<{ + id: number + intField: number + floatField: number + stringField: string + dateTimeField: Date + boolField: boolean + intField_lt: string + intField_bt: number + snake_field: number + snake_field_bt: number + }, ExtArgs["result"]["filteringTest"]> + composites: {} + } + + + type FilteringTestGetPayload = $Result.GetResult + + type FilteringTestCountArgs = + Omit & { select?: FilteringTestCountAggregateInputType | true } - > - export interface FilteringTestDelegate { + export interface FilteringTestDelegate { + [K: symbol]: { types: Prisma.TypeMap['model']['FilteringTest'], meta: { name: 'FilteringTest' } } /** * Find zero or one FilteringTest that matches the filter. * @param {FilteringTestFindUniqueArgs} args - Arguments to find a FilteringTest @@ -7515,9 +8664,25 @@ export namespace Prisma { * } * }) **/ - findUnique( - args: SelectSubset - ): HasReject extends True ? CheckSelect, Prisma__FilteringTestClient>> : CheckSelect, Prisma__FilteringTestClient | null >> + findUnique>( + args: SelectSubset> + ): Prisma__FilteringTestClient<$Result.GetResult, T, 'findUnique'> | null, null, ExtArgs> + + /** + * Find one FilteringTest that matches the filter or throw an error with `error.code='P2025'` + * if no matches were found. + * @param {FilteringTestFindUniqueOrThrowArgs} args - Arguments to find a FilteringTest + * @example + * // Get one FilteringTest + * const filteringTest = await prisma.filteringTest.findUniqueOrThrow({ + * where: { + * // ... provide filter here + * } + * }) + **/ + findUniqueOrThrow>( + args?: SelectSubset> + ): Prisma__FilteringTestClient<$Result.GetResult, T, 'findUniqueOrThrow'>, never, ExtArgs> /** * Find the first FilteringTest that matches the filter. @@ -7532,9 +8697,27 @@ export namespace Prisma { * } * }) **/ - findFirst( - args?: SelectSubset - ): HasReject extends True ? CheckSelect, Prisma__FilteringTestClient>> : CheckSelect, Prisma__FilteringTestClient | null >> + findFirst>( + args?: SelectSubset> + ): Prisma__FilteringTestClient<$Result.GetResult, T, 'findFirst'> | null, null, ExtArgs> + + /** + * Find the first FilteringTest that matches the filter or + * throw `PrismaKnownClientError` with `P2025` code if no matches were found. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {FilteringTestFindFirstOrThrowArgs} args - Arguments to find a FilteringTest + * @example + * // Get one FilteringTest + * const filteringTest = await prisma.filteringTest.findFirstOrThrow({ + * where: { + * // ... provide filter here + * } + * }) + **/ + findFirstOrThrow>( + args?: SelectSubset> + ): Prisma__FilteringTestClient<$Result.GetResult, T, 'findFirstOrThrow'>, never, ExtArgs> /** * Find zero or more FilteringTests that matches the filter. @@ -7552,9 +8735,9 @@ export namespace Prisma { * const filteringTestWithIdOnly = await prisma.filteringTest.findMany({ select: { id: true } }) * **/ - findMany( - args?: SelectSubset - ): CheckSelect>, PrismaPromise>>> + findMany>( + args?: SelectSubset> + ): Prisma.PrismaPromise<$Result.GetResult, T, 'findMany'>> /** * Create a FilteringTest. @@ -7568,9 +8751,9 @@ export namespace Prisma { * }) * **/ - create( - args: SelectSubset - ): CheckSelect, Prisma__FilteringTestClient>> + create>( + args: SelectSubset> + ): Prisma__FilteringTestClient<$Result.GetResult, T, 'create'>, never, ExtArgs> /** * Create many FilteringTests. @@ -7584,9 +8767,9 @@ export namespace Prisma { * }) * **/ - createMany( - args?: SelectSubset - ): PrismaPromise + createMany>( + args?: SelectSubset> + ): Prisma.PrismaPromise /** * Delete a FilteringTest. @@ -7600,9 +8783,9 @@ export namespace Prisma { * }) * **/ - delete( - args: SelectSubset - ): CheckSelect, Prisma__FilteringTestClient>> + delete>( + args: SelectSubset> + ): Prisma__FilteringTestClient<$Result.GetResult, T, 'delete'>, never, ExtArgs> /** * Update one FilteringTest. @@ -7619,9 +8802,9 @@ export namespace Prisma { * }) * **/ - update( - args: SelectSubset - ): CheckSelect, Prisma__FilteringTestClient>> + update>( + args: SelectSubset> + ): Prisma__FilteringTestClient<$Result.GetResult, T, 'update'>, never, ExtArgs> /** * Delete zero or more FilteringTests. @@ -7635,9 +8818,9 @@ export namespace Prisma { * }) * **/ - deleteMany( - args?: SelectSubset - ): PrismaPromise + deleteMany>( + args?: SelectSubset> + ): Prisma.PrismaPromise /** * Update zero or more FilteringTests. @@ -7656,9 +8839,9 @@ export namespace Prisma { * }) * **/ - updateMany( - args: SelectSubset - ): PrismaPromise + updateMany>( + args: SelectSubset> + ): Prisma.PrismaPromise /** * Create or update one FilteringTest. @@ -7677,9 +8860,9 @@ export namespace Prisma { * } * }) **/ - upsert( - args: SelectSubset - ): CheckSelect, Prisma__FilteringTestClient>> + upsert>( + args: SelectSubset> + ): Prisma__FilteringTestClient<$Result.GetResult, T, 'upsert'>, never, ExtArgs> /** * Count the number of FilteringTests. @@ -7696,8 +8879,8 @@ export namespace Prisma { **/ count( args?: Subset, - ): PrismaPromise< - T extends _Record<'select', any> + ): Prisma.PrismaPromise< + T extends $Utils.Record<'select', any> ? T['select'] extends true ? number : GetScalarType @@ -7728,7 +8911,7 @@ export namespace Prisma { * take: 10, * }) **/ - aggregate(args: Subset): PrismaPromise> + aggregate(args: Subset): Prisma.PrismaPromise> /** * Group by FilteringTest. @@ -7758,7 +8941,7 @@ export namespace Prisma { ? { orderBy: FilteringTestGroupByArgs['orderBy'] } : { orderBy?: FilteringTestGroupByArgs['orderBy'] }, OrderFields extends ExcludeUnderscoreKeys>>, - ByFields extends TupleToUnion, + ByFields extends MaybeTupleToUnion, ByValid extends Has, HavingFields extends GetHavingFields, HavingValid extends Has, @@ -7805,7 +8988,11 @@ export namespace Prisma { ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` }[OrderFields] - >(args: SubsetIntersection & InputErrors): {} extends InputErrors ? GetFilteringTestGroupByPayload : PrismaPromise + >(args: SubsetIntersection & InputErrors): {} extends InputErrors ? GetFilteringTestGroupByPayload : Prisma.PrismaPromise + /** + * Fields of the FilteringTest model + */ + readonly fields: FilteringTestFieldRefs; } /** @@ -7814,67 +9001,79 @@ export namespace Prisma { * Because we want to prevent naming conflicts as mentioned in * https://github.com/prisma/prisma-client-js/issues/707 */ - export class Prisma__FilteringTestClient implements PrismaPromise { - [prisma]: true; - private readonly _dmmf; - private readonly _fetcher; - private readonly _queryType; - private readonly _rootField; - private readonly _clientMethod; - private readonly _args; - private readonly _dataPath; - private readonly _errorFormat; - private readonly _measurePerformance?; - private _isList; - private _callsite; - private _requestPromise?; - constructor(_dmmf: runtime.DMMFClass, _fetcher: PrismaClientFetcher, _queryType: 'query' | 'mutation', _rootField: string, _clientMethod: string, _args: any, _dataPath: string[], _errorFormat: ErrorFormat, _measurePerformance?: boolean | undefined, _isList?: boolean); - readonly [Symbol.toStringTag]: 'PrismaClientPromise'; - - - private get _document(); + export interface Prisma__FilteringTestClient extends Prisma.PrismaPromise { + readonly [Symbol.toStringTag]: 'PrismaPromise'; + + /** * Attaches callbacks for the resolution and/or rejection of the Promise. * @param onfulfilled The callback to execute when the Promise is resolved. * @param onrejected The callback to execute when the Promise is rejected. * @returns A Promise for the completion of which ever callback is executed. */ - then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): Promise; + then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): $Utils.JsPromise; /** * Attaches a callback for only the rejection of the Promise. * @param onrejected The callback to execute when the Promise is rejected. * @returns A Promise for the completion of the callback. */ - catch(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): Promise; + catch(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): $Utils.JsPromise; /** * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The * resolved value cannot be modified from the callback. * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected). * @returns A Promise for the completion of the callback. */ - finally(onfinally?: (() => void) | undefined | null): Promise; + finally(onfinally?: (() => void) | undefined | null): $Utils.JsPromise; + } + + + + /** + * Fields of the FilteringTest model + */ + interface FilteringTestFieldRefs { + readonly id: FieldRef<"FilteringTest", 'Int'> + readonly intField: FieldRef<"FilteringTest", 'Int'> + readonly floatField: FieldRef<"FilteringTest", 'Float'> + readonly stringField: FieldRef<"FilteringTest", 'String'> + readonly dateTimeField: FieldRef<"FilteringTest", 'DateTime'> + readonly boolField: FieldRef<"FilteringTest", 'Boolean'> + readonly intField_lt: FieldRef<"FilteringTest", 'String'> + readonly intField_bt: FieldRef<"FilteringTest", 'Int'> + readonly snake_field: FieldRef<"FilteringTest", 'Int'> + readonly snake_field_bt: FieldRef<"FilteringTest", 'Int'> } + // Custom InputTypes /** * FilteringTest findUnique */ - export type FilteringTestFindUniqueArgs = { + export type FilteringTestFindUniqueArgs = { /** * Select specific fields to fetch from the FilteringTest - * - **/ - select?: FilteringTestSelect | null + */ + select?: FilteringTestSelect | null /** - * Throw an Error if a FilteringTest can't be found - * - **/ - rejectOnNotFound?: RejectOnNotFound + * Filter, which FilteringTest to fetch. + */ + where: FilteringTestWhereUniqueInput + } + + + /** + * FilteringTest findUniqueOrThrow + */ + export type FilteringTestFindUniqueOrThrowArgs = { + /** + * Select specific fields to fetch from the FilteringTest + */ + select?: FilteringTestSelect | null /** * Filter, which FilteringTest to fetch. - * - **/ + */ where: FilteringTestWhereUniqueInput } @@ -7882,119 +9081,144 @@ export namespace Prisma { /** * FilteringTest findFirst */ - export type FilteringTestFindFirstArgs = { + export type FilteringTestFindFirstArgs = { /** * Select specific fields to fetch from the FilteringTest + */ + select?: FilteringTestSelect | null + /** + * Filter, which FilteringTest to fetch. + */ + where?: FilteringTestWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * - **/ - select?: FilteringTestSelect | null + * Determine the order of FilteringTests to fetch. + */ + orderBy?: FilteringTestOrderByWithRelationInput | FilteringTestOrderByWithRelationInput[] /** - * Throw an Error if a FilteringTest can't be found + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * - **/ - rejectOnNotFound?: RejectOnNotFound + * Sets the position for searching for FilteringTests. + */ + cursor?: FilteringTestWhereUniqueInput /** - * Filter, which FilteringTest to fetch. + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * - **/ + * Take `±n` FilteringTests from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` FilteringTests. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of FilteringTests. + */ + distinct?: FilteringTestScalarFieldEnum | FilteringTestScalarFieldEnum[] + } + + + /** + * FilteringTest findFirstOrThrow + */ + export type FilteringTestFindFirstOrThrowArgs = { + /** + * Select specific fields to fetch from the FilteringTest + */ + select?: FilteringTestSelect | null + /** + * Filter, which FilteringTest to fetch. + */ where?: FilteringTestWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of FilteringTests to fetch. - * - **/ - orderBy?: Enumerable + */ + orderBy?: FilteringTestOrderByWithRelationInput | FilteringTestOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for FilteringTests. - * - **/ + */ cursor?: FilteringTestWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` FilteringTests from the position of the cursor. - * - **/ + */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` FilteringTests. - * - **/ + */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of FilteringTests. - * - **/ - distinct?: Enumerable + */ + distinct?: FilteringTestScalarFieldEnum | FilteringTestScalarFieldEnum[] } /** * FilteringTest findMany */ - export type FilteringTestFindManyArgs = { + export type FilteringTestFindManyArgs = { /** * Select specific fields to fetch from the FilteringTest - * - **/ - select?: FilteringTestSelect | null + */ + select?: FilteringTestSelect | null /** * Filter, which FilteringTests to fetch. - * - **/ + */ where?: FilteringTestWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of FilteringTests to fetch. - * - **/ - orderBy?: Enumerable + */ + orderBy?: FilteringTestOrderByWithRelationInput | FilteringTestOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing FilteringTests. - * - **/ + */ cursor?: FilteringTestWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` FilteringTests from the position of the cursor. - * - **/ + */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` FilteringTests. - * - **/ + */ skip?: number - distinct?: Enumerable + distinct?: FilteringTestScalarFieldEnum | FilteringTestScalarFieldEnum[] } /** * FilteringTest create */ - export type FilteringTestCreateArgs = { + export type FilteringTestCreateArgs = { /** * Select specific fields to fetch from the FilteringTest - * - **/ - select?: FilteringTestSelect | null + */ + select?: FilteringTestSelect | null /** * The data needed to create a FilteringTest. - * - **/ + */ data: XOR } @@ -8002,12 +9226,11 @@ export namespace Prisma { /** * FilteringTest createMany */ - export type FilteringTestCreateManyArgs = { + export type FilteringTestCreateManyArgs = { /** * The data used to create many FilteringTests. - * - **/ - data: Enumerable + */ + data: FilteringTestCreateManyInput | FilteringTestCreateManyInput[] skipDuplicates?: boolean } @@ -8015,21 +9238,18 @@ export namespace Prisma { /** * FilteringTest update */ - export type FilteringTestUpdateArgs = { + export type FilteringTestUpdateArgs = { /** * Select specific fields to fetch from the FilteringTest - * - **/ - select?: FilteringTestSelect | null + */ + select?: FilteringTestSelect | null /** * The data needed to update a FilteringTest. - * - **/ + */ data: XOR /** * Choose, which FilteringTest to update. - * - **/ + */ where: FilteringTestWhereUniqueInput } @@ -8037,16 +9257,14 @@ export namespace Prisma { /** * FilteringTest updateMany */ - export type FilteringTestUpdateManyArgs = { + export type FilteringTestUpdateManyArgs = { /** * The data used to update FilteringTests. - * - **/ + */ data: XOR /** * Filter which FilteringTests to update - * - **/ + */ where?: FilteringTestWhereInput } @@ -8054,26 +9272,22 @@ export namespace Prisma { /** * FilteringTest upsert */ - export type FilteringTestUpsertArgs = { + export type FilteringTestUpsertArgs = { /** * Select specific fields to fetch from the FilteringTest - * - **/ - select?: FilteringTestSelect | null + */ + select?: FilteringTestSelect | null /** * The filter to search for the FilteringTest to update in case it exists. - * - **/ + */ where: FilteringTestWhereUniqueInput /** * In case the FilteringTest found by the `where` argument doesn't exist, create a new FilteringTest with this data. - * - **/ + */ create: XOR /** * In case the FilteringTest was found with the provided `where` argument, update it with this data. - * - **/ + */ update: XOR } @@ -8081,16 +9295,14 @@ export namespace Prisma { /** * FilteringTest delete */ - export type FilteringTestDeleteArgs = { + export type FilteringTestDeleteArgs = { /** * Select specific fields to fetch from the FilteringTest - * - **/ - select?: FilteringTestSelect | null + */ + select?: FilteringTestSelect | null /** * Filter which FilteringTest to delete. - * - **/ + */ where: FilteringTestWhereUniqueInput } @@ -8098,11 +9310,10 @@ export namespace Prisma { /** * FilteringTest deleteMany */ - export type FilteringTestDeleteManyArgs = { + export type FilteringTestDeleteManyArgs = { /** * Filter which FilteringTests to delete - * - **/ + */ where?: FilteringTestWhereInput } @@ -8110,12 +9321,11 @@ export namespace Prisma { /** * FilteringTest without action */ - export type FilteringTestArgs = { + export type FilteringTestDefaultArgs = { /** * Select specific fields to fetch from the FilteringTest - * - **/ - select?: FilteringTestSelect | null + */ + select?: FilteringTestSelect | null } @@ -8124,7 +9334,6 @@ export namespace Prisma { * Model SomePublicRecordWithIntId */ - export type AggregateSomePublicRecordWithIntId = { _count: SomePublicRecordWithIntIdCountAggregateOutputType | null _avg: SomePublicRecordWithIntIdAvgAggregateOutputType | null @@ -8182,39 +9391,34 @@ export namespace Prisma { _all?: true } - export type SomePublicRecordWithIntIdAggregateArgs = { + export type SomePublicRecordWithIntIdAggregateArgs = { /** * Filter which SomePublicRecordWithIntId to aggregate. - * - **/ + */ where?: SomePublicRecordWithIntIdWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of SomePublicRecordWithIntIds to fetch. - * - **/ - orderBy?: Enumerable + */ + orderBy?: SomePublicRecordWithIntIdOrderByWithRelationInput | SomePublicRecordWithIntIdOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position - * - **/ + */ cursor?: SomePublicRecordWithIntIdWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` SomePublicRecordWithIntIds from the position of the cursor. - * - **/ + */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` SomePublicRecordWithIntIds. - * - **/ + */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} @@ -8259,10 +9463,10 @@ export namespace Prisma { - export type SomePublicRecordWithIntIdGroupByArgs = { + export type SomePublicRecordWithIntIdGroupByArgs = { where?: SomePublicRecordWithIntIdWhereInput - orderBy?: Enumerable - by: Array + orderBy?: SomePublicRecordWithIntIdOrderByWithAggregationInput | SomePublicRecordWithIntIdOrderByWithAggregationInput[] + by: SomePublicRecordWithIntIdScalarFieldEnum[] | SomePublicRecordWithIntIdScalarFieldEnum having?: SomePublicRecordWithIntIdScalarWhereWithAggregatesInput take?: number skip?: number @@ -8273,7 +9477,6 @@ export namespace Prisma { _max?: SomePublicRecordWithIntIdMaxAggregateInputType } - export type SomePublicRecordWithIntIdGroupByOutputType = { id: number title: string @@ -8284,9 +9487,9 @@ export namespace Prisma { _max: SomePublicRecordWithIntIdMaxAggregateOutputType | null } - type GetSomePublicRecordWithIntIdGroupByPayload = PrismaPromise< + type GetSomePublicRecordWithIntIdGroupByPayload = Prisma.PrismaPromise< Array< - PickArray & + PickEnumerable & { [P in ((keyof T) & (keyof SomePublicRecordWithIntIdGroupByOutputType))]: P extends '_count' ? T[P] extends boolean @@ -8298,37 +9501,37 @@ export namespace Prisma { > - export type SomePublicRecordWithIntIdSelect = { + export type SomePublicRecordWithIntIdSelect = $Extensions.GetSelect<{ id?: boolean title?: boolean + }, ExtArgs["result"]["somePublicRecordWithIntId"]> + + export type SomePublicRecordWithIntIdSelectScalar = { + id?: boolean + title?: boolean + } + + + export type $SomePublicRecordWithIntIdPayload = { + name: "SomePublicRecordWithIntId" + objects: {} + scalars: $Extensions.GetPayloadResult<{ + id: number + title: string + }, ExtArgs["result"]["somePublicRecordWithIntId"]> + composites: {} } - export type SomePublicRecordWithIntIdGetPayload< - S extends boolean | null | undefined | SomePublicRecordWithIntIdArgs, - U = keyof S - > = S extends true - ? SomePublicRecordWithIntId - : S extends undefined - ? never - : S extends SomePublicRecordWithIntIdArgs | SomePublicRecordWithIntIdFindManyArgs - ?'include' extends U - ? SomePublicRecordWithIntId - : 'select' extends U - ? { - [P in TrueKeys]: - P extends keyof SomePublicRecordWithIntId ? SomePublicRecordWithIntId[P] : never - } - : SomePublicRecordWithIntId - : SomePublicRecordWithIntId - - - type SomePublicRecordWithIntIdCountArgs = Merge< - Omit & { + + type SomePublicRecordWithIntIdGetPayload = $Result.GetResult + + type SomePublicRecordWithIntIdCountArgs = + Omit & { select?: SomePublicRecordWithIntIdCountAggregateInputType | true } - > - export interface SomePublicRecordWithIntIdDelegate { + export interface SomePublicRecordWithIntIdDelegate { + [K: symbol]: { types: Prisma.TypeMap['model']['SomePublicRecordWithIntId'], meta: { name: 'SomePublicRecordWithIntId' } } /** * Find zero or one SomePublicRecordWithIntId that matches the filter. * @param {SomePublicRecordWithIntIdFindUniqueArgs} args - Arguments to find a SomePublicRecordWithIntId @@ -8340,9 +9543,25 @@ export namespace Prisma { * } * }) **/ - findUnique( - args: SelectSubset - ): HasReject extends True ? CheckSelect, Prisma__SomePublicRecordWithIntIdClient>> : CheckSelect, Prisma__SomePublicRecordWithIntIdClient | null >> + findUnique>( + args: SelectSubset> + ): Prisma__SomePublicRecordWithIntIdClient<$Result.GetResult, T, 'findUnique'> | null, null, ExtArgs> + + /** + * Find one SomePublicRecordWithIntId that matches the filter or throw an error with `error.code='P2025'` + * if no matches were found. + * @param {SomePublicRecordWithIntIdFindUniqueOrThrowArgs} args - Arguments to find a SomePublicRecordWithIntId + * @example + * // Get one SomePublicRecordWithIntId + * const somePublicRecordWithIntId = await prisma.somePublicRecordWithIntId.findUniqueOrThrow({ + * where: { + * // ... provide filter here + * } + * }) + **/ + findUniqueOrThrow>( + args?: SelectSubset> + ): Prisma__SomePublicRecordWithIntIdClient<$Result.GetResult, T, 'findUniqueOrThrow'>, never, ExtArgs> /** * Find the first SomePublicRecordWithIntId that matches the filter. @@ -8357,9 +9576,27 @@ export namespace Prisma { * } * }) **/ - findFirst( - args?: SelectSubset - ): HasReject extends True ? CheckSelect, Prisma__SomePublicRecordWithIntIdClient>> : CheckSelect, Prisma__SomePublicRecordWithIntIdClient | null >> + findFirst>( + args?: SelectSubset> + ): Prisma__SomePublicRecordWithIntIdClient<$Result.GetResult, T, 'findFirst'> | null, null, ExtArgs> + + /** + * Find the first SomePublicRecordWithIntId that matches the filter or + * throw `PrismaKnownClientError` with `P2025` code if no matches were found. + * Note, that providing `undefined` is treated as the value not being there. + * Read more here: https://pris.ly/d/null-undefined + * @param {SomePublicRecordWithIntIdFindFirstOrThrowArgs} args - Arguments to find a SomePublicRecordWithIntId + * @example + * // Get one SomePublicRecordWithIntId + * const somePublicRecordWithIntId = await prisma.somePublicRecordWithIntId.findFirstOrThrow({ + * where: { + * // ... provide filter here + * } + * }) + **/ + findFirstOrThrow>( + args?: SelectSubset> + ): Prisma__SomePublicRecordWithIntIdClient<$Result.GetResult, T, 'findFirstOrThrow'>, never, ExtArgs> /** * Find zero or more SomePublicRecordWithIntIds that matches the filter. @@ -8377,9 +9614,9 @@ export namespace Prisma { * const somePublicRecordWithIntIdWithIdOnly = await prisma.somePublicRecordWithIntId.findMany({ select: { id: true } }) * **/ - findMany( - args?: SelectSubset - ): CheckSelect>, PrismaPromise>>> + findMany>( + args?: SelectSubset> + ): Prisma.PrismaPromise<$Result.GetResult, T, 'findMany'>> /** * Create a SomePublicRecordWithIntId. @@ -8393,9 +9630,9 @@ export namespace Prisma { * }) * **/ - create( - args: SelectSubset - ): CheckSelect, Prisma__SomePublicRecordWithIntIdClient>> + create>( + args: SelectSubset> + ): Prisma__SomePublicRecordWithIntIdClient<$Result.GetResult, T, 'create'>, never, ExtArgs> /** * Create many SomePublicRecordWithIntIds. @@ -8409,9 +9646,9 @@ export namespace Prisma { * }) * **/ - createMany( - args?: SelectSubset - ): PrismaPromise + createMany>( + args?: SelectSubset> + ): Prisma.PrismaPromise /** * Delete a SomePublicRecordWithIntId. @@ -8425,9 +9662,9 @@ export namespace Prisma { * }) * **/ - delete( - args: SelectSubset - ): CheckSelect, Prisma__SomePublicRecordWithIntIdClient>> + delete>( + args: SelectSubset> + ): Prisma__SomePublicRecordWithIntIdClient<$Result.GetResult, T, 'delete'>, never, ExtArgs> /** * Update one SomePublicRecordWithIntId. @@ -8444,9 +9681,9 @@ export namespace Prisma { * }) * **/ - update( - args: SelectSubset - ): CheckSelect, Prisma__SomePublicRecordWithIntIdClient>> + update>( + args: SelectSubset> + ): Prisma__SomePublicRecordWithIntIdClient<$Result.GetResult, T, 'update'>, never, ExtArgs> /** * Delete zero or more SomePublicRecordWithIntIds. @@ -8460,9 +9697,9 @@ export namespace Prisma { * }) * **/ - deleteMany( - args?: SelectSubset - ): PrismaPromise + deleteMany>( + args?: SelectSubset> + ): Prisma.PrismaPromise /** * Update zero or more SomePublicRecordWithIntIds. @@ -8481,9 +9718,9 @@ export namespace Prisma { * }) * **/ - updateMany( - args: SelectSubset - ): PrismaPromise + updateMany>( + args: SelectSubset> + ): Prisma.PrismaPromise /** * Create or update one SomePublicRecordWithIntId. @@ -8502,9 +9739,9 @@ export namespace Prisma { * } * }) **/ - upsert( - args: SelectSubset - ): CheckSelect, Prisma__SomePublicRecordWithIntIdClient>> + upsert>( + args: SelectSubset> + ): Prisma__SomePublicRecordWithIntIdClient<$Result.GetResult, T, 'upsert'>, never, ExtArgs> /** * Count the number of SomePublicRecordWithIntIds. @@ -8521,8 +9758,8 @@ export namespace Prisma { **/ count( args?: Subset, - ): PrismaPromise< - T extends _Record<'select', any> + ): Prisma.PrismaPromise< + T extends $Utils.Record<'select', any> ? T['select'] extends true ? number : GetScalarType @@ -8553,7 +9790,7 @@ export namespace Prisma { * take: 10, * }) **/ - aggregate(args: Subset): PrismaPromise> + aggregate(args: Subset): Prisma.PrismaPromise> /** * Group by SomePublicRecordWithIntId. @@ -8583,7 +9820,7 @@ export namespace Prisma { ? { orderBy: SomePublicRecordWithIntIdGroupByArgs['orderBy'] } : { orderBy?: SomePublicRecordWithIntIdGroupByArgs['orderBy'] }, OrderFields extends ExcludeUnderscoreKeys>>, - ByFields extends TupleToUnion, + ByFields extends MaybeTupleToUnion, ByValid extends Has, HavingFields extends GetHavingFields, HavingValid extends Has, @@ -8630,7 +9867,11 @@ export namespace Prisma { ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` }[OrderFields] - >(args: SubsetIntersection & InputErrors): {} extends InputErrors ? GetSomePublicRecordWithIntIdGroupByPayload : PrismaPromise + >(args: SubsetIntersection & InputErrors): {} extends InputErrors ? GetSomePublicRecordWithIntIdGroupByPayload : Prisma.PrismaPromise + /** + * Fields of the SomePublicRecordWithIntId model + */ + readonly fields: SomePublicRecordWithIntIdFieldRefs; } /** @@ -8639,67 +9880,71 @@ export namespace Prisma { * Because we want to prevent naming conflicts as mentioned in * https://github.com/prisma/prisma-client-js/issues/707 */ - export class Prisma__SomePublicRecordWithIntIdClient implements PrismaPromise { - [prisma]: true; - private readonly _dmmf; - private readonly _fetcher; - private readonly _queryType; - private readonly _rootField; - private readonly _clientMethod; - private readonly _args; - private readonly _dataPath; - private readonly _errorFormat; - private readonly _measurePerformance?; - private _isList; - private _callsite; - private _requestPromise?; - constructor(_dmmf: runtime.DMMFClass, _fetcher: PrismaClientFetcher, _queryType: 'query' | 'mutation', _rootField: string, _clientMethod: string, _args: any, _dataPath: string[], _errorFormat: ErrorFormat, _measurePerformance?: boolean | undefined, _isList?: boolean); - readonly [Symbol.toStringTag]: 'PrismaClientPromise'; - - - private get _document(); + export interface Prisma__SomePublicRecordWithIntIdClient extends Prisma.PrismaPromise { + readonly [Symbol.toStringTag]: 'PrismaPromise'; + + /** * Attaches callbacks for the resolution and/or rejection of the Promise. * @param onfulfilled The callback to execute when the Promise is resolved. * @param onrejected The callback to execute when the Promise is rejected. * @returns A Promise for the completion of which ever callback is executed. */ - then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): Promise; + then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): $Utils.JsPromise; /** * Attaches a callback for only the rejection of the Promise. * @param onrejected The callback to execute when the Promise is rejected. * @returns A Promise for the completion of the callback. */ - catch(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): Promise; + catch(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): $Utils.JsPromise; /** * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The * resolved value cannot be modified from the callback. * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected). * @returns A Promise for the completion of the callback. */ - finally(onfinally?: (() => void) | undefined | null): Promise; + finally(onfinally?: (() => void) | undefined | null): $Utils.JsPromise; + } + + + + /** + * Fields of the SomePublicRecordWithIntId model + */ + interface SomePublicRecordWithIntIdFieldRefs { + readonly id: FieldRef<"SomePublicRecordWithIntId", 'Int'> + readonly title: FieldRef<"SomePublicRecordWithIntId", 'String'> } + // Custom InputTypes /** * SomePublicRecordWithIntId findUnique */ - export type SomePublicRecordWithIntIdFindUniqueArgs = { + export type SomePublicRecordWithIntIdFindUniqueArgs = { /** * Select specific fields to fetch from the SomePublicRecordWithIntId - * - **/ - select?: SomePublicRecordWithIntIdSelect | null + */ + select?: SomePublicRecordWithIntIdSelect | null /** - * Throw an Error if a SomePublicRecordWithIntId can't be found - * - **/ - rejectOnNotFound?: RejectOnNotFound + * Filter, which SomePublicRecordWithIntId to fetch. + */ + where: SomePublicRecordWithIntIdWhereUniqueInput + } + + + /** + * SomePublicRecordWithIntId findUniqueOrThrow + */ + export type SomePublicRecordWithIntIdFindUniqueOrThrowArgs = { + /** + * Select specific fields to fetch from the SomePublicRecordWithIntId + */ + select?: SomePublicRecordWithIntIdSelect | null /** * Filter, which SomePublicRecordWithIntId to fetch. - * - **/ + */ where: SomePublicRecordWithIntIdWhereUniqueInput } @@ -8707,119 +9952,144 @@ export namespace Prisma { /** * SomePublicRecordWithIntId findFirst */ - export type SomePublicRecordWithIntIdFindFirstArgs = { + export type SomePublicRecordWithIntIdFindFirstArgs = { /** * Select specific fields to fetch from the SomePublicRecordWithIntId + */ + select?: SomePublicRecordWithIntIdSelect | null + /** + * Filter, which SomePublicRecordWithIntId to fetch. + */ + where?: SomePublicRecordWithIntIdWhereInput + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * - **/ - select?: SomePublicRecordWithIntIdSelect | null + * Determine the order of SomePublicRecordWithIntIds to fetch. + */ + orderBy?: SomePublicRecordWithIntIdOrderByWithRelationInput | SomePublicRecordWithIntIdOrderByWithRelationInput[] /** - * Throw an Error if a SomePublicRecordWithIntId can't be found + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * - **/ - rejectOnNotFound?: RejectOnNotFound + * Sets the position for searching for SomePublicRecordWithIntIds. + */ + cursor?: SomePublicRecordWithIntIdWhereUniqueInput /** - * Filter, which SomePublicRecordWithIntId to fetch. + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * - **/ + * Take `±n` SomePublicRecordWithIntIds from the position of the cursor. + */ + take?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} + * + * Skip the first `n` SomePublicRecordWithIntIds. + */ + skip?: number + /** + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} + * + * Filter by unique combinations of SomePublicRecordWithIntIds. + */ + distinct?: SomePublicRecordWithIntIdScalarFieldEnum | SomePublicRecordWithIntIdScalarFieldEnum[] + } + + + /** + * SomePublicRecordWithIntId findFirstOrThrow + */ + export type SomePublicRecordWithIntIdFindFirstOrThrowArgs = { + /** + * Select specific fields to fetch from the SomePublicRecordWithIntId + */ + select?: SomePublicRecordWithIntIdSelect | null + /** + * Filter, which SomePublicRecordWithIntId to fetch. + */ where?: SomePublicRecordWithIntIdWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of SomePublicRecordWithIntIds to fetch. - * - **/ - orderBy?: Enumerable + */ + orderBy?: SomePublicRecordWithIntIdOrderByWithRelationInput | SomePublicRecordWithIntIdOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for SomePublicRecordWithIntIds. - * - **/ + */ cursor?: SomePublicRecordWithIntIdWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` SomePublicRecordWithIntIds from the position of the cursor. - * - **/ + */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` SomePublicRecordWithIntIds. - * - **/ + */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of SomePublicRecordWithIntIds. - * - **/ - distinct?: Enumerable + */ + distinct?: SomePublicRecordWithIntIdScalarFieldEnum | SomePublicRecordWithIntIdScalarFieldEnum[] } /** * SomePublicRecordWithIntId findMany */ - export type SomePublicRecordWithIntIdFindManyArgs = { + export type SomePublicRecordWithIntIdFindManyArgs = { /** * Select specific fields to fetch from the SomePublicRecordWithIntId - * - **/ - select?: SomePublicRecordWithIntIdSelect | null + */ + select?: SomePublicRecordWithIntIdSelect | null /** * Filter, which SomePublicRecordWithIntIds to fetch. - * - **/ + */ where?: SomePublicRecordWithIntIdWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of SomePublicRecordWithIntIds to fetch. - * - **/ - orderBy?: Enumerable + */ + orderBy?: SomePublicRecordWithIntIdOrderByWithRelationInput | SomePublicRecordWithIntIdOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing SomePublicRecordWithIntIds. - * - **/ + */ cursor?: SomePublicRecordWithIntIdWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` SomePublicRecordWithIntIds from the position of the cursor. - * - **/ + */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` SomePublicRecordWithIntIds. - * - **/ + */ skip?: number - distinct?: Enumerable + distinct?: SomePublicRecordWithIntIdScalarFieldEnum | SomePublicRecordWithIntIdScalarFieldEnum[] } /** * SomePublicRecordWithIntId create */ - export type SomePublicRecordWithIntIdCreateArgs = { + export type SomePublicRecordWithIntIdCreateArgs = { /** * Select specific fields to fetch from the SomePublicRecordWithIntId - * - **/ - select?: SomePublicRecordWithIntIdSelect | null + */ + select?: SomePublicRecordWithIntIdSelect | null /** * The data needed to create a SomePublicRecordWithIntId. - * - **/ + */ data: XOR } @@ -8827,12 +10097,11 @@ export namespace Prisma { /** * SomePublicRecordWithIntId createMany */ - export type SomePublicRecordWithIntIdCreateManyArgs = { + export type SomePublicRecordWithIntIdCreateManyArgs = { /** * The data used to create many SomePublicRecordWithIntIds. - * - **/ - data: Enumerable + */ + data: SomePublicRecordWithIntIdCreateManyInput | SomePublicRecordWithIntIdCreateManyInput[] skipDuplicates?: boolean } @@ -8840,21 +10109,18 @@ export namespace Prisma { /** * SomePublicRecordWithIntId update */ - export type SomePublicRecordWithIntIdUpdateArgs = { + export type SomePublicRecordWithIntIdUpdateArgs = { /** * Select specific fields to fetch from the SomePublicRecordWithIntId - * - **/ - select?: SomePublicRecordWithIntIdSelect | null + */ + select?: SomePublicRecordWithIntIdSelect | null /** * The data needed to update a SomePublicRecordWithIntId. - * - **/ + */ data: XOR /** * Choose, which SomePublicRecordWithIntId to update. - * - **/ + */ where: SomePublicRecordWithIntIdWhereUniqueInput } @@ -8862,16 +10128,14 @@ export namespace Prisma { /** * SomePublicRecordWithIntId updateMany */ - export type SomePublicRecordWithIntIdUpdateManyArgs = { + export type SomePublicRecordWithIntIdUpdateManyArgs = { /** * The data used to update SomePublicRecordWithIntIds. - * - **/ + */ data: XOR /** * Filter which SomePublicRecordWithIntIds to update - * - **/ + */ where?: SomePublicRecordWithIntIdWhereInput } @@ -8879,26 +10143,22 @@ export namespace Prisma { /** * SomePublicRecordWithIntId upsert */ - export type SomePublicRecordWithIntIdUpsertArgs = { + export type SomePublicRecordWithIntIdUpsertArgs = { /** * Select specific fields to fetch from the SomePublicRecordWithIntId - * - **/ - select?: SomePublicRecordWithIntIdSelect | null + */ + select?: SomePublicRecordWithIntIdSelect | null /** * The filter to search for the SomePublicRecordWithIntId to update in case it exists. - * - **/ + */ where: SomePublicRecordWithIntIdWhereUniqueInput /** * In case the SomePublicRecordWithIntId found by the `where` argument doesn't exist, create a new SomePublicRecordWithIntId with this data. - * - **/ + */ create: XOR /** * In case the SomePublicRecordWithIntId was found with the provided `where` argument, update it with this data. - * - **/ + */ update: XOR } @@ -8906,16 +10166,14 @@ export namespace Prisma { /** * SomePublicRecordWithIntId delete */ - export type SomePublicRecordWithIntIdDeleteArgs = { + export type SomePublicRecordWithIntIdDeleteArgs = { /** * Select specific fields to fetch from the SomePublicRecordWithIntId - * - **/ - select?: SomePublicRecordWithIntIdSelect | null + */ + select?: SomePublicRecordWithIntIdSelect | null /** * Filter which SomePublicRecordWithIntId to delete. - * - **/ + */ where: SomePublicRecordWithIntIdWhereUniqueInput } @@ -8923,11 +10181,10 @@ export namespace Prisma { /** * SomePublicRecordWithIntId deleteMany */ - export type SomePublicRecordWithIntIdDeleteManyArgs = { + export type SomePublicRecordWithIntIdDeleteManyArgs = { /** * Filter which SomePublicRecordWithIntIds to delete - * - **/ + */ where?: SomePublicRecordWithIntIdWhereInput } @@ -8935,12 +10192,11 @@ export namespace Prisma { /** * SomePublicRecordWithIntId without action */ - export type SomePublicRecordWithIntIdArgs = { + export type SomePublicRecordWithIntIdDefaultArgs = { /** * Select specific fields to fetch from the SomePublicRecordWithIntId - * - **/ - select?: SomePublicRecordWithIntIdSelect | null + */ + select?: SomePublicRecordWithIntIdSelect | null } @@ -8949,8 +10205,15 @@ export namespace Prisma { * Enums */ - // Based on - // https://github.com/microsoft/TypeScript/issues/3192#issuecomment-261720275 + export const TransactionIsolationLevel: { + ReadUncommitted: 'ReadUncommitted', + ReadCommitted: 'ReadCommitted', + RepeatableRead: 'RepeatableRead', + Serializable: 'Serializable' + }; + + export type TransactionIsolationLevel = (typeof TransactionIsolationLevel)[keyof typeof TransactionIsolationLevel] + export const UserRoleScalarFieldEnum: { id: 'id', @@ -9058,8 +10321,8 @@ export namespace Prisma { export const NullableJsonNullValueInput: { - DbNull: 'DbNull', - JsonNull: 'JsonNull' + DbNull: typeof DbNull, + JsonNull: typeof JsonNull }; export type NullableJsonNullValueInput = (typeof NullableJsonNullValueInput)[keyof typeof NullableJsonNullValueInput] @@ -9070,29 +10333,138 @@ export namespace Prisma { insensitive: 'insensitive' }; - export type QueryMode = (typeof QueryMode)[keyof typeof QueryMode] + export type QueryMode = (typeof QueryMode)[keyof typeof QueryMode] + + + export const NullsOrder: { + first: 'first', + last: 'last' + }; + + export type NullsOrder = (typeof NullsOrder)[keyof typeof NullsOrder] + + + export const JsonNullValueFilter: { + DbNull: typeof DbNull, + JsonNull: typeof JsonNull, + AnyNull: typeof AnyNull + }; + + export type JsonNullValueFilter = (typeof JsonNullValueFilter)[keyof typeof JsonNullValueFilter] + + + /** + * Field references + */ + + + /** + * Reference to a field of type 'String' + */ + export type StringFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'String'> + + + + /** + * Reference to a field of type 'String[]' + */ + export type ListStringFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'String[]'> + + + + /** + * Reference to a field of type 'Gender' + */ + export type EnumGenderFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'Gender'> + + + + /** + * Reference to a field of type 'Gender[]' + */ + export type ListEnumGenderFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'Gender[]'> + + + + /** + * Reference to a field of type 'Int' + */ + export type IntFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'Int'> + + + + /** + * Reference to a field of type 'Int[]' + */ + export type ListIntFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'Int[]'> + + + + /** + * Reference to a field of type 'Boolean' + */ + export type BooleanFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'Boolean'> + + + + /** + * Reference to a field of type 'Topic[]' + */ + export type ListEnumTopicFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'Topic[]'> + + + + /** + * Reference to a field of type 'Topic' + */ + export type EnumTopicFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'Topic'> + + + + /** + * Reference to a field of type 'Json' + */ + export type JsonFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'Json'> + + + /** + * Reference to a field of type 'DateTime' + */ + export type DateTimeFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'DateTime'> + - export const JsonNullValueFilter: { - DbNull: 'DbNull', - JsonNull: 'JsonNull', - AnyNull: 'AnyNull' - }; - export type JsonNullValueFilter = (typeof JsonNullValueFilter)[keyof typeof JsonNullValueFilter] + /** + * Reference to a field of type 'DateTime[]' + */ + export type ListDateTimeFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'DateTime[]'> + + /** + * Reference to a field of type 'Float' + */ + export type FloatFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'Float'> + + + + /** + * Reference to a field of type 'Float[]' + */ + export type ListFloatFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'Float[]'> + /** * Deep Input Types */ export type UserRoleWhereInput = { - AND?: Enumerable - OR?: Enumerable - NOT?: Enumerable - id?: StringFilter | string - name?: StringFilter | string + AND?: UserRoleWhereInput | UserRoleWhereInput[] + OR?: UserRoleWhereInput[] + NOT?: UserRoleWhereInput | UserRoleWhereInput[] + id?: StringFilter<"UserRole"> | string + name?: StringFilter<"UserRole"> | string users?: UserListRelationFilter } @@ -9102,9 +10474,14 @@ export namespace Prisma { users?: UserOrderByRelationAggregateInput } - export type UserRoleWhereUniqueInput = { + export type UserRoleWhereUniqueInput = Prisma.AtLeast<{ id?: string - } + AND?: UserRoleWhereInput | UserRoleWhereInput[] + OR?: UserRoleWhereInput[] + NOT?: UserRoleWhereInput | UserRoleWhereInput[] + name?: StringFilter<"UserRole"> | string + users?: UserListRelationFilter + }, "id"> export type UserRoleOrderByWithAggregationInput = { id?: SortOrder @@ -9115,33 +10492,39 @@ export namespace Prisma { } export type UserRoleScalarWhereWithAggregatesInput = { - AND?: Enumerable - OR?: Enumerable - NOT?: Enumerable - id?: StringWithAggregatesFilter | string - name?: StringWithAggregatesFilter | string + AND?: UserRoleScalarWhereWithAggregatesInput | UserRoleScalarWhereWithAggregatesInput[] + OR?: UserRoleScalarWhereWithAggregatesInput[] + NOT?: UserRoleScalarWhereWithAggregatesInput | UserRoleScalarWhereWithAggregatesInput[] + id?: StringWithAggregatesFilter<"UserRole"> | string + name?: StringWithAggregatesFilter<"UserRole"> | string } export type CompanyWhereInput = { - AND?: Enumerable - OR?: Enumerable - NOT?: Enumerable - id?: StringFilter | string - name?: StringFilter | string + AND?: CompanyWhereInput | CompanyWhereInput[] + OR?: CompanyWhereInput[] + NOT?: CompanyWhereInput | CompanyWhereInput[] + id?: StringFilter<"Company"> | string + name?: StringFilter<"Company"> | string + userId?: StringFilter<"Company"> | string user?: XOR - userId?: StringFilter | string } export type CompanyOrderByWithRelationInput = { id?: SortOrder name?: SortOrder - user?: UserOrderByWithRelationInput userId?: SortOrder + user?: UserOrderByWithRelationInput } - export type CompanyWhereUniqueInput = { + export type CompanyWhereUniqueInput = Prisma.AtLeast<{ id?: string - } + AND?: CompanyWhereInput | CompanyWhereInput[] + OR?: CompanyWhereInput[] + NOT?: CompanyWhereInput | CompanyWhereInput[] + name?: StringFilter<"Company"> | string + userId?: StringFilter<"Company"> | string + user?: XOR + }, "id"> export type CompanyOrderByWithAggregationInput = { id?: SortOrder @@ -9153,37 +10536,43 @@ export namespace Prisma { } export type CompanyScalarWhereWithAggregatesInput = { - AND?: Enumerable - OR?: Enumerable - NOT?: Enumerable - id?: StringWithAggregatesFilter | string - name?: StringWithAggregatesFilter | string - userId?: StringWithAggregatesFilter | string + AND?: CompanyScalarWhereWithAggregatesInput | CompanyScalarWhereWithAggregatesInput[] + OR?: CompanyScalarWhereWithAggregatesInput[] + NOT?: CompanyScalarWhereWithAggregatesInput | CompanyScalarWhereWithAggregatesInput[] + id?: StringWithAggregatesFilter<"Company"> | string + name?: StringWithAggregatesFilter<"Company"> | string + userId?: StringWithAggregatesFilter<"Company"> | string } export type UserSocialMediaWhereInput = { - AND?: Enumerable - OR?: Enumerable - NOT?: Enumerable - id?: StringFilter | string - instagram?: StringFilter | string - twitter?: StringFilter | string + AND?: UserSocialMediaWhereInput | UserSocialMediaWhereInput[] + OR?: UserSocialMediaWhereInput[] + NOT?: UserSocialMediaWhereInput | UserSocialMediaWhereInput[] + id?: StringFilter<"UserSocialMedia"> | string + instagram?: StringFilter<"UserSocialMedia"> | string + twitter?: StringFilter<"UserSocialMedia"> | string + userId?: StringFilter<"UserSocialMedia"> | string user?: XOR - userId?: StringFilter | string } export type UserSocialMediaOrderByWithRelationInput = { id?: SortOrder instagram?: SortOrder twitter?: SortOrder - user?: UserOrderByWithRelationInput userId?: SortOrder + user?: UserOrderByWithRelationInput } - export type UserSocialMediaWhereUniqueInput = { + export type UserSocialMediaWhereUniqueInput = Prisma.AtLeast<{ id?: string userId?: string - } + AND?: UserSocialMediaWhereInput | UserSocialMediaWhereInput[] + OR?: UserSocialMediaWhereInput[] + NOT?: UserSocialMediaWhereInput | UserSocialMediaWhereInput[] + instagram?: StringFilter<"UserSocialMedia"> | string + twitter?: StringFilter<"UserSocialMedia"> | string + user?: XOR + }, "id" | "userId"> export type UserSocialMediaOrderByWithAggregationInput = { id?: SortOrder @@ -9196,24 +10585,24 @@ export namespace Prisma { } export type UserSocialMediaScalarWhereWithAggregatesInput = { - AND?: Enumerable - OR?: Enumerable - NOT?: Enumerable - id?: StringWithAggregatesFilter | string - instagram?: StringWithAggregatesFilter | string - twitter?: StringWithAggregatesFilter | string - userId?: StringWithAggregatesFilter | string + AND?: UserSocialMediaScalarWhereWithAggregatesInput | UserSocialMediaScalarWhereWithAggregatesInput[] + OR?: UserSocialMediaScalarWhereWithAggregatesInput[] + NOT?: UserSocialMediaScalarWhereWithAggregatesInput | UserSocialMediaScalarWhereWithAggregatesInput[] + id?: StringWithAggregatesFilter<"UserSocialMedia"> | string + instagram?: StringWithAggregatesFilter<"UserSocialMedia"> | string + twitter?: StringWithAggregatesFilter<"UserSocialMedia"> | string + userId?: StringWithAggregatesFilter<"UserSocialMedia"> | string } export type BlogPostWhereInput = { - AND?: Enumerable - OR?: Enumerable - NOT?: Enumerable - id?: StringFilter | string - title?: StringFilter | string - text?: StringFilter | string - author?: XOR | null - authorId?: StringNullableFilter | string | null + AND?: BlogPostWhereInput | BlogPostWhereInput[] + OR?: BlogPostWhereInput[] + NOT?: BlogPostWhereInput | BlogPostWhereInput[] + id?: StringFilter<"BlogPost"> | string + title?: StringFilter<"BlogPost"> | string + text?: StringFilter<"BlogPost"> | string + authorId?: StringNullableFilter<"BlogPost"> | string | null + author?: XOR | null comments?: BlogPostCommentListRelationFilter } @@ -9221,181 +10610,220 @@ export namespace Prisma { id?: SortOrder title?: SortOrder text?: SortOrder + authorId?: SortOrderInput | SortOrder author?: UserOrderByWithRelationInput - authorId?: SortOrder comments?: BlogPostCommentOrderByRelationAggregateInput } - export type BlogPostWhereUniqueInput = { + export type BlogPostWhereUniqueInput = Prisma.AtLeast<{ id?: string - } + AND?: BlogPostWhereInput | BlogPostWhereInput[] + OR?: BlogPostWhereInput[] + NOT?: BlogPostWhereInput | BlogPostWhereInput[] + title?: StringFilter<"BlogPost"> | string + text?: StringFilter<"BlogPost"> | string + authorId?: StringNullableFilter<"BlogPost"> | string | null + author?: XOR | null + comments?: BlogPostCommentListRelationFilter + }, "id"> export type BlogPostOrderByWithAggregationInput = { id?: SortOrder title?: SortOrder text?: SortOrder - authorId?: SortOrder + authorId?: SortOrderInput | SortOrder _count?: BlogPostCountOrderByAggregateInput _max?: BlogPostMaxOrderByAggregateInput _min?: BlogPostMinOrderByAggregateInput } export type BlogPostScalarWhereWithAggregatesInput = { - AND?: Enumerable - OR?: Enumerable - NOT?: Enumerable - id?: StringWithAggregatesFilter | string - title?: StringWithAggregatesFilter | string - text?: StringWithAggregatesFilter | string - authorId?: StringNullableWithAggregatesFilter | string | null + AND?: BlogPostScalarWhereWithAggregatesInput | BlogPostScalarWhereWithAggregatesInput[] + OR?: BlogPostScalarWhereWithAggregatesInput[] + NOT?: BlogPostScalarWhereWithAggregatesInput | BlogPostScalarWhereWithAggregatesInput[] + id?: StringWithAggregatesFilter<"BlogPost"> | string + title?: StringWithAggregatesFilter<"BlogPost"> | string + text?: StringWithAggregatesFilter<"BlogPost"> | string + authorId?: StringNullableWithAggregatesFilter<"BlogPost"> | string | null } export type BlogPostCommentWhereInput = { - AND?: Enumerable - OR?: Enumerable - NOT?: Enumerable - id?: StringFilter | string - text?: StringFilter | string - post?: XOR | null - postId?: StringNullableFilter | string | null - author?: XOR | null - authorId?: StringNullableFilter | string | null + AND?: BlogPostCommentWhereInput | BlogPostCommentWhereInput[] + OR?: BlogPostCommentWhereInput[] + NOT?: BlogPostCommentWhereInput | BlogPostCommentWhereInput[] + id?: StringFilter<"BlogPostComment"> | string + text?: StringFilter<"BlogPostComment"> | string + postId?: StringNullableFilter<"BlogPostComment"> | string | null + authorId?: StringNullableFilter<"BlogPostComment"> | string | null + post?: XOR | null + author?: XOR | null } export type BlogPostCommentOrderByWithRelationInput = { id?: SortOrder text?: SortOrder + postId?: SortOrderInput | SortOrder + authorId?: SortOrderInput | SortOrder post?: BlogPostOrderByWithRelationInput - postId?: SortOrder author?: UserOrderByWithRelationInput - authorId?: SortOrder } - export type BlogPostCommentWhereUniqueInput = { + export type BlogPostCommentWhereUniqueInput = Prisma.AtLeast<{ id?: string - } + AND?: BlogPostCommentWhereInput | BlogPostCommentWhereInput[] + OR?: BlogPostCommentWhereInput[] + NOT?: BlogPostCommentWhereInput | BlogPostCommentWhereInput[] + text?: StringFilter<"BlogPostComment"> | string + postId?: StringNullableFilter<"BlogPostComment"> | string | null + authorId?: StringNullableFilter<"BlogPostComment"> | string | null + post?: XOR | null + author?: XOR | null + }, "id"> export type BlogPostCommentOrderByWithAggregationInput = { id?: SortOrder text?: SortOrder - postId?: SortOrder - authorId?: SortOrder + postId?: SortOrderInput | SortOrder + authorId?: SortOrderInput | SortOrder _count?: BlogPostCommentCountOrderByAggregateInput _max?: BlogPostCommentMaxOrderByAggregateInput _min?: BlogPostCommentMinOrderByAggregateInput } export type BlogPostCommentScalarWhereWithAggregatesInput = { - AND?: Enumerable - OR?: Enumerable - NOT?: Enumerable - id?: StringWithAggregatesFilter | string - text?: StringWithAggregatesFilter | string - postId?: StringNullableWithAggregatesFilter | string | null - authorId?: StringNullableWithAggregatesFilter | string | null + AND?: BlogPostCommentScalarWhereWithAggregatesInput | BlogPostCommentScalarWhereWithAggregatesInput[] + OR?: BlogPostCommentScalarWhereWithAggregatesInput[] + NOT?: BlogPostCommentScalarWhereWithAggregatesInput | BlogPostCommentScalarWhereWithAggregatesInput[] + id?: StringWithAggregatesFilter<"BlogPostComment"> | string + text?: StringWithAggregatesFilter<"BlogPostComment"> | string + postId?: StringNullableWithAggregatesFilter<"BlogPostComment"> | string | null + authorId?: StringNullableWithAggregatesFilter<"BlogPostComment"> | string | null } export type SiteWhereInput = { - AND?: Enumerable - OR?: Enumerable - NOT?: Enumerable - id?: StringFilter | string - name?: StringFilter | string - url?: StringFilter | string - owner?: XOR | null - userId?: StringNullableFilter | string | null + AND?: SiteWhereInput | SiteWhereInput[] + OR?: SiteWhereInput[] + NOT?: SiteWhereInput | SiteWhereInput[] + id?: StringFilter<"Site"> | string + name?: StringFilter<"Site"> | string + url?: StringFilter<"Site"> | string + userId?: StringNullableFilter<"Site"> | string | null + owner?: XOR | null } export type SiteOrderByWithRelationInput = { id?: SortOrder name?: SortOrder url?: SortOrder + userId?: SortOrderInput | SortOrder owner?: UserOrderByWithRelationInput - userId?: SortOrder } - export type SiteWhereUniqueInput = { + export type SiteWhereUniqueInput = Prisma.AtLeast<{ id?: string userId?: string - } + AND?: SiteWhereInput | SiteWhereInput[] + OR?: SiteWhereInput[] + NOT?: SiteWhereInput | SiteWhereInput[] + name?: StringFilter<"Site"> | string + url?: StringFilter<"Site"> | string + owner?: XOR | null + }, "id" | "userId"> export type SiteOrderByWithAggregationInput = { id?: SortOrder name?: SortOrder url?: SortOrder - userId?: SortOrder + userId?: SortOrderInput | SortOrder _count?: SiteCountOrderByAggregateInput _max?: SiteMaxOrderByAggregateInput _min?: SiteMinOrderByAggregateInput } export type SiteScalarWhereWithAggregatesInput = { - AND?: Enumerable - OR?: Enumerable - NOT?: Enumerable - id?: StringWithAggregatesFilter | string - name?: StringWithAggregatesFilter | string - url?: StringWithAggregatesFilter | string - userId?: StringNullableWithAggregatesFilter | string | null + AND?: SiteScalarWhereWithAggregatesInput | SiteScalarWhereWithAggregatesInput[] + OR?: SiteScalarWhereWithAggregatesInput[] + NOT?: SiteScalarWhereWithAggregatesInput | SiteScalarWhereWithAggregatesInput[] + id?: StringWithAggregatesFilter<"Site"> | string + name?: StringWithAggregatesFilter<"Site"> | string + url?: StringWithAggregatesFilter<"Site"> | string + userId?: StringNullableWithAggregatesFilter<"Site"> | string | null } export type UserWhereInput = { - AND?: Enumerable - OR?: Enumerable - NOT?: Enumerable - id?: StringFilter | string - email?: StringFilter | string + AND?: UserWhereInput | UserWhereInput[] + OR?: UserWhereInput[] + NOT?: UserWhereInput | UserWhereInput[] + id?: StringFilter<"User"> | string + email?: StringFilter<"User"> | string + firstName?: StringNullableFilter<"User"> | string | null + lastName?: StringNullableFilter<"User"> | string | null + gender?: EnumGenderNullableFilter<"User"> | $Enums.Gender | null + yearOfBirth?: IntNullableFilter<"User"> | number | null + wantsNewsletter?: BoolFilter<"User"> | boolean + interests?: EnumTopicNullableListFilter<"User"> + address?: JsonNullableFilter<"User"> + weddingDate?: DateTimeNullableFilter<"User"> | Date | string | null roles?: UserRoleListRelationFilter - firstName?: StringNullableFilter | string | null - lastName?: StringNullableFilter | string | null - gender?: EnumGenderNullableFilter | Gender | null - yearOfBirth?: IntNullableFilter | number | null - wantsNewsletter?: BoolFilter | boolean - interests?: EnumTopicNullableListFilter - userSocialMedia?: XOR | null - address?: JsonNullableFilter + userSocialMedia?: XOR | null blogPosts?: BlogPostListRelationFilter comments?: BlogPostCommentListRelationFilter companies?: CompanyListRelationFilter - weddingDate?: DateTimeNullableFilter | Date | string | null - site?: XOR | null + site?: XOR | null } export type UserOrderByWithRelationInput = { id?: SortOrder email?: SortOrder - roles?: UserRoleOrderByRelationAggregateInput - firstName?: SortOrder - lastName?: SortOrder - gender?: SortOrder - yearOfBirth?: SortOrder + firstName?: SortOrderInput | SortOrder + lastName?: SortOrderInput | SortOrder + gender?: SortOrderInput | SortOrder + yearOfBirth?: SortOrderInput | SortOrder wantsNewsletter?: SortOrder interests?: SortOrder + address?: SortOrderInput | SortOrder + weddingDate?: SortOrderInput | SortOrder + roles?: UserRoleOrderByRelationAggregateInput userSocialMedia?: UserSocialMediaOrderByWithRelationInput - address?: SortOrder blogPosts?: BlogPostOrderByRelationAggregateInput comments?: BlogPostCommentOrderByRelationAggregateInput companies?: CompanyOrderByRelationAggregateInput - weddingDate?: SortOrder site?: SiteOrderByWithRelationInput } - export type UserWhereUniqueInput = { + export type UserWhereUniqueInput = Prisma.AtLeast<{ id?: string email?: string - } + AND?: UserWhereInput | UserWhereInput[] + OR?: UserWhereInput[] + NOT?: UserWhereInput | UserWhereInput[] + firstName?: StringNullableFilter<"User"> | string | null + lastName?: StringNullableFilter<"User"> | string | null + gender?: EnumGenderNullableFilter<"User"> | $Enums.Gender | null + yearOfBirth?: IntNullableFilter<"User"> | number | null + wantsNewsletter?: BoolFilter<"User"> | boolean + interests?: EnumTopicNullableListFilter<"User"> + address?: JsonNullableFilter<"User"> + weddingDate?: DateTimeNullableFilter<"User"> | Date | string | null + roles?: UserRoleListRelationFilter + userSocialMedia?: XOR | null + blogPosts?: BlogPostListRelationFilter + comments?: BlogPostCommentListRelationFilter + companies?: CompanyListRelationFilter + site?: XOR | null + }, "id" | "email"> export type UserOrderByWithAggregationInput = { id?: SortOrder email?: SortOrder - firstName?: SortOrder - lastName?: SortOrder - gender?: SortOrder - yearOfBirth?: SortOrder + firstName?: SortOrderInput | SortOrder + lastName?: SortOrderInput | SortOrder + gender?: SortOrderInput | SortOrder + yearOfBirth?: SortOrderInput | SortOrder wantsNewsletter?: SortOrder interests?: SortOrder - address?: SortOrder - weddingDate?: SortOrder + address?: SortOrderInput | SortOrder + weddingDate?: SortOrderInput | SortOrder _count?: UserCountOrderByAggregateInput _avg?: UserAvgOrderByAggregateInput _max?: UserMaxOrderByAggregateInput @@ -9404,35 +10832,35 @@ export namespace Prisma { } export type UserScalarWhereWithAggregatesInput = { - AND?: Enumerable - OR?: Enumerable - NOT?: Enumerable - id?: StringWithAggregatesFilter | string - email?: StringWithAggregatesFilter | string - firstName?: StringNullableWithAggregatesFilter | string | null - lastName?: StringNullableWithAggregatesFilter | string | null - gender?: EnumGenderNullableWithAggregatesFilter | Gender | null - yearOfBirth?: IntNullableWithAggregatesFilter | number | null - wantsNewsletter?: BoolWithAggregatesFilter | boolean - interests?: EnumTopicNullableListFilter - address?: JsonNullableWithAggregatesFilter - weddingDate?: DateTimeNullableWithAggregatesFilter | Date | string | null + AND?: UserScalarWhereWithAggregatesInput | UserScalarWhereWithAggregatesInput[] + OR?: UserScalarWhereWithAggregatesInput[] + NOT?: UserScalarWhereWithAggregatesInput | UserScalarWhereWithAggregatesInput[] + id?: StringWithAggregatesFilter<"User"> | string + email?: StringWithAggregatesFilter<"User"> | string + firstName?: StringNullableWithAggregatesFilter<"User"> | string | null + lastName?: StringNullableWithAggregatesFilter<"User"> | string | null + gender?: EnumGenderNullableWithAggregatesFilter<"User"> | $Enums.Gender | null + yearOfBirth?: IntNullableWithAggregatesFilter<"User"> | number | null + wantsNewsletter?: BoolWithAggregatesFilter<"User"> | boolean + interests?: EnumTopicNullableListFilter<"User"> + address?: JsonNullableWithAggregatesFilter<"User"> + weddingDate?: DateTimeNullableWithAggregatesFilter<"User"> | Date | string | null } export type FilteringTestWhereInput = { - AND?: Enumerable - OR?: Enumerable - NOT?: Enumerable - id?: IntFilter | number - intField?: IntFilter | number - floatField?: FloatFilter | number - stringField?: StringFilter | string - dateTimeField?: DateTimeFilter | Date | string - boolField?: BoolFilter | boolean - intField_lt?: StringFilter | string - intField_bt?: IntFilter | number - snake_field?: IntFilter | number - snake_field_bt?: IntFilter | number + AND?: FilteringTestWhereInput | FilteringTestWhereInput[] + OR?: FilteringTestWhereInput[] + NOT?: FilteringTestWhereInput | FilteringTestWhereInput[] + id?: IntFilter<"FilteringTest"> | number + intField?: IntFilter<"FilteringTest"> | number + floatField?: FloatFilter<"FilteringTest"> | number + stringField?: StringFilter<"FilteringTest"> | string + dateTimeField?: DateTimeFilter<"FilteringTest"> | Date | string + boolField?: BoolFilter<"FilteringTest"> | boolean + intField_lt?: StringFilter<"FilteringTest"> | string + intField_bt?: IntFilter<"FilteringTest"> | number + snake_field?: IntFilter<"FilteringTest"> | number + snake_field_bt?: IntFilter<"FilteringTest"> | number } export type FilteringTestOrderByWithRelationInput = { @@ -9448,9 +10876,21 @@ export namespace Prisma { snake_field_bt?: SortOrder } - export type FilteringTestWhereUniqueInput = { + export type FilteringTestWhereUniqueInput = Prisma.AtLeast<{ id?: number - } + AND?: FilteringTestWhereInput | FilteringTestWhereInput[] + OR?: FilteringTestWhereInput[] + NOT?: FilteringTestWhereInput | FilteringTestWhereInput[] + intField?: IntFilter<"FilteringTest"> | number + floatField?: FloatFilter<"FilteringTest"> | number + stringField?: StringFilter<"FilteringTest"> | string + dateTimeField?: DateTimeFilter<"FilteringTest"> | Date | string + boolField?: BoolFilter<"FilteringTest"> | boolean + intField_lt?: StringFilter<"FilteringTest"> | string + intField_bt?: IntFilter<"FilteringTest"> | number + snake_field?: IntFilter<"FilteringTest"> | number + snake_field_bt?: IntFilter<"FilteringTest"> | number + }, "id"> export type FilteringTestOrderByWithAggregationInput = { id?: SortOrder @@ -9471,27 +10911,27 @@ export namespace Prisma { } export type FilteringTestScalarWhereWithAggregatesInput = { - AND?: Enumerable - OR?: Enumerable - NOT?: Enumerable - id?: IntWithAggregatesFilter | number - intField?: IntWithAggregatesFilter | number - floatField?: FloatWithAggregatesFilter | number - stringField?: StringWithAggregatesFilter | string - dateTimeField?: DateTimeWithAggregatesFilter | Date | string - boolField?: BoolWithAggregatesFilter | boolean - intField_lt?: StringWithAggregatesFilter | string - intField_bt?: IntWithAggregatesFilter | number - snake_field?: IntWithAggregatesFilter | number - snake_field_bt?: IntWithAggregatesFilter | number + AND?: FilteringTestScalarWhereWithAggregatesInput | FilteringTestScalarWhereWithAggregatesInput[] + OR?: FilteringTestScalarWhereWithAggregatesInput[] + NOT?: FilteringTestScalarWhereWithAggregatesInput | FilteringTestScalarWhereWithAggregatesInput[] + id?: IntWithAggregatesFilter<"FilteringTest"> | number + intField?: IntWithAggregatesFilter<"FilteringTest"> | number + floatField?: FloatWithAggregatesFilter<"FilteringTest"> | number + stringField?: StringWithAggregatesFilter<"FilteringTest"> | string + dateTimeField?: DateTimeWithAggregatesFilter<"FilteringTest"> | Date | string + boolField?: BoolWithAggregatesFilter<"FilteringTest"> | boolean + intField_lt?: StringWithAggregatesFilter<"FilteringTest"> | string + intField_bt?: IntWithAggregatesFilter<"FilteringTest"> | number + snake_field?: IntWithAggregatesFilter<"FilteringTest"> | number + snake_field_bt?: IntWithAggregatesFilter<"FilteringTest"> | number } export type SomePublicRecordWithIntIdWhereInput = { - AND?: Enumerable - OR?: Enumerable - NOT?: Enumerable - id?: IntFilter | number - title?: StringFilter | string + AND?: SomePublicRecordWithIntIdWhereInput | SomePublicRecordWithIntIdWhereInput[] + OR?: SomePublicRecordWithIntIdWhereInput[] + NOT?: SomePublicRecordWithIntIdWhereInput | SomePublicRecordWithIntIdWhereInput[] + id?: IntFilter<"SomePublicRecordWithIntId"> | number + title?: StringFilter<"SomePublicRecordWithIntId"> | string } export type SomePublicRecordWithIntIdOrderByWithRelationInput = { @@ -9499,9 +10939,13 @@ export namespace Prisma { title?: SortOrder } - export type SomePublicRecordWithIntIdWhereUniqueInput = { + export type SomePublicRecordWithIntIdWhereUniqueInput = Prisma.AtLeast<{ id?: number - } + AND?: SomePublicRecordWithIntIdWhereInput | SomePublicRecordWithIntIdWhereInput[] + OR?: SomePublicRecordWithIntIdWhereInput[] + NOT?: SomePublicRecordWithIntIdWhereInput | SomePublicRecordWithIntIdWhereInput[] + title?: StringFilter<"SomePublicRecordWithIntId"> | string + }, "id"> export type SomePublicRecordWithIntIdOrderByWithAggregationInput = { id?: SortOrder @@ -9514,11 +10958,11 @@ export namespace Prisma { } export type SomePublicRecordWithIntIdScalarWhereWithAggregatesInput = { - AND?: Enumerable - OR?: Enumerable - NOT?: Enumerable - id?: IntWithAggregatesFilter | number - title?: StringWithAggregatesFilter | string + AND?: SomePublicRecordWithIntIdScalarWhereWithAggregatesInput | SomePublicRecordWithIntIdScalarWhereWithAggregatesInput[] + OR?: SomePublicRecordWithIntIdScalarWhereWithAggregatesInput[] + NOT?: SomePublicRecordWithIntIdScalarWhereWithAggregatesInput | SomePublicRecordWithIntIdScalarWhereWithAggregatesInput[] + id?: IntWithAggregatesFilter<"SomePublicRecordWithIntId"> | number + title?: StringWithAggregatesFilter<"SomePublicRecordWithIntId"> | string } export type UserRoleCreateInput = { @@ -9536,13 +10980,13 @@ export namespace Prisma { export type UserRoleUpdateInput = { id?: StringFieldUpdateOperationsInput | string name?: StringFieldUpdateOperationsInput | string - users?: UserUpdateManyWithoutRolesInput + users?: UserUpdateManyWithoutRolesNestedInput } export type UserRoleUncheckedUpdateInput = { id?: StringFieldUpdateOperationsInput | string name?: StringFieldUpdateOperationsInput | string - users?: UserUncheckedUpdateManyWithoutRolesInput + users?: UserUncheckedUpdateManyWithoutRolesNestedInput } export type UserRoleCreateManyInput = { @@ -9575,7 +11019,7 @@ export namespace Prisma { export type CompanyUpdateInput = { id?: StringFieldUpdateOperationsInput | string name?: StringFieldUpdateOperationsInput | string - user?: UserUpdateOneRequiredWithoutCompaniesInput + user?: UserUpdateOneRequiredWithoutCompaniesNestedInput } export type CompanyUncheckedUpdateInput = { @@ -9619,7 +11063,7 @@ export namespace Prisma { id?: StringFieldUpdateOperationsInput | string instagram?: StringFieldUpdateOperationsInput | string twitter?: StringFieldUpdateOperationsInput | string - user?: UserUpdateOneRequiredWithoutUserSocialMediaInput + user?: UserUpdateOneRequiredWithoutUserSocialMediaNestedInput } export type UserSocialMediaUncheckedUpdateInput = { @@ -9669,8 +11113,8 @@ export namespace Prisma { id?: StringFieldUpdateOperationsInput | string title?: StringFieldUpdateOperationsInput | string text?: StringFieldUpdateOperationsInput | string - author?: UserUpdateOneWithoutBlogPostsInput - comments?: BlogPostCommentUpdateManyWithoutPostInput + author?: UserUpdateOneWithoutBlogPostsNestedInput + comments?: BlogPostCommentUpdateManyWithoutPostNestedInput } export type BlogPostUncheckedUpdateInput = { @@ -9678,7 +11122,7 @@ export namespace Prisma { title?: StringFieldUpdateOperationsInput | string text?: StringFieldUpdateOperationsInput | string authorId?: NullableStringFieldUpdateOperationsInput | string | null - comments?: BlogPostCommentUncheckedUpdateManyWithoutPostInput + comments?: BlogPostCommentUncheckedUpdateManyWithoutPostNestedInput } export type BlogPostCreateManyInput = { @@ -9718,8 +11162,8 @@ export namespace Prisma { export type BlogPostCommentUpdateInput = { id?: StringFieldUpdateOperationsInput | string text?: StringFieldUpdateOperationsInput | string - post?: BlogPostUpdateOneWithoutCommentsInput - author?: UserUpdateOneWithoutCommentsInput + post?: BlogPostUpdateOneWithoutCommentsNestedInput + author?: UserUpdateOneWithoutCommentsNestedInput } export type BlogPostCommentUncheckedUpdateInput = { @@ -9766,7 +11210,7 @@ export namespace Prisma { id?: StringFieldUpdateOperationsInput | string name?: StringFieldUpdateOperationsInput | string url?: StringFieldUpdateOperationsInput | string - owner?: UserUpdateOneWithoutSiteInput + owner?: UserUpdateOneWithoutSiteNestedInput } export type SiteUncheckedUpdateInput = { @@ -9799,77 +11243,77 @@ export namespace Prisma { export type UserCreateInput = { id?: string email: string - roles?: UserRoleCreateNestedManyWithoutUsersInput firstName?: string | null lastName?: string | null - gender?: Gender | null + gender?: $Enums.Gender | null yearOfBirth?: number | null wantsNewsletter: boolean - interests?: UserCreateinterestsInput | Enumerable - userSocialMedia?: UserSocialMediaCreateNestedOneWithoutUserInput + interests?: UserCreateinterestsInput | $Enums.Topic[] address?: NullableJsonNullValueInput | InputJsonValue + weddingDate?: Date | string | null + roles?: UserRoleCreateNestedManyWithoutUsersInput + userSocialMedia?: UserSocialMediaCreateNestedOneWithoutUserInput blogPosts?: BlogPostCreateNestedManyWithoutAuthorInput comments?: BlogPostCommentCreateNestedManyWithoutAuthorInput companies?: CompanyCreateNestedManyWithoutUserInput - weddingDate?: Date | string | null site?: SiteCreateNestedOneWithoutOwnerInput } export type UserUncheckedCreateInput = { id?: string email: string - roles?: UserRoleUncheckedCreateNestedManyWithoutUsersInput firstName?: string | null lastName?: string | null - gender?: Gender | null + gender?: $Enums.Gender | null yearOfBirth?: number | null wantsNewsletter: boolean - interests?: UserCreateinterestsInput | Enumerable - userSocialMedia?: UserSocialMediaUncheckedCreateNestedOneWithoutUserInput + interests?: UserCreateinterestsInput | $Enums.Topic[] address?: NullableJsonNullValueInput | InputJsonValue + weddingDate?: Date | string | null + roles?: UserRoleUncheckedCreateNestedManyWithoutUsersInput + userSocialMedia?: UserSocialMediaUncheckedCreateNestedOneWithoutUserInput blogPosts?: BlogPostUncheckedCreateNestedManyWithoutAuthorInput comments?: BlogPostCommentUncheckedCreateNestedManyWithoutAuthorInput companies?: CompanyUncheckedCreateNestedManyWithoutUserInput - weddingDate?: Date | string | null site?: SiteUncheckedCreateNestedOneWithoutOwnerInput } export type UserUpdateInput = { id?: StringFieldUpdateOperationsInput | string email?: StringFieldUpdateOperationsInput | string - roles?: UserRoleUpdateManyWithoutUsersInput firstName?: NullableStringFieldUpdateOperationsInput | string | null lastName?: NullableStringFieldUpdateOperationsInput | string | null - gender?: NullableEnumGenderFieldUpdateOperationsInput | Gender | null + gender?: NullableEnumGenderFieldUpdateOperationsInput | $Enums.Gender | null yearOfBirth?: NullableIntFieldUpdateOperationsInput | number | null wantsNewsletter?: BoolFieldUpdateOperationsInput | boolean - interests?: UserUpdateinterestsInput | Enumerable - userSocialMedia?: UserSocialMediaUpdateOneWithoutUserInput + interests?: UserUpdateinterestsInput | $Enums.Topic[] address?: NullableJsonNullValueInput | InputJsonValue - blogPosts?: BlogPostUpdateManyWithoutAuthorInput - comments?: BlogPostCommentUpdateManyWithoutAuthorInput - companies?: CompanyUpdateManyWithoutUserInput weddingDate?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null - site?: SiteUpdateOneWithoutOwnerInput + roles?: UserRoleUpdateManyWithoutUsersNestedInput + userSocialMedia?: UserSocialMediaUpdateOneWithoutUserNestedInput + blogPosts?: BlogPostUpdateManyWithoutAuthorNestedInput + comments?: BlogPostCommentUpdateManyWithoutAuthorNestedInput + companies?: CompanyUpdateManyWithoutUserNestedInput + site?: SiteUpdateOneWithoutOwnerNestedInput } export type UserUncheckedUpdateInput = { id?: StringFieldUpdateOperationsInput | string email?: StringFieldUpdateOperationsInput | string - roles?: UserRoleUncheckedUpdateManyWithoutUsersInput firstName?: NullableStringFieldUpdateOperationsInput | string | null lastName?: NullableStringFieldUpdateOperationsInput | string | null - gender?: NullableEnumGenderFieldUpdateOperationsInput | Gender | null + gender?: NullableEnumGenderFieldUpdateOperationsInput | $Enums.Gender | null yearOfBirth?: NullableIntFieldUpdateOperationsInput | number | null wantsNewsletter?: BoolFieldUpdateOperationsInput | boolean - interests?: UserUpdateinterestsInput | Enumerable - userSocialMedia?: UserSocialMediaUncheckedUpdateOneWithoutUserInput + interests?: UserUpdateinterestsInput | $Enums.Topic[] address?: NullableJsonNullValueInput | InputJsonValue - blogPosts?: BlogPostUncheckedUpdateManyWithoutAuthorInput - comments?: BlogPostCommentUncheckedUpdateManyWithoutAuthorInput - companies?: CompanyUncheckedUpdateManyWithoutUserInput weddingDate?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null - site?: SiteUncheckedUpdateOneWithoutOwnerInput + roles?: UserRoleUncheckedUpdateManyWithoutUsersNestedInput + userSocialMedia?: UserSocialMediaUncheckedUpdateOneWithoutUserNestedInput + blogPosts?: BlogPostUncheckedUpdateManyWithoutAuthorNestedInput + comments?: BlogPostCommentUncheckedUpdateManyWithoutAuthorNestedInput + companies?: CompanyUncheckedUpdateManyWithoutUserNestedInput + site?: SiteUncheckedUpdateOneWithoutOwnerNestedInput } export type UserCreateManyInput = { @@ -9877,10 +11321,10 @@ export namespace Prisma { email: string firstName?: string | null lastName?: string | null - gender?: Gender | null + gender?: $Enums.Gender | null yearOfBirth?: number | null wantsNewsletter: boolean - interests?: UserCreateinterestsInput | Enumerable + interests?: UserCreateinterestsInput | $Enums.Topic[] address?: NullableJsonNullValueInput | InputJsonValue weddingDate?: Date | string | null } @@ -9890,10 +11334,10 @@ export namespace Prisma { email?: StringFieldUpdateOperationsInput | string firstName?: NullableStringFieldUpdateOperationsInput | string | null lastName?: NullableStringFieldUpdateOperationsInput | string | null - gender?: NullableEnumGenderFieldUpdateOperationsInput | Gender | null + gender?: NullableEnumGenderFieldUpdateOperationsInput | $Enums.Gender | null yearOfBirth?: NullableIntFieldUpdateOperationsInput | number | null wantsNewsletter?: BoolFieldUpdateOperationsInput | boolean - interests?: UserUpdateinterestsInput | Enumerable + interests?: UserUpdateinterestsInput | $Enums.Topic[] address?: NullableJsonNullValueInput | InputJsonValue weddingDate?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null } @@ -9903,10 +11347,10 @@ export namespace Prisma { email?: StringFieldUpdateOperationsInput | string firstName?: NullableStringFieldUpdateOperationsInput | string | null lastName?: NullableStringFieldUpdateOperationsInput | string | null - gender?: NullableEnumGenderFieldUpdateOperationsInput | Gender | null + gender?: NullableEnumGenderFieldUpdateOperationsInput | $Enums.Gender | null yearOfBirth?: NullableIntFieldUpdateOperationsInput | number | null wantsNewsletter?: BoolFieldUpdateOperationsInput | boolean - interests?: UserUpdateinterestsInput | Enumerable + interests?: UserUpdateinterestsInput | $Enums.Topic[] address?: NullableJsonNullValueInput | InputJsonValue weddingDate?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null } @@ -10031,19 +11475,19 @@ export namespace Prisma { title?: StringFieldUpdateOperationsInput | string } - export type StringFilter = { - equals?: string - in?: Enumerable - notIn?: Enumerable - lt?: string - lte?: string - gt?: string - gte?: string - contains?: string - startsWith?: string - endsWith?: string + export type StringFilter<$PrismaModel = never> = { + equals?: string | StringFieldRefInput<$PrismaModel> + in?: string[] | ListStringFieldRefInput<$PrismaModel> + notIn?: string[] | ListStringFieldRefInput<$PrismaModel> + lt?: string | StringFieldRefInput<$PrismaModel> + lte?: string | StringFieldRefInput<$PrismaModel> + gt?: string | StringFieldRefInput<$PrismaModel> + gte?: string | StringFieldRefInput<$PrismaModel> + contains?: string | StringFieldRefInput<$PrismaModel> + startsWith?: string | StringFieldRefInput<$PrismaModel> + endsWith?: string | StringFieldRefInput<$PrismaModel> mode?: QueryMode - not?: NestedStringFilter | string + not?: NestedStringFilter<$PrismaModel> | string } export type UserListRelationFilter = { @@ -10071,22 +11515,22 @@ export namespace Prisma { name?: SortOrder } - export type StringWithAggregatesFilter = { - equals?: string - in?: Enumerable - notIn?: Enumerable - lt?: string - lte?: string - gt?: string - gte?: string - contains?: string - startsWith?: string - endsWith?: string + export type StringWithAggregatesFilter<$PrismaModel = never> = { + equals?: string | StringFieldRefInput<$PrismaModel> + in?: string[] | ListStringFieldRefInput<$PrismaModel> + notIn?: string[] | ListStringFieldRefInput<$PrismaModel> + lt?: string | StringFieldRefInput<$PrismaModel> + lte?: string | StringFieldRefInput<$PrismaModel> + gt?: string | StringFieldRefInput<$PrismaModel> + gte?: string | StringFieldRefInput<$PrismaModel> + contains?: string | StringFieldRefInput<$PrismaModel> + startsWith?: string | StringFieldRefInput<$PrismaModel> + endsWith?: string | StringFieldRefInput<$PrismaModel> mode?: QueryMode - not?: NestedStringWithAggregatesFilter | string - _count?: NestedIntFilter - _min?: NestedStringFilter - _max?: NestedStringFilter + not?: NestedStringWithAggregatesFilter<$PrismaModel> | string + _count?: NestedIntFilter<$PrismaModel> + _min?: NestedStringFilter<$PrismaModel> + _max?: NestedStringFilter<$PrismaModel> } export type UserRelationFilter = { @@ -10133,19 +11577,24 @@ export namespace Prisma { userId?: SortOrder } - export type StringNullableFilter = { - equals?: string | null - in?: Enumerable | null - notIn?: Enumerable | null - lt?: string - lte?: string - gt?: string - gte?: string - contains?: string - startsWith?: string - endsWith?: string + export type StringNullableFilter<$PrismaModel = never> = { + equals?: string | StringFieldRefInput<$PrismaModel> | null + in?: string[] | ListStringFieldRefInput<$PrismaModel> | null + notIn?: string[] | ListStringFieldRefInput<$PrismaModel> | null + lt?: string | StringFieldRefInput<$PrismaModel> + lte?: string | StringFieldRefInput<$PrismaModel> + gt?: string | StringFieldRefInput<$PrismaModel> + gte?: string | StringFieldRefInput<$PrismaModel> + contains?: string | StringFieldRefInput<$PrismaModel> + startsWith?: string | StringFieldRefInput<$PrismaModel> + endsWith?: string | StringFieldRefInput<$PrismaModel> mode?: QueryMode - not?: NestedStringNullableFilter | string | null + not?: NestedStringNullableFilter<$PrismaModel> | string | null + } + + export type UserNullableRelationFilter = { + is?: UserWhereInput | null + isNot?: UserWhereInput | null } export type BlogPostCommentListRelationFilter = { @@ -10154,6 +11603,11 @@ export namespace Prisma { none?: BlogPostCommentWhereInput } + export type SortOrderInput = { + sort: SortOrder + nulls?: NullsOrder + } + export type BlogPostCommentOrderByRelationAggregateInput = { _count?: SortOrder } @@ -10179,25 +11633,25 @@ export namespace Prisma { authorId?: SortOrder } - export type StringNullableWithAggregatesFilter = { - equals?: string | null - in?: Enumerable | null - notIn?: Enumerable | null - lt?: string - lte?: string - gt?: string - gte?: string - contains?: string - startsWith?: string - endsWith?: string + export type StringNullableWithAggregatesFilter<$PrismaModel = never> = { + equals?: string | StringFieldRefInput<$PrismaModel> | null + in?: string[] | ListStringFieldRefInput<$PrismaModel> | null + notIn?: string[] | ListStringFieldRefInput<$PrismaModel> | null + lt?: string | StringFieldRefInput<$PrismaModel> + lte?: string | StringFieldRefInput<$PrismaModel> + gt?: string | StringFieldRefInput<$PrismaModel> + gte?: string | StringFieldRefInput<$PrismaModel> + contains?: string | StringFieldRefInput<$PrismaModel> + startsWith?: string | StringFieldRefInput<$PrismaModel> + endsWith?: string | StringFieldRefInput<$PrismaModel> mode?: QueryMode - not?: NestedStringNullableWithAggregatesFilter | string | null - _count?: NestedIntNullableFilter - _min?: NestedStringNullableFilter - _max?: NestedStringNullableFilter + not?: NestedStringNullableWithAggregatesFilter<$PrismaModel> | string | null + _count?: NestedIntNullableFilter<$PrismaModel> + _min?: NestedStringNullableFilter<$PrismaModel> + _max?: NestedStringNullableFilter<$PrismaModel> } - export type BlogPostRelationFilter = { + export type BlogPostNullableRelationFilter = { is?: BlogPostWhereInput | null isNot?: BlogPostWhereInput | null } @@ -10244,58 +11698,80 @@ export namespace Prisma { userId?: SortOrder } - export type UserRoleListRelationFilter = { - every?: UserRoleWhereInput - some?: UserRoleWhereInput - none?: UserRoleWhereInput + export type EnumGenderNullableFilter<$PrismaModel = never> = { + equals?: $Enums.Gender | EnumGenderFieldRefInput<$PrismaModel> | null + in?: $Enums.Gender[] | ListEnumGenderFieldRefInput<$PrismaModel> | null + notIn?: $Enums.Gender[] | ListEnumGenderFieldRefInput<$PrismaModel> | null + not?: NestedEnumGenderNullableFilter<$PrismaModel> | $Enums.Gender | null } - export type EnumGenderNullableFilter = { - equals?: Gender | null - in?: Enumerable | null - notIn?: Enumerable | null - not?: NestedEnumGenderNullableFilter | Gender | null + export type IntNullableFilter<$PrismaModel = never> = { + equals?: number | IntFieldRefInput<$PrismaModel> | null + in?: number[] | ListIntFieldRefInput<$PrismaModel> | null + notIn?: number[] | ListIntFieldRefInput<$PrismaModel> | null + lt?: number | IntFieldRefInput<$PrismaModel> + lte?: number | IntFieldRefInput<$PrismaModel> + gt?: number | IntFieldRefInput<$PrismaModel> + gte?: number | IntFieldRefInput<$PrismaModel> + not?: NestedIntNullableFilter<$PrismaModel> | number | null } - export type IntNullableFilter = { - equals?: number | null - in?: Enumerable | null - notIn?: Enumerable | null - lt?: number - lte?: number - gt?: number - gte?: number - not?: NestedIntNullableFilter | number | null + export type BoolFilter<$PrismaModel = never> = { + equals?: boolean | BooleanFieldRefInput<$PrismaModel> + not?: NestedBoolFilter<$PrismaModel> | boolean } - export type BoolFilter = { - equals?: boolean - not?: NestedBoolFilter | boolean + export type EnumTopicNullableListFilter<$PrismaModel = never> = { + equals?: $Enums.Topic[] | ListEnumTopicFieldRefInput<$PrismaModel> | null + has?: $Enums.Topic | EnumTopicFieldRefInput<$PrismaModel> | null + hasEvery?: $Enums.Topic[] | ListEnumTopicFieldRefInput<$PrismaModel> + hasSome?: $Enums.Topic[] | ListEnumTopicFieldRefInput<$PrismaModel> + isEmpty?: boolean + } + export type JsonNullableFilter<$PrismaModel = never> = + | PatchUndefined< + Either>, Exclude>, 'path'>>, + Required> + > + | OptionalFlat>, 'path'>> + + export type JsonNullableFilterBase<$PrismaModel = never> = { + equals?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | JsonNullValueFilter + path?: string[] + string_contains?: string | StringFieldRefInput<$PrismaModel> + string_starts_with?: string | StringFieldRefInput<$PrismaModel> + string_ends_with?: string | StringFieldRefInput<$PrismaModel> + array_contains?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | null + array_starts_with?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | null + array_ends_with?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | null + lt?: InputJsonValue | JsonFieldRefInput<$PrismaModel> + lte?: InputJsonValue | JsonFieldRefInput<$PrismaModel> + gt?: InputJsonValue | JsonFieldRefInput<$PrismaModel> + gte?: InputJsonValue | JsonFieldRefInput<$PrismaModel> + not?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | JsonNullValueFilter + } + + export type DateTimeNullableFilter<$PrismaModel = never> = { + equals?: Date | string | DateTimeFieldRefInput<$PrismaModel> | null + in?: Date[] | string[] | ListDateTimeFieldRefInput<$PrismaModel> | null + notIn?: Date[] | string[] | ListDateTimeFieldRefInput<$PrismaModel> | null + lt?: Date | string | DateTimeFieldRefInput<$PrismaModel> + lte?: Date | string | DateTimeFieldRefInput<$PrismaModel> + gt?: Date | string | DateTimeFieldRefInput<$PrismaModel> + gte?: Date | string | DateTimeFieldRefInput<$PrismaModel> + not?: NestedDateTimeNullableFilter<$PrismaModel> | Date | string | null } - export type EnumTopicNullableListFilter = { - equals?: Enumerable | null - has?: Topic | null - hasEvery?: Enumerable - hasSome?: Enumerable - isEmpty?: boolean + export type UserRoleListRelationFilter = { + every?: UserRoleWhereInput + some?: UserRoleWhereInput + none?: UserRoleWhereInput } - export type UserSocialMediaRelationFilter = { + export type UserSocialMediaNullableRelationFilter = { is?: UserSocialMediaWhereInput | null isNot?: UserSocialMediaWhereInput | null } - export type JsonNullableFilter = - | PatchUndefined< - Either, Exclude, 'path'>>, - Required - > - | OptionalFlat, 'path'>> - - export type JsonNullableFilterBase = { - equals?: JsonNullValueFilter | InputJsonValue - not?: JsonNullValueFilter | InputJsonValue - } export type BlogPostListRelationFilter = { every?: BlogPostWhereInput @@ -10309,18 +11785,7 @@ export namespace Prisma { none?: CompanyWhereInput } - export type DateTimeNullableFilter = { - equals?: Date | string | null - in?: Enumerable | Enumerable | null - notIn?: Enumerable | Enumerable | null - lt?: Date | string - lte?: Date | string - gt?: Date | string - gte?: Date | string - not?: NestedDateTimeNullableFilter | Date | string | null - } - - export type SiteRelationFilter = { + export type SiteNullableRelationFilter = { is?: SiteWhereInput | null isNot?: SiteWhereInput | null } @@ -10380,99 +11845,110 @@ export namespace Prisma { yearOfBirth?: SortOrder } - export type EnumGenderNullableWithAggregatesFilter = { - equals?: Gender | null - in?: Enumerable | null - notIn?: Enumerable | null - not?: NestedEnumGenderNullableWithAggregatesFilter | Gender | null - _count?: NestedIntNullableFilter - _min?: NestedEnumGenderNullableFilter - _max?: NestedEnumGenderNullableFilter - } - - export type IntNullableWithAggregatesFilter = { - equals?: number | null - in?: Enumerable | null - notIn?: Enumerable | null - lt?: number - lte?: number - gt?: number - gte?: number - not?: NestedIntNullableWithAggregatesFilter | number | null - _count?: NestedIntNullableFilter - _avg?: NestedFloatNullableFilter - _sum?: NestedIntNullableFilter - _min?: NestedIntNullableFilter - _max?: NestedIntNullableFilter - } - - export type BoolWithAggregatesFilter = { - equals?: boolean - not?: NestedBoolWithAggregatesFilter | boolean - _count?: NestedIntFilter - _min?: NestedBoolFilter - _max?: NestedBoolFilter - } - export type JsonNullableWithAggregatesFilter = + export type EnumGenderNullableWithAggregatesFilter<$PrismaModel = never> = { + equals?: $Enums.Gender | EnumGenderFieldRefInput<$PrismaModel> | null + in?: $Enums.Gender[] | ListEnumGenderFieldRefInput<$PrismaModel> | null + notIn?: $Enums.Gender[] | ListEnumGenderFieldRefInput<$PrismaModel> | null + not?: NestedEnumGenderNullableWithAggregatesFilter<$PrismaModel> | $Enums.Gender | null + _count?: NestedIntNullableFilter<$PrismaModel> + _min?: NestedEnumGenderNullableFilter<$PrismaModel> + _max?: NestedEnumGenderNullableFilter<$PrismaModel> + } + + export type IntNullableWithAggregatesFilter<$PrismaModel = never> = { + equals?: number | IntFieldRefInput<$PrismaModel> | null + in?: number[] | ListIntFieldRefInput<$PrismaModel> | null + notIn?: number[] | ListIntFieldRefInput<$PrismaModel> | null + lt?: number | IntFieldRefInput<$PrismaModel> + lte?: number | IntFieldRefInput<$PrismaModel> + gt?: number | IntFieldRefInput<$PrismaModel> + gte?: number | IntFieldRefInput<$PrismaModel> + not?: NestedIntNullableWithAggregatesFilter<$PrismaModel> | number | null + _count?: NestedIntNullableFilter<$PrismaModel> + _avg?: NestedFloatNullableFilter<$PrismaModel> + _sum?: NestedIntNullableFilter<$PrismaModel> + _min?: NestedIntNullableFilter<$PrismaModel> + _max?: NestedIntNullableFilter<$PrismaModel> + } + + export type BoolWithAggregatesFilter<$PrismaModel = never> = { + equals?: boolean | BooleanFieldRefInput<$PrismaModel> + not?: NestedBoolWithAggregatesFilter<$PrismaModel> | boolean + _count?: NestedIntFilter<$PrismaModel> + _min?: NestedBoolFilter<$PrismaModel> + _max?: NestedBoolFilter<$PrismaModel> + } + export type JsonNullableWithAggregatesFilter<$PrismaModel = never> = | PatchUndefined< - Either, Exclude, 'path'>>, - Required + Either>, Exclude>, 'path'>>, + Required> > - | OptionalFlat, 'path'>> - - export type JsonNullableWithAggregatesFilterBase = { - equals?: JsonNullValueFilter | InputJsonValue - not?: JsonNullValueFilter | InputJsonValue - _count?: NestedIntNullableFilter - _min?: NestedJsonNullableFilter - _max?: NestedJsonNullableFilter - } - - export type DateTimeNullableWithAggregatesFilter = { - equals?: Date | string | null - in?: Enumerable | Enumerable | null - notIn?: Enumerable | Enumerable | null - lt?: Date | string - lte?: Date | string - gt?: Date | string - gte?: Date | string - not?: NestedDateTimeNullableWithAggregatesFilter | Date | string | null - _count?: NestedIntNullableFilter - _min?: NestedDateTimeNullableFilter - _max?: NestedDateTimeNullableFilter - } - - export type IntFilter = { - equals?: number - in?: Enumerable - notIn?: Enumerable - lt?: number - lte?: number - gt?: number - gte?: number - not?: NestedIntFilter | number - } - - export type FloatFilter = { - equals?: number - in?: Enumerable - notIn?: Enumerable - lt?: number - lte?: number - gt?: number - gte?: number - not?: NestedFloatFilter | number - } - - export type DateTimeFilter = { - equals?: Date | string - in?: Enumerable | Enumerable - notIn?: Enumerable | Enumerable - lt?: Date | string - lte?: Date | string - gt?: Date | string - gte?: Date | string - not?: NestedDateTimeFilter | Date | string + | OptionalFlat>, 'path'>> + + export type JsonNullableWithAggregatesFilterBase<$PrismaModel = never> = { + equals?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | JsonNullValueFilter + path?: string[] + string_contains?: string | StringFieldRefInput<$PrismaModel> + string_starts_with?: string | StringFieldRefInput<$PrismaModel> + string_ends_with?: string | StringFieldRefInput<$PrismaModel> + array_contains?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | null + array_starts_with?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | null + array_ends_with?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | null + lt?: InputJsonValue | JsonFieldRefInput<$PrismaModel> + lte?: InputJsonValue | JsonFieldRefInput<$PrismaModel> + gt?: InputJsonValue | JsonFieldRefInput<$PrismaModel> + gte?: InputJsonValue | JsonFieldRefInput<$PrismaModel> + not?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | JsonNullValueFilter + _count?: NestedIntNullableFilter<$PrismaModel> + _min?: NestedJsonNullableFilter<$PrismaModel> + _max?: NestedJsonNullableFilter<$PrismaModel> + } + + export type DateTimeNullableWithAggregatesFilter<$PrismaModel = never> = { + equals?: Date | string | DateTimeFieldRefInput<$PrismaModel> | null + in?: Date[] | string[] | ListDateTimeFieldRefInput<$PrismaModel> | null + notIn?: Date[] | string[] | ListDateTimeFieldRefInput<$PrismaModel> | null + lt?: Date | string | DateTimeFieldRefInput<$PrismaModel> + lte?: Date | string | DateTimeFieldRefInput<$PrismaModel> + gt?: Date | string | DateTimeFieldRefInput<$PrismaModel> + gte?: Date | string | DateTimeFieldRefInput<$PrismaModel> + not?: NestedDateTimeNullableWithAggregatesFilter<$PrismaModel> | Date | string | null + _count?: NestedIntNullableFilter<$PrismaModel> + _min?: NestedDateTimeNullableFilter<$PrismaModel> + _max?: NestedDateTimeNullableFilter<$PrismaModel> + } + + export type IntFilter<$PrismaModel = never> = { + equals?: number | IntFieldRefInput<$PrismaModel> + in?: number[] | ListIntFieldRefInput<$PrismaModel> + notIn?: number[] | ListIntFieldRefInput<$PrismaModel> + lt?: number | IntFieldRefInput<$PrismaModel> + lte?: number | IntFieldRefInput<$PrismaModel> + gt?: number | IntFieldRefInput<$PrismaModel> + gte?: number | IntFieldRefInput<$PrismaModel> + not?: NestedIntFilter<$PrismaModel> | number + } + + export type FloatFilter<$PrismaModel = never> = { + equals?: number | FloatFieldRefInput<$PrismaModel> + in?: number[] | ListFloatFieldRefInput<$PrismaModel> + notIn?: number[] | ListFloatFieldRefInput<$PrismaModel> + lt?: number | FloatFieldRefInput<$PrismaModel> + lte?: number | FloatFieldRefInput<$PrismaModel> + gt?: number | FloatFieldRefInput<$PrismaModel> + gte?: number | FloatFieldRefInput<$PrismaModel> + not?: NestedFloatFilter<$PrismaModel> | number + } + + export type DateTimeFilter<$PrismaModel = never> = { + equals?: Date | string | DateTimeFieldRefInput<$PrismaModel> + in?: Date[] | string[] | ListDateTimeFieldRefInput<$PrismaModel> + notIn?: Date[] | string[] | ListDateTimeFieldRefInput<$PrismaModel> + lt?: Date | string | DateTimeFieldRefInput<$PrismaModel> + lte?: Date | string | DateTimeFieldRefInput<$PrismaModel> + gt?: Date | string | DateTimeFieldRefInput<$PrismaModel> + gte?: Date | string | DateTimeFieldRefInput<$PrismaModel> + not?: NestedDateTimeFilter<$PrismaModel> | Date | string } export type FilteringTestCountOrderByAggregateInput = { @@ -10532,50 +12008,50 @@ export namespace Prisma { snake_field_bt?: SortOrder } - export type IntWithAggregatesFilter = { - equals?: number - in?: Enumerable - notIn?: Enumerable - lt?: number - lte?: number - gt?: number - gte?: number - not?: NestedIntWithAggregatesFilter | number - _count?: NestedIntFilter - _avg?: NestedFloatFilter - _sum?: NestedIntFilter - _min?: NestedIntFilter - _max?: NestedIntFilter - } - - export type FloatWithAggregatesFilter = { - equals?: number - in?: Enumerable - notIn?: Enumerable - lt?: number - lte?: number - gt?: number - gte?: number - not?: NestedFloatWithAggregatesFilter | number - _count?: NestedIntFilter - _avg?: NestedFloatFilter - _sum?: NestedFloatFilter - _min?: NestedFloatFilter - _max?: NestedFloatFilter - } - - export type DateTimeWithAggregatesFilter = { - equals?: Date | string - in?: Enumerable | Enumerable - notIn?: Enumerable | Enumerable - lt?: Date | string - lte?: Date | string - gt?: Date | string - gte?: Date | string - not?: NestedDateTimeWithAggregatesFilter | Date | string - _count?: NestedIntFilter - _min?: NestedDateTimeFilter - _max?: NestedDateTimeFilter + export type IntWithAggregatesFilter<$PrismaModel = never> = { + equals?: number | IntFieldRefInput<$PrismaModel> + in?: number[] | ListIntFieldRefInput<$PrismaModel> + notIn?: number[] | ListIntFieldRefInput<$PrismaModel> + lt?: number | IntFieldRefInput<$PrismaModel> + lte?: number | IntFieldRefInput<$PrismaModel> + gt?: number | IntFieldRefInput<$PrismaModel> + gte?: number | IntFieldRefInput<$PrismaModel> + not?: NestedIntWithAggregatesFilter<$PrismaModel> | number + _count?: NestedIntFilter<$PrismaModel> + _avg?: NestedFloatFilter<$PrismaModel> + _sum?: NestedIntFilter<$PrismaModel> + _min?: NestedIntFilter<$PrismaModel> + _max?: NestedIntFilter<$PrismaModel> + } + + export type FloatWithAggregatesFilter<$PrismaModel = never> = { + equals?: number | FloatFieldRefInput<$PrismaModel> + in?: number[] | ListFloatFieldRefInput<$PrismaModel> + notIn?: number[] | ListFloatFieldRefInput<$PrismaModel> + lt?: number | FloatFieldRefInput<$PrismaModel> + lte?: number | FloatFieldRefInput<$PrismaModel> + gt?: number | FloatFieldRefInput<$PrismaModel> + gte?: number | FloatFieldRefInput<$PrismaModel> + not?: NestedFloatWithAggregatesFilter<$PrismaModel> | number + _count?: NestedIntFilter<$PrismaModel> + _avg?: NestedFloatFilter<$PrismaModel> + _sum?: NestedFloatFilter<$PrismaModel> + _min?: NestedFloatFilter<$PrismaModel> + _max?: NestedFloatFilter<$PrismaModel> + } + + export type DateTimeWithAggregatesFilter<$PrismaModel = never> = { + equals?: Date | string | DateTimeFieldRefInput<$PrismaModel> + in?: Date[] | string[] | ListDateTimeFieldRefInput<$PrismaModel> + notIn?: Date[] | string[] | ListDateTimeFieldRefInput<$PrismaModel> + lt?: Date | string | DateTimeFieldRefInput<$PrismaModel> + lte?: Date | string | DateTimeFieldRefInput<$PrismaModel> + gt?: Date | string | DateTimeFieldRefInput<$PrismaModel> + gte?: Date | string | DateTimeFieldRefInput<$PrismaModel> + not?: NestedDateTimeWithAggregatesFilter<$PrismaModel> | Date | string + _count?: NestedIntFilter<$PrismaModel> + _min?: NestedDateTimeFilter<$PrismaModel> + _max?: NestedDateTimeFilter<$PrismaModel> } export type SomePublicRecordWithIntIdCountOrderByAggregateInput = { @@ -10602,45 +12078,45 @@ export namespace Prisma { } export type UserCreateNestedManyWithoutRolesInput = { - create?: XOR, Enumerable> - connectOrCreate?: Enumerable - connect?: Enumerable + create?: XOR | UserCreateWithoutRolesInput[] | UserUncheckedCreateWithoutRolesInput[] + connectOrCreate?: UserCreateOrConnectWithoutRolesInput | UserCreateOrConnectWithoutRolesInput[] + connect?: UserWhereUniqueInput | UserWhereUniqueInput[] } export type UserUncheckedCreateNestedManyWithoutRolesInput = { - create?: XOR, Enumerable> - connectOrCreate?: Enumerable - connect?: Enumerable + create?: XOR | UserCreateWithoutRolesInput[] | UserUncheckedCreateWithoutRolesInput[] + connectOrCreate?: UserCreateOrConnectWithoutRolesInput | UserCreateOrConnectWithoutRolesInput[] + connect?: UserWhereUniqueInput | UserWhereUniqueInput[] } export type StringFieldUpdateOperationsInput = { set?: string } - export type UserUpdateManyWithoutRolesInput = { - create?: XOR, Enumerable> - connectOrCreate?: Enumerable - upsert?: Enumerable - set?: Enumerable - disconnect?: Enumerable - delete?: Enumerable - connect?: Enumerable - update?: Enumerable - updateMany?: Enumerable - deleteMany?: Enumerable - } - - export type UserUncheckedUpdateManyWithoutRolesInput = { - create?: XOR, Enumerable> - connectOrCreate?: Enumerable - upsert?: Enumerable - set?: Enumerable - disconnect?: Enumerable - delete?: Enumerable - connect?: Enumerable - update?: Enumerable - updateMany?: Enumerable - deleteMany?: Enumerable + export type UserUpdateManyWithoutRolesNestedInput = { + create?: XOR | UserCreateWithoutRolesInput[] | UserUncheckedCreateWithoutRolesInput[] + connectOrCreate?: UserCreateOrConnectWithoutRolesInput | UserCreateOrConnectWithoutRolesInput[] + upsert?: UserUpsertWithWhereUniqueWithoutRolesInput | UserUpsertWithWhereUniqueWithoutRolesInput[] + set?: UserWhereUniqueInput | UserWhereUniqueInput[] + disconnect?: UserWhereUniqueInput | UserWhereUniqueInput[] + delete?: UserWhereUniqueInput | UserWhereUniqueInput[] + connect?: UserWhereUniqueInput | UserWhereUniqueInput[] + update?: UserUpdateWithWhereUniqueWithoutRolesInput | UserUpdateWithWhereUniqueWithoutRolesInput[] + updateMany?: UserUpdateManyWithWhereWithoutRolesInput | UserUpdateManyWithWhereWithoutRolesInput[] + deleteMany?: UserScalarWhereInput | UserScalarWhereInput[] + } + + export type UserUncheckedUpdateManyWithoutRolesNestedInput = { + create?: XOR | UserCreateWithoutRolesInput[] | UserUncheckedCreateWithoutRolesInput[] + connectOrCreate?: UserCreateOrConnectWithoutRolesInput | UserCreateOrConnectWithoutRolesInput[] + upsert?: UserUpsertWithWhereUniqueWithoutRolesInput | UserUpsertWithWhereUniqueWithoutRolesInput[] + set?: UserWhereUniqueInput | UserWhereUniqueInput[] + disconnect?: UserWhereUniqueInput | UserWhereUniqueInput[] + delete?: UserWhereUniqueInput | UserWhereUniqueInput[] + connect?: UserWhereUniqueInput | UserWhereUniqueInput[] + update?: UserUpdateWithWhereUniqueWithoutRolesInput | UserUpdateWithWhereUniqueWithoutRolesInput[] + updateMany?: UserUpdateManyWithWhereWithoutRolesInput | UserUpdateManyWithWhereWithoutRolesInput[] + deleteMany?: UserScalarWhereInput | UserScalarWhereInput[] } export type UserCreateNestedOneWithoutCompaniesInput = { @@ -10649,12 +12125,12 @@ export namespace Prisma { connect?: UserWhereUniqueInput } - export type UserUpdateOneRequiredWithoutCompaniesInput = { + export type UserUpdateOneRequiredWithoutCompaniesNestedInput = { create?: XOR connectOrCreate?: UserCreateOrConnectWithoutCompaniesInput upsert?: UserUpsertWithoutCompaniesInput connect?: UserWhereUniqueInput - update?: XOR + update?: XOR, UserUncheckedUpdateWithoutCompaniesInput> } export type UserCreateNestedOneWithoutUserSocialMediaInput = { @@ -10663,12 +12139,12 @@ export namespace Prisma { connect?: UserWhereUniqueInput } - export type UserUpdateOneRequiredWithoutUserSocialMediaInput = { + export type UserUpdateOneRequiredWithoutUserSocialMediaNestedInput = { create?: XOR connectOrCreate?: UserCreateOrConnectWithoutUserSocialMediaInput upsert?: UserUpsertWithoutUserSocialMediaInput connect?: UserWhereUniqueInput - update?: XOR + update?: XOR, UserUncheckedUpdateWithoutUserSocialMediaInput> } export type UserCreateNestedOneWithoutBlogPostsInput = { @@ -10678,59 +12154,59 @@ export namespace Prisma { } export type BlogPostCommentCreateNestedManyWithoutPostInput = { - create?: XOR, Enumerable> - connectOrCreate?: Enumerable + create?: XOR | BlogPostCommentCreateWithoutPostInput[] | BlogPostCommentUncheckedCreateWithoutPostInput[] + connectOrCreate?: BlogPostCommentCreateOrConnectWithoutPostInput | BlogPostCommentCreateOrConnectWithoutPostInput[] createMany?: BlogPostCommentCreateManyPostInputEnvelope - connect?: Enumerable + connect?: BlogPostCommentWhereUniqueInput | BlogPostCommentWhereUniqueInput[] } export type BlogPostCommentUncheckedCreateNestedManyWithoutPostInput = { - create?: XOR, Enumerable> - connectOrCreate?: Enumerable + create?: XOR | BlogPostCommentCreateWithoutPostInput[] | BlogPostCommentUncheckedCreateWithoutPostInput[] + connectOrCreate?: BlogPostCommentCreateOrConnectWithoutPostInput | BlogPostCommentCreateOrConnectWithoutPostInput[] createMany?: BlogPostCommentCreateManyPostInputEnvelope - connect?: Enumerable + connect?: BlogPostCommentWhereUniqueInput | BlogPostCommentWhereUniqueInput[] } - export type UserUpdateOneWithoutBlogPostsInput = { + export type UserUpdateOneWithoutBlogPostsNestedInput = { create?: XOR connectOrCreate?: UserCreateOrConnectWithoutBlogPostsInput upsert?: UserUpsertWithoutBlogPostsInput - disconnect?: boolean - delete?: boolean + disconnect?: UserWhereInput | boolean + delete?: UserWhereInput | boolean connect?: UserWhereUniqueInput - update?: XOR + update?: XOR, UserUncheckedUpdateWithoutBlogPostsInput> } - export type BlogPostCommentUpdateManyWithoutPostInput = { - create?: XOR, Enumerable> - connectOrCreate?: Enumerable - upsert?: Enumerable + export type BlogPostCommentUpdateManyWithoutPostNestedInput = { + create?: XOR | BlogPostCommentCreateWithoutPostInput[] | BlogPostCommentUncheckedCreateWithoutPostInput[] + connectOrCreate?: BlogPostCommentCreateOrConnectWithoutPostInput | BlogPostCommentCreateOrConnectWithoutPostInput[] + upsert?: BlogPostCommentUpsertWithWhereUniqueWithoutPostInput | BlogPostCommentUpsertWithWhereUniqueWithoutPostInput[] createMany?: BlogPostCommentCreateManyPostInputEnvelope - set?: Enumerable - disconnect?: Enumerable - delete?: Enumerable - connect?: Enumerable - update?: Enumerable - updateMany?: Enumerable - deleteMany?: Enumerable + set?: BlogPostCommentWhereUniqueInput | BlogPostCommentWhereUniqueInput[] + disconnect?: BlogPostCommentWhereUniqueInput | BlogPostCommentWhereUniqueInput[] + delete?: BlogPostCommentWhereUniqueInput | BlogPostCommentWhereUniqueInput[] + connect?: BlogPostCommentWhereUniqueInput | BlogPostCommentWhereUniqueInput[] + update?: BlogPostCommentUpdateWithWhereUniqueWithoutPostInput | BlogPostCommentUpdateWithWhereUniqueWithoutPostInput[] + updateMany?: BlogPostCommentUpdateManyWithWhereWithoutPostInput | BlogPostCommentUpdateManyWithWhereWithoutPostInput[] + deleteMany?: BlogPostCommentScalarWhereInput | BlogPostCommentScalarWhereInput[] } export type NullableStringFieldUpdateOperationsInput = { set?: string | null } - export type BlogPostCommentUncheckedUpdateManyWithoutPostInput = { - create?: XOR, Enumerable> - connectOrCreate?: Enumerable - upsert?: Enumerable + export type BlogPostCommentUncheckedUpdateManyWithoutPostNestedInput = { + create?: XOR | BlogPostCommentCreateWithoutPostInput[] | BlogPostCommentUncheckedCreateWithoutPostInput[] + connectOrCreate?: BlogPostCommentCreateOrConnectWithoutPostInput | BlogPostCommentCreateOrConnectWithoutPostInput[] + upsert?: BlogPostCommentUpsertWithWhereUniqueWithoutPostInput | BlogPostCommentUpsertWithWhereUniqueWithoutPostInput[] createMany?: BlogPostCommentCreateManyPostInputEnvelope - set?: Enumerable - disconnect?: Enumerable - delete?: Enumerable - connect?: Enumerable - update?: Enumerable - updateMany?: Enumerable - deleteMany?: Enumerable + set?: BlogPostCommentWhereUniqueInput | BlogPostCommentWhereUniqueInput[] + disconnect?: BlogPostCommentWhereUniqueInput | BlogPostCommentWhereUniqueInput[] + delete?: BlogPostCommentWhereUniqueInput | BlogPostCommentWhereUniqueInput[] + connect?: BlogPostCommentWhereUniqueInput | BlogPostCommentWhereUniqueInput[] + update?: BlogPostCommentUpdateWithWhereUniqueWithoutPostInput | BlogPostCommentUpdateWithWhereUniqueWithoutPostInput[] + updateMany?: BlogPostCommentUpdateManyWithWhereWithoutPostInput | BlogPostCommentUpdateManyWithWhereWithoutPostInput[] + deleteMany?: BlogPostCommentScalarWhereInput | BlogPostCommentScalarWhereInput[] } export type BlogPostCreateNestedOneWithoutCommentsInput = { @@ -10745,24 +12221,24 @@ export namespace Prisma { connect?: UserWhereUniqueInput } - export type BlogPostUpdateOneWithoutCommentsInput = { + export type BlogPostUpdateOneWithoutCommentsNestedInput = { create?: XOR connectOrCreate?: BlogPostCreateOrConnectWithoutCommentsInput upsert?: BlogPostUpsertWithoutCommentsInput - disconnect?: boolean - delete?: boolean + disconnect?: BlogPostWhereInput | boolean + delete?: BlogPostWhereInput | boolean connect?: BlogPostWhereUniqueInput - update?: XOR + update?: XOR, BlogPostUncheckedUpdateWithoutCommentsInput> } - export type UserUpdateOneWithoutCommentsInput = { + export type UserUpdateOneWithoutCommentsNestedInput = { create?: XOR connectOrCreate?: UserCreateOrConnectWithoutCommentsInput upsert?: UserUpsertWithoutCommentsInput - disconnect?: boolean - delete?: boolean + disconnect?: UserWhereInput | boolean + delete?: UserWhereInput | boolean connect?: UserWhereUniqueInput - update?: XOR + update?: XOR, UserUncheckedUpdateWithoutCommentsInput> } export type UserCreateNestedOneWithoutSiteInput = { @@ -10771,24 +12247,24 @@ export namespace Prisma { connect?: UserWhereUniqueInput } - export type UserUpdateOneWithoutSiteInput = { + export type UserUpdateOneWithoutSiteNestedInput = { create?: XOR connectOrCreate?: UserCreateOrConnectWithoutSiteInput upsert?: UserUpsertWithoutSiteInput - disconnect?: boolean - delete?: boolean + disconnect?: UserWhereInput | boolean + delete?: UserWhereInput | boolean connect?: UserWhereUniqueInput - update?: XOR + update?: XOR, UserUncheckedUpdateWithoutSiteInput> } - export type UserRoleCreateNestedManyWithoutUsersInput = { - create?: XOR, Enumerable> - connectOrCreate?: Enumerable - connect?: Enumerable + export type UserCreateinterestsInput = { + set: $Enums.Topic[] } - export type UserCreateinterestsInput = { - set: Enumerable + export type UserRoleCreateNestedManyWithoutUsersInput = { + create?: XOR | UserRoleCreateWithoutUsersInput[] | UserRoleUncheckedCreateWithoutUsersInput[] + connectOrCreate?: UserRoleCreateOrConnectWithoutUsersInput | UserRoleCreateOrConnectWithoutUsersInput[] + connect?: UserRoleWhereUniqueInput | UserRoleWhereUniqueInput[] } export type UserSocialMediaCreateNestedOneWithoutUserInput = { @@ -10798,24 +12274,24 @@ export namespace Prisma { } export type BlogPostCreateNestedManyWithoutAuthorInput = { - create?: XOR, Enumerable> - connectOrCreate?: Enumerable + create?: XOR | BlogPostCreateWithoutAuthorInput[] | BlogPostUncheckedCreateWithoutAuthorInput[] + connectOrCreate?: BlogPostCreateOrConnectWithoutAuthorInput | BlogPostCreateOrConnectWithoutAuthorInput[] createMany?: BlogPostCreateManyAuthorInputEnvelope - connect?: Enumerable + connect?: BlogPostWhereUniqueInput | BlogPostWhereUniqueInput[] } export type BlogPostCommentCreateNestedManyWithoutAuthorInput = { - create?: XOR, Enumerable> - connectOrCreate?: Enumerable + create?: XOR | BlogPostCommentCreateWithoutAuthorInput[] | BlogPostCommentUncheckedCreateWithoutAuthorInput[] + connectOrCreate?: BlogPostCommentCreateOrConnectWithoutAuthorInput | BlogPostCommentCreateOrConnectWithoutAuthorInput[] createMany?: BlogPostCommentCreateManyAuthorInputEnvelope - connect?: Enumerable + connect?: BlogPostCommentWhereUniqueInput | BlogPostCommentWhereUniqueInput[] } export type CompanyCreateNestedManyWithoutUserInput = { - create?: XOR, Enumerable> - connectOrCreate?: Enumerable + create?: XOR | CompanyCreateWithoutUserInput[] | CompanyUncheckedCreateWithoutUserInput[] + connectOrCreate?: CompanyCreateOrConnectWithoutUserInput | CompanyCreateOrConnectWithoutUserInput[] createMany?: CompanyCreateManyUserInputEnvelope - connect?: Enumerable + connect?: CompanyWhereUniqueInput | CompanyWhereUniqueInput[] } export type SiteCreateNestedOneWithoutOwnerInput = { @@ -10825,9 +12301,9 @@ export namespace Prisma { } export type UserRoleUncheckedCreateNestedManyWithoutUsersInput = { - create?: XOR, Enumerable> - connectOrCreate?: Enumerable - connect?: Enumerable + create?: XOR | UserRoleCreateWithoutUsersInput[] | UserRoleUncheckedCreateWithoutUsersInput[] + connectOrCreate?: UserRoleCreateOrConnectWithoutUsersInput | UserRoleCreateOrConnectWithoutUsersInput[] + connect?: UserRoleWhereUniqueInput | UserRoleWhereUniqueInput[] } export type UserSocialMediaUncheckedCreateNestedOneWithoutUserInput = { @@ -10837,24 +12313,24 @@ export namespace Prisma { } export type BlogPostUncheckedCreateNestedManyWithoutAuthorInput = { - create?: XOR, Enumerable> - connectOrCreate?: Enumerable + create?: XOR | BlogPostCreateWithoutAuthorInput[] | BlogPostUncheckedCreateWithoutAuthorInput[] + connectOrCreate?: BlogPostCreateOrConnectWithoutAuthorInput | BlogPostCreateOrConnectWithoutAuthorInput[] createMany?: BlogPostCreateManyAuthorInputEnvelope - connect?: Enumerable + connect?: BlogPostWhereUniqueInput | BlogPostWhereUniqueInput[] } export type BlogPostCommentUncheckedCreateNestedManyWithoutAuthorInput = { - create?: XOR, Enumerable> - connectOrCreate?: Enumerable + create?: XOR | BlogPostCommentCreateWithoutAuthorInput[] | BlogPostCommentUncheckedCreateWithoutAuthorInput[] + connectOrCreate?: BlogPostCommentCreateOrConnectWithoutAuthorInput | BlogPostCommentCreateOrConnectWithoutAuthorInput[] createMany?: BlogPostCommentCreateManyAuthorInputEnvelope - connect?: Enumerable + connect?: BlogPostCommentWhereUniqueInput | BlogPostCommentWhereUniqueInput[] } export type CompanyUncheckedCreateNestedManyWithoutUserInput = { - create?: XOR, Enumerable> - connectOrCreate?: Enumerable + create?: XOR | CompanyCreateWithoutUserInput[] | CompanyUncheckedCreateWithoutUserInput[] + connectOrCreate?: CompanyCreateOrConnectWithoutUserInput | CompanyCreateOrConnectWithoutUserInput[] createMany?: CompanyCreateManyUserInputEnvelope - connect?: Enumerable + connect?: CompanyWhereUniqueInput | CompanyWhereUniqueInput[] } export type SiteUncheckedCreateNestedOneWithoutOwnerInput = { @@ -10863,21 +12339,8 @@ export namespace Prisma { connect?: SiteWhereUniqueInput } - export type UserRoleUpdateManyWithoutUsersInput = { - create?: XOR, Enumerable> - connectOrCreate?: Enumerable - upsert?: Enumerable - set?: Enumerable - disconnect?: Enumerable - delete?: Enumerable - connect?: Enumerable - update?: Enumerable - updateMany?: Enumerable - deleteMany?: Enumerable - } - export type NullableEnumGenderFieldUpdateOperationsInput = { - set?: Gender | null + set?: $Enums.Gender | null } export type NullableIntFieldUpdateOperationsInput = { @@ -10893,149 +12356,162 @@ export namespace Prisma { } export type UserUpdateinterestsInput = { - set?: Enumerable - push?: Enumerable + set?: $Enums.Topic[] + push?: $Enums.Topic | $Enums.Topic[] + } + + export type NullableDateTimeFieldUpdateOperationsInput = { + set?: Date | string | null + } + + export type UserRoleUpdateManyWithoutUsersNestedInput = { + create?: XOR | UserRoleCreateWithoutUsersInput[] | UserRoleUncheckedCreateWithoutUsersInput[] + connectOrCreate?: UserRoleCreateOrConnectWithoutUsersInput | UserRoleCreateOrConnectWithoutUsersInput[] + upsert?: UserRoleUpsertWithWhereUniqueWithoutUsersInput | UserRoleUpsertWithWhereUniqueWithoutUsersInput[] + set?: UserRoleWhereUniqueInput | UserRoleWhereUniqueInput[] + disconnect?: UserRoleWhereUniqueInput | UserRoleWhereUniqueInput[] + delete?: UserRoleWhereUniqueInput | UserRoleWhereUniqueInput[] + connect?: UserRoleWhereUniqueInput | UserRoleWhereUniqueInput[] + update?: UserRoleUpdateWithWhereUniqueWithoutUsersInput | UserRoleUpdateWithWhereUniqueWithoutUsersInput[] + updateMany?: UserRoleUpdateManyWithWhereWithoutUsersInput | UserRoleUpdateManyWithWhereWithoutUsersInput[] + deleteMany?: UserRoleScalarWhereInput | UserRoleScalarWhereInput[] } - export type UserSocialMediaUpdateOneWithoutUserInput = { + export type UserSocialMediaUpdateOneWithoutUserNestedInput = { create?: XOR connectOrCreate?: UserSocialMediaCreateOrConnectWithoutUserInput upsert?: UserSocialMediaUpsertWithoutUserInput - disconnect?: boolean - delete?: boolean + disconnect?: UserSocialMediaWhereInput | boolean + delete?: UserSocialMediaWhereInput | boolean connect?: UserSocialMediaWhereUniqueInput - update?: XOR + update?: XOR, UserSocialMediaUncheckedUpdateWithoutUserInput> } - export type BlogPostUpdateManyWithoutAuthorInput = { - create?: XOR, Enumerable> - connectOrCreate?: Enumerable - upsert?: Enumerable + export type BlogPostUpdateManyWithoutAuthorNestedInput = { + create?: XOR | BlogPostCreateWithoutAuthorInput[] | BlogPostUncheckedCreateWithoutAuthorInput[] + connectOrCreate?: BlogPostCreateOrConnectWithoutAuthorInput | BlogPostCreateOrConnectWithoutAuthorInput[] + upsert?: BlogPostUpsertWithWhereUniqueWithoutAuthorInput | BlogPostUpsertWithWhereUniqueWithoutAuthorInput[] createMany?: BlogPostCreateManyAuthorInputEnvelope - set?: Enumerable - disconnect?: Enumerable - delete?: Enumerable - connect?: Enumerable - update?: Enumerable - updateMany?: Enumerable - deleteMany?: Enumerable - } - - export type BlogPostCommentUpdateManyWithoutAuthorInput = { - create?: XOR, Enumerable> - connectOrCreate?: Enumerable - upsert?: Enumerable + set?: BlogPostWhereUniqueInput | BlogPostWhereUniqueInput[] + disconnect?: BlogPostWhereUniqueInput | BlogPostWhereUniqueInput[] + delete?: BlogPostWhereUniqueInput | BlogPostWhereUniqueInput[] + connect?: BlogPostWhereUniqueInput | BlogPostWhereUniqueInput[] + update?: BlogPostUpdateWithWhereUniqueWithoutAuthorInput | BlogPostUpdateWithWhereUniqueWithoutAuthorInput[] + updateMany?: BlogPostUpdateManyWithWhereWithoutAuthorInput | BlogPostUpdateManyWithWhereWithoutAuthorInput[] + deleteMany?: BlogPostScalarWhereInput | BlogPostScalarWhereInput[] + } + + export type BlogPostCommentUpdateManyWithoutAuthorNestedInput = { + create?: XOR | BlogPostCommentCreateWithoutAuthorInput[] | BlogPostCommentUncheckedCreateWithoutAuthorInput[] + connectOrCreate?: BlogPostCommentCreateOrConnectWithoutAuthorInput | BlogPostCommentCreateOrConnectWithoutAuthorInput[] + upsert?: BlogPostCommentUpsertWithWhereUniqueWithoutAuthorInput | BlogPostCommentUpsertWithWhereUniqueWithoutAuthorInput[] createMany?: BlogPostCommentCreateManyAuthorInputEnvelope - set?: Enumerable - disconnect?: Enumerable - delete?: Enumerable - connect?: Enumerable - update?: Enumerable - updateMany?: Enumerable - deleteMany?: Enumerable - } - - export type CompanyUpdateManyWithoutUserInput = { - create?: XOR, Enumerable> - connectOrCreate?: Enumerable - upsert?: Enumerable + set?: BlogPostCommentWhereUniqueInput | BlogPostCommentWhereUniqueInput[] + disconnect?: BlogPostCommentWhereUniqueInput | BlogPostCommentWhereUniqueInput[] + delete?: BlogPostCommentWhereUniqueInput | BlogPostCommentWhereUniqueInput[] + connect?: BlogPostCommentWhereUniqueInput | BlogPostCommentWhereUniqueInput[] + update?: BlogPostCommentUpdateWithWhereUniqueWithoutAuthorInput | BlogPostCommentUpdateWithWhereUniqueWithoutAuthorInput[] + updateMany?: BlogPostCommentUpdateManyWithWhereWithoutAuthorInput | BlogPostCommentUpdateManyWithWhereWithoutAuthorInput[] + deleteMany?: BlogPostCommentScalarWhereInput | BlogPostCommentScalarWhereInput[] + } + + export type CompanyUpdateManyWithoutUserNestedInput = { + create?: XOR | CompanyCreateWithoutUserInput[] | CompanyUncheckedCreateWithoutUserInput[] + connectOrCreate?: CompanyCreateOrConnectWithoutUserInput | CompanyCreateOrConnectWithoutUserInput[] + upsert?: CompanyUpsertWithWhereUniqueWithoutUserInput | CompanyUpsertWithWhereUniqueWithoutUserInput[] createMany?: CompanyCreateManyUserInputEnvelope - set?: Enumerable - disconnect?: Enumerable - delete?: Enumerable - connect?: Enumerable - update?: Enumerable - updateMany?: Enumerable - deleteMany?: Enumerable - } - - export type NullableDateTimeFieldUpdateOperationsInput = { - set?: Date | string | null + set?: CompanyWhereUniqueInput | CompanyWhereUniqueInput[] + disconnect?: CompanyWhereUniqueInput | CompanyWhereUniqueInput[] + delete?: CompanyWhereUniqueInput | CompanyWhereUniqueInput[] + connect?: CompanyWhereUniqueInput | CompanyWhereUniqueInput[] + update?: CompanyUpdateWithWhereUniqueWithoutUserInput | CompanyUpdateWithWhereUniqueWithoutUserInput[] + updateMany?: CompanyUpdateManyWithWhereWithoutUserInput | CompanyUpdateManyWithWhereWithoutUserInput[] + deleteMany?: CompanyScalarWhereInput | CompanyScalarWhereInput[] } - export type SiteUpdateOneWithoutOwnerInput = { + export type SiteUpdateOneWithoutOwnerNestedInput = { create?: XOR connectOrCreate?: SiteCreateOrConnectWithoutOwnerInput upsert?: SiteUpsertWithoutOwnerInput - disconnect?: boolean - delete?: boolean + disconnect?: SiteWhereInput | boolean + delete?: SiteWhereInput | boolean connect?: SiteWhereUniqueInput - update?: XOR + update?: XOR, SiteUncheckedUpdateWithoutOwnerInput> } - export type UserRoleUncheckedUpdateManyWithoutUsersInput = { - create?: XOR, Enumerable> - connectOrCreate?: Enumerable - upsert?: Enumerable - set?: Enumerable - disconnect?: Enumerable - delete?: Enumerable - connect?: Enumerable - update?: Enumerable - updateMany?: Enumerable - deleteMany?: Enumerable - } - - export type UserSocialMediaUncheckedUpdateOneWithoutUserInput = { + export type UserRoleUncheckedUpdateManyWithoutUsersNestedInput = { + create?: XOR | UserRoleCreateWithoutUsersInput[] | UserRoleUncheckedCreateWithoutUsersInput[] + connectOrCreate?: UserRoleCreateOrConnectWithoutUsersInput | UserRoleCreateOrConnectWithoutUsersInput[] + upsert?: UserRoleUpsertWithWhereUniqueWithoutUsersInput | UserRoleUpsertWithWhereUniqueWithoutUsersInput[] + set?: UserRoleWhereUniqueInput | UserRoleWhereUniqueInput[] + disconnect?: UserRoleWhereUniqueInput | UserRoleWhereUniqueInput[] + delete?: UserRoleWhereUniqueInput | UserRoleWhereUniqueInput[] + connect?: UserRoleWhereUniqueInput | UserRoleWhereUniqueInput[] + update?: UserRoleUpdateWithWhereUniqueWithoutUsersInput | UserRoleUpdateWithWhereUniqueWithoutUsersInput[] + updateMany?: UserRoleUpdateManyWithWhereWithoutUsersInput | UserRoleUpdateManyWithWhereWithoutUsersInput[] + deleteMany?: UserRoleScalarWhereInput | UserRoleScalarWhereInput[] + } + + export type UserSocialMediaUncheckedUpdateOneWithoutUserNestedInput = { create?: XOR connectOrCreate?: UserSocialMediaCreateOrConnectWithoutUserInput upsert?: UserSocialMediaUpsertWithoutUserInput - disconnect?: boolean - delete?: boolean + disconnect?: UserSocialMediaWhereInput | boolean + delete?: UserSocialMediaWhereInput | boolean connect?: UserSocialMediaWhereUniqueInput - update?: XOR + update?: XOR, UserSocialMediaUncheckedUpdateWithoutUserInput> } - export type BlogPostUncheckedUpdateManyWithoutAuthorInput = { - create?: XOR, Enumerable> - connectOrCreate?: Enumerable - upsert?: Enumerable + export type BlogPostUncheckedUpdateManyWithoutAuthorNestedInput = { + create?: XOR | BlogPostCreateWithoutAuthorInput[] | BlogPostUncheckedCreateWithoutAuthorInput[] + connectOrCreate?: BlogPostCreateOrConnectWithoutAuthorInput | BlogPostCreateOrConnectWithoutAuthorInput[] + upsert?: BlogPostUpsertWithWhereUniqueWithoutAuthorInput | BlogPostUpsertWithWhereUniqueWithoutAuthorInput[] createMany?: BlogPostCreateManyAuthorInputEnvelope - set?: Enumerable - disconnect?: Enumerable - delete?: Enumerable - connect?: Enumerable - update?: Enumerable - updateMany?: Enumerable - deleteMany?: Enumerable - } - - export type BlogPostCommentUncheckedUpdateManyWithoutAuthorInput = { - create?: XOR, Enumerable> - connectOrCreate?: Enumerable - upsert?: Enumerable + set?: BlogPostWhereUniqueInput | BlogPostWhereUniqueInput[] + disconnect?: BlogPostWhereUniqueInput | BlogPostWhereUniqueInput[] + delete?: BlogPostWhereUniqueInput | BlogPostWhereUniqueInput[] + connect?: BlogPostWhereUniqueInput | BlogPostWhereUniqueInput[] + update?: BlogPostUpdateWithWhereUniqueWithoutAuthorInput | BlogPostUpdateWithWhereUniqueWithoutAuthorInput[] + updateMany?: BlogPostUpdateManyWithWhereWithoutAuthorInput | BlogPostUpdateManyWithWhereWithoutAuthorInput[] + deleteMany?: BlogPostScalarWhereInput | BlogPostScalarWhereInput[] + } + + export type BlogPostCommentUncheckedUpdateManyWithoutAuthorNestedInput = { + create?: XOR | BlogPostCommentCreateWithoutAuthorInput[] | BlogPostCommentUncheckedCreateWithoutAuthorInput[] + connectOrCreate?: BlogPostCommentCreateOrConnectWithoutAuthorInput | BlogPostCommentCreateOrConnectWithoutAuthorInput[] + upsert?: BlogPostCommentUpsertWithWhereUniqueWithoutAuthorInput | BlogPostCommentUpsertWithWhereUniqueWithoutAuthorInput[] createMany?: BlogPostCommentCreateManyAuthorInputEnvelope - set?: Enumerable - disconnect?: Enumerable - delete?: Enumerable - connect?: Enumerable - update?: Enumerable - updateMany?: Enumerable - deleteMany?: Enumerable - } - - export type CompanyUncheckedUpdateManyWithoutUserInput = { - create?: XOR, Enumerable> - connectOrCreate?: Enumerable - upsert?: Enumerable + set?: BlogPostCommentWhereUniqueInput | BlogPostCommentWhereUniqueInput[] + disconnect?: BlogPostCommentWhereUniqueInput | BlogPostCommentWhereUniqueInput[] + delete?: BlogPostCommentWhereUniqueInput | BlogPostCommentWhereUniqueInput[] + connect?: BlogPostCommentWhereUniqueInput | BlogPostCommentWhereUniqueInput[] + update?: BlogPostCommentUpdateWithWhereUniqueWithoutAuthorInput | BlogPostCommentUpdateWithWhereUniqueWithoutAuthorInput[] + updateMany?: BlogPostCommentUpdateManyWithWhereWithoutAuthorInput | BlogPostCommentUpdateManyWithWhereWithoutAuthorInput[] + deleteMany?: BlogPostCommentScalarWhereInput | BlogPostCommentScalarWhereInput[] + } + + export type CompanyUncheckedUpdateManyWithoutUserNestedInput = { + create?: XOR | CompanyCreateWithoutUserInput[] | CompanyUncheckedCreateWithoutUserInput[] + connectOrCreate?: CompanyCreateOrConnectWithoutUserInput | CompanyCreateOrConnectWithoutUserInput[] + upsert?: CompanyUpsertWithWhereUniqueWithoutUserInput | CompanyUpsertWithWhereUniqueWithoutUserInput[] createMany?: CompanyCreateManyUserInputEnvelope - set?: Enumerable - disconnect?: Enumerable - delete?: Enumerable - connect?: Enumerable - update?: Enumerable - updateMany?: Enumerable - deleteMany?: Enumerable + set?: CompanyWhereUniqueInput | CompanyWhereUniqueInput[] + disconnect?: CompanyWhereUniqueInput | CompanyWhereUniqueInput[] + delete?: CompanyWhereUniqueInput | CompanyWhereUniqueInput[] + connect?: CompanyWhereUniqueInput | CompanyWhereUniqueInput[] + update?: CompanyUpdateWithWhereUniqueWithoutUserInput | CompanyUpdateWithWhereUniqueWithoutUserInput[] + updateMany?: CompanyUpdateManyWithWhereWithoutUserInput | CompanyUpdateManyWithWhereWithoutUserInput[] + deleteMany?: CompanyScalarWhereInput | CompanyScalarWhereInput[] } - export type SiteUncheckedUpdateOneWithoutOwnerInput = { + export type SiteUncheckedUpdateOneWithoutOwnerNestedInput = { create?: XOR connectOrCreate?: SiteCreateOrConnectWithoutOwnerInput upsert?: SiteUpsertWithoutOwnerInput - disconnect?: boolean - delete?: boolean + disconnect?: SiteWhereInput | boolean + delete?: SiteWhereInput | boolean connect?: SiteWhereUniqueInput - update?: XOR + update?: XOR, SiteUncheckedUpdateWithoutOwnerInput> } export type IntFieldUpdateOperationsInput = { @@ -11058,249 +12534,260 @@ export namespace Prisma { set?: Date | string } - export type NestedStringFilter = { - equals?: string - in?: Enumerable - notIn?: Enumerable - lt?: string - lte?: string - gt?: string - gte?: string - contains?: string - startsWith?: string - endsWith?: string - not?: NestedStringFilter | string - } - - export type NestedStringWithAggregatesFilter = { - equals?: string - in?: Enumerable - notIn?: Enumerable - lt?: string - lte?: string - gt?: string - gte?: string - contains?: string - startsWith?: string - endsWith?: string - not?: NestedStringWithAggregatesFilter | string - _count?: NestedIntFilter - _min?: NestedStringFilter - _max?: NestedStringFilter - } - - export type NestedIntFilter = { - equals?: number - in?: Enumerable - notIn?: Enumerable - lt?: number - lte?: number - gt?: number - gte?: number - not?: NestedIntFilter | number - } - - export type NestedStringNullableFilter = { - equals?: string | null - in?: Enumerable | null - notIn?: Enumerable | null - lt?: string - lte?: string - gt?: string - gte?: string - contains?: string - startsWith?: string - endsWith?: string - not?: NestedStringNullableFilter | string | null - } - - export type NestedStringNullableWithAggregatesFilter = { - equals?: string | null - in?: Enumerable | null - notIn?: Enumerable | null - lt?: string - lte?: string - gt?: string - gte?: string - contains?: string - startsWith?: string - endsWith?: string - not?: NestedStringNullableWithAggregatesFilter | string | null - _count?: NestedIntNullableFilter - _min?: NestedStringNullableFilter - _max?: NestedStringNullableFilter - } - - export type NestedIntNullableFilter = { - equals?: number | null - in?: Enumerable | null - notIn?: Enumerable | null - lt?: number - lte?: number - gt?: number - gte?: number - not?: NestedIntNullableFilter | number | null - } - - export type NestedEnumGenderNullableFilter = { - equals?: Gender | null - in?: Enumerable | null - notIn?: Enumerable | null - not?: NestedEnumGenderNullableFilter | Gender | null - } - - export type NestedBoolFilter = { - equals?: boolean - not?: NestedBoolFilter | boolean - } - - export type NestedDateTimeNullableFilter = { - equals?: Date | string | null - in?: Enumerable | Enumerable | null - notIn?: Enumerable | Enumerable | null - lt?: Date | string - lte?: Date | string - gt?: Date | string - gte?: Date | string - not?: NestedDateTimeNullableFilter | Date | string | null - } - - export type NestedEnumGenderNullableWithAggregatesFilter = { - equals?: Gender | null - in?: Enumerable | null - notIn?: Enumerable | null - not?: NestedEnumGenderNullableWithAggregatesFilter | Gender | null - _count?: NestedIntNullableFilter - _min?: NestedEnumGenderNullableFilter - _max?: NestedEnumGenderNullableFilter - } - - export type NestedIntNullableWithAggregatesFilter = { - equals?: number | null - in?: Enumerable | null - notIn?: Enumerable | null - lt?: number - lte?: number - gt?: number - gte?: number - not?: NestedIntNullableWithAggregatesFilter | number | null - _count?: NestedIntNullableFilter - _avg?: NestedFloatNullableFilter - _sum?: NestedIntNullableFilter - _min?: NestedIntNullableFilter - _max?: NestedIntNullableFilter - } - - export type NestedFloatNullableFilter = { - equals?: number | null - in?: Enumerable | null - notIn?: Enumerable | null - lt?: number - lte?: number - gt?: number - gte?: number - not?: NestedFloatNullableFilter | number | null - } - - export type NestedBoolWithAggregatesFilter = { - equals?: boolean - not?: NestedBoolWithAggregatesFilter | boolean - _count?: NestedIntFilter - _min?: NestedBoolFilter - _max?: NestedBoolFilter - } - export type NestedJsonNullableFilter = + export type NestedStringFilter<$PrismaModel = never> = { + equals?: string | StringFieldRefInput<$PrismaModel> + in?: string[] | ListStringFieldRefInput<$PrismaModel> + notIn?: string[] | ListStringFieldRefInput<$PrismaModel> + lt?: string | StringFieldRefInput<$PrismaModel> + lte?: string | StringFieldRefInput<$PrismaModel> + gt?: string | StringFieldRefInput<$PrismaModel> + gte?: string | StringFieldRefInput<$PrismaModel> + contains?: string | StringFieldRefInput<$PrismaModel> + startsWith?: string | StringFieldRefInput<$PrismaModel> + endsWith?: string | StringFieldRefInput<$PrismaModel> + not?: NestedStringFilter<$PrismaModel> | string + } + + export type NestedStringWithAggregatesFilter<$PrismaModel = never> = { + equals?: string | StringFieldRefInput<$PrismaModel> + in?: string[] | ListStringFieldRefInput<$PrismaModel> + notIn?: string[] | ListStringFieldRefInput<$PrismaModel> + lt?: string | StringFieldRefInput<$PrismaModel> + lte?: string | StringFieldRefInput<$PrismaModel> + gt?: string | StringFieldRefInput<$PrismaModel> + gte?: string | StringFieldRefInput<$PrismaModel> + contains?: string | StringFieldRefInput<$PrismaModel> + startsWith?: string | StringFieldRefInput<$PrismaModel> + endsWith?: string | StringFieldRefInput<$PrismaModel> + not?: NestedStringWithAggregatesFilter<$PrismaModel> | string + _count?: NestedIntFilter<$PrismaModel> + _min?: NestedStringFilter<$PrismaModel> + _max?: NestedStringFilter<$PrismaModel> + } + + export type NestedIntFilter<$PrismaModel = never> = { + equals?: number | IntFieldRefInput<$PrismaModel> + in?: number[] | ListIntFieldRefInput<$PrismaModel> + notIn?: number[] | ListIntFieldRefInput<$PrismaModel> + lt?: number | IntFieldRefInput<$PrismaModel> + lte?: number | IntFieldRefInput<$PrismaModel> + gt?: number | IntFieldRefInput<$PrismaModel> + gte?: number | IntFieldRefInput<$PrismaModel> + not?: NestedIntFilter<$PrismaModel> | number + } + + export type NestedStringNullableFilter<$PrismaModel = never> = { + equals?: string | StringFieldRefInput<$PrismaModel> | null + in?: string[] | ListStringFieldRefInput<$PrismaModel> | null + notIn?: string[] | ListStringFieldRefInput<$PrismaModel> | null + lt?: string | StringFieldRefInput<$PrismaModel> + lte?: string | StringFieldRefInput<$PrismaModel> + gt?: string | StringFieldRefInput<$PrismaModel> + gte?: string | StringFieldRefInput<$PrismaModel> + contains?: string | StringFieldRefInput<$PrismaModel> + startsWith?: string | StringFieldRefInput<$PrismaModel> + endsWith?: string | StringFieldRefInput<$PrismaModel> + not?: NestedStringNullableFilter<$PrismaModel> | string | null + } + + export type NestedStringNullableWithAggregatesFilter<$PrismaModel = never> = { + equals?: string | StringFieldRefInput<$PrismaModel> | null + in?: string[] | ListStringFieldRefInput<$PrismaModel> | null + notIn?: string[] | ListStringFieldRefInput<$PrismaModel> | null + lt?: string | StringFieldRefInput<$PrismaModel> + lte?: string | StringFieldRefInput<$PrismaModel> + gt?: string | StringFieldRefInput<$PrismaModel> + gte?: string | StringFieldRefInput<$PrismaModel> + contains?: string | StringFieldRefInput<$PrismaModel> + startsWith?: string | StringFieldRefInput<$PrismaModel> + endsWith?: string | StringFieldRefInput<$PrismaModel> + not?: NestedStringNullableWithAggregatesFilter<$PrismaModel> | string | null + _count?: NestedIntNullableFilter<$PrismaModel> + _min?: NestedStringNullableFilter<$PrismaModel> + _max?: NestedStringNullableFilter<$PrismaModel> + } + + export type NestedIntNullableFilter<$PrismaModel = never> = { + equals?: number | IntFieldRefInput<$PrismaModel> | null + in?: number[] | ListIntFieldRefInput<$PrismaModel> | null + notIn?: number[] | ListIntFieldRefInput<$PrismaModel> | null + lt?: number | IntFieldRefInput<$PrismaModel> + lte?: number | IntFieldRefInput<$PrismaModel> + gt?: number | IntFieldRefInput<$PrismaModel> + gte?: number | IntFieldRefInput<$PrismaModel> + not?: NestedIntNullableFilter<$PrismaModel> | number | null + } + + export type NestedEnumGenderNullableFilter<$PrismaModel = never> = { + equals?: $Enums.Gender | EnumGenderFieldRefInput<$PrismaModel> | null + in?: $Enums.Gender[] | ListEnumGenderFieldRefInput<$PrismaModel> | null + notIn?: $Enums.Gender[] | ListEnumGenderFieldRefInput<$PrismaModel> | null + not?: NestedEnumGenderNullableFilter<$PrismaModel> | $Enums.Gender | null + } + + export type NestedBoolFilter<$PrismaModel = never> = { + equals?: boolean | BooleanFieldRefInput<$PrismaModel> + not?: NestedBoolFilter<$PrismaModel> | boolean + } + + export type NestedDateTimeNullableFilter<$PrismaModel = never> = { + equals?: Date | string | DateTimeFieldRefInput<$PrismaModel> | null + in?: Date[] | string[] | ListDateTimeFieldRefInput<$PrismaModel> | null + notIn?: Date[] | string[] | ListDateTimeFieldRefInput<$PrismaModel> | null + lt?: Date | string | DateTimeFieldRefInput<$PrismaModel> + lte?: Date | string | DateTimeFieldRefInput<$PrismaModel> + gt?: Date | string | DateTimeFieldRefInput<$PrismaModel> + gte?: Date | string | DateTimeFieldRefInput<$PrismaModel> + not?: NestedDateTimeNullableFilter<$PrismaModel> | Date | string | null + } + + export type NestedEnumGenderNullableWithAggregatesFilter<$PrismaModel = never> = { + equals?: $Enums.Gender | EnumGenderFieldRefInput<$PrismaModel> | null + in?: $Enums.Gender[] | ListEnumGenderFieldRefInput<$PrismaModel> | null + notIn?: $Enums.Gender[] | ListEnumGenderFieldRefInput<$PrismaModel> | null + not?: NestedEnumGenderNullableWithAggregatesFilter<$PrismaModel> | $Enums.Gender | null + _count?: NestedIntNullableFilter<$PrismaModel> + _min?: NestedEnumGenderNullableFilter<$PrismaModel> + _max?: NestedEnumGenderNullableFilter<$PrismaModel> + } + + export type NestedIntNullableWithAggregatesFilter<$PrismaModel = never> = { + equals?: number | IntFieldRefInput<$PrismaModel> | null + in?: number[] | ListIntFieldRefInput<$PrismaModel> | null + notIn?: number[] | ListIntFieldRefInput<$PrismaModel> | null + lt?: number | IntFieldRefInput<$PrismaModel> + lte?: number | IntFieldRefInput<$PrismaModel> + gt?: number | IntFieldRefInput<$PrismaModel> + gte?: number | IntFieldRefInput<$PrismaModel> + not?: NestedIntNullableWithAggregatesFilter<$PrismaModel> | number | null + _count?: NestedIntNullableFilter<$PrismaModel> + _avg?: NestedFloatNullableFilter<$PrismaModel> + _sum?: NestedIntNullableFilter<$PrismaModel> + _min?: NestedIntNullableFilter<$PrismaModel> + _max?: NestedIntNullableFilter<$PrismaModel> + } + + export type NestedFloatNullableFilter<$PrismaModel = never> = { + equals?: number | FloatFieldRefInput<$PrismaModel> | null + in?: number[] | ListFloatFieldRefInput<$PrismaModel> | null + notIn?: number[] | ListFloatFieldRefInput<$PrismaModel> | null + lt?: number | FloatFieldRefInput<$PrismaModel> + lte?: number | FloatFieldRefInput<$PrismaModel> + gt?: number | FloatFieldRefInput<$PrismaModel> + gte?: number | FloatFieldRefInput<$PrismaModel> + not?: NestedFloatNullableFilter<$PrismaModel> | number | null + } + + export type NestedBoolWithAggregatesFilter<$PrismaModel = never> = { + equals?: boolean | BooleanFieldRefInput<$PrismaModel> + not?: NestedBoolWithAggregatesFilter<$PrismaModel> | boolean + _count?: NestedIntFilter<$PrismaModel> + _min?: NestedBoolFilter<$PrismaModel> + _max?: NestedBoolFilter<$PrismaModel> + } + export type NestedJsonNullableFilter<$PrismaModel = never> = | PatchUndefined< - Either, Exclude, 'path'>>, - Required + Either>, Exclude>, 'path'>>, + Required> > - | OptionalFlat, 'path'>> - - export type NestedJsonNullableFilterBase = { - equals?: JsonNullValueFilter | InputJsonValue - not?: JsonNullValueFilter | InputJsonValue - } - - export type NestedDateTimeNullableWithAggregatesFilter = { - equals?: Date | string | null - in?: Enumerable | Enumerable | null - notIn?: Enumerable | Enumerable | null - lt?: Date | string - lte?: Date | string - gt?: Date | string - gte?: Date | string - not?: NestedDateTimeNullableWithAggregatesFilter | Date | string | null - _count?: NestedIntNullableFilter - _min?: NestedDateTimeNullableFilter - _max?: NestedDateTimeNullableFilter - } - - export type NestedFloatFilter = { - equals?: number - in?: Enumerable - notIn?: Enumerable - lt?: number - lte?: number - gt?: number - gte?: number - not?: NestedFloatFilter | number - } - - export type NestedDateTimeFilter = { - equals?: Date | string - in?: Enumerable | Enumerable - notIn?: Enumerable | Enumerable - lt?: Date | string - lte?: Date | string - gt?: Date | string - gte?: Date | string - not?: NestedDateTimeFilter | Date | string - } - - export type NestedIntWithAggregatesFilter = { - equals?: number - in?: Enumerable - notIn?: Enumerable - lt?: number - lte?: number - gt?: number - gte?: number - not?: NestedIntWithAggregatesFilter | number - _count?: NestedIntFilter - _avg?: NestedFloatFilter - _sum?: NestedIntFilter - _min?: NestedIntFilter - _max?: NestedIntFilter - } - - export type NestedFloatWithAggregatesFilter = { - equals?: number - in?: Enumerable - notIn?: Enumerable - lt?: number - lte?: number - gt?: number - gte?: number - not?: NestedFloatWithAggregatesFilter | number - _count?: NestedIntFilter - _avg?: NestedFloatFilter - _sum?: NestedFloatFilter - _min?: NestedFloatFilter - _max?: NestedFloatFilter - } - - export type NestedDateTimeWithAggregatesFilter = { - equals?: Date | string - in?: Enumerable | Enumerable - notIn?: Enumerable | Enumerable - lt?: Date | string - lte?: Date | string - gt?: Date | string - gte?: Date | string - not?: NestedDateTimeWithAggregatesFilter | Date | string - _count?: NestedIntFilter - _min?: NestedDateTimeFilter - _max?: NestedDateTimeFilter + | OptionalFlat>, 'path'>> + + export type NestedJsonNullableFilterBase<$PrismaModel = never> = { + equals?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | JsonNullValueFilter + path?: string[] + string_contains?: string | StringFieldRefInput<$PrismaModel> + string_starts_with?: string | StringFieldRefInput<$PrismaModel> + string_ends_with?: string | StringFieldRefInput<$PrismaModel> + array_contains?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | null + array_starts_with?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | null + array_ends_with?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | null + lt?: InputJsonValue | JsonFieldRefInput<$PrismaModel> + lte?: InputJsonValue | JsonFieldRefInput<$PrismaModel> + gt?: InputJsonValue | JsonFieldRefInput<$PrismaModel> + gte?: InputJsonValue | JsonFieldRefInput<$PrismaModel> + not?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | JsonNullValueFilter + } + + export type NestedDateTimeNullableWithAggregatesFilter<$PrismaModel = never> = { + equals?: Date | string | DateTimeFieldRefInput<$PrismaModel> | null + in?: Date[] | string[] | ListDateTimeFieldRefInput<$PrismaModel> | null + notIn?: Date[] | string[] | ListDateTimeFieldRefInput<$PrismaModel> | null + lt?: Date | string | DateTimeFieldRefInput<$PrismaModel> + lte?: Date | string | DateTimeFieldRefInput<$PrismaModel> + gt?: Date | string | DateTimeFieldRefInput<$PrismaModel> + gte?: Date | string | DateTimeFieldRefInput<$PrismaModel> + not?: NestedDateTimeNullableWithAggregatesFilter<$PrismaModel> | Date | string | null + _count?: NestedIntNullableFilter<$PrismaModel> + _min?: NestedDateTimeNullableFilter<$PrismaModel> + _max?: NestedDateTimeNullableFilter<$PrismaModel> + } + + export type NestedFloatFilter<$PrismaModel = never> = { + equals?: number | FloatFieldRefInput<$PrismaModel> + in?: number[] | ListFloatFieldRefInput<$PrismaModel> + notIn?: number[] | ListFloatFieldRefInput<$PrismaModel> + lt?: number | FloatFieldRefInput<$PrismaModel> + lte?: number | FloatFieldRefInput<$PrismaModel> + gt?: number | FloatFieldRefInput<$PrismaModel> + gte?: number | FloatFieldRefInput<$PrismaModel> + not?: NestedFloatFilter<$PrismaModel> | number + } + + export type NestedDateTimeFilter<$PrismaModel = never> = { + equals?: Date | string | DateTimeFieldRefInput<$PrismaModel> + in?: Date[] | string[] | ListDateTimeFieldRefInput<$PrismaModel> + notIn?: Date[] | string[] | ListDateTimeFieldRefInput<$PrismaModel> + lt?: Date | string | DateTimeFieldRefInput<$PrismaModel> + lte?: Date | string | DateTimeFieldRefInput<$PrismaModel> + gt?: Date | string | DateTimeFieldRefInput<$PrismaModel> + gte?: Date | string | DateTimeFieldRefInput<$PrismaModel> + not?: NestedDateTimeFilter<$PrismaModel> | Date | string + } + + export type NestedIntWithAggregatesFilter<$PrismaModel = never> = { + equals?: number | IntFieldRefInput<$PrismaModel> + in?: number[] | ListIntFieldRefInput<$PrismaModel> + notIn?: number[] | ListIntFieldRefInput<$PrismaModel> + lt?: number | IntFieldRefInput<$PrismaModel> + lte?: number | IntFieldRefInput<$PrismaModel> + gt?: number | IntFieldRefInput<$PrismaModel> + gte?: number | IntFieldRefInput<$PrismaModel> + not?: NestedIntWithAggregatesFilter<$PrismaModel> | number + _count?: NestedIntFilter<$PrismaModel> + _avg?: NestedFloatFilter<$PrismaModel> + _sum?: NestedIntFilter<$PrismaModel> + _min?: NestedIntFilter<$PrismaModel> + _max?: NestedIntFilter<$PrismaModel> + } + + export type NestedFloatWithAggregatesFilter<$PrismaModel = never> = { + equals?: number | FloatFieldRefInput<$PrismaModel> + in?: number[] | ListFloatFieldRefInput<$PrismaModel> + notIn?: number[] | ListFloatFieldRefInput<$PrismaModel> + lt?: number | FloatFieldRefInput<$PrismaModel> + lte?: number | FloatFieldRefInput<$PrismaModel> + gt?: number | FloatFieldRefInput<$PrismaModel> + gte?: number | FloatFieldRefInput<$PrismaModel> + not?: NestedFloatWithAggregatesFilter<$PrismaModel> | number + _count?: NestedIntFilter<$PrismaModel> + _avg?: NestedFloatFilter<$PrismaModel> + _sum?: NestedFloatFilter<$PrismaModel> + _min?: NestedFloatFilter<$PrismaModel> + _max?: NestedFloatFilter<$PrismaModel> + } + + export type NestedDateTimeWithAggregatesFilter<$PrismaModel = never> = { + equals?: Date | string | DateTimeFieldRefInput<$PrismaModel> + in?: Date[] | string[] | ListDateTimeFieldRefInput<$PrismaModel> + notIn?: Date[] | string[] | ListDateTimeFieldRefInput<$PrismaModel> + lt?: Date | string | DateTimeFieldRefInput<$PrismaModel> + lte?: Date | string | DateTimeFieldRefInput<$PrismaModel> + gt?: Date | string | DateTimeFieldRefInput<$PrismaModel> + gte?: Date | string | DateTimeFieldRefInput<$PrismaModel> + not?: NestedDateTimeWithAggregatesFilter<$PrismaModel> | Date | string + _count?: NestedIntFilter<$PrismaModel> + _min?: NestedDateTimeFilter<$PrismaModel> + _max?: NestedDateTimeFilter<$PrismaModel> } export type UserCreateWithoutRolesInput = { @@ -11308,16 +12795,16 @@ export namespace Prisma { email: string firstName?: string | null lastName?: string | null - gender?: Gender | null + gender?: $Enums.Gender | null yearOfBirth?: number | null wantsNewsletter: boolean - interests?: UserCreateinterestsInput | Enumerable - userSocialMedia?: UserSocialMediaCreateNestedOneWithoutUserInput + interests?: UserCreateinterestsInput | $Enums.Topic[] address?: NullableJsonNullValueInput | InputJsonValue + weddingDate?: Date | string | null + userSocialMedia?: UserSocialMediaCreateNestedOneWithoutUserInput blogPosts?: BlogPostCreateNestedManyWithoutAuthorInput comments?: BlogPostCommentCreateNestedManyWithoutAuthorInput companies?: CompanyCreateNestedManyWithoutUserInput - weddingDate?: Date | string | null site?: SiteCreateNestedOneWithoutOwnerInput } @@ -11326,16 +12813,16 @@ export namespace Prisma { email: string firstName?: string | null lastName?: string | null - gender?: Gender | null + gender?: $Enums.Gender | null yearOfBirth?: number | null wantsNewsletter: boolean - interests?: UserCreateinterestsInput | Enumerable - userSocialMedia?: UserSocialMediaUncheckedCreateNestedOneWithoutUserInput + interests?: UserCreateinterestsInput | $Enums.Topic[] address?: NullableJsonNullValueInput | InputJsonValue + weddingDate?: Date | string | null + userSocialMedia?: UserSocialMediaUncheckedCreateNestedOneWithoutUserInput blogPosts?: BlogPostUncheckedCreateNestedManyWithoutAuthorInput comments?: BlogPostCommentUncheckedCreateNestedManyWithoutAuthorInput companies?: CompanyUncheckedCreateNestedManyWithoutUserInput - weddingDate?: Date | string | null site?: SiteUncheckedCreateNestedOneWithoutOwnerInput } @@ -11357,58 +12844,58 @@ export namespace Prisma { export type UserUpdateManyWithWhereWithoutRolesInput = { where: UserScalarWhereInput - data: XOR + data: XOR } export type UserScalarWhereInput = { - AND?: Enumerable - OR?: Enumerable - NOT?: Enumerable - id?: StringFilter | string - email?: StringFilter | string - firstName?: StringNullableFilter | string | null - lastName?: StringNullableFilter | string | null - gender?: EnumGenderNullableFilter | Gender | null - yearOfBirth?: IntNullableFilter | number | null - wantsNewsletter?: BoolFilter | boolean - interests?: EnumTopicNullableListFilter - address?: JsonNullableFilter - weddingDate?: DateTimeNullableFilter | Date | string | null + AND?: UserScalarWhereInput | UserScalarWhereInput[] + OR?: UserScalarWhereInput[] + NOT?: UserScalarWhereInput | UserScalarWhereInput[] + id?: StringFilter<"User"> | string + email?: StringFilter<"User"> | string + firstName?: StringNullableFilter<"User"> | string | null + lastName?: StringNullableFilter<"User"> | string | null + gender?: EnumGenderNullableFilter<"User"> | $Enums.Gender | null + yearOfBirth?: IntNullableFilter<"User"> | number | null + wantsNewsletter?: BoolFilter<"User"> | boolean + interests?: EnumTopicNullableListFilter<"User"> + address?: JsonNullableFilter<"User"> + weddingDate?: DateTimeNullableFilter<"User"> | Date | string | null } export type UserCreateWithoutCompaniesInput = { id?: string email: string - roles?: UserRoleCreateNestedManyWithoutUsersInput firstName?: string | null lastName?: string | null - gender?: Gender | null + gender?: $Enums.Gender | null yearOfBirth?: number | null wantsNewsletter: boolean - interests?: UserCreateinterestsInput | Enumerable - userSocialMedia?: UserSocialMediaCreateNestedOneWithoutUserInput + interests?: UserCreateinterestsInput | $Enums.Topic[] address?: NullableJsonNullValueInput | InputJsonValue + weddingDate?: Date | string | null + roles?: UserRoleCreateNestedManyWithoutUsersInput + userSocialMedia?: UserSocialMediaCreateNestedOneWithoutUserInput blogPosts?: BlogPostCreateNestedManyWithoutAuthorInput comments?: BlogPostCommentCreateNestedManyWithoutAuthorInput - weddingDate?: Date | string | null site?: SiteCreateNestedOneWithoutOwnerInput } export type UserUncheckedCreateWithoutCompaniesInput = { id?: string email: string - roles?: UserRoleUncheckedCreateNestedManyWithoutUsersInput firstName?: string | null lastName?: string | null - gender?: Gender | null + gender?: $Enums.Gender | null yearOfBirth?: number | null wantsNewsletter: boolean - interests?: UserCreateinterestsInput | Enumerable - userSocialMedia?: UserSocialMediaUncheckedCreateNestedOneWithoutUserInput + interests?: UserCreateinterestsInput | $Enums.Topic[] address?: NullableJsonNullValueInput | InputJsonValue + weddingDate?: Date | string | null + roles?: UserRoleUncheckedCreateNestedManyWithoutUsersInput + userSocialMedia?: UserSocialMediaUncheckedCreateNestedOneWithoutUserInput blogPosts?: BlogPostUncheckedCreateNestedManyWithoutAuthorInput comments?: BlogPostCommentUncheckedCreateNestedManyWithoutAuthorInput - weddingDate?: Date | string | null site?: SiteUncheckedCreateNestedOneWithoutOwnerInput } @@ -11420,77 +12907,83 @@ export namespace Prisma { export type UserUpsertWithoutCompaniesInput = { update: XOR create: XOR + where?: UserWhereInput + } + + export type UserUpdateToOneWithWhereWithoutCompaniesInput = { + where?: UserWhereInput + data: XOR } export type UserUpdateWithoutCompaniesInput = { id?: StringFieldUpdateOperationsInput | string email?: StringFieldUpdateOperationsInput | string - roles?: UserRoleUpdateManyWithoutUsersInput firstName?: NullableStringFieldUpdateOperationsInput | string | null lastName?: NullableStringFieldUpdateOperationsInput | string | null - gender?: NullableEnumGenderFieldUpdateOperationsInput | Gender | null + gender?: NullableEnumGenderFieldUpdateOperationsInput | $Enums.Gender | null yearOfBirth?: NullableIntFieldUpdateOperationsInput | number | null wantsNewsletter?: BoolFieldUpdateOperationsInput | boolean - interests?: UserUpdateinterestsInput | Enumerable - userSocialMedia?: UserSocialMediaUpdateOneWithoutUserInput + interests?: UserUpdateinterestsInput | $Enums.Topic[] address?: NullableJsonNullValueInput | InputJsonValue - blogPosts?: BlogPostUpdateManyWithoutAuthorInput - comments?: BlogPostCommentUpdateManyWithoutAuthorInput weddingDate?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null - site?: SiteUpdateOneWithoutOwnerInput + roles?: UserRoleUpdateManyWithoutUsersNestedInput + userSocialMedia?: UserSocialMediaUpdateOneWithoutUserNestedInput + blogPosts?: BlogPostUpdateManyWithoutAuthorNestedInput + comments?: BlogPostCommentUpdateManyWithoutAuthorNestedInput + site?: SiteUpdateOneWithoutOwnerNestedInput } export type UserUncheckedUpdateWithoutCompaniesInput = { id?: StringFieldUpdateOperationsInput | string email?: StringFieldUpdateOperationsInput | string - roles?: UserRoleUncheckedUpdateManyWithoutUsersInput firstName?: NullableStringFieldUpdateOperationsInput | string | null lastName?: NullableStringFieldUpdateOperationsInput | string | null - gender?: NullableEnumGenderFieldUpdateOperationsInput | Gender | null + gender?: NullableEnumGenderFieldUpdateOperationsInput | $Enums.Gender | null yearOfBirth?: NullableIntFieldUpdateOperationsInput | number | null wantsNewsletter?: BoolFieldUpdateOperationsInput | boolean - interests?: UserUpdateinterestsInput | Enumerable - userSocialMedia?: UserSocialMediaUncheckedUpdateOneWithoutUserInput + interests?: UserUpdateinterestsInput | $Enums.Topic[] address?: NullableJsonNullValueInput | InputJsonValue - blogPosts?: BlogPostUncheckedUpdateManyWithoutAuthorInput - comments?: BlogPostCommentUncheckedUpdateManyWithoutAuthorInput weddingDate?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null - site?: SiteUncheckedUpdateOneWithoutOwnerInput + roles?: UserRoleUncheckedUpdateManyWithoutUsersNestedInput + userSocialMedia?: UserSocialMediaUncheckedUpdateOneWithoutUserNestedInput + blogPosts?: BlogPostUncheckedUpdateManyWithoutAuthorNestedInput + comments?: BlogPostCommentUncheckedUpdateManyWithoutAuthorNestedInput + site?: SiteUncheckedUpdateOneWithoutOwnerNestedInput } export type UserCreateWithoutUserSocialMediaInput = { id?: string email: string - roles?: UserRoleCreateNestedManyWithoutUsersInput firstName?: string | null lastName?: string | null - gender?: Gender | null + gender?: $Enums.Gender | null yearOfBirth?: number | null wantsNewsletter: boolean - interests?: UserCreateinterestsInput | Enumerable + interests?: UserCreateinterestsInput | $Enums.Topic[] address?: NullableJsonNullValueInput | InputJsonValue + weddingDate?: Date | string | null + roles?: UserRoleCreateNestedManyWithoutUsersInput blogPosts?: BlogPostCreateNestedManyWithoutAuthorInput comments?: BlogPostCommentCreateNestedManyWithoutAuthorInput companies?: CompanyCreateNestedManyWithoutUserInput - weddingDate?: Date | string | null site?: SiteCreateNestedOneWithoutOwnerInput } export type UserUncheckedCreateWithoutUserSocialMediaInput = { id?: string email: string - roles?: UserRoleUncheckedCreateNestedManyWithoutUsersInput firstName?: string | null lastName?: string | null - gender?: Gender | null + gender?: $Enums.Gender | null yearOfBirth?: number | null wantsNewsletter: boolean - interests?: UserCreateinterestsInput | Enumerable + interests?: UserCreateinterestsInput | $Enums.Topic[] address?: NullableJsonNullValueInput | InputJsonValue + weddingDate?: Date | string | null + roles?: UserRoleUncheckedCreateNestedManyWithoutUsersInput blogPosts?: BlogPostUncheckedCreateNestedManyWithoutAuthorInput comments?: BlogPostCommentUncheckedCreateNestedManyWithoutAuthorInput companies?: CompanyUncheckedCreateNestedManyWithoutUserInput - weddingDate?: Date | string | null site?: SiteUncheckedCreateNestedOneWithoutOwnerInput } @@ -11502,77 +12995,83 @@ export namespace Prisma { export type UserUpsertWithoutUserSocialMediaInput = { update: XOR create: XOR + where?: UserWhereInput + } + + export type UserUpdateToOneWithWhereWithoutUserSocialMediaInput = { + where?: UserWhereInput + data: XOR } export type UserUpdateWithoutUserSocialMediaInput = { id?: StringFieldUpdateOperationsInput | string email?: StringFieldUpdateOperationsInput | string - roles?: UserRoleUpdateManyWithoutUsersInput firstName?: NullableStringFieldUpdateOperationsInput | string | null lastName?: NullableStringFieldUpdateOperationsInput | string | null - gender?: NullableEnumGenderFieldUpdateOperationsInput | Gender | null + gender?: NullableEnumGenderFieldUpdateOperationsInput | $Enums.Gender | null yearOfBirth?: NullableIntFieldUpdateOperationsInput | number | null wantsNewsletter?: BoolFieldUpdateOperationsInput | boolean - interests?: UserUpdateinterestsInput | Enumerable + interests?: UserUpdateinterestsInput | $Enums.Topic[] address?: NullableJsonNullValueInput | InputJsonValue - blogPosts?: BlogPostUpdateManyWithoutAuthorInput - comments?: BlogPostCommentUpdateManyWithoutAuthorInput - companies?: CompanyUpdateManyWithoutUserInput weddingDate?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null - site?: SiteUpdateOneWithoutOwnerInput + roles?: UserRoleUpdateManyWithoutUsersNestedInput + blogPosts?: BlogPostUpdateManyWithoutAuthorNestedInput + comments?: BlogPostCommentUpdateManyWithoutAuthorNestedInput + companies?: CompanyUpdateManyWithoutUserNestedInput + site?: SiteUpdateOneWithoutOwnerNestedInput } export type UserUncheckedUpdateWithoutUserSocialMediaInput = { id?: StringFieldUpdateOperationsInput | string email?: StringFieldUpdateOperationsInput | string - roles?: UserRoleUncheckedUpdateManyWithoutUsersInput firstName?: NullableStringFieldUpdateOperationsInput | string | null lastName?: NullableStringFieldUpdateOperationsInput | string | null - gender?: NullableEnumGenderFieldUpdateOperationsInput | Gender | null + gender?: NullableEnumGenderFieldUpdateOperationsInput | $Enums.Gender | null yearOfBirth?: NullableIntFieldUpdateOperationsInput | number | null wantsNewsletter?: BoolFieldUpdateOperationsInput | boolean - interests?: UserUpdateinterestsInput | Enumerable + interests?: UserUpdateinterestsInput | $Enums.Topic[] address?: NullableJsonNullValueInput | InputJsonValue - blogPosts?: BlogPostUncheckedUpdateManyWithoutAuthorInput - comments?: BlogPostCommentUncheckedUpdateManyWithoutAuthorInput - companies?: CompanyUncheckedUpdateManyWithoutUserInput weddingDate?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null - site?: SiteUncheckedUpdateOneWithoutOwnerInput + roles?: UserRoleUncheckedUpdateManyWithoutUsersNestedInput + blogPosts?: BlogPostUncheckedUpdateManyWithoutAuthorNestedInput + comments?: BlogPostCommentUncheckedUpdateManyWithoutAuthorNestedInput + companies?: CompanyUncheckedUpdateManyWithoutUserNestedInput + site?: SiteUncheckedUpdateOneWithoutOwnerNestedInput } export type UserCreateWithoutBlogPostsInput = { id?: string email: string - roles?: UserRoleCreateNestedManyWithoutUsersInput firstName?: string | null lastName?: string | null - gender?: Gender | null + gender?: $Enums.Gender | null yearOfBirth?: number | null wantsNewsletter: boolean - interests?: UserCreateinterestsInput | Enumerable - userSocialMedia?: UserSocialMediaCreateNestedOneWithoutUserInput + interests?: UserCreateinterestsInput | $Enums.Topic[] address?: NullableJsonNullValueInput | InputJsonValue + weddingDate?: Date | string | null + roles?: UserRoleCreateNestedManyWithoutUsersInput + userSocialMedia?: UserSocialMediaCreateNestedOneWithoutUserInput comments?: BlogPostCommentCreateNestedManyWithoutAuthorInput companies?: CompanyCreateNestedManyWithoutUserInput - weddingDate?: Date | string | null site?: SiteCreateNestedOneWithoutOwnerInput } export type UserUncheckedCreateWithoutBlogPostsInput = { id?: string email: string - roles?: UserRoleUncheckedCreateNestedManyWithoutUsersInput firstName?: string | null lastName?: string | null - gender?: Gender | null + gender?: $Enums.Gender | null yearOfBirth?: number | null wantsNewsletter: boolean - interests?: UserCreateinterestsInput | Enumerable - userSocialMedia?: UserSocialMediaUncheckedCreateNestedOneWithoutUserInput + interests?: UserCreateinterestsInput | $Enums.Topic[] address?: NullableJsonNullValueInput | InputJsonValue + weddingDate?: Date | string | null + roles?: UserRoleUncheckedCreateNestedManyWithoutUsersInput + userSocialMedia?: UserSocialMediaUncheckedCreateNestedOneWithoutUserInput comments?: BlogPostCommentUncheckedCreateNestedManyWithoutAuthorInput companies?: CompanyUncheckedCreateNestedManyWithoutUserInput - weddingDate?: Date | string | null site?: SiteUncheckedCreateNestedOneWithoutOwnerInput } @@ -11599,49 +13098,55 @@ export namespace Prisma { } export type BlogPostCommentCreateManyPostInputEnvelope = { - data: Enumerable + data: BlogPostCommentCreateManyPostInput | BlogPostCommentCreateManyPostInput[] skipDuplicates?: boolean } export type UserUpsertWithoutBlogPostsInput = { update: XOR create: XOR + where?: UserWhereInput + } + + export type UserUpdateToOneWithWhereWithoutBlogPostsInput = { + where?: UserWhereInput + data: XOR } export type UserUpdateWithoutBlogPostsInput = { id?: StringFieldUpdateOperationsInput | string email?: StringFieldUpdateOperationsInput | string - roles?: UserRoleUpdateManyWithoutUsersInput firstName?: NullableStringFieldUpdateOperationsInput | string | null lastName?: NullableStringFieldUpdateOperationsInput | string | null - gender?: NullableEnumGenderFieldUpdateOperationsInput | Gender | null + gender?: NullableEnumGenderFieldUpdateOperationsInput | $Enums.Gender | null yearOfBirth?: NullableIntFieldUpdateOperationsInput | number | null wantsNewsletter?: BoolFieldUpdateOperationsInput | boolean - interests?: UserUpdateinterestsInput | Enumerable - userSocialMedia?: UserSocialMediaUpdateOneWithoutUserInput + interests?: UserUpdateinterestsInput | $Enums.Topic[] address?: NullableJsonNullValueInput | InputJsonValue - comments?: BlogPostCommentUpdateManyWithoutAuthorInput - companies?: CompanyUpdateManyWithoutUserInput weddingDate?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null - site?: SiteUpdateOneWithoutOwnerInput + roles?: UserRoleUpdateManyWithoutUsersNestedInput + userSocialMedia?: UserSocialMediaUpdateOneWithoutUserNestedInput + comments?: BlogPostCommentUpdateManyWithoutAuthorNestedInput + companies?: CompanyUpdateManyWithoutUserNestedInput + site?: SiteUpdateOneWithoutOwnerNestedInput } export type UserUncheckedUpdateWithoutBlogPostsInput = { id?: StringFieldUpdateOperationsInput | string email?: StringFieldUpdateOperationsInput | string - roles?: UserRoleUncheckedUpdateManyWithoutUsersInput firstName?: NullableStringFieldUpdateOperationsInput | string | null lastName?: NullableStringFieldUpdateOperationsInput | string | null - gender?: NullableEnumGenderFieldUpdateOperationsInput | Gender | null + gender?: NullableEnumGenderFieldUpdateOperationsInput | $Enums.Gender | null yearOfBirth?: NullableIntFieldUpdateOperationsInput | number | null wantsNewsletter?: BoolFieldUpdateOperationsInput | boolean - interests?: UserUpdateinterestsInput | Enumerable - userSocialMedia?: UserSocialMediaUncheckedUpdateOneWithoutUserInput + interests?: UserUpdateinterestsInput | $Enums.Topic[] address?: NullableJsonNullValueInput | InputJsonValue - comments?: BlogPostCommentUncheckedUpdateManyWithoutAuthorInput - companies?: CompanyUncheckedUpdateManyWithoutUserInput weddingDate?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null - site?: SiteUncheckedUpdateOneWithoutOwnerInput + roles?: UserRoleUncheckedUpdateManyWithoutUsersNestedInput + userSocialMedia?: UserSocialMediaUncheckedUpdateOneWithoutUserNestedInput + comments?: BlogPostCommentUncheckedUpdateManyWithoutAuthorNestedInput + companies?: CompanyUncheckedUpdateManyWithoutUserNestedInput + site?: SiteUncheckedUpdateOneWithoutOwnerNestedInput } export type BlogPostCommentUpsertWithWhereUniqueWithoutPostInput = { @@ -11657,17 +13162,17 @@ export namespace Prisma { export type BlogPostCommentUpdateManyWithWhereWithoutPostInput = { where: BlogPostCommentScalarWhereInput - data: XOR + data: XOR } export type BlogPostCommentScalarWhereInput = { - AND?: Enumerable - OR?: Enumerable - NOT?: Enumerable - id?: StringFilter | string - text?: StringFilter | string - postId?: StringNullableFilter | string | null - authorId?: StringNullableFilter | string | null + AND?: BlogPostCommentScalarWhereInput | BlogPostCommentScalarWhereInput[] + OR?: BlogPostCommentScalarWhereInput[] + NOT?: BlogPostCommentScalarWhereInput | BlogPostCommentScalarWhereInput[] + id?: StringFilter<"BlogPostComment"> | string + text?: StringFilter<"BlogPostComment"> | string + postId?: StringNullableFilter<"BlogPostComment"> | string | null + authorId?: StringNullableFilter<"BlogPostComment"> | string | null } export type BlogPostCreateWithoutCommentsInput = { @@ -11692,36 +13197,36 @@ export namespace Prisma { export type UserCreateWithoutCommentsInput = { id?: string email: string - roles?: UserRoleCreateNestedManyWithoutUsersInput firstName?: string | null lastName?: string | null - gender?: Gender | null + gender?: $Enums.Gender | null yearOfBirth?: number | null wantsNewsletter: boolean - interests?: UserCreateinterestsInput | Enumerable - userSocialMedia?: UserSocialMediaCreateNestedOneWithoutUserInput + interests?: UserCreateinterestsInput | $Enums.Topic[] address?: NullableJsonNullValueInput | InputJsonValue + weddingDate?: Date | string | null + roles?: UserRoleCreateNestedManyWithoutUsersInput + userSocialMedia?: UserSocialMediaCreateNestedOneWithoutUserInput blogPosts?: BlogPostCreateNestedManyWithoutAuthorInput companies?: CompanyCreateNestedManyWithoutUserInput - weddingDate?: Date | string | null site?: SiteCreateNestedOneWithoutOwnerInput } export type UserUncheckedCreateWithoutCommentsInput = { id?: string email: string - roles?: UserRoleUncheckedCreateNestedManyWithoutUsersInput firstName?: string | null lastName?: string | null - gender?: Gender | null + gender?: $Enums.Gender | null yearOfBirth?: number | null wantsNewsletter: boolean - interests?: UserCreateinterestsInput | Enumerable - userSocialMedia?: UserSocialMediaUncheckedCreateNestedOneWithoutUserInput + interests?: UserCreateinterestsInput | $Enums.Topic[] address?: NullableJsonNullValueInput | InputJsonValue + weddingDate?: Date | string | null + roles?: UserRoleUncheckedCreateNestedManyWithoutUsersInput + userSocialMedia?: UserSocialMediaUncheckedCreateNestedOneWithoutUserInput blogPosts?: BlogPostUncheckedCreateNestedManyWithoutAuthorInput companies?: CompanyUncheckedCreateNestedManyWithoutUserInput - weddingDate?: Date | string | null site?: SiteUncheckedCreateNestedOneWithoutOwnerInput } @@ -11733,13 +13238,19 @@ export namespace Prisma { export type BlogPostUpsertWithoutCommentsInput = { update: XOR create: XOR + where?: BlogPostWhereInput + } + + export type BlogPostUpdateToOneWithWhereWithoutCommentsInput = { + where?: BlogPostWhereInput + data: XOR } export type BlogPostUpdateWithoutCommentsInput = { id?: StringFieldUpdateOperationsInput | string title?: StringFieldUpdateOperationsInput | string text?: StringFieldUpdateOperationsInput | string - author?: UserUpdateOneWithoutBlogPostsInput + author?: UserUpdateOneWithoutBlogPostsNestedInput } export type BlogPostUncheckedUpdateWithoutCommentsInput = { @@ -11752,78 +13263,84 @@ export namespace Prisma { export type UserUpsertWithoutCommentsInput = { update: XOR create: XOR + where?: UserWhereInput + } + + export type UserUpdateToOneWithWhereWithoutCommentsInput = { + where?: UserWhereInput + data: XOR } export type UserUpdateWithoutCommentsInput = { id?: StringFieldUpdateOperationsInput | string email?: StringFieldUpdateOperationsInput | string - roles?: UserRoleUpdateManyWithoutUsersInput firstName?: NullableStringFieldUpdateOperationsInput | string | null lastName?: NullableStringFieldUpdateOperationsInput | string | null - gender?: NullableEnumGenderFieldUpdateOperationsInput | Gender | null + gender?: NullableEnumGenderFieldUpdateOperationsInput | $Enums.Gender | null yearOfBirth?: NullableIntFieldUpdateOperationsInput | number | null wantsNewsletter?: BoolFieldUpdateOperationsInput | boolean - interests?: UserUpdateinterestsInput | Enumerable - userSocialMedia?: UserSocialMediaUpdateOneWithoutUserInput + interests?: UserUpdateinterestsInput | $Enums.Topic[] address?: NullableJsonNullValueInput | InputJsonValue - blogPosts?: BlogPostUpdateManyWithoutAuthorInput - companies?: CompanyUpdateManyWithoutUserInput weddingDate?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null - site?: SiteUpdateOneWithoutOwnerInput + roles?: UserRoleUpdateManyWithoutUsersNestedInput + userSocialMedia?: UserSocialMediaUpdateOneWithoutUserNestedInput + blogPosts?: BlogPostUpdateManyWithoutAuthorNestedInput + companies?: CompanyUpdateManyWithoutUserNestedInput + site?: SiteUpdateOneWithoutOwnerNestedInput } export type UserUncheckedUpdateWithoutCommentsInput = { id?: StringFieldUpdateOperationsInput | string email?: StringFieldUpdateOperationsInput | string - roles?: UserRoleUncheckedUpdateManyWithoutUsersInput firstName?: NullableStringFieldUpdateOperationsInput | string | null lastName?: NullableStringFieldUpdateOperationsInput | string | null - gender?: NullableEnumGenderFieldUpdateOperationsInput | Gender | null + gender?: NullableEnumGenderFieldUpdateOperationsInput | $Enums.Gender | null yearOfBirth?: NullableIntFieldUpdateOperationsInput | number | null wantsNewsletter?: BoolFieldUpdateOperationsInput | boolean - interests?: UserUpdateinterestsInput | Enumerable - userSocialMedia?: UserSocialMediaUncheckedUpdateOneWithoutUserInput + interests?: UserUpdateinterestsInput | $Enums.Topic[] address?: NullableJsonNullValueInput | InputJsonValue - blogPosts?: BlogPostUncheckedUpdateManyWithoutAuthorInput - companies?: CompanyUncheckedUpdateManyWithoutUserInput weddingDate?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null - site?: SiteUncheckedUpdateOneWithoutOwnerInput + roles?: UserRoleUncheckedUpdateManyWithoutUsersNestedInput + userSocialMedia?: UserSocialMediaUncheckedUpdateOneWithoutUserNestedInput + blogPosts?: BlogPostUncheckedUpdateManyWithoutAuthorNestedInput + companies?: CompanyUncheckedUpdateManyWithoutUserNestedInput + site?: SiteUncheckedUpdateOneWithoutOwnerNestedInput } export type UserCreateWithoutSiteInput = { id?: string email: string - roles?: UserRoleCreateNestedManyWithoutUsersInput firstName?: string | null lastName?: string | null - gender?: Gender | null + gender?: $Enums.Gender | null yearOfBirth?: number | null wantsNewsletter: boolean - interests?: UserCreateinterestsInput | Enumerable - userSocialMedia?: UserSocialMediaCreateNestedOneWithoutUserInput + interests?: UserCreateinterestsInput | $Enums.Topic[] address?: NullableJsonNullValueInput | InputJsonValue + weddingDate?: Date | string | null + roles?: UserRoleCreateNestedManyWithoutUsersInput + userSocialMedia?: UserSocialMediaCreateNestedOneWithoutUserInput blogPosts?: BlogPostCreateNestedManyWithoutAuthorInput comments?: BlogPostCommentCreateNestedManyWithoutAuthorInput companies?: CompanyCreateNestedManyWithoutUserInput - weddingDate?: Date | string | null } export type UserUncheckedCreateWithoutSiteInput = { id?: string email: string - roles?: UserRoleUncheckedCreateNestedManyWithoutUsersInput firstName?: string | null lastName?: string | null - gender?: Gender | null + gender?: $Enums.Gender | null yearOfBirth?: number | null wantsNewsletter: boolean - interests?: UserCreateinterestsInput | Enumerable - userSocialMedia?: UserSocialMediaUncheckedCreateNestedOneWithoutUserInput + interests?: UserCreateinterestsInput | $Enums.Topic[] address?: NullableJsonNullValueInput | InputJsonValue + weddingDate?: Date | string | null + roles?: UserRoleUncheckedCreateNestedManyWithoutUsersInput + userSocialMedia?: UserSocialMediaUncheckedCreateNestedOneWithoutUserInput blogPosts?: BlogPostUncheckedCreateNestedManyWithoutAuthorInput comments?: BlogPostCommentUncheckedCreateNestedManyWithoutAuthorInput companies?: CompanyUncheckedCreateNestedManyWithoutUserInput - weddingDate?: Date | string | null } export type UserCreateOrConnectWithoutSiteInput = { @@ -11834,42 +13351,48 @@ export namespace Prisma { export type UserUpsertWithoutSiteInput = { update: XOR create: XOR + where?: UserWhereInput + } + + export type UserUpdateToOneWithWhereWithoutSiteInput = { + where?: UserWhereInput + data: XOR } export type UserUpdateWithoutSiteInput = { id?: StringFieldUpdateOperationsInput | string email?: StringFieldUpdateOperationsInput | string - roles?: UserRoleUpdateManyWithoutUsersInput firstName?: NullableStringFieldUpdateOperationsInput | string | null lastName?: NullableStringFieldUpdateOperationsInput | string | null - gender?: NullableEnumGenderFieldUpdateOperationsInput | Gender | null + gender?: NullableEnumGenderFieldUpdateOperationsInput | $Enums.Gender | null yearOfBirth?: NullableIntFieldUpdateOperationsInput | number | null wantsNewsletter?: BoolFieldUpdateOperationsInput | boolean - interests?: UserUpdateinterestsInput | Enumerable - userSocialMedia?: UserSocialMediaUpdateOneWithoutUserInput + interests?: UserUpdateinterestsInput | $Enums.Topic[] address?: NullableJsonNullValueInput | InputJsonValue - blogPosts?: BlogPostUpdateManyWithoutAuthorInput - comments?: BlogPostCommentUpdateManyWithoutAuthorInput - companies?: CompanyUpdateManyWithoutUserInput weddingDate?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + roles?: UserRoleUpdateManyWithoutUsersNestedInput + userSocialMedia?: UserSocialMediaUpdateOneWithoutUserNestedInput + blogPosts?: BlogPostUpdateManyWithoutAuthorNestedInput + comments?: BlogPostCommentUpdateManyWithoutAuthorNestedInput + companies?: CompanyUpdateManyWithoutUserNestedInput } export type UserUncheckedUpdateWithoutSiteInput = { id?: StringFieldUpdateOperationsInput | string email?: StringFieldUpdateOperationsInput | string - roles?: UserRoleUncheckedUpdateManyWithoutUsersInput firstName?: NullableStringFieldUpdateOperationsInput | string | null lastName?: NullableStringFieldUpdateOperationsInput | string | null - gender?: NullableEnumGenderFieldUpdateOperationsInput | Gender | null + gender?: NullableEnumGenderFieldUpdateOperationsInput | $Enums.Gender | null yearOfBirth?: NullableIntFieldUpdateOperationsInput | number | null wantsNewsletter?: BoolFieldUpdateOperationsInput | boolean - interests?: UserUpdateinterestsInput | Enumerable - userSocialMedia?: UserSocialMediaUncheckedUpdateOneWithoutUserInput + interests?: UserUpdateinterestsInput | $Enums.Topic[] address?: NullableJsonNullValueInput | InputJsonValue - blogPosts?: BlogPostUncheckedUpdateManyWithoutAuthorInput - comments?: BlogPostCommentUncheckedUpdateManyWithoutAuthorInput - companies?: CompanyUncheckedUpdateManyWithoutUserInput weddingDate?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null + roles?: UserRoleUncheckedUpdateManyWithoutUsersNestedInput + userSocialMedia?: UserSocialMediaUncheckedUpdateOneWithoutUserNestedInput + blogPosts?: BlogPostUncheckedUpdateManyWithoutAuthorNestedInput + comments?: BlogPostCommentUncheckedUpdateManyWithoutAuthorNestedInput + companies?: CompanyUncheckedUpdateManyWithoutUserNestedInput } export type UserRoleCreateWithoutUsersInput = { @@ -11924,7 +13447,7 @@ export namespace Prisma { } export type BlogPostCreateManyAuthorInputEnvelope = { - data: Enumerable + data: BlogPostCreateManyAuthorInput | BlogPostCreateManyAuthorInput[] skipDuplicates?: boolean } @@ -11946,7 +13469,7 @@ export namespace Prisma { } export type BlogPostCommentCreateManyAuthorInputEnvelope = { - data: Enumerable + data: BlogPostCommentCreateManyAuthorInput | BlogPostCommentCreateManyAuthorInput[] skipDuplicates?: boolean } @@ -11966,7 +13489,7 @@ export namespace Prisma { } export type CompanyCreateManyUserInputEnvelope = { - data: Enumerable + data: CompanyCreateManyUserInput | CompanyCreateManyUserInput[] skipDuplicates?: boolean } @@ -12000,20 +13523,26 @@ export namespace Prisma { export type UserRoleUpdateManyWithWhereWithoutUsersInput = { where: UserRoleScalarWhereInput - data: XOR + data: XOR } export type UserRoleScalarWhereInput = { - AND?: Enumerable - OR?: Enumerable - NOT?: Enumerable - id?: StringFilter | string - name?: StringFilter | string + AND?: UserRoleScalarWhereInput | UserRoleScalarWhereInput[] + OR?: UserRoleScalarWhereInput[] + NOT?: UserRoleScalarWhereInput | UserRoleScalarWhereInput[] + id?: StringFilter<"UserRole"> | string + name?: StringFilter<"UserRole"> | string } export type UserSocialMediaUpsertWithoutUserInput = { update: XOR create: XOR + where?: UserSocialMediaWhereInput + } + + export type UserSocialMediaUpdateToOneWithWhereWithoutUserInput = { + where?: UserSocialMediaWhereInput + data: XOR } export type UserSocialMediaUpdateWithoutUserInput = { @@ -12041,17 +13570,17 @@ export namespace Prisma { export type BlogPostUpdateManyWithWhereWithoutAuthorInput = { where: BlogPostScalarWhereInput - data: XOR + data: XOR } export type BlogPostScalarWhereInput = { - AND?: Enumerable - OR?: Enumerable - NOT?: Enumerable - id?: StringFilter | string - title?: StringFilter | string - text?: StringFilter | string - authorId?: StringNullableFilter | string | null + AND?: BlogPostScalarWhereInput | BlogPostScalarWhereInput[] + OR?: BlogPostScalarWhereInput[] + NOT?: BlogPostScalarWhereInput | BlogPostScalarWhereInput[] + id?: StringFilter<"BlogPost"> | string + title?: StringFilter<"BlogPost"> | string + text?: StringFilter<"BlogPost"> | string + authorId?: StringNullableFilter<"BlogPost"> | string | null } export type BlogPostCommentUpsertWithWhereUniqueWithoutAuthorInput = { @@ -12067,7 +13596,7 @@ export namespace Prisma { export type BlogPostCommentUpdateManyWithWhereWithoutAuthorInput = { where: BlogPostCommentScalarWhereInput - data: XOR + data: XOR } export type CompanyUpsertWithWhereUniqueWithoutUserInput = { @@ -12083,21 +13612,27 @@ export namespace Prisma { export type CompanyUpdateManyWithWhereWithoutUserInput = { where: CompanyScalarWhereInput - data: XOR + data: XOR } export type CompanyScalarWhereInput = { - AND?: Enumerable - OR?: Enumerable - NOT?: Enumerable - id?: StringFilter | string - name?: StringFilter | string - userId?: StringFilter | string + AND?: CompanyScalarWhereInput | CompanyScalarWhereInput[] + OR?: CompanyScalarWhereInput[] + NOT?: CompanyScalarWhereInput | CompanyScalarWhereInput[] + id?: StringFilter<"Company"> | string + name?: StringFilter<"Company"> | string + userId?: StringFilter<"Company"> | string } export type SiteUpsertWithoutOwnerInput = { update: XOR create: XOR + where?: SiteWhereInput + } + + export type SiteUpdateToOneWithWhereWithoutOwnerInput = { + where?: SiteWhereInput + data: XOR } export type SiteUpdateWithoutOwnerInput = { @@ -12117,17 +13652,17 @@ export namespace Prisma { email?: StringFieldUpdateOperationsInput | string firstName?: NullableStringFieldUpdateOperationsInput | string | null lastName?: NullableStringFieldUpdateOperationsInput | string | null - gender?: NullableEnumGenderFieldUpdateOperationsInput | Gender | null + gender?: NullableEnumGenderFieldUpdateOperationsInput | $Enums.Gender | null yearOfBirth?: NullableIntFieldUpdateOperationsInput | number | null wantsNewsletter?: BoolFieldUpdateOperationsInput | boolean - interests?: UserUpdateinterestsInput | Enumerable - userSocialMedia?: UserSocialMediaUpdateOneWithoutUserInput + interests?: UserUpdateinterestsInput | $Enums.Topic[] address?: NullableJsonNullValueInput | InputJsonValue - blogPosts?: BlogPostUpdateManyWithoutAuthorInput - comments?: BlogPostCommentUpdateManyWithoutAuthorInput - companies?: CompanyUpdateManyWithoutUserInput weddingDate?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null - site?: SiteUpdateOneWithoutOwnerInput + userSocialMedia?: UserSocialMediaUpdateOneWithoutUserNestedInput + blogPosts?: BlogPostUpdateManyWithoutAuthorNestedInput + comments?: BlogPostCommentUpdateManyWithoutAuthorNestedInput + companies?: CompanyUpdateManyWithoutUserNestedInput + site?: SiteUpdateOneWithoutOwnerNestedInput } export type UserUncheckedUpdateWithoutRolesInput = { @@ -12135,28 +13670,28 @@ export namespace Prisma { email?: StringFieldUpdateOperationsInput | string firstName?: NullableStringFieldUpdateOperationsInput | string | null lastName?: NullableStringFieldUpdateOperationsInput | string | null - gender?: NullableEnumGenderFieldUpdateOperationsInput | Gender | null + gender?: NullableEnumGenderFieldUpdateOperationsInput | $Enums.Gender | null yearOfBirth?: NullableIntFieldUpdateOperationsInput | number | null wantsNewsletter?: BoolFieldUpdateOperationsInput | boolean - interests?: UserUpdateinterestsInput | Enumerable - userSocialMedia?: UserSocialMediaUncheckedUpdateOneWithoutUserInput + interests?: UserUpdateinterestsInput | $Enums.Topic[] address?: NullableJsonNullValueInput | InputJsonValue - blogPosts?: BlogPostUncheckedUpdateManyWithoutAuthorInput - comments?: BlogPostCommentUncheckedUpdateManyWithoutAuthorInput - companies?: CompanyUncheckedUpdateManyWithoutUserInput weddingDate?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null - site?: SiteUncheckedUpdateOneWithoutOwnerInput + userSocialMedia?: UserSocialMediaUncheckedUpdateOneWithoutUserNestedInput + blogPosts?: BlogPostUncheckedUpdateManyWithoutAuthorNestedInput + comments?: BlogPostCommentUncheckedUpdateManyWithoutAuthorNestedInput + companies?: CompanyUncheckedUpdateManyWithoutUserNestedInput + site?: SiteUncheckedUpdateOneWithoutOwnerNestedInput } - export type UserUncheckedUpdateManyWithoutUsersInput = { + export type UserUncheckedUpdateManyWithoutRolesInput = { id?: StringFieldUpdateOperationsInput | string email?: StringFieldUpdateOperationsInput | string firstName?: NullableStringFieldUpdateOperationsInput | string | null lastName?: NullableStringFieldUpdateOperationsInput | string | null - gender?: NullableEnumGenderFieldUpdateOperationsInput | Gender | null + gender?: NullableEnumGenderFieldUpdateOperationsInput | $Enums.Gender | null yearOfBirth?: NullableIntFieldUpdateOperationsInput | number | null wantsNewsletter?: BoolFieldUpdateOperationsInput | boolean - interests?: UserUpdateinterestsInput | Enumerable + interests?: UserUpdateinterestsInput | $Enums.Topic[] address?: NullableJsonNullValueInput | InputJsonValue weddingDate?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null } @@ -12170,7 +13705,7 @@ export namespace Prisma { export type BlogPostCommentUpdateWithoutPostInput = { id?: StringFieldUpdateOperationsInput | string text?: StringFieldUpdateOperationsInput | string - author?: UserUpdateOneWithoutCommentsInput + author?: UserUpdateOneWithoutCommentsNestedInput } export type BlogPostCommentUncheckedUpdateWithoutPostInput = { @@ -12179,7 +13714,7 @@ export namespace Prisma { authorId?: NullableStringFieldUpdateOperationsInput | string | null } - export type BlogPostCommentUncheckedUpdateManyWithoutCommentsInput = { + export type BlogPostCommentUncheckedUpdateManyWithoutPostInput = { id?: StringFieldUpdateOperationsInput | string text?: StringFieldUpdateOperationsInput | string authorId?: NullableStringFieldUpdateOperationsInput | string | null @@ -12212,7 +13747,7 @@ export namespace Prisma { name?: StringFieldUpdateOperationsInput | string } - export type UserRoleUncheckedUpdateManyWithoutRolesInput = { + export type UserRoleUncheckedUpdateManyWithoutUsersInput = { id?: StringFieldUpdateOperationsInput | string name?: StringFieldUpdateOperationsInput | string } @@ -12221,17 +13756,17 @@ export namespace Prisma { id?: StringFieldUpdateOperationsInput | string title?: StringFieldUpdateOperationsInput | string text?: StringFieldUpdateOperationsInput | string - comments?: BlogPostCommentUpdateManyWithoutPostInput + comments?: BlogPostCommentUpdateManyWithoutPostNestedInput } export type BlogPostUncheckedUpdateWithoutAuthorInput = { id?: StringFieldUpdateOperationsInput | string title?: StringFieldUpdateOperationsInput | string text?: StringFieldUpdateOperationsInput | string - comments?: BlogPostCommentUncheckedUpdateManyWithoutPostInput + comments?: BlogPostCommentUncheckedUpdateManyWithoutPostNestedInput } - export type BlogPostUncheckedUpdateManyWithoutBlogPostsInput = { + export type BlogPostUncheckedUpdateManyWithoutAuthorInput = { id?: StringFieldUpdateOperationsInput | string title?: StringFieldUpdateOperationsInput | string text?: StringFieldUpdateOperationsInput | string @@ -12240,7 +13775,7 @@ export namespace Prisma { export type BlogPostCommentUpdateWithoutAuthorInput = { id?: StringFieldUpdateOperationsInput | string text?: StringFieldUpdateOperationsInput | string - post?: BlogPostUpdateOneWithoutCommentsInput + post?: BlogPostUpdateOneWithoutCommentsNestedInput } export type BlogPostCommentUncheckedUpdateWithoutAuthorInput = { @@ -12249,6 +13784,12 @@ export namespace Prisma { postId?: NullableStringFieldUpdateOperationsInput | string | null } + export type BlogPostCommentUncheckedUpdateManyWithoutAuthorInput = { + id?: StringFieldUpdateOperationsInput | string + text?: StringFieldUpdateOperationsInput | string + postId?: NullableStringFieldUpdateOperationsInput | string | null + } + export type CompanyUpdateWithoutUserInput = { id?: StringFieldUpdateOperationsInput | string name?: StringFieldUpdateOperationsInput | string @@ -12259,13 +13800,65 @@ export namespace Prisma { name?: StringFieldUpdateOperationsInput | string } - export type CompanyUncheckedUpdateManyWithoutCompaniesInput = { + export type CompanyUncheckedUpdateManyWithoutUserInput = { id?: StringFieldUpdateOperationsInput | string name?: StringFieldUpdateOperationsInput | string } + /** + * Aliases for legacy arg types + */ + /** + * @deprecated Use UserRoleCountOutputTypeDefaultArgs instead + */ + export type UserRoleCountOutputTypeArgs = UserRoleCountOutputTypeDefaultArgs + /** + * @deprecated Use BlogPostCountOutputTypeDefaultArgs instead + */ + export type BlogPostCountOutputTypeArgs = BlogPostCountOutputTypeDefaultArgs + /** + * @deprecated Use UserCountOutputTypeDefaultArgs instead + */ + export type UserCountOutputTypeArgs = UserCountOutputTypeDefaultArgs + /** + * @deprecated Use UserRoleDefaultArgs instead + */ + export type UserRoleArgs = UserRoleDefaultArgs + /** + * @deprecated Use CompanyDefaultArgs instead + */ + export type CompanyArgs = CompanyDefaultArgs + /** + * @deprecated Use UserSocialMediaDefaultArgs instead + */ + export type UserSocialMediaArgs = UserSocialMediaDefaultArgs + /** + * @deprecated Use BlogPostDefaultArgs instead + */ + export type BlogPostArgs = BlogPostDefaultArgs + /** + * @deprecated Use BlogPostCommentDefaultArgs instead + */ + export type BlogPostCommentArgs = BlogPostCommentDefaultArgs + /** + * @deprecated Use SiteDefaultArgs instead + */ + export type SiteArgs = SiteDefaultArgs + /** + * @deprecated Use UserDefaultArgs instead + */ + export type UserArgs = UserDefaultArgs + /** + * @deprecated Use FilteringTestDefaultArgs instead + */ + export type FilteringTestArgs = FilteringTestDefaultArgs + /** + * @deprecated Use SomePublicRecordWithIntIdDefaultArgs instead + */ + export type SomePublicRecordWithIntIdArgs = SomePublicRecordWithIntIdDefaultArgs + /** * Batch Payload for updateMany & deleteMany & createMany */ @@ -12277,5 +13870,5 @@ export namespace Prisma { /** * DMMF */ - export const dmmf: runtime.DMMF.Document; + export const dmmf: runtime.BaseDMMF } \ No newline at end of file diff --git a/packages/dataprovider/.prisma/index.js b/packages/dataprovider/.prisma/index.js index 52e09c5..1408e1c 100644 --- a/packages/dataprovider/.prisma/index.js +++ b/packages/dataprovider/.prisma/index.js @@ -7,28 +7,35 @@ const { PrismaClientRustPanicError, PrismaClientInitializationError, PrismaClientValidationError, - decompressFromBase64, + NotFoundError, getPrismaClient, sqltag, empty, join, raw, Decimal, - DecimalJsLike -} = require('./runtime/index') + Debug, + objectEnumValues, + makeStrictEnum, + Extensions, + warnOnce, + defineDmmfProperty, + Public, +} = require('./runtime/library') const Prisma = {} exports.Prisma = Prisma +exports.$Enums = {} /** - * Prisma Client JS version: 3.15.2 - * Query Engine version: 461d6a05159055555eb7dfb337c9fb271cbd4d7e + * Prisma Client JS version: 5.5.2 + * Query Engine version: aebc046ce8b88ebbcb45efe31cbe7d06fd6abc0a */ Prisma.prismaVersion = { - client: "3.15.2", - engine: "461d6a05159055555eb7dfb337c9fb271cbd4d7e" + client: "5.5.2", + engine: "aebc046ce8b88ebbcb45efe31cbe7d06fd6abc0a" } Prisma.PrismaClientKnownRequestError = PrismaClientKnownRequestError; @@ -36,6 +43,7 @@ Prisma.PrismaClientUnknownRequestError = PrismaClientUnknownRequestError Prisma.PrismaClientRustPanicError = PrismaClientRustPanicError Prisma.PrismaClientInitializationError = PrismaClientInitializationError Prisma.PrismaClientValidationError = PrismaClientValidationError +Prisma.NotFoundError = NotFoundError Prisma.Decimal = Decimal /** @@ -45,81 +53,80 @@ Prisma.sql = sqltag Prisma.empty = empty Prisma.join = join Prisma.raw = raw -Prisma.validator = () => (val) => val +Prisma.validator = Public.validator + +/** +* Extensions +*/ +Prisma.getExtensionContext = Extensions.getExtensionContext +Prisma.defineExtension = Extensions.defineExtension /** * Shorthand utilities for JSON filtering */ -Prisma.DbNull = 'DbNull' -Prisma.JsonNull = 'JsonNull' -Prisma.AnyNull = 'AnyNull' +Prisma.DbNull = objectEnumValues.instances.DbNull +Prisma.JsonNull = objectEnumValues.instances.JsonNull +Prisma.AnyNull = objectEnumValues.instances.AnyNull + +Prisma.NullTypes = { + DbNull: objectEnumValues.classes.DbNull, + JsonNull: objectEnumValues.classes.JsonNull, + AnyNull: objectEnumValues.classes.AnyNull +} const path = require('path') -const { findSync } = require('./runtime') -const fs = require('fs') - -// some frameworks or bundlers replace or totally remove __dirname -const hasDirname = typeof __dirname !== 'undefined' && __dirname !== '/' - -// will work in most cases, ie. if the client has not been bundled -const regularDirname = hasDirname && fs.existsSync(path.join(__dirname, 'schema.prisma')) && __dirname - -// if the client has been bundled, we need to look for the folders -const foundDirname = !regularDirname && findSync(process.cwd(), [ - ".prisma", - -], ['d'], ['d'], 1)[0] - -const dirname = regularDirname || foundDirname || __dirname /** * Enums */ -// Based on -// https://github.com/microsoft/TypeScript/issues/3192#issuecomment-261720275 -function makeEnum(x) { return x; } +exports.Prisma.TransactionIsolationLevel = makeStrictEnum({ + ReadUncommitted: 'ReadUncommitted', + ReadCommitted: 'ReadCommitted', + RepeatableRead: 'RepeatableRead', + Serializable: 'Serializable' +}); -exports.Prisma.UserRoleScalarFieldEnum = makeEnum({ +exports.Prisma.UserRoleScalarFieldEnum = { id: 'id', name: 'name' -}); +}; -exports.Prisma.CompanyScalarFieldEnum = makeEnum({ +exports.Prisma.CompanyScalarFieldEnum = { id: 'id', name: 'name', userId: 'userId' -}); +}; -exports.Prisma.UserSocialMediaScalarFieldEnum = makeEnum({ +exports.Prisma.UserSocialMediaScalarFieldEnum = { id: 'id', instagram: 'instagram', twitter: 'twitter', userId: 'userId' -}); +}; -exports.Prisma.BlogPostScalarFieldEnum = makeEnum({ +exports.Prisma.BlogPostScalarFieldEnum = { id: 'id', title: 'title', text: 'text', authorId: 'authorId' -}); +}; -exports.Prisma.BlogPostCommentScalarFieldEnum = makeEnum({ +exports.Prisma.BlogPostCommentScalarFieldEnum = { id: 'id', text: 'text', postId: 'postId', authorId: 'authorId' -}); +}; -exports.Prisma.SiteScalarFieldEnum = makeEnum({ +exports.Prisma.SiteScalarFieldEnum = { id: 'id', name: 'name', url: 'url', userId: 'userId' -}); +}; -exports.Prisma.UserScalarFieldEnum = makeEnum({ +exports.Prisma.UserScalarFieldEnum = { id: 'id', email: 'email', firstName: 'firstName', @@ -130,9 +137,9 @@ exports.Prisma.UserScalarFieldEnum = makeEnum({ interests: 'interests', address: 'address', weddingDate: 'weddingDate' -}); +}; -exports.Prisma.FilteringTestScalarFieldEnum = makeEnum({ +exports.Prisma.FilteringTestScalarFieldEnum = { id: 'id', intField: 'intField', floatField: 'floatField', @@ -143,46 +150,51 @@ exports.Prisma.FilteringTestScalarFieldEnum = makeEnum({ intField_bt: 'intField_bt', snake_field: 'snake_field', snake_field_bt: 'snake_field_bt' -}); +}; -exports.Prisma.SomePublicRecordWithIntIdScalarFieldEnum = makeEnum({ +exports.Prisma.SomePublicRecordWithIntIdScalarFieldEnum = { id: 'id', title: 'title' -}); +}; -exports.Prisma.SortOrder = makeEnum({ +exports.Prisma.SortOrder = { asc: 'asc', desc: 'desc' -}); +}; -exports.Prisma.NullableJsonNullValueInput = makeEnum({ - DbNull: 'DbNull', - JsonNull: 'JsonNull' -}); +exports.Prisma.NullableJsonNullValueInput = { + DbNull: Prisma.DbNull, + JsonNull: Prisma.JsonNull +}; -exports.Prisma.QueryMode = makeEnum({ +exports.Prisma.QueryMode = { default: 'default', insensitive: 'insensitive' -}); - -exports.Prisma.JsonNullValueFilter = makeEnum({ - DbNull: 'DbNull', - JsonNull: 'JsonNull', - AnyNull: 'AnyNull' -}); -exports.Gender = makeEnum({ +}; + +exports.Prisma.NullsOrder = { + first: 'first', + last: 'last' +}; + +exports.Prisma.JsonNullValueFilter = { + DbNull: Prisma.DbNull, + JsonNull: Prisma.JsonNull, + AnyNull: Prisma.AnyNull +}; +exports.Gender = exports.$Enums.Gender = { MALE: 'MALE', FEMALE: 'FEMALE', OTHER: 'OTHER' -}); +}; -exports.Topic = makeEnum({ +exports.Topic = exports.$Enums.Topic = { TOPIC_ONE: 'TOPIC_ONE', TOPIC_TWO: 'TOPIC_TWO', TOPIC_THREE: 'TOPIC_THREE' -}); +}; -exports.Prisma.ModelName = makeEnum({ +exports.Prisma.ModelName = { UserRole: 'UserRole', Company: 'Company', UserSocialMedia: 'UserSocialMedia', @@ -192,12 +204,7 @@ exports.Prisma.ModelName = makeEnum({ User: 'User', FilteringTest: 'FilteringTest', SomePublicRecordWithIntId: 'SomePublicRecordWithIntId' -}); - -const dmmfString = "{\"datamodel\":{\"enums\":[{\"name\":\"Gender\",\"values\":[{\"name\":\"MALE\",\"dbName\":null},{\"name\":\"FEMALE\",\"dbName\":null},{\"name\":\"OTHER\",\"dbName\":null}],\"dbName\":null},{\"name\":\"Topic\",\"values\":[{\"name\":\"TOPIC_ONE\",\"dbName\":null},{\"name\":\"TOPIC_TWO\",\"dbName\":null},{\"name\":\"TOPIC_THREE\",\"dbName\":null}],\"dbName\":null}],\"models\":[{\"name\":\"UserRole\",\"dbName\":null,\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":true,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"String\",\"default\":{\"name\":\"uuid\",\"args\":[]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"name\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"users\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"User\",\"relationName\":\"UserToUserRole\",\"relationFromFields\":[],\"relationToFields\":[\"id\"],\"isGenerated\":false,\"isUpdatedAt\":false}],\"primaryKey\":null,\"uniqueFields\":[],\"uniqueIndexes\":[],\"isGenerated\":false},{\"name\":\"Company\",\"dbName\":null,\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":true,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"String\",\"default\":{\"name\":\"uuid\",\"args\":[]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"name\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"user\",\"kind\":\"object\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"User\",\"relationName\":\"CompanyToUser\",\"relationFromFields\":[\"userId\"],\"relationToFields\":[\"id\"],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"userId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"isGenerated\":false,\"isUpdatedAt\":false}],\"primaryKey\":null,\"uniqueFields\":[],\"uniqueIndexes\":[],\"isGenerated\":false},{\"name\":\"UserSocialMedia\",\"dbName\":null,\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":true,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"String\",\"default\":{\"name\":\"uuid\",\"args\":[]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"instagram\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"twitter\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"user\",\"kind\":\"object\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"User\",\"relationName\":\"UserToUserSocialMedia\",\"relationFromFields\":[\"userId\"],\"relationToFields\":[\"id\"],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"userId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":true,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"isGenerated\":false,\"isUpdatedAt\":false}],\"primaryKey\":null,\"uniqueFields\":[],\"uniqueIndexes\":[],\"isGenerated\":false},{\"name\":\"BlogPost\",\"dbName\":null,\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":true,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"String\",\"default\":{\"name\":\"uuid\",\"args\":[]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"title\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"text\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"author\",\"kind\":\"object\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"User\",\"relationName\":\"BlogPostToUser\",\"relationFromFields\":[\"authorId\"],\"relationToFields\":[\"id\"],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"authorId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"comments\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"BlogPostComment\",\"relationName\":\"BlogPostToBlogPostComment\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false}],\"primaryKey\":null,\"uniqueFields\":[],\"uniqueIndexes\":[],\"isGenerated\":false},{\"name\":\"BlogPostComment\",\"dbName\":null,\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":true,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"String\",\"default\":{\"name\":\"uuid\",\"args\":[]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"text\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"post\",\"kind\":\"object\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"BlogPost\",\"relationName\":\"BlogPostToBlogPostComment\",\"relationFromFields\":[\"postId\"],\"relationToFields\":[\"id\"],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"postId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"author\",\"kind\":\"object\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"User\",\"relationName\":\"BlogPostCommentToUser\",\"relationFromFields\":[\"authorId\"],\"relationToFields\":[\"id\"],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"authorId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"isGenerated\":false,\"isUpdatedAt\":false}],\"primaryKey\":null,\"uniqueFields\":[],\"uniqueIndexes\":[],\"isGenerated\":false},{\"name\":\"Site\",\"dbName\":null,\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":true,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"String\",\"default\":{\"name\":\"uuid\",\"args\":[]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"name\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"url\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"owner\",\"kind\":\"object\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"User\",\"relationName\":\"SiteToUser\",\"relationFromFields\":[\"userId\"],\"relationToFields\":[\"id\"],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"userId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":true,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"isGenerated\":false,\"isUpdatedAt\":false}],\"primaryKey\":null,\"uniqueFields\":[],\"uniqueIndexes\":[],\"isGenerated\":false},{\"name\":\"User\",\"dbName\":null,\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":true,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"String\",\"default\":{\"name\":\"uuid\",\"args\":[]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"email\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":true,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"roles\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"UserRole\",\"relationName\":\"UserToUserRole\",\"relationFromFields\":[],\"relationToFields\":[\"id\"],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"firstName\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"lastName\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"gender\",\"kind\":\"enum\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Gender\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"yearOfBirth\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Int\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"wantsNewsletter\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Boolean\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"interests\",\"kind\":\"enum\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Topic\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"userSocialMedia\",\"kind\":\"object\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"UserSocialMedia\",\"relationName\":\"UserToUserSocialMedia\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"address\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Json\",\"isGenerated\":false,\"isUpdatedAt\":false,\"documentation\":\"@TypeGraphQL.omit(output: true)\"},{\"name\":\"blogPosts\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"BlogPost\",\"relationName\":\"BlogPostToUser\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"comments\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"BlogPostComment\",\"relationName\":\"BlogPostCommentToUser\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"companies\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Company\",\"relationName\":\"CompanyToUser\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"weddingDate\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"DateTime\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"site\",\"kind\":\"object\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Site\",\"relationName\":\"SiteToUser\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false,\"documentation\":\"@TypeGraphQL.omit(output: true)\"}],\"primaryKey\":null,\"uniqueFields\":[],\"uniqueIndexes\":[],\"isGenerated\":false},{\"name\":\"FilteringTest\",\"dbName\":null,\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":true,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"Int\",\"default\":{\"name\":\"autoincrement\",\"args\":[]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"intField\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Int\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"floatField\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Float\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"stringField\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"dateTimeField\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"DateTime\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"boolField\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Boolean\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"intField_lt\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"intField_bt\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Int\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"snake_field\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Int\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"snake_field_bt\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Int\",\"isGenerated\":false,\"isUpdatedAt\":false}],\"primaryKey\":null,\"uniqueFields\":[],\"uniqueIndexes\":[],\"isGenerated\":false},{\"name\":\"SomePublicRecordWithIntId\",\"dbName\":null,\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":true,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"Int\",\"default\":{\"name\":\"autoincrement\",\"args\":[]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"title\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"isGenerated\":false,\"isUpdatedAt\":false}],\"primaryKey\":null,\"uniqueFields\":[],\"uniqueIndexes\":[],\"isGenerated\":false}],\"types\":[]},\"schema\":{\"inputObjectTypes\":{\"prisma\":[{\"name\":\"UserRoleWhereInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"AND\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserRoleWhereInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"UserRoleWhereInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]},{\"name\":\"OR\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserRoleWhereInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]},{\"name\":\"NOT\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserRoleWhereInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"UserRoleWhereInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]},{\"name\":\"id\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"StringFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"name\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"StringFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"users\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserListRelationFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}]},{\"name\":\"UserRoleOrderByWithRelationInput\",\"constraints\":{\"maxNumFields\":1,\"minNumFields\":0},\"fields\":[{\"name\":\"id\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]},{\"name\":\"name\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]},{\"name\":\"users\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserOrderByRelationAggregateInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}]},{\"name\":\"UserRoleWhereUniqueInput\",\"constraints\":{\"maxNumFields\":1,\"minNumFields\":1},\"fields\":[{\"name\":\"id\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]}]},{\"name\":\"UserRoleOrderByWithAggregationInput\",\"constraints\":{\"maxNumFields\":1,\"minNumFields\":0},\"fields\":[{\"name\":\"id\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]},{\"name\":\"name\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]},{\"name\":\"_count\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserRoleCountOrderByAggregateInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"_max\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserRoleMaxOrderByAggregateInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"_min\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserRoleMinOrderByAggregateInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}]},{\"name\":\"UserRoleScalarWhereWithAggregatesInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"AND\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserRoleScalarWhereWithAggregatesInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"UserRoleScalarWhereWithAggregatesInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]},{\"name\":\"OR\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserRoleScalarWhereWithAggregatesInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]},{\"name\":\"NOT\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserRoleScalarWhereWithAggregatesInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"UserRoleScalarWhereWithAggregatesInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]},{\"name\":\"id\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"StringWithAggregatesFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"name\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"StringWithAggregatesFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]}]},{\"name\":\"CompanyWhereInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"AND\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"CompanyWhereInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"CompanyWhereInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]},{\"name\":\"OR\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"CompanyWhereInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]},{\"name\":\"NOT\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"CompanyWhereInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"CompanyWhereInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]},{\"name\":\"id\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"StringFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"name\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"StringFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"user\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserRelationFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"UserWhereInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"userId\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"StringFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]}]},{\"name\":\"CompanyOrderByWithRelationInput\",\"constraints\":{\"maxNumFields\":1,\"minNumFields\":0},\"fields\":[{\"name\":\"id\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]},{\"name\":\"name\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]},{\"name\":\"user\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserOrderByWithRelationInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"userId\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]}]},{\"name\":\"CompanyWhereUniqueInput\",\"constraints\":{\"maxNumFields\":1,\"minNumFields\":1},\"fields\":[{\"name\":\"id\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]}]},{\"name\":\"CompanyOrderByWithAggregationInput\",\"constraints\":{\"maxNumFields\":1,\"minNumFields\":0},\"fields\":[{\"name\":\"id\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]},{\"name\":\"name\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]},{\"name\":\"userId\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]},{\"name\":\"_count\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"CompanyCountOrderByAggregateInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"_max\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"CompanyMaxOrderByAggregateInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"_min\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"CompanyMinOrderByAggregateInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}]},{\"name\":\"CompanyScalarWhereWithAggregatesInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"AND\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"CompanyScalarWhereWithAggregatesInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"CompanyScalarWhereWithAggregatesInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]},{\"name\":\"OR\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"CompanyScalarWhereWithAggregatesInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]},{\"name\":\"NOT\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"CompanyScalarWhereWithAggregatesInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"CompanyScalarWhereWithAggregatesInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]},{\"name\":\"id\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"StringWithAggregatesFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"name\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"StringWithAggregatesFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"userId\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"StringWithAggregatesFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]}]},{\"name\":\"UserSocialMediaWhereInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"AND\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserSocialMediaWhereInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"UserSocialMediaWhereInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]},{\"name\":\"OR\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserSocialMediaWhereInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]},{\"name\":\"NOT\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserSocialMediaWhereInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"UserSocialMediaWhereInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]},{\"name\":\"id\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"StringFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"instagram\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"StringFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"twitter\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"StringFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"user\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserRelationFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"UserWhereInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"userId\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"StringFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]}]},{\"name\":\"UserSocialMediaOrderByWithRelationInput\",\"constraints\":{\"maxNumFields\":1,\"minNumFields\":0},\"fields\":[{\"name\":\"id\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]},{\"name\":\"instagram\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]},{\"name\":\"twitter\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]},{\"name\":\"user\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserOrderByWithRelationInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"userId\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]}]},{\"name\":\"UserSocialMediaWhereUniqueInput\",\"constraints\":{\"maxNumFields\":1,\"minNumFields\":1},\"fields\":[{\"name\":\"id\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"userId\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]}]},{\"name\":\"UserSocialMediaOrderByWithAggregationInput\",\"constraints\":{\"maxNumFields\":1,\"minNumFields\":0},\"fields\":[{\"name\":\"id\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]},{\"name\":\"instagram\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]},{\"name\":\"twitter\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]},{\"name\":\"userId\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]},{\"name\":\"_count\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserSocialMediaCountOrderByAggregateInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"_max\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserSocialMediaMaxOrderByAggregateInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"_min\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserSocialMediaMinOrderByAggregateInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}]},{\"name\":\"UserSocialMediaScalarWhereWithAggregatesInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"AND\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserSocialMediaScalarWhereWithAggregatesInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"UserSocialMediaScalarWhereWithAggregatesInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]},{\"name\":\"OR\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserSocialMediaScalarWhereWithAggregatesInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]},{\"name\":\"NOT\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserSocialMediaScalarWhereWithAggregatesInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"UserSocialMediaScalarWhereWithAggregatesInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]},{\"name\":\"id\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"StringWithAggregatesFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"instagram\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"StringWithAggregatesFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"twitter\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"StringWithAggregatesFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"userId\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"StringWithAggregatesFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]}]},{\"name\":\"BlogPostWhereInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"AND\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostWhereInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"BlogPostWhereInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]},{\"name\":\"OR\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostWhereInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]},{\"name\":\"NOT\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostWhereInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"BlogPostWhereInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]},{\"name\":\"id\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"StringFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"title\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"StringFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"text\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"StringFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"author\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"UserRelationFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"UserWhereInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"authorId\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"StringNullableFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"comments\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostCommentListRelationFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}]},{\"name\":\"BlogPostOrderByWithRelationInput\",\"constraints\":{\"maxNumFields\":1,\"minNumFields\":0},\"fields\":[{\"name\":\"id\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]},{\"name\":\"title\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]},{\"name\":\"text\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]},{\"name\":\"author\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserOrderByWithRelationInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"authorId\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]},{\"name\":\"comments\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostCommentOrderByRelationAggregateInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}]},{\"name\":\"BlogPostWhereUniqueInput\",\"constraints\":{\"maxNumFields\":1,\"minNumFields\":1},\"fields\":[{\"name\":\"id\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]}]},{\"name\":\"BlogPostOrderByWithAggregationInput\",\"constraints\":{\"maxNumFields\":1,\"minNumFields\":0},\"fields\":[{\"name\":\"id\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]},{\"name\":\"title\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]},{\"name\":\"text\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]},{\"name\":\"authorId\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]},{\"name\":\"_count\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostCountOrderByAggregateInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"_max\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostMaxOrderByAggregateInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"_min\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostMinOrderByAggregateInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}]},{\"name\":\"BlogPostScalarWhereWithAggregatesInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"AND\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostScalarWhereWithAggregatesInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"BlogPostScalarWhereWithAggregatesInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]},{\"name\":\"OR\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostScalarWhereWithAggregatesInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]},{\"name\":\"NOT\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostScalarWhereWithAggregatesInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"BlogPostScalarWhereWithAggregatesInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]},{\"name\":\"id\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"StringWithAggregatesFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"title\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"StringWithAggregatesFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"text\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"StringWithAggregatesFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"authorId\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"StringNullableWithAggregatesFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]}]},{\"name\":\"BlogPostCommentWhereInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"AND\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostCommentWhereInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"BlogPostCommentWhereInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]},{\"name\":\"OR\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostCommentWhereInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]},{\"name\":\"NOT\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostCommentWhereInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"BlogPostCommentWhereInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]},{\"name\":\"id\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"StringFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"text\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"StringFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"post\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"BlogPostRelationFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"BlogPostWhereInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"postId\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"StringNullableFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"author\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"UserRelationFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"UserWhereInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"authorId\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"StringNullableFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]}]},{\"name\":\"BlogPostCommentOrderByWithRelationInput\",\"constraints\":{\"maxNumFields\":1,\"minNumFields\":0},\"fields\":[{\"name\":\"id\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]},{\"name\":\"text\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]},{\"name\":\"post\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostOrderByWithRelationInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"postId\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]},{\"name\":\"author\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserOrderByWithRelationInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"authorId\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]}]},{\"name\":\"BlogPostCommentWhereUniqueInput\",\"constraints\":{\"maxNumFields\":1,\"minNumFields\":1},\"fields\":[{\"name\":\"id\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]}]},{\"name\":\"BlogPostCommentOrderByWithAggregationInput\",\"constraints\":{\"maxNumFields\":1,\"minNumFields\":0},\"fields\":[{\"name\":\"id\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]},{\"name\":\"text\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]},{\"name\":\"postId\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]},{\"name\":\"authorId\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]},{\"name\":\"_count\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostCommentCountOrderByAggregateInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"_max\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostCommentMaxOrderByAggregateInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"_min\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostCommentMinOrderByAggregateInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}]},{\"name\":\"BlogPostCommentScalarWhereWithAggregatesInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"AND\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostCommentScalarWhereWithAggregatesInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"BlogPostCommentScalarWhereWithAggregatesInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]},{\"name\":\"OR\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostCommentScalarWhereWithAggregatesInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]},{\"name\":\"NOT\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostCommentScalarWhereWithAggregatesInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"BlogPostCommentScalarWhereWithAggregatesInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]},{\"name\":\"id\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"StringWithAggregatesFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"text\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"StringWithAggregatesFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"postId\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"StringNullableWithAggregatesFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"authorId\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"StringNullableWithAggregatesFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]}]},{\"name\":\"SiteWhereInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"AND\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SiteWhereInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"SiteWhereInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]},{\"name\":\"OR\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SiteWhereInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]},{\"name\":\"NOT\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SiteWhereInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"SiteWhereInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]},{\"name\":\"id\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"StringFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"name\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"StringFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"url\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"StringFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"owner\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"UserRelationFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"UserWhereInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"userId\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"StringNullableFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]}]},{\"name\":\"SiteOrderByWithRelationInput\",\"constraints\":{\"maxNumFields\":1,\"minNumFields\":0},\"fields\":[{\"name\":\"id\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]},{\"name\":\"name\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]},{\"name\":\"url\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]},{\"name\":\"owner\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserOrderByWithRelationInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"userId\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]}]},{\"name\":\"SiteWhereUniqueInput\",\"constraints\":{\"maxNumFields\":1,\"minNumFields\":1},\"fields\":[{\"name\":\"id\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"userId\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]}]},{\"name\":\"SiteOrderByWithAggregationInput\",\"constraints\":{\"maxNumFields\":1,\"minNumFields\":0},\"fields\":[{\"name\":\"id\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]},{\"name\":\"name\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]},{\"name\":\"url\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]},{\"name\":\"userId\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]},{\"name\":\"_count\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SiteCountOrderByAggregateInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"_max\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SiteMaxOrderByAggregateInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"_min\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SiteMinOrderByAggregateInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}]},{\"name\":\"SiteScalarWhereWithAggregatesInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"AND\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SiteScalarWhereWithAggregatesInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"SiteScalarWhereWithAggregatesInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]},{\"name\":\"OR\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SiteScalarWhereWithAggregatesInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]},{\"name\":\"NOT\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SiteScalarWhereWithAggregatesInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"SiteScalarWhereWithAggregatesInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]},{\"name\":\"id\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"StringWithAggregatesFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"name\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"StringWithAggregatesFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"url\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"StringWithAggregatesFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"userId\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"StringNullableWithAggregatesFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]}]},{\"name\":\"UserWhereInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"AND\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserWhereInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"UserWhereInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]},{\"name\":\"OR\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserWhereInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]},{\"name\":\"NOT\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserWhereInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"UserWhereInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]},{\"name\":\"id\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"StringFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"email\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"StringFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"roles\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserRoleListRelationFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"firstName\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"StringNullableFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"lastName\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"StringNullableFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"gender\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"EnumGenderNullableFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"Gender\",\"namespace\":\"model\",\"location\":\"enumTypes\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"yearOfBirth\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"IntNullableFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"wantsNewsletter\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BoolFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"Boolean\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"interests\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"EnumTopicNullableListFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"userSocialMedia\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"UserSocialMediaRelationFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"UserSocialMediaWhereInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"address\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"JsonNullableFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"blogPosts\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostListRelationFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"comments\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostCommentListRelationFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"companies\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"CompanyListRelationFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"weddingDate\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"DateTimeNullableFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"DateTime\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"site\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"SiteRelationFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"SiteWhereInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]}]},{\"name\":\"UserOrderByWithRelationInput\",\"constraints\":{\"maxNumFields\":1,\"minNumFields\":0},\"fields\":[{\"name\":\"id\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]},{\"name\":\"email\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]},{\"name\":\"roles\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserRoleOrderByRelationAggregateInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"firstName\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]},{\"name\":\"lastName\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]},{\"name\":\"gender\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]},{\"name\":\"yearOfBirth\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]},{\"name\":\"wantsNewsletter\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]},{\"name\":\"interests\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]},{\"name\":\"userSocialMedia\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserSocialMediaOrderByWithRelationInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"address\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]},{\"name\":\"blogPosts\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostOrderByRelationAggregateInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"comments\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostCommentOrderByRelationAggregateInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"companies\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"CompanyOrderByRelationAggregateInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"weddingDate\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]},{\"name\":\"site\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SiteOrderByWithRelationInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}]},{\"name\":\"UserWhereUniqueInput\",\"constraints\":{\"maxNumFields\":1,\"minNumFields\":1},\"fields\":[{\"name\":\"id\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"email\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]}]},{\"name\":\"UserOrderByWithAggregationInput\",\"constraints\":{\"maxNumFields\":1,\"minNumFields\":0},\"fields\":[{\"name\":\"id\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]},{\"name\":\"email\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]},{\"name\":\"firstName\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]},{\"name\":\"lastName\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]},{\"name\":\"gender\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]},{\"name\":\"yearOfBirth\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]},{\"name\":\"wantsNewsletter\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]},{\"name\":\"interests\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]},{\"name\":\"address\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]},{\"name\":\"weddingDate\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]},{\"name\":\"_count\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserCountOrderByAggregateInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"_avg\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserAvgOrderByAggregateInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"_max\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserMaxOrderByAggregateInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"_min\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserMinOrderByAggregateInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"_sum\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserSumOrderByAggregateInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}]},{\"name\":\"UserScalarWhereWithAggregatesInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"AND\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserScalarWhereWithAggregatesInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"UserScalarWhereWithAggregatesInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]},{\"name\":\"OR\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserScalarWhereWithAggregatesInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]},{\"name\":\"NOT\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserScalarWhereWithAggregatesInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"UserScalarWhereWithAggregatesInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]},{\"name\":\"id\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"StringWithAggregatesFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"email\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"StringWithAggregatesFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"firstName\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"StringNullableWithAggregatesFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"lastName\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"StringNullableWithAggregatesFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"gender\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"EnumGenderNullableWithAggregatesFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"Gender\",\"namespace\":\"model\",\"location\":\"enumTypes\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"yearOfBirth\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"IntNullableWithAggregatesFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"wantsNewsletter\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BoolWithAggregatesFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"Boolean\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"interests\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"EnumTopicNullableListFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"address\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"JsonNullableWithAggregatesFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"weddingDate\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"DateTimeNullableWithAggregatesFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"DateTime\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]}]},{\"name\":\"FilteringTestWhereInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"AND\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"FilteringTestWhereInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"FilteringTestWhereInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]},{\"name\":\"OR\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"FilteringTestWhereInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]},{\"name\":\"NOT\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"FilteringTestWhereInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"FilteringTestWhereInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]},{\"name\":\"id\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"IntFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"intField\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"IntFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"floatField\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"FloatFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"Float\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"stringField\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"StringFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"dateTimeField\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"DateTimeFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"DateTime\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"boolField\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BoolFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"Boolean\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"intField_lt\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"StringFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"intField_bt\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"IntFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"snake_field\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"IntFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"snake_field_bt\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"IntFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}]}]},{\"name\":\"FilteringTestOrderByWithRelationInput\",\"constraints\":{\"maxNumFields\":1,\"minNumFields\":0},\"fields\":[{\"name\":\"id\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]},{\"name\":\"intField\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]},{\"name\":\"floatField\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]},{\"name\":\"stringField\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]},{\"name\":\"dateTimeField\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]},{\"name\":\"boolField\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]},{\"name\":\"intField_lt\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]},{\"name\":\"intField_bt\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]},{\"name\":\"snake_field\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]},{\"name\":\"snake_field_bt\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]}]},{\"name\":\"FilteringTestWhereUniqueInput\",\"constraints\":{\"maxNumFields\":1,\"minNumFields\":1},\"fields\":[{\"name\":\"id\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}]}]},{\"name\":\"FilteringTestOrderByWithAggregationInput\",\"constraints\":{\"maxNumFields\":1,\"minNumFields\":0},\"fields\":[{\"name\":\"id\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]},{\"name\":\"intField\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]},{\"name\":\"floatField\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]},{\"name\":\"stringField\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]},{\"name\":\"dateTimeField\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]},{\"name\":\"boolField\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]},{\"name\":\"intField_lt\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]},{\"name\":\"intField_bt\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]},{\"name\":\"snake_field\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]},{\"name\":\"snake_field_bt\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]},{\"name\":\"_count\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"FilteringTestCountOrderByAggregateInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"_avg\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"FilteringTestAvgOrderByAggregateInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"_max\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"FilteringTestMaxOrderByAggregateInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"_min\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"FilteringTestMinOrderByAggregateInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"_sum\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"FilteringTestSumOrderByAggregateInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}]},{\"name\":\"FilteringTestScalarWhereWithAggregatesInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"AND\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"FilteringTestScalarWhereWithAggregatesInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"FilteringTestScalarWhereWithAggregatesInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]},{\"name\":\"OR\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"FilteringTestScalarWhereWithAggregatesInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]},{\"name\":\"NOT\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"FilteringTestScalarWhereWithAggregatesInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"FilteringTestScalarWhereWithAggregatesInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]},{\"name\":\"id\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"IntWithAggregatesFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"intField\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"IntWithAggregatesFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"floatField\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"FloatWithAggregatesFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"Float\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"stringField\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"StringWithAggregatesFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"dateTimeField\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"DateTimeWithAggregatesFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"DateTime\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"boolField\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BoolWithAggregatesFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"Boolean\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"intField_lt\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"StringWithAggregatesFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"intField_bt\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"IntWithAggregatesFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"snake_field\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"IntWithAggregatesFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"snake_field_bt\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"IntWithAggregatesFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}]}]},{\"name\":\"SomePublicRecordWithIntIdWhereInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"AND\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SomePublicRecordWithIntIdWhereInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"SomePublicRecordWithIntIdWhereInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]},{\"name\":\"OR\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SomePublicRecordWithIntIdWhereInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]},{\"name\":\"NOT\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SomePublicRecordWithIntIdWhereInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"SomePublicRecordWithIntIdWhereInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]},{\"name\":\"id\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"IntFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"title\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"StringFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]}]},{\"name\":\"SomePublicRecordWithIntIdOrderByWithRelationInput\",\"constraints\":{\"maxNumFields\":1,\"minNumFields\":0},\"fields\":[{\"name\":\"id\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]},{\"name\":\"title\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]}]},{\"name\":\"SomePublicRecordWithIntIdWhereUniqueInput\",\"constraints\":{\"maxNumFields\":1,\"minNumFields\":1},\"fields\":[{\"name\":\"id\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}]}]},{\"name\":\"SomePublicRecordWithIntIdOrderByWithAggregationInput\",\"constraints\":{\"maxNumFields\":1,\"minNumFields\":0},\"fields\":[{\"name\":\"id\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]},{\"name\":\"title\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]},{\"name\":\"_count\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SomePublicRecordWithIntIdCountOrderByAggregateInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"_avg\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SomePublicRecordWithIntIdAvgOrderByAggregateInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"_max\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SomePublicRecordWithIntIdMaxOrderByAggregateInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"_min\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SomePublicRecordWithIntIdMinOrderByAggregateInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"_sum\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SomePublicRecordWithIntIdSumOrderByAggregateInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}]},{\"name\":\"SomePublicRecordWithIntIdScalarWhereWithAggregatesInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"AND\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SomePublicRecordWithIntIdScalarWhereWithAggregatesInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"SomePublicRecordWithIntIdScalarWhereWithAggregatesInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]},{\"name\":\"OR\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SomePublicRecordWithIntIdScalarWhereWithAggregatesInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]},{\"name\":\"NOT\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SomePublicRecordWithIntIdScalarWhereWithAggregatesInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"SomePublicRecordWithIntIdScalarWhereWithAggregatesInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]},{\"name\":\"id\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"IntWithAggregatesFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"title\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"StringWithAggregatesFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]}]},{\"name\":\"UserRoleCreateInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"id\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"name\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"users\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserCreateNestedManyWithoutRolesInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}]},{\"name\":\"UserRoleUncheckedCreateInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"id\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"name\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"users\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserUncheckedCreateNestedManyWithoutRolesInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}]},{\"name\":\"UserRoleUpdateInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"id\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"StringFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"name\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"StringFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"users\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserUpdateManyWithoutRolesInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}]},{\"name\":\"UserRoleUncheckedUpdateInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"id\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"StringFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"name\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"StringFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"users\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserUncheckedUpdateManyWithoutRolesInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}]},{\"name\":\"UserRoleCreateManyInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"id\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"name\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]}]},{\"name\":\"UserRoleUpdateManyMutationInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"id\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"StringFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"name\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"StringFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}]},{\"name\":\"UserRoleUncheckedUpdateManyInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"id\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"StringFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"name\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"StringFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}]},{\"name\":\"CompanyCreateInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"id\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"name\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"user\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserCreateNestedOneWithoutCompaniesInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}]},{\"name\":\"CompanyUncheckedCreateInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"id\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"name\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"userId\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]}]},{\"name\":\"CompanyUpdateInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"id\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"StringFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"name\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"StringFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"user\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserUpdateOneRequiredWithoutCompaniesInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}]},{\"name\":\"CompanyUncheckedUpdateInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"id\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"StringFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"name\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"StringFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"userId\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"StringFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}]},{\"name\":\"CompanyCreateManyInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"id\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"name\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"userId\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]}]},{\"name\":\"CompanyUpdateManyMutationInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"id\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"StringFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"name\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"StringFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}]},{\"name\":\"CompanyUncheckedUpdateManyInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"id\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"StringFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"name\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"StringFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"userId\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"StringFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}]},{\"name\":\"UserSocialMediaCreateInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"id\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"instagram\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"twitter\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"user\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserCreateNestedOneWithoutUserSocialMediaInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}]},{\"name\":\"UserSocialMediaUncheckedCreateInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"id\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"instagram\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"twitter\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"userId\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]}]},{\"name\":\"UserSocialMediaUpdateInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"id\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"StringFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"instagram\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"StringFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"twitter\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"StringFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"user\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserUpdateOneRequiredWithoutUserSocialMediaInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}]},{\"name\":\"UserSocialMediaUncheckedUpdateInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"id\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"StringFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"instagram\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"StringFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"twitter\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"StringFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"userId\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"StringFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}]},{\"name\":\"UserSocialMediaCreateManyInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"id\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"instagram\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"twitter\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"userId\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]}]},{\"name\":\"UserSocialMediaUpdateManyMutationInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"id\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"StringFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"instagram\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"StringFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"twitter\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"StringFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}]},{\"name\":\"UserSocialMediaUncheckedUpdateManyInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"id\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"StringFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"instagram\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"StringFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"twitter\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"StringFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"userId\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"StringFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}]},{\"name\":\"BlogPostCreateInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"id\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"title\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"text\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"author\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserCreateNestedOneWithoutBlogPostsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"comments\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostCommentCreateNestedManyWithoutPostInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}]},{\"name\":\"BlogPostUncheckedCreateInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"id\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"title\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"text\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"authorId\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"comments\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostCommentUncheckedCreateNestedManyWithoutPostInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}]},{\"name\":\"BlogPostUpdateInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"id\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"StringFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"title\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"StringFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"text\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"StringFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"author\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserUpdateOneWithoutBlogPostsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"comments\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostCommentUpdateManyWithoutPostInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}]},{\"name\":\"BlogPostUncheckedUpdateInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"id\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"StringFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"title\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"StringFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"text\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"StringFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"authorId\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"NullableStringFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"comments\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostCommentUncheckedUpdateManyWithoutPostInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}]},{\"name\":\"BlogPostCreateManyInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"id\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"title\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"text\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"authorId\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]}]},{\"name\":\"BlogPostUpdateManyMutationInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"id\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"StringFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"title\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"StringFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"text\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"StringFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}]},{\"name\":\"BlogPostUncheckedUpdateManyInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"id\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"StringFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"title\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"StringFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"text\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"StringFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"authorId\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"NullableStringFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]}]},{\"name\":\"BlogPostCommentCreateInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"id\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"text\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"post\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostCreateNestedOneWithoutCommentsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"author\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserCreateNestedOneWithoutCommentsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}]},{\"name\":\"BlogPostCommentUncheckedCreateInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"id\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"text\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"postId\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"authorId\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]}]},{\"name\":\"BlogPostCommentUpdateInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"id\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"StringFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"text\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"StringFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"post\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostUpdateOneWithoutCommentsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"author\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserUpdateOneWithoutCommentsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}]},{\"name\":\"BlogPostCommentUncheckedUpdateInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"id\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"StringFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"text\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"StringFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"postId\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"NullableStringFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"authorId\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"NullableStringFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]}]},{\"name\":\"BlogPostCommentCreateManyInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"id\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"text\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"postId\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"authorId\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]}]},{\"name\":\"BlogPostCommentUpdateManyMutationInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"id\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"StringFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"text\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"StringFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}]},{\"name\":\"BlogPostCommentUncheckedUpdateManyInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"id\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"StringFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"text\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"StringFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"postId\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"NullableStringFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"authorId\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"NullableStringFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]}]},{\"name\":\"SiteCreateInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"id\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"name\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"url\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"owner\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserCreateNestedOneWithoutSiteInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}]},{\"name\":\"SiteUncheckedCreateInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"id\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"name\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"url\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"userId\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]}]},{\"name\":\"SiteUpdateInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"id\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"StringFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"name\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"StringFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"url\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"StringFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"owner\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserUpdateOneWithoutSiteInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}]},{\"name\":\"SiteUncheckedUpdateInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"id\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"StringFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"name\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"StringFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"url\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"StringFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"userId\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"NullableStringFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]}]},{\"name\":\"SiteCreateManyInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"id\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"name\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"url\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"userId\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]}]},{\"name\":\"SiteUpdateManyMutationInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"id\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"StringFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"name\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"StringFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"url\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"StringFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}]},{\"name\":\"SiteUncheckedUpdateManyInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"id\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"StringFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"name\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"StringFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"url\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"StringFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"userId\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"NullableStringFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]}]},{\"name\":\"UserCreateInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"id\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"email\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"roles\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserRoleCreateNestedManyWithoutUsersInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"firstName\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"lastName\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"gender\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"Gender\",\"namespace\":\"model\",\"location\":\"enumTypes\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"yearOfBirth\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"wantsNewsletter\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Boolean\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"interests\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserCreateinterestsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"Topic\",\"namespace\":\"model\",\"location\":\"enumTypes\",\"isList\":true}]},{\"name\":\"userSocialMedia\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserSocialMediaCreateNestedOneWithoutUserInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"address\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"NullableJsonNullValueInput\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false},{\"type\":\"Json\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"blogPosts\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostCreateNestedManyWithoutAuthorInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"comments\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostCommentCreateNestedManyWithoutAuthorInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"companies\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"CompanyCreateNestedManyWithoutUserInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"weddingDate\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"DateTime\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"site\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SiteCreateNestedOneWithoutOwnerInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}]},{\"name\":\"UserUncheckedCreateInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"id\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"email\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"roles\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserRoleUncheckedCreateNestedManyWithoutUsersInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"firstName\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"lastName\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"gender\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"Gender\",\"namespace\":\"model\",\"location\":\"enumTypes\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"yearOfBirth\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"wantsNewsletter\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Boolean\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"interests\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserCreateinterestsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"Topic\",\"namespace\":\"model\",\"location\":\"enumTypes\",\"isList\":true}]},{\"name\":\"userSocialMedia\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserSocialMediaUncheckedCreateNestedOneWithoutUserInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"address\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"NullableJsonNullValueInput\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false},{\"type\":\"Json\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"blogPosts\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostUncheckedCreateNestedManyWithoutAuthorInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"comments\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostCommentUncheckedCreateNestedManyWithoutAuthorInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"companies\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"CompanyUncheckedCreateNestedManyWithoutUserInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"weddingDate\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"DateTime\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"site\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SiteUncheckedCreateNestedOneWithoutOwnerInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}]},{\"name\":\"UserUpdateInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"id\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"StringFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"email\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"StringFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"roles\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserRoleUpdateManyWithoutUsersInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"firstName\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"NullableStringFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"lastName\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"NullableStringFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"gender\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"Gender\",\"namespace\":\"model\",\"location\":\"enumTypes\",\"isList\":false},{\"type\":\"NullableEnumGenderFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"yearOfBirth\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"NullableIntFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"wantsNewsletter\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Boolean\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"BoolFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"interests\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserUpdateinterestsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"Topic\",\"namespace\":\"model\",\"location\":\"enumTypes\",\"isList\":true}]},{\"name\":\"userSocialMedia\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserSocialMediaUpdateOneWithoutUserInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"address\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"NullableJsonNullValueInput\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false},{\"type\":\"Json\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"blogPosts\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostUpdateManyWithoutAuthorInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"comments\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostCommentUpdateManyWithoutAuthorInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"companies\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"CompanyUpdateManyWithoutUserInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"weddingDate\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"DateTime\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"NullableDateTimeFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"site\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SiteUpdateOneWithoutOwnerInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}]},{\"name\":\"UserUncheckedUpdateInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"id\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"StringFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"email\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"StringFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"roles\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserRoleUncheckedUpdateManyWithoutUsersInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"firstName\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"NullableStringFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"lastName\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"NullableStringFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"gender\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"Gender\",\"namespace\":\"model\",\"location\":\"enumTypes\",\"isList\":false},{\"type\":\"NullableEnumGenderFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"yearOfBirth\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"NullableIntFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"wantsNewsletter\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Boolean\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"BoolFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"interests\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserUpdateinterestsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"Topic\",\"namespace\":\"model\",\"location\":\"enumTypes\",\"isList\":true}]},{\"name\":\"userSocialMedia\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserSocialMediaUncheckedUpdateOneWithoutUserInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"address\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"NullableJsonNullValueInput\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false},{\"type\":\"Json\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"blogPosts\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostUncheckedUpdateManyWithoutAuthorInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"comments\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostCommentUncheckedUpdateManyWithoutAuthorInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"companies\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"CompanyUncheckedUpdateManyWithoutUserInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"weddingDate\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"DateTime\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"NullableDateTimeFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"site\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SiteUncheckedUpdateOneWithoutOwnerInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}]},{\"name\":\"UserCreateManyInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"id\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"email\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"firstName\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"lastName\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"gender\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"Gender\",\"namespace\":\"model\",\"location\":\"enumTypes\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"yearOfBirth\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"wantsNewsletter\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Boolean\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"interests\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserCreateinterestsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"Topic\",\"namespace\":\"model\",\"location\":\"enumTypes\",\"isList\":true}]},{\"name\":\"address\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"NullableJsonNullValueInput\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false},{\"type\":\"Json\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"weddingDate\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"DateTime\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]}]},{\"name\":\"UserUpdateManyMutationInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"id\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"StringFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"email\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"StringFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"firstName\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"NullableStringFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"lastName\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"NullableStringFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"gender\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"Gender\",\"namespace\":\"model\",\"location\":\"enumTypes\",\"isList\":false},{\"type\":\"NullableEnumGenderFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"yearOfBirth\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"NullableIntFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"wantsNewsletter\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Boolean\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"BoolFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"interests\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserUpdateinterestsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"Topic\",\"namespace\":\"model\",\"location\":\"enumTypes\",\"isList\":true}]},{\"name\":\"address\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"NullableJsonNullValueInput\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false},{\"type\":\"Json\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"weddingDate\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"DateTime\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"NullableDateTimeFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]}]},{\"name\":\"UserUncheckedUpdateManyInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"id\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"StringFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"email\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"StringFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"firstName\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"NullableStringFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"lastName\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"NullableStringFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"gender\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"Gender\",\"namespace\":\"model\",\"location\":\"enumTypes\",\"isList\":false},{\"type\":\"NullableEnumGenderFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"yearOfBirth\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"NullableIntFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"wantsNewsletter\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Boolean\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"BoolFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"interests\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserUpdateinterestsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"Topic\",\"namespace\":\"model\",\"location\":\"enumTypes\",\"isList\":true}]},{\"name\":\"address\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"NullableJsonNullValueInput\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false},{\"type\":\"Json\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"weddingDate\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"DateTime\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"NullableDateTimeFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]}]},{\"name\":\"FilteringTestCreateInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"intField\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"floatField\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Float\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"stringField\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"dateTimeField\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"DateTime\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"boolField\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Boolean\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"intField_lt\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"intField_bt\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"snake_field\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"snake_field_bt\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}]}]},{\"name\":\"FilteringTestUncheckedCreateInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"id\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"intField\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"floatField\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Float\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"stringField\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"dateTimeField\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"DateTime\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"boolField\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Boolean\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"intField_lt\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"intField_bt\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"snake_field\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"snake_field_bt\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}]}]},{\"name\":\"FilteringTestUpdateInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"intField\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"IntFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"floatField\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Float\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"FloatFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"stringField\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"StringFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"dateTimeField\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"DateTime\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"DateTimeFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"boolField\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Boolean\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"BoolFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"intField_lt\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"StringFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"intField_bt\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"IntFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"snake_field\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"IntFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"snake_field_bt\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"IntFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}]},{\"name\":\"FilteringTestUncheckedUpdateInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"id\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"IntFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"intField\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"IntFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"floatField\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Float\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"FloatFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"stringField\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"StringFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"dateTimeField\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"DateTime\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"DateTimeFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"boolField\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Boolean\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"BoolFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"intField_lt\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"StringFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"intField_bt\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"IntFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"snake_field\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"IntFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"snake_field_bt\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"IntFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}]},{\"name\":\"FilteringTestCreateManyInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"id\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"intField\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"floatField\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Float\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"stringField\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"dateTimeField\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"DateTime\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"boolField\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Boolean\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"intField_lt\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"intField_bt\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"snake_field\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"snake_field_bt\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}]}]},{\"name\":\"FilteringTestUpdateManyMutationInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"intField\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"IntFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"floatField\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Float\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"FloatFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"stringField\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"StringFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"dateTimeField\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"DateTime\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"DateTimeFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"boolField\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Boolean\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"BoolFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"intField_lt\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"StringFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"intField_bt\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"IntFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"snake_field\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"IntFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"snake_field_bt\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"IntFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}]},{\"name\":\"FilteringTestUncheckedUpdateManyInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"id\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"IntFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"intField\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"IntFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"floatField\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Float\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"FloatFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"stringField\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"StringFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"dateTimeField\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"DateTime\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"DateTimeFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"boolField\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Boolean\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"BoolFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"intField_lt\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"StringFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"intField_bt\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"IntFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"snake_field\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"IntFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"snake_field_bt\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"IntFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}]},{\"name\":\"SomePublicRecordWithIntIdCreateInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"title\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]}]},{\"name\":\"SomePublicRecordWithIntIdUncheckedCreateInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"id\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"title\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]}]},{\"name\":\"SomePublicRecordWithIntIdUpdateInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"title\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"StringFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}]},{\"name\":\"SomePublicRecordWithIntIdUncheckedUpdateInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"id\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"IntFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"title\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"StringFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}]},{\"name\":\"SomePublicRecordWithIntIdCreateManyInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"id\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"title\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]}]},{\"name\":\"SomePublicRecordWithIntIdUpdateManyMutationInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"title\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"StringFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}]},{\"name\":\"SomePublicRecordWithIntIdUncheckedUpdateManyInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"id\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"IntFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"title\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"StringFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}]},{\"name\":\"StringFilter\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"equals\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"in\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":true}]},{\"name\":\"notIn\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":true}]},{\"name\":\"lt\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"lte\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"gt\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"gte\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"contains\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"startsWith\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"endsWith\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"mode\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"QueryMode\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]},{\"name\":\"not\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"NestedStringFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}]},{\"name\":\"UserListRelationFilter\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"every\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserWhereInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"some\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserWhereInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"none\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserWhereInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}]},{\"name\":\"UserOrderByRelationAggregateInput\",\"constraints\":{\"maxNumFields\":1,\"minNumFields\":1},\"fields\":[{\"name\":\"_count\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]}]},{\"name\":\"UserRoleCountOrderByAggregateInput\",\"constraints\":{\"maxNumFields\":1,\"minNumFields\":1},\"fields\":[{\"name\":\"id\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]},{\"name\":\"name\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]}]},{\"name\":\"UserRoleMaxOrderByAggregateInput\",\"constraints\":{\"maxNumFields\":1,\"minNumFields\":1},\"fields\":[{\"name\":\"id\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]},{\"name\":\"name\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]}]},{\"name\":\"UserRoleMinOrderByAggregateInput\",\"constraints\":{\"maxNumFields\":1,\"minNumFields\":1},\"fields\":[{\"name\":\"id\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]},{\"name\":\"name\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]}]},{\"name\":\"StringWithAggregatesFilter\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"equals\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"in\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":true}]},{\"name\":\"notIn\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":true}]},{\"name\":\"lt\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"lte\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"gt\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"gte\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"contains\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"startsWith\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"endsWith\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"mode\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"QueryMode\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]},{\"name\":\"not\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"NestedStringWithAggregatesFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"_count\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"NestedIntFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"_min\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"NestedStringFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"_max\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"NestedStringFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}]},{\"name\":\"UserRelationFilter\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"is\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserWhereInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"isNot\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserWhereInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}]},{\"name\":\"CompanyCountOrderByAggregateInput\",\"constraints\":{\"maxNumFields\":1,\"minNumFields\":1},\"fields\":[{\"name\":\"id\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]},{\"name\":\"name\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]},{\"name\":\"userId\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]}]},{\"name\":\"CompanyMaxOrderByAggregateInput\",\"constraints\":{\"maxNumFields\":1,\"minNumFields\":1},\"fields\":[{\"name\":\"id\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]},{\"name\":\"name\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]},{\"name\":\"userId\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]}]},{\"name\":\"CompanyMinOrderByAggregateInput\",\"constraints\":{\"maxNumFields\":1,\"minNumFields\":1},\"fields\":[{\"name\":\"id\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]},{\"name\":\"name\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]},{\"name\":\"userId\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]}]},{\"name\":\"UserSocialMediaCountOrderByAggregateInput\",\"constraints\":{\"maxNumFields\":1,\"minNumFields\":1},\"fields\":[{\"name\":\"id\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]},{\"name\":\"instagram\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]},{\"name\":\"twitter\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]},{\"name\":\"userId\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]}]},{\"name\":\"UserSocialMediaMaxOrderByAggregateInput\",\"constraints\":{\"maxNumFields\":1,\"minNumFields\":1},\"fields\":[{\"name\":\"id\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]},{\"name\":\"instagram\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]},{\"name\":\"twitter\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]},{\"name\":\"userId\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]}]},{\"name\":\"UserSocialMediaMinOrderByAggregateInput\",\"constraints\":{\"maxNumFields\":1,\"minNumFields\":1},\"fields\":[{\"name\":\"id\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]},{\"name\":\"instagram\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]},{\"name\":\"twitter\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]},{\"name\":\"userId\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]}]},{\"name\":\"StringNullableFilter\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"equals\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"in\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":true},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"notIn\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":true},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"lt\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"lte\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"gt\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"gte\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"contains\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"startsWith\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"endsWith\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"mode\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"QueryMode\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]},{\"name\":\"not\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"NestedStringNullableFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]}]},{\"name\":\"BlogPostCommentListRelationFilter\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"every\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostCommentWhereInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"some\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostCommentWhereInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"none\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostCommentWhereInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}]},{\"name\":\"BlogPostCommentOrderByRelationAggregateInput\",\"constraints\":{\"maxNumFields\":1,\"minNumFields\":1},\"fields\":[{\"name\":\"_count\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]}]},{\"name\":\"BlogPostCountOrderByAggregateInput\",\"constraints\":{\"maxNumFields\":1,\"minNumFields\":1},\"fields\":[{\"name\":\"id\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]},{\"name\":\"title\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]},{\"name\":\"text\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]},{\"name\":\"authorId\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]}]},{\"name\":\"BlogPostMaxOrderByAggregateInput\",\"constraints\":{\"maxNumFields\":1,\"minNumFields\":1},\"fields\":[{\"name\":\"id\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]},{\"name\":\"title\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]},{\"name\":\"text\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]},{\"name\":\"authorId\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]}]},{\"name\":\"BlogPostMinOrderByAggregateInput\",\"constraints\":{\"maxNumFields\":1,\"minNumFields\":1},\"fields\":[{\"name\":\"id\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]},{\"name\":\"title\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]},{\"name\":\"text\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]},{\"name\":\"authorId\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]}]},{\"name\":\"StringNullableWithAggregatesFilter\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"equals\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"in\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":true},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"notIn\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":true},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"lt\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"lte\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"gt\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"gte\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"contains\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"startsWith\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"endsWith\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"mode\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"QueryMode\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]},{\"name\":\"not\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"NestedStringNullableWithAggregatesFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"_count\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"NestedIntNullableFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"_min\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"NestedStringNullableFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"_max\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"NestedStringNullableFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}]},{\"name\":\"BlogPostRelationFilter\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"is\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"BlogPostWhereInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"isNot\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"BlogPostWhereInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]}]},{\"name\":\"BlogPostCommentCountOrderByAggregateInput\",\"constraints\":{\"maxNumFields\":1,\"minNumFields\":1},\"fields\":[{\"name\":\"id\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]},{\"name\":\"text\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]},{\"name\":\"postId\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]},{\"name\":\"authorId\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]}]},{\"name\":\"BlogPostCommentMaxOrderByAggregateInput\",\"constraints\":{\"maxNumFields\":1,\"minNumFields\":1},\"fields\":[{\"name\":\"id\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]},{\"name\":\"text\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]},{\"name\":\"postId\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]},{\"name\":\"authorId\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]}]},{\"name\":\"BlogPostCommentMinOrderByAggregateInput\",\"constraints\":{\"maxNumFields\":1,\"minNumFields\":1},\"fields\":[{\"name\":\"id\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]},{\"name\":\"text\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]},{\"name\":\"postId\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]},{\"name\":\"authorId\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]}]},{\"name\":\"SiteCountOrderByAggregateInput\",\"constraints\":{\"maxNumFields\":1,\"minNumFields\":1},\"fields\":[{\"name\":\"id\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]},{\"name\":\"name\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]},{\"name\":\"url\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]},{\"name\":\"userId\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]}]},{\"name\":\"SiteMaxOrderByAggregateInput\",\"constraints\":{\"maxNumFields\":1,\"minNumFields\":1},\"fields\":[{\"name\":\"id\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]},{\"name\":\"name\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]},{\"name\":\"url\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]},{\"name\":\"userId\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]}]},{\"name\":\"SiteMinOrderByAggregateInput\",\"constraints\":{\"maxNumFields\":1,\"minNumFields\":1},\"fields\":[{\"name\":\"id\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]},{\"name\":\"name\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]},{\"name\":\"url\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]},{\"name\":\"userId\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]}]},{\"name\":\"UserRoleListRelationFilter\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"every\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserRoleWhereInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"some\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserRoleWhereInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"none\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserRoleWhereInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}]},{\"name\":\"EnumGenderNullableFilter\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"equals\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"Gender\",\"namespace\":\"model\",\"location\":\"enumTypes\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"in\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"Gender\",\"namespace\":\"model\",\"location\":\"enumTypes\",\"isList\":true},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"notIn\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"Gender\",\"namespace\":\"model\",\"location\":\"enumTypes\",\"isList\":true},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"not\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"Gender\",\"namespace\":\"model\",\"location\":\"enumTypes\",\"isList\":false},{\"type\":\"NestedEnumGenderNullableFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]}]},{\"name\":\"IntNullableFilter\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"equals\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"in\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":true},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"notIn\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":true},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"lt\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"lte\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"gt\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"gte\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"not\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"NestedIntNullableFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]}]},{\"name\":\"BoolFilter\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"equals\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Boolean\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"not\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Boolean\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"NestedBoolFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}]},{\"name\":\"EnumTopicNullableListFilter\",\"constraints\":{\"maxNumFields\":1,\"minNumFields\":1},\"fields\":[{\"name\":\"equals\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"Topic\",\"namespace\":\"model\",\"location\":\"enumTypes\",\"isList\":true},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"has\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"Topic\",\"namespace\":\"model\",\"location\":\"enumTypes\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"hasEvery\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Topic\",\"namespace\":\"model\",\"location\":\"enumTypes\",\"isList\":true}]},{\"name\":\"hasSome\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Topic\",\"namespace\":\"model\",\"location\":\"enumTypes\",\"isList\":true}]},{\"name\":\"isEmpty\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Boolean\",\"location\":\"scalar\",\"isList\":false}]}]},{\"name\":\"UserSocialMediaRelationFilter\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"is\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"UserSocialMediaWhereInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"isNot\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"UserSocialMediaWhereInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]}]},{\"name\":\"JsonNullableFilter\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"equals\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"JsonNullValueFilter\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false},{\"type\":\"Json\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"not\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"JsonNullValueFilter\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false},{\"type\":\"Json\",\"location\":\"scalar\",\"isList\":false}]}]},{\"name\":\"BlogPostListRelationFilter\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"every\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostWhereInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"some\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostWhereInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"none\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostWhereInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}]},{\"name\":\"CompanyListRelationFilter\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"every\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"CompanyWhereInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"some\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"CompanyWhereInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"none\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"CompanyWhereInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}]},{\"name\":\"DateTimeNullableFilter\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"equals\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"DateTime\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"in\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"DateTime\",\"location\":\"scalar\",\"isList\":true},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"notIn\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"DateTime\",\"location\":\"scalar\",\"isList\":true},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"lt\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"DateTime\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"lte\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"DateTime\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"gt\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"DateTime\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"gte\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"DateTime\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"not\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"DateTime\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"NestedDateTimeNullableFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]}]},{\"name\":\"SiteRelationFilter\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"is\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"SiteWhereInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"isNot\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"SiteWhereInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]}]},{\"name\":\"UserRoleOrderByRelationAggregateInput\",\"constraints\":{\"maxNumFields\":1,\"minNumFields\":1},\"fields\":[{\"name\":\"_count\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]}]},{\"name\":\"BlogPostOrderByRelationAggregateInput\",\"constraints\":{\"maxNumFields\":1,\"minNumFields\":1},\"fields\":[{\"name\":\"_count\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]}]},{\"name\":\"CompanyOrderByRelationAggregateInput\",\"constraints\":{\"maxNumFields\":1,\"minNumFields\":1},\"fields\":[{\"name\":\"_count\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]}]},{\"name\":\"UserCountOrderByAggregateInput\",\"constraints\":{\"maxNumFields\":1,\"minNumFields\":1},\"fields\":[{\"name\":\"id\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]},{\"name\":\"email\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]},{\"name\":\"firstName\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]},{\"name\":\"lastName\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]},{\"name\":\"gender\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]},{\"name\":\"yearOfBirth\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]},{\"name\":\"wantsNewsletter\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]},{\"name\":\"interests\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]},{\"name\":\"address\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]},{\"name\":\"weddingDate\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]}]},{\"name\":\"UserAvgOrderByAggregateInput\",\"constraints\":{\"maxNumFields\":1,\"minNumFields\":1},\"fields\":[{\"name\":\"yearOfBirth\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]}]},{\"name\":\"UserMaxOrderByAggregateInput\",\"constraints\":{\"maxNumFields\":1,\"minNumFields\":1},\"fields\":[{\"name\":\"id\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]},{\"name\":\"email\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]},{\"name\":\"firstName\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]},{\"name\":\"lastName\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]},{\"name\":\"gender\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]},{\"name\":\"yearOfBirth\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]},{\"name\":\"wantsNewsletter\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]},{\"name\":\"weddingDate\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]}]},{\"name\":\"UserMinOrderByAggregateInput\",\"constraints\":{\"maxNumFields\":1,\"minNumFields\":1},\"fields\":[{\"name\":\"id\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]},{\"name\":\"email\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]},{\"name\":\"firstName\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]},{\"name\":\"lastName\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]},{\"name\":\"gender\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]},{\"name\":\"yearOfBirth\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]},{\"name\":\"wantsNewsletter\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]},{\"name\":\"weddingDate\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]}]},{\"name\":\"UserSumOrderByAggregateInput\",\"constraints\":{\"maxNumFields\":1,\"minNumFields\":1},\"fields\":[{\"name\":\"yearOfBirth\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]}]},{\"name\":\"EnumGenderNullableWithAggregatesFilter\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"equals\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"Gender\",\"namespace\":\"model\",\"location\":\"enumTypes\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"in\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"Gender\",\"namespace\":\"model\",\"location\":\"enumTypes\",\"isList\":true},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"notIn\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"Gender\",\"namespace\":\"model\",\"location\":\"enumTypes\",\"isList\":true},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"not\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"Gender\",\"namespace\":\"model\",\"location\":\"enumTypes\",\"isList\":false},{\"type\":\"NestedEnumGenderNullableWithAggregatesFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"_count\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"NestedIntNullableFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"_min\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"NestedEnumGenderNullableFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"_max\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"NestedEnumGenderNullableFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}]},{\"name\":\"IntNullableWithAggregatesFilter\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"equals\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"in\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":true},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"notIn\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":true},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"lt\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"lte\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"gt\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"gte\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"not\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"NestedIntNullableWithAggregatesFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"_count\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"NestedIntNullableFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"_avg\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"NestedFloatNullableFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"_sum\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"NestedIntNullableFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"_min\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"NestedIntNullableFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"_max\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"NestedIntNullableFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}]},{\"name\":\"BoolWithAggregatesFilter\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"equals\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Boolean\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"not\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Boolean\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"NestedBoolWithAggregatesFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"_count\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"NestedIntFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"_min\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"NestedBoolFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"_max\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"NestedBoolFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}]},{\"name\":\"JsonNullableWithAggregatesFilter\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"equals\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"JsonNullValueFilter\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false},{\"type\":\"Json\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"not\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"JsonNullValueFilter\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false},{\"type\":\"Json\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"_count\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"NestedIntNullableFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"_min\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"NestedJsonNullableFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"_max\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"NestedJsonNullableFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}]},{\"name\":\"DateTimeNullableWithAggregatesFilter\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"equals\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"DateTime\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"in\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"DateTime\",\"location\":\"scalar\",\"isList\":true},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"notIn\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"DateTime\",\"location\":\"scalar\",\"isList\":true},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"lt\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"DateTime\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"lte\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"DateTime\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"gt\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"DateTime\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"gte\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"DateTime\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"not\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"DateTime\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"NestedDateTimeNullableWithAggregatesFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"_count\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"NestedIntNullableFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"_min\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"NestedDateTimeNullableFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"_max\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"NestedDateTimeNullableFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}]},{\"name\":\"IntFilter\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"equals\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"in\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":true}]},{\"name\":\"notIn\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":true}]},{\"name\":\"lt\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"lte\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"gt\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"gte\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"not\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"NestedIntFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}]},{\"name\":\"FloatFilter\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"equals\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Float\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"in\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Float\",\"location\":\"scalar\",\"isList\":true}]},{\"name\":\"notIn\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Float\",\"location\":\"scalar\",\"isList\":true}]},{\"name\":\"lt\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Float\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"lte\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Float\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"gt\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Float\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"gte\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Float\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"not\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Float\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"NestedFloatFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}]},{\"name\":\"DateTimeFilter\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"equals\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"DateTime\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"in\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"DateTime\",\"location\":\"scalar\",\"isList\":true}]},{\"name\":\"notIn\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"DateTime\",\"location\":\"scalar\",\"isList\":true}]},{\"name\":\"lt\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"DateTime\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"lte\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"DateTime\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"gt\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"DateTime\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"gte\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"DateTime\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"not\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"DateTime\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"NestedDateTimeFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}]},{\"name\":\"FilteringTestCountOrderByAggregateInput\",\"constraints\":{\"maxNumFields\":1,\"minNumFields\":1},\"fields\":[{\"name\":\"id\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]},{\"name\":\"intField\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]},{\"name\":\"floatField\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]},{\"name\":\"stringField\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]},{\"name\":\"dateTimeField\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]},{\"name\":\"boolField\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]},{\"name\":\"intField_lt\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]},{\"name\":\"intField_bt\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]},{\"name\":\"snake_field\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]},{\"name\":\"snake_field_bt\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]}]},{\"name\":\"FilteringTestAvgOrderByAggregateInput\",\"constraints\":{\"maxNumFields\":1,\"minNumFields\":1},\"fields\":[{\"name\":\"id\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]},{\"name\":\"intField\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]},{\"name\":\"floatField\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]},{\"name\":\"intField_bt\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]},{\"name\":\"snake_field\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]},{\"name\":\"snake_field_bt\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]}]},{\"name\":\"FilteringTestMaxOrderByAggregateInput\",\"constraints\":{\"maxNumFields\":1,\"minNumFields\":1},\"fields\":[{\"name\":\"id\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]},{\"name\":\"intField\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]},{\"name\":\"floatField\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]},{\"name\":\"stringField\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]},{\"name\":\"dateTimeField\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]},{\"name\":\"boolField\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]},{\"name\":\"intField_lt\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]},{\"name\":\"intField_bt\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]},{\"name\":\"snake_field\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]},{\"name\":\"snake_field_bt\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]}]},{\"name\":\"FilteringTestMinOrderByAggregateInput\",\"constraints\":{\"maxNumFields\":1,\"minNumFields\":1},\"fields\":[{\"name\":\"id\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]},{\"name\":\"intField\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]},{\"name\":\"floatField\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]},{\"name\":\"stringField\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]},{\"name\":\"dateTimeField\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]},{\"name\":\"boolField\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]},{\"name\":\"intField_lt\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]},{\"name\":\"intField_bt\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]},{\"name\":\"snake_field\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]},{\"name\":\"snake_field_bt\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]}]},{\"name\":\"FilteringTestSumOrderByAggregateInput\",\"constraints\":{\"maxNumFields\":1,\"minNumFields\":1},\"fields\":[{\"name\":\"id\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]},{\"name\":\"intField\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]},{\"name\":\"floatField\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]},{\"name\":\"intField_bt\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]},{\"name\":\"snake_field\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]},{\"name\":\"snake_field_bt\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]}]},{\"name\":\"IntWithAggregatesFilter\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"equals\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"in\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":true}]},{\"name\":\"notIn\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":true}]},{\"name\":\"lt\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"lte\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"gt\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"gte\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"not\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"NestedIntWithAggregatesFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"_count\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"NestedIntFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"_avg\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"NestedFloatFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"_sum\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"NestedIntFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"_min\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"NestedIntFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"_max\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"NestedIntFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}]},{\"name\":\"FloatWithAggregatesFilter\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"equals\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Float\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"in\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Float\",\"location\":\"scalar\",\"isList\":true}]},{\"name\":\"notIn\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Float\",\"location\":\"scalar\",\"isList\":true}]},{\"name\":\"lt\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Float\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"lte\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Float\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"gt\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Float\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"gte\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Float\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"not\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Float\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"NestedFloatWithAggregatesFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"_count\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"NestedIntFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"_avg\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"NestedFloatFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"_sum\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"NestedFloatFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"_min\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"NestedFloatFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"_max\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"NestedFloatFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}]},{\"name\":\"DateTimeWithAggregatesFilter\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"equals\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"DateTime\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"in\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"DateTime\",\"location\":\"scalar\",\"isList\":true}]},{\"name\":\"notIn\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"DateTime\",\"location\":\"scalar\",\"isList\":true}]},{\"name\":\"lt\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"DateTime\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"lte\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"DateTime\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"gt\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"DateTime\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"gte\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"DateTime\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"not\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"DateTime\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"NestedDateTimeWithAggregatesFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"_count\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"NestedIntFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"_min\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"NestedDateTimeFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"_max\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"NestedDateTimeFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}]},{\"name\":\"SomePublicRecordWithIntIdCountOrderByAggregateInput\",\"constraints\":{\"maxNumFields\":1,\"minNumFields\":1},\"fields\":[{\"name\":\"id\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]},{\"name\":\"title\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]}]},{\"name\":\"SomePublicRecordWithIntIdAvgOrderByAggregateInput\",\"constraints\":{\"maxNumFields\":1,\"minNumFields\":1},\"fields\":[{\"name\":\"id\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]}]},{\"name\":\"SomePublicRecordWithIntIdMaxOrderByAggregateInput\",\"constraints\":{\"maxNumFields\":1,\"minNumFields\":1},\"fields\":[{\"name\":\"id\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]},{\"name\":\"title\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]}]},{\"name\":\"SomePublicRecordWithIntIdMinOrderByAggregateInput\",\"constraints\":{\"maxNumFields\":1,\"minNumFields\":1},\"fields\":[{\"name\":\"id\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]},{\"name\":\"title\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]}]},{\"name\":\"SomePublicRecordWithIntIdSumOrderByAggregateInput\",\"constraints\":{\"maxNumFields\":1,\"minNumFields\":1},\"fields\":[{\"name\":\"id\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SortOrder\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]}]},{\"name\":\"UserCreateNestedManyWithoutRolesInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"create\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserCreateWithoutRolesInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"UserCreateWithoutRolesInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true},{\"type\":\"UserUncheckedCreateWithoutRolesInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"UserUncheckedCreateWithoutRolesInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]},{\"name\":\"connectOrCreate\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserCreateOrConnectWithoutRolesInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"UserCreateOrConnectWithoutRolesInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]},{\"name\":\"connect\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"UserWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]}]},{\"name\":\"UserUncheckedCreateNestedManyWithoutRolesInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"create\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserCreateWithoutRolesInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"UserCreateWithoutRolesInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true},{\"type\":\"UserUncheckedCreateWithoutRolesInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"UserUncheckedCreateWithoutRolesInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]},{\"name\":\"connectOrCreate\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserCreateOrConnectWithoutRolesInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"UserCreateOrConnectWithoutRolesInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]},{\"name\":\"connect\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"UserWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]}]},{\"name\":\"StringFieldUpdateOperationsInput\",\"constraints\":{\"maxNumFields\":1,\"minNumFields\":1},\"fields\":[{\"name\":\"set\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]}]},{\"name\":\"UserUpdateManyWithoutRolesInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"create\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserCreateWithoutRolesInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"UserCreateWithoutRolesInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true},{\"type\":\"UserUncheckedCreateWithoutRolesInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"UserUncheckedCreateWithoutRolesInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]},{\"name\":\"connectOrCreate\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserCreateOrConnectWithoutRolesInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"UserCreateOrConnectWithoutRolesInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]},{\"name\":\"upsert\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserUpsertWithWhereUniqueWithoutRolesInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"UserUpsertWithWhereUniqueWithoutRolesInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]},{\"name\":\"set\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"UserWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]},{\"name\":\"disconnect\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"UserWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]},{\"name\":\"delete\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"UserWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]},{\"name\":\"connect\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"UserWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]},{\"name\":\"update\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserUpdateWithWhereUniqueWithoutRolesInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"UserUpdateWithWhereUniqueWithoutRolesInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]},{\"name\":\"updateMany\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserUpdateManyWithWhereWithoutRolesInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"UserUpdateManyWithWhereWithoutRolesInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]},{\"name\":\"deleteMany\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserScalarWhereInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"UserScalarWhereInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]}]},{\"name\":\"UserUncheckedUpdateManyWithoutRolesInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"create\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserCreateWithoutRolesInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"UserCreateWithoutRolesInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true},{\"type\":\"UserUncheckedCreateWithoutRolesInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"UserUncheckedCreateWithoutRolesInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]},{\"name\":\"connectOrCreate\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserCreateOrConnectWithoutRolesInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"UserCreateOrConnectWithoutRolesInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]},{\"name\":\"upsert\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserUpsertWithWhereUniqueWithoutRolesInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"UserUpsertWithWhereUniqueWithoutRolesInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]},{\"name\":\"set\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"UserWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]},{\"name\":\"disconnect\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"UserWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]},{\"name\":\"delete\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"UserWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]},{\"name\":\"connect\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"UserWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]},{\"name\":\"update\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserUpdateWithWhereUniqueWithoutRolesInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"UserUpdateWithWhereUniqueWithoutRolesInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]},{\"name\":\"updateMany\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserUpdateManyWithWhereWithoutRolesInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"UserUpdateManyWithWhereWithoutRolesInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]},{\"name\":\"deleteMany\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserScalarWhereInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"UserScalarWhereInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]}]},{\"name\":\"UserCreateNestedOneWithoutCompaniesInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"create\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserCreateWithoutCompaniesInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"UserUncheckedCreateWithoutCompaniesInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"connectOrCreate\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserCreateOrConnectWithoutCompaniesInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"connect\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}]},{\"name\":\"UserUpdateOneRequiredWithoutCompaniesInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"create\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserCreateWithoutCompaniesInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"UserUncheckedCreateWithoutCompaniesInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"connectOrCreate\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserCreateOrConnectWithoutCompaniesInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"upsert\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserUpsertWithoutCompaniesInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"connect\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"update\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserUpdateWithoutCompaniesInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"UserUncheckedUpdateWithoutCompaniesInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}]},{\"name\":\"UserCreateNestedOneWithoutUserSocialMediaInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"create\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserCreateWithoutUserSocialMediaInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"UserUncheckedCreateWithoutUserSocialMediaInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"connectOrCreate\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserCreateOrConnectWithoutUserSocialMediaInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"connect\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}]},{\"name\":\"UserUpdateOneRequiredWithoutUserSocialMediaInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"create\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserCreateWithoutUserSocialMediaInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"UserUncheckedCreateWithoutUserSocialMediaInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"connectOrCreate\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserCreateOrConnectWithoutUserSocialMediaInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"upsert\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserUpsertWithoutUserSocialMediaInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"connect\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"update\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserUpdateWithoutUserSocialMediaInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"UserUncheckedUpdateWithoutUserSocialMediaInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}]},{\"name\":\"UserCreateNestedOneWithoutBlogPostsInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"create\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserCreateWithoutBlogPostsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"UserUncheckedCreateWithoutBlogPostsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"connectOrCreate\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserCreateOrConnectWithoutBlogPostsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"connect\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}]},{\"name\":\"BlogPostCommentCreateNestedManyWithoutPostInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"create\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostCommentCreateWithoutPostInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"BlogPostCommentCreateWithoutPostInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true},{\"type\":\"BlogPostCommentUncheckedCreateWithoutPostInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"BlogPostCommentUncheckedCreateWithoutPostInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]},{\"name\":\"connectOrCreate\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostCommentCreateOrConnectWithoutPostInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"BlogPostCommentCreateOrConnectWithoutPostInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]},{\"name\":\"createMany\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostCommentCreateManyPostInputEnvelope\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"connect\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostCommentWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"BlogPostCommentWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]}]},{\"name\":\"BlogPostCommentUncheckedCreateNestedManyWithoutPostInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"create\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostCommentCreateWithoutPostInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"BlogPostCommentCreateWithoutPostInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true},{\"type\":\"BlogPostCommentUncheckedCreateWithoutPostInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"BlogPostCommentUncheckedCreateWithoutPostInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]},{\"name\":\"connectOrCreate\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostCommentCreateOrConnectWithoutPostInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"BlogPostCommentCreateOrConnectWithoutPostInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]},{\"name\":\"createMany\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostCommentCreateManyPostInputEnvelope\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"connect\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostCommentWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"BlogPostCommentWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]}]},{\"name\":\"UserUpdateOneWithoutBlogPostsInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"create\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserCreateWithoutBlogPostsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"UserUncheckedCreateWithoutBlogPostsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"connectOrCreate\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserCreateOrConnectWithoutBlogPostsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"upsert\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserUpsertWithoutBlogPostsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"disconnect\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Boolean\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"delete\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Boolean\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"connect\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"update\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserUpdateWithoutBlogPostsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"UserUncheckedUpdateWithoutBlogPostsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}]},{\"name\":\"BlogPostCommentUpdateManyWithoutPostInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"create\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostCommentCreateWithoutPostInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"BlogPostCommentCreateWithoutPostInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true},{\"type\":\"BlogPostCommentUncheckedCreateWithoutPostInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"BlogPostCommentUncheckedCreateWithoutPostInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]},{\"name\":\"connectOrCreate\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostCommentCreateOrConnectWithoutPostInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"BlogPostCommentCreateOrConnectWithoutPostInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]},{\"name\":\"upsert\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostCommentUpsertWithWhereUniqueWithoutPostInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"BlogPostCommentUpsertWithWhereUniqueWithoutPostInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]},{\"name\":\"createMany\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostCommentCreateManyPostInputEnvelope\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"set\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostCommentWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"BlogPostCommentWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]},{\"name\":\"disconnect\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostCommentWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"BlogPostCommentWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]},{\"name\":\"delete\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostCommentWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"BlogPostCommentWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]},{\"name\":\"connect\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostCommentWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"BlogPostCommentWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]},{\"name\":\"update\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostCommentUpdateWithWhereUniqueWithoutPostInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"BlogPostCommentUpdateWithWhereUniqueWithoutPostInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]},{\"name\":\"updateMany\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostCommentUpdateManyWithWhereWithoutPostInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"BlogPostCommentUpdateManyWithWhereWithoutPostInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]},{\"name\":\"deleteMany\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostCommentScalarWhereInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"BlogPostCommentScalarWhereInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]}]},{\"name\":\"NullableStringFieldUpdateOperationsInput\",\"constraints\":{\"maxNumFields\":1,\"minNumFields\":1},\"fields\":[{\"name\":\"set\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]}]},{\"name\":\"BlogPostCommentUncheckedUpdateManyWithoutPostInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"create\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostCommentCreateWithoutPostInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"BlogPostCommentCreateWithoutPostInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true},{\"type\":\"BlogPostCommentUncheckedCreateWithoutPostInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"BlogPostCommentUncheckedCreateWithoutPostInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]},{\"name\":\"connectOrCreate\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostCommentCreateOrConnectWithoutPostInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"BlogPostCommentCreateOrConnectWithoutPostInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]},{\"name\":\"upsert\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostCommentUpsertWithWhereUniqueWithoutPostInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"BlogPostCommentUpsertWithWhereUniqueWithoutPostInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]},{\"name\":\"createMany\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostCommentCreateManyPostInputEnvelope\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"set\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostCommentWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"BlogPostCommentWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]},{\"name\":\"disconnect\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostCommentWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"BlogPostCommentWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]},{\"name\":\"delete\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostCommentWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"BlogPostCommentWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]},{\"name\":\"connect\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostCommentWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"BlogPostCommentWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]},{\"name\":\"update\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostCommentUpdateWithWhereUniqueWithoutPostInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"BlogPostCommentUpdateWithWhereUniqueWithoutPostInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]},{\"name\":\"updateMany\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostCommentUpdateManyWithWhereWithoutPostInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"BlogPostCommentUpdateManyWithWhereWithoutPostInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]},{\"name\":\"deleteMany\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostCommentScalarWhereInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"BlogPostCommentScalarWhereInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]}]},{\"name\":\"BlogPostCreateNestedOneWithoutCommentsInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"create\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostCreateWithoutCommentsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"BlogPostUncheckedCreateWithoutCommentsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"connectOrCreate\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostCreateOrConnectWithoutCommentsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"connect\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}]},{\"name\":\"UserCreateNestedOneWithoutCommentsInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"create\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserCreateWithoutCommentsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"UserUncheckedCreateWithoutCommentsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"connectOrCreate\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserCreateOrConnectWithoutCommentsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"connect\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}]},{\"name\":\"BlogPostUpdateOneWithoutCommentsInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"create\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostCreateWithoutCommentsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"BlogPostUncheckedCreateWithoutCommentsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"connectOrCreate\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostCreateOrConnectWithoutCommentsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"upsert\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostUpsertWithoutCommentsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"disconnect\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Boolean\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"delete\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Boolean\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"connect\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"update\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostUpdateWithoutCommentsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"BlogPostUncheckedUpdateWithoutCommentsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}]},{\"name\":\"UserUpdateOneWithoutCommentsInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"create\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserCreateWithoutCommentsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"UserUncheckedCreateWithoutCommentsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"connectOrCreate\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserCreateOrConnectWithoutCommentsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"upsert\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserUpsertWithoutCommentsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"disconnect\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Boolean\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"delete\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Boolean\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"connect\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"update\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserUpdateWithoutCommentsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"UserUncheckedUpdateWithoutCommentsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}]},{\"name\":\"UserCreateNestedOneWithoutSiteInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"create\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserCreateWithoutSiteInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"UserUncheckedCreateWithoutSiteInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"connectOrCreate\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserCreateOrConnectWithoutSiteInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"connect\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}]},{\"name\":\"UserUpdateOneWithoutSiteInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"create\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserCreateWithoutSiteInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"UserUncheckedCreateWithoutSiteInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"connectOrCreate\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserCreateOrConnectWithoutSiteInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"upsert\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserUpsertWithoutSiteInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"disconnect\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Boolean\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"delete\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Boolean\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"connect\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"update\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserUpdateWithoutSiteInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"UserUncheckedUpdateWithoutSiteInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}]},{\"name\":\"UserRoleCreateNestedManyWithoutUsersInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"create\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserRoleCreateWithoutUsersInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"UserRoleCreateWithoutUsersInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true},{\"type\":\"UserRoleUncheckedCreateWithoutUsersInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"UserRoleUncheckedCreateWithoutUsersInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]},{\"name\":\"connectOrCreate\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserRoleCreateOrConnectWithoutUsersInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"UserRoleCreateOrConnectWithoutUsersInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]},{\"name\":\"connect\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserRoleWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"UserRoleWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]}]},{\"name\":\"UserCreateinterestsInput\",\"constraints\":{\"maxNumFields\":1,\"minNumFields\":1},\"fields\":[{\"name\":\"set\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Topic\",\"namespace\":\"model\",\"location\":\"enumTypes\",\"isList\":true}]}]},{\"name\":\"UserSocialMediaCreateNestedOneWithoutUserInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"create\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserSocialMediaCreateWithoutUserInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"UserSocialMediaUncheckedCreateWithoutUserInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"connectOrCreate\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserSocialMediaCreateOrConnectWithoutUserInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"connect\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserSocialMediaWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}]},{\"name\":\"BlogPostCreateNestedManyWithoutAuthorInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"create\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostCreateWithoutAuthorInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"BlogPostCreateWithoutAuthorInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true},{\"type\":\"BlogPostUncheckedCreateWithoutAuthorInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"BlogPostUncheckedCreateWithoutAuthorInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]},{\"name\":\"connectOrCreate\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostCreateOrConnectWithoutAuthorInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"BlogPostCreateOrConnectWithoutAuthorInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]},{\"name\":\"createMany\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostCreateManyAuthorInputEnvelope\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"connect\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"BlogPostWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]}]},{\"name\":\"BlogPostCommentCreateNestedManyWithoutAuthorInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"create\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostCommentCreateWithoutAuthorInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"BlogPostCommentCreateWithoutAuthorInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true},{\"type\":\"BlogPostCommentUncheckedCreateWithoutAuthorInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"BlogPostCommentUncheckedCreateWithoutAuthorInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]},{\"name\":\"connectOrCreate\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostCommentCreateOrConnectWithoutAuthorInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"BlogPostCommentCreateOrConnectWithoutAuthorInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]},{\"name\":\"createMany\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostCommentCreateManyAuthorInputEnvelope\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"connect\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostCommentWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"BlogPostCommentWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]}]},{\"name\":\"CompanyCreateNestedManyWithoutUserInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"create\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"CompanyCreateWithoutUserInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"CompanyCreateWithoutUserInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true},{\"type\":\"CompanyUncheckedCreateWithoutUserInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"CompanyUncheckedCreateWithoutUserInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]},{\"name\":\"connectOrCreate\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"CompanyCreateOrConnectWithoutUserInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"CompanyCreateOrConnectWithoutUserInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]},{\"name\":\"createMany\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"CompanyCreateManyUserInputEnvelope\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"connect\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"CompanyWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"CompanyWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]}]},{\"name\":\"SiteCreateNestedOneWithoutOwnerInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"create\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SiteCreateWithoutOwnerInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"SiteUncheckedCreateWithoutOwnerInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"connectOrCreate\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SiteCreateOrConnectWithoutOwnerInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"connect\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SiteWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}]},{\"name\":\"UserRoleUncheckedCreateNestedManyWithoutUsersInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"create\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserRoleCreateWithoutUsersInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"UserRoleCreateWithoutUsersInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true},{\"type\":\"UserRoleUncheckedCreateWithoutUsersInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"UserRoleUncheckedCreateWithoutUsersInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]},{\"name\":\"connectOrCreate\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserRoleCreateOrConnectWithoutUsersInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"UserRoleCreateOrConnectWithoutUsersInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]},{\"name\":\"connect\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserRoleWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"UserRoleWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]}]},{\"name\":\"UserSocialMediaUncheckedCreateNestedOneWithoutUserInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"create\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserSocialMediaCreateWithoutUserInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"UserSocialMediaUncheckedCreateWithoutUserInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"connectOrCreate\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserSocialMediaCreateOrConnectWithoutUserInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"connect\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserSocialMediaWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}]},{\"name\":\"BlogPostUncheckedCreateNestedManyWithoutAuthorInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"create\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostCreateWithoutAuthorInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"BlogPostCreateWithoutAuthorInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true},{\"type\":\"BlogPostUncheckedCreateWithoutAuthorInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"BlogPostUncheckedCreateWithoutAuthorInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]},{\"name\":\"connectOrCreate\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostCreateOrConnectWithoutAuthorInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"BlogPostCreateOrConnectWithoutAuthorInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]},{\"name\":\"createMany\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostCreateManyAuthorInputEnvelope\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"connect\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"BlogPostWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]}]},{\"name\":\"BlogPostCommentUncheckedCreateNestedManyWithoutAuthorInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"create\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostCommentCreateWithoutAuthorInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"BlogPostCommentCreateWithoutAuthorInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true},{\"type\":\"BlogPostCommentUncheckedCreateWithoutAuthorInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"BlogPostCommentUncheckedCreateWithoutAuthorInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]},{\"name\":\"connectOrCreate\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostCommentCreateOrConnectWithoutAuthorInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"BlogPostCommentCreateOrConnectWithoutAuthorInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]},{\"name\":\"createMany\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostCommentCreateManyAuthorInputEnvelope\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"connect\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostCommentWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"BlogPostCommentWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]}]},{\"name\":\"CompanyUncheckedCreateNestedManyWithoutUserInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"create\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"CompanyCreateWithoutUserInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"CompanyCreateWithoutUserInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true},{\"type\":\"CompanyUncheckedCreateWithoutUserInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"CompanyUncheckedCreateWithoutUserInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]},{\"name\":\"connectOrCreate\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"CompanyCreateOrConnectWithoutUserInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"CompanyCreateOrConnectWithoutUserInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]},{\"name\":\"createMany\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"CompanyCreateManyUserInputEnvelope\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"connect\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"CompanyWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"CompanyWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]}]},{\"name\":\"SiteUncheckedCreateNestedOneWithoutOwnerInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"create\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SiteCreateWithoutOwnerInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"SiteUncheckedCreateWithoutOwnerInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"connectOrCreate\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SiteCreateOrConnectWithoutOwnerInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"connect\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SiteWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}]},{\"name\":\"UserRoleUpdateManyWithoutUsersInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"create\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserRoleCreateWithoutUsersInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"UserRoleCreateWithoutUsersInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true},{\"type\":\"UserRoleUncheckedCreateWithoutUsersInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"UserRoleUncheckedCreateWithoutUsersInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]},{\"name\":\"connectOrCreate\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserRoleCreateOrConnectWithoutUsersInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"UserRoleCreateOrConnectWithoutUsersInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]},{\"name\":\"upsert\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserRoleUpsertWithWhereUniqueWithoutUsersInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"UserRoleUpsertWithWhereUniqueWithoutUsersInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]},{\"name\":\"set\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserRoleWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"UserRoleWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]},{\"name\":\"disconnect\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserRoleWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"UserRoleWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]},{\"name\":\"delete\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserRoleWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"UserRoleWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]},{\"name\":\"connect\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserRoleWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"UserRoleWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]},{\"name\":\"update\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserRoleUpdateWithWhereUniqueWithoutUsersInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"UserRoleUpdateWithWhereUniqueWithoutUsersInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]},{\"name\":\"updateMany\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserRoleUpdateManyWithWhereWithoutUsersInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"UserRoleUpdateManyWithWhereWithoutUsersInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]},{\"name\":\"deleteMany\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserRoleScalarWhereInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"UserRoleScalarWhereInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]}]},{\"name\":\"NullableEnumGenderFieldUpdateOperationsInput\",\"constraints\":{\"maxNumFields\":1,\"minNumFields\":1},\"fields\":[{\"name\":\"set\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"Gender\",\"namespace\":\"model\",\"location\":\"enumTypes\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]}]},{\"name\":\"NullableIntFieldUpdateOperationsInput\",\"constraints\":{\"maxNumFields\":1,\"minNumFields\":1},\"fields\":[{\"name\":\"set\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"increment\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"decrement\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"multiply\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"divide\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}]}]},{\"name\":\"BoolFieldUpdateOperationsInput\",\"constraints\":{\"maxNumFields\":1,\"minNumFields\":1},\"fields\":[{\"name\":\"set\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Boolean\",\"location\":\"scalar\",\"isList\":false}]}]},{\"name\":\"UserUpdateinterestsInput\",\"constraints\":{\"maxNumFields\":1,\"minNumFields\":1},\"fields\":[{\"name\":\"set\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Topic\",\"namespace\":\"model\",\"location\":\"enumTypes\",\"isList\":true}]},{\"name\":\"push\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Topic\",\"namespace\":\"model\",\"location\":\"enumTypes\",\"isList\":false},{\"type\":\"Topic\",\"namespace\":\"model\",\"location\":\"enumTypes\",\"isList\":true}]}]},{\"name\":\"UserSocialMediaUpdateOneWithoutUserInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"create\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserSocialMediaCreateWithoutUserInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"UserSocialMediaUncheckedCreateWithoutUserInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"connectOrCreate\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserSocialMediaCreateOrConnectWithoutUserInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"upsert\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserSocialMediaUpsertWithoutUserInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"disconnect\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Boolean\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"delete\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Boolean\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"connect\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserSocialMediaWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"update\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserSocialMediaUpdateWithoutUserInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"UserSocialMediaUncheckedUpdateWithoutUserInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}]},{\"name\":\"BlogPostUpdateManyWithoutAuthorInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"create\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostCreateWithoutAuthorInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"BlogPostCreateWithoutAuthorInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true},{\"type\":\"BlogPostUncheckedCreateWithoutAuthorInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"BlogPostUncheckedCreateWithoutAuthorInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]},{\"name\":\"connectOrCreate\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostCreateOrConnectWithoutAuthorInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"BlogPostCreateOrConnectWithoutAuthorInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]},{\"name\":\"upsert\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostUpsertWithWhereUniqueWithoutAuthorInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"BlogPostUpsertWithWhereUniqueWithoutAuthorInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]},{\"name\":\"createMany\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostCreateManyAuthorInputEnvelope\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"set\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"BlogPostWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]},{\"name\":\"disconnect\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"BlogPostWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]},{\"name\":\"delete\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"BlogPostWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]},{\"name\":\"connect\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"BlogPostWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]},{\"name\":\"update\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostUpdateWithWhereUniqueWithoutAuthorInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"BlogPostUpdateWithWhereUniqueWithoutAuthorInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]},{\"name\":\"updateMany\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostUpdateManyWithWhereWithoutAuthorInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"BlogPostUpdateManyWithWhereWithoutAuthorInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]},{\"name\":\"deleteMany\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostScalarWhereInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"BlogPostScalarWhereInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]}]},{\"name\":\"BlogPostCommentUpdateManyWithoutAuthorInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"create\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostCommentCreateWithoutAuthorInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"BlogPostCommentCreateWithoutAuthorInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true},{\"type\":\"BlogPostCommentUncheckedCreateWithoutAuthorInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"BlogPostCommentUncheckedCreateWithoutAuthorInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]},{\"name\":\"connectOrCreate\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostCommentCreateOrConnectWithoutAuthorInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"BlogPostCommentCreateOrConnectWithoutAuthorInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]},{\"name\":\"upsert\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostCommentUpsertWithWhereUniqueWithoutAuthorInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"BlogPostCommentUpsertWithWhereUniqueWithoutAuthorInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]},{\"name\":\"createMany\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostCommentCreateManyAuthorInputEnvelope\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"set\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostCommentWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"BlogPostCommentWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]},{\"name\":\"disconnect\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostCommentWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"BlogPostCommentWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]},{\"name\":\"delete\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostCommentWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"BlogPostCommentWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]},{\"name\":\"connect\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostCommentWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"BlogPostCommentWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]},{\"name\":\"update\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostCommentUpdateWithWhereUniqueWithoutAuthorInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"BlogPostCommentUpdateWithWhereUniqueWithoutAuthorInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]},{\"name\":\"updateMany\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostCommentUpdateManyWithWhereWithoutAuthorInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"BlogPostCommentUpdateManyWithWhereWithoutAuthorInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]},{\"name\":\"deleteMany\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostCommentScalarWhereInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"BlogPostCommentScalarWhereInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]}]},{\"name\":\"CompanyUpdateManyWithoutUserInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"create\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"CompanyCreateWithoutUserInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"CompanyCreateWithoutUserInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true},{\"type\":\"CompanyUncheckedCreateWithoutUserInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"CompanyUncheckedCreateWithoutUserInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]},{\"name\":\"connectOrCreate\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"CompanyCreateOrConnectWithoutUserInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"CompanyCreateOrConnectWithoutUserInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]},{\"name\":\"upsert\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"CompanyUpsertWithWhereUniqueWithoutUserInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"CompanyUpsertWithWhereUniqueWithoutUserInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]},{\"name\":\"createMany\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"CompanyCreateManyUserInputEnvelope\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"set\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"CompanyWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"CompanyWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]},{\"name\":\"disconnect\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"CompanyWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"CompanyWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]},{\"name\":\"delete\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"CompanyWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"CompanyWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]},{\"name\":\"connect\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"CompanyWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"CompanyWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]},{\"name\":\"update\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"CompanyUpdateWithWhereUniqueWithoutUserInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"CompanyUpdateWithWhereUniqueWithoutUserInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]},{\"name\":\"updateMany\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"CompanyUpdateManyWithWhereWithoutUserInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"CompanyUpdateManyWithWhereWithoutUserInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]},{\"name\":\"deleteMany\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"CompanyScalarWhereInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"CompanyScalarWhereInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]}]},{\"name\":\"NullableDateTimeFieldUpdateOperationsInput\",\"constraints\":{\"maxNumFields\":1,\"minNumFields\":1},\"fields\":[{\"name\":\"set\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"DateTime\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]}]},{\"name\":\"SiteUpdateOneWithoutOwnerInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"create\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SiteCreateWithoutOwnerInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"SiteUncheckedCreateWithoutOwnerInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"connectOrCreate\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SiteCreateOrConnectWithoutOwnerInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"upsert\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SiteUpsertWithoutOwnerInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"disconnect\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Boolean\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"delete\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Boolean\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"connect\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SiteWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"update\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SiteUpdateWithoutOwnerInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"SiteUncheckedUpdateWithoutOwnerInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}]},{\"name\":\"UserRoleUncheckedUpdateManyWithoutUsersInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"create\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserRoleCreateWithoutUsersInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"UserRoleCreateWithoutUsersInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true},{\"type\":\"UserRoleUncheckedCreateWithoutUsersInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"UserRoleUncheckedCreateWithoutUsersInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]},{\"name\":\"connectOrCreate\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserRoleCreateOrConnectWithoutUsersInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"UserRoleCreateOrConnectWithoutUsersInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]},{\"name\":\"upsert\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserRoleUpsertWithWhereUniqueWithoutUsersInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"UserRoleUpsertWithWhereUniqueWithoutUsersInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]},{\"name\":\"set\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserRoleWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"UserRoleWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]},{\"name\":\"disconnect\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserRoleWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"UserRoleWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]},{\"name\":\"delete\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserRoleWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"UserRoleWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]},{\"name\":\"connect\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserRoleWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"UserRoleWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]},{\"name\":\"update\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserRoleUpdateWithWhereUniqueWithoutUsersInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"UserRoleUpdateWithWhereUniqueWithoutUsersInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]},{\"name\":\"updateMany\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserRoleUpdateManyWithWhereWithoutUsersInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"UserRoleUpdateManyWithWhereWithoutUsersInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]},{\"name\":\"deleteMany\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserRoleScalarWhereInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"UserRoleScalarWhereInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]}]},{\"name\":\"UserSocialMediaUncheckedUpdateOneWithoutUserInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"create\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserSocialMediaCreateWithoutUserInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"UserSocialMediaUncheckedCreateWithoutUserInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"connectOrCreate\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserSocialMediaCreateOrConnectWithoutUserInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"upsert\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserSocialMediaUpsertWithoutUserInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"disconnect\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Boolean\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"delete\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Boolean\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"connect\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserSocialMediaWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"update\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserSocialMediaUpdateWithoutUserInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"UserSocialMediaUncheckedUpdateWithoutUserInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}]},{\"name\":\"BlogPostUncheckedUpdateManyWithoutAuthorInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"create\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostCreateWithoutAuthorInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"BlogPostCreateWithoutAuthorInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true},{\"type\":\"BlogPostUncheckedCreateWithoutAuthorInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"BlogPostUncheckedCreateWithoutAuthorInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]},{\"name\":\"connectOrCreate\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostCreateOrConnectWithoutAuthorInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"BlogPostCreateOrConnectWithoutAuthorInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]},{\"name\":\"upsert\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostUpsertWithWhereUniqueWithoutAuthorInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"BlogPostUpsertWithWhereUniqueWithoutAuthorInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]},{\"name\":\"createMany\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostCreateManyAuthorInputEnvelope\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"set\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"BlogPostWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]},{\"name\":\"disconnect\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"BlogPostWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]},{\"name\":\"delete\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"BlogPostWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]},{\"name\":\"connect\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"BlogPostWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]},{\"name\":\"update\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostUpdateWithWhereUniqueWithoutAuthorInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"BlogPostUpdateWithWhereUniqueWithoutAuthorInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]},{\"name\":\"updateMany\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostUpdateManyWithWhereWithoutAuthorInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"BlogPostUpdateManyWithWhereWithoutAuthorInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]},{\"name\":\"deleteMany\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostScalarWhereInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"BlogPostScalarWhereInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]}]},{\"name\":\"BlogPostCommentUncheckedUpdateManyWithoutAuthorInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"create\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostCommentCreateWithoutAuthorInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"BlogPostCommentCreateWithoutAuthorInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true},{\"type\":\"BlogPostCommentUncheckedCreateWithoutAuthorInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"BlogPostCommentUncheckedCreateWithoutAuthorInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]},{\"name\":\"connectOrCreate\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostCommentCreateOrConnectWithoutAuthorInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"BlogPostCommentCreateOrConnectWithoutAuthorInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]},{\"name\":\"upsert\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostCommentUpsertWithWhereUniqueWithoutAuthorInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"BlogPostCommentUpsertWithWhereUniqueWithoutAuthorInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]},{\"name\":\"createMany\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostCommentCreateManyAuthorInputEnvelope\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"set\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostCommentWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"BlogPostCommentWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]},{\"name\":\"disconnect\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostCommentWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"BlogPostCommentWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]},{\"name\":\"delete\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostCommentWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"BlogPostCommentWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]},{\"name\":\"connect\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostCommentWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"BlogPostCommentWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]},{\"name\":\"update\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostCommentUpdateWithWhereUniqueWithoutAuthorInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"BlogPostCommentUpdateWithWhereUniqueWithoutAuthorInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]},{\"name\":\"updateMany\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostCommentUpdateManyWithWhereWithoutAuthorInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"BlogPostCommentUpdateManyWithWhereWithoutAuthorInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]},{\"name\":\"deleteMany\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostCommentScalarWhereInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"BlogPostCommentScalarWhereInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]}]},{\"name\":\"CompanyUncheckedUpdateManyWithoutUserInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"create\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"CompanyCreateWithoutUserInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"CompanyCreateWithoutUserInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true},{\"type\":\"CompanyUncheckedCreateWithoutUserInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"CompanyUncheckedCreateWithoutUserInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]},{\"name\":\"connectOrCreate\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"CompanyCreateOrConnectWithoutUserInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"CompanyCreateOrConnectWithoutUserInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]},{\"name\":\"upsert\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"CompanyUpsertWithWhereUniqueWithoutUserInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"CompanyUpsertWithWhereUniqueWithoutUserInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]},{\"name\":\"createMany\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"CompanyCreateManyUserInputEnvelope\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"set\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"CompanyWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"CompanyWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]},{\"name\":\"disconnect\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"CompanyWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"CompanyWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]},{\"name\":\"delete\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"CompanyWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"CompanyWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]},{\"name\":\"connect\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"CompanyWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"CompanyWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]},{\"name\":\"update\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"CompanyUpdateWithWhereUniqueWithoutUserInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"CompanyUpdateWithWhereUniqueWithoutUserInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]},{\"name\":\"updateMany\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"CompanyUpdateManyWithWhereWithoutUserInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"CompanyUpdateManyWithWhereWithoutUserInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]},{\"name\":\"deleteMany\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"CompanyScalarWhereInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"CompanyScalarWhereInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]}]},{\"name\":\"SiteUncheckedUpdateOneWithoutOwnerInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"create\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SiteCreateWithoutOwnerInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"SiteUncheckedCreateWithoutOwnerInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"connectOrCreate\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SiteCreateOrConnectWithoutOwnerInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"upsert\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SiteUpsertWithoutOwnerInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"disconnect\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Boolean\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"delete\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Boolean\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"connect\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SiteWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"update\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SiteUpdateWithoutOwnerInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"SiteUncheckedUpdateWithoutOwnerInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}]},{\"name\":\"IntFieldUpdateOperationsInput\",\"constraints\":{\"maxNumFields\":1,\"minNumFields\":1},\"fields\":[{\"name\":\"set\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"increment\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"decrement\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"multiply\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"divide\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}]}]},{\"name\":\"FloatFieldUpdateOperationsInput\",\"constraints\":{\"maxNumFields\":1,\"minNumFields\":1},\"fields\":[{\"name\":\"set\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Float\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"increment\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Float\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"decrement\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Float\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"multiply\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Float\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"divide\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Float\",\"location\":\"scalar\",\"isList\":false}]}]},{\"name\":\"DateTimeFieldUpdateOperationsInput\",\"constraints\":{\"maxNumFields\":1,\"minNumFields\":1},\"fields\":[{\"name\":\"set\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"DateTime\",\"location\":\"scalar\",\"isList\":false}]}]},{\"name\":\"NestedStringFilter\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"equals\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"in\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":true}]},{\"name\":\"notIn\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":true}]},{\"name\":\"lt\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"lte\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"gt\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"gte\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"contains\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"startsWith\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"endsWith\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"not\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"NestedStringFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}]},{\"name\":\"NestedStringWithAggregatesFilter\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"equals\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"in\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":true}]},{\"name\":\"notIn\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":true}]},{\"name\":\"lt\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"lte\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"gt\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"gte\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"contains\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"startsWith\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"endsWith\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"not\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"NestedStringWithAggregatesFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"_count\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"NestedIntFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"_min\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"NestedStringFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"_max\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"NestedStringFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}]},{\"name\":\"NestedIntFilter\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"equals\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"in\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":true}]},{\"name\":\"notIn\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":true}]},{\"name\":\"lt\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"lte\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"gt\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"gte\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"not\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"NestedIntFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}]},{\"name\":\"NestedStringNullableFilter\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"equals\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"in\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":true},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"notIn\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":true},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"lt\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"lte\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"gt\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"gte\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"contains\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"startsWith\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"endsWith\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"not\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"NestedStringNullableFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]}]},{\"name\":\"NestedStringNullableWithAggregatesFilter\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"equals\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"in\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":true},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"notIn\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":true},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"lt\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"lte\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"gt\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"gte\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"contains\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"startsWith\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"endsWith\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"not\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"NestedStringNullableWithAggregatesFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"_count\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"NestedIntNullableFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"_min\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"NestedStringNullableFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"_max\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"NestedStringNullableFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}]},{\"name\":\"NestedIntNullableFilter\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"equals\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"in\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":true},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"notIn\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":true},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"lt\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"lte\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"gt\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"gte\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"not\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"NestedIntNullableFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]}]},{\"name\":\"NestedEnumGenderNullableFilter\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"equals\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"Gender\",\"namespace\":\"model\",\"location\":\"enumTypes\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"in\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"Gender\",\"namespace\":\"model\",\"location\":\"enumTypes\",\"isList\":true},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"notIn\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"Gender\",\"namespace\":\"model\",\"location\":\"enumTypes\",\"isList\":true},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"not\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"Gender\",\"namespace\":\"model\",\"location\":\"enumTypes\",\"isList\":false},{\"type\":\"NestedEnumGenderNullableFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]}]},{\"name\":\"NestedBoolFilter\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"equals\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Boolean\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"not\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Boolean\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"NestedBoolFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}]},{\"name\":\"NestedDateTimeNullableFilter\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"equals\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"DateTime\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"in\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"DateTime\",\"location\":\"scalar\",\"isList\":true},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"notIn\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"DateTime\",\"location\":\"scalar\",\"isList\":true},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"lt\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"DateTime\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"lte\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"DateTime\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"gt\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"DateTime\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"gte\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"DateTime\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"not\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"DateTime\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"NestedDateTimeNullableFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]}]},{\"name\":\"NestedEnumGenderNullableWithAggregatesFilter\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"equals\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"Gender\",\"namespace\":\"model\",\"location\":\"enumTypes\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"in\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"Gender\",\"namespace\":\"model\",\"location\":\"enumTypes\",\"isList\":true},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"notIn\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"Gender\",\"namespace\":\"model\",\"location\":\"enumTypes\",\"isList\":true},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"not\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"Gender\",\"namespace\":\"model\",\"location\":\"enumTypes\",\"isList\":false},{\"type\":\"NestedEnumGenderNullableWithAggregatesFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"_count\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"NestedIntNullableFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"_min\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"NestedEnumGenderNullableFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"_max\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"NestedEnumGenderNullableFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}]},{\"name\":\"NestedIntNullableWithAggregatesFilter\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"equals\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"in\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":true},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"notIn\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":true},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"lt\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"lte\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"gt\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"gte\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"not\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"NestedIntNullableWithAggregatesFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"_count\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"NestedIntNullableFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"_avg\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"NestedFloatNullableFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"_sum\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"NestedIntNullableFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"_min\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"NestedIntNullableFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"_max\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"NestedIntNullableFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}]},{\"name\":\"NestedFloatNullableFilter\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"equals\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"Float\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"in\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"Float\",\"location\":\"scalar\",\"isList\":true},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"notIn\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"Float\",\"location\":\"scalar\",\"isList\":true},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"lt\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Float\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"lte\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Float\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"gt\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Float\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"gte\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Float\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"not\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"Float\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"NestedFloatNullableFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]}]},{\"name\":\"NestedBoolWithAggregatesFilter\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"equals\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Boolean\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"not\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Boolean\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"NestedBoolWithAggregatesFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"_count\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"NestedIntFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"_min\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"NestedBoolFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"_max\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"NestedBoolFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}]},{\"name\":\"NestedJsonNullableFilter\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"equals\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"JsonNullValueFilter\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false},{\"type\":\"Json\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"not\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"JsonNullValueFilter\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false},{\"type\":\"Json\",\"location\":\"scalar\",\"isList\":false}]}]},{\"name\":\"NestedDateTimeNullableWithAggregatesFilter\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"equals\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"DateTime\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"in\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"DateTime\",\"location\":\"scalar\",\"isList\":true},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"notIn\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"DateTime\",\"location\":\"scalar\",\"isList\":true},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"lt\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"DateTime\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"lte\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"DateTime\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"gt\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"DateTime\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"gte\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"DateTime\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"not\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"DateTime\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"NestedDateTimeNullableWithAggregatesFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"_count\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"NestedIntNullableFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"_min\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"NestedDateTimeNullableFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"_max\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"NestedDateTimeNullableFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}]},{\"name\":\"NestedFloatFilter\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"equals\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Float\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"in\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Float\",\"location\":\"scalar\",\"isList\":true}]},{\"name\":\"notIn\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Float\",\"location\":\"scalar\",\"isList\":true}]},{\"name\":\"lt\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Float\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"lte\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Float\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"gt\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Float\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"gte\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Float\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"not\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Float\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"NestedFloatFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}]},{\"name\":\"NestedDateTimeFilter\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"equals\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"DateTime\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"in\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"DateTime\",\"location\":\"scalar\",\"isList\":true}]},{\"name\":\"notIn\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"DateTime\",\"location\":\"scalar\",\"isList\":true}]},{\"name\":\"lt\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"DateTime\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"lte\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"DateTime\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"gt\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"DateTime\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"gte\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"DateTime\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"not\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"DateTime\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"NestedDateTimeFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}]},{\"name\":\"NestedIntWithAggregatesFilter\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"equals\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"in\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":true}]},{\"name\":\"notIn\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":true}]},{\"name\":\"lt\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"lte\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"gt\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"gte\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"not\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"NestedIntWithAggregatesFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"_count\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"NestedIntFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"_avg\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"NestedFloatFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"_sum\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"NestedIntFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"_min\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"NestedIntFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"_max\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"NestedIntFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}]},{\"name\":\"NestedFloatWithAggregatesFilter\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"equals\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Float\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"in\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Float\",\"location\":\"scalar\",\"isList\":true}]},{\"name\":\"notIn\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Float\",\"location\":\"scalar\",\"isList\":true}]},{\"name\":\"lt\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Float\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"lte\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Float\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"gt\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Float\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"gte\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Float\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"not\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Float\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"NestedFloatWithAggregatesFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"_count\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"NestedIntFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"_avg\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"NestedFloatFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"_sum\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"NestedFloatFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"_min\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"NestedFloatFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"_max\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"NestedFloatFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}]},{\"name\":\"NestedDateTimeWithAggregatesFilter\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"equals\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"DateTime\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"in\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"DateTime\",\"location\":\"scalar\",\"isList\":true}]},{\"name\":\"notIn\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"DateTime\",\"location\":\"scalar\",\"isList\":true}]},{\"name\":\"lt\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"DateTime\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"lte\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"DateTime\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"gt\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"DateTime\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"gte\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"DateTime\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"not\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"DateTime\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"NestedDateTimeWithAggregatesFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"_count\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"NestedIntFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"_min\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"NestedDateTimeFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"_max\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"NestedDateTimeFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}]},{\"name\":\"UserCreateWithoutRolesInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"id\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"email\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"firstName\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"lastName\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"gender\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"Gender\",\"namespace\":\"model\",\"location\":\"enumTypes\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"yearOfBirth\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"wantsNewsletter\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Boolean\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"interests\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserCreateinterestsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"Topic\",\"namespace\":\"model\",\"location\":\"enumTypes\",\"isList\":true}]},{\"name\":\"userSocialMedia\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserSocialMediaCreateNestedOneWithoutUserInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"address\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"NullableJsonNullValueInput\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false},{\"type\":\"Json\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"blogPosts\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostCreateNestedManyWithoutAuthorInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"comments\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostCommentCreateNestedManyWithoutAuthorInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"companies\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"CompanyCreateNestedManyWithoutUserInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"weddingDate\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"DateTime\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"site\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SiteCreateNestedOneWithoutOwnerInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}]},{\"name\":\"UserUncheckedCreateWithoutRolesInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"id\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"email\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"firstName\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"lastName\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"gender\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"Gender\",\"namespace\":\"model\",\"location\":\"enumTypes\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"yearOfBirth\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"wantsNewsletter\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Boolean\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"interests\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserCreateinterestsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"Topic\",\"namespace\":\"model\",\"location\":\"enumTypes\",\"isList\":true}]},{\"name\":\"userSocialMedia\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserSocialMediaUncheckedCreateNestedOneWithoutUserInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"address\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"NullableJsonNullValueInput\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false},{\"type\":\"Json\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"blogPosts\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostUncheckedCreateNestedManyWithoutAuthorInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"comments\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostCommentUncheckedCreateNestedManyWithoutAuthorInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"companies\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"CompanyUncheckedCreateNestedManyWithoutUserInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"weddingDate\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"DateTime\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"site\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SiteUncheckedCreateNestedOneWithoutOwnerInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}]},{\"name\":\"UserCreateOrConnectWithoutRolesInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"where\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"create\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserCreateWithoutRolesInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"UserUncheckedCreateWithoutRolesInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}]},{\"name\":\"UserUpsertWithWhereUniqueWithoutRolesInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"where\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"update\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserUpdateWithoutRolesInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"UserUncheckedUpdateWithoutRolesInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"create\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserCreateWithoutRolesInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"UserUncheckedCreateWithoutRolesInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}]},{\"name\":\"UserUpdateWithWhereUniqueWithoutRolesInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"where\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"data\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserUpdateWithoutRolesInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"UserUncheckedUpdateWithoutRolesInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}]},{\"name\":\"UserUpdateManyWithWhereWithoutRolesInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"where\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserScalarWhereInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"data\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserUpdateManyMutationInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"UserUncheckedUpdateManyWithoutUsersInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}]},{\"name\":\"UserScalarWhereInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"AND\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserScalarWhereInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"UserScalarWhereInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]},{\"name\":\"OR\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserScalarWhereInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]},{\"name\":\"NOT\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserScalarWhereInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"UserScalarWhereInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]},{\"name\":\"id\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"StringFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"email\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"StringFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"firstName\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"StringNullableFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"lastName\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"StringNullableFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"gender\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"EnumGenderNullableFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"Gender\",\"namespace\":\"model\",\"location\":\"enumTypes\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"yearOfBirth\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"IntNullableFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"wantsNewsletter\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BoolFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"Boolean\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"interests\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"EnumTopicNullableListFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"address\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"JsonNullableFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"weddingDate\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"DateTimeNullableFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"DateTime\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]}]},{\"name\":\"UserCreateWithoutCompaniesInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"id\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"email\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"roles\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserRoleCreateNestedManyWithoutUsersInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"firstName\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"lastName\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"gender\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"Gender\",\"namespace\":\"model\",\"location\":\"enumTypes\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"yearOfBirth\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"wantsNewsletter\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Boolean\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"interests\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserCreateinterestsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"Topic\",\"namespace\":\"model\",\"location\":\"enumTypes\",\"isList\":true}]},{\"name\":\"userSocialMedia\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserSocialMediaCreateNestedOneWithoutUserInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"address\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"NullableJsonNullValueInput\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false},{\"type\":\"Json\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"blogPosts\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostCreateNestedManyWithoutAuthorInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"comments\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostCommentCreateNestedManyWithoutAuthorInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"weddingDate\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"DateTime\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"site\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SiteCreateNestedOneWithoutOwnerInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}]},{\"name\":\"UserUncheckedCreateWithoutCompaniesInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"id\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"email\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"roles\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserRoleUncheckedCreateNestedManyWithoutUsersInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"firstName\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"lastName\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"gender\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"Gender\",\"namespace\":\"model\",\"location\":\"enumTypes\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"yearOfBirth\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"wantsNewsletter\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Boolean\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"interests\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserCreateinterestsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"Topic\",\"namespace\":\"model\",\"location\":\"enumTypes\",\"isList\":true}]},{\"name\":\"userSocialMedia\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserSocialMediaUncheckedCreateNestedOneWithoutUserInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"address\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"NullableJsonNullValueInput\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false},{\"type\":\"Json\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"blogPosts\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostUncheckedCreateNestedManyWithoutAuthorInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"comments\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostCommentUncheckedCreateNestedManyWithoutAuthorInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"weddingDate\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"DateTime\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"site\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SiteUncheckedCreateNestedOneWithoutOwnerInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}]},{\"name\":\"UserCreateOrConnectWithoutCompaniesInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"where\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"create\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserCreateWithoutCompaniesInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"UserUncheckedCreateWithoutCompaniesInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}]},{\"name\":\"UserUpsertWithoutCompaniesInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"update\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserUpdateWithoutCompaniesInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"UserUncheckedUpdateWithoutCompaniesInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"create\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserCreateWithoutCompaniesInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"UserUncheckedCreateWithoutCompaniesInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}]},{\"name\":\"UserUpdateWithoutCompaniesInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"id\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"StringFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"email\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"StringFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"roles\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserRoleUpdateManyWithoutUsersInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"firstName\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"NullableStringFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"lastName\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"NullableStringFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"gender\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"Gender\",\"namespace\":\"model\",\"location\":\"enumTypes\",\"isList\":false},{\"type\":\"NullableEnumGenderFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"yearOfBirth\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"NullableIntFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"wantsNewsletter\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Boolean\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"BoolFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"interests\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserUpdateinterestsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"Topic\",\"namespace\":\"model\",\"location\":\"enumTypes\",\"isList\":true}]},{\"name\":\"userSocialMedia\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserSocialMediaUpdateOneWithoutUserInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"address\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"NullableJsonNullValueInput\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false},{\"type\":\"Json\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"blogPosts\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostUpdateManyWithoutAuthorInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"comments\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostCommentUpdateManyWithoutAuthorInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"weddingDate\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"DateTime\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"NullableDateTimeFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"site\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SiteUpdateOneWithoutOwnerInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}]},{\"name\":\"UserUncheckedUpdateWithoutCompaniesInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"id\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"StringFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"email\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"StringFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"roles\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserRoleUncheckedUpdateManyWithoutUsersInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"firstName\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"NullableStringFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"lastName\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"NullableStringFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"gender\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"Gender\",\"namespace\":\"model\",\"location\":\"enumTypes\",\"isList\":false},{\"type\":\"NullableEnumGenderFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"yearOfBirth\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"NullableIntFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"wantsNewsletter\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Boolean\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"BoolFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"interests\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserUpdateinterestsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"Topic\",\"namespace\":\"model\",\"location\":\"enumTypes\",\"isList\":true}]},{\"name\":\"userSocialMedia\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserSocialMediaUncheckedUpdateOneWithoutUserInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"address\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"NullableJsonNullValueInput\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false},{\"type\":\"Json\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"blogPosts\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostUncheckedUpdateManyWithoutAuthorInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"comments\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostCommentUncheckedUpdateManyWithoutAuthorInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"weddingDate\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"DateTime\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"NullableDateTimeFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"site\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SiteUncheckedUpdateOneWithoutOwnerInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}]},{\"name\":\"UserCreateWithoutUserSocialMediaInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"id\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"email\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"roles\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserRoleCreateNestedManyWithoutUsersInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"firstName\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"lastName\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"gender\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"Gender\",\"namespace\":\"model\",\"location\":\"enumTypes\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"yearOfBirth\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"wantsNewsletter\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Boolean\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"interests\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserCreateinterestsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"Topic\",\"namespace\":\"model\",\"location\":\"enumTypes\",\"isList\":true}]},{\"name\":\"address\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"NullableJsonNullValueInput\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false},{\"type\":\"Json\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"blogPosts\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostCreateNestedManyWithoutAuthorInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"comments\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostCommentCreateNestedManyWithoutAuthorInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"companies\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"CompanyCreateNestedManyWithoutUserInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"weddingDate\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"DateTime\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"site\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SiteCreateNestedOneWithoutOwnerInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}]},{\"name\":\"UserUncheckedCreateWithoutUserSocialMediaInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"id\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"email\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"roles\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserRoleUncheckedCreateNestedManyWithoutUsersInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"firstName\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"lastName\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"gender\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"Gender\",\"namespace\":\"model\",\"location\":\"enumTypes\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"yearOfBirth\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"wantsNewsletter\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Boolean\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"interests\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserCreateinterestsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"Topic\",\"namespace\":\"model\",\"location\":\"enumTypes\",\"isList\":true}]},{\"name\":\"address\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"NullableJsonNullValueInput\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false},{\"type\":\"Json\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"blogPosts\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostUncheckedCreateNestedManyWithoutAuthorInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"comments\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostCommentUncheckedCreateNestedManyWithoutAuthorInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"companies\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"CompanyUncheckedCreateNestedManyWithoutUserInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"weddingDate\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"DateTime\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"site\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SiteUncheckedCreateNestedOneWithoutOwnerInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}]},{\"name\":\"UserCreateOrConnectWithoutUserSocialMediaInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"where\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"create\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserCreateWithoutUserSocialMediaInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"UserUncheckedCreateWithoutUserSocialMediaInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}]},{\"name\":\"UserUpsertWithoutUserSocialMediaInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"update\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserUpdateWithoutUserSocialMediaInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"UserUncheckedUpdateWithoutUserSocialMediaInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"create\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserCreateWithoutUserSocialMediaInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"UserUncheckedCreateWithoutUserSocialMediaInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}]},{\"name\":\"UserUpdateWithoutUserSocialMediaInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"id\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"StringFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"email\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"StringFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"roles\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserRoleUpdateManyWithoutUsersInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"firstName\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"NullableStringFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"lastName\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"NullableStringFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"gender\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"Gender\",\"namespace\":\"model\",\"location\":\"enumTypes\",\"isList\":false},{\"type\":\"NullableEnumGenderFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"yearOfBirth\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"NullableIntFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"wantsNewsletter\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Boolean\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"BoolFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"interests\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserUpdateinterestsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"Topic\",\"namespace\":\"model\",\"location\":\"enumTypes\",\"isList\":true}]},{\"name\":\"address\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"NullableJsonNullValueInput\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false},{\"type\":\"Json\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"blogPosts\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostUpdateManyWithoutAuthorInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"comments\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostCommentUpdateManyWithoutAuthorInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"companies\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"CompanyUpdateManyWithoutUserInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"weddingDate\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"DateTime\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"NullableDateTimeFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"site\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SiteUpdateOneWithoutOwnerInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}]},{\"name\":\"UserUncheckedUpdateWithoutUserSocialMediaInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"id\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"StringFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"email\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"StringFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"roles\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserRoleUncheckedUpdateManyWithoutUsersInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"firstName\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"NullableStringFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"lastName\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"NullableStringFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"gender\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"Gender\",\"namespace\":\"model\",\"location\":\"enumTypes\",\"isList\":false},{\"type\":\"NullableEnumGenderFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"yearOfBirth\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"NullableIntFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"wantsNewsletter\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Boolean\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"BoolFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"interests\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserUpdateinterestsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"Topic\",\"namespace\":\"model\",\"location\":\"enumTypes\",\"isList\":true}]},{\"name\":\"address\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"NullableJsonNullValueInput\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false},{\"type\":\"Json\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"blogPosts\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostUncheckedUpdateManyWithoutAuthorInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"comments\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostCommentUncheckedUpdateManyWithoutAuthorInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"companies\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"CompanyUncheckedUpdateManyWithoutUserInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"weddingDate\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"DateTime\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"NullableDateTimeFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"site\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SiteUncheckedUpdateOneWithoutOwnerInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}]},{\"name\":\"UserCreateWithoutBlogPostsInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"id\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"email\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"roles\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserRoleCreateNestedManyWithoutUsersInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"firstName\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"lastName\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"gender\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"Gender\",\"namespace\":\"model\",\"location\":\"enumTypes\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"yearOfBirth\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"wantsNewsletter\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Boolean\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"interests\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserCreateinterestsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"Topic\",\"namespace\":\"model\",\"location\":\"enumTypes\",\"isList\":true}]},{\"name\":\"userSocialMedia\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserSocialMediaCreateNestedOneWithoutUserInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"address\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"NullableJsonNullValueInput\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false},{\"type\":\"Json\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"comments\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostCommentCreateNestedManyWithoutAuthorInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"companies\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"CompanyCreateNestedManyWithoutUserInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"weddingDate\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"DateTime\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"site\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SiteCreateNestedOneWithoutOwnerInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}]},{\"name\":\"UserUncheckedCreateWithoutBlogPostsInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"id\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"email\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"roles\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserRoleUncheckedCreateNestedManyWithoutUsersInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"firstName\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"lastName\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"gender\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"Gender\",\"namespace\":\"model\",\"location\":\"enumTypes\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"yearOfBirth\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"wantsNewsletter\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Boolean\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"interests\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserCreateinterestsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"Topic\",\"namespace\":\"model\",\"location\":\"enumTypes\",\"isList\":true}]},{\"name\":\"userSocialMedia\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserSocialMediaUncheckedCreateNestedOneWithoutUserInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"address\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"NullableJsonNullValueInput\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false},{\"type\":\"Json\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"comments\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostCommentUncheckedCreateNestedManyWithoutAuthorInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"companies\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"CompanyUncheckedCreateNestedManyWithoutUserInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"weddingDate\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"DateTime\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"site\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SiteUncheckedCreateNestedOneWithoutOwnerInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}]},{\"name\":\"UserCreateOrConnectWithoutBlogPostsInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"where\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"create\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserCreateWithoutBlogPostsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"UserUncheckedCreateWithoutBlogPostsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}]},{\"name\":\"BlogPostCommentCreateWithoutPostInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"id\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"text\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"author\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserCreateNestedOneWithoutCommentsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}]},{\"name\":\"BlogPostCommentUncheckedCreateWithoutPostInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"id\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"text\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"authorId\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]}]},{\"name\":\"BlogPostCommentCreateOrConnectWithoutPostInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"where\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostCommentWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"create\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostCommentCreateWithoutPostInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"BlogPostCommentUncheckedCreateWithoutPostInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}]},{\"name\":\"BlogPostCommentCreateManyPostInputEnvelope\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"data\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostCommentCreateManyPostInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]},{\"name\":\"skipDuplicates\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Boolean\",\"location\":\"scalar\",\"isList\":false}]}]},{\"name\":\"UserUpsertWithoutBlogPostsInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"update\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserUpdateWithoutBlogPostsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"UserUncheckedUpdateWithoutBlogPostsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"create\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserCreateWithoutBlogPostsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"UserUncheckedCreateWithoutBlogPostsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}]},{\"name\":\"UserUpdateWithoutBlogPostsInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"id\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"StringFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"email\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"StringFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"roles\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserRoleUpdateManyWithoutUsersInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"firstName\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"NullableStringFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"lastName\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"NullableStringFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"gender\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"Gender\",\"namespace\":\"model\",\"location\":\"enumTypes\",\"isList\":false},{\"type\":\"NullableEnumGenderFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"yearOfBirth\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"NullableIntFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"wantsNewsletter\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Boolean\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"BoolFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"interests\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserUpdateinterestsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"Topic\",\"namespace\":\"model\",\"location\":\"enumTypes\",\"isList\":true}]},{\"name\":\"userSocialMedia\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserSocialMediaUpdateOneWithoutUserInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"address\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"NullableJsonNullValueInput\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false},{\"type\":\"Json\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"comments\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostCommentUpdateManyWithoutAuthorInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"companies\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"CompanyUpdateManyWithoutUserInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"weddingDate\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"DateTime\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"NullableDateTimeFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"site\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SiteUpdateOneWithoutOwnerInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}]},{\"name\":\"UserUncheckedUpdateWithoutBlogPostsInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"id\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"StringFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"email\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"StringFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"roles\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserRoleUncheckedUpdateManyWithoutUsersInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"firstName\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"NullableStringFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"lastName\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"NullableStringFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"gender\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"Gender\",\"namespace\":\"model\",\"location\":\"enumTypes\",\"isList\":false},{\"type\":\"NullableEnumGenderFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"yearOfBirth\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"NullableIntFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"wantsNewsletter\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Boolean\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"BoolFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"interests\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserUpdateinterestsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"Topic\",\"namespace\":\"model\",\"location\":\"enumTypes\",\"isList\":true}]},{\"name\":\"userSocialMedia\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserSocialMediaUncheckedUpdateOneWithoutUserInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"address\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"NullableJsonNullValueInput\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false},{\"type\":\"Json\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"comments\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostCommentUncheckedUpdateManyWithoutAuthorInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"companies\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"CompanyUncheckedUpdateManyWithoutUserInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"weddingDate\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"DateTime\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"NullableDateTimeFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"site\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SiteUncheckedUpdateOneWithoutOwnerInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}]},{\"name\":\"BlogPostCommentUpsertWithWhereUniqueWithoutPostInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"where\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostCommentWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"update\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostCommentUpdateWithoutPostInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"BlogPostCommentUncheckedUpdateWithoutPostInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"create\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostCommentCreateWithoutPostInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"BlogPostCommentUncheckedCreateWithoutPostInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}]},{\"name\":\"BlogPostCommentUpdateWithWhereUniqueWithoutPostInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"where\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostCommentWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"data\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostCommentUpdateWithoutPostInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"BlogPostCommentUncheckedUpdateWithoutPostInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}]},{\"name\":\"BlogPostCommentUpdateManyWithWhereWithoutPostInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"where\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostCommentScalarWhereInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"data\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostCommentUpdateManyMutationInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"BlogPostCommentUncheckedUpdateManyWithoutCommentsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}]},{\"name\":\"BlogPostCommentScalarWhereInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"AND\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostCommentScalarWhereInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"BlogPostCommentScalarWhereInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]},{\"name\":\"OR\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostCommentScalarWhereInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]},{\"name\":\"NOT\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostCommentScalarWhereInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"BlogPostCommentScalarWhereInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]},{\"name\":\"id\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"StringFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"text\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"StringFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"postId\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"StringNullableFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"authorId\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"StringNullableFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]}]},{\"name\":\"BlogPostCreateWithoutCommentsInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"id\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"title\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"text\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"author\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserCreateNestedOneWithoutBlogPostsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}]},{\"name\":\"BlogPostUncheckedCreateWithoutCommentsInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"id\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"title\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"text\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"authorId\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]}]},{\"name\":\"BlogPostCreateOrConnectWithoutCommentsInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"where\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"create\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostCreateWithoutCommentsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"BlogPostUncheckedCreateWithoutCommentsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}]},{\"name\":\"UserCreateWithoutCommentsInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"id\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"email\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"roles\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserRoleCreateNestedManyWithoutUsersInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"firstName\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"lastName\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"gender\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"Gender\",\"namespace\":\"model\",\"location\":\"enumTypes\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"yearOfBirth\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"wantsNewsletter\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Boolean\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"interests\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserCreateinterestsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"Topic\",\"namespace\":\"model\",\"location\":\"enumTypes\",\"isList\":true}]},{\"name\":\"userSocialMedia\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserSocialMediaCreateNestedOneWithoutUserInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"address\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"NullableJsonNullValueInput\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false},{\"type\":\"Json\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"blogPosts\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostCreateNestedManyWithoutAuthorInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"companies\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"CompanyCreateNestedManyWithoutUserInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"weddingDate\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"DateTime\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"site\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SiteCreateNestedOneWithoutOwnerInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}]},{\"name\":\"UserUncheckedCreateWithoutCommentsInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"id\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"email\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"roles\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserRoleUncheckedCreateNestedManyWithoutUsersInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"firstName\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"lastName\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"gender\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"Gender\",\"namespace\":\"model\",\"location\":\"enumTypes\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"yearOfBirth\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"wantsNewsletter\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Boolean\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"interests\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserCreateinterestsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"Topic\",\"namespace\":\"model\",\"location\":\"enumTypes\",\"isList\":true}]},{\"name\":\"userSocialMedia\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserSocialMediaUncheckedCreateNestedOneWithoutUserInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"address\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"NullableJsonNullValueInput\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false},{\"type\":\"Json\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"blogPosts\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostUncheckedCreateNestedManyWithoutAuthorInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"companies\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"CompanyUncheckedCreateNestedManyWithoutUserInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"weddingDate\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"DateTime\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"site\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SiteUncheckedCreateNestedOneWithoutOwnerInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}]},{\"name\":\"UserCreateOrConnectWithoutCommentsInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"where\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"create\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserCreateWithoutCommentsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"UserUncheckedCreateWithoutCommentsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}]},{\"name\":\"BlogPostUpsertWithoutCommentsInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"update\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostUpdateWithoutCommentsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"BlogPostUncheckedUpdateWithoutCommentsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"create\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostCreateWithoutCommentsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"BlogPostUncheckedCreateWithoutCommentsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}]},{\"name\":\"BlogPostUpdateWithoutCommentsInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"id\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"StringFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"title\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"StringFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"text\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"StringFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"author\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserUpdateOneWithoutBlogPostsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}]},{\"name\":\"BlogPostUncheckedUpdateWithoutCommentsInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"id\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"StringFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"title\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"StringFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"text\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"StringFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"authorId\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"NullableStringFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]}]},{\"name\":\"UserUpsertWithoutCommentsInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"update\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserUpdateWithoutCommentsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"UserUncheckedUpdateWithoutCommentsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"create\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserCreateWithoutCommentsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"UserUncheckedCreateWithoutCommentsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}]},{\"name\":\"UserUpdateWithoutCommentsInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"id\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"StringFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"email\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"StringFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"roles\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserRoleUpdateManyWithoutUsersInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"firstName\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"NullableStringFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"lastName\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"NullableStringFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"gender\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"Gender\",\"namespace\":\"model\",\"location\":\"enumTypes\",\"isList\":false},{\"type\":\"NullableEnumGenderFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"yearOfBirth\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"NullableIntFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"wantsNewsletter\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Boolean\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"BoolFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"interests\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserUpdateinterestsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"Topic\",\"namespace\":\"model\",\"location\":\"enumTypes\",\"isList\":true}]},{\"name\":\"userSocialMedia\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserSocialMediaUpdateOneWithoutUserInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"address\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"NullableJsonNullValueInput\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false},{\"type\":\"Json\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"blogPosts\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostUpdateManyWithoutAuthorInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"companies\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"CompanyUpdateManyWithoutUserInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"weddingDate\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"DateTime\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"NullableDateTimeFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"site\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SiteUpdateOneWithoutOwnerInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}]},{\"name\":\"UserUncheckedUpdateWithoutCommentsInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"id\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"StringFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"email\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"StringFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"roles\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserRoleUncheckedUpdateManyWithoutUsersInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"firstName\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"NullableStringFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"lastName\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"NullableStringFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"gender\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"Gender\",\"namespace\":\"model\",\"location\":\"enumTypes\",\"isList\":false},{\"type\":\"NullableEnumGenderFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"yearOfBirth\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"NullableIntFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"wantsNewsletter\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Boolean\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"BoolFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"interests\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserUpdateinterestsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"Topic\",\"namespace\":\"model\",\"location\":\"enumTypes\",\"isList\":true}]},{\"name\":\"userSocialMedia\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserSocialMediaUncheckedUpdateOneWithoutUserInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"address\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"NullableJsonNullValueInput\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false},{\"type\":\"Json\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"blogPosts\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostUncheckedUpdateManyWithoutAuthorInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"companies\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"CompanyUncheckedUpdateManyWithoutUserInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"weddingDate\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"DateTime\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"NullableDateTimeFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"site\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SiteUncheckedUpdateOneWithoutOwnerInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}]},{\"name\":\"UserCreateWithoutSiteInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"id\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"email\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"roles\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserRoleCreateNestedManyWithoutUsersInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"firstName\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"lastName\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"gender\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"Gender\",\"namespace\":\"model\",\"location\":\"enumTypes\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"yearOfBirth\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"wantsNewsletter\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Boolean\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"interests\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserCreateinterestsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"Topic\",\"namespace\":\"model\",\"location\":\"enumTypes\",\"isList\":true}]},{\"name\":\"userSocialMedia\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserSocialMediaCreateNestedOneWithoutUserInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"address\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"NullableJsonNullValueInput\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false},{\"type\":\"Json\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"blogPosts\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostCreateNestedManyWithoutAuthorInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"comments\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostCommentCreateNestedManyWithoutAuthorInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"companies\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"CompanyCreateNestedManyWithoutUserInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"weddingDate\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"DateTime\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]}]},{\"name\":\"UserUncheckedCreateWithoutSiteInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"id\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"email\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"roles\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserRoleUncheckedCreateNestedManyWithoutUsersInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"firstName\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"lastName\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"gender\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"Gender\",\"namespace\":\"model\",\"location\":\"enumTypes\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"yearOfBirth\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"wantsNewsletter\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Boolean\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"interests\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserCreateinterestsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"Topic\",\"namespace\":\"model\",\"location\":\"enumTypes\",\"isList\":true}]},{\"name\":\"userSocialMedia\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserSocialMediaUncheckedCreateNestedOneWithoutUserInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"address\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"NullableJsonNullValueInput\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false},{\"type\":\"Json\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"blogPosts\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostUncheckedCreateNestedManyWithoutAuthorInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"comments\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostCommentUncheckedCreateNestedManyWithoutAuthorInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"companies\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"CompanyUncheckedCreateNestedManyWithoutUserInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"weddingDate\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"DateTime\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]}]},{\"name\":\"UserCreateOrConnectWithoutSiteInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"where\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"create\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserCreateWithoutSiteInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"UserUncheckedCreateWithoutSiteInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}]},{\"name\":\"UserUpsertWithoutSiteInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"update\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserUpdateWithoutSiteInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"UserUncheckedUpdateWithoutSiteInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"create\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserCreateWithoutSiteInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"UserUncheckedCreateWithoutSiteInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}]},{\"name\":\"UserUpdateWithoutSiteInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"id\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"StringFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"email\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"StringFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"roles\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserRoleUpdateManyWithoutUsersInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"firstName\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"NullableStringFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"lastName\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"NullableStringFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"gender\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"Gender\",\"namespace\":\"model\",\"location\":\"enumTypes\",\"isList\":false},{\"type\":\"NullableEnumGenderFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"yearOfBirth\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"NullableIntFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"wantsNewsletter\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Boolean\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"BoolFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"interests\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserUpdateinterestsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"Topic\",\"namespace\":\"model\",\"location\":\"enumTypes\",\"isList\":true}]},{\"name\":\"userSocialMedia\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserSocialMediaUpdateOneWithoutUserInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"address\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"NullableJsonNullValueInput\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false},{\"type\":\"Json\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"blogPosts\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostUpdateManyWithoutAuthorInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"comments\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostCommentUpdateManyWithoutAuthorInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"companies\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"CompanyUpdateManyWithoutUserInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"weddingDate\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"DateTime\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"NullableDateTimeFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]}]},{\"name\":\"UserUncheckedUpdateWithoutSiteInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"id\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"StringFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"email\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"StringFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"roles\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserRoleUncheckedUpdateManyWithoutUsersInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"firstName\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"NullableStringFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"lastName\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"NullableStringFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"gender\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"Gender\",\"namespace\":\"model\",\"location\":\"enumTypes\",\"isList\":false},{\"type\":\"NullableEnumGenderFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"yearOfBirth\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"NullableIntFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"wantsNewsletter\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Boolean\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"BoolFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"interests\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserUpdateinterestsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"Topic\",\"namespace\":\"model\",\"location\":\"enumTypes\",\"isList\":true}]},{\"name\":\"userSocialMedia\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserSocialMediaUncheckedUpdateOneWithoutUserInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"address\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"NullableJsonNullValueInput\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false},{\"type\":\"Json\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"blogPosts\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostUncheckedUpdateManyWithoutAuthorInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"comments\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostCommentUncheckedUpdateManyWithoutAuthorInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"companies\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"CompanyUncheckedUpdateManyWithoutUserInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"weddingDate\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"DateTime\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"NullableDateTimeFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]}]},{\"name\":\"UserRoleCreateWithoutUsersInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"id\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"name\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]}]},{\"name\":\"UserRoleUncheckedCreateWithoutUsersInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"id\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"name\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]}]},{\"name\":\"UserRoleCreateOrConnectWithoutUsersInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"where\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserRoleWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"create\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserRoleCreateWithoutUsersInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"UserRoleUncheckedCreateWithoutUsersInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}]},{\"name\":\"UserSocialMediaCreateWithoutUserInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"id\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"instagram\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"twitter\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]}]},{\"name\":\"UserSocialMediaUncheckedCreateWithoutUserInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"id\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"instagram\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"twitter\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]}]},{\"name\":\"UserSocialMediaCreateOrConnectWithoutUserInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"where\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserSocialMediaWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"create\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserSocialMediaCreateWithoutUserInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"UserSocialMediaUncheckedCreateWithoutUserInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}]},{\"name\":\"BlogPostCreateWithoutAuthorInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"id\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"title\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"text\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"comments\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostCommentCreateNestedManyWithoutPostInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}]},{\"name\":\"BlogPostUncheckedCreateWithoutAuthorInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"id\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"title\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"text\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"comments\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostCommentUncheckedCreateNestedManyWithoutPostInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}]},{\"name\":\"BlogPostCreateOrConnectWithoutAuthorInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"where\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"create\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostCreateWithoutAuthorInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"BlogPostUncheckedCreateWithoutAuthorInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}]},{\"name\":\"BlogPostCreateManyAuthorInputEnvelope\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"data\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostCreateManyAuthorInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]},{\"name\":\"skipDuplicates\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Boolean\",\"location\":\"scalar\",\"isList\":false}]}]},{\"name\":\"BlogPostCommentCreateWithoutAuthorInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"id\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"text\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"post\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostCreateNestedOneWithoutCommentsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}]},{\"name\":\"BlogPostCommentUncheckedCreateWithoutAuthorInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"id\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"text\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"postId\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]}]},{\"name\":\"BlogPostCommentCreateOrConnectWithoutAuthorInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"where\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostCommentWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"create\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostCommentCreateWithoutAuthorInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"BlogPostCommentUncheckedCreateWithoutAuthorInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}]},{\"name\":\"BlogPostCommentCreateManyAuthorInputEnvelope\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"data\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostCommentCreateManyAuthorInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]},{\"name\":\"skipDuplicates\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Boolean\",\"location\":\"scalar\",\"isList\":false}]}]},{\"name\":\"CompanyCreateWithoutUserInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"id\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"name\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]}]},{\"name\":\"CompanyUncheckedCreateWithoutUserInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"id\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"name\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]}]},{\"name\":\"CompanyCreateOrConnectWithoutUserInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"where\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"CompanyWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"create\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"CompanyCreateWithoutUserInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"CompanyUncheckedCreateWithoutUserInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}]},{\"name\":\"CompanyCreateManyUserInputEnvelope\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"data\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"CompanyCreateManyUserInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]},{\"name\":\"skipDuplicates\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Boolean\",\"location\":\"scalar\",\"isList\":false}]}]},{\"name\":\"SiteCreateWithoutOwnerInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"id\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"name\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"url\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]}]},{\"name\":\"SiteUncheckedCreateWithoutOwnerInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"id\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"name\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"url\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]}]},{\"name\":\"SiteCreateOrConnectWithoutOwnerInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"where\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SiteWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"create\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SiteCreateWithoutOwnerInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"SiteUncheckedCreateWithoutOwnerInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}]},{\"name\":\"UserRoleUpsertWithWhereUniqueWithoutUsersInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"where\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserRoleWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"update\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserRoleUpdateWithoutUsersInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"UserRoleUncheckedUpdateWithoutUsersInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"create\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserRoleCreateWithoutUsersInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"UserRoleUncheckedCreateWithoutUsersInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}]},{\"name\":\"UserRoleUpdateWithWhereUniqueWithoutUsersInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"where\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserRoleWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"data\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserRoleUpdateWithoutUsersInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"UserRoleUncheckedUpdateWithoutUsersInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}]},{\"name\":\"UserRoleUpdateManyWithWhereWithoutUsersInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"where\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserRoleScalarWhereInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"data\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserRoleUpdateManyMutationInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"UserRoleUncheckedUpdateManyWithoutRolesInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}]},{\"name\":\"UserRoleScalarWhereInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"AND\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserRoleScalarWhereInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"UserRoleScalarWhereInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]},{\"name\":\"OR\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserRoleScalarWhereInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]},{\"name\":\"NOT\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserRoleScalarWhereInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"UserRoleScalarWhereInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]},{\"name\":\"id\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"StringFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"name\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"StringFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]}]},{\"name\":\"UserSocialMediaUpsertWithoutUserInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"update\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserSocialMediaUpdateWithoutUserInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"UserSocialMediaUncheckedUpdateWithoutUserInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"create\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserSocialMediaCreateWithoutUserInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"UserSocialMediaUncheckedCreateWithoutUserInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}]},{\"name\":\"UserSocialMediaUpdateWithoutUserInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"id\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"StringFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"instagram\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"StringFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"twitter\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"StringFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}]},{\"name\":\"UserSocialMediaUncheckedUpdateWithoutUserInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"id\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"StringFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"instagram\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"StringFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"twitter\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"StringFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}]},{\"name\":\"BlogPostUpsertWithWhereUniqueWithoutAuthorInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"where\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"update\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostUpdateWithoutAuthorInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"BlogPostUncheckedUpdateWithoutAuthorInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"create\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostCreateWithoutAuthorInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"BlogPostUncheckedCreateWithoutAuthorInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}]},{\"name\":\"BlogPostUpdateWithWhereUniqueWithoutAuthorInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"where\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"data\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostUpdateWithoutAuthorInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"BlogPostUncheckedUpdateWithoutAuthorInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}]},{\"name\":\"BlogPostUpdateManyWithWhereWithoutAuthorInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"where\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostScalarWhereInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"data\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostUpdateManyMutationInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"BlogPostUncheckedUpdateManyWithoutBlogPostsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}]},{\"name\":\"BlogPostScalarWhereInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"AND\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostScalarWhereInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"BlogPostScalarWhereInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]},{\"name\":\"OR\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostScalarWhereInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]},{\"name\":\"NOT\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostScalarWhereInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"BlogPostScalarWhereInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]},{\"name\":\"id\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"StringFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"title\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"StringFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"text\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"StringFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"authorId\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"StringNullableFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]}]},{\"name\":\"BlogPostCommentUpsertWithWhereUniqueWithoutAuthorInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"where\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostCommentWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"update\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostCommentUpdateWithoutAuthorInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"BlogPostCommentUncheckedUpdateWithoutAuthorInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"create\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostCommentCreateWithoutAuthorInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"BlogPostCommentUncheckedCreateWithoutAuthorInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}]},{\"name\":\"BlogPostCommentUpdateWithWhereUniqueWithoutAuthorInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"where\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostCommentWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"data\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostCommentUpdateWithoutAuthorInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"BlogPostCommentUncheckedUpdateWithoutAuthorInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}]},{\"name\":\"BlogPostCommentUpdateManyWithWhereWithoutAuthorInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"where\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostCommentScalarWhereInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"data\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostCommentUpdateManyMutationInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"BlogPostCommentUncheckedUpdateManyWithoutCommentsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}]},{\"name\":\"CompanyUpsertWithWhereUniqueWithoutUserInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"where\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"CompanyWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"update\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"CompanyUpdateWithoutUserInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"CompanyUncheckedUpdateWithoutUserInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"create\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"CompanyCreateWithoutUserInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"CompanyUncheckedCreateWithoutUserInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}]},{\"name\":\"CompanyUpdateWithWhereUniqueWithoutUserInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"where\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"CompanyWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"data\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"CompanyUpdateWithoutUserInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"CompanyUncheckedUpdateWithoutUserInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}]},{\"name\":\"CompanyUpdateManyWithWhereWithoutUserInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"where\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"CompanyScalarWhereInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"data\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"CompanyUpdateManyMutationInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"CompanyUncheckedUpdateManyWithoutCompaniesInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}]},{\"name\":\"CompanyScalarWhereInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"AND\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"CompanyScalarWhereInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"CompanyScalarWhereInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]},{\"name\":\"OR\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"CompanyScalarWhereInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]},{\"name\":\"NOT\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"CompanyScalarWhereInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"CompanyScalarWhereInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]},{\"name\":\"id\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"StringFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"name\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"StringFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"userId\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"StringFilter\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]}]},{\"name\":\"SiteUpsertWithoutOwnerInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"update\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SiteUpdateWithoutOwnerInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"SiteUncheckedUpdateWithoutOwnerInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"create\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SiteCreateWithoutOwnerInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"SiteUncheckedCreateWithoutOwnerInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}]},{\"name\":\"SiteUpdateWithoutOwnerInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"id\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"StringFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"name\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"StringFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"url\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"StringFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}]},{\"name\":\"SiteUncheckedUpdateWithoutOwnerInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"id\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"StringFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"name\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"StringFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"url\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"StringFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}]},{\"name\":\"UserUpdateWithoutRolesInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"id\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"StringFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"email\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"StringFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"firstName\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"NullableStringFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"lastName\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"NullableStringFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"gender\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"Gender\",\"namespace\":\"model\",\"location\":\"enumTypes\",\"isList\":false},{\"type\":\"NullableEnumGenderFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"yearOfBirth\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"NullableIntFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"wantsNewsletter\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Boolean\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"BoolFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"interests\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserUpdateinterestsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"Topic\",\"namespace\":\"model\",\"location\":\"enumTypes\",\"isList\":true}]},{\"name\":\"userSocialMedia\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserSocialMediaUpdateOneWithoutUserInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"address\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"NullableJsonNullValueInput\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false},{\"type\":\"Json\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"blogPosts\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostUpdateManyWithoutAuthorInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"comments\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostCommentUpdateManyWithoutAuthorInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"companies\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"CompanyUpdateManyWithoutUserInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"weddingDate\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"DateTime\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"NullableDateTimeFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"site\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SiteUpdateOneWithoutOwnerInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}]},{\"name\":\"UserUncheckedUpdateWithoutRolesInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"id\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"StringFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"email\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"StringFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"firstName\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"NullableStringFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"lastName\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"NullableStringFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"gender\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"Gender\",\"namespace\":\"model\",\"location\":\"enumTypes\",\"isList\":false},{\"type\":\"NullableEnumGenderFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"yearOfBirth\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"NullableIntFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"wantsNewsletter\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Boolean\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"BoolFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"interests\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserUpdateinterestsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"Topic\",\"namespace\":\"model\",\"location\":\"enumTypes\",\"isList\":true}]},{\"name\":\"userSocialMedia\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserSocialMediaUncheckedUpdateOneWithoutUserInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"address\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"NullableJsonNullValueInput\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false},{\"type\":\"Json\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"blogPosts\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostUncheckedUpdateManyWithoutAuthorInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"comments\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostCommentUncheckedUpdateManyWithoutAuthorInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"companies\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"CompanyUncheckedUpdateManyWithoutUserInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"weddingDate\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"DateTime\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"NullableDateTimeFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"site\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SiteUncheckedUpdateOneWithoutOwnerInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}]},{\"name\":\"UserUncheckedUpdateManyWithoutUsersInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"id\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"StringFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"email\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"StringFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"firstName\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"NullableStringFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"lastName\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"NullableStringFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"gender\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"Gender\",\"namespace\":\"model\",\"location\":\"enumTypes\",\"isList\":false},{\"type\":\"NullableEnumGenderFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"yearOfBirth\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"NullableIntFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"wantsNewsletter\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Boolean\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"BoolFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"interests\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserUpdateinterestsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"Topic\",\"namespace\":\"model\",\"location\":\"enumTypes\",\"isList\":true}]},{\"name\":\"address\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"NullableJsonNullValueInput\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false},{\"type\":\"Json\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"weddingDate\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"DateTime\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"NullableDateTimeFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]}]},{\"name\":\"BlogPostCommentCreateManyPostInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"id\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"text\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"authorId\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]}]},{\"name\":\"BlogPostCommentUpdateWithoutPostInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"id\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"StringFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"text\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"StringFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"author\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserUpdateOneWithoutCommentsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}]},{\"name\":\"BlogPostCommentUncheckedUpdateWithoutPostInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"id\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"StringFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"text\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"StringFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"authorId\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"NullableStringFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]}]},{\"name\":\"BlogPostCommentUncheckedUpdateManyWithoutCommentsInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"id\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"StringFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"text\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"StringFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"authorId\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"NullableStringFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]}]},{\"name\":\"BlogPostCreateManyAuthorInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"id\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"title\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"text\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]}]},{\"name\":\"BlogPostCommentCreateManyAuthorInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"id\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"text\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"postId\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]}]},{\"name\":\"CompanyCreateManyUserInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"id\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"name\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]}]},{\"name\":\"UserRoleUpdateWithoutUsersInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"id\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"StringFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"name\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"StringFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}]},{\"name\":\"UserRoleUncheckedUpdateWithoutUsersInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"id\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"StringFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"name\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"StringFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}]},{\"name\":\"UserRoleUncheckedUpdateManyWithoutRolesInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"id\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"StringFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"name\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"StringFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}]},{\"name\":\"BlogPostUpdateWithoutAuthorInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"id\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"StringFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"title\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"StringFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"text\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"StringFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"comments\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostCommentUpdateManyWithoutPostInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}]},{\"name\":\"BlogPostUncheckedUpdateWithoutAuthorInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"id\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"StringFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"title\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"StringFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"text\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"StringFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"comments\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostCommentUncheckedUpdateManyWithoutPostInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}]},{\"name\":\"BlogPostUncheckedUpdateManyWithoutBlogPostsInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"id\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"StringFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"title\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"StringFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"text\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"StringFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}]},{\"name\":\"BlogPostCommentUpdateWithoutAuthorInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"id\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"StringFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"text\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"StringFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"post\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostUpdateOneWithoutCommentsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}]},{\"name\":\"BlogPostCommentUncheckedUpdateWithoutAuthorInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"id\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"StringFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"text\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"StringFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"postId\",\"isRequired\":false,\"isNullable\":true,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"NullableStringFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"Null\",\"location\":\"scalar\",\"isList\":false}]}]},{\"name\":\"CompanyUpdateWithoutUserInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"id\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"StringFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"name\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"StringFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}]},{\"name\":\"CompanyUncheckedUpdateWithoutUserInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"id\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"StringFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"name\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"StringFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}]},{\"name\":\"CompanyUncheckedUpdateManyWithoutCompaniesInput\",\"constraints\":{\"maxNumFields\":null,\"minNumFields\":null},\"fields\":[{\"name\":\"id\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"StringFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"name\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false},{\"type\":\"StringFieldUpdateOperationsInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}]}]},\"outputObjectTypes\":{\"prisma\":[{\"name\":\"Query\",\"fields\":[{\"name\":\"findFirstUserRole\",\"args\":[{\"name\":\"where\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserRoleWhereInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"orderBy\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserRoleOrderByWithRelationInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true},{\"type\":\"UserRoleOrderByWithRelationInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"cursor\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserRoleWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"take\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"skip\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"distinct\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserRoleScalarFieldEnum\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":true}]}],\"isNullable\":true,\"outputType\":{\"type\":\"UserRole\",\"namespace\":\"model\",\"location\":\"outputObjectTypes\",\"isList\":false}},{\"name\":\"findManyUserRole\",\"args\":[{\"name\":\"where\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserRoleWhereInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"orderBy\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserRoleOrderByWithRelationInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true},{\"type\":\"UserRoleOrderByWithRelationInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"cursor\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserRoleWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"take\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"skip\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"distinct\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserRoleScalarFieldEnum\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":true}]}],\"isNullable\":false,\"outputType\":{\"type\":\"UserRole\",\"namespace\":\"model\",\"location\":\"outputObjectTypes\",\"isList\":true}},{\"name\":\"aggregateUserRole\",\"args\":[{\"name\":\"where\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserRoleWhereInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"orderBy\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserRoleOrderByWithRelationInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true},{\"type\":\"UserRoleOrderByWithRelationInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"cursor\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserRoleWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"take\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"skip\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}]}],\"isNullable\":false,\"outputType\":{\"type\":\"AggregateUserRole\",\"namespace\":\"prisma\",\"location\":\"outputObjectTypes\",\"isList\":false}},{\"name\":\"groupByUserRole\",\"args\":[{\"name\":\"where\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserRoleWhereInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"orderBy\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserRoleOrderByWithAggregationInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true},{\"type\":\"UserRoleOrderByWithAggregationInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"by\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserRoleScalarFieldEnum\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":true},{\"type\":\"UserRoleScalarFieldEnum\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]},{\"name\":\"having\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserRoleScalarWhereWithAggregatesInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"take\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"skip\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}]}],\"isNullable\":false,\"outputType\":{\"type\":\"UserRoleGroupByOutputType\",\"namespace\":\"prisma\",\"location\":\"outputObjectTypes\",\"isList\":true}},{\"name\":\"findUniqueUserRole\",\"args\":[{\"name\":\"where\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserRoleWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}],\"isNullable\":true,\"outputType\":{\"type\":\"UserRole\",\"namespace\":\"model\",\"location\":\"outputObjectTypes\",\"isList\":false}},{\"name\":\"findFirstCompany\",\"args\":[{\"name\":\"where\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"CompanyWhereInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"orderBy\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"CompanyOrderByWithRelationInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true},{\"type\":\"CompanyOrderByWithRelationInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"cursor\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"CompanyWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"take\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"skip\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"distinct\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"CompanyScalarFieldEnum\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":true}]}],\"isNullable\":true,\"outputType\":{\"type\":\"Company\",\"namespace\":\"model\",\"location\":\"outputObjectTypes\",\"isList\":false}},{\"name\":\"findManyCompany\",\"args\":[{\"name\":\"where\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"CompanyWhereInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"orderBy\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"CompanyOrderByWithRelationInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true},{\"type\":\"CompanyOrderByWithRelationInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"cursor\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"CompanyWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"take\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"skip\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"distinct\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"CompanyScalarFieldEnum\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":true}]}],\"isNullable\":false,\"outputType\":{\"type\":\"Company\",\"namespace\":\"model\",\"location\":\"outputObjectTypes\",\"isList\":true}},{\"name\":\"aggregateCompany\",\"args\":[{\"name\":\"where\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"CompanyWhereInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"orderBy\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"CompanyOrderByWithRelationInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true},{\"type\":\"CompanyOrderByWithRelationInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"cursor\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"CompanyWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"take\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"skip\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}]}],\"isNullable\":false,\"outputType\":{\"type\":\"AggregateCompany\",\"namespace\":\"prisma\",\"location\":\"outputObjectTypes\",\"isList\":false}},{\"name\":\"groupByCompany\",\"args\":[{\"name\":\"where\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"CompanyWhereInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"orderBy\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"CompanyOrderByWithAggregationInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true},{\"type\":\"CompanyOrderByWithAggregationInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"by\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"CompanyScalarFieldEnum\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":true},{\"type\":\"CompanyScalarFieldEnum\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]},{\"name\":\"having\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"CompanyScalarWhereWithAggregatesInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"take\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"skip\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}]}],\"isNullable\":false,\"outputType\":{\"type\":\"CompanyGroupByOutputType\",\"namespace\":\"prisma\",\"location\":\"outputObjectTypes\",\"isList\":true}},{\"name\":\"findUniqueCompany\",\"args\":[{\"name\":\"where\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"CompanyWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}],\"isNullable\":true,\"outputType\":{\"type\":\"Company\",\"namespace\":\"model\",\"location\":\"outputObjectTypes\",\"isList\":false}},{\"name\":\"findFirstUserSocialMedia\",\"args\":[{\"name\":\"where\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserSocialMediaWhereInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"orderBy\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserSocialMediaOrderByWithRelationInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true},{\"type\":\"UserSocialMediaOrderByWithRelationInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"cursor\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserSocialMediaWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"take\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"skip\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"distinct\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserSocialMediaScalarFieldEnum\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":true}]}],\"isNullable\":true,\"outputType\":{\"type\":\"UserSocialMedia\",\"namespace\":\"model\",\"location\":\"outputObjectTypes\",\"isList\":false}},{\"name\":\"findManyUserSocialMedia\",\"args\":[{\"name\":\"where\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserSocialMediaWhereInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"orderBy\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserSocialMediaOrderByWithRelationInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true},{\"type\":\"UserSocialMediaOrderByWithRelationInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"cursor\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserSocialMediaWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"take\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"skip\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"distinct\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserSocialMediaScalarFieldEnum\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":true}]}],\"isNullable\":false,\"outputType\":{\"type\":\"UserSocialMedia\",\"namespace\":\"model\",\"location\":\"outputObjectTypes\",\"isList\":true}},{\"name\":\"aggregateUserSocialMedia\",\"args\":[{\"name\":\"where\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserSocialMediaWhereInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"orderBy\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserSocialMediaOrderByWithRelationInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true},{\"type\":\"UserSocialMediaOrderByWithRelationInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"cursor\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserSocialMediaWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"take\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"skip\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}]}],\"isNullable\":false,\"outputType\":{\"type\":\"AggregateUserSocialMedia\",\"namespace\":\"prisma\",\"location\":\"outputObjectTypes\",\"isList\":false}},{\"name\":\"groupByUserSocialMedia\",\"args\":[{\"name\":\"where\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserSocialMediaWhereInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"orderBy\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserSocialMediaOrderByWithAggregationInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true},{\"type\":\"UserSocialMediaOrderByWithAggregationInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"by\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserSocialMediaScalarFieldEnum\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":true},{\"type\":\"UserSocialMediaScalarFieldEnum\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]},{\"name\":\"having\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserSocialMediaScalarWhereWithAggregatesInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"take\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"skip\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}]}],\"isNullable\":false,\"outputType\":{\"type\":\"UserSocialMediaGroupByOutputType\",\"namespace\":\"prisma\",\"location\":\"outputObjectTypes\",\"isList\":true}},{\"name\":\"findUniqueUserSocialMedia\",\"args\":[{\"name\":\"where\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserSocialMediaWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}],\"isNullable\":true,\"outputType\":{\"type\":\"UserSocialMedia\",\"namespace\":\"model\",\"location\":\"outputObjectTypes\",\"isList\":false}},{\"name\":\"findFirstBlogPost\",\"args\":[{\"name\":\"where\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostWhereInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"orderBy\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostOrderByWithRelationInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true},{\"type\":\"BlogPostOrderByWithRelationInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"cursor\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"take\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"skip\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"distinct\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostScalarFieldEnum\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":true}]}],\"isNullable\":true,\"outputType\":{\"type\":\"BlogPost\",\"namespace\":\"model\",\"location\":\"outputObjectTypes\",\"isList\":false}},{\"name\":\"findManyBlogPost\",\"args\":[{\"name\":\"where\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostWhereInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"orderBy\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostOrderByWithRelationInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true},{\"type\":\"BlogPostOrderByWithRelationInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"cursor\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"take\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"skip\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"distinct\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostScalarFieldEnum\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":true}]}],\"isNullable\":false,\"outputType\":{\"type\":\"BlogPost\",\"namespace\":\"model\",\"location\":\"outputObjectTypes\",\"isList\":true}},{\"name\":\"aggregateBlogPost\",\"args\":[{\"name\":\"where\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostWhereInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"orderBy\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostOrderByWithRelationInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true},{\"type\":\"BlogPostOrderByWithRelationInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"cursor\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"take\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"skip\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}]}],\"isNullable\":false,\"outputType\":{\"type\":\"AggregateBlogPost\",\"namespace\":\"prisma\",\"location\":\"outputObjectTypes\",\"isList\":false}},{\"name\":\"groupByBlogPost\",\"args\":[{\"name\":\"where\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostWhereInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"orderBy\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostOrderByWithAggregationInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true},{\"type\":\"BlogPostOrderByWithAggregationInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"by\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostScalarFieldEnum\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":true},{\"type\":\"BlogPostScalarFieldEnum\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]},{\"name\":\"having\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostScalarWhereWithAggregatesInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"take\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"skip\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}]}],\"isNullable\":false,\"outputType\":{\"type\":\"BlogPostGroupByOutputType\",\"namespace\":\"prisma\",\"location\":\"outputObjectTypes\",\"isList\":true}},{\"name\":\"findUniqueBlogPost\",\"args\":[{\"name\":\"where\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}],\"isNullable\":true,\"outputType\":{\"type\":\"BlogPost\",\"namespace\":\"model\",\"location\":\"outputObjectTypes\",\"isList\":false}},{\"name\":\"findFirstBlogPostComment\",\"args\":[{\"name\":\"where\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostCommentWhereInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"orderBy\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostCommentOrderByWithRelationInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true},{\"type\":\"BlogPostCommentOrderByWithRelationInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"cursor\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostCommentWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"take\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"skip\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"distinct\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostCommentScalarFieldEnum\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":true}]}],\"isNullable\":true,\"outputType\":{\"type\":\"BlogPostComment\",\"namespace\":\"model\",\"location\":\"outputObjectTypes\",\"isList\":false}},{\"name\":\"findManyBlogPostComment\",\"args\":[{\"name\":\"where\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostCommentWhereInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"orderBy\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostCommentOrderByWithRelationInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true},{\"type\":\"BlogPostCommentOrderByWithRelationInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"cursor\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostCommentWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"take\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"skip\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"distinct\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostCommentScalarFieldEnum\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":true}]}],\"isNullable\":false,\"outputType\":{\"type\":\"BlogPostComment\",\"namespace\":\"model\",\"location\":\"outputObjectTypes\",\"isList\":true}},{\"name\":\"aggregateBlogPostComment\",\"args\":[{\"name\":\"where\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostCommentWhereInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"orderBy\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostCommentOrderByWithRelationInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true},{\"type\":\"BlogPostCommentOrderByWithRelationInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"cursor\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostCommentWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"take\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"skip\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}]}],\"isNullable\":false,\"outputType\":{\"type\":\"AggregateBlogPostComment\",\"namespace\":\"prisma\",\"location\":\"outputObjectTypes\",\"isList\":false}},{\"name\":\"groupByBlogPostComment\",\"args\":[{\"name\":\"where\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostCommentWhereInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"orderBy\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostCommentOrderByWithAggregationInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true},{\"type\":\"BlogPostCommentOrderByWithAggregationInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"by\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostCommentScalarFieldEnum\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":true},{\"type\":\"BlogPostCommentScalarFieldEnum\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]},{\"name\":\"having\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostCommentScalarWhereWithAggregatesInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"take\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"skip\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}]}],\"isNullable\":false,\"outputType\":{\"type\":\"BlogPostCommentGroupByOutputType\",\"namespace\":\"prisma\",\"location\":\"outputObjectTypes\",\"isList\":true}},{\"name\":\"findUniqueBlogPostComment\",\"args\":[{\"name\":\"where\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostCommentWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}],\"isNullable\":true,\"outputType\":{\"type\":\"BlogPostComment\",\"namespace\":\"model\",\"location\":\"outputObjectTypes\",\"isList\":false}},{\"name\":\"findFirstSite\",\"args\":[{\"name\":\"where\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SiteWhereInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"orderBy\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SiteOrderByWithRelationInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true},{\"type\":\"SiteOrderByWithRelationInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"cursor\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SiteWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"take\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"skip\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"distinct\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SiteScalarFieldEnum\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":true}]}],\"isNullable\":true,\"outputType\":{\"type\":\"Site\",\"namespace\":\"model\",\"location\":\"outputObjectTypes\",\"isList\":false}},{\"name\":\"findManySite\",\"args\":[{\"name\":\"where\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SiteWhereInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"orderBy\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SiteOrderByWithRelationInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true},{\"type\":\"SiteOrderByWithRelationInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"cursor\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SiteWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"take\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"skip\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"distinct\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SiteScalarFieldEnum\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":true}]}],\"isNullable\":false,\"outputType\":{\"type\":\"Site\",\"namespace\":\"model\",\"location\":\"outputObjectTypes\",\"isList\":true}},{\"name\":\"aggregateSite\",\"args\":[{\"name\":\"where\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SiteWhereInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"orderBy\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SiteOrderByWithRelationInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true},{\"type\":\"SiteOrderByWithRelationInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"cursor\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SiteWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"take\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"skip\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}]}],\"isNullable\":false,\"outputType\":{\"type\":\"AggregateSite\",\"namespace\":\"prisma\",\"location\":\"outputObjectTypes\",\"isList\":false}},{\"name\":\"groupBySite\",\"args\":[{\"name\":\"where\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SiteWhereInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"orderBy\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SiteOrderByWithAggregationInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true},{\"type\":\"SiteOrderByWithAggregationInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"by\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SiteScalarFieldEnum\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":true},{\"type\":\"SiteScalarFieldEnum\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]},{\"name\":\"having\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SiteScalarWhereWithAggregatesInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"take\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"skip\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}]}],\"isNullable\":false,\"outputType\":{\"type\":\"SiteGroupByOutputType\",\"namespace\":\"prisma\",\"location\":\"outputObjectTypes\",\"isList\":true}},{\"name\":\"findUniqueSite\",\"args\":[{\"name\":\"where\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SiteWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}],\"isNullable\":true,\"outputType\":{\"type\":\"Site\",\"namespace\":\"model\",\"location\":\"outputObjectTypes\",\"isList\":false}},{\"name\":\"findFirstUser\",\"args\":[{\"name\":\"where\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserWhereInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"orderBy\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserOrderByWithRelationInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true},{\"type\":\"UserOrderByWithRelationInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"cursor\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"take\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"skip\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"distinct\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserScalarFieldEnum\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":true}]}],\"isNullable\":true,\"outputType\":{\"type\":\"User\",\"namespace\":\"model\",\"location\":\"outputObjectTypes\",\"isList\":false}},{\"name\":\"findManyUser\",\"args\":[{\"name\":\"where\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserWhereInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"orderBy\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserOrderByWithRelationInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true},{\"type\":\"UserOrderByWithRelationInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"cursor\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"take\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"skip\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"distinct\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserScalarFieldEnum\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":true}]}],\"isNullable\":false,\"outputType\":{\"type\":\"User\",\"namespace\":\"model\",\"location\":\"outputObjectTypes\",\"isList\":true}},{\"name\":\"aggregateUser\",\"args\":[{\"name\":\"where\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserWhereInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"orderBy\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserOrderByWithRelationInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true},{\"type\":\"UserOrderByWithRelationInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"cursor\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"take\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"skip\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}]}],\"isNullable\":false,\"outputType\":{\"type\":\"AggregateUser\",\"namespace\":\"prisma\",\"location\":\"outputObjectTypes\",\"isList\":false}},{\"name\":\"groupByUser\",\"args\":[{\"name\":\"where\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserWhereInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"orderBy\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserOrderByWithAggregationInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true},{\"type\":\"UserOrderByWithAggregationInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"by\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserScalarFieldEnum\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":true},{\"type\":\"UserScalarFieldEnum\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]},{\"name\":\"having\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserScalarWhereWithAggregatesInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"take\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"skip\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}]}],\"isNullable\":false,\"outputType\":{\"type\":\"UserGroupByOutputType\",\"namespace\":\"prisma\",\"location\":\"outputObjectTypes\",\"isList\":true}},{\"name\":\"findUniqueUser\",\"args\":[{\"name\":\"where\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}],\"isNullable\":true,\"outputType\":{\"type\":\"User\",\"namespace\":\"model\",\"location\":\"outputObjectTypes\",\"isList\":false}},{\"name\":\"findFirstFilteringTest\",\"args\":[{\"name\":\"where\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"FilteringTestWhereInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"orderBy\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"FilteringTestOrderByWithRelationInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true},{\"type\":\"FilteringTestOrderByWithRelationInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"cursor\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"FilteringTestWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"take\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"skip\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"distinct\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"FilteringTestScalarFieldEnum\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":true}]}],\"isNullable\":true,\"outputType\":{\"type\":\"FilteringTest\",\"namespace\":\"model\",\"location\":\"outputObjectTypes\",\"isList\":false}},{\"name\":\"findManyFilteringTest\",\"args\":[{\"name\":\"where\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"FilteringTestWhereInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"orderBy\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"FilteringTestOrderByWithRelationInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true},{\"type\":\"FilteringTestOrderByWithRelationInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"cursor\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"FilteringTestWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"take\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"skip\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"distinct\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"FilteringTestScalarFieldEnum\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":true}]}],\"isNullable\":false,\"outputType\":{\"type\":\"FilteringTest\",\"namespace\":\"model\",\"location\":\"outputObjectTypes\",\"isList\":true}},{\"name\":\"aggregateFilteringTest\",\"args\":[{\"name\":\"where\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"FilteringTestWhereInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"orderBy\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"FilteringTestOrderByWithRelationInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true},{\"type\":\"FilteringTestOrderByWithRelationInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"cursor\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"FilteringTestWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"take\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"skip\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}]}],\"isNullable\":false,\"outputType\":{\"type\":\"AggregateFilteringTest\",\"namespace\":\"prisma\",\"location\":\"outputObjectTypes\",\"isList\":false}},{\"name\":\"groupByFilteringTest\",\"args\":[{\"name\":\"where\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"FilteringTestWhereInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"orderBy\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"FilteringTestOrderByWithAggregationInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true},{\"type\":\"FilteringTestOrderByWithAggregationInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"by\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"FilteringTestScalarFieldEnum\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":true},{\"type\":\"FilteringTestScalarFieldEnum\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]},{\"name\":\"having\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"FilteringTestScalarWhereWithAggregatesInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"take\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"skip\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}]}],\"isNullable\":false,\"outputType\":{\"type\":\"FilteringTestGroupByOutputType\",\"namespace\":\"prisma\",\"location\":\"outputObjectTypes\",\"isList\":true}},{\"name\":\"findUniqueFilteringTest\",\"args\":[{\"name\":\"where\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"FilteringTestWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}],\"isNullable\":true,\"outputType\":{\"type\":\"FilteringTest\",\"namespace\":\"model\",\"location\":\"outputObjectTypes\",\"isList\":false}},{\"name\":\"findFirstSomePublicRecordWithIntId\",\"args\":[{\"name\":\"where\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SomePublicRecordWithIntIdWhereInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"orderBy\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SomePublicRecordWithIntIdOrderByWithRelationInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true},{\"type\":\"SomePublicRecordWithIntIdOrderByWithRelationInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"cursor\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SomePublicRecordWithIntIdWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"take\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"skip\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"distinct\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SomePublicRecordWithIntIdScalarFieldEnum\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":true}]}],\"isNullable\":true,\"outputType\":{\"type\":\"SomePublicRecordWithIntId\",\"namespace\":\"model\",\"location\":\"outputObjectTypes\",\"isList\":false}},{\"name\":\"findManySomePublicRecordWithIntId\",\"args\":[{\"name\":\"where\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SomePublicRecordWithIntIdWhereInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"orderBy\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SomePublicRecordWithIntIdOrderByWithRelationInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true},{\"type\":\"SomePublicRecordWithIntIdOrderByWithRelationInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"cursor\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SomePublicRecordWithIntIdWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"take\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"skip\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"distinct\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SomePublicRecordWithIntIdScalarFieldEnum\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":true}]}],\"isNullable\":false,\"outputType\":{\"type\":\"SomePublicRecordWithIntId\",\"namespace\":\"model\",\"location\":\"outputObjectTypes\",\"isList\":true}},{\"name\":\"aggregateSomePublicRecordWithIntId\",\"args\":[{\"name\":\"where\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SomePublicRecordWithIntIdWhereInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"orderBy\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SomePublicRecordWithIntIdOrderByWithRelationInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true},{\"type\":\"SomePublicRecordWithIntIdOrderByWithRelationInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"cursor\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SomePublicRecordWithIntIdWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"take\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"skip\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}]}],\"isNullable\":false,\"outputType\":{\"type\":\"AggregateSomePublicRecordWithIntId\",\"namespace\":\"prisma\",\"location\":\"outputObjectTypes\",\"isList\":false}},{\"name\":\"groupBySomePublicRecordWithIntId\",\"args\":[{\"name\":\"where\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SomePublicRecordWithIntIdWhereInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"orderBy\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SomePublicRecordWithIntIdOrderByWithAggregationInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true},{\"type\":\"SomePublicRecordWithIntIdOrderByWithAggregationInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"by\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SomePublicRecordWithIntIdScalarFieldEnum\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":true},{\"type\":\"SomePublicRecordWithIntIdScalarFieldEnum\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":false}]},{\"name\":\"having\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SomePublicRecordWithIntIdScalarWhereWithAggregatesInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"take\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"skip\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}]}],\"isNullable\":false,\"outputType\":{\"type\":\"SomePublicRecordWithIntIdGroupByOutputType\",\"namespace\":\"prisma\",\"location\":\"outputObjectTypes\",\"isList\":true}},{\"name\":\"findUniqueSomePublicRecordWithIntId\",\"args\":[{\"name\":\"where\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SomePublicRecordWithIntIdWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}],\"isNullable\":true,\"outputType\":{\"type\":\"SomePublicRecordWithIntId\",\"namespace\":\"model\",\"location\":\"outputObjectTypes\",\"isList\":false}}]},{\"name\":\"Mutation\",\"fields\":[{\"name\":\"createOneUserRole\",\"args\":[{\"name\":\"data\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserRoleCreateInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"UserRoleUncheckedCreateInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}],\"isNullable\":false,\"outputType\":{\"type\":\"UserRole\",\"namespace\":\"model\",\"location\":\"outputObjectTypes\",\"isList\":false}},{\"name\":\"upsertOneUserRole\",\"args\":[{\"name\":\"where\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserRoleWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"create\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserRoleCreateInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"UserRoleUncheckedCreateInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"update\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserRoleUpdateInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"UserRoleUncheckedUpdateInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}],\"isNullable\":false,\"outputType\":{\"type\":\"UserRole\",\"namespace\":\"model\",\"location\":\"outputObjectTypes\",\"isList\":false}},{\"name\":\"createManyUserRole\",\"args\":[{\"name\":\"data\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserRoleCreateManyInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]},{\"name\":\"skipDuplicates\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Boolean\",\"location\":\"scalar\",\"isList\":false}]}],\"isNullable\":false,\"outputType\":{\"type\":\"AffectedRowsOutput\",\"namespace\":\"prisma\",\"location\":\"outputObjectTypes\",\"isList\":false}},{\"name\":\"deleteOneUserRole\",\"args\":[{\"name\":\"where\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserRoleWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}],\"isNullable\":true,\"outputType\":{\"type\":\"UserRole\",\"namespace\":\"model\",\"location\":\"outputObjectTypes\",\"isList\":false}},{\"name\":\"updateOneUserRole\",\"args\":[{\"name\":\"data\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserRoleUpdateInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"UserRoleUncheckedUpdateInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"where\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserRoleWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}],\"isNullable\":true,\"outputType\":{\"type\":\"UserRole\",\"namespace\":\"model\",\"location\":\"outputObjectTypes\",\"isList\":false}},{\"name\":\"updateManyUserRole\",\"args\":[{\"name\":\"data\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserRoleUpdateManyMutationInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"UserRoleUncheckedUpdateManyInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"where\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserRoleWhereInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}],\"isNullable\":false,\"outputType\":{\"type\":\"AffectedRowsOutput\",\"namespace\":\"prisma\",\"location\":\"outputObjectTypes\",\"isList\":false}},{\"name\":\"deleteManyUserRole\",\"args\":[{\"name\":\"where\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserRoleWhereInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}],\"isNullable\":false,\"outputType\":{\"type\":\"AffectedRowsOutput\",\"namespace\":\"prisma\",\"location\":\"outputObjectTypes\",\"isList\":false}},{\"name\":\"createOneCompany\",\"args\":[{\"name\":\"data\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"CompanyCreateInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"CompanyUncheckedCreateInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}],\"isNullable\":false,\"outputType\":{\"type\":\"Company\",\"namespace\":\"model\",\"location\":\"outputObjectTypes\",\"isList\":false}},{\"name\":\"upsertOneCompany\",\"args\":[{\"name\":\"where\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"CompanyWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"create\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"CompanyCreateInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"CompanyUncheckedCreateInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"update\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"CompanyUpdateInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"CompanyUncheckedUpdateInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}],\"isNullable\":false,\"outputType\":{\"type\":\"Company\",\"namespace\":\"model\",\"location\":\"outputObjectTypes\",\"isList\":false}},{\"name\":\"createManyCompany\",\"args\":[{\"name\":\"data\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"CompanyCreateManyInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]},{\"name\":\"skipDuplicates\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Boolean\",\"location\":\"scalar\",\"isList\":false}]}],\"isNullable\":false,\"outputType\":{\"type\":\"AffectedRowsOutput\",\"namespace\":\"prisma\",\"location\":\"outputObjectTypes\",\"isList\":false}},{\"name\":\"deleteOneCompany\",\"args\":[{\"name\":\"where\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"CompanyWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}],\"isNullable\":true,\"outputType\":{\"type\":\"Company\",\"namespace\":\"model\",\"location\":\"outputObjectTypes\",\"isList\":false}},{\"name\":\"updateOneCompany\",\"args\":[{\"name\":\"data\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"CompanyUpdateInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"CompanyUncheckedUpdateInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"where\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"CompanyWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}],\"isNullable\":true,\"outputType\":{\"type\":\"Company\",\"namespace\":\"model\",\"location\":\"outputObjectTypes\",\"isList\":false}},{\"name\":\"updateManyCompany\",\"args\":[{\"name\":\"data\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"CompanyUpdateManyMutationInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"CompanyUncheckedUpdateManyInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"where\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"CompanyWhereInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}],\"isNullable\":false,\"outputType\":{\"type\":\"AffectedRowsOutput\",\"namespace\":\"prisma\",\"location\":\"outputObjectTypes\",\"isList\":false}},{\"name\":\"deleteManyCompany\",\"args\":[{\"name\":\"where\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"CompanyWhereInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}],\"isNullable\":false,\"outputType\":{\"type\":\"AffectedRowsOutput\",\"namespace\":\"prisma\",\"location\":\"outputObjectTypes\",\"isList\":false}},{\"name\":\"createOneUserSocialMedia\",\"args\":[{\"name\":\"data\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserSocialMediaCreateInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"UserSocialMediaUncheckedCreateInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}],\"isNullable\":false,\"outputType\":{\"type\":\"UserSocialMedia\",\"namespace\":\"model\",\"location\":\"outputObjectTypes\",\"isList\":false}},{\"name\":\"upsertOneUserSocialMedia\",\"args\":[{\"name\":\"where\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserSocialMediaWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"create\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserSocialMediaCreateInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"UserSocialMediaUncheckedCreateInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"update\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserSocialMediaUpdateInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"UserSocialMediaUncheckedUpdateInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}],\"isNullable\":false,\"outputType\":{\"type\":\"UserSocialMedia\",\"namespace\":\"model\",\"location\":\"outputObjectTypes\",\"isList\":false}},{\"name\":\"createManyUserSocialMedia\",\"args\":[{\"name\":\"data\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserSocialMediaCreateManyInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]},{\"name\":\"skipDuplicates\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Boolean\",\"location\":\"scalar\",\"isList\":false}]}],\"isNullable\":false,\"outputType\":{\"type\":\"AffectedRowsOutput\",\"namespace\":\"prisma\",\"location\":\"outputObjectTypes\",\"isList\":false}},{\"name\":\"deleteOneUserSocialMedia\",\"args\":[{\"name\":\"where\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserSocialMediaWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}],\"isNullable\":true,\"outputType\":{\"type\":\"UserSocialMedia\",\"namespace\":\"model\",\"location\":\"outputObjectTypes\",\"isList\":false}},{\"name\":\"updateOneUserSocialMedia\",\"args\":[{\"name\":\"data\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserSocialMediaUpdateInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"UserSocialMediaUncheckedUpdateInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"where\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserSocialMediaWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}],\"isNullable\":true,\"outputType\":{\"type\":\"UserSocialMedia\",\"namespace\":\"model\",\"location\":\"outputObjectTypes\",\"isList\":false}},{\"name\":\"updateManyUserSocialMedia\",\"args\":[{\"name\":\"data\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserSocialMediaUpdateManyMutationInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"UserSocialMediaUncheckedUpdateManyInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"where\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserSocialMediaWhereInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}],\"isNullable\":false,\"outputType\":{\"type\":\"AffectedRowsOutput\",\"namespace\":\"prisma\",\"location\":\"outputObjectTypes\",\"isList\":false}},{\"name\":\"deleteManyUserSocialMedia\",\"args\":[{\"name\":\"where\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserSocialMediaWhereInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}],\"isNullable\":false,\"outputType\":{\"type\":\"AffectedRowsOutput\",\"namespace\":\"prisma\",\"location\":\"outputObjectTypes\",\"isList\":false}},{\"name\":\"createOneBlogPost\",\"args\":[{\"name\":\"data\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostCreateInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"BlogPostUncheckedCreateInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}],\"isNullable\":false,\"outputType\":{\"type\":\"BlogPost\",\"namespace\":\"model\",\"location\":\"outputObjectTypes\",\"isList\":false}},{\"name\":\"upsertOneBlogPost\",\"args\":[{\"name\":\"where\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"create\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostCreateInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"BlogPostUncheckedCreateInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"update\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostUpdateInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"BlogPostUncheckedUpdateInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}],\"isNullable\":false,\"outputType\":{\"type\":\"BlogPost\",\"namespace\":\"model\",\"location\":\"outputObjectTypes\",\"isList\":false}},{\"name\":\"createManyBlogPost\",\"args\":[{\"name\":\"data\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostCreateManyInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]},{\"name\":\"skipDuplicates\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Boolean\",\"location\":\"scalar\",\"isList\":false}]}],\"isNullable\":false,\"outputType\":{\"type\":\"AffectedRowsOutput\",\"namespace\":\"prisma\",\"location\":\"outputObjectTypes\",\"isList\":false}},{\"name\":\"deleteOneBlogPost\",\"args\":[{\"name\":\"where\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}],\"isNullable\":true,\"outputType\":{\"type\":\"BlogPost\",\"namespace\":\"model\",\"location\":\"outputObjectTypes\",\"isList\":false}},{\"name\":\"updateOneBlogPost\",\"args\":[{\"name\":\"data\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostUpdateInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"BlogPostUncheckedUpdateInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"where\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}],\"isNullable\":true,\"outputType\":{\"type\":\"BlogPost\",\"namespace\":\"model\",\"location\":\"outputObjectTypes\",\"isList\":false}},{\"name\":\"updateManyBlogPost\",\"args\":[{\"name\":\"data\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostUpdateManyMutationInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"BlogPostUncheckedUpdateManyInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"where\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostWhereInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}],\"isNullable\":false,\"outputType\":{\"type\":\"AffectedRowsOutput\",\"namespace\":\"prisma\",\"location\":\"outputObjectTypes\",\"isList\":false}},{\"name\":\"deleteManyBlogPost\",\"args\":[{\"name\":\"where\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostWhereInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}],\"isNullable\":false,\"outputType\":{\"type\":\"AffectedRowsOutput\",\"namespace\":\"prisma\",\"location\":\"outputObjectTypes\",\"isList\":false}},{\"name\":\"createOneBlogPostComment\",\"args\":[{\"name\":\"data\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostCommentCreateInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"BlogPostCommentUncheckedCreateInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}],\"isNullable\":false,\"outputType\":{\"type\":\"BlogPostComment\",\"namespace\":\"model\",\"location\":\"outputObjectTypes\",\"isList\":false}},{\"name\":\"upsertOneBlogPostComment\",\"args\":[{\"name\":\"where\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostCommentWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"create\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostCommentCreateInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"BlogPostCommentUncheckedCreateInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"update\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostCommentUpdateInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"BlogPostCommentUncheckedUpdateInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}],\"isNullable\":false,\"outputType\":{\"type\":\"BlogPostComment\",\"namespace\":\"model\",\"location\":\"outputObjectTypes\",\"isList\":false}},{\"name\":\"createManyBlogPostComment\",\"args\":[{\"name\":\"data\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostCommentCreateManyInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]},{\"name\":\"skipDuplicates\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Boolean\",\"location\":\"scalar\",\"isList\":false}]}],\"isNullable\":false,\"outputType\":{\"type\":\"AffectedRowsOutput\",\"namespace\":\"prisma\",\"location\":\"outputObjectTypes\",\"isList\":false}},{\"name\":\"deleteOneBlogPostComment\",\"args\":[{\"name\":\"where\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostCommentWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}],\"isNullable\":true,\"outputType\":{\"type\":\"BlogPostComment\",\"namespace\":\"model\",\"location\":\"outputObjectTypes\",\"isList\":false}},{\"name\":\"updateOneBlogPostComment\",\"args\":[{\"name\":\"data\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostCommentUpdateInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"BlogPostCommentUncheckedUpdateInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"where\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostCommentWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}],\"isNullable\":true,\"outputType\":{\"type\":\"BlogPostComment\",\"namespace\":\"model\",\"location\":\"outputObjectTypes\",\"isList\":false}},{\"name\":\"updateManyBlogPostComment\",\"args\":[{\"name\":\"data\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostCommentUpdateManyMutationInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"BlogPostCommentUncheckedUpdateManyInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"where\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostCommentWhereInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}],\"isNullable\":false,\"outputType\":{\"type\":\"AffectedRowsOutput\",\"namespace\":\"prisma\",\"location\":\"outputObjectTypes\",\"isList\":false}},{\"name\":\"deleteManyBlogPostComment\",\"args\":[{\"name\":\"where\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostCommentWhereInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}],\"isNullable\":false,\"outputType\":{\"type\":\"AffectedRowsOutput\",\"namespace\":\"prisma\",\"location\":\"outputObjectTypes\",\"isList\":false}},{\"name\":\"createOneSite\",\"args\":[{\"name\":\"data\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SiteCreateInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"SiteUncheckedCreateInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}],\"isNullable\":false,\"outputType\":{\"type\":\"Site\",\"namespace\":\"model\",\"location\":\"outputObjectTypes\",\"isList\":false}},{\"name\":\"upsertOneSite\",\"args\":[{\"name\":\"where\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SiteWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"create\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SiteCreateInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"SiteUncheckedCreateInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"update\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SiteUpdateInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"SiteUncheckedUpdateInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}],\"isNullable\":false,\"outputType\":{\"type\":\"Site\",\"namespace\":\"model\",\"location\":\"outputObjectTypes\",\"isList\":false}},{\"name\":\"createManySite\",\"args\":[{\"name\":\"data\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SiteCreateManyInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]},{\"name\":\"skipDuplicates\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Boolean\",\"location\":\"scalar\",\"isList\":false}]}],\"isNullable\":false,\"outputType\":{\"type\":\"AffectedRowsOutput\",\"namespace\":\"prisma\",\"location\":\"outputObjectTypes\",\"isList\":false}},{\"name\":\"deleteOneSite\",\"args\":[{\"name\":\"where\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SiteWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}],\"isNullable\":true,\"outputType\":{\"type\":\"Site\",\"namespace\":\"model\",\"location\":\"outputObjectTypes\",\"isList\":false}},{\"name\":\"updateOneSite\",\"args\":[{\"name\":\"data\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SiteUpdateInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"SiteUncheckedUpdateInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"where\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SiteWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}],\"isNullable\":true,\"outputType\":{\"type\":\"Site\",\"namespace\":\"model\",\"location\":\"outputObjectTypes\",\"isList\":false}},{\"name\":\"updateManySite\",\"args\":[{\"name\":\"data\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SiteUpdateManyMutationInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"SiteUncheckedUpdateManyInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"where\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SiteWhereInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}],\"isNullable\":false,\"outputType\":{\"type\":\"AffectedRowsOutput\",\"namespace\":\"prisma\",\"location\":\"outputObjectTypes\",\"isList\":false}},{\"name\":\"deleteManySite\",\"args\":[{\"name\":\"where\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SiteWhereInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}],\"isNullable\":false,\"outputType\":{\"type\":\"AffectedRowsOutput\",\"namespace\":\"prisma\",\"location\":\"outputObjectTypes\",\"isList\":false}},{\"name\":\"createOneUser\",\"args\":[{\"name\":\"data\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserCreateInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"UserUncheckedCreateInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}],\"isNullable\":false,\"outputType\":{\"type\":\"User\",\"namespace\":\"model\",\"location\":\"outputObjectTypes\",\"isList\":false}},{\"name\":\"upsertOneUser\",\"args\":[{\"name\":\"where\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"create\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserCreateInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"UserUncheckedCreateInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"update\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserUpdateInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"UserUncheckedUpdateInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}],\"isNullable\":false,\"outputType\":{\"type\":\"User\",\"namespace\":\"model\",\"location\":\"outputObjectTypes\",\"isList\":false}},{\"name\":\"createManyUser\",\"args\":[{\"name\":\"data\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserCreateManyInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]},{\"name\":\"skipDuplicates\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Boolean\",\"location\":\"scalar\",\"isList\":false}]}],\"isNullable\":false,\"outputType\":{\"type\":\"AffectedRowsOutput\",\"namespace\":\"prisma\",\"location\":\"outputObjectTypes\",\"isList\":false}},{\"name\":\"deleteOneUser\",\"args\":[{\"name\":\"where\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}],\"isNullable\":true,\"outputType\":{\"type\":\"User\",\"namespace\":\"model\",\"location\":\"outputObjectTypes\",\"isList\":false}},{\"name\":\"updateOneUser\",\"args\":[{\"name\":\"data\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserUpdateInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"UserUncheckedUpdateInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"where\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}],\"isNullable\":true,\"outputType\":{\"type\":\"User\",\"namespace\":\"model\",\"location\":\"outputObjectTypes\",\"isList\":false}},{\"name\":\"updateManyUser\",\"args\":[{\"name\":\"data\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserUpdateManyMutationInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"UserUncheckedUpdateManyInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"where\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserWhereInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}],\"isNullable\":false,\"outputType\":{\"type\":\"AffectedRowsOutput\",\"namespace\":\"prisma\",\"location\":\"outputObjectTypes\",\"isList\":false}},{\"name\":\"deleteManyUser\",\"args\":[{\"name\":\"where\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserWhereInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}],\"isNullable\":false,\"outputType\":{\"type\":\"AffectedRowsOutput\",\"namespace\":\"prisma\",\"location\":\"outputObjectTypes\",\"isList\":false}},{\"name\":\"createOneFilteringTest\",\"args\":[{\"name\":\"data\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"FilteringTestCreateInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"FilteringTestUncheckedCreateInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}],\"isNullable\":false,\"outputType\":{\"type\":\"FilteringTest\",\"namespace\":\"model\",\"location\":\"outputObjectTypes\",\"isList\":false}},{\"name\":\"upsertOneFilteringTest\",\"args\":[{\"name\":\"where\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"FilteringTestWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"create\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"FilteringTestCreateInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"FilteringTestUncheckedCreateInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"update\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"FilteringTestUpdateInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"FilteringTestUncheckedUpdateInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}],\"isNullable\":false,\"outputType\":{\"type\":\"FilteringTest\",\"namespace\":\"model\",\"location\":\"outputObjectTypes\",\"isList\":false}},{\"name\":\"createManyFilteringTest\",\"args\":[{\"name\":\"data\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"FilteringTestCreateManyInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]},{\"name\":\"skipDuplicates\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Boolean\",\"location\":\"scalar\",\"isList\":false}]}],\"isNullable\":false,\"outputType\":{\"type\":\"AffectedRowsOutput\",\"namespace\":\"prisma\",\"location\":\"outputObjectTypes\",\"isList\":false}},{\"name\":\"deleteOneFilteringTest\",\"args\":[{\"name\":\"where\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"FilteringTestWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}],\"isNullable\":true,\"outputType\":{\"type\":\"FilteringTest\",\"namespace\":\"model\",\"location\":\"outputObjectTypes\",\"isList\":false}},{\"name\":\"updateOneFilteringTest\",\"args\":[{\"name\":\"data\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"FilteringTestUpdateInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"FilteringTestUncheckedUpdateInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"where\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"FilteringTestWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}],\"isNullable\":true,\"outputType\":{\"type\":\"FilteringTest\",\"namespace\":\"model\",\"location\":\"outputObjectTypes\",\"isList\":false}},{\"name\":\"updateManyFilteringTest\",\"args\":[{\"name\":\"data\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"FilteringTestUpdateManyMutationInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"FilteringTestUncheckedUpdateManyInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"where\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"FilteringTestWhereInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}],\"isNullable\":false,\"outputType\":{\"type\":\"AffectedRowsOutput\",\"namespace\":\"prisma\",\"location\":\"outputObjectTypes\",\"isList\":false}},{\"name\":\"deleteManyFilteringTest\",\"args\":[{\"name\":\"where\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"FilteringTestWhereInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}],\"isNullable\":false,\"outputType\":{\"type\":\"AffectedRowsOutput\",\"namespace\":\"prisma\",\"location\":\"outputObjectTypes\",\"isList\":false}},{\"name\":\"createOneSomePublicRecordWithIntId\",\"args\":[{\"name\":\"data\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SomePublicRecordWithIntIdCreateInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"SomePublicRecordWithIntIdUncheckedCreateInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}],\"isNullable\":false,\"outputType\":{\"type\":\"SomePublicRecordWithIntId\",\"namespace\":\"model\",\"location\":\"outputObjectTypes\",\"isList\":false}},{\"name\":\"upsertOneSomePublicRecordWithIntId\",\"args\":[{\"name\":\"where\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SomePublicRecordWithIntIdWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"create\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SomePublicRecordWithIntIdCreateInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"SomePublicRecordWithIntIdUncheckedCreateInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"update\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SomePublicRecordWithIntIdUpdateInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"SomePublicRecordWithIntIdUncheckedUpdateInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}],\"isNullable\":false,\"outputType\":{\"type\":\"SomePublicRecordWithIntId\",\"namespace\":\"model\",\"location\":\"outputObjectTypes\",\"isList\":false}},{\"name\":\"createManySomePublicRecordWithIntId\",\"args\":[{\"name\":\"data\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SomePublicRecordWithIntIdCreateManyInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true}]},{\"name\":\"skipDuplicates\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Boolean\",\"location\":\"scalar\",\"isList\":false}]}],\"isNullable\":false,\"outputType\":{\"type\":\"AffectedRowsOutput\",\"namespace\":\"prisma\",\"location\":\"outputObjectTypes\",\"isList\":false}},{\"name\":\"deleteOneSomePublicRecordWithIntId\",\"args\":[{\"name\":\"where\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SomePublicRecordWithIntIdWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}],\"isNullable\":true,\"outputType\":{\"type\":\"SomePublicRecordWithIntId\",\"namespace\":\"model\",\"location\":\"outputObjectTypes\",\"isList\":false}},{\"name\":\"updateOneSomePublicRecordWithIntId\",\"args\":[{\"name\":\"data\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SomePublicRecordWithIntIdUpdateInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"SomePublicRecordWithIntIdUncheckedUpdateInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"where\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SomePublicRecordWithIntIdWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}],\"isNullable\":true,\"outputType\":{\"type\":\"SomePublicRecordWithIntId\",\"namespace\":\"model\",\"location\":\"outputObjectTypes\",\"isList\":false}},{\"name\":\"updateManySomePublicRecordWithIntId\",\"args\":[{\"name\":\"data\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SomePublicRecordWithIntIdUpdateManyMutationInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false},{\"type\":\"SomePublicRecordWithIntIdUncheckedUpdateManyInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"where\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SomePublicRecordWithIntIdWhereInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}],\"isNullable\":false,\"outputType\":{\"type\":\"AffectedRowsOutput\",\"namespace\":\"prisma\",\"location\":\"outputObjectTypes\",\"isList\":false}},{\"name\":\"deleteManySomePublicRecordWithIntId\",\"args\":[{\"name\":\"where\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"SomePublicRecordWithIntIdWhereInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]}],\"isNullable\":false,\"outputType\":{\"type\":\"AffectedRowsOutput\",\"namespace\":\"prisma\",\"location\":\"outputObjectTypes\",\"isList\":false}},{\"name\":\"executeRaw\",\"args\":[{\"name\":\"query\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"parameters\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Json\",\"location\":\"scalar\",\"isList\":false}]}],\"isNullable\":false,\"outputType\":{\"type\":\"Json\",\"location\":\"scalar\",\"isList\":false}},{\"name\":\"queryRaw\",\"args\":[{\"name\":\"query\",\"isRequired\":true,\"isNullable\":false,\"inputTypes\":[{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"parameters\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Json\",\"location\":\"scalar\",\"isList\":false}]}],\"isNullable\":false,\"outputType\":{\"type\":\"Json\",\"location\":\"scalar\",\"isList\":false}}]},{\"name\":\"AggregateUserRole\",\"fields\":[{\"name\":\"_count\",\"args\":[],\"isNullable\":true,\"outputType\":{\"type\":\"UserRoleCountAggregateOutputType\",\"namespace\":\"prisma\",\"location\":\"outputObjectTypes\",\"isList\":false}},{\"name\":\"_min\",\"args\":[],\"isNullable\":true,\"outputType\":{\"type\":\"UserRoleMinAggregateOutputType\",\"namespace\":\"prisma\",\"location\":\"outputObjectTypes\",\"isList\":false}},{\"name\":\"_max\",\"args\":[],\"isNullable\":true,\"outputType\":{\"type\":\"UserRoleMaxAggregateOutputType\",\"namespace\":\"prisma\",\"location\":\"outputObjectTypes\",\"isList\":false}}]},{\"name\":\"UserRoleGroupByOutputType\",\"fields\":[{\"name\":\"id\",\"args\":[],\"isNullable\":false,\"outputType\":{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}},{\"name\":\"name\",\"args\":[],\"isNullable\":false,\"outputType\":{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}},{\"name\":\"_count\",\"args\":[],\"isNullable\":true,\"outputType\":{\"type\":\"UserRoleCountAggregateOutputType\",\"namespace\":\"prisma\",\"location\":\"outputObjectTypes\",\"isList\":false}},{\"name\":\"_min\",\"args\":[],\"isNullable\":true,\"outputType\":{\"type\":\"UserRoleMinAggregateOutputType\",\"namespace\":\"prisma\",\"location\":\"outputObjectTypes\",\"isList\":false}},{\"name\":\"_max\",\"args\":[],\"isNullable\":true,\"outputType\":{\"type\":\"UserRoleMaxAggregateOutputType\",\"namespace\":\"prisma\",\"location\":\"outputObjectTypes\",\"isList\":false}}]},{\"name\":\"AggregateCompany\",\"fields\":[{\"name\":\"_count\",\"args\":[],\"isNullable\":true,\"outputType\":{\"type\":\"CompanyCountAggregateOutputType\",\"namespace\":\"prisma\",\"location\":\"outputObjectTypes\",\"isList\":false}},{\"name\":\"_min\",\"args\":[],\"isNullable\":true,\"outputType\":{\"type\":\"CompanyMinAggregateOutputType\",\"namespace\":\"prisma\",\"location\":\"outputObjectTypes\",\"isList\":false}},{\"name\":\"_max\",\"args\":[],\"isNullable\":true,\"outputType\":{\"type\":\"CompanyMaxAggregateOutputType\",\"namespace\":\"prisma\",\"location\":\"outputObjectTypes\",\"isList\":false}}]},{\"name\":\"CompanyGroupByOutputType\",\"fields\":[{\"name\":\"id\",\"args\":[],\"isNullable\":false,\"outputType\":{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}},{\"name\":\"name\",\"args\":[],\"isNullable\":false,\"outputType\":{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}},{\"name\":\"userId\",\"args\":[],\"isNullable\":false,\"outputType\":{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}},{\"name\":\"_count\",\"args\":[],\"isNullable\":true,\"outputType\":{\"type\":\"CompanyCountAggregateOutputType\",\"namespace\":\"prisma\",\"location\":\"outputObjectTypes\",\"isList\":false}},{\"name\":\"_min\",\"args\":[],\"isNullable\":true,\"outputType\":{\"type\":\"CompanyMinAggregateOutputType\",\"namespace\":\"prisma\",\"location\":\"outputObjectTypes\",\"isList\":false}},{\"name\":\"_max\",\"args\":[],\"isNullable\":true,\"outputType\":{\"type\":\"CompanyMaxAggregateOutputType\",\"namespace\":\"prisma\",\"location\":\"outputObjectTypes\",\"isList\":false}}]},{\"name\":\"AggregateUserSocialMedia\",\"fields\":[{\"name\":\"_count\",\"args\":[],\"isNullable\":true,\"outputType\":{\"type\":\"UserSocialMediaCountAggregateOutputType\",\"namespace\":\"prisma\",\"location\":\"outputObjectTypes\",\"isList\":false}},{\"name\":\"_min\",\"args\":[],\"isNullable\":true,\"outputType\":{\"type\":\"UserSocialMediaMinAggregateOutputType\",\"namespace\":\"prisma\",\"location\":\"outputObjectTypes\",\"isList\":false}},{\"name\":\"_max\",\"args\":[],\"isNullable\":true,\"outputType\":{\"type\":\"UserSocialMediaMaxAggregateOutputType\",\"namespace\":\"prisma\",\"location\":\"outputObjectTypes\",\"isList\":false}}]},{\"name\":\"UserSocialMediaGroupByOutputType\",\"fields\":[{\"name\":\"id\",\"args\":[],\"isNullable\":false,\"outputType\":{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}},{\"name\":\"instagram\",\"args\":[],\"isNullable\":false,\"outputType\":{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}},{\"name\":\"twitter\",\"args\":[],\"isNullable\":false,\"outputType\":{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}},{\"name\":\"userId\",\"args\":[],\"isNullable\":false,\"outputType\":{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}},{\"name\":\"_count\",\"args\":[],\"isNullable\":true,\"outputType\":{\"type\":\"UserSocialMediaCountAggregateOutputType\",\"namespace\":\"prisma\",\"location\":\"outputObjectTypes\",\"isList\":false}},{\"name\":\"_min\",\"args\":[],\"isNullable\":true,\"outputType\":{\"type\":\"UserSocialMediaMinAggregateOutputType\",\"namespace\":\"prisma\",\"location\":\"outputObjectTypes\",\"isList\":false}},{\"name\":\"_max\",\"args\":[],\"isNullable\":true,\"outputType\":{\"type\":\"UserSocialMediaMaxAggregateOutputType\",\"namespace\":\"prisma\",\"location\":\"outputObjectTypes\",\"isList\":false}}]},{\"name\":\"AggregateBlogPost\",\"fields\":[{\"name\":\"_count\",\"args\":[],\"isNullable\":true,\"outputType\":{\"type\":\"BlogPostCountAggregateOutputType\",\"namespace\":\"prisma\",\"location\":\"outputObjectTypes\",\"isList\":false}},{\"name\":\"_min\",\"args\":[],\"isNullable\":true,\"outputType\":{\"type\":\"BlogPostMinAggregateOutputType\",\"namespace\":\"prisma\",\"location\":\"outputObjectTypes\",\"isList\":false}},{\"name\":\"_max\",\"args\":[],\"isNullable\":true,\"outputType\":{\"type\":\"BlogPostMaxAggregateOutputType\",\"namespace\":\"prisma\",\"location\":\"outputObjectTypes\",\"isList\":false}}]},{\"name\":\"BlogPostGroupByOutputType\",\"fields\":[{\"name\":\"id\",\"args\":[],\"isNullable\":false,\"outputType\":{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}},{\"name\":\"title\",\"args\":[],\"isNullable\":false,\"outputType\":{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}},{\"name\":\"text\",\"args\":[],\"isNullable\":false,\"outputType\":{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}},{\"name\":\"authorId\",\"args\":[],\"isNullable\":true,\"outputType\":{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}},{\"name\":\"_count\",\"args\":[],\"isNullable\":true,\"outputType\":{\"type\":\"BlogPostCountAggregateOutputType\",\"namespace\":\"prisma\",\"location\":\"outputObjectTypes\",\"isList\":false}},{\"name\":\"_min\",\"args\":[],\"isNullable\":true,\"outputType\":{\"type\":\"BlogPostMinAggregateOutputType\",\"namespace\":\"prisma\",\"location\":\"outputObjectTypes\",\"isList\":false}},{\"name\":\"_max\",\"args\":[],\"isNullable\":true,\"outputType\":{\"type\":\"BlogPostMaxAggregateOutputType\",\"namespace\":\"prisma\",\"location\":\"outputObjectTypes\",\"isList\":false}}]},{\"name\":\"AggregateBlogPostComment\",\"fields\":[{\"name\":\"_count\",\"args\":[],\"isNullable\":true,\"outputType\":{\"type\":\"BlogPostCommentCountAggregateOutputType\",\"namespace\":\"prisma\",\"location\":\"outputObjectTypes\",\"isList\":false}},{\"name\":\"_min\",\"args\":[],\"isNullable\":true,\"outputType\":{\"type\":\"BlogPostCommentMinAggregateOutputType\",\"namespace\":\"prisma\",\"location\":\"outputObjectTypes\",\"isList\":false}},{\"name\":\"_max\",\"args\":[],\"isNullable\":true,\"outputType\":{\"type\":\"BlogPostCommentMaxAggregateOutputType\",\"namespace\":\"prisma\",\"location\":\"outputObjectTypes\",\"isList\":false}}]},{\"name\":\"BlogPostCommentGroupByOutputType\",\"fields\":[{\"name\":\"id\",\"args\":[],\"isNullable\":false,\"outputType\":{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}},{\"name\":\"text\",\"args\":[],\"isNullable\":false,\"outputType\":{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}},{\"name\":\"postId\",\"args\":[],\"isNullable\":true,\"outputType\":{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}},{\"name\":\"authorId\",\"args\":[],\"isNullable\":true,\"outputType\":{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}},{\"name\":\"_count\",\"args\":[],\"isNullable\":true,\"outputType\":{\"type\":\"BlogPostCommentCountAggregateOutputType\",\"namespace\":\"prisma\",\"location\":\"outputObjectTypes\",\"isList\":false}},{\"name\":\"_min\",\"args\":[],\"isNullable\":true,\"outputType\":{\"type\":\"BlogPostCommentMinAggregateOutputType\",\"namespace\":\"prisma\",\"location\":\"outputObjectTypes\",\"isList\":false}},{\"name\":\"_max\",\"args\":[],\"isNullable\":true,\"outputType\":{\"type\":\"BlogPostCommentMaxAggregateOutputType\",\"namespace\":\"prisma\",\"location\":\"outputObjectTypes\",\"isList\":false}}]},{\"name\":\"AggregateSite\",\"fields\":[{\"name\":\"_count\",\"args\":[],\"isNullable\":true,\"outputType\":{\"type\":\"SiteCountAggregateOutputType\",\"namespace\":\"prisma\",\"location\":\"outputObjectTypes\",\"isList\":false}},{\"name\":\"_min\",\"args\":[],\"isNullable\":true,\"outputType\":{\"type\":\"SiteMinAggregateOutputType\",\"namespace\":\"prisma\",\"location\":\"outputObjectTypes\",\"isList\":false}},{\"name\":\"_max\",\"args\":[],\"isNullable\":true,\"outputType\":{\"type\":\"SiteMaxAggregateOutputType\",\"namespace\":\"prisma\",\"location\":\"outputObjectTypes\",\"isList\":false}}]},{\"name\":\"SiteGroupByOutputType\",\"fields\":[{\"name\":\"id\",\"args\":[],\"isNullable\":false,\"outputType\":{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}},{\"name\":\"name\",\"args\":[],\"isNullable\":false,\"outputType\":{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}},{\"name\":\"url\",\"args\":[],\"isNullable\":false,\"outputType\":{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}},{\"name\":\"userId\",\"args\":[],\"isNullable\":true,\"outputType\":{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}},{\"name\":\"_count\",\"args\":[],\"isNullable\":true,\"outputType\":{\"type\":\"SiteCountAggregateOutputType\",\"namespace\":\"prisma\",\"location\":\"outputObjectTypes\",\"isList\":false}},{\"name\":\"_min\",\"args\":[],\"isNullable\":true,\"outputType\":{\"type\":\"SiteMinAggregateOutputType\",\"namespace\":\"prisma\",\"location\":\"outputObjectTypes\",\"isList\":false}},{\"name\":\"_max\",\"args\":[],\"isNullable\":true,\"outputType\":{\"type\":\"SiteMaxAggregateOutputType\",\"namespace\":\"prisma\",\"location\":\"outputObjectTypes\",\"isList\":false}}]},{\"name\":\"AggregateUser\",\"fields\":[{\"name\":\"_count\",\"args\":[],\"isNullable\":true,\"outputType\":{\"type\":\"UserCountAggregateOutputType\",\"namespace\":\"prisma\",\"location\":\"outputObjectTypes\",\"isList\":false}},{\"name\":\"_avg\",\"args\":[],\"isNullable\":true,\"outputType\":{\"type\":\"UserAvgAggregateOutputType\",\"namespace\":\"prisma\",\"location\":\"outputObjectTypes\",\"isList\":false}},{\"name\":\"_sum\",\"args\":[],\"isNullable\":true,\"outputType\":{\"type\":\"UserSumAggregateOutputType\",\"namespace\":\"prisma\",\"location\":\"outputObjectTypes\",\"isList\":false}},{\"name\":\"_min\",\"args\":[],\"isNullable\":true,\"outputType\":{\"type\":\"UserMinAggregateOutputType\",\"namespace\":\"prisma\",\"location\":\"outputObjectTypes\",\"isList\":false}},{\"name\":\"_max\",\"args\":[],\"isNullable\":true,\"outputType\":{\"type\":\"UserMaxAggregateOutputType\",\"namespace\":\"prisma\",\"location\":\"outputObjectTypes\",\"isList\":false}}]},{\"name\":\"UserGroupByOutputType\",\"fields\":[{\"name\":\"id\",\"args\":[],\"isNullable\":false,\"outputType\":{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}},{\"name\":\"email\",\"args\":[],\"isNullable\":false,\"outputType\":{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}},{\"name\":\"firstName\",\"args\":[],\"isNullable\":true,\"outputType\":{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}},{\"name\":\"lastName\",\"args\":[],\"isNullable\":true,\"outputType\":{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}},{\"name\":\"gender\",\"args\":[],\"isNullable\":true,\"outputType\":{\"type\":\"Gender\",\"namespace\":\"model\",\"location\":\"enumTypes\",\"isList\":false}},{\"name\":\"yearOfBirth\",\"args\":[],\"isNullable\":true,\"outputType\":{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}},{\"name\":\"wantsNewsletter\",\"args\":[],\"isNullable\":false,\"outputType\":{\"type\":\"Boolean\",\"location\":\"scalar\",\"isList\":false}},{\"name\":\"interests\",\"args\":[],\"isNullable\":true,\"outputType\":{\"type\":\"Topic\",\"namespace\":\"model\",\"location\":\"enumTypes\",\"isList\":true}},{\"name\":\"address\",\"args\":[],\"isNullable\":true,\"outputType\":{\"type\":\"Json\",\"location\":\"scalar\",\"isList\":false}},{\"name\":\"weddingDate\",\"args\":[],\"isNullable\":true,\"outputType\":{\"type\":\"DateTime\",\"location\":\"scalar\",\"isList\":false}},{\"name\":\"_count\",\"args\":[],\"isNullable\":true,\"outputType\":{\"type\":\"UserCountAggregateOutputType\",\"namespace\":\"prisma\",\"location\":\"outputObjectTypes\",\"isList\":false}},{\"name\":\"_avg\",\"args\":[],\"isNullable\":true,\"outputType\":{\"type\":\"UserAvgAggregateOutputType\",\"namespace\":\"prisma\",\"location\":\"outputObjectTypes\",\"isList\":false}},{\"name\":\"_sum\",\"args\":[],\"isNullable\":true,\"outputType\":{\"type\":\"UserSumAggregateOutputType\",\"namespace\":\"prisma\",\"location\":\"outputObjectTypes\",\"isList\":false}},{\"name\":\"_min\",\"args\":[],\"isNullable\":true,\"outputType\":{\"type\":\"UserMinAggregateOutputType\",\"namespace\":\"prisma\",\"location\":\"outputObjectTypes\",\"isList\":false}},{\"name\":\"_max\",\"args\":[],\"isNullable\":true,\"outputType\":{\"type\":\"UserMaxAggregateOutputType\",\"namespace\":\"prisma\",\"location\":\"outputObjectTypes\",\"isList\":false}}]},{\"name\":\"AggregateFilteringTest\",\"fields\":[{\"name\":\"_count\",\"args\":[],\"isNullable\":true,\"outputType\":{\"type\":\"FilteringTestCountAggregateOutputType\",\"namespace\":\"prisma\",\"location\":\"outputObjectTypes\",\"isList\":false}},{\"name\":\"_avg\",\"args\":[],\"isNullable\":true,\"outputType\":{\"type\":\"FilteringTestAvgAggregateOutputType\",\"namespace\":\"prisma\",\"location\":\"outputObjectTypes\",\"isList\":false}},{\"name\":\"_sum\",\"args\":[],\"isNullable\":true,\"outputType\":{\"type\":\"FilteringTestSumAggregateOutputType\",\"namespace\":\"prisma\",\"location\":\"outputObjectTypes\",\"isList\":false}},{\"name\":\"_min\",\"args\":[],\"isNullable\":true,\"outputType\":{\"type\":\"FilteringTestMinAggregateOutputType\",\"namespace\":\"prisma\",\"location\":\"outputObjectTypes\",\"isList\":false}},{\"name\":\"_max\",\"args\":[],\"isNullable\":true,\"outputType\":{\"type\":\"FilteringTestMaxAggregateOutputType\",\"namespace\":\"prisma\",\"location\":\"outputObjectTypes\",\"isList\":false}}]},{\"name\":\"FilteringTestGroupByOutputType\",\"fields\":[{\"name\":\"id\",\"args\":[],\"isNullable\":false,\"outputType\":{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}},{\"name\":\"intField\",\"args\":[],\"isNullable\":false,\"outputType\":{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}},{\"name\":\"floatField\",\"args\":[],\"isNullable\":false,\"outputType\":{\"type\":\"Float\",\"location\":\"scalar\",\"isList\":false}},{\"name\":\"stringField\",\"args\":[],\"isNullable\":false,\"outputType\":{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}},{\"name\":\"dateTimeField\",\"args\":[],\"isNullable\":false,\"outputType\":{\"type\":\"DateTime\",\"location\":\"scalar\",\"isList\":false}},{\"name\":\"boolField\",\"args\":[],\"isNullable\":false,\"outputType\":{\"type\":\"Boolean\",\"location\":\"scalar\",\"isList\":false}},{\"name\":\"intField_lt\",\"args\":[],\"isNullable\":false,\"outputType\":{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}},{\"name\":\"intField_bt\",\"args\":[],\"isNullable\":false,\"outputType\":{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}},{\"name\":\"snake_field\",\"args\":[],\"isNullable\":false,\"outputType\":{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}},{\"name\":\"snake_field_bt\",\"args\":[],\"isNullable\":false,\"outputType\":{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}},{\"name\":\"_count\",\"args\":[],\"isNullable\":true,\"outputType\":{\"type\":\"FilteringTestCountAggregateOutputType\",\"namespace\":\"prisma\",\"location\":\"outputObjectTypes\",\"isList\":false}},{\"name\":\"_avg\",\"args\":[],\"isNullable\":true,\"outputType\":{\"type\":\"FilteringTestAvgAggregateOutputType\",\"namespace\":\"prisma\",\"location\":\"outputObjectTypes\",\"isList\":false}},{\"name\":\"_sum\",\"args\":[],\"isNullable\":true,\"outputType\":{\"type\":\"FilteringTestSumAggregateOutputType\",\"namespace\":\"prisma\",\"location\":\"outputObjectTypes\",\"isList\":false}},{\"name\":\"_min\",\"args\":[],\"isNullable\":true,\"outputType\":{\"type\":\"FilteringTestMinAggregateOutputType\",\"namespace\":\"prisma\",\"location\":\"outputObjectTypes\",\"isList\":false}},{\"name\":\"_max\",\"args\":[],\"isNullable\":true,\"outputType\":{\"type\":\"FilteringTestMaxAggregateOutputType\",\"namespace\":\"prisma\",\"location\":\"outputObjectTypes\",\"isList\":false}}]},{\"name\":\"AggregateSomePublicRecordWithIntId\",\"fields\":[{\"name\":\"_count\",\"args\":[],\"isNullable\":true,\"outputType\":{\"type\":\"SomePublicRecordWithIntIdCountAggregateOutputType\",\"namespace\":\"prisma\",\"location\":\"outputObjectTypes\",\"isList\":false}},{\"name\":\"_avg\",\"args\":[],\"isNullable\":true,\"outputType\":{\"type\":\"SomePublicRecordWithIntIdAvgAggregateOutputType\",\"namespace\":\"prisma\",\"location\":\"outputObjectTypes\",\"isList\":false}},{\"name\":\"_sum\",\"args\":[],\"isNullable\":true,\"outputType\":{\"type\":\"SomePublicRecordWithIntIdSumAggregateOutputType\",\"namespace\":\"prisma\",\"location\":\"outputObjectTypes\",\"isList\":false}},{\"name\":\"_min\",\"args\":[],\"isNullable\":true,\"outputType\":{\"type\":\"SomePublicRecordWithIntIdMinAggregateOutputType\",\"namespace\":\"prisma\",\"location\":\"outputObjectTypes\",\"isList\":false}},{\"name\":\"_max\",\"args\":[],\"isNullable\":true,\"outputType\":{\"type\":\"SomePublicRecordWithIntIdMaxAggregateOutputType\",\"namespace\":\"prisma\",\"location\":\"outputObjectTypes\",\"isList\":false}}]},{\"name\":\"SomePublicRecordWithIntIdGroupByOutputType\",\"fields\":[{\"name\":\"id\",\"args\":[],\"isNullable\":false,\"outputType\":{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}},{\"name\":\"title\",\"args\":[],\"isNullable\":false,\"outputType\":{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}},{\"name\":\"_count\",\"args\":[],\"isNullable\":true,\"outputType\":{\"type\":\"SomePublicRecordWithIntIdCountAggregateOutputType\",\"namespace\":\"prisma\",\"location\":\"outputObjectTypes\",\"isList\":false}},{\"name\":\"_avg\",\"args\":[],\"isNullable\":true,\"outputType\":{\"type\":\"SomePublicRecordWithIntIdAvgAggregateOutputType\",\"namespace\":\"prisma\",\"location\":\"outputObjectTypes\",\"isList\":false}},{\"name\":\"_sum\",\"args\":[],\"isNullable\":true,\"outputType\":{\"type\":\"SomePublicRecordWithIntIdSumAggregateOutputType\",\"namespace\":\"prisma\",\"location\":\"outputObjectTypes\",\"isList\":false}},{\"name\":\"_min\",\"args\":[],\"isNullable\":true,\"outputType\":{\"type\":\"SomePublicRecordWithIntIdMinAggregateOutputType\",\"namespace\":\"prisma\",\"location\":\"outputObjectTypes\",\"isList\":false}},{\"name\":\"_max\",\"args\":[],\"isNullable\":true,\"outputType\":{\"type\":\"SomePublicRecordWithIntIdMaxAggregateOutputType\",\"namespace\":\"prisma\",\"location\":\"outputObjectTypes\",\"isList\":false}}]},{\"name\":\"AffectedRowsOutput\",\"fields\":[{\"name\":\"count\",\"args\":[],\"isNullable\":false,\"outputType\":{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}}]},{\"name\":\"UserRoleCountOutputType\",\"fields\":[{\"name\":\"users\",\"args\":[],\"isNullable\":false,\"outputType\":{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}}]},{\"name\":\"UserRoleCountAggregateOutputType\",\"fields\":[{\"name\":\"id\",\"args\":[],\"isNullable\":false,\"outputType\":{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}},{\"name\":\"name\",\"args\":[],\"isNullable\":false,\"outputType\":{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}},{\"name\":\"_all\",\"args\":[],\"isNullable\":false,\"outputType\":{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}}]},{\"name\":\"UserRoleMinAggregateOutputType\",\"fields\":[{\"name\":\"id\",\"args\":[],\"isNullable\":true,\"outputType\":{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}},{\"name\":\"name\",\"args\":[],\"isNullable\":true,\"outputType\":{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}}]},{\"name\":\"UserRoleMaxAggregateOutputType\",\"fields\":[{\"name\":\"id\",\"args\":[],\"isNullable\":true,\"outputType\":{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}},{\"name\":\"name\",\"args\":[],\"isNullable\":true,\"outputType\":{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}}]},{\"name\":\"CompanyCountAggregateOutputType\",\"fields\":[{\"name\":\"id\",\"args\":[],\"isNullable\":false,\"outputType\":{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}},{\"name\":\"name\",\"args\":[],\"isNullable\":false,\"outputType\":{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}},{\"name\":\"userId\",\"args\":[],\"isNullable\":false,\"outputType\":{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}},{\"name\":\"_all\",\"args\":[],\"isNullable\":false,\"outputType\":{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}}]},{\"name\":\"CompanyMinAggregateOutputType\",\"fields\":[{\"name\":\"id\",\"args\":[],\"isNullable\":true,\"outputType\":{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}},{\"name\":\"name\",\"args\":[],\"isNullable\":true,\"outputType\":{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}},{\"name\":\"userId\",\"args\":[],\"isNullable\":true,\"outputType\":{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}}]},{\"name\":\"CompanyMaxAggregateOutputType\",\"fields\":[{\"name\":\"id\",\"args\":[],\"isNullable\":true,\"outputType\":{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}},{\"name\":\"name\",\"args\":[],\"isNullable\":true,\"outputType\":{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}},{\"name\":\"userId\",\"args\":[],\"isNullable\":true,\"outputType\":{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}}]},{\"name\":\"UserSocialMediaCountAggregateOutputType\",\"fields\":[{\"name\":\"id\",\"args\":[],\"isNullable\":false,\"outputType\":{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}},{\"name\":\"instagram\",\"args\":[],\"isNullable\":false,\"outputType\":{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}},{\"name\":\"twitter\",\"args\":[],\"isNullable\":false,\"outputType\":{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}},{\"name\":\"userId\",\"args\":[],\"isNullable\":false,\"outputType\":{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}},{\"name\":\"_all\",\"args\":[],\"isNullable\":false,\"outputType\":{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}}]},{\"name\":\"UserSocialMediaMinAggregateOutputType\",\"fields\":[{\"name\":\"id\",\"args\":[],\"isNullable\":true,\"outputType\":{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}},{\"name\":\"instagram\",\"args\":[],\"isNullable\":true,\"outputType\":{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}},{\"name\":\"twitter\",\"args\":[],\"isNullable\":true,\"outputType\":{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}},{\"name\":\"userId\",\"args\":[],\"isNullable\":true,\"outputType\":{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}}]},{\"name\":\"UserSocialMediaMaxAggregateOutputType\",\"fields\":[{\"name\":\"id\",\"args\":[],\"isNullable\":true,\"outputType\":{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}},{\"name\":\"instagram\",\"args\":[],\"isNullable\":true,\"outputType\":{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}},{\"name\":\"twitter\",\"args\":[],\"isNullable\":true,\"outputType\":{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}},{\"name\":\"userId\",\"args\":[],\"isNullable\":true,\"outputType\":{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}}]},{\"name\":\"BlogPostCountOutputType\",\"fields\":[{\"name\":\"comments\",\"args\":[],\"isNullable\":false,\"outputType\":{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}}]},{\"name\":\"BlogPostCountAggregateOutputType\",\"fields\":[{\"name\":\"id\",\"args\":[],\"isNullable\":false,\"outputType\":{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}},{\"name\":\"title\",\"args\":[],\"isNullable\":false,\"outputType\":{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}},{\"name\":\"text\",\"args\":[],\"isNullable\":false,\"outputType\":{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}},{\"name\":\"authorId\",\"args\":[],\"isNullable\":false,\"outputType\":{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}},{\"name\":\"_all\",\"args\":[],\"isNullable\":false,\"outputType\":{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}}]},{\"name\":\"BlogPostMinAggregateOutputType\",\"fields\":[{\"name\":\"id\",\"args\":[],\"isNullable\":true,\"outputType\":{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}},{\"name\":\"title\",\"args\":[],\"isNullable\":true,\"outputType\":{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}},{\"name\":\"text\",\"args\":[],\"isNullable\":true,\"outputType\":{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}},{\"name\":\"authorId\",\"args\":[],\"isNullable\":true,\"outputType\":{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}}]},{\"name\":\"BlogPostMaxAggregateOutputType\",\"fields\":[{\"name\":\"id\",\"args\":[],\"isNullable\":true,\"outputType\":{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}},{\"name\":\"title\",\"args\":[],\"isNullable\":true,\"outputType\":{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}},{\"name\":\"text\",\"args\":[],\"isNullable\":true,\"outputType\":{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}},{\"name\":\"authorId\",\"args\":[],\"isNullable\":true,\"outputType\":{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}}]},{\"name\":\"BlogPostCommentCountAggregateOutputType\",\"fields\":[{\"name\":\"id\",\"args\":[],\"isNullable\":false,\"outputType\":{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}},{\"name\":\"text\",\"args\":[],\"isNullable\":false,\"outputType\":{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}},{\"name\":\"postId\",\"args\":[],\"isNullable\":false,\"outputType\":{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}},{\"name\":\"authorId\",\"args\":[],\"isNullable\":false,\"outputType\":{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}},{\"name\":\"_all\",\"args\":[],\"isNullable\":false,\"outputType\":{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}}]},{\"name\":\"BlogPostCommentMinAggregateOutputType\",\"fields\":[{\"name\":\"id\",\"args\":[],\"isNullable\":true,\"outputType\":{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}},{\"name\":\"text\",\"args\":[],\"isNullable\":true,\"outputType\":{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}},{\"name\":\"postId\",\"args\":[],\"isNullable\":true,\"outputType\":{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}},{\"name\":\"authorId\",\"args\":[],\"isNullable\":true,\"outputType\":{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}}]},{\"name\":\"BlogPostCommentMaxAggregateOutputType\",\"fields\":[{\"name\":\"id\",\"args\":[],\"isNullable\":true,\"outputType\":{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}},{\"name\":\"text\",\"args\":[],\"isNullable\":true,\"outputType\":{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}},{\"name\":\"postId\",\"args\":[],\"isNullable\":true,\"outputType\":{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}},{\"name\":\"authorId\",\"args\":[],\"isNullable\":true,\"outputType\":{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}}]},{\"name\":\"SiteCountAggregateOutputType\",\"fields\":[{\"name\":\"id\",\"args\":[],\"isNullable\":false,\"outputType\":{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}},{\"name\":\"name\",\"args\":[],\"isNullable\":false,\"outputType\":{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}},{\"name\":\"url\",\"args\":[],\"isNullable\":false,\"outputType\":{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}},{\"name\":\"userId\",\"args\":[],\"isNullable\":false,\"outputType\":{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}},{\"name\":\"_all\",\"args\":[],\"isNullable\":false,\"outputType\":{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}}]},{\"name\":\"SiteMinAggregateOutputType\",\"fields\":[{\"name\":\"id\",\"args\":[],\"isNullable\":true,\"outputType\":{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}},{\"name\":\"name\",\"args\":[],\"isNullable\":true,\"outputType\":{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}},{\"name\":\"url\",\"args\":[],\"isNullable\":true,\"outputType\":{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}},{\"name\":\"userId\",\"args\":[],\"isNullable\":true,\"outputType\":{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}}]},{\"name\":\"SiteMaxAggregateOutputType\",\"fields\":[{\"name\":\"id\",\"args\":[],\"isNullable\":true,\"outputType\":{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}},{\"name\":\"name\",\"args\":[],\"isNullable\":true,\"outputType\":{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}},{\"name\":\"url\",\"args\":[],\"isNullable\":true,\"outputType\":{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}},{\"name\":\"userId\",\"args\":[],\"isNullable\":true,\"outputType\":{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}}]},{\"name\":\"UserCountOutputType\",\"fields\":[{\"name\":\"roles\",\"args\":[],\"isNullable\":false,\"outputType\":{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}},{\"name\":\"blogPosts\",\"args\":[],\"isNullable\":false,\"outputType\":{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}},{\"name\":\"comments\",\"args\":[],\"isNullable\":false,\"outputType\":{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}},{\"name\":\"companies\",\"args\":[],\"isNullable\":false,\"outputType\":{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}}]},{\"name\":\"UserCountAggregateOutputType\",\"fields\":[{\"name\":\"id\",\"args\":[],\"isNullable\":false,\"outputType\":{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}},{\"name\":\"email\",\"args\":[],\"isNullable\":false,\"outputType\":{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}},{\"name\":\"firstName\",\"args\":[],\"isNullable\":false,\"outputType\":{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}},{\"name\":\"lastName\",\"args\":[],\"isNullable\":false,\"outputType\":{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}},{\"name\":\"gender\",\"args\":[],\"isNullable\":false,\"outputType\":{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}},{\"name\":\"yearOfBirth\",\"args\":[],\"isNullable\":false,\"outputType\":{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}},{\"name\":\"wantsNewsletter\",\"args\":[],\"isNullable\":false,\"outputType\":{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}},{\"name\":\"interests\",\"args\":[],\"isNullable\":false,\"outputType\":{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}},{\"name\":\"address\",\"args\":[],\"isNullable\":false,\"outputType\":{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}},{\"name\":\"weddingDate\",\"args\":[],\"isNullable\":false,\"outputType\":{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}},{\"name\":\"_all\",\"args\":[],\"isNullable\":false,\"outputType\":{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}}]},{\"name\":\"UserAvgAggregateOutputType\",\"fields\":[{\"name\":\"yearOfBirth\",\"args\":[],\"isNullable\":true,\"outputType\":{\"type\":\"Float\",\"location\":\"scalar\",\"isList\":false}}]},{\"name\":\"UserSumAggregateOutputType\",\"fields\":[{\"name\":\"yearOfBirth\",\"args\":[],\"isNullable\":true,\"outputType\":{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}}]},{\"name\":\"UserMinAggregateOutputType\",\"fields\":[{\"name\":\"id\",\"args\":[],\"isNullable\":true,\"outputType\":{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}},{\"name\":\"email\",\"args\":[],\"isNullable\":true,\"outputType\":{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}},{\"name\":\"firstName\",\"args\":[],\"isNullable\":true,\"outputType\":{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}},{\"name\":\"lastName\",\"args\":[],\"isNullable\":true,\"outputType\":{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}},{\"name\":\"gender\",\"args\":[],\"isNullable\":true,\"outputType\":{\"type\":\"Gender\",\"namespace\":\"model\",\"location\":\"enumTypes\",\"isList\":false}},{\"name\":\"yearOfBirth\",\"args\":[],\"isNullable\":true,\"outputType\":{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}},{\"name\":\"wantsNewsletter\",\"args\":[],\"isNullable\":true,\"outputType\":{\"type\":\"Boolean\",\"location\":\"scalar\",\"isList\":false}},{\"name\":\"weddingDate\",\"args\":[],\"isNullable\":true,\"outputType\":{\"type\":\"DateTime\",\"location\":\"scalar\",\"isList\":false}}]},{\"name\":\"UserMaxAggregateOutputType\",\"fields\":[{\"name\":\"id\",\"args\":[],\"isNullable\":true,\"outputType\":{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}},{\"name\":\"email\",\"args\":[],\"isNullable\":true,\"outputType\":{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}},{\"name\":\"firstName\",\"args\":[],\"isNullable\":true,\"outputType\":{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}},{\"name\":\"lastName\",\"args\":[],\"isNullable\":true,\"outputType\":{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}},{\"name\":\"gender\",\"args\":[],\"isNullable\":true,\"outputType\":{\"type\":\"Gender\",\"namespace\":\"model\",\"location\":\"enumTypes\",\"isList\":false}},{\"name\":\"yearOfBirth\",\"args\":[],\"isNullable\":true,\"outputType\":{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}},{\"name\":\"wantsNewsletter\",\"args\":[],\"isNullable\":true,\"outputType\":{\"type\":\"Boolean\",\"location\":\"scalar\",\"isList\":false}},{\"name\":\"weddingDate\",\"args\":[],\"isNullable\":true,\"outputType\":{\"type\":\"DateTime\",\"location\":\"scalar\",\"isList\":false}}]},{\"name\":\"FilteringTestCountAggregateOutputType\",\"fields\":[{\"name\":\"id\",\"args\":[],\"isNullable\":false,\"outputType\":{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}},{\"name\":\"intField\",\"args\":[],\"isNullable\":false,\"outputType\":{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}},{\"name\":\"floatField\",\"args\":[],\"isNullable\":false,\"outputType\":{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}},{\"name\":\"stringField\",\"args\":[],\"isNullable\":false,\"outputType\":{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}},{\"name\":\"dateTimeField\",\"args\":[],\"isNullable\":false,\"outputType\":{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}},{\"name\":\"boolField\",\"args\":[],\"isNullable\":false,\"outputType\":{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}},{\"name\":\"intField_lt\",\"args\":[],\"isNullable\":false,\"outputType\":{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}},{\"name\":\"intField_bt\",\"args\":[],\"isNullable\":false,\"outputType\":{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}},{\"name\":\"snake_field\",\"args\":[],\"isNullable\":false,\"outputType\":{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}},{\"name\":\"snake_field_bt\",\"args\":[],\"isNullable\":false,\"outputType\":{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}},{\"name\":\"_all\",\"args\":[],\"isNullable\":false,\"outputType\":{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}}]},{\"name\":\"FilteringTestAvgAggregateOutputType\",\"fields\":[{\"name\":\"id\",\"args\":[],\"isNullable\":true,\"outputType\":{\"type\":\"Float\",\"location\":\"scalar\",\"isList\":false}},{\"name\":\"intField\",\"args\":[],\"isNullable\":true,\"outputType\":{\"type\":\"Float\",\"location\":\"scalar\",\"isList\":false}},{\"name\":\"floatField\",\"args\":[],\"isNullable\":true,\"outputType\":{\"type\":\"Float\",\"location\":\"scalar\",\"isList\":false}},{\"name\":\"intField_bt\",\"args\":[],\"isNullable\":true,\"outputType\":{\"type\":\"Float\",\"location\":\"scalar\",\"isList\":false}},{\"name\":\"snake_field\",\"args\":[],\"isNullable\":true,\"outputType\":{\"type\":\"Float\",\"location\":\"scalar\",\"isList\":false}},{\"name\":\"snake_field_bt\",\"args\":[],\"isNullable\":true,\"outputType\":{\"type\":\"Float\",\"location\":\"scalar\",\"isList\":false}}]},{\"name\":\"FilteringTestSumAggregateOutputType\",\"fields\":[{\"name\":\"id\",\"args\":[],\"isNullable\":true,\"outputType\":{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}},{\"name\":\"intField\",\"args\":[],\"isNullable\":true,\"outputType\":{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}},{\"name\":\"floatField\",\"args\":[],\"isNullable\":true,\"outputType\":{\"type\":\"Float\",\"location\":\"scalar\",\"isList\":false}},{\"name\":\"intField_bt\",\"args\":[],\"isNullable\":true,\"outputType\":{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}},{\"name\":\"snake_field\",\"args\":[],\"isNullable\":true,\"outputType\":{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}},{\"name\":\"snake_field_bt\",\"args\":[],\"isNullable\":true,\"outputType\":{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}}]},{\"name\":\"FilteringTestMinAggregateOutputType\",\"fields\":[{\"name\":\"id\",\"args\":[],\"isNullable\":true,\"outputType\":{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}},{\"name\":\"intField\",\"args\":[],\"isNullable\":true,\"outputType\":{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}},{\"name\":\"floatField\",\"args\":[],\"isNullable\":true,\"outputType\":{\"type\":\"Float\",\"location\":\"scalar\",\"isList\":false}},{\"name\":\"stringField\",\"args\":[],\"isNullable\":true,\"outputType\":{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}},{\"name\":\"dateTimeField\",\"args\":[],\"isNullable\":true,\"outputType\":{\"type\":\"DateTime\",\"location\":\"scalar\",\"isList\":false}},{\"name\":\"boolField\",\"args\":[],\"isNullable\":true,\"outputType\":{\"type\":\"Boolean\",\"location\":\"scalar\",\"isList\":false}},{\"name\":\"intField_lt\",\"args\":[],\"isNullable\":true,\"outputType\":{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}},{\"name\":\"intField_bt\",\"args\":[],\"isNullable\":true,\"outputType\":{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}},{\"name\":\"snake_field\",\"args\":[],\"isNullable\":true,\"outputType\":{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}},{\"name\":\"snake_field_bt\",\"args\":[],\"isNullable\":true,\"outputType\":{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}}]},{\"name\":\"FilteringTestMaxAggregateOutputType\",\"fields\":[{\"name\":\"id\",\"args\":[],\"isNullable\":true,\"outputType\":{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}},{\"name\":\"intField\",\"args\":[],\"isNullable\":true,\"outputType\":{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}},{\"name\":\"floatField\",\"args\":[],\"isNullable\":true,\"outputType\":{\"type\":\"Float\",\"location\":\"scalar\",\"isList\":false}},{\"name\":\"stringField\",\"args\":[],\"isNullable\":true,\"outputType\":{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}},{\"name\":\"dateTimeField\",\"args\":[],\"isNullable\":true,\"outputType\":{\"type\":\"DateTime\",\"location\":\"scalar\",\"isList\":false}},{\"name\":\"boolField\",\"args\":[],\"isNullable\":true,\"outputType\":{\"type\":\"Boolean\",\"location\":\"scalar\",\"isList\":false}},{\"name\":\"intField_lt\",\"args\":[],\"isNullable\":true,\"outputType\":{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}},{\"name\":\"intField_bt\",\"args\":[],\"isNullable\":true,\"outputType\":{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}},{\"name\":\"snake_field\",\"args\":[],\"isNullable\":true,\"outputType\":{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}},{\"name\":\"snake_field_bt\",\"args\":[],\"isNullable\":true,\"outputType\":{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}}]},{\"name\":\"SomePublicRecordWithIntIdCountAggregateOutputType\",\"fields\":[{\"name\":\"id\",\"args\":[],\"isNullable\":false,\"outputType\":{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}},{\"name\":\"title\",\"args\":[],\"isNullable\":false,\"outputType\":{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}},{\"name\":\"_all\",\"args\":[],\"isNullable\":false,\"outputType\":{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}}]},{\"name\":\"SomePublicRecordWithIntIdAvgAggregateOutputType\",\"fields\":[{\"name\":\"id\",\"args\":[],\"isNullable\":true,\"outputType\":{\"type\":\"Float\",\"location\":\"scalar\",\"isList\":false}}]},{\"name\":\"SomePublicRecordWithIntIdSumAggregateOutputType\",\"fields\":[{\"name\":\"id\",\"args\":[],\"isNullable\":true,\"outputType\":{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}}]},{\"name\":\"SomePublicRecordWithIntIdMinAggregateOutputType\",\"fields\":[{\"name\":\"id\",\"args\":[],\"isNullable\":true,\"outputType\":{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}},{\"name\":\"title\",\"args\":[],\"isNullable\":true,\"outputType\":{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}}]},{\"name\":\"SomePublicRecordWithIntIdMaxAggregateOutputType\",\"fields\":[{\"name\":\"id\",\"args\":[],\"isNullable\":true,\"outputType\":{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}},{\"name\":\"title\",\"args\":[],\"isNullable\":true,\"outputType\":{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}}]}],\"model\":[{\"name\":\"UserRole\",\"fields\":[{\"name\":\"id\",\"args\":[],\"isNullable\":false,\"outputType\":{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}},{\"name\":\"name\",\"args\":[],\"isNullable\":false,\"outputType\":{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}},{\"name\":\"users\",\"args\":[{\"name\":\"where\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserWhereInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"orderBy\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserOrderByWithRelationInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true},{\"type\":\"UserOrderByWithRelationInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"cursor\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"take\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"skip\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"distinct\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserScalarFieldEnum\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":true}]}],\"isNullable\":true,\"outputType\":{\"type\":\"User\",\"namespace\":\"model\",\"location\":\"outputObjectTypes\",\"isList\":true}},{\"name\":\"_count\",\"args\":[],\"isNullable\":false,\"outputType\":{\"type\":\"UserRoleCountOutputType\",\"namespace\":\"prisma\",\"location\":\"outputObjectTypes\",\"isList\":false}}]},{\"name\":\"Company\",\"fields\":[{\"name\":\"id\",\"args\":[],\"isNullable\":false,\"outputType\":{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}},{\"name\":\"name\",\"args\":[],\"isNullable\":false,\"outputType\":{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}},{\"name\":\"user\",\"args\":[],\"isNullable\":false,\"outputType\":{\"type\":\"User\",\"namespace\":\"model\",\"location\":\"outputObjectTypes\",\"isList\":false}},{\"name\":\"userId\",\"args\":[],\"isNullable\":false,\"outputType\":{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}}]},{\"name\":\"UserSocialMedia\",\"fields\":[{\"name\":\"id\",\"args\":[],\"isNullable\":false,\"outputType\":{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}},{\"name\":\"instagram\",\"args\":[],\"isNullable\":false,\"outputType\":{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}},{\"name\":\"twitter\",\"args\":[],\"isNullable\":false,\"outputType\":{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}},{\"name\":\"user\",\"args\":[],\"isNullable\":false,\"outputType\":{\"type\":\"User\",\"namespace\":\"model\",\"location\":\"outputObjectTypes\",\"isList\":false}},{\"name\":\"userId\",\"args\":[],\"isNullable\":false,\"outputType\":{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}}]},{\"name\":\"BlogPost\",\"fields\":[{\"name\":\"id\",\"args\":[],\"isNullable\":false,\"outputType\":{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}},{\"name\":\"title\",\"args\":[],\"isNullable\":false,\"outputType\":{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}},{\"name\":\"text\",\"args\":[],\"isNullable\":false,\"outputType\":{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}},{\"name\":\"author\",\"args\":[],\"isNullable\":true,\"outputType\":{\"type\":\"User\",\"namespace\":\"model\",\"location\":\"outputObjectTypes\",\"isList\":false}},{\"name\":\"authorId\",\"args\":[],\"isNullable\":true,\"outputType\":{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}},{\"name\":\"comments\",\"args\":[{\"name\":\"where\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostCommentWhereInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"orderBy\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostCommentOrderByWithRelationInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true},{\"type\":\"BlogPostCommentOrderByWithRelationInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"cursor\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostCommentWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"take\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"skip\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"distinct\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostCommentScalarFieldEnum\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":true}]}],\"isNullable\":true,\"outputType\":{\"type\":\"BlogPostComment\",\"namespace\":\"model\",\"location\":\"outputObjectTypes\",\"isList\":true}},{\"name\":\"_count\",\"args\":[],\"isNullable\":false,\"outputType\":{\"type\":\"BlogPostCountOutputType\",\"namespace\":\"prisma\",\"location\":\"outputObjectTypes\",\"isList\":false}}]},{\"name\":\"BlogPostComment\",\"fields\":[{\"name\":\"id\",\"args\":[],\"isNullable\":false,\"outputType\":{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}},{\"name\":\"text\",\"args\":[],\"isNullable\":false,\"outputType\":{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}},{\"name\":\"post\",\"args\":[],\"isNullable\":true,\"outputType\":{\"type\":\"BlogPost\",\"namespace\":\"model\",\"location\":\"outputObjectTypes\",\"isList\":false}},{\"name\":\"postId\",\"args\":[],\"isNullable\":true,\"outputType\":{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}},{\"name\":\"author\",\"args\":[],\"isNullable\":true,\"outputType\":{\"type\":\"User\",\"namespace\":\"model\",\"location\":\"outputObjectTypes\",\"isList\":false}},{\"name\":\"authorId\",\"args\":[],\"isNullable\":true,\"outputType\":{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}}]},{\"name\":\"Site\",\"fields\":[{\"name\":\"id\",\"args\":[],\"isNullable\":false,\"outputType\":{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}},{\"name\":\"name\",\"args\":[],\"isNullable\":false,\"outputType\":{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}},{\"name\":\"url\",\"args\":[],\"isNullable\":false,\"outputType\":{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}},{\"name\":\"owner\",\"args\":[],\"isNullable\":true,\"outputType\":{\"type\":\"User\",\"namespace\":\"model\",\"location\":\"outputObjectTypes\",\"isList\":false}},{\"name\":\"userId\",\"args\":[],\"isNullable\":true,\"outputType\":{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}}]},{\"name\":\"User\",\"fields\":[{\"name\":\"id\",\"args\":[],\"isNullable\":false,\"outputType\":{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}},{\"name\":\"email\",\"args\":[],\"isNullable\":false,\"outputType\":{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}},{\"name\":\"roles\",\"args\":[{\"name\":\"where\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserRoleWhereInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"orderBy\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserRoleOrderByWithRelationInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true},{\"type\":\"UserRoleOrderByWithRelationInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"cursor\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserRoleWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"take\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"skip\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"distinct\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"UserRoleScalarFieldEnum\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":true}]}],\"isNullable\":true,\"outputType\":{\"type\":\"UserRole\",\"namespace\":\"model\",\"location\":\"outputObjectTypes\",\"isList\":true}},{\"name\":\"firstName\",\"args\":[],\"isNullable\":true,\"outputType\":{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}},{\"name\":\"lastName\",\"args\":[],\"isNullable\":true,\"outputType\":{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}},{\"name\":\"gender\",\"args\":[],\"isNullable\":true,\"outputType\":{\"type\":\"Gender\",\"namespace\":\"model\",\"location\":\"enumTypes\",\"isList\":false}},{\"name\":\"yearOfBirth\",\"args\":[],\"isNullable\":true,\"outputType\":{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}},{\"name\":\"wantsNewsletter\",\"args\":[],\"isNullable\":false,\"outputType\":{\"type\":\"Boolean\",\"location\":\"scalar\",\"isList\":false}},{\"name\":\"interests\",\"args\":[],\"isNullable\":true,\"outputType\":{\"type\":\"Topic\",\"namespace\":\"model\",\"location\":\"enumTypes\",\"isList\":true}},{\"name\":\"userSocialMedia\",\"args\":[],\"isNullable\":true,\"outputType\":{\"type\":\"UserSocialMedia\",\"namespace\":\"model\",\"location\":\"outputObjectTypes\",\"isList\":false}},{\"name\":\"address\",\"args\":[],\"isNullable\":true,\"outputType\":{\"type\":\"Json\",\"location\":\"scalar\",\"isList\":false}},{\"name\":\"blogPosts\",\"args\":[{\"name\":\"where\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostWhereInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"orderBy\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostOrderByWithRelationInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true},{\"type\":\"BlogPostOrderByWithRelationInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"cursor\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"take\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"skip\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"distinct\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostScalarFieldEnum\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":true}]}],\"isNullable\":true,\"outputType\":{\"type\":\"BlogPost\",\"namespace\":\"model\",\"location\":\"outputObjectTypes\",\"isList\":true}},{\"name\":\"comments\",\"args\":[{\"name\":\"where\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostCommentWhereInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"orderBy\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostCommentOrderByWithRelationInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true},{\"type\":\"BlogPostCommentOrderByWithRelationInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"cursor\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostCommentWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"take\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"skip\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"distinct\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"BlogPostCommentScalarFieldEnum\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":true}]}],\"isNullable\":true,\"outputType\":{\"type\":\"BlogPostComment\",\"namespace\":\"model\",\"location\":\"outputObjectTypes\",\"isList\":true}},{\"name\":\"companies\",\"args\":[{\"name\":\"where\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"CompanyWhereInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"orderBy\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"CompanyOrderByWithRelationInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":true},{\"type\":\"CompanyOrderByWithRelationInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"cursor\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"CompanyWhereUniqueInput\",\"namespace\":\"prisma\",\"location\":\"inputObjectTypes\",\"isList\":false}]},{\"name\":\"take\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"skip\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}]},{\"name\":\"distinct\",\"isRequired\":false,\"isNullable\":false,\"inputTypes\":[{\"type\":\"CompanyScalarFieldEnum\",\"namespace\":\"prisma\",\"location\":\"enumTypes\",\"isList\":true}]}],\"isNullable\":true,\"outputType\":{\"type\":\"Company\",\"namespace\":\"model\",\"location\":\"outputObjectTypes\",\"isList\":true}},{\"name\":\"weddingDate\",\"args\":[],\"isNullable\":true,\"outputType\":{\"type\":\"DateTime\",\"location\":\"scalar\",\"isList\":false}},{\"name\":\"site\",\"args\":[],\"isNullable\":true,\"outputType\":{\"type\":\"Site\",\"namespace\":\"model\",\"location\":\"outputObjectTypes\",\"isList\":false}},{\"name\":\"_count\",\"args\":[],\"isNullable\":false,\"outputType\":{\"type\":\"UserCountOutputType\",\"namespace\":\"prisma\",\"location\":\"outputObjectTypes\",\"isList\":false}}]},{\"name\":\"FilteringTest\",\"fields\":[{\"name\":\"id\",\"args\":[],\"isNullable\":false,\"outputType\":{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}},{\"name\":\"intField\",\"args\":[],\"isNullable\":false,\"outputType\":{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}},{\"name\":\"floatField\",\"args\":[],\"isNullable\":false,\"outputType\":{\"type\":\"Float\",\"location\":\"scalar\",\"isList\":false}},{\"name\":\"stringField\",\"args\":[],\"isNullable\":false,\"outputType\":{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}},{\"name\":\"dateTimeField\",\"args\":[],\"isNullable\":false,\"outputType\":{\"type\":\"DateTime\",\"location\":\"scalar\",\"isList\":false}},{\"name\":\"boolField\",\"args\":[],\"isNullable\":false,\"outputType\":{\"type\":\"Boolean\",\"location\":\"scalar\",\"isList\":false}},{\"name\":\"intField_lt\",\"args\":[],\"isNullable\":false,\"outputType\":{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}},{\"name\":\"intField_bt\",\"args\":[],\"isNullable\":false,\"outputType\":{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}},{\"name\":\"snake_field\",\"args\":[],\"isNullable\":false,\"outputType\":{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}},{\"name\":\"snake_field_bt\",\"args\":[],\"isNullable\":false,\"outputType\":{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}}]},{\"name\":\"SomePublicRecordWithIntId\",\"fields\":[{\"name\":\"id\",\"args\":[],\"isNullable\":false,\"outputType\":{\"type\":\"Int\",\"location\":\"scalar\",\"isList\":false}},{\"name\":\"title\",\"args\":[],\"isNullable\":false,\"outputType\":{\"type\":\"String\",\"location\":\"scalar\",\"isList\":false}}]}]},\"enumTypes\":{\"prisma\":[{\"name\":\"UserRoleScalarFieldEnum\",\"values\":[\"id\",\"name\"]},{\"name\":\"CompanyScalarFieldEnum\",\"values\":[\"id\",\"name\",\"userId\"]},{\"name\":\"UserSocialMediaScalarFieldEnum\",\"values\":[\"id\",\"instagram\",\"twitter\",\"userId\"]},{\"name\":\"BlogPostScalarFieldEnum\",\"values\":[\"id\",\"title\",\"text\",\"authorId\"]},{\"name\":\"BlogPostCommentScalarFieldEnum\",\"values\":[\"id\",\"text\",\"postId\",\"authorId\"]},{\"name\":\"SiteScalarFieldEnum\",\"values\":[\"id\",\"name\",\"url\",\"userId\"]},{\"name\":\"UserScalarFieldEnum\",\"values\":[\"id\",\"email\",\"firstName\",\"lastName\",\"gender\",\"yearOfBirth\",\"wantsNewsletter\",\"interests\",\"address\",\"weddingDate\"]},{\"name\":\"FilteringTestScalarFieldEnum\",\"values\":[\"id\",\"intField\",\"floatField\",\"stringField\",\"dateTimeField\",\"boolField\",\"intField_lt\",\"intField_bt\",\"snake_field\",\"snake_field_bt\"]},{\"name\":\"SomePublicRecordWithIntIdScalarFieldEnum\",\"values\":[\"id\",\"title\"]},{\"name\":\"SortOrder\",\"values\":[\"asc\",\"desc\"]},{\"name\":\"NullableJsonNullValueInput\",\"values\":[\"DbNull\",\"JsonNull\"]},{\"name\":\"QueryMode\",\"values\":[\"default\",\"insensitive\"]},{\"name\":\"JsonNullValueFilter\",\"values\":[\"DbNull\",\"JsonNull\",\"AnyNull\"]}],\"model\":[{\"name\":\"Gender\",\"values\":[\"MALE\",\"FEMALE\",\"OTHER\"]},{\"name\":\"Topic\",\"values\":[\"TOPIC_ONE\",\"TOPIC_TWO\",\"TOPIC_THREE\"]}]}},\"mappings\":{\"modelOperations\":[{\"model\":\"UserRole\",\"plural\":\"userRoles\",\"findUnique\":\"findUniqueUserRole\",\"findFirst\":\"findFirstUserRole\",\"findMany\":\"findManyUserRole\",\"create\":\"createOneUserRole\",\"createMany\":\"createManyUserRole\",\"delete\":\"deleteOneUserRole\",\"update\":\"updateOneUserRole\",\"deleteMany\":\"deleteManyUserRole\",\"updateMany\":\"updateManyUserRole\",\"upsert\":\"upsertOneUserRole\",\"aggregate\":\"aggregateUserRole\",\"groupBy\":\"groupByUserRole\"},{\"model\":\"Company\",\"plural\":\"companies\",\"findUnique\":\"findUniqueCompany\",\"findFirst\":\"findFirstCompany\",\"findMany\":\"findManyCompany\",\"create\":\"createOneCompany\",\"createMany\":\"createManyCompany\",\"delete\":\"deleteOneCompany\",\"update\":\"updateOneCompany\",\"deleteMany\":\"deleteManyCompany\",\"updateMany\":\"updateManyCompany\",\"upsert\":\"upsertOneCompany\",\"aggregate\":\"aggregateCompany\",\"groupBy\":\"groupByCompany\"},{\"model\":\"UserSocialMedia\",\"plural\":\"userSocialMedias\",\"findUnique\":\"findUniqueUserSocialMedia\",\"findFirst\":\"findFirstUserSocialMedia\",\"findMany\":\"findManyUserSocialMedia\",\"create\":\"createOneUserSocialMedia\",\"createMany\":\"createManyUserSocialMedia\",\"delete\":\"deleteOneUserSocialMedia\",\"update\":\"updateOneUserSocialMedia\",\"deleteMany\":\"deleteManyUserSocialMedia\",\"updateMany\":\"updateManyUserSocialMedia\",\"upsert\":\"upsertOneUserSocialMedia\",\"aggregate\":\"aggregateUserSocialMedia\",\"groupBy\":\"groupByUserSocialMedia\"},{\"model\":\"BlogPost\",\"plural\":\"blogPosts\",\"findUnique\":\"findUniqueBlogPost\",\"findFirst\":\"findFirstBlogPost\",\"findMany\":\"findManyBlogPost\",\"create\":\"createOneBlogPost\",\"createMany\":\"createManyBlogPost\",\"delete\":\"deleteOneBlogPost\",\"update\":\"updateOneBlogPost\",\"deleteMany\":\"deleteManyBlogPost\",\"updateMany\":\"updateManyBlogPost\",\"upsert\":\"upsertOneBlogPost\",\"aggregate\":\"aggregateBlogPost\",\"groupBy\":\"groupByBlogPost\"},{\"model\":\"BlogPostComment\",\"plural\":\"blogPostComments\",\"findUnique\":\"findUniqueBlogPostComment\",\"findFirst\":\"findFirstBlogPostComment\",\"findMany\":\"findManyBlogPostComment\",\"create\":\"createOneBlogPostComment\",\"createMany\":\"createManyBlogPostComment\",\"delete\":\"deleteOneBlogPostComment\",\"update\":\"updateOneBlogPostComment\",\"deleteMany\":\"deleteManyBlogPostComment\",\"updateMany\":\"updateManyBlogPostComment\",\"upsert\":\"upsertOneBlogPostComment\",\"aggregate\":\"aggregateBlogPostComment\",\"groupBy\":\"groupByBlogPostComment\"},{\"model\":\"Site\",\"plural\":\"sites\",\"findUnique\":\"findUniqueSite\",\"findFirst\":\"findFirstSite\",\"findMany\":\"findManySite\",\"create\":\"createOneSite\",\"createMany\":\"createManySite\",\"delete\":\"deleteOneSite\",\"update\":\"updateOneSite\",\"deleteMany\":\"deleteManySite\",\"updateMany\":\"updateManySite\",\"upsert\":\"upsertOneSite\",\"aggregate\":\"aggregateSite\",\"groupBy\":\"groupBySite\"},{\"model\":\"User\",\"plural\":\"users\",\"findUnique\":\"findUniqueUser\",\"findFirst\":\"findFirstUser\",\"findMany\":\"findManyUser\",\"create\":\"createOneUser\",\"createMany\":\"createManyUser\",\"delete\":\"deleteOneUser\",\"update\":\"updateOneUser\",\"deleteMany\":\"deleteManyUser\",\"updateMany\":\"updateManyUser\",\"upsert\":\"upsertOneUser\",\"aggregate\":\"aggregateUser\",\"groupBy\":\"groupByUser\"},{\"model\":\"FilteringTest\",\"plural\":\"filteringTests\",\"findUnique\":\"findUniqueFilteringTest\",\"findFirst\":\"findFirstFilteringTest\",\"findMany\":\"findManyFilteringTest\",\"create\":\"createOneFilteringTest\",\"createMany\":\"createManyFilteringTest\",\"delete\":\"deleteOneFilteringTest\",\"update\":\"updateOneFilteringTest\",\"deleteMany\":\"deleteManyFilteringTest\",\"updateMany\":\"updateManyFilteringTest\",\"upsert\":\"upsertOneFilteringTest\",\"aggregate\":\"aggregateFilteringTest\",\"groupBy\":\"groupByFilteringTest\"},{\"model\":\"SomePublicRecordWithIntId\",\"plural\":\"somePublicRecordWithIntIds\",\"findUnique\":\"findUniqueSomePublicRecordWithIntId\",\"findFirst\":\"findFirstSomePublicRecordWithIntId\",\"findMany\":\"findManySomePublicRecordWithIntId\",\"create\":\"createOneSomePublicRecordWithIntId\",\"createMany\":\"createManySomePublicRecordWithIntId\",\"delete\":\"deleteOneSomePublicRecordWithIntId\",\"update\":\"updateOneSomePublicRecordWithIntId\",\"deleteMany\":\"deleteManySomePublicRecordWithIntId\",\"updateMany\":\"updateManySomePublicRecordWithIntId\",\"upsert\":\"upsertOneSomePublicRecordWithIntId\",\"aggregate\":\"aggregateSomePublicRecordWithIntId\",\"groupBy\":\"groupBySomePublicRecordWithIntId\"}],\"otherOperations\":{\"read\":[],\"write\":[\"executeRaw\",\"queryRaw\"]}}}" -const dmmf = JSON.parse(dmmfString) -exports.Prisma.dmmf = JSON.parse(dmmfString) - +}; /** * Create the Client */ @@ -209,13 +216,19 @@ const config = { "value": "prisma-client-js" }, "output": { - "value": "/Volumes/Projects/ra-data-prisma/packages/dataprovider/.prisma", + "value": "/Users/macrozone/git/panter/ra-data-prisma/packages/dataprovider/.prisma", "fromEnvVar": null }, "config": { "engineType": "library" }, - "binaryTargets": [], + "binaryTargets": [ + { + "fromEnvVar": null, + "value": "darwin-arm64", + "native": true + } + ], "previewFeatures": [], "isCustomOutput": true }, @@ -223,31 +236,62 @@ const config = { "rootEnvPath": null }, "relativePath": "../test-data", - "clientVersion": "3.15.2", - "engineVersion": "461d6a05159055555eb7dfb337c9fb271cbd4d7e", + "clientVersion": "5.5.2", + "engineVersion": "aebc046ce8b88ebbcb45efe31cbe7d06fd6abc0a", "datasourceNames": [ "db" ], "activeProvider": "postgresql", - "dataProxy": false + "postinstall": false, + "inlineDatasources": { + "db": { + "url": { + "fromEnvVar": "POSTGRESQL_URL", + "value": null + } + } + }, + "inlineSchema": "Z2VuZXJhdG9yIGNsaWVudCB7CiAgcHJvdmlkZXIgPSAicHJpc21hLWNsaWVudC1qcyIKICBvdXRwdXQgICA9ICIuLi8ucHJpc21hIgp9CgpnZW5lcmF0b3IgdHlwZWdyYXBocWwgewogIHByb3ZpZGVyID0gInR5cGVncmFwaHFsLXByaXNtYSIKfQoKZGF0YXNvdXJjZSBkYiB7CiAgcHJvdmlkZXIgPSAicG9zdGdyZXNxbCIKICB1cmwgICAgICA9IGVudigiUE9TVEdSRVNRTF9VUkwiKQp9Cgptb2RlbCBVc2VyUm9sZSB7CiAgaWQgICAgU3RyaW5nIEBpZCBAZGVmYXVsdCh1dWlkKCkpCiAgbmFtZSAgU3RyaW5nCiAgdXNlcnMgVXNlcltdCn0KCm1vZGVsIENvbXBhbnkgewogIGlkICAgICBTdHJpbmcgQGlkIEBkZWZhdWx0KHV1aWQoKSkKICBuYW1lICAgU3RyaW5nCiAgdXNlciAgIFVzZXIgICBAcmVsYXRpb24oZmllbGRzOiBbdXNlcklkXSwgcmVmZXJlbmNlczogW2lkXSkKICB1c2VySWQgU3RyaW5nCn0KCm1vZGVsIFVzZXJTb2NpYWxNZWRpYSB7CiAgaWQgICAgICAgIFN0cmluZyBAaWQgQGRlZmF1bHQodXVpZCgpKQogIGluc3RhZ3JhbSBTdHJpbmcKICB0d2l0dGVyICAgU3RyaW5nCiAgdXNlciAgICAgIFVzZXIgICBAcmVsYXRpb24oZmllbGRzOiBbdXNlcklkXSwgcmVmZXJlbmNlczogW2lkXSkKICB1c2VySWQgICAgU3RyaW5nIEB1bmlxdWUKfQoKbW9kZWwgQmxvZ1Bvc3QgewogIGlkICAgICAgIFN0cmluZyAgICAgICAgICAgIEBpZCBAZGVmYXVsdCh1dWlkKCkpCiAgdGl0bGUgICAgU3RyaW5nCiAgdGV4dCAgICAgU3RyaW5nCiAgYXV0aG9yICAgVXNlcj8gICAgICAgICAgICAgQHJlbGF0aW9uKGZpZWxkczogW2F1dGhvcklkXSwgcmVmZXJlbmNlczogW2lkXSkKICBhdXRob3JJZCBTdHJpbmc/CiAgY29tbWVudHMgQmxvZ1Bvc3RDb21tZW50W10KfQoKbW9kZWwgQmxvZ1Bvc3RDb21tZW50IHsKICBpZCAgICAgICBTdHJpbmcgICAgQGlkIEBkZWZhdWx0KHV1aWQoKSkKICB0ZXh0ICAgICBTdHJpbmcKICBwb3N0ICAgICBCbG9nUG9zdD8gQHJlbGF0aW9uKGZpZWxkczogW3Bvc3RJZF0sIHJlZmVyZW5jZXM6IFtpZF0pCiAgcG9zdElkICAgU3RyaW5nPwogIGF1dGhvciAgIFVzZXI/ICAgICBAcmVsYXRpb24oZmllbGRzOiBbYXV0aG9ySWRdLCByZWZlcmVuY2VzOiBbaWRdKQogIGF1dGhvcklkIFN0cmluZz8KfQoKbW9kZWwgU2l0ZSB7CiAgaWQgICBTdHJpbmcgQGlkIEBkZWZhdWx0KHV1aWQoKSkKICBuYW1lIFN0cmluZwogIHVybCAgU3RyaW5nCgogIG93bmVyICBVc2VyPyAgIEByZWxhdGlvbihmaWVsZHM6IFt1c2VySWRdLCByZWZlcmVuY2VzOiBbaWRdKQogIHVzZXJJZCBTdHJpbmc/IEB1bmlxdWUKfQoKZW51bSBHZW5kZXIgewogIE1BTEUKICBGRU1BTEUKICBPVEhFUgp9Cgptb2RlbCBVc2VyIHsKICBpZCAgICAgICAgICAgICAgU3RyaW5nICAgICAgICAgICAgQGlkIEBkZWZhdWx0KHV1aWQoKSkKICBlbWFpbCAgICAgICAgICAgU3RyaW5nICAgICAgICAgICAgQHVuaXF1ZQogIHJvbGVzICAgICAgICAgICBVc2VyUm9sZVtdCiAgZmlyc3ROYW1lICAgICAgIFN0cmluZz8KICBsYXN0TmFtZSAgICAgICAgU3RyaW5nPwogIGdlbmRlciAgICAgICAgICBHZW5kZXI/CiAgeWVhck9mQmlydGggICAgIEludD8KICB3YW50c05ld3NsZXR0ZXIgQm9vbGVhbgogIGludGVyZXN0cyAgICAgICBUb3BpY1tdCiAgdXNlclNvY2lhbE1lZGlhIFVzZXJTb2NpYWxNZWRpYT8KICAvLy8gQFR5cGVHcmFwaFFMLm9taXQob3V0cHV0OiB0cnVlKQogIGFkZHJlc3MgICAgICAgICBKc29uPwogIGJsb2dQb3N0cyAgICAgICBCbG9nUG9zdFtdCiAgY29tbWVudHMgICAgICAgIEJsb2dQb3N0Q29tbWVudFtdCiAgY29tcGFuaWVzICAgICAgIENvbXBhbnlbXQogIHdlZGRpbmdEYXRlICAgICBEYXRlVGltZT8KICAvLy8gQFR5cGVHcmFwaFFMLm9taXQob3V0cHV0OiB0cnVlKQogIHNpdGUgICAgICAgICAgICBTaXRlPwp9Cgptb2RlbCBGaWx0ZXJpbmdUZXN0IHsKICBpZCAgICAgICAgICAgICBJbnQgICAgICBAaWQgQGRlZmF1bHQoYXV0b2luY3JlbWVudCgpKQogIGludEZpZWxkICAgICAgIEludAogIGZsb2F0RmllbGQgICAgIEZsb2F0CiAgc3RyaW5nRmllbGQgICAgU3RyaW5nCiAgZGF0ZVRpbWVGaWVsZCAgRGF0ZVRpbWUKICBib29sRmllbGQgICAgICBCb29sZWFuCiAgaW50RmllbGRfbHQgICAgU3RyaW5nCiAgaW50RmllbGRfYnQgICAgSW50CiAgc25ha2VfZmllbGQgICAgSW50CiAgc25ha2VfZmllbGRfYnQgSW50Cn0KCm1vZGVsIFNvbWVQdWJsaWNSZWNvcmRXaXRoSW50SWQgewogIGlkICAgIEludCAgICBAaWQgQGRlZmF1bHQoYXV0b2luY3JlbWVudCgpKQogIHRpdGxlIFN0cmluZwp9CgplbnVtIFRvcGljIHsKICBUT1BJQ19PTkUKICBUT1BJQ19UV08KICBUT1BJQ19USFJFRQp9Cg==", + "inlineSchemaHash": "6a67a074df6d7e9030a31f735bd02e9b0572192a798ff0d5a3c697372c711342", + "noEngine": false } -config.document = dmmf -config.dirname = dirname +const fs = require('fs') +config.dirname = __dirname +if (!fs.existsSync(path.join(__dirname, 'schema.prisma'))) { + const alternativePaths = [ + ".prisma", + "", + ] + + const alternativePath = alternativePaths.find((altPath) => { + return fs.existsSync(path.join(process.cwd(), altPath, 'schema.prisma')) + }) ?? alternativePaths[0] + + config.dirname = path.join(process.cwd(), alternativePath) + config.isBundled = true +} + +config.runtimeDataModel = JSON.parse("{\"models\":{\"UserRole\":{\"dbName\":null,\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":true,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"String\",\"default\":{\"name\":\"uuid\",\"args\":[]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"name\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"users\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"User\",\"relationName\":\"UserToUserRole\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false}],\"primaryKey\":null,\"uniqueFields\":[],\"uniqueIndexes\":[],\"isGenerated\":false},\"Company\":{\"dbName\":null,\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":true,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"String\",\"default\":{\"name\":\"uuid\",\"args\":[]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"name\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"user\",\"kind\":\"object\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"User\",\"relationName\":\"CompanyToUser\",\"relationFromFields\":[\"userId\"],\"relationToFields\":[\"id\"],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"userId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"isGenerated\":false,\"isUpdatedAt\":false}],\"primaryKey\":null,\"uniqueFields\":[],\"uniqueIndexes\":[],\"isGenerated\":false},\"UserSocialMedia\":{\"dbName\":null,\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":true,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"String\",\"default\":{\"name\":\"uuid\",\"args\":[]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"instagram\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"twitter\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"user\",\"kind\":\"object\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"User\",\"relationName\":\"UserToUserSocialMedia\",\"relationFromFields\":[\"userId\"],\"relationToFields\":[\"id\"],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"userId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":true,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"isGenerated\":false,\"isUpdatedAt\":false}],\"primaryKey\":null,\"uniqueFields\":[],\"uniqueIndexes\":[],\"isGenerated\":false},\"BlogPost\":{\"dbName\":null,\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":true,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"String\",\"default\":{\"name\":\"uuid\",\"args\":[]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"title\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"text\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"author\",\"kind\":\"object\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"User\",\"relationName\":\"BlogPostToUser\",\"relationFromFields\":[\"authorId\"],\"relationToFields\":[\"id\"],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"authorId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"comments\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"BlogPostComment\",\"relationName\":\"BlogPostToBlogPostComment\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false}],\"primaryKey\":null,\"uniqueFields\":[],\"uniqueIndexes\":[],\"isGenerated\":false},\"BlogPostComment\":{\"dbName\":null,\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":true,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"String\",\"default\":{\"name\":\"uuid\",\"args\":[]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"text\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"post\",\"kind\":\"object\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"BlogPost\",\"relationName\":\"BlogPostToBlogPostComment\",\"relationFromFields\":[\"postId\"],\"relationToFields\":[\"id\"],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"postId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"author\",\"kind\":\"object\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"User\",\"relationName\":\"BlogPostCommentToUser\",\"relationFromFields\":[\"authorId\"],\"relationToFields\":[\"id\"],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"authorId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"isGenerated\":false,\"isUpdatedAt\":false}],\"primaryKey\":null,\"uniqueFields\":[],\"uniqueIndexes\":[],\"isGenerated\":false},\"Site\":{\"dbName\":null,\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":true,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"String\",\"default\":{\"name\":\"uuid\",\"args\":[]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"name\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"url\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"owner\",\"kind\":\"object\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"User\",\"relationName\":\"SiteToUser\",\"relationFromFields\":[\"userId\"],\"relationToFields\":[\"id\"],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"userId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":true,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"isGenerated\":false,\"isUpdatedAt\":false}],\"primaryKey\":null,\"uniqueFields\":[],\"uniqueIndexes\":[],\"isGenerated\":false},\"User\":{\"dbName\":null,\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":true,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"String\",\"default\":{\"name\":\"uuid\",\"args\":[]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"email\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":true,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"roles\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"UserRole\",\"relationName\":\"UserToUserRole\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"firstName\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"lastName\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"gender\",\"kind\":\"enum\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Gender\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"yearOfBirth\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Int\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"wantsNewsletter\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Boolean\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"interests\",\"kind\":\"enum\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Topic\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"userSocialMedia\",\"kind\":\"object\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"UserSocialMedia\",\"relationName\":\"UserToUserSocialMedia\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"address\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Json\",\"isGenerated\":false,\"isUpdatedAt\":false,\"documentation\":\"@TypeGraphQL.omit(output: true)\"},{\"name\":\"blogPosts\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"BlogPost\",\"relationName\":\"BlogPostToUser\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"comments\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"BlogPostComment\",\"relationName\":\"BlogPostCommentToUser\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"companies\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Company\",\"relationName\":\"CompanyToUser\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"weddingDate\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"DateTime\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"site\",\"kind\":\"object\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Site\",\"relationName\":\"SiteToUser\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false,\"documentation\":\"@TypeGraphQL.omit(output: true)\"}],\"primaryKey\":null,\"uniqueFields\":[],\"uniqueIndexes\":[],\"isGenerated\":false},\"FilteringTest\":{\"dbName\":null,\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":true,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"Int\",\"default\":{\"name\":\"autoincrement\",\"args\":[]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"intField\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Int\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"floatField\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Float\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"stringField\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"dateTimeField\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"DateTime\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"boolField\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Boolean\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"intField_lt\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"intField_bt\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Int\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"snake_field\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Int\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"snake_field_bt\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Int\",\"isGenerated\":false,\"isUpdatedAt\":false}],\"primaryKey\":null,\"uniqueFields\":[],\"uniqueIndexes\":[],\"isGenerated\":false},\"SomePublicRecordWithIntId\":{\"dbName\":null,\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":true,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"Int\",\"default\":{\"name\":\"autoincrement\",\"args\":[]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"title\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"isGenerated\":false,\"isUpdatedAt\":false}],\"primaryKey\":null,\"uniqueFields\":[],\"uniqueIndexes\":[],\"isGenerated\":false}},\"enums\":{\"Gender\":{\"values\":[{\"name\":\"MALE\",\"dbName\":null},{\"name\":\"FEMALE\",\"dbName\":null},{\"name\":\"OTHER\",\"dbName\":null}],\"dbName\":null},\"Topic\":{\"values\":[{\"name\":\"TOPIC_ONE\",\"dbName\":null},{\"name\":\"TOPIC_TWO\",\"dbName\":null},{\"name\":\"TOPIC_THREE\",\"dbName\":null}],\"dbName\":null}},\"types\":{}}") +defineDmmfProperty(exports.Prisma, config.runtimeDataModel) -const { warnEnvConflicts } = require('./runtime/index') + +const { warnEnvConflicts } = require('./runtime/library') warnEnvConflicts({ - rootEnvPath: config.relativeEnvPaths.rootEnvPath && path.resolve(dirname, config.relativeEnvPaths.rootEnvPath), - schemaEnvPath: config.relativeEnvPaths.schemaEnvPath && path.resolve(dirname, config.relativeEnvPaths.schemaEnvPath) + rootEnvPath: config.relativeEnvPaths.rootEnvPath && path.resolve(config.dirname, config.relativeEnvPaths.rootEnvPath), + schemaEnvPath: config.relativeEnvPaths.schemaEnvPath && path.resolve(config.dirname, config.relativeEnvPaths.schemaEnvPath) }) + const PrismaClient = getPrismaClient(config) exports.PrismaClient = PrismaClient Object.assign(exports, Prisma) -path.join(__dirname, "libquery_engine-darwin.dylib.node"); -path.join(process.cwd(), ".prisma/libquery_engine-darwin.dylib.node") +// file annotations for bundling tools to include these files +path.join(__dirname, "libquery_engine-darwin-arm64.dylib.node"); +path.join(process.cwd(), ".prisma/libquery_engine-darwin-arm64.dylib.node") +// file annotations for bundling tools to include these files path.join(__dirname, "schema.prisma"); path.join(process.cwd(), ".prisma/schema.prisma") diff --git a/packages/dataprovider/.prisma/libquery_engine-darwin-arm64.dylib.node b/packages/dataprovider/.prisma/libquery_engine-darwin-arm64.dylib.node index a925f68..4541d32 100755 Binary files a/packages/dataprovider/.prisma/libquery_engine-darwin-arm64.dylib.node and b/packages/dataprovider/.prisma/libquery_engine-darwin-arm64.dylib.node differ diff --git a/packages/dataprovider/.prisma/package.json b/packages/dataprovider/.prisma/package.json index 9e7a6db..da6bb21 100644 --- a/packages/dataprovider/.prisma/package.json +++ b/packages/dataprovider/.prisma/package.json @@ -2,5 +2,6 @@ "name": ".prisma/client", "main": "index.js", "types": "index.d.ts", - "browser": "index-browser.js" + "browser": "index-browser.js", + "sideEffects": false } \ No newline at end of file diff --git a/packages/dataprovider/.prisma/runtime/edge-esm.js b/packages/dataprovider/.prisma/runtime/edge-esm.js new file mode 100644 index 0000000..c680bc1 --- /dev/null +++ b/packages/dataprovider/.prisma/runtime/edge-esm.js @@ -0,0 +1,43 @@ +var Xu=Object.create;var _r=Object.defineProperty;var el=Object.getOwnPropertyDescriptor;var tl=Object.getOwnPropertyNames;var rl=Object.getPrototypeOf,nl=Object.prototype.hasOwnProperty;var ol=(e,t,r)=>t in e?_r(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var Qn=(e=>typeof require!="undefined"?require:typeof Proxy!="undefined"?new Proxy(e,{get:(t,r)=>(typeof require!="undefined"?require:t)[r]}):e)(function(e){if(typeof require!="undefined")return require.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')});var Nr=(e,t)=>()=>(e&&(t=e(e=0)),t);var Z=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),Lr=(e,t)=>{for(var r in t)_r(e,r,{get:t[r],enumerable:!0})},il=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of tl(t))!nl.call(e,o)&&o!==r&&_r(e,o,{get:()=>t[o],enumerable:!(n=el(t,o))||n.enumerable});return e};var Pe=(e,t,r)=>(r=e!=null?Xu(rl(e)):{},il(t||!e||!e.__esModule?_r(r,"default",{value:e,enumerable:!0}):r,e));var hi=(e,t,r)=>(ol(e,typeof t!="symbol"?t+"":t,r),r);function B(e){return()=>e}function Ie(){return y}var y,p=Nr(()=>{"use strict";y={abort:B(void 0),addListener:B(Ie()),allowedNodeEnvironmentFlags:new Set,arch:"x64",argv:["/bin/node"],argv0:"node",chdir:B(void 0),config:{target_defaults:{cflags:[],default_configuration:"",defines:[],include_dirs:[],libraries:[]},variables:{clang:0,host_arch:"x64",node_install_npm:!1,node_install_waf:!1,node_prefix:"",node_shared_openssl:!1,node_shared_v8:!1,node_shared_zlib:!1,node_use_dtrace:!1,node_use_etw:!1,node_use_openssl:!1,target_arch:"x64",v8_no_strict_aliasing:0,v8_use_snapshot:!1,visibility:""}},connected:!1,cpuUsage:()=>({user:0,system:0}),cwd:()=>"/",debugPort:0,disconnect:B(void 0),constrainedMemory:()=>{},emit:B(Ie()),emitWarning:B(void 0),env:{},eventNames:()=>[],execArgv:[],execPath:"/",exit:B(void 0),features:{inspector:!1,debug:!1,uv:!1,ipv6:!1,tls_alpn:!1,tls_sni:!1,tls_ocsp:!1,tls:!1},getMaxListeners:B(0),getegid:B(0),geteuid:B(0),getgid:B(0),getgroups:B([]),getuid:B(0),hasUncaughtExceptionCaptureCallback:B(!1),hrtime:B([0,0]),platform:"linux",kill:B(!0),listenerCount:B(0),listeners:B([]),memoryUsage:B({arrayBuffers:0,external:0,heapTotal:0,heapUsed:0,rss:0}),nextTick:(e,...t)=>{setTimeout(()=>{e(...t)},0)},off:B(Ie()),on:B(Ie()),once:B(Ie()),openStdin:B({}),pid:0,ppid:0,prependListener:B(Ie()),prependOnceListener:B(Ie()),rawListeners:B([]),release:{name:"node"},removeAllListeners:B(Ie()),removeListener:B(Ie()),resourceUsage:B({fsRead:0,fsWrite:0,involuntaryContextSwitches:0,ipcReceived:0,ipcSent:0,majorPageFault:0,maxRSS:0,minorPageFault:0,sharedMemorySize:0,signalsCount:0,swappedOut:0,systemCPUTime:0,unsharedDataSize:0,unsharedStackSize:0,userCPUTime:0,voluntaryContextSwitches:0}),setMaxListeners:B(Ie()),setUncaughtExceptionCaptureCallback:B(void 0),setegid:B(void 0),seteuid:B(void 0),setgid:B(void 0),setgroups:B(void 0),setuid:B(void 0),stderr:{fd:2},stdin:{fd:0},stdout:{fd:1},title:"node",traceDeprecation:!1,umask:B(0),uptime:B(0),version:"",versions:{http_parser:"",node:"",v8:"",ares:"",uv:"",zlib:"",modules:"",openssl:""}}});var h,f=Nr(()=>{"use strict";h=()=>{};h.prototype=h});var Ni=Z(Ot=>{"use strict";d();p();f();var Pi=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),sl=Pi(e=>{"use strict";e.byteLength=u,e.toByteArray=c,e.fromByteArray=w;var t=[],r=[],n=typeof Uint8Array<"u"?Uint8Array:Array,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(i=0,s=o.length;i0)throw new Error("Invalid string. Length must be a multiple of 4");var T=E.indexOf("=");T===-1&&(T=b);var S=T===b?0:4-T%4;return[T,S]}function u(E){var b=a(E),T=b[0],S=b[1];return(T+S)*3/4-S}function l(E,b,T){return(b+T)*3/4-T}function c(E){var b,T=a(E),S=T[0],R=T[1],C=new n(l(E,S,R)),M=0,N=R>0?S-4:S,L;for(L=0;L>16&255,C[M++]=b>>8&255,C[M++]=b&255;return R===2&&(b=r[E.charCodeAt(L)]<<2|r[E.charCodeAt(L+1)]>>4,C[M++]=b&255),R===1&&(b=r[E.charCodeAt(L)]<<10|r[E.charCodeAt(L+1)]<<4|r[E.charCodeAt(L+2)]>>2,C[M++]=b>>8&255,C[M++]=b&255),C}function m(E){return t[E>>18&63]+t[E>>12&63]+t[E>>6&63]+t[E&63]}function g(E,b,T){for(var S,R=[],C=b;CN?N:M+C));return S===1?(b=E[T-1],R.push(t[b>>2]+t[b<<4&63]+"==")):S===2&&(b=(E[T-2]<<8)+E[T-1],R.push(t[b>>10]+t[b>>4&63]+t[b<<2&63]+"=")),R.join("")}}),al=Pi(e=>{e.read=function(t,r,n,o,i){var s,a,u=i*8-o-1,l=(1<>1,m=-7,g=n?i-1:0,w=n?-1:1,E=t[r+g];for(g+=w,s=E&(1<<-m)-1,E>>=-m,m+=u;m>0;s=s*256+t[r+g],g+=w,m-=8);for(a=s&(1<<-m)-1,s>>=-m,m+=o;m>0;a=a*256+t[r+g],g+=w,m-=8);if(s===0)s=1-c;else{if(s===l)return a?NaN:(E?-1:1)*(1/0);a=a+Math.pow(2,o),s=s-c}return(E?-1:1)*a*Math.pow(2,s-o)},e.write=function(t,r,n,o,i,s){var a,u,l,c=s*8-i-1,m=(1<>1,w=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,E=o?0:s-1,b=o?1:-1,T=r<0||r===0&&1/r<0?1:0;for(r=Math.abs(r),isNaN(r)||r===1/0?(u=isNaN(r)?1:0,a=m):(a=Math.floor(Math.log(r)/Math.LN2),r*(l=Math.pow(2,-a))<1&&(a--,l*=2),a+g>=1?r+=w/l:r+=w*Math.pow(2,1-g),r*l>=2&&(a++,l/=2),a+g>=m?(u=0,a=m):a+g>=1?(u=(r*l-1)*Math.pow(2,i),a=a+g):(u=r*Math.pow(2,g-1)*Math.pow(2,i),a=0));i>=8;t[n+E]=u&255,E+=b,u/=256,i-=8);for(a=a<0;t[n+E]=a&255,E+=b,a/=256,c-=8);t[n+E-b]|=T*128}}),Wn=sl(),St=al(),xi=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;Ot.Buffer=P;Ot.SlowBuffer=dl;Ot.INSPECT_MAX_BYTES=50;var Br=2147483647;Ot.kMaxLength=Br;P.TYPED_ARRAY_SUPPORT=ul();!P.TYPED_ARRAY_SUPPORT&&typeof console<"u"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function ul(){try{let e=new Uint8Array(1),t={foo:function(){return 42}};return Object.setPrototypeOf(t,Uint8Array.prototype),Object.setPrototypeOf(e,t),e.foo()===42}catch(e){return!1}}Object.defineProperty(P.prototype,"parent",{enumerable:!0,get:function(){if(P.isBuffer(this))return this.buffer}});Object.defineProperty(P.prototype,"offset",{enumerable:!0,get:function(){if(P.isBuffer(this))return this.byteOffset}});function $e(e){if(e>Br)throw new RangeError('The value "'+e+'" is invalid for option "size"');let t=new Uint8Array(e);return Object.setPrototypeOf(t,P.prototype),t}function P(e,t,r){if(typeof e=="number"){if(typeof t=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return Zn(e)}return vi(e,t,r)}P.poolSize=8192;function vi(e,t,r){if(typeof e=="string")return cl(e,t);if(ArrayBuffer.isView(e))return pl(e);if(e==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(ke(e,ArrayBuffer)||e&&ke(e.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(ke(e,SharedArrayBuffer)||e&&ke(e.buffer,SharedArrayBuffer)))return Ti(e,t,r);if(typeof e=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');let n=e.valueOf&&e.valueOf();if(n!=null&&n!==e)return P.from(n,t,r);let o=fl(e);if(o)return o;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof e[Symbol.toPrimitive]=="function")return P.from(e[Symbol.toPrimitive]("string"),t,r);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}P.from=function(e,t,r){return vi(e,t,r)};Object.setPrototypeOf(P.prototype,Uint8Array.prototype);Object.setPrototypeOf(P,Uint8Array);function Ai(e){if(typeof e!="number")throw new TypeError('"size" argument must be of type number');if(e<0)throw new RangeError('The value "'+e+'" is invalid for option "size"')}function ll(e,t,r){return Ai(e),e<=0?$e(e):t!==void 0?typeof r=="string"?$e(e).fill(t,r):$e(e).fill(t):$e(e)}P.alloc=function(e,t,r){return ll(e,t,r)};function Zn(e){return Ai(e),$e(e<0?0:Yn(e)|0)}P.allocUnsafe=function(e){return Zn(e)};P.allocUnsafeSlow=function(e){return Zn(e)};function cl(e,t){if((typeof t!="string"||t==="")&&(t="utf8"),!P.isEncoding(t))throw new TypeError("Unknown encoding: "+t);let r=Ci(e,t)|0,n=$e(r),o=n.write(e,t);return o!==r&&(n=n.slice(0,o)),n}function Hn(e){let t=e.length<0?0:Yn(e.length)|0,r=$e(t);for(let n=0;n=Br)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+Br.toString(16)+" bytes");return e|0}function dl(e){return+e!=e&&(e=0),P.alloc(+e)}P.isBuffer=function(e){return e!=null&&e._isBuffer===!0&&e!==P.prototype};P.compare=function(e,t){if(ke(e,Uint8Array)&&(e=P.from(e,e.offset,e.byteLength)),ke(t,Uint8Array)&&(t=P.from(t,t.offset,t.byteLength)),!P.isBuffer(e)||!P.isBuffer(t))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===t)return 0;let r=e.length,n=t.length;for(let o=0,i=Math.min(r,n);on.length?(P.isBuffer(i)||(i=P.from(i)),i.copy(n,o)):Uint8Array.prototype.set.call(n,i,o);else if(P.isBuffer(i))i.copy(n,o);else throw new TypeError('"list" argument must be an Array of Buffers');o+=i.length}return n};function Ci(e,t){if(P.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||ke(e,ArrayBuffer))return e.byteLength;if(typeof e!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);let r=e.length,n=arguments.length>2&&arguments[2]===!0;if(!n&&r===0)return 0;let o=!1;for(;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return zn(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return r*2;case"hex":return r>>>1;case"base64":return _i(e).length;default:if(o)return n?-1:zn(e).length;t=(""+t).toLowerCase(),o=!0}}P.byteLength=Ci;function ml(e,t,r){let n=!1;if((t===void 0||t<0)&&(t=0),t>this.length||((r===void 0||r>this.length)&&(r=this.length),r<=0)||(r>>>=0,t>>>=0,r<=t))return"";for(e||(e="utf8");;)switch(e){case"hex":return Al(this,t,r);case"utf8":case"utf-8":return Si(this,t,r);case"ascii":return Pl(this,t,r);case"latin1":case"binary":return vl(this,t,r);case"base64":return wl(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Tl(this,t,r);default:if(n)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),n=!0}}P.prototype._isBuffer=!0;function mt(e,t,r){let n=e[t];e[t]=e[r],e[r]=n}P.prototype.swap16=function(){let e=this.length;if(e%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let t=0;tt&&(e+=" ... "),""};xi&&(P.prototype[xi]=P.prototype.inspect);P.prototype.compare=function(e,t,r,n,o){if(ke(e,Uint8Array)&&(e=P.from(e,e.offset,e.byteLength)),!P.isBuffer(e))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(t===void 0&&(t=0),r===void 0&&(r=e?e.length:0),n===void 0&&(n=0),o===void 0&&(o=this.length),t<0||r>e.length||n<0||o>this.length)throw new RangeError("out of range index");if(n>=o&&t>=r)return 0;if(n>=o)return-1;if(t>=r)return 1;if(t>>>=0,r>>>=0,n>>>=0,o>>>=0,this===e)return 0;let i=o-n,s=r-t,a=Math.min(i,s),u=this.slice(n,o),l=e.slice(t,r);for(let c=0;c2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,eo(r)&&(r=o?0:e.length-1),r<0&&(r=e.length+r),r>=e.length){if(o)return-1;r=e.length-1}else if(r<0)if(o)r=0;else return-1;if(typeof t=="string"&&(t=P.from(t,n)),P.isBuffer(t))return t.length===0?-1:bi(e,t,r,n,o);if(typeof t=="number")return t=t&255,typeof Uint8Array.prototype.indexOf=="function"?o?Uint8Array.prototype.indexOf.call(e,t,r):Uint8Array.prototype.lastIndexOf.call(e,t,r):bi(e,[t],r,n,o);throw new TypeError("val must be string, number or Buffer")}function bi(e,t,r,n,o){let i=1,s=e.length,a=t.length;if(n!==void 0&&(n=String(n).toLowerCase(),n==="ucs2"||n==="ucs-2"||n==="utf16le"||n==="utf-16le")){if(e.length<2||t.length<2)return-1;i=2,s/=2,a/=2,r/=2}function u(c,m){return i===1?c[m]:c.readUInt16BE(m*i)}let l;if(o){let c=-1;for(l=r;ls&&(r=s-a),l=r;l>=0;l--){let c=!0;for(let m=0;mo&&(n=o)):n=o;let i=t.length;n>i/2&&(n=i/2);let s;for(s=0;s>>0,isFinite(r)?(r=r>>>0,n===void 0&&(n="utf8")):(n=r,r=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");let o=this.length-t;if((r===void 0||r>o)&&(r=o),e.length>0&&(r<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");let i=!1;for(;;)switch(n){case"hex":return gl(this,e,t,r);case"utf8":case"utf-8":return yl(this,e,t,r);case"ascii":case"latin1":case"binary":return hl(this,e,t,r);case"base64":return xl(this,e,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return bl(this,e,t,r);default:if(i)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),i=!0}};P.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function wl(e,t,r){return t===0&&r===e.length?Wn.fromByteArray(e):Wn.fromByteArray(e.slice(t,r))}function Si(e,t,r){r=Math.min(e.length,r);let n=[],o=t;for(;o239?4:i>223?3:i>191?2:1;if(o+a<=r){let u,l,c,m;switch(a){case 1:i<128&&(s=i);break;case 2:u=e[o+1],(u&192)===128&&(m=(i&31)<<6|u&63,m>127&&(s=m));break;case 3:u=e[o+1],l=e[o+2],(u&192)===128&&(l&192)===128&&(m=(i&15)<<12|(u&63)<<6|l&63,m>2047&&(m<55296||m>57343)&&(s=m));break;case 4:u=e[o+1],l=e[o+2],c=e[o+3],(u&192)===128&&(l&192)===128&&(c&192)===128&&(m=(i&15)<<18|(u&63)<<12|(l&63)<<6|c&63,m>65535&&m<1114112&&(s=m))}}s===null?(s=65533,a=1):s>65535&&(s-=65536,n.push(s>>>10&1023|55296),s=56320|s&1023),n.push(s),o+=a}return El(n)}var wi=4096;function El(e){let t=e.length;if(t<=wi)return String.fromCharCode.apply(String,e);let r="",n=0;for(;nn)&&(r=n);let o="";for(let i=t;ir&&(e=r),t<0?(t+=r,t<0&&(t=0)):t>r&&(t=r),tr)throw new RangeError("Trying to access beyond buffer length")}P.prototype.readUintLE=P.prototype.readUIntLE=function(e,t,r){e=e>>>0,t=t>>>0,r||ee(e,t,this.length);let n=this[e],o=1,i=0;for(;++i>>0,t=t>>>0,r||ee(e,t,this.length);let n=this[e+--t],o=1;for(;t>0&&(o*=256);)n+=this[e+--t]*o;return n};P.prototype.readUint8=P.prototype.readUInt8=function(e,t){return e=e>>>0,t||ee(e,1,this.length),this[e]};P.prototype.readUint16LE=P.prototype.readUInt16LE=function(e,t){return e=e>>>0,t||ee(e,2,this.length),this[e]|this[e+1]<<8};P.prototype.readUint16BE=P.prototype.readUInt16BE=function(e,t){return e=e>>>0,t||ee(e,2,this.length),this[e]<<8|this[e+1]};P.prototype.readUint32LE=P.prototype.readUInt32LE=function(e,t){return e=e>>>0,t||ee(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+this[e+3]*16777216};P.prototype.readUint32BE=P.prototype.readUInt32BE=function(e,t){return e=e>>>0,t||ee(e,4,this.length),this[e]*16777216+(this[e+1]<<16|this[e+2]<<8|this[e+3])};P.prototype.readBigUInt64LE=He(function(e){e=e>>>0,Rt(e,"offset");let t=this[e],r=this[e+7];(t===void 0||r===void 0)&&er(e,this.length-8);let n=t+this[++e]*2**8+this[++e]*2**16+this[++e]*2**24,o=this[++e]+this[++e]*2**8+this[++e]*2**16+r*2**24;return BigInt(n)+(BigInt(o)<>>0,Rt(e,"offset");let t=this[e],r=this[e+7];(t===void 0||r===void 0)&&er(e,this.length-8);let n=t*2**24+this[++e]*2**16+this[++e]*2**8+this[++e],o=this[++e]*2**24+this[++e]*2**16+this[++e]*2**8+r;return(BigInt(n)<>>0,t=t>>>0,r||ee(e,t,this.length);let n=this[e],o=1,i=0;for(;++i=o&&(n-=Math.pow(2,8*t)),n};P.prototype.readIntBE=function(e,t,r){e=e>>>0,t=t>>>0,r||ee(e,t,this.length);let n=t,o=1,i=this[e+--n];for(;n>0&&(o*=256);)i+=this[e+--n]*o;return o*=128,i>=o&&(i-=Math.pow(2,8*t)),i};P.prototype.readInt8=function(e,t){return e=e>>>0,t||ee(e,1,this.length),this[e]&128?(255-this[e]+1)*-1:this[e]};P.prototype.readInt16LE=function(e,t){e=e>>>0,t||ee(e,2,this.length);let r=this[e]|this[e+1]<<8;return r&32768?r|4294901760:r};P.prototype.readInt16BE=function(e,t){e=e>>>0,t||ee(e,2,this.length);let r=this[e+1]|this[e]<<8;return r&32768?r|4294901760:r};P.prototype.readInt32LE=function(e,t){return e=e>>>0,t||ee(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24};P.prototype.readInt32BE=function(e,t){return e=e>>>0,t||ee(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]};P.prototype.readBigInt64LE=He(function(e){e=e>>>0,Rt(e,"offset");let t=this[e],r=this[e+7];(t===void 0||r===void 0)&&er(e,this.length-8);let n=this[e+4]+this[e+5]*2**8+this[e+6]*2**16+(r<<24);return(BigInt(n)<>>0,Rt(e,"offset");let t=this[e],r=this[e+7];(t===void 0||r===void 0)&&er(e,this.length-8);let n=(t<<24)+this[++e]*2**16+this[++e]*2**8+this[++e];return(BigInt(n)<>>0,t||ee(e,4,this.length),St.read(this,e,!0,23,4)};P.prototype.readFloatBE=function(e,t){return e=e>>>0,t||ee(e,4,this.length),St.read(this,e,!1,23,4)};P.prototype.readDoubleLE=function(e,t){return e=e>>>0,t||ee(e,8,this.length),St.read(this,e,!0,52,8)};P.prototype.readDoubleBE=function(e,t){return e=e>>>0,t||ee(e,8,this.length),St.read(this,e,!1,52,8)};function ye(e,t,r,n,o,i){if(!P.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>o||te.length)throw new RangeError("Index out of range")}P.prototype.writeUintLE=P.prototype.writeUIntLE=function(e,t,r,n){if(e=+e,t=t>>>0,r=r>>>0,!n){let s=Math.pow(2,8*r)-1;ye(this,e,t,r,s,0)}let o=1,i=0;for(this[t]=e&255;++i>>0,r=r>>>0,!n){let s=Math.pow(2,8*r)-1;ye(this,e,t,r,s,0)}let o=r-1,i=1;for(this[t+o]=e&255;--o>=0&&(i*=256);)this[t+o]=e/i&255;return t+r};P.prototype.writeUint8=P.prototype.writeUInt8=function(e,t,r){return e=+e,t=t>>>0,r||ye(this,e,t,1,255,0),this[t]=e&255,t+1};P.prototype.writeUint16LE=P.prototype.writeUInt16LE=function(e,t,r){return e=+e,t=t>>>0,r||ye(this,e,t,2,65535,0),this[t]=e&255,this[t+1]=e>>>8,t+2};P.prototype.writeUint16BE=P.prototype.writeUInt16BE=function(e,t,r){return e=+e,t=t>>>0,r||ye(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=e&255,t+2};P.prototype.writeUint32LE=P.prototype.writeUInt32LE=function(e,t,r){return e=+e,t=t>>>0,r||ye(this,e,t,4,4294967295,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=e&255,t+4};P.prototype.writeUint32BE=P.prototype.writeUInt32BE=function(e,t,r){return e=+e,t=t>>>0,r||ye(this,e,t,4,4294967295,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=e&255,t+4};function Ri(e,t,r,n,o){Di(t,n,o,e,r,7);let i=Number(t&BigInt(4294967295));e[r++]=i,i=i>>8,e[r++]=i,i=i>>8,e[r++]=i,i=i>>8,e[r++]=i;let s=Number(t>>BigInt(32)&BigInt(4294967295));return e[r++]=s,s=s>>8,e[r++]=s,s=s>>8,e[r++]=s,s=s>>8,e[r++]=s,r}function Oi(e,t,r,n,o){Di(t,n,o,e,r,7);let i=Number(t&BigInt(4294967295));e[r+7]=i,i=i>>8,e[r+6]=i,i=i>>8,e[r+5]=i,i=i>>8,e[r+4]=i;let s=Number(t>>BigInt(32)&BigInt(4294967295));return e[r+3]=s,s=s>>8,e[r+2]=s,s=s>>8,e[r+1]=s,s=s>>8,e[r]=s,r+8}P.prototype.writeBigUInt64LE=He(function(e,t=0){return Ri(this,e,t,BigInt(0),BigInt("0xffffffffffffffff"))});P.prototype.writeBigUInt64BE=He(function(e,t=0){return Oi(this,e,t,BigInt(0),BigInt("0xffffffffffffffff"))});P.prototype.writeIntLE=function(e,t,r,n){if(e=+e,t=t>>>0,!n){let a=Math.pow(2,8*r-1);ye(this,e,t,r,a-1,-a)}let o=0,i=1,s=0;for(this[t]=e&255;++o>0)-s&255;return t+r};P.prototype.writeIntBE=function(e,t,r,n){if(e=+e,t=t>>>0,!n){let a=Math.pow(2,8*r-1);ye(this,e,t,r,a-1,-a)}let o=r-1,i=1,s=0;for(this[t+o]=e&255;--o>=0&&(i*=256);)e<0&&s===0&&this[t+o+1]!==0&&(s=1),this[t+o]=(e/i>>0)-s&255;return t+r};P.prototype.writeInt8=function(e,t,r){return e=+e,t=t>>>0,r||ye(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=e&255,t+1};P.prototype.writeInt16LE=function(e,t,r){return e=+e,t=t>>>0,r||ye(this,e,t,2,32767,-32768),this[t]=e&255,this[t+1]=e>>>8,t+2};P.prototype.writeInt16BE=function(e,t,r){return e=+e,t=t>>>0,r||ye(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=e&255,t+2};P.prototype.writeInt32LE=function(e,t,r){return e=+e,t=t>>>0,r||ye(this,e,t,4,2147483647,-2147483648),this[t]=e&255,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4};P.prototype.writeInt32BE=function(e,t,r){return e=+e,t=t>>>0,r||ye(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=e&255,t+4};P.prototype.writeBigInt64LE=He(function(e,t=0){return Ri(this,e,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});P.prototype.writeBigInt64BE=He(function(e,t=0){return Oi(this,e,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});function Fi(e,t,r,n,o,i){if(r+n>e.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function Ii(e,t,r,n,o){return t=+t,r=r>>>0,o||Fi(e,t,r,4,34028234663852886e22,-34028234663852886e22),St.write(e,t,r,n,23,4),r+4}P.prototype.writeFloatLE=function(e,t,r){return Ii(this,e,t,!0,r)};P.prototype.writeFloatBE=function(e,t,r){return Ii(this,e,t,!1,r)};function ki(e,t,r,n,o){return t=+t,r=r>>>0,o||Fi(e,t,r,8,17976931348623157e292,-17976931348623157e292),St.write(e,t,r,n,52,8),r+8}P.prototype.writeDoubleLE=function(e,t,r){return ki(this,e,t,!0,r)};P.prototype.writeDoubleBE=function(e,t,r){return ki(this,e,t,!1,r)};P.prototype.copy=function(e,t,r,n){if(!P.isBuffer(e))throw new TypeError("argument should be a Buffer");if(r||(r=0),!n&&n!==0&&(n=this.length),t>=e.length&&(t=e.length),t||(t=0),n>0&&n=this.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),e.length-t>>0,r=r===void 0?this.length:r>>>0,e||(e=0);let o;if(typeof e=="number")for(o=t;o2**32?o=Ei(String(r)):typeof r=="bigint"&&(o=String(r),(r>BigInt(2)**BigInt(32)||r<-(BigInt(2)**BigInt(32)))&&(o=Ei(o)),o+="n"),n+=` It must be ${t}. Received ${o}`,n},RangeError);function Ei(e){let t="",r=e.length,n=e[0]==="-"?1:0;for(;r>=n+4;r-=3)t=`_${e.slice(r-3,r)}${t}`;return`${e.slice(0,r)}${t}`}function Cl(e,t,r){Rt(t,"offset"),(e[t]===void 0||e[t+r]===void 0)&&er(t,e.length-(r+1))}function Di(e,t,r,n,o,i){if(e>r||e3?t===0||t===BigInt(0)?a=`>= 0${s} and < 2${s} ** ${(i+1)*8}${s}`:a=`>= -(2${s} ** ${(i+1)*8-1}${s}) and < 2 ** ${(i+1)*8-1}${s}`:a=`>= ${t}${s} and <= ${r}${s}`,new Mt.ERR_OUT_OF_RANGE("value",a,e)}Cl(n,o,i)}function Rt(e,t){if(typeof e!="number")throw new Mt.ERR_INVALID_ARG_TYPE(t,"number",e)}function er(e,t,r){throw Math.floor(e)!==e?(Rt(e,r),new Mt.ERR_OUT_OF_RANGE(r||"offset","an integer",e)):t<0?new Mt.ERR_BUFFER_OUT_OF_BOUNDS:new Mt.ERR_OUT_OF_RANGE(r||"offset",`>= ${r?1:0} and <= ${t}`,e)}var Ml=/[^+/0-9A-Za-z-_]/g;function Sl(e){if(e=e.split("=")[0],e=e.trim().replace(Ml,""),e.length<2)return"";for(;e.length%4!==0;)e=e+"=";return e}function zn(e,t){t=t||1/0;let r,n=e.length,o=null,i=[];for(let s=0;s55295&&r<57344){if(!o){if(r>56319){(t-=3)>-1&&i.push(239,191,189);continue}else if(s+1===n){(t-=3)>-1&&i.push(239,191,189);continue}o=r;continue}if(r<56320){(t-=3)>-1&&i.push(239,191,189),o=r;continue}r=(o-55296<<10|r-56320)+65536}else o&&(t-=3)>-1&&i.push(239,191,189);if(o=null,r<128){if((t-=1)<0)break;i.push(r)}else if(r<2048){if((t-=2)<0)break;i.push(r>>6|192,r&63|128)}else if(r<65536){if((t-=3)<0)break;i.push(r>>12|224,r>>6&63|128,r&63|128)}else if(r<1114112){if((t-=4)<0)break;i.push(r>>18|240,r>>12&63|128,r>>6&63|128,r&63|128)}else throw new Error("Invalid code point")}return i}function Rl(e){let t=[];for(let r=0;r>8,o=r%256,i.push(o),i.push(n);return i}function _i(e){return Wn.toByteArray(Sl(e))}function jr(e,t,r,n){let o;for(o=0;o=t.length||o>=e.length);++o)t[o+r]=e[o];return o}function ke(e,t){return e instanceof t||e!=null&&e.constructor!=null&&e.constructor.name!=null&&e.constructor.name===t.name}function eo(e){return e!==e}var Fl=function(){let e="0123456789abcdef",t=new Array(256);for(let r=0;r<16;++r){let n=r*16;for(let o=0;o<16;++o)t[n+o]=e[r]+e[o]}return t}();function He(e){return typeof BigInt>"u"?Il:e}function Il(){throw new Error("BigInt not supported")}});var x,d=Nr(()=>{"use strict";x=Pe(Ni())});var po=Z(j=>{"use strict";d();p();f();var W=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),Wi=W((e,t)=>{"use strict";t.exports=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var r={},n=Symbol("test"),o=Object(n);if(typeof n=="string"||Object.prototype.toString.call(n)!=="[object Symbol]"||Object.prototype.toString.call(o)!=="[object Symbol]")return!1;var i=42;r[n]=i;for(n in r)return!1;if(typeof Object.keys=="function"&&Object.keys(r).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(r).length!==0)return!1;var s=Object.getOwnPropertySymbols(r);if(s.length!==1||s[0]!==n||!Object.prototype.propertyIsEnumerable.call(r,n))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var a=Object.getOwnPropertyDescriptor(r,n);if(a.value!==i||a.enumerable!==!0)return!1}return!0}}),Gr=W((e,t)=>{"use strict";var r=Wi();t.exports=function(){return r()&&!!Symbol.toStringTag}}),kl=W((e,t)=>{"use strict";var r=typeof Symbol<"u"&&Symbol,n=Wi();t.exports=function(){return typeof r!="function"||typeof Symbol!="function"||typeof r("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:n()}}),Dl=W((e,t)=>{"use strict";var r={foo:{}},n=Object;t.exports=function(){return{__proto__:r}.foo===r.foo&&!({__proto__:null}instanceof n)}}),_l=W((e,t)=>{"use strict";var r="Function.prototype.bind called on incompatible ",n=Array.prototype.slice,o=Object.prototype.toString,i="[object Function]";t.exports=function(s){var a=this;if(typeof a!="function"||o.call(a)!==i)throw new TypeError(r+a);for(var u=n.call(arguments,1),l,c=function(){if(this instanceof l){var b=a.apply(this,u.concat(n.call(arguments)));return Object(b)===b?b:this}else return a.apply(s,u.concat(n.call(arguments)))},m=Math.max(0,a.length-u.length),g=[],w=0;w{"use strict";var r=_l();t.exports=h.prototype.bind||r}),Nl=W((e,t)=>{"use strict";var r=so();t.exports=r.call(h.call,Object.prototype.hasOwnProperty)}),ao=W((e,t)=>{"use strict";var r,n=SyntaxError,o=h,i=TypeError,s=function($){try{return o('"use strict"; return ('+$+").constructor;")()}catch(U){}},a=Object.getOwnPropertyDescriptor;if(a)try{a({},"")}catch($){a=null}var u=function(){throw new i},l=a?function(){try{return arguments.callee,u}catch($){try{return a(arguments,"callee").get}catch(U){return u}}}():u,c=kl()(),m=Dl()(),g=Object.getPrototypeOf||(m?function($){return $.__proto__}:null),w={},E=typeof Uint8Array>"u"||!g?r:g(Uint8Array),b={"%AggregateError%":typeof AggregateError>"u"?r:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?r:ArrayBuffer,"%ArrayIteratorPrototype%":c&&g?g([][Symbol.iterator]()):r,"%AsyncFromSyncIteratorPrototype%":r,"%AsyncFunction%":w,"%AsyncGenerator%":w,"%AsyncGeneratorFunction%":w,"%AsyncIteratorPrototype%":w,"%Atomics%":typeof Atomics>"u"?r:Atomics,"%BigInt%":typeof BigInt>"u"?r:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?r:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?r:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?r:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":void 0,"%EvalError%":EvalError,"%Float32Array%":typeof Float32Array>"u"?r:Float32Array,"%Float64Array%":typeof Float64Array>"u"?r:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?r:FinalizationRegistry,"%Function%":o,"%GeneratorFunction%":w,"%Int8Array%":typeof Int8Array>"u"?r:Int8Array,"%Int16Array%":typeof Int16Array>"u"?r:Int16Array,"%Int32Array%":typeof Int32Array>"u"?r:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":c&&g?g(g([][Symbol.iterator]())):r,"%JSON%":typeof JSON=="object"?JSON:r,"%Map%":typeof Map>"u"?r:Map,"%MapIteratorPrototype%":typeof Map>"u"||!c||!g?r:g(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?r:Promise,"%Proxy%":typeof Proxy>"u"?r:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":typeof Reflect>"u"?r:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?r:Set,"%SetIteratorPrototype%":typeof Set>"u"||!c||!g?r:g(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?r:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":c&&g?g(""[Symbol.iterator]()):r,"%Symbol%":c?Symbol:r,"%SyntaxError%":n,"%ThrowTypeError%":l,"%TypedArray%":E,"%TypeError%":i,"%Uint8Array%":typeof Uint8Array>"u"?r:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?r:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?r:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?r:Uint32Array,"%URIError%":URIError,"%WeakMap%":typeof WeakMap>"u"?r:WeakMap,"%WeakRef%":typeof WeakRef>"u"?r:WeakRef,"%WeakSet%":typeof WeakSet>"u"?r:WeakSet};if(g)try{null.error}catch($){T=g(g($)),b["%Error.prototype%"]=T}var T,S=function $(U){var O;if(U==="%AsyncFunction%")O=s("async function () {}");else if(U==="%GeneratorFunction%")O=s("function* () {}");else if(U==="%AsyncGeneratorFunction%")O=s("async function* () {}");else if(U==="%AsyncGenerator%"){var oe=$("%AsyncGeneratorFunction%");oe&&(O=oe.prototype)}else if(U==="%AsyncIteratorPrototype%"){var ie=$("%AsyncGenerator%");ie&&g&&(O=g(ie.prototype))}return b[U]=O,O},R={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},C=so(),M=Nl(),N=C.call(h.call,Array.prototype.concat),L=C.call(h.apply,Array.prototype.splice),Te=C.call(h.call,String.prototype.replace),V=C.call(h.call,String.prototype.slice),H=C.call(h.call,RegExp.prototype.exec),we=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,z=/\\(\\)?/g,Ee=function($){var U=V($,0,1),O=V($,-1);if(U==="%"&&O!=="%")throw new n("invalid intrinsic syntax, expected closing `%`");if(O==="%"&&U!=="%")throw new n("invalid intrinsic syntax, expected opening `%`");var oe=[];return Te($,we,function(ie,Qe,Y,pt){oe[oe.length]=Y?Te(pt,z,"$1"):Qe||ie}),oe},Je=function($,U){var O=$,oe;if(M(R,O)&&(oe=R[O],O="%"+oe[0]+"%"),M(b,O)){var ie=b[O];if(ie===w&&(ie=S(O)),typeof ie>"u"&&!U)throw new i("intrinsic "+$+" exists, but is not available. Please file an issue!");return{alias:oe,name:O,value:ie}}throw new n("intrinsic "+$+" does not exist!")};t.exports=function($,U){if(typeof $!="string"||$.length===0)throw new i("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof U!="boolean")throw new i('"allowMissing" argument must be a boolean');if(H(/^%?[^%]*%?$/,$)===null)throw new n("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var O=Ee($),oe=O.length>0?O[0]:"",ie=Je("%"+oe+"%",U),Qe=ie.name,Y=ie.value,pt=!1,We=ie.alias;We&&(oe=We[0],L(O,N([0,1],We)));for(var ft=1,Ue=!0;ft=O.length){var Ct=a(Y,pe);Ue=!!Ct,Ue&&"get"in Ct&&!("originalValue"in Ct.get)?Y=Ct.get:Y=Y[pe]}else Ue=M(Y,pe),Y=Y[pe];Ue&&!pt&&(b[Qe]=Y)}}return Y}}),Ll=W((e,t)=>{"use strict";var r=so(),n=ao(),o=n("%Function.prototype.apply%"),i=n("%Function.prototype.call%"),s=n("%Reflect.apply%",!0)||r.call(i,o),a=n("%Object.getOwnPropertyDescriptor%",!0),u=n("%Object.defineProperty%",!0),l=n("%Math.max%");if(u)try{u({},"a",{value:1})}catch(m){u=null}t.exports=function(m){var g=s(r,i,arguments);if(a&&u){var w=a(g,"length");w.configurable&&u(g,"length",{value:1+l(0,m.length-(arguments.length-1))})}return g};var c=function(){return s(r,o,arguments)};u?u(t.exports,"apply",{value:c}):t.exports.apply=c}),uo=W((e,t)=>{"use strict";var r=ao(),n=Ll(),o=n(r("String.prototype.indexOf"));t.exports=function(i,s){var a=r(i,!!s);return typeof a=="function"&&o(i,".prototype.")>-1?n(a):a}}),Bl=W((e,t)=>{"use strict";var r=Gr()(),n=uo(),o=n("Object.prototype.toString"),i=function(u){return r&&u&&typeof u=="object"&&Symbol.toStringTag in u?!1:o(u)==="[object Arguments]"},s=function(u){return i(u)?!0:u!==null&&typeof u=="object"&&typeof u.length=="number"&&u.length>=0&&o(u)!=="[object Array]"&&o(u.callee)==="[object Function]"},a=function(){return i(arguments)}();i.isLegacyArguments=s,t.exports=a?i:s}),jl=W((e,t)=>{"use strict";var r=Object.prototype.toString,n=h.prototype.toString,o=/^\s*(?:function)?\*/,i=Gr()(),s=Object.getPrototypeOf,a=function(){if(!i)return!1;try{return h("return function*() {}")()}catch(l){}},u;t.exports=function(l){if(typeof l!="function")return!1;if(o.test(n.call(l)))return!0;if(!i){var c=r.call(l);return c==="[object GeneratorFunction]"}if(!s)return!1;if(typeof u>"u"){var m=a();u=m?s(m):!1}return s(l)===u}}),Ul=W((e,t)=>{"use strict";var r=h.prototype.toString,n=typeof Reflect=="object"&&Reflect!==null&&Reflect.apply,o,i;if(typeof n=="function"&&typeof Object.defineProperty=="function")try{o=Object.defineProperty({},"length",{get:function(){throw i}}),i={},n(function(){throw 42},null,o)}catch(M){M!==i&&(n=null)}else n=null;var s=/^\s*class\b/,a=function(M){try{var N=r.call(M);return s.test(N)}catch(L){return!1}},u=function(M){try{return a(M)?!1:(r.call(M),!0)}catch(N){return!1}},l=Object.prototype.toString,c="[object Object]",m="[object Function]",g="[object GeneratorFunction]",w="[object HTMLAllCollection]",E="[object HTML document.all class]",b="[object HTMLCollection]",T=typeof Symbol=="function"&&!!Symbol.toStringTag,S=!(0 in[,]),R=function(){return!1};typeof document=="object"&&(C=document.all,l.call(C)===l.call(document.all)&&(R=function(M){if((S||!M)&&(typeof M>"u"||typeof M=="object"))try{var N=l.call(M);return(N===w||N===E||N===b||N===c)&&M("")==null}catch(L){}return!1}));var C;t.exports=n?function(M){if(R(M))return!0;if(!M||typeof M!="function"&&typeof M!="object")return!1;try{n(M,null,o)}catch(N){if(N!==i)return!1}return!a(M)&&u(M)}:function(M){if(R(M))return!0;if(!M||typeof M!="function"&&typeof M!="object")return!1;if(T)return u(M);if(a(M))return!1;var N=l.call(M);return N!==m&&N!==g&&!/^\[object HTML/.test(N)?!1:u(M)}}),Hi=W((e,t)=>{"use strict";var r=Ul(),n=Object.prototype.toString,o=Object.prototype.hasOwnProperty,i=function(l,c,m){for(var g=0,w=l.length;g=3&&(g=m),n.call(l)==="[object Array]"?i(l,c,g):typeof l=="string"?s(l,c,g):a(l,c,g)};t.exports=u}),zi=W((e,t)=>{"use strict";var r=["BigInt64Array","BigUint64Array","Float32Array","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Uint8Array","Uint8ClampedArray"],n=typeof globalThis>"u"?global:globalThis;t.exports=function(){for(var o=[],i=0;i{"use strict";var r=ao(),n=r("%Object.getOwnPropertyDescriptor%",!0);if(n)try{n([],"length")}catch(o){n=null}t.exports=n}),Yi=W((e,t)=>{"use strict";var r=Hi(),n=zi(),o=uo(),i=o("Object.prototype.toString"),s=Gr()(),a=Zi(),u=typeof globalThis>"u"?global:globalThis,l=n(),c=o("Array.prototype.indexOf",!0)||function(b,T){for(var S=0;S-1}return a?E(b):!1}}),$l=W((e,t)=>{"use strict";var r=Hi(),n=zi(),o=uo(),i=Zi(),s=o("Object.prototype.toString"),a=Gr()(),u=typeof globalThis>"u"?global:globalThis,l=n(),c=o("String.prototype.slice"),m={},g=Object.getPrototypeOf;a&&i&&g&&r(l,function(b){if(typeof u[b]=="function"){var T=new u[b];if(Symbol.toStringTag in T){var S=g(T),R=i(S,Symbol.toStringTag);if(!R){var C=g(S);R=i(C,Symbol.toStringTag)}m[b]=R.get}}});var w=function(b){var T=!1;return r(m,function(S,R){if(!T)try{var C=S.call(b);C===R&&(T=C)}catch(M){}}),T},E=Yi();t.exports=function(b){return E(b)?!a||!(Symbol.toStringTag in b)?c(s(b),8,-1):w(b):!1}}),ql=W(e=>{"use strict";var t=Bl(),r=jl(),n=$l(),o=Yi();function i(A){return A.call.bind(A)}var s=typeof BigInt<"u",a=typeof Symbol<"u",u=i(Object.prototype.toString),l=i(Number.prototype.valueOf),c=i(String.prototype.valueOf),m=i(Boolean.prototype.valueOf);s&&(g=i(BigInt.prototype.valueOf));var g;a&&(w=i(Symbol.prototype.valueOf));var w;function E(A,Yu){if(typeof A!="object")return!1;try{return Yu(A),!0}catch(Qd){return!1}}e.isArgumentsObject=t,e.isGeneratorFunction=r,e.isTypedArray=o;function b(A){return typeof Promise<"u"&&A instanceof Promise||A!==null&&typeof A=="object"&&typeof A.then=="function"&&typeof A.catch=="function"}e.isPromise=b;function T(A){return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?ArrayBuffer.isView(A):o(A)||ft(A)}e.isArrayBufferView=T;function S(A){return n(A)==="Uint8Array"}e.isUint8Array=S;function R(A){return n(A)==="Uint8ClampedArray"}e.isUint8ClampedArray=R;function C(A){return n(A)==="Uint16Array"}e.isUint16Array=C;function M(A){return n(A)==="Uint32Array"}e.isUint32Array=M;function N(A){return n(A)==="Int8Array"}e.isInt8Array=N;function L(A){return n(A)==="Int16Array"}e.isInt16Array=L;function Te(A){return n(A)==="Int32Array"}e.isInt32Array=Te;function V(A){return n(A)==="Float32Array"}e.isFloat32Array=V;function H(A){return n(A)==="Float64Array"}e.isFloat64Array=H;function we(A){return n(A)==="BigInt64Array"}e.isBigInt64Array=we;function z(A){return n(A)==="BigUint64Array"}e.isBigUint64Array=z;function Ee(A){return u(A)==="[object Map]"}Ee.working=typeof Map<"u"&&Ee(new Map);function Je(A){return typeof Map>"u"?!1:Ee.working?Ee(A):A instanceof Map}e.isMap=Je;function $(A){return u(A)==="[object Set]"}$.working=typeof Set<"u"&&$(new Set);function U(A){return typeof Set>"u"?!1:$.working?$(A):A instanceof Set}e.isSet=U;function O(A){return u(A)==="[object WeakMap]"}O.working=typeof WeakMap<"u"&&O(new WeakMap);function oe(A){return typeof WeakMap>"u"?!1:O.working?O(A):A instanceof WeakMap}e.isWeakMap=oe;function ie(A){return u(A)==="[object WeakSet]"}ie.working=typeof WeakSet<"u"&&ie(new WeakSet);function Qe(A){return ie(A)}e.isWeakSet=Qe;function Y(A){return u(A)==="[object ArrayBuffer]"}Y.working=typeof ArrayBuffer<"u"&&Y(new ArrayBuffer);function pt(A){return typeof ArrayBuffer>"u"?!1:Y.working?Y(A):A instanceof ArrayBuffer}e.isArrayBuffer=pt;function We(A){return u(A)==="[object DataView]"}We.working=typeof ArrayBuffer<"u"&&typeof DataView<"u"&&We(new DataView(new ArrayBuffer(1),0,1));function ft(A){return typeof DataView>"u"?!1:We.working?We(A):A instanceof DataView}e.isDataView=ft;var Ue=typeof SharedArrayBuffer<"u"?SharedArrayBuffer:void 0;function pe(A){return u(A)==="[object SharedArrayBuffer]"}function dt(A){return typeof Ue>"u"?!1:(typeof pe.working>"u"&&(pe.working=pe(new Ue)),pe.working?pe(A):A instanceof Ue)}e.isSharedArrayBuffer=dt;function Tt(A){return u(A)==="[object AsyncFunction]"}e.isAsyncFunction=Tt;function Ct(A){return u(A)==="[object Map Iterator]"}e.isMapIterator=Ct;function Qu(A){return u(A)==="[object Set Iterator]"}e.isSetIterator=Qu;function Wu(A){return u(A)==="[object Generator]"}e.isGeneratorObject=Wu;function Hu(A){return u(A)==="[object WebAssembly.Module]"}e.isWebAssemblyCompiledModule=Hu;function fi(A){return E(A,l)}e.isNumberObject=fi;function di(A){return E(A,c)}e.isStringObject=di;function mi(A){return E(A,m)}e.isBooleanObject=mi;function gi(A){return s&&E(A,g)}e.isBigIntObject=gi;function yi(A){return a&&E(A,w)}e.isSymbolObject=yi;function zu(A){return fi(A)||di(A)||mi(A)||gi(A)||yi(A)}e.isBoxedPrimitive=zu;function Zu(A){return typeof Uint8Array<"u"&&(pt(A)||dt(A))}e.isAnyArrayBuffer=Zu,["isProxy","isExternal","isModuleNamespaceObject"].forEach(function(A){Object.defineProperty(e,A,{enumerable:!1,value:function(){throw new Error(A+" is not supported in userland")}})})}),Vl=W((e,t)=>{t.exports=function(r){return r instanceof x.Buffer}}),Kl=W((e,t)=>{typeof Object.create=="function"?t.exports=function(r,n){n&&(r.super_=n,r.prototype=Object.create(n.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}))}:t.exports=function(r,n){if(n){r.super_=n;var o=function(){};o.prototype=n.prototype,r.prototype=new o,r.prototype.constructor=r}}}),Xi=Object.getOwnPropertyDescriptors||function(e){for(var t=Object.keys(e),r={},n=0;n=o)return u;switch(u){case"%s":return String(n[r++]);case"%d":return Number(n[r++]);case"%j":try{return JSON.stringify(n[r++])}catch(l){return"[Circular]"}default:return u}}),s=n[r];r"u")return function(){return j.deprecate(e,t).apply(this,arguments)};var r=!1;function n(){if(!r){if(y.throwDeprecation)throw new Error(t);y.traceDeprecation?console.trace(t):console.error(t),r=!0}return e.apply(this,arguments)}return n};var Ur={},es=/^$/;y.env.NODE_DEBUG&&($r=y.env.NODE_DEBUG,$r=$r.replace(/[|\\{}()[\]^$+?.]/g,"\\$&").replace(/\*/g,".*").replace(/,/g,"$|^").toUpperCase(),es=new RegExp("^"+$r+"$","i"));var $r;j.debuglog=function(e){if(e=e.toUpperCase(),!Ur[e])if(es.test(e)){var t=y.pid;Ur[e]=function(){var r=j.format.apply(j,arguments);console.error("%s %d: %s",e,t,r)}}else Ur[e]=function(){};return Ur[e]};function Ze(e,t){var r={seen:[],stylize:Ql};return arguments.length>=3&&(r.depth=arguments[2]),arguments.length>=4&&(r.colors=arguments[3]),lo(t)?r.showHidden=t:t&&j._extend(r,t),yt(r.showHidden)&&(r.showHidden=!1),yt(r.depth)&&(r.depth=2),yt(r.colors)&&(r.colors=!1),yt(r.customInspect)&&(r.customInspect=!0),r.colors&&(r.stylize=Jl),Vr(r,e,r.depth)}j.inspect=Ze;Ze.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]};Ze.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};function Jl(e,t){var r=Ze.styles[t];return r?"\x1B["+Ze.colors[r][0]+"m"+e+"\x1B["+Ze.colors[r][1]+"m":e}function Ql(e,t){return e}function Wl(e){var t={};return e.forEach(function(r,n){t[r]=!0}),t}function Vr(e,t,r){if(e.customInspect&&t&&qr(t.inspect)&&t.inspect!==j.inspect&&!(t.constructor&&t.constructor.prototype===t)){var n=t.inspect(r,e);return Qr(n)||(n=Vr(e,n,r)),n}var o=Hl(e,t);if(o)return o;var i=Object.keys(t),s=Wl(i);if(e.showHidden&&(i=Object.getOwnPropertyNames(t)),rr(t)&&(i.indexOf("message")>=0||i.indexOf("description")>=0))return no(t);if(i.length===0){if(qr(t)){var a=t.name?": "+t.name:"";return e.stylize("[Function"+a+"]","special")}if(tr(t))return e.stylize(RegExp.prototype.toString.call(t),"regexp");if(Kr(t))return e.stylize(Date.prototype.toString.call(t),"date");if(rr(t))return no(t)}var u="",l=!1,c=["{","}"];if(ts(t)&&(l=!0,c=["[","]"]),qr(t)){var m=t.name?": "+t.name:"";u=" [Function"+m+"]"}if(tr(t)&&(u=" "+RegExp.prototype.toString.call(t)),Kr(t)&&(u=" "+Date.prototype.toUTCString.call(t)),rr(t)&&(u=" "+no(t)),i.length===0&&(!l||t.length==0))return c[0]+u+c[1];if(r<0)return tr(t)?e.stylize(RegExp.prototype.toString.call(t),"regexp"):e.stylize("[Object]","special");e.seen.push(t);var g;return l?g=zl(e,t,r,s,i):g=i.map(function(w){return io(e,t,r,s,w,l)}),e.seen.pop(),Zl(g,u,c)}function Hl(e,t){if(yt(t))return e.stylize("undefined","undefined");if(Qr(t)){var r="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(r,"string")}if(rs(t))return e.stylize(""+t,"number");if(lo(t))return e.stylize(""+t,"boolean");if(Jr(t))return e.stylize("null","null")}function no(e){return"["+Error.prototype.toString.call(e)+"]"}function zl(e,t,r,n,o){for(var i=[],s=0,a=t.length;s-1&&(i?a=a.split(` +`).map(function(l){return" "+l}).join(` +`).slice(2):a=` +`+a.split(` +`).map(function(l){return" "+l}).join(` +`))):a=e.stylize("[Circular]","special")),yt(s)){if(i&&o.match(/^\d+$/))return a;s=JSON.stringify(""+o),s.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(s=s.slice(1,-1),s=e.stylize(s,"name")):(s=s.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),s=e.stylize(s,"string"))}return s+": "+a}function Zl(e,t,r){var n=0,o=e.reduce(function(i,s){return n++,s.indexOf(` +`)>=0&&n++,i+s.replace(/\u001b\[\d\d?m/g,"").length+1},0);return o>60?r[0]+(t===""?"":t+` + `)+" "+e.join(`, + `)+" "+r[1]:r[0]+t+" "+e.join(", ")+" "+r[1]}j.types=ql();function ts(e){return Array.isArray(e)}j.isArray=ts;function lo(e){return typeof e=="boolean"}j.isBoolean=lo;function Jr(e){return e===null}j.isNull=Jr;function Yl(e){return e==null}j.isNullOrUndefined=Yl;function rs(e){return typeof e=="number"}j.isNumber=rs;function Qr(e){return typeof e=="string"}j.isString=Qr;function Xl(e){return typeof e=="symbol"}j.isSymbol=Xl;function yt(e){return e===void 0}j.isUndefined=yt;function tr(e){return Ft(e)&&co(e)==="[object RegExp]"}j.isRegExp=tr;j.types.isRegExp=tr;function Ft(e){return typeof e=="object"&&e!==null}j.isObject=Ft;function Kr(e){return Ft(e)&&co(e)==="[object Date]"}j.isDate=Kr;j.types.isDate=Kr;function rr(e){return Ft(e)&&(co(e)==="[object Error]"||e instanceof Error)}j.isError=rr;j.types.isNativeError=rr;function qr(e){return typeof e=="function"}j.isFunction=qr;function ec(e){return e===null||typeof e=="boolean"||typeof e=="number"||typeof e=="string"||typeof e=="symbol"||typeof e>"u"}j.isPrimitive=ec;j.isBuffer=Vl();function co(e){return Object.prototype.toString.call(e)}function oo(e){return e<10?"0"+e.toString(10):e.toString(10)}var tc=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function rc(){var e=new Date,t=[oo(e.getHours()),oo(e.getMinutes()),oo(e.getSeconds())].join(":");return[e.getDate(),tc[e.getMonth()],t].join(" ")}j.log=function(){console.log("%s - %s",rc(),j.format.apply(j,arguments))};j.inherits=Kl();j._extend=function(e,t){if(!t||!Ft(t))return e;for(var r=Object.keys(t),n=r.length;n--;)e[r[n]]=t[r[n]];return e};function ns(e,t){return Object.prototype.hasOwnProperty.call(e,t)}var gt=typeof Symbol<"u"?Symbol("util.promisify.custom"):void 0;j.promisify=function(e){if(typeof e!="function")throw new TypeError('The "original" argument must be of type Function');if(gt&&e[gt]){var t=e[gt];if(typeof t!="function")throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(t,gt,{value:t,enumerable:!1,writable:!1,configurable:!0}),t}function t(){for(var r,n,o=new Promise(function(a,u){r=a,n=u}),i=[],s=0;s{"use strict";d();p();f();var It=1e3,kt=It*60,Dt=kt*60,ht=Dt*24,ic=ht*7,sc=ht*365.25;os.exports=function(e,t){t=t||{};var r=typeof e;if(r==="string"&&e.length>0)return ac(e);if(r==="number"&&isFinite(e))return t.long?lc(e):uc(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))};function ac(e){if(e=String(e),!(e.length>100)){var t=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(t){var r=parseFloat(t[1]),n=(t[2]||"ms").toLowerCase();switch(n){case"years":case"year":case"yrs":case"yr":case"y":return r*sc;case"weeks":case"week":case"w":return r*ic;case"days":case"day":case"d":return r*ht;case"hours":case"hour":case"hrs":case"hr":case"h":return r*Dt;case"minutes":case"minute":case"mins":case"min":case"m":return r*kt;case"seconds":case"second":case"secs":case"sec":case"s":return r*It;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return r;default:return}}}}function uc(e){var t=Math.abs(e);return t>=ht?Math.round(e/ht)+"d":t>=Dt?Math.round(e/Dt)+"h":t>=kt?Math.round(e/kt)+"m":t>=It?Math.round(e/It)+"s":e+"ms"}function lc(e){var t=Math.abs(e);return t>=ht?Wr(e,t,ht,"day"):t>=Dt?Wr(e,t,Dt,"hour"):t>=kt?Wr(e,t,kt,"minute"):t>=It?Wr(e,t,It,"second"):e+" ms"}function Wr(e,t,r,n){var o=t>=r*1.5;return Math.round(e/r)+" "+n+(o?"s":"")}});var fo=Z((sg,ss)=>{"use strict";d();p();f();function cc(e){r.debug=r,r.default=r,r.coerce=u,r.disable=i,r.enable=o,r.enabled=s,r.humanize=is(),r.destroy=l,Object.keys(e).forEach(c=>{r[c]=e[c]}),r.names=[],r.skips=[],r.formatters={};function t(c){let m=0;for(let g=0;g{if(L==="%%")return"%";M++;let V=r.formatters[Te];if(typeof V=="function"){let H=T[M];L=V.call(S,H),T.splice(M,1),M--}return L}),r.formatArgs.call(S,T),(S.log||r.log).apply(S,T)}return b.namespace=c,b.useColors=r.useColors(),b.color=r.selectColor(c),b.extend=n,b.destroy=r.destroy,Object.defineProperty(b,"enabled",{enumerable:!0,configurable:!1,get:()=>g!==null?g:(w!==r.namespaces&&(w=r.namespaces,E=r.enabled(c)),E),set:T=>{g=T}}),typeof r.init=="function"&&r.init(b),b}function n(c,m){let g=r(this.namespace+(typeof m=="undefined"?":":m)+c);return g.log=this.log,g}function o(c){r.save(c),r.namespaces=c,r.names=[],r.skips=[];let m,g=(typeof c=="string"?c:"").split(/[\s,]+/),w=g.length;for(m=0;m"-"+m)].join(",");return r.enable(""),c}function s(c){if(c[c.length-1]==="*")return!0;let m,g;for(m=0,g=r.skips.length;m{"use strict";d();p();f();ve.formatArgs=fc;ve.save=dc;ve.load=mc;ve.useColors=pc;ve.storage=gc();ve.destroy=(()=>{let e=!1;return()=>{e||(e=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})();ve.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"];function pc(){return typeof window!="undefined"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs)?!0:typeof navigator!="undefined"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/)?!1:typeof document!="undefined"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window!="undefined"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator!="undefined"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||typeof navigator!="undefined"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}function fc(e){if(e[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+e[0]+(this.useColors?"%c ":" ")+"+"+Hr.exports.humanize(this.diff),!this.useColors)return;let t="color: "+this.color;e.splice(1,0,t,"color: inherit");let r=0,n=0;e[0].replace(/%[a-zA-Z%]/g,o=>{o!=="%%"&&(r++,o==="%c"&&(n=r))}),e.splice(n,0,t)}ve.log=console.debug||console.log||(()=>{});function dc(e){try{e?ve.storage.setItem("debug",e):ve.storage.removeItem("debug")}catch(t){}}function mc(){let e;try{e=ve.storage.getItem("debug")}catch(t){}return!e&&typeof y!="undefined"&&"env"in y&&(e=y.env.DEBUG),e}function gc(){try{return localStorage}catch(e){}}Hr.exports=fo()(ve);var{formatters:yc}=Hr.exports;yc.j=function(e){try{return JSON.stringify(e)}catch(t){return"[UnexpectedJSONParseError]: "+t.message}}});var mo=Z(zr=>{"use strict";d();p();f();zr.isatty=function(){return!1};function hc(){throw new Error("tty.ReadStream is not implemented")}zr.ReadStream=hc;function xc(){throw new Error("tty.WriteStream is not implemented")}zr.WriteStream=xc});var us=Z(()=>{"use strict";d();p();f()});var cs=Z((Pg,ls)=>{"use strict";d();p();f();ls.exports=(e,t=y.argv)=>{let r=e.startsWith("-")?"":e.length===1?"-":"--",n=t.indexOf(r+e),o=t.indexOf("--");return n!==-1&&(o===-1||n{"use strict";d();p();f();var bc=us(),ps=mo(),Ce=cs(),{env:te}=y,Ye;Ce("no-color")||Ce("no-colors")||Ce("color=false")||Ce("color=never")?Ye=0:(Ce("color")||Ce("colors")||Ce("color=true")||Ce("color=always"))&&(Ye=1);"FORCE_COLOR"in te&&(te.FORCE_COLOR==="true"?Ye=1:te.FORCE_COLOR==="false"?Ye=0:Ye=te.FORCE_COLOR.length===0?1:Math.min(parseInt(te.FORCE_COLOR,10),3));function go(e){return e===0?!1:{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3}}function yo(e,t){if(Ye===0)return 0;if(Ce("color=16m")||Ce("color=full")||Ce("color=truecolor"))return 3;if(Ce("color=256"))return 2;if(e&&!t&&Ye===void 0)return 0;let r=Ye||0;if(te.TERM==="dumb")return r;if(y.platform==="win32"){let n=bc.release().split(".");return Number(n[0])>=10&&Number(n[2])>=10586?Number(n[2])>=14931?3:2:1}if("CI"in te)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE"].some(n=>n in te)||te.CI_NAME==="codeship"?1:r;if("TEAMCITY_VERSION"in te)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(te.TEAMCITY_VERSION)?1:0;if(te.COLORTERM==="truecolor")return 3;if("TERM_PROGRAM"in te){let n=parseInt((te.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(te.TERM_PROGRAM){case"iTerm.app":return n>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(te.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(te.TERM)||"COLORTERM"in te?1:r}function wc(e){let t=yo(e,e&&e.isTTY);return go(t)}fs.exports={supportsColor:wc,stdout:go(yo(!0,ps.isatty(1))),stderr:go(yo(!0,ps.isatty(2)))}});var gs=Z((se,Yr)=>{"use strict";d();p();f();var Ec=mo(),Zr=po();se.init=Sc;se.log=Tc;se.formatArgs=vc;se.save=Cc;se.load=Mc;se.useColors=Pc;se.destroy=Zr.deprecate(()=>{},"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");se.colors=[6,2,3,4,5,1];try{let e=ds();e&&(e.stderr||e).level>=2&&(se.colors=[20,21,26,27,32,33,38,39,40,41,42,43,44,45,56,57,62,63,68,69,74,75,76,77,78,79,80,81,92,93,98,99,112,113,128,129,134,135,148,149,160,161,162,163,164,165,166,167,168,169,170,171,172,173,178,179,184,185,196,197,198,199,200,201,202,203,204,205,206,207,208,209,214,215,220,221])}catch(e){}se.inspectOpts=Object.keys(y.env).filter(e=>/^debug_/i.test(e)).reduce((e,t)=>{let r=t.substring(6).toLowerCase().replace(/_([a-z])/g,(o,i)=>i.toUpperCase()),n=y.env[t];return/^(yes|on|true|enabled)$/i.test(n)?n=!0:/^(no|off|false|disabled)$/i.test(n)?n=!1:n==="null"?n=null:n=Number(n),e[r]=n,e},{});function Pc(){return"colors"in se.inspectOpts?!!se.inspectOpts.colors:Ec.isatty(y.stderr.fd)}function vc(e){let{namespace:t,useColors:r}=this;if(r){let n=this.color,o="\x1B[3"+(n<8?n:"8;5;"+n),i=` ${o};1m${t} \x1B[0m`;e[0]=i+e[0].split(` +`).join(` +`+i),e.push(o+"m+"+Yr.exports.humanize(this.diff)+"\x1B[0m")}else e[0]=Ac()+t+" "+e[0]}function Ac(){return se.inspectOpts.hideDate?"":new Date().toISOString()+" "}function Tc(...e){return y.stderr.write(Zr.format(...e)+` +`)}function Cc(e){e?y.env.DEBUG=e:delete y.env.DEBUG}function Mc(){return y.env.DEBUG}function Sc(e){e.inspectOpts={};let t=Object.keys(se.inspectOpts);for(let r=0;rt.trim()).join(" ")};ms.O=function(e){return this.inspectOpts.colors=this.useColors,Zr.inspect(e,this.inspectOpts)}});var xo=Z((kg,ho)=>{"use strict";d();p();f();typeof y=="undefined"||y.type==="renderer"||y.browser===!0||y.__nwjs?ho.exports=as():ho.exports=gs()});function Ic(){return!1}var kc,Dc,sn,wo=Nr(()=>{"use strict";d();p();f();kc={},Dc={existsSync:Ic,promises:kc},sn=Dc});var Eo=Z((wy,Cs)=>{"use strict";d();p();f();function De(e){if(typeof e!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}function Ts(e,t){for(var r="",n=0,o=-1,i=0,s,a=0;a<=e.length;++a){if(a2){var u=r.lastIndexOf("/");if(u!==r.length-1){u===-1?(r="",n=0):(r=r.slice(0,u),n=r.length-1-r.lastIndexOf("/")),o=a,i=0;continue}}else if(r.length===2||r.length===1){r="",n=0,o=a,i=0;continue}}t&&(r.length>0?r+="/..":r="..",n=2)}else r.length>0?r+="/"+e.slice(o+1,a):r=e.slice(o+1,a),n=a-o-1;o=a,i=0}else s===46&&i!==-1?++i:i=-1}return r}function _c(e,t){var r=t.dir||t.root,n=t.base||(t.name||"")+(t.ext||"");return r?r===t.root?r+n:r+e+n:n}var Lt={resolve:function(){for(var e="",t=!1,r,n=arguments.length-1;n>=-1&&!t;n--){var o;n>=0?o=arguments[n]:(r===void 0&&(r=y.cwd()),o=r),De(o),o.length!==0&&(e=o+"/"+e,t=o.charCodeAt(0)===47)}return e=Ts(e,!t),t?e.length>0?"/"+e:"/":e.length>0?e:"."},normalize:function(e){if(De(e),e.length===0)return".";var t=e.charCodeAt(0)===47,r=e.charCodeAt(e.length-1)===47;return e=Ts(e,!t),e.length===0&&!t&&(e="."),e.length>0&&r&&(e+="/"),t?"/"+e:e},isAbsolute:function(e){return De(e),e.length>0&&e.charCodeAt(0)===47},join:function(){if(arguments.length===0)return".";for(var e,t=0;t0&&(e===void 0?e=r:e+="/"+r)}return e===void 0?".":Lt.normalize(e)},relative:function(e,t){if(De(e),De(t),e===t||(e=Lt.resolve(e),t=Lt.resolve(t),e===t))return"";for(var r=1;ru){if(t.charCodeAt(i+c)===47)return t.slice(i+c+1);if(c===0)return t.slice(i+c)}else o>u&&(e.charCodeAt(r+c)===47?l=c:c===0&&(l=0));break}var m=e.charCodeAt(r+c),g=t.charCodeAt(i+c);if(m!==g)break;m===47&&(l=c)}var w="";for(c=r+l+1;c<=n;++c)(c===n||e.charCodeAt(c)===47)&&(w.length===0?w+="..":w+="/..");return w.length>0?w+t.slice(i+l):(i+=l,t.charCodeAt(i)===47&&++i,t.slice(i))},_makeLong:function(e){return e},dirname:function(e){if(De(e),e.length===0)return".";for(var t=e.charCodeAt(0),r=t===47,n=-1,o=!0,i=e.length-1;i>=1;--i)if(t=e.charCodeAt(i),t===47){if(!o){n=i;break}}else o=!1;return n===-1?r?"/":".":r&&n===1?"//":e.slice(0,n)},basename:function(e,t){if(t!==void 0&&typeof t!="string")throw new TypeError('"ext" argument must be a string');De(e);var r=0,n=-1,o=!0,i;if(t!==void 0&&t.length>0&&t.length<=e.length){if(t.length===e.length&&t===e)return"";var s=t.length-1,a=-1;for(i=e.length-1;i>=0;--i){var u=e.charCodeAt(i);if(u===47){if(!o){r=i+1;break}}else a===-1&&(o=!1,a=i+1),s>=0&&(u===t.charCodeAt(s)?--s===-1&&(n=i):(s=-1,n=a))}return r===n?n=a:n===-1&&(n=e.length),e.slice(r,n)}else{for(i=e.length-1;i>=0;--i)if(e.charCodeAt(i)===47){if(!o){r=i+1;break}}else n===-1&&(o=!1,n=i+1);return n===-1?"":e.slice(r,n)}},extname:function(e){De(e);for(var t=-1,r=0,n=-1,o=!0,i=0,s=e.length-1;s>=0;--s){var a=e.charCodeAt(s);if(a===47){if(!o){r=s+1;break}continue}n===-1&&(o=!1,n=s+1),a===46?t===-1?t=s:i!==1&&(i=1):t!==-1&&(i=-1)}return t===-1||n===-1||i===0||i===1&&t===n-1&&t===r+1?"":e.slice(t,n)},format:function(e){if(e===null||typeof e!="object")throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof e);return _c("/",e)},parse:function(e){De(e);var t={root:"",dir:"",base:"",ext:"",name:""};if(e.length===0)return t;var r=e.charCodeAt(0),n=r===47,o;n?(t.root="/",o=1):o=0;for(var i=-1,s=0,a=-1,u=!0,l=e.length-1,c=0;l>=o;--l){if(r=e.charCodeAt(l),r===47){if(!u){s=l+1;break}continue}a===-1&&(u=!1,a=l+1),r===46?i===-1?i=l:c!==1&&(c=1):i!==-1&&(c=-1)}return i===-1||a===-1||c===0||c===1&&i===a-1&&i===s+1?a!==-1&&(s===0&&n?t.base=t.name=e.slice(1,a):t.base=t.name=e.slice(s,a)):(s===0&&n?(t.name=e.slice(1,i),t.base=e.slice(1,a)):(t.name=e.slice(s,i),t.base=e.slice(s,a)),t.ext=e.slice(i,a)),s>0?t.dir=e.slice(0,s-1):n&&(t.dir="/"),t},sep:"/",delimiter:":",win32:null,posix:null};Lt.posix=Lt;Cs.exports=Lt});var Rs=Z((Sy,Ss)=>{"use strict";d();p();f();Ss.exports=e=>{let t=e.match(/^[ \t]*(?=\S)/gm);return t?t.reduce((r,n)=>Math.min(r,n.length),1/0):0}});var Fs=Z((Iy,Os)=>{"use strict";d();p();f();var Lc=Rs();Os.exports=e=>{let t=Lc(e);if(t===0)return e;let r=new RegExp(`^[ \\t]{${t}}`,"gm");return e.replace(r,"")}});var ks=Z((Uy,Ao)=>{"use strict";d();p();f();var Bc=Object.prototype.hasOwnProperty,fe="~";function or(){}Object.create&&(or.prototype=Object.create(null),new or().__proto__||(fe=!1));function jc(e,t,r){this.fn=e,this.context=t,this.once=r||!1}function Is(e,t,r,n,o){if(typeof r!="function")throw new TypeError("The listener must be a function");var i=new jc(r,n||e,o),s=fe?fe+t:t;return e._events[s]?e._events[s].fn?e._events[s]=[e._events[s],i]:e._events[s].push(i):(e._events[s]=i,e._eventsCount++),e}function an(e,t){--e._eventsCount===0?e._events=new or:delete e._events[t]}function le(){this._events=new or,this._eventsCount=0}le.prototype.eventNames=function(){var e=[],t,r;if(this._eventsCount===0)return e;for(r in t=this._events)Bc.call(t,r)&&e.push(fe?r.slice(1):r);return Object.getOwnPropertySymbols?e.concat(Object.getOwnPropertySymbols(t)):e};le.prototype.listeners=function(e){var t=fe?fe+e:e,r=this._events[t];if(!r)return[];if(r.fn)return[r.fn];for(var n=0,o=r.length,i=new Array(o);n{"use strict";d();p();f();Ds.exports=(e,t=1,r)=>{if(r={indent:" ",includeEmptyLines:!1,...r},typeof e!="string")throw new TypeError(`Expected \`input\` to be a \`string\`, got \`${typeof e}\``);if(typeof t!="number")throw new TypeError(`Expected \`count\` to be a \`number\`, got \`${typeof t}\``);if(typeof r.indent!="string")throw new TypeError(`Expected \`options.indent\` to be a \`string\`, got \`${typeof r.indent}\``);if(t===0)return e;let n=r.includeEmptyLines?/^/gm:/^(?!\s*$)/gm;return e.replace(n,r.indent.repeat(t))}});var Bs=Z((Yy,Ls)=>{"use strict";d();p();f();Ls.exports=({onlyFirst:e=!1}={})=>{let t=["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)","(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))"].join("|");return new RegExp(t,e?void 0:"g")}});var Us=Z((rh,js)=>{"use strict";d();p();f();var Kc=Bs();js.exports=e=>typeof e=="string"?e.replace(Kc(),""):e});var Ks=Z(()=>{"use strict";d();p();f()});var ni=Z((AM,ou)=>{"use strict";d();p();f();ou.exports=function(){function e(t,r,n,o,i){return tn?n+1:t+1:o===i?r:r+1}return function(t,r){if(t===r)return 0;if(t.length>r.length){var n=t;t=r,r=n}for(var o=t.length,i=r.length;o>0&&t.charCodeAt(o-1)===r.charCodeAt(i-1);)o--,i--;for(var s=0;sLi,getExtensionContext:()=>Bi});d();p();f();d();p();f();function Li(e){return typeof e=="function"?e:t=>t.$extends(e)}d();p();f();function Bi(e){return e}var $i={};Lr($i,{validator:()=>Ui});d();p();f();d();p();f();function Ui(...e){return t=>t}var Ji={};Lr(Ji,{Extensions:()=>qi,Public:()=>Vi,Result:()=>Ki,Utils:()=>Gi});d();p();f();var qi={};d();p();f();var Vi={};d();p();f();var Ki={};d();p();f();var Gi={};d();p();f();d();p();f();d();p();f();var ze=(e,t)=>{let r={};for(let n of e){let o=n[t];r[o]=n}return r};function Qi(e){return e.substring(0,1).toLowerCase()+e.substring(1)}var ro=class{constructor(t){this.document=t;this.compositeNames=new Set(this.datamodel.types.map(r=>r.name)),this.typeAndModelMap=this.buildTypeModelMap(),this.mappingsMap=this.buildMappingsMap(),this.outputTypeMap=this.buildMergedOutputTypeMap(),this.rootFieldMap=this.buildRootFieldMap(),this.inputTypesByName=this.buildInputTypesMap()}get datamodel(){return this.document.datamodel}get mappings(){return this.document.mappings}get schema(){return this.document.schema}get inputObjectTypes(){return this.schema.inputObjectTypes}get outputObjectTypes(){return this.schema.outputObjectTypes}isComposite(t){return this.compositeNames.has(t)}getOtherOperationNames(){return[Object.values(this.mappings.otherOperations.write),Object.values(this.mappings.otherOperations.read)].flat()}hasEnumInNamespace(t,r){var n;return((n=this.schema.enumTypes[r])==null?void 0:n.find(o=>o.name===t))!==void 0}resolveInputObjectType(t){return this.inputTypesByName.get(to(t.type,t.namespace))}resolveOutputObjectType(t){var r;if(t.location==="outputObjectTypes")return this.outputObjectTypes[(r=t.namespace)!=null?r:"prisma"].find(n=>n.name===t.type)}buildModelMap(){return ze(this.datamodel.models,"name")}buildTypeMap(){return ze(this.datamodel.types,"name")}buildTypeModelMap(){return{...this.buildTypeMap(),...this.buildModelMap()}}buildMappingsMap(){return ze(this.mappings.modelOperations,"model")}buildMergedOutputTypeMap(){return{model:ze(this.schema.outputObjectTypes.model,"name"),prisma:ze(this.schema.outputObjectTypes.prisma,"name")}}buildRootFieldMap(){return{...ze(this.outputTypeMap.prisma.Query.fields,"name"),...ze(this.outputTypeMap.prisma.Mutation.fields,"name")}}buildInputTypesMap(){let t=new Map;for(let r of this.inputObjectTypes.prisma)t.set(to(r.name,"prisma"),r);if(!this.inputObjectTypes.model)return t;for(let r of this.inputObjectTypes.model)t.set(to(r.name,"model"),r);return t}};function to(e,t){return t?`${t}.${e}`:e}d();p();f();d();p();f();var Me;(t=>{let e;(C=>(C.findUnique="findUnique",C.findUniqueOrThrow="findUniqueOrThrow",C.findFirst="findFirst",C.findFirstOrThrow="findFirstOrThrow",C.findMany="findMany",C.create="create",C.createMany="createMany",C.update="update",C.updateMany="updateMany",C.upsert="upsert",C.delete="delete",C.deleteMany="deleteMany",C.groupBy="groupBy",C.count="count",C.aggregate="aggregate",C.findRaw="findRaw",C.aggregateRaw="aggregateRaw"))(e=t.ModelAction||(t.ModelAction={}))})(Me||(Me={}));d();p();f();var en=Pe(xo()),Rc=100,Xr=[],ys,hs;typeof y!="undefined"&&typeof((ys=y.stderr)==null?void 0:ys.write)!="function"&&(en.default.log=(hs=console.debug)!=null?hs:console.log);function Oc(e){let t=(0,en.default)(e),r=Object.assign((...n)=>(t.log=r.log,n.length!==0&&Xr.push([e,...n]),Xr.length>Rc&&Xr.shift(),t("",...n)),t);return r}var xs=Object.assign(Oc,en.default);function bs(){Xr.length=0}var he=xs;d();p();f();var bo,ws,Es,Ps,vs=!0;typeof y!="undefined"&&({FORCE_COLOR:bo,NODE_DISABLE_COLORS:ws,NO_COLOR:Es,TERM:Ps}=y.env||{},vs=y.stdout&&y.stdout.isTTY);var Fc={enabled:!ws&&Es==null&&Ps!=="dumb"&&(bo!=null&&bo!=="0"||vs)};function G(e,t){let r=new RegExp(`\\x1b\\[${t}m`,"g"),n=`\x1B[${e}m`,o=`\x1B[${t}m`;return function(i){return!Fc.enabled||i==null?i:n+(~(""+i).indexOf(o)?i.replace(r,o+n):i)+o}}var $g=G(0,0),Xe=G(1,22),tn=G(2,22),qg=G(3,23),As=G(4,24),Vg=G(7,27),Kg=G(8,28),Gg=G(9,29),Jg=G(30,39),_t=G(31,39),rn=G(32,39),nn=G(33,39),Nt=G(34,39),Qg=G(35,39),et=G(36,39),Wg=G(37,39),on=G(90,39),Hg=G(90,39),zg=G(40,49),Zg=G(41,49),Yg=G(42,49),Xg=G(43,49),ey=G(44,49),ty=G(45,49),ry=G(46,49),ny=G(47,49);d();p();f();d();p();f();d();p();f();d();p();f();var Ms="library";function Po(e){let t=Nc();return t||((e==null?void 0:e.config.engineType)==="library"?"library":(e==null?void 0:e.config.engineType)==="binary"?"binary":Ms)}function Nc(){let e=y.env.PRISMA_CLIENT_ENGINE_TYPE;return e==="library"?"library":e==="binary"?"binary":void 0}d();p();f();var nr=Pe(Eo());function vo(e){return nr.default.sep===nr.default.posix.sep?e:e.split(nr.default.sep).join(nr.default.posix.sep)}var Bt={};Lr(Bt,{error:()=>qc,info:()=>$c,log:()=>Uc,query:()=>Vc,should:()=>Ns,tags:()=>ir,warn:()=>To});d();p();f();var ir={error:_t("prisma:error"),warn:nn("prisma:warn"),info:et("prisma:info"),query:Nt("prisma:query")},Ns={warn:()=>!y.env.PRISMA_DISABLE_WARNINGS};function Uc(...e){console.log(...e)}function To(e,...t){Ns.warn()&&console.warn(`${ir.warn} ${e}`,...t)}function $c(e,...t){console.info(`${ir.info} ${e}`,...t)}function qc(e,...t){console.error(`${ir.error} ${e}`,...t)}function Vc(e,...t){console.log(`${ir.query} ${e}`,...t)}d();p();f();function xt(e,t){throw new Error(t)}d();p();f();function Co(e,t){return Object.prototype.hasOwnProperty.call(e,t)}d();p();f();var Mo=(e,t)=>e.reduce((r,n)=>(r[t(n)]=n,r),{});d();p();f();function jt(e,t){let r={};for(let n of Object.keys(e))r[n]=t(e[n],n);return r}d();p();f();function So(e,t){if(e.length===0)return;let r=e[0];for(let n=1;n{$s.has(e)||($s.add(e),To(t,...r))};d();p();f();var de=class extends Error{constructor(r,{code:n,clientVersion:o,meta:i,batchRequestIdx:s}){super(r);this.name="PrismaClientKnownRequestError",this.code=n,this.clientVersion=o,this.meta=i,Object.defineProperty(this,"batchRequestIdx",{value:s,enumerable:!1,writable:!0})}get[Symbol.toStringTag](){return"PrismaClientKnownRequestError"}};k(de,"PrismaClientKnownRequestError");var tt=class extends de{constructor(t,r){super(t,{code:"P2025",clientVersion:r}),this.name="NotFoundError"}};k(tt,"NotFoundError");d();p();f();var ae=class e extends Error{constructor(r,n,o){super(r);this.name="PrismaClientInitializationError",this.clientVersion=n,this.errorCode=o,Error.captureStackTrace(e)}get[Symbol.toStringTag](){return"PrismaClientInitializationError"}};k(ae,"PrismaClientInitializationError");d();p();f();var rt=class extends Error{constructor(r,n){super(r);this.name="PrismaClientRustPanicError",this.clientVersion=n}get[Symbol.toStringTag](){return"PrismaClientRustPanicError"}};k(rt,"PrismaClientRustPanicError");d();p();f();var Se=class extends Error{constructor(r,{clientVersion:n,batchRequestIdx:o}){super(r);this.name="PrismaClientUnknownRequestError",this.clientVersion=n,Object.defineProperty(this,"batchRequestIdx",{value:o,writable:!0,enumerable:!1})}get[Symbol.toStringTag](){return"PrismaClientUnknownRequestError"}};k(Se,"PrismaClientUnknownRequestError");d();p();f();var me=class extends Error{constructor(r,{clientVersion:n}){super(r);this.name="PrismaClientValidationError";this.clientVersion=n}get[Symbol.toStringTag](){return"PrismaClientValidationError"}};k(me,"PrismaClientValidationError");d();p();f();var sr=class{constructor(t){this._engine=t}prometheus(t){return this._engine.metrics({format:"prometheus",...t})}json(t){return this._engine.metrics({format:"json",...t})}};d();p();f();d();p();f();function ar(e){let t;return{get(){return t||(t={value:e()}),t.value}}}function Gc(e,t){let r=ar(()=>Jc(t));Object.defineProperty(e,"dmmf",{get:()=>r.get()})}function Jc(e){return{datamodel:{models:Ro(e.models),enums:Ro(e.enums),types:Ro(e.types)}}}function Ro(e){return Object.entries(e).map(([t,r])=>({name:t,...r}))}d();p();f();var V0=["JsonNullValueInput","NullableJsonNullValueInput","JsonNullValueFilter"],ln=Symbol(),Oo=new WeakMap,qe=class{constructor(t){t===ln?Oo.set(this,`Prisma.${this._getName()}`):Oo.set(this,`new Prisma.${this._getNamespace()}.${this._getName()}()`)}_getName(){return this.constructor.name}toString(){return Oo.get(this)}},ur=class extends qe{_getNamespace(){return"NullTypes"}},lr=class extends ur{};Io(lr,"DbNull");var cr=class extends ur{};Io(cr,"JsonNull");var pr=class extends ur{};Io(pr,"AnyNull");var Fo={classes:{DbNull:lr,JsonNull:cr,AnyNull:pr},instances:{DbNull:new lr(ln),JsonNull:new cr(ln),AnyNull:new pr(ln)}};function Io(e,t){Object.defineProperty(e,"name",{value:t,configurable:!0})}d();p();f();d();p();f();var zc=Pe(xo(),1);function cn(e){return{ok:!1,error:e,map(){return cn(e)},flatMap(){return cn(e)}}}var Qc=class{constructor(){hi(this,"registeredErrors",[])}consumeError(e){return this.registeredErrors[e]}registerNewError(e){let t=0;for(;this.registeredErrors[t]!==void 0;)t++;return this.registeredErrors[t]={error:e},t}},Vs=e=>{let t=new Qc,r=nt(t,e.startTransaction.bind(e));return{errorRegistry:t,queryRaw:nt(t,e.queryRaw.bind(e)),executeRaw:nt(t,e.executeRaw.bind(e)),flavour:e.flavour,startTransaction:async(...n)=>(await r(...n)).map(i=>Wc(t,i)),close:nt(t,e.close.bind(e))}},Wc=(e,t)=>({flavour:t.flavour,options:t.options,queryRaw:nt(e,t.queryRaw.bind(t)),executeRaw:nt(e,t.executeRaw.bind(t)),commit:nt(e,t.commit.bind(t)),rollback:nt(e,t.rollback.bind(t)),dispose:Hc(e,t.dispose.bind(t))});function nt(e,t){return async(...r)=>{try{return await t(...r)}catch(n){let o=e.registerNewError(n);return cn({kind:"GenericJs",id:o})}}}function Hc(e,t){return(...r)=>{try{return t(...r)}catch(n){let o=e.registerNewError(n);return cn({kind:"GenericJs",id:o})}}}var O2=Pe(Ks()),Ju=Pe(ks());wo();var Dr=Pe(Eo());d();p();f();var Ae=class e{constructor(t,r){if(t.length-1!==r.length)throw t.length===0?new TypeError("Expected at least 1 string"):new TypeError(`Expected ${t.length} strings to have ${t.length-1} values`);let n=r.reduce((s,a)=>s+(a instanceof e?a.values.length:1),0);this.values=new Array(n),this.strings=new Array(n+1),this.strings[0]=t[0];let o=0,i=0;for(;oe.getPropertyValue(r))},getPropertyDescriptor(r){var n;return(n=e.getPropertyDescriptor)==null?void 0:n.call(e,r)}}}d();p();f();var Hs=Pe(po());d();p();f();var pn={enumerable:!0,configurable:!0,writable:!0};function fn(e){let t=new Set(e);return{getOwnPropertyDescriptor:()=>pn,has:(r,n)=>t.has(n),set:(r,n,o)=>t.add(n)&&Reflect.set(r,n,o),ownKeys:()=>[...t]}}var Qs=Symbol.for("nodejs.util.inspect.custom");function Ne(e,t){let r=Xc(t),n=new Set,o=new Proxy(e,{get(i,s){if(n.has(s))return i[s];let a=r.get(s);return a?a.getPropertyValue(s):i[s]},has(i,s){var u,l;if(n.has(s))return!0;let a=r.get(s);return a?(l=(u=a.has)==null?void 0:u.call(a,s))!=null?l:!0:Reflect.has(i,s)},ownKeys(i){let s=Ws(Reflect.ownKeys(i),r),a=Ws(Array.from(r.keys()),r);return[...new Set([...s,...a,...n])]},set(i,s,a){var l,c;let u=r.get(s);return((c=(l=u==null?void 0:u.getPropertyDescriptor)==null?void 0:l.call(u,s))==null?void 0:c.writable)===!1?!1:(n.add(s),Reflect.set(i,s,a))},getOwnPropertyDescriptor(i,s){let a=Reflect.getOwnPropertyDescriptor(i,s);if(a&&!a.configurable)return a;let u=r.get(s);return u?u.getPropertyDescriptor?{...pn,...u==null?void 0:u.getPropertyDescriptor(s)}:pn:a},defineProperty(i,s,a){return n.add(s),Reflect.defineProperty(i,s,a)}});return o[Qs]=function(i,s,a=Hs.inspect){let u={...this};return delete u[Qs],a(u,s)},o}function Xc(e){let t=new Map;for(let r of e){let n=r.getKeys();for(let o of n)t.set(o,r)}return t}function Ws(e,t){return e.filter(r=>{var o,i;let n=t.get(r);return(i=(o=n==null?void 0:n.has)==null?void 0:o.call(n,r))!=null?i:!0})}d();p();f();function dr(e){return{getKeys(){return e},has(){return!1},getPropertyValue(){}}}d();p();f();d();p();f();var Ut=class{constructor(t=0,r){this.context=r;this.lines=[];this.currentLine="";this.currentIndent=0;this.currentIndent=t}write(t){return typeof t=="string"?this.currentLine+=t:t.write(this),this}writeJoined(t,r){let n=r.length-1;for(let o=0;o0&&this.currentIndent--,this}addMarginSymbol(t){return this.marginSymbol=t,this}toString(){return this.lines.concat(this.indentedCurrentLine()).join(` +`)}getCurrentLineLength(){return this.currentLine.length}indentedCurrentLine(){let t=this.currentLine.padStart(this.currentLine.length+2*this.currentIndent);return this.marginSymbol?this.marginSymbol+t.slice(1):t}};d();p();f();d();p();f();function $t(e){return e instanceof Date||Object.prototype.toString.call(e)==="[object Date]"}function dn(e){return e.toString()!=="Invalid Date"}d();p();f();d();p();f();var qt=9e15,at=1e9,ko="0123456789abcdef",gn="2.3025850929940456840179914546843642076011014886287729760333279009675726096773524802359972050895982983419677840422862486334095254650828067566662873690987816894829072083255546808437998948262331985283935053089653777326288461633662222876982198867465436674744042432743651550489343149393914796194044002221051017141748003688084012647080685567743216228355220114804663715659121373450747856947683463616792101806445070648000277502684916746550586856935673420670581136429224554405758925724208241314695689016758940256776311356919292033376587141660230105703089634572075440370847469940168269282808481184289314848524948644871927809676271275775397027668605952496716674183485704422507197965004714951050492214776567636938662976979522110718264549734772662425709429322582798502585509785265383207606726317164309505995087807523710333101197857547331541421808427543863591778117054309827482385045648019095610299291824318237525357709750539565187697510374970888692180205189339507238539205144634197265287286965110862571492198849978748873771345686209167058",yn="3.1415926535897932384626433832795028841971693993751058209749445923078164062862089986280348253421170679821480865132823066470938446095505822317253594081284811174502841027019385211055596446229489549303819644288109756659334461284756482337867831652712019091456485669234603486104543266482133936072602491412737245870066063155881748815209209628292540917153643678925903600113305305488204665213841469519415116094330572703657595919530921861173819326117931051185480744623799627495673518857527248912279381830119491298336733624406566430860213949463952247371907021798609437027705392171762931767523846748184676694051320005681271452635608277857713427577896091736371787214684409012249534301465495853710507922796892589235420199561121290219608640344181598136297747713099605187072113499999983729780499510597317328160963185950244594553469083026425223082533446850352619311881710100031378387528865875332083814206171776691473035982534904287554687311595628638823537875937519577818577805321712268066130019278766111959092164201989380952572010654858632789",Do={precision:20,rounding:4,modulo:1,toExpNeg:-7,toExpPos:21,minE:-qt,maxE:qt,crypto:!1},Xs,Ve,D=!0,xn="[DecimalError] ",st=xn+"Invalid argument: ",ea=xn+"Precision limit exceeded",ta=xn+"crypto unavailable",ra="[object Decimal]",ce=Math.floor,X=Math.pow,ep=/^0b([01]+(\.[01]*)?|\.[01]+)(p[+-]?\d+)?$/i,tp=/^0x([0-9a-f]+(\.[0-9a-f]*)?|\.[0-9a-f]+)(p[+-]?\d+)?$/i,rp=/^0o([0-7]+(\.[0-7]*)?|\.[0-7]+)(p[+-]?\d+)?$/i,na=/^(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i,Oe=1e7,I=7,np=9007199254740991,op=gn.length-1,_o=yn.length-1,v={toStringTag:ra};v.absoluteValue=v.abs=function(){var e=new this.constructor(this);return e.s<0&&(e.s=1),F(e)};v.ceil=function(){return F(new this.constructor(this),this.e+1,2)};v.clampedTo=v.clamp=function(e,t){var r,n=this,o=n.constructor;if(e=new o(e),t=new o(t),!e.s||!t.s)return new o(NaN);if(e.gt(t))throw Error(st+t);return r=n.cmp(e),r<0?e:n.cmp(t)>0?t:new o(n)};v.comparedTo=v.cmp=function(e){var t,r,n,o,i=this,s=i.d,a=(e=new i.constructor(e)).d,u=i.s,l=e.s;if(!s||!a)return!u||!l?NaN:u!==l?u:s===a?0:!s^u<0?1:-1;if(!s[0]||!a[0])return s[0]?u:a[0]?-l:0;if(u!==l)return u;if(i.e!==e.e)return i.e>e.e^u<0?1:-1;for(n=s.length,o=a.length,t=0,r=na[t]^u<0?1:-1;return n===o?0:n>o^u<0?1:-1};v.cosine=v.cos=function(){var e,t,r=this,n=r.constructor;return r.d?r.d[0]?(e=n.precision,t=n.rounding,n.precision=e+Math.max(r.e,r.sd())+I,n.rounding=1,r=ip(n,ua(n,r)),n.precision=e,n.rounding=t,F(Ve==2||Ve==3?r.neg():r,e,t,!0)):new n(1):new n(NaN)};v.cubeRoot=v.cbrt=function(){var e,t,r,n,o,i,s,a,u,l,c=this,m=c.constructor;if(!c.isFinite()||c.isZero())return new m(c);for(D=!1,i=c.s*X(c.s*c,1/3),!i||Math.abs(i)==1/0?(r=ue(c.d),e=c.e,(i=(e-r.length+1)%3)&&(r+=i==1||i==-2?"0":"00"),i=X(r,1/3),e=ce((e+1)/3)-(e%3==(e<0?-1:2)),i==1/0?r="5e"+e:(r=i.toExponential(),r=r.slice(0,r.indexOf("e")+1)+e),n=new m(r),n.s=c.s):n=new m(i.toString()),s=(e=m.precision)+3;;)if(a=n,u=a.times(a).times(a),l=u.plus(c),n=K(l.plus(c).times(a),l.plus(u),s+2,1),ue(a.d).slice(0,s)===(r=ue(n.d)).slice(0,s))if(r=r.slice(s-3,s+1),r=="9999"||!o&&r=="4999"){if(!o&&(F(a,e+1,0),a.times(a).times(a).eq(c))){n=a;break}s+=4,o=1}else{(!+r||!+r.slice(1)&&r.charAt(0)=="5")&&(F(n,e+1,1),t=!n.times(n).times(n).eq(c));break}return D=!0,F(n,e,m.rounding,t)};v.decimalPlaces=v.dp=function(){var e,t=this.d,r=NaN;if(t){if(e=t.length-1,r=(e-ce(this.e/I))*I,e=t[e],e)for(;e%10==0;e/=10)r--;r<0&&(r=0)}return r};v.dividedBy=v.div=function(e){return K(this,new this.constructor(e))};v.dividedToIntegerBy=v.divToInt=function(e){var t=this,r=t.constructor;return F(K(t,new r(e),0,1,1),r.precision,r.rounding)};v.equals=v.eq=function(e){return this.cmp(e)===0};v.floor=function(){return F(new this.constructor(this),this.e+1,3)};v.greaterThan=v.gt=function(e){return this.cmp(e)>0};v.greaterThanOrEqualTo=v.gte=function(e){var t=this.cmp(e);return t==1||t===0};v.hyperbolicCosine=v.cosh=function(){var e,t,r,n,o,i=this,s=i.constructor,a=new s(1);if(!i.isFinite())return new s(i.s?1/0:NaN);if(i.isZero())return a;r=s.precision,n=s.rounding,s.precision=r+Math.max(i.e,i.sd())+4,s.rounding=1,o=i.d.length,o<32?(e=Math.ceil(o/3),t=(1/wn(4,e)).toString()):(e=16,t="2.3283064365386962890625e-10"),i=Vt(s,1,i.times(t),new s(1),!0);for(var u,l=e,c=new s(8);l--;)u=i.times(i),i=a.minus(u.times(c.minus(u.times(c))));return F(i,s.precision=r,s.rounding=n,!0)};v.hyperbolicSine=v.sinh=function(){var e,t,r,n,o=this,i=o.constructor;if(!o.isFinite()||o.isZero())return new i(o);if(t=i.precision,r=i.rounding,i.precision=t+Math.max(o.e,o.sd())+4,i.rounding=1,n=o.d.length,n<3)o=Vt(i,2,o,o,!0);else{e=1.4*Math.sqrt(n),e=e>16?16:e|0,o=o.times(1/wn(5,e)),o=Vt(i,2,o,o,!0);for(var s,a=new i(5),u=new i(16),l=new i(20);e--;)s=o.times(o),o=o.times(a.plus(s.times(u.times(s).plus(l))))}return i.precision=t,i.rounding=r,F(o,t,r,!0)};v.hyperbolicTangent=v.tanh=function(){var e,t,r=this,n=r.constructor;return r.isFinite()?r.isZero()?new n(r):(e=n.precision,t=n.rounding,n.precision=e+7,n.rounding=1,K(r.sinh(),r.cosh(),n.precision=e,n.rounding=t)):new n(r.s)};v.inverseCosine=v.acos=function(){var e,t=this,r=t.constructor,n=t.abs().cmp(1),o=r.precision,i=r.rounding;return n!==-1?n===0?t.isNeg()?Re(r,o,i):new r(0):new r(NaN):t.isZero()?Re(r,o+4,i).times(.5):(r.precision=o+6,r.rounding=1,t=t.asin(),e=Re(r,o+4,i).times(.5),r.precision=o,r.rounding=i,e.minus(t))};v.inverseHyperbolicCosine=v.acosh=function(){var e,t,r=this,n=r.constructor;return r.lte(1)?new n(r.eq(1)?0:NaN):r.isFinite()?(e=n.precision,t=n.rounding,n.precision=e+Math.max(Math.abs(r.e),r.sd())+4,n.rounding=1,D=!1,r=r.times(r).minus(1).sqrt().plus(r),D=!0,n.precision=e,n.rounding=t,r.ln()):new n(r)};v.inverseHyperbolicSine=v.asinh=function(){var e,t,r=this,n=r.constructor;return!r.isFinite()||r.isZero()?new n(r):(e=n.precision,t=n.rounding,n.precision=e+2*Math.max(Math.abs(r.e),r.sd())+6,n.rounding=1,D=!1,r=r.times(r).plus(1).sqrt().plus(r),D=!0,n.precision=e,n.rounding=t,r.ln())};v.inverseHyperbolicTangent=v.atanh=function(){var e,t,r,n,o=this,i=o.constructor;return o.isFinite()?o.e>=0?new i(o.abs().eq(1)?o.s/0:o.isZero()?o:NaN):(e=i.precision,t=i.rounding,n=o.sd(),Math.max(n,e)<2*-o.e-1?F(new i(o),e,t,!0):(i.precision=r=n-o.e,o=K(o.plus(1),new i(1).minus(o),r+e,1),i.precision=e+4,i.rounding=1,o=o.ln(),i.precision=e,i.rounding=t,o.times(.5))):new i(NaN)};v.inverseSine=v.asin=function(){var e,t,r,n,o=this,i=o.constructor;return o.isZero()?new i(o):(t=o.abs().cmp(1),r=i.precision,n=i.rounding,t!==-1?t===0?(e=Re(i,r+4,n).times(.5),e.s=o.s,e):new i(NaN):(i.precision=r+6,i.rounding=1,o=o.div(new i(1).minus(o.times(o)).sqrt().plus(1)).atan(),i.precision=r,i.rounding=n,o.times(2)))};v.inverseTangent=v.atan=function(){var e,t,r,n,o,i,s,a,u,l=this,c=l.constructor,m=c.precision,g=c.rounding;if(l.isFinite()){if(l.isZero())return new c(l);if(l.abs().eq(1)&&m+4<=_o)return s=Re(c,m+4,g).times(.25),s.s=l.s,s}else{if(!l.s)return new c(NaN);if(m+4<=_o)return s=Re(c,m+4,g).times(.5),s.s=l.s,s}for(c.precision=a=m+10,c.rounding=1,r=Math.min(28,a/I+2|0),e=r;e;--e)l=l.div(l.times(l).plus(1).sqrt().plus(1));for(D=!1,t=Math.ceil(a/I),n=1,u=l.times(l),s=new c(l),o=l;e!==-1;)if(o=o.times(u),i=s.minus(o.div(n+=2)),o=o.times(u),s=i.plus(o.div(n+=2)),s.d[t]!==void 0)for(e=t;s.d[e]===i.d[e]&&e--;);return r&&(s=s.times(2<this.d.length-2};v.isNaN=function(){return!this.s};v.isNegative=v.isNeg=function(){return this.s<0};v.isPositive=v.isPos=function(){return this.s>0};v.isZero=function(){return!!this.d&&this.d[0]===0};v.lessThan=v.lt=function(e){return this.cmp(e)<0};v.lessThanOrEqualTo=v.lte=function(e){return this.cmp(e)<1};v.logarithm=v.log=function(e){var t,r,n,o,i,s,a,u,l=this,c=l.constructor,m=c.precision,g=c.rounding,w=5;if(e==null)e=new c(10),t=!0;else{if(e=new c(e),r=e.d,e.s<0||!r||!r[0]||e.eq(1))return new c(NaN);t=e.eq(10)}if(r=l.d,l.s<0||!r||!r[0]||l.eq(1))return new c(r&&!r[0]?-1/0:l.s!=1?NaN:r?0:1/0);if(t)if(r.length>1)i=!0;else{for(o=r[0];o%10===0;)o/=10;i=o!==1}if(D=!1,a=m+w,s=it(l,a),n=t?hn(c,a+10):it(e,a),u=K(s,n,a,1),mr(u.d,o=m,g))do if(a+=10,s=it(l,a),n=t?hn(c,a+10):it(e,a),u=K(s,n,a,1),!i){+ue(u.d).slice(o+1,o+15)+1==1e14&&(u=F(u,m+1,0));break}while(mr(u.d,o+=10,g));return D=!0,F(u,m,g)};v.minus=v.sub=function(e){var t,r,n,o,i,s,a,u,l,c,m,g,w=this,E=w.constructor;if(e=new E(e),!w.d||!e.d)return!w.s||!e.s?e=new E(NaN):w.d?e.s=-e.s:e=new E(e.d||w.s!==e.s?w:NaN),e;if(w.s!=e.s)return e.s=-e.s,w.plus(e);if(l=w.d,g=e.d,a=E.precision,u=E.rounding,!l[0]||!g[0]){if(g[0])e.s=-e.s;else if(l[0])e=new E(w);else return new E(u===3?-0:0);return D?F(e,a,u):e}if(r=ce(e.e/I),c=ce(w.e/I),l=l.slice(),i=c-r,i){for(m=i<0,m?(t=l,i=-i,s=g.length):(t=g,r=c,s=l.length),n=Math.max(Math.ceil(a/I),s)+2,i>n&&(i=n,t.length=1),t.reverse(),n=i;n--;)t.push(0);t.reverse()}else{for(n=l.length,s=g.length,m=n0;--n)l[s++]=0;for(n=g.length;n>i;){if(l[--n]s?i+1:s+1,o>s&&(o=s,r.length=1),r.reverse();o--;)r.push(0);r.reverse()}for(s=l.length,o=c.length,s-o<0&&(o=s,r=c,c=l,l=r),t=0;o;)t=(l[--o]=l[o]+c[o]+t)/Oe|0,l[o]%=Oe;for(t&&(l.unshift(t),++n),s=l.length;l[--s]==0;)l.pop();return e.d=l,e.e=bn(l,n),D?F(e,a,u):e};v.precision=v.sd=function(e){var t,r=this;if(e!==void 0&&e!==!!e&&e!==1&&e!==0)throw Error(st+e);return r.d?(t=oa(r.d),e&&r.e+1>t&&(t=r.e+1)):t=NaN,t};v.round=function(){var e=this,t=e.constructor;return F(new t(e),e.e+1,t.rounding)};v.sine=v.sin=function(){var e,t,r=this,n=r.constructor;return r.isFinite()?r.isZero()?new n(r):(e=n.precision,t=n.rounding,n.precision=e+Math.max(r.e,r.sd())+I,n.rounding=1,r=ap(n,ua(n,r)),n.precision=e,n.rounding=t,F(Ve>2?r.neg():r,e,t,!0)):new n(NaN)};v.squareRoot=v.sqrt=function(){var e,t,r,n,o,i,s=this,a=s.d,u=s.e,l=s.s,c=s.constructor;if(l!==1||!a||!a[0])return new c(!l||l<0&&(!a||a[0])?NaN:a?s:1/0);for(D=!1,l=Math.sqrt(+s),l==0||l==1/0?(t=ue(a),(t.length+u)%2==0&&(t+="0"),l=Math.sqrt(t),u=ce((u+1)/2)-(u<0||u%2),l==1/0?t="5e"+u:(t=l.toExponential(),t=t.slice(0,t.indexOf("e")+1)+u),n=new c(t)):n=new c(l.toString()),r=(u=c.precision)+3;;)if(i=n,n=i.plus(K(s,i,r+2,1)).times(.5),ue(i.d).slice(0,r)===(t=ue(n.d)).slice(0,r))if(t=t.slice(r-3,r+1),t=="9999"||!o&&t=="4999"){if(!o&&(F(i,u+1,0),i.times(i).eq(s))){n=i;break}r+=4,o=1}else{(!+t||!+t.slice(1)&&t.charAt(0)=="5")&&(F(n,u+1,1),e=!n.times(n).eq(s));break}return D=!0,F(n,u,c.rounding,e)};v.tangent=v.tan=function(){var e,t,r=this,n=r.constructor;return r.isFinite()?r.isZero()?new n(r):(e=n.precision,t=n.rounding,n.precision=e+10,n.rounding=1,r=r.sin(),r.s=1,r=K(r,new n(1).minus(r.times(r)).sqrt(),e+10,0),n.precision=e,n.rounding=t,F(Ve==2||Ve==4?r.neg():r,e,t,!0)):new n(NaN)};v.times=v.mul=function(e){var t,r,n,o,i,s,a,u,l,c=this,m=c.constructor,g=c.d,w=(e=new m(e)).d;if(e.s*=c.s,!g||!g[0]||!w||!w[0])return new m(!e.s||g&&!g[0]&&!w||w&&!w[0]&&!g?NaN:!g||!w?e.s/0:e.s*0);for(r=ce(c.e/I)+ce(e.e/I),u=g.length,l=w.length,u=0;){for(t=0,o=u+n;o>n;)a=i[o]+w[n]*g[o-n-1]+t,i[o--]=a%Oe|0,t=a/Oe|0;i[o]=(i[o]+t)%Oe|0}for(;!i[--s];)i.pop();return t?++r:i.shift(),e.d=i,e.e=bn(i,r),D?F(e,m.precision,m.rounding):e};v.toBinary=function(e,t){return Bo(this,2,e,t)};v.toDecimalPlaces=v.toDP=function(e,t){var r=this,n=r.constructor;return r=new n(r),e===void 0?r:(xe(e,0,at),t===void 0?t=n.rounding:xe(t,0,8),F(r,e+r.e+1,t))};v.toExponential=function(e,t){var r,n=this,o=n.constructor;return e===void 0?r=Le(n,!0):(xe(e,0,at),t===void 0?t=o.rounding:xe(t,0,8),n=F(new o(n),e+1,t),r=Le(n,!0,e+1)),n.isNeg()&&!n.isZero()?"-"+r:r};v.toFixed=function(e,t){var r,n,o=this,i=o.constructor;return e===void 0?r=Le(o):(xe(e,0,at),t===void 0?t=i.rounding:xe(t,0,8),n=F(new i(o),e+o.e+1,t),r=Le(n,!1,e+n.e+1)),o.isNeg()&&!o.isZero()?"-"+r:r};v.toFraction=function(e){var t,r,n,o,i,s,a,u,l,c,m,g,w=this,E=w.d,b=w.constructor;if(!E)return new b(w);if(l=r=new b(1),n=u=new b(0),t=new b(n),i=t.e=oa(E)-w.e-1,s=i%I,t.d[0]=X(10,s<0?I+s:s),e==null)e=i>0?t:l;else{if(a=new b(e),!a.isInt()||a.lt(l))throw Error(st+a);e=a.gt(t)?i>0?t:l:a}for(D=!1,a=new b(ue(E)),c=b.precision,b.precision=i=E.length*I*2;m=K(a,t,0,1,1),o=r.plus(m.times(n)),o.cmp(e)!=1;)r=n,n=o,o=l,l=u.plus(m.times(o)),u=o,o=t,t=a.minus(m.times(o)),a=o;return o=K(e.minus(r),n,0,1,1),u=u.plus(o.times(l)),r=r.plus(o.times(n)),u.s=l.s=w.s,g=K(l,n,i,1).minus(w).abs().cmp(K(u,r,i,1).minus(w).abs())<1?[l,n]:[u,r],b.precision=c,D=!0,g};v.toHexadecimal=v.toHex=function(e,t){return Bo(this,16,e,t)};v.toNearest=function(e,t){var r=this,n=r.constructor;if(r=new n(r),e==null){if(!r.d)return r;e=new n(1),t=n.rounding}else{if(e=new n(e),t===void 0?t=n.rounding:xe(t,0,8),!r.d)return e.s?r:e;if(!e.d)return e.s&&(e.s=r.s),e}return e.d[0]?(D=!1,r=K(r,e,0,t,1).times(e),D=!0,F(r)):(e.s=r.s,r=e),r};v.toNumber=function(){return+this};v.toOctal=function(e,t){return Bo(this,8,e,t)};v.toPower=v.pow=function(e){var t,r,n,o,i,s,a=this,u=a.constructor,l=+(e=new u(e));if(!a.d||!e.d||!a.d[0]||!e.d[0])return new u(X(+a,l));if(a=new u(a),a.eq(1))return a;if(n=u.precision,i=u.rounding,e.eq(1))return F(a,n,i);if(t=ce(e.e/I),t>=e.d.length-1&&(r=l<0?-l:l)<=np)return o=ia(u,a,r,n),e.s<0?new u(1).div(o):F(o,n,i);if(s=a.s,s<0){if(tu.maxE+1||t0?s/0:0):(D=!1,u.rounding=a.s=1,r=Math.min(12,(t+"").length),o=No(e.times(it(a,n+r)),n),o.d&&(o=F(o,n+5,1),mr(o.d,n,i)&&(t=n+10,o=F(No(e.times(it(a,t+r)),t),t+5,1),+ue(o.d).slice(n+1,n+15)+1==1e14&&(o=F(o,n+1,0)))),o.s=s,D=!0,u.rounding=i,F(o,n,i))};v.toPrecision=function(e,t){var r,n=this,o=n.constructor;return e===void 0?r=Le(n,n.e<=o.toExpNeg||n.e>=o.toExpPos):(xe(e,1,at),t===void 0?t=o.rounding:xe(t,0,8),n=F(new o(n),e,t),r=Le(n,e<=n.e||n.e<=o.toExpNeg,e)),n.isNeg()&&!n.isZero()?"-"+r:r};v.toSignificantDigits=v.toSD=function(e,t){var r=this,n=r.constructor;return e===void 0?(e=n.precision,t=n.rounding):(xe(e,1,at),t===void 0?t=n.rounding:xe(t,0,8)),F(new n(r),e,t)};v.toString=function(){var e=this,t=e.constructor,r=Le(e,e.e<=t.toExpNeg||e.e>=t.toExpPos);return e.isNeg()&&!e.isZero()?"-"+r:r};v.truncated=v.trunc=function(){return F(new this.constructor(this),this.e+1,1)};v.valueOf=v.toJSON=function(){var e=this,t=e.constructor,r=Le(e,e.e<=t.toExpNeg||e.e>=t.toExpPos);return e.isNeg()?"-"+r:r};function ue(e){var t,r,n,o=e.length-1,i="",s=e[0];if(o>0){for(i+=s,t=1;tr)throw Error(st+e)}function mr(e,t,r,n){var o,i,s,a;for(i=e[0];i>=10;i/=10)--t;return--t<0?(t+=I,o=0):(o=Math.ceil((t+1)/I),t%=I),i=X(10,I-t),a=e[o]%i|0,n==null?t<3?(t==0?a=a/100|0:t==1&&(a=a/10|0),s=r<4&&a==99999||r>3&&a==49999||a==5e4||a==0):s=(r<4&&a+1==i||r>3&&a+1==i/2)&&(e[o+1]/i/100|0)==X(10,t-2)-1||(a==i/2||a==0)&&(e[o+1]/i/100|0)==0:t<4?(t==0?a=a/1e3|0:t==1?a=a/100|0:t==2&&(a=a/10|0),s=(n||r<4)&&a==9999||!n&&r>3&&a==4999):s=((n||r<4)&&a+1==i||!n&&r>3&&a+1==i/2)&&(e[o+1]/i/1e3|0)==X(10,t-3)-1,s}function mn(e,t,r){for(var n,o=[0],i,s=0,a=e.length;sr-1&&(o[n+1]===void 0&&(o[n+1]=0),o[n+1]+=o[n]/r|0,o[n]%=r)}return o.reverse()}function ip(e,t){var r,n,o;if(t.isZero())return t;n=t.d.length,n<32?(r=Math.ceil(n/3),o=(1/wn(4,r)).toString()):(r=16,o="2.3283064365386962890625e-10"),e.precision+=r,t=Vt(e,1,t.times(o),new e(1));for(var i=r;i--;){var s=t.times(t);t=s.times(s).minus(s).times(8).plus(1)}return e.precision-=r,t}var K=function(){function e(n,o,i){var s,a=0,u=n.length;for(n=n.slice();u--;)s=n[u]*o+a,n[u]=s%i|0,a=s/i|0;return a&&n.unshift(a),n}function t(n,o,i,s){var a,u;if(i!=s)u=i>s?1:-1;else for(a=u=0;ao[a]?1:-1;break}return u}function r(n,o,i,s){for(var a=0;i--;)n[i]-=a,a=n[i]1;)n.shift()}return function(n,o,i,s,a,u){var l,c,m,g,w,E,b,T,S,R,C,M,N,L,Te,V,H,we,z,Ee,Je=n.constructor,$=n.s==o.s?1:-1,U=n.d,O=o.d;if(!U||!U[0]||!O||!O[0])return new Je(!n.s||!o.s||(U?O&&U[0]==O[0]:!O)?NaN:U&&U[0]==0||!O?$*0:$/0);for(u?(w=1,c=n.e-o.e):(u=Oe,w=I,c=ce(n.e/w)-ce(o.e/w)),z=O.length,H=U.length,S=new Je($),R=S.d=[],m=0;O[m]==(U[m]||0);m++);if(O[m]>(U[m]||0)&&c--,i==null?(L=i=Je.precision,s=Je.rounding):a?L=i+(n.e-o.e)+1:L=i,L<0)R.push(1),E=!0;else{if(L=L/w+2|0,m=0,z==1){for(g=0,O=O[0],L++;(m1&&(O=e(O,g,u),U=e(U,g,u),z=O.length,H=U.length),V=z,C=U.slice(0,z),M=C.length;M=u/2&&++we;do g=0,l=t(O,C,z,M),l<0?(N=C[0],z!=M&&(N=N*u+(C[1]||0)),g=N/we|0,g>1?(g>=u&&(g=u-1),b=e(O,g,u),T=b.length,M=C.length,l=t(b,C,T,M),l==1&&(g--,r(b,z=10;g/=10)m++;S.e=m+c*w-1,F(S,a?i+S.e+1:i,s,E)}return S}}();function F(e,t,r,n){var o,i,s,a,u,l,c,m,g,w=e.constructor;e:if(t!=null){if(m=e.d,!m)return e;for(o=1,a=m[0];a>=10;a/=10)o++;if(i=t-o,i<0)i+=I,s=t,c=m[g=0],u=c/X(10,o-s-1)%10|0;else if(g=Math.ceil((i+1)/I),a=m.length,g>=a)if(n){for(;a++<=g;)m.push(0);c=u=0,o=1,i%=I,s=i-I+1}else break e;else{for(c=a=m[g],o=1;a>=10;a/=10)o++;i%=I,s=i-I+o,u=s<0?0:c/X(10,o-s-1)%10|0}if(n=n||t<0||m[g+1]!==void 0||(s<0?c:c%X(10,o-s-1)),l=r<4?(u||n)&&(r==0||r==(e.s<0?3:2)):u>5||u==5&&(r==4||n||r==6&&(i>0?s>0?c/X(10,o-s):0:m[g-1])%10&1||r==(e.s<0?8:7)),t<1||!m[0])return m.length=0,l?(t-=e.e+1,m[0]=X(10,(I-t%I)%I),e.e=-t||0):m[0]=e.e=0,e;if(i==0?(m.length=g,a=1,g--):(m.length=g+1,a=X(10,I-i),m[g]=s>0?(c/X(10,o-s)%X(10,s)|0)*a:0),l)for(;;)if(g==0){for(i=1,s=m[0];s>=10;s/=10)i++;for(s=m[0]+=a,a=1;s>=10;s/=10)a++;i!=a&&(e.e++,m[0]==Oe&&(m[0]=1));break}else{if(m[g]+=a,m[g]!=Oe)break;m[g--]=0,a=1}for(i=m.length;m[--i]===0;)m.pop()}return D&&(e.e>w.maxE?(e.d=null,e.e=NaN):e.e0?i=i.charAt(0)+"."+i.slice(1)+ot(n):s>1&&(i=i.charAt(0)+"."+i.slice(1)),i=i+(e.e<0?"e":"e+")+e.e):o<0?(i="0."+ot(-o-1)+i,r&&(n=r-s)>0&&(i+=ot(n))):o>=s?(i+=ot(o+1-s),r&&(n=r-o-1)>0&&(i=i+"."+ot(n))):((n=o+1)0&&(o+1===s&&(i+="."),i+=ot(n))),i}function bn(e,t){var r=e[0];for(t*=I;r>=10;r/=10)t++;return t}function hn(e,t,r){if(t>op)throw D=!0,r&&(e.precision=r),Error(ea);return F(new e(gn),t,1,!0)}function Re(e,t,r){if(t>_o)throw Error(ea);return F(new e(yn),t,r,!0)}function oa(e){var t=e.length-1,r=t*I+1;if(t=e[t],t){for(;t%10==0;t/=10)r--;for(t=e[0];t>=10;t/=10)r++}return r}function ot(e){for(var t="";e--;)t+="0";return t}function ia(e,t,r,n){var o,i=new e(1),s=Math.ceil(n/I+4);for(D=!1;;){if(r%2&&(i=i.times(t),Zs(i.d,s)&&(o=!0)),r=ce(r/2),r===0){r=i.d.length-1,o&&i.d[r]===0&&++i.d[r];break}t=t.times(t),Zs(t.d,s)}return D=!0,i}function zs(e){return e.d[e.d.length-1]&1}function sa(e,t,r){for(var n,o=new e(t[0]),i=0;++i17)return new g(e.d?e.d[0]?e.s<0?0:1/0:1:e.s?e.s<0?0:e:0/0);for(t==null?(D=!1,u=E):u=t,a=new g(.03125);e.e>-2;)e=e.times(a),m+=5;for(n=Math.log(X(2,m))/Math.LN10*2+5|0,u+=n,r=i=s=new g(1),g.precision=u;;){if(i=F(i.times(e),u,1),r=r.times(++c),a=s.plus(K(i,r,u,1)),ue(a.d).slice(0,u)===ue(s.d).slice(0,u)){for(o=m;o--;)s=F(s.times(s),u,1);if(t==null)if(l<3&&mr(s.d,u-n,w,l))g.precision=u+=10,r=i=a=new g(1),c=0,l++;else return F(s,g.precision=E,w,D=!0);else return g.precision=E,s}s=a}}function it(e,t){var r,n,o,i,s,a,u,l,c,m,g,w=1,E=10,b=e,T=b.d,S=b.constructor,R=S.rounding,C=S.precision;if(b.s<0||!T||!T[0]||!b.e&&T[0]==1&&T.length==1)return new S(T&&!T[0]?-1/0:b.s!=1?NaN:T?0:b);if(t==null?(D=!1,c=C):c=t,S.precision=c+=E,r=ue(T),n=r.charAt(0),Math.abs(i=b.e)<15e14){for(;n<7&&n!=1||n==1&&r.charAt(1)>3;)b=b.times(e),r=ue(b.d),n=r.charAt(0),w++;i=b.e,n>1?(b=new S("0."+r),i++):b=new S(n+"."+r.slice(1))}else return l=hn(S,c+2,C).times(i+""),b=it(new S(n+"."+r.slice(1)),c-E).plus(l),S.precision=C,t==null?F(b,C,R,D=!0):b;for(m=b,u=s=b=K(b.minus(1),b.plus(1),c,1),g=F(b.times(b),c,1),o=3;;){if(s=F(s.times(g),c,1),l=u.plus(K(s,new S(o),c,1)),ue(l.d).slice(0,c)===ue(u.d).slice(0,c))if(u=u.times(2),i!==0&&(u=u.plus(hn(S,c+2,C).times(i+""))),u=K(u,new S(w),c,1),t==null)if(mr(u.d,c-E,R,a))S.precision=c+=E,l=s=b=K(m.minus(1),m.plus(1),c,1),g=F(b.times(b),c,1),o=a=1;else return F(u,S.precision=C,R,D=!0);else return S.precision=C,u;u=l,o+=2}}function aa(e){return String(e.s*e.s/0)}function Lo(e,t){var r,n,o;for((r=t.indexOf("."))>-1&&(t=t.replace(".","")),(n=t.search(/e/i))>0?(r<0&&(r=n),r+=+t.slice(n+1),t=t.substring(0,n)):r<0&&(r=t.length),n=0;t.charCodeAt(n)===48;n++);for(o=t.length;t.charCodeAt(o-1)===48;--o);if(t=t.slice(n,o),t){if(o-=n,e.e=r=r-n-1,e.d=[],n=(r+1)%I,r<0&&(n+=I),ne.constructor.maxE?(e.d=null,e.e=NaN):e.e-1){if(t=t.replace(/(\d)_(?=\d)/g,"$1"),na.test(t))return Lo(e,t)}else if(t==="Infinity"||t==="NaN")return+t||(e.s=NaN),e.e=NaN,e.d=null,e;if(tp.test(t))r=16,t=t.toLowerCase();else if(ep.test(t))r=2;else if(rp.test(t))r=8;else throw Error(st+t);for(i=t.search(/p/i),i>0?(u=+t.slice(i+1),t=t.substring(2,i)):t=t.slice(2),i=t.indexOf("."),s=i>=0,n=e.constructor,s&&(t=t.replace(".",""),a=t.length,i=a-i,o=ia(n,new n(r),i,i*2)),l=mn(t,r,Oe),c=l.length-1,i=c;l[i]===0;--i)l.pop();return i<0?new n(e.s*0):(e.e=bn(l,c),e.d=l,D=!1,s&&(e=K(e,o,a*4)),u&&(e=e.times(Math.abs(u)<54?X(2,u):wt.pow(2,u))),D=!0,e)}function ap(e,t){var r,n=t.d.length;if(n<3)return t.isZero()?t:Vt(e,2,t,t);r=1.4*Math.sqrt(n),r=r>16?16:r|0,t=t.times(1/wn(5,r)),t=Vt(e,2,t,t);for(var o,i=new e(5),s=new e(16),a=new e(20);r--;)o=t.times(t),t=t.times(i.plus(o.times(s.times(o).minus(a))));return t}function Vt(e,t,r,n,o){var i,s,a,u,l=1,c=e.precision,m=Math.ceil(c/I);for(D=!1,u=r.times(r),a=new e(n);;){if(s=K(a.times(u),new e(t++*t++),c,1),a=o?n.plus(s):n.minus(s),n=K(s.times(u),new e(t++*t++),c,1),s=a.plus(n),s.d[m]!==void 0){for(i=m;s.d[i]===a.d[i]&&i--;);if(i==-1)break}i=a,a=n,n=s,s=i,l++}return D=!0,s.d.length=m+1,s}function wn(e,t){for(var r=e;--t;)r*=e;return r}function ua(e,t){var r,n=t.s<0,o=Re(e,e.precision,1),i=o.times(.5);if(t=t.abs(),t.lte(i))return Ve=n?4:1,t;if(r=t.divToInt(o),r.isZero())Ve=n?3:2;else{if(t=t.minus(r.times(o)),t.lte(i))return Ve=zs(r)?n?2:3:n?4:1,t;Ve=zs(r)?n?1:4:n?3:2}return t.minus(o).abs()}function Bo(e,t,r,n){var o,i,s,a,u,l,c,m,g,w=e.constructor,E=r!==void 0;if(E?(xe(r,1,at),n===void 0?n=w.rounding:xe(n,0,8)):(r=w.precision,n=w.rounding),!e.isFinite())c=aa(e);else{for(c=Le(e),s=c.indexOf("."),E?(o=2,t==16?r=r*4-3:t==8&&(r=r*3-2)):o=t,s>=0&&(c=c.replace(".",""),g=new w(1),g.e=c.length-s,g.d=mn(Le(g),10,o),g.e=g.d.length),m=mn(c,10,o),i=u=m.length;m[--u]==0;)m.pop();if(!m[0])c=E?"0p+0":"0";else{if(s<0?i--:(e=new w(e),e.d=m,e.e=i,e=K(e,g,r,n,0,o),m=e.d,i=e.e,l=Xs),s=m[r],a=o/2,l=l||m[r+1]!==void 0,l=n<4?(s!==void 0||l)&&(n===0||n===(e.s<0?3:2)):s>a||s===a&&(n===4||l||n===6&&m[r-1]&1||n===(e.s<0?8:7)),m.length=r,l)for(;++m[--r]>o-1;)m[r]=0,r||(++i,m.unshift(1));for(u=m.length;!m[u-1];--u);for(s=0,c="";s1)if(t==16||t==8){for(s=t==16?4:3,--u;u%s;u++)c+="0";for(m=mn(c,o,t),u=m.length;!m[u-1];--u);for(s=1,c="1.";su)for(i-=u;i--;)c+="0";else it)return e.length=t,!0}function up(e){return new this(e).abs()}function lp(e){return new this(e).acos()}function cp(e){return new this(e).acosh()}function pp(e,t){return new this(e).plus(t)}function fp(e){return new this(e).asin()}function dp(e){return new this(e).asinh()}function mp(e){return new this(e).atan()}function gp(e){return new this(e).atanh()}function yp(e,t){e=new this(e),t=new this(t);var r,n=this.precision,o=this.rounding,i=n+4;return!e.s||!t.s?r=new this(NaN):!e.d&&!t.d?(r=Re(this,i,1).times(t.s>0?.25:.75),r.s=e.s):!t.d||e.isZero()?(r=t.s<0?Re(this,n,o):new this(0),r.s=e.s):!e.d||t.isZero()?(r=Re(this,i,1).times(.5),r.s=e.s):t.s<0?(this.precision=i,this.rounding=1,r=this.atan(K(e,t,i,1)),t=Re(this,i,1),this.precision=n,this.rounding=o,r=e.s<0?r.minus(t):r.plus(t)):r=this.atan(K(e,t,i,1)),r}function hp(e){return new this(e).cbrt()}function xp(e){return F(e=new this(e),e.e+1,2)}function bp(e,t,r){return new this(e).clamp(t,r)}function wp(e){if(!e||typeof e!="object")throw Error(xn+"Object expected");var t,r,n,o=e.defaults===!0,i=["precision",1,at,"rounding",0,8,"toExpNeg",-qt,0,"toExpPos",0,qt,"maxE",0,qt,"minE",-qt,0,"modulo",0,9];for(t=0;t=i[t+1]&&n<=i[t+2])this[r]=n;else throw Error(st+r+": "+n);if(r="crypto",o&&(this[r]=Do[r]),(n=e[r])!==void 0)if(n===!0||n===!1||n===0||n===1)if(n)if(typeof crypto!="undefined"&&crypto&&(crypto.getRandomValues||crypto.randomBytes))this[r]=!0;else throw Error(ta);else this[r]=!1;else throw Error(st+r+": "+n);return this}function Ep(e){return new this(e).cos()}function Pp(e){return new this(e).cosh()}function la(e){var t,r,n;function o(i){var s,a,u,l=this;if(!(l instanceof o))return new o(i);if(l.constructor=o,Ys(i)){l.s=i.s,D?!i.d||i.e>o.maxE?(l.e=NaN,l.d=null):i.e=10;a/=10)s++;D?s>o.maxE?(l.e=NaN,l.d=null):s=429e7?t[i]=crypto.getRandomValues(new Uint32Array(1))[0]:a[i++]=o%1e7;else if(crypto.randomBytes){for(t=crypto.randomBytes(n*=4);i=214e7?crypto.randomBytes(4).copy(t,i):(a.push(o%1e7),i+=4);i=n/4}else throw Error(ta);else for(;i=10;o/=10)n++;n`}};function Gt(e){return e instanceof gr}d();p();f();d();p();f();var En=class{constructor(t){this.value=t}write(t){t.write(this.value)}markAsError(){this.value.markAsError()}};d();p();f();var Pn=e=>e,vn={bold:Pn,red:Pn,green:Pn,dim:Pn,enabled:!1},ca={bold:Xe,red:_t,green:rn,dim:tn,enabled:!0},Jt={write(e){e.writeLine(",")}};d();p();f();var Be=class{constructor(t){this.contents=t;this.isUnderlined=!1;this.color=t=>t}underline(){return this.isUnderlined=!0,this}setColor(t){return this.color=t,this}write(t){let r=t.getCurrentLineLength();t.write(this.color(this.contents)),this.isUnderlined&&t.afterNextNewline(()=>{t.write(" ".repeat(r)).writeLine(this.color("~".repeat(this.contents.length)))})}};d();p();f();var ut=class{constructor(){this.hasError=!1}markAsError(){return this.hasError=!0,this}};var Qt=class extends ut{constructor(){super(...arguments);this.items=[]}addItem(r){return this.items.push(new En(r)),this}getField(r){return this.items[r]}getPrintWidth(){return this.items.length===0?2:Math.max(...this.items.map(n=>n.value.getPrintWidth()))+2}write(r){if(this.items.length===0){this.writeEmpty(r);return}this.writeWithItems(r)}writeEmpty(r){let n=new Be("[]");this.hasError&&n.setColor(r.context.colors.red).underline(),r.write(n)}writeWithItems(r){let{colors:n}=r.context;r.writeLine("[").withIndent(()=>r.writeJoined(Jt,this.items).newLine()).write("]"),this.hasError&&r.afterNextNewline(()=>{r.writeLine(n.red("~".repeat(this.getPrintWidth())))})}};d();p();f();var pa=": ",An=class{constructor(t,r){this.name=t;this.value=r;this.hasError=!1}markAsError(){this.hasError=!0}getPrintWidth(){return this.name.length+this.value.getPrintWidth()+pa.length}write(t){let r=new Be(this.name);this.hasError&&r.underline().setColor(t.context.colors.red),t.write(r).write(pa).write(this.value)}};d();p();f();var re=class e extends ut{constructor(){super(...arguments);this.fields={};this.suggestions=[]}addField(r){this.fields[r.name]=r}addSuggestion(r){this.suggestions.push(r)}getField(r){return this.fields[r]}getDeepField(r){let[n,...o]=r,i=this.getField(n);if(!i)return;let s=i;for(let a of o){let u;if(s.value instanceof e?u=s.value.getField(a):s.value instanceof Qt&&(u=s.value.getField(Number(a))),!u)return;s=u}return s}getDeepFieldValue(r){var n;return r.length===0?this:(n=this.getDeepField(r))==null?void 0:n.value}hasField(r){return!!this.getField(r)}removeAllFields(){this.fields={}}removeField(r){delete this.fields[r]}getFields(){return this.fields}isEmpty(){return Object.keys(this.fields).length===0}getFieldValue(r){var n;return(n=this.getField(r))==null?void 0:n.value}getDeepSubSelectionValue(r){let n=this;for(let o of r){if(!(n instanceof e))return;let i=n.getSubSelectionValue(o);if(!i)return;n=i}return n}getDeepSelectionParent(r){let n=this.getSelectionParent();if(!n)return;let o=n;for(let i of r){let s=o.value.getFieldValue(i);if(!s||!(s instanceof e))return;let a=s.getSelectionParent();if(!a)return;o=a}return o}getSelectionParent(){let r=this.getField("select");if((r==null?void 0:r.value)instanceof e)return{kind:"select",value:r.value};let n=this.getField("include");if((n==null?void 0:n.value)instanceof e)return{kind:"include",value:n.value}}getSubSelectionValue(r){var n;return(n=this.getSelectionParent())==null?void 0:n.value.fields[r].value}getPrintWidth(){let r=Object.values(this.fields);return r.length==0?2:Math.max(...r.map(o=>o.getPrintWidth()))+2}write(r){let n=Object.values(this.fields);if(n.length===0&&this.suggestions.length===0){this.writeEmpty(r);return}this.writeWithContents(r,n)}writeEmpty(r){let n=new Be("{}");this.hasError&&n.setColor(r.context.colors.red).underline(),r.write(n)}writeWithContents(r,n){r.writeLine("{").withIndent(()=>{r.writeJoined(Jt,[...n,...this.suggestions]).newLine()}),r.write("}"),this.hasError&&r.afterNextNewline(()=>{r.writeLine(r.context.colors.red("~".repeat(this.getPrintWidth())))})}};d();p();f();var ne=class extends ut{constructor(r){super();this.text=r}getPrintWidth(){return this.text.length}write(r){let n=new Be(this.text);this.hasError&&n.underline().setColor(r.context.colors.red),r.write(n)}};var jo=class{constructor(t){this.errorMessages=[];this.arguments=t}write(t){t.write(this.arguments)}addErrorMessage(t){this.errorMessages.push(t)}renderAllMessages(t){return this.errorMessages.map(r=>r(t)).join(` +`)}};function Tn(e){return new jo(fa(e))}function fa(e){let t=new re;for(let[r,n]of Object.entries(e)){let o=new An(r,da(n));t.addField(o)}return t}function da(e){if(typeof e=="string")return new ne(JSON.stringify(e));if(typeof e=="number"||typeof e=="boolean")return new ne(String(e));if(typeof e=="bigint")return new ne(`${e}n`);if(e===null)return new ne("null");if(e===void 0)return new ne("undefined");if(Kt(e))return new ne(`new Prisma.Decimal("${e.toFixed()}")`);if(e instanceof Uint8Array)return x.Buffer.isBuffer(e)?new ne(`Buffer.alloc(${e.byteLength})`):new ne(`new Uint8Array(${e.byteLength})`);if(e instanceof Date){let t=dn(e)?e.toISOString():"Invalid Date";return new ne(`new Date("${t}")`)}return e instanceof qe?new ne(`Prisma.${e._getName()}`):Gt(e)?new ne(`prisma.${Qi(e.modelName)}.$fields.${e.name}`):Array.isArray(e)?Wp(e):typeof e=="object"?fa(e):new ne(Object.prototype.toString.call(e))}function Wp(e){let t=new Qt;for(let r of e)t.addItem(da(r));return t}function ma(e){if(e===void 0)return"";let t=Tn(e);return new Ut(0,{colors:vn}).write(t).toString()}d();p();f();d();p();f();d();p();f();d();p();f();d();p();f();var yr="";function ga(e){var t=e.split(` +`);return t.reduce(function(r,n){var o=Zp(n)||Xp(n)||rf(n)||af(n)||of(n);return o&&r.push(o),r},[])}var Hp=/^\s*at (.*?) ?\(((?:file|https?|blob|chrome-extension|native|eval|webpack||\/|[a-z]:\\|\\\\).*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,zp=/\((\S*)(?::(\d+))(?::(\d+))\)/;function Zp(e){var t=Hp.exec(e);if(!t)return null;var r=t[2]&&t[2].indexOf("native")===0,n=t[2]&&t[2].indexOf("eval")===0,o=zp.exec(t[2]);return n&&o!=null&&(t[2]=o[1],t[3]=o[2],t[4]=o[3]),{file:r?null:t[2],methodName:t[1]||yr,arguments:r?[t[2]]:[],lineNumber:t[3]?+t[3]:null,column:t[4]?+t[4]:null}}var Yp=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i;function Xp(e){var t=Yp.exec(e);return t?{file:t[2],methodName:t[1]||yr,arguments:[],lineNumber:+t[3],column:t[4]?+t[4]:null}:null}var ef=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)((?:file|https?|blob|chrome|webpack|resource|\[native).*?|[^@]*bundle)(?::(\d+))?(?::(\d+))?\s*$/i,tf=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i;function rf(e){var t=ef.exec(e);if(!t)return null;var r=t[3]&&t[3].indexOf(" > eval")>-1,n=tf.exec(t[3]);return r&&n!=null&&(t[3]=n[1],t[4]=n[2],t[5]=null),{file:t[3],methodName:t[1]||yr,arguments:t[2]?t[2].split(","):[],lineNumber:t[4]?+t[4]:null,column:t[5]?+t[5]:null}}var nf=/^\s*(?:([^@]*)(?:\((.*?)\))?@)?(\S.*?):(\d+)(?::(\d+))?\s*$/i;function of(e){var t=nf.exec(e);return t?{file:t[3],methodName:t[1]||yr,arguments:[],lineNumber:+t[4],column:t[5]?+t[5]:null}:null}var sf=/^\s*at (?:((?:\[object object\])?[^\\/]+(?: \[as \S+\])?) )?\(?(.*?):(\d+)(?::(\d+))?\)?\s*$/i;function af(e){var t=sf.exec(e);return t?{file:t[2],methodName:t[1]||yr,arguments:[],lineNumber:+t[3],column:t[4]?+t[4]:null}:null}var Uo=class{getLocation(){return null}},$o=class{constructor(){this._error=new Error}getLocation(){let t=this._error.stack;if(!t)return null;let n=ga(t).find(o=>{if(!o.file)return!1;let i=vo(o.file);return i!==""&&!i.includes("@prisma")&&!i.includes("/packages/client/src/runtime/")&&!i.endsWith("/runtime/binary.js")&&!i.endsWith("/runtime/library.js")&&!i.endsWith("/runtime/edge.js")&&!i.endsWith("/runtime/edge-esm.js")&&!i.startsWith("internal/")&&!o.methodName.includes("new ")&&!o.methodName.includes("getCallSite")&&!o.methodName.includes("Proxy.")&&o.methodName.split(".").length<4});return!n||!n.file?null:{fileName:n.file,lineNumber:n.lineNumber,columnNumber:n.column}}};function lt(e){return e==="minimal"?new Uo:new $o}d();p();f();d();p();f();d();p();f();var ya={_avg:!0,_count:!0,_sum:!0,_min:!0,_max:!0};function Wt(e={}){let t=lf(e);return Object.entries(t).reduce((n,[o,i])=>(ya[o]!==void 0?n.select[o]={select:i}:n[o]=i,n),{select:{}})}function lf(e={}){return typeof e._count=="boolean"?{...e,_count:{_all:e._count}}:e}function Cn(e={}){return t=>(typeof e._count=="boolean"&&(t._count=t._count._all),t)}function ha(e,t){let r=Cn(e);return t({action:"aggregate",unpacker:r,argsMapper:Wt})(e)}d();p();f();function cf(e={}){let{select:t,...r}=e;return typeof t=="object"?Wt({...r,_count:t}):Wt({...r,_count:{_all:!0}})}function pf(e={}){return typeof e.select=="object"?t=>Cn(e)(t)._count:t=>Cn(e)(t)._count._all}function xa(e,t){return t({action:"count",unpacker:pf(e),argsMapper:cf})(e)}d();p();f();function ff(e={}){let t=Wt(e);if(Array.isArray(t.by))for(let r of t.by)typeof r=="string"&&(t.select[r]=!0);else typeof t.by=="string"&&(t.select[t.by]=!0);return t}function df(e={}){return t=>(typeof(e==null?void 0:e._count)=="boolean"&&t.forEach(r=>{r._count=r._count._all}),t)}function ba(e,t){return t({action:"groupBy",unpacker:df(e),argsMapper:ff})(e)}function wa(e,t,r){if(t==="aggregate")return n=>ha(n,r);if(t==="count")return n=>xa(n,r);if(t==="groupBy")return n=>ba(n,r)}d();p();f();function Ea(e,t){let r=t.fields.filter(o=>!o.relationName),n=Mo(r,o=>o.name);return new Proxy({},{get(o,i){if(i in o||typeof i=="symbol")return o[i];let s=n[i];if(s)return new gr(e,i,s.type,s.isList,s.kind==="enum")},...fn(Object.keys(n))})}d();p();f();d();p();f();var Pa=e=>Array.isArray(e)?e:e.split("."),qo=(e,t)=>Pa(t).reduce((r,n)=>r&&r[n],e),va=(e,t,r)=>Pa(t).reduceRight((n,o,i,s)=>Object.assign({},qo(e,s.slice(0,i)),{[o]:n}),r);function mf(e,t){return e===void 0||t===void 0?[]:[...t,"select",e]}function gf(e,t,r){return t===void 0?e!=null?e:{}:va(t,r,e||!0)}function Vo(e,t,r,n,o,i){let a=e._runtimeDataModel.models[t].fields.reduce((u,l)=>({...u,[l.name]:l}),{});return u=>{let l=lt(e._errorFormat),c=mf(n,o),m=gf(u,i,c),g=r({dataPath:c,callsite:l})(m),w=yf(e,t);return new Proxy(g,{get(E,b){if(!w.includes(b))return E[b];let S=[a[b].type,r,b],R=[c,m];return Vo(e,...S,...R)},...fn([...w,...Object.getOwnPropertyNames(g)])})}}function yf(e,t){return e._runtimeDataModel.models[t].fields.filter(r=>r.kind==="object").map(r=>r.name)}d();p();f();d();p();f();var Sa=Pe(_s());d();p();f();wo();d();p();f();d();p();f();d();p();f();var Aa={keyword:et,entity:et,value:e=>Xe(Nt(e)),punctuation:Nt,directive:et,function:et,variable:e=>Xe(Nt(e)),string:e=>Xe(rn(e)),boolean:nn,number:et,comment:on};var hf=e=>e,Mn={},xf=0,_={manual:Mn.Prism&&Mn.Prism.manual,disableWorkerMessageHandler:Mn.Prism&&Mn.Prism.disableWorkerMessageHandler,util:{encode:function(e){if(e instanceof Fe){let t=e;return new Fe(t.type,_.util.encode(t.content),t.alias)}else return Array.isArray(e)?e.map(_.util.encode):e.replace(/&/g,"&").replace(/e.length)return;if(we instanceof Fe)continue;if(N&&V!=t.length-1){R.lastIndex=H;var m=R.exec(e);if(!m)break;var c=m.index+(M?m[1].length:0),g=m.index+m[0].length,a=V,u=H;for(let O=t.length;a=u&&(++V,H=u);if(t[V]instanceof Fe)continue;l=a-V,we=e.slice(H,u),m.index-=H}else{R.lastIndex=0;var m=R.exec(we),l=1}if(!m){if(i)break;continue}M&&(L=m[1]?m[1].length:0);var c=m.index+L,m=m[0].slice(L),g=c+m.length,w=we.slice(0,c),E=we.slice(g);let z=[V,l];w&&(++V,H+=w.length,z.push(w));let Ee=new Fe(b,C?_.tokenize(m,C):m,Te,m,N);if(z.push(Ee),E&&z.push(E),Array.prototype.splice.apply(t,z),l!=1&&_.matchGrammar(e,t,r,V,H,!0,b),i)break}}}},tokenize:function(e,t){let r=[e],n=t.rest;if(n){for(let o in n)t[o]=n[o];delete t.rest}return _.matchGrammar(e,r,t,0,0,!1),r},hooks:{all:{},add:function(e,t){let r=_.hooks.all;r[e]=r[e]||[],r[e].push(t)},run:function(e,t){let r=_.hooks.all[e];if(!(!r||!r.length))for(var n=0,o;o=r[n++];)o(t)}},Token:Fe};_.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/((?:\b(?:class|interface|extends|implements|trait|instanceof|new)\s+)|(?:catch\s+\())[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:if|else|while|do|for|return|in|instanceof|function|new|try|throw|catch|finally|null|break|continue)\b/,boolean:/\b(?:true|false)\b/,function:/\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+\.?\d*|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/--?|\+\+?|!=?=?|<=?|>=?|==?=?|&&?|\|\|?|\?|\*|\/|~|\^|%/,punctuation:/[{}[\];(),.:]/};_.languages.javascript=_.languages.extend("clike",{"class-name":[_.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])[_$A-Z\xA0-\uFFFF][$\w\xA0-\uFFFF]*(?=\.(?:prototype|constructor))/,lookbehind:!0}],keyword:[{pattern:/((?:^|})\s*)(?:catch|finally)\b/,lookbehind:!0},{pattern:/(^|[^.])\b(?:as|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],number:/\b(?:(?:0[xX](?:[\dA-Fa-f](?:_[\dA-Fa-f])?)+|0[bB](?:[01](?:_[01])?)+|0[oO](?:[0-7](?:_[0-7])?)+)n?|(?:\d(?:_\d)?)+n|NaN|Infinity)\b|(?:\b(?:\d(?:_\d)?)+\.?(?:\d(?:_\d)?)*|\B\.(?:\d(?:_\d)?)+)(?:[Ee][+-]?(?:\d(?:_\d)?)+)?/,function:/[_$a-zA-Z\xA0-\uFFFF][$\w\xA0-\uFFFF]*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,operator:/-[-=]?|\+[+=]?|!=?=?|<>?>?=?|=(?:==?|>)?|&[&=]?|\|[|=]?|\*\*?=?|\/=?|~|\^=?|%=?|\?|\.{3}/});_.languages.javascript["class-name"][0].pattern=/(\b(?:class|interface|extends|implements|instanceof|new)\s+)[\w.\\]+/;_.languages.insertBefore("javascript","keyword",{regex:{pattern:/((?:^|[^$\w\xA0-\uFFFF."'\])\s])\s*)\/(\[(?:[^\]\\\r\n]|\\.)*]|\\.|[^/\\\[\r\n])+\/[gimyus]{0,6}(?=\s*($|[\r\n,.;})\]]))/,lookbehind:!0,greedy:!0},"function-variable":{pattern:/[_$a-zA-Z\xA0-\uFFFF][$\w\xA0-\uFFFF]*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|[_$a-zA-Z\xA0-\uFFFF][$\w\xA0-\uFFFF]*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+[_$A-Za-z\xA0-\uFFFF][$\w\xA0-\uFFFF]*)?\s*\(\s*)(?!\s)(?:[^()]|\([^()]*\))+?(?=\s*\))/,lookbehind:!0,inside:_.languages.javascript},{pattern:/[_$a-z\xA0-\uFFFF][$\w\xA0-\uFFFF]*(?=\s*=>)/i,inside:_.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()]|\([^()]*\))+?(?=\s*\)\s*=>)/,lookbehind:!0,inside:_.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:[_$A-Za-z\xA0-\uFFFF][$\w\xA0-\uFFFF]*\s*)\(\s*)(?!\s)(?:[^()]|\([^()]*\))+?(?=\s*\)\s*\{)/,lookbehind:!0,inside:_.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/});_.languages.markup&&_.languages.markup.tag.addInlined("script","javascript");_.languages.js=_.languages.javascript;_.languages.typescript=_.languages.extend("javascript",{keyword:/\b(?:abstract|as|async|await|break|case|catch|class|const|constructor|continue|debugger|declare|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|is|keyof|let|module|namespace|new|null|of|package|private|protected|public|readonly|return|require|set|static|super|switch|this|throw|try|type|typeof|var|void|while|with|yield)\b/,builtin:/\b(?:string|Function|any|number|boolean|Array|symbol|console|Promise|unknown|never)\b/});_.languages.ts=_.languages.typescript;function Fe(e,t,r,n,o){this.type=e,this.content=t,this.alias=r,this.length=(n||"").length|0,this.greedy=!!o}Fe.stringify=function(e,t){return typeof e=="string"?e:Array.isArray(e)?e.map(function(r){return Fe.stringify(r,t)}).join(""):bf(e.type)(e.content)};function bf(e){return Aa[e]||hf}function Ta(e){return wf(e,_.languages.javascript)}function wf(e,t){return _.tokenize(e,t).map(n=>Fe.stringify(n)).join("")}d();p();f();var Ca=Pe(Fs());function Ma(e){return(0,Ca.default)(e)}var Sn=class e{static read(t){let r;try{r=sn.readFileSync(t,"utf-8")}catch(n){return null}return e.fromContent(r)}static fromContent(t){let r=t.split(/\r?\n/);return new e(1,r)}constructor(t,r){this.firstLineNumber=t,this.lines=r}get lastLineNumber(){return this.firstLineNumber+this.lines.length-1}mapLineAt(t,r){if(tthis.lines.length+this.firstLineNumber)return this;let n=t-this.firstLineNumber,o=[...this.lines];return o[n]=r(o[n]),new e(this.firstLineNumber,o)}mapLines(t){return new e(this.firstLineNumber,this.lines.map((r,n)=>t(r,this.firstLineNumber+n)))}lineAt(t){return this.lines[t-this.firstLineNumber]}prependSymbolAt(t,r){return this.mapLines((n,o)=>o===t?`${r} ${n}`:` ${n}`)}slice(t,r){let n=this.lines.slice(t-1,r).join(` +`);return new e(t,Ma(n).split(` +`))}highlight(){let t=Ta(this.toString());return new e(this.firstLineNumber,t.split(` +`))}toString(){return this.lines.join(` +`)}};var Ef={red:_t,gray:on,dim:tn,bold:Xe,underline:As,highlightSource:e=>e.highlight()},Pf={red:e=>e,gray:e=>e,dim:e=>e,bold:e=>e,underline:e=>e,highlightSource:e=>e};function vf({callsite:e,message:t,originalMethod:r,isPanic:n,callArguments:o},i){var m;let s={functionName:`prisma.${r}()`,message:t,isPanic:n!=null?n:!1,callArguments:o};if(!e||typeof window!="undefined"||y.env.NODE_ENV==="production")return s;let a=e.getLocation();if(!a||!a.lineNumber||!a.columnNumber)return s;let u=Math.max(1,a.lineNumber-3),l=(m=Sn.read(a.fileName))==null?void 0:m.slice(u,a.lineNumber),c=l==null?void 0:l.lineAt(a.lineNumber);if(l&&c){let g=Tf(c),w=Af(c);if(!w)return s;s.functionName=`${w.code})`,s.location=a,n||(l=l.mapLineAt(a.lineNumber,b=>b.slice(0,w.openingBraceIndex))),l=i.highlightSource(l);let E=String(l.lastLineNumber).length;if(s.contextLines=l.mapLines((b,T)=>i.gray(String(T).padStart(E))+" "+b).mapLines(b=>i.dim(b)).prependSymbolAt(a.lineNumber,i.bold(i.red("\u2192"))),o){let b=g+E+1;b+=2,s.callArguments=(0,Sa.default)(o,b).slice(b)}}return s}function Af(e){let t=Object.keys(Me.ModelAction).join("|"),n=new RegExp(String.raw`\.(${t})\(`).exec(e);if(n){let o=n.index+n[0].length,i=e.lastIndexOf(" ",n.index)+1;return{code:e.slice(i,o),openingBraceIndex:o}}return null}function Tf(e){let t=0;for(let r=0;r{if("rejectOnNotFound"in n.args){let i=Ht({originalMethod:n.clientMethod,callsite:n.callsite,message:"'rejectOnNotFound' option is not supported"});throw new me(i,{clientVersion:t})}return await r(n).catch(i=>{throw i instanceof de&&i.code==="P2025"?new tt(`No ${e} found`,t):i})}}d();p();f();function je(e){return e.replace(/^./,t=>t.toLowerCase())}var Rf=["findUnique","findUniqueOrThrow","findFirst","findFirstOrThrow","create","update","upsert","delete"],Of=["aggregate","count","groupBy"];function Ko(e,t){var o;let r=(o=e._extensions.getAllModelExtensions(t))!=null?o:{},n=[Ff(e,t),kf(e,t),fr(r),ge("name",()=>t),ge("$name",()=>t),ge("$parent",()=>e._appliedParent)];return Ne({},n)}function Ff(e,t){let r=je(t),n=Object.keys(Me.ModelAction).concat("count");return{getKeys(){return n},getPropertyValue(o){let i=o,s=u=>e._request(u);s=Ra(i,t,e._clientVersion,s);let a=u=>l=>{let c=lt(e._errorFormat);return e._createPrismaPromise(m=>{let g={args:l,dataPath:[],action:i,model:t,clientMethod:`${r}.${o}`,jsModelName:r,transaction:m,callsite:c};return s({...g,...u})})};return Rf.includes(i)?Vo(e,t,a):If(o)?wa(e,o,a):a({})}}}function If(e){return Of.includes(e)}function kf(e,t){return bt(ge("fields",()=>{let r=e._runtimeDataModel.models[t];return Ea(t,r)}))}d();p();f();function Oa(e){return e.replace(/^./,t=>t.toUpperCase())}var Go=Symbol();function hr(e){let t=[Df(e),ge(Go,()=>e),ge("$parent",()=>e._appliedParent)],r=e._extensions.getAllClientExtensions();return r&&t.push(fr(r)),Ne(e,t)}function Df(e){let t=Object.keys(e._runtimeDataModel.models),r=t.map(je),n=[...new Set(t.concat(r))];return bt({getKeys(){return n},getPropertyValue(o){let i=Oa(o);if(e._runtimeDataModel.models[i]!==void 0)return Ko(e,i);if(e._runtimeDataModel.models[o]!==void 0)return Ko(e,o)},getPropertyDescriptor(o){if(!r.includes(o))return{enumerable:!1}}})}function Rn(e){return e[Go]?e[Go]:e}function Fa(e){if(typeof e=="function")return e(this);let t=Rn(this),r=Object.create(t,{_extensions:{value:this._extensions.append(e)},_appliedParent:{value:this,configurable:!0},$use:{value:void 0},$on:{value:void 0}});return hr(r)}d();p();f();d();p();f();function Ia({result:e,modelName:t,select:r,extensions:n}){let o=n.getAllComputedFields(t);if(!o)return e;let i=[],s=[];for(let a of Object.values(o)){if(r){if(!r[a.name])continue;let u=a.needs.filter(l=>!r[l]);u.length>0&&s.push(dr(u))}_f(e,a.needs)&&i.push(Nf(a,Ne(e,i)))}return i.length>0||s.length>0?Ne(e,[...i,...s]):e}function _f(e,t){return t.every(r=>Co(e,r))}function Nf(e,t){return bt(ge(e.name,()=>e.compute(t)))}d();p();f();function On({visitor:e,result:t,args:r,runtimeDataModel:n,modelName:o}){var s;if(Array.isArray(t)){for(let a=0;ac.name===i);if(!u||u.kind!=="object"||!u.relationName)continue;let l=typeof s=="object"?s:{};t[i]=On({visitor:o,result:t[i],args:l,modelName:u.type,runtimeDataModel:n})}}function Da({result:e,modelName:t,args:r,extensions:n,runtimeDataModel:o}){return n.isEmpty()||e==null||typeof e!="object"||!o.models[t]?e:On({result:e,args:r!=null?r:{},modelName:t,runtimeDataModel:o,visitor:(s,a,u)=>Ia({result:s,modelName:je(a),select:u.select,extensions:n})})}d();p();f();d();p();f();function _a(e){if(e instanceof Ae)return Lf(e);if(Array.isArray(e)){let r=[e[0]];for(let n=1;n{var s,a;let i=t.customDataProxyFetch;return"transaction"in t&&o!==void 0&&(((s=t.transaction)==null?void 0:s.kind)==="batch"&&t.transaction.lock.then(),t.transaction=o),n===r.length?e._executeRequest(t):r[n]({model:t.model,operation:t.model?t.action:t.clientMethod,args:_a((a=t.args)!=null?a:{}),__internalParams:t,query:(u,l=t)=>{let c=l.customDataProxyFetch;return l.customDataProxyFetch=$a(i,c),l.args=u,La(e,l,r,n+1)}})})}function Ba(e,t){let{jsModelName:r,action:n,clientMethod:o}=t,i=r?n:o;if(e._extensions.isEmpty())return e._executeRequest(t);let s=e._extensions.getAllQueryCallbacks(r!=null?r:"$none",i);return La(e,t,s)}function ja(e){return t=>{let r={requests:t},n=t[0].extensions.getAllBatchQueryCallbacks();return n.length?Ua(r,n,0,e):e(r)}}function Ua(e,t,r,n){if(r===t.length)return n(e);let o=e.customDataProxyFetch,i=e.requests[0].transaction;return t[r]({args:{queries:e.requests.map(s=>({model:s.modelName,operation:s.action,args:s.args})),transaction:i?{isolationLevel:i.kind==="batch"?i.isolationLevel:void 0}:void 0},__internalParams:e,query(s,a=e){let u=a.customDataProxyFetch;return a.customDataProxyFetch=$a(o,u),Ua(a,t,r+1,n)}})}var Na=e=>e;function $a(e=Na,t=Na){return r=>e(t(r))}d();p();f();d();p();f();function Va(e,t,r){let n=je(r);return!t.result||!(t.result.$allModels||t.result[n])?e:Bf({...e,...qa(t.name,e,t.result.$allModels),...qa(t.name,e,t.result[n])})}function Bf(e){let t=new _e,r=(n,o)=>t.getOrCreate(n,()=>o.has(n)?[n]:(o.add(n),e[n]?e[n].needs.flatMap(i=>r(i,o)):[n]));return jt(e,n=>({...n,needs:r(n.name,new Set)}))}function qa(e,t,r){return r?jt(r,({needs:n,compute:o},i)=>({name:i,needs:n?Object.keys(n).filter(s=>n[s]):[],compute:jf(t,i,o)})):{}}function jf(e,t,r){var o;let n=(o=e==null?void 0:e[t])==null?void 0:o.compute;return n?i=>r({...i,[t]:n(i)}):r}function Ka(e,t){if(!t)return e;let r={...e};for(let n of Object.values(t))if(e[n.name])for(let o of n.needs)r[o]=!0;return r}var Fn=class{constructor(t,r){this.extension=t;this.previous=r;this.computedFieldsCache=new _e;this.modelExtensionsCache=new _e;this.queryCallbacksCache=new _e;this.clientExtensions=ar(()=>{var t,r;return this.extension.client?{...(r=this.previous)==null?void 0:r.getAllClientExtensions(),...this.extension.client}:(t=this.previous)==null?void 0:t.getAllClientExtensions()});this.batchCallbacks=ar(()=>{var n,o,i;let t=(o=(n=this.previous)==null?void 0:n.getAllBatchQueryCallbacks())!=null?o:[],r=(i=this.extension.query)==null?void 0:i.$__internalBatch;return r?t.concat(r):t})}getAllComputedFields(t){return this.computedFieldsCache.getOrCreate(t,()=>{var r;return Va((r=this.previous)==null?void 0:r.getAllComputedFields(t),this.extension,t)})}getAllClientExtensions(){return this.clientExtensions.get()}getAllModelExtensions(t){return this.modelExtensionsCache.getOrCreate(t,()=>{var n,o;let r=je(t);return!this.extension.model||!(this.extension.model[r]||this.extension.model.$allModels)?(n=this.previous)==null?void 0:n.getAllModelExtensions(t):{...(o=this.previous)==null?void 0:o.getAllModelExtensions(t),...this.extension.model.$allModels,...this.extension.model[r]}})}getAllQueryCallbacks(t,r){return this.queryCallbacksCache.getOrCreate(`${t}:${r}`,()=>{var s,a;let n=(a=(s=this.previous)==null?void 0:s.getAllQueryCallbacks(t,r))!=null?a:[],o=[],i=this.extension.query;return!i||!(i[t]||i.$allModels||i[r]||i.$allOperations)?n:(i[t]!==void 0&&(i[t][r]!==void 0&&o.push(i[t][r]),i[t].$allOperations!==void 0&&o.push(i[t].$allOperations)),t!=="$none"&&i.$allModels!==void 0&&(i.$allModels[r]!==void 0&&o.push(i.$allModels[r]),i.$allModels.$allOperations!==void 0&&o.push(i.$allModels.$allOperations)),i[r]!==void 0&&o.push(i[r]),i.$allOperations!==void 0&&o.push(i.$allOperations),n.concat(o))})}getAllBatchQueryCallbacks(){return this.batchCallbacks.get()}},In=class e{constructor(t){this.head=t}static empty(){return new e}static single(t){return new e(new Fn(t))}isEmpty(){return this.head===void 0}append(t){return new e(new Fn(t,this.head))}getAllComputedFields(t){var r;return(r=this.head)==null?void 0:r.getAllComputedFields(t)}getAllClientExtensions(){var t;return(t=this.head)==null?void 0:t.getAllClientExtensions()}getAllModelExtensions(t){var r;return(r=this.head)==null?void 0:r.getAllModelExtensions(t)}getAllQueryCallbacks(t,r){var n,o;return(o=(n=this.head)==null?void 0:n.getAllQueryCallbacks(t,r))!=null?o:[]}getAllBatchQueryCallbacks(){var t,r;return(r=(t=this.head)==null?void 0:t.getAllBatchQueryCallbacks())!=null?r:[]}};d();p();f();var Ga=he("prisma:client"),Ja={Vercel:"vercel","Netlify CI":"netlify"};function Qa({postinstall:e,ciName:t,clientVersion:r}){if(Ga("checkPlatformCaching:postinstall",e),Ga("checkPlatformCaching:ciName",t),e===!0&&t&&t in Ja){let n=`Prisma has detected that this project was built on ${t}, which caches dependencies. This leads to an outdated Prisma Client because Prisma's auto-generation isn't triggered. To fix this, make sure to run the \`prisma generate\` command during the build process. + +Learn how: https://pris.ly/d/${Ja[t]}-build`;throw console.error(n),new ae(n,r)}}d();p();f();function Wa(e,t){return e?e.datasources?e.datasources:e.datasourceUrl?{[t[0]]:{url:e.datasourceUrl}}:{}:{}}d();p();f();d();p();f();d();p();f();function Jo({error:e,user_facing_error:t},r){return t.error_code?new de(t.message,{code:t.error_code,clientVersion:r,meta:t.meta,batchRequestIdx:t.batch_request_idx}):new Se(e,{clientVersion:r,batchRequestIdx:t.batch_request_idx})}d();p();f();var kn=class{};d();p();f();function Ha(e,t){return{batch:e,transaction:(t==null?void 0:t.kind)==="batch"?{isolationLevel:t.options.isolationLevel}:void 0}}d();p();f();d();p();f();d();p();f();var Uf="Cloudflare-Workers",$f="node";function za(){var e,t,r;return typeof Netlify=="object"?"netlify":typeof EdgeRuntime=="string"?"edge-light":((e=globalThis.navigator)==null?void 0:e.userAgent)===Uf?"workerd":globalThis.Deno?"deno":globalThis.__lagon__?"lagon":((r=(t=globalThis.process)==null?void 0:t.release)==null?void 0:r.name)===$f?"node":globalThis.Bun?"bun":globalThis.fastly?"fastly":"unknown"}function Dn({inlineDatasources:e,overrideDatasources:t,env:r,clientVersion:n}){var u,l;let o,i=Object.keys(e)[0],s=(u=e[i])==null?void 0:u.url,a=(l=t[i])==null?void 0:l.url;if(i===void 0?o=void 0:a?o=a:s!=null&&s.value?o=s.value:s!=null&&s.fromEnvVar&&(o=r[s.fromEnvVar]),(s==null?void 0:s.fromEnvVar)!==void 0&&o===void 0)throw za()==="workerd"?new ae(`error: Environment variable not found: ${s.fromEnvVar}. + +In Cloudflare module Workers, environment variables are available only in the Worker's \`env\` parameter of \`fetch\`. +To solve this, provide the connection string directly: https://pris.ly/d/cloudflare-datasource-url`,n):new ae(`error: Environment variable not found: ${s.fromEnvVar}.`,n);if(o===void 0)throw new ae("error: Missing URL environment variable, value, or override.",n);return o}d();p();f();d();p();f();var _n=class extends Error{constructor(r,n){super(r);this.clientVersion=n.clientVersion,this.cause=n.cause}get[Symbol.toStringTag](){return this.name}};var be=class extends _n{constructor(r,n){var o;super(r,n);this.isRetryable=(o=n.isRetryable)!=null?o:!0}};d();p();f();d();p();f();function q(e,t){return{...e,isRetryable:t}}var zt=class extends be{constructor(r){super("This request must be retried",q(r,!0));this.name="ForcedRetryError";this.code="P5001"}};k(zt,"ForcedRetryError");d();p();f();var Et=class extends be{constructor(r,n){super(r,q(n,!1));this.name="InvalidDatasourceError";this.code="P5002"}};k(Et,"InvalidDatasourceError");d();p();f();var Pt=class extends be{constructor(r,n){super(r,q(n,!1));this.name="NotImplementedYetError";this.code="P5004"}};k(Pt,"NotImplementedYetError");d();p();f();d();p();f();var J=class extends be{constructor(r,n){super(r,n);this.response=n.response;let o=this.response.headers.get("prisma-request-id");if(o){let i=`(The request id was: ${o})`;this.message=this.message+" "+i}}};var vt=class extends J{constructor(r){super("Schema needs to be uploaded",q(r,!0));this.name="SchemaMissingError";this.code="P5005"}};k(vt,"SchemaMissingError");d();p();f();d();p();f();var Qo="This request could not be understood by the server",br=class extends J{constructor(r,n,o){super(n||Qo,q(r,!1));this.name="BadRequestError";this.code="P5000";o&&(this.code=o)}};k(br,"BadRequestError");d();p();f();var wr=class extends J{constructor(r,n){super("Engine not started: healthcheck timeout",q(r,!0));this.name="HealthcheckTimeoutError";this.code="P5013";this.logs=n}};k(wr,"HealthcheckTimeoutError");d();p();f();var Er=class extends J{constructor(r,n,o){super(n,q(r,!0));this.name="EngineStartupError";this.code="P5014";this.logs=o}};k(Er,"EngineStartupError");d();p();f();var Pr=class extends J{constructor(r){super("Engine version is not supported",q(r,!1));this.name="EngineVersionNotSupportedError";this.code="P5012"}};k(Pr,"EngineVersionNotSupportedError");d();p();f();var Wo="Request timed out",vr=class extends J{constructor(r,n=Wo){super(n,q(r,!1));this.name="GatewayTimeoutError";this.code="P5009"}};k(vr,"GatewayTimeoutError");d();p();f();var qf="Interactive transaction error",Ar=class extends J{constructor(r,n=qf){super(n,q(r,!1));this.name="InteractiveTransactionError";this.code="P5015"}};k(Ar,"InteractiveTransactionError");d();p();f();var Vf="Request parameters are invalid",Tr=class extends J{constructor(r,n=Vf){super(n,q(r,!1));this.name="InvalidRequestError";this.code="P5011"}};k(Tr,"InvalidRequestError");d();p();f();var Ho="Requested resource does not exist",Cr=class extends J{constructor(r,n=Ho){super(n,q(r,!1));this.name="NotFoundError";this.code="P5003"}};k(Cr,"NotFoundError");d();p();f();var zo="Unknown server error",Zt=class extends J{constructor(r,n,o){super(n||zo,q(r,!0));this.name="ServerError";this.code="P5006";this.logs=o}};k(Zt,"ServerError");d();p();f();var Zo="Unauthorized, check your connection string",Mr=class extends J{constructor(r,n=Zo){super(n,q(r,!1));this.name="UnauthorizedError";this.code="P5007"}};k(Mr,"UnauthorizedError");d();p();f();var Yo="Usage exceeded, retry again later",Sr=class extends J{constructor(r,n=Yo){super(n,q(r,!0));this.name="UsageExceededError";this.code="P5008"}};k(Sr,"UsageExceededError");async function Kf(e){let t;try{t=await e.text()}catch(r){return{type:"EmptyError"}}try{let r=JSON.parse(t);if(typeof r=="string")switch(r){case"InternalDataProxyError":return{type:"DataProxyError",body:r};default:return{type:"UnknownTextError",body:r}}if(typeof r=="object"&&r!==null){if("is_panic"in r&&"message"in r&&"error_code"in r)return{type:"QueryEngineError",body:r};if("EngineNotStarted"in r||"InteractiveTransactionMisrouted"in r||"InvalidRequestError"in r){let n=Object.values(r)[0].reason;return typeof n=="string"&&!["SchemaMissing","EngineVersionNotSupported"].includes(n)?{type:"UnknownJsonError",body:r}:{type:"DataProxyError",body:r}}}return{type:"UnknownJsonError",body:r}}catch(r){return t===""?{type:"EmptyError"}:{type:"UnknownTextError",body:t}}}async function Rr(e,t){if(e.ok)return;let r={clientVersion:t,response:e},n=await Kf(e);if(n.type==="QueryEngineError")throw new de(n.body.message,{code:n.body.error_code,clientVersion:t});if(n.type==="DataProxyError"){if(n.body==="InternalDataProxyError")throw new Zt(r,"Internal Data Proxy error");if("EngineNotStarted"in n.body){if(n.body.EngineNotStarted.reason==="SchemaMissing")return new vt(r);if(n.body.EngineNotStarted.reason==="EngineVersionNotSupported")throw new Pr(r);if("EngineStartupError"in n.body.EngineNotStarted.reason){let{msg:o,logs:i}=n.body.EngineNotStarted.reason.EngineStartupError;throw new Er(r,o,i)}if("KnownEngineStartupError"in n.body.EngineNotStarted.reason){let{msg:o,error_code:i}=n.body.EngineNotStarted.reason.KnownEngineStartupError;throw new ae(o,t,i)}if("HealthcheckTimeout"in n.body.EngineNotStarted.reason){let{logs:o}=n.body.EngineNotStarted.reason.HealthcheckTimeout;throw new wr(r,o)}}if("InteractiveTransactionMisrouted"in n.body){let o={IDParseError:"Could not parse interactive transaction ID",NoQueryEngineFoundError:"Could not find Query Engine for the specified host and transaction ID",TransactionStartError:"Could not start interactive transaction"};throw new Ar(r,o[n.body.InteractiveTransactionMisrouted.reason])}if("InvalidRequestError"in n.body)throw new Tr(r,n.body.InvalidRequestError.reason)}if(e.status===401||e.status===403)throw new Mr(r,Yt(Zo,n));if(e.status===404)return new Cr(r,Yt(Ho,n));if(e.status===429)throw new Sr(r,Yt(Yo,n));if(e.status===504)throw new vr(r,Yt(Wo,n));if(e.status>=500)throw new Zt(r,Yt(zo,n));if(e.status>=400)throw new br(r,Yt(Qo,n))}function Yt(e,t){return t.type==="EmptyError"?e:`${e}: ${JSON.stringify(t)}`}d();p();f();function Za(e){let t=Math.pow(2,e)*50,r=Math.ceil(Math.random()*t)-Math.ceil(t/2),n=t+r;return new Promise(o=>setTimeout(()=>o(n),n))}d();p();f();function Ya(e){var r;if(!!((r=e.generator)!=null&&r.previewFeatures.some(n=>n.toLowerCase().includes("metrics"))))throw new ae("The `metrics` preview feature is not yet available with Accelerate.\nPlease remove `metrics` from the `previewFeatures` in your schema.\n\nMore information about Accelerate: https://pris.ly/d/accelerate",e.clientVersion)}d();p();f();var Xa={"@prisma/debug":"workspace:*","@prisma/engines-version":"5.5.1-1.aebc046ce8b88ebbcb45efe31cbe7d06fd6abc0a","@prisma/fetch-engine":"workspace:*","@prisma/get-platform":"workspace:*","@swc/core":"1.3.95","@swc/jest":"0.2.29","@types/jest":"29.5.5","@types/node":"18.18.3",execa:"5.1.1",jest:"29.7.0",typescript:"5.2.2"};d();p();f();d();p();f();var Or=class extends be{constructor(r,n){super(`Cannot fetch data from service: +${r}`,q(n,!0));this.name="RequestError";this.code="P5010"}};k(Or,"RequestError");async function At(e,t,r=n=>n){var o;let n=t.clientVersion;try{return typeof fetch=="function"?await r(fetch)(e,t):await r(Xo)(e,t)}catch(i){console.log(e);let s=(o=i.message)!=null?o:"Unknown error";throw new Or(s,{clientVersion:n})}}function Jf(e){return{...e.headers,"Content-Type":"application/json"}}function Qf(e){return{method:e.method,headers:Jf(e)}}function Wf(e,t){return{text:()=>Promise.resolve(x.Buffer.concat(e).toString()),json:()=>Promise.resolve().then(()=>JSON.parse(x.Buffer.concat(e).toString())),ok:t.statusCode>=200&&t.statusCode<=299,status:t.statusCode,url:t.url,headers:new ei(t.headers)}}async function Xo(e,t={}){let r=Hf("https"),n=Qf(t),o=[],{origin:i}=new URL(e);return new Promise((s,a)=>{var l;let u=r.request(e,n,c=>{let{statusCode:m,headers:{location:g}}=c;m>=301&&m<=399&&g&&(g.startsWith("http")===!1?s(Xo(`${i}${g}`,t)):s(Xo(g,t))),c.on("data",w=>o.push(w)),c.on("end",()=>s(Wf(o,c))),c.on("error",a)});u.on("error",a),u.end((l=t.body)!=null?l:"")})}var Hf=typeof Qn!="undefined"?Qn:()=>{},ei=class{constructor(t={}){this.headers=new Map;for(let[r,n]of Object.entries(t))if(typeof n=="string")this.headers.set(r,n);else if(Array.isArray(n))for(let o of n)this.headers.set(r,o)}append(t,r){this.headers.set(t,r)}delete(t){this.headers.delete(t)}get(t){var r;return(r=this.headers.get(t))!=null?r:null}has(t){return this.headers.has(t)}set(t,r){this.headers.set(t,r)}forEach(t,r){for(let[n,o]of this.headers)t.call(r,o,n,this)}};var zf=/^[1-9][0-9]*\.[0-9]+\.[0-9]+$/,eu=he("prisma:client:dataproxyEngine");async function Zf(e,t){var s,a,u;let r=Xa["@prisma/engines-version"],n=(s=t.clientVersion)!=null?s:"unknown";if(y.env.PRISMA_CLIENT_DATA_PROXY_CLIENT_VERSION)return y.env.PRISMA_CLIENT_DATA_PROXY_CLIENT_VERSION;if(e.includes("accelerate")&&n!=="0.0.0"&&n!=="in-memory")return n;let[o,i]=(a=n==null?void 0:n.split("-"))!=null?a:[];if(i===void 0&&zf.test(o))return o;if(i!==void 0||n==="0.0.0"||n==="in-memory"){if(e.startsWith("localhost")||e.startsWith("127.0.0.1"))return"0.0.0";let[l]=(u=r.split("-"))!=null?u:[],[c,m,g]=l.split("."),w=Yf(`<=${c}.${m}.${g}`),E=await At(w,{clientVersion:n});if(!E.ok)throw new Error(`Failed to fetch stable Prisma version, unpkg.com status ${E.status} ${E.statusText}, response body: ${await E.text()||""}`);let b=await E.text();eu("length of body fetched from unpkg.com",b.length);let T;try{T=JSON.parse(b)}catch(S){throw console.error("JSON.parse error: body fetched from unpkg.com: ",b),S}return T.version}throw new Pt("Only `major.minor.patch` versions are supported by Accelerate.",{clientVersion:n})}async function tu(e,t){let r=await Zf(e,t);return eu("version",r),r}function Yf(e){return encodeURI(`https://unpkg.com/prisma@${e}/package.json`)}var ru=3,ti=he("prisma:client:dataproxyEngine"),ri=class{constructor({apiKey:t,tracingHelper:r,logLevel:n,logQueries:o,engineHash:i}){this.apiKey=t,this.tracingHelper=r,this.logLevel=n,this.logQueries=o,this.engineHash=i}build({traceparent:t,interactiveTransaction:r}={}){let n={Authorization:`Bearer ${this.apiKey}`,"Prisma-Engine-Hash":this.engineHash};this.tracingHelper.isEnabled()&&(n.traceparent=t!=null?t:this.tracingHelper.getTraceParent()),r&&(n["X-transaction-id"]=r.id);let o=this.buildCaptureSettings();return o.length>0&&(n["X-capture-telemetry"]=o.join(", ")),n}buildCaptureSettings(){let t=[];return this.tracingHelper.isEnabled()&&t.push("tracing"),this.logLevel&&t.push(this.logLevel),this.logQueries&&t.push("query"),t}},Fr=class extends kn{constructor(r){super();Ya(r),this.config=r,this.env={...this.config.env,...y.env},this.inlineSchema=r.inlineSchema,this.inlineDatasources=r.inlineDatasources,this.inlineSchemaHash=r.inlineSchemaHash,this.clientVersion=r.clientVersion,this.engineHash=r.engineVersion,this.logEmitter=r.logEmitter,this.tracingHelper=this.config.tracingHelper}apiKey(){return this.headerBuilder.apiKey}version(){return this.engineHash}async start(){this.startPromise!==void 0&&await this.startPromise,this.startPromise=(async()=>{let[r,n]=this.extractHostAndApiKey();this.host=r,this.headerBuilder=new ri({apiKey:n,tracingHelper:this.tracingHelper,logLevel:this.config.logLevel,logQueries:this.config.logQueries,engineHash:this.engineHash}),this.remoteClientVersion=await tu(r,this.config),ti("host",this.host)})(),await this.startPromise}async stop(){}propagateResponseExtensions(r){var n,o;(n=r==null?void 0:r.logs)!=null&&n.length&&r.logs.forEach(i=>{switch(i.level){case"debug":case"error":case"trace":case"warn":case"info":break;case"query":{let s=typeof i.attributes.query=="string"?i.attributes.query:"";if(!this.tracingHelper.isEnabled()){let[a]=s.split("/* traceparent");s=a}this.logEmitter.emit("query",{query:s,timestamp:i.timestamp,duration:i.attributes.duration_ms,params:i.attributes.params,target:i.attributes.target})}}}),(o=r==null?void 0:r.traces)!=null&&o.length&&this.tracingHelper.createEngineSpan({span:!0,spans:r.traces})}on(r,n){if(r==="beforeExit")throw new Error('"beforeExit" hook is not applicable to the remote query engine');this.logEmitter.on(r,n)}async url(r){return await this.start(),`https://${this.host}/${this.remoteClientVersion}/${this.inlineSchemaHash}/${r}`}async uploadSchema(){let r={name:"schemaUpload",internal:!0};return this.tracingHelper.runInChildSpan(r,async()=>{let n=await At(await this.url("schema"),{method:"PUT",headers:this.headerBuilder.build(),body:this.inlineSchema,clientVersion:this.clientVersion});n.ok||ti("schema response status",n.status);let o=await Rr(n,this.clientVersion);if(o)throw this.logEmitter.emit("warn",{message:`Error while uploading schema: ${o.message}`}),o;this.logEmitter.emit("info",{message:`Schema (re)uploaded (hash: ${this.inlineSchemaHash})`})})}request(r,{traceparent:n,interactiveTransaction:o,customDataProxyFetch:i}){return this.requestInternal({body:r,traceparent:n,interactiveTransaction:o,customDataProxyFetch:i})}async requestBatch(r,{traceparent:n,transaction:o,customDataProxyFetch:i}){let s=(o==null?void 0:o.kind)==="itx"?o.options:void 0,a=Ha(r,o),{batchResult:u,elapsed:l}=await this.requestInternal({body:a,customDataProxyFetch:i,interactiveTransaction:s,traceparent:n});return u.map(c=>"errors"in c&&c.errors.length>0?Jo(c.errors[0],this.clientVersion):{data:c,elapsed:l})}requestInternal({body:r,traceparent:n,customDataProxyFetch:o,interactiveTransaction:i}){return this.withRetry({actionGerund:"querying",callback:async({logHttpCall:s})=>{let a=i?`${i.payload.endpoint}/graphql`:await this.url("graphql");s(a);let u=await At(a,{method:"POST",headers:this.headerBuilder.build({traceparent:n,interactiveTransaction:i}),body:JSON.stringify(r),clientVersion:this.clientVersion},o);u.ok||ti("graphql response status",u.status),await this.handleError(await Rr(u,this.clientVersion));let l=await u.json(),c=l.extensions;if(c&&this.propagateResponseExtensions(c),l.errors)throw l.errors.length===1?Jo(l.errors[0],this.config.clientVersion):new Se(l.errors,{clientVersion:this.config.clientVersion});return l}})}async transaction(r,n,o){let i={start:"starting",commit:"committing",rollback:"rolling back"};return this.withRetry({actionGerund:`${i[r]} transaction`,callback:async({logHttpCall:s})=>{var a,u;if(r==="start"){let l=JSON.stringify({max_wait:(a=o==null?void 0:o.maxWait)!=null?a:2e3,timeout:(u=o==null?void 0:o.timeout)!=null?u:5e3,isolation_level:o==null?void 0:o.isolationLevel}),c=await this.url("transaction/start");s(c);let m=await At(c,{method:"POST",headers:this.headerBuilder.build({traceparent:n.traceparent}),body:l,clientVersion:this.clientVersion});await this.handleError(await Rr(m,this.clientVersion));let g=await m.json(),w=g.extensions;w&&this.propagateResponseExtensions(w);let E=g.id,b=g["data-proxy"].endpoint;return{id:E,payload:{endpoint:b}}}else{let l=`${o.payload.endpoint}/${r}`;s(l);let c=await At(l,{method:"POST",headers:this.headerBuilder.build({traceparent:n.traceparent}),clientVersion:this.clientVersion});await this.handleError(await Rr(c,this.clientVersion));let g=(await c.json()).extensions;g&&this.propagateResponseExtensions(g);return}}})}extractHostAndApiKey(){let r={clientVersion:this.clientVersion},n=Object.keys(this.inlineDatasources)[0],o=Dn({inlineDatasources:this.inlineDatasources,overrideDatasources:this.config.overrideDatasources,clientVersion:this.clientVersion,env:this.env}),i;try{i=new URL(o)}catch(c){throw new Et(`Error validating datasource \`${n}\`: the URL must start with the protocol \`prisma://\``,r)}let{protocol:s,host:a,searchParams:u}=i;if(s!=="prisma:")throw new Et(`Error validating datasource \`${n}\`: the URL must start with the protocol \`prisma://\``,r);let l=u.get("api_key");if(l===null||l.length<1)throw new Et(`Error validating datasource \`${n}\`: the URL must contain a valid API key`,r);return[a,l]}metrics(){throw new Pt("Metrics are not yet supported for Accelerate",{clientVersion:this.clientVersion})}async withRetry(r){var n;for(let o=0;;o++){let i=s=>{this.logEmitter.emit("info",{message:`Calling ${s} (n=${o})`})};try{return await r.callback({logHttpCall:i})}catch(s){if(!(s instanceof be)||!s.isRetryable)throw s;if(o>=ru)throw s instanceof zt?s.cause:s;this.logEmitter.emit("warn",{message:`Attempt ${o+1}/${ru} failed for ${r.actionGerund}: ${(n=s.message)!=null?n:"(unknown)"}`});let a=await Za(o);this.logEmitter.emit("warn",{message:`Retrying after ${a}ms`})}}}async handleError(r){if(r instanceof vt)throw await this.uploadSchema(),new zt({clientVersion:this.clientVersion,cause:r});if(r)throw r}};function nu(e,t){let r;try{r=Dn({inlineDatasources:t.inlineDatasources,overrideDatasources:t.overrideDatasources,env:{...t.env,...y.env},clientVersion:t.clientVersion})}catch(o){}e.noEngine!==!0&&(r!=null&&r.startsWith("prisma://"))&&un("recommend--no-engine","In production, we recommend using `prisma generate --no-engine` (See: `prisma generate --help`)");let n=Po(t.generator);return r!=null&&r.startsWith("prisma://")||e.noEngine,new Fr(t);throw new me("Invalid client engine type, please use `library` or `binary`",{clientVersion:t.clientVersion})}d();p();f();function Nn({generator:e}){var t;return(t=e==null?void 0:e.previewFeatures)!=null?t:[]}d();p();f();d();p();f();d();p();f();var lu=Pe(ni());d();p();f();function au(e,t){let r=uu(e),n=Xf(r),o=td(n);o?Ln(o,t):t.addErrorMessage(()=>"Unknown error")}function uu(e){return e.errors.flatMap(t=>t.kind==="Union"?uu(t):[t])}function Xf(e){let t=new Map,r=[];for(let n of e){if(n.kind!=="InvalidArgumentType"){r.push(n);continue}let o=`${n.selectionPath.join(".")}:${n.argumentPath.join(".")}`,i=t.get(o);i?t.set(o,{...n,argument:{...n.argument,typeNames:ed(i.argument.typeNames,n.argument.typeNames)}}):t.set(o,n)}return r.push(...t.values()),r}function ed(e,t){return[...new Set(e.concat(t))]}function td(e){return So(e,(t,r)=>{let n=iu(t),o=iu(r);return n!==o?n-o:su(t)-su(r)})}function iu(e){let t=0;return Array.isArray(e.selectionPath)&&(t+=e.selectionPath.length),Array.isArray(e.argumentPath)&&(t+=e.argumentPath.length),t}function su(e){switch(e.kind){case"InvalidArgumentValue":case"ValueTooLarge":return 20;case"InvalidArgumentType":return 10;case"RequiredArgumentMissing":return-10;default:return 0}}d();p();f();var Ge=class{constructor(t,r){this.name=t;this.value=r;this.isRequired=!1}makeRequired(){return this.isRequired=!0,this}write(t){let{colors:{green:r}}=t.context;t.addMarginSymbol(r(this.isRequired?"+":"?")),t.write(r(this.name)),this.isRequired||t.write(r("?")),t.write(r(": ")),typeof this.value=="string"?t.write(r(this.value)):t.write(this.value)}};d();p();f();var Bn=class{constructor(){this.fields=[]}addField(t,r){return this.fields.push({write(n){let{green:o,dim:i}=n.context.colors;n.write(o(i(`${t}: ${r}`))).addMarginSymbol(o(i("+")))}}),this}write(t){let{colors:{green:r}}=t.context;t.writeLine(r("{")).withIndent(()=>{t.writeJoined(Jt,this.fields).newLine()}).write(r("}")).addMarginSymbol(r("+"))}};function Ln(e,t){switch(e.kind){case"IncludeAndSelect":rd(e,t);break;case"IncludeOnScalar":nd(e,t);break;case"EmptySelection":od(e,t);break;case"UnknownSelectionField":id(e,t);break;case"UnknownArgument":sd(e,t);break;case"UnknownInputField":ad(e,t);break;case"RequiredArgumentMissing":ud(e,t);break;case"InvalidArgumentType":ld(e,t);break;case"InvalidArgumentValue":cd(e,t);break;case"ValueTooLarge":pd(e,t);break;case"SomeFieldsMissing":fd(e,t);break;case"TooManyFieldsGiven":dd(e,t);break;case"Union":au(e,t);break;default:throw new Error("not implemented: "+e.kind)}}function rd(e,t){var n,o;let r=t.arguments.getDeepSubSelectionValue(e.selectionPath);r&&r instanceof re&&((n=r.getField("include"))==null||n.markAsError(),(o=r.getField("select"))==null||o.markAsError()),t.addErrorMessage(i=>`Please ${i.bold("either")} use ${i.green("`include`")} or ${i.green("`select`")}, but ${i.red("not both")} at the same time.`)}function nd(e,t){var s,a;let[r,n]=jn(e.selectionPath),o=e.outputType,i=(s=t.arguments.getDeepSelectionParent(r))==null?void 0:s.value;if(i&&((a=i.getField(n))==null||a.markAsError(),o))for(let u of o.fields)u.isRelation&&i.addSuggestion(new Ge(u.name,"true"));t.addErrorMessage(u=>{let l=`Invalid scalar field ${u.red(`\`${n}\``)} for ${u.bold("include")} statement`;return o?l+=` on model ${u.bold(o.name)}. ${Ir(u)}`:l+=".",l+=` +Note that ${u.bold("include")} statements only accept relation fields.`,l})}function od(e,t){var i,s;let r=e.outputType,n=(i=t.arguments.getDeepSelectionParent(e.selectionPath))==null?void 0:i.value,o=(s=n==null?void 0:n.isEmpty())!=null?s:!1;n&&(n.removeAllFields(),fu(n,r)),t.addErrorMessage(a=>o?`The ${a.red("`select`")} statement for type ${a.bold(r.name)} must not be empty. ${Ir(a)}`:`The ${a.red("`select`")} statement for type ${a.bold(r.name)} needs ${a.bold("at least one truthy value")}.`)}function id(e,t){var i;let[r,n]=jn(e.selectionPath),o=t.arguments.getDeepSelectionParent(r);o&&((i=o.value.getField(n))==null||i.markAsError(),fu(o.value,e.outputType)),t.addErrorMessage(s=>{let a=[`Unknown field ${s.red(`\`${n}\``)}`];return o&&a.push(`for ${s.bold(o.kind)} statement`),a.push(`on model ${s.bold(`\`${e.outputType.name}\``)}.`),a.push(Ir(s)),a.join(" ")})}function sd(e,t){var o;let r=e.argumentPath[0],n=t.arguments.getDeepSubSelectionValue(e.selectionPath);n instanceof re&&((o=n.getField(r))==null||o.markAsError(),md(n,e.arguments)),t.addErrorMessage(i=>cu(i,r,e.arguments.map(s=>s.name)))}function ad(e,t){var i;let[r,n]=jn(e.argumentPath),o=t.arguments.getDeepSubSelectionValue(e.selectionPath);if(o instanceof re){(i=o.getDeepField(e.argumentPath))==null||i.markAsError();let s=o.getDeepFieldValue(r);s instanceof re&&du(s,e.inputType)}t.addErrorMessage(s=>cu(s,n,e.inputType.fields.map(a=>a.name)))}function cu(e,t,r){let n=[`Unknown argument \`${e.red(t)}\`.`],o=yd(t,r);return o&&n.push(`Did you mean \`${e.green(o)}\`?`),r.length>0&&n.push(Ir(e)),n.join(" ")}function ud(e,t){let r;t.addErrorMessage(u=>(r==null?void 0:r.value)instanceof ne&&r.value.text==="null"?`Argument \`${u.green(i)}\` must not be ${u.red("null")}.`:`Argument \`${u.green(i)}\` is missing.`);let n=t.arguments.getDeepSubSelectionValue(e.selectionPath);if(!(n instanceof re))return;let[o,i]=jn(e.argumentPath),s=new Bn,a=n.getDeepFieldValue(o);if(a instanceof re)if(r=a.getField(i),r&&a.removeField(i),e.inputTypes.length===1&&e.inputTypes[0].kind==="object"){for(let u of e.inputTypes[0].fields)s.addField(u.name,u.typeNames.join(" | "));a.addSuggestion(new Ge(i,s).makeRequired())}else{let u=e.inputTypes.map(pu).join(" | ");a.addSuggestion(new Ge(i,u).makeRequired())}}function pu(e){return e.kind==="list"?`${pu(e.elementType)}[]`:e.name}function ld(e,t){var o;let r=e.argument.name,n=t.arguments.getDeepSubSelectionValue(e.selectionPath);n instanceof re&&((o=n.getDeepFieldValue(e.argumentPath))==null||o.markAsError()),t.addErrorMessage(i=>{let s=Un("or",e.argument.typeNames.map(a=>i.green(a)));return`Argument \`${i.bold(r)}\`: Invalid value provided. Expected ${s}, provided ${i.red(e.inferredType)}.`})}function cd(e,t){var o;let r=e.argument.name,n=t.arguments.getDeepSubSelectionValue(e.selectionPath);n instanceof re&&((o=n.getDeepFieldValue(e.argumentPath))==null||o.markAsError()),t.addErrorMessage(i=>{let s=[`Invalid value for argument \`${i.bold(r)}\``];if(e.underlyingError&&s.push(`: ${e.underlyingError}`),s.push("."),e.argument.typeNames.length>0){let a=Un("or",e.argument.typeNames.map(u=>i.green(u)));s.push(` Expected ${a}.`)}return s.join("")})}function pd(e,t){let r=e.argument.name,n=t.arguments.getDeepSubSelectionValue(e.selectionPath),o;if(n instanceof re){let i=n.getDeepField(e.argumentPath),s=i==null?void 0:i.value;s==null||s.markAsError(),s instanceof ne&&(o=s.text)}t.addErrorMessage(i=>{let s=["Unable to fit value"];return o&&s.push(i.red(o)),s.push(`into a 64-bit signed integer for field \`${i.bold(r)}\``),s.join(" ")})}function fd(e,t){let r=e.argumentPath[e.argumentPath.length-1],n=t.arguments.getDeepSubSelectionValue(e.selectionPath);if(n instanceof re){let o=n.getDeepFieldValue(e.argumentPath);o instanceof re&&du(o,e.inputType)}t.addErrorMessage(o=>{let i=[`Argument \`${o.bold(r)}\` of type ${o.bold(e.inputType.name)} needs`];return e.constraints.minFieldCount===1?e.constraints.requiredFields?i.push(`${o.green("at least one of")} ${Un("or",e.constraints.requiredFields.map(s=>`\`${o.bold(s)}\``))} arguments.`):i.push(`${o.green("at least one")} argument.`):i.push(`${o.green(`at least ${e.constraints.minFieldCount}`)} arguments.`),i.push(Ir(o)),i.join(" ")})}function dd(e,t){let r=e.argumentPath[e.argumentPath.length-1],n=t.arguments.getDeepSubSelectionValue(e.selectionPath),o=[];if(n instanceof re){let i=n.getDeepFieldValue(e.argumentPath);i instanceof re&&(i.markAsError(),o=Object.keys(i.getFields()))}t.addErrorMessage(i=>{let s=[`Argument \`${i.bold(r)}\` of type ${i.bold(e.inputType.name)} needs`];return e.constraints.minFieldCount===1&&e.constraints.maxFieldCount==1?s.push(`${i.green("exactly one")} argument,`):e.constraints.maxFieldCount==1?s.push(`${i.green("at most one")} argument,`):s.push(`${i.green(`at most ${e.constraints.maxFieldCount}`)} arguments,`),s.push(`but you provided ${Un("and",o.map(a=>i.red(a)))}. Please choose`),e.constraints.maxFieldCount===1?s.push("one."):s.push(`${e.constraints.maxFieldCount}.`),s.join(" ")})}function fu(e,t){for(let r of t.fields)e.hasField(r.name)||e.addSuggestion(new Ge(r.name,"true"))}function md(e,t){for(let r of t)e.hasField(r.name)||e.addSuggestion(new Ge(r.name,r.typeNames.join(" | ")))}function du(e,t){if(t.kind==="object")for(let r of t.fields)e.hasField(r.name)||e.addSuggestion(new Ge(r.name,r.typeNames.join(" | ")))}function jn(e){let t=[...e],r=t.pop();if(!r)throw new Error("unexpected empty path");return[t,r]}function Ir({green:e,enabled:t}){return"Available options are "+(t?`listed in ${e("green")}`:"marked with ?")+"."}function Un(e,t){if(t.length===1)return t[0];let r=[...t],n=r.pop();return`${r.join(", ")} ${e} ${n}`}var gd=3;function yd(e,t){let r=1/0,n;for(let o of t){let i=(0,lu.default)(e,o);i>gd||i({name:t.name,typeName:"boolean",isRelation:t.kind==="object"}))}}isRawAction(){return["executeRaw","queryRaw","runCommandRaw","findRaw","aggregateRaw"].includes(this.params.action)}getComputedFields(){if(this.params.modelName)return this.params.extensions.getAllComputedFields(this.params.modelName)}findField(t){var r;return(r=this.model)==null?void 0:r.fields.find(n=>n.name===t)}nestSelection(t){let r=this.findField(t),n=(r==null?void 0:r.kind)==="object"?r.type:void 0;return new e({...this.params,modelName:n,selectionPath:this.params.selectionPath.concat(t)})}nestArgument(t){return new e({...this.params,argumentPath:this.params.argumentPath.concat(t)})}};d();p();f();var hu=e=>({command:e});d();p();f();d();p();f();var xu=e=>e.strings.reduce((t,r,n)=>`${t}@P${n}${r}`);d();p();f();function kr(e){try{return bu(e,"fast")}catch(t){return bu(e,"slow")}}function bu(e,t){return JSON.stringify(e.map(r=>Td(r,t)))}function Td(e,t){return typeof e=="bigint"?{prisma__type:"bigint",prisma__value:e.toString()}:$t(e)?{prisma__type:"date",prisma__value:e.toJSON()}:Ke.isDecimal(e)?{prisma__type:"decimal",prisma__value:e.toJSON()}:x.Buffer.isBuffer(e)?{prisma__type:"bytes",prisma__value:e.toString("base64")}:Cd(e)||ArrayBuffer.isView(e)?{prisma__type:"bytes",prisma__value:x.Buffer.from(e).toString("base64")}:typeof e=="object"&&t==="slow"?Eu(e):e}function Cd(e){return e instanceof ArrayBuffer||e instanceof SharedArrayBuffer?!0:typeof e=="object"&&e!==null?e[Symbol.toStringTag]==="ArrayBuffer"||e[Symbol.toStringTag]==="SharedArrayBuffer":!1}function Eu(e){if(typeof e!="object"||e===null)return e;if(typeof e.toJSON=="function")return e.toJSON();if(Array.isArray(e))return e.map(wu);let t={};for(let r of Object.keys(e))t[r]=wu(e[r]);return t}function wu(e){return typeof e=="bigint"?e.toString():Eu(e)}var Md=/^(\s*alter\s)/i,Pu=he("prisma:client");function si(e,t,r,n){if(!(e!=="postgresql"&&e!=="cockroachdb")&&r.length>0&&Md.exec(t))throw new Error(`Running ALTER using ${n} is not supported +Using the example below you can still execute your query with Prisma, but please note that it is vulnerable to SQL injection attacks and requires you to take care of input sanitization. + +Example: + await prisma.$executeRawUnsafe(\`ALTER USER prisma WITH PASSWORD '\${password}'\`) + +More Information: https://pris.ly/d/execute-raw +`)}var ai=({clientMethod:e,activeProvider:t,activeProviderFlavour:r})=>n=>{r!==void 0&&(t=r);let o="",i;if(Array.isArray(n)){let[s,...a]=n;o=s,i={values:kr(a||[]),__prismaRawParameters__:!0}}else switch(t){case"sqlite":case"mysql":{o=n.sql,i={values:kr(n.values),__prismaRawParameters__:!0};break}case"cockroachdb":case"postgresql":case"postgres":{o=n.text,i={values:kr(n.values),__prismaRawParameters__:!0};break}case"sqlserver":{o=xu(n),i={values:kr(n.values),__prismaRawParameters__:!0};break}default:throw new Error(`The ${t} provider does not support ${e}`)}return i!=null&&i.values?Pu(`prisma.${e}(${o}, ${i.values})`):Pu(`prisma.${e}(${o})`),{query:o,parameters:i}},vu={requestArgsToMiddlewareArgs(e){return[e.strings,...e.values]},middlewareArgsToRequestArgs(e){let[t,...r]=e;return new Ae(t,r)}},Au={requestArgsToMiddlewareArgs(e){return[e]},middlewareArgsToRequestArgs(e){return e[0]}};d();p();f();function ui(e){return function(r){let n,o=(i=e)=>{try{return i===void 0||(i==null?void 0:i.kind)==="itx"?n!=null?n:n=Tu(r(i)):Tu(r(i))}catch(s){return Promise.reject(s)}};return{then(i,s){return o().then(i,s)},catch(i){return o().catch(i)},finally(i){return o().finally(i)},requestTransaction(i){let s=o(i);return s.requestTransaction?s.requestTransaction(i):s},[Symbol.toStringTag]:"PrismaPromise"}}}function Tu(e){return typeof e.then=="function"?e:Promise.resolve(e)}d();p();f();var Cu={isEnabled(){return!1},getTraceParent(){return"00-10-10-00"},async createEngineSpan(){},getActiveContext(){},runInChildSpan(e,t){return t()}},li=class{isEnabled(){return this.getGlobalTracingHelper().isEnabled()}getTraceParent(t){return this.getGlobalTracingHelper().getTraceParent(t)}createEngineSpan(t){return this.getGlobalTracingHelper().createEngineSpan(t)}getActiveContext(){return this.getGlobalTracingHelper().getActiveContext()}runInChildSpan(t,r){return this.getGlobalTracingHelper().runInChildSpan(t,r)}getGlobalTracingHelper(){var t,r;return(r=(t=globalThis.PRISMA_INSTRUMENTATION)==null?void 0:t.helper)!=null?r:Cu}};function Mu(e){return e.includes("tracing")?new li:Cu}d();p();f();function Su(e,t=()=>{}){let r,n=new Promise(o=>r=o);return{then(o){return--e===0&&r(t()),o==null?void 0:o(n)}}}d();p();f();var Sd=["$connect","$disconnect","$on","$transaction","$use","$extends"],Ru=Sd;d();p();f();function Ou(e){return typeof e=="string"?e:e.reduce((t,r)=>{let n=typeof r=="string"?r:r.level;return n==="query"?t:t&&(r==="info"||t==="info")?"info":n},void 0)}d();p();f();var qn=class{constructor(){this._middlewares=[]}use(t){this._middlewares.push(t)}get(t){return this._middlewares[t]}has(t){return!!this._middlewares[t]}length(){return this._middlewares.length}};d();p();f();var Iu=Pe(Us());d();p();f();function Vn(e){return typeof e.batchRequestIdx=="number"}d();p();f();function Kn(e){return e===null?e:Array.isArray(e)?e.map(Kn):typeof e=="object"?Rd(e)?Od(e):jt(e,Kn):e}function Rd(e){return e!==null&&typeof e=="object"&&typeof e.$type=="string"}function Od({$type:e,value:t}){switch(e){case"BigInt":return BigInt(t);case"Bytes":return x.Buffer.from(t,"base64");case"DateTime":return new Date(t);case"Decimal":return new Ke(t);case"Json":return JSON.parse(t);default:xt(t,"Unknown tagged value")}}d();p();f();function Fu(e){if(e.action!=="findUnique"&&e.action!=="findUniqueOrThrow")return;let t=[];return e.modelName&&t.push(e.modelName),e.query.arguments&&t.push(ci(e.query.arguments)),t.push(ci(e.query.selection)),t.join("")}function ci(e){return`(${Object.keys(e).sort().map(r=>{let n=e[r];return typeof n=="object"&&n!==null?`(${r} ${ci(n)})`:r}).join(" ")})`}d();p();f();var Fd={aggregate:!1,aggregateRaw:!1,createMany:!0,createOne:!0,deleteMany:!0,deleteOne:!0,executeRaw:!0,findFirst:!1,findFirstOrThrow:!1,findMany:!1,findRaw:!1,findUnique:!1,findUniqueOrThrow:!1,groupBy:!1,queryRaw:!1,runCommandRaw:!0,updateMany:!0,updateOne:!0,upsertOne:!0};function pi(e){return Fd[e]}d();p();f();var Gn=class{constructor(t){this.options=t;this.tickActive=!1;this.batches={}}request(t){let r=this.options.batchBy(t);return r?(this.batches[r]||(this.batches[r]=[],this.tickActive||(this.tickActive=!0,y.nextTick(()=>{this.dispatchBatches(),this.tickActive=!1}))),new Promise((n,o)=>{this.batches[r].push({request:t,resolve:n,reject:o})})):this.options.singleLoader(t)}dispatchBatches(){for(let t in this.batches){let r=this.batches[t];delete this.batches[t],r.length===1?this.options.singleLoader(r[0].request).then(n=>{n instanceof Error?r[0].reject(n):r[0].resolve(n)}).catch(n=>{r[0].reject(n)}):(r.sort((n,o)=>this.options.batchOrder(n.request,o.request)),this.options.batchLoader(r.map(n=>n.request)).then(n=>{if(n instanceof Error)for(let o=0;o{for(let o=0;o{let{transaction:i,otelParentCtx:s}=n[0],a=n.map(m=>m.protocolQuery),u=this.client._tracingHelper.getTraceParent(s),l=n.some(m=>pi(m.protocolQuery.action));return(await this.client._engine.requestBatch(a,{traceparent:u,transaction:kd(i),containsWrite:l,customDataProxyFetch:o})).map((m,g)=>{if(m instanceof Error)return m;try{return this.mapQueryEngineResult(n[g],m)}catch(w){return w}})}),singleLoader:async n=>{var s;let o=((s=n.transaction)==null?void 0:s.kind)==="itx"?ku(n.transaction):void 0,i=await this.client._engine.request(n.protocolQuery,{traceparent:this.client._tracingHelper.getTraceParent(),interactiveTransaction:o,isWrite:pi(n.protocolQuery.action),customDataProxyFetch:n.customDataProxyFetch});return this.mapQueryEngineResult(n,i)},batchBy:n=>{var o;return(o=n.transaction)!=null&&o.id?`transaction-${n.transaction.id}`:Fu(n.protocolQuery)},batchOrder(n,o){var i,s;return((i=n.transaction)==null?void 0:i.kind)==="batch"&&((s=o.transaction)==null?void 0:s.kind)==="batch"?n.transaction.index-o.transaction.index:0}})}async request(t){try{return await this.dataloader.request(t)}catch(r){let{clientMethod:n,callsite:o,transaction:i,args:s}=t;this.handleAndLogRequestError({error:r,clientMethod:n,callsite:o,transaction:i,args:s})}}mapQueryEngineResult({dataPath:t,unpacker:r},n){let o=n==null?void 0:n.data,i=n==null?void 0:n.elapsed,s=this.unpack(o,t,r);return y.env.PRISMA_CLIENT_GET_TIME?{data:s,elapsed:i}:s}handleAndLogRequestError(t){try{this.handleRequestError(t)}catch(r){throw this.logEmitter&&this.logEmitter.emit("error",{message:r.message,target:t.clientMethod,timestamp:new Date}),r}}handleRequestError({error:t,clientMethod:r,callsite:n,transaction:o,args:i}){if(Id(t),Dd(t,o)||t instanceof tt)throw t;if(t instanceof de&&_d(t)){let a=Du(t.meta);$n({args:i,errors:[a],callsite:n,errorFormat:this.client._errorFormat,originalMethod:r,clientVersion:this.client._clientVersion})}let s=t.message;throw n&&(s=Ht({callsite:n,originalMethod:r,isPanic:t.isPanic,showColors:this.client._errorFormat==="pretty",message:s})),s=this.sanitizeMessage(s),t.code?new de(s,{code:t.code,clientVersion:this.client._clientVersion,meta:t.meta,batchRequestIdx:t.batchRequestIdx}):t.isPanic?new rt(s,this.client._clientVersion):t instanceof Se?new Se(s,{clientVersion:this.client._clientVersion,batchRequestIdx:t.batchRequestIdx}):t instanceof ae?new ae(s,this.client._clientVersion):t instanceof rt?new rt(s,this.client._clientVersion):(t.clientVersion=this.client._clientVersion,t)}sanitizeMessage(t){return this.client._errorFormat&&this.client._errorFormat!=="pretty"?(0,Iu.default)(t):t}unpack(t,r,n){if(!t||(t.data&&(t=t.data),!t))return t;let o=Object.values(t)[0],i=r.filter(a=>a!=="select"&&a!=="include"),s=Kn(qo(o,i));return n?n(s):s}get[Symbol.toStringTag](){return"RequestHandler"}};function kd(e){if(e){if(e.kind==="batch")return{kind:"batch",options:{isolationLevel:e.isolationLevel}};if(e.kind==="itx")return{kind:"itx",options:ku(e)};xt(e,"Unknown transaction kind")}}function ku(e){return{id:e.id,payload:e.payload}}function Dd(e,t){return Vn(e)&&(t==null?void 0:t.kind)==="batch"&&e.batchRequestIdx!==t.index}function _d(e){return e.code==="P2009"||e.code==="P2012"}function Du(e){if(e.kind==="Union")return{kind:"Union",errors:e.errors.map(Du)};if(Array.isArray(e.selectionPath)){let[,...t]=e.selectionPath;return{...e,selectionPath:t}}return e}d();p();f();var _u="5.5.2";var Nu=_u;d();p();f();function Lu(e){return e.map(t=>{let r={};for(let n of Object.keys(t))r[n]=Bu(t[n]);return r})}function Bu({prisma__type:e,prisma__value:t}){switch(e){case"bigint":return BigInt(t);case"bytes":return x.Buffer.from(t,"base64");case"decimal":return new Ke(t);case"datetime":case"date":return new Date(t);case"time":return new Date(`1970-01-01T${t}Z`);case"array":return t.map(Bu);default:return t}}d();p();f();var qu=Pe(ni());d();p();f();var Q=class extends Error{constructor(t){super(t+` +Read more at https://pris.ly/d/client-constructor`),this.name="PrismaClientConstructorValidationError"}get[Symbol.toStringTag](){return"PrismaClientConstructorValidationError"}};k(Q,"PrismaClientConstructorValidationError");var ju=["datasources","datasourceUrl","errorFormat","adapter","log","__internal"],Uu=["pretty","colorless","minimal"],$u=["info","query","warn","error"],Ld={datasources:(e,{datasourceNames:t})=>{if(e){if(typeof e!="object"||Array.isArray(e))throw new Q(`Invalid value ${JSON.stringify(e)} for "datasources" provided to PrismaClient constructor`);for(let[r,n]of Object.entries(e)){if(!t.includes(r)){let o=Xt(r,t)||` Available datasources: ${t.join(", ")}`;throw new Q(`Unknown datasource ${r} provided to PrismaClient constructor.${o}`)}if(typeof n!="object"||Array.isArray(n))throw new Q(`Invalid value ${JSON.stringify(e)} for datasource "${r}" provided to PrismaClient constructor. +It should have this form: { url: "CONNECTION_STRING" }`);if(n&&typeof n=="object")for(let[o,i]of Object.entries(n)){if(o!=="url")throw new Q(`Invalid value ${JSON.stringify(e)} for datasource "${r}" provided to PrismaClient constructor. +It should have this form: { url: "CONNECTION_STRING" }`);if(typeof i!="string")throw new Q(`Invalid value ${JSON.stringify(i)} for datasource "${r}" provided to PrismaClient constructor. +It should have this form: { url: "CONNECTION_STRING" }`)}}}},adapter:(e,t)=>{if(e===null)return;if(e===void 0)throw new Q('"adapter" property must not be undefined, use null to conditionally disable driver adapters.');if(!Nn(t).includes("driverAdapters"))throw new Q('"adapter" property can only be provided to PrismaClient constructor when "driverAdapters" preview feature is enabled.')},datasourceUrl:e=>{if(typeof e!="undefined"&&typeof e!="string")throw new Q(`Invalid value ${JSON.stringify(e)} for "datasourceUrl" provided to PrismaClient constructor. +Expected string or undefined.`)},errorFormat:e=>{if(e){if(typeof e!="string")throw new Q(`Invalid value ${JSON.stringify(e)} for "errorFormat" provided to PrismaClient constructor.`);if(!Uu.includes(e)){let t=Xt(e,Uu);throw new Q(`Invalid errorFormat ${e} provided to PrismaClient constructor.${t}`)}}},log:e=>{if(!e)return;if(!Array.isArray(e))throw new Q(`Invalid value ${JSON.stringify(e)} for "log" provided to PrismaClient constructor.`);function t(r){if(typeof r=="string"&&!$u.includes(r)){let n=Xt(r,$u);throw new Q(`Invalid log level "${r}" provided to PrismaClient constructor.${n}`)}}for(let r of e){t(r);let n={level:t,emit:o=>{let i=["stdout","event"];if(!i.includes(o)){let s=Xt(o,i);throw new Q(`Invalid value ${JSON.stringify(o)} for "emit" in logLevel provided to PrismaClient constructor.${s}`)}}};if(r&&typeof r=="object")for(let[o,i]of Object.entries(r))if(n[o])n[o](i);else throw new Q(`Invalid property ${o} for "log" provided to PrismaClient constructor`)}},__internal:e=>{if(!e)return;let t=["debug","hooks","engine","measurePerformance"];if(typeof e!="object")throw new Q(`Invalid value ${JSON.stringify(e)} for "__internal" to PrismaClient constructor`);for(let[r]of Object.entries(e))if(!t.includes(r)){let n=Xt(r,t);throw new Q(`Invalid property ${JSON.stringify(r)} for "__internal" provided to PrismaClient constructor.${n}`)}}};function Vu(e,t){for(let[r,n]of Object.entries(e)){if(!ju.includes(r)){let o=Xt(r,ju);throw new Q(`Unknown property ${r} provided to PrismaClient constructor.${o}`)}Ld[r](n,t)}if(e.datasourceUrl&&e.datasources)throw new Q('Can not use "datasourceUrl" and "datasources" options at the same time. Pick one of them')}function Xt(e,t){if(t.length===0||typeof e!="string")return"";let r=Bd(e,t);return r?` Did you mean "${r}"?`:""}function Bd(e,t){if(t.length===0)return null;let r=t.map(o=>({value:o,distance:(0,qu.default)(e,o)}));r.sort((o,i)=>o.distance{let n=new Array(e.length),o=null,i=!1,s=0,a=()=>{i||(s++,s===e.length&&(i=!0,o?r(o):t(n)))},u=l=>{i||(i=!0,r(l))};for(let l=0;l{n[l]=c,a()},c=>{if(!Vn(c)){u(c);return}c.batchRequestIdx===l?u(c):(o||(o=c),a())})})}var ct=he("prisma:client");typeof globalThis=="object"&&(globalThis.NODE_CLIENT=!0);var jd={requestArgsToMiddlewareArgs:e=>e,middlewareArgsToRequestArgs:e=>e},Ud=Symbol.for("prisma.client.transaction.id"),$d={id:0,nextId(){return++this.id}};function qd(e){class t{constructor(n){this._middlewares=new qn;this._createPrismaPromise=ui();this.$extends=Fa;var u,l,c,m,g,w;Qa(e),n&&Vu(n,e);let o=n!=null&&n.adapter?Vs(n.adapter):void 0,i=new Ju.EventEmitter().on("error",()=>{});this._extensions=In.empty(),this._previewFeatures=Nn(e),this._clientVersion=(u=e.clientVersion)!=null?u:Nu,this._activeProvider=e.activeProvider,this._tracingHelper=Mu(this._previewFeatures);let s={rootEnvPath:e.relativeEnvPaths.rootEnvPath&&Dr.default.resolve(e.dirname,e.relativeEnvPaths.rootEnvPath),schemaEnvPath:e.relativeEnvPaths.schemaEnvPath&&Dr.default.resolve(e.dirname,e.relativeEnvPaths.schemaEnvPath)},a=(l=e.injectableEdgeEnv)==null?void 0:l.call(e);try{let E=n!=null?n:{},b=(c=E.__internal)!=null?c:{},T=b.debug===!0;T&&he.enable("prisma:client");let S=Dr.default.resolve(e.dirname,e.relativePath);sn.existsSync(S)||(S=e.dirname),ct("dirname",e.dirname),ct("relativePath",e.relativePath),ct("cwd",S);let R=b.engine||{};if(E.errorFormat?this._errorFormat=E.errorFormat:y.env.NODE_ENV==="production"?this._errorFormat="minimal":y.env.NO_COLOR?this._errorFormat="colorless":this._errorFormat="colorless",this._runtimeDataModel=e.runtimeDataModel,this._engineConfig={cwd:S,dirname:e.dirname,enableDebugLogs:T,allowTriggerPanic:R.allowTriggerPanic,datamodelPath:Dr.default.join(e.dirname,(m=e.filename)!=null?m:"schema.prisma"),prismaPath:(g=R.binaryPath)!=null?g:void 0,engineEndpoint:R.endpoint,generator:e.generator,showColors:this._errorFormat==="pretty",logLevel:E.log&&Ou(E.log),logQueries:E.log&&!!(typeof E.log=="string"?E.log==="query":E.log.find(C=>typeof C=="string"?C==="query":C.level==="query")),env:(w=a==null?void 0:a.parsed)!=null?w:{},flags:[],clientVersion:e.clientVersion,engineVersion:e.engineVersion,previewFeatures:this._previewFeatures,activeProvider:e.activeProvider,inlineSchema:e.inlineSchema,overrideDatasources:Wa(E,e.datasourceNames),inlineDatasources:e.inlineDatasources,inlineSchemaHash:e.inlineSchemaHash,tracingHelper:this._tracingHelper,logEmitter:i,isBundled:e.isBundled,adapter:o},ct("clientVersion",e.clientVersion),this._engine=nu(e,this._engineConfig),this._requestHandler=new Jn(this,i),E.log)for(let C of E.log){let M=typeof C=="string"?C:C.emit==="stdout"?C.level:null;M&&this.$on(M,N=>{var L;Bt.log(`${(L=Bt.tags[M])!=null?L:""}`,N.message||N.query)})}this._metrics=new sr(this._engine)}catch(E){throw E.clientVersion=this._clientVersion,E}return this._appliedParent=hr(this)}get[Symbol.toStringTag](){return"PrismaClient"}$use(n){this._middlewares.use(n)}$on(n,o){n==="beforeExit"?this._engine.on("beforeExit",o):this._engine.on(n,i=>{var a,u,l,c;let s=i.fields;return o(n==="query"?{timestamp:i.timestamp,query:(a=s==null?void 0:s.query)!=null?a:i.query,params:(u=s==null?void 0:s.params)!=null?u:i.params,duration:(l=s==null?void 0:s.duration_ms)!=null?l:i.duration,target:i.target}:{timestamp:i.timestamp,message:(c=s==null?void 0:s.message)!=null?c:i.message,target:i.target})})}$connect(){try{return this._engine.start()}catch(n){throw n.clientVersion=this._clientVersion,n}}async $disconnect(){try{await this._engine.stop()}catch(n){throw n.clientVersion=this._clientVersion,n}finally{bs()}}$executeRawInternal(n,o,i,s){var l;let a=this._activeProvider,u=(l=this._engineConfig.adapter)==null?void 0:l.flavour;return this._request({action:"executeRaw",args:i,transaction:n,clientMethod:o,argsMapper:ai({clientMethod:o,activeProvider:a,activeProviderFlavour:u}),callsite:lt(this._errorFormat),dataPath:[],middlewareArgsMapper:s})}$executeRaw(n,...o){return this._createPrismaPromise(i=>{if(n.raw!==void 0||n.sql!==void 0){let[s,a]=Gu(n,o);return si(this._activeProvider,s.text,s.values,Array.isArray(n)?"prisma.$executeRaw``":"prisma.$executeRaw(sql``)"),this.$executeRawInternal(i,"$executeRaw",s,a)}throw new me("`$executeRaw` is a tag function, please use it like the following:\n```\nconst result = await prisma.$executeRaw`UPDATE User SET cool = ${true} WHERE email = ${'user@email.com'};`\n```\n\nOr read our docs at https://www.prisma.io/docs/concepts/components/prisma-client/raw-database-access#executeraw\n",{clientVersion:this._clientVersion})})}$executeRawUnsafe(n,...o){return this._createPrismaPromise(i=>(si(this._activeProvider,n,o,"prisma.$executeRawUnsafe(, [...values])"),this.$executeRawInternal(i,"$executeRawUnsafe",[n,...o])))}$runCommandRaw(n){if(e.activeProvider!=="mongodb")throw new me(`The ${e.activeProvider} provider does not support $runCommandRaw. Use the mongodb provider.`,{clientVersion:this._clientVersion});return this._createPrismaPromise(o=>this._request({args:n,clientMethod:"$runCommandRaw",dataPath:[],action:"runCommandRaw",argsMapper:hu,callsite:lt(this._errorFormat),transaction:o}))}async $queryRawInternal(n,o,i,s){var l;let a=this._activeProvider,u=(l=this._engineConfig.adapter)==null?void 0:l.flavour;return this._request({action:"queryRaw",args:i,transaction:n,clientMethod:o,argsMapper:ai({clientMethod:o,activeProvider:a,activeProviderFlavour:u}),callsite:lt(this._errorFormat),dataPath:[],middlewareArgsMapper:s}).then(Lu)}$queryRaw(n,...o){return this._createPrismaPromise(i=>{if(n.raw!==void 0||n.sql!==void 0)return this.$queryRawInternal(i,"$queryRaw",...Gu(n,o));throw new me("`$queryRaw` is a tag function, please use it like the following:\n```\nconst result = await prisma.$queryRaw`SELECT * FROM User WHERE id = ${1} OR email = ${'user@email.com'};`\n```\n\nOr read our docs at https://www.prisma.io/docs/concepts/components/prisma-client/raw-database-access#queryraw\n",{clientVersion:this._clientVersion})})}$queryRawUnsafe(n,...o){return this._createPrismaPromise(i=>this.$queryRawInternal(i,"$queryRawUnsafe",[n,...o]))}_transactionWithArray({promises:n,options:o}){let i=$d.nextId(),s=Su(n.length),a=n.map((u,l)=>{var g,w;if((u==null?void 0:u[Symbol.toStringTag])!=="PrismaPromise")throw new Error("All elements of the array need to be Prisma Client promises. Hint: Please make sure you are not awaiting the Prisma client calls you intended to pass in the $transaction function.");let c=o==null?void 0:o.isolationLevel,m={kind:"batch",id:i,index:l,isolationLevel:c,lock:s};return(w=(g=u.requestTransaction)==null?void 0:g.call(u,m))!=null?w:u});return Ku(a)}async _transactionWithCallback({callback:n,options:o}){let i={traceparent:this._tracingHelper.getTraceParent()},s=await this._engine.transaction("start",i,o),a;try{let u={kind:"itx",...s};a=await n(this._createItxClient(u)),await this._engine.transaction("commit",i,s)}catch(u){throw await this._engine.transaction("rollback",i,s).catch(()=>{}),u}return a}_createItxClient(n){return hr(Ne(Rn(this),[ge("_appliedParent",()=>this._appliedParent._createItxClient(n)),ge("_createPrismaPromise",()=>ui(n)),ge(Ud,()=>n.id),dr(Ru)]))}$transaction(n,o){let i;typeof n=="function"?i=()=>this._transactionWithCallback({callback:n,options:o}):i=()=>this._transactionWithArray({promises:n,options:o});let s={name:"transaction",attributes:{method:"$transaction"}};return this._tracingHelper.runInChildSpan(s,i)}_request(n){var l;n.otelParentCtx=this._tracingHelper.getActiveContext();let o=(l=n.middlewareArgsMapper)!=null?l:jd,i={args:o.requestArgsToMiddlewareArgs(n.args),dataPath:n.dataPath,runInTransaction:!!n.transaction,action:n.action,model:n.model},s={middleware:{name:"middleware",middleware:!0,attributes:{method:"$use"},active:!1},operation:{name:"operation",attributes:{method:i.action,model:i.model,name:i.model?`${i.model}.${i.action}`:i.action}}},a=-1,u=async c=>{let m=this._middlewares.get(++a);if(m)return this._tracingHelper.runInChildSpan(s.middleware,S=>m(c,R=>(S==null||S.end(),u(R))));let{runInTransaction:g,args:w,...E}=c,b={...n,...E};w&&(b.args=o.middlewareArgsToRequestArgs(w)),n.transaction!==void 0&&g===!1&&delete b.transaction;let T=await Ba(this,b);return b.model?Da({result:T,modelName:b.model,args:b.args,extensions:this._extensions,runtimeDataModel:this._runtimeDataModel}):T};return this._tracingHelper.runInChildSpan(s.operation,()=>u(i))}async _executeRequest({args:n,clientMethod:o,dataPath:i,callsite:s,action:a,model:u,argsMapper:l,transaction:c,unpacker:m,otelParentCtx:g,customDataProxyFetch:w}){try{n=l?l(n):n;let E={name:"serialize"},b=this._tracingHelper.runInChildSpan(E,()=>mu({modelName:u,runtimeDataModel:this._runtimeDataModel,action:a,args:n,clientMethod:o,callsite:s,extensions:this._extensions,errorFormat:this._errorFormat,clientVersion:this._clientVersion}));return he.enabled("prisma:client")&&(ct("Prisma Client call:"),ct(`prisma.${o}(${ma(n)})`),ct("Generated request:"),ct(JSON.stringify(b,null,2)+` +`)),(c==null?void 0:c.kind)==="batch"&&await c.lock,this._requestHandler.request({protocolQuery:b,modelName:u,action:a,clientMethod:o,dataPath:i,callsite:s,args:n,extensions:this._extensions,transaction:c,unpacker:m,otelParentCtx:g,otelChildCtx:this._tracingHelper.getActiveContext(),customDataProxyFetch:w})}catch(E){throw E.clientVersion=this._clientVersion,E}}get $metrics(){if(!this._hasPreviewFlag("metrics"))throw new me("`metrics` preview feature must be enabled in order to access metrics API",{clientVersion:this._clientVersion});return this._metrics}_hasPreviewFlag(n){var o;return!!((o=this._engineConfig.previewFeatures)!=null&&o.includes(n))}}return t}function Gu(e,t){return Vd(e)?[new Ae(e,t),vu]:[e,Au]}function Vd(e){return Array.isArray(e)&&Array.isArray(e.raw)}d();p();f();var Kd=new Set(["toJSON","$$typeof","asymmetricMatch",Symbol.iterator,Symbol.toStringTag,Symbol.isConcatSpreadable,Symbol.toPrimitive]);function Gd(e){return new Proxy(e,{get(t,r){if(r in t)return t[r];if(!Kd.has(r))throw new TypeError(`Invalid enum value: ${String(r)}`)}})}d();p();f();var export_warnEnvConflicts=void 0;export{Me as DMMF,ro as DMMFClass,xs as Debug,Ke as Decimal,ji as Extensions,sr as MetricsClient,tt as NotFoundError,qe as ObjectEnumValue,ae as PrismaClientInitializationError,de as PrismaClientKnownRequestError,rt as PrismaClientRustPanicError,Se as PrismaClientUnknownRequestError,me as PrismaClientValidationError,$i as Public,Ae as Sql,Ji as Types,Gc as defineDmmfProperty,Yc as empty,qd as getPrismaClient,Ru as itxClientDenyList,Zc as join,Gd as makeStrictEnum,V0 as objectEnumNames,Fo as objectEnumValues,Gs as raw,Js as sqltag,export_warnEnvConflicts as warnEnvConflicts,un as warnOnce}; +//# sourceMappingURL=edge-esm.js.map diff --git a/packages/dataprovider/.prisma/runtime/edge.js b/packages/dataprovider/.prisma/runtime/edge.js index e9abf18..8263e1a 100644 --- a/packages/dataprovider/.prisma/runtime/edge.js +++ b/packages/dataprovider/.prisma/runtime/edge.js @@ -1,111 +1,43 @@ -var hc=Object.create;var ir=Object.defineProperty;var yc=Object.getOwnPropertyDescriptor;var bc=Object.getOwnPropertyNames;var wc=Object.getPrototypeOf,vc=Object.prototype.hasOwnProperty;var u=(e,t)=>ir(e,"name",{value:t,configurable:!0});var sr=(e,t)=>()=>(e&&(t=e(e=0)),t);var W=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),Jn=(e,t)=>{for(var r in t)ir(e,r,{get:t[r],enumerable:!0})},Ei=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of bc(t))!vc.call(e,o)&&o!==r&&ir(e,o,{get:()=>t[o],enumerable:!(n=yc(t,o))||n.enumerable});return e};var Z=(e,t,r)=>(r=e!=null?hc(wc(e)):{},Ei(t||!e||!e.__esModule?ir(r,"default",{value:e,enumerable:!0}):r,e)),xi=e=>Ei(ir({},"__esModule",{value:!0}),e);function L(e){return()=>e}function Ie(){return b}var Ec,b,g=sr(()=>{u(L,"noop");Ec=Promise.resolve();u(Ie,"getProcess");b={abort:L(void 0),addListener:L(Ie()),allowedNodeEnvironmentFlags:new Set,arch:"x64",argv:["/bin/node"],argv0:"node",chdir:L(void 0),config:{target_defaults:{cflags:[],default_configuration:"",defines:[],include_dirs:[],libraries:[]},variables:{clang:0,host_arch:"x64",node_install_npm:!1,node_install_waf:!1,node_prefix:"",node_shared_openssl:!1,node_shared_v8:!1,node_shared_zlib:!1,node_use_dtrace:!1,node_use_etw:!1,node_use_openssl:!1,target_arch:"x64",v8_no_strict_aliasing:0,v8_use_snapshot:!1,visibility:""}},connected:!1,cpuUsage:()=>({user:0,system:0}),cwd:()=>"/",debugPort:0,disconnect:L(void 0),domain:{run:L(void 0),add:L(void 0),remove:L(void 0),bind:L(void 0),intercept:L(void 0),...Ie()},emit:L(Ie()),emitWarning:L(void 0),env:{},eventNames:()=>[],execArgv:[],execPath:"/",exit:L(void 0),features:{inspector:!1,debug:!1,uv:!1,ipv6:!1,tls_alpn:!1,tls_sni:!1,tls_ocsp:!1,tls:!1},getMaxListeners:L(0),getegid:L(0),geteuid:L(0),getgid:L(0),getgroups:L([]),getuid:L(0),hasUncaughtExceptionCaptureCallback:L(!1),hrtime:L([0,0]),platform:"linux",kill:L(!0),listenerCount:L(0),listeners:L([]),memoryUsage:L({arrayBuffers:0,external:0,heapTotal:0,heapUsed:0,rss:0}),nextTick:(e,...t)=>{Ec.then(()=>e(...t)).catch(r=>{setTimeout(()=>{throw r},0)})},off:L(Ie()),on:L(Ie()),once:L(Ie()),openStdin:L({}),pid:0,ppid:0,prependListener:L(Ie()),prependOnceListener:L(Ie()),rawListeners:L([]),release:{name:"node"},removeAllListeners:L(Ie()),removeListener:L(Ie()),resourceUsage:L({fsRead:0,fsWrite:0,involuntaryContextSwitches:0,ipcReceived:0,ipcSent:0,majorPageFault:0,maxRSS:0,minorPageFault:0,sharedMemorySize:0,signalsCount:0,swappedOut:0,systemCPUTime:0,unsharedDataSize:0,unsharedStackSize:0,userCPUTime:0,voluntaryContextSwitches:0}),setMaxListeners:L(Ie()),setUncaughtExceptionCaptureCallback:L(void 0),setegid:L(void 0),seteuid:L(void 0),setgid:L(void 0),setgroups:L(void 0),setuid:L(void 0),stderr:{fd:2},stdin:{fd:0},stdout:{fd:1},title:"node",traceDeprecation:!1,umask:L(0),uptime:L(0),version:"",versions:{http_parser:"",node:"",v8:"",ares:"",uv:"",zlib:"",modules:"",openssl:""}}});var x,d=sr(()=>{x=u(()=>{},"fn");x.prototype=x});var qi=W(Ft=>{"use strict";m();g();d();var _i=u((e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),"q"),xc=_i(e=>{"use strict";e.byteLength=c,e.toByteArray=f,e.fromByteArray=w;var t=[],r=[],n=typeof Uint8Array<"u"?Uint8Array:Array,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(i=0,s=o.length;i0)throw new Error("Invalid string. Length must be a multiple of 4");var A=v.indexOf("=");A===-1&&(A=y);var S=A===y?0:4-A%4;return[A,S]}u(a,"j");function c(v){var y=a(v),A=y[0],S=y[1];return(A+S)*3/4-S}u(c,"sr");function l(v,y,A){return(y+A)*3/4-A}u(l,"lr");function f(v){var y,A=a(v),S=A[0],T=A[1],_=new n(l(v,S,T)),P=0,O=T>0?S-4:S,F;for(F=0;F>16&255,_[P++]=y>>8&255,_[P++]=y&255;return T===2&&(y=r[v.charCodeAt(F)]<<2|r[v.charCodeAt(F+1)]>>4,_[P++]=y&255),T===1&&(y=r[v.charCodeAt(F)]<<10|r[v.charCodeAt(F+1)]<<4|r[v.charCodeAt(F+2)]>>2,_[P++]=y>>8&255,_[P++]=y&255),_}u(f,"ar");function p(v){return t[v>>18&63]+t[v>>12&63]+t[v>>6&63]+t[v&63]}u(p,"yr");function h(v,y,A){for(var S,T=[],_=y;_O?O:P+_));return S===1?(y=v[A-1],T.push(t[y>>2]+t[y<<4&63]+"==")):S===2&&(y=(v[A-2]<<8)+v[A-1],T.push(t[y>>10]+t[y>>4&63]+t[y<<2&63]+"=")),T.join("")}u(w,"xr")}),Ac=_i(e=>{e.read=function(t,r,n,o,i){var s,a,c=i*8-o-1,l=(1<>1,p=-7,h=n?i-1:0,w=n?-1:1,v=t[r+h];for(h+=w,s=v&(1<<-p)-1,v>>=-p,p+=c;p>0;s=s*256+t[r+h],h+=w,p-=8);for(a=s&(1<<-p)-1,s>>=-p,p+=o;p>0;a=a*256+t[r+h],h+=w,p-=8);if(s===0)s=1-f;else{if(s===l)return a?NaN:(v?-1:1)*(1/0);a=a+Math.pow(2,o),s=s-f}return(v?-1:1)*a*Math.pow(2,s-o)},e.write=function(t,r,n,o,i,s){var a,c,l,f=s*8-i-1,p=(1<>1,w=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,v=o?0:s-1,y=o?1:-1,A=r<0||r===0&&1/r<0?1:0;for(r=Math.abs(r),isNaN(r)||r===1/0?(c=isNaN(r)?1:0,a=p):(a=Math.floor(Math.log(r)/Math.LN2),r*(l=Math.pow(2,-a))<1&&(a--,l*=2),a+h>=1?r+=w/l:r+=w*Math.pow(2,1-h),r*l>=2&&(a++,l/=2),a+h>=p?(c=0,a=p):a+h>=1?(c=(r*l-1)*Math.pow(2,i),a=a+h):(c=r*Math.pow(2,h-1)*Math.pow(2,i),a=0));i>=8;t[n+v]=c&255,v+=y,c/=256,i-=8);for(a=a<0;t[n+v]=a&255,v+=y,a/=256,f-=8);t[n+v-y]|=A*128}}),zn=xc(),It=Ac(),Ai=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;Ft.Buffer=M;Ft.SlowBuffer=Oc;Ft.INSPECT_MAX_BYTES=50;var Gr=2147483647;Ft.kMaxLength=Gr;M.TYPED_ARRAY_SUPPORT=Tc();!M.TYPED_ARRAY_SUPPORT&&typeof console<"u"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function Tc(){try{let e=new Uint8Array(1),t={foo:function(){return 42}};return Object.setPrototypeOf(t,Uint8Array.prototype),Object.setPrototypeOf(e,t),e.foo()===42}catch(e){return!1}}u(Tc,"Br");Object.defineProperty(M.prototype,"parent",{enumerable:!0,get:function(){if(M.isBuffer(this))return this.buffer}});Object.defineProperty(M.prototype,"offset",{enumerable:!0,get:function(){if(M.isBuffer(this))return this.byteOffset}});function We(e){if(e>Gr)throw new RangeError('The value "'+e+'" is invalid for option "size"');let t=new Uint8Array(e);return Object.setPrototypeOf(t,M.prototype),t}u(We,"d");function M(e,t,r){if(typeof e=="number"){if(typeof t=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return Qn(e)}return Mi(e,t,r)}u(M,"h");M.poolSize=8192;function Mi(e,t,r){if(typeof e=="string")return Sc(e,t);if(ArrayBuffer.isView(e))return _c(e);if(e==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(Le(e,ArrayBuffer)||e&&Le(e.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(Le(e,SharedArrayBuffer)||e&&Le(e.buffer,SharedArrayBuffer)))return Ii(e,t,r);if(typeof e=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');let n=e.valueOf&&e.valueOf();if(n!=null&&n!==e)return M.from(n,t,r);let o=Mc(e);if(o)return o;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof e[Symbol.toPrimitive]=="function")return M.from(e[Symbol.toPrimitive]("string"),t,r);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}u(Mi,"Z");M.from=function(e,t,r){return Mi(e,t,r)};Object.setPrototypeOf(M.prototype,Uint8Array.prototype);Object.setPrototypeOf(M,Uint8Array);function Oi(e){if(typeof e!="number")throw new TypeError('"size" argument must be of type number');if(e<0)throw new RangeError('The value "'+e+'" is invalid for option "size"')}u(Oi,"Q");function Pc(e,t,r){return Oi(e),e<=0?We(e):t!==void 0?typeof r=="string"?We(e).fill(t,r):We(e).fill(t):We(e)}u(Pc,"Er");M.alloc=function(e,t,r){return Pc(e,t,r)};function Qn(e){return Oi(e),We(e<0?0:Kn(e)|0)}u(Qn,"P");M.allocUnsafe=function(e){return Qn(e)};M.allocUnsafeSlow=function(e){return Qn(e)};function Sc(e,t){if((typeof t!="string"||t==="")&&(t="utf8"),!M.isEncoding(t))throw new TypeError("Unknown encoding: "+t);let r=Ci(e,t)|0,n=We(r),o=n.write(e,t);return o!==r&&(n=n.slice(0,o)),n}u(Sc,"dr");function Wn(e){let t=e.length<0?0:Kn(e.length)|0,r=We(t);for(let n=0;n=Gr)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+Gr.toString(16)+" bytes");return e|0}u(Kn,"O");function Oc(e){return+e!=e&&(e=0),M.alloc(+e)}u(Oc,"Ir");M.isBuffer=function(e){return e!=null&&e._isBuffer===!0&&e!==M.prototype};M.compare=function(e,t){if(Le(e,Uint8Array)&&(e=M.from(e,e.offset,e.byteLength)),Le(t,Uint8Array)&&(t=M.from(t,t.offset,t.byteLength)),!M.isBuffer(e)||!M.isBuffer(t))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===t)return 0;let r=e.length,n=t.length;for(let o=0,i=Math.min(r,n);on.length?(M.isBuffer(i)||(i=M.from(i)),i.copy(n,o)):Uint8Array.prototype.set.call(n,i,o);else if(M.isBuffer(i))i.copy(n,o);else throw new TypeError('"list" argument must be an Array of Buffers');o+=i.length}return n};function Ci(e,t){if(M.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||Le(e,ArrayBuffer))return e.byteLength;if(typeof e!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);let r=e.length,n=arguments.length>2&&arguments[2]===!0;if(!n&&r===0)return 0;let o=!1;for(;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return Hn(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return r*2;case"hex":return r>>>1;case"base64":return Li(e).length;default:if(o)return n?-1:Hn(e).length;t=(""+t).toLowerCase(),o=!0}}u(Ci,"v");M.byteLength=Ci;function Ic(e,t,r){let n=!1;if((t===void 0||t<0)&&(t=0),t>this.length||((r===void 0||r>this.length)&&(r=this.length),r<=0)||(r>>>=0,t>>>=0,r<=t))return"";for(e||(e="utf8");;)switch(e){case"hex":return Lc(this,t,r);case"utf8":case"utf-8":return Ri(this,t,r);case"ascii":return $c(this,t,r);case"latin1":case"binary":return Bc(this,t,r);case"base64":return Dc(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return qc(this,t,r);default:if(n)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),n=!0}}u(Ic,"Fr");M.prototype._isBuffer=!0;function wt(e,t,r){let n=e[t];e[t]=e[r],e[r]=n}u(wt,"I");M.prototype.swap16=function(){let e=this.length;if(e%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let t=0;tt&&(e+=" ... "),""};Ai&&(M.prototype[Ai]=M.prototype.inspect);M.prototype.compare=function(e,t,r,n,o){if(Le(e,Uint8Array)&&(e=M.from(e,e.offset,e.byteLength)),!M.isBuffer(e))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(t===void 0&&(t=0),r===void 0&&(r=e?e.length:0),n===void 0&&(n=0),o===void 0&&(o=this.length),t<0||r>e.length||n<0||o>this.length)throw new RangeError("out of range index");if(n>=o&&t>=r)return 0;if(n>=o)return-1;if(t>=r)return 1;if(t>>>=0,r>>>=0,n>>>=0,o>>>=0,this===e)return 0;let i=o-n,s=r-t,a=Math.min(i,s),c=this.slice(n,o),l=e.slice(t,r);for(let f=0;f2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,Zn(r)&&(r=o?0:e.length-1),r<0&&(r=e.length+r),r>=e.length){if(o)return-1;r=e.length-1}else if(r<0)if(o)r=0;else return-1;if(typeof t=="string"&&(t=M.from(t,n)),M.isBuffer(t))return t.length===0?-1:Ti(e,t,r,n,o);if(typeof t=="number")return t=t&255,typeof Uint8Array.prototype.indexOf=="function"?o?Uint8Array.prototype.indexOf.call(e,t,r):Uint8Array.prototype.lastIndexOf.call(e,t,r):Ti(e,[t],r,n,o);throw new TypeError("val must be string, number or Buffer")}u(Fi,"rr");function Ti(e,t,r,n,o){let i=1,s=e.length,a=t.length;if(n!==void 0&&(n=String(n).toLowerCase(),n==="ucs2"||n==="ucs-2"||n==="utf16le"||n==="utf-16le")){if(e.length<2||t.length<2)return-1;i=2,s/=2,a/=2,r/=2}function c(f,p){return i===1?f[p]:f.readUInt16BE(p*i)}u(c,"c");let l;if(o){let f=-1;for(l=r;ls&&(r=s-a),l=r;l>=0;l--){let f=!0;for(let p=0;po&&(n=o)):n=o;let i=t.length;n>i/2&&(n=i/2);let s;for(s=0;s>>0,isFinite(r)?(r=r>>>0,n===void 0&&(n="utf8")):(n=r,r=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");let o=this.length-t;if((r===void 0||r>o)&&(r=o),e.length>0&&(r<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");let i=!1;for(;;)switch(n){case"hex":return Cc(this,e,t,r);case"utf8":case"utf-8":return Fc(this,e,t,r);case"ascii":case"latin1":case"binary":return Rc(this,e,t,r);case"base64":return kc(this,e,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Nc(this,e,t,r);default:if(i)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),i=!0}};M.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function Dc(e,t,r){return t===0&&r===e.length?zn.fromByteArray(e):zn.fromByteArray(e.slice(t,r))}u(Dc,"Sr");function Ri(e,t,r){r=Math.min(e.length,r);let n=[],o=t;for(;o239?4:i>223?3:i>191?2:1;if(o+a<=r){let c,l,f,p;switch(a){case 1:i<128&&(s=i);break;case 2:c=e[o+1],(c&192)===128&&(p=(i&31)<<6|c&63,p>127&&(s=p));break;case 3:c=e[o+1],l=e[o+2],(c&192)===128&&(l&192)===128&&(p=(i&15)<<12|(c&63)<<6|l&63,p>2047&&(p<55296||p>57343)&&(s=p));break;case 4:c=e[o+1],l=e[o+2],f=e[o+3],(c&192)===128&&(l&192)===128&&(f&192)===128&&(p=(i&15)<<18|(c&63)<<12|(l&63)<<6|f&63,p>65535&&p<1114112&&(s=p))}}s===null?(s=65533,a=1):s>65535&&(s-=65536,n.push(s>>>10&1023|55296),s=56320|s&1023),n.push(s),o+=a}return jc(n)}u(Ri,"tr");var Pi=4096;function jc(e){let t=e.length;if(t<=Pi)return String.fromCharCode.apply(String,e);let r="",n=0;for(;nn)&&(r=n);let o="";for(let i=t;ir&&(e=r),t<0?(t+=r,t<0&&(t=0)):t>r&&(t=r),tr)throw new RangeError("Trying to access beyond buffer length")}u(oe,"a");M.prototype.readUintLE=M.prototype.readUIntLE=function(e,t,r){e=e>>>0,t=t>>>0,r||oe(e,t,this.length);let n=this[e],o=1,i=0;for(;++i>>0,t=t>>>0,r||oe(e,t,this.length);let n=this[e+--t],o=1;for(;t>0&&(o*=256);)n+=this[e+--t]*o;return n};M.prototype.readUint8=M.prototype.readUInt8=function(e,t){return e=e>>>0,t||oe(e,1,this.length),this[e]};M.prototype.readUint16LE=M.prototype.readUInt16LE=function(e,t){return e=e>>>0,t||oe(e,2,this.length),this[e]|this[e+1]<<8};M.prototype.readUint16BE=M.prototype.readUInt16BE=function(e,t){return e=e>>>0,t||oe(e,2,this.length),this[e]<<8|this[e+1]};M.prototype.readUint32LE=M.prototype.readUInt32LE=function(e,t){return e=e>>>0,t||oe(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+this[e+3]*16777216};M.prototype.readUint32BE=M.prototype.readUInt32BE=function(e,t){return e=e>>>0,t||oe(e,4,this.length),this[e]*16777216+(this[e+1]<<16|this[e+2]<<8|this[e+3])};M.prototype.readBigUInt64LE=tt(function(e){e=e>>>0,Ct(e,"offset");let t=this[e],r=this[e+7];(t===void 0||r===void 0)&&ar(e,this.length-8);let n=t+this[++e]*2**8+this[++e]*2**16+this[++e]*2**24,o=this[++e]+this[++e]*2**8+this[++e]*2**16+r*2**24;return BigInt(n)+(BigInt(o)<>>0,Ct(e,"offset");let t=this[e],r=this[e+7];(t===void 0||r===void 0)&&ar(e,this.length-8);let n=t*2**24+this[++e]*2**16+this[++e]*2**8+this[++e],o=this[++e]*2**24+this[++e]*2**16+this[++e]*2**8+r;return(BigInt(n)<>>0,t=t>>>0,r||oe(e,t,this.length);let n=this[e],o=1,i=0;for(;++i=o&&(n-=Math.pow(2,8*t)),n};M.prototype.readIntBE=function(e,t,r){e=e>>>0,t=t>>>0,r||oe(e,t,this.length);let n=t,o=1,i=this[e+--n];for(;n>0&&(o*=256);)i+=this[e+--n]*o;return o*=128,i>=o&&(i-=Math.pow(2,8*t)),i};M.prototype.readInt8=function(e,t){return e=e>>>0,t||oe(e,1,this.length),this[e]&128?(255-this[e]+1)*-1:this[e]};M.prototype.readInt16LE=function(e,t){e=e>>>0,t||oe(e,2,this.length);let r=this[e]|this[e+1]<<8;return r&32768?r|4294901760:r};M.prototype.readInt16BE=function(e,t){e=e>>>0,t||oe(e,2,this.length);let r=this[e+1]|this[e]<<8;return r&32768?r|4294901760:r};M.prototype.readInt32LE=function(e,t){return e=e>>>0,t||oe(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24};M.prototype.readInt32BE=function(e,t){return e=e>>>0,t||oe(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]};M.prototype.readBigInt64LE=tt(function(e){e=e>>>0,Ct(e,"offset");let t=this[e],r=this[e+7];(t===void 0||r===void 0)&&ar(e,this.length-8);let n=this[e+4]+this[e+5]*2**8+this[e+6]*2**16+(r<<24);return(BigInt(n)<>>0,Ct(e,"offset");let t=this[e],r=this[e+7];(t===void 0||r===void 0)&&ar(e,this.length-8);let n=(t<<24)+this[++e]*2**16+this[++e]*2**8+this[++e];return(BigInt(n)<>>0,t||oe(e,4,this.length),It.read(this,e,!0,23,4)};M.prototype.readFloatBE=function(e,t){return e=e>>>0,t||oe(e,4,this.length),It.read(this,e,!1,23,4)};M.prototype.readDoubleLE=function(e,t){return e=e>>>0,t||oe(e,8,this.length),It.read(this,e,!0,52,8)};M.prototype.readDoubleBE=function(e,t){return e=e>>>0,t||oe(e,8,this.length),It.read(this,e,!1,52,8)};function we(e,t,r,n,o,i){if(!M.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>o||te.length)throw new RangeError("Index out of range")}u(we,"y");M.prototype.writeUintLE=M.prototype.writeUIntLE=function(e,t,r,n){if(e=+e,t=t>>>0,r=r>>>0,!n){let s=Math.pow(2,8*r)-1;we(this,e,t,r,s,0)}let o=1,i=0;for(this[t]=e&255;++i>>0,r=r>>>0,!n){let s=Math.pow(2,8*r)-1;we(this,e,t,r,s,0)}let o=r-1,i=1;for(this[t+o]=e&255;--o>=0&&(i*=256);)this[t+o]=e/i&255;return t+r};M.prototype.writeUint8=M.prototype.writeUInt8=function(e,t,r){return e=+e,t=t>>>0,r||we(this,e,t,1,255,0),this[t]=e&255,t+1};M.prototype.writeUint16LE=M.prototype.writeUInt16LE=function(e,t,r){return e=+e,t=t>>>0,r||we(this,e,t,2,65535,0),this[t]=e&255,this[t+1]=e>>>8,t+2};M.prototype.writeUint16BE=M.prototype.writeUInt16BE=function(e,t,r){return e=+e,t=t>>>0,r||we(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=e&255,t+2};M.prototype.writeUint32LE=M.prototype.writeUInt32LE=function(e,t,r){return e=+e,t=t>>>0,r||we(this,e,t,4,4294967295,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=e&255,t+4};M.prototype.writeUint32BE=M.prototype.writeUInt32BE=function(e,t,r){return e=+e,t=t>>>0,r||we(this,e,t,4,4294967295,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=e&255,t+4};function ki(e,t,r,n,o){Bi(t,n,o,e,r,7);let i=Number(t&BigInt(4294967295));e[r++]=i,i=i>>8,e[r++]=i,i=i>>8,e[r++]=i,i=i>>8,e[r++]=i;let s=Number(t>>BigInt(32)&BigInt(4294967295));return e[r++]=s,s=s>>8,e[r++]=s,s=s>>8,e[r++]=s,s=s>>8,e[r++]=s,r}u(ki,"ir");function Ni(e,t,r,n,o){Bi(t,n,o,e,r,7);let i=Number(t&BigInt(4294967295));e[r+7]=i,i=i>>8,e[r+6]=i,i=i>>8,e[r+5]=i,i=i>>8,e[r+4]=i;let s=Number(t>>BigInt(32)&BigInt(4294967295));return e[r+3]=s,s=s>>8,e[r+2]=s,s=s>>8,e[r+1]=s,s=s>>8,e[r]=s,r+8}u(Ni,"nr");M.prototype.writeBigUInt64LE=tt(function(e,t=0){return ki(this,e,t,BigInt(0),BigInt("0xffffffffffffffff"))});M.prototype.writeBigUInt64BE=tt(function(e,t=0){return Ni(this,e,t,BigInt(0),BigInt("0xffffffffffffffff"))});M.prototype.writeIntLE=function(e,t,r,n){if(e=+e,t=t>>>0,!n){let a=Math.pow(2,8*r-1);we(this,e,t,r,a-1,-a)}let o=0,i=1,s=0;for(this[t]=e&255;++o>0)-s&255;return t+r};M.prototype.writeIntBE=function(e,t,r,n){if(e=+e,t=t>>>0,!n){let a=Math.pow(2,8*r-1);we(this,e,t,r,a-1,-a)}let o=r-1,i=1,s=0;for(this[t+o]=e&255;--o>=0&&(i*=256);)e<0&&s===0&&this[t+o+1]!==0&&(s=1),this[t+o]=(e/i>>0)-s&255;return t+r};M.prototype.writeInt8=function(e,t,r){return e=+e,t=t>>>0,r||we(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=e&255,t+1};M.prototype.writeInt16LE=function(e,t,r){return e=+e,t=t>>>0,r||we(this,e,t,2,32767,-32768),this[t]=e&255,this[t+1]=e>>>8,t+2};M.prototype.writeInt16BE=function(e,t,r){return e=+e,t=t>>>0,r||we(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=e&255,t+2};M.prototype.writeInt32LE=function(e,t,r){return e=+e,t=t>>>0,r||we(this,e,t,4,2147483647,-2147483648),this[t]=e&255,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4};M.prototype.writeInt32BE=function(e,t,r){return e=+e,t=t>>>0,r||we(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=e&255,t+4};M.prototype.writeBigInt64LE=tt(function(e,t=0){return ki(this,e,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});M.prototype.writeBigInt64BE=tt(function(e,t=0){return Ni(this,e,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});function Di(e,t,r,n,o,i){if(r+n>e.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}u(Di,"er");function ji(e,t,r,n,o){return t=+t,r=r>>>0,o||Di(e,t,r,4,34028234663852886e22,-34028234663852886e22),It.write(e,t,r,n,23,4),r+4}u(ji,"or");M.prototype.writeFloatLE=function(e,t,r){return ji(this,e,t,!0,r)};M.prototype.writeFloatBE=function(e,t,r){return ji(this,e,t,!1,r)};function $i(e,t,r,n,o){return t=+t,r=r>>>0,o||Di(e,t,r,8,17976931348623157e292,-17976931348623157e292),It.write(e,t,r,n,52,8),r+8}u($i,"ur");M.prototype.writeDoubleLE=function(e,t,r){return $i(this,e,t,!0,r)};M.prototype.writeDoubleBE=function(e,t,r){return $i(this,e,t,!1,r)};M.prototype.copy=function(e,t,r,n){if(!M.isBuffer(e))throw new TypeError("argument should be a Buffer");if(r||(r=0),!n&&n!==0&&(n=this.length),t>=e.length&&(t=e.length),t||(t=0),n>0&&n=this.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),e.length-t>>0,r=r===void 0?this.length:r>>>0,e||(e=0);let o;if(typeof e=="number")for(o=t;o2**32?o=Si(String(r)):typeof r=="bigint"&&(o=String(r),(r>BigInt(2)**BigInt(32)||r<-(BigInt(2)**BigInt(32)))&&(o=Si(o)),o+="n"),n+=` It must be ${t}. Received ${o}`,n},RangeError);function Si(e){let t="",r=e.length,n=e[0]==="-"?1:0;for(;r>=n+4;r-=3)t=`_${e.slice(r-3,r)}${t}`;return`${e.slice(0,r)}${t}`}u(Si,"K");function Uc(e,t,r){Ct(t,"offset"),(e[t]===void 0||e[t+r]===void 0)&&ar(t,e.length-(r+1))}u(Uc,"Dr");function Bi(e,t,r,n,o,i){if(e>r||e3?t===0||t===BigInt(0)?a=`>= 0${s} and < 2${s} ** ${(i+1)*8}${s}`:a=`>= -(2${s} ** ${(i+1)*8-1}${s}) and < 2 ** ${(i+1)*8-1}${s}`:a=`>= ${t}${s} and <= ${r}${s}`,new Ot.ERR_OUT_OF_RANGE("value",a,e)}Uc(n,o,i)}u(Bi,"hr");function Ct(e,t){if(typeof e!="number")throw new Ot.ERR_INVALID_ARG_TYPE(t,"number",e)}u(Ct,"R");function ar(e,t,r){throw Math.floor(e)!==e?(Ct(e,r),new Ot.ERR_OUT_OF_RANGE(r||"offset","an integer",e)):t<0?new Ot.ERR_BUFFER_OUT_OF_BOUNDS:new Ot.ERR_OUT_OF_RANGE(r||"offset",`>= ${r?1:0} and <= ${t}`,e)}u(ar,"T");var Vc=/[^+/0-9A-Za-z-_]/g;function Gc(e){if(e=e.split("=")[0],e=e.trim().replace(Vc,""),e.length<2)return"";for(;e.length%4!==0;)e=e+"=";return e}u(Gc,"br");function Hn(e,t){t=t||1/0;let r,n=e.length,o=null,i=[];for(let s=0;s55295&&r<57344){if(!o){if(r>56319){(t-=3)>-1&&i.push(239,191,189);continue}else if(s+1===n){(t-=3)>-1&&i.push(239,191,189);continue}o=r;continue}if(r<56320){(t-=3)>-1&&i.push(239,191,189),o=r;continue}r=(o-55296<<10|r-56320)+65536}else o&&(t-=3)>-1&&i.push(239,191,189);if(o=null,r<128){if((t-=1)<0)break;i.push(r)}else if(r<2048){if((t-=2)<0)break;i.push(r>>6|192,r&63|128)}else if(r<65536){if((t-=3)<0)break;i.push(r>>12|224,r>>6&63|128,r&63|128)}else if(r<1114112){if((t-=4)<0)break;i.push(r>>18|240,r>>12&63|128,r>>6&63|128,r&63|128)}else throw new Error("Invalid code point")}return i}u(Hn,"b");function Jc(e){let t=[];for(let r=0;r>8,o=r%256,i.push(o),i.push(n);return i}u(zc,"Or");function Li(e){return zn.toByteArray(Gc(e))}u(Li,"fr");function Jr(e,t,r,n){let o;for(o=0;o=t.length||o>=e.length);++o)t[o+r]=e[o];return o}u(Jr,"_");function Le(e,t){return e instanceof t||e!=null&&e.constructor!=null&&e.constructor.name!=null&&e.constructor.name===t.name}u(Le,"E");function Zn(e){return e!==e}u(Zn,"Y");var Wc=function(){let e="0123456789abcdef",t=new Array(256);for(let r=0;r<16;++r){let n=r*16;for(let o=0;o<16;++o)t[n+o]=e[r]+e[o]}return t}();function tt(e){return typeof BigInt>"u"?Hc:e}u(tt,"g");function Hc(){throw new Error("BigInt not supported")}u(Hc,"Yr");});var E,m=sr(()=>{E=Z(qi())});var Ui=W((Cd,zr)=>{m();g();d();var Qc=function(){var e=String.fromCharCode,t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-$",n={};function o(s,a){if(!n[s]){n[s]={};for(var c=0;c>>8,c[l*2+1]=p%256}return c},decompressFromUint8Array:function(s){if(s==null)return i.decompress(s);for(var a=new Array(s.length/2),c=0,l=a.length;c>1}else{for(f=1,l=0;l>1}A--,A==0&&(A=Math.pow(2,T),T++),delete h[y]}else for(f=p[y],l=0;l>1;A--,A==0&&(A=Math.pow(2,T),T++),p[v]=S++,y=String(w)}if(y!==""){if(Object.prototype.hasOwnProperty.call(h,y)){if(y.charCodeAt(0)<256){for(l=0;l>1}else{for(f=1,l=0;l>1}A--,A==0&&(A=Math.pow(2,T),T++),delete h[y]}else for(f=p[y],l=0;l>1;A--,A==0&&(A=Math.pow(2,T),T++)}for(f=2,l=0;l>1;for(;;)if(P=P<<1,O==a-1){_.push(c(P));break}else O++;return _.join("")},decompress:function(s){return s==null?"":s==""?null:i._decompress(s.length,32768,function(a){return s.charCodeAt(a)})},_decompress:function(s,a,c){var l=[],f,p=4,h=4,w=3,v="",y=[],A,S,T,_,P,O,F,R={val:c(0),position:a,index:1};for(A=0;A<3;A+=1)l[A]=A;for(T=0,P=Math.pow(2,2),O=1;O!=P;)_=R.val&R.position,R.position>>=1,R.position==0&&(R.position=a,R.val=c(R.index++)),T|=(_>0?1:0)*O,O<<=1;switch(f=T){case 0:for(T=0,P=Math.pow(2,8),O=1;O!=P;)_=R.val&R.position,R.position>>=1,R.position==0&&(R.position=a,R.val=c(R.index++)),T|=(_>0?1:0)*O,O<<=1;F=e(T);break;case 1:for(T=0,P=Math.pow(2,16),O=1;O!=P;)_=R.val&R.position,R.position>>=1,R.position==0&&(R.position=a,R.val=c(R.index++)),T|=(_>0?1:0)*O,O<<=1;F=e(T);break;case 2:return""}for(l[3]=F,S=F,y.push(F);;){if(R.index>s)return"";for(T=0,P=Math.pow(2,w),O=1;O!=P;)_=R.val&R.position,R.position>>=1,R.position==0&&(R.position=a,R.val=c(R.index++)),T|=(_>0?1:0)*O,O<<=1;switch(F=T){case 0:for(T=0,P=Math.pow(2,8),O=1;O!=P;)_=R.val&R.position,R.position>>=1,R.position==0&&(R.position=a,R.val=c(R.index++)),T|=(_>0?1:0)*O,O<<=1;l[h++]=e(T),F=h-1,p--;break;case 1:for(T=0,P=Math.pow(2,16),O=1;O!=P;)_=R.val&R.position,R.position>>=1,R.position==0&&(R.position=a,R.val=c(R.index++)),T|=(_>0?1:0)*O,O<<=1;l[h++]=e(T),F=h-1,p--;break;case 2:return y.join("")}if(p==0&&(p=Math.pow(2,w),w++),l[F])v=l[F];else if(F===h)v=S+S.charAt(0);else return null;y.push(v),l[h++]=S+v.charAt(0),p--,S=v,p==0&&(p=Math.pow(2,w),w++)}}};return i}();typeof zr!="undefined"&&zr!=null&&(zr.exports=Qc)});var Gi=W((Rd,Vi)=>{"use strict";m();g();d();Vi.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}});var Xn=W((kd,zi)=>{m();g();d();var ur=Gi(),Ji={};for(let e of Object.keys(ur))Ji[ur[e]]=e;var N={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};zi.exports=N;for(let e of Object.keys(N)){if(!("channels"in N[e]))throw new Error("missing channels property: "+e);if(!("labels"in N[e]))throw new Error("missing channel labels property: "+e);if(N[e].labels.length!==N[e].channels)throw new Error("channel and label counts mismatch: "+e);let{channels:t,labels:r}=N[e];delete N[e].channels,delete N[e].labels,Object.defineProperty(N[e],"channels",{value:t}),Object.defineProperty(N[e],"labels",{value:r})}N.rgb.hsl=function(e){let t=e[0]/255,r=e[1]/255,n=e[2]/255,o=Math.min(t,r,n),i=Math.max(t,r,n),s=i-o,a,c;i===o?a=0:t===i?a=(r-n)/s:r===i?a=2+(n-t)/s:n===i&&(a=4+(t-r)/s),a=Math.min(a*60,360),a<0&&(a+=360);let l=(o+i)/2;return i===o?c=0:l<=.5?c=s/(i+o):c=s/(2-i-o),[a,c*100,l*100]};N.rgb.hsv=function(e){let t,r,n,o,i,s=e[0]/255,a=e[1]/255,c=e[2]/255,l=Math.max(s,a,c),f=l-Math.min(s,a,c),p=u(function(h){return(l-h)/6/f+1/2},"diffc");return f===0?(o=0,i=0):(i=f/l,t=p(s),r=p(a),n=p(c),s===l?o=n-r:a===l?o=1/3+t-n:c===l&&(o=2/3+r-t),o<0?o+=1:o>1&&(o-=1)),[o*360,i*100,l*100]};N.rgb.hwb=function(e){let t=e[0],r=e[1],n=e[2],o=N.rgb.hsl(e)[0],i=1/255*Math.min(t,Math.min(r,n));return n=1-1/255*Math.max(t,Math.max(r,n)),[o,i*100,n*100]};N.rgb.cmyk=function(e){let t=e[0]/255,r=e[1]/255,n=e[2]/255,o=Math.min(1-t,1-r,1-n),i=(1-t-o)/(1-o)||0,s=(1-r-o)/(1-o)||0,a=(1-n-o)/(1-o)||0;return[i*100,s*100,a*100,o*100]};function Kc(e,t){return(e[0]-t[0])**2+(e[1]-t[1])**2+(e[2]-t[2])**2}u(Kc,"comparativeDistance");N.rgb.keyword=function(e){let t=Ji[e];if(t)return t;let r=1/0,n;for(let o of Object.keys(ur)){let i=ur[o],s=Kc(e,i);s.04045?((t+.055)/1.055)**2.4:t/12.92,r=r>.04045?((r+.055)/1.055)**2.4:r/12.92,n=n>.04045?((n+.055)/1.055)**2.4:n/12.92;let o=t*.4124+r*.3576+n*.1805,i=t*.2126+r*.7152+n*.0722,s=t*.0193+r*.1192+n*.9505;return[o*100,i*100,s*100]};N.rgb.lab=function(e){let t=N.rgb.xyz(e),r=t[0],n=t[1],o=t[2];r/=95.047,n/=100,o/=108.883,r=r>.008856?r**(1/3):7.787*r+16/116,n=n>.008856?n**(1/3):7.787*n+16/116,o=o>.008856?o**(1/3):7.787*o+16/116;let i=116*n-16,s=500*(r-n),a=200*(n-o);return[i,s,a]};N.hsl.rgb=function(e){let t=e[0]/360,r=e[1]/100,n=e[2]/100,o,i,s;if(r===0)return s=n*255,[s,s,s];n<.5?o=n*(1+r):o=n+r-n*r;let a=2*n-o,c=[0,0,0];for(let l=0;l<3;l++)i=t+1/3*-(l-1),i<0&&i++,i>1&&i--,6*i<1?s=a+(o-a)*6*i:2*i<1?s=o:3*i<2?s=a+(o-a)*(2/3-i)*6:s=a,c[l]=s*255;return c};N.hsl.hsv=function(e){let t=e[0],r=e[1]/100,n=e[2]/100,o=r,i=Math.max(n,.01);n*=2,r*=n<=1?n:2-n,o*=i<=1?i:2-i;let s=(n+r)/2,a=n===0?2*o/(i+o):2*r/(n+r);return[t,a*100,s*100]};N.hsv.rgb=function(e){let t=e[0]/60,r=e[1]/100,n=e[2]/100,o=Math.floor(t)%6,i=t-Math.floor(t),s=255*n*(1-r),a=255*n*(1-r*i),c=255*n*(1-r*(1-i));switch(n*=255,o){case 0:return[n,c,s];case 1:return[a,n,s];case 2:return[s,n,c];case 3:return[s,a,n];case 4:return[c,s,n];case 5:return[n,s,a]}};N.hsv.hsl=function(e){let t=e[0],r=e[1]/100,n=e[2]/100,o=Math.max(n,.01),i,s;s=(2-r)*n;let a=(2-r)*o;return i=r*o,i/=a<=1?a:2-a,i=i||0,s/=2,[t,i*100,s*100]};N.hwb.rgb=function(e){let t=e[0]/360,r=e[1]/100,n=e[2]/100,o=r+n,i;o>1&&(r/=o,n/=o);let s=Math.floor(6*t),a=1-n;i=6*t-s,(s&1)!==0&&(i=1-i);let c=r+i*(a-r),l,f,p;switch(s){default:case 6:case 0:l=a,f=c,p=r;break;case 1:l=c,f=a,p=r;break;case 2:l=r,f=a,p=c;break;case 3:l=r,f=c,p=a;break;case 4:l=c,f=r,p=a;break;case 5:l=a,f=r,p=c;break}return[l*255,f*255,p*255]};N.cmyk.rgb=function(e){let t=e[0]/100,r=e[1]/100,n=e[2]/100,o=e[3]/100,i=1-Math.min(1,t*(1-o)+o),s=1-Math.min(1,r*(1-o)+o),a=1-Math.min(1,n*(1-o)+o);return[i*255,s*255,a*255]};N.xyz.rgb=function(e){let t=e[0]/100,r=e[1]/100,n=e[2]/100,o,i,s;return o=t*3.2406+r*-1.5372+n*-.4986,i=t*-.9689+r*1.8758+n*.0415,s=t*.0557+r*-.204+n*1.057,o=o>.0031308?1.055*o**(1/2.4)-.055:o*12.92,i=i>.0031308?1.055*i**(1/2.4)-.055:i*12.92,s=s>.0031308?1.055*s**(1/2.4)-.055:s*12.92,o=Math.min(Math.max(0,o),1),i=Math.min(Math.max(0,i),1),s=Math.min(Math.max(0,s),1),[o*255,i*255,s*255]};N.xyz.lab=function(e){let t=e[0],r=e[1],n=e[2];t/=95.047,r/=100,n/=108.883,t=t>.008856?t**(1/3):7.787*t+16/116,r=r>.008856?r**(1/3):7.787*r+16/116,n=n>.008856?n**(1/3):7.787*n+16/116;let o=116*r-16,i=500*(t-r),s=200*(r-n);return[o,i,s]};N.lab.xyz=function(e){let t=e[0],r=e[1],n=e[2],o,i,s;i=(t+16)/116,o=r/500+i,s=i-n/200;let a=i**3,c=o**3,l=s**3;return i=a>.008856?a:(i-16/116)/7.787,o=c>.008856?c:(o-16/116)/7.787,s=l>.008856?l:(s-16/116)/7.787,o*=95.047,i*=100,s*=108.883,[o,i,s]};N.lab.lch=function(e){let t=e[0],r=e[1],n=e[2],o;o=Math.atan2(n,r)*360/2/Math.PI,o<0&&(o+=360);let s=Math.sqrt(r*r+n*n);return[t,s,o]};N.lch.lab=function(e){let t=e[0],r=e[1],o=e[2]/360*2*Math.PI,i=r*Math.cos(o),s=r*Math.sin(o);return[t,i,s]};N.rgb.ansi16=function(e,t=null){let[r,n,o]=e,i=t===null?N.rgb.hsv(e)[2]:t;if(i=Math.round(i/50),i===0)return 30;let s=30+(Math.round(o/255)<<2|Math.round(n/255)<<1|Math.round(r/255));return i===2&&(s+=60),s};N.hsv.ansi16=function(e){return N.rgb.ansi16(N.hsv.rgb(e),e[2])};N.rgb.ansi256=function(e){let t=e[0],r=e[1],n=e[2];return t===r&&r===n?t<8?16:t>248?231:Math.round((t-8)/247*24)+232:16+36*Math.round(t/255*5)+6*Math.round(r/255*5)+Math.round(n/255*5)};N.ansi16.rgb=function(e){let t=e%10;if(t===0||t===7)return e>50&&(t+=3.5),t=t/10.5*255,[t,t,t];let r=(~~(e>50)+1)*.5,n=(t&1)*r*255,o=(t>>1&1)*r*255,i=(t>>2&1)*r*255;return[n,o,i]};N.ansi256.rgb=function(e){if(e>=232){let i=(e-232)*10+8;return[i,i,i]}e-=16;let t,r=Math.floor(e/36)/5*255,n=Math.floor((t=e%36)/6)/5*255,o=t%6/5*255;return[r,n,o]};N.rgb.hex=function(e){let r=(((Math.round(e[0])&255)<<16)+((Math.round(e[1])&255)<<8)+(Math.round(e[2])&255)).toString(16).toUpperCase();return"000000".substring(r.length)+r};N.hex.rgb=function(e){let t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t)return[0,0,0];let r=t[0];t[0].length===3&&(r=r.split("").map(a=>a+a).join(""));let n=parseInt(r,16),o=n>>16&255,i=n>>8&255,s=n&255;return[o,i,s]};N.rgb.hcg=function(e){let t=e[0]/255,r=e[1]/255,n=e[2]/255,o=Math.max(Math.max(t,r),n),i=Math.min(Math.min(t,r),n),s=o-i,a,c;return s<1?a=i/(1-s):a=0,s<=0?c=0:o===t?c=(r-n)/s%6:o===r?c=2+(n-t)/s:c=4+(t-r)/s,c/=6,c%=1,[c*360,s*100,a*100]};N.hsl.hcg=function(e){let t=e[1]/100,r=e[2]/100,n=r<.5?2*t*r:2*t*(1-r),o=0;return n<1&&(o=(r-.5*n)/(1-n)),[e[0],n*100,o*100]};N.hsv.hcg=function(e){let t=e[1]/100,r=e[2]/100,n=t*r,o=0;return n<1&&(o=(r-n)/(1-n)),[e[0],n*100,o*100]};N.hcg.rgb=function(e){let t=e[0]/360,r=e[1]/100,n=e[2]/100;if(r===0)return[n*255,n*255,n*255];let o=[0,0,0],i=t%1*6,s=i%1,a=1-s,c=0;switch(Math.floor(i)){case 0:o[0]=1,o[1]=s,o[2]=0;break;case 1:o[0]=a,o[1]=1,o[2]=0;break;case 2:o[0]=0,o[1]=1,o[2]=s;break;case 3:o[0]=0,o[1]=a,o[2]=1;break;case 4:o[0]=s,o[1]=0,o[2]=1;break;default:o[0]=1,o[1]=0,o[2]=a}return c=(1-r)*n,[(r*o[0]+c)*255,(r*o[1]+c)*255,(r*o[2]+c)*255]};N.hcg.hsv=function(e){let t=e[1]/100,r=e[2]/100,n=t+r*(1-t),o=0;return n>0&&(o=t/n),[e[0],o*100,n*100]};N.hcg.hsl=function(e){let t=e[1]/100,n=e[2]/100*(1-t)+.5*t,o=0;return n>0&&n<.5?o=t/(2*n):n>=.5&&n<1&&(o=t/(2*(1-n))),[e[0],o*100,n*100]};N.hcg.hwb=function(e){let t=e[1]/100,r=e[2]/100,n=t+r*(1-t);return[e[0],(n-t)*100,(1-n)*100]};N.hwb.hcg=function(e){let t=e[1]/100,r=e[2]/100,n=1-r,o=n-t,i=0;return o<1&&(i=(n-o)/(1-o)),[e[0],o*100,i*100]};N.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]};N.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]};N.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]};N.gray.hsl=function(e){return[0,0,e[0]]};N.gray.hsv=N.gray.hsl;N.gray.hwb=function(e){return[0,100,e[0]]};N.gray.cmyk=function(e){return[0,0,0,e[0]]};N.gray.lab=function(e){return[e[0],0,0]};N.gray.hex=function(e){let t=Math.round(e[0]/100*255)&255,n=((t<<16)+(t<<8)+t).toString(16).toUpperCase();return"000000".substring(n.length)+n};N.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]}});var Hi=W((Nd,Wi)=>{m();g();d();var Wr=Xn();function Yc(){let e={},t=Object.keys(Wr);for(let r=t.length,n=0;n{m();g();d();var eo=Xn(),tl=Hi(),Rt={},rl=Object.keys(eo);function nl(e){let t=u(function(...r){let n=r[0];return n==null?n:(n.length>1&&(r=n),e(r))},"wrappedFn");return"conversion"in e&&(t.conversion=e.conversion),t}u(nl,"wrapRaw");function ol(e){let t=u(function(...r){let n=r[0];if(n==null)return n;n.length>1&&(r=n);let o=e(r);if(typeof o=="object")for(let i=o.length,s=0;s{Rt[e]={},Object.defineProperty(Rt[e],"channels",{value:eo[e].channels}),Object.defineProperty(Rt[e],"labels",{value:eo[e].labels});let t=tl(e);Object.keys(t).forEach(n=>{let o=t[n];Rt[e][n]=ol(o),Rt[e][n].raw=nl(o)})});Qi.exports=Rt});var rs=W((jd,ts)=>{"use strict";m();g();d();var Yi=u((e,t)=>(...r)=>`\x1B[${e(...r)+t}m`,"wrapAnsi16"),Zi=u((e,t)=>(...r)=>{let n=e(...r);return`\x1B[${38+t};5;${n}m`},"wrapAnsi256"),Xi=u((e,t)=>(...r)=>{let n=e(...r);return`\x1B[${38+t};2;${n[0]};${n[1]};${n[2]}m`},"wrapAnsi16m"),Hr=u(e=>e,"ansi2ansi"),es=u((e,t,r)=>[e,t,r],"rgb2rgb"),kt=u((e,t,r)=>{Object.defineProperty(e,t,{get:()=>{let n=r();return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0}),n},enumerable:!0,configurable:!0})},"setLazyProperty"),to,Nt=u((e,t,r,n)=>{to===void 0&&(to=Ki());let o=n?10:0,i={};for(let[s,a]of Object.entries(to)){let c=s==="ansi16"?"ansi":s;s===t?i[c]=e(r,o):typeof a=="object"&&(i[c]=e(a[t],o))}return i},"makeDynamicStyles");function il(){let e=new Map,t={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};t.color.gray=t.color.blackBright,t.bgColor.bgGray=t.bgColor.bgBlackBright,t.color.grey=t.color.blackBright,t.bgColor.bgGrey=t.bgColor.bgBlackBright;for(let[r,n]of Object.entries(t)){for(let[o,i]of Object.entries(n))t[o]={open:`\x1B[${i[0]}m`,close:`\x1B[${i[1]}m`},n[o]=t[o],e.set(i[0],i[1]);Object.defineProperty(t,r,{value:n,enumerable:!1})}return Object.defineProperty(t,"codes",{value:e,enumerable:!1}),t.color.close="\x1B[39m",t.bgColor.close="\x1B[49m",kt(t.color,"ansi",()=>Nt(Yi,"ansi16",Hr,!1)),kt(t.color,"ansi256",()=>Nt(Zi,"ansi256",Hr,!1)),kt(t.color,"ansi16m",()=>Nt(Xi,"rgb",es,!1)),kt(t.bgColor,"ansi",()=>Nt(Yi,"ansi16",Hr,!0)),kt(t.bgColor,"ansi256",()=>Nt(Zi,"ansi256",Hr,!0)),kt(t.bgColor,"ansi16m",()=>Nt(Xi,"rgb",es,!0)),t}u(il,"assembleStyles");Object.defineProperty(ts,"exports",{enumerable:!0,get:il})});var ro=W(()=>{m();g();d()});var os=W((Ld,ns)=>{"use strict";m();g();d();var sl=u((e,t,r)=>{let n=e.indexOf(t);if(n===-1)return e;let o=t.length,i=0,s="";do s+=e.substr(i,n-i)+t+r,i=n+o,n=e.indexOf(t,i);while(n!==-1);return s+=e.substr(i),s},"stringReplaceAll"),al=u((e,t,r,n)=>{let o=0,i="";do{let s=e[n-1]==="\r";i+=e.substr(o,(s?n-1:n)-o)+t+(s?`\r -`:` -`)+r,o=n+1,n=e.indexOf(` -`,o)}while(n!==-1);return i+=e.substr(o),i},"stringEncaseCRLFWithFirstIndex");ns.exports={stringReplaceAll:sl,stringEncaseCRLFWithFirstIndex:al}});var cs=W((qd,us)=>{"use strict";m();g();d();var ul=/(?:\\(u(?:[a-f\d]{4}|\{[a-f\d]{1,6}\})|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi,is=/(?:^|\.)(\w+)(?:\(([^)]*)\))?/g,cl=/^(['"])((?:\\.|(?!\1)[^\\])*)\1$/,ll=/\\(u(?:[a-f\d]{4}|{[a-f\d]{1,6}})|x[a-f\d]{2}|.)|([^\\])/gi,fl=new Map([["n",` -`],["r","\r"],["t"," "],["b","\b"],["f","\f"],["v","\v"],["0","\0"],["\\","\\"],["e","\x1B"],["a","\x07"]]);function as(e){let t=e[0]==="u",r=e[1]==="{";return t&&!r&&e.length===5||e[0]==="x"&&e.length===3?String.fromCharCode(parseInt(e.slice(1),16)):t&&r?String.fromCodePoint(parseInt(e.slice(2,-1),16)):fl.get(e)||e}u(as,"unescape");function pl(e,t){let r=[],n=t.trim().split(/\s*,\s*/g),o;for(let i of n){let s=Number(i);if(!Number.isNaN(s))r.push(s);else if(o=i.match(cl))r.push(o[2].replace(ll,(a,c,l)=>c?as(c):l));else throw new Error(`Invalid Chalk template style argument: ${i} (in style '${e}')`)}return r}u(pl,"parseArguments");function gl(e){is.lastIndex=0;let t=[],r;for(;(r=is.exec(e))!==null;){let n=r[1];if(r[2]){let o=pl(n,r[2]);t.push([n].concat(o))}else t.push([n])}return t}u(gl,"parseStyle");function ss(e,t){let r={};for(let o of t)for(let i of o.styles)r[i[0]]=o.inverse?null:i.slice(1);let n=e;for(let[o,i]of Object.entries(r))if(!!Array.isArray(i)){if(!(o in n))throw new Error(`Unknown Chalk style: ${o}`);n=i.length>0?n[o](...i):n[o]}return n}u(ss,"buildStyle");us.exports=(e,t)=>{let r=[],n=[],o=[];if(t.replace(ul,(i,s,a,c,l,f)=>{if(s)o.push(as(s));else if(c){let p=o.join("");o=[],n.push(r.length===0?p:ss(e,r)(p)),r.push({inverse:a,styles:gl(c)})}else if(l){if(r.length===0)throw new Error("Found extraneous } in Chalk template literal");n.push(ss(e,r)(o.join(""))),o=[],r.pop()}else o.push(f)}),n.push(o.join("")),r.length>0){let i=`Chalk template literal is missing ${r.length} closing bracket${r.length===1?"":"s"} (\`}\`)`;throw new Error(i)}return n.join("")}});var Et=W((Ud,ms)=>{"use strict";m();g();d();var cr=rs(),{stdout:oo,stderr:io}=ro(),{stringReplaceAll:dl,stringEncaseCRLFWithFirstIndex:ml}=os(),{isArray:Kr}=Array,fs=["ansi","ansi","ansi256","ansi16m"],Dt=Object.create(null),hl=u((e,t={})=>{if(t.level&&!(Number.isInteger(t.level)&&t.level>=0&&t.level<=3))throw new Error("The `level` option should be an integer from 0 to 3");let r=oo?oo.level:0;e.level=t.level===void 0?r:t.level},"applyOptions"),Qr=class{constructor(t){return ps(t)}};u(Qr,"ChalkClass");var ps=u(e=>{let t={};return hl(t,e),t.template=(...r)=>ds(t.template,...r),Object.setPrototypeOf(t,Yr.prototype),Object.setPrototypeOf(t.template,t),t.template.constructor=()=>{throw new Error("`chalk.constructor()` is deprecated. Use `new chalk.Instance()` instead.")},t.template.Instance=Qr,t.template},"chalkFactory");function Yr(e){return ps(e)}u(Yr,"Chalk");for(let[e,t]of Object.entries(cr))Dt[e]={get(){let r=Zr(this,so(t.open,t.close,this._styler),this._isEmpty);return Object.defineProperty(this,e,{value:r}),r}};Dt.visible={get(){let e=Zr(this,this._styler,!0);return Object.defineProperty(this,"visible",{value:e}),e}};var gs=["rgb","hex","keyword","hsl","hsv","hwb","ansi","ansi256"];for(let e of gs)Dt[e]={get(){let{level:t}=this;return function(...r){let n=so(cr.color[fs[t]][e](...r),cr.color.close,this._styler);return Zr(this,n,this._isEmpty)}}};for(let e of gs){let t="bg"+e[0].toUpperCase()+e.slice(1);Dt[t]={get(){let{level:r}=this;return function(...n){let o=so(cr.bgColor[fs[r]][e](...n),cr.bgColor.close,this._styler);return Zr(this,o,this._isEmpty)}}}}var yl=Object.defineProperties(()=>{},{...Dt,level:{enumerable:!0,get(){return this._generator.level},set(e){this._generator.level=e}}}),so=u((e,t,r)=>{let n,o;return r===void 0?(n=e,o=t):(n=r.openAll+e,o=t+r.closeAll),{open:e,close:t,openAll:n,closeAll:o,parent:r}},"createStyler"),Zr=u((e,t,r)=>{let n=u((...o)=>Kr(o[0])&&Kr(o[0].raw)?ls(n,ds(n,...o)):ls(n,o.length===1?""+o[0]:o.join(" ")),"builder");return Object.setPrototypeOf(n,yl),n._generator=e,n._styler=t,n._isEmpty=r,n},"createBuilder"),ls=u((e,t)=>{if(e.level<=0||!t)return e._isEmpty?"":t;let r=e._styler;if(r===void 0)return t;let{openAll:n,closeAll:o}=r;if(t.indexOf("\x1B")!==-1)for(;r!==void 0;)t=dl(t,r.close,r.open),r=r.parent;let i=t.indexOf(` -`);return i!==-1&&(t=ml(t,o,n,i)),n+t+o},"applyStyle"),no,ds=u((e,...t)=>{let[r]=t;if(!Kr(r)||!Kr(r.raw))return t.join(" ");let n=t.slice(1),o=[r.raw[0]];for(let i=1;i{"use strict";m();g();d();Is.exports=(e,t=1,r)=>{if(r={indent:" ",includeEmptyLines:!1,...r},typeof e!="string")throw new TypeError(`Expected \`input\` to be a \`string\`, got \`${typeof e}\``);if(typeof t!="number")throw new TypeError(`Expected \`count\` to be a \`number\`, got \`${typeof t}\``);if(typeof r.indent!="string")throw new TypeError(`Expected \`options.indent\` to be a \`string\`, got \`${typeof r.indent}\``);if(t===0)return e;let n=r.includeEmptyLines?/^/gm:/^(?!\s*$)/gm;return e.replace(n,r.indent.repeat(t))}});var mo=W((Jd,Cs)=>{"use strict";m();g();d();Cs.exports=function(){function e(t,r,n,o,i){return tn?n+1:t+1:o===i?r:r+1}return u(e,"_min"),function(t,r){if(t===r)return 0;if(t.length>r.length){var n=t;t=r,r=n}for(var o=t.length,i=r.length;o>0&&t.charCodeAt(o-1)===r.charCodeAt(i-1);)o--,i--;for(var s=0;s{m();g();d();var ee=u((e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),"c"),Ds=ee((e,t)=>{"use strict";t.exports=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var r={},n=Symbol("test"),o=Object(n);if(typeof n=="string"||Object.prototype.toString.call(n)!=="[object Symbol]"||Object.prototype.toString.call(o)!=="[object Symbol]")return!1;var i=42;r[n]=i;for(n in r)return!1;if(typeof Object.keys=="function"&&Object.keys(r).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(r).length!==0)return!1;var s=Object.getOwnPropertySymbols(r);if(s.length!==1||s[0]!==n||!Object.prototype.propertyIsEnumerable.call(r,n))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var a=Object.getOwnPropertyDescriptor(r,n);if(a.value!==i||a.enumerable!==!0)return!1}return!0}}),mn=ee((e,t)=>{"use strict";var r=Ds();t.exports=function(){return r()&&!!Symbol.toStringTag}}),hf=ee((e,t)=>{"use strict";var r=typeof Symbol<"u"&&Symbol,n=Ds();t.exports=function(){return typeof r!="function"||typeof Symbol!="function"||typeof r("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:n()}}),yf=ee((e,t)=>{"use strict";var r="Function.prototype.bind called on incompatible ",n=Array.prototype.slice,o=Object.prototype.toString,i="[object Function]";t.exports=function(s){var a=this;if(typeof a!="function"||o.call(a)!==i)throw new TypeError(r+a);for(var c=n.call(arguments,1),l,f=function(){if(this instanceof l){var y=a.apply(this,c.concat(n.call(arguments)));return Object(y)===y?y:this}else return a.apply(s,c.concat(n.call(arguments)))},p=Math.max(0,a.length-c.length),h=[],w=0;w{"use strict";var r=yf();t.exports=x.prototype.bind||r}),bf=ee((e,t)=>{"use strict";var r=Eo();t.exports=r.call(x.call,Object.prototype.hasOwnProperty)}),xo=ee((e,t)=>{"use strict";var r,n=SyntaxError,o=x,i=TypeError,s=u(function(U){try{return o('"use strict"; return ('+U+").constructor;")()}catch(H){}},"cr"),a=Object.getOwnPropertyDescriptor;if(a)try{a({},"")}catch(U){a=null}var c=u(function(){throw new i},"lr"),l=a?function(){try{return arguments.callee,c}catch(U){try{return a(arguments,"callee").get}catch(H){return c}}}():c,f=hf()(),p=Object.getPrototypeOf||function(U){return U.__proto__},h={},w=typeof Uint8Array>"u"?r:p(Uint8Array),v={"%AggregateError%":typeof AggregateError>"u"?r:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?r:ArrayBuffer,"%ArrayIteratorPrototype%":f?p([][Symbol.iterator]()):r,"%AsyncFromSyncIteratorPrototype%":r,"%AsyncFunction%":h,"%AsyncGenerator%":h,"%AsyncGeneratorFunction%":h,"%AsyncIteratorPrototype%":h,"%Atomics%":typeof Atomics>"u"?r:Atomics,"%BigInt%":typeof BigInt>"u"?r:BigInt,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?r:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":void 0,"%EvalError%":EvalError,"%Float32Array%":typeof Float32Array>"u"?r:Float32Array,"%Float64Array%":typeof Float64Array>"u"?r:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?r:FinalizationRegistry,"%Function%":o,"%GeneratorFunction%":h,"%Int8Array%":typeof Int8Array>"u"?r:Int8Array,"%Int16Array%":typeof Int16Array>"u"?r:Int16Array,"%Int32Array%":typeof Int32Array>"u"?r:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":f?p(p([][Symbol.iterator]())):r,"%JSON%":typeof JSON=="object"?JSON:r,"%Map%":typeof Map>"u"?r:Map,"%MapIteratorPrototype%":typeof Map>"u"||!f?r:p(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?r:Promise,"%Proxy%":typeof Proxy>"u"?r:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":typeof Reflect>"u"?r:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?r:Set,"%SetIteratorPrototype%":typeof Set>"u"||!f?r:p(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?r:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":f?p(""[Symbol.iterator]()):r,"%Symbol%":f?Symbol:r,"%SyntaxError%":n,"%ThrowTypeError%":l,"%TypedArray%":w,"%TypeError%":i,"%Uint8Array%":typeof Uint8Array>"u"?r:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?r:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?r:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?r:Uint32Array,"%URIError%":URIError,"%WeakMap%":typeof WeakMap>"u"?r:WeakMap,"%WeakRef%":typeof WeakRef>"u"?r:WeakRef,"%WeakSet%":typeof WeakSet>"u"?r:WeakSet},y=u(function U(H){var z;if(H==="%AsyncFunction%")z=s("async function () {}");else if(H==="%GeneratorFunction%")z=s("function* () {}");else if(H==="%AsyncGeneratorFunction%")z=s("async function* () {}");else if(H==="%AsyncGenerator%"){var G=U("%AsyncGeneratorFunction%");G&&(z=G.prototype)}else if(H==="%AsyncIteratorPrototype%"){var K=U("%AsyncGenerator%");K&&(z=p(K.prototype))}return v[H]=z,z},"r"),A={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},S=Eo(),T=bf(),_=S.call(x.call,Array.prototype.concat),P=S.call(x.apply,Array.prototype.splice),O=S.call(x.call,String.prototype.replace),F=S.call(x.call,String.prototype.slice),R=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,$=/\\(\\)?/g,Q=u(function(U){var H=F(U,0,1),z=F(U,-1);if(H==="%"&&z!=="%")throw new n("invalid intrinsic syntax, expected closing `%`");if(z==="%"&&H!=="%")throw new n("invalid intrinsic syntax, expected opening `%`");var G=[];return O(U,R,function(K,V,ue,Ze){G[G.length]=ue?O(Ze,$,"$1"):V||K}),G},"gt"),te=u(function(U,H){var z=U,G;if(T(A,z)&&(G=A[z],z="%"+G[0]+"%"),T(v,z)){var K=v[z];if(K===h&&(K=y(z)),typeof K>"u"&&!H)throw new i("intrinsic "+U+" exists, but is not available. Please file an issue!");return{alias:G,name:z,value:K}}throw new n("intrinsic "+U+" does not exist!")},"dt");t.exports=function(U,H){if(typeof U!="string"||U.length===0)throw new i("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof H!="boolean")throw new i('"allowMissing" argument must be a boolean');var z=Q(U),G=z.length>0?z[0]:"",K=te("%"+G+"%",H),V=K.name,ue=K.value,Ze=!1,or=K.alias;or&&(G=or[0],P(z,_([0,1],or)));for(var ze=1,Xe=!0;ze=z.length){var Be=a(ue,be);Xe=!!Be,Xe&&"get"in Be&&!("originalValue"in Be.get)?ue=Be.get:ue=ue[be]}else Xe=T(ue,be),ue=ue[be];Xe&&!Ze&&(v[V]=ue)}}return ue}}),wf=ee((e,t)=>{"use strict";var r=Eo(),n=xo(),o=n("%Function.prototype.apply%"),i=n("%Function.prototype.call%"),s=n("%Reflect.apply%",!0)||r.call(i,o),a=n("%Object.getOwnPropertyDescriptor%",!0),c=n("%Object.defineProperty%",!0),l=n("%Math.max%");if(c)try{c({},"a",{value:1})}catch(p){c=null}t.exports=function(p){var h=s(r,i,arguments);if(a&&c){var w=a(h,"length");w.configurable&&c(h,"length",{value:1+l(0,p.length-(arguments.length-1))})}return h};var f=u(function(){return s(r,o,arguments)},"Qr");c?c(t.exports,"apply",{value:f}):t.exports.apply=f}),Ao=ee((e,t)=>{"use strict";var r=xo(),n=wf(),o=n(r("String.prototype.indexOf"));t.exports=function(i,s){var a=r(i,!!s);return typeof a=="function"&&o(i,".prototype.")>-1?n(a):a}}),vf=ee((e,t)=>{"use strict";var r=mn()(),n=Ao(),o=n("Object.prototype.toString"),i=u(function(c){return r&&c&&typeof c=="object"&&Symbol.toStringTag in c?!1:o(c)==="[object Arguments]"},"H"),s=u(function(c){return i(c)?!0:c!==null&&typeof c=="object"&&typeof c.length=="number"&&c.length>=0&&o(c)!=="[object Array]"&&o(c.callee)==="[object Function]"},"ae"),a=function(){return i(arguments)}();i.isLegacyArguments=s,t.exports=a?i:s}),Ef=ee((e,t)=>{"use strict";var r=Object.prototype.toString,n=x.prototype.toString,o=/^\s*(?:function)?\*/,i=mn()(),s=Object.getPrototypeOf,a=u(function(){if(!i)return!1;try{return x("return function*() {}")()}catch(l){}},"jt"),c;t.exports=function(l){if(typeof l!="function")return!1;if(o.test(n.call(l)))return!0;if(!i){var f=r.call(l);return f==="[object GeneratorFunction]"}if(!s)return!1;if(typeof c>"u"){var p=a();c=p?s(p):!1}return s(l)===c}}),xf=ee((e,t)=>{"use strict";var r=x.prototype.toString,n=typeof Reflect=="object"&&Reflect!==null&&Reflect.apply,o,i;if(typeof n=="function"&&typeof Object.defineProperty=="function")try{o=Object.defineProperty({},"length",{get:function(){throw i}}),i={},n(function(){throw 42},null,o)}catch(v){v!==i&&(n=null)}else n=null;var s=/^\s*class\b/,a=u(function(v){try{var y=r.call(v);return s.test(y)}catch(A){return!1}},"Sr"),c=u(function(v){try{return a(v)?!1:(r.call(v),!0)}catch(y){return!1}},"Et"),l=Object.prototype.toString,f="[object Function]",p="[object GeneratorFunction]",h=typeof Symbol=="function"&&!!Symbol.toStringTag,w=typeof document=="object"&&typeof document.all>"u"&&document.all!==void 0?document.all:{};t.exports=n?function(v){if(v===w)return!0;if(!v||typeof v!="function"&&typeof v!="object")return!1;if(typeof v=="function"&&!v.prototype)return!0;try{n(v,null,o)}catch(y){if(y!==i)return!1}return!a(v)}:function(v){if(v===w)return!0;if(!v||typeof v!="function"&&typeof v!="object")return!1;if(typeof v=="function"&&!v.prototype)return!0;if(h)return c(v);if(a(v))return!1;var y=l.call(v);return y===f||y===p}}),js=ee((e,t)=>{"use strict";var r=xf(),n=Object.prototype.toString,o=Object.prototype.hasOwnProperty,i=u(function(l,f,p){for(var h=0,w=l.length;h=3&&(h=p),n.call(l)==="[object Array]"?i(l,f,h):typeof l=="string"?s(l,f,h):a(l,f,h)},"Nt");t.exports=c}),$s=ee((e,t)=>{"use strict";var r=["BigInt64Array","BigUint64Array","Float32Array","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Uint8Array","Uint8ClampedArray"],n=typeof globalThis>"u"?global:globalThis;t.exports=function(){for(var o=[],i=0;i{"use strict";var r=xo(),n=r("%Object.getOwnPropertyDescriptor%",!0);if(n)try{n([],"length")}catch(o){n=null}t.exports=n}),Ls=ee((e,t)=>{"use strict";var r=js(),n=$s(),o=Ao(),i=o("Object.prototype.toString"),s=mn()(),a=typeof globalThis>"u"?global:globalThis,c=n(),l=o("Array.prototype.indexOf",!0)||function(y,A){for(var S=0;S-1}return h?v(y):!1}}),Af=ee((e,t)=>{"use strict";var r=js(),n=$s(),o=Ao(),i=o("Object.prototype.toString"),s=mn()(),a=typeof globalThis>"u"?global:globalThis,c=n(),l=o("String.prototype.slice"),f={},p=Bs(),h=Object.getPrototypeOf;s&&p&&h&&r(c,function(y){if(typeof a[y]=="function"){var A=new a[y];if(Symbol.toStringTag in A){var S=h(A),T=p(S,Symbol.toStringTag);if(!T){var _=h(S);T=p(_,Symbol.toStringTag)}f[y]=T.get}}});var w=u(function(y){var A=!1;return r(f,function(S,T){if(!A)try{var _=S.call(y);_===T&&(A=_)}catch(P){}}),A},"Zt"),v=Ls();t.exports=function(y){return v(y)?!s||!(Symbol.toStringTag in y)?l(i(y),8,-1):w(y):!1}}),Tf=ee(e=>{"use strict";var t=vf(),r=Ef(),n=Af(),o=Ls();function i(C){return C.call.bind(C)}u(i,"U");var s=typeof BigInt<"u",a=typeof Symbol<"u",c=i(Object.prototype.toString),l=i(Number.prototype.valueOf),f=i(String.prototype.valueOf),p=i(Boolean.prototype.valueOf);s&&(h=i(BigInt.prototype.valueOf));var h;a&&(w=i(Symbol.prototype.valueOf));var w;function v(C,mc){if(typeof C!="object")return!1;try{return mc(C),!0}catch(Td){return!1}}u(v,"N"),e.isArgumentsObject=t,e.isGeneratorFunction=r,e.isTypedArray=o;function y(C){return typeof Promise<"u"&&C instanceof Promise||C!==null&&typeof C=="object"&&typeof C.then=="function"&&typeof C.catch=="function"}u(y,"tn"),e.isPromise=y;function A(C){return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?ArrayBuffer.isView(C):o(C)||bt(C)}u(A,"nn"),e.isArrayBufferView=A;function S(C){return n(C)==="Uint8Array"}u(S,"on"),e.isUint8Array=S;function T(C){return n(C)==="Uint8ClampedArray"}u(T,"an"),e.isUint8ClampedArray=T;function _(C){return n(C)==="Uint16Array"}u(_,"fn"),e.isUint16Array=_;function P(C){return n(C)==="Uint32Array"}u(P,"un"),e.isUint32Array=P;function O(C){return n(C)==="Int8Array"}u(O,"yn"),e.isInt8Array=O;function F(C){return n(C)==="Int16Array"}u(F,"sn"),e.isInt16Array=F;function R(C){return n(C)==="Int32Array"}u(R,"pn"),e.isInt32Array=R;function $(C){return n(C)==="Float32Array"}u($,"cn"),e.isFloat32Array=$;function Q(C){return n(C)==="Float64Array"}u(Q,"ln"),e.isFloat64Array=Q;function te(C){return n(C)==="BigInt64Array"}u(te,"gn"),e.isBigInt64Array=te;function U(C){return n(C)==="BigUint64Array"}u(U,"dn"),e.isBigUint64Array=U;function H(C){return c(C)==="[object Map]"}u(H,"Q"),H.working=typeof Map<"u"&&H(new Map);function z(C){return typeof Map>"u"?!1:H.working?H(C):C instanceof Map}u(z,"bn"),e.isMap=z;function G(C){return c(C)==="[object Set]"}u(G,"X"),G.working=typeof Set<"u"&&G(new Set);function K(C){return typeof Set>"u"?!1:G.working?G(C):C instanceof Set}u(K,"mn"),e.isSet=K;function V(C){return c(C)==="[object WeakMap]"}u(V,"rr"),V.working=typeof WeakMap<"u"&&V(new WeakMap);function ue(C){return typeof WeakMap>"u"?!1:V.working?V(C):C instanceof WeakMap}u(ue,"An"),e.isWeakMap=ue;function Ze(C){return c(C)==="[object WeakSet]"}u(Ze,"Br"),Ze.working=typeof WeakSet<"u"&&Ze(new WeakSet);function or(C){return Ze(C)}u(or,"Sn"),e.isWeakSet=or;function ze(C){return c(C)==="[object ArrayBuffer]"}u(ze,"er"),ze.working=typeof ArrayBuffer<"u"&&ze(new ArrayBuffer);function Xe(C){return typeof ArrayBuffer>"u"?!1:ze.working?ze(C):C instanceof ArrayBuffer}u(Xe,"Me"),e.isArrayBuffer=Xe;function be(C){return c(C)==="[object DataView]"}u(be,"tr"),be.working=typeof ArrayBuffer<"u"&&typeof DataView<"u"&&be(new DataView(new ArrayBuffer(1),0,1));function bt(C){return typeof DataView>"u"?!1:be.working?be(C):C instanceof DataView}u(bt,"qe"),e.isDataView=bt;var et=typeof SharedArrayBuffer<"u"?SharedArrayBuffer:void 0;function Be(C){return c(C)==="[object SharedArrayBuffer]"}u(Be,"x");function mi(C){return typeof et>"u"?!1:(typeof Be.working>"u"&&(Be.working=Be(new et)),Be.working?Be(C):C instanceof et)}u(mi,"Ge"),e.isSharedArrayBuffer=mi;function uc(C){return c(C)==="[object AsyncFunction]"}u(uc,"hn"),e.isAsyncFunction=uc;function cc(C){return c(C)==="[object Map Iterator]"}u(cc,"vn"),e.isMapIterator=cc;function lc(C){return c(C)==="[object Set Iterator]"}u(lc,"On"),e.isSetIterator=lc;function fc(C){return c(C)==="[object Generator]"}u(fc,"Pn"),e.isGeneratorObject=fc;function pc(C){return c(C)==="[object WebAssembly.Module]"}u(pc,"jn"),e.isWebAssemblyCompiledModule=pc;function hi(C){return v(C,l)}u(hi,"$e"),e.isNumberObject=hi;function yi(C){return v(C,f)}u(yi,"Ce"),e.isStringObject=yi;function bi(C){return v(C,p)}u(bi,"We"),e.isBooleanObject=bi;function wi(C){return s&&v(C,h)}u(wi,"_e"),e.isBigIntObject=wi;function vi(C){return a&&v(C,w)}u(vi,"ze"),e.isSymbolObject=vi;function gc(C){return hi(C)||yi(C)||bi(C)||wi(C)||vi(C)}u(gc,"wn"),e.isBoxedPrimitive=gc;function dc(C){return typeof Uint8Array<"u"&&(Xe(C)||mi(C))}u(dc,"En"),e.isAnyArrayBuffer=dc,["isProxy","isExternal","isModuleNamespaceObject"].forEach(function(C){Object.defineProperty(e,C,{enumerable:!1,value:function(){throw new Error(C+" is not supported in userland")}})})}),Pf=ee((e,t)=>{t.exports=function(r){return r instanceof E.Buffer}}),Sf=ee((e,t)=>{typeof Object.create=="function"?t.exports=function(r,n){n&&(r.super_=n,r.prototype=Object.create(n.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}))}:t.exports=function(r,n){if(n){r.super_=n;var o=u(function(){},"n");o.prototype=n.prototype,r.prototype=new o,r.prototype.constructor=r}}}),qs=Object.getOwnPropertyDescriptors||function(e){for(var t=Object.keys(e),r={},n=0;n=o)return c;switch(c){case"%s":return String(n[r++]);case"%d":return Number(n[r++]);case"%j":try{return JSON.stringify(n[r++])}catch(l){return"[Circular]"}default:return c}}),s=n[r];r"u")return function(){return J.deprecate(e,t).apply(this,arguments)};var r=!1;function n(){if(!r){if(b.throwDeprecation)throw new Error(t);b.traceDeprecation?console.trace(t):console.error(t),r=!0}return e.apply(this,arguments)}return u(n,"n"),n};var ln={},Us=/^$/;b.env.NODE_DEBUG&&(fn=b.env.NODE_DEBUG,fn=fn.replace(/[|\\{}()[\]^$+?.]/g,"\\$&").replace(/\*/g,".*").replace(/,/g,"$|^").toUpperCase(),Us=new RegExp("^"+fn+"$","i"));var fn;J.debuglog=function(e){if(e=e.toUpperCase(),!ln[e])if(Us.test(e)){var t=b.pid;ln[e]=function(){var r=J.format.apply(J,arguments);console.error("%s %d: %s",e,t,r)}}else ln[e]=function(){};return ln[e]};function at(e,t){var r={seen:[],stylize:Of};return arguments.length>=3&&(r.depth=arguments[2]),arguments.length>=4&&(r.colors=arguments[3]),To(t)?r.showHidden=t:t&&J._extend(r,t),Pt(r.showHidden)&&(r.showHidden=!1),Pt(r.depth)&&(r.depth=2),Pt(r.colors)&&(r.colors=!1),Pt(r.customInspect)&&(r.customInspect=!0),r.colors&&(r.stylize=Mf),gn(r,e,r.depth)}u(at,"A");J.inspect=at;at.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]};at.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};function Mf(e,t){var r=at.styles[t];return r?"\x1B["+at.colors[r][0]+"m"+e+"\x1B["+at.colors[r][1]+"m":e}u(Mf,"Fn");function Of(e,t){return e}u(Of,"In");function If(e){var t={};return e.forEach(function(r,n){t[r]=!0}),t}u(If,"Bn");function gn(e,t,r){if(e.customInspect&&t&&pn(t.inspect)&&t.inspect!==J.inspect&&!(t.constructor&&t.constructor.prototype===t)){var n=t.inspect(r,e);return yn(n)||(n=gn(e,n,r)),n}var o=Cf(e,t);if(o)return o;var i=Object.keys(t),s=If(i);if(e.showHidden&&(i=Object.getOwnPropertyNames(t)),mr(t)&&(i.indexOf("message")>=0||i.indexOf("description")>=0))return bo(t);if(i.length===0){if(pn(t)){var a=t.name?": "+t.name:"";return e.stylize("[Function"+a+"]","special")}if(dr(t))return e.stylize(RegExp.prototype.toString.call(t),"regexp");if(dn(t))return e.stylize(Date.prototype.toString.call(t),"date");if(mr(t))return bo(t)}var c="",l=!1,f=["{","}"];if(Vs(t)&&(l=!0,f=["[","]"]),pn(t)){var p=t.name?": "+t.name:"";c=" [Function"+p+"]"}if(dr(t)&&(c=" "+RegExp.prototype.toString.call(t)),dn(t)&&(c=" "+Date.prototype.toUTCString.call(t)),mr(t)&&(c=" "+bo(t)),i.length===0&&(!l||t.length==0))return f[0]+c+f[1];if(r<0)return dr(t)?e.stylize(RegExp.prototype.toString.call(t),"regexp"):e.stylize("[Object]","special");e.seen.push(t);var h;return l?h=Ff(e,t,r,s,i):h=i.map(function(w){return vo(e,t,r,s,w,l)}),e.seen.pop(),Rf(h,c,f)}u(gn,"ar");function Cf(e,t){if(Pt(t))return e.stylize("undefined","undefined");if(yn(t)){var r="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(r,"string")}if(Gs(t))return e.stylize(""+t,"number");if(To(t))return e.stylize(""+t,"boolean");if(hn(t))return e.stylize("null","null")}u(Cf,"Un");function bo(e){return"["+Error.prototype.toString.call(e)+"]"}u(bo,"Rr");function Ff(e,t,r,n,o){for(var i=[],s=0,a=t.length;st in e?tr(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var Br=(e,t)=>()=>(e&&(t=e(e=0)),t);var Z=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),rr=(e,t)=>{for(var r in t)tr(e,r,{get:t[r],enumerable:!0})},vi=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of al(t))!ll.call(e,o)&&o!==r&&tr(e,o,{get:()=>t[o],enumerable:!(n=sl(t,o))||n.enumerable});return e};var ve=(e,t,r)=>(r=e!=null?il(ul(e)):{},vi(t||!e||!e.__esModule?tr(r,"default",{value:e,enumerable:!0}):r,e)),pl=e=>vi(tr({},"__esModule",{value:!0}),e);var Ai=(e,t,r)=>(cl(e,typeof t!="symbol"?t+"":t,r),r);function B(e){return()=>e}function Ie(){return y}var y,p=Br(()=>{"use strict";y={abort:B(void 0),addListener:B(Ie()),allowedNodeEnvironmentFlags:new Set,arch:"x64",argv:["/bin/node"],argv0:"node",chdir:B(void 0),config:{target_defaults:{cflags:[],default_configuration:"",defines:[],include_dirs:[],libraries:[]},variables:{clang:0,host_arch:"x64",node_install_npm:!1,node_install_waf:!1,node_prefix:"",node_shared_openssl:!1,node_shared_v8:!1,node_shared_zlib:!1,node_use_dtrace:!1,node_use_etw:!1,node_use_openssl:!1,target_arch:"x64",v8_no_strict_aliasing:0,v8_use_snapshot:!1,visibility:""}},connected:!1,cpuUsage:()=>({user:0,system:0}),cwd:()=>"/",debugPort:0,disconnect:B(void 0),constrainedMemory:()=>{},emit:B(Ie()),emitWarning:B(void 0),env:{},eventNames:()=>[],execArgv:[],execPath:"/",exit:B(void 0),features:{inspector:!1,debug:!1,uv:!1,ipv6:!1,tls_alpn:!1,tls_sni:!1,tls_ocsp:!1,tls:!1},getMaxListeners:B(0),getegid:B(0),geteuid:B(0),getgid:B(0),getgroups:B([]),getuid:B(0),hasUncaughtExceptionCaptureCallback:B(!1),hrtime:B([0,0]),platform:"linux",kill:B(!0),listenerCount:B(0),listeners:B([]),memoryUsage:B({arrayBuffers:0,external:0,heapTotal:0,heapUsed:0,rss:0}),nextTick:(e,...t)=>{setTimeout(()=>{e(...t)},0)},off:B(Ie()),on:B(Ie()),once:B(Ie()),openStdin:B({}),pid:0,ppid:0,prependListener:B(Ie()),prependOnceListener:B(Ie()),rawListeners:B([]),release:{name:"node"},removeAllListeners:B(Ie()),removeListener:B(Ie()),resourceUsage:B({fsRead:0,fsWrite:0,involuntaryContextSwitches:0,ipcReceived:0,ipcSent:0,majorPageFault:0,maxRSS:0,minorPageFault:0,sharedMemorySize:0,signalsCount:0,swappedOut:0,systemCPUTime:0,unsharedDataSize:0,unsharedStackSize:0,userCPUTime:0,voluntaryContextSwitches:0}),setMaxListeners:B(Ie()),setUncaughtExceptionCaptureCallback:B(void 0),setegid:B(void 0),seteuid:B(void 0),setgid:B(void 0),setgroups:B(void 0),setuid:B(void 0),stderr:{fd:2},stdin:{fd:0},stdout:{fd:1},title:"node",traceDeprecation:!1,umask:B(0),uptime:B(0),version:"",versions:{http_parser:"",node:"",v8:"",ares:"",uv:"",zlib:"",modules:"",openssl:""}}});var h,f=Br(()=>{"use strict";h=()=>{};h.prototype=h});var Vi=Z(Ot=>{"use strict";d();p();f();var Ri=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),fl=Ri(e=>{"use strict";e.byteLength=u,e.toByteArray=c,e.fromByteArray=w;var t=[],r=[],n=typeof Uint8Array<"u"?Uint8Array:Array,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(i=0,s=o.length;i0)throw new Error("Invalid string. Length must be a multiple of 4");var T=E.indexOf("=");T===-1&&(T=b);var S=T===b?0:4-T%4;return[T,S]}function u(E){var b=a(E),T=b[0],S=b[1];return(T+S)*3/4-S}function l(E,b,T){return(b+T)*3/4-T}function c(E){var b,T=a(E),S=T[0],R=T[1],C=new n(l(E,S,R)),M=0,N=R>0?S-4:S,L;for(L=0;L>16&255,C[M++]=b>>8&255,C[M++]=b&255;return R===2&&(b=r[E.charCodeAt(L)]<<2|r[E.charCodeAt(L+1)]>>4,C[M++]=b&255),R===1&&(b=r[E.charCodeAt(L)]<<10|r[E.charCodeAt(L+1)]<<4|r[E.charCodeAt(L+2)]>>2,C[M++]=b>>8&255,C[M++]=b&255),C}function m(E){return t[E>>18&63]+t[E>>12&63]+t[E>>6&63]+t[E&63]}function g(E,b,T){for(var S,R=[],C=b;CN?N:M+C));return S===1?(b=E[T-1],R.push(t[b>>2]+t[b<<4&63]+"==")):S===2&&(b=(E[T-2]<<8)+E[T-1],R.push(t[b>>10]+t[b>>4&63]+t[b<<2&63]+"=")),R.join("")}}),dl=Ri(e=>{e.read=function(t,r,n,o,i){var s,a,u=i*8-o-1,l=(1<>1,m=-7,g=n?i-1:0,w=n?-1:1,E=t[r+g];for(g+=w,s=E&(1<<-m)-1,E>>=-m,m+=u;m>0;s=s*256+t[r+g],g+=w,m-=8);for(a=s&(1<<-m)-1,s>>=-m,m+=o;m>0;a=a*256+t[r+g],g+=w,m-=8);if(s===0)s=1-c;else{if(s===l)return a?NaN:(E?-1:1)*(1/0);a=a+Math.pow(2,o),s=s-c}return(E?-1:1)*a*Math.pow(2,s-o)},e.write=function(t,r,n,o,i,s){var a,u,l,c=s*8-i-1,m=(1<>1,w=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,E=o?0:s-1,b=o?1:-1,T=r<0||r===0&&1/r<0?1:0;for(r=Math.abs(r),isNaN(r)||r===1/0?(u=isNaN(r)?1:0,a=m):(a=Math.floor(Math.log(r)/Math.LN2),r*(l=Math.pow(2,-a))<1&&(a--,l*=2),a+g>=1?r+=w/l:r+=w*Math.pow(2,1-g),r*l>=2&&(a++,l/=2),a+g>=m?(u=0,a=m):a+g>=1?(u=(r*l-1)*Math.pow(2,i),a=a+g):(u=r*Math.pow(2,g-1)*Math.pow(2,i),a=0));i>=8;t[n+E]=u&255,E+=b,u/=256,i-=8);for(a=a<0;t[n+E]=a&255,E+=b,a/=256,c-=8);t[n+E-b]|=T*128}}),Hn=fl(),St=dl(),Ti=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;Ot.Buffer=P;Ot.SlowBuffer=bl;Ot.INSPECT_MAX_BYTES=50;var jr=2147483647;Ot.kMaxLength=jr;P.TYPED_ARRAY_SUPPORT=ml();!P.TYPED_ARRAY_SUPPORT&&typeof console<"u"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function ml(){try{let e=new Uint8Array(1),t={foo:function(){return 42}};return Object.setPrototypeOf(t,Uint8Array.prototype),Object.setPrototypeOf(e,t),e.foo()===42}catch(e){return!1}}Object.defineProperty(P.prototype,"parent",{enumerable:!0,get:function(){if(P.isBuffer(this))return this.buffer}});Object.defineProperty(P.prototype,"offset",{enumerable:!0,get:function(){if(P.isBuffer(this))return this.byteOffset}});function Ve(e){if(e>jr)throw new RangeError('The value "'+e+'" is invalid for option "size"');let t=new Uint8Array(e);return Object.setPrototypeOf(t,P.prototype),t}function P(e,t,r){if(typeof e=="number"){if(typeof t=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return Yn(e)}return Oi(e,t,r)}P.poolSize=8192;function Oi(e,t,r){if(typeof e=="string")return yl(e,t);if(ArrayBuffer.isView(e))return hl(e);if(e==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(ke(e,ArrayBuffer)||e&&ke(e.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(ke(e,SharedArrayBuffer)||e&&ke(e.buffer,SharedArrayBuffer)))return Ii(e,t,r);if(typeof e=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');let n=e.valueOf&&e.valueOf();if(n!=null&&n!==e)return P.from(n,t,r);let o=xl(e);if(o)return o;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof e[Symbol.toPrimitive]=="function")return P.from(e[Symbol.toPrimitive]("string"),t,r);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}P.from=function(e,t,r){return Oi(e,t,r)};Object.setPrototypeOf(P.prototype,Uint8Array.prototype);Object.setPrototypeOf(P,Uint8Array);function Fi(e){if(typeof e!="number")throw new TypeError('"size" argument must be of type number');if(e<0)throw new RangeError('The value "'+e+'" is invalid for option "size"')}function gl(e,t,r){return Fi(e),e<=0?Ve(e):t!==void 0?typeof r=="string"?Ve(e).fill(t,r):Ve(e).fill(t):Ve(e)}P.alloc=function(e,t,r){return gl(e,t,r)};function Yn(e){return Fi(e),Ve(e<0?0:Xn(e)|0)}P.allocUnsafe=function(e){return Yn(e)};P.allocUnsafeSlow=function(e){return Yn(e)};function yl(e,t){if((typeof t!="string"||t==="")&&(t="utf8"),!P.isEncoding(t))throw new TypeError("Unknown encoding: "+t);let r=ki(e,t)|0,n=Ve(r),o=n.write(e,t);return o!==r&&(n=n.slice(0,o)),n}function zn(e){let t=e.length<0?0:Xn(e.length)|0,r=Ve(t);for(let n=0;n=jr)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+jr.toString(16)+" bytes");return e|0}function bl(e){return+e!=e&&(e=0),P.alloc(+e)}P.isBuffer=function(e){return e!=null&&e._isBuffer===!0&&e!==P.prototype};P.compare=function(e,t){if(ke(e,Uint8Array)&&(e=P.from(e,e.offset,e.byteLength)),ke(t,Uint8Array)&&(t=P.from(t,t.offset,t.byteLength)),!P.isBuffer(e)||!P.isBuffer(t))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===t)return 0;let r=e.length,n=t.length;for(let o=0,i=Math.min(r,n);on.length?(P.isBuffer(i)||(i=P.from(i)),i.copy(n,o)):Uint8Array.prototype.set.call(n,i,o);else if(P.isBuffer(i))i.copy(n,o);else throw new TypeError('"list" argument must be an Array of Buffers');o+=i.length}return n};function ki(e,t){if(P.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||ke(e,ArrayBuffer))return e.byteLength;if(typeof e!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);let r=e.length,n=arguments.length>2&&arguments[2]===!0;if(!n&&r===0)return 0;let o=!1;for(;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return Zn(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return r*2;case"hex":return r>>>1;case"base64":return qi(e).length;default:if(o)return n?-1:Zn(e).length;t=(""+t).toLowerCase(),o=!0}}P.byteLength=ki;function wl(e,t,r){let n=!1;if((t===void 0||t<0)&&(t=0),t>this.length||((r===void 0||r>this.length)&&(r=this.length),r<=0)||(r>>>=0,t>>>=0,r<=t))return"";for(e||(e="utf8");;)switch(e){case"hex":return Ol(this,t,r);case"utf8":case"utf-8":return _i(this,t,r);case"ascii":return Sl(this,t,r);case"latin1":case"binary":return Rl(this,t,r);case"base64":return Cl(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Fl(this,t,r);default:if(n)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),n=!0}}P.prototype._isBuffer=!0;function mt(e,t,r){let n=e[t];e[t]=e[r],e[r]=n}P.prototype.swap16=function(){let e=this.length;if(e%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let t=0;tt&&(e+=" ... "),""};Ti&&(P.prototype[Ti]=P.prototype.inspect);P.prototype.compare=function(e,t,r,n,o){if(ke(e,Uint8Array)&&(e=P.from(e,e.offset,e.byteLength)),!P.isBuffer(e))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(t===void 0&&(t=0),r===void 0&&(r=e?e.length:0),n===void 0&&(n=0),o===void 0&&(o=this.length),t<0||r>e.length||n<0||o>this.length)throw new RangeError("out of range index");if(n>=o&&t>=r)return 0;if(n>=o)return-1;if(t>=r)return 1;if(t>>>=0,r>>>=0,n>>>=0,o>>>=0,this===e)return 0;let i=o-n,s=r-t,a=Math.min(i,s),u=this.slice(n,o),l=e.slice(t,r);for(let c=0;c2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,to(r)&&(r=o?0:e.length-1),r<0&&(r=e.length+r),r>=e.length){if(o)return-1;r=e.length-1}else if(r<0)if(o)r=0;else return-1;if(typeof t=="string"&&(t=P.from(t,n)),P.isBuffer(t))return t.length===0?-1:Ci(e,t,r,n,o);if(typeof t=="number")return t=t&255,typeof Uint8Array.prototype.indexOf=="function"?o?Uint8Array.prototype.indexOf.call(e,t,r):Uint8Array.prototype.lastIndexOf.call(e,t,r):Ci(e,[t],r,n,o);throw new TypeError("val must be string, number or Buffer")}function Ci(e,t,r,n,o){let i=1,s=e.length,a=t.length;if(n!==void 0&&(n=String(n).toLowerCase(),n==="ucs2"||n==="ucs-2"||n==="utf16le"||n==="utf-16le")){if(e.length<2||t.length<2)return-1;i=2,s/=2,a/=2,r/=2}function u(c,m){return i===1?c[m]:c.readUInt16BE(m*i)}let l;if(o){let c=-1;for(l=r;ls&&(r=s-a),l=r;l>=0;l--){let c=!0;for(let m=0;mo&&(n=o)):n=o;let i=t.length;n>i/2&&(n=i/2);let s;for(s=0;s>>0,isFinite(r)?(r=r>>>0,n===void 0&&(n="utf8")):(n=r,r=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");let o=this.length-t;if((r===void 0||r>o)&&(r=o),e.length>0&&(r<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");let i=!1;for(;;)switch(n){case"hex":return El(this,e,t,r);case"utf8":case"utf-8":return Pl(this,e,t,r);case"ascii":case"latin1":case"binary":return vl(this,e,t,r);case"base64":return Al(this,e,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Tl(this,e,t,r);default:if(i)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),i=!0}};P.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function Cl(e,t,r){return t===0&&r===e.length?Hn.fromByteArray(e):Hn.fromByteArray(e.slice(t,r))}function _i(e,t,r){r=Math.min(e.length,r);let n=[],o=t;for(;o239?4:i>223?3:i>191?2:1;if(o+a<=r){let u,l,c,m;switch(a){case 1:i<128&&(s=i);break;case 2:u=e[o+1],(u&192)===128&&(m=(i&31)<<6|u&63,m>127&&(s=m));break;case 3:u=e[o+1],l=e[o+2],(u&192)===128&&(l&192)===128&&(m=(i&15)<<12|(u&63)<<6|l&63,m>2047&&(m<55296||m>57343)&&(s=m));break;case 4:u=e[o+1],l=e[o+2],c=e[o+3],(u&192)===128&&(l&192)===128&&(c&192)===128&&(m=(i&15)<<18|(u&63)<<12|(l&63)<<6|c&63,m>65535&&m<1114112&&(s=m))}}s===null?(s=65533,a=1):s>65535&&(s-=65536,n.push(s>>>10&1023|55296),s=56320|s&1023),n.push(s),o+=a}return Ml(n)}var Mi=4096;function Ml(e){let t=e.length;if(t<=Mi)return String.fromCharCode.apply(String,e);let r="",n=0;for(;nn)&&(r=n);let o="";for(let i=t;ir&&(e=r),t<0?(t+=r,t<0&&(t=0)):t>r&&(t=r),tr)throw new RangeError("Trying to access beyond buffer length")}P.prototype.readUintLE=P.prototype.readUIntLE=function(e,t,r){e=e>>>0,t=t>>>0,r||ee(e,t,this.length);let n=this[e],o=1,i=0;for(;++i>>0,t=t>>>0,r||ee(e,t,this.length);let n=this[e+--t],o=1;for(;t>0&&(o*=256);)n+=this[e+--t]*o;return n};P.prototype.readUint8=P.prototype.readUInt8=function(e,t){return e=e>>>0,t||ee(e,1,this.length),this[e]};P.prototype.readUint16LE=P.prototype.readUInt16LE=function(e,t){return e=e>>>0,t||ee(e,2,this.length),this[e]|this[e+1]<<8};P.prototype.readUint16BE=P.prototype.readUInt16BE=function(e,t){return e=e>>>0,t||ee(e,2,this.length),this[e]<<8|this[e+1]};P.prototype.readUint32LE=P.prototype.readUInt32LE=function(e,t){return e=e>>>0,t||ee(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+this[e+3]*16777216};P.prototype.readUint32BE=P.prototype.readUInt32BE=function(e,t){return e=e>>>0,t||ee(e,4,this.length),this[e]*16777216+(this[e+1]<<16|this[e+2]<<8|this[e+3])};P.prototype.readBigUInt64LE=Ze(function(e){e=e>>>0,Rt(e,"offset");let t=this[e],r=this[e+7];(t===void 0||r===void 0)&&nr(e,this.length-8);let n=t+this[++e]*2**8+this[++e]*2**16+this[++e]*2**24,o=this[++e]+this[++e]*2**8+this[++e]*2**16+r*2**24;return BigInt(n)+(BigInt(o)<>>0,Rt(e,"offset");let t=this[e],r=this[e+7];(t===void 0||r===void 0)&&nr(e,this.length-8);let n=t*2**24+this[++e]*2**16+this[++e]*2**8+this[++e],o=this[++e]*2**24+this[++e]*2**16+this[++e]*2**8+r;return(BigInt(n)<>>0,t=t>>>0,r||ee(e,t,this.length);let n=this[e],o=1,i=0;for(;++i=o&&(n-=Math.pow(2,8*t)),n};P.prototype.readIntBE=function(e,t,r){e=e>>>0,t=t>>>0,r||ee(e,t,this.length);let n=t,o=1,i=this[e+--n];for(;n>0&&(o*=256);)i+=this[e+--n]*o;return o*=128,i>=o&&(i-=Math.pow(2,8*t)),i};P.prototype.readInt8=function(e,t){return e=e>>>0,t||ee(e,1,this.length),this[e]&128?(255-this[e]+1)*-1:this[e]};P.prototype.readInt16LE=function(e,t){e=e>>>0,t||ee(e,2,this.length);let r=this[e]|this[e+1]<<8;return r&32768?r|4294901760:r};P.prototype.readInt16BE=function(e,t){e=e>>>0,t||ee(e,2,this.length);let r=this[e+1]|this[e]<<8;return r&32768?r|4294901760:r};P.prototype.readInt32LE=function(e,t){return e=e>>>0,t||ee(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24};P.prototype.readInt32BE=function(e,t){return e=e>>>0,t||ee(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]};P.prototype.readBigInt64LE=Ze(function(e){e=e>>>0,Rt(e,"offset");let t=this[e],r=this[e+7];(t===void 0||r===void 0)&&nr(e,this.length-8);let n=this[e+4]+this[e+5]*2**8+this[e+6]*2**16+(r<<24);return(BigInt(n)<>>0,Rt(e,"offset");let t=this[e],r=this[e+7];(t===void 0||r===void 0)&&nr(e,this.length-8);let n=(t<<24)+this[++e]*2**16+this[++e]*2**8+this[++e];return(BigInt(n)<>>0,t||ee(e,4,this.length),St.read(this,e,!0,23,4)};P.prototype.readFloatBE=function(e,t){return e=e>>>0,t||ee(e,4,this.length),St.read(this,e,!1,23,4)};P.prototype.readDoubleLE=function(e,t){return e=e>>>0,t||ee(e,8,this.length),St.read(this,e,!0,52,8)};P.prototype.readDoubleBE=function(e,t){return e=e>>>0,t||ee(e,8,this.length),St.read(this,e,!1,52,8)};function ye(e,t,r,n,o,i){if(!P.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>o||te.length)throw new RangeError("Index out of range")}P.prototype.writeUintLE=P.prototype.writeUIntLE=function(e,t,r,n){if(e=+e,t=t>>>0,r=r>>>0,!n){let s=Math.pow(2,8*r)-1;ye(this,e,t,r,s,0)}let o=1,i=0;for(this[t]=e&255;++i>>0,r=r>>>0,!n){let s=Math.pow(2,8*r)-1;ye(this,e,t,r,s,0)}let o=r-1,i=1;for(this[t+o]=e&255;--o>=0&&(i*=256);)this[t+o]=e/i&255;return t+r};P.prototype.writeUint8=P.prototype.writeUInt8=function(e,t,r){return e=+e,t=t>>>0,r||ye(this,e,t,1,255,0),this[t]=e&255,t+1};P.prototype.writeUint16LE=P.prototype.writeUInt16LE=function(e,t,r){return e=+e,t=t>>>0,r||ye(this,e,t,2,65535,0),this[t]=e&255,this[t+1]=e>>>8,t+2};P.prototype.writeUint16BE=P.prototype.writeUInt16BE=function(e,t,r){return e=+e,t=t>>>0,r||ye(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=e&255,t+2};P.prototype.writeUint32LE=P.prototype.writeUInt32LE=function(e,t,r){return e=+e,t=t>>>0,r||ye(this,e,t,4,4294967295,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=e&255,t+4};P.prototype.writeUint32BE=P.prototype.writeUInt32BE=function(e,t,r){return e=+e,t=t>>>0,r||ye(this,e,t,4,4294967295,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=e&255,t+4};function Ni(e,t,r,n,o){$i(t,n,o,e,r,7);let i=Number(t&BigInt(4294967295));e[r++]=i,i=i>>8,e[r++]=i,i=i>>8,e[r++]=i,i=i>>8,e[r++]=i;let s=Number(t>>BigInt(32)&BigInt(4294967295));return e[r++]=s,s=s>>8,e[r++]=s,s=s>>8,e[r++]=s,s=s>>8,e[r++]=s,r}function Li(e,t,r,n,o){$i(t,n,o,e,r,7);let i=Number(t&BigInt(4294967295));e[r+7]=i,i=i>>8,e[r+6]=i,i=i>>8,e[r+5]=i,i=i>>8,e[r+4]=i;let s=Number(t>>BigInt(32)&BigInt(4294967295));return e[r+3]=s,s=s>>8,e[r+2]=s,s=s>>8,e[r+1]=s,s=s>>8,e[r]=s,r+8}P.prototype.writeBigUInt64LE=Ze(function(e,t=0){return Ni(this,e,t,BigInt(0),BigInt("0xffffffffffffffff"))});P.prototype.writeBigUInt64BE=Ze(function(e,t=0){return Li(this,e,t,BigInt(0),BigInt("0xffffffffffffffff"))});P.prototype.writeIntLE=function(e,t,r,n){if(e=+e,t=t>>>0,!n){let a=Math.pow(2,8*r-1);ye(this,e,t,r,a-1,-a)}let o=0,i=1,s=0;for(this[t]=e&255;++o>0)-s&255;return t+r};P.prototype.writeIntBE=function(e,t,r,n){if(e=+e,t=t>>>0,!n){let a=Math.pow(2,8*r-1);ye(this,e,t,r,a-1,-a)}let o=r-1,i=1,s=0;for(this[t+o]=e&255;--o>=0&&(i*=256);)e<0&&s===0&&this[t+o+1]!==0&&(s=1),this[t+o]=(e/i>>0)-s&255;return t+r};P.prototype.writeInt8=function(e,t,r){return e=+e,t=t>>>0,r||ye(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=e&255,t+1};P.prototype.writeInt16LE=function(e,t,r){return e=+e,t=t>>>0,r||ye(this,e,t,2,32767,-32768),this[t]=e&255,this[t+1]=e>>>8,t+2};P.prototype.writeInt16BE=function(e,t,r){return e=+e,t=t>>>0,r||ye(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=e&255,t+2};P.prototype.writeInt32LE=function(e,t,r){return e=+e,t=t>>>0,r||ye(this,e,t,4,2147483647,-2147483648),this[t]=e&255,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4};P.prototype.writeInt32BE=function(e,t,r){return e=+e,t=t>>>0,r||ye(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=e&255,t+4};P.prototype.writeBigInt64LE=Ze(function(e,t=0){return Ni(this,e,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});P.prototype.writeBigInt64BE=Ze(function(e,t=0){return Li(this,e,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});function Bi(e,t,r,n,o,i){if(r+n>e.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function ji(e,t,r,n,o){return t=+t,r=r>>>0,o||Bi(e,t,r,4,34028234663852886e22,-34028234663852886e22),St.write(e,t,r,n,23,4),r+4}P.prototype.writeFloatLE=function(e,t,r){return ji(this,e,t,!0,r)};P.prototype.writeFloatBE=function(e,t,r){return ji(this,e,t,!1,r)};function Ui(e,t,r,n,o){return t=+t,r=r>>>0,o||Bi(e,t,r,8,17976931348623157e292,-17976931348623157e292),St.write(e,t,r,n,52,8),r+8}P.prototype.writeDoubleLE=function(e,t,r){return Ui(this,e,t,!0,r)};P.prototype.writeDoubleBE=function(e,t,r){return Ui(this,e,t,!1,r)};P.prototype.copy=function(e,t,r,n){if(!P.isBuffer(e))throw new TypeError("argument should be a Buffer");if(r||(r=0),!n&&n!==0&&(n=this.length),t>=e.length&&(t=e.length),t||(t=0),n>0&&n=this.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),e.length-t>>0,r=r===void 0?this.length:r>>>0,e||(e=0);let o;if(typeof e=="number")for(o=t;o2**32?o=Si(String(r)):typeof r=="bigint"&&(o=String(r),(r>BigInt(2)**BigInt(32)||r<-(BigInt(2)**BigInt(32)))&&(o=Si(o)),o+="n"),n+=` It must be ${t}. Received ${o}`,n},RangeError);function Si(e){let t="",r=e.length,n=e[0]==="-"?1:0;for(;r>=n+4;r-=3)t=`_${e.slice(r-3,r)}${t}`;return`${e.slice(0,r)}${t}`}function Il(e,t,r){Rt(t,"offset"),(e[t]===void 0||e[t+r]===void 0)&&nr(t,e.length-(r+1))}function $i(e,t,r,n,o,i){if(e>r||e3?t===0||t===BigInt(0)?a=`>= 0${s} and < 2${s} ** ${(i+1)*8}${s}`:a=`>= -(2${s} ** ${(i+1)*8-1}${s}) and < 2 ** ${(i+1)*8-1}${s}`:a=`>= ${t}${s} and <= ${r}${s}`,new Mt.ERR_OUT_OF_RANGE("value",a,e)}Il(n,o,i)}function Rt(e,t){if(typeof e!="number")throw new Mt.ERR_INVALID_ARG_TYPE(t,"number",e)}function nr(e,t,r){throw Math.floor(e)!==e?(Rt(e,r),new Mt.ERR_OUT_OF_RANGE(r||"offset","an integer",e)):t<0?new Mt.ERR_BUFFER_OUT_OF_BOUNDS:new Mt.ERR_OUT_OF_RANGE(r||"offset",`>= ${r?1:0} and <= ${t}`,e)}var kl=/[^+/0-9A-Za-z-_]/g;function Dl(e){if(e=e.split("=")[0],e=e.trim().replace(kl,""),e.length<2)return"";for(;e.length%4!==0;)e=e+"=";return e}function Zn(e,t){t=t||1/0;let r,n=e.length,o=null,i=[];for(let s=0;s55295&&r<57344){if(!o){if(r>56319){(t-=3)>-1&&i.push(239,191,189);continue}else if(s+1===n){(t-=3)>-1&&i.push(239,191,189);continue}o=r;continue}if(r<56320){(t-=3)>-1&&i.push(239,191,189),o=r;continue}r=(o-55296<<10|r-56320)+65536}else o&&(t-=3)>-1&&i.push(239,191,189);if(o=null,r<128){if((t-=1)<0)break;i.push(r)}else if(r<2048){if((t-=2)<0)break;i.push(r>>6|192,r&63|128)}else if(r<65536){if((t-=3)<0)break;i.push(r>>12|224,r>>6&63|128,r&63|128)}else if(r<1114112){if((t-=4)<0)break;i.push(r>>18|240,r>>12&63|128,r>>6&63|128,r&63|128)}else throw new Error("Invalid code point")}return i}function _l(e){let t=[];for(let r=0;r>8,o=r%256,i.push(o),i.push(n);return i}function qi(e){return Hn.toByteArray(Dl(e))}function Ur(e,t,r,n){let o;for(o=0;o=t.length||o>=e.length);++o)t[o+r]=e[o];return o}function ke(e,t){return e instanceof t||e!=null&&e.constructor!=null&&e.constructor.name!=null&&e.constructor.name===t.name}function to(e){return e!==e}var Ll=function(){let e="0123456789abcdef",t=new Array(256);for(let r=0;r<16;++r){let n=r*16;for(let o=0;o<16;++o)t[n+o]=e[r]+e[o]}return t}();function Ze(e){return typeof BigInt>"u"?Bl:e}function Bl(){throw new Error("BigInt not supported")}});var x,d=Br(()=>{"use strict";x=ve(Vi())});var go=Z(j=>{"use strict";d();p();f();var W=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),Yi=W((e,t)=>{"use strict";t.exports=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var r={},n=Symbol("test"),o=Object(n);if(typeof n=="string"||Object.prototype.toString.call(n)!=="[object Symbol]"||Object.prototype.toString.call(o)!=="[object Symbol]")return!1;var i=42;r[n]=i;for(n in r)return!1;if(typeof Object.keys=="function"&&Object.keys(r).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(r).length!==0)return!1;var s=Object.getOwnPropertySymbols(r);if(s.length!==1||s[0]!==n||!Object.prototype.propertyIsEnumerable.call(r,n))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var a=Object.getOwnPropertyDescriptor(r,n);if(a.value!==i||a.enumerable!==!0)return!1}return!0}}),Qr=W((e,t)=>{"use strict";var r=Yi();t.exports=function(){return r()&&!!Symbol.toStringTag}}),jl=W((e,t)=>{"use strict";var r=typeof Symbol<"u"&&Symbol,n=Yi();t.exports=function(){return typeof r!="function"||typeof Symbol!="function"||typeof r("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:n()}}),Ul=W((e,t)=>{"use strict";var r={foo:{}},n=Object;t.exports=function(){return{__proto__:r}.foo===r.foo&&!({__proto__:null}instanceof n)}}),$l=W((e,t)=>{"use strict";var r="Function.prototype.bind called on incompatible ",n=Array.prototype.slice,o=Object.prototype.toString,i="[object Function]";t.exports=function(s){var a=this;if(typeof a!="function"||o.call(a)!==i)throw new TypeError(r+a);for(var u=n.call(arguments,1),l,c=function(){if(this instanceof l){var b=a.apply(this,u.concat(n.call(arguments)));return Object(b)===b?b:this}else return a.apply(s,u.concat(n.call(arguments)))},m=Math.max(0,a.length-u.length),g=[],w=0;w{"use strict";var r=$l();t.exports=h.prototype.bind||r}),ql=W((e,t)=>{"use strict";var r=lo();t.exports=r.call(h.call,Object.prototype.hasOwnProperty)}),co=W((e,t)=>{"use strict";var r,n=SyntaxError,o=h,i=TypeError,s=function($){try{return o('"use strict"; return ('+$+").constructor;")()}catch(U){}},a=Object.getOwnPropertyDescriptor;if(a)try{a({},"")}catch($){a=null}var u=function(){throw new i},l=a?function(){try{return arguments.callee,u}catch($){try{return a(arguments,"callee").get}catch(U){return u}}}():u,c=jl()(),m=Ul()(),g=Object.getPrototypeOf||(m?function($){return $.__proto__}:null),w={},E=typeof Uint8Array>"u"||!g?r:g(Uint8Array),b={"%AggregateError%":typeof AggregateError>"u"?r:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?r:ArrayBuffer,"%ArrayIteratorPrototype%":c&&g?g([][Symbol.iterator]()):r,"%AsyncFromSyncIteratorPrototype%":r,"%AsyncFunction%":w,"%AsyncGenerator%":w,"%AsyncGeneratorFunction%":w,"%AsyncIteratorPrototype%":w,"%Atomics%":typeof Atomics>"u"?r:Atomics,"%BigInt%":typeof BigInt>"u"?r:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?r:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?r:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?r:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":void 0,"%EvalError%":EvalError,"%Float32Array%":typeof Float32Array>"u"?r:Float32Array,"%Float64Array%":typeof Float64Array>"u"?r:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?r:FinalizationRegistry,"%Function%":o,"%GeneratorFunction%":w,"%Int8Array%":typeof Int8Array>"u"?r:Int8Array,"%Int16Array%":typeof Int16Array>"u"?r:Int16Array,"%Int32Array%":typeof Int32Array>"u"?r:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":c&&g?g(g([][Symbol.iterator]())):r,"%JSON%":typeof JSON=="object"?JSON:r,"%Map%":typeof Map>"u"?r:Map,"%MapIteratorPrototype%":typeof Map>"u"||!c||!g?r:g(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?r:Promise,"%Proxy%":typeof Proxy>"u"?r:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":typeof Reflect>"u"?r:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?r:Set,"%SetIteratorPrototype%":typeof Set>"u"||!c||!g?r:g(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?r:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":c&&g?g(""[Symbol.iterator]()):r,"%Symbol%":c?Symbol:r,"%SyntaxError%":n,"%ThrowTypeError%":l,"%TypedArray%":E,"%TypeError%":i,"%Uint8Array%":typeof Uint8Array>"u"?r:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?r:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?r:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?r:Uint32Array,"%URIError%":URIError,"%WeakMap%":typeof WeakMap>"u"?r:WeakMap,"%WeakRef%":typeof WeakRef>"u"?r:WeakRef,"%WeakSet%":typeof WeakSet>"u"?r:WeakSet};if(g)try{null.error}catch($){T=g(g($)),b["%Error.prototype%"]=T}var T,S=function $(U){var O;if(U==="%AsyncFunction%")O=s("async function () {}");else if(U==="%GeneratorFunction%")O=s("function* () {}");else if(U==="%AsyncGeneratorFunction%")O=s("async function* () {}");else if(U==="%AsyncGenerator%"){var ie=$("%AsyncGeneratorFunction%");ie&&(O=ie.prototype)}else if(U==="%AsyncIteratorPrototype%"){var se=$("%AsyncGenerator%");se&&g&&(O=g(se.prototype))}return b[U]=O,O},R={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},C=lo(),M=ql(),N=C.call(h.call,Array.prototype.concat),L=C.call(h.apply,Array.prototype.splice),Te=C.call(h.call,String.prototype.replace),V=C.call(h.call,String.prototype.slice),H=C.call(h.call,RegExp.prototype.exec),Ee=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,z=/\\(\\)?/g,Pe=function($){var U=V($,0,1),O=V($,-1);if(U==="%"&&O!=="%")throw new n("invalid intrinsic syntax, expected closing `%`");if(O==="%"&&U!=="%")throw new n("invalid intrinsic syntax, expected opening `%`");var ie=[];return Te($,Ee,function(se,He,Y,pt){ie[ie.length]=Y?Te(pt,z,"$1"):He||se}),ie},We=function($,U){var O=$,ie;if(M(R,O)&&(ie=R[O],O="%"+ie[0]+"%"),M(b,O)){var se=b[O];if(se===w&&(se=S(O)),typeof se>"u"&&!U)throw new i("intrinsic "+$+" exists, but is not available. Please file an issue!");return{alias:ie,name:O,value:se}}throw new n("intrinsic "+$+" does not exist!")};t.exports=function($,U){if(typeof $!="string"||$.length===0)throw new i("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof U!="boolean")throw new i('"allowMissing" argument must be a boolean');if(H(/^%?[^%]*%?$/,$)===null)throw new n("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var O=Pe($),ie=O.length>0?O[0]:"",se=We("%"+ie+"%",U),He=se.name,Y=se.value,pt=!1,ze=se.alias;ze&&(ie=ze[0],L(O,N([0,1],ze)));for(var ft=1,qe=!0;ft=O.length){var Ct=a(Y,de);qe=!!Ct,qe&&"get"in Ct&&!("originalValue"in Ct.get)?Y=Ct.get:Y=Y[de]}else qe=M(Y,de),Y=Y[de];qe&&!pt&&(b[He]=Y)}}return Y}}),Vl=W((e,t)=>{"use strict";var r=lo(),n=co(),o=n("%Function.prototype.apply%"),i=n("%Function.prototype.call%"),s=n("%Reflect.apply%",!0)||r.call(i,o),a=n("%Object.getOwnPropertyDescriptor%",!0),u=n("%Object.defineProperty%",!0),l=n("%Math.max%");if(u)try{u({},"a",{value:1})}catch(m){u=null}t.exports=function(m){var g=s(r,i,arguments);if(a&&u){var w=a(g,"length");w.configurable&&u(g,"length",{value:1+l(0,m.length-(arguments.length-1))})}return g};var c=function(){return s(r,o,arguments)};u?u(t.exports,"apply",{value:c}):t.exports.apply=c}),po=W((e,t)=>{"use strict";var r=co(),n=Vl(),o=n(r("String.prototype.indexOf"));t.exports=function(i,s){var a=r(i,!!s);return typeof a=="function"&&o(i,".prototype.")>-1?n(a):a}}),Kl=W((e,t)=>{"use strict";var r=Qr()(),n=po(),o=n("Object.prototype.toString"),i=function(u){return r&&u&&typeof u=="object"&&Symbol.toStringTag in u?!1:o(u)==="[object Arguments]"},s=function(u){return i(u)?!0:u!==null&&typeof u=="object"&&typeof u.length=="number"&&u.length>=0&&o(u)!=="[object Array]"&&o(u.callee)==="[object Function]"},a=function(){return i(arguments)}();i.isLegacyArguments=s,t.exports=a?i:s}),Gl=W((e,t)=>{"use strict";var r=Object.prototype.toString,n=h.prototype.toString,o=/^\s*(?:function)?\*/,i=Qr()(),s=Object.getPrototypeOf,a=function(){if(!i)return!1;try{return h("return function*() {}")()}catch(l){}},u;t.exports=function(l){if(typeof l!="function")return!1;if(o.test(n.call(l)))return!0;if(!i){var c=r.call(l);return c==="[object GeneratorFunction]"}if(!s)return!1;if(typeof u>"u"){var m=a();u=m?s(m):!1}return s(l)===u}}),Jl=W((e,t)=>{"use strict";var r=h.prototype.toString,n=typeof Reflect=="object"&&Reflect!==null&&Reflect.apply,o,i;if(typeof n=="function"&&typeof Object.defineProperty=="function")try{o=Object.defineProperty({},"length",{get:function(){throw i}}),i={},n(function(){throw 42},null,o)}catch(M){M!==i&&(n=null)}else n=null;var s=/^\s*class\b/,a=function(M){try{var N=r.call(M);return s.test(N)}catch(L){return!1}},u=function(M){try{return a(M)?!1:(r.call(M),!0)}catch(N){return!1}},l=Object.prototype.toString,c="[object Object]",m="[object Function]",g="[object GeneratorFunction]",w="[object HTMLAllCollection]",E="[object HTML document.all class]",b="[object HTMLCollection]",T=typeof Symbol=="function"&&!!Symbol.toStringTag,S=!(0 in[,]),R=function(){return!1};typeof document=="object"&&(C=document.all,l.call(C)===l.call(document.all)&&(R=function(M){if((S||!M)&&(typeof M>"u"||typeof M=="object"))try{var N=l.call(M);return(N===w||N===E||N===b||N===c)&&M("")==null}catch(L){}return!1}));var C;t.exports=n?function(M){if(R(M))return!0;if(!M||typeof M!="function"&&typeof M!="object")return!1;try{n(M,null,o)}catch(N){if(N!==i)return!1}return!a(M)&&u(M)}:function(M){if(R(M))return!0;if(!M||typeof M!="function"&&typeof M!="object")return!1;if(T)return u(M);if(a(M))return!1;var N=l.call(M);return N!==m&&N!==g&&!/^\[object HTML/.test(N)?!1:u(M)}}),Xi=W((e,t)=>{"use strict";var r=Jl(),n=Object.prototype.toString,o=Object.prototype.hasOwnProperty,i=function(l,c,m){for(var g=0,w=l.length;g=3&&(g=m),n.call(l)==="[object Array]"?i(l,c,g):typeof l=="string"?s(l,c,g):a(l,c,g)};t.exports=u}),es=W((e,t)=>{"use strict";var r=["BigInt64Array","BigUint64Array","Float32Array","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Uint8Array","Uint8ClampedArray"],n=typeof globalThis>"u"?global:globalThis;t.exports=function(){for(var o=[],i=0;i{"use strict";var r=co(),n=r("%Object.getOwnPropertyDescriptor%",!0);if(n)try{n([],"length")}catch(o){n=null}t.exports=n}),rs=W((e,t)=>{"use strict";var r=Xi(),n=es(),o=po(),i=o("Object.prototype.toString"),s=Qr()(),a=ts(),u=typeof globalThis>"u"?global:globalThis,l=n(),c=o("Array.prototype.indexOf",!0)||function(b,T){for(var S=0;S-1}return a?E(b):!1}}),Ql=W((e,t)=>{"use strict";var r=Xi(),n=es(),o=po(),i=ts(),s=o("Object.prototype.toString"),a=Qr()(),u=typeof globalThis>"u"?global:globalThis,l=n(),c=o("String.prototype.slice"),m={},g=Object.getPrototypeOf;a&&i&&g&&r(l,function(b){if(typeof u[b]=="function"){var T=new u[b];if(Symbol.toStringTag in T){var S=g(T),R=i(S,Symbol.toStringTag);if(!R){var C=g(S);R=i(C,Symbol.toStringTag)}m[b]=R.get}}});var w=function(b){var T=!1;return r(m,function(S,R){if(!T)try{var C=S.call(b);C===R&&(T=C)}catch(M){}}),T},E=rs();t.exports=function(b){return E(b)?!a||!(Symbol.toStringTag in b)?c(s(b),8,-1):w(b):!1}}),Wl=W(e=>{"use strict";var t=Kl(),r=Gl(),n=Ql(),o=rs();function i(A){return A.call.bind(A)}var s=typeof BigInt<"u",a=typeof Symbol<"u",u=i(Object.prototype.toString),l=i(Number.prototype.valueOf),c=i(String.prototype.valueOf),m=i(Boolean.prototype.valueOf);s&&(g=i(BigInt.prototype.valueOf));var g;a&&(w=i(Symbol.prototype.valueOf));var w;function E(A,ol){if(typeof A!="object")return!1;try{return ol(A),!0}catch(Hd){return!1}}e.isArgumentsObject=t,e.isGeneratorFunction=r,e.isTypedArray=o;function b(A){return typeof Promise<"u"&&A instanceof Promise||A!==null&&typeof A=="object"&&typeof A.then=="function"&&typeof A.catch=="function"}e.isPromise=b;function T(A){return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?ArrayBuffer.isView(A):o(A)||ft(A)}e.isArrayBufferView=T;function S(A){return n(A)==="Uint8Array"}e.isUint8Array=S;function R(A){return n(A)==="Uint8ClampedArray"}e.isUint8ClampedArray=R;function C(A){return n(A)==="Uint16Array"}e.isUint16Array=C;function M(A){return n(A)==="Uint32Array"}e.isUint32Array=M;function N(A){return n(A)==="Int8Array"}e.isInt8Array=N;function L(A){return n(A)==="Int16Array"}e.isInt16Array=L;function Te(A){return n(A)==="Int32Array"}e.isInt32Array=Te;function V(A){return n(A)==="Float32Array"}e.isFloat32Array=V;function H(A){return n(A)==="Float64Array"}e.isFloat64Array=H;function Ee(A){return n(A)==="BigInt64Array"}e.isBigInt64Array=Ee;function z(A){return n(A)==="BigUint64Array"}e.isBigUint64Array=z;function Pe(A){return u(A)==="[object Map]"}Pe.working=typeof Map<"u"&&Pe(new Map);function We(A){return typeof Map>"u"?!1:Pe.working?Pe(A):A instanceof Map}e.isMap=We;function $(A){return u(A)==="[object Set]"}$.working=typeof Set<"u"&&$(new Set);function U(A){return typeof Set>"u"?!1:$.working?$(A):A instanceof Set}e.isSet=U;function O(A){return u(A)==="[object WeakMap]"}O.working=typeof WeakMap<"u"&&O(new WeakMap);function ie(A){return typeof WeakMap>"u"?!1:O.working?O(A):A instanceof WeakMap}e.isWeakMap=ie;function se(A){return u(A)==="[object WeakSet]"}se.working=typeof WeakSet<"u"&&se(new WeakSet);function He(A){return se(A)}e.isWeakSet=He;function Y(A){return u(A)==="[object ArrayBuffer]"}Y.working=typeof ArrayBuffer<"u"&&Y(new ArrayBuffer);function pt(A){return typeof ArrayBuffer>"u"?!1:Y.working?Y(A):A instanceof ArrayBuffer}e.isArrayBuffer=pt;function ze(A){return u(A)==="[object DataView]"}ze.working=typeof ArrayBuffer<"u"&&typeof DataView<"u"&&ze(new DataView(new ArrayBuffer(1),0,1));function ft(A){return typeof DataView>"u"?!1:ze.working?ze(A):A instanceof DataView}e.isDataView=ft;var qe=typeof SharedArrayBuffer<"u"?SharedArrayBuffer:void 0;function de(A){return u(A)==="[object SharedArrayBuffer]"}function dt(A){return typeof qe>"u"?!1:(typeof de.working>"u"&&(de.working=de(new qe)),de.working?de(A):A instanceof qe)}e.isSharedArrayBuffer=dt;function Tt(A){return u(A)==="[object AsyncFunction]"}e.isAsyncFunction=Tt;function Ct(A){return u(A)==="[object Map Iterator]"}e.isMapIterator=Ct;function Xu(A){return u(A)==="[object Set Iterator]"}e.isSetIterator=Xu;function el(A){return u(A)==="[object Generator]"}e.isGeneratorObject=el;function tl(A){return u(A)==="[object WebAssembly.Module]"}e.isWebAssemblyCompiledModule=tl;function xi(A){return E(A,l)}e.isNumberObject=xi;function bi(A){return E(A,c)}e.isStringObject=bi;function wi(A){return E(A,m)}e.isBooleanObject=wi;function Ei(A){return s&&E(A,g)}e.isBigIntObject=Ei;function Pi(A){return a&&E(A,w)}e.isSymbolObject=Pi;function rl(A){return xi(A)||bi(A)||wi(A)||Ei(A)||Pi(A)}e.isBoxedPrimitive=rl;function nl(A){return typeof Uint8Array<"u"&&(pt(A)||dt(A))}e.isAnyArrayBuffer=nl,["isProxy","isExternal","isModuleNamespaceObject"].forEach(function(A){Object.defineProperty(e,A,{enumerable:!1,value:function(){throw new Error(A+" is not supported in userland")}})})}),Hl=W((e,t)=>{t.exports=function(r){return r instanceof x.Buffer}}),zl=W((e,t)=>{typeof Object.create=="function"?t.exports=function(r,n){n&&(r.super_=n,r.prototype=Object.create(n.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}))}:t.exports=function(r,n){if(n){r.super_=n;var o=function(){};o.prototype=n.prototype,r.prototype=new o,r.prototype.constructor=r}}}),ns=Object.getOwnPropertyDescriptors||function(e){for(var t=Object.keys(e),r={},n=0;n=o)return u;switch(u){case"%s":return String(n[r++]);case"%d":return Number(n[r++]);case"%j":try{return JSON.stringify(n[r++])}catch(l){return"[Circular]"}default:return u}}),s=n[r];r"u")return function(){return j.deprecate(e,t).apply(this,arguments)};var r=!1;function n(){if(!r){if(y.throwDeprecation)throw new Error(t);y.traceDeprecation?console.trace(t):console.error(t),r=!0}return e.apply(this,arguments)}return n};var qr={},os=/^$/;y.env.NODE_DEBUG&&(Vr=y.env.NODE_DEBUG,Vr=Vr.replace(/[|\\{}()[\]^$+?.]/g,"\\$&").replace(/\*/g,".*").replace(/,/g,"$|^").toUpperCase(),os=new RegExp("^"+Vr+"$","i"));var Vr;j.debuglog=function(e){if(e=e.toUpperCase(),!qr[e])if(os.test(e)){var t=y.pid;qr[e]=function(){var r=j.format.apply(j,arguments);console.error("%s %d: %s",e,t,r)}}else qr[e]=function(){};return qr[e]};function Xe(e,t){var r={seen:[],stylize:Xl};return arguments.length>=3&&(r.depth=arguments[2]),arguments.length>=4&&(r.colors=arguments[3]),fo(t)?r.showHidden=t:t&&j._extend(r,t),yt(r.showHidden)&&(r.showHidden=!1),yt(r.depth)&&(r.depth=2),yt(r.colors)&&(r.colors=!1),yt(r.customInspect)&&(r.customInspect=!0),r.colors&&(r.stylize=Yl),Gr(r,e,r.depth)}j.inspect=Xe;Xe.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]};Xe.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};function Yl(e,t){var r=Xe.styles[t];return r?"\x1B["+Xe.colors[r][0]+"m"+e+"\x1B["+Xe.colors[r][1]+"m":e}function Xl(e,t){return e}function ec(e){var t={};return e.forEach(function(r,n){t[r]=!0}),t}function Gr(e,t,r){if(e.customInspect&&t&&Kr(t.inspect)&&t.inspect!==j.inspect&&!(t.constructor&&t.constructor.prototype===t)){var n=t.inspect(r,e);return Hr(n)||(n=Gr(e,n,r)),n}var o=tc(e,t);if(o)return o;var i=Object.keys(t),s=ec(i);if(e.showHidden&&(i=Object.getOwnPropertyNames(t)),ir(t)&&(i.indexOf("message")>=0||i.indexOf("description")>=0))return so(t);if(i.length===0){if(Kr(t)){var a=t.name?": "+t.name:"";return e.stylize("[Function"+a+"]","special")}if(or(t))return e.stylize(RegExp.prototype.toString.call(t),"regexp");if(Jr(t))return e.stylize(Date.prototype.toString.call(t),"date");if(ir(t))return so(t)}var u="",l=!1,c=["{","}"];if(is(t)&&(l=!0,c=["[","]"]),Kr(t)){var m=t.name?": "+t.name:"";u=" [Function"+m+"]"}if(or(t)&&(u=" "+RegExp.prototype.toString.call(t)),Jr(t)&&(u=" "+Date.prototype.toUTCString.call(t)),ir(t)&&(u=" "+so(t)),i.length===0&&(!l||t.length==0))return c[0]+u+c[1];if(r<0)return or(t)?e.stylize(RegExp.prototype.toString.call(t),"regexp"):e.stylize("[Object]","special");e.seen.push(t);var g;return l?g=rc(e,t,r,s,i):g=i.map(function(w){return uo(e,t,r,s,w,l)}),e.seen.pop(),nc(g,u,c)}function tc(e,t){if(yt(t))return e.stylize("undefined","undefined");if(Hr(t)){var r="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(r,"string")}if(ss(t))return e.stylize(""+t,"number");if(fo(t))return e.stylize(""+t,"boolean");if(Wr(t))return e.stylize("null","null")}function so(e){return"["+Error.prototype.toString.call(e)+"]"}function rc(e,t,r,n,o){for(var i=[],s=0,a=t.length;s-1&&(i?a=a.split(` `).map(function(l){return" "+l}).join(` -`).substr(2):a=` +`).slice(2):a=` `+a.split(` `).map(function(l){return" "+l}).join(` -`))):a=e.stylize("[Circular]","special")),Pt(s)){if(i&&o.match(/^\d+$/))return a;s=JSON.stringify(""+o),s.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(s=s.substr(1,s.length-2),s=e.stylize(s,"name")):(s=s.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),s=e.stylize(s,"string"))}return s+": "+a}u(vo,"Dr");function Rf(e,t,r){var n=0,o=e.reduce(function(i,s){return n++,s.indexOf(` +`))):a=e.stylize("[Circular]","special")),yt(s)){if(i&&o.match(/^\d+$/))return a;s=JSON.stringify(""+o),s.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(s=s.slice(1,-1),s=e.stylize(s,"name")):(s=s.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),s=e.stylize(s,"string"))}return s+": "+a}function nc(e,t,r){var n=0,o=e.reduce(function(i,s){return n++,s.indexOf(` `)>=0&&n++,i+s.replace(/\u001b\[\d\d?m/g,"").length+1},0);return o>60?r[0]+(t===""?"":t+` `)+" "+e.join(`, - `)+" "+r[1]:r[0]+t+" "+e.join(", ")+" "+r[1]}u(Rf,"kn");J.types=Tf();function Vs(e){return Array.isArray(e)}u(Vs,"Ke");J.isArray=Vs;function To(e){return typeof e=="boolean"}u(To,"xr");J.isBoolean=To;function hn(e){return e===null}u(hn,"ur");J.isNull=hn;function kf(e){return e==null}u(kf,"Dn");J.isNullOrUndefined=kf;function Gs(e){return typeof e=="number"}u(Gs,"Qe");J.isNumber=Gs;function yn(e){return typeof e=="string"}u(yn,"yr");J.isString=yn;function Nf(e){return typeof e=="symbol"}u(Nf,"xn");J.isSymbol=Nf;function Pt(e){return e===void 0}u(Pt,"P");J.isUndefined=Pt;function dr(e){return Vt(e)&&Po(e)==="[object RegExp]"}u(dr,"M");J.isRegExp=dr;J.types.isRegExp=dr;function Vt(e){return typeof e=="object"&&e!==null}u(Vt,"R");J.isObject=Vt;function dn(e){return Vt(e)&&Po(e)==="[object Date]"}u(dn,"fr");J.isDate=dn;J.types.isDate=dn;function mr(e){return Vt(e)&&(Po(e)==="[object Error]"||e instanceof Error)}u(mr,"q");J.isError=mr;J.types.isNativeError=mr;function pn(e){return typeof e=="function"}u(pn,"ir");J.isFunction=pn;function Df(e){return e===null||typeof e=="boolean"||typeof e=="number"||typeof e=="string"||typeof e=="symbol"||typeof e>"u"}u(Df,"Nn");J.isPrimitive=Df;J.isBuffer=Pf();function Po(e){return Object.prototype.toString.call(e)}u(Po,"Nr");function wo(e){return e<10?"0"+e.toString(10):e.toString(10)}u(wo,"kr");var jf=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function $f(){var e=new Date,t=[wo(e.getHours()),wo(e.getMinutes()),wo(e.getSeconds())].join(":");return[e.getDate(),jf[e.getMonth()],t].join(" ")}u($f,"qn");J.log=function(){console.log("%s - %s",$f(),J.format.apply(J,arguments))};J.inherits=Sf();J._extend=function(e,t){if(!t||!Vt(t))return e;for(var r=Object.keys(t),n=r.length;n--;)e[r[n]]=t[r[n]];return e};function Js(e,t){return Object.prototype.hasOwnProperty.call(e,t)}u(Js,"Xe");var Tt=typeof Symbol<"u"?Symbol("util.promisify.custom"):void 0;J.promisify=function(e){if(typeof e!="function")throw new TypeError('The "original" argument must be of type Function');if(Tt&&e[Tt]){var t=e[Tt];if(typeof t!="function")throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(t,Tt,{value:t,enumerable:!1,writable:!1,configurable:!0}),t}function t(){for(var r,n,o=new Promise(function(a,c){r=a,n=c}),i=[],s=0;s{m();g();d();var Gt=1e3,Jt=Gt*60,zt=Jt*60,St=zt*24,qf=St*7,Uf=St*365.25;zs.exports=function(e,t){t=t||{};var r=typeof e;if(r==="string"&&e.length>0)return Vf(e);if(r==="number"&&isFinite(e))return t.long?Jf(e):Gf(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))};function Vf(e){if(e=String(e),!(e.length>100)){var t=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(!!t){var r=parseFloat(t[1]),n=(t[2]||"ms").toLowerCase();switch(n){case"years":case"year":case"yrs":case"yr":case"y":return r*Uf;case"weeks":case"week":case"w":return r*qf;case"days":case"day":case"d":return r*St;case"hours":case"hour":case"hrs":case"hr":case"h":return r*zt;case"minutes":case"minute":case"mins":case"min":case"m":return r*Jt;case"seconds":case"second":case"secs":case"sec":case"s":return r*Gt;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return r;default:return}}}}u(Vf,"parse");function Gf(e){var t=Math.abs(e);return t>=St?Math.round(e/St)+"d":t>=zt?Math.round(e/zt)+"h":t>=Jt?Math.round(e/Jt)+"m":t>=Gt?Math.round(e/Gt)+"s":e+"ms"}u(Gf,"fmtShort");function Jf(e){var t=Math.abs(e);return t>=St?bn(e,t,St,"day"):t>=zt?bn(e,t,zt,"hour"):t>=Jt?bn(e,t,Jt,"minute"):t>=Gt?bn(e,t,Gt,"second"):e+" ms"}u(Jf,"fmtLong");function bn(e,t,r,n){var o=t>=r*1.5;return Math.round(e/r)+" "+n+(o?"s":"")}u(bn,"plural")});var _o=W((rm,Hs)=>{m();g();d();function zf(e){r.debug=r,r.default=r,r.coerce=c,r.disable=i,r.enable=o,r.enabled=s,r.humanize=Ws(),r.destroy=l,Object.keys(e).forEach(f=>{r[f]=e[f]}),r.names=[],r.skips=[],r.formatters={};function t(f){let p=0;for(let h=0;h{if(F==="%%")return"%";P++;let $=r.formatters[R];if(typeof $=="function"){let Q=A[P];F=$.call(S,Q),A.splice(P,1),P--}return F}),r.formatArgs.call(S,A),(S.log||r.log).apply(S,A)}return u(y,"debug"),y.namespace=f,y.useColors=r.useColors(),y.color=r.selectColor(f),y.extend=n,y.destroy=r.destroy,Object.defineProperty(y,"enabled",{enumerable:!0,configurable:!1,get:()=>h!==null?h:(w!==r.namespaces&&(w=r.namespaces,v=r.enabled(f)),v),set:A=>{h=A}}),typeof r.init=="function"&&r.init(y),y}u(r,"createDebug");function n(f,p){let h=r(this.namespace+(typeof p=="undefined"?":":p)+f);return h.log=this.log,h}u(n,"extend");function o(f){r.save(f),r.namespaces=f,r.names=[],r.skips=[];let p,h=(typeof f=="string"?f:"").split(/[\s,]+/),w=h.length;for(p=0;p"-"+p)].join(",");return r.enable(""),f}u(i,"disable");function s(f){if(f[f.length-1]==="*")return!0;let p,h;for(p=0,h=r.skips.length;p{m();g();d();xe.formatArgs=Hf;xe.save=Qf;xe.load=Kf;xe.useColors=Wf;xe.storage=Yf();xe.destroy=(()=>{let e=!1;return()=>{e||(e=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})();xe.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"];function Wf(){return typeof window!="undefined"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs)?!0:typeof navigator!="undefined"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/)?!1:typeof document!="undefined"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window!="undefined"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator!="undefined"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||typeof navigator!="undefined"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}u(Wf,"useColors");function Hf(e){if(e[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+e[0]+(this.useColors?"%c ":" ")+"+"+wn.exports.humanize(this.diff),!this.useColors)return;let t="color: "+this.color;e.splice(1,0,t,"color: inherit");let r=0,n=0;e[0].replace(/%[a-zA-Z%]/g,o=>{o!=="%%"&&(r++,o==="%c"&&(n=r))}),e.splice(n,0,t)}u(Hf,"formatArgs");xe.log=console.debug||console.log||(()=>{});function Qf(e){try{e?xe.storage.setItem("debug",e):xe.storage.removeItem("debug")}catch(t){}}u(Qf,"save");function Kf(){let e;try{e=xe.storage.getItem("debug")}catch(t){}return!e&&typeof b!="undefined"&&"env"in b&&(e=b.env.DEBUG),e}u(Kf,"load");function Yf(){try{return localStorage}catch(e){}}u(Yf,"localstorage");wn.exports=_o()(xe);var{formatters:Zf}=wn.exports;Zf.j=function(e){try{return JSON.stringify(e)}catch(t){return"[UnexpectedJSONParseError]: "+t.message}}});var Ks=W(vn=>{m();g();d();vn.isatty=function(){return!1};function Xf(){throw new Error("tty.ReadStream is not implemented")}u(Xf,"t");vn.ReadStream=Xf;function ep(){throw new Error("tty.WriteStream is not implemented")}u(ep,"e");vn.WriteStream=ep});var Zs=W((se,xn)=>{m();g();d();var tp=Ks(),En=So();se.init=up;se.log=ip;se.formatArgs=np;se.save=sp;se.load=ap;se.useColors=rp;se.destroy=En.deprecate(()=>{},"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");se.colors=[6,2,3,4,5,1];try{let e=ro();e&&(e.stderr||e).level>=2&&(se.colors=[20,21,26,27,32,33,38,39,40,41,42,43,44,45,56,57,62,63,68,69,74,75,76,77,78,79,80,81,92,93,98,99,112,113,128,129,134,135,148,149,160,161,162,163,164,165,166,167,168,169,170,171,172,173,178,179,184,185,196,197,198,199,200,201,202,203,204,205,206,207,208,209,214,215,220,221])}catch(e){}se.inspectOpts=Object.keys(b.env).filter(e=>/^debug_/i.test(e)).reduce((e,t)=>{let r=t.substring(6).toLowerCase().replace(/_([a-z])/g,(o,i)=>i.toUpperCase()),n=b.env[t];return/^(yes|on|true|enabled)$/i.test(n)?n=!0:/^(no|off|false|disabled)$/i.test(n)?n=!1:n==="null"?n=null:n=Number(n),e[r]=n,e},{});function rp(){return"colors"in se.inspectOpts?Boolean(se.inspectOpts.colors):tp.isatty(b.stderr.fd)}u(rp,"useColors");function np(e){let{namespace:t,useColors:r}=this;if(r){let n=this.color,o="\x1B[3"+(n<8?n:"8;5;"+n),i=` ${o};1m${t} \x1B[0m`;e[0]=i+e[0].split(` + `)+" "+r[1]:r[0]+t+" "+e.join(", ")+" "+r[1]}j.types=Wl();function is(e){return Array.isArray(e)}j.isArray=is;function fo(e){return typeof e=="boolean"}j.isBoolean=fo;function Wr(e){return e===null}j.isNull=Wr;function oc(e){return e==null}j.isNullOrUndefined=oc;function ss(e){return typeof e=="number"}j.isNumber=ss;function Hr(e){return typeof e=="string"}j.isString=Hr;function ic(e){return typeof e=="symbol"}j.isSymbol=ic;function yt(e){return e===void 0}j.isUndefined=yt;function or(e){return Ft(e)&&mo(e)==="[object RegExp]"}j.isRegExp=or;j.types.isRegExp=or;function Ft(e){return typeof e=="object"&&e!==null}j.isObject=Ft;function Jr(e){return Ft(e)&&mo(e)==="[object Date]"}j.isDate=Jr;j.types.isDate=Jr;function ir(e){return Ft(e)&&(mo(e)==="[object Error]"||e instanceof Error)}j.isError=ir;j.types.isNativeError=ir;function Kr(e){return typeof e=="function"}j.isFunction=Kr;function sc(e){return e===null||typeof e=="boolean"||typeof e=="number"||typeof e=="string"||typeof e=="symbol"||typeof e>"u"}j.isPrimitive=sc;j.isBuffer=Hl();function mo(e){return Object.prototype.toString.call(e)}function ao(e){return e<10?"0"+e.toString(10):e.toString(10)}var ac=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function uc(){var e=new Date,t=[ao(e.getHours()),ao(e.getMinutes()),ao(e.getSeconds())].join(":");return[e.getDate(),ac[e.getMonth()],t].join(" ")}j.log=function(){console.log("%s - %s",uc(),j.format.apply(j,arguments))};j.inherits=zl();j._extend=function(e,t){if(!t||!Ft(t))return e;for(var r=Object.keys(t),n=r.length;n--;)e[r[n]]=t[r[n]];return e};function as(e,t){return Object.prototype.hasOwnProperty.call(e,t)}var gt=typeof Symbol<"u"?Symbol("util.promisify.custom"):void 0;j.promisify=function(e){if(typeof e!="function")throw new TypeError('The "original" argument must be of type Function');if(gt&&e[gt]){var t=e[gt];if(typeof t!="function")throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(t,gt,{value:t,enumerable:!1,writable:!1,configurable:!0}),t}function t(){for(var r,n,o=new Promise(function(a,u){r=a,n=u}),i=[],s=0;s{"use strict";d();p();f();var It=1e3,kt=It*60,Dt=kt*60,ht=Dt*24,pc=ht*7,fc=ht*365.25;us.exports=function(e,t){t=t||{};var r=typeof e;if(r==="string"&&e.length>0)return dc(e);if(r==="number"&&isFinite(e))return t.long?gc(e):mc(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))};function dc(e){if(e=String(e),!(e.length>100)){var t=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(t){var r=parseFloat(t[1]),n=(t[2]||"ms").toLowerCase();switch(n){case"years":case"year":case"yrs":case"yr":case"y":return r*fc;case"weeks":case"week":case"w":return r*pc;case"days":case"day":case"d":return r*ht;case"hours":case"hour":case"hrs":case"hr":case"h":return r*Dt;case"minutes":case"minute":case"mins":case"min":case"m":return r*kt;case"seconds":case"second":case"secs":case"sec":case"s":return r*It;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return r;default:return}}}}function mc(e){var t=Math.abs(e);return t>=ht?Math.round(e/ht)+"d":t>=Dt?Math.round(e/Dt)+"h":t>=kt?Math.round(e/kt)+"m":t>=It?Math.round(e/It)+"s":e+"ms"}function gc(e){var t=Math.abs(e);return t>=ht?zr(e,t,ht,"day"):t>=Dt?zr(e,t,Dt,"hour"):t>=kt?zr(e,t,kt,"minute"):t>=It?zr(e,t,It,"second"):e+" ms"}function zr(e,t,r,n){var o=t>=r*1.5;return Math.round(e/r)+" "+n+(o?"s":"")}});var yo=Z((ug,cs)=>{"use strict";d();p();f();function yc(e){r.debug=r,r.default=r,r.coerce=u,r.disable=i,r.enable=o,r.enabled=s,r.humanize=ls(),r.destroy=l,Object.keys(e).forEach(c=>{r[c]=e[c]}),r.names=[],r.skips=[],r.formatters={};function t(c){let m=0;for(let g=0;g{if(L==="%%")return"%";M++;let V=r.formatters[Te];if(typeof V=="function"){let H=T[M];L=V.call(S,H),T.splice(M,1),M--}return L}),r.formatArgs.call(S,T),(S.log||r.log).apply(S,T)}return b.namespace=c,b.useColors=r.useColors(),b.color=r.selectColor(c),b.extend=n,b.destroy=r.destroy,Object.defineProperty(b,"enabled",{enumerable:!0,configurable:!1,get:()=>g!==null?g:(w!==r.namespaces&&(w=r.namespaces,E=r.enabled(c)),E),set:T=>{g=T}}),typeof r.init=="function"&&r.init(b),b}function n(c,m){let g=r(this.namespace+(typeof m=="undefined"?":":m)+c);return g.log=this.log,g}function o(c){r.save(c),r.namespaces=c,r.names=[],r.skips=[];let m,g=(typeof c=="string"?c:"").split(/[\s,]+/),w=g.length;for(m=0;m"-"+m)].join(",");return r.enable(""),c}function s(c){if(c[c.length-1]==="*")return!0;let m,g;for(m=0,g=r.skips.length;m{"use strict";d();p();f();Ae.formatArgs=xc;Ae.save=bc;Ae.load=wc;Ae.useColors=hc;Ae.storage=Ec();Ae.destroy=(()=>{let e=!1;return()=>{e||(e=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})();Ae.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"];function hc(){return typeof window!="undefined"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs)?!0:typeof navigator!="undefined"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/)?!1:typeof document!="undefined"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window!="undefined"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator!="undefined"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||typeof navigator!="undefined"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}function xc(e){if(e[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+e[0]+(this.useColors?"%c ":" ")+"+"+Zr.exports.humanize(this.diff),!this.useColors)return;let t="color: "+this.color;e.splice(1,0,t,"color: inherit");let r=0,n=0;e[0].replace(/%[a-zA-Z%]/g,o=>{o!=="%%"&&(r++,o==="%c"&&(n=r))}),e.splice(n,0,t)}Ae.log=console.debug||console.log||(()=>{});function bc(e){try{e?Ae.storage.setItem("debug",e):Ae.storage.removeItem("debug")}catch(t){}}function wc(){let e;try{e=Ae.storage.getItem("debug")}catch(t){}return!e&&typeof y!="undefined"&&"env"in y&&(e=y.env.DEBUG),e}function Ec(){try{return localStorage}catch(e){}}Zr.exports=yo()(Ae);var{formatters:Pc}=Zr.exports;Pc.j=function(e){try{return JSON.stringify(e)}catch(t){return"[UnexpectedJSONParseError]: "+t.message}}});var ho=Z(Yr=>{"use strict";d();p();f();Yr.isatty=function(){return!1};function vc(){throw new Error("tty.ReadStream is not implemented")}Yr.ReadStream=vc;function Ac(){throw new Error("tty.WriteStream is not implemented")}Yr.WriteStream=Ac});var fs=Z(()=>{"use strict";d();p();f()});var ms=Z((Ag,ds)=>{"use strict";d();p();f();ds.exports=(e,t=y.argv)=>{let r=e.startsWith("-")?"":e.length===1?"-":"--",n=t.indexOf(r+e),o=t.indexOf("--");return n!==-1&&(o===-1||n{"use strict";d();p();f();var Tc=fs(),gs=ho(),Me=ms(),{env:te}=y,et;Me("no-color")||Me("no-colors")||Me("color=false")||Me("color=never")?et=0:(Me("color")||Me("colors")||Me("color=true")||Me("color=always"))&&(et=1);"FORCE_COLOR"in te&&(te.FORCE_COLOR==="true"?et=1:te.FORCE_COLOR==="false"?et=0:et=te.FORCE_COLOR.length===0?1:Math.min(parseInt(te.FORCE_COLOR,10),3));function xo(e){return e===0?!1:{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3}}function bo(e,t){if(et===0)return 0;if(Me("color=16m")||Me("color=full")||Me("color=truecolor"))return 3;if(Me("color=256"))return 2;if(e&&!t&&et===void 0)return 0;let r=et||0;if(te.TERM==="dumb")return r;if(y.platform==="win32"){let n=Tc.release().split(".");return Number(n[0])>=10&&Number(n[2])>=10586?Number(n[2])>=14931?3:2:1}if("CI"in te)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE"].some(n=>n in te)||te.CI_NAME==="codeship"?1:r;if("TEAMCITY_VERSION"in te)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(te.TEAMCITY_VERSION)?1:0;if(te.COLORTERM==="truecolor")return 3;if("TERM_PROGRAM"in te){let n=parseInt((te.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(te.TERM_PROGRAM){case"iTerm.app":return n>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(te.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(te.TERM)||"COLORTERM"in te?1:r}function Cc(e){let t=bo(e,e&&e.isTTY);return xo(t)}ys.exports={supportsColor:Cc,stdout:xo(bo(!0,gs.isatty(1))),stderr:xo(bo(!0,gs.isatty(2)))}});var bs=Z((ae,en)=>{"use strict";d();p();f();var Mc=ho(),Xr=go();ae.init=Dc;ae.log=Fc;ae.formatArgs=Rc;ae.save=Ic;ae.load=kc;ae.useColors=Sc;ae.destroy=Xr.deprecate(()=>{},"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");ae.colors=[6,2,3,4,5,1];try{let e=hs();e&&(e.stderr||e).level>=2&&(ae.colors=[20,21,26,27,32,33,38,39,40,41,42,43,44,45,56,57,62,63,68,69,74,75,76,77,78,79,80,81,92,93,98,99,112,113,128,129,134,135,148,149,160,161,162,163,164,165,166,167,168,169,170,171,172,173,178,179,184,185,196,197,198,199,200,201,202,203,204,205,206,207,208,209,214,215,220,221])}catch(e){}ae.inspectOpts=Object.keys(y.env).filter(e=>/^debug_/i.test(e)).reduce((e,t)=>{let r=t.substring(6).toLowerCase().replace(/_([a-z])/g,(o,i)=>i.toUpperCase()),n=y.env[t];return/^(yes|on|true|enabled)$/i.test(n)?n=!0:/^(no|off|false|disabled)$/i.test(n)?n=!1:n==="null"?n=null:n=Number(n),e[r]=n,e},{});function Sc(){return"colors"in ae.inspectOpts?!!ae.inspectOpts.colors:Mc.isatty(y.stderr.fd)}function Rc(e){let{namespace:t,useColors:r}=this;if(r){let n=this.color,o="\x1B[3"+(n<8?n:"8;5;"+n),i=` ${o};1m${t} \x1B[0m`;e[0]=i+e[0].split(` `).join(` -`+i),e.push(o+"m+"+xn.exports.humanize(this.diff)+"\x1B[0m")}else e[0]=op()+t+" "+e[0]}u(np,"formatArgs");function op(){return se.inspectOpts.hideDate?"":new Date().toISOString()+" "}u(op,"getDate");function ip(...e){return b.stderr.write(En.format(...e)+` -`)}u(ip,"log");function sp(e){e?b.env.DEBUG=e:delete b.env.DEBUG}u(sp,"save");function ap(){return b.env.DEBUG}u(ap,"load");function up(e){e.inspectOpts={};let t=Object.keys(se.inspectOpts);for(let r=0;rt.trim()).join(" ")};Ys.O=function(e){return this.inspectOpts.colors=this.useColors,En.inspect(e,this.inspectOpts)}});var Xs=W((om,Mo)=>{m();g();d();typeof b=="undefined"||b.type==="renderer"||b.browser===!0||b.__nwjs?Mo.exports=Qs():Mo.exports=Zs()});function lp(e){let t=(0,Io.default)(e),r=Object.assign((...n)=>(t.log=r.log,n.length!==0&&Oo.push([e,...n]),Oo.length>cp&&Oo.shift(),t("",...n)),t);return r}var Io,cp,Oo,fp,ut,An=sr(()=>{m();g();d();Io=Z(Xs()),cp=100,Oo=[];u(lp,"debugCall");fp=Object.assign(lp,Io.default),ut=fp});var ea=W(()=>{m();g();d()});var ra=W((lm,Co)=>{"use strict";m();g();d();var pp=Object.prototype.hasOwnProperty,de="~";function hr(){}u(hr,"_");Object.create&&(hr.prototype=Object.create(null),new hr().__proto__||(de=!1));function gp(e,t,r){this.fn=e,this.context=t,this.once=r||!1}u(gp,"g");function ta(e,t,r,n,o){if(typeof r!="function")throw new TypeError("The listener must be a function");var i=new gp(r,n||e,o),s=de?de+t:t;return e._events[s]?e._events[s].fn?e._events[s]=[e._events[s],i]:e._events[s].push(i):(e._events[s]=i,e._eventsCount++),e}u(ta,"w");function Tn(e,t){--e._eventsCount===0?e._events=new hr:delete e._events[t]}u(Tn,"y");function fe(){this._events=new hr,this._eventsCount=0}u(fe,"u");fe.prototype.eventNames=function(){var e=[],t,r;if(this._eventsCount===0)return e;for(r in t=this._events)pp.call(t,r)&&e.push(de?r.slice(1):r);return Object.getOwnPropertySymbols?e.concat(Object.getOwnPropertySymbols(t)):e};fe.prototype.listeners=function(e){var t=de?de+e:e,r=this._events[t];if(!r)return[];if(r.fn)return[r.fn];for(var n=0,o=r.length,i=new Array(o);nFo,existsSync:()=>dp});function dp(){return!1}var mp,Fo,Ro=sr(()=>{m();g();d();u(dp,"existsSync");mp={existsSync(){return!1}},Fo=mp});var ko=W((fm,ia)=>{"use strict";m();g();d();function Ue(e){if(typeof e!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}u(Ue,"c");function oa(e,t){for(var r="",n=0,o=-1,i=0,s,a=0;a<=e.length;++a){if(a2){var c=r.lastIndexOf("/");if(c!==r.length-1){c===-1?(r="",n=0):(r=r.slice(0,c),n=r.length-1-r.lastIndexOf("/")),o=a,i=0;continue}}else if(r.length===2||r.length===1){r="",n=0,o=a,i=0;continue}}t&&(r.length>0?r+="/..":r="..",n=2)}else r.length>0?r+="/"+e.slice(o+1,a):r=e.slice(o+1,a),n=a-o-1;o=a,i=0}else s===46&&i!==-1?++i:i=-1}return r}u(oa,"A");function hp(e,t){var r=t.dir||t.root,n=t.base||(t.name||"")+(t.ext||"");return r?r===t.root?r+n:r+e+n:n}u(hp,"b");var Wt={resolve:function(){for(var e="",t=!1,r,n=arguments.length-1;n>=-1&&!t;n--){var o;n>=0?o=arguments[n]:(r===void 0&&(r=b.cwd()),o=r),Ue(o),o.length!==0&&(e=o+"/"+e,t=o.charCodeAt(0)===47)}return e=oa(e,!t),t?e.length>0?"/"+e:"/":e.length>0?e:"."},normalize:function(e){if(Ue(e),e.length===0)return".";var t=e.charCodeAt(0)===47,r=e.charCodeAt(e.length-1)===47;return e=oa(e,!t),e.length===0&&!t&&(e="."),e.length>0&&r&&(e+="/"),t?"/"+e:e},isAbsolute:function(e){return Ue(e),e.length>0&&e.charCodeAt(0)===47},join:function(){if(arguments.length===0)return".";for(var e,t=0;t0&&(e===void 0?e=r:e+="/"+r)}return e===void 0?".":Wt.normalize(e)},relative:function(e,t){if(Ue(e),Ue(t),e===t||(e=Wt.resolve(e),t=Wt.resolve(t),e===t))return"";for(var r=1;rc){if(t.charCodeAt(i+f)===47)return t.slice(i+f+1);if(f===0)return t.slice(i+f)}else o>c&&(e.charCodeAt(r+f)===47?l=f:f===0&&(l=0));break}var p=e.charCodeAt(r+f),h=t.charCodeAt(i+f);if(p!==h)break;p===47&&(l=f)}var w="";for(f=r+l+1;f<=n;++f)(f===n||e.charCodeAt(f)===47)&&(w.length===0?w+="..":w+="/..");return w.length>0?w+t.slice(i+l):(i+=l,t.charCodeAt(i)===47&&++i,t.slice(i))},_makeLong:function(e){return e},dirname:function(e){if(Ue(e),e.length===0)return".";for(var t=e.charCodeAt(0),r=t===47,n=-1,o=!0,i=e.length-1;i>=1;--i)if(t=e.charCodeAt(i),t===47){if(!o){n=i;break}}else o=!1;return n===-1?r?"/":".":r&&n===1?"//":e.slice(0,n)},basename:function(e,t){if(t!==void 0&&typeof t!="string")throw new TypeError('"ext" argument must be a string');Ue(e);var r=0,n=-1,o=!0,i;if(t!==void 0&&t.length>0&&t.length<=e.length){if(t.length===e.length&&t===e)return"";var s=t.length-1,a=-1;for(i=e.length-1;i>=0;--i){var c=e.charCodeAt(i);if(c===47){if(!o){r=i+1;break}}else a===-1&&(o=!1,a=i+1),s>=0&&(c===t.charCodeAt(s)?--s===-1&&(n=i):(s=-1,n=a))}return r===n?n=a:n===-1&&(n=e.length),e.slice(r,n)}else{for(i=e.length-1;i>=0;--i)if(e.charCodeAt(i)===47){if(!o){r=i+1;break}}else n===-1&&(o=!1,n=i+1);return n===-1?"":e.slice(r,n)}},extname:function(e){Ue(e);for(var t=-1,r=0,n=-1,o=!0,i=0,s=e.length-1;s>=0;--s){var a=e.charCodeAt(s);if(a===47){if(!o){r=s+1;break}continue}n===-1&&(o=!1,n=s+1),a===46?t===-1?t=s:i!==1&&(i=1):t!==-1&&(i=-1)}return t===-1||n===-1||i===0||i===1&&t===n-1&&t===r+1?"":e.slice(t,n)},format:function(e){if(e===null||typeof e!="object")throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof e);return hp("/",e)},parse:function(e){Ue(e);var t={root:"",dir:"",base:"",ext:"",name:""};if(e.length===0)return t;var r=e.charCodeAt(0),n=r===47,o;n?(t.root="/",o=1):o=0;for(var i=-1,s=0,a=-1,c=!0,l=e.length-1,f=0;l>=o;--l){if(r=e.charCodeAt(l),r===47){if(!c){s=l+1;break}continue}a===-1&&(c=!1,a=l+1),r===46?i===-1?i=l:f!==1&&(f=1):i!==-1&&(f=-1)}return i===-1||a===-1||f===0||f===1&&i===a-1&&i===s+1?a!==-1&&(s===0&&n?t.base=t.name=e.slice(1,a):t.base=t.name=e.slice(s,a)):(s===0&&n?(t.name=e.slice(1,i),t.base=e.slice(1,a)):(t.name=e.slice(s,i),t.base=e.slice(s,a)),t.ext=e.slice(i,a)),s>0?t.dir=e.slice(0,s-1):n&&(t.dir="/"),t},sep:"/",delimiter:":",win32:null,posix:null};Wt.posix=Wt;ia.exports=Wt});var aa=W((ym,sa)=>{"use strict";m();g();d();sa.exports=({onlyFirst:e=!1}={})=>{let t=["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)","(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))"].join("|");return new RegExp(t,e?void 0:"g")}});var Pn=W((bm,ua)=>{"use strict";m();g();d();var yp=aa();ua.exports=e=>typeof e=="string"?e.replace(yp(),""):e});var ya=W((zh,ha)=>{m();g();d();var jo=Symbol("arg flag"),he=class extends Error{constructor(t,r){super(t),this.name="ArgError",this.code=r,Object.setPrototypeOf(this,he.prototype)}};u(he,"ArgError");function Ar(e,{argv:t=b.argv.slice(2),permissive:r=!1,stopAtPositional:n=!1}={}){if(!e)throw new he("argument specification object is required","ARG_CONFIG_NO_SPEC");let o={_:[]},i={},s={};for(let a of Object.keys(e)){if(!a)throw new he("argument key cannot be an empty string","ARG_CONFIG_EMPTY_KEY");if(a[0]!=="-")throw new he(`argument key must start with '-' but found: '${a}'`,"ARG_CONFIG_NONOPT_KEY");if(a.length===1)throw new he(`argument key must have a name; singular '-' keys are not allowed: ${a}`,"ARG_CONFIG_NONAME_KEY");if(typeof e[a]=="string"){i[a]=e[a];continue}let c=e[a],l=!1;if(Array.isArray(c)&&c.length===1&&typeof c[0]=="function"){let[f]=c;c=u((p,h,w=[])=>(w.push(f(p,h,w[w.length-1])),w),"type"),l=f===Boolean||f[jo]===!0}else if(typeof c=="function")l=c===Boolean||c[jo]===!0;else throw new he(`type missing or not a function or valid array type: ${a}`,"ARG_CONFIG_VAD_TYPE");if(a[1]!=="-"&&a.length>2)throw new he(`short argument keys (with a single hyphen) must have only one character: ${a}`,"ARG_CONFIG_SHORTOPT_TOOLONG");s[a]=[c,l]}for(let a=0,c=t.length;a0){o._=o._.concat(t.slice(a));break}if(l==="--"){o._=o._.concat(t.slice(a+1));break}if(l.length>1&&l[0]==="-"){let f=l[1]==="-"||l.length===2?[l]:l.slice(1).split("").map(p=>`-${p}`);for(let p=0;p1&&t[a+1][0]==="-"&&!(t[a+1].match(/^-?\d*(\.(?=\d))?\d*$/)&&(A===Number||typeof BigInt!="undefined"&&A===BigInt))){let T=w===y?"":` (alias for ${y})`;throw new he(`option requires argument: ${w}${T}`,"ARG_MISSING_REQUIRED_LONGARG")}o[y]=A(t[a+1],y,o[y]),++a}else o[y]=A(v,y,o[y])}}else o._.push(l)}return o}u(Ar,"arg");Ar.flag=e=>(e[jo]=!0,e);Ar.COUNT=Ar.flag((e,t,r)=>(r||0)+1);Ar.ArgError=he;ha.exports=Ar});var wa=W((Wh,ba)=>{"use strict";m();g();d();ba.exports=e=>{let t=e.match(/^[ \t]*(?=\S)/gm);return t?t.reduce((r,n)=>Math.min(r,n.length),1/0):0}});var $o=W((Hh,va)=>{"use strict";m();g();d();var Rp=wa();va.exports=e=>{let t=Rp(e);if(t===0)return e;let r=new RegExp(`^[ \\t]{${t}}`,"gm");return e.replace(r,"")}});var Aa=W(()=>{m();g();d()});var Lo=W(Ae=>{"use strict";m();g();d();Object.defineProperty(Ae,"__esModule",{value:!0});Ae.sqltag=Ae.empty=Ae.raw=Ae.join=Ae.Sql=void 0;var Vp=So(),_e=class{constructor(t,r){let n=r.length,o=t.length;if(o===0)throw new TypeError("Expected at least 1 string");if(o-1!==n)throw new TypeError(`Expected ${o} strings to have ${o-1} values`);for(let a of r)a instanceof _e&&(n+=a.values.length-1,o+=a.strings.length-2);this.values=new Array(n),this.strings=new Array(o),this.strings[0]=t[0];let i=1,s=0;for(;i`${t}$${n}${r}`)}get sql(){return this.strings.join("?")}[Vp.inspect.custom](){return{text:this.text,sql:this.sql,values:this.values}}};u(_e,"Sql");Ae.Sql=_e;Object.defineProperty(_e.prototype,"sql",{enumerable:!0});Object.defineProperty(_e.prototype,"text",{enumerable:!0});function Gp(e,t=","){if(e.length===0)throw new TypeError("Expected `join([])` to be called with an array of multiple elements, but got an empty array");return new _e(["",...Array(e.length-1).fill(t),""],e)}u(Gp,"join");Ae.join=Gp;function Ta(e){return new _e([e],[])}u(Ta,"raw");Ae.raw=Ta;Ae.empty=Ta("");function Pa(e,...t){return new _e(e,t)}u(Pa,"sqltag");Ae.sqltag=Pa;Ae.default=Pa});var Pu=W((db,Tu)=>{"use strict";m();g();d();Tu.exports=e=>Object.prototype.toString.call(e)==="[object RegExp]"});var _u=W((mb,Su)=>{"use strict";m();g();d();Su.exports=e=>{let t=typeof e;return e!==null&&(t==="object"||t==="function")}});var Mu=W(ri=>{"use strict";m();g();d();Object.defineProperty(ri,"__esModule",{value:!0});ri.default=e=>Object.getOwnPropertySymbols(e).filter(t=>Object.prototype.propertyIsEnumerable.call(e,t))});var Vu=W((Xb,pd)=>{pd.exports={name:"@prisma/client",version:"3.15.2",description:"Prisma Client is an auto-generated, type-safe and modern JavaScript/TypeScript ORM for Node.js that's tailored to your data. Supports MySQL, PostgreSQL, MariaDB, SQLite databases.",keywords:["orm","prisma2","prisma","client","query","database","sql","postgres","postgresql","mysql","sqlite","mariadb","mssql","typescript","query-builder"],main:"index.js",browser:"index-browser.js",types:"index.d.ts",license:"Apache-2.0",engines:{node:">=12.6"},homepage:"https://www.prisma.io",repository:{type:"git",url:"https://github.com/prisma/prisma.git",directory:"packages/client"},author:"Tim Suchanek ",maintainers:["Jo\xEBl Galeran ","Pierre-Antoine Mills ","Alexey Orlenko "],bugs:"https://github.com/prisma/prisma/issues",scripts:{dev:"DEV=true node -r esbuild-register helpers/build.ts",build:"node -r esbuild-register helpers/build.ts",test:"jest --verbose","test:functional":"pnpm run test:functional:code && pnpm run test:functional:types","test:functional:code":"jest --verbose --config=tests/functional/jest.config.js --testPathIgnorePatterns typescript --","test:functional:types":"jest --verbose --config=tests/functional/jest.config.js -- typescript","test-notypes":"jest --verbose --testPathIgnorePatterns src/__tests__/types/types.test.ts",generate:"node scripts/postinstall.js",postinstall:"node scripts/postinstall.js",prepublishOnly:"pnpm run build","new-test":"NODE_OPTIONS='-r ts-node/register' yo ./helpers/generator-test/index.ts"},files:["README.md","runtime","scripts","generator-build","edge.js","edge.d.ts","index.js","index.d.ts","index-browser.js"],devDependencies:{"@jest/test-sequencer":"28.1.0","@microsoft/api-extractor":"7.24.1","@opentelemetry/api":"1.1.0","@prisma/debug":"workspace:*","@prisma/engine-core":"workspace:*","@prisma/engines":"3.15.1-1.461d6a05159055555eb7dfb337c9fb271cbd4d7e","@prisma/fetch-engine":"3.15.1-1.461d6a05159055555eb7dfb337c9fb271cbd4d7e","@prisma/generator-helper":"workspace:*","@prisma/get-platform":"3.15.1-1.461d6a05159055555eb7dfb337c9fb271cbd4d7e","@prisma/migrate":"workspace:*","@prisma/sdk":"workspace:*","@swc/core":"1.2.189","@swc/jest":"0.2.21","@timsuchanek/copy":"1.4.5","@types/debug":"4.1.7","@types/jest":"28.1.0","@types/js-levenshtein":"1.1.1","@types/mssql":"7.1.5","@types/node":"12.20.51","@types/pg":"8.6.5","@types/yeoman-generator":"^5.2.10",arg:"5.0.1",benchmark:"2.1.4",chalk:"4.1.2","decimal.js":"10.3.1",esbuild:"0.14.39",execa:"5.1.1","expect-type":"0.13.0","flat-map-polyfill":"0.3.8","fs-extra":"10.1.0","fs-monkey":"1.0.3","get-own-enumerable-property-symbols":"3.0.2",globby:"11.1.0","indent-string":"4.0.0","is-obj":"2.0.0","is-regexp":"2.1.0",jest:"28.1.0","jest-junit":"13.2.0","js-levenshtein":"1.1.6",klona:"2.0.5","lz-string":"1.4.4","make-dir":"3.1.0",mariadb:"3.0.0",mssql:"8.1.1",pg:"8.7.3","pkg-up":"3.1.0",pluralize:"8.0.0","replace-string":"3.1.0",resolve:"1.22.0",rimraf:"3.0.2","sort-keys":"4.2.0","source-map-support":"0.5.21","sql-template-tag":"4.0.0","stacktrace-parser":"0.1.10","strip-ansi":"6.0.1","strip-indent":"3.0.0","ts-jest":"28.0.3","ts-node":"10.8.0",tsd:"0.20.0",typescript:"4.7.2","yeoman-generator":"^5.6.1",yo:"^4.3.0"},peerDependencies:{prisma:"*"},peerDependenciesMeta:{prisma:{optional:!0}},dependencies:{"@prisma/engines-version":"3.15.1-1.461d6a05159055555eb7dfb337c9fb271cbd4d7e"},sideEffects:!1}});var Ad={};Jn(Ad,{DMMF:()=>gr,DMMFClass:()=>At,Decimal:()=>Re,Engine:()=>ct,MetricsClient:()=>vt,PrismaClientInitializationError:()=>ke,PrismaClientKnownRequestError:()=>Ve,PrismaClientRustPanicError:()=>Ge,PrismaClientUnknownRequestError:()=>Ne,PrismaClientValidationError:()=>Oe,Sql:()=>Je.Sql,decompressFromBase64:()=>xd,empty:()=>Je.empty,findSync:()=>void 0,getPrismaClient:()=>oc,join:()=>Je.join,makeDocument:()=>Vn,raw:()=>Je.raw,sqltag:()=>Je.sqltag,transformDocument:()=>fi,unpack:()=>Gn,warnEnvConflicts:()=>void 0});module.exports=xi(Ad);m();g();d();var ic=Z(Ui());m();g();d();var vt=class{constructor(t){this._engine=t}prometheus(t){return this._engine.metrics({format:"prometheus",...t})}json(t){return this._engine.metrics({format:"json",...t})}};u(vt,"MetricsClient");m();g();d();m();g();d();var st=Z(Et());m();g();d();var jt=9e15,it=1e9,ao="0123456789abcdef",tn="2.3025850929940456840179914546843642076011014886287729760333279009675726096773524802359972050895982983419677840422862486334095254650828067566662873690987816894829072083255546808437998948262331985283935053089653777326288461633662222876982198867465436674744042432743651550489343149393914796194044002221051017141748003688084012647080685567743216228355220114804663715659121373450747856947683463616792101806445070648000277502684916746550586856935673420670581136429224554405758925724208241314695689016758940256776311356919292033376587141660230105703089634572075440370847469940168269282808481184289314848524948644871927809676271275775397027668605952496716674183485704422507197965004714951050492214776567636938662976979522110718264549734772662425709429322582798502585509785265383207606726317164309505995087807523710333101197857547331541421808427543863591778117054309827482385045648019095610299291824318237525357709750539565187697510374970888692180205189339507238539205144634197265287286965110862571492198849978748873771345686209167058",rn="3.1415926535897932384626433832795028841971693993751058209749445923078164062862089986280348253421170679821480865132823066470938446095505822317253594081284811174502841027019385211055596446229489549303819644288109756659334461284756482337867831652712019091456485669234603486104543266482133936072602491412737245870066063155881748815209209628292540917153643678925903600113305305488204665213841469519415116094330572703657595919530921861173819326117931051185480744623799627495673518857527248912279381830119491298336733624406566430860213949463952247371907021798609437027705392171762931767523846748184676694051320005681271452635608277857713427577896091736371787214684409012249534301465495853710507922796892589235420199561121290219608640344181598136297747713099605187072113499999983729780499510597317328160963185950244594553469083026425223082533446850352619311881710100031378387528865875332083814206171776691473035982534904287554687311595628638823537875937519577818577805321712268066130019278766111959092164201989380952572010654858632789",uo={precision:20,rounding:4,modulo:1,toExpNeg:-7,toExpPos:21,minE:-jt,maxE:jt,crypto:!1},ws,He,B=!0,on="[DecimalError] ",ot=on+"Invalid argument: ",vs=on+"Precision limit exceeded",Es=on+"crypto unavailable",xs="[object Decimal]",ce=Math.floor,re=Math.pow,bl=/^0b([01]+(\.[01]*)?|\.[01]+)(p[+-]?\d+)?$/i,wl=/^0x([0-9a-f]+(\.[0-9a-f]*)?|\.[0-9a-f]+)(p[+-]?\d+)?$/i,vl=/^0o([0-7]+(\.[0-7]*)?|\.[0-7]+)(p[+-]?\d+)?$/i,As=/^(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i,Fe=1e7,j=7,El=9007199254740991,xl=tn.length-1,co=rn.length-1,I={toStringTag:xs};I.absoluteValue=I.abs=function(){var e=new this.constructor(this);return e.s<0&&(e.s=1),D(e)};I.ceil=function(){return D(new this.constructor(this),this.e+1,2)};I.clampedTo=I.clamp=function(e,t){var r,n=this,o=n.constructor;if(e=new o(e),t=new o(t),!e.s||!t.s)return new o(NaN);if(e.gt(t))throw Error(ot+t);return r=n.cmp(e),r<0?e:n.cmp(t)>0?t:new o(n)};I.comparedTo=I.cmp=function(e){var t,r,n,o,i=this,s=i.d,a=(e=new i.constructor(e)).d,c=i.s,l=e.s;if(!s||!a)return!c||!l?NaN:c!==l?c:s===a?0:!s^c<0?1:-1;if(!s[0]||!a[0])return s[0]?c:a[0]?-l:0;if(c!==l)return c;if(i.e!==e.e)return i.e>e.e^c<0?1:-1;for(n=s.length,o=a.length,t=0,r=na[t]^c<0?1:-1;return n===o?0:n>o^c<0?1:-1};I.cosine=I.cos=function(){var e,t,r=this,n=r.constructor;return r.d?r.d[0]?(e=n.precision,t=n.rounding,n.precision=e+Math.max(r.e,r.sd())+j,n.rounding=1,r=Al(n,Ms(n,r)),n.precision=e,n.rounding=t,D(He==2||He==3?r.neg():r,e,t,!0)):new n(1):new n(NaN)};I.cubeRoot=I.cbrt=function(){var e,t,r,n,o,i,s,a,c,l,f=this,p=f.constructor;if(!f.isFinite()||f.isZero())return new p(f);for(B=!1,i=f.s*re(f.s*f,1/3),!i||Math.abs(i)==1/0?(r=ie(f.d),e=f.e,(i=(e-r.length+1)%3)&&(r+=i==1||i==-2?"0":"00"),i=re(r,1/3),e=ce((e+1)/3)-(e%3==(e<0?-1:2)),i==1/0?r="5e"+e:(r=i.toExponential(),r=r.slice(0,r.indexOf("e")+1)+e),n=new p(r),n.s=f.s):n=new p(i.toString()),s=(e=p.precision)+3;;)if(a=n,c=a.times(a).times(a),l=c.plus(f),n=Y(l.plus(f).times(a),l.plus(c),s+2,1),ie(a.d).slice(0,s)===(r=ie(n.d)).slice(0,s))if(r=r.slice(s-3,s+1),r=="9999"||!o&&r=="4999"){if(!o&&(D(a,e+1,0),a.times(a).times(a).eq(f))){n=a;break}s+=4,o=1}else{(!+r||!+r.slice(1)&&r.charAt(0)=="5")&&(D(n,e+1,1),t=!n.times(n).times(n).eq(f));break}return B=!0,D(n,e,p.rounding,t)};I.decimalPlaces=I.dp=function(){var e,t=this.d,r=NaN;if(t){if(e=t.length-1,r=(e-ce(this.e/j))*j,e=t[e],e)for(;e%10==0;e/=10)r--;r<0&&(r=0)}return r};I.dividedBy=I.div=function(e){return Y(this,new this.constructor(e))};I.dividedToIntegerBy=I.divToInt=function(e){var t=this,r=t.constructor;return D(Y(t,new r(e),0,1,1),r.precision,r.rounding)};I.equals=I.eq=function(e){return this.cmp(e)===0};I.floor=function(){return D(new this.constructor(this),this.e+1,3)};I.greaterThan=I.gt=function(e){return this.cmp(e)>0};I.greaterThanOrEqualTo=I.gte=function(e){var t=this.cmp(e);return t==1||t===0};I.hyperbolicCosine=I.cosh=function(){var e,t,r,n,o,i=this,s=i.constructor,a=new s(1);if(!i.isFinite())return new s(i.s?1/0:NaN);if(i.isZero())return a;r=s.precision,n=s.rounding,s.precision=r+Math.max(i.e,i.sd())+4,s.rounding=1,o=i.d.length,o<32?(e=Math.ceil(o/3),t=(1/an(4,e)).toString()):(e=16,t="2.3283064365386962890625e-10"),i=$t(s,1,i.times(t),new s(1),!0);for(var c,l=e,f=new s(8);l--;)c=i.times(i),i=a.minus(c.times(f.minus(c.times(f))));return D(i,s.precision=r,s.rounding=n,!0)};I.hyperbolicSine=I.sinh=function(){var e,t,r,n,o=this,i=o.constructor;if(!o.isFinite()||o.isZero())return new i(o);if(t=i.precision,r=i.rounding,i.precision=t+Math.max(o.e,o.sd())+4,i.rounding=1,n=o.d.length,n<3)o=$t(i,2,o,o,!0);else{e=1.4*Math.sqrt(n),e=e>16?16:e|0,o=o.times(1/an(5,e)),o=$t(i,2,o,o,!0);for(var s,a=new i(5),c=new i(16),l=new i(20);e--;)s=o.times(o),o=o.times(a.plus(s.times(c.times(s).plus(l))))}return i.precision=t,i.rounding=r,D(o,t,r,!0)};I.hyperbolicTangent=I.tanh=function(){var e,t,r=this,n=r.constructor;return r.isFinite()?r.isZero()?new n(r):(e=n.precision,t=n.rounding,n.precision=e+7,n.rounding=1,Y(r.sinh(),r.cosh(),n.precision=e,n.rounding=t)):new n(r.s)};I.inverseCosine=I.acos=function(){var e,t=this,r=t.constructor,n=t.abs().cmp(1),o=r.precision,i=r.rounding;return n!==-1?n===0?t.isNeg()?Ce(r,o,i):new r(0):new r(NaN):t.isZero()?Ce(r,o+4,i).times(.5):(r.precision=o+6,r.rounding=1,t=t.asin(),e=Ce(r,o+4,i).times(.5),r.precision=o,r.rounding=i,e.minus(t))};I.inverseHyperbolicCosine=I.acosh=function(){var e,t,r=this,n=r.constructor;return r.lte(1)?new n(r.eq(1)?0:NaN):r.isFinite()?(e=n.precision,t=n.rounding,n.precision=e+Math.max(Math.abs(r.e),r.sd())+4,n.rounding=1,B=!1,r=r.times(r).minus(1).sqrt().plus(r),B=!0,n.precision=e,n.rounding=t,r.ln()):new n(r)};I.inverseHyperbolicSine=I.asinh=function(){var e,t,r=this,n=r.constructor;return!r.isFinite()||r.isZero()?new n(r):(e=n.precision,t=n.rounding,n.precision=e+2*Math.max(Math.abs(r.e),r.sd())+6,n.rounding=1,B=!1,r=r.times(r).plus(1).sqrt().plus(r),B=!0,n.precision=e,n.rounding=t,r.ln())};I.inverseHyperbolicTangent=I.atanh=function(){var e,t,r,n,o=this,i=o.constructor;return o.isFinite()?o.e>=0?new i(o.abs().eq(1)?o.s/0:o.isZero()?o:NaN):(e=i.precision,t=i.rounding,n=o.sd(),Math.max(n,e)<2*-o.e-1?D(new i(o),e,t,!0):(i.precision=r=n-o.e,o=Y(o.plus(1),new i(1).minus(o),r+e,1),i.precision=e+4,i.rounding=1,o=o.ln(),i.precision=e,i.rounding=t,o.times(.5))):new i(NaN)};I.inverseSine=I.asin=function(){var e,t,r,n,o=this,i=o.constructor;return o.isZero()?new i(o):(t=o.abs().cmp(1),r=i.precision,n=i.rounding,t!==-1?t===0?(e=Ce(i,r+4,n).times(.5),e.s=o.s,e):new i(NaN):(i.precision=r+6,i.rounding=1,o=o.div(new i(1).minus(o.times(o)).sqrt().plus(1)).atan(),i.precision=r,i.rounding=n,o.times(2)))};I.inverseTangent=I.atan=function(){var e,t,r,n,o,i,s,a,c,l=this,f=l.constructor,p=f.precision,h=f.rounding;if(l.isFinite()){if(l.isZero())return new f(l);if(l.abs().eq(1)&&p+4<=co)return s=Ce(f,p+4,h).times(.25),s.s=l.s,s}else{if(!l.s)return new f(NaN);if(p+4<=co)return s=Ce(f,p+4,h).times(.5),s.s=l.s,s}for(f.precision=a=p+10,f.rounding=1,r=Math.min(28,a/j+2|0),e=r;e;--e)l=l.div(l.times(l).plus(1).sqrt().plus(1));for(B=!1,t=Math.ceil(a/j),n=1,c=l.times(l),s=new f(l),o=l;e!==-1;)if(o=o.times(c),i=s.minus(o.div(n+=2)),o=o.times(c),s=i.plus(o.div(n+=2)),s.d[t]!==void 0)for(e=t;s.d[e]===i.d[e]&&e--;);return r&&(s=s.times(2<this.d.length-2};I.isNaN=function(){return!this.s};I.isNegative=I.isNeg=function(){return this.s<0};I.isPositive=I.isPos=function(){return this.s>0};I.isZero=function(){return!!this.d&&this.d[0]===0};I.lessThan=I.lt=function(e){return this.cmp(e)<0};I.lessThanOrEqualTo=I.lte=function(e){return this.cmp(e)<1};I.logarithm=I.log=function(e){var t,r,n,o,i,s,a,c,l=this,f=l.constructor,p=f.precision,h=f.rounding,w=5;if(e==null)e=new f(10),t=!0;else{if(e=new f(e),r=e.d,e.s<0||!r||!r[0]||e.eq(1))return new f(NaN);t=e.eq(10)}if(r=l.d,l.s<0||!r||!r[0]||l.eq(1))return new f(r&&!r[0]?-1/0:l.s!=1?NaN:r?0:1/0);if(t)if(r.length>1)i=!0;else{for(o=r[0];o%10===0;)o/=10;i=o!==1}if(B=!1,a=p+w,s=nt(l,a),n=t?nn(f,a+10):nt(e,a),c=Y(s,n,a,1),lr(c.d,o=p,h))do if(a+=10,s=nt(l,a),n=t?nn(f,a+10):nt(e,a),c=Y(s,n,a,1),!i){+ie(c.d).slice(o+1,o+15)+1==1e14&&(c=D(c,p+1,0));break}while(lr(c.d,o+=10,h));return B=!0,D(c,p,h)};I.minus=I.sub=function(e){var t,r,n,o,i,s,a,c,l,f,p,h,w=this,v=w.constructor;if(e=new v(e),!w.d||!e.d)return!w.s||!e.s?e=new v(NaN):w.d?e.s=-e.s:e=new v(e.d||w.s!==e.s?w:NaN),e;if(w.s!=e.s)return e.s=-e.s,w.plus(e);if(l=w.d,h=e.d,a=v.precision,c=v.rounding,!l[0]||!h[0]){if(h[0])e.s=-e.s;else if(l[0])e=new v(w);else return new v(c===3?-0:0);return B?D(e,a,c):e}if(r=ce(e.e/j),f=ce(w.e/j),l=l.slice(),i=f-r,i){for(p=i<0,p?(t=l,i=-i,s=h.length):(t=h,r=f,s=l.length),n=Math.max(Math.ceil(a/j),s)+2,i>n&&(i=n,t.length=1),t.reverse(),n=i;n--;)t.push(0);t.reverse()}else{for(n=l.length,s=h.length,p=n0;--n)l[s++]=0;for(n=h.length;n>i;){if(l[--n]s?i+1:s+1,o>s&&(o=s,r.length=1),r.reverse();o--;)r.push(0);r.reverse()}for(s=l.length,o=f.length,s-o<0&&(o=s,r=f,f=l,l=r),t=0;o;)t=(l[--o]=l[o]+f[o]+t)/Fe|0,l[o]%=Fe;for(t&&(l.unshift(t),++n),s=l.length;l[--s]==0;)l.pop();return e.d=l,e.e=sn(l,n),B?D(e,a,c):e};I.precision=I.sd=function(e){var t,r=this;if(e!==void 0&&e!==!!e&&e!==1&&e!==0)throw Error(ot+e);return r.d?(t=Ts(r.d),e&&r.e+1>t&&(t=r.e+1)):t=NaN,t};I.round=function(){var e=this,t=e.constructor;return D(new t(e),e.e+1,t.rounding)};I.sine=I.sin=function(){var e,t,r=this,n=r.constructor;return r.isFinite()?r.isZero()?new n(r):(e=n.precision,t=n.rounding,n.precision=e+Math.max(r.e,r.sd())+j,n.rounding=1,r=Pl(n,Ms(n,r)),n.precision=e,n.rounding=t,D(He>2?r.neg():r,e,t,!0)):new n(NaN)};I.squareRoot=I.sqrt=function(){var e,t,r,n,o,i,s=this,a=s.d,c=s.e,l=s.s,f=s.constructor;if(l!==1||!a||!a[0])return new f(!l||l<0&&(!a||a[0])?NaN:a?s:1/0);for(B=!1,l=Math.sqrt(+s),l==0||l==1/0?(t=ie(a),(t.length+c)%2==0&&(t+="0"),l=Math.sqrt(t),c=ce((c+1)/2)-(c<0||c%2),l==1/0?t="5e"+c:(t=l.toExponential(),t=t.slice(0,t.indexOf("e")+1)+c),n=new f(t)):n=new f(l.toString()),r=(c=f.precision)+3;;)if(i=n,n=i.plus(Y(s,i,r+2,1)).times(.5),ie(i.d).slice(0,r)===(t=ie(n.d)).slice(0,r))if(t=t.slice(r-3,r+1),t=="9999"||!o&&t=="4999"){if(!o&&(D(i,c+1,0),i.times(i).eq(s))){n=i;break}r+=4,o=1}else{(!+t||!+t.slice(1)&&t.charAt(0)=="5")&&(D(n,c+1,1),e=!n.times(n).eq(s));break}return B=!0,D(n,c,f.rounding,e)};I.tangent=I.tan=function(){var e,t,r=this,n=r.constructor;return r.isFinite()?r.isZero()?new n(r):(e=n.precision,t=n.rounding,n.precision=e+10,n.rounding=1,r=r.sin(),r.s=1,r=Y(r,new n(1).minus(r.times(r)).sqrt(),e+10,0),n.precision=e,n.rounding=t,D(He==2||He==4?r.neg():r,e,t,!0)):new n(NaN)};I.times=I.mul=function(e){var t,r,n,o,i,s,a,c,l,f=this,p=f.constructor,h=f.d,w=(e=new p(e)).d;if(e.s*=f.s,!h||!h[0]||!w||!w[0])return new p(!e.s||h&&!h[0]&&!w||w&&!w[0]&&!h?NaN:!h||!w?e.s/0:e.s*0);for(r=ce(f.e/j)+ce(e.e/j),c=h.length,l=w.length,c=0;){for(t=0,o=c+n;o>n;)a=i[o]+w[n]*h[o-n-1]+t,i[o--]=a%Fe|0,t=a/Fe|0;i[o]=(i[o]+t)%Fe|0}for(;!i[--s];)i.pop();return t?++r:i.shift(),e.d=i,e.e=sn(i,r),B?D(e,p.precision,p.rounding):e};I.toBinary=function(e,t){return po(this,2,e,t)};I.toDecimalPlaces=I.toDP=function(e,t){var r=this,n=r.constructor;return r=new n(r),e===void 0?r:(ve(e,0,it),t===void 0?t=n.rounding:ve(t,0,8),D(r,e+r.e+1,t))};I.toExponential=function(e,t){var r,n=this,o=n.constructor;return e===void 0?r=qe(n,!0):(ve(e,0,it),t===void 0?t=o.rounding:ve(t,0,8),n=D(new o(n),e+1,t),r=qe(n,!0,e+1)),n.isNeg()&&!n.isZero()?"-"+r:r};I.toFixed=function(e,t){var r,n,o=this,i=o.constructor;return e===void 0?r=qe(o):(ve(e,0,it),t===void 0?t=i.rounding:ve(t,0,8),n=D(new i(o),e+o.e+1,t),r=qe(n,!1,e+n.e+1)),o.isNeg()&&!o.isZero()?"-"+r:r};I.toFraction=function(e){var t,r,n,o,i,s,a,c,l,f,p,h,w=this,v=w.d,y=w.constructor;if(!v)return new y(w);if(l=r=new y(1),n=c=new y(0),t=new y(n),i=t.e=Ts(v)-w.e-1,s=i%j,t.d[0]=re(10,s<0?j+s:s),e==null)e=i>0?t:l;else{if(a=new y(e),!a.isInt()||a.lt(l))throw Error(ot+a);e=a.gt(t)?i>0?t:l:a}for(B=!1,a=new y(ie(v)),f=y.precision,y.precision=i=v.length*j*2;p=Y(a,t,0,1,1),o=r.plus(p.times(n)),o.cmp(e)!=1;)r=n,n=o,o=l,l=c.plus(p.times(o)),c=o,o=t,t=a.minus(p.times(o)),a=o;return o=Y(e.minus(r),n,0,1,1),c=c.plus(o.times(l)),r=r.plus(o.times(n)),c.s=l.s=w.s,h=Y(l,n,i,1).minus(w).abs().cmp(Y(c,r,i,1).minus(w).abs())<1?[l,n]:[c,r],y.precision=f,B=!0,h};I.toHexadecimal=I.toHex=function(e,t){return po(this,16,e,t)};I.toNearest=function(e,t){var r=this,n=r.constructor;if(r=new n(r),e==null){if(!r.d)return r;e=new n(1),t=n.rounding}else{if(e=new n(e),t===void 0?t=n.rounding:ve(t,0,8),!r.d)return e.s?r:e;if(!e.d)return e.s&&(e.s=r.s),e}return e.d[0]?(B=!1,r=Y(r,e,0,t,1).times(e),B=!0,D(r)):(e.s=r.s,r=e),r};I.toNumber=function(){return+this};I.toOctal=function(e,t){return po(this,8,e,t)};I.toPower=I.pow=function(e){var t,r,n,o,i,s,a=this,c=a.constructor,l=+(e=new c(e));if(!a.d||!e.d||!a.d[0]||!e.d[0])return new c(re(+a,l));if(a=new c(a),a.eq(1))return a;if(n=c.precision,i=c.rounding,e.eq(1))return D(a,n,i);if(t=ce(e.e/j),t>=e.d.length-1&&(r=l<0?-l:l)<=El)return o=Ps(c,a,r,n),e.s<0?new c(1).div(o):D(o,n,i);if(s=a.s,s<0){if(tc.maxE+1||t0?s/0:0):(B=!1,c.rounding=a.s=1,r=Math.min(12,(t+"").length),o=lo(e.times(nt(a,n+r)),n),o.d&&(o=D(o,n+5,1),lr(o.d,n,i)&&(t=n+10,o=D(lo(e.times(nt(a,t+r)),t),t+5,1),+ie(o.d).slice(n+1,n+15)+1==1e14&&(o=D(o,n+1,0)))),o.s=s,B=!0,c.rounding=i,D(o,n,i))};I.toPrecision=function(e,t){var r,n=this,o=n.constructor;return e===void 0?r=qe(n,n.e<=o.toExpNeg||n.e>=o.toExpPos):(ve(e,1,it),t===void 0?t=o.rounding:ve(t,0,8),n=D(new o(n),e,t),r=qe(n,e<=n.e||n.e<=o.toExpNeg,e)),n.isNeg()&&!n.isZero()?"-"+r:r};I.toSignificantDigits=I.toSD=function(e,t){var r=this,n=r.constructor;return e===void 0?(e=n.precision,t=n.rounding):(ve(e,1,it),t===void 0?t=n.rounding:ve(t,0,8)),D(new n(r),e,t)};I.toString=function(){var e=this,t=e.constructor,r=qe(e,e.e<=t.toExpNeg||e.e>=t.toExpPos);return e.isNeg()&&!e.isZero()?"-"+r:r};I.truncated=I.trunc=function(){return D(new this.constructor(this),this.e+1,1)};I.valueOf=I.toJSON=function(){var e=this,t=e.constructor,r=qe(e,e.e<=t.toExpNeg||e.e>=t.toExpPos);return e.isNeg()?"-"+r:r};function ie(e){var t,r,n,o=e.length-1,i="",s=e[0];if(o>0){for(i+=s,t=1;tr)throw Error(ot+e)}u(ve,"checkInt32");function lr(e,t,r,n){var o,i,s,a;for(i=e[0];i>=10;i/=10)--t;return--t<0?(t+=j,o=0):(o=Math.ceil((t+1)/j),t%=j),i=re(10,j-t),a=e[o]%i|0,n==null?t<3?(t==0?a=a/100|0:t==1&&(a=a/10|0),s=r<4&&a==99999||r>3&&a==49999||a==5e4||a==0):s=(r<4&&a+1==i||r>3&&a+1==i/2)&&(e[o+1]/i/100|0)==re(10,t-2)-1||(a==i/2||a==0)&&(e[o+1]/i/100|0)==0:t<4?(t==0?a=a/1e3|0:t==1?a=a/100|0:t==2&&(a=a/10|0),s=(n||r<4)&&a==9999||!n&&r>3&&a==4999):s=((n||r<4)&&a+1==i||!n&&r>3&&a+1==i/2)&&(e[o+1]/i/1e3|0)==re(10,t-3)-1,s}u(lr,"checkRoundingDigits");function en(e,t,r){for(var n,o=[0],i,s=0,a=e.length;sr-1&&(o[n+1]===void 0&&(o[n+1]=0),o[n+1]+=o[n]/r|0,o[n]%=r)}return o.reverse()}u(en,"convertBase");function Al(e,t){var r,n,o;if(t.isZero())return t;n=t.d.length,n<32?(r=Math.ceil(n/3),o=(1/an(4,r)).toString()):(r=16,o="2.3283064365386962890625e-10"),e.precision+=r,t=$t(e,1,t.times(o),new e(1));for(var i=r;i--;){var s=t.times(t);t=s.times(s).minus(s).times(8).plus(1)}return e.precision-=r,t}u(Al,"cosine");var Y=function(){function e(n,o,i){var s,a=0,c=n.length;for(n=n.slice();c--;)s=n[c]*o+a,n[c]=s%i|0,a=s/i|0;return a&&n.unshift(a),n}u(e,"multiplyInteger");function t(n,o,i,s){var a,c;if(i!=s)c=i>s?1:-1;else for(a=c=0;ao[a]?1:-1;break}return c}u(t,"compare");function r(n,o,i,s){for(var a=0;i--;)n[i]-=a,a=n[i]1;)n.shift()}return u(r,"subtract"),function(n,o,i,s,a,c){var l,f,p,h,w,v,y,A,S,T,_,P,O,F,R,$,Q,te,U,H,z=n.constructor,G=n.s==o.s?1:-1,K=n.d,V=o.d;if(!K||!K[0]||!V||!V[0])return new z(!n.s||!o.s||(K?V&&K[0]==V[0]:!V)?NaN:K&&K[0]==0||!V?G*0:G/0);for(c?(w=1,f=n.e-o.e):(c=Fe,w=j,f=ce(n.e/w)-ce(o.e/w)),U=V.length,Q=K.length,S=new z(G),T=S.d=[],p=0;V[p]==(K[p]||0);p++);if(V[p]>(K[p]||0)&&f--,i==null?(F=i=z.precision,s=z.rounding):a?F=i+(n.e-o.e)+1:F=i,F<0)T.push(1),v=!0;else{if(F=F/w+2|0,p=0,U==1){for(h=0,V=V[0],F++;(p1&&(V=e(V,h,c),K=e(K,h,c),U=V.length,Q=K.length),$=U,_=K.slice(0,U),P=_.length;P=c/2&&++te;do h=0,l=t(V,_,U,P),l<0?(O=_[0],U!=P&&(O=O*c+(_[1]||0)),h=O/te|0,h>1?(h>=c&&(h=c-1),y=e(V,h,c),A=y.length,P=_.length,l=t(y,_,A,P),l==1&&(h--,r(y,U=10;h/=10)p++;S.e=p+f*w-1,D(S,a?i+S.e+1:i,s,v)}return S}}();function D(e,t,r,n){var o,i,s,a,c,l,f,p,h,w=e.constructor;e:if(t!=null){if(p=e.d,!p)return e;for(o=1,a=p[0];a>=10;a/=10)o++;if(i=t-o,i<0)i+=j,s=t,f=p[h=0],c=f/re(10,o-s-1)%10|0;else if(h=Math.ceil((i+1)/j),a=p.length,h>=a)if(n){for(;a++<=h;)p.push(0);f=c=0,o=1,i%=j,s=i-j+1}else break e;else{for(f=a=p[h],o=1;a>=10;a/=10)o++;i%=j,s=i-j+o,c=s<0?0:f/re(10,o-s-1)%10|0}if(n=n||t<0||p[h+1]!==void 0||(s<0?f:f%re(10,o-s-1)),l=r<4?(c||n)&&(r==0||r==(e.s<0?3:2)):c>5||c==5&&(r==4||n||r==6&&(i>0?s>0?f/re(10,o-s):0:p[h-1])%10&1||r==(e.s<0?8:7)),t<1||!p[0])return p.length=0,l?(t-=e.e+1,p[0]=re(10,(j-t%j)%j),e.e=-t||0):p[0]=e.e=0,e;if(i==0?(p.length=h,a=1,h--):(p.length=h+1,a=re(10,j-i),p[h]=s>0?(f/re(10,o-s)%re(10,s)|0)*a:0),l)for(;;)if(h==0){for(i=1,s=p[0];s>=10;s/=10)i++;for(s=p[0]+=a,a=1;s>=10;s/=10)a++;i!=a&&(e.e++,p[0]==Fe&&(p[0]=1));break}else{if(p[h]+=a,p[h]!=Fe)break;p[h--]=0,a=1}for(i=p.length;p[--i]===0;)p.pop()}return B&&(e.e>w.maxE?(e.d=null,e.e=NaN):e.e0?i=i.charAt(0)+"."+i.slice(1)+rt(n):s>1&&(i=i.charAt(0)+"."+i.slice(1)),i=i+(e.e<0?"e":"e+")+e.e):o<0?(i="0."+rt(-o-1)+i,r&&(n=r-s)>0&&(i+=rt(n))):o>=s?(i+=rt(o+1-s),r&&(n=r-o-1)>0&&(i=i+"."+rt(n))):((n=o+1)0&&(o+1===s&&(i+="."),i+=rt(n))),i}u(qe,"finiteToString");function sn(e,t){var r=e[0];for(t*=j;r>=10;r/=10)t++;return t}u(sn,"getBase10Exponent");function nn(e,t,r){if(t>xl)throw B=!0,r&&(e.precision=r),Error(vs);return D(new e(tn),t,1,!0)}u(nn,"getLn10");function Ce(e,t,r){if(t>co)throw Error(vs);return D(new e(rn),t,r,!0)}u(Ce,"getPi");function Ts(e){var t=e.length-1,r=t*j+1;if(t=e[t],t){for(;t%10==0;t/=10)r--;for(t=e[0];t>=10;t/=10)r++}return r}u(Ts,"getPrecision");function rt(e){for(var t="";e--;)t+="0";return t}u(rt,"getZeroString");function Ps(e,t,r,n){var o,i=new e(1),s=Math.ceil(n/j+4);for(B=!1;;){if(r%2&&(i=i.times(t),ys(i.d,s)&&(o=!0)),r=ce(r/2),r===0){r=i.d.length-1,o&&i.d[r]===0&&++i.d[r];break}t=t.times(t),ys(t.d,s)}return B=!0,i}u(Ps,"intPow");function hs(e){return e.d[e.d.length-1]&1}u(hs,"isOdd");function Ss(e,t,r){for(var n,o=new e(t[0]),i=0;++i17)return new h(e.d?e.d[0]?e.s<0?0:1/0:1:e.s?e.s<0?0:e:0/0);for(t==null?(B=!1,c=v):c=t,a=new h(.03125);e.e>-2;)e=e.times(a),p+=5;for(n=Math.log(re(2,p))/Math.LN10*2+5|0,c+=n,r=i=s=new h(1),h.precision=c;;){if(i=D(i.times(e),c,1),r=r.times(++f),a=s.plus(Y(i,r,c,1)),ie(a.d).slice(0,c)===ie(s.d).slice(0,c)){for(o=p;o--;)s=D(s.times(s),c,1);if(t==null)if(l<3&&lr(s.d,c-n,w,l))h.precision=c+=10,r=i=a=new h(1),f=0,l++;else return D(s,h.precision=v,w,B=!0);else return h.precision=v,s}s=a}}u(lo,"naturalExponential");function nt(e,t){var r,n,o,i,s,a,c,l,f,p,h,w=1,v=10,y=e,A=y.d,S=y.constructor,T=S.rounding,_=S.precision;if(y.s<0||!A||!A[0]||!y.e&&A[0]==1&&A.length==1)return new S(A&&!A[0]?-1/0:y.s!=1?NaN:A?0:y);if(t==null?(B=!1,f=_):f=t,S.precision=f+=v,r=ie(A),n=r.charAt(0),Math.abs(i=y.e)<15e14){for(;n<7&&n!=1||n==1&&r.charAt(1)>3;)y=y.times(e),r=ie(y.d),n=r.charAt(0),w++;i=y.e,n>1?(y=new S("0."+r),i++):y=new S(n+"."+r.slice(1))}else return l=nn(S,f+2,_).times(i+""),y=nt(new S(n+"."+r.slice(1)),f-v).plus(l),S.precision=_,t==null?D(y,_,T,B=!0):y;for(p=y,c=s=y=Y(y.minus(1),y.plus(1),f,1),h=D(y.times(y),f,1),o=3;;){if(s=D(s.times(h),f,1),l=c.plus(Y(s,new S(o),f,1)),ie(l.d).slice(0,f)===ie(c.d).slice(0,f))if(c=c.times(2),i!==0&&(c=c.plus(nn(S,f+2,_).times(i+""))),c=Y(c,new S(w),f,1),t==null)if(lr(c.d,f-v,T,a))S.precision=f+=v,l=s=y=Y(p.minus(1),p.plus(1),f,1),h=D(y.times(y),f,1),o=a=1;else return D(c,S.precision=_,T,B=!0);else return S.precision=_,c;c=l,o+=2}}u(nt,"naturalLogarithm");function _s(e){return String(e.s*e.s/0)}u(_s,"nonFiniteToString");function fo(e,t){var r,n,o;for((r=t.indexOf("."))>-1&&(t=t.replace(".","")),(n=t.search(/e/i))>0?(r<0&&(r=n),r+=+t.slice(n+1),t=t.substring(0,n)):r<0&&(r=t.length),n=0;t.charCodeAt(n)===48;n++);for(o=t.length;t.charCodeAt(o-1)===48;--o);if(t=t.slice(n,o),t){if(o-=n,e.e=r=r-n-1,e.d=[],n=(r+1)%j,r<0&&(n+=j),ne.constructor.maxE?(e.d=null,e.e=NaN):e.e-1){if(t=t.replace(/(\d)_(?=\d)/g,"$1"),As.test(t))return fo(e,t)}else if(t==="Infinity"||t==="NaN")return+t||(e.s=NaN),e.e=NaN,e.d=null,e;if(wl.test(t))r=16,t=t.toLowerCase();else if(bl.test(t))r=2;else if(vl.test(t))r=8;else throw Error(ot+t);for(i=t.search(/p/i),i>0?(c=+t.slice(i+1),t=t.substring(2,i)):t=t.slice(2),i=t.indexOf("."),s=i>=0,n=e.constructor,s&&(t=t.replace(".",""),a=t.length,i=a-i,o=Ps(n,new n(r),i,i*2)),l=en(t,r,Fe),f=l.length-1,i=f;l[i]===0;--i)l.pop();return i<0?new n(e.s*0):(e.e=sn(l,f),e.d=l,B=!1,s&&(e=Y(e,o,a*4)),c&&(e=e.times(Math.abs(c)<54?re(2,c):Qe.pow(2,c))),B=!0,e)}u(Tl,"parseOther");function Pl(e,t){var r,n=t.d.length;if(n<3)return t.isZero()?t:$t(e,2,t,t);r=1.4*Math.sqrt(n),r=r>16?16:r|0,t=t.times(1/an(5,r)),t=$t(e,2,t,t);for(var o,i=new e(5),s=new e(16),a=new e(20);r--;)o=t.times(t),t=t.times(i.plus(o.times(s.times(o).minus(a))));return t}u(Pl,"sine");function $t(e,t,r,n,o){var i,s,a,c,l=1,f=e.precision,p=Math.ceil(f/j);for(B=!1,c=r.times(r),a=new e(n);;){if(s=Y(a.times(c),new e(t++*t++),f,1),a=o?n.plus(s):n.minus(s),n=Y(s.times(c),new e(t++*t++),f,1),s=a.plus(n),s.d[p]!==void 0){for(i=p;s.d[i]===a.d[i]&&i--;);if(i==-1)break}i=a,a=n,n=s,s=i,l++}return B=!0,s.d.length=p+1,s}u($t,"taylorSeries");function an(e,t){for(var r=e;--t;)r*=e;return r}u(an,"tinyPow");function Ms(e,t){var r,n=t.s<0,o=Ce(e,e.precision,1),i=o.times(.5);if(t=t.abs(),t.lte(i))return He=n?4:1,t;if(r=t.divToInt(o),r.isZero())He=n?3:2;else{if(t=t.minus(r.times(o)),t.lte(i))return He=hs(r)?n?2:3:n?4:1,t;He=hs(r)?n?1:4:n?3:2}return t.minus(o).abs()}u(Ms,"toLessThanHalfPi");function po(e,t,r,n){var o,i,s,a,c,l,f,p,h,w=e.constructor,v=r!==void 0;if(v?(ve(r,1,it),n===void 0?n=w.rounding:ve(n,0,8)):(r=w.precision,n=w.rounding),!e.isFinite())f=_s(e);else{for(f=qe(e),s=f.indexOf("."),v?(o=2,t==16?r=r*4-3:t==8&&(r=r*3-2)):o=t,s>=0&&(f=f.replace(".",""),h=new w(1),h.e=f.length-s,h.d=en(qe(h),10,o),h.e=h.d.length),p=en(f,10,o),i=c=p.length;p[--c]==0;)p.pop();if(!p[0])f=v?"0p+0":"0";else{if(s<0?i--:(e=new w(e),e.d=p,e.e=i,e=Y(e,h,r,n,0,o),p=e.d,i=e.e,l=ws),s=p[r],a=o/2,l=l||p[r+1]!==void 0,l=n<4?(s!==void 0||l)&&(n===0||n===(e.s<0?3:2)):s>a||s===a&&(n===4||l||n===6&&p[r-1]&1||n===(e.s<0?8:7)),p.length=r,l)for(;++p[--r]>o-1;)p[r]=0,r||(++i,p.unshift(1));for(c=p.length;!p[c-1];--c);for(s=0,f="";s1)if(t==16||t==8){for(s=t==16?4:3,--c;c%s;c++)f+="0";for(p=en(f,o,t),c=p.length;!p[c-1];--c);for(s=1,f="1.";sc)for(i-=c;i--;)f+="0";else it)return e.length=t,!0}u(ys,"truncate");function Sl(e){return new this(e).abs()}u(Sl,"abs");function _l(e){return new this(e).acos()}u(_l,"acos");function Ml(e){return new this(e).acosh()}u(Ml,"acosh");function Ol(e,t){return new this(e).plus(t)}u(Ol,"add");function Il(e){return new this(e).asin()}u(Il,"asin");function Cl(e){return new this(e).asinh()}u(Cl,"asinh");function Fl(e){return new this(e).atan()}u(Fl,"atan");function Rl(e){return new this(e).atanh()}u(Rl,"atanh");function kl(e,t){e=new this(e),t=new this(t);var r,n=this.precision,o=this.rounding,i=n+4;return!e.s||!t.s?r=new this(NaN):!e.d&&!t.d?(r=Ce(this,i,1).times(t.s>0?.25:.75),r.s=e.s):!t.d||e.isZero()?(r=t.s<0?Ce(this,n,o):new this(0),r.s=e.s):!e.d||t.isZero()?(r=Ce(this,i,1).times(.5),r.s=e.s):t.s<0?(this.precision=i,this.rounding=1,r=this.atan(Y(e,t,i,1)),t=Ce(this,i,1),this.precision=n,this.rounding=o,r=e.s<0?r.minus(t):r.plus(t)):r=this.atan(Y(e,t,i,1)),r}u(kl,"atan2");function Nl(e){return new this(e).cbrt()}u(Nl,"cbrt");function Dl(e){return D(e=new this(e),e.e+1,2)}u(Dl,"ceil");function jl(e,t,r){return new this(e).clamp(t,r)}u(jl,"clamp");function $l(e){if(!e||typeof e!="object")throw Error(on+"Object expected");var t,r,n,o=e.defaults===!0,i=["precision",1,it,"rounding",0,8,"toExpNeg",-jt,0,"toExpPos",0,jt,"maxE",0,jt,"minE",-jt,0,"modulo",0,9];for(t=0;t=i[t+1]&&n<=i[t+2])this[r]=n;else throw Error(ot+r+": "+n);if(r="crypto",o&&(this[r]=uo[r]),(n=e[r])!==void 0)if(n===!0||n===!1||n===0||n===1)if(n)if(typeof crypto!="undefined"&&crypto&&(crypto.getRandomValues||crypto.randomBytes))this[r]=!0;else throw Error(Es);else this[r]=!1;else throw Error(ot+r+": "+n);return this}u($l,"config");function Bl(e){return new this(e).cos()}u(Bl,"cos");function Ll(e){return new this(e).cosh()}u(Ll,"cosh");function Os(e){var t,r,n;function o(i){var s,a,c,l=this;if(!(l instanceof o))return new o(i);if(l.constructor=o,bs(i)){l.s=i.s,B?!i.d||i.e>o.maxE?(l.e=NaN,l.d=null):i.e=10;a/=10)s++;B?s>o.maxE?(l.e=NaN,l.d=null):s=429e7?t[i]=crypto.getRandomValues(new Uint32Array(1))[0]:a[i++]=o%1e7;else if(crypto.randomBytes){for(t=crypto.randomBytes(n*=4);i=214e7?crypto.randomBytes(4).copy(t,i):(a.push(o%1e7),i+=4);i=n/4}else throw Error(Es);else for(;i=10;o/=10)n++;n{let r={};for(let n of e){let o=n[t];r[o]=n}return r},"keyBy"),Bt={String:!0,Int:!0,Float:!0,Boolean:!0,Long:!0,DateTime:!0,ID:!0,UUID:!0,Json:!0,Bytes:!0,Decimal:!0,BigInt:!0};var pf={string:"String",boolean:"Boolean",object:"Json"};function Lt(e){return typeof e=="string"?e:e.name}u(Lt,"stringifyGraphQLType");function pr(e,t){return t?`List<${e}>`:e}u(pr,"wrapWithList");var gf=/^(\d{4}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):([0-5][0-9]):([0-5][0-9]|60))(\.\d{1,})?(([Z])|([+|-]([01][0-9]|2[0-3]):[0-5][0-9]))$/,df=/^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/i;function qt(e,t){if(e===null)return"null";if(Object.prototype.toString.call(e)==="[object BigInt]")return"BigInt";if(Re.isDecimal(e)||t==="Decimal"&&un(e))return"Decimal";if(E.Buffer.isBuffer(e))return"Bytes";if(Array.isArray(e)){let n=e.reduce((o,i)=>{let s=qt(i,t);return o.includes(s)||o.push(s),o},[]);return n.includes("Float")&&n.includes("Int")&&(n=["Float"]),`List<${n.join(" | ")}>`}let r=typeof e;if(r==="number")return Math.trunc(e)===e?"Int":"Float";if(Object.prototype.toString.call(e)==="[object Date]")return"DateTime";if(r==="string"){if(df.test(e))return"UUID";let n=new Date(e);if(t&&typeof t=="object"&&t.values&&t.values.includes(e))return t.name;if(n.toString()==="Invalid Date")return"String";if(gf.test(e))return"DateTime"}return pf[r]}u(qt,"getGraphQLType");function cn(e,t){return t.reduce((n,o)=>{let i=(0,Rs.default)(e,o);return in.length*3)),str:null}).str}u(cn,"getSuggestion");function Ut(e,t=!1){if(typeof e=="string")return e;if(e.values)return`enum ${e.name} { -${(0,ho.default)(e.values.join(", "),2)} -}`;{let r=(0,ho.default)(e.fields.map(n=>{let o=`${n.name}`,i=`${t?st.default.green(o):o}${n.isRequired?"":"?"}: ${st.default.white(n.inputTypes.map(s=>pr(mf(s.type)?s.type.name:Lt(s.type),s.isList)).join(" | "))}`;return n.isRequired?i:st.default.dim(i)}).join(` -`),2);return`${st.default.dim("type")} ${st.default.bold.dim(e.name)} ${st.default.dim("{")} -${r} -${st.default.dim("}")}`}}u(Ut,"stringifyInputType");function mf(e){return typeof e!="string"}u(mf,"argIsInputType");function fr(e){return typeof e=="string"?e==="Null"?"null":e:e.name}u(fr,"getInputTypeName");function xt(e){return typeof e=="string"?e:e.name}u(xt,"getOutputTypeName");function yo(e,t,r=!1){if(typeof e=="string")return e==="Null"?"null":e;if(e.values)return e.values.join(" | ");let n=e,o=t&&n.fields.every(i=>{var s;return i.inputTypes[0].location==="inputObjectTypes"||((s=i.inputTypes[1])==null?void 0:s.location)==="inputObjectTypes"});return r?fr(e):n.fields.reduce((i,s)=>{let a="";return!o&&!s.isRequired?a=s.inputTypes.map(c=>fr(c.type)).join(" | "):a=s.inputTypes.map(c=>yo(c.type,s.isRequired,!0)).join(" | "),i[s.name+(s.isRequired?"":"?")]=a,i},{})}u(yo,"inputTypeToJson");function ks(e,t,r){let n={};for(let o of e)n[r(o)]=o;for(let o of t){let i=r(o);n[i]||(n[i]=o)}return Object.values(n)}u(ks,"unionBy");function Ns(e){return e.endsWith("GroupByOutputType")}u(Ns,"isGroupByOutputName");var At=class{constructor({datamodel:t,schema:r,mappings:n}){this.outputTypeToMergedOutputType=u(t=>({...t,fields:t.fields}),"outputTypeToMergedOutputType");this.datamodel=t,this.schema=r,this.mappings=n,this.enumMap=this.getEnumMap(),this.datamodelEnumMap=this.getDatamodelEnumMap(),this.queryType=this.getQueryType(),this.mutationType=this.getMutationType(),this.modelMap=this.getModelMap(),this.typeMap=this.getTypeMap(),this.typeAndModelMap=this.getTypeModelMap(),this.outputTypes=this.getOutputTypes(),this.outputTypeMap=this.getMergedOutputTypeMap(),this.resolveOutputTypes(),this.inputObjectTypes=this.schema.inputObjectTypes,this.inputTypeMap=this.getInputTypeMap(),this.resolveInputTypes(),this.resolveFieldArgumentTypes(),this.mappingsMap=this.getMappingsMap(),this.queryType=this.outputTypeMap.Query,this.mutationType=this.outputTypeMap.Mutation,this.rootFieldMap=this.getRootFieldMap()}get[Symbol.toStringTag](){return"DMMFClass"}resolveOutputTypes(){for(let t of this.outputTypes.model){for(let r of t.fields)typeof r.outputType.type=="string"&&!Bt[r.outputType.type]&&(r.outputType.type=this.outputTypeMap[r.outputType.type]||this.outputTypeMap[r.outputType.type]||this.enumMap[r.outputType.type]||r.outputType.type);t.fieldMap=le(t.fields,"name")}for(let t of this.outputTypes.prisma){for(let r of t.fields)typeof r.outputType.type=="string"&&!Bt[r.outputType.type]&&(r.outputType.type=this.outputTypeMap[r.outputType.type]||this.outputTypeMap[r.outputType.type]||this.enumMap[r.outputType.type]||r.outputType.type);t.fieldMap=le(t.fields,"name")}}resolveInputTypes(){let t=this.inputObjectTypes.prisma;this.inputObjectTypes.model&&t.push(...this.inputObjectTypes.model);for(let r of t){for(let n of r.fields)for(let o of n.inputTypes){let i=o.type;typeof i=="string"&&!Bt[i]&&(this.inputTypeMap[i]||this.enumMap[i])&&(o.type=this.inputTypeMap[i]||this.enumMap[i]||i)}r.fieldMap=le(r.fields,"name")}}resolveFieldArgumentTypes(){for(let t of this.outputTypes.prisma)for(let r of t.fields)for(let n of r.args)for(let o of n.inputTypes){let i=o.type;typeof i=="string"&&!Bt[i]&&(o.type=this.inputTypeMap[i]||this.enumMap[i]||i)}for(let t of this.outputTypes.model)for(let r of t.fields)for(let n of r.args)for(let o of n.inputTypes){let i=o.type;typeof i=="string"&&!Bt[i]&&(o.type=this.inputTypeMap[i]||this.enumMap[i]||o.type)}}getQueryType(){return this.schema.outputObjectTypes.prisma.find(t=>t.name==="Query")}getMutationType(){return this.schema.outputObjectTypes.prisma.find(t=>t.name==="Mutation")}getOutputTypes(){return{model:this.schema.outputObjectTypes.model.map(this.outputTypeToMergedOutputType),prisma:this.schema.outputObjectTypes.prisma.map(this.outputTypeToMergedOutputType)}}getDatamodelEnumMap(){return le(this.datamodel.enums,"name")}getEnumMap(){return{...le(this.schema.enumTypes.prisma,"name"),...this.schema.enumTypes.model?le(this.schema.enumTypes.model,"name"):void 0}}getModelMap(){return{...le(this.datamodel.models,"name")}}getTypeMap(){return{...le(this.datamodel.types,"name")}}getTypeModelMap(){return{...this.getTypeMap(),...this.getModelMap()}}getMergedOutputTypeMap(){return{...le(this.outputTypes.model,"name"),...le(this.outputTypes.prisma,"name")}}getInputTypeMap(){return{...this.schema.inputObjectTypes.model?le(this.schema.inputObjectTypes.model,"name"):void 0,...le(this.schema.inputObjectTypes.prisma,"name")}}getMappingsMap(){return le(this.mappings.modelOperations,"model")}getRootFieldMap(){return{...le(this.queryType.fields,"name"),...le(this.mutationType.fields,"name")}}};u(At,"DMMFHelper");m();g();d();m();g();d();var gr;(t=>{let e;(S=>(S.findUnique="findUnique",S.findFirst="findFirst",S.findMany="findMany",S.create="create",S.createMany="createMany",S.update="update",S.updateMany="updateMany",S.upsert="upsert",S.delete="delete",S.deleteMany="deleteMany",S.groupBy="groupBy",S.count="count",S.aggregate="aggregate",S.findRaw="findRaw",S.aggregateRaw="aggregateRaw"))(e=t.ModelAction||(t.ModelAction={}))})(gr||(gr={}));m();g();d();An();m();g();d();m();g();d();var ct=class{};u(ct,"Engine");m();g();d();var ke=class extends Error{constructor(r,n,o){super(r);this.clientVersion=n,this.errorCode=o,Error.captureStackTrace(ke)}get[Symbol.toStringTag](){return"PrismaClientInitializationError"}};u(ke,"PrismaClientInitializationError");m();g();d();var Ve=class extends Error{constructor(r,n,o,i){super(r);this.code=n,this.clientVersion=o,this.meta=i}get[Symbol.toStringTag](){return"PrismaClientKnownRequestError"}};u(Ve,"PrismaClientKnownRequestError");m();g();d();var Ge=class extends Error{constructor(r,n){super(r);this.clientVersion=n}get[Symbol.toStringTag](){return"PrismaClientRustPanicError"}};u(Ge,"PrismaClientRustPanicError");m();g();d();var Ne=class extends Error{constructor(r,n){super(r);this.clientVersion=n}get[Symbol.toStringTag](){return"PrismaClientUnknownRequestError"}};u(Ne,"PrismaClientUnknownRequestError");m();g();d();function ca(e,t){return e.user_facing_error.error_code?new Ve(e.user_facing_error.message,e.user_facing_error.error_code,t,e.user_facing_error.meta):new Ne(e.error,t)}u(ca,"prismaGraphQLToJSError");m();g();d();var da=Z(ra());m();g();d();m();g();d();var yr=class extends Error{constructor(r,n){super(r);this.clientVersion=n.clientVersion,this.cause=n.cause}get[Symbol.toStringTag](){return this.name}};u(yr,"PrismaClientError");var me=class extends yr{constructor(r,n){var o;super(r,n);this.isRetryable=(o=n.isRetryable)!=null?o:!0}};u(me,"DataProxyError");m();g();d();m();g();d();function X(e,t){return{...e,isRetryable:t}}u(X,"setRetryable");var Ht=class extends me{constructor(r){super("This request must be retried",X(r,!0));this.name="ForcedRetryError";this.code="P5001"}};u(Ht,"ForcedRetryError");m();g();d();var _t=class extends me{constructor(r,n){super(r,X(n,!1));this.name="InvalidDatasourceError";this.code="P5002"}};u(_t,"InvalidDatasourceError");m();g();d();var Ke=class extends me{constructor(r,n){super(r,X(n,!1));this.name="NotImplementedYetError";this.code="P5004"}};u(Ke,"NotImplementedYetError");m();g();d();m();g();d();var ae=class extends me{constructor(r,n){super(r,n);this.response=n.response}};u(ae,"DataProxyAPIError");var Mt=class extends ae{constructor(r){super("Schema needs to be uploaded",X(r,!0));this.name="SchemaMissingError";this.code="P5005"}};u(Mt,"SchemaMissingError");m();g();d();m();g();d();var bp="This request could not be understood by the server",Qt=class extends ae{constructor(r,n,o){super(n||bp,X(r,!1));this.name="BadRequestError";this.code="P5000";o&&(this.code=o)}};u(Qt,"BadRequestError");m();g();d();var br=class extends ae{constructor(r){super("Request timed out",X(r,!1));this.name="GatewayTimeoutError";this.code="P5009"}};u(br,"GatewayTimeoutError");m();g();d();var Kt=class extends ae{constructor(r){super("Requested resource does not exist",X(r,!1));this.name="NotFoundError";this.code="P5003"}};u(Kt,"NotFoundError");m();g();d();var wp="Unknown server error",lt=class extends ae{constructor(r,n,o){super(n||wp,X(r,!0));this.name="ServerError";this.code="P5006";this.logs=o}};u(lt,"ServerError");m();g();d();var wr=class extends ae{constructor(r){super("Unauthorized, check your connection string",X(r,!1));this.name="UnauthorizedError";this.code="P5007"}};u(wr,"UnauthorizedError");m();g();d();var vr=class extends ae{constructor(r){super("Usage exceeded, retry again later",X(r,!0));this.name="UsageExceededError";this.code="P5008"}};u(vr,"UsageExceededError");async function No(e,t){var n,o,i,s,a;if(e.ok)return;let r={clientVersion:t,response:e};if(e.status===400){let c;try{let l=await e.json();c=(o=(n=l==null?void 0:l.EngineNotStarted)==null?void 0:n.reason)==null?void 0:o.KnownEngineStartupError}catch(l){}if(c)throw new Qt(r,c.msg,c.error_code)}if(e.status===401)throw new wr(r);if(e.status===404)try{let c=await e.json();return((i=c==null?void 0:c.EngineNotStarted)==null?void 0:i.reason)==="SchemaMissing"?new Mt(r):new Kt(r)}catch(c){return new Kt(r)}if(e.status===429)throw new vr(r);if(e.status===504)throw new br(r);if(e.status>=500){let c;try{c=await e.json()}catch(l){throw new lt(r)}if(typeof((s=c==null?void 0:c.EngineNotStarted)==null?void 0:s.reason)=="string")throw new lt(r,c.EngineNotStarted.reason);if(typeof((a=c==null?void 0:c.EngineNotStarted)==null?void 0:a.reason)=="object"){let l=Object.keys(c.EngineNotStarted.reason);if(l.length>0){let p=c.EngineNotStarted.reason[l[0]];throw new lt(r,l[0],p.logs)}}throw new lt(r)}if(e.status>=400)throw new Qt(r)}u(No,"responseToError");m();g();d();function la(e){let t=Math.pow(2,e)*50,r=Math.ceil(Math.random()*t)-Math.ceil(t/2),n=t+r;return new Promise(o=>setTimeout(()=>o(n),n))}u(la,"backOff");m();g();d();An();var fa="3.15.1-1.461d6a05159055555eb7dfb337c9fb271cbd4d7e";m();g();d();m();g();d();var Er=class extends me{constructor(r,n){super(`Cannot fetch data from service: -${r}`,X(n,!0));this.name="RequestError";this.code="P5010"}};u(Er,"RequestError");m();g();d();function pa(){return typeof self=="undefined"?"node":"browser"}u(pa,"getJSRuntimeName");async function xr(e,t){var o;let r=t.clientVersion,n=pa();try{return n==="browser"?await fetch(e,t):await Tp(e,t)}catch(i){let s=(o=i.message)!=null?o:"Unknown error";throw new Er(s,{clientVersion:r})}}u(xr,"request");function Ep(e){return{...e.headers,"Content-Type":"application/json"}}u(Ep,"buildHeaders");function xp(e){return{method:e.method,headers:Ep(e)}}u(xp,"buildOptions");function Ap(e,t){return{json:()=>JSON.parse(E.Buffer.concat(e).toString()),ok:t.statusCode>=200&&t.statusCode<300,status:t.statusCode,url:t.url}}u(Ap,"buildResponse");async function Tp(e,t={}){let r=Pp("https"),n=xp(t),o=[];return new Promise((i,s)=>{var c;let a=r.request(e,n,l=>{l.on("data",f=>o.push(f)),l.on("end",()=>i(Ap(o,l))),l.on("error",s)});a.on("error",s),a.write((c=t.body)!=null?c:""),a.end()})}u(Tp,"nodeFetch");var Pp=typeof require!="undefined"?require:()=>{};var Sp=/^[1-9][0-9]*\.[0-9]+\.[0-9]+$/,_p="https://registry.npmjs.org/prisma",Mp=ut("prisma:client:dataproxyEngine");async function Op(e){var o,i,s,a;let t=(o=e.clientVersion)!=null?o:"unknown";if(b.env.PRISMA_CLIENT_DATA_PROXY_CLIENT_VERSION)return b.env.PRISMA_CLIENT_DATA_PROXY_CLIENT_VERSION;let[r,n]=(i=t==null?void 0:t.split("-"))!=null?i:[];if(n===void 0&&Sp.test(r))return r;if(n==="integration"||(n==null?void 0:n.startsWith("dev"))||t==="0.0.0"){let[c]=(s=fa.split("-"))!=null?s:[],[l,f,p]=c.split(".");if(p!=="0")return`${l}.${f}.${p}`;let h=`${l}.${parseInt(f)-1}.x`;return(a=(await(await xr(`${_p}/${h}`,{clientVersion:t})).json()).version)!=null?a:"undefined"}throw new Ke("Only `major.minor.patch` versions are supported by Prisma Data Proxy.",{clientVersion:t})}u(Op,"_getClientVersion");async function ga(e){let t=await Op(e);return Mp("version",t),t}u(ga,"getClientVersion");var Ip=10,Cp=Promise.resolve(),Yt=class extends ct{constructor(r){var i,s,a,c;super();this.config=r,this.env={...this.config.env,...b.env},this.inlineSchema=(i=r.inlineSchema)!=null?i:"",this.inlineDatasources=(s=r.inlineDatasources)!=null?s:{},this.inlineSchemaHash=(a=r.inlineSchemaHash)!=null?a:"",this.clientVersion=(c=r.clientVersion)!=null?c:"unknown",this.logEmitter=new da.default,this.logEmitter.on("error",()=>{});let[n,o]=this.extractHostAndApiKey();this.remoteClientVersion=Cp.then(()=>ga(this.config)),this.headers={Authorization:`Bearer ${o}`},this.host=n}version(){return"unknown"}async start(){}async stop(){}on(r,n){if(r==="beforeExit")throw new Ke("beforeExit event is not yet supported",{clientVersion:this.clientVersion});this.logEmitter.on(r,n)}async url(r){return`https://${this.host}/${await this.remoteClientVersion}/${this.inlineSchemaHash}/${r}`}async getConfig(){return Promise.resolve({datasources:[{activeProvider:this.config.activeProvider}]})}async uploadSchema(){let r=await xr(await this.url("schema"),{method:"PUT",headers:this.headers,body:this.inlineSchema,clientVersion:this.clientVersion}),n=await No(r,this.clientVersion);if(n)throw this.logEmitter.emit("warn",{message:`Error while uploading schema: ${n.message}`}),n;this.logEmitter.emit("info",{message:`Schema (re)uploaded (hash: ${this.inlineSchemaHash})`})}request(r,n,o=0){return this.logEmitter.emit("query",{query:r}),this.requestInternal({query:r,variables:{}},n,o)}async requestBatch(r,n,o=!1,i=0){this.logEmitter.emit("query",{query:`Batch${o?" in transaction":""} (${r.length}): -${r.join(` -`)}`});let s={batch:r.map(c=>({query:c,variables:{}})),transaction:o},{batchResult:a}=await this.requestInternal(s,n,i);return a}async requestInternal(r,n,o){var i;try{this.logEmitter.emit("info",{message:`Calling ${await this.url("graphql")} (n=${o})`});let s=await xr(await this.url("graphql"),{method:"POST",headers:{...n,...this.headers},body:JSON.stringify(r),clientVersion:this.clientVersion}),a=await No(s,this.clientVersion);if(a instanceof Mt)throw await this.uploadSchema(),new Ht({clientVersion:this.clientVersion,cause:a});if(a)throw a;let c=await s.json();if(c.errors&&c.errors.length===1)throw ca(c.errors[0],this.config.clientVersion);return c}catch(s){if(this.logEmitter.emit("error",{message:`Error while querying: ${(i=s.message)!=null?i:"(unknown)"}`}),!(s instanceof me)||!s.isRetryable)throw s;if(o>=Ip)throw s instanceof Ht?s.cause:s;this.logEmitter.emit("warn",{message:"This request can be retried"});let a=await la(o);return this.logEmitter.emit("warn",{message:`Retrying after ${a}ms`}),this.requestInternal(r,n,o+1)}}transaction(){throw new Ke("Interactive transactions are not yet supported",{clientVersion:this.clientVersion})}extractHostAndApiKey(){let r=Object.keys(this.inlineDatasources)[0],n=this.inlineDatasources[r],o=n==null?void 0:n.url.value,i=n==null?void 0:n.url.fromEnvVar,s=this.env[i],a=o!=null?o:s,c;try{c=new URL(a!=null?a:"")}catch(w){throw new _t("Could not parse URL of the datasource",{clientVersion:this.clientVersion})}let{protocol:l,host:f,searchParams:p}=c;if(l!=="prisma:")throw new _t("Datasource URL must use prisma:// protocol when --data-proxy is used",{clientVersion:this.clientVersion});let h=p.get("api_key");if(h===null||h.length<1)throw new _t("No valid API key found in the datasource URL",{clientVersion:this.clientVersion});return[f,h]}metrics(r){throw new Ke("Metric are not yet supported for Data Proxy",{clientVersion:this.clientVersion})}};u(Yt,"DataProxyEngine");m();g();d();m();g();d();var ma="library";function Do(e){let t=Fp();return t||((e==null?void 0:e.config.engineType)==="library"?"library":(e==null?void 0:e.config.engineType)==="binary"?"binary":ma)}u(Do,"getClientEngineType");function Fp(){let e=b.env.PRISMA_CLIENT_ENGINE_TYPE;return e==="library"?"library":e==="binary"?"binary":void 0}u(Fp,"getEngineTypeFromEnvVar");m();g();d();var kp=Z(ya()),Np=Z($o());function Tr(e){return e instanceof Error}u(Tr,"isError");m();g();d();var Dp={transactionApi:"transaction",aggregateApi:"aggregations"};function Bo(e){return Array.isArray(e)&&e.length>0?e.map(t=>{var r;return(r=Dp[t])!=null?r:t}):[]}u(Bo,"mapPreviewFeatures");var Zt={};Jn(Zt,{error:()=>Lp,info:()=>Bp,log:()=>jp,query:()=>qp,should:()=>Ea,tags:()=>Sr,warn:()=>$p});m();g();d();var Pr=Z(Et()),Sr={error:Pr.default.red("prisma:error"),warn:Pr.default.yellow("prisma:warn"),info:Pr.default.cyan("prisma:info"),query:Pr.default.blue("prisma:query")},Ea={warn:!b.env.PRISMA_DISABLE_WARNINGS};function jp(...e){console.log(...e)}u(jp,"log");function $p(e,...t){Ea.warn&&console.warn(`${Sr.warn} ${e}`,...t)}u($p,"warn");function Bp(e,...t){console.info(`${Sr.info} ${e}`,...t)}u(Bp,"info");function Lp(e,...t){console.error(`${Sr.error} ${e}`,...t)}u(Lp,"error");function qp(e,...t){console.log(`${Sr.query} ${e}`,...t)}u(qp,"query");var xa=Z(ea());var ww=Z(Aa());Ro();var Vr=Z(ko()),nr=Z(Lo());m();g();d();m();g();d();m();g();d();m();g();d();m();g();d();m();g();d();m();g();d();m();g();d();m();g();d();m();g();d();m();g();d();m();g();d();var Sa=typeof globalThis=="object"?globalThis:global;m();g();d();var ft="1.1.0";m();g();d();var _a=/^(\d+)\.(\d+)\.(\d+)(-(.+))?$/;function Jp(e){var t=new Set([e]),r=new Set,n=e.match(_a);if(!n)return function(){return!1};var o={major:+n[1],minor:+n[2],patch:+n[3],prerelease:n[4]};if(o.prerelease!=null)return u(function(c){return c===e},"isExactmatch");function i(a){return r.add(a),!1}u(i,"_reject");function s(a){return t.add(a),!0}return u(s,"_accept"),u(function(c){if(t.has(c))return!0;if(r.has(c))return!1;var l=c.match(_a);if(!l)return i(c);var f={major:+l[1],minor:+l[2],patch:+l[3],prerelease:l[4]};return f.prerelease!=null||o.major!==f.major?i(c):o.major===0?o.minor===f.minor&&o.patch<=f.patch?s(c):i(c):o.minor<=f.minor?s(c):i(c)},"isCompatible")}u(Jp,"_makeCompatibilityCheck");var Ma=Jp(ft);var zp=ft.split(".")[0],_r=Symbol.for("opentelemetry.js.api."+zp),Mr=Sa;function pt(e,t,r,n){var o;n===void 0&&(n=!1);var i=Mr[_r]=(o=Mr[_r])!==null&&o!==void 0?o:{version:ft};if(!n&&i[e]){var s=new Error("@opentelemetry/api: Attempted duplicate registration of API: "+e);return r.error(s.stack||s.message),!1}if(i.version!==ft){var s=new Error("@opentelemetry/api: All API registration versions must match");return r.error(s.stack||s.message),!1}return i[e]=t,r.debug("@opentelemetry/api: Registered a global for "+e+" v"+ft+"."),!0}u(pt,"registerGlobal");function De(e){var t,r,n=(t=Mr[_r])===null||t===void 0?void 0:t.version;if(!(!n||!Ma(n)))return(r=Mr[_r])===null||r===void 0?void 0:r[e]}u(De,"getGlobal");function gt(e,t){t.debug("@opentelemetry/api: Unregistering a global for "+e+" v"+ft+".");var r=Mr[_r];r&&delete r[e]}u(gt,"unregisterGlobal");var Oa=function(){function e(t){this._namespace=t.namespace||"DiagComponentLogger"}return u(e,"DiagComponentLogger"),e.prototype.debug=function(){for(var t=[],r=0;rEe.ALL&&(e=Ee.ALL),t=t||{};function r(n,o){var i=t[n];return typeof i=="function"&&e>=o?i.bind(t):function(){}}return u(r,"_filterFunc"),{error:r("error",Ee.ERROR),warn:r("warn",Ee.WARN),info:r("info",Ee.INFO),debug:r("debug",Ee.DEBUG),verbose:r("verbose",Ee.VERBOSE)}}u(Ia,"createLogLevelDiagLogger");var Wp="diag",Te=function(){function e(){function t(n){return function(){for(var o=[],i=0;i";c.warn("Current logger will be overwritten from "+f),l.warn("Current logger will overwrite one already registered from "+f)}return pt("diag",l,r,!0)},r.disable=function(){gt(Wp,r)},r.createComponentLogger=function(n){return new Oa(n)},r.verbose=t("verbose"),r.debug=t("debug"),r.info=t("info"),r.warn=t("warn"),r.error=t("error")}return u(e,"DiagAPI"),e.instance=function(){return this._instance||(this._instance=new e),this._instance},e}();m();g();d();var Ca=function(){function e(t){this._entries=t?new Map(t):new Map}return u(e,"BaggageImpl"),e.prototype.getEntry=function(t){var r=this._entries.get(t);if(!!r)return Object.assign({},r)},e.prototype.getAllEntries=function(){return Array.from(this._entries.entries()).map(function(t){var r=t[0],n=t[1];return[r,n]})},e.prototype.setEntry=function(t,r){var n=new e(this._entries);return n._entries.set(t,r),n},e.prototype.removeEntry=function(t){var r=new e(this._entries);return r._entries.delete(t),r},e.prototype.removeEntries=function(){for(var t=[],r=0;rcg||(this._internalState=t.split(Ya).reverse().reduce(function(r,n){var o=n.trim(),i=o.indexOf(Za);if(i!==-1){var s=o.slice(0,i),a=o.slice(i+1,n.length);Ha(s)&&Qa(a)&&r.set(s,a)}return r},new Map),this._internalState.size>Ka&&(this._internalState=new Map(Array.from(this._internalState.entries()).reverse().slice(0,Ka))))},e.prototype._keys=function(){return Array.from(this._internalState.keys()).reverse()},e.prototype._clone=function(){var t=new e;return t._internalState=new Map(this._internalState),t},e}();m();g();d();m();g();d();m();g();d();m();g();d();m();g();d();var Ho="trace",Xa=function(){function e(){this._proxyTracerProvider=new zo,this.wrapSpanContext=qa,this.isSpanContextValid=Cr,this.deleteSpan=ja,this.getSpan=Jo,this.getSpanContext=Cn,this.setSpan=Ir,this.setSpanContext=$a}return u(e,"TraceAPI"),e.getInstance=function(){return this._instance||(this._instance=new e),this._instance},e.prototype.setGlobalTracerProvider=function(t){var r=pt(Ho,this._proxyTracerProvider,Te.instance());return r&&this._proxyTracerProvider.setDelegate(t),r},e.prototype.getTracerProvider=function(){return De(Ho)||this._proxyTracerProvider},e.prototype.getTracer=function(t,r){return this.getTracerProvider().getTracer(t,r)},e.prototype.disable=function(){gt(Ho,Te.instance()),this._proxyTracerProvider=new zo},e}();m();g();d();m();g();d();var eu=function(){function e(){}return u(e,"NoopTextMapPropagator"),e.prototype.inject=function(t,r){},e.prototype.extract=function(t,r){return t},e.prototype.fields=function(){return[]},e}();m();g();d();var Qo=Sn("OpenTelemetry Baggage Key");function tu(e){return e.getValue(Qo)||void 0}u(tu,"getBaggage");function ru(e,t){return e.setValue(Qo,t)}u(ru,"setBaggage");function nu(e){return e.deleteValue(Qo)}u(nu,"deleteBaggage");var Ko="propagation",fg=new eu,ou=function(){function e(){this.createBaggage=Fa,this.getBaggage=tu,this.setBaggage=ru,this.deleteBaggage=nu}return u(e,"PropagationAPI"),e.getInstance=function(){return this._instance||(this._instance=new e),this._instance},e.prototype.setGlobalPropagator=function(t){return pt(Ko,t,Te.instance())},e.prototype.inject=function(t,r,n){return n===void 0&&(n=ka),this._getGlobalPropagator().inject(t,r,n)},e.prototype.extract=function(t,r,n){return n===void 0&&(n=Ra),this._getGlobalPropagator().extract(t,r,n)},e.prototype.fields=function(){return this._getGlobalPropagator().fields()},e.prototype.disable=function(){gt(Ko,Te.instance())},e.prototype._getGlobalPropagator=function(){return De(Ko)||fg},e}();var Rn=_n.getInstance(),Fr=Xa.getInstance(),W0=ou.getInstance(),Q0=Te.instance();function mt(e){let t=Rn.active(),r,n=u((o,i)=>{try{return r!=null?r:r=e(o,i,t)}catch(s){return Promise.reject(s)}},"_callback");return{then(o,i,s){return n(s).then(o,i,s)},catch(o,i){return n(i).catch(o,i)},finally(o,i){return n(i).finally(o,i)},requestTransaction(o,i){let s=n(o,i);return s.requestTransaction?s.requestTransaction(o,i):s},[Symbol.toStringTag]:"PrismaPromise"}}u(mt,"createPrismaPromise");m();g();d();function Ye(e){if(e!=="minimal")return new Error().stack}u(Ye,"getCallSite");m();g();d();m();g();d();m();g();d();var iu={_avg:!0,_count:!0,_sum:!0,_min:!0,_max:!0};function Yo(e){let t=pg(e);return Object.entries(t).reduce((n,[o,i])=>(iu[o]!==void 0?n.select[o]={select:i}:n[o]=i,n),{select:{}})}u(Yo,"desugarUserArgs");function pg(e){return typeof e._count=="boolean"?{...e,_count:{_all:e._count}}:e}u(pg,"desugarCountInUserArgs");function gg(e){return t=>(typeof e._count=="boolean"&&(t._count=t._count._all),t)}u(gg,"createUnpacker");function Rr(e,t,r){let n=Yo(t!=null?t:{}),o=gg(t!=null?t:{});return r({action:"aggregate",unpacker:o})(n)}u(Rr,"aggregate");m();g();d();function su(e,t,r){let{select:n,...o}=t!=null?t:{};return typeof n=="object"?Rr(e,{...o,_count:n},i=>r({...i,action:"count",unpacker:s=>{var a;return(a=i.unpacker)==null?void 0:a.call(i,s)._count}})):Rr(e,{...o,_count:{_all:!0}},i=>r({...i,action:"count",unpacker:s=>{var a;return(a=i.unpacker)==null?void 0:a.call(i,s)._count._all}}))}u(su,"count");m();g();d();function dg(e){let t=Yo(e);if(Array.isArray(e.by))for(let r of e.by)typeof r=="string"&&(t.select[r]=!0);return t}u(dg,"desugarUserArgs");function mg(e){return t=>(typeof e._count=="boolean"&&t.forEach(r=>{r._count=r._count._all}),t)}u(mg,"createUnpacker");function au(e,t,r){let n=dg(t!=null?t:{}),o=mg(t!=null?t:{});return r({action:"groupBy",unpacker:o})(n)}u(au,"groupBy");function uu(e,t,r){if(t==="aggregate")return n=>Rr(e,n,r);if(t==="count")return n=>su(e,n,r);if(t==="groupBy")return n=>au(e,n,r)}u(uu,"applyAggregates");m();g();d();m();g();d();var cu=u(e=>Array.isArray(e)?e:e.split("."),"keys"),Zo=u((e,t)=>cu(t).reduce((r,n)=>r&&r[n],e),"deepGet"),kn=u((e,t,r)=>cu(t).reduceRight((n,o,i,s)=>Object.assign({},Zo(e,s.slice(0,i)),{[o]:n}),r),"deepSet");m();g();d();var hg={enumerable:!0,configurable:!0,writable:!0};function Xt(e){let t=new Set(e);return{getOwnPropertyDescriptor:()=>hg,has:(r,n)=>t.has(n),set:(r,n,o)=>t.add(n)&&Reflect.set(r,n,o),ownKeys:()=>[...t]}}u(Xt,"defaultProxyHandlers");function yg(e,t){return e===void 0||t===void 0?[]:[...t,"select",e]}u(yg,"getNextDataPath");function bg(e,t,r){return t===void 0?e!=null?e:{}:kn(t,r,e||!0)}u(bg,"getNextUserArgs");function Xo(e,t,r,n,o,i){let a=e._dmmf.modelMap[t].fields.reduce((c,l)=>({...c,[l.name]:l}),{});return c=>{let l=Ye(e._errorFormat),f=yg(n,o),p=bg(c,i,f),h=r({dataPath:f,callsite:l})(p),w=wg(e,t);return new Proxy(h,{get(v,y){if(!w.includes(y))return v[y];let S=[a[y].type,r,y],T=[f,p];return Xo(e,...S,...T)},...Xt([...w,...Object.getOwnPropertyNames(h)])})}}u(Xo,"applyFluent");function wg(e,t){return e._dmmf.modelMap[t].fields.filter(r=>r.kind==="object").map(r=>r.name)}u(wg,"getOwnKeys");m();g();d();function Nn(e){return e.replace(/^./,t=>t.toLowerCase())}u(Nn,"dmmfToJSModelName");var vg=["findUnique","findFirst","create","update","upsert","delete"],Eg=["aggregate","count","groupBy"];function ei(e,t){let r=Nn(t),n=lu(e,t),o={};return new Proxy(o,{get(i,s){if(s in i||typeof s=="symbol")return i[s];if(!xg(e,t,s))return;let a=u(c=>l=>{let f=Ye(e._errorFormat);return mt((p,h,w)=>{let v={args:l,dataPath:[]},y={action:s,model:t},A={clientMethod:`${r}.${s}`},_={...v,...y,...A,...{runInTransaction:!!p,transactionId:p,lock:h},...{callsite:f,otelCtx:w}};return e._request({..._,...c})})},"action");return vg.includes(s)?Xo(e,t,a):Eg.includes(s)?uu(e,s,a):a({})},...Xt(n)})}u(ei,"applyModel");function lu(e,t){return[...Object.keys(e._dmmf.mappingsMap[t]),"count"].filter(r=>!["model","plural"].includes(r))}u(lu,"getOwnKeys");function xg(e,t,r){return lu(e,t).includes(r)}u(xg,"isValidActionName");m();g();d();function fu(e){return e.replace(/^./,t=>t.toUpperCase())}u(fu,"jsToDMMFModelName");function pu(e){let t={},r=Ag(e);return new Proxy(e,{get(n,o){if(o in n||typeof o=="symbol")return n[o];let i=fu(o);if(t[i]!==void 0)return t[i];if(e._dmmf.modelMap[i]!==void 0)return t[i]=ei(e,i);if(e._dmmf.modelMap[o]!==void 0)return t[i]=ei(e,o)},...Xt(r)})}u(pu,"applyModels");function Ag(e){return[...Object.keys(e._dmmf.modelMap).map(Nn),...Object.keys(e)]}u(Ag,"getOwnKeys");m();g();d();function gu(e,t=()=>{}){let r,n=new Promise(o=>r=o);return{then(o){return--e===0&&r(t()),o==null?void 0:o(n)}}}u(gu,"getLockCountPromise");m();g();d();function du(e){return typeof e=="string"?e:e.reduce((t,r)=>{let n=typeof r=="string"?r:r.level;return n==="query"?t:t&&(r==="info"||t==="info")?"info":n},void 0)}u(du,"getLogLevel");m();g();d();function hu(e,t,r){let n=mu(e,r),o=mu(t,r),i=Object.values(o).map(a=>a[a.length-1]),s=Object.keys(o);return Object.entries(n).forEach(([a,c])=>{s.includes(a)||i.push(c[c.length-1])}),i}u(hu,"mergeBy");var mu=u((e,t)=>e.reduce((r,n)=>{let o=t(n);return r[o]||(r[o]=[]),r[o].push(n),r},{}),"groupBy");m();g();d();var kr=class{constructor(){this._middlewares=[]}use(t){this._middlewares.push(t)}get(t){return this._middlewares[t]}has(t){return!!this._middlewares[t]}length(){return this._middlewares.length}};u(kr,"MiddlewareHandler");var Nr=class{constructor(){this.query=new kr;this.engine=new kr}};u(Nr,"Middlewares");m();g();d();var k=Z(Et());var yt=Z(go()),ai=Z(Pn());m();g();d();function bu(e){return e instanceof E.Buffer||e instanceof Date||e instanceof RegExp}u(bu,"isSpecificValue");function wu(e){if(e instanceof E.Buffer){let t=E.Buffer.alloc?E.Buffer.alloc(e.length):new E.Buffer(e.length);return e.copy(t),t}else{if(e instanceof Date)return new Date(e.getTime());if(e instanceof RegExp)return new RegExp(e);throw new Error("Unexpected situation")}}u(wu,"cloneSpecificValue");function vu(e){let t=[];return e.forEach(function(r,n){typeof r=="object"&&r!==null?Array.isArray(r)?t[n]=vu(r):bu(r)?t[n]=wu(r):t[n]=Dr({},r):t[n]=r}),t}u(vu,"deepCloneArray");function yu(e,t){return t==="__proto__"?void 0:e[t]}u(yu,"safeGetProperty");var Dr=u(function(e,...t){if(!e||typeof e!="object")return!1;if(t.length===0)return e;let r,n;for(let o of t)if(!(typeof o!="object"||o===null||Array.isArray(o))){for(let i of Object.keys(o))if(n=yu(e,i),r=yu(o,i),r!==e)if(typeof r!="object"||r===null){e[i]=r;continue}else if(Array.isArray(r)){e[i]=vu(r);continue}else if(bu(r)){e[i]=wu(r);continue}else if(typeof n!="object"||n===null||Array.isArray(n)){e[i]=Dr({},r);continue}else{e[i]=Dr(n,r);continue}}return e},"deepExtend");m();g();d();function Eu(e,t){if(!e||typeof e!="object"||typeof e.hasOwnProperty!="function")return e;let r={};for(let n in e){let o=e[n];Object.hasOwnProperty.call(e,n)&&t(n,o)&&(r[n]=o)}return r}u(Eu,"filterObject");m();g();d();function Tg(e){return Array.prototype.concat.apply([],e)}u(Tg,"flatten");function ti(e,t,r){return Tg(e.map(t,r))}u(ti,"flatMap");m();g();d();var Pg={"[object Date]":!0,"[object Uint8Array]":!0,"[object Decimal]":!0};function xu(e){return e?typeof e=="object"&&!Pg[Object.prototype.toString.call(e)]:!1}u(xu,"isObject");m();g();d();function Au(e,t){let r={},n=Array.isArray(t)?t:[t];for(let o in e)Object.hasOwnProperty.call(e,o)&&!n.includes(o)&&(r[o]=e[o]);return r}u(Au,"omit");m();g();d();var Pe=Z(Et()),oi=Z(Pn());m();g();d();var Sg=Pu(),_g=_u(),Mg=Mu().default,Og=u((e,t,r)=>{let n=[];return u(function o(i,s={},a="",c=[]){s.indent=s.indent||" ";let l;s.inlineCharacterLimit===void 0?l={newLine:` -`,newLineOrSpace:` -`,pad:a,indent:a+s.indent}:l={newLine:"@@__STRINGIFY_OBJECT_NEW_LINE__@@",newLineOrSpace:"@@__STRINGIFY_OBJECT_NEW_LINE_OR_SPACE__@@",pad:"@@__STRINGIFY_OBJECT_PAD__@@",indent:"@@__STRINGIFY_OBJECT_INDENT__@@"};let f=u(p=>{if(s.inlineCharacterLimit===void 0)return p;let h=p.replace(new RegExp(l.newLine,"g"),"").replace(new RegExp(l.newLineOrSpace,"g")," ").replace(new RegExp(l.pad+"|"+l.indent,"g"),"");return h.length<=s.inlineCharacterLimit?h:p.replace(new RegExp(l.newLine+"|"+l.newLineOrSpace,"g"),` -`).replace(new RegExp(l.pad,"g"),a).replace(new RegExp(l.indent,"g"),a+s.indent)},"expandWhiteSpace");if(n.indexOf(i)!==-1)return'"[Circular]"';if(E.Buffer.isBuffer(i))return`Buffer(${E.Buffer.length})`;if(i==null||typeof i=="number"||typeof i=="boolean"||typeof i=="function"||typeof i=="symbol"||Sg(i))return String(i);if(i instanceof Date)return`new Date('${i.toISOString()}')`;if(Array.isArray(i)){if(i.length===0)return"[]";n.push(i);let p="["+l.newLine+i.map((h,w)=>{let v=i.length-1===w?l.newLine:","+l.newLineOrSpace,y=o(h,s,a+s.indent,[...c,w]);return s.transformValue&&(y=s.transformValue(i,w,y)),l.indent+y+v}).join("")+l.pad+"]";return n.pop(),f(p)}if(_g(i)){let p=Object.keys(i).concat(Mg(i));if(s.filter&&(p=p.filter(w=>s.filter(i,w))),p.length===0)return"{}";n.push(i);let h="{"+l.newLine+p.map((w,v)=>{let y=p.length-1===v?l.newLine:","+l.newLineOrSpace,A=typeof w=="symbol",S=!A&&/^[a-z$_][a-z$_0-9]*$/i.test(w),T=A||S?w:o(w,s,void 0,[...c,w]),_=o(i[w],s,a+s.indent,[...c,w]);s.transformValue&&(_=s.transformValue(i,w,_));let P=l.indent+String(T)+": "+_+y;return s.transformLine&&(P=s.transformLine({obj:i,indent:l.indent,key:T,stringifiedValue:_,value:i[w],eol:y,originalLine:P,path:c.concat(T)})),P}).join("")+l.pad+"}";return n.pop(),f(h)}return i=String(i).replace(/[\r\n]/g,p=>p===` -`?"\\n":"\\r"),s.singleQuotes===!1?(i=i.replace(/"/g,'\\"'),`"${i}"`):(i=i.replace(/\\?'/g,"\\'"),`'${i}'`)},"stringifyObject")(e,t,r)},"stringifyObject"),jr=Og;var ni="@@__DIM_POINTER__@@";function Dn({ast:e,keyPaths:t,valuePaths:r,missingItems:n}){let o=e;for(let{path:i,type:s}of n)o=kn(o,i,s);return jr(o,{indent:" ",transformLine:({indent:i,key:s,value:a,stringifiedValue:c,eol:l,path:f})=>{let p=f.join("."),h=t.includes(p),w=r.includes(p),v=n.find(A=>A.path===p),y=c;if(v){typeof a=="string"&&(y=y.slice(1,y.length-1));let A=v.isRequired?"":"?",S=v.isRequired?"+":"?",_=(v.isRequired?Pe.default.greenBright:Pe.default.green)(Fg(s+A+": "+y+l,i,S));return v.isRequired||(_=Pe.default.dim(_)),_}else{let A=n.some(P=>p.startsWith(P.path)),S=s[s.length-2]==="?";S&&(s=s.slice(1,s.length-1)),S&&typeof a=="object"&&a!==null&&(y=y.split(` -`).map((P,O,F)=>O===F.length-1?P+ni:P).join(` -`)),A&&typeof a=="string"&&(y=y.slice(1,y.length-1),S||(y=Pe.default.bold(y))),(typeof a!="object"||a===null)&&!w&&!A&&(y=Pe.default.dim(y));let T=h?Pe.default.redBright(s):s;y=w?Pe.default.redBright(y):y;let _=i+T+": "+y+(A?l:Pe.default.dim(l));if(h||w){let P=_.split(` -`),O=String(s).length,F=h?Pe.default.redBright("~".repeat(O)):" ".repeat(O),R=w?Ig(i,s,a,c):0,$=Boolean(w&&typeof a=="object"&&a!==null),Q=w?" "+Pe.default.redBright("~".repeat(R)):"";F&&F.length>0&&!$&&P.splice(1,0,i+F+Q),F&&F.length>0&&$&&P.splice(P.length-1,0,i.slice(0,i.length-2)+Q),_=P.join(` -`)}return _}}})}u(Dn,"printJsonWithErrors");function Ig(e,t,r,n){return r===null?4:typeof r=="string"?r.length+2:typeof r=="object"?Math.abs(Cg(`${t}: ${(0,oi.default)(n)}`)-e.length):String(r).length}u(Ig,"getValueLength");function Cg(e){return e.split(` -`).reduce((t,r)=>r.length>t?r.length:t,0)}u(Cg,"getLongestLine");function Fg(e,t,r){return e.split(` -`).map((n,o,i)=>o===0?r+t.slice(1)+n:o(0,oi.default)(n).includes(ni)?Pe.default.dim(n.replace(ni,"")):n.includes("?")?Pe.default.dim(n):n).join(` -`)}u(Fg,"prefixLines");m();g();d();var Se=Z(Et());m();g();d();var $r="";function Ou(e){var t=e.split(` -`);return t.reduce(function(r,n){var o=Ng(n)||jg(n)||Lg(n)||Gg(n)||Ug(n);return o&&r.push(o),r},[])}u(Ou,"parse");var Rg=/^\s*at (.*?) ?\(((?:file|https?|blob|chrome-extension|native|eval|webpack||\/|[a-z]:\\|\\\\).*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,kg=/\((\S*)(?::(\d+))(?::(\d+))\)/;function Ng(e){var t=Rg.exec(e);if(!t)return null;var r=t[2]&&t[2].indexOf("native")===0,n=t[2]&&t[2].indexOf("eval")===0,o=kg.exec(t[2]);return n&&o!=null&&(t[2]=o[1],t[3]=o[2],t[4]=o[3]),{file:r?null:t[2],methodName:t[1]||$r,arguments:r?[t[2]]:[],lineNumber:t[3]?+t[3]:null,column:t[4]?+t[4]:null}}u(Ng,"parseChrome");var Dg=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i;function jg(e){var t=Dg.exec(e);return t?{file:t[2],methodName:t[1]||$r,arguments:[],lineNumber:+t[3],column:t[4]?+t[4]:null}:null}u(jg,"parseWinjs");var $g=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)((?:file|https?|blob|chrome|webpack|resource|\[native).*?|[^@]*bundle)(?::(\d+))?(?::(\d+))?\s*$/i,Bg=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i;function Lg(e){var t=$g.exec(e);if(!t)return null;var r=t[3]&&t[3].indexOf(" > eval")>-1,n=Bg.exec(t[3]);return r&&n!=null&&(t[3]=n[1],t[4]=n[2],t[5]=null),{file:t[3],methodName:t[1]||$r,arguments:t[2]?t[2].split(","):[],lineNumber:t[4]?+t[4]:null,column:t[5]?+t[5]:null}}u(Lg,"parseGecko");var qg=/^\s*(?:([^@]*)(?:\((.*?)\))?@)?(\S.*?):(\d+)(?::(\d+))?\s*$/i;function Ug(e){var t=qg.exec(e);return t?{file:t[3],methodName:t[1]||$r,arguments:[],lineNumber:+t[4],column:t[5]?+t[5]:null}:null}u(Ug,"parseJSC");var Vg=/^\s*at (?:((?:\[object object\])?[^\\/]+(?: \[as \S+\])?) )?\(?(.*?):(\d+)(?::(\d+))?\)?\s*$/i;function Gg(e){var t=Vg.exec(e);return t?{file:t[2],methodName:t[1]||$r,arguments:[],lineNumber:+t[3],column:t[4]?+t[4]:null}:null}u(Gg,"parseNode");m();g();d();m();g();d();m();g();d();var ht=Z(Et()),zg=ht.default.rgb(246,145,95),Wg=ht.default.rgb(107,139,140),jn=ht.default.cyan,Iu=ht.default.rgb(127,155,155),Cu=u(e=>e,"identity"),Fu={keyword:jn,entity:jn,value:Iu,punctuation:Wg,directive:jn,function:jn,variable:Iu,string:ht.default.greenBright,boolean:zg,number:ht.default.cyan,comment:ht.default.grey};var $n={},Hg=0,q={manual:$n.Prism&&$n.Prism.manual,disableWorkerMessageHandler:$n.Prism&&$n.Prism.disableWorkerMessageHandler,util:{encode:function(e){if(e instanceof je){let t=e;return new je(t.type,q.util.encode(t.content),t.alias)}else return Array.isArray(e)?e.map(q.util.encode):e.replace(/&/g,"&").replace(/e.length)return;if(te instanceof je)continue;if(O&&$!=t.length-1){T.lastIndex=Q;var p=T.exec(e);if(!p)break;var f=p.index+(P?p[1].length:0),h=p.index+p[0].length,a=$,c=Q;for(let V=t.length;a=c&&(++$,Q=c);if(t[$]instanceof je)continue;l=a-$,te=e.slice(Q,c),p.index-=Q}else{T.lastIndex=0;var p=T.exec(te),l=1}if(!p){if(i)break;continue}P&&(F=p[1]?p[1].length:0);var f=p.index+F,p=p[0].slice(F),h=f+p.length,w=te.slice(0,f),v=te.slice(h);let U=[$,l];w&&(++$,Q+=w.length,U.push(w));let H=new je(y,_?q.tokenize(p,_):p,R,p,O);if(U.push(H),v&&U.push(v),Array.prototype.splice.apply(t,U),l!=1&&q.matchGrammar(e,t,r,$,Q,!0,y),i)break}}}},tokenize:function(e,t){let r=[e],n=t.rest;if(n){for(let o in n)t[o]=n[o];delete t.rest}return q.matchGrammar(e,r,t,0,0,!1),r},hooks:{all:{},add:function(e,t){let r=q.hooks.all;r[e]=r[e]||[],r[e].push(t)},run:function(e,t){let r=q.hooks.all[e];if(!(!r||!r.length))for(var n=0,o;o=r[n++];)o(t)}},Token:je};q.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/((?:\b(?:class|interface|extends|implements|trait|instanceof|new)\s+)|(?:catch\s+\())[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:if|else|while|do|for|return|in|instanceof|function|new|try|throw|catch|finally|null|break|continue)\b/,boolean:/\b(?:true|false)\b/,function:/\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+\.?\d*|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/--?|\+\+?|!=?=?|<=?|>=?|==?=?|&&?|\|\|?|\?|\*|\/|~|\^|%/,punctuation:/[{}[\];(),.:]/};q.languages.javascript=q.languages.extend("clike",{"class-name":[q.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])[_$A-Z\xA0-\uFFFF][$\w\xA0-\uFFFF]*(?=\.(?:prototype|constructor))/,lookbehind:!0}],keyword:[{pattern:/((?:^|})\s*)(?:catch|finally)\b/,lookbehind:!0},{pattern:/(^|[^.])\b(?:as|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],number:/\b(?:(?:0[xX](?:[\dA-Fa-f](?:_[\dA-Fa-f])?)+|0[bB](?:[01](?:_[01])?)+|0[oO](?:[0-7](?:_[0-7])?)+)n?|(?:\d(?:_\d)?)+n|NaN|Infinity)\b|(?:\b(?:\d(?:_\d)?)+\.?(?:\d(?:_\d)?)*|\B\.(?:\d(?:_\d)?)+)(?:[Ee][+-]?(?:\d(?:_\d)?)+)?/,function:/[_$a-zA-Z\xA0-\uFFFF][$\w\xA0-\uFFFF]*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,operator:/-[-=]?|\+[+=]?|!=?=?|<>?>?=?|=(?:==?|>)?|&[&=]?|\|[|=]?|\*\*?=?|\/=?|~|\^=?|%=?|\?|\.{3}/});q.languages.javascript["class-name"][0].pattern=/(\b(?:class|interface|extends|implements|instanceof|new)\s+)[\w.\\]+/;q.languages.insertBefore("javascript","keyword",{regex:{pattern:/((?:^|[^$\w\xA0-\uFFFF."'\])\s])\s*)\/(\[(?:[^\]\\\r\n]|\\.)*]|\\.|[^/\\\[\r\n])+\/[gimyus]{0,6}(?=\s*($|[\r\n,.;})\]]))/,lookbehind:!0,greedy:!0},"function-variable":{pattern:/[_$a-zA-Z\xA0-\uFFFF][$\w\xA0-\uFFFF]*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|[_$a-zA-Z\xA0-\uFFFF][$\w\xA0-\uFFFF]*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+[_$A-Za-z\xA0-\uFFFF][$\w\xA0-\uFFFF]*)?\s*\(\s*)(?!\s)(?:[^()]|\([^()]*\))+?(?=\s*\))/,lookbehind:!0,inside:q.languages.javascript},{pattern:/[_$a-z\xA0-\uFFFF][$\w\xA0-\uFFFF]*(?=\s*=>)/i,inside:q.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()]|\([^()]*\))+?(?=\s*\)\s*=>)/,lookbehind:!0,inside:q.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:[_$A-Za-z\xA0-\uFFFF][$\w\xA0-\uFFFF]*\s*)\(\s*)(?!\s)(?:[^()]|\([^()]*\))+?(?=\s*\)\s*\{)/,lookbehind:!0,inside:q.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/});q.languages.markup&&q.languages.markup.tag.addInlined("script","javascript");q.languages.js=q.languages.javascript;q.languages.typescript=q.languages.extend("javascript",{keyword:/\b(?:abstract|as|async|await|break|case|catch|class|const|constructor|continue|debugger|declare|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|is|keyof|let|module|namespace|new|null|of|package|private|protected|public|readonly|return|require|set|static|super|switch|this|throw|try|type|typeof|var|void|while|with|yield)\b/,builtin:/\b(?:string|Function|any|number|boolean|Array|symbol|console|Promise|unknown|never)\b/});q.languages.ts=q.languages.typescript;function je(e,t,r,n,o){this.type=e,this.content=t,this.alias=r,this.length=(n||"").length|0,this.greedy=!!o}u(je,"Token");je.stringify=function(e,t){return typeof e=="string"?e:Array.isArray(e)?e.map(function(r){return je.stringify(r,t)}).join(""):Qg(e.type)(e.content)};function Qg(e){return Fu[e]||Cu}u(Qg,"getColorForSyntaxKind");function Ru(e){return Kg(e,q.languages.javascript)}u(Ru,"highlightTS");function Kg(e,t){return q.tokenize(e,t).map(n=>je.stringify(n)).join("")}u(Kg,"highlight");m();g();d();var ku=Z($o());function Nu(e){return(0,ku.default)(e)}u(Nu,"dedent");function Yg(e,t){let r=String(t).length,n=String(e).length;return n>=r?String(e):" ".repeat(r-n)+e}u(Yg,"renderN");function Zg(e){let t=0;for(let r=0;rl.file&&l.file!==""&&!l.file.includes("@prisma")&&!l.file.includes("getPrismaClient")&&!l.file.startsWith("internal/")&&!l.methodName.includes("new ")&&!l.methodName.includes("getCallSite")&&!l.methodName.includes("Proxy.")&&l.methodName.split(".").length<4);if(b.env.NODE_ENV!=="production"&&c&&c.file&&c.lineNumber&&c.column){let l=c.lineNumber,f=t?ko().relative(b.cwd(),c.file):c.file,p=Math.max(0,l-4),h=(Ro(),xi(na));if(h.existsSync(c.file)){let y=h.readFileSync(c.file,"utf-8").split(` -`).slice(p,l).map(T=>T.endsWith("\r")?T.slice(0,-1):T).join(` -`),A=Nu(y).split(` -`),S=A[A.length-1];if(!S||S.trim()==="")s.callsiteStr=":";else{let _=/(\S+(create|createMany|updateMany|deleteMany|update|delete|findMany|findUnique)\()/.exec(S);if(!_)return s;s.functionName=`${_[1]})`,s.callsiteStr=` in -${Se.default.underline(`${f}:${c.lineNumber}:${c.column}`)}`;let P=S.indexOf("{"),O=A.map((R,$,Q)=>!n&&$===Q.length-1?R.slice(0,P>-1?P:R.length-1):R).join(` -`),F=o?Ru(O).split(` -`):O.split(` -`);s.prevLines=` -`+F.map((R,$)=>Se.default.grey(Yg($+p+1,l+p+1)+" ")+Se.default.reset()+R).map((R,$,Q)=>$===Q.length-1?`${Se.default.red.bold("\u2192")} ${Se.default.dim(R)}`:Se.default.dim(" "+R)).join(` -`),!_&&!i&&(s.prevLines+=` +`+i),e.push(o+"m+"+en.exports.humanize(this.diff)+"\x1B[0m")}else e[0]=Oc()+t+" "+e[0]}function Oc(){return ae.inspectOpts.hideDate?"":new Date().toISOString()+" "}function Fc(...e){return y.stderr.write(Xr.format(...e)+` +`)}function Ic(e){e?y.env.DEBUG=e:delete y.env.DEBUG}function kc(){return y.env.DEBUG}function Dc(e){e.inspectOpts={};let t=Object.keys(ae.inspectOpts);for(let r=0;rt.trim()).join(" ")};xs.O=function(e){return this.inspectOpts.colors=this.useColors,Xr.inspect(e,this.inspectOpts)}});var Eo=Z((_g,wo)=>{"use strict";d();p();f();typeof y=="undefined"||y.type==="renderer"||y.browser===!0||y.__nwjs?wo.exports=ps():wo.exports=bs()});function Bc(){return!1}var jc,Uc,un,Ao=Br(()=>{"use strict";d();p();f();jc={},Uc={existsSync:Bc,promises:jc},un=Uc});var To=Z((Py,Rs)=>{"use strict";d();p();f();function De(e){if(typeof e!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}function Ss(e,t){for(var r="",n=0,o=-1,i=0,s,a=0;a<=e.length;++a){if(a2){var u=r.lastIndexOf("/");if(u!==r.length-1){u===-1?(r="",n=0):(r=r.slice(0,u),n=r.length-1-r.lastIndexOf("/")),o=a,i=0;continue}}else if(r.length===2||r.length===1){r="",n=0,o=a,i=0;continue}}t&&(r.length>0?r+="/..":r="..",n=2)}else r.length>0?r+="/"+e.slice(o+1,a):r=e.slice(o+1,a),n=a-o-1;o=a,i=0}else s===46&&i!==-1?++i:i=-1}return r}function $c(e,t){var r=t.dir||t.root,n=t.base||(t.name||"")+(t.ext||"");return r?r===t.root?r+n:r+e+n:n}var Lt={resolve:function(){for(var e="",t=!1,r,n=arguments.length-1;n>=-1&&!t;n--){var o;n>=0?o=arguments[n]:(r===void 0&&(r=y.cwd()),o=r),De(o),o.length!==0&&(e=o+"/"+e,t=o.charCodeAt(0)===47)}return e=Ss(e,!t),t?e.length>0?"/"+e:"/":e.length>0?e:"."},normalize:function(e){if(De(e),e.length===0)return".";var t=e.charCodeAt(0)===47,r=e.charCodeAt(e.length-1)===47;return e=Ss(e,!t),e.length===0&&!t&&(e="."),e.length>0&&r&&(e+="/"),t?"/"+e:e},isAbsolute:function(e){return De(e),e.length>0&&e.charCodeAt(0)===47},join:function(){if(arguments.length===0)return".";for(var e,t=0;t0&&(e===void 0?e=r:e+="/"+r)}return e===void 0?".":Lt.normalize(e)},relative:function(e,t){if(De(e),De(t),e===t||(e=Lt.resolve(e),t=Lt.resolve(t),e===t))return"";for(var r=1;ru){if(t.charCodeAt(i+c)===47)return t.slice(i+c+1);if(c===0)return t.slice(i+c)}else o>u&&(e.charCodeAt(r+c)===47?l=c:c===0&&(l=0));break}var m=e.charCodeAt(r+c),g=t.charCodeAt(i+c);if(m!==g)break;m===47&&(l=c)}var w="";for(c=r+l+1;c<=n;++c)(c===n||e.charCodeAt(c)===47)&&(w.length===0?w+="..":w+="/..");return w.length>0?w+t.slice(i+l):(i+=l,t.charCodeAt(i)===47&&++i,t.slice(i))},_makeLong:function(e){return e},dirname:function(e){if(De(e),e.length===0)return".";for(var t=e.charCodeAt(0),r=t===47,n=-1,o=!0,i=e.length-1;i>=1;--i)if(t=e.charCodeAt(i),t===47){if(!o){n=i;break}}else o=!1;return n===-1?r?"/":".":r&&n===1?"//":e.slice(0,n)},basename:function(e,t){if(t!==void 0&&typeof t!="string")throw new TypeError('"ext" argument must be a string');De(e);var r=0,n=-1,o=!0,i;if(t!==void 0&&t.length>0&&t.length<=e.length){if(t.length===e.length&&t===e)return"";var s=t.length-1,a=-1;for(i=e.length-1;i>=0;--i){var u=e.charCodeAt(i);if(u===47){if(!o){r=i+1;break}}else a===-1&&(o=!1,a=i+1),s>=0&&(u===t.charCodeAt(s)?--s===-1&&(n=i):(s=-1,n=a))}return r===n?n=a:n===-1&&(n=e.length),e.slice(r,n)}else{for(i=e.length-1;i>=0;--i)if(e.charCodeAt(i)===47){if(!o){r=i+1;break}}else n===-1&&(o=!1,n=i+1);return n===-1?"":e.slice(r,n)}},extname:function(e){De(e);for(var t=-1,r=0,n=-1,o=!0,i=0,s=e.length-1;s>=0;--s){var a=e.charCodeAt(s);if(a===47){if(!o){r=s+1;break}continue}n===-1&&(o=!1,n=s+1),a===46?t===-1?t=s:i!==1&&(i=1):t!==-1&&(i=-1)}return t===-1||n===-1||i===0||i===1&&t===n-1&&t===r+1?"":e.slice(t,n)},format:function(e){if(e===null||typeof e!="object")throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof e);return $c("/",e)},parse:function(e){De(e);var t={root:"",dir:"",base:"",ext:"",name:""};if(e.length===0)return t;var r=e.charCodeAt(0),n=r===47,o;n?(t.root="/",o=1):o=0;for(var i=-1,s=0,a=-1,u=!0,l=e.length-1,c=0;l>=o;--l){if(r=e.charCodeAt(l),r===47){if(!u){s=l+1;break}continue}a===-1&&(u=!1,a=l+1),r===46?i===-1?i=l:c!==1&&(c=1):i!==-1&&(c=-1)}return i===-1||a===-1||c===0||c===1&&i===a-1&&i===s+1?a!==-1&&(s===0&&n?t.base=t.name=e.slice(1,a):t.base=t.name=e.slice(s,a)):(s===0&&n?(t.name=e.slice(1,i),t.base=e.slice(1,a)):(t.name=e.slice(s,i),t.base=e.slice(s,a)),t.ext=e.slice(i,a)),s>0?t.dir=e.slice(0,s-1):n&&(t.dir="/"),t},sep:"/",delimiter:":",win32:null,posix:null};Lt.posix=Lt;Rs.exports=Lt});var Is=Z((Oy,Fs)=>{"use strict";d();p();f();Fs.exports=e=>{let t=e.match(/^[ \t]*(?=\S)/gm);return t?t.reduce((r,n)=>Math.min(r,n.length),1/0):0}});var Ds=Z((Dy,ks)=>{"use strict";d();p();f();var Vc=Is();ks.exports=e=>{let t=Vc(e);if(t===0)return e;let r=new RegExp(`^[ \\t]{${t}}`,"gm");return e.replace(r,"")}});var Ns=Z((qy,So)=>{"use strict";d();p();f();var Kc=Object.prototype.hasOwnProperty,me="~";function ar(){}Object.create&&(ar.prototype=Object.create(null),new ar().__proto__||(me=!1));function Gc(e,t,r){this.fn=e,this.context=t,this.once=r||!1}function _s(e,t,r,n,o){if(typeof r!="function")throw new TypeError("The listener must be a function");var i=new Gc(r,n||e,o),s=me?me+t:t;return e._events[s]?e._events[s].fn?e._events[s]=[e._events[s],i]:e._events[s].push(i):(e._events[s]=i,e._eventsCount++),e}function ln(e,t){--e._eventsCount===0?e._events=new ar:delete e._events[t]}function le(){this._events=new ar,this._eventsCount=0}le.prototype.eventNames=function(){var e=[],t,r;if(this._eventsCount===0)return e;for(r in t=this._events)Kc.call(t,r)&&e.push(me?r.slice(1):r);return Object.getOwnPropertySymbols?e.concat(Object.getOwnPropertySymbols(t)):e};le.prototype.listeners=function(e){var t=me?me+e:e,r=this._events[t];if(!r)return[];if(r.fn)return[r.fn];for(var n=0,o=r.length,i=new Array(o);n{"use strict";d();p();f();Ls.exports=(e,t=1,r)=>{if(r={indent:" ",includeEmptyLines:!1,...r},typeof e!="string")throw new TypeError(`Expected \`input\` to be a \`string\`, got \`${typeof e}\``);if(typeof t!="number")throw new TypeError(`Expected \`count\` to be a \`number\`, got \`${typeof t}\``);if(typeof r.indent!="string")throw new TypeError(`Expected \`options.indent\` to be a \`string\`, got \`${typeof r.indent}\``);if(t===0)return e;let n=r.includeEmptyLines?/^/gm:/^(?!\s*$)/gm;return e.replace(n,r.indent.repeat(t))}});var $s=Z((eh,Us)=>{"use strict";d();p();f();Us.exports=({onlyFirst:e=!1}={})=>{let t=["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)","(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))"].join("|");return new RegExp(t,e?void 0:"g")}});var Vs=Z((oh,qs)=>{"use strict";d();p();f();var zc=$s();qs.exports=e=>typeof e=="string"?e.replace(zc(),""):e});var Ws=Z(()=>{"use strict";d();p();f()});var ui=Z((AM,uu)=>{"use strict";d();p();f();uu.exports=function(){function e(t,r,n,o,i){return tn?n+1:t+1:o===i?r:r+1}return function(t,r){if(t===r)return 0;if(t.length>r.length){var n=t;t=r,r=n}for(var o=t.length,i=r.length;o>0&&t.charCodeAt(o-1)===r.charCodeAt(i-1);)o--,i--;for(var s=0;sCe,DMMFClass:()=>$r,Debug:()=>Po,Decimal:()=>je,Extensions:()=>ro,MetricsClient:()=>Ut,NotFoundError:()=>Ke,ObjectEnumValue:()=>_e,PrismaClientInitializationError:()=>re,PrismaClientKnownRequestError:()=>ce,PrismaClientRustPanicError:()=>Ge,PrismaClientUnknownRequestError:()=>Se,PrismaClientValidationError:()=>pe,Public:()=>no,Sql:()=>xe,Types:()=>oo,defineDmmfProperty:()=>Js,empty:()=>zs,getPrismaClient:()=>zu,itxClientDenyList:()=>gi,join:()=>Hs,makeStrictEnum:()=>Zu,objectEnumNames:()=>Yc,objectEnumValues:()=>pn,raw:()=>No,sqltag:()=>Lo,warnEnvConflicts:()=>void 0,warnOnce:()=>lr});module.exports=pl(Wd);d();p();f();var ro={};rr(ro,{defineExtension:()=>Ki,getExtensionContext:()=>Gi});d();p();f();d();p();f();function Ki(e){return typeof e=="function"?e:t=>t.$extends(e)}d();p();f();function Gi(e){return e}var no={};rr(no,{validator:()=>Ji});d();p();f();d();p();f();function Ji(...e){return t=>t}var oo={};rr(oo,{Extensions:()=>Qi,Public:()=>Wi,Result:()=>Hi,Utils:()=>zi});d();p();f();var Qi={};d();p();f();var Wi={};d();p();f();var Hi={};d();p();f();var zi={};d();p();f();d();p();f();d();p();f();var Ye=(e,t)=>{let r={};for(let n of e){let o=n[t];r[o]=n}return r};function Zi(e){return e.substring(0,1).toLowerCase()+e.substring(1)}var $r=class{constructor(t){this.document=t;this.compositeNames=new Set(this.datamodel.types.map(r=>r.name)),this.typeAndModelMap=this.buildTypeModelMap(),this.mappingsMap=this.buildMappingsMap(),this.outputTypeMap=this.buildMergedOutputTypeMap(),this.rootFieldMap=this.buildRootFieldMap(),this.inputTypesByName=this.buildInputTypesMap()}get datamodel(){return this.document.datamodel}get mappings(){return this.document.mappings}get schema(){return this.document.schema}get inputObjectTypes(){return this.schema.inputObjectTypes}get outputObjectTypes(){return this.schema.outputObjectTypes}isComposite(t){return this.compositeNames.has(t)}getOtherOperationNames(){return[Object.values(this.mappings.otherOperations.write),Object.values(this.mappings.otherOperations.read)].flat()}hasEnumInNamespace(t,r){var n;return((n=this.schema.enumTypes[r])==null?void 0:n.find(o=>o.name===t))!==void 0}resolveInputObjectType(t){return this.inputTypesByName.get(io(t.type,t.namespace))}resolveOutputObjectType(t){var r;if(t.location==="outputObjectTypes")return this.outputObjectTypes[(r=t.namespace)!=null?r:"prisma"].find(n=>n.name===t.type)}buildModelMap(){return Ye(this.datamodel.models,"name")}buildTypeMap(){return Ye(this.datamodel.types,"name")}buildTypeModelMap(){return{...this.buildTypeMap(),...this.buildModelMap()}}buildMappingsMap(){return Ye(this.mappings.modelOperations,"model")}buildMergedOutputTypeMap(){return{model:Ye(this.schema.outputObjectTypes.model,"name"),prisma:Ye(this.schema.outputObjectTypes.prisma,"name")}}buildRootFieldMap(){return{...Ye(this.outputTypeMap.prisma.Query.fields,"name"),...Ye(this.outputTypeMap.prisma.Mutation.fields,"name")}}buildInputTypesMap(){let t=new Map;for(let r of this.inputObjectTypes.prisma)t.set(io(r.name,"prisma"),r);if(!this.inputObjectTypes.model)return t;for(let r of this.inputObjectTypes.model)t.set(io(r.name,"model"),r);return t}};function io(e,t){return t?`${t}.${e}`:e}d();p();f();d();p();f();var Ce;(t=>{let e;(C=>(C.findUnique="findUnique",C.findUniqueOrThrow="findUniqueOrThrow",C.findFirst="findFirst",C.findFirstOrThrow="findFirstOrThrow",C.findMany="findMany",C.create="create",C.createMany="createMany",C.update="update",C.updateMany="updateMany",C.upsert="upsert",C.delete="delete",C.deleteMany="deleteMany",C.groupBy="groupBy",C.count="count",C.aggregate="aggregate",C.findRaw="findRaw",C.aggregateRaw="aggregateRaw"))(e=t.ModelAction||(t.ModelAction={}))})(Ce||(Ce={}));d();p();f();var rn=ve(Eo()),_c=100,tn=[],ws,Es;typeof y!="undefined"&&typeof((ws=y.stderr)==null?void 0:ws.write)!="function"&&(rn.default.log=(Es=console.debug)!=null?Es:console.log);function Nc(e){let t=(0,rn.default)(e),r=Object.assign((...n)=>(t.log=r.log,n.length!==0&&tn.push([e,...n]),tn.length>_c&&tn.shift(),t("",...n)),t);return r}var Po=Object.assign(Nc,rn.default);function Ps(){tn.length=0}var he=Po;d();p();f();var vo,vs,As,Ts,Cs=!0;typeof y!="undefined"&&({FORCE_COLOR:vo,NODE_DISABLE_COLORS:vs,NO_COLOR:As,TERM:Ts}=y.env||{},Cs=y.stdout&&y.stdout.isTTY);var Lc={enabled:!vs&&As==null&&Ts!=="dumb"&&(vo!=null&&vo!=="0"||Cs)};function G(e,t){let r=new RegExp(`\\x1b\\[${t}m`,"g"),n=`\x1B[${e}m`,o=`\x1B[${t}m`;return function(i){return!Lc.enabled||i==null?i:n+(~(""+i).indexOf(o)?i.replace(r,o+n):i)+o}}var Vg=G(0,0),tt=G(1,22),nn=G(2,22),Kg=G(3,23),Ms=G(4,24),Gg=G(7,27),Jg=G(8,28),Qg=G(9,29),Wg=G(30,39),_t=G(31,39),on=G(32,39),sn=G(33,39),Nt=G(34,39),Hg=G(35,39),rt=G(36,39),zg=G(37,39),an=G(90,39),Zg=G(90,39),Yg=G(40,49),Xg=G(41,49),ey=G(42,49),ty=G(43,49),ry=G(44,49),ny=G(45,49),oy=G(46,49),iy=G(47,49);d();p();f();d();p();f();d();p();f();d();p();f();var Os="library";function Co(e){let t=qc();return t||((e==null?void 0:e.config.engineType)==="library"?"library":(e==null?void 0:e.config.engineType)==="binary"?"binary":Os)}function qc(){let e=y.env.PRISMA_CLIENT_ENGINE_TYPE;return e==="library"?"library":e==="binary"?"binary":void 0}d();p();f();var sr=ve(To());function Mo(e){return sr.default.sep===sr.default.posix.sep?e:e.split(sr.default.sep).join(sr.default.posix.sep)}var Bt={};rr(Bt,{error:()=>Wc,info:()=>Qc,log:()=>Jc,query:()=>Hc,should:()=>js,tags:()=>ur,warn:()=>Ro});d();p();f();var ur={error:_t("prisma:error"),warn:sn("prisma:warn"),info:rt("prisma:info"),query:Nt("prisma:query")},js={warn:()=>!y.env.PRISMA_DISABLE_WARNINGS};function Jc(...e){console.log(...e)}function Ro(e,...t){js.warn()&&console.warn(`${ur.warn} ${e}`,...t)}function Qc(e,...t){console.info(`${ur.info} ${e}`,...t)}function Wc(e,...t){console.error(`${ur.error} ${e}`,...t)}function Hc(e,...t){console.log(`${ur.query} ${e}`,...t)}d();p();f();function xt(e,t){throw new Error(t)}d();p();f();function Oo(e,t){return Object.prototype.hasOwnProperty.call(e,t)}d();p();f();var Fo=(e,t)=>e.reduce((r,n)=>(r[t(n)]=n,r),{});d();p();f();function jt(e,t){let r={};for(let n of Object.keys(e))r[n]=t(e[n],n);return r}d();p();f();function Io(e,t){if(e.length===0)return;let r=e[0];for(let n=1;n{Ks.has(e)||(Ks.add(e),Ro(t,...r))};d();p();f();var ce=class extends Error{constructor(r,{code:n,clientVersion:o,meta:i,batchRequestIdx:s}){super(r);this.name="PrismaClientKnownRequestError",this.code=n,this.clientVersion=o,this.meta=i,Object.defineProperty(this,"batchRequestIdx",{value:s,enumerable:!1,writable:!0})}get[Symbol.toStringTag](){return"PrismaClientKnownRequestError"}};k(ce,"PrismaClientKnownRequestError");var Ke=class extends ce{constructor(t,r){super(t,{code:"P2025",clientVersion:r}),this.name="NotFoundError"}};k(Ke,"NotFoundError");d();p();f();var re=class e extends Error{constructor(r,n,o){super(r);this.name="PrismaClientInitializationError",this.clientVersion=n,this.errorCode=o,Error.captureStackTrace(e)}get[Symbol.toStringTag](){return"PrismaClientInitializationError"}};k(re,"PrismaClientInitializationError");d();p();f();var Ge=class extends Error{constructor(r,n){super(r);this.name="PrismaClientRustPanicError",this.clientVersion=n}get[Symbol.toStringTag](){return"PrismaClientRustPanicError"}};k(Ge,"PrismaClientRustPanicError");d();p();f();var Se=class extends Error{constructor(r,{clientVersion:n,batchRequestIdx:o}){super(r);this.name="PrismaClientUnknownRequestError",this.clientVersion=n,Object.defineProperty(this,"batchRequestIdx",{value:o,writable:!0,enumerable:!1})}get[Symbol.toStringTag](){return"PrismaClientUnknownRequestError"}};k(Se,"PrismaClientUnknownRequestError");d();p();f();var pe=class extends Error{constructor(r,{clientVersion:n}){super(r);this.name="PrismaClientValidationError";this.clientVersion=n}get[Symbol.toStringTag](){return"PrismaClientValidationError"}};k(pe,"PrismaClientValidationError");d();p();f();var Ut=class{constructor(t){this._engine=t}prometheus(t){return this._engine.metrics({format:"prometheus",...t})}json(t){return this._engine.metrics({format:"json",...t})}};d();p();f();d();p();f();function cr(e){let t;return{get(){return t||(t={value:e()}),t.value}}}function Js(e,t){let r=cr(()=>Zc(t));Object.defineProperty(e,"dmmf",{get:()=>r.get()})}function Zc(e){return{datamodel:{models:ko(e.models),enums:ko(e.enums),types:ko(e.types)}}}function ko(e){return Object.entries(e).map(([t,r])=>({name:t,...r}))}d();p();f();var Yc=["JsonNullValueInput","NullableJsonNullValueInput","JsonNullValueFilter"],cn=Symbol(),Do=new WeakMap,_e=class{constructor(t){t===cn?Do.set(this,`Prisma.${this._getName()}`):Do.set(this,`new Prisma.${this._getNamespace()}.${this._getName()}()`)}_getName(){return this.constructor.name}toString(){return Do.get(this)}},pr=class extends _e{_getNamespace(){return"NullTypes"}},fr=class extends pr{};_o(fr,"DbNull");var dr=class extends pr{};_o(dr,"JsonNull");var mr=class extends pr{};_o(mr,"AnyNull");var pn={classes:{DbNull:fr,JsonNull:dr,AnyNull:mr},instances:{DbNull:new fr(cn),JsonNull:new dr(cn),AnyNull:new mr(cn)}};function _o(e,t){Object.defineProperty(e,"name",{value:t,configurable:!0})}d();p();f();d();p();f();var rp=ve(Eo(),1);function fn(e){return{ok:!1,error:e,map(){return fn(e)},flatMap(){return fn(e)}}}var Xc=class{constructor(){Ai(this,"registeredErrors",[])}consumeError(e){return this.registeredErrors[e]}registerNewError(e){let t=0;for(;this.registeredErrors[t]!==void 0;)t++;return this.registeredErrors[t]={error:e},t}},Qs=e=>{let t=new Xc,r=nt(t,e.startTransaction.bind(e));return{errorRegistry:t,queryRaw:nt(t,e.queryRaw.bind(e)),executeRaw:nt(t,e.executeRaw.bind(e)),flavour:e.flavour,startTransaction:async(...n)=>(await r(...n)).map(i=>ep(t,i)),close:nt(t,e.close.bind(e))}},ep=(e,t)=>({flavour:t.flavour,options:t.options,queryRaw:nt(e,t.queryRaw.bind(t)),executeRaw:nt(e,t.executeRaw.bind(t)),commit:nt(e,t.commit.bind(t)),rollback:nt(e,t.rollback.bind(t)),dispose:tp(e,t.dispose.bind(t))});function nt(e,t){return async(...r)=>{try{return await t(...r)}catch(n){let o=e.registerNewError(n);return fn({kind:"GenericJs",id:o})}}}function tp(e,t){return(...r)=>{try{return t(...r)}catch(n){let o=e.registerNewError(n);return fn({kind:"GenericJs",id:o})}}}var O2=ve(Ws()),Hu=ve(Ns());Ao();var Lr=ve(To());d();p();f();var xe=class e{constructor(t,r){if(t.length-1!==r.length)throw t.length===0?new TypeError("Expected at least 1 string"):new TypeError(`Expected ${t.length} strings to have ${t.length-1} values`);let n=r.reduce((s,a)=>s+(a instanceof e?a.values.length:1),0);this.values=new Array(n),this.strings=new Array(n+1),this.strings[0]=t[0];let o=0,i=0;for(;oe.getPropertyValue(r))},getPropertyDescriptor(r){var n;return(n=e.getPropertyDescriptor)==null?void 0:n.call(e,r)}}}d();p();f();var Xs=ve(go());d();p();f();var dn={enumerable:!0,configurable:!0,writable:!0};function mn(e){let t=new Set(e);return{getOwnPropertyDescriptor:()=>dn,has:(r,n)=>t.has(n),set:(r,n,o)=>t.add(n)&&Reflect.set(r,n,o),ownKeys:()=>[...t]}}var Zs=Symbol.for("nodejs.util.inspect.custom");function Le(e,t){let r=np(t),n=new Set,o=new Proxy(e,{get(i,s){if(n.has(s))return i[s];let a=r.get(s);return a?a.getPropertyValue(s):i[s]},has(i,s){var u,l;if(n.has(s))return!0;let a=r.get(s);return a?(l=(u=a.has)==null?void 0:u.call(a,s))!=null?l:!0:Reflect.has(i,s)},ownKeys(i){let s=Ys(Reflect.ownKeys(i),r),a=Ys(Array.from(r.keys()),r);return[...new Set([...s,...a,...n])]},set(i,s,a){var l,c;let u=r.get(s);return((c=(l=u==null?void 0:u.getPropertyDescriptor)==null?void 0:l.call(u,s))==null?void 0:c.writable)===!1?!1:(n.add(s),Reflect.set(i,s,a))},getOwnPropertyDescriptor(i,s){let a=Reflect.getOwnPropertyDescriptor(i,s);if(a&&!a.configurable)return a;let u=r.get(s);return u?u.getPropertyDescriptor?{...dn,...u==null?void 0:u.getPropertyDescriptor(s)}:dn:a},defineProperty(i,s,a){return n.add(s),Reflect.defineProperty(i,s,a)}});return o[Zs]=function(i,s,a=Xs.inspect){let u={...this};return delete u[Zs],a(u,s)},o}function np(e){let t=new Map;for(let r of e){let n=r.getKeys();for(let o of n)t.set(o,r)}return t}function Ys(e,t){return e.filter(r=>{var o,i;let n=t.get(r);return(i=(o=n==null?void 0:n.has)==null?void 0:o.call(n,r))!=null?i:!0})}d();p();f();function yr(e){return{getKeys(){return e},has(){return!1},getPropertyValue(){}}}d();p();f();d();p();f();var $t=class{constructor(t=0,r){this.context=r;this.lines=[];this.currentLine="";this.currentIndent=0;this.currentIndent=t}write(t){return typeof t=="string"?this.currentLine+=t:t.write(this),this}writeJoined(t,r){let n=r.length-1;for(let o=0;o0&&this.currentIndent--,this}addMarginSymbol(t){return this.marginSymbol=t,this}toString(){return this.lines.concat(this.indentedCurrentLine()).join(` +`)}getCurrentLineLength(){return this.currentLine.length}indentedCurrentLine(){let t=this.currentLine.padStart(this.currentLine.length+2*this.currentIndent);return this.marginSymbol?this.marginSymbol+t.slice(1):t}};d();p();f();d();p();f();function qt(e){return e instanceof Date||Object.prototype.toString.call(e)==="[object Date]"}function gn(e){return e.toString()!=="Invalid Date"}d();p();f();d();p();f();var Vt=9e15,at=1e9,Bo="0123456789abcdef",hn="2.3025850929940456840179914546843642076011014886287729760333279009675726096773524802359972050895982983419677840422862486334095254650828067566662873690987816894829072083255546808437998948262331985283935053089653777326288461633662222876982198867465436674744042432743651550489343149393914796194044002221051017141748003688084012647080685567743216228355220114804663715659121373450747856947683463616792101806445070648000277502684916746550586856935673420670581136429224554405758925724208241314695689016758940256776311356919292033376587141660230105703089634572075440370847469940168269282808481184289314848524948644871927809676271275775397027668605952496716674183485704422507197965004714951050492214776567636938662976979522110718264549734772662425709429322582798502585509785265383207606726317164309505995087807523710333101197857547331541421808427543863591778117054309827482385045648019095610299291824318237525357709750539565187697510374970888692180205189339507238539205144634197265287286965110862571492198849978748873771345686209167058",xn="3.1415926535897932384626433832795028841971693993751058209749445923078164062862089986280348253421170679821480865132823066470938446095505822317253594081284811174502841027019385211055596446229489549303819644288109756659334461284756482337867831652712019091456485669234603486104543266482133936072602491412737245870066063155881748815209209628292540917153643678925903600113305305488204665213841469519415116094330572703657595919530921861173819326117931051185480744623799627495673518857527248912279381830119491298336733624406566430860213949463952247371907021798609437027705392171762931767523846748184676694051320005681271452635608277857713427577896091736371787214684409012249534301465495853710507922796892589235420199561121290219608640344181598136297747713099605187072113499999983729780499510597317328160963185950244594553469083026425223082533446850352619311881710100031378387528865875332083814206171776691473035982534904287554687311595628638823537875937519577818577805321712268066130019278766111959092164201989380952572010654858632789",jo={precision:20,rounding:4,modulo:1,toExpNeg:-7,toExpPos:21,minE:-Vt,maxE:Vt,crypto:!1},na,Je,D=!0,wn="[DecimalError] ",st=wn+"Invalid argument: ",oa=wn+"Precision limit exceeded",ia=wn+"crypto unavailable",sa="[object Decimal]",fe=Math.floor,X=Math.pow,op=/^0b([01]+(\.[01]*)?|\.[01]+)(p[+-]?\d+)?$/i,ip=/^0x([0-9a-f]+(\.[0-9a-f]*)?|\.[0-9a-f]+)(p[+-]?\d+)?$/i,sp=/^0o([0-7]+(\.[0-7]*)?|\.[0-7]+)(p[+-]?\d+)?$/i,aa=/^(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i,Oe=1e7,I=7,ap=9007199254740991,up=hn.length-1,Uo=xn.length-1,v={toStringTag:sa};v.absoluteValue=v.abs=function(){var e=new this.constructor(this);return e.s<0&&(e.s=1),F(e)};v.ceil=function(){return F(new this.constructor(this),this.e+1,2)};v.clampedTo=v.clamp=function(e,t){var r,n=this,o=n.constructor;if(e=new o(e),t=new o(t),!e.s||!t.s)return new o(NaN);if(e.gt(t))throw Error(st+t);return r=n.cmp(e),r<0?e:n.cmp(t)>0?t:new o(n)};v.comparedTo=v.cmp=function(e){var t,r,n,o,i=this,s=i.d,a=(e=new i.constructor(e)).d,u=i.s,l=e.s;if(!s||!a)return!u||!l?NaN:u!==l?u:s===a?0:!s^u<0?1:-1;if(!s[0]||!a[0])return s[0]?u:a[0]?-l:0;if(u!==l)return u;if(i.e!==e.e)return i.e>e.e^u<0?1:-1;for(n=s.length,o=a.length,t=0,r=na[t]^u<0?1:-1;return n===o?0:n>o^u<0?1:-1};v.cosine=v.cos=function(){var e,t,r=this,n=r.constructor;return r.d?r.d[0]?(e=n.precision,t=n.rounding,n.precision=e+Math.max(r.e,r.sd())+I,n.rounding=1,r=lp(n,fa(n,r)),n.precision=e,n.rounding=t,F(Je==2||Je==3?r.neg():r,e,t,!0)):new n(1):new n(NaN)};v.cubeRoot=v.cbrt=function(){var e,t,r,n,o,i,s,a,u,l,c=this,m=c.constructor;if(!c.isFinite()||c.isZero())return new m(c);for(D=!1,i=c.s*X(c.s*c,1/3),!i||Math.abs(i)==1/0?(r=ue(c.d),e=c.e,(i=(e-r.length+1)%3)&&(r+=i==1||i==-2?"0":"00"),i=X(r,1/3),e=fe((e+1)/3)-(e%3==(e<0?-1:2)),i==1/0?r="5e"+e:(r=i.toExponential(),r=r.slice(0,r.indexOf("e")+1)+e),n=new m(r),n.s=c.s):n=new m(i.toString()),s=(e=m.precision)+3;;)if(a=n,u=a.times(a).times(a),l=u.plus(c),n=K(l.plus(c).times(a),l.plus(u),s+2,1),ue(a.d).slice(0,s)===(r=ue(n.d)).slice(0,s))if(r=r.slice(s-3,s+1),r=="9999"||!o&&r=="4999"){if(!o&&(F(a,e+1,0),a.times(a).times(a).eq(c))){n=a;break}s+=4,o=1}else{(!+r||!+r.slice(1)&&r.charAt(0)=="5")&&(F(n,e+1,1),t=!n.times(n).times(n).eq(c));break}return D=!0,F(n,e,m.rounding,t)};v.decimalPlaces=v.dp=function(){var e,t=this.d,r=NaN;if(t){if(e=t.length-1,r=(e-fe(this.e/I))*I,e=t[e],e)for(;e%10==0;e/=10)r--;r<0&&(r=0)}return r};v.dividedBy=v.div=function(e){return K(this,new this.constructor(e))};v.dividedToIntegerBy=v.divToInt=function(e){var t=this,r=t.constructor;return F(K(t,new r(e),0,1,1),r.precision,r.rounding)};v.equals=v.eq=function(e){return this.cmp(e)===0};v.floor=function(){return F(new this.constructor(this),this.e+1,3)};v.greaterThan=v.gt=function(e){return this.cmp(e)>0};v.greaterThanOrEqualTo=v.gte=function(e){var t=this.cmp(e);return t==1||t===0};v.hyperbolicCosine=v.cosh=function(){var e,t,r,n,o,i=this,s=i.constructor,a=new s(1);if(!i.isFinite())return new s(i.s?1/0:NaN);if(i.isZero())return a;r=s.precision,n=s.rounding,s.precision=r+Math.max(i.e,i.sd())+4,s.rounding=1,o=i.d.length,o<32?(e=Math.ceil(o/3),t=(1/Pn(4,e)).toString()):(e=16,t="2.3283064365386962890625e-10"),i=Kt(s,1,i.times(t),new s(1),!0);for(var u,l=e,c=new s(8);l--;)u=i.times(i),i=a.minus(u.times(c.minus(u.times(c))));return F(i,s.precision=r,s.rounding=n,!0)};v.hyperbolicSine=v.sinh=function(){var e,t,r,n,o=this,i=o.constructor;if(!o.isFinite()||o.isZero())return new i(o);if(t=i.precision,r=i.rounding,i.precision=t+Math.max(o.e,o.sd())+4,i.rounding=1,n=o.d.length,n<3)o=Kt(i,2,o,o,!0);else{e=1.4*Math.sqrt(n),e=e>16?16:e|0,o=o.times(1/Pn(5,e)),o=Kt(i,2,o,o,!0);for(var s,a=new i(5),u=new i(16),l=new i(20);e--;)s=o.times(o),o=o.times(a.plus(s.times(u.times(s).plus(l))))}return i.precision=t,i.rounding=r,F(o,t,r,!0)};v.hyperbolicTangent=v.tanh=function(){var e,t,r=this,n=r.constructor;return r.isFinite()?r.isZero()?new n(r):(e=n.precision,t=n.rounding,n.precision=e+7,n.rounding=1,K(r.sinh(),r.cosh(),n.precision=e,n.rounding=t)):new n(r.s)};v.inverseCosine=v.acos=function(){var e,t=this,r=t.constructor,n=t.abs().cmp(1),o=r.precision,i=r.rounding;return n!==-1?n===0?t.isNeg()?Re(r,o,i):new r(0):new r(NaN):t.isZero()?Re(r,o+4,i).times(.5):(r.precision=o+6,r.rounding=1,t=t.asin(),e=Re(r,o+4,i).times(.5),r.precision=o,r.rounding=i,e.minus(t))};v.inverseHyperbolicCosine=v.acosh=function(){var e,t,r=this,n=r.constructor;return r.lte(1)?new n(r.eq(1)?0:NaN):r.isFinite()?(e=n.precision,t=n.rounding,n.precision=e+Math.max(Math.abs(r.e),r.sd())+4,n.rounding=1,D=!1,r=r.times(r).minus(1).sqrt().plus(r),D=!0,n.precision=e,n.rounding=t,r.ln()):new n(r)};v.inverseHyperbolicSine=v.asinh=function(){var e,t,r=this,n=r.constructor;return!r.isFinite()||r.isZero()?new n(r):(e=n.precision,t=n.rounding,n.precision=e+2*Math.max(Math.abs(r.e),r.sd())+6,n.rounding=1,D=!1,r=r.times(r).plus(1).sqrt().plus(r),D=!0,n.precision=e,n.rounding=t,r.ln())};v.inverseHyperbolicTangent=v.atanh=function(){var e,t,r,n,o=this,i=o.constructor;return o.isFinite()?o.e>=0?new i(o.abs().eq(1)?o.s/0:o.isZero()?o:NaN):(e=i.precision,t=i.rounding,n=o.sd(),Math.max(n,e)<2*-o.e-1?F(new i(o),e,t,!0):(i.precision=r=n-o.e,o=K(o.plus(1),new i(1).minus(o),r+e,1),i.precision=e+4,i.rounding=1,o=o.ln(),i.precision=e,i.rounding=t,o.times(.5))):new i(NaN)};v.inverseSine=v.asin=function(){var e,t,r,n,o=this,i=o.constructor;return o.isZero()?new i(o):(t=o.abs().cmp(1),r=i.precision,n=i.rounding,t!==-1?t===0?(e=Re(i,r+4,n).times(.5),e.s=o.s,e):new i(NaN):(i.precision=r+6,i.rounding=1,o=o.div(new i(1).minus(o.times(o)).sqrt().plus(1)).atan(),i.precision=r,i.rounding=n,o.times(2)))};v.inverseTangent=v.atan=function(){var e,t,r,n,o,i,s,a,u,l=this,c=l.constructor,m=c.precision,g=c.rounding;if(l.isFinite()){if(l.isZero())return new c(l);if(l.abs().eq(1)&&m+4<=Uo)return s=Re(c,m+4,g).times(.25),s.s=l.s,s}else{if(!l.s)return new c(NaN);if(m+4<=Uo)return s=Re(c,m+4,g).times(.5),s.s=l.s,s}for(c.precision=a=m+10,c.rounding=1,r=Math.min(28,a/I+2|0),e=r;e;--e)l=l.div(l.times(l).plus(1).sqrt().plus(1));for(D=!1,t=Math.ceil(a/I),n=1,u=l.times(l),s=new c(l),o=l;e!==-1;)if(o=o.times(u),i=s.minus(o.div(n+=2)),o=o.times(u),s=i.plus(o.div(n+=2)),s.d[t]!==void 0)for(e=t;s.d[e]===i.d[e]&&e--;);return r&&(s=s.times(2<this.d.length-2};v.isNaN=function(){return!this.s};v.isNegative=v.isNeg=function(){return this.s<0};v.isPositive=v.isPos=function(){return this.s>0};v.isZero=function(){return!!this.d&&this.d[0]===0};v.lessThan=v.lt=function(e){return this.cmp(e)<0};v.lessThanOrEqualTo=v.lte=function(e){return this.cmp(e)<1};v.logarithm=v.log=function(e){var t,r,n,o,i,s,a,u,l=this,c=l.constructor,m=c.precision,g=c.rounding,w=5;if(e==null)e=new c(10),t=!0;else{if(e=new c(e),r=e.d,e.s<0||!r||!r[0]||e.eq(1))return new c(NaN);t=e.eq(10)}if(r=l.d,l.s<0||!r||!r[0]||l.eq(1))return new c(r&&!r[0]?-1/0:l.s!=1?NaN:r?0:1/0);if(t)if(r.length>1)i=!0;else{for(o=r[0];o%10===0;)o/=10;i=o!==1}if(D=!1,a=m+w,s=it(l,a),n=t?bn(c,a+10):it(e,a),u=K(s,n,a,1),hr(u.d,o=m,g))do if(a+=10,s=it(l,a),n=t?bn(c,a+10):it(e,a),u=K(s,n,a,1),!i){+ue(u.d).slice(o+1,o+15)+1==1e14&&(u=F(u,m+1,0));break}while(hr(u.d,o+=10,g));return D=!0,F(u,m,g)};v.minus=v.sub=function(e){var t,r,n,o,i,s,a,u,l,c,m,g,w=this,E=w.constructor;if(e=new E(e),!w.d||!e.d)return!w.s||!e.s?e=new E(NaN):w.d?e.s=-e.s:e=new E(e.d||w.s!==e.s?w:NaN),e;if(w.s!=e.s)return e.s=-e.s,w.plus(e);if(l=w.d,g=e.d,a=E.precision,u=E.rounding,!l[0]||!g[0]){if(g[0])e.s=-e.s;else if(l[0])e=new E(w);else return new E(u===3?-0:0);return D?F(e,a,u):e}if(r=fe(e.e/I),c=fe(w.e/I),l=l.slice(),i=c-r,i){for(m=i<0,m?(t=l,i=-i,s=g.length):(t=g,r=c,s=l.length),n=Math.max(Math.ceil(a/I),s)+2,i>n&&(i=n,t.length=1),t.reverse(),n=i;n--;)t.push(0);t.reverse()}else{for(n=l.length,s=g.length,m=n0;--n)l[s++]=0;for(n=g.length;n>i;){if(l[--n]s?i+1:s+1,o>s&&(o=s,r.length=1),r.reverse();o--;)r.push(0);r.reverse()}for(s=l.length,o=c.length,s-o<0&&(o=s,r=c,c=l,l=r),t=0;o;)t=(l[--o]=l[o]+c[o]+t)/Oe|0,l[o]%=Oe;for(t&&(l.unshift(t),++n),s=l.length;l[--s]==0;)l.pop();return e.d=l,e.e=En(l,n),D?F(e,a,u):e};v.precision=v.sd=function(e){var t,r=this;if(e!==void 0&&e!==!!e&&e!==1&&e!==0)throw Error(st+e);return r.d?(t=ua(r.d),e&&r.e+1>t&&(t=r.e+1)):t=NaN,t};v.round=function(){var e=this,t=e.constructor;return F(new t(e),e.e+1,t.rounding)};v.sine=v.sin=function(){var e,t,r=this,n=r.constructor;return r.isFinite()?r.isZero()?new n(r):(e=n.precision,t=n.rounding,n.precision=e+Math.max(r.e,r.sd())+I,n.rounding=1,r=pp(n,fa(n,r)),n.precision=e,n.rounding=t,F(Je>2?r.neg():r,e,t,!0)):new n(NaN)};v.squareRoot=v.sqrt=function(){var e,t,r,n,o,i,s=this,a=s.d,u=s.e,l=s.s,c=s.constructor;if(l!==1||!a||!a[0])return new c(!l||l<0&&(!a||a[0])?NaN:a?s:1/0);for(D=!1,l=Math.sqrt(+s),l==0||l==1/0?(t=ue(a),(t.length+u)%2==0&&(t+="0"),l=Math.sqrt(t),u=fe((u+1)/2)-(u<0||u%2),l==1/0?t="5e"+u:(t=l.toExponential(),t=t.slice(0,t.indexOf("e")+1)+u),n=new c(t)):n=new c(l.toString()),r=(u=c.precision)+3;;)if(i=n,n=i.plus(K(s,i,r+2,1)).times(.5),ue(i.d).slice(0,r)===(t=ue(n.d)).slice(0,r))if(t=t.slice(r-3,r+1),t=="9999"||!o&&t=="4999"){if(!o&&(F(i,u+1,0),i.times(i).eq(s))){n=i;break}r+=4,o=1}else{(!+t||!+t.slice(1)&&t.charAt(0)=="5")&&(F(n,u+1,1),e=!n.times(n).eq(s));break}return D=!0,F(n,u,c.rounding,e)};v.tangent=v.tan=function(){var e,t,r=this,n=r.constructor;return r.isFinite()?r.isZero()?new n(r):(e=n.precision,t=n.rounding,n.precision=e+10,n.rounding=1,r=r.sin(),r.s=1,r=K(r,new n(1).minus(r.times(r)).sqrt(),e+10,0),n.precision=e,n.rounding=t,F(Je==2||Je==4?r.neg():r,e,t,!0)):new n(NaN)};v.times=v.mul=function(e){var t,r,n,o,i,s,a,u,l,c=this,m=c.constructor,g=c.d,w=(e=new m(e)).d;if(e.s*=c.s,!g||!g[0]||!w||!w[0])return new m(!e.s||g&&!g[0]&&!w||w&&!w[0]&&!g?NaN:!g||!w?e.s/0:e.s*0);for(r=fe(c.e/I)+fe(e.e/I),u=g.length,l=w.length,u=0;){for(t=0,o=u+n;o>n;)a=i[o]+w[n]*g[o-n-1]+t,i[o--]=a%Oe|0,t=a/Oe|0;i[o]=(i[o]+t)%Oe|0}for(;!i[--s];)i.pop();return t?++r:i.shift(),e.d=i,e.e=En(i,r),D?F(e,m.precision,m.rounding):e};v.toBinary=function(e,t){return Vo(this,2,e,t)};v.toDecimalPlaces=v.toDP=function(e,t){var r=this,n=r.constructor;return r=new n(r),e===void 0?r:(be(e,0,at),t===void 0?t=n.rounding:be(t,0,8),F(r,e+r.e+1,t))};v.toExponential=function(e,t){var r,n=this,o=n.constructor;return e===void 0?r=Be(n,!0):(be(e,0,at),t===void 0?t=o.rounding:be(t,0,8),n=F(new o(n),e+1,t),r=Be(n,!0,e+1)),n.isNeg()&&!n.isZero()?"-"+r:r};v.toFixed=function(e,t){var r,n,o=this,i=o.constructor;return e===void 0?r=Be(o):(be(e,0,at),t===void 0?t=i.rounding:be(t,0,8),n=F(new i(o),e+o.e+1,t),r=Be(n,!1,e+n.e+1)),o.isNeg()&&!o.isZero()?"-"+r:r};v.toFraction=function(e){var t,r,n,o,i,s,a,u,l,c,m,g,w=this,E=w.d,b=w.constructor;if(!E)return new b(w);if(l=r=new b(1),n=u=new b(0),t=new b(n),i=t.e=ua(E)-w.e-1,s=i%I,t.d[0]=X(10,s<0?I+s:s),e==null)e=i>0?t:l;else{if(a=new b(e),!a.isInt()||a.lt(l))throw Error(st+a);e=a.gt(t)?i>0?t:l:a}for(D=!1,a=new b(ue(E)),c=b.precision,b.precision=i=E.length*I*2;m=K(a,t,0,1,1),o=r.plus(m.times(n)),o.cmp(e)!=1;)r=n,n=o,o=l,l=u.plus(m.times(o)),u=o,o=t,t=a.minus(m.times(o)),a=o;return o=K(e.minus(r),n,0,1,1),u=u.plus(o.times(l)),r=r.plus(o.times(n)),u.s=l.s=w.s,g=K(l,n,i,1).minus(w).abs().cmp(K(u,r,i,1).minus(w).abs())<1?[l,n]:[u,r],b.precision=c,D=!0,g};v.toHexadecimal=v.toHex=function(e,t){return Vo(this,16,e,t)};v.toNearest=function(e,t){var r=this,n=r.constructor;if(r=new n(r),e==null){if(!r.d)return r;e=new n(1),t=n.rounding}else{if(e=new n(e),t===void 0?t=n.rounding:be(t,0,8),!r.d)return e.s?r:e;if(!e.d)return e.s&&(e.s=r.s),e}return e.d[0]?(D=!1,r=K(r,e,0,t,1).times(e),D=!0,F(r)):(e.s=r.s,r=e),r};v.toNumber=function(){return+this};v.toOctal=function(e,t){return Vo(this,8,e,t)};v.toPower=v.pow=function(e){var t,r,n,o,i,s,a=this,u=a.constructor,l=+(e=new u(e));if(!a.d||!e.d||!a.d[0]||!e.d[0])return new u(X(+a,l));if(a=new u(a),a.eq(1))return a;if(n=u.precision,i=u.rounding,e.eq(1))return F(a,n,i);if(t=fe(e.e/I),t>=e.d.length-1&&(r=l<0?-l:l)<=ap)return o=la(u,a,r,n),e.s<0?new u(1).div(o):F(o,n,i);if(s=a.s,s<0){if(tu.maxE+1||t0?s/0:0):(D=!1,u.rounding=a.s=1,r=Math.min(12,(t+"").length),o=$o(e.times(it(a,n+r)),n),o.d&&(o=F(o,n+5,1),hr(o.d,n,i)&&(t=n+10,o=F($o(e.times(it(a,t+r)),t),t+5,1),+ue(o.d).slice(n+1,n+15)+1==1e14&&(o=F(o,n+1,0)))),o.s=s,D=!0,u.rounding=i,F(o,n,i))};v.toPrecision=function(e,t){var r,n=this,o=n.constructor;return e===void 0?r=Be(n,n.e<=o.toExpNeg||n.e>=o.toExpPos):(be(e,1,at),t===void 0?t=o.rounding:be(t,0,8),n=F(new o(n),e,t),r=Be(n,e<=n.e||n.e<=o.toExpNeg,e)),n.isNeg()&&!n.isZero()?"-"+r:r};v.toSignificantDigits=v.toSD=function(e,t){var r=this,n=r.constructor;return e===void 0?(e=n.precision,t=n.rounding):(be(e,1,at),t===void 0?t=n.rounding:be(t,0,8)),F(new n(r),e,t)};v.toString=function(){var e=this,t=e.constructor,r=Be(e,e.e<=t.toExpNeg||e.e>=t.toExpPos);return e.isNeg()&&!e.isZero()?"-"+r:r};v.truncated=v.trunc=function(){return F(new this.constructor(this),this.e+1,1)};v.valueOf=v.toJSON=function(){var e=this,t=e.constructor,r=Be(e,e.e<=t.toExpNeg||e.e>=t.toExpPos);return e.isNeg()?"-"+r:r};function ue(e){var t,r,n,o=e.length-1,i="",s=e[0];if(o>0){for(i+=s,t=1;tr)throw Error(st+e)}function hr(e,t,r,n){var o,i,s,a;for(i=e[0];i>=10;i/=10)--t;return--t<0?(t+=I,o=0):(o=Math.ceil((t+1)/I),t%=I),i=X(10,I-t),a=e[o]%i|0,n==null?t<3?(t==0?a=a/100|0:t==1&&(a=a/10|0),s=r<4&&a==99999||r>3&&a==49999||a==5e4||a==0):s=(r<4&&a+1==i||r>3&&a+1==i/2)&&(e[o+1]/i/100|0)==X(10,t-2)-1||(a==i/2||a==0)&&(e[o+1]/i/100|0)==0:t<4?(t==0?a=a/1e3|0:t==1?a=a/100|0:t==2&&(a=a/10|0),s=(n||r<4)&&a==9999||!n&&r>3&&a==4999):s=((n||r<4)&&a+1==i||!n&&r>3&&a+1==i/2)&&(e[o+1]/i/1e3|0)==X(10,t-3)-1,s}function yn(e,t,r){for(var n,o=[0],i,s=0,a=e.length;sr-1&&(o[n+1]===void 0&&(o[n+1]=0),o[n+1]+=o[n]/r|0,o[n]%=r)}return o.reverse()}function lp(e,t){var r,n,o;if(t.isZero())return t;n=t.d.length,n<32?(r=Math.ceil(n/3),o=(1/Pn(4,r)).toString()):(r=16,o="2.3283064365386962890625e-10"),e.precision+=r,t=Kt(e,1,t.times(o),new e(1));for(var i=r;i--;){var s=t.times(t);t=s.times(s).minus(s).times(8).plus(1)}return e.precision-=r,t}var K=function(){function e(n,o,i){var s,a=0,u=n.length;for(n=n.slice();u--;)s=n[u]*o+a,n[u]=s%i|0,a=s/i|0;return a&&n.unshift(a),n}function t(n,o,i,s){var a,u;if(i!=s)u=i>s?1:-1;else for(a=u=0;ao[a]?1:-1;break}return u}function r(n,o,i,s){for(var a=0;i--;)n[i]-=a,a=n[i]1;)n.shift()}return function(n,o,i,s,a,u){var l,c,m,g,w,E,b,T,S,R,C,M,N,L,Te,V,H,Ee,z,Pe,We=n.constructor,$=n.s==o.s?1:-1,U=n.d,O=o.d;if(!U||!U[0]||!O||!O[0])return new We(!n.s||!o.s||(U?O&&U[0]==O[0]:!O)?NaN:U&&U[0]==0||!O?$*0:$/0);for(u?(w=1,c=n.e-o.e):(u=Oe,w=I,c=fe(n.e/w)-fe(o.e/w)),z=O.length,H=U.length,S=new We($),R=S.d=[],m=0;O[m]==(U[m]||0);m++);if(O[m]>(U[m]||0)&&c--,i==null?(L=i=We.precision,s=We.rounding):a?L=i+(n.e-o.e)+1:L=i,L<0)R.push(1),E=!0;else{if(L=L/w+2|0,m=0,z==1){for(g=0,O=O[0],L++;(m1&&(O=e(O,g,u),U=e(U,g,u),z=O.length,H=U.length),V=z,C=U.slice(0,z),M=C.length;M=u/2&&++Ee;do g=0,l=t(O,C,z,M),l<0?(N=C[0],z!=M&&(N=N*u+(C[1]||0)),g=N/Ee|0,g>1?(g>=u&&(g=u-1),b=e(O,g,u),T=b.length,M=C.length,l=t(b,C,T,M),l==1&&(g--,r(b,z=10;g/=10)m++;S.e=m+c*w-1,F(S,a?i+S.e+1:i,s,E)}return S}}();function F(e,t,r,n){var o,i,s,a,u,l,c,m,g,w=e.constructor;e:if(t!=null){if(m=e.d,!m)return e;for(o=1,a=m[0];a>=10;a/=10)o++;if(i=t-o,i<0)i+=I,s=t,c=m[g=0],u=c/X(10,o-s-1)%10|0;else if(g=Math.ceil((i+1)/I),a=m.length,g>=a)if(n){for(;a++<=g;)m.push(0);c=u=0,o=1,i%=I,s=i-I+1}else break e;else{for(c=a=m[g],o=1;a>=10;a/=10)o++;i%=I,s=i-I+o,u=s<0?0:c/X(10,o-s-1)%10|0}if(n=n||t<0||m[g+1]!==void 0||(s<0?c:c%X(10,o-s-1)),l=r<4?(u||n)&&(r==0||r==(e.s<0?3:2)):u>5||u==5&&(r==4||n||r==6&&(i>0?s>0?c/X(10,o-s):0:m[g-1])%10&1||r==(e.s<0?8:7)),t<1||!m[0])return m.length=0,l?(t-=e.e+1,m[0]=X(10,(I-t%I)%I),e.e=-t||0):m[0]=e.e=0,e;if(i==0?(m.length=g,a=1,g--):(m.length=g+1,a=X(10,I-i),m[g]=s>0?(c/X(10,o-s)%X(10,s)|0)*a:0),l)for(;;)if(g==0){for(i=1,s=m[0];s>=10;s/=10)i++;for(s=m[0]+=a,a=1;s>=10;s/=10)a++;i!=a&&(e.e++,m[0]==Oe&&(m[0]=1));break}else{if(m[g]+=a,m[g]!=Oe)break;m[g--]=0,a=1}for(i=m.length;m[--i]===0;)m.pop()}return D&&(e.e>w.maxE?(e.d=null,e.e=NaN):e.e0?i=i.charAt(0)+"."+i.slice(1)+ot(n):s>1&&(i=i.charAt(0)+"."+i.slice(1)),i=i+(e.e<0?"e":"e+")+e.e):o<0?(i="0."+ot(-o-1)+i,r&&(n=r-s)>0&&(i+=ot(n))):o>=s?(i+=ot(o+1-s),r&&(n=r-o-1)>0&&(i=i+"."+ot(n))):((n=o+1)0&&(o+1===s&&(i+="."),i+=ot(n))),i}function En(e,t){var r=e[0];for(t*=I;r>=10;r/=10)t++;return t}function bn(e,t,r){if(t>up)throw D=!0,r&&(e.precision=r),Error(oa);return F(new e(hn),t,1,!0)}function Re(e,t,r){if(t>Uo)throw Error(oa);return F(new e(xn),t,r,!0)}function ua(e){var t=e.length-1,r=t*I+1;if(t=e[t],t){for(;t%10==0;t/=10)r--;for(t=e[0];t>=10;t/=10)r++}return r}function ot(e){for(var t="";e--;)t+="0";return t}function la(e,t,r,n){var o,i=new e(1),s=Math.ceil(n/I+4);for(D=!1;;){if(r%2&&(i=i.times(t),ta(i.d,s)&&(o=!0)),r=fe(r/2),r===0){r=i.d.length-1,o&&i.d[r]===0&&++i.d[r];break}t=t.times(t),ta(t.d,s)}return D=!0,i}function ea(e){return e.d[e.d.length-1]&1}function ca(e,t,r){for(var n,o=new e(t[0]),i=0;++i17)return new g(e.d?e.d[0]?e.s<0?0:1/0:1:e.s?e.s<0?0:e:0/0);for(t==null?(D=!1,u=E):u=t,a=new g(.03125);e.e>-2;)e=e.times(a),m+=5;for(n=Math.log(X(2,m))/Math.LN10*2+5|0,u+=n,r=i=s=new g(1),g.precision=u;;){if(i=F(i.times(e),u,1),r=r.times(++c),a=s.plus(K(i,r,u,1)),ue(a.d).slice(0,u)===ue(s.d).slice(0,u)){for(o=m;o--;)s=F(s.times(s),u,1);if(t==null)if(l<3&&hr(s.d,u-n,w,l))g.precision=u+=10,r=i=a=new g(1),c=0,l++;else return F(s,g.precision=E,w,D=!0);else return g.precision=E,s}s=a}}function it(e,t){var r,n,o,i,s,a,u,l,c,m,g,w=1,E=10,b=e,T=b.d,S=b.constructor,R=S.rounding,C=S.precision;if(b.s<0||!T||!T[0]||!b.e&&T[0]==1&&T.length==1)return new S(T&&!T[0]?-1/0:b.s!=1?NaN:T?0:b);if(t==null?(D=!1,c=C):c=t,S.precision=c+=E,r=ue(T),n=r.charAt(0),Math.abs(i=b.e)<15e14){for(;n<7&&n!=1||n==1&&r.charAt(1)>3;)b=b.times(e),r=ue(b.d),n=r.charAt(0),w++;i=b.e,n>1?(b=new S("0."+r),i++):b=new S(n+"."+r.slice(1))}else return l=bn(S,c+2,C).times(i+""),b=it(new S(n+"."+r.slice(1)),c-E).plus(l),S.precision=C,t==null?F(b,C,R,D=!0):b;for(m=b,u=s=b=K(b.minus(1),b.plus(1),c,1),g=F(b.times(b),c,1),o=3;;){if(s=F(s.times(g),c,1),l=u.plus(K(s,new S(o),c,1)),ue(l.d).slice(0,c)===ue(u.d).slice(0,c))if(u=u.times(2),i!==0&&(u=u.plus(bn(S,c+2,C).times(i+""))),u=K(u,new S(w),c,1),t==null)if(hr(u.d,c-E,R,a))S.precision=c+=E,l=s=b=K(m.minus(1),m.plus(1),c,1),g=F(b.times(b),c,1),o=a=1;else return F(u,S.precision=C,R,D=!0);else return S.precision=C,u;u=l,o+=2}}function pa(e){return String(e.s*e.s/0)}function qo(e,t){var r,n,o;for((r=t.indexOf("."))>-1&&(t=t.replace(".","")),(n=t.search(/e/i))>0?(r<0&&(r=n),r+=+t.slice(n+1),t=t.substring(0,n)):r<0&&(r=t.length),n=0;t.charCodeAt(n)===48;n++);for(o=t.length;t.charCodeAt(o-1)===48;--o);if(t=t.slice(n,o),t){if(o-=n,e.e=r=r-n-1,e.d=[],n=(r+1)%I,r<0&&(n+=I),ne.constructor.maxE?(e.d=null,e.e=NaN):e.e-1){if(t=t.replace(/(\d)_(?=\d)/g,"$1"),aa.test(t))return qo(e,t)}else if(t==="Infinity"||t==="NaN")return+t||(e.s=NaN),e.e=NaN,e.d=null,e;if(ip.test(t))r=16,t=t.toLowerCase();else if(op.test(t))r=2;else if(sp.test(t))r=8;else throw Error(st+t);for(i=t.search(/p/i),i>0?(u=+t.slice(i+1),t=t.substring(2,i)):t=t.slice(2),i=t.indexOf("."),s=i>=0,n=e.constructor,s&&(t=t.replace(".",""),a=t.length,i=a-i,o=la(n,new n(r),i,i*2)),l=yn(t,r,Oe),c=l.length-1,i=c;l[i]===0;--i)l.pop();return i<0?new n(e.s*0):(e.e=En(l,c),e.d=l,D=!1,s&&(e=K(e,o,a*4)),u&&(e=e.times(Math.abs(u)<54?X(2,u):wt.pow(2,u))),D=!0,e)}function pp(e,t){var r,n=t.d.length;if(n<3)return t.isZero()?t:Kt(e,2,t,t);r=1.4*Math.sqrt(n),r=r>16?16:r|0,t=t.times(1/Pn(5,r)),t=Kt(e,2,t,t);for(var o,i=new e(5),s=new e(16),a=new e(20);r--;)o=t.times(t),t=t.times(i.plus(o.times(s.times(o).minus(a))));return t}function Kt(e,t,r,n,o){var i,s,a,u,l=1,c=e.precision,m=Math.ceil(c/I);for(D=!1,u=r.times(r),a=new e(n);;){if(s=K(a.times(u),new e(t++*t++),c,1),a=o?n.plus(s):n.minus(s),n=K(s.times(u),new e(t++*t++),c,1),s=a.plus(n),s.d[m]!==void 0){for(i=m;s.d[i]===a.d[i]&&i--;);if(i==-1)break}i=a,a=n,n=s,s=i,l++}return D=!0,s.d.length=m+1,s}function Pn(e,t){for(var r=e;--t;)r*=e;return r}function fa(e,t){var r,n=t.s<0,o=Re(e,e.precision,1),i=o.times(.5);if(t=t.abs(),t.lte(i))return Je=n?4:1,t;if(r=t.divToInt(o),r.isZero())Je=n?3:2;else{if(t=t.minus(r.times(o)),t.lte(i))return Je=ea(r)?n?2:3:n?4:1,t;Je=ea(r)?n?1:4:n?3:2}return t.minus(o).abs()}function Vo(e,t,r,n){var o,i,s,a,u,l,c,m,g,w=e.constructor,E=r!==void 0;if(E?(be(r,1,at),n===void 0?n=w.rounding:be(n,0,8)):(r=w.precision,n=w.rounding),!e.isFinite())c=pa(e);else{for(c=Be(e),s=c.indexOf("."),E?(o=2,t==16?r=r*4-3:t==8&&(r=r*3-2)):o=t,s>=0&&(c=c.replace(".",""),g=new w(1),g.e=c.length-s,g.d=yn(Be(g),10,o),g.e=g.d.length),m=yn(c,10,o),i=u=m.length;m[--u]==0;)m.pop();if(!m[0])c=E?"0p+0":"0";else{if(s<0?i--:(e=new w(e),e.d=m,e.e=i,e=K(e,g,r,n,0,o),m=e.d,i=e.e,l=na),s=m[r],a=o/2,l=l||m[r+1]!==void 0,l=n<4?(s!==void 0||l)&&(n===0||n===(e.s<0?3:2)):s>a||s===a&&(n===4||l||n===6&&m[r-1]&1||n===(e.s<0?8:7)),m.length=r,l)for(;++m[--r]>o-1;)m[r]=0,r||(++i,m.unshift(1));for(u=m.length;!m[u-1];--u);for(s=0,c="";s1)if(t==16||t==8){for(s=t==16?4:3,--u;u%s;u++)c+="0";for(m=yn(c,o,t),u=m.length;!m[u-1];--u);for(s=1,c="1.";su)for(i-=u;i--;)c+="0";else it)return e.length=t,!0}function fp(e){return new this(e).abs()}function dp(e){return new this(e).acos()}function mp(e){return new this(e).acosh()}function gp(e,t){return new this(e).plus(t)}function yp(e){return new this(e).asin()}function hp(e){return new this(e).asinh()}function xp(e){return new this(e).atan()}function bp(e){return new this(e).atanh()}function wp(e,t){e=new this(e),t=new this(t);var r,n=this.precision,o=this.rounding,i=n+4;return!e.s||!t.s?r=new this(NaN):!e.d&&!t.d?(r=Re(this,i,1).times(t.s>0?.25:.75),r.s=e.s):!t.d||e.isZero()?(r=t.s<0?Re(this,n,o):new this(0),r.s=e.s):!e.d||t.isZero()?(r=Re(this,i,1).times(.5),r.s=e.s):t.s<0?(this.precision=i,this.rounding=1,r=this.atan(K(e,t,i,1)),t=Re(this,i,1),this.precision=n,this.rounding=o,r=e.s<0?r.minus(t):r.plus(t)):r=this.atan(K(e,t,i,1)),r}function Ep(e){return new this(e).cbrt()}function Pp(e){return F(e=new this(e),e.e+1,2)}function vp(e,t,r){return new this(e).clamp(t,r)}function Ap(e){if(!e||typeof e!="object")throw Error(wn+"Object expected");var t,r,n,o=e.defaults===!0,i=["precision",1,at,"rounding",0,8,"toExpNeg",-Vt,0,"toExpPos",0,Vt,"maxE",0,Vt,"minE",-Vt,0,"modulo",0,9];for(t=0;t=i[t+1]&&n<=i[t+2])this[r]=n;else throw Error(st+r+": "+n);if(r="crypto",o&&(this[r]=jo[r]),(n=e[r])!==void 0)if(n===!0||n===!1||n===0||n===1)if(n)if(typeof crypto!="undefined"&&crypto&&(crypto.getRandomValues||crypto.randomBytes))this[r]=!0;else throw Error(ia);else this[r]=!1;else throw Error(st+r+": "+n);return this}function Tp(e){return new this(e).cos()}function Cp(e){return new this(e).cosh()}function da(e){var t,r,n;function o(i){var s,a,u,l=this;if(!(l instanceof o))return new o(i);if(l.constructor=o,ra(i)){l.s=i.s,D?!i.d||i.e>o.maxE?(l.e=NaN,l.d=null):i.e=10;a/=10)s++;D?s>o.maxE?(l.e=NaN,l.d=null):s=429e7?t[i]=crypto.getRandomValues(new Uint32Array(1))[0]:a[i++]=o%1e7;else if(crypto.randomBytes){for(t=crypto.randomBytes(n*=4);i=214e7?crypto.randomBytes(4).copy(t,i):(a.push(o%1e7),i+=4);i=n/4}else throw Error(ia);else for(;i=10;o/=10)n++;n`}};function Jt(e){return e instanceof xr}d();p();f();d();p();f();var vn=class{constructor(t){this.value=t}write(t){t.write(this.value)}markAsError(){this.value.markAsError()}};d();p();f();var An=e=>e,Tn={bold:An,red:An,green:An,dim:An,enabled:!1},ma={bold:tt,red:_t,green:on,dim:nn,enabled:!0},Qt={write(e){e.writeLine(",")}};d();p();f();var Ue=class{constructor(t){this.contents=t;this.isUnderlined=!1;this.color=t=>t}underline(){return this.isUnderlined=!0,this}setColor(t){return this.color=t,this}write(t){let r=t.getCurrentLineLength();t.write(this.color(this.contents)),this.isUnderlined&&t.afterNextNewline(()=>{t.write(" ".repeat(r)).writeLine(this.color("~".repeat(this.contents.length)))})}};d();p();f();var ut=class{constructor(){this.hasError=!1}markAsError(){return this.hasError=!0,this}};var Wt=class extends ut{constructor(){super(...arguments);this.items=[]}addItem(r){return this.items.push(new vn(r)),this}getField(r){return this.items[r]}getPrintWidth(){return this.items.length===0?2:Math.max(...this.items.map(n=>n.value.getPrintWidth()))+2}write(r){if(this.items.length===0){this.writeEmpty(r);return}this.writeWithItems(r)}writeEmpty(r){let n=new Ue("[]");this.hasError&&n.setColor(r.context.colors.red).underline(),r.write(n)}writeWithItems(r){let{colors:n}=r.context;r.writeLine("[").withIndent(()=>r.writeJoined(Qt,this.items).newLine()).write("]"),this.hasError&&r.afterNextNewline(()=>{r.writeLine(n.red("~".repeat(this.getPrintWidth())))})}};d();p();f();var ga=": ",Cn=class{constructor(t,r){this.name=t;this.value=r;this.hasError=!1}markAsError(){this.hasError=!0}getPrintWidth(){return this.name.length+this.value.getPrintWidth()+ga.length}write(t){let r=new Ue(this.name);this.hasError&&r.underline().setColor(t.context.colors.red),t.write(r).write(ga).write(this.value)}};d();p();f();var ne=class e extends ut{constructor(){super(...arguments);this.fields={};this.suggestions=[]}addField(r){this.fields[r.name]=r}addSuggestion(r){this.suggestions.push(r)}getField(r){return this.fields[r]}getDeepField(r){let[n,...o]=r,i=this.getField(n);if(!i)return;let s=i;for(let a of o){let u;if(s.value instanceof e?u=s.value.getField(a):s.value instanceof Wt&&(u=s.value.getField(Number(a))),!u)return;s=u}return s}getDeepFieldValue(r){var n;return r.length===0?this:(n=this.getDeepField(r))==null?void 0:n.value}hasField(r){return!!this.getField(r)}removeAllFields(){this.fields={}}removeField(r){delete this.fields[r]}getFields(){return this.fields}isEmpty(){return Object.keys(this.fields).length===0}getFieldValue(r){var n;return(n=this.getField(r))==null?void 0:n.value}getDeepSubSelectionValue(r){let n=this;for(let o of r){if(!(n instanceof e))return;let i=n.getSubSelectionValue(o);if(!i)return;n=i}return n}getDeepSelectionParent(r){let n=this.getSelectionParent();if(!n)return;let o=n;for(let i of r){let s=o.value.getFieldValue(i);if(!s||!(s instanceof e))return;let a=s.getSelectionParent();if(!a)return;o=a}return o}getSelectionParent(){let r=this.getField("select");if((r==null?void 0:r.value)instanceof e)return{kind:"select",value:r.value};let n=this.getField("include");if((n==null?void 0:n.value)instanceof e)return{kind:"include",value:n.value}}getSubSelectionValue(r){var n;return(n=this.getSelectionParent())==null?void 0:n.value.fields[r].value}getPrintWidth(){let r=Object.values(this.fields);return r.length==0?2:Math.max(...r.map(o=>o.getPrintWidth()))+2}write(r){let n=Object.values(this.fields);if(n.length===0&&this.suggestions.length===0){this.writeEmpty(r);return}this.writeWithContents(r,n)}writeEmpty(r){let n=new Ue("{}");this.hasError&&n.setColor(r.context.colors.red).underline(),r.write(n)}writeWithContents(r,n){r.writeLine("{").withIndent(()=>{r.writeJoined(Qt,[...n,...this.suggestions]).newLine()}),r.write("}"),this.hasError&&r.afterNextNewline(()=>{r.writeLine(r.context.colors.red("~".repeat(this.getPrintWidth())))})}};d();p();f();var oe=class extends ut{constructor(r){super();this.text=r}getPrintWidth(){return this.text.length}write(r){let n=new Ue(this.text);this.hasError&&n.underline().setColor(r.context.colors.red),r.write(n)}};var Ko=class{constructor(t){this.errorMessages=[];this.arguments=t}write(t){t.write(this.arguments)}addErrorMessage(t){this.errorMessages.push(t)}renderAllMessages(t){return this.errorMessages.map(r=>r(t)).join(` +`)}};function Mn(e){return new Ko(ya(e))}function ya(e){let t=new ne;for(let[r,n]of Object.entries(e)){let o=new Cn(r,ha(n));t.addField(o)}return t}function ha(e){if(typeof e=="string")return new oe(JSON.stringify(e));if(typeof e=="number"||typeof e=="boolean")return new oe(String(e));if(typeof e=="bigint")return new oe(`${e}n`);if(e===null)return new oe("null");if(e===void 0)return new oe("undefined");if(Gt(e))return new oe(`new Prisma.Decimal("${e.toFixed()}")`);if(e instanceof Uint8Array)return x.Buffer.isBuffer(e)?new oe(`Buffer.alloc(${e.byteLength})`):new oe(`new Uint8Array(${e.byteLength})`);if(e instanceof Date){let t=gn(e)?e.toISOString():"Invalid Date";return new oe(`new Date("${t}")`)}return e instanceof _e?new oe(`Prisma.${e._getName()}`):Jt(e)?new oe(`prisma.${Zi(e.modelName)}.$fields.${e.name}`):Array.isArray(e)?Yp(e):typeof e=="object"?ya(e):new oe(Object.prototype.toString.call(e))}function Yp(e){let t=new Wt;for(let r of e)t.addItem(ha(r));return t}function xa(e){if(e===void 0)return"";let t=Mn(e);return new $t(0,{colors:Tn}).write(t).toString()}d();p();f();d();p();f();d();p();f();d();p();f();d();p();f();var br="";function ba(e){var t=e.split(` +`);return t.reduce(function(r,n){var o=tf(n)||nf(n)||af(n)||pf(n)||lf(n);return o&&r.push(o),r},[])}var Xp=/^\s*at (.*?) ?\(((?:file|https?|blob|chrome-extension|native|eval|webpack||\/|[a-z]:\\|\\\\).*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,ef=/\((\S*)(?::(\d+))(?::(\d+))\)/;function tf(e){var t=Xp.exec(e);if(!t)return null;var r=t[2]&&t[2].indexOf("native")===0,n=t[2]&&t[2].indexOf("eval")===0,o=ef.exec(t[2]);return n&&o!=null&&(t[2]=o[1],t[3]=o[2],t[4]=o[3]),{file:r?null:t[2],methodName:t[1]||br,arguments:r?[t[2]]:[],lineNumber:t[3]?+t[3]:null,column:t[4]?+t[4]:null}}var rf=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i;function nf(e){var t=rf.exec(e);return t?{file:t[2],methodName:t[1]||br,arguments:[],lineNumber:+t[3],column:t[4]?+t[4]:null}:null}var of=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)((?:file|https?|blob|chrome|webpack|resource|\[native).*?|[^@]*bundle)(?::(\d+))?(?::(\d+))?\s*$/i,sf=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i;function af(e){var t=of.exec(e);if(!t)return null;var r=t[3]&&t[3].indexOf(" > eval")>-1,n=sf.exec(t[3]);return r&&n!=null&&(t[3]=n[1],t[4]=n[2],t[5]=null),{file:t[3],methodName:t[1]||br,arguments:t[2]?t[2].split(","):[],lineNumber:t[4]?+t[4]:null,column:t[5]?+t[5]:null}}var uf=/^\s*(?:([^@]*)(?:\((.*?)\))?@)?(\S.*?):(\d+)(?::(\d+))?\s*$/i;function lf(e){var t=uf.exec(e);return t?{file:t[3],methodName:t[1]||br,arguments:[],lineNumber:+t[4],column:t[5]?+t[5]:null}:null}var cf=/^\s*at (?:((?:\[object object\])?[^\\/]+(?: \[as \S+\])?) )?\(?(.*?):(\d+)(?::(\d+))?\)?\s*$/i;function pf(e){var t=cf.exec(e);return t?{file:t[2],methodName:t[1]||br,arguments:[],lineNumber:+t[3],column:t[4]?+t[4]:null}:null}var Go=class{getLocation(){return null}},Jo=class{constructor(){this._error=new Error}getLocation(){let t=this._error.stack;if(!t)return null;let n=ba(t).find(o=>{if(!o.file)return!1;let i=Mo(o.file);return i!==""&&!i.includes("@prisma")&&!i.includes("/packages/client/src/runtime/")&&!i.endsWith("/runtime/binary.js")&&!i.endsWith("/runtime/library.js")&&!i.endsWith("/runtime/edge.js")&&!i.endsWith("/runtime/edge-esm.js")&&!i.startsWith("internal/")&&!o.methodName.includes("new ")&&!o.methodName.includes("getCallSite")&&!o.methodName.includes("Proxy.")&&o.methodName.split(".").length<4});return!n||!n.file?null:{fileName:n.file,lineNumber:n.lineNumber,columnNumber:n.column}}};function lt(e){return e==="minimal"?new Go:new Jo}d();p();f();d();p();f();d();p();f();var wa={_avg:!0,_count:!0,_sum:!0,_min:!0,_max:!0};function Ht(e={}){let t=df(e);return Object.entries(t).reduce((n,[o,i])=>(wa[o]!==void 0?n.select[o]={select:i}:n[o]=i,n),{select:{}})}function df(e={}){return typeof e._count=="boolean"?{...e,_count:{_all:e._count}}:e}function Sn(e={}){return t=>(typeof e._count=="boolean"&&(t._count=t._count._all),t)}function Ea(e,t){let r=Sn(e);return t({action:"aggregate",unpacker:r,argsMapper:Ht})(e)}d();p();f();function mf(e={}){let{select:t,...r}=e;return typeof t=="object"?Ht({...r,_count:t}):Ht({...r,_count:{_all:!0}})}function gf(e={}){return typeof e.select=="object"?t=>Sn(e)(t)._count:t=>Sn(e)(t)._count._all}function Pa(e,t){return t({action:"count",unpacker:gf(e),argsMapper:mf})(e)}d();p();f();function yf(e={}){let t=Ht(e);if(Array.isArray(t.by))for(let r of t.by)typeof r=="string"&&(t.select[r]=!0);else typeof t.by=="string"&&(t.select[t.by]=!0);return t}function hf(e={}){return t=>(typeof(e==null?void 0:e._count)=="boolean"&&t.forEach(r=>{r._count=r._count._all}),t)}function va(e,t){return t({action:"groupBy",unpacker:hf(e),argsMapper:yf})(e)}function Aa(e,t,r){if(t==="aggregate")return n=>Ea(n,r);if(t==="count")return n=>Pa(n,r);if(t==="groupBy")return n=>va(n,r)}d();p();f();function Ta(e,t){let r=t.fields.filter(o=>!o.relationName),n=Fo(r,o=>o.name);return new Proxy({},{get(o,i){if(i in o||typeof i=="symbol")return o[i];let s=n[i];if(s)return new xr(e,i,s.type,s.isList,s.kind==="enum")},...mn(Object.keys(n))})}d();p();f();d();p();f();var Ca=e=>Array.isArray(e)?e:e.split("."),Qo=(e,t)=>Ca(t).reduce((r,n)=>r&&r[n],e),Ma=(e,t,r)=>Ca(t).reduceRight((n,o,i,s)=>Object.assign({},Qo(e,s.slice(0,i)),{[o]:n}),r);function xf(e,t){return e===void 0||t===void 0?[]:[...t,"select",e]}function bf(e,t,r){return t===void 0?e!=null?e:{}:Ma(t,r,e||!0)}function Wo(e,t,r,n,o,i){let a=e._runtimeDataModel.models[t].fields.reduce((u,l)=>({...u,[l.name]:l}),{});return u=>{let l=lt(e._errorFormat),c=xf(n,o),m=bf(u,i,c),g=r({dataPath:c,callsite:l})(m),w=wf(e,t);return new Proxy(g,{get(E,b){if(!w.includes(b))return E[b];let S=[a[b].type,r,b],R=[c,m];return Wo(e,...S,...R)},...mn([...w,...Object.getOwnPropertyNames(g)])})}}function wf(e,t){return e._runtimeDataModel.models[t].fields.filter(r=>r.kind==="object").map(r=>r.name)}d();p();f();d();p();f();var Ia=ve(Bs());d();p();f();Ao();d();p();f();d();p();f();d();p();f();var Sa={keyword:rt,entity:rt,value:e=>tt(Nt(e)),punctuation:Nt,directive:rt,function:rt,variable:e=>tt(Nt(e)),string:e=>tt(on(e)),boolean:sn,number:rt,comment:an};var Ef=e=>e,Rn={},Pf=0,_={manual:Rn.Prism&&Rn.Prism.manual,disableWorkerMessageHandler:Rn.Prism&&Rn.Prism.disableWorkerMessageHandler,util:{encode:function(e){if(e instanceof Fe){let t=e;return new Fe(t.type,_.util.encode(t.content),t.alias)}else return Array.isArray(e)?e.map(_.util.encode):e.replace(/&/g,"&").replace(/e.length)return;if(Ee instanceof Fe)continue;if(N&&V!=t.length-1){R.lastIndex=H;var m=R.exec(e);if(!m)break;var c=m.index+(M?m[1].length:0),g=m.index+m[0].length,a=V,u=H;for(let O=t.length;a=u&&(++V,H=u);if(t[V]instanceof Fe)continue;l=a-V,Ee=e.slice(H,u),m.index-=H}else{R.lastIndex=0;var m=R.exec(Ee),l=1}if(!m){if(i)break;continue}M&&(L=m[1]?m[1].length:0);var c=m.index+L,m=m[0].slice(L),g=c+m.length,w=Ee.slice(0,c),E=Ee.slice(g);let z=[V,l];w&&(++V,H+=w.length,z.push(w));let Pe=new Fe(b,C?_.tokenize(m,C):m,Te,m,N);if(z.push(Pe),E&&z.push(E),Array.prototype.splice.apply(t,z),l!=1&&_.matchGrammar(e,t,r,V,H,!0,b),i)break}}}},tokenize:function(e,t){let r=[e],n=t.rest;if(n){for(let o in n)t[o]=n[o];delete t.rest}return _.matchGrammar(e,r,t,0,0,!1),r},hooks:{all:{},add:function(e,t){let r=_.hooks.all;r[e]=r[e]||[],r[e].push(t)},run:function(e,t){let r=_.hooks.all[e];if(!(!r||!r.length))for(var n=0,o;o=r[n++];)o(t)}},Token:Fe};_.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/((?:\b(?:class|interface|extends|implements|trait|instanceof|new)\s+)|(?:catch\s+\())[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:if|else|while|do|for|return|in|instanceof|function|new|try|throw|catch|finally|null|break|continue)\b/,boolean:/\b(?:true|false)\b/,function:/\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+\.?\d*|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/--?|\+\+?|!=?=?|<=?|>=?|==?=?|&&?|\|\|?|\?|\*|\/|~|\^|%/,punctuation:/[{}[\];(),.:]/};_.languages.javascript=_.languages.extend("clike",{"class-name":[_.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])[_$A-Z\xA0-\uFFFF][$\w\xA0-\uFFFF]*(?=\.(?:prototype|constructor))/,lookbehind:!0}],keyword:[{pattern:/((?:^|})\s*)(?:catch|finally)\b/,lookbehind:!0},{pattern:/(^|[^.])\b(?:as|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],number:/\b(?:(?:0[xX](?:[\dA-Fa-f](?:_[\dA-Fa-f])?)+|0[bB](?:[01](?:_[01])?)+|0[oO](?:[0-7](?:_[0-7])?)+)n?|(?:\d(?:_\d)?)+n|NaN|Infinity)\b|(?:\b(?:\d(?:_\d)?)+\.?(?:\d(?:_\d)?)*|\B\.(?:\d(?:_\d)?)+)(?:[Ee][+-]?(?:\d(?:_\d)?)+)?/,function:/[_$a-zA-Z\xA0-\uFFFF][$\w\xA0-\uFFFF]*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,operator:/-[-=]?|\+[+=]?|!=?=?|<>?>?=?|=(?:==?|>)?|&[&=]?|\|[|=]?|\*\*?=?|\/=?|~|\^=?|%=?|\?|\.{3}/});_.languages.javascript["class-name"][0].pattern=/(\b(?:class|interface|extends|implements|instanceof|new)\s+)[\w.\\]+/;_.languages.insertBefore("javascript","keyword",{regex:{pattern:/((?:^|[^$\w\xA0-\uFFFF."'\])\s])\s*)\/(\[(?:[^\]\\\r\n]|\\.)*]|\\.|[^/\\\[\r\n])+\/[gimyus]{0,6}(?=\s*($|[\r\n,.;})\]]))/,lookbehind:!0,greedy:!0},"function-variable":{pattern:/[_$a-zA-Z\xA0-\uFFFF][$\w\xA0-\uFFFF]*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|[_$a-zA-Z\xA0-\uFFFF][$\w\xA0-\uFFFF]*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+[_$A-Za-z\xA0-\uFFFF][$\w\xA0-\uFFFF]*)?\s*\(\s*)(?!\s)(?:[^()]|\([^()]*\))+?(?=\s*\))/,lookbehind:!0,inside:_.languages.javascript},{pattern:/[_$a-z\xA0-\uFFFF][$\w\xA0-\uFFFF]*(?=\s*=>)/i,inside:_.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()]|\([^()]*\))+?(?=\s*\)\s*=>)/,lookbehind:!0,inside:_.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:[_$A-Za-z\xA0-\uFFFF][$\w\xA0-\uFFFF]*\s*)\(\s*)(?!\s)(?:[^()]|\([^()]*\))+?(?=\s*\)\s*\{)/,lookbehind:!0,inside:_.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/});_.languages.markup&&_.languages.markup.tag.addInlined("script","javascript");_.languages.js=_.languages.javascript;_.languages.typescript=_.languages.extend("javascript",{keyword:/\b(?:abstract|as|async|await|break|case|catch|class|const|constructor|continue|debugger|declare|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|is|keyof|let|module|namespace|new|null|of|package|private|protected|public|readonly|return|require|set|static|super|switch|this|throw|try|type|typeof|var|void|while|with|yield)\b/,builtin:/\b(?:string|Function|any|number|boolean|Array|symbol|console|Promise|unknown|never)\b/});_.languages.ts=_.languages.typescript;function Fe(e,t,r,n,o){this.type=e,this.content=t,this.alias=r,this.length=(n||"").length|0,this.greedy=!!o}Fe.stringify=function(e,t){return typeof e=="string"?e:Array.isArray(e)?e.map(function(r){return Fe.stringify(r,t)}).join(""):vf(e.type)(e.content)};function vf(e){return Sa[e]||Ef}function Ra(e){return Af(e,_.languages.javascript)}function Af(e,t){return _.tokenize(e,t).map(n=>Fe.stringify(n)).join("")}d();p();f();var Oa=ve(Ds());function Fa(e){return(0,Oa.default)(e)}var On=class e{static read(t){let r;try{r=un.readFileSync(t,"utf-8")}catch(n){return null}return e.fromContent(r)}static fromContent(t){let r=t.split(/\r?\n/);return new e(1,r)}constructor(t,r){this.firstLineNumber=t,this.lines=r}get lastLineNumber(){return this.firstLineNumber+this.lines.length-1}mapLineAt(t,r){if(tthis.lines.length+this.firstLineNumber)return this;let n=t-this.firstLineNumber,o=[...this.lines];return o[n]=r(o[n]),new e(this.firstLineNumber,o)}mapLines(t){return new e(this.firstLineNumber,this.lines.map((r,n)=>t(r,this.firstLineNumber+n)))}lineAt(t){return this.lines[t-this.firstLineNumber]}prependSymbolAt(t,r){return this.mapLines((n,o)=>o===t?`${r} ${n}`:` ${n}`)}slice(t,r){let n=this.lines.slice(t-1,r).join(` +`);return new e(t,Fa(n).split(` +`))}highlight(){let t=Ra(this.toString());return new e(this.firstLineNumber,t.split(` +`))}toString(){return this.lines.join(` +`)}};var Tf={red:_t,gray:an,dim:nn,bold:tt,underline:Ms,highlightSource:e=>e.highlight()},Cf={red:e=>e,gray:e=>e,dim:e=>e,bold:e=>e,underline:e=>e,highlightSource:e=>e};function Mf({callsite:e,message:t,originalMethod:r,isPanic:n,callArguments:o},i){var m;let s={functionName:`prisma.${r}()`,message:t,isPanic:n!=null?n:!1,callArguments:o};if(!e||typeof window!="undefined"||y.env.NODE_ENV==="production")return s;let a=e.getLocation();if(!a||!a.lineNumber||!a.columnNumber)return s;let u=Math.max(1,a.lineNumber-3),l=(m=On.read(a.fileName))==null?void 0:m.slice(u,a.lineNumber),c=l==null?void 0:l.lineAt(a.lineNumber);if(l&&c){let g=Rf(c),w=Sf(c);if(!w)return s;s.functionName=`${w.code})`,s.location=a,n||(l=l.mapLineAt(a.lineNumber,b=>b.slice(0,w.openingBraceIndex))),l=i.highlightSource(l);let E=String(l.lastLineNumber).length;if(s.contextLines=l.mapLines((b,T)=>i.gray(String(T).padStart(E))+" "+b).mapLines(b=>i.dim(b)).prependSymbolAt(a.lineNumber,i.bold(i.red("\u2192"))),o){let b=g+E+1;b+=2,s.callArguments=(0,Ia.default)(o,b).slice(b)}}return s}function Sf(e){let t=Object.keys(Ce.ModelAction).join("|"),n=new RegExp(String.raw`\.(${t})\(`).exec(e);if(n){let o=n.index+n[0].length,i=e.lastIndexOf(" ",n.index)+1;return{code:e.slice(i,o),openingBraceIndex:o}}return null}function Rf(e){let t=0;for(let r=0;r{if("rejectOnNotFound"in n.args){let i=zt({originalMethod:n.clientMethod,callsite:n.callsite,message:"'rejectOnNotFound' option is not supported"});throw new pe(i,{clientVersion:t})}return await r(n).catch(i=>{throw i instanceof ce&&i.code==="P2025"?new Ke(`No ${e} found`,t):i})}}d();p();f();function $e(e){return e.replace(/^./,t=>t.toLowerCase())}var kf=["findUnique","findUniqueOrThrow","findFirst","findFirstOrThrow","create","update","upsert","delete"],Df=["aggregate","count","groupBy"];function Ho(e,t){var o;let r=(o=e._extensions.getAllModelExtensions(t))!=null?o:{},n=[_f(e,t),Lf(e,t),gr(r),ge("name",()=>t),ge("$name",()=>t),ge("$parent",()=>e._appliedParent)];return Le({},n)}function _f(e,t){let r=$e(t),n=Object.keys(Ce.ModelAction).concat("count");return{getKeys(){return n},getPropertyValue(o){let i=o,s=u=>e._request(u);s=ka(i,t,e._clientVersion,s);let a=u=>l=>{let c=lt(e._errorFormat);return e._createPrismaPromise(m=>{let g={args:l,dataPath:[],action:i,model:t,clientMethod:`${r}.${o}`,jsModelName:r,transaction:m,callsite:c};return s({...g,...u})})};return kf.includes(i)?Wo(e,t,a):Nf(o)?Aa(e,o,a):a({})}}}function Nf(e){return Df.includes(e)}function Lf(e,t){return bt(ge("fields",()=>{let r=e._runtimeDataModel.models[t];return Ta(t,r)}))}d();p();f();function Da(e){return e.replace(/^./,t=>t.toUpperCase())}var zo=Symbol();function wr(e){let t=[Bf(e),ge(zo,()=>e),ge("$parent",()=>e._appliedParent)],r=e._extensions.getAllClientExtensions();return r&&t.push(gr(r)),Le(e,t)}function Bf(e){let t=Object.keys(e._runtimeDataModel.models),r=t.map($e),n=[...new Set(t.concat(r))];return bt({getKeys(){return n},getPropertyValue(o){let i=Da(o);if(e._runtimeDataModel.models[i]!==void 0)return Ho(e,i);if(e._runtimeDataModel.models[o]!==void 0)return Ho(e,o)},getPropertyDescriptor(o){if(!r.includes(o))return{enumerable:!1}}})}function Fn(e){return e[zo]?e[zo]:e}function _a(e){if(typeof e=="function")return e(this);let t=Fn(this),r=Object.create(t,{_extensions:{value:this._extensions.append(e)},_appliedParent:{value:this,configurable:!0},$use:{value:void 0},$on:{value:void 0}});return wr(r)}d();p();f();d();p();f();function Na({result:e,modelName:t,select:r,extensions:n}){let o=n.getAllComputedFields(t);if(!o)return e;let i=[],s=[];for(let a of Object.values(o)){if(r){if(!r[a.name])continue;let u=a.needs.filter(l=>!r[l]);u.length>0&&s.push(yr(u))}jf(e,a.needs)&&i.push(Uf(a,Le(e,i)))}return i.length>0||s.length>0?Le(e,[...i,...s]):e}function jf(e,t){return t.every(r=>Oo(e,r))}function Uf(e,t){return bt(ge(e.name,()=>e.compute(t)))}d();p();f();function In({visitor:e,result:t,args:r,runtimeDataModel:n,modelName:o}){var s;if(Array.isArray(t)){for(let a=0;ac.name===i);if(!u||u.kind!=="object"||!u.relationName)continue;let l=typeof s=="object"?s:{};t[i]=In({visitor:o,result:t[i],args:l,modelName:u.type,runtimeDataModel:n})}}function Ba({result:e,modelName:t,args:r,extensions:n,runtimeDataModel:o}){return n.isEmpty()||e==null||typeof e!="object"||!o.models[t]?e:In({result:e,args:r!=null?r:{},modelName:t,runtimeDataModel:o,visitor:(s,a,u)=>Na({result:s,modelName:$e(a),select:u.select,extensions:n})})}d();p();f();d();p();f();function ja(e){if(e instanceof xe)return $f(e);if(Array.isArray(e)){let r=[e[0]];for(let n=1;n{var s,a;let i=t.customDataProxyFetch;return"transaction"in t&&o!==void 0&&(((s=t.transaction)==null?void 0:s.kind)==="batch"&&t.transaction.lock.then(),t.transaction=o),n===r.length?e._executeRequest(t):r[n]({model:t.model,operation:t.model?t.action:t.clientMethod,args:ja((a=t.args)!=null?a:{}),__internalParams:t,query:(u,l=t)=>{let c=l.customDataProxyFetch;return l.customDataProxyFetch=Ga(i,c),l.args=u,$a(e,l,r,n+1)}})})}function qa(e,t){let{jsModelName:r,action:n,clientMethod:o}=t,i=r?n:o;if(e._extensions.isEmpty())return e._executeRequest(t);let s=e._extensions.getAllQueryCallbacks(r!=null?r:"$none",i);return $a(e,t,s)}function Va(e){return t=>{let r={requests:t},n=t[0].extensions.getAllBatchQueryCallbacks();return n.length?Ka(r,n,0,e):e(r)}}function Ka(e,t,r,n){if(r===t.length)return n(e);let o=e.customDataProxyFetch,i=e.requests[0].transaction;return t[r]({args:{queries:e.requests.map(s=>({model:s.modelName,operation:s.action,args:s.args})),transaction:i?{isolationLevel:i.kind==="batch"?i.isolationLevel:void 0}:void 0},__internalParams:e,query(s,a=e){let u=a.customDataProxyFetch;return a.customDataProxyFetch=Ga(o,u),Ka(a,t,r+1,n)}})}var Ua=e=>e;function Ga(e=Ua,t=Ua){return r=>e(t(r))}d();p();f();d();p();f();function Qa(e,t,r){let n=$e(r);return!t.result||!(t.result.$allModels||t.result[n])?e:qf({...e,...Ja(t.name,e,t.result.$allModels),...Ja(t.name,e,t.result[n])})}function qf(e){let t=new Ne,r=(n,o)=>t.getOrCreate(n,()=>o.has(n)?[n]:(o.add(n),e[n]?e[n].needs.flatMap(i=>r(i,o)):[n]));return jt(e,n=>({...n,needs:r(n.name,new Set)}))}function Ja(e,t,r){return r?jt(r,({needs:n,compute:o},i)=>({name:i,needs:n?Object.keys(n).filter(s=>n[s]):[],compute:Vf(t,i,o)})):{}}function Vf(e,t,r){var o;let n=(o=e==null?void 0:e[t])==null?void 0:o.compute;return n?i=>r({...i,[t]:n(i)}):r}function Wa(e,t){if(!t)return e;let r={...e};for(let n of Object.values(t))if(e[n.name])for(let o of n.needs)r[o]=!0;return r}var kn=class{constructor(t,r){this.extension=t;this.previous=r;this.computedFieldsCache=new Ne;this.modelExtensionsCache=new Ne;this.queryCallbacksCache=new Ne;this.clientExtensions=cr(()=>{var t,r;return this.extension.client?{...(r=this.previous)==null?void 0:r.getAllClientExtensions(),...this.extension.client}:(t=this.previous)==null?void 0:t.getAllClientExtensions()});this.batchCallbacks=cr(()=>{var n,o,i;let t=(o=(n=this.previous)==null?void 0:n.getAllBatchQueryCallbacks())!=null?o:[],r=(i=this.extension.query)==null?void 0:i.$__internalBatch;return r?t.concat(r):t})}getAllComputedFields(t){return this.computedFieldsCache.getOrCreate(t,()=>{var r;return Qa((r=this.previous)==null?void 0:r.getAllComputedFields(t),this.extension,t)})}getAllClientExtensions(){return this.clientExtensions.get()}getAllModelExtensions(t){return this.modelExtensionsCache.getOrCreate(t,()=>{var n,o;let r=$e(t);return!this.extension.model||!(this.extension.model[r]||this.extension.model.$allModels)?(n=this.previous)==null?void 0:n.getAllModelExtensions(t):{...(o=this.previous)==null?void 0:o.getAllModelExtensions(t),...this.extension.model.$allModels,...this.extension.model[r]}})}getAllQueryCallbacks(t,r){return this.queryCallbacksCache.getOrCreate(`${t}:${r}`,()=>{var s,a;let n=(a=(s=this.previous)==null?void 0:s.getAllQueryCallbacks(t,r))!=null?a:[],o=[],i=this.extension.query;return!i||!(i[t]||i.$allModels||i[r]||i.$allOperations)?n:(i[t]!==void 0&&(i[t][r]!==void 0&&o.push(i[t][r]),i[t].$allOperations!==void 0&&o.push(i[t].$allOperations)),t!=="$none"&&i.$allModels!==void 0&&(i.$allModels[r]!==void 0&&o.push(i.$allModels[r]),i.$allModels.$allOperations!==void 0&&o.push(i.$allModels.$allOperations)),i[r]!==void 0&&o.push(i[r]),i.$allOperations!==void 0&&o.push(i.$allOperations),n.concat(o))})}getAllBatchQueryCallbacks(){return this.batchCallbacks.get()}},Dn=class e{constructor(t){this.head=t}static empty(){return new e}static single(t){return new e(new kn(t))}isEmpty(){return this.head===void 0}append(t){return new e(new kn(t,this.head))}getAllComputedFields(t){var r;return(r=this.head)==null?void 0:r.getAllComputedFields(t)}getAllClientExtensions(){var t;return(t=this.head)==null?void 0:t.getAllClientExtensions()}getAllModelExtensions(t){var r;return(r=this.head)==null?void 0:r.getAllModelExtensions(t)}getAllQueryCallbacks(t,r){var n,o;return(o=(n=this.head)==null?void 0:n.getAllQueryCallbacks(t,r))!=null?o:[]}getAllBatchQueryCallbacks(){var t,r;return(r=(t=this.head)==null?void 0:t.getAllBatchQueryCallbacks())!=null?r:[]}};d();p();f();var Ha=he("prisma:client"),za={Vercel:"vercel","Netlify CI":"netlify"};function Za({postinstall:e,ciName:t,clientVersion:r}){if(Ha("checkPlatformCaching:postinstall",e),Ha("checkPlatformCaching:ciName",t),e===!0&&t&&t in za){let n=`Prisma has detected that this project was built on ${t}, which caches dependencies. This leads to an outdated Prisma Client because Prisma's auto-generation isn't triggered. To fix this, make sure to run the \`prisma generate\` command during the build process. -`),s.afterLines=")",s.indentValue=String(l+p+1).length+Zg(S)+1+(_?2:0)}}}return s}u(Xg,"parseStack");var Bn=u(e=>{let{callsiteStr:t,prevLines:r,functionName:n,afterLines:o,indentValue:i,lastErrorHeight:s}=Xg(e),c=` -${e.onUs?Se.default.red(`Oops, an unknown error occured! This is ${Se.default.bold("on us")}, you did nothing wrong. -It occured in the ${Se.default.bold(`\`${n}\``)} invocation${t}`):Se.default.red(`Invalid ${Se.default.bold(`\`${n}\``)} invocation${t}`)} -${r}${Se.default.reset()}`;return{indent:i,stack:c,afterLines:o,lastErrorHeight:s}},"printStack");var Br=2,Ln=class{constructor(t,r){this.type=t;this.children=r;this.printFieldError=u(({error:t},r,n)=>{if(t.type==="emptySelect"){let o=n?"":` Available options are listed in ${k.default.greenBright.dim("green")}.`;return`The ${k.default.redBright("`select`")} statement for type ${k.default.bold(xt(t.field.outputType.type))} must not be empty.${o}`}if(t.type==="emptyInclude"){if(r.length===0)return`${k.default.bold(xt(t.field.outputType.type))} does not have any relation and therefore can't have an ${k.default.redBright("`include`")} statement.`;let o=n?"":` Available options are listed in ${k.default.greenBright.dim("green")}.`;return`The ${k.default.redBright("`include`")} statement for type ${k.default.bold(xt(t.field.outputType.type))} must not be empty.${o}`}if(t.type==="noTrueSelect")return`The ${k.default.redBright("`select`")} statement for type ${k.default.bold(xt(t.field.outputType.type))} needs ${k.default.bold("at least one truthy value")}.`;if(t.type==="includeAndSelect")return`Please ${k.default.bold("either")} use ${k.default.greenBright("`include`")} or ${k.default.greenBright("`select`")}, but ${k.default.redBright("not both")} at the same time.`;if(t.type==="invalidFieldName"){let o=t.isInclude?"include":"select",i=t.isIncludeScalar?"Invalid scalar":"Unknown",s=n?"":t.isInclude&&r.length===0?` -This model has no relations, so you can't use ${k.default.redBright("include")} with it.`:` Available options are listed in ${k.default.greenBright.dim("green")}.`,a=`${i} field ${k.default.redBright(`\`${t.providedName}\``)} for ${k.default.bold(o)} statement on model ${k.default.bold.white(t.modelName)}.${s}`;return t.didYouMean&&(a+=` Did you mean ${k.default.greenBright(`\`${t.didYouMean}\``)}?`),t.isIncludeScalar&&(a+=` -Note, that ${k.default.bold("include")} statements only accept relation fields.`),a}if(t.type==="invalidFieldType")return`Invalid value ${k.default.redBright(`${jr(t.providedValue)}`)} of type ${k.default.redBright(qt(t.providedValue,void 0))} for field ${k.default.bold(`${t.fieldName}`)} on model ${k.default.bold.white(t.modelName)}. Expected either ${k.default.greenBright("true")} or ${k.default.greenBright("false")}.`},"printFieldError");this.printArgError=u(({error:t,path:r,id:n},o,i)=>{if(t.type==="invalidName"){let s=`Unknown arg ${k.default.redBright(`\`${t.providedName}\``)} in ${k.default.bold(r.join("."))} for type ${k.default.bold(t.outputType?t.outputType.name:fr(t.originalType))}.`;return t.didYouMeanField?s+=` -\u2192 Did you forget to wrap it with \`${k.default.greenBright("select")}\`? ${k.default.dim("e.g. "+k.default.greenBright(`{ select: { ${t.providedName}: ${t.providedValue} } }`))}`:t.didYouMeanArg?(s+=` Did you mean \`${k.default.greenBright(t.didYouMeanArg)}\`?`,!o&&!i&&(s+=` ${k.default.dim("Available args:")} -`+Ut(t.originalType,!0))):t.originalType.fields.length===0?s+=` The field ${k.default.bold(t.originalType.name)} has no arguments.`:!o&&!i&&(s+=` Available args: +Learn how: https://pris.ly/d/${za[t]}-build`;throw console.error(n),new re(n,r)}}d();p();f();function Ya(e,t){return e?e.datasources?e.datasources:e.datasourceUrl?{[t[0]]:{url:e.datasourceUrl}}:{}:{}}d();p();f();d();p();f();d();p();f();function Zo({error:e,user_facing_error:t},r){return t.error_code?new ce(t.message,{code:t.error_code,clientVersion:r,meta:t.meta,batchRequestIdx:t.batch_request_idx}):new Se(e,{clientVersion:r,batchRequestIdx:t.batch_request_idx})}d();p();f();var _n=class{};d();p();f();function Xa(e,t){return{batch:e,transaction:(t==null?void 0:t.kind)==="batch"?{isolationLevel:t.options.isolationLevel}:void 0}}d();p();f();d();p();f();d();p();f();var Kf="Cloudflare-Workers",Gf="node";function eu(){var e,t,r;return typeof Netlify=="object"?"netlify":typeof EdgeRuntime=="string"?"edge-light":((e=globalThis.navigator)==null?void 0:e.userAgent)===Kf?"workerd":globalThis.Deno?"deno":globalThis.__lagon__?"lagon":((r=(t=globalThis.process)==null?void 0:t.release)==null?void 0:r.name)===Gf?"node":globalThis.Bun?"bun":globalThis.fastly?"fastly":"unknown"}function Nn({inlineDatasources:e,overrideDatasources:t,env:r,clientVersion:n}){var u,l;let o,i=Object.keys(e)[0],s=(u=e[i])==null?void 0:u.url,a=(l=t[i])==null?void 0:l.url;if(i===void 0?o=void 0:a?o=a:s!=null&&s.value?o=s.value:s!=null&&s.fromEnvVar&&(o=r[s.fromEnvVar]),(s==null?void 0:s.fromEnvVar)!==void 0&&o===void 0)throw eu()==="workerd"?new re(`error: Environment variable not found: ${s.fromEnvVar}. -`+Ut(t.originalType,!0)),s}if(t.type==="invalidType"){let s=jr(t.providedValue,{indent:" "}),a=s.split(` -`).length>1;if(a&&(s=` -${s} -`),t.requiredType.bestFittingType.location==="enumTypes")return`Argument ${k.default.bold(t.argName)}: Provided value ${k.default.redBright(s)}${a?"":" "}of type ${k.default.redBright(qt(t.providedValue))} on ${k.default.bold(`prisma.${this.children[0].name}`)} is not a ${k.default.greenBright(pr(Lt(t.requiredType.bestFittingType.location),t.requiredType.bestFittingType.isList))}. -\u2192 Possible values: ${t.requiredType.bestFittingType.type.values.map(p=>k.default.greenBright(`${Lt(t.requiredType.bestFittingType.type)}.${p}`)).join(", ")}`;let c=".";er(t.requiredType.bestFittingType.type)&&(c=`: -`+Ut(t.requiredType.bestFittingType.type));let l=`${t.requiredType.inputType.map(p=>k.default.greenBright(pr(Lt(p.type),t.requiredType.bestFittingType.isList))).join(" or ")}${c}`,f=t.requiredType.inputType.length===2&&t.requiredType.inputType.find(p=>er(p.type))||null;return f&&(l+=` -`+Ut(f.type,!0)),`Argument ${k.default.bold(t.argName)}: Got invalid value ${k.default.redBright(s)}${a?"":" "}on ${k.default.bold(`prisma.${this.children[0].name}`)}. Provided ${k.default.redBright(qt(t.providedValue))}, expected ${l}`}if(t.type==="invalidNullArg"){let s=r.length===1&&r[0]===t.name?"":` for ${k.default.bold(`${r.join(".")}`)}`,a=` Please use ${k.default.bold.greenBright("undefined")} instead.`;return`Argument ${k.default.greenBright(t.name)}${s} must not be ${k.default.bold("null")}.${a}`}if(t.type==="missingArg"){let s=r.length===1&&r[0]===t.missingName?"":` for ${k.default.bold(`${r.join(".")}`)}`;return`Argument ${k.default.greenBright(t.missingName)}${s} is missing.`}if(t.type==="atLeastOne"){let s=i?"":` Available args are listed in ${k.default.dim.green("green")}.`;return`Argument ${k.default.bold(r.join("."))} of type ${k.default.bold(t.inputType.name)} needs ${k.default.greenBright("at least one")} argument.${s}`}if(t.type==="atMostOne"){let s=i?"":` Please choose one. ${k.default.dim("Available args:")} -${Ut(t.inputType,!0)}`;return`Argument ${k.default.bold(r.join("."))} of type ${k.default.bold(t.inputType.name)} needs ${k.default.greenBright("exactly one")} argument, but you provided ${t.providedKeys.map(a=>k.default.redBright(a)).join(" and ")}.${s}`}},"printArgError");this.type=t,this.children=r}get[Symbol.toStringTag](){return"Document"}toString(){return`${this.type} { -${(0,yt.default)(this.children.map(String).join(` -`),Br)} -}`}validate(t,r=!1,n,o,i){var S;t||(t={});let s=this.children.filter(T=>T.hasInvalidChild||T.hasInvalidArg);if(s.length===0)return;let a=[],c=[],l=t&&t.select?"select":t.include?"include":void 0;for(let T of s){let _=T.collectErrors(l);a.push(..._.fieldErrors.map(P=>({...P,path:r?P.path:P.path.slice(1)}))),c.push(..._.argErrors.map(P=>({...P,path:r?P.path:P.path.slice(1)})))}let f=this.children[0].name,p=r?this.type:f,h=[],w=[],v=[];for(let T of a){let _=this.normalizePath(T.path,t).join(".");if(T.error.type==="invalidFieldName"){h.push(_);let P=T.error.outputType,{isInclude:O}=T.error;P.fields.filter(F=>O?F.outputType.location==="outputObjectTypes":!0).forEach(F=>{let R=_.split(".");v.push({path:`${R.slice(0,R.length-1).join(".")}.${F.name}`,type:"true",isRequired:!1})})}else T.error.type==="includeAndSelect"?(h.push("select"),h.push("include")):w.push(_);if(T.error.type==="emptySelect"||T.error.type==="noTrueSelect"||T.error.type==="emptyInclude"){let P=this.normalizePath(T.path,t),O=P.slice(0,P.length-1).join(".");(S=T.error.field.outputType.type.fields)==null||S.filter(R=>T.error.type==="emptyInclude"?R.outputType.location==="outputObjectTypes":!0).forEach(R=>{v.push({path:`${O}.${R.name}`,type:"true",isRequired:!1})})}}for(let T of c){let _=this.normalizePath(T.path,t).join(".");if(T.error.type==="invalidName")h.push(_);else if(T.error.type!=="missingArg"&&T.error.type!=="atLeastOne")w.push(_);else if(T.error.type==="missingArg"){let P=T.error.missingArg.inputTypes.length===1?T.error.missingArg.inputTypes[0].type:T.error.missingArg.inputTypes.map(O=>{let F=fr(O.type);return F==="Null"?"null":O.isList?F+"[]":F}).join(" | ");v.push({path:_,type:yo(P,!0,_.split("where.").length===2),isRequired:T.error.missingArg.isRequired})}}let y=u(T=>{let _=c.some(G=>G.error.type==="missingArg"&&G.error.missingArg.isRequired),P=Boolean(c.find(G=>G.error.type==="missingArg"&&!G.error.missingArg.isRequired)),O=P||_,F="";_&&(F+=` -${k.default.dim("Note: Lines with ")}${k.default.reset.greenBright("+")} ${k.default.dim("are required")}`),P&&(F.length===0&&(F=` -`),_?F+=k.default.dim(`, lines with ${k.default.green("?")} are optional`):F+=k.default.dim(`Note: Lines with ${k.default.green("?")} are optional`),F+=k.default.dim("."));let $=c.filter(G=>G.error.type!=="missingArg"||G.error.missingArg.isRequired).map(G=>this.printArgError(G,O,o==="minimal")).join(` -`);if($+=` -${a.map(G=>this.printFieldError(G,v,o==="minimal")).join(` -`)}`,o==="minimal")return(0,ai.default)($);let{stack:Q,indent:te,afterLines:U}=Bn({callsite:T,originalMethod:n||p,showColors:o&&o==="pretty",isValidationError:!0}),H={ast:r?{[f]:t}:t,keyPaths:h,valuePaths:w,missingItems:v};n!=null&&n.endsWith("aggregate")&&(H=ud(H));let z=`${Q}${(0,yt.default)(Dn(H),te).slice(te)}${k.default.dim(U)} - -${$}${F} -`;return b.env.NO_COLOR||o==="colorless"?(0,ai.default)(z):z},"renderErrorStr"),A=new Oe(y(i));throw b.env.NODE_ENV!=="production"&&Object.defineProperty(A,"render",{get:()=>y,enumerable:!1}),A}normalizePath(t,r){let n=t.slice(),o=[],i,s=r;for(;(i=n.shift())!==void 0;)!Array.isArray(s)&&i===0||(i==="select"?s[i]?s=s[i]:s=s.include:s&&s[i]&&(s=s[i]),o.push(i));return o}};u(Ln,"Document");var Oe=class extends Error{get[Symbol.toStringTag](){return"PrismaClientValidationError"}};u(Oe,"PrismaClientValidationError");var ne=class extends Error{constructor(t){super(t+` -Read more at https://pris.ly/d/client-constructor`)}get[Symbol.toStringTag](){return"PrismaClientConstructorValidationError"}};u(ne,"PrismaClientConstructorValidationError");var pe=class{constructor({name:t,args:r,children:n,error:o,schemaField:i}){this.name=t,this.args=r,this.children=n,this.error=o,this.schemaField=i,this.hasInvalidChild=n?n.some(s=>Boolean(s.error||s.hasInvalidArg||s.hasInvalidChild)):!1,this.hasInvalidArg=r?r.hasInvalidArg:!1}get[Symbol.toStringTag](){return"Field"}toString(){let t=this.name;return this.error?t+" # INVALID_FIELD":(this.args&&this.args.args&&this.args.args.length>0&&(this.args.args.length===1?t+=`(${this.args.toString()})`:t+=`( -${(0,yt.default)(this.args.toString(),Br)} -)`),this.children&&(t+=` { -${(0,yt.default)(this.children.map(String).join(` -`),Br)} -}`),t)}collectErrors(t="select"){let r=[],n=[];if(this.error&&r.push({path:[this.name],error:this.error}),this.children)for(let o of this.children){let i=o.collectErrors(t);r.push(...i.fieldErrors.map(s=>({...s,path:[this.name,t,...s.path]}))),n.push(...i.argErrors.map(s=>({...s,path:[this.name,t,...s.path]})))}return this.args&&n.push(...this.args.collectErrors().map(o=>({...o,path:[this.name,...o.path]}))),{fieldErrors:r,argErrors:n}}};u(pe,"Field");var ge=class{constructor(t=[]){this.args=t,this.hasInvalidArg=t?t.some(r=>Boolean(r.hasError)):!1}get[Symbol.toStringTag](){return"Args"}toString(){return this.args.length===0?"":`${this.args.map(t=>t.toString()).filter(t=>t).join(` -`)}`}collectErrors(){return this.hasInvalidArg?ti(this.args,t=>t.collectErrors()):[]}};u(ge,"Args");function ii(e,t){return E.Buffer.isBuffer(e)?JSON.stringify(e.toString("base64")):Object.prototype.toString.call(e)==="[object BigInt]"?e.toString():typeof(t==null?void 0:t.type)=="string"&&t.type==="Json"?e===null?"null":e&&e.values&&e.__prismaRawParamaters__?JSON.stringify(e.values):(t==null?void 0:t.isList)&&Array.isArray(e)?JSON.stringify(e.map(r=>JSON.stringify(r))):JSON.stringify(JSON.stringify(e)):e===void 0?null:e===null?"null":Re.isDecimal(e)||(t==null?void 0:t.type)==="Decimal"&&un(e)?Fs(e):(t==null?void 0:t.location)==="enumTypes"&&typeof e=="string"?Array.isArray(e)?`[${e.join(", ")}]`:e:JSON.stringify(e,null,2)}u(ii,"stringify");var Me=class{constructor({key:t,value:r,isEnum:n=!1,error:o,schemaArg:i,inputType:s}){this.inputType=s,this.key=t,this.value=r,this.isEnum=n,this.error=o,this.schemaArg=i,this.isNullable=(i==null?void 0:i.inputTypes.reduce(a=>a&&i.isNullable,!0))||!1,this.hasError=Boolean(o)||(r instanceof ge?r.hasInvalidArg:!1)||Array.isArray(r)&&r.some(a=>a instanceof ge?a.hasInvalidArg:!1)}get[Symbol.toStringTag](){return"Arg"}_toString(t,r){var n;if(typeof t!="undefined"){if(t instanceof ge)return`${r}: { -${(0,yt.default)(t.toString(),2)} -}`;if(Array.isArray(t)){if(((n=this.inputType)==null?void 0:n.type)==="Json")return`${r}: ${ii(t,this.inputType)}`;let o=!t.some(i=>typeof i=="object");return`${r}: [${o?"":` -`}${(0,yt.default)(t.map(i=>i instanceof ge?`{ -${(0,yt.default)(i.toString(),Br)} -}`:ii(i,this.inputType)).join(`,${o?" ":` -`}`),o?0:Br)}${o?"":` -`}]`}return`${r}: ${ii(t,this.inputType)}`}}toString(){return this._toString(this.value,this.key)}collectErrors(){var r;if(!this.hasError)return[];let t=[];if(this.error){let n=typeof((r=this.inputType)==null?void 0:r.type)=="object"?`${this.inputType.type.name}${this.inputType.isList?"[]":""}`:void 0;t.push({error:this.error,path:[this.key],id:n})}return Array.isArray(this.value)&&t.push(...ti(this.value,(n,o)=>n!=null&&n.collectErrors?n.collectErrors().map(i=>({...i,path:[this.key,o,...i.path]})):[])),this.value instanceof ge&&t.push(...this.value.collectErrors().map(n=>({...n,path:[this.key,...n.path]}))),t}};u(Me,"Arg");function Vn({dmmf:e,rootTypeName:t,rootField:r,select:n}){n||(n={});let o=t==="query"?e.queryType:e.mutationType,i={args:[],outputType:{isList:!1,type:o,location:"outputObjectTypes"},name:t},s=ju(e,{[r]:n},i,[t]);return new Ln(t,s)}u(Vn,"makeDocument");function fi(e){return e}u(fi,"transformDocument");function ju(e,t,r,n){let o=r.outputType.type;return Object.entries(t).reduce((i,[s,a])=>{let c=o.fieldMap?o.fieldMap[s]:o.fields.find(A=>A.name===s);if(!c)return i.push(new pe({name:s,children:[],error:{type:"invalidFieldName",modelName:o.name,providedName:s,didYouMean:cn(s,o.fields.map(A=>A.name)),outputType:o}})),i;if(typeof a!="boolean"&&c.outputType.location==="scalar"&&c.name!=="executeRaw"&&c.name!=="queryRaw"&&c.name!=="runCommandRaw"&&o.name!=="Query"&&!s.startsWith("aggregate")&&c.name!=="count")return i.push(new pe({name:s,children:[],error:{type:"invalidFieldType",modelName:o.name,fieldName:s,providedValue:a}})),i;if(a===!1)return i;let l={name:c.name,fields:c.args,constraints:{minNumFields:null,maxNumFields:null}},f=typeof a=="object"?Au(a,["include","select"]):void 0,p=f?Un(f,l,[],typeof c=="string"?void 0:c.outputType.type):void 0,h=c.outputType.location==="outputObjectTypes";if(a){if(a.select&&a.include)i.push(new pe({name:s,children:[new pe({name:"include",args:new ge,error:{type:"includeAndSelect",field:c}})]}));else if(a.include){let A=Object.keys(a.include);if(A.length===0)return i.push(new pe({name:s,children:[new pe({name:"include",args:new ge,error:{type:"emptyInclude",field:c}})]})),i;if(c.outputType.location==="outputObjectTypes"){let S=c.outputType.type,T=S.fields.filter(P=>P.outputType.location==="outputObjectTypes").map(P=>P.name),_=A.filter(P=>!T.includes(P));if(_.length>0)return i.push(..._.map(P=>new pe({name:P,children:[new pe({name:P,args:new ge,error:{type:"invalidFieldName",modelName:S.name,outputType:S,providedName:P,didYouMean:cn(P,T)||void 0,isInclude:!0,isIncludeScalar:S.fields.some(O=>O.name===P)}})]}))),i}}else if(a.select){let A=Object.values(a.select);if(A.length===0)return i.push(new pe({name:s,children:[new pe({name:"select",args:new ge,error:{type:"emptySelect",field:c}})]})),i;if(A.filter(T=>T).length===0)return i.push(new pe({name:s,children:[new pe({name:"select",args:new ge,error:{type:"noTrueSelect",field:c}})]})),i}}let w=h?td(e,c.outputType.type):null,v=w;a&&(a.select?v=a.select:a.include?v=Dr(w,a.include):a.by&&Array.isArray(a.by)&&c.outputType.namespace==="prisma"&&c.outputType.location==="outputObjectTypes"&&Ns(c.outputType.type.name)&&(v=ed(a.by)));let y=v!==!1&&h?ju(e,v,c,[...n,s]):void 0;return i.push(new pe({name:s,args:p,children:y,schemaField:c})),i},[])}u(ju,"selectionToFields");function ed(e){let t=Object.create(null);for(let r of e)t[r]=!0;return t}u(ed,"byToSelect");function td(e,t){let r=Object.create(null);for(let n of t.fields)e.typeMap[n.outputType.type.name]!==void 0&&(r[n.name]=!0),(n.outputType.location==="scalar"||n.outputType.location==="enumTypes")&&(r[n.name]=!0);return r}u(td,"getDefaultSelection");function ui(e,t,r,n){return new Me({key:e,value:t,isEnum:n.location==="enumTypes",inputType:n,error:{type:"invalidType",providedValue:t,argName:e,requiredType:{inputType:r.inputTypes,bestFittingType:n}}})}u(ui,"getInvalidTypeArg");function rd(e,t,r){let{type:n,isList:o}=r,i=pr(Lt(n),o),s=qt(e,n);return!!(s===i||o&&s==="List<>"||i==="Json"||s==="Int"&&i==="BigInt"||s==="List"&&i==="List"||s==="List"&&i==="List"||s==="List"&&i==="List"||(s==="Int"||s==="Float")&&i==="Decimal"||nd(s,e)&&i==="List"||s==="DateTime"&&i==="String"||s==="List"&&i==="List"||s==="UUID"&&i==="String"||s==="List"&&i==="List"||s==="String"&&i==="ID"||s==="List"&&i==="List"||s==="List"&&i==="List"||i==="List"&&(s==="List"||s==="List")||s==="Int"&&i==="Float"||s==="List"&&i==="List"||s==="Int"&&i==="Long"||s==="List"&&i==="List"||s==="String"&&i==="Decimal"&&$u(e)||e===null)}u(rd,"hasCorrectScalarType");var qn=u(e=>Eu(e,(t,r)=>r!==void 0),"cleanObject");function nd(e,t){return e==="List"||e==="List"||e==="List"&&t.every($u)}u(nd,"isValidDecimalListInput");function $u(e){return/^\-?(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i.test(e)}u($u,"isDecimalString");function od(e,t,r){let n=null,o=[];for(let i of r.inputTypes){if(n=sd(e,t,r,i),(n==null?void 0:n.collectErrors().length)===0)return n;if(n&&(n==null?void 0:n.collectErrors())){let s=n==null?void 0:n.collectErrors();s&&s.length>0&&o.push({arg:n,errors:s})}}if((n==null?void 0:n.hasError)&&o.length>0){let i=o.map(({arg:s,errors:a})=>{let c=a.map(l=>{let f=1;return l.error.type==="invalidType"&&(f=2*Math.exp(Bu(l.error.providedValue))+1),f+=Math.log(l.path.length),l.error.type==="missingArg"&&s.inputType&&er(s.inputType.type)&&s.inputType.type.name.includes("Unchecked")&&(f*=2),l.error.type==="invalidName"&&er(l.error.originalType)&&l.error.originalType.name.includes("Unchecked")&&(f*=2),f});return{score:a.length+id(c),arg:s,errors:a}});return i.sort((s,a)=>s.scoret+r,0)}u(id,"sum");function sd(e,t,r,n){var l,f,p,h;if(typeof t=="undefined")return r.isRequired?new Me({key:e,value:t,isEnum:n.location==="enumTypes",inputType:n,error:{type:"missingArg",missingName:e,missingArg:r,atLeastOne:!1,atMostOne:!1}}):null;let{isNullable:o,isRequired:i}=r;if(t===null&&!o&&!i&&!(er(n.type)?n.type.constraints.minNumFields!==null&&n.type.constraints.minNumFields>0:!1))return new Me({key:e,value:t,isEnum:n.location==="enumTypes",inputType:n,error:{type:"invalidNullArg",name:e,invalidType:r.inputTypes,atLeastOne:!1,atMostOne:!1}});if(!n.isList)if(er(n.type)){if(typeof t!="object"||Array.isArray(t)||n.location==="inputObjectTypes"&&!xu(t))return ui(e,t,r,n);{let w=qn(t),v,y=Object.keys(w||{}),A=y.length;return A===0&&typeof n.type.constraints.minNumFields=="number"&&n.type.constraints.minNumFields>0?v={type:"atLeastOne",key:e,inputType:n.type}:A>1&&typeof n.type.constraints.maxNumFields=="number"&&n.type.constraints.maxNumFields<2&&(v={type:"atMostOne",key:e,inputType:n.type,providedKeys:y}),new Me({key:e,value:w===null?null:Un(w,n.type,r.inputTypes),isEnum:n.location==="enumTypes",error:v,inputType:n,schemaArg:r})}}else return Du(e,t,r,n);if(!Array.isArray(t)&&n.isList&&e!=="updateMany"&&(t=[t]),n.location==="enumTypes"||n.location==="scalar")return Du(e,t,r,n);let s=n.type,c=(typeof((l=s.constraints)==null?void 0:l.minNumFields)=="number"&&((f=s.constraints)==null?void 0:f.minNumFields)>0?Array.isArray(t)&&t.some(w=>!w||Object.keys(qn(w)).length===0):!1)?{inputType:s,key:e,type:"atLeastOne"}:void 0;if(!c){let w=typeof((p=s.constraints)==null?void 0:p.maxNumFields)=="number"&&((h=s.constraints)==null?void 0:h.maxNumFields)<2?Array.isArray(t)&&t.find(v=>!v||Object.keys(qn(v)).length!==1):!1;w&&(c={inputType:s,key:e,type:"atMostOne",providedKeys:Object.keys(w)})}if(!Array.isArray(t))for(let w of r.inputTypes){let v=Un(t,w.type);if(v.collectErrors().length===0)return new Me({key:e,value:v,isEnum:!1,schemaArg:r,inputType:w})}return new Me({key:e,value:t.map(w=>n.isList&&typeof w!="object"?w:typeof w!="object"||!t?ui(e,w,r,n):Un(w,s)),isEnum:!1,inputType:n,schemaArg:r,error:c})}u(sd,"tryInferArgs");function er(e){return!(typeof e=="string"||Object.hasOwnProperty.call(e,"values"))}u(er,"isInputArgType");function Du(e,t,r,n){return rd(t,r,n)?new Me({key:e,value:t,isEnum:n.location==="enumTypes",schemaArg:r,inputType:n}):ui(e,t,r,n)}u(Du,"scalarToArg");function Un(e,t,r,n){let o=qn(e),{fields:i,fieldMap:s}=t,a=i.map(p=>[p.name,void 0]),c=Object.entries(o||{}),f=ks(c,a,p=>p[0]).reduce((p,[h,w])=>{let v=s?s[h]:i.find(A=>A.name===h);if(!v){let A=typeof w=="boolean"&&n&&n.fields.some(S=>S.name===h)?h:null;return p.push(new Me({key:h,value:w,error:{type:"invalidName",providedName:h,providedValue:w,didYouMeanField:A,didYouMeanArg:!A&&cn(h,[...i.map(S=>S.name),"select"])||void 0,originalType:t,possibilities:r,outputType:n}})),p}let y=od(h,w,v);return y&&p.push(y),p},[]);if(typeof t.constraints.minNumFields=="number"&&c.length{var h,w;return((h=p.error)==null?void 0:h.type)==="missingArg"||((w=p.error)==null?void 0:w.type)==="atLeastOne"})){let p=t.fields.filter(h=>!h.isRequired&&o&&(typeof o[h.name]=="undefined"||o[h.name]===null));f.push(...p.map(h=>{let w=h.inputTypes[0];return new Me({key:h.name,value:void 0,isEnum:w.location==="enumTypes",error:{type:"missingArg",missingName:h.name,missingArg:h,atLeastOne:Boolean(t.constraints.minNumFields)||!1,atMostOne:t.constraints.maxNumFields===1||!1},inputType:w})}))}return new ge(f)}u(Un,"objectToArgs");function Gn({document:e,path:t,data:r}){let n=Zo(r,t);if(n==="undefined")return null;if(typeof n!="object")return n;let o=ad(e,t);return ci({field:o,data:n})}u(Gn,"unpack");function ci({field:e,data:t}){var n;if(!t||typeof t!="object"||!e.children||!e.schemaField)return t;let r={DateTime:o=>new Date(o),Json:o=>JSON.parse(o),Bytes:o=>E.Buffer.from(o,"base64"),Decimal:o=>new Re(o),BigInt:o=>BigInt(o)};for(let o of e.children){let i=(n=o.schemaField)==null?void 0:n.outputType.type;if(i&&typeof i=="string"){let s=r[i];if(s)if(Array.isArray(t))for(let a of t)typeof a[o.name]!="undefined"&&a[o.name]!==null&&(Array.isArray(a[o.name])?a[o.name]=a[o.name].map(s):a[o.name]=s(a[o.name]));else typeof t[o.name]!="undefined"&&t[o.name]!==null&&(Array.isArray(t[o.name])?t[o.name]=t[o.name].map(s):t[o.name]=s(t[o.name]))}if(o.schemaField&&o.schemaField.outputType.location==="outputObjectTypes")if(Array.isArray(t))for(let s of t)ci({field:o,data:s[o.name]});else ci({field:o,data:t[o.name]})}return t}u(ci,"mapScalars");function ad(e,t){let r=t.slice(),n=r.shift(),o=e.children.find(i=>i.name===n);if(!o)throw new Error(`Could not find field ${n} in document ${e}`);for(;r.length>0;){let i=r.shift();if(!o.children)throw new Error(`Can't get children for field ${o} with child ${i}`);let s=o.children.find(a=>a.name===i);if(!s)throw new Error(`Can't find child ${i} of field ${o}`);o=s}return o}u(ad,"getField");function si(e){return e.split(".").filter(t=>t!=="select").join(".")}u(si,"removeSelectFromPath");function li(e){if(Object.prototype.toString.call(e)==="[object Object]"){let r={};for(let n in e)if(n==="select")for(let o in e.select)r[o]=li(e.select[o]);else r[n]=li(e[n]);return r}return e}u(li,"removeSelectFromObject");function ud({ast:e,keyPaths:t,missingItems:r,valuePaths:n}){let o=t.map(si),i=n.map(si),s=r.map(c=>({path:si(c.path),isRequired:c.isRequired,type:c.type}));return{ast:li(e),keyPaths:o,missingItems:s,valuePaths:i}}u(ud,"transformAggregatePrintJsonArgs");m();g();d();An();var Uu=Z(Pn());m();g();d();var Lr=class{constructor(t){this.options=t;this.tickActive=!1;this.batches={}}request(t){let r=this.options.batchBy(t);return r?(this.batches[r]||(this.batches[r]=[],this.tickActive||(this.tickActive=!0,b.nextTick(()=>{this.dispatchBatches(),this.tickActive=!1}))),new Promise((n,o)=>{this.batches[r].push({request:t,resolve:n,reject:o})})):this.options.singleLoader(t)}dispatchBatches(){for(let t in this.batches){let r=this.batches[t];delete this.batches[t],r.length===1?this.options.singleLoader(r[0].request).then(n=>{n instanceof Error?r[0].reject(n):r[0].resolve(n)}).catch(n=>{r[0].reject(n)}):this.options.batchLoader(r.map(n=>n.request)).then(n=>{if(n instanceof Error)for(let o=0;o{for(let o=0;o{let o=qu(n),i=n.map(s=>String(s.document));return this.client._engine.requestBatch(i,o.headers,o.inTx)},singleLoader:n=>{let o=qu([n]),i=String(n.document);return this.client._engine.request(i,o.headers)},batchBy:n=>n.transactionId?`transaction-${n.transactionId}`:fd(n)})}async request({document:t,dataPath:r=[],rootField:n,typeName:o,isList:i,callsite:s,rejectOnNotFound:a,clientMethod:c,runInTransaction:l,showColors:f,engineHook:p,args:h,headers:w,transactionId:v,unpacker:y}){if(this.hooks&&this.hooks.beforeRequest){let A=String(t);this.hooks.beforeRequest({query:A,path:r,rootField:n,typeName:o,document:t,isList:i,clientMethod:c,args:h})}try{let A,S;if(p){let _=await p({document:t,runInTransaction:l},P=>this.dataloader.request(P));A=_.data,S=_.elapsed}else{let _=await this.dataloader.request({document:t,runInTransaction:l,headers:w,transactionId:v});A=_==null?void 0:_.data,S=_==null?void 0:_.elapsed}let T=this.unpack(t,A,r,n,y);return Lu(T,c,o,a),b.env.PRISMA_CLIENT_GET_TIME?{data:T,elapsed:S}:T}catch(A){ld(A);let S=A.message;if(s){let{stack:T}=Bn({callsite:s,originalMethod:c,onUs:A.isPanic,showColors:f});S=`${T} - ${A.message}`}throw S=this.sanitizeMessage(S),A.code?new Ve(S,A.code,this.client._clientVersion,A.meta):A.isPanic?new Ge(S,this.client._clientVersion):A instanceof Ne?new Ne(S,this.client._clientVersion):A instanceof ke?new ke(S,this.client._clientVersion):A instanceof Ge?new Ge(S,this.client._clientVersion):(A.clientVersion=this.client._clientVersion,A)}}sanitizeMessage(t){return this.client._errorFormat&&this.client._errorFormat!=="pretty"?(0,Uu.default)(t):t}unpack(t,r,n,o,i){r!=null&&r.data&&(r=r.data),i&&(r[o]=i(r[o]));let s=[];return o&&s.push(o),s.push(...n.filter(a=>a!=="select"&&a!=="include")),Gn({document:t,data:r,path:s})}get[Symbol.toStringTag](){return"RequestHandler"}};u(qr,"RequestHandler");function fd(e){var n;if(!e.document.children[0].name.startsWith("findUnique"))return;let t=(n=e.document.children[0].args)==null?void 0:n.args.map(o=>o.value instanceof ge?`${o.key}-${o.value.args.map(i=>i.key).join(",")}`:o.key).join(","),r=e.document.children[0].children.join(",");return`${e.document.children[0].name}|${t}|${r}`}u(fd,"batchFindUniqueBy");m();g();d();var Gu=Vu().version;m();g();d();function Ju(e){return e.map(t=>{let r={};for(let n of Object.keys(t))r[n]=zu(t[n]);return r})}u(Ju,"deserializeRawResults");function zu({prisma__type:e,prisma__value:t}){switch(e){case"bigint":return BigInt(t);case"bytes":return E.Buffer.from(t,"base64");case"decimal":return new Re(t);case"datetime":case"date":return new Date(t);case"time":return new Date(`1970-01-01T${t}Z`);case"array":return t.map(zu);default:return t}}u(zu,"deserializeValue");m();g();d();var Ur=u(e=>e.reduce((t,r,n)=>`${t}@P${n}${r}`),"mssqlPreparedStatement");m();g();d();function Wu(e,t){let r=t&&Fr.getSpanContext(t);return(r==null?void 0:r.traceFlags)===1?{traceparent:`00-${r.traceId}-${r.spanId}-01`,...e}:e!=null?e:{}}u(Wu,"applyTracingHeaders");m();g();d();async function Hu(e,t,r){if(t===void 0)return r(void 0);let o=Fr.getTracer("prisma").startSpan(e,void 0,t),i=Fr.setSpan(t,o),s=await Rn.with(i,()=>r(o));return o==null||o.end(),s}u(Hu,"runInChildSpan");m();g();d();function $e(e){try{return Qu(e,"fast")}catch(t){return Qu(e,"slow")}}u($e,"serializeRawParameters");function Qu(e,t){return JSON.stringify(e.map(r=>gd(r,t)))}u(Qu,"serializeRawParametersInternal");function gd(e,t){return typeof e=="bigint"?{prisma__type:"bigint",prisma__value:e.toString()}:dd(e)?{prisma__type:"date",prisma__value:e.toJSON()}:Re.isDecimal(e)?{prisma__type:"decimal",prisma__value:e.toJSON()}:E.Buffer.isBuffer(e)?{prisma__type:"bytes",prisma__value:e.toString("base64")}:md(e)||ArrayBuffer.isView(e)?{prisma__type:"bytes",prisma__value:E.Buffer.from(e).toString("base64")}:typeof e=="object"&&t==="slow"?Yu(e):e}u(gd,"encodeParameter");function dd(e){return e instanceof Date?!0:Object.prototype.toString.call(e)==="[object Date]"&&typeof e.toJSON=="function"}u(dd,"isDate");function md(e){return e instanceof ArrayBuffer||e instanceof SharedArrayBuffer?!0:typeof e=="object"&&e!==null?e[Symbol.toStringTag]==="ArrayBuffer"||e[Symbol.toStringTag]==="SharedArrayBuffer":!1}u(md,"isArrayBufferLike");function Yu(e){if(typeof e!="object"||e===null)return e;if(typeof e.toJSON=="function")return e.toJSON();if(Array.isArray(e))return e.map(Ku);let t={};for(let r of Object.keys(e))t[r]=Ku(e[r]);return t}u(Yu,"preprocessObject");function Ku(e){return typeof e=="bigint"?e.toString():Yu(e)}u(Ku,"preprocessValueInObject");m();g();d();var tc=Z(mo());var Zu=["datasources","errorFormat","log","__internal","rejectOnNotFound"],Xu=["pretty","colorless","minimal"],ec=["info","query","warn","error"],hd={datasources:(e,t)=>{if(!!e){if(typeof e!="object"||Array.isArray(e))throw new ne(`Invalid value ${JSON.stringify(e)} for "datasources" provided to PrismaClient constructor`);for(let[r,n]of Object.entries(e)){if(!t.includes(r)){let o=rr(r,t)||`Available datasources: ${t.join(", ")}`;throw new ne(`Unknown datasource ${r} provided to PrismaClient constructor.${o}`)}if(typeof n!="object"||Array.isArray(n))throw new ne(`Invalid value ${JSON.stringify(e)} for datasource "${r}" provided to PrismaClient constructor. -It should have this form: { url: "CONNECTION_STRING" }`);if(n&&typeof n=="object")for(let[o,i]of Object.entries(n)){if(o!=="url")throw new ne(`Invalid value ${JSON.stringify(e)} for datasource "${r}" provided to PrismaClient constructor. -It should have this form: { url: "CONNECTION_STRING" }`);if(typeof i!="string")throw new ne(`Invalid value ${JSON.stringify(i)} for datasource "${r}" provided to PrismaClient constructor. -It should have this form: { url: "CONNECTION_STRING" }`)}}}},errorFormat:e=>{if(!!e){if(typeof e!="string")throw new ne(`Invalid value ${JSON.stringify(e)} for "errorFormat" provided to PrismaClient constructor.`);if(!Xu.includes(e)){let t=rr(e,Xu);throw new ne(`Invalid errorFormat ${e} provided to PrismaClient constructor.${t}`)}}},log:e=>{if(!e)return;if(!Array.isArray(e))throw new ne(`Invalid value ${JSON.stringify(e)} for "log" provided to PrismaClient constructor.`);function t(r){if(typeof r=="string"&&!ec.includes(r)){let n=rr(r,ec);throw new ne(`Invalid log level "${r}" provided to PrismaClient constructor.${n}`)}}u(t,"validateLogLevel");for(let r of e){t(r);let n={level:t,emit:o=>{let i=["stdout","event"];if(!i.includes(o)){let s=rr(o,i);throw new ne(`Invalid value ${JSON.stringify(o)} for "emit" in logLevel provided to PrismaClient constructor.${s}`)}}};if(r&&typeof r=="object")for(let[o,i]of Object.entries(r))if(n[o])n[o](i);else throw new ne(`Invalid property ${o} for "log" provided to PrismaClient constructor`)}},__internal:e=>{if(!e)return;let t=["debug","hooks","engine","measurePerformance"];if(typeof e!="object")throw new ne(`Invalid value ${JSON.stringify(e)} for "__internal" to PrismaClient constructor`);for(let[r]of Object.entries(e))if(!t.includes(r)){let n=rr(r,t);throw new ne(`Invalid property ${JSON.stringify(r)} for "__internal" provided to PrismaClient constructor.${n}`)}},rejectOnNotFound:e=>{if(!!e){if(Tr(e)||typeof e=="boolean"||typeof e=="object"||typeof e=="function")return e;throw new ne(`Invalid rejectOnNotFound expected a boolean/Error/{[modelName: Error | boolean]} but received ${JSON.stringify(e)}`)}}};function rc(e,t){for(let[r,n]of Object.entries(e)){if(!Zu.includes(r)){let o=rr(r,Zu);throw new ne(`Unknown property ${r} provided to PrismaClient constructor.${o}`)}hd[r](n,t)}}u(rc,"validatePrismaClientOptions");function rr(e,t){if(t.length===0||typeof e!="string")return"";let r=yd(e,t);return r?` Did you mean "${r}"?`:""}u(rr,"getDidYouMean");function yd(e,t){if(t.length===0)return null;let r=t.map(o=>({value:o,distance:(0,tc.default)(e,o)}));r.sort((o,i)=>o.distance0&&bd.exec(e))throw new Error(`Running ALTER using ${r} is not supported +In Cloudflare module Workers, environment variables are available only in the Worker's \`env\` parameter of \`fetch\`. +To solve this, provide the connection string directly: https://pris.ly/d/cloudflare-datasource-url`,n):new re(`error: Environment variable not found: ${s.fromEnvVar}.`,n);if(o===void 0)throw new re("error: Missing URL environment variable, value, or override.",n);return o}d();p();f();d();p();f();var Ln=class extends Error{constructor(r,n){super(r);this.clientVersion=n.clientVersion,this.cause=n.cause}get[Symbol.toStringTag](){return this.name}};var we=class extends Ln{constructor(r,n){var o;super(r,n);this.isRetryable=(o=n.isRetryable)!=null?o:!0}};d();p();f();d();p();f();function q(e,t){return{...e,isRetryable:t}}var Zt=class extends we{constructor(r){super("This request must be retried",q(r,!0));this.name="ForcedRetryError";this.code="P5001"}};k(Zt,"ForcedRetryError");d();p();f();var Et=class extends we{constructor(r,n){super(r,q(n,!1));this.name="InvalidDatasourceError";this.code="P5002"}};k(Et,"InvalidDatasourceError");d();p();f();var Pt=class extends we{constructor(r,n){super(r,q(n,!1));this.name="NotImplementedYetError";this.code="P5004"}};k(Pt,"NotImplementedYetError");d();p();f();d();p();f();var J=class extends we{constructor(r,n){super(r,n);this.response=n.response;let o=this.response.headers.get("prisma-request-id");if(o){let i=`(The request id was: ${o})`;this.message=this.message+" "+i}}};var vt=class extends J{constructor(r){super("Schema needs to be uploaded",q(r,!0));this.name="SchemaMissingError";this.code="P5005"}};k(vt,"SchemaMissingError");d();p();f();d();p();f();var Yo="This request could not be understood by the server",Pr=class extends J{constructor(r,n,o){super(n||Yo,q(r,!1));this.name="BadRequestError";this.code="P5000";o&&(this.code=o)}};k(Pr,"BadRequestError");d();p();f();var vr=class extends J{constructor(r,n){super("Engine not started: healthcheck timeout",q(r,!0));this.name="HealthcheckTimeoutError";this.code="P5013";this.logs=n}};k(vr,"HealthcheckTimeoutError");d();p();f();var Ar=class extends J{constructor(r,n,o){super(n,q(r,!0));this.name="EngineStartupError";this.code="P5014";this.logs=o}};k(Ar,"EngineStartupError");d();p();f();var Tr=class extends J{constructor(r){super("Engine version is not supported",q(r,!1));this.name="EngineVersionNotSupportedError";this.code="P5012"}};k(Tr,"EngineVersionNotSupportedError");d();p();f();var Xo="Request timed out",Cr=class extends J{constructor(r,n=Xo){super(n,q(r,!1));this.name="GatewayTimeoutError";this.code="P5009"}};k(Cr,"GatewayTimeoutError");d();p();f();var Jf="Interactive transaction error",Mr=class extends J{constructor(r,n=Jf){super(n,q(r,!1));this.name="InteractiveTransactionError";this.code="P5015"}};k(Mr,"InteractiveTransactionError");d();p();f();var Qf="Request parameters are invalid",Sr=class extends J{constructor(r,n=Qf){super(n,q(r,!1));this.name="InvalidRequestError";this.code="P5011"}};k(Sr,"InvalidRequestError");d();p();f();var ei="Requested resource does not exist",Rr=class extends J{constructor(r,n=ei){super(n,q(r,!1));this.name="NotFoundError";this.code="P5003"}};k(Rr,"NotFoundError");d();p();f();var ti="Unknown server error",Yt=class extends J{constructor(r,n,o){super(n||ti,q(r,!0));this.name="ServerError";this.code="P5006";this.logs=o}};k(Yt,"ServerError");d();p();f();var ri="Unauthorized, check your connection string",Or=class extends J{constructor(r,n=ri){super(n,q(r,!1));this.name="UnauthorizedError";this.code="P5007"}};k(Or,"UnauthorizedError");d();p();f();var ni="Usage exceeded, retry again later",Fr=class extends J{constructor(r,n=ni){super(n,q(r,!0));this.name="UsageExceededError";this.code="P5008"}};k(Fr,"UsageExceededError");async function Wf(e){let t;try{t=await e.text()}catch(r){return{type:"EmptyError"}}try{let r=JSON.parse(t);if(typeof r=="string")switch(r){case"InternalDataProxyError":return{type:"DataProxyError",body:r};default:return{type:"UnknownTextError",body:r}}if(typeof r=="object"&&r!==null){if("is_panic"in r&&"message"in r&&"error_code"in r)return{type:"QueryEngineError",body:r};if("EngineNotStarted"in r||"InteractiveTransactionMisrouted"in r||"InvalidRequestError"in r){let n=Object.values(r)[0].reason;return typeof n=="string"&&!["SchemaMissing","EngineVersionNotSupported"].includes(n)?{type:"UnknownJsonError",body:r}:{type:"DataProxyError",body:r}}}return{type:"UnknownJsonError",body:r}}catch(r){return t===""?{type:"EmptyError"}:{type:"UnknownTextError",body:t}}}async function Ir(e,t){if(e.ok)return;let r={clientVersion:t,response:e},n=await Wf(e);if(n.type==="QueryEngineError")throw new ce(n.body.message,{code:n.body.error_code,clientVersion:t});if(n.type==="DataProxyError"){if(n.body==="InternalDataProxyError")throw new Yt(r,"Internal Data Proxy error");if("EngineNotStarted"in n.body){if(n.body.EngineNotStarted.reason==="SchemaMissing")return new vt(r);if(n.body.EngineNotStarted.reason==="EngineVersionNotSupported")throw new Tr(r);if("EngineStartupError"in n.body.EngineNotStarted.reason){let{msg:o,logs:i}=n.body.EngineNotStarted.reason.EngineStartupError;throw new Ar(r,o,i)}if("KnownEngineStartupError"in n.body.EngineNotStarted.reason){let{msg:o,error_code:i}=n.body.EngineNotStarted.reason.KnownEngineStartupError;throw new re(o,t,i)}if("HealthcheckTimeout"in n.body.EngineNotStarted.reason){let{logs:o}=n.body.EngineNotStarted.reason.HealthcheckTimeout;throw new vr(r,o)}}if("InteractiveTransactionMisrouted"in n.body){let o={IDParseError:"Could not parse interactive transaction ID",NoQueryEngineFoundError:"Could not find Query Engine for the specified host and transaction ID",TransactionStartError:"Could not start interactive transaction"};throw new Mr(r,o[n.body.InteractiveTransactionMisrouted.reason])}if("InvalidRequestError"in n.body)throw new Sr(r,n.body.InvalidRequestError.reason)}if(e.status===401||e.status===403)throw new Or(r,Xt(ri,n));if(e.status===404)return new Rr(r,Xt(ei,n));if(e.status===429)throw new Fr(r,Xt(ni,n));if(e.status===504)throw new Cr(r,Xt(Xo,n));if(e.status>=500)throw new Yt(r,Xt(ti,n));if(e.status>=400)throw new Pr(r,Xt(Yo,n))}function Xt(e,t){return t.type==="EmptyError"?e:`${e}: ${JSON.stringify(t)}`}d();p();f();function tu(e){let t=Math.pow(2,e)*50,r=Math.ceil(Math.random()*t)-Math.ceil(t/2),n=t+r;return new Promise(o=>setTimeout(()=>o(n),n))}d();p();f();function ru(e){var r;if(!!((r=e.generator)!=null&&r.previewFeatures.some(n=>n.toLowerCase().includes("metrics"))))throw new re("The `metrics` preview feature is not yet available with Accelerate.\nPlease remove `metrics` from the `previewFeatures` in your schema.\n\nMore information about Accelerate: https://pris.ly/d/accelerate",e.clientVersion)}d();p();f();var nu={"@prisma/debug":"workspace:*","@prisma/engines-version":"5.5.1-1.aebc046ce8b88ebbcb45efe31cbe7d06fd6abc0a","@prisma/fetch-engine":"workspace:*","@prisma/get-platform":"workspace:*","@swc/core":"1.3.95","@swc/jest":"0.2.29","@types/jest":"29.5.5","@types/node":"18.18.3",execa:"5.1.1",jest:"29.7.0",typescript:"5.2.2"};d();p();f();d();p();f();var kr=class extends we{constructor(r,n){super(`Cannot fetch data from service: +${r}`,q(n,!0));this.name="RequestError";this.code="P5010"}};k(kr,"RequestError");async function At(e,t,r=n=>n){var o;let n=t.clientVersion;try{return typeof fetch=="function"?await r(fetch)(e,t):await r(oi)(e,t)}catch(i){console.log(e);let s=(o=i.message)!=null?o:"Unknown error";throw new kr(s,{clientVersion:n})}}function zf(e){return{...e.headers,"Content-Type":"application/json"}}function Zf(e){return{method:e.method,headers:zf(e)}}function Yf(e,t){return{text:()=>Promise.resolve(x.Buffer.concat(e).toString()),json:()=>Promise.resolve().then(()=>JSON.parse(x.Buffer.concat(e).toString())),ok:t.statusCode>=200&&t.statusCode<=299,status:t.statusCode,url:t.url,headers:new ii(t.headers)}}async function oi(e,t={}){let r=Xf("https"),n=Zf(t),o=[],{origin:i}=new URL(e);return new Promise((s,a)=>{var l;let u=r.request(e,n,c=>{let{statusCode:m,headers:{location:g}}=c;m>=301&&m<=399&&g&&(g.startsWith("http")===!1?s(oi(`${i}${g}`,t)):s(oi(g,t))),c.on("data",w=>o.push(w)),c.on("end",()=>s(Yf(o,c))),c.on("error",a)});u.on("error",a),u.end((l=t.body)!=null?l:"")})}var Xf=typeof require!="undefined"?require:()=>{},ii=class{constructor(t={}){this.headers=new Map;for(let[r,n]of Object.entries(t))if(typeof n=="string")this.headers.set(r,n);else if(Array.isArray(n))for(let o of n)this.headers.set(r,o)}append(t,r){this.headers.set(t,r)}delete(t){this.headers.delete(t)}get(t){var r;return(r=this.headers.get(t))!=null?r:null}has(t){return this.headers.has(t)}set(t,r){this.headers.set(t,r)}forEach(t,r){for(let[n,o]of this.headers)t.call(r,o,n,this)}};var ed=/^[1-9][0-9]*\.[0-9]+\.[0-9]+$/,ou=he("prisma:client:dataproxyEngine");async function td(e,t){var s,a,u;let r=nu["@prisma/engines-version"],n=(s=t.clientVersion)!=null?s:"unknown";if(y.env.PRISMA_CLIENT_DATA_PROXY_CLIENT_VERSION)return y.env.PRISMA_CLIENT_DATA_PROXY_CLIENT_VERSION;if(e.includes("accelerate")&&n!=="0.0.0"&&n!=="in-memory")return n;let[o,i]=(a=n==null?void 0:n.split("-"))!=null?a:[];if(i===void 0&&ed.test(o))return o;if(i!==void 0||n==="0.0.0"||n==="in-memory"){if(e.startsWith("localhost")||e.startsWith("127.0.0.1"))return"0.0.0";let[l]=(u=r.split("-"))!=null?u:[],[c,m,g]=l.split("."),w=rd(`<=${c}.${m}.${g}`),E=await At(w,{clientVersion:n});if(!E.ok)throw new Error(`Failed to fetch stable Prisma version, unpkg.com status ${E.status} ${E.statusText}, response body: ${await E.text()||""}`);let b=await E.text();ou("length of body fetched from unpkg.com",b.length);let T;try{T=JSON.parse(b)}catch(S){throw console.error("JSON.parse error: body fetched from unpkg.com: ",b),S}return T.version}throw new Pt("Only `major.minor.patch` versions are supported by Accelerate.",{clientVersion:n})}async function iu(e,t){let r=await td(e,t);return ou("version",r),r}function rd(e){return encodeURI(`https://unpkg.com/prisma@${e}/package.json`)}var su=3,si=he("prisma:client:dataproxyEngine"),ai=class{constructor({apiKey:t,tracingHelper:r,logLevel:n,logQueries:o,engineHash:i}){this.apiKey=t,this.tracingHelper=r,this.logLevel=n,this.logQueries=o,this.engineHash=i}build({traceparent:t,interactiveTransaction:r}={}){let n={Authorization:`Bearer ${this.apiKey}`,"Prisma-Engine-Hash":this.engineHash};this.tracingHelper.isEnabled()&&(n.traceparent=t!=null?t:this.tracingHelper.getTraceParent()),r&&(n["X-transaction-id"]=r.id);let o=this.buildCaptureSettings();return o.length>0&&(n["X-capture-telemetry"]=o.join(", ")),n}buildCaptureSettings(){let t=[];return this.tracingHelper.isEnabled()&&t.push("tracing"),this.logLevel&&t.push(this.logLevel),this.logQueries&&t.push("query"),t}},Dr=class extends _n{constructor(r){super();ru(r),this.config=r,this.env={...this.config.env,...y.env},this.inlineSchema=r.inlineSchema,this.inlineDatasources=r.inlineDatasources,this.inlineSchemaHash=r.inlineSchemaHash,this.clientVersion=r.clientVersion,this.engineHash=r.engineVersion,this.logEmitter=r.logEmitter,this.tracingHelper=this.config.tracingHelper}apiKey(){return this.headerBuilder.apiKey}version(){return this.engineHash}async start(){this.startPromise!==void 0&&await this.startPromise,this.startPromise=(async()=>{let[r,n]=this.extractHostAndApiKey();this.host=r,this.headerBuilder=new ai({apiKey:n,tracingHelper:this.tracingHelper,logLevel:this.config.logLevel,logQueries:this.config.logQueries,engineHash:this.engineHash}),this.remoteClientVersion=await iu(r,this.config),si("host",this.host)})(),await this.startPromise}async stop(){}propagateResponseExtensions(r){var n,o;(n=r==null?void 0:r.logs)!=null&&n.length&&r.logs.forEach(i=>{switch(i.level){case"debug":case"error":case"trace":case"warn":case"info":break;case"query":{let s=typeof i.attributes.query=="string"?i.attributes.query:"";if(!this.tracingHelper.isEnabled()){let[a]=s.split("/* traceparent");s=a}this.logEmitter.emit("query",{query:s,timestamp:i.timestamp,duration:i.attributes.duration_ms,params:i.attributes.params,target:i.attributes.target})}}}),(o=r==null?void 0:r.traces)!=null&&o.length&&this.tracingHelper.createEngineSpan({span:!0,spans:r.traces})}on(r,n){if(r==="beforeExit")throw new Error('"beforeExit" hook is not applicable to the remote query engine');this.logEmitter.on(r,n)}async url(r){return await this.start(),`https://${this.host}/${this.remoteClientVersion}/${this.inlineSchemaHash}/${r}`}async uploadSchema(){let r={name:"schemaUpload",internal:!0};return this.tracingHelper.runInChildSpan(r,async()=>{let n=await At(await this.url("schema"),{method:"PUT",headers:this.headerBuilder.build(),body:this.inlineSchema,clientVersion:this.clientVersion});n.ok||si("schema response status",n.status);let o=await Ir(n,this.clientVersion);if(o)throw this.logEmitter.emit("warn",{message:`Error while uploading schema: ${o.message}`}),o;this.logEmitter.emit("info",{message:`Schema (re)uploaded (hash: ${this.inlineSchemaHash})`})})}request(r,{traceparent:n,interactiveTransaction:o,customDataProxyFetch:i}){return this.requestInternal({body:r,traceparent:n,interactiveTransaction:o,customDataProxyFetch:i})}async requestBatch(r,{traceparent:n,transaction:o,customDataProxyFetch:i}){let s=(o==null?void 0:o.kind)==="itx"?o.options:void 0,a=Xa(r,o),{batchResult:u,elapsed:l}=await this.requestInternal({body:a,customDataProxyFetch:i,interactiveTransaction:s,traceparent:n});return u.map(c=>"errors"in c&&c.errors.length>0?Zo(c.errors[0],this.clientVersion):{data:c,elapsed:l})}requestInternal({body:r,traceparent:n,customDataProxyFetch:o,interactiveTransaction:i}){return this.withRetry({actionGerund:"querying",callback:async({logHttpCall:s})=>{let a=i?`${i.payload.endpoint}/graphql`:await this.url("graphql");s(a);let u=await At(a,{method:"POST",headers:this.headerBuilder.build({traceparent:n,interactiveTransaction:i}),body:JSON.stringify(r),clientVersion:this.clientVersion},o);u.ok||si("graphql response status",u.status),await this.handleError(await Ir(u,this.clientVersion));let l=await u.json(),c=l.extensions;if(c&&this.propagateResponseExtensions(c),l.errors)throw l.errors.length===1?Zo(l.errors[0],this.config.clientVersion):new Se(l.errors,{clientVersion:this.config.clientVersion});return l}})}async transaction(r,n,o){let i={start:"starting",commit:"committing",rollback:"rolling back"};return this.withRetry({actionGerund:`${i[r]} transaction`,callback:async({logHttpCall:s})=>{var a,u;if(r==="start"){let l=JSON.stringify({max_wait:(a=o==null?void 0:o.maxWait)!=null?a:2e3,timeout:(u=o==null?void 0:o.timeout)!=null?u:5e3,isolation_level:o==null?void 0:o.isolationLevel}),c=await this.url("transaction/start");s(c);let m=await At(c,{method:"POST",headers:this.headerBuilder.build({traceparent:n.traceparent}),body:l,clientVersion:this.clientVersion});await this.handleError(await Ir(m,this.clientVersion));let g=await m.json(),w=g.extensions;w&&this.propagateResponseExtensions(w);let E=g.id,b=g["data-proxy"].endpoint;return{id:E,payload:{endpoint:b}}}else{let l=`${o.payload.endpoint}/${r}`;s(l);let c=await At(l,{method:"POST",headers:this.headerBuilder.build({traceparent:n.traceparent}),clientVersion:this.clientVersion});await this.handleError(await Ir(c,this.clientVersion));let g=(await c.json()).extensions;g&&this.propagateResponseExtensions(g);return}}})}extractHostAndApiKey(){let r={clientVersion:this.clientVersion},n=Object.keys(this.inlineDatasources)[0],o=Nn({inlineDatasources:this.inlineDatasources,overrideDatasources:this.config.overrideDatasources,clientVersion:this.clientVersion,env:this.env}),i;try{i=new URL(o)}catch(c){throw new Et(`Error validating datasource \`${n}\`: the URL must start with the protocol \`prisma://\``,r)}let{protocol:s,host:a,searchParams:u}=i;if(s!=="prisma:")throw new Et(`Error validating datasource \`${n}\`: the URL must start with the protocol \`prisma://\``,r);let l=u.get("api_key");if(l===null||l.length<1)throw new Et(`Error validating datasource \`${n}\`: the URL must contain a valid API key`,r);return[a,l]}metrics(){throw new Pt("Metrics are not yet supported for Accelerate",{clientVersion:this.clientVersion})}async withRetry(r){var n;for(let o=0;;o++){let i=s=>{this.logEmitter.emit("info",{message:`Calling ${s} (n=${o})`})};try{return await r.callback({logHttpCall:i})}catch(s){if(!(s instanceof we)||!s.isRetryable)throw s;if(o>=su)throw s instanceof Zt?s.cause:s;this.logEmitter.emit("warn",{message:`Attempt ${o+1}/${su} failed for ${r.actionGerund}: ${(n=s.message)!=null?n:"(unknown)"}`});let a=await tu(o);this.logEmitter.emit("warn",{message:`Retrying after ${a}ms`})}}}async handleError(r){if(r instanceof vt)throw await this.uploadSchema(),new Zt({clientVersion:this.clientVersion,cause:r});if(r)throw r}};function au(e,t){let r;try{r=Nn({inlineDatasources:t.inlineDatasources,overrideDatasources:t.overrideDatasources,env:{...t.env,...y.env},clientVersion:t.clientVersion})}catch(o){}e.noEngine!==!0&&(r!=null&&r.startsWith("prisma://"))&&lr("recommend--no-engine","In production, we recommend using `prisma generate --no-engine` (See: `prisma generate --help`)");let n=Co(t.generator);return r!=null&&r.startsWith("prisma://")||e.noEngine,new Dr(t);throw new pe("Invalid client engine type, please use `library` or `binary`",{clientVersion:t.clientVersion})}d();p();f();function Bn({generator:e}){var t;return(t=e==null?void 0:e.previewFeatures)!=null?t:[]}d();p();f();d();p();f();d();p();f();var du=ve(ui());d();p();f();function pu(e,t){let r=fu(e),n=nd(r),o=id(n);o?jn(o,t):t.addErrorMessage(()=>"Unknown error")}function fu(e){return e.errors.flatMap(t=>t.kind==="Union"?fu(t):[t])}function nd(e){let t=new Map,r=[];for(let n of e){if(n.kind!=="InvalidArgumentType"){r.push(n);continue}let o=`${n.selectionPath.join(".")}:${n.argumentPath.join(".")}`,i=t.get(o);i?t.set(o,{...n,argument:{...n.argument,typeNames:od(i.argument.typeNames,n.argument.typeNames)}}):t.set(o,n)}return r.push(...t.values()),r}function od(e,t){return[...new Set(e.concat(t))]}function id(e){return Io(e,(t,r)=>{let n=lu(t),o=lu(r);return n!==o?n-o:cu(t)-cu(r)})}function lu(e){let t=0;return Array.isArray(e.selectionPath)&&(t+=e.selectionPath.length),Array.isArray(e.argumentPath)&&(t+=e.argumentPath.length),t}function cu(e){switch(e.kind){case"InvalidArgumentValue":case"ValueTooLarge":return 20;case"InvalidArgumentType":return 10;case"RequiredArgumentMissing":return-10;default:return 0}}d();p();f();var Qe=class{constructor(t,r){this.name=t;this.value=r;this.isRequired=!1}makeRequired(){return this.isRequired=!0,this}write(t){let{colors:{green:r}}=t.context;t.addMarginSymbol(r(this.isRequired?"+":"?")),t.write(r(this.name)),this.isRequired||t.write(r("?")),t.write(r(": ")),typeof this.value=="string"?t.write(r(this.value)):t.write(this.value)}};d();p();f();var Un=class{constructor(){this.fields=[]}addField(t,r){return this.fields.push({write(n){let{green:o,dim:i}=n.context.colors;n.write(o(i(`${t}: ${r}`))).addMarginSymbol(o(i("+")))}}),this}write(t){let{colors:{green:r}}=t.context;t.writeLine(r("{")).withIndent(()=>{t.writeJoined(Qt,this.fields).newLine()}).write(r("}")).addMarginSymbol(r("+"))}};function jn(e,t){switch(e.kind){case"IncludeAndSelect":sd(e,t);break;case"IncludeOnScalar":ad(e,t);break;case"EmptySelection":ud(e,t);break;case"UnknownSelectionField":ld(e,t);break;case"UnknownArgument":cd(e,t);break;case"UnknownInputField":pd(e,t);break;case"RequiredArgumentMissing":fd(e,t);break;case"InvalidArgumentType":dd(e,t);break;case"InvalidArgumentValue":md(e,t);break;case"ValueTooLarge":gd(e,t);break;case"SomeFieldsMissing":yd(e,t);break;case"TooManyFieldsGiven":hd(e,t);break;case"Union":pu(e,t);break;default:throw new Error("not implemented: "+e.kind)}}function sd(e,t){var n,o;let r=t.arguments.getDeepSubSelectionValue(e.selectionPath);r&&r instanceof ne&&((n=r.getField("include"))==null||n.markAsError(),(o=r.getField("select"))==null||o.markAsError()),t.addErrorMessage(i=>`Please ${i.bold("either")} use ${i.green("`include`")} or ${i.green("`select`")}, but ${i.red("not both")} at the same time.`)}function ad(e,t){var s,a;let[r,n]=$n(e.selectionPath),o=e.outputType,i=(s=t.arguments.getDeepSelectionParent(r))==null?void 0:s.value;if(i&&((a=i.getField(n))==null||a.markAsError(),o))for(let u of o.fields)u.isRelation&&i.addSuggestion(new Qe(u.name,"true"));t.addErrorMessage(u=>{let l=`Invalid scalar field ${u.red(`\`${n}\``)} for ${u.bold("include")} statement`;return o?l+=` on model ${u.bold(o.name)}. ${_r(u)}`:l+=".",l+=` +Note that ${u.bold("include")} statements only accept relation fields.`,l})}function ud(e,t){var i,s;let r=e.outputType,n=(i=t.arguments.getDeepSelectionParent(e.selectionPath))==null?void 0:i.value,o=(s=n==null?void 0:n.isEmpty())!=null?s:!1;n&&(n.removeAllFields(),yu(n,r)),t.addErrorMessage(a=>o?`The ${a.red("`select`")} statement for type ${a.bold(r.name)} must not be empty. ${_r(a)}`:`The ${a.red("`select`")} statement for type ${a.bold(r.name)} needs ${a.bold("at least one truthy value")}.`)}function ld(e,t){var i;let[r,n]=$n(e.selectionPath),o=t.arguments.getDeepSelectionParent(r);o&&((i=o.value.getField(n))==null||i.markAsError(),yu(o.value,e.outputType)),t.addErrorMessage(s=>{let a=[`Unknown field ${s.red(`\`${n}\``)}`];return o&&a.push(`for ${s.bold(o.kind)} statement`),a.push(`on model ${s.bold(`\`${e.outputType.name}\``)}.`),a.push(_r(s)),a.join(" ")})}function cd(e,t){var o;let r=e.argumentPath[0],n=t.arguments.getDeepSubSelectionValue(e.selectionPath);n instanceof ne&&((o=n.getField(r))==null||o.markAsError(),xd(n,e.arguments)),t.addErrorMessage(i=>mu(i,r,e.arguments.map(s=>s.name)))}function pd(e,t){var i;let[r,n]=$n(e.argumentPath),o=t.arguments.getDeepSubSelectionValue(e.selectionPath);if(o instanceof ne){(i=o.getDeepField(e.argumentPath))==null||i.markAsError();let s=o.getDeepFieldValue(r);s instanceof ne&&hu(s,e.inputType)}t.addErrorMessage(s=>mu(s,n,e.inputType.fields.map(a=>a.name)))}function mu(e,t,r){let n=[`Unknown argument \`${e.red(t)}\`.`],o=wd(t,r);return o&&n.push(`Did you mean \`${e.green(o)}\`?`),r.length>0&&n.push(_r(e)),n.join(" ")}function fd(e,t){let r;t.addErrorMessage(u=>(r==null?void 0:r.value)instanceof oe&&r.value.text==="null"?`Argument \`${u.green(i)}\` must not be ${u.red("null")}.`:`Argument \`${u.green(i)}\` is missing.`);let n=t.arguments.getDeepSubSelectionValue(e.selectionPath);if(!(n instanceof ne))return;let[o,i]=$n(e.argumentPath),s=new Un,a=n.getDeepFieldValue(o);if(a instanceof ne)if(r=a.getField(i),r&&a.removeField(i),e.inputTypes.length===1&&e.inputTypes[0].kind==="object"){for(let u of e.inputTypes[0].fields)s.addField(u.name,u.typeNames.join(" | "));a.addSuggestion(new Qe(i,s).makeRequired())}else{let u=e.inputTypes.map(gu).join(" | ");a.addSuggestion(new Qe(i,u).makeRequired())}}function gu(e){return e.kind==="list"?`${gu(e.elementType)}[]`:e.name}function dd(e,t){var o;let r=e.argument.name,n=t.arguments.getDeepSubSelectionValue(e.selectionPath);n instanceof ne&&((o=n.getDeepFieldValue(e.argumentPath))==null||o.markAsError()),t.addErrorMessage(i=>{let s=qn("or",e.argument.typeNames.map(a=>i.green(a)));return`Argument \`${i.bold(r)}\`: Invalid value provided. Expected ${s}, provided ${i.red(e.inferredType)}.`})}function md(e,t){var o;let r=e.argument.name,n=t.arguments.getDeepSubSelectionValue(e.selectionPath);n instanceof ne&&((o=n.getDeepFieldValue(e.argumentPath))==null||o.markAsError()),t.addErrorMessage(i=>{let s=[`Invalid value for argument \`${i.bold(r)}\``];if(e.underlyingError&&s.push(`: ${e.underlyingError}`),s.push("."),e.argument.typeNames.length>0){let a=qn("or",e.argument.typeNames.map(u=>i.green(u)));s.push(` Expected ${a}.`)}return s.join("")})}function gd(e,t){let r=e.argument.name,n=t.arguments.getDeepSubSelectionValue(e.selectionPath),o;if(n instanceof ne){let i=n.getDeepField(e.argumentPath),s=i==null?void 0:i.value;s==null||s.markAsError(),s instanceof oe&&(o=s.text)}t.addErrorMessage(i=>{let s=["Unable to fit value"];return o&&s.push(i.red(o)),s.push(`into a 64-bit signed integer for field \`${i.bold(r)}\``),s.join(" ")})}function yd(e,t){let r=e.argumentPath[e.argumentPath.length-1],n=t.arguments.getDeepSubSelectionValue(e.selectionPath);if(n instanceof ne){let o=n.getDeepFieldValue(e.argumentPath);o instanceof ne&&hu(o,e.inputType)}t.addErrorMessage(o=>{let i=[`Argument \`${o.bold(r)}\` of type ${o.bold(e.inputType.name)} needs`];return e.constraints.minFieldCount===1?e.constraints.requiredFields?i.push(`${o.green("at least one of")} ${qn("or",e.constraints.requiredFields.map(s=>`\`${o.bold(s)}\``))} arguments.`):i.push(`${o.green("at least one")} argument.`):i.push(`${o.green(`at least ${e.constraints.minFieldCount}`)} arguments.`),i.push(_r(o)),i.join(" ")})}function hd(e,t){let r=e.argumentPath[e.argumentPath.length-1],n=t.arguments.getDeepSubSelectionValue(e.selectionPath),o=[];if(n instanceof ne){let i=n.getDeepFieldValue(e.argumentPath);i instanceof ne&&(i.markAsError(),o=Object.keys(i.getFields()))}t.addErrorMessage(i=>{let s=[`Argument \`${i.bold(r)}\` of type ${i.bold(e.inputType.name)} needs`];return e.constraints.minFieldCount===1&&e.constraints.maxFieldCount==1?s.push(`${i.green("exactly one")} argument,`):e.constraints.maxFieldCount==1?s.push(`${i.green("at most one")} argument,`):s.push(`${i.green(`at most ${e.constraints.maxFieldCount}`)} arguments,`),s.push(`but you provided ${qn("and",o.map(a=>i.red(a)))}. Please choose`),e.constraints.maxFieldCount===1?s.push("one."):s.push(`${e.constraints.maxFieldCount}.`),s.join(" ")})}function yu(e,t){for(let r of t.fields)e.hasField(r.name)||e.addSuggestion(new Qe(r.name,"true"))}function xd(e,t){for(let r of t)e.hasField(r.name)||e.addSuggestion(new Qe(r.name,r.typeNames.join(" | ")))}function hu(e,t){if(t.kind==="object")for(let r of t.fields)e.hasField(r.name)||e.addSuggestion(new Qe(r.name,r.typeNames.join(" | ")))}function $n(e){let t=[...e],r=t.pop();if(!r)throw new Error("unexpected empty path");return[t,r]}function _r({green:e,enabled:t}){return"Available options are "+(t?`listed in ${e("green")}`:"marked with ?")+"."}function qn(e,t){if(t.length===1)return t[0];let r=[...t],n=r.pop();return`${r.join(", ")} ${e} ${n}`}var bd=3;function wd(e,t){let r=1/0,n;for(let o of t){let i=(0,du.default)(e,o);i>bd||i({name:t.name,typeName:"boolean",isRelation:t.kind==="object"}))}}isRawAction(){return["executeRaw","queryRaw","runCommandRaw","findRaw","aggregateRaw"].includes(this.params.action)}getComputedFields(){if(this.params.modelName)return this.params.extensions.getAllComputedFields(this.params.modelName)}findField(t){var r;return(r=this.model)==null?void 0:r.fields.find(n=>n.name===t)}nestSelection(t){let r=this.findField(t),n=(r==null?void 0:r.kind)==="object"?r.type:void 0;return new e({...this.params,modelName:n,selectionPath:this.params.selectionPath.concat(t)})}nestArgument(t){return new e({...this.params,argumentPath:this.params.argumentPath.concat(t)})}};d();p();f();var Eu=e=>({command:e});d();p();f();d();p();f();var Pu=e=>e.strings.reduce((t,r,n)=>`${t}@P${n}${r}`);d();p();f();function Nr(e){try{return vu(e,"fast")}catch(t){return vu(e,"slow")}}function vu(e,t){return JSON.stringify(e.map(r=>Rd(r,t)))}function Rd(e,t){return typeof e=="bigint"?{prisma__type:"bigint",prisma__value:e.toString()}:qt(e)?{prisma__type:"date",prisma__value:e.toJSON()}:je.isDecimal(e)?{prisma__type:"decimal",prisma__value:e.toJSON()}:x.Buffer.isBuffer(e)?{prisma__type:"bytes",prisma__value:e.toString("base64")}:Od(e)||ArrayBuffer.isView(e)?{prisma__type:"bytes",prisma__value:x.Buffer.from(e).toString("base64")}:typeof e=="object"&&t==="slow"?Tu(e):e}function Od(e){return e instanceof ArrayBuffer||e instanceof SharedArrayBuffer?!0:typeof e=="object"&&e!==null?e[Symbol.toStringTag]==="ArrayBuffer"||e[Symbol.toStringTag]==="SharedArrayBuffer":!1}function Tu(e){if(typeof e!="object"||e===null)return e;if(typeof e.toJSON=="function")return e.toJSON();if(Array.isArray(e))return e.map(Au);let t={};for(let r of Object.keys(e))t[r]=Au(e[r]);return t}function Au(e){return typeof e=="bigint"?e.toString():Tu(e)}var Fd=/^(\s*alter\s)/i,Cu=he("prisma:client");function pi(e,t,r,n){if(!(e!=="postgresql"&&e!=="cockroachdb")&&r.length>0&&Fd.exec(t))throw new Error(`Running ALTER using ${n} is not supported Using the example below you can still execute your query with Prisma, but please note that it is vulnerable to SQL injection attacks and requires you to take care of input sanitization. Example: await prisma.$executeRawUnsafe(\`ALTER USER prisma WITH PASSWORD '\${password}'\`) More Information: https://pris.ly/d/execute-raw -`)}u(gi,"checkAlter");var wd={findUnique:"query",findFirst:"query",findMany:"query",count:"query",create:"mutation",createMany:"mutation",update:"mutation",updateMany:"mutation",upsert:"mutation",delete:"mutation",deleteMany:"mutation",executeRaw:"mutation",queryRaw:"mutation",aggregate:"query",groupBy:"query",runCommandRaw:"mutation",findRaw:"query",aggregateRaw:"query"},vd=Symbol.for("prisma.client.transaction.id");function oc(e){class t{constructor(n){this._middlewares=new Nr;this._transactionId=1;var s,a,c,l,f,p,h,w,v;n&&rc(n,e.datasourceNames),this._rejectOnNotFound=n==null?void 0:n.rejectOnNotFound,this._clientVersion=(s=e.clientVersion)!=null?s:Gu,this._activeProvider=e.activeProvider,this._dataProxy=e.dataProxy,this._clientEngineType=Do(e.generator);let o={rootEnvPath:e.relativeEnvPaths.rootEnvPath&&Vr.default.resolve(e.dirname,e.relativeEnvPaths.rootEnvPath),schemaEnvPath:e.relativeEnvPaths.schemaEnvPath&&Vr.default.resolve(e.dirname,e.relativeEnvPaths.schemaEnvPath)},i=!1;try{let y=n!=null?n:{},A=(a=y.__internal)!=null?a:{},S=A.debug===!0;S&&ut.enable("prisma:client"),A.hooks&&(this._hooks=A.hooks);let T=Vr.default.resolve(e.dirname,e.relativePath);Fo.existsSync(T)||(T=e.dirname),ye("dirname",e.dirname),ye("relativePath",e.relativePath),ye("cwd",T);let _=y.datasources||{},P=Object.entries(_).filter(([R,$])=>$&&$.url).map(([R,{url:$}])=>({name:R,url:$})),O=hu([],P,R=>R.name),F=A.engine||{};if(y.errorFormat?this._errorFormat=y.errorFormat:b.env.NODE_ENV==="production"?this._errorFormat="minimal":b.env.NO_COLOR?this._errorFormat="colorless":this._errorFormat="colorless",this._dmmf=new At(e.document),this._previewFeatures=(l=(c=e.generator)==null?void 0:c.previewFeatures)!=null?l:[],this._engineConfig={cwd:T,dirname:e.dirname,enableDebugLogs:S,allowTriggerPanic:F.allowTriggerPanic,datamodelPath:Vr.default.join(e.dirname,(f=e.filename)!=null?f:"schema.prisma"),prismaPath:(p=F.binaryPath)!=null?p:void 0,engineEndpoint:F.endpoint,datasources:O,generator:e.generator,showColors:this._errorFormat==="pretty",logLevel:y.log&&du(y.log),logQueries:y.log&&Boolean(typeof y.log=="string"?y.log==="query":y.log.find(R=>typeof R=="string"?R==="query":R.level==="query")),env:(v=(w=i==null?void 0:i.parsed)!=null?w:(h=e.injectableEdgeEnv)==null?void 0:h.parsed)!=null?v:{},flags:[],clientVersion:e.clientVersion,previewFeatures:Bo(this._previewFeatures),activeProvider:e.activeProvider,inlineSchema:e.inlineSchema,inlineDatasources:e.inlineDatasources,inlineSchemaHash:e.inlineSchemaHash},ye(`clientVersion: ${e.clientVersion}`),ye(`clientEngineType: ${this._clientEngineType}`),this._engine=this.getEngine(),this._getActiveProvider(),this._fetcher=new qr(this,this._hooks),y.log)for(let R of y.log){let $=typeof R=="string"?R:R.emit==="stdout"?R.level:null;$&&this.$on($,Q=>{var te;Zt.log(`${(te=Zt.tags[$])!=null?te:""}`,Q.message||Q.query)})}this._metrics=new vt(this._engine)}catch(y){throw y.clientVersion=this._clientVersion,y}return pu(this)}get[Symbol.toStringTag](){return"PrismaClient"}getEngine(){if(this._dataProxy===!0)return new Yt(this._engineConfig);if(this._clientEngineType==="library")return!1;if(this._clientEngineType==="binary")return!1;throw new Oe("Invalid client engine type, please use `library` or `binary`")}$use(n,o){if(typeof n=="function")this._middlewares.query.use(n);else if(n==="all")this._middlewares.query.use(o);else if(n==="engine")this._middlewares.engine.use(o);else throw new Error(`Invalid middleware ${n}`)}$on(n,o){n==="beforeExit"?this._engine.on("beforeExit",o):this._engine.on(n,i=>{var a,c,l,f;let s=i.fields;return o(n==="query"?{timestamp:i.timestamp,query:(a=s==null?void 0:s.query)!=null?a:i.query,params:(c=s==null?void 0:s.params)!=null?c:i.params,duration:(l=s==null?void 0:s.duration_ms)!=null?l:i.duration,target:i.target}:{timestamp:i.timestamp,message:(f=s==null?void 0:s.message)!=null?f:i.message,target:i.target})})}$connect(){try{return this._engine.start()}catch(n){throw n.clientVersion=this._clientVersion,n}}async _runDisconnect(){await this._engine.stop(),delete this._connectionPromise,this._engine=this.getEngine(),delete this._disconnectionPromise,delete this._getConfigPromise}$disconnect(){try{return this._engine.stop()}catch(n){throw n.clientVersion=this._clientVersion,n}}async _getActiveProvider(){try{let n=await this._engine.getConfig();this._activeProvider=n.datasources[0].activeProvider}catch(n){}}$executeRawInternal(n,o,i,s,...a){let c="",l;if(typeof s=="string")c=s,l={values:$e(a||[]),__prismaRawParamaters__:!0},gi(c,a,"prisma.$executeRawUnsafe(, [...values])");else if(nc(s))switch(this._activeProvider){case"sqlite":case"mysql":{let p=nr.sqltag(s,...a);c=p.sql,l={values:$e(p.values),__prismaRawParamaters__:!0};break}case"cockroachdb":case"postgresql":{let p=nr.sqltag(s,...a);c=p.text,gi(c,p.values,"prisma.$executeRaw``"),l={values:$e(p.values),__prismaRawParamaters__:!0};break}case"sqlserver":{c=Ur(s),l={values:$e(a),__prismaRawParamaters__:!0};break}default:throw new Error(`The ${this._activeProvider} provider does not support $executeRaw`)}else{switch(this._activeProvider){case"sqlite":case"mysql":c=s.sql;break;case"cockroachdb":case"postgresql":c=s.text,gi(c,s.values,"prisma.$executeRaw(sql``)");break;case"sqlserver":c=Ur(s.strings);break;default:throw new Error(`The ${this._activeProvider} provider does not support $executeRaw`)}l={values:$e(s.values),__prismaRawParamaters__:!0}}l!=null&&l.values?ye(`prisma.$executeRaw(${c}, ${l.values})`):ye(`prisma.$executeRaw(${c})`);let f={query:c,parameters:l};return ye("Prisma Client call:"),this._request({args:f,clientMethod:"$executeRaw",dataPath:[],action:"executeRaw",callsite:Ye(this._errorFormat),runInTransaction:!!n,transactionId:n,otelCtx:i,lock:o})}$executeRaw(n,...o){return mt((i,s,a)=>{if(n.raw||n.sql)return this.$executeRawInternal(i,s,a,n,...o);throw new Oe("`$executeRaw` is a tag function, please use it like the following:\n```\nconst result = await prisma.$executeRaw`UPDATE User SET cool = ${true} WHERE email = ${'user@email.com'};`\n```\n\nOr read our docs at https://www.prisma.io/docs/concepts/components/prisma-client/raw-database-access#executeraw\n")})}$executeRawUnsafe(n,...o){return mt((i,s,a)=>this.$executeRawInternal(i,s,a,n,...o))}$runCommandRaw(n){if(e.activeProvider!=="mongodb")throw new Oe(`The ${e.activeProvider} provider does not support $runCommandRaw. Use the mongodb provider.`);return mt((o,i,s)=>this._request({args:{command:n},clientMethod:"$runCommandRaw",dataPath:[],action:"runCommandRaw",callsite:Ye(this._errorFormat),runInTransaction:!!o,transactionId:o,otelCtx:s,lock:i}))}$queryRawInternal(n,o,i,s,...a){let c="",l;if(typeof s=="string")c=s,l={values:$e(a||[]),__prismaRawParamaters__:!0};else if(nc(s))switch(this._activeProvider){case"sqlite":case"mysql":{let p=nr.sqltag(s,...a);c=p.sql,l={values:$e(p.values),__prismaRawParamaters__:!0};break}case"cockroachdb":case"postgresql":{let p=nr.sqltag(s,...a);c=p.text,l={values:$e(p.values),__prismaRawParamaters__:!0};break}case"sqlserver":{let p=nr.sqltag(s,...a);c=Ur(p.strings),l={values:$e(p.values),__prismaRawParamaters__:!0};break}default:throw new Error(`The ${this._activeProvider} provider does not support $queryRaw`)}else{switch(this._activeProvider){case"sqlite":case"mysql":c=s.sql;break;case"cockroachdb":case"postgresql":c=s.text;break;case"sqlserver":c=Ur(s.strings);break;default:throw new Error(`The ${this._activeProvider} provider does not support $queryRaw`)}l={values:$e(s.values),__prismaRawParamaters__:!0}}l!=null&&l.values?ye(`prisma.queryRaw(${c}, ${l.values})`):ye(`prisma.queryRaw(${c})`);let f={query:c,parameters:l};return ye("Prisma Client call:"),this._request({args:f,clientMethod:"$queryRaw",dataPath:[],action:"queryRaw",callsite:Ye(this._errorFormat),runInTransaction:!!n,transactionId:n,otelCtx:i,lock:o}).then(Ju)}$queryRaw(n,...o){return mt((i,s,a)=>{if(n.raw||n.sql)return this.$queryRawInternal(i,s,a,n,...o);throw new Oe("`$queryRaw` is a tag function, please use it like the following:\n```\nconst result = await prisma.$queryRaw`SELECT * FROM User WHERE id = ${1} OR email = ${'user@email.com'};`\n```\n\nOr read our docs at https://www.prisma.io/docs/concepts/components/prisma-client/raw-database-access#queryraw\n")})}$queryRawUnsafe(n,...o){return mt((i,s,a)=>this.$queryRawInternal(i,s,a,n,...o))}__internal_triggerPanic(n){if(!this._engineConfig.allowTriggerPanic)throw new Error(`In order to use .__internal_triggerPanic(), please enable it like so: -new PrismaClient({ - __internal: { - engine: { - allowTriggerPanic: true - } - } -})`);let o=n?{"X-DEBUG-FATAL":"1"}:{"X-DEBUG-NON-FATAL":"1"};return this._request({action:"queryRaw",args:{query:"SELECT 1",parameters:void 0},clientMethod:"queryRaw",dataPath:[],runInTransaction:!1,headers:o,callsite:Ye(this._errorFormat)})}_transactionWithArray(n){let o=this._transactionId++,i=gu(n.length),s=n.map(a=>{var c;if((a==null?void 0:a[Symbol.toStringTag])!=="PrismaPromise")throw new Error("All elements of the array need to be Prisma Client promises. Hint: Please make sure you are not awaiting the Prisma client calls you intended to pass in the $transaction function.");return(c=a.requestTransaction)==null?void 0:c.call(a,o,i)});return Promise.all(s)}async _transactionWithCallback(n,o){let i=await this._engine.transaction("start",o),s;try{s=await n(di(this,i.id)),await this._engine.transaction("commit",i)}catch(a){throw await this._engine.transaction("rollback",i).catch(()=>{}),a.clientVersion=this._clientVersion,a}return s}async $transaction(n,o){return this._hasPreviewFlag("interactiveTransactions")?typeof n=="function"?this._transactionWithCallback(n,o):this._transactionWithArray(n):this._transactionWithArray(n)}async _request(n){this._hasPreviewFlag("tracing")||delete n.otelCtx;try{let o={args:n.args,dataPath:n.dataPath,runInTransaction:n.runInTransaction,action:n.action,model:n.model},i=-1,s=u(a=>{let c=this._middlewares.query.get(++i);if(c)return c(a,s);let l={...n,...a};return this._executeRequest(l)},"consumer");return await Hu("request",n.otelCtx,()=>s(o))}catch(o){throw o.clientVersion=this._clientVersion,o}}async _executeRequest({args:n,clientMethod:o,dataPath:i,callsite:s,runInTransaction:a,action:c,model:l,headers:f,transactionId:p,otelCtx:h,lock:w,unpacker:v}){let y,A=wd[c];(c==="executeRaw"||c==="queryRaw"||c==="runCommandRaw")&&(y=c);let S;if(l!==void 0){if(S=this._dmmf.mappingsMap[l],S===void 0)throw new Error(`Could not find mapping for model ${l}`);y=S[c==="count"?"aggregate":c]}if(A!=="query"&&A!=="mutation")throw new Error(`Invalid operation ${A} for action ${c}`);let T=this._dmmf.rootFieldMap[y];if(T===void 0)throw new Error(`Could not find rootField ${y} for action ${c} for model ${l} on rootType ${A}`);let{isList:_}=T.outputType,P=xt(T.outputType.type),O=pi(c,P,n,this._rejectOnNotFound),F=Vn({dmmf:this._dmmf,rootField:y,rootTypeName:A,select:n});if(F.validate(n,!1,o,this._errorFormat,s),F=F,ut.enabled("prisma:client")){let R=String(F);ye("Prisma Client call:"),ye(`prisma.${o}(${Dn({ast:n,keyPaths:[],valuePaths:[],missingItems:[]})})`),ye("Generated request:"),ye(R+` -`)}return f=Wu(f,h),await w,this._fetcher.request({document:F,clientMethod:o,typeName:P,dataPath:i,rejectOnNotFound:O,isList:_,rootField:y,callsite:s,showColors:this._errorFormat==="pretty",args:n,engineHook:this._middlewares.engine.get(0),runInTransaction:a,headers:f,transactionId:p,unpacker:v})}get $metrics(){if(!this._hasPreviewFlag("metrics"))throw new Oe("`metrics` preview feature must be enabled in order to access metrics API");return this._metrics}_hasPreviewFlag(n){var o;return!!((o=this._engineConfig.previewFeatures)!=null&&o.includes(n))}}return u(t,"PrismaClient"),t}u(oc,"getPrismaClient");var Ed=["$connect","$disconnect","$on","$transaction","$use"];function di(e,t){return typeof e!="object"?e:new Proxy(e,{get:(r,n)=>{if(!Ed.includes(n))return n===vd?t:typeof r[n]=="function"?(...o)=>n==="then"?r[n](o[0],o[1],t):n==="catch"||n==="finally"?r[n](o[0],t):di(r[n](...o),t):di(r[n],t)}})}u(di,"transactionProxy");m();g();d();m();g();d();var Je=Z(Lo()),xd=ic.decompressFromBase64;0&&(module.exports={DMMF,DMMFClass,Decimal,Engine,MetricsClient,PrismaClientInitializationError,PrismaClientKnownRequestError,PrismaClientRustPanicError,PrismaClientUnknownRequestError,PrismaClientValidationError,Sql,decompressFromBase64,empty,findSync,getPrismaClient,join,makeDocument,raw,sqltag,transformDocument,unpack,warnEnvConflicts}); +`)}var fi=({clientMethod:e,activeProvider:t,activeProviderFlavour:r})=>n=>{r!==void 0&&(t=r);let o="",i;if(Array.isArray(n)){let[s,...a]=n;o=s,i={values:Nr(a||[]),__prismaRawParameters__:!0}}else switch(t){case"sqlite":case"mysql":{o=n.sql,i={values:Nr(n.values),__prismaRawParameters__:!0};break}case"cockroachdb":case"postgresql":case"postgres":{o=n.text,i={values:Nr(n.values),__prismaRawParameters__:!0};break}case"sqlserver":{o=Pu(n),i={values:Nr(n.values),__prismaRawParameters__:!0};break}default:throw new Error(`The ${t} provider does not support ${e}`)}return i!=null&&i.values?Cu(`prisma.${e}(${o}, ${i.values})`):Cu(`prisma.${e}(${o})`),{query:o,parameters:i}},Mu={requestArgsToMiddlewareArgs(e){return[e.strings,...e.values]},middlewareArgsToRequestArgs(e){let[t,...r]=e;return new xe(t,r)}},Su={requestArgsToMiddlewareArgs(e){return[e]},middlewareArgsToRequestArgs(e){return e[0]}};d();p();f();function di(e){return function(r){let n,o=(i=e)=>{try{return i===void 0||(i==null?void 0:i.kind)==="itx"?n!=null?n:n=Ru(r(i)):Ru(r(i))}catch(s){return Promise.reject(s)}};return{then(i,s){return o().then(i,s)},catch(i){return o().catch(i)},finally(i){return o().finally(i)},requestTransaction(i){let s=o(i);return s.requestTransaction?s.requestTransaction(i):s},[Symbol.toStringTag]:"PrismaPromise"}}}function Ru(e){return typeof e.then=="function"?e:Promise.resolve(e)}d();p();f();var Ou={isEnabled(){return!1},getTraceParent(){return"00-10-10-00"},async createEngineSpan(){},getActiveContext(){},runInChildSpan(e,t){return t()}},mi=class{isEnabled(){return this.getGlobalTracingHelper().isEnabled()}getTraceParent(t){return this.getGlobalTracingHelper().getTraceParent(t)}createEngineSpan(t){return this.getGlobalTracingHelper().createEngineSpan(t)}getActiveContext(){return this.getGlobalTracingHelper().getActiveContext()}runInChildSpan(t,r){return this.getGlobalTracingHelper().runInChildSpan(t,r)}getGlobalTracingHelper(){var t,r;return(r=(t=globalThis.PRISMA_INSTRUMENTATION)==null?void 0:t.helper)!=null?r:Ou}};function Fu(e){return e.includes("tracing")?new mi:Ou}d();p();f();function Iu(e,t=()=>{}){let r,n=new Promise(o=>r=o);return{then(o){return--e===0&&r(t()),o==null?void 0:o(n)}}}d();p();f();var Id=["$connect","$disconnect","$on","$transaction","$use","$extends"],gi=Id;d();p();f();function ku(e){return typeof e=="string"?e:e.reduce((t,r)=>{let n=typeof r=="string"?r:r.level;return n==="query"?t:t&&(r==="info"||t==="info")?"info":n},void 0)}d();p();f();var Kn=class{constructor(){this._middlewares=[]}use(t){this._middlewares.push(t)}get(t){return this._middlewares[t]}has(t){return!!this._middlewares[t]}length(){return this._middlewares.length}};d();p();f();var _u=ve(Vs());d();p();f();function Gn(e){return typeof e.batchRequestIdx=="number"}d();p();f();function Jn(e){return e===null?e:Array.isArray(e)?e.map(Jn):typeof e=="object"?kd(e)?Dd(e):jt(e,Jn):e}function kd(e){return e!==null&&typeof e=="object"&&typeof e.$type=="string"}function Dd({$type:e,value:t}){switch(e){case"BigInt":return BigInt(t);case"Bytes":return x.Buffer.from(t,"base64");case"DateTime":return new Date(t);case"Decimal":return new je(t);case"Json":return JSON.parse(t);default:xt(t,"Unknown tagged value")}}d();p();f();function Du(e){if(e.action!=="findUnique"&&e.action!=="findUniqueOrThrow")return;let t=[];return e.modelName&&t.push(e.modelName),e.query.arguments&&t.push(yi(e.query.arguments)),t.push(yi(e.query.selection)),t.join("")}function yi(e){return`(${Object.keys(e).sort().map(r=>{let n=e[r];return typeof n=="object"&&n!==null?`(${r} ${yi(n)})`:r}).join(" ")})`}d();p();f();var _d={aggregate:!1,aggregateRaw:!1,createMany:!0,createOne:!0,deleteMany:!0,deleteOne:!0,executeRaw:!0,findFirst:!1,findFirstOrThrow:!1,findMany:!1,findRaw:!1,findUnique:!1,findUniqueOrThrow:!1,groupBy:!1,queryRaw:!1,runCommandRaw:!0,updateMany:!0,updateOne:!0,upsertOne:!0};function hi(e){return _d[e]}d();p();f();var Qn=class{constructor(t){this.options=t;this.tickActive=!1;this.batches={}}request(t){let r=this.options.batchBy(t);return r?(this.batches[r]||(this.batches[r]=[],this.tickActive||(this.tickActive=!0,y.nextTick(()=>{this.dispatchBatches(),this.tickActive=!1}))),new Promise((n,o)=>{this.batches[r].push({request:t,resolve:n,reject:o})})):this.options.singleLoader(t)}dispatchBatches(){for(let t in this.batches){let r=this.batches[t];delete this.batches[t],r.length===1?this.options.singleLoader(r[0].request).then(n=>{n instanceof Error?r[0].reject(n):r[0].resolve(n)}).catch(n=>{r[0].reject(n)}):(r.sort((n,o)=>this.options.batchOrder(n.request,o.request)),this.options.batchLoader(r.map(n=>n.request)).then(n=>{if(n instanceof Error)for(let o=0;o{for(let o=0;o{let{transaction:i,otelParentCtx:s}=n[0],a=n.map(m=>m.protocolQuery),u=this.client._tracingHelper.getTraceParent(s),l=n.some(m=>hi(m.protocolQuery.action));return(await this.client._engine.requestBatch(a,{traceparent:u,transaction:Ld(i),containsWrite:l,customDataProxyFetch:o})).map((m,g)=>{if(m instanceof Error)return m;try{return this.mapQueryEngineResult(n[g],m)}catch(w){return w}})}),singleLoader:async n=>{var s;let o=((s=n.transaction)==null?void 0:s.kind)==="itx"?Nu(n.transaction):void 0,i=await this.client._engine.request(n.protocolQuery,{traceparent:this.client._tracingHelper.getTraceParent(),interactiveTransaction:o,isWrite:hi(n.protocolQuery.action),customDataProxyFetch:n.customDataProxyFetch});return this.mapQueryEngineResult(n,i)},batchBy:n=>{var o;return(o=n.transaction)!=null&&o.id?`transaction-${n.transaction.id}`:Du(n.protocolQuery)},batchOrder(n,o){var i,s;return((i=n.transaction)==null?void 0:i.kind)==="batch"&&((s=o.transaction)==null?void 0:s.kind)==="batch"?n.transaction.index-o.transaction.index:0}})}async request(t){try{return await this.dataloader.request(t)}catch(r){let{clientMethod:n,callsite:o,transaction:i,args:s}=t;this.handleAndLogRequestError({error:r,clientMethod:n,callsite:o,transaction:i,args:s})}}mapQueryEngineResult({dataPath:t,unpacker:r},n){let o=n==null?void 0:n.data,i=n==null?void 0:n.elapsed,s=this.unpack(o,t,r);return y.env.PRISMA_CLIENT_GET_TIME?{data:s,elapsed:i}:s}handleAndLogRequestError(t){try{this.handleRequestError(t)}catch(r){throw this.logEmitter&&this.logEmitter.emit("error",{message:r.message,target:t.clientMethod,timestamp:new Date}),r}}handleRequestError({error:t,clientMethod:r,callsite:n,transaction:o,args:i}){if(Nd(t),Bd(t,o)||t instanceof Ke)throw t;if(t instanceof ce&&jd(t)){let a=Lu(t.meta);Vn({args:i,errors:[a],callsite:n,errorFormat:this.client._errorFormat,originalMethod:r,clientVersion:this.client._clientVersion})}let s=t.message;throw n&&(s=zt({callsite:n,originalMethod:r,isPanic:t.isPanic,showColors:this.client._errorFormat==="pretty",message:s})),s=this.sanitizeMessage(s),t.code?new ce(s,{code:t.code,clientVersion:this.client._clientVersion,meta:t.meta,batchRequestIdx:t.batchRequestIdx}):t.isPanic?new Ge(s,this.client._clientVersion):t instanceof Se?new Se(s,{clientVersion:this.client._clientVersion,batchRequestIdx:t.batchRequestIdx}):t instanceof re?new re(s,this.client._clientVersion):t instanceof Ge?new Ge(s,this.client._clientVersion):(t.clientVersion=this.client._clientVersion,t)}sanitizeMessage(t){return this.client._errorFormat&&this.client._errorFormat!=="pretty"?(0,_u.default)(t):t}unpack(t,r,n){if(!t||(t.data&&(t=t.data),!t))return t;let o=Object.values(t)[0],i=r.filter(a=>a!=="select"&&a!=="include"),s=Jn(Qo(o,i));return n?n(s):s}get[Symbol.toStringTag](){return"RequestHandler"}};function Ld(e){if(e){if(e.kind==="batch")return{kind:"batch",options:{isolationLevel:e.isolationLevel}};if(e.kind==="itx")return{kind:"itx",options:Nu(e)};xt(e,"Unknown transaction kind")}}function Nu(e){return{id:e.id,payload:e.payload}}function Bd(e,t){return Gn(e)&&(t==null?void 0:t.kind)==="batch"&&e.batchRequestIdx!==t.index}function jd(e){return e.code==="P2009"||e.code==="P2012"}function Lu(e){if(e.kind==="Union")return{kind:"Union",errors:e.errors.map(Lu)};if(Array.isArray(e.selectionPath)){let[,...t]=e.selectionPath;return{...e,selectionPath:t}}return e}d();p();f();var Bu="5.5.2";var ju=Bu;d();p();f();function Uu(e){return e.map(t=>{let r={};for(let n of Object.keys(t))r[n]=$u(t[n]);return r})}function $u({prisma__type:e,prisma__value:t}){switch(e){case"bigint":return BigInt(t);case"bytes":return x.Buffer.from(t,"base64");case"decimal":return new je(t);case"datetime":case"date":return new Date(t);case"time":return new Date(`1970-01-01T${t}Z`);case"array":return t.map($u);default:return t}}d();p();f();var Gu=ve(ui());d();p();f();var Q=class extends Error{constructor(t){super(t+` +Read more at https://pris.ly/d/client-constructor`),this.name="PrismaClientConstructorValidationError"}get[Symbol.toStringTag](){return"PrismaClientConstructorValidationError"}};k(Q,"PrismaClientConstructorValidationError");var qu=["datasources","datasourceUrl","errorFormat","adapter","log","__internal"],Vu=["pretty","colorless","minimal"],Ku=["info","query","warn","error"],$d={datasources:(e,{datasourceNames:t})=>{if(e){if(typeof e!="object"||Array.isArray(e))throw new Q(`Invalid value ${JSON.stringify(e)} for "datasources" provided to PrismaClient constructor`);for(let[r,n]of Object.entries(e)){if(!t.includes(r)){let o=er(r,t)||` Available datasources: ${t.join(", ")}`;throw new Q(`Unknown datasource ${r} provided to PrismaClient constructor.${o}`)}if(typeof n!="object"||Array.isArray(n))throw new Q(`Invalid value ${JSON.stringify(e)} for datasource "${r}" provided to PrismaClient constructor. +It should have this form: { url: "CONNECTION_STRING" }`);if(n&&typeof n=="object")for(let[o,i]of Object.entries(n)){if(o!=="url")throw new Q(`Invalid value ${JSON.stringify(e)} for datasource "${r}" provided to PrismaClient constructor. +It should have this form: { url: "CONNECTION_STRING" }`);if(typeof i!="string")throw new Q(`Invalid value ${JSON.stringify(i)} for datasource "${r}" provided to PrismaClient constructor. +It should have this form: { url: "CONNECTION_STRING" }`)}}}},adapter:(e,t)=>{if(e===null)return;if(e===void 0)throw new Q('"adapter" property must not be undefined, use null to conditionally disable driver adapters.');if(!Bn(t).includes("driverAdapters"))throw new Q('"adapter" property can only be provided to PrismaClient constructor when "driverAdapters" preview feature is enabled.')},datasourceUrl:e=>{if(typeof e!="undefined"&&typeof e!="string")throw new Q(`Invalid value ${JSON.stringify(e)} for "datasourceUrl" provided to PrismaClient constructor. +Expected string or undefined.`)},errorFormat:e=>{if(e){if(typeof e!="string")throw new Q(`Invalid value ${JSON.stringify(e)} for "errorFormat" provided to PrismaClient constructor.`);if(!Vu.includes(e)){let t=er(e,Vu);throw new Q(`Invalid errorFormat ${e} provided to PrismaClient constructor.${t}`)}}},log:e=>{if(!e)return;if(!Array.isArray(e))throw new Q(`Invalid value ${JSON.stringify(e)} for "log" provided to PrismaClient constructor.`);function t(r){if(typeof r=="string"&&!Ku.includes(r)){let n=er(r,Ku);throw new Q(`Invalid log level "${r}" provided to PrismaClient constructor.${n}`)}}for(let r of e){t(r);let n={level:t,emit:o=>{let i=["stdout","event"];if(!i.includes(o)){let s=er(o,i);throw new Q(`Invalid value ${JSON.stringify(o)} for "emit" in logLevel provided to PrismaClient constructor.${s}`)}}};if(r&&typeof r=="object")for(let[o,i]of Object.entries(r))if(n[o])n[o](i);else throw new Q(`Invalid property ${o} for "log" provided to PrismaClient constructor`)}},__internal:e=>{if(!e)return;let t=["debug","hooks","engine","measurePerformance"];if(typeof e!="object")throw new Q(`Invalid value ${JSON.stringify(e)} for "__internal" to PrismaClient constructor`);for(let[r]of Object.entries(e))if(!t.includes(r)){let n=er(r,t);throw new Q(`Invalid property ${JSON.stringify(r)} for "__internal" provided to PrismaClient constructor.${n}`)}}};function Ju(e,t){for(let[r,n]of Object.entries(e)){if(!qu.includes(r)){let o=er(r,qu);throw new Q(`Unknown property ${r} provided to PrismaClient constructor.${o}`)}$d[r](n,t)}if(e.datasourceUrl&&e.datasources)throw new Q('Can not use "datasourceUrl" and "datasources" options at the same time. Pick one of them')}function er(e,t){if(t.length===0||typeof e!="string")return"";let r=qd(e,t);return r?` Did you mean "${r}"?`:""}function qd(e,t){if(t.length===0)return null;let r=t.map(o=>({value:o,distance:(0,Gu.default)(e,o)}));r.sort((o,i)=>o.distance{let n=new Array(e.length),o=null,i=!1,s=0,a=()=>{i||(s++,s===e.length&&(i=!0,o?r(o):t(n)))},u=l=>{i||(i=!0,r(l))};for(let l=0;l{n[l]=c,a()},c=>{if(!Gn(c)){u(c);return}c.batchRequestIdx===l?u(c):(o||(o=c),a())})})}var ct=he("prisma:client");typeof globalThis=="object"&&(globalThis.NODE_CLIENT=!0);var Vd={requestArgsToMiddlewareArgs:e=>e,middlewareArgsToRequestArgs:e=>e},Kd=Symbol.for("prisma.client.transaction.id"),Gd={id:0,nextId(){return++this.id}};function zu(e){class t{constructor(n){this._middlewares=new Kn;this._createPrismaPromise=di();this.$extends=_a;var u,l,c,m,g,w;Za(e),n&&Ju(n,e);let o=n!=null&&n.adapter?Qs(n.adapter):void 0,i=new Hu.EventEmitter().on("error",()=>{});this._extensions=Dn.empty(),this._previewFeatures=Bn(e),this._clientVersion=(u=e.clientVersion)!=null?u:ju,this._activeProvider=e.activeProvider,this._tracingHelper=Fu(this._previewFeatures);let s={rootEnvPath:e.relativeEnvPaths.rootEnvPath&&Lr.default.resolve(e.dirname,e.relativeEnvPaths.rootEnvPath),schemaEnvPath:e.relativeEnvPaths.schemaEnvPath&&Lr.default.resolve(e.dirname,e.relativeEnvPaths.schemaEnvPath)},a=(l=e.injectableEdgeEnv)==null?void 0:l.call(e);try{let E=n!=null?n:{},b=(c=E.__internal)!=null?c:{},T=b.debug===!0;T&&he.enable("prisma:client");let S=Lr.default.resolve(e.dirname,e.relativePath);un.existsSync(S)||(S=e.dirname),ct("dirname",e.dirname),ct("relativePath",e.relativePath),ct("cwd",S);let R=b.engine||{};if(E.errorFormat?this._errorFormat=E.errorFormat:y.env.NODE_ENV==="production"?this._errorFormat="minimal":y.env.NO_COLOR?this._errorFormat="colorless":this._errorFormat="colorless",this._runtimeDataModel=e.runtimeDataModel,this._engineConfig={cwd:S,dirname:e.dirname,enableDebugLogs:T,allowTriggerPanic:R.allowTriggerPanic,datamodelPath:Lr.default.join(e.dirname,(m=e.filename)!=null?m:"schema.prisma"),prismaPath:(g=R.binaryPath)!=null?g:void 0,engineEndpoint:R.endpoint,generator:e.generator,showColors:this._errorFormat==="pretty",logLevel:E.log&&ku(E.log),logQueries:E.log&&!!(typeof E.log=="string"?E.log==="query":E.log.find(C=>typeof C=="string"?C==="query":C.level==="query")),env:(w=a==null?void 0:a.parsed)!=null?w:{},flags:[],clientVersion:e.clientVersion,engineVersion:e.engineVersion,previewFeatures:this._previewFeatures,activeProvider:e.activeProvider,inlineSchema:e.inlineSchema,overrideDatasources:Ya(E,e.datasourceNames),inlineDatasources:e.inlineDatasources,inlineSchemaHash:e.inlineSchemaHash,tracingHelper:this._tracingHelper,logEmitter:i,isBundled:e.isBundled,adapter:o},ct("clientVersion",e.clientVersion),this._engine=au(e,this._engineConfig),this._requestHandler=new Wn(this,i),E.log)for(let C of E.log){let M=typeof C=="string"?C:C.emit==="stdout"?C.level:null;M&&this.$on(M,N=>{var L;Bt.log(`${(L=Bt.tags[M])!=null?L:""}`,N.message||N.query)})}this._metrics=new Ut(this._engine)}catch(E){throw E.clientVersion=this._clientVersion,E}return this._appliedParent=wr(this)}get[Symbol.toStringTag](){return"PrismaClient"}$use(n){this._middlewares.use(n)}$on(n,o){n==="beforeExit"?this._engine.on("beforeExit",o):this._engine.on(n,i=>{var a,u,l,c;let s=i.fields;return o(n==="query"?{timestamp:i.timestamp,query:(a=s==null?void 0:s.query)!=null?a:i.query,params:(u=s==null?void 0:s.params)!=null?u:i.params,duration:(l=s==null?void 0:s.duration_ms)!=null?l:i.duration,target:i.target}:{timestamp:i.timestamp,message:(c=s==null?void 0:s.message)!=null?c:i.message,target:i.target})})}$connect(){try{return this._engine.start()}catch(n){throw n.clientVersion=this._clientVersion,n}}async $disconnect(){try{await this._engine.stop()}catch(n){throw n.clientVersion=this._clientVersion,n}finally{Ps()}}$executeRawInternal(n,o,i,s){var l;let a=this._activeProvider,u=(l=this._engineConfig.adapter)==null?void 0:l.flavour;return this._request({action:"executeRaw",args:i,transaction:n,clientMethod:o,argsMapper:fi({clientMethod:o,activeProvider:a,activeProviderFlavour:u}),callsite:lt(this._errorFormat),dataPath:[],middlewareArgsMapper:s})}$executeRaw(n,...o){return this._createPrismaPromise(i=>{if(n.raw!==void 0||n.sql!==void 0){let[s,a]=Wu(n,o);return pi(this._activeProvider,s.text,s.values,Array.isArray(n)?"prisma.$executeRaw``":"prisma.$executeRaw(sql``)"),this.$executeRawInternal(i,"$executeRaw",s,a)}throw new pe("`$executeRaw` is a tag function, please use it like the following:\n```\nconst result = await prisma.$executeRaw`UPDATE User SET cool = ${true} WHERE email = ${'user@email.com'};`\n```\n\nOr read our docs at https://www.prisma.io/docs/concepts/components/prisma-client/raw-database-access#executeraw\n",{clientVersion:this._clientVersion})})}$executeRawUnsafe(n,...o){return this._createPrismaPromise(i=>(pi(this._activeProvider,n,o,"prisma.$executeRawUnsafe(, [...values])"),this.$executeRawInternal(i,"$executeRawUnsafe",[n,...o])))}$runCommandRaw(n){if(e.activeProvider!=="mongodb")throw new pe(`The ${e.activeProvider} provider does not support $runCommandRaw. Use the mongodb provider.`,{clientVersion:this._clientVersion});return this._createPrismaPromise(o=>this._request({args:n,clientMethod:"$runCommandRaw",dataPath:[],action:"runCommandRaw",argsMapper:Eu,callsite:lt(this._errorFormat),transaction:o}))}async $queryRawInternal(n,o,i,s){var l;let a=this._activeProvider,u=(l=this._engineConfig.adapter)==null?void 0:l.flavour;return this._request({action:"queryRaw",args:i,transaction:n,clientMethod:o,argsMapper:fi({clientMethod:o,activeProvider:a,activeProviderFlavour:u}),callsite:lt(this._errorFormat),dataPath:[],middlewareArgsMapper:s}).then(Uu)}$queryRaw(n,...o){return this._createPrismaPromise(i=>{if(n.raw!==void 0||n.sql!==void 0)return this.$queryRawInternal(i,"$queryRaw",...Wu(n,o));throw new pe("`$queryRaw` is a tag function, please use it like the following:\n```\nconst result = await prisma.$queryRaw`SELECT * FROM User WHERE id = ${1} OR email = ${'user@email.com'};`\n```\n\nOr read our docs at https://www.prisma.io/docs/concepts/components/prisma-client/raw-database-access#queryraw\n",{clientVersion:this._clientVersion})})}$queryRawUnsafe(n,...o){return this._createPrismaPromise(i=>this.$queryRawInternal(i,"$queryRawUnsafe",[n,...o]))}_transactionWithArray({promises:n,options:o}){let i=Gd.nextId(),s=Iu(n.length),a=n.map((u,l)=>{var g,w;if((u==null?void 0:u[Symbol.toStringTag])!=="PrismaPromise")throw new Error("All elements of the array need to be Prisma Client promises. Hint: Please make sure you are not awaiting the Prisma client calls you intended to pass in the $transaction function.");let c=o==null?void 0:o.isolationLevel,m={kind:"batch",id:i,index:l,isolationLevel:c,lock:s};return(w=(g=u.requestTransaction)==null?void 0:g.call(u,m))!=null?w:u});return Qu(a)}async _transactionWithCallback({callback:n,options:o}){let i={traceparent:this._tracingHelper.getTraceParent()},s=await this._engine.transaction("start",i,o),a;try{let u={kind:"itx",...s};a=await n(this._createItxClient(u)),await this._engine.transaction("commit",i,s)}catch(u){throw await this._engine.transaction("rollback",i,s).catch(()=>{}),u}return a}_createItxClient(n){return wr(Le(Fn(this),[ge("_appliedParent",()=>this._appliedParent._createItxClient(n)),ge("_createPrismaPromise",()=>di(n)),ge(Kd,()=>n.id),yr(gi)]))}$transaction(n,o){let i;typeof n=="function"?i=()=>this._transactionWithCallback({callback:n,options:o}):i=()=>this._transactionWithArray({promises:n,options:o});let s={name:"transaction",attributes:{method:"$transaction"}};return this._tracingHelper.runInChildSpan(s,i)}_request(n){var l;n.otelParentCtx=this._tracingHelper.getActiveContext();let o=(l=n.middlewareArgsMapper)!=null?l:Vd,i={args:o.requestArgsToMiddlewareArgs(n.args),dataPath:n.dataPath,runInTransaction:!!n.transaction,action:n.action,model:n.model},s={middleware:{name:"middleware",middleware:!0,attributes:{method:"$use"},active:!1},operation:{name:"operation",attributes:{method:i.action,model:i.model,name:i.model?`${i.model}.${i.action}`:i.action}}},a=-1,u=async c=>{let m=this._middlewares.get(++a);if(m)return this._tracingHelper.runInChildSpan(s.middleware,S=>m(c,R=>(S==null||S.end(),u(R))));let{runInTransaction:g,args:w,...E}=c,b={...n,...E};w&&(b.args=o.middlewareArgsToRequestArgs(w)),n.transaction!==void 0&&g===!1&&delete b.transaction;let T=await qa(this,b);return b.model?Ba({result:T,modelName:b.model,args:b.args,extensions:this._extensions,runtimeDataModel:this._runtimeDataModel}):T};return this._tracingHelper.runInChildSpan(s.operation,()=>u(i))}async _executeRequest({args:n,clientMethod:o,dataPath:i,callsite:s,action:a,model:u,argsMapper:l,transaction:c,unpacker:m,otelParentCtx:g,customDataProxyFetch:w}){try{n=l?l(n):n;let E={name:"serialize"},b=this._tracingHelper.runInChildSpan(E,()=>xu({modelName:u,runtimeDataModel:this._runtimeDataModel,action:a,args:n,clientMethod:o,callsite:s,extensions:this._extensions,errorFormat:this._errorFormat,clientVersion:this._clientVersion}));return he.enabled("prisma:client")&&(ct("Prisma Client call:"),ct(`prisma.${o}(${xa(n)})`),ct("Generated request:"),ct(JSON.stringify(b,null,2)+` +`)),(c==null?void 0:c.kind)==="batch"&&await c.lock,this._requestHandler.request({protocolQuery:b,modelName:u,action:a,clientMethod:o,dataPath:i,callsite:s,args:n,extensions:this._extensions,transaction:c,unpacker:m,otelParentCtx:g,otelChildCtx:this._tracingHelper.getActiveContext(),customDataProxyFetch:w})}catch(E){throw E.clientVersion=this._clientVersion,E}}get $metrics(){if(!this._hasPreviewFlag("metrics"))throw new pe("`metrics` preview feature must be enabled in order to access metrics API",{clientVersion:this._clientVersion});return this._metrics}_hasPreviewFlag(n){var o;return!!((o=this._engineConfig.previewFeatures)!=null&&o.includes(n))}}return t}function Wu(e,t){return Jd(e)?[new xe(e,t),Mu]:[e,Su]}function Jd(e){return Array.isArray(e)&&Array.isArray(e.raw)}d();p();f();var Qd=new Set(["toJSON","$$typeof","asymmetricMatch",Symbol.iterator,Symbol.toStringTag,Symbol.isConcatSpreadable,Symbol.toPrimitive]);function Zu(e){return new Proxy(e,{get(t,r){if(r in t)return t[r];if(!Qd.has(r))throw new TypeError(`Invalid enum value: ${String(r)}`)}})}d();p();f();0&&(module.exports={DMMF,DMMFClass,Debug,Decimal,Extensions,MetricsClient,NotFoundError,ObjectEnumValue,PrismaClientInitializationError,PrismaClientKnownRequestError,PrismaClientRustPanicError,PrismaClientUnknownRequestError,PrismaClientValidationError,Public,Sql,Types,defineDmmfProperty,empty,getPrismaClient,itxClientDenyList,join,makeStrictEnum,objectEnumNames,objectEnumValues,raw,sqltag,warnEnvConflicts,warnOnce}); +//# sourceMappingURL=edge.js.map diff --git a/packages/dataprovider/.prisma/runtime/index-browser.d.ts b/packages/dataprovider/.prisma/runtime/index-browser.d.ts index b1282e6..ad8f8a3 100644 --- a/packages/dataprovider/.prisma/runtime/index-browser.d.ts +++ b/packages/dataprovider/.prisma/runtime/index-browser.d.ts @@ -1,3 +1,21 @@ +declare class AnyNull extends NullTypesEnumValue { +} + +declare type Args = T extends { + [K: symbol]: { + types: { + operations: { + [K in F]: { + args: any; + }; + }; + }; + }; +} ? T[symbol]['types']['operations'][F]['args'] : any; + +declare class DbNull extends NullTypesEnumValue { +} + export declare namespace Decimal { export type Constructor = typeof Decimal; export type Instance = Decimal; @@ -23,7 +41,6 @@ export declare class Decimal { readonly d: number[]; readonly e: number; readonly s: number; - private readonly toStringTag: string; constructor(n: Decimal.Value); @@ -218,7 +235,7 @@ export declare class Decimal { static exp(n: Decimal.Value): Decimal; static floor(n: Decimal.Value): Decimal; static hypot(...n: Decimal.Value[]): Decimal; - static isDecimal(object: any): boolean + static isDecimal(object: any): object is Decimal; static ln(n: Decimal.Value): Decimal; static log(n: Decimal.Value, base?: Decimal.Value): Decimal; static log2(n: Decimal.Value): Decimal; @@ -232,7 +249,7 @@ export declare class Decimal { static random(significantDigits?: number): Decimal; static round(n: Decimal.Value): Decimal; static set(object: Decimal.Config): Decimal.Constructor; - static sign(n: Decimal.Value): Decimal; + static sign(n: Decimal.Value): number; static sin(n: Decimal.Value): Decimal; static sinh(n: Decimal.Value): Decimal; static sqrt(n: Decimal.Value): Decimal; @@ -266,4 +283,96 @@ export declare class Decimal { static readonly EUCLID: 9; } +/** + * Detect the current JavaScript runtime following + * the WinterCG Runtime Keys proposal: + * + * - `edge-routine` Alibaba Cloud Edge Routine + * - `workerd` Cloudflare Workers + * - `deno` Deno and Deno Deploy + * - `lagon` Lagon + * - `react-native` React Native + * - `netlify` Netlify Edge Functions + * - `electron` Electron + * - `node` Node.js + * - `bun` Bun + * - `edge-light` Vercel Edge Functions + * - `fastly` Fastly Compute@Edge + * + * @see https://runtime-keys.proposal.wintercg.org/ + * @returns {Runtime} + */ +export declare function detectRuntime(): Runtime; + +declare type Exact = (A extends unknown ? (W extends A ? { + [K in keyof A]: Exact; +} : W) : never) | (A extends Narrowable ? A : never); + +declare class JsonNull extends NullTypesEnumValue { +} + +/** + * Generates more strict variant of an enum which, unlike regular enum, + * throws on non-existing property access. This can be useful in following situations: + * - we have an API, that accepts both `undefined` and `SomeEnumType` as an input + * - enum values are generated dynamically from DMMF. + * + * In that case, if using normal enums and no compile-time typechecking, using non-existing property + * will result in `undefined` value being used, which will be accepted. Using strict enum + * in this case will help to have a runtime exception, telling you that you are probably doing something wrong. + * + * Note: if you need to check for existence of a value in the enum you can still use either + * `in` operator or `hasOwnProperty` function. + * + * @param definition + * @returns + */ +export declare function makeStrictEnum>(definition: T): T; + +declare type Narrowable = string | number | bigint | boolean | []; + +declare class NullTypesEnumValue extends ObjectEnumValue { + _getNamespace(): string; +} + +/** + * Base class for unique values of object-valued enums. + */ +declare abstract class ObjectEnumValue { + constructor(arg?: symbol); + abstract _getNamespace(): string; + _getName(): string; + toString(): string; +} + +export declare const objectEnumValues: { + classes: { + DbNull: typeof DbNull; + JsonNull: typeof JsonNull; + AnyNull: typeof AnyNull; + }; + instances: { + DbNull: DbNull; + JsonNull: JsonNull; + AnyNull: AnyNull; + }; +}; + +declare type Operation = 'findFirst' | 'findFirstOrThrow' | 'findUnique' | 'findUniqueOrThrow' | 'findMany' | 'create' | 'createMany' | 'update' | 'updateMany' | 'upsert' | 'delete' | 'deleteMany' | 'aggregate' | 'count' | 'groupBy' | '$queryRaw' | '$executeRaw' | '$queryRawUnsafe' | '$executeRawUnsafe' | 'findRaw' | 'aggregateRaw' | '$runCommandRaw'; + +declare namespace Public { + export { + validator + } +} +export { Public } + +declare type Runtime = "edge-routine" | "workerd" | "deno" | "lagon" | "react-native" | "netlify" | "electron" | "node" | "bun" | "edge-light" | "fastly" | "unknown"; + +declare function validator(): (select: Exact) => S; + +declare function validator, O extends keyof C[M] & Operation>(client: C, model: M, operation: O): (select: Exact>) => S; + +declare function validator, O extends keyof C[M] & Operation, P extends keyof Args>(client: C, model: M, operation: O, prop: P): (select: Exact[P]>) => S; + export { } diff --git a/packages/dataprovider/.prisma/runtime/index-browser.js b/packages/dataprovider/.prisma/runtime/index-browser.js index 0cab916..94566e2 100644 --- a/packages/dataprovider/.prisma/runtime/index-browser.js +++ b/packages/dataprovider/.prisma/runtime/index-browser.js @@ -1,2394 +1,13 @@ -var __defProp = Object.defineProperty; -var __getOwnPropDesc = Object.getOwnPropertyDescriptor; -var __getOwnPropNames = Object.getOwnPropertyNames; -var __hasOwnProp = Object.prototype.hasOwnProperty; -var __name = (target, value) => __defProp(target, "name", { value, configurable: true }); -var __export = (target, all) => { - for (var name in all) - __defProp(target, name, { get: all[name], enumerable: true }); -}; -var __copyProps = (to, from, except, desc) => { - if (from && typeof from === "object" || typeof from === "function") { - for (let key of __getOwnPropNames(from)) - if (!__hasOwnProp.call(to, key) && key !== except) - __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable }); - } - return to; -}; -var __toCommonJS = (mod2) => __copyProps(__defProp({}, "__esModule", { value: true }), mod2); +"use strict";var he=Object.defineProperty;var Je=Object.getOwnPropertyDescriptor;var We=Object.getOwnPropertyNames;var je=Object.prototype.hasOwnProperty;var Ce=(e,n)=>{for(var i in n)he(e,i,{get:n[i],enumerable:!0})},Ge=(e,n,i,r)=>{if(n&&typeof n=="object"||typeof n=="function")for(let t of We(n))!je.call(e,t)&&t!==i&&he(e,t,{get:()=>n[t],enumerable:!(r=Je(n,t))||r.enumerable});return e};var Xe=e=>Ge(he({},"__esModule",{value:!0}),e);var jn={};Ce(jn,{Decimal:()=>Ve,Public:()=>de,detectRuntime:()=>He,makeStrictEnum:()=>Pe,objectEnumValues:()=>Oe});module.exports=Xe(jn);var de={};Ce(de,{validator:()=>Me});function Me(...e){return n=>n}var ne=Symbol(),pe=new WeakMap,ge=class{constructor(n){n===ne?pe.set(this,"Prisma.".concat(this._getName())):pe.set(this,"new Prisma.".concat(this._getNamespace(),".").concat(this._getName(),"()"))}_getName(){return this.constructor.name}toString(){return pe.get(this)}},j=class extends ge{_getNamespace(){return"NullTypes"}},G=class extends j{};me(G,"DbNull");var X=class extends j{};me(X,"JsonNull");var K=class extends j{};me(K,"AnyNull");var Oe={classes:{DbNull:G,JsonNull:X,AnyNull:K},instances:{DbNull:new G(ne),JsonNull:new X(ne),AnyNull:new K(ne)}};function me(e,n){Object.defineProperty(e,"name",{value:n,configurable:!0})}var Ke=new Set(["toJSON","$$typeof","asymmetricMatch",Symbol.iterator,Symbol.toStringTag,Symbol.isConcatSpreadable,Symbol.toPrimitive]);function Pe(e){return new Proxy(e,{get(n,i){if(i in n)return n[i];if(!Ke.has(i))throw new TypeError("Invalid enum value: ".concat(String(i)))}})}var H=9e15,V=1e9,we="0123456789abcdef",re="2.3025850929940456840179914546843642076011014886287729760333279009675726096773524802359972050895982983419677840422862486334095254650828067566662873690987816894829072083255546808437998948262331985283935053089653777326288461633662222876982198867465436674744042432743651550489343149393914796194044002221051017141748003688084012647080685567743216228355220114804663715659121373450747856947683463616792101806445070648000277502684916746550586856935673420670581136429224554405758925724208241314695689016758940256776311356919292033376587141660230105703089634572075440370847469940168269282808481184289314848524948644871927809676271275775397027668605952496716674183485704422507197965004714951050492214776567636938662976979522110718264549734772662425709429322582798502585509785265383207606726317164309505995087807523710333101197857547331541421808427543863591778117054309827482385045648019095610299291824318237525357709750539565187697510374970888692180205189339507238539205144634197265287286965110862571492198849978748873771345686209167058",te="3.1415926535897932384626433832795028841971693993751058209749445923078164062862089986280348253421170679821480865132823066470938446095505822317253594081284811174502841027019385211055596446229489549303819644288109756659334461284756482337867831652712019091456485669234603486104543266482133936072602491412737245870066063155881748815209209628292540917153643678925903600113305305488204665213841469519415116094330572703657595919530921861173819326117931051185480744623799627495673518857527248912279381830119491298336733624406566430860213949463952247371907021798609437027705392171762931767523846748184676694051320005681271452635608277857713427577896091736371787214684409012249534301465495853710507922796892589235420199561121290219608640344181598136297747713099605187072113499999983729780499510597317328160963185950244594553469083026425223082533446850352619311881710100031378387528865875332083814206171776691473035982534904287554687311595628638823537875937519577818577805321712268066130019278766111959092164201989380952572010654858632789",Ne={precision:20,rounding:4,modulo:1,toExpNeg:-7,toExpPos:21,minE:-H,maxE:H,crypto:!1},qe,Z,w=!0,oe="[DecimalError] ",$=oe+"Invalid argument: ",Te=oe+"Precision limit exceeded",Le=oe+"crypto unavailable",Re="[object Decimal]",A=Math.floor,M=Math.pow,Qe=/^0b([01]+(\.[01]*)?|\.[01]+)(p[+-]?\d+)?$/i,Ye=/^0x([0-9a-f]+(\.[0-9a-f]*)?|\.[0-9a-f]+)(p[+-]?\d+)?$/i,xe=/^0o([0-7]+(\.[0-7]*)?|\.[0-7]+)(p[+-]?\d+)?$/i,Fe=/^(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i,F=1e7,m=7,ze=9007199254740991,ye=re.length-1,ve=te.length-1,d={toStringTag:Re};d.absoluteValue=d.abs=function(){var e=new this.constructor(this);return e.s<0&&(e.s=1),p(e)};d.ceil=function(){return p(new this.constructor(this),this.e+1,2)};d.clampedTo=d.clamp=function(e,n){var i,r=this,t=r.constructor;if(e=new t(e),n=new t(n),!e.s||!n.s)return new t(NaN);if(e.gt(n))throw Error($+n);return i=r.cmp(e),i<0?e:r.cmp(n)>0?n:new t(r)};d.comparedTo=d.cmp=function(e){var n,i,r,t,s=this,o=s.d,u=(e=new s.constructor(e)).d,l=s.s,f=e.s;if(!o||!u)return!l||!f?NaN:l!==f?l:o===u?0:!o^l<0?1:-1;if(!o[0]||!u[0])return o[0]?l:u[0]?-f:0;if(l!==f)return l;if(s.e!==e.e)return s.e>e.e^l<0?1:-1;for(r=o.length,t=u.length,n=0,i=ru[n]^l<0?1:-1;return r===t?0:r>t^l<0?1:-1};d.cosine=d.cos=function(){var e,n,i=this,r=i.constructor;return i.d?i.d[0]?(e=r.precision,n=r.rounding,r.precision=e+Math.max(i.e,i.sd())+m,r.rounding=1,i=en(r,Be(r,i)),r.precision=e,r.rounding=n,p(Z==2||Z==3?i.neg():i,e,n,!0)):new r(1):new r(NaN)};d.cubeRoot=d.cbrt=function(){var e,n,i,r,t,s,o,u,l,f,c=this,a=c.constructor;if(!c.isFinite()||c.isZero())return new a(c);for(w=!1,s=c.s*M(c.s*c,1/3),!s||Math.abs(s)==1/0?(i=O(c.d),e=c.e,(s=(e-i.length+1)%3)&&(i+=s==1||s==-2?"0":"00"),s=M(i,1/3),e=A((e+1)/3)-(e%3==(e<0?-1:2)),s==1/0?i="5e"+e:(i=s.toExponential(),i=i.slice(0,i.indexOf("e")+1)+e),r=new a(i),r.s=c.s):r=new a(s.toString()),o=(e=a.precision)+3;;)if(u=r,l=u.times(u).times(u),f=l.plus(c),r=S(f.plus(c).times(u),f.plus(l),o+2,1),O(u.d).slice(0,o)===(i=O(r.d)).slice(0,o))if(i=i.slice(o-3,o+1),i=="9999"||!t&&i=="4999"){if(!t&&(p(u,e+1,0),u.times(u).times(u).eq(c))){r=u;break}o+=4,t=1}else{(!+i||!+i.slice(1)&&i.charAt(0)=="5")&&(p(r,e+1,1),n=!r.times(r).times(r).eq(c));break}return w=!0,p(r,e,a.rounding,n)};d.decimalPlaces=d.dp=function(){var e,n=this.d,i=NaN;if(n){if(e=n.length-1,i=(e-A(this.e/m))*m,e=n[e],e)for(;e%10==0;e/=10)i--;i<0&&(i=0)}return i};d.dividedBy=d.div=function(e){return S(this,new this.constructor(e))};d.dividedToIntegerBy=d.divToInt=function(e){var n=this,i=n.constructor;return p(S(n,new i(e),0,1,1),i.precision,i.rounding)};d.equals=d.eq=function(e){return this.cmp(e)===0};d.floor=function(){return p(new this.constructor(this),this.e+1,3)};d.greaterThan=d.gt=function(e){return this.cmp(e)>0};d.greaterThanOrEqualTo=d.gte=function(e){var n=this.cmp(e);return n==1||n===0};d.hyperbolicCosine=d.cosh=function(){var e,n,i,r,t,s=this,o=s.constructor,u=new o(1);if(!s.isFinite())return new o(s.s?1/0:NaN);if(s.isZero())return u;i=o.precision,r=o.rounding,o.precision=i+Math.max(s.e,s.sd())+4,o.rounding=1,t=s.d.length,t<32?(e=Math.ceil(t/3),n=(1/fe(4,e)).toString()):(e=16,n="2.3283064365386962890625e-10"),s=J(o,1,s.times(n),new o(1),!0);for(var l,f=e,c=new o(8);f--;)l=s.times(s),s=u.minus(l.times(c.minus(l.times(c))));return p(s,o.precision=i,o.rounding=r,!0)};d.hyperbolicSine=d.sinh=function(){var e,n,i,r,t=this,s=t.constructor;if(!t.isFinite()||t.isZero())return new s(t);if(n=s.precision,i=s.rounding,s.precision=n+Math.max(t.e,t.sd())+4,s.rounding=1,r=t.d.length,r<3)t=J(s,2,t,t,!0);else{e=1.4*Math.sqrt(r),e=e>16?16:e|0,t=t.times(1/fe(5,e)),t=J(s,2,t,t,!0);for(var o,u=new s(5),l=new s(16),f=new s(20);e--;)o=t.times(t),t=t.times(u.plus(o.times(l.times(o).plus(f))))}return s.precision=n,s.rounding=i,p(t,n,i,!0)};d.hyperbolicTangent=d.tanh=function(){var e,n,i=this,r=i.constructor;return i.isFinite()?i.isZero()?new r(i):(e=r.precision,n=r.rounding,r.precision=e+7,r.rounding=1,S(i.sinh(),i.cosh(),r.precision=e,r.rounding=n)):new r(i.s)};d.inverseCosine=d.acos=function(){var e,n=this,i=n.constructor,r=n.abs().cmp(1),t=i.precision,s=i.rounding;return r!==-1?r===0?n.isNeg()?R(i,t,s):new i(0):new i(NaN):n.isZero()?R(i,t+4,s).times(.5):(i.precision=t+6,i.rounding=1,n=n.asin(),e=R(i,t+4,s).times(.5),i.precision=t,i.rounding=s,e.minus(n))};d.inverseHyperbolicCosine=d.acosh=function(){var e,n,i=this,r=i.constructor;return i.lte(1)?new r(i.eq(1)?0:NaN):i.isFinite()?(e=r.precision,n=r.rounding,r.precision=e+Math.max(Math.abs(i.e),i.sd())+4,r.rounding=1,w=!1,i=i.times(i).minus(1).sqrt().plus(i),w=!0,r.precision=e,r.rounding=n,i.ln()):new r(i)};d.inverseHyperbolicSine=d.asinh=function(){var e,n,i=this,r=i.constructor;return!i.isFinite()||i.isZero()?new r(i):(e=r.precision,n=r.rounding,r.precision=e+2*Math.max(Math.abs(i.e),i.sd())+6,r.rounding=1,w=!1,i=i.times(i).plus(1).sqrt().plus(i),w=!0,r.precision=e,r.rounding=n,i.ln())};d.inverseHyperbolicTangent=d.atanh=function(){var e,n,i,r,t=this,s=t.constructor;return t.isFinite()?t.e>=0?new s(t.abs().eq(1)?t.s/0:t.isZero()?t:NaN):(e=s.precision,n=s.rounding,r=t.sd(),Math.max(r,e)<2*-t.e-1?p(new s(t),e,n,!0):(s.precision=i=r-t.e,t=S(t.plus(1),new s(1).minus(t),i+e,1),s.precision=e+4,s.rounding=1,t=t.ln(),s.precision=e,s.rounding=n,t.times(.5))):new s(NaN)};d.inverseSine=d.asin=function(){var e,n,i,r,t=this,s=t.constructor;return t.isZero()?new s(t):(n=t.abs().cmp(1),i=s.precision,r=s.rounding,n!==-1?n===0?(e=R(s,i+4,r).times(.5),e.s=t.s,e):new s(NaN):(s.precision=i+6,s.rounding=1,t=t.div(new s(1).minus(t.times(t)).sqrt().plus(1)).atan(),s.precision=i,s.rounding=r,t.times(2)))};d.inverseTangent=d.atan=function(){var e,n,i,r,t,s,o,u,l,f=this,c=f.constructor,a=c.precision,h=c.rounding;if(f.isFinite()){if(f.isZero())return new c(f);if(f.abs().eq(1)&&a+4<=ve)return o=R(c,a+4,h).times(.25),o.s=f.s,o}else{if(!f.s)return new c(NaN);if(a+4<=ve)return o=R(c,a+4,h).times(.5),o.s=f.s,o}for(c.precision=u=a+10,c.rounding=1,i=Math.min(28,u/m+2|0),e=i;e;--e)f=f.div(f.times(f).plus(1).sqrt().plus(1));for(w=!1,n=Math.ceil(u/m),r=1,l=f.times(f),o=new c(f),t=f;e!==-1;)if(t=t.times(l),s=o.minus(t.div(r+=2)),t=t.times(l),o=s.plus(t.div(r+=2)),o.d[n]!==void 0)for(e=n;o.d[e]===s.d[e]&&e--;);return i&&(o=o.times(2<this.d.length-2};d.isNaN=function(){return!this.s};d.isNegative=d.isNeg=function(){return this.s<0};d.isPositive=d.isPos=function(){return this.s>0};d.isZero=function(){return!!this.d&&this.d[0]===0};d.lessThan=d.lt=function(e){return this.cmp(e)<0};d.lessThanOrEqualTo=d.lte=function(e){return this.cmp(e)<1};d.logarithm=d.log=function(e){var n,i,r,t,s,o,u,l,f=this,c=f.constructor,a=c.precision,h=c.rounding,g=5;if(e==null)e=new c(10),n=!0;else{if(e=new c(e),i=e.d,e.s<0||!i||!i[0]||e.eq(1))return new c(NaN);n=e.eq(10)}if(i=f.d,f.s<0||!i||!i[0]||f.eq(1))return new c(i&&!i[0]?-1/0:f.s!=1?NaN:i?0:1/0);if(n)if(i.length>1)s=!0;else{for(t=i[0];t%10===0;)t/=10;s=t!==1}if(w=!1,u=a+g,o=B(f,u),r=n?se(c,u+10):B(e,u),l=S(o,r,u,1),Q(l.d,t=a,h))do if(u+=10,o=B(f,u),r=n?se(c,u+10):B(e,u),l=S(o,r,u,1),!s){+O(l.d).slice(t+1,t+15)+1==1e14&&(l=p(l,a+1,0));break}while(Q(l.d,t+=10,h));return w=!0,p(l,a,h)};d.minus=d.sub=function(e){var n,i,r,t,s,o,u,l,f,c,a,h,g=this,v=g.constructor;if(e=new v(e),!g.d||!e.d)return!g.s||!e.s?e=new v(NaN):g.d?e.s=-e.s:e=new v(e.d||g.s!==e.s?g:NaN),e;if(g.s!=e.s)return e.s=-e.s,g.plus(e);if(f=g.d,h=e.d,u=v.precision,l=v.rounding,!f[0]||!h[0]){if(h[0])e.s=-e.s;else if(f[0])e=new v(g);else return new v(l===3?-0:0);return w?p(e,u,l):e}if(i=A(e.e/m),c=A(g.e/m),f=f.slice(),s=c-i,s){for(a=s<0,a?(n=f,s=-s,o=h.length):(n=h,i=c,o=f.length),r=Math.max(Math.ceil(u/m),o)+2,s>r&&(s=r,n.length=1),n.reverse(),r=s;r--;)n.push(0);n.reverse()}else{for(r=f.length,o=h.length,a=r0;--r)f[o++]=0;for(r=h.length;r>s;){if(f[--r]o?s+1:o+1,t>o&&(t=o,i.length=1),i.reverse();t--;)i.push(0);i.reverse()}for(o=f.length,t=c.length,o-t<0&&(t=o,i=c,c=f,f=i),n=0;t;)n=(f[--t]=f[t]+c[t]+n)/F|0,f[t]%=F;for(n&&(f.unshift(n),++r),o=f.length;f[--o]==0;)f.pop();return e.d=f,e.e=ue(f,r),w?p(e,u,l):e};d.precision=d.sd=function(e){var n,i=this;if(e!==void 0&&e!==!!e&&e!==1&&e!==0)throw Error($+e);return i.d?(n=Ie(i.d),e&&i.e+1>n&&(n=i.e+1)):n=NaN,n};d.round=function(){var e=this,n=e.constructor;return p(new n(e),e.e+1,n.rounding)};d.sine=d.sin=function(){var e,n,i=this,r=i.constructor;return i.isFinite()?i.isZero()?new r(i):(e=r.precision,n=r.rounding,r.precision=e+Math.max(i.e,i.sd())+m,r.rounding=1,i=rn(r,Be(r,i)),r.precision=e,r.rounding=n,p(Z>2?i.neg():i,e,n,!0)):new r(NaN)};d.squareRoot=d.sqrt=function(){var e,n,i,r,t,s,o=this,u=o.d,l=o.e,f=o.s,c=o.constructor;if(f!==1||!u||!u[0])return new c(!f||f<0&&(!u||u[0])?NaN:u?o:1/0);for(w=!1,f=Math.sqrt(+o),f==0||f==1/0?(n=O(u),(n.length+l)%2==0&&(n+="0"),f=Math.sqrt(n),l=A((l+1)/2)-(l<0||l%2),f==1/0?n="5e"+l:(n=f.toExponential(),n=n.slice(0,n.indexOf("e")+1)+l),r=new c(n)):r=new c(f.toString()),i=(l=c.precision)+3;;)if(s=r,r=s.plus(S(o,s,i+2,1)).times(.5),O(s.d).slice(0,i)===(n=O(r.d)).slice(0,i))if(n=n.slice(i-3,i+1),n=="9999"||!t&&n=="4999"){if(!t&&(p(s,l+1,0),s.times(s).eq(o))){r=s;break}i+=4,t=1}else{(!+n||!+n.slice(1)&&n.charAt(0)=="5")&&(p(r,l+1,1),e=!r.times(r).eq(o));break}return w=!0,p(r,l,c.rounding,e)};d.tangent=d.tan=function(){var e,n,i=this,r=i.constructor;return i.isFinite()?i.isZero()?new r(i):(e=r.precision,n=r.rounding,r.precision=e+10,r.rounding=1,i=i.sin(),i.s=1,i=S(i,new r(1).minus(i.times(i)).sqrt(),e+10,0),r.precision=e,r.rounding=n,p(Z==2||Z==4?i.neg():i,e,n,!0)):new r(NaN)};d.times=d.mul=function(e){var n,i,r,t,s,o,u,l,f,c=this,a=c.constructor,h=c.d,g=(e=new a(e)).d;if(e.s*=c.s,!h||!h[0]||!g||!g[0])return new a(!e.s||h&&!h[0]&&!g||g&&!g[0]&&!h?NaN:!h||!g?e.s/0:e.s*0);for(i=A(c.e/m)+A(e.e/m),l=h.length,f=g.length,l=0;){for(n=0,t=l+r;t>r;)u=s[t]+g[r]*h[t-r-1]+n,s[t--]=u%F|0,n=u/F|0;s[t]=(s[t]+n)%F|0}for(;!s[--o];)s.pop();return n?++i:s.shift(),e.d=s,e.e=ue(s,i),w?p(e,a.precision,a.rounding):e};d.toBinary=function(e,n){return ke(this,2,e,n)};d.toDecimalPlaces=d.toDP=function(e,n){var i=this,r=i.constructor;return i=new r(i),e===void 0?i:(q(e,0,V),n===void 0?n=r.rounding:q(n,0,8),p(i,e+i.e+1,n))};d.toExponential=function(e,n){var i,r=this,t=r.constructor;return e===void 0?i=I(r,!0):(q(e,0,V),n===void 0?n=t.rounding:q(n,0,8),r=p(new t(r),e+1,n),i=I(r,!0,e+1)),r.isNeg()&&!r.isZero()?"-"+i:i};d.toFixed=function(e,n){var i,r,t=this,s=t.constructor;return e===void 0?i=I(t):(q(e,0,V),n===void 0?n=s.rounding:q(n,0,8),r=p(new s(t),e+t.e+1,n),i=I(r,!1,e+r.e+1)),t.isNeg()&&!t.isZero()?"-"+i:i};d.toFraction=function(e){var n,i,r,t,s,o,u,l,f,c,a,h,g=this,v=g.d,N=g.constructor;if(!v)return new N(g);if(f=i=new N(1),r=l=new N(0),n=new N(r),s=n.e=Ie(v)-g.e-1,o=s%m,n.d[0]=M(10,o<0?m+o:o),e==null)e=s>0?n:f;else{if(u=new N(e),!u.isInt()||u.lt(f))throw Error($+u);e=u.gt(n)?s>0?n:f:u}for(w=!1,u=new N(O(v)),c=N.precision,N.precision=s=v.length*m*2;a=S(u,n,0,1,1),t=i.plus(a.times(r)),t.cmp(e)!=1;)i=r,r=t,t=f,f=l.plus(a.times(t)),l=t,t=n,n=u.minus(a.times(t)),u=t;return t=S(e.minus(i),r,0,1,1),l=l.plus(t.times(f)),i=i.plus(t.times(r)),l.s=f.s=g.s,h=S(f,r,s,1).minus(g).abs().cmp(S(l,i,s,1).minus(g).abs())<1?[f,r]:[l,i],N.precision=c,w=!0,h};d.toHexadecimal=d.toHex=function(e,n){return ke(this,16,e,n)};d.toNearest=function(e,n){var i=this,r=i.constructor;if(i=new r(i),e==null){if(!i.d)return i;e=new r(1),n=r.rounding}else{if(e=new r(e),n===void 0?n=r.rounding:q(n,0,8),!i.d)return e.s?i:e;if(!e.d)return e.s&&(e.s=i.s),e}return e.d[0]?(w=!1,i=S(i,e,0,n,1).times(e),w=!0,p(i)):(e.s=i.s,i=e),i};d.toNumber=function(){return+this};d.toOctal=function(e,n){return ke(this,8,e,n)};d.toPower=d.pow=function(e){var n,i,r,t,s,o,u=this,l=u.constructor,f=+(e=new l(e));if(!u.d||!e.d||!u.d[0]||!e.d[0])return new l(M(+u,f));if(u=new l(u),u.eq(1))return u;if(r=l.precision,s=l.rounding,e.eq(1))return p(u,r,s);if(n=A(e.e/m),n>=e.d.length-1&&(i=f<0?-f:f)<=ze)return t=De(l,u,i,r),e.s<0?new l(1).div(t):p(t,r,s);if(o=u.s,o<0){if(nl.maxE+1||n0?o/0:0):(w=!1,l.rounding=u.s=1,i=Math.min(12,(n+"").length),t=Ee(e.times(B(u,r+i)),r),t.d&&(t=p(t,r+5,1),Q(t.d,r,s)&&(n=r+10,t=p(Ee(e.times(B(u,n+i)),n),n+5,1),+O(t.d).slice(r+1,r+15)+1==1e14&&(t=p(t,r+1,0)))),t.s=o,w=!0,l.rounding=s,p(t,r,s))};d.toPrecision=function(e,n){var i,r=this,t=r.constructor;return e===void 0?i=I(r,r.e<=t.toExpNeg||r.e>=t.toExpPos):(q(e,1,V),n===void 0?n=t.rounding:q(n,0,8),r=p(new t(r),e,n),i=I(r,e<=r.e||r.e<=t.toExpNeg,e)),r.isNeg()&&!r.isZero()?"-"+i:i};d.toSignificantDigits=d.toSD=function(e,n){var i=this,r=i.constructor;return e===void 0?(e=r.precision,n=r.rounding):(q(e,1,V),n===void 0?n=r.rounding:q(n,0,8)),p(new r(i),e,n)};d.toString=function(){var e=this,n=e.constructor,i=I(e,e.e<=n.toExpNeg||e.e>=n.toExpPos);return e.isNeg()&&!e.isZero()?"-"+i:i};d.truncated=d.trunc=function(){return p(new this.constructor(this),this.e+1,1)};d.valueOf=d.toJSON=function(){var e=this,n=e.constructor,i=I(e,e.e<=n.toExpNeg||e.e>=n.toExpPos);return e.isNeg()?"-"+i:i};function O(e){var n,i,r,t=e.length-1,s="",o=e[0];if(t>0){for(s+=o,n=1;ni)throw Error($+e)}function Q(e,n,i,r){var t,s,o,u;for(s=e[0];s>=10;s/=10)--n;return--n<0?(n+=m,t=0):(t=Math.ceil((n+1)/m),n%=m),s=M(10,m-n),u=e[t]%s|0,r==null?n<3?(n==0?u=u/100|0:n==1&&(u=u/10|0),o=i<4&&u==99999||i>3&&u==49999||u==5e4||u==0):o=(i<4&&u+1==s||i>3&&u+1==s/2)&&(e[t+1]/s/100|0)==M(10,n-2)-1||(u==s/2||u==0)&&(e[t+1]/s/100|0)==0:n<4?(n==0?u=u/1e3|0:n==1?u=u/100|0:n==2&&(u=u/10|0),o=(r||i<4)&&u==9999||!r&&i>3&&u==4999):o=((r||i<4)&&u+1==s||!r&&i>3&&u+1==s/2)&&(e[t+1]/s/1e3|0)==M(10,n-3)-1,o}function ie(e,n,i){for(var r,t=[0],s,o=0,u=e.length;oi-1&&(t[r+1]===void 0&&(t[r+1]=0),t[r+1]+=t[r]/i|0,t[r]%=i)}return t.reverse()}function en(e,n){var i,r,t;if(n.isZero())return n;r=n.d.length,r<32?(i=Math.ceil(r/3),t=(1/fe(4,i)).toString()):(i=16,t="2.3283064365386962890625e-10"),e.precision+=i,n=J(e,1,n.times(t),new e(1));for(var s=i;s--;){var o=n.times(n);n=o.times(o).minus(o).times(8).plus(1)}return e.precision-=i,n}var S=function(){function e(r,t,s){var o,u=0,l=r.length;for(r=r.slice();l--;)o=r[l]*t+u,r[l]=o%s|0,u=o/s|0;return u&&r.unshift(u),r}function n(r,t,s,o){var u,l;if(s!=o)l=s>o?1:-1;else for(u=l=0;ut[u]?1:-1;break}return l}function i(r,t,s,o){for(var u=0;s--;)r[s]-=u,u=r[s]1;)r.shift()}return function(r,t,s,o,u,l){var f,c,a,h,g,v,N,_,C,T,E,P,x,D,le,z,W,ce,L,y,ee=r.constructor,ae=r.s==t.s?1:-1,b=r.d,k=t.d;if(!b||!b[0]||!k||!k[0])return new ee(!r.s||!t.s||(b?k&&b[0]==k[0]:!k)?NaN:b&&b[0]==0||!k?ae*0:ae/0);for(l?(g=1,c=r.e-t.e):(l=F,g=m,c=A(r.e/g)-A(t.e/g)),L=k.length,W=b.length,C=new ee(ae),T=C.d=[],a=0;k[a]==(b[a]||0);a++);if(k[a]>(b[a]||0)&&c--,s==null?(D=s=ee.precision,o=ee.rounding):u?D=s+(r.e-t.e)+1:D=s,D<0)T.push(1),v=!0;else{if(D=D/g+2|0,a=0,L==1){for(h=0,k=k[0],D++;(a1&&(k=e(k,h,l),b=e(b,h,l),L=k.length,W=b.length),z=L,E=b.slice(0,L),P=E.length;P=l/2&&++ce;do h=0,f=n(k,E,L,P),f<0?(x=E[0],L!=P&&(x=x*l+(E[1]||0)),h=x/ce|0,h>1?(h>=l&&(h=l-1),N=e(k,h,l),_=N.length,P=E.length,f=n(N,E,_,P),f==1&&(h--,i(N,L<_?y:k,_,l))):(h==0&&(f=h=1),N=k.slice()),_=N.length,_=10;h/=10)a++;C.e=a+c*g-1,p(C,u?s+C.e+1:s,o,v)}return C}}();function p(e,n,i,r){var t,s,o,u,l,f,c,a,h,g=e.constructor;e:if(n!=null){if(a=e.d,!a)return e;for(t=1,u=a[0];u>=10;u/=10)t++;if(s=n-t,s<0)s+=m,o=n,c=a[h=0],l=c/M(10,t-o-1)%10|0;else if(h=Math.ceil((s+1)/m),u=a.length,h>=u)if(r){for(;u++<=h;)a.push(0);c=l=0,t=1,s%=m,o=s-m+1}else break e;else{for(c=u=a[h],t=1;u>=10;u/=10)t++;s%=m,o=s-m+t,l=o<0?0:c/M(10,t-o-1)%10|0}if(r=r||n<0||a[h+1]!==void 0||(o<0?c:c%M(10,t-o-1)),f=i<4?(l||r)&&(i==0||i==(e.s<0?3:2)):l>5||l==5&&(i==4||r||i==6&&(s>0?o>0?c/M(10,t-o):0:a[h-1])%10&1||i==(e.s<0?8:7)),n<1||!a[0])return a.length=0,f?(n-=e.e+1,a[0]=M(10,(m-n%m)%m),e.e=-n||0):a[0]=e.e=0,e;if(s==0?(a.length=h,u=1,h--):(a.length=h+1,u=M(10,m-s),a[h]=o>0?(c/M(10,t-o)%M(10,o)|0)*u:0),f)for(;;)if(h==0){for(s=1,o=a[0];o>=10;o/=10)s++;for(o=a[0]+=u,u=1;o>=10;o/=10)u++;s!=u&&(e.e++,a[0]==F&&(a[0]=1));break}else{if(a[h]+=u,a[h]!=F)break;a[h--]=0,u=1}for(s=a.length;a[--s]===0;)a.pop()}return w&&(e.e>g.maxE?(e.d=null,e.e=NaN):e.e0?s=s.charAt(0)+"."+s.slice(1)+U(r):o>1&&(s=s.charAt(0)+"."+s.slice(1)),s=s+(e.e<0?"e":"e+")+e.e):t<0?(s="0."+U(-t-1)+s,i&&(r=i-o)>0&&(s+=U(r))):t>=o?(s+=U(t+1-o),i&&(r=i-t-1)>0&&(s=s+"."+U(r))):((r=t+1)0&&(t+1===o&&(s+="."),s+=U(r))),s}function ue(e,n){var i=e[0];for(n*=m;i>=10;i/=10)n++;return n}function se(e,n,i){if(n>ye)throw w=!0,i&&(e.precision=i),Error(Te);return p(new e(re),n,1,!0)}function R(e,n,i){if(n>ve)throw Error(Te);return p(new e(te),n,i,!0)}function Ie(e){var n=e.length-1,i=n*m+1;if(n=e[n],n){for(;n%10==0;n/=10)i--;for(n=e[0];n>=10;n/=10)i++}return i}function U(e){for(var n="";e--;)n+="0";return n}function De(e,n,i,r){var t,s=new e(1),o=Math.ceil(r/m+4);for(w=!1;;){if(i%2&&(s=s.times(n),Ae(s.d,o)&&(t=!0)),i=A(i/2),i===0){i=s.d.length-1,t&&s.d[i]===0&&++s.d[i];break}n=n.times(n),Ae(n.d,o)}return w=!0,s}function be(e){return e.d[e.d.length-1]&1}function Ze(e,n,i){for(var r,t=new e(n[0]),s=0;++s17)return new h(e.d?e.d[0]?e.s<0?0:1/0:1:e.s?e.s<0?0:e:0/0);for(n==null?(w=!1,l=v):l=n,u=new h(.03125);e.e>-2;)e=e.times(u),a+=5;for(r=Math.log(M(2,a))/Math.LN10*2+5|0,l+=r,i=s=o=new h(1),h.precision=l;;){if(s=p(s.times(e),l,1),i=i.times(++c),u=o.plus(S(s,i,l,1)),O(u.d).slice(0,l)===O(o.d).slice(0,l)){for(t=a;t--;)o=p(o.times(o),l,1);if(n==null)if(f<3&&Q(o.d,l-r,g,f))h.precision=l+=10,i=s=u=new h(1),c=0,f++;else return p(o,h.precision=v,g,w=!0);else return h.precision=v,o}o=u}}function B(e,n){var i,r,t,s,o,u,l,f,c,a,h,g=1,v=10,N=e,_=N.d,C=N.constructor,T=C.rounding,E=C.precision;if(N.s<0||!_||!_[0]||!N.e&&_[0]==1&&_.length==1)return new C(_&&!_[0]?-1/0:N.s!=1?NaN:_?0:N);if(n==null?(w=!1,c=E):c=n,C.precision=c+=v,i=O(_),r=i.charAt(0),Math.abs(s=N.e)<15e14){for(;r<7&&r!=1||r==1&&i.charAt(1)>3;)N=N.times(e),i=O(N.d),r=i.charAt(0),g++;s=N.e,r>1?(N=new C("0."+i),s++):N=new C(r+"."+i.slice(1))}else return f=se(C,c+2,E).times(s+""),N=B(new C(r+"."+i.slice(1)),c-v).plus(f),C.precision=E,n==null?p(N,E,T,w=!0):N;for(a=N,l=o=N=S(N.minus(1),N.plus(1),c,1),h=p(N.times(N),c,1),t=3;;){if(o=p(o.times(h),c,1),f=l.plus(S(o,new C(t),c,1)),O(f.d).slice(0,c)===O(l.d).slice(0,c))if(l=l.times(2),s!==0&&(l=l.plus(se(C,c+2,E).times(s+""))),l=S(l,new C(g),c,1),n==null)if(Q(l.d,c-v,T,u))C.precision=c+=v,f=o=N=S(a.minus(1),a.plus(1),c,1),h=p(N.times(N),c,1),t=u=1;else return p(l,C.precision=E,T,w=!0);else return C.precision=E,l;l=f,t+=2}}function Ue(e){return String(e.s*e.s/0)}function Se(e,n){var i,r,t;for((i=n.indexOf("."))>-1&&(n=n.replace(".","")),(r=n.search(/e/i))>0?(i<0&&(i=r),i+=+n.slice(r+1),n=n.substring(0,r)):i<0&&(i=n.length),r=0;n.charCodeAt(r)===48;r++);for(t=n.length;n.charCodeAt(t-1)===48;--t);if(n=n.slice(r,t),n){if(t-=r,e.e=i=i-r-1,e.d=[],r=(i+1)%m,i<0&&(r+=m),re.constructor.maxE?(e.d=null,e.e=NaN):e.e-1){if(n=n.replace(/(\d)_(?=\d)/g,"$1"),Fe.test(n))return Se(e,n)}else if(n==="Infinity"||n==="NaN")return+n||(e.s=NaN),e.e=NaN,e.d=null,e;if(Ye.test(n))i=16,n=n.toLowerCase();else if(Qe.test(n))i=2;else if(xe.test(n))i=8;else throw Error($+n);for(s=n.search(/p/i),s>0?(l=+n.slice(s+1),n=n.substring(2,s)):n=n.slice(2),s=n.indexOf("."),o=s>=0,r=e.constructor,o&&(n=n.replace(".",""),u=n.length,s=u-s,t=De(r,new r(i),s,s*2)),f=ie(n,i,F),c=f.length-1,s=c;f[s]===0;--s)f.pop();return s<0?new r(e.s*0):(e.e=ue(f,c),e.d=f,w=!1,o&&(e=S(e,t,u*4)),l&&(e=e.times(Math.abs(l)<54?M(2,l):Y.pow(2,l))),w=!0,e)}function rn(e,n){var i,r=n.d.length;if(r<3)return n.isZero()?n:J(e,2,n,n);i=1.4*Math.sqrt(r),i=i>16?16:i|0,n=n.times(1/fe(5,i)),n=J(e,2,n,n);for(var t,s=new e(5),o=new e(16),u=new e(20);i--;)t=n.times(n),n=n.times(s.plus(t.times(o.times(t).minus(u))));return n}function J(e,n,i,r,t){var s,o,u,l,f=1,c=e.precision,a=Math.ceil(c/m);for(w=!1,l=i.times(i),u=new e(r);;){if(o=S(u.times(l),new e(n++*n++),c,1),u=t?r.plus(o):r.minus(o),r=S(o.times(l),new e(n++*n++),c,1),o=u.plus(r),o.d[a]!==void 0){for(s=a;o.d[s]===u.d[s]&&s--;);if(s==-1)break}s=u,u=r,r=o,o=s,f++}return w=!0,o.d.length=a+1,o}function fe(e,n){for(var i=e;--n;)i*=e;return i}function Be(e,n){var i,r=n.s<0,t=R(e,e.precision,1),s=t.times(.5);if(n=n.abs(),n.lte(s))return Z=r?4:1,n;if(i=n.divToInt(t),i.isZero())Z=r?3:2;else{if(n=n.minus(i.times(t)),n.lte(s))return Z=be(i)?r?2:3:r?4:1,n;Z=be(i)?r?1:4:r?3:2}return n.minus(t).abs()}function ke(e,n,i,r){var t,s,o,u,l,f,c,a,h,g=e.constructor,v=i!==void 0;if(v?(q(i,1,V),r===void 0?r=g.rounding:q(r,0,8)):(i=g.precision,r=g.rounding),!e.isFinite())c=Ue(e);else{for(c=I(e),o=c.indexOf("."),v?(t=2,n==16?i=i*4-3:n==8&&(i=i*3-2)):t=n,o>=0&&(c=c.replace(".",""),h=new g(1),h.e=c.length-o,h.d=ie(I(h),10,t),h.e=h.d.length),a=ie(c,10,t),s=l=a.length;a[--l]==0;)a.pop();if(!a[0])c=v?"0p+0":"0";else{if(o<0?s--:(e=new g(e),e.d=a,e.e=s,e=S(e,h,i,r,0,t),a=e.d,s=e.e,f=qe),o=a[i],u=t/2,f=f||a[i+1]!==void 0,f=r<4?(o!==void 0||f)&&(r===0||r===(e.s<0?3:2)):o>u||o===u&&(r===4||f||r===6&&a[i-1]&1||r===(e.s<0?8:7)),a.length=i,f)for(;++a[--i]>t-1;)a[i]=0,i||(++s,a.unshift(1));for(l=a.length;!a[l-1];--l);for(o=0,c="";o1)if(n==16||n==8){for(o=n==16?4:3,--l;l%o;l++)c+="0";for(a=ie(c,t,n),l=a.length;!a[l-1];--l);for(o=1,c="1.";ol)for(s-=l;s--;)c+="0";else sn)return e.length=n,!0}function tn(e){return new this(e).abs()}function sn(e){return new this(e).acos()}function on(e){return new this(e).acosh()}function un(e,n){return new this(e).plus(n)}function fn(e){return new this(e).asin()}function ln(e){return new this(e).asinh()}function cn(e){return new this(e).atan()}function an(e){return new this(e).atanh()}function hn(e,n){e=new this(e),n=new this(n);var i,r=this.precision,t=this.rounding,s=r+4;return!e.s||!n.s?i=new this(NaN):!e.d&&!n.d?(i=R(this,s,1).times(n.s>0?.25:.75),i.s=e.s):!n.d||e.isZero()?(i=n.s<0?R(this,r,t):new this(0),i.s=e.s):!e.d||n.isZero()?(i=R(this,s,1).times(.5),i.s=e.s):n.s<0?(this.precision=s,this.rounding=1,i=this.atan(S(e,n,s,1)),n=R(this,s,1),this.precision=r,this.rounding=t,i=e.s<0?i.minus(n):i.plus(n)):i=this.atan(S(e,n,s,1)),i}function dn(e){return new this(e).cbrt()}function pn(e){return p(e=new this(e),e.e+1,2)}function gn(e,n,i){return new this(e).clamp(n,i)}function mn(e){if(!e||typeof e!="object")throw Error(oe+"Object expected");var n,i,r,t=e.defaults===!0,s=["precision",1,V,"rounding",0,8,"toExpNeg",-H,0,"toExpPos",0,H,"maxE",0,H,"minE",-H,0,"modulo",0,9];for(n=0;n=s[n+1]&&r<=s[n+2])this[i]=r;else throw Error($+i+": "+r);if(i="crypto",t&&(this[i]=Ne[i]),(r=e[i])!==void 0)if(r===!0||r===!1||r===0||r===1)if(r)if(typeof crypto<"u"&&crypto&&(crypto.getRandomValues||crypto.randomBytes))this[i]=!0;else throw Error(Le);else this[i]=!1;else throw Error($+i+": "+r);return this}function wn(e){return new this(e).cos()}function Nn(e){return new this(e).cosh()}function $e(e){var n,i,r;function t(s){var o,u,l,f=this;if(!(f instanceof t))return new t(s);if(f.constructor=t,_e(s)){f.s=s.s,w?!s.d||s.e>t.maxE?(f.e=NaN,f.d=null):s.e=10;u/=10)o++;w?o>t.maxE?(f.e=NaN,f.d=null):o=429e7?n[s]=crypto.getRandomValues(new Uint32Array(1))[0]:u[s++]=t%1e7;else if(crypto.randomBytes){for(n=crypto.randomBytes(r*=4);s=214e7?crypto.randomBytes(4).copy(n,s):(u.push(t%1e7),s+=4);s=r/4}else throw Error(Le);else for(;s=10;t/=10)r++;r decimal_default -}); -module.exports = __toCommonJS(index_browser_exports); - -// ../../node_modules/.pnpm/decimal.js@10.3.1/node_modules/decimal.js/decimal.mjs -var EXP_LIMIT = 9e15; -var MAX_DIGITS = 1e9; -var NUMERALS = "0123456789abcdef"; -var LN10 = "2.3025850929940456840179914546843642076011014886287729760333279009675726096773524802359972050895982983419677840422862486334095254650828067566662873690987816894829072083255546808437998948262331985283935053089653777326288461633662222876982198867465436674744042432743651550489343149393914796194044002221051017141748003688084012647080685567743216228355220114804663715659121373450747856947683463616792101806445070648000277502684916746550586856935673420670581136429224554405758925724208241314695689016758940256776311356919292033376587141660230105703089634572075440370847469940168269282808481184289314848524948644871927809676271275775397027668605952496716674183485704422507197965004714951050492214776567636938662976979522110718264549734772662425709429322582798502585509785265383207606726317164309505995087807523710333101197857547331541421808427543863591778117054309827482385045648019095610299291824318237525357709750539565187697510374970888692180205189339507238539205144634197265287286965110862571492198849978748873771345686209167058"; -var PI = "3.1415926535897932384626433832795028841971693993751058209749445923078164062862089986280348253421170679821480865132823066470938446095505822317253594081284811174502841027019385211055596446229489549303819644288109756659334461284756482337867831652712019091456485669234603486104543266482133936072602491412737245870066063155881748815209209628292540917153643678925903600113305305488204665213841469519415116094330572703657595919530921861173819326117931051185480744623799627495673518857527248912279381830119491298336733624406566430860213949463952247371907021798609437027705392171762931767523846748184676694051320005681271452635608277857713427577896091736371787214684409012249534301465495853710507922796892589235420199561121290219608640344181598136297747713099605187072113499999983729780499510597317328160963185950244594553469083026425223082533446850352619311881710100031378387528865875332083814206171776691473035982534904287554687311595628638823537875937519577818577805321712268066130019278766111959092164201989380952572010654858632789"; -var DEFAULTS = { - precision: 20, - rounding: 4, - modulo: 1, - toExpNeg: -7, - toExpPos: 21, - minE: -EXP_LIMIT, - maxE: EXP_LIMIT, - crypto: false -}; -var inexact; -var quadrant; -var external = true; -var decimalError = "[DecimalError] "; -var invalidArgument = decimalError + "Invalid argument: "; -var precisionLimitExceeded = decimalError + "Precision limit exceeded"; -var cryptoUnavailable = decimalError + "crypto unavailable"; -var tag = "[object Decimal]"; -var mathfloor = Math.floor; -var mathpow = Math.pow; -var isBinary = /^0b([01]+(\.[01]*)?|\.[01]+)(p[+-]?\d+)?$/i; -var isHex = /^0x([0-9a-f]+(\.[0-9a-f]*)?|\.[0-9a-f]+)(p[+-]?\d+)?$/i; -var isOctal = /^0o([0-7]+(\.[0-7]*)?|\.[0-7]+)(p[+-]?\d+)?$/i; -var isDecimal = /^(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i; -var BASE = 1e7; -var LOG_BASE = 7; -var MAX_SAFE_INTEGER = 9007199254740991; -var LN10_PRECISION = LN10.length - 1; -var PI_PRECISION = PI.length - 1; -var P = { toStringTag: tag }; -P.absoluteValue = P.abs = function() { - var x = new this.constructor(this); - if (x.s < 0) - x.s = 1; - return finalise(x); -}; -P.ceil = function() { - return finalise(new this.constructor(this), this.e + 1, 2); -}; -P.clampedTo = P.clamp = function(min2, max2) { - var k, x = this, Ctor = x.constructor; - min2 = new Ctor(min2); - max2 = new Ctor(max2); - if (!min2.s || !max2.s) - return new Ctor(NaN); - if (min2.gt(max2)) - throw Error(invalidArgument + max2); - k = x.cmp(min2); - return k < 0 ? min2 : x.cmp(max2) > 0 ? max2 : new Ctor(x); -}; -P.comparedTo = P.cmp = function(y) { - var i, j, xdL, ydL, x = this, xd = x.d, yd = (y = new x.constructor(y)).d, xs = x.s, ys = y.s; - if (!xd || !yd) { - return !xs || !ys ? NaN : xs !== ys ? xs : xd === yd ? 0 : !xd ^ xs < 0 ? 1 : -1; - } - if (!xd[0] || !yd[0]) - return xd[0] ? xs : yd[0] ? -ys : 0; - if (xs !== ys) - return xs; - if (x.e !== y.e) - return x.e > y.e ^ xs < 0 ? 1 : -1; - xdL = xd.length; - ydL = yd.length; - for (i = 0, j = xdL < ydL ? xdL : ydL; i < j; ++i) { - if (xd[i] !== yd[i]) - return xd[i] > yd[i] ^ xs < 0 ? 1 : -1; - } - return xdL === ydL ? 0 : xdL > ydL ^ xs < 0 ? 1 : -1; -}; -P.cosine = P.cos = function() { - var pr, rm, x = this, Ctor = x.constructor; - if (!x.d) - return new Ctor(NaN); - if (!x.d[0]) - return new Ctor(1); - pr = Ctor.precision; - rm = Ctor.rounding; - Ctor.precision = pr + Math.max(x.e, x.sd()) + LOG_BASE; - Ctor.rounding = 1; - x = cosine(Ctor, toLessThanHalfPi(Ctor, x)); - Ctor.precision = pr; - Ctor.rounding = rm; - return finalise(quadrant == 2 || quadrant == 3 ? x.neg() : x, pr, rm, true); -}; -P.cubeRoot = P.cbrt = function() { - var e, m, n, r, rep, s, sd, t, t3, t3plusx, x = this, Ctor = x.constructor; - if (!x.isFinite() || x.isZero()) - return new Ctor(x); - external = false; - s = x.s * mathpow(x.s * x, 1 / 3); - if (!s || Math.abs(s) == 1 / 0) { - n = digitsToString(x.d); - e = x.e; - if (s = (e - n.length + 1) % 3) - n += s == 1 || s == -2 ? "0" : "00"; - s = mathpow(n, 1 / 3); - e = mathfloor((e + 1) / 3) - (e % 3 == (e < 0 ? -1 : 2)); - if (s == 1 / 0) { - n = "5e" + e; - } else { - n = s.toExponential(); - n = n.slice(0, n.indexOf("e") + 1) + e; - } - r = new Ctor(n); - r.s = x.s; - } else { - r = new Ctor(s.toString()); - } - sd = (e = Ctor.precision) + 3; - for (; ; ) { - t = r; - t3 = t.times(t).times(t); - t3plusx = t3.plus(x); - r = divide(t3plusx.plus(x).times(t), t3plusx.plus(t3), sd + 2, 1); - if (digitsToString(t.d).slice(0, sd) === (n = digitsToString(r.d)).slice(0, sd)) { - n = n.slice(sd - 3, sd + 1); - if (n == "9999" || !rep && n == "4999") { - if (!rep) { - finalise(t, e + 1, 0); - if (t.times(t).times(t).eq(x)) { - r = t; - break; - } - } - sd += 4; - rep = 1; - } else { - if (!+n || !+n.slice(1) && n.charAt(0) == "5") { - finalise(r, e + 1, 1); - m = !r.times(r).times(r).eq(x); - } - break; - } - } - } - external = true; - return finalise(r, e, Ctor.rounding, m); -}; -P.decimalPlaces = P.dp = function() { - var w, d = this.d, n = NaN; - if (d) { - w = d.length - 1; - n = (w - mathfloor(this.e / LOG_BASE)) * LOG_BASE; - w = d[w]; - if (w) - for (; w % 10 == 0; w /= 10) - n--; - if (n < 0) - n = 0; - } - return n; -}; -P.dividedBy = P.div = function(y) { - return divide(this, new this.constructor(y)); -}; -P.dividedToIntegerBy = P.divToInt = function(y) { - var x = this, Ctor = x.constructor; - return finalise(divide(x, new Ctor(y), 0, 1, 1), Ctor.precision, Ctor.rounding); -}; -P.equals = P.eq = function(y) { - return this.cmp(y) === 0; -}; -P.floor = function() { - return finalise(new this.constructor(this), this.e + 1, 3); -}; -P.greaterThan = P.gt = function(y) { - return this.cmp(y) > 0; -}; -P.greaterThanOrEqualTo = P.gte = function(y) { - var k = this.cmp(y); - return k == 1 || k === 0; -}; -P.hyperbolicCosine = P.cosh = function() { - var k, n, pr, rm, len, x = this, Ctor = x.constructor, one = new Ctor(1); - if (!x.isFinite()) - return new Ctor(x.s ? 1 / 0 : NaN); - if (x.isZero()) - return one; - pr = Ctor.precision; - rm = Ctor.rounding; - Ctor.precision = pr + Math.max(x.e, x.sd()) + 4; - Ctor.rounding = 1; - len = x.d.length; - if (len < 32) { - k = Math.ceil(len / 3); - n = (1 / tinyPow(4, k)).toString(); - } else { - k = 16; - n = "2.3283064365386962890625e-10"; - } - x = taylorSeries(Ctor, 1, x.times(n), new Ctor(1), true); - var cosh2_x, i = k, d8 = new Ctor(8); - for (; i--; ) { - cosh2_x = x.times(x); - x = one.minus(cosh2_x.times(d8.minus(cosh2_x.times(d8)))); - } - return finalise(x, Ctor.precision = pr, Ctor.rounding = rm, true); -}; -P.hyperbolicSine = P.sinh = function() { - var k, pr, rm, len, x = this, Ctor = x.constructor; - if (!x.isFinite() || x.isZero()) - return new Ctor(x); - pr = Ctor.precision; - rm = Ctor.rounding; - Ctor.precision = pr + Math.max(x.e, x.sd()) + 4; - Ctor.rounding = 1; - len = x.d.length; - if (len < 3) { - x = taylorSeries(Ctor, 2, x, x, true); - } else { - k = 1.4 * Math.sqrt(len); - k = k > 16 ? 16 : k | 0; - x = x.times(1 / tinyPow(5, k)); - x = taylorSeries(Ctor, 2, x, x, true); - var sinh2_x, d5 = new Ctor(5), d16 = new Ctor(16), d20 = new Ctor(20); - for (; k--; ) { - sinh2_x = x.times(x); - x = x.times(d5.plus(sinh2_x.times(d16.times(sinh2_x).plus(d20)))); - } - } - Ctor.precision = pr; - Ctor.rounding = rm; - return finalise(x, pr, rm, true); -}; -P.hyperbolicTangent = P.tanh = function() { - var pr, rm, x = this, Ctor = x.constructor; - if (!x.isFinite()) - return new Ctor(x.s); - if (x.isZero()) - return new Ctor(x); - pr = Ctor.precision; - rm = Ctor.rounding; - Ctor.precision = pr + 7; - Ctor.rounding = 1; - return divide(x.sinh(), x.cosh(), Ctor.precision = pr, Ctor.rounding = rm); -}; -P.inverseCosine = P.acos = function() { - var halfPi, x = this, Ctor = x.constructor, k = x.abs().cmp(1), pr = Ctor.precision, rm = Ctor.rounding; - if (k !== -1) { - return k === 0 ? x.isNeg() ? getPi(Ctor, pr, rm) : new Ctor(0) : new Ctor(NaN); - } - if (x.isZero()) - return getPi(Ctor, pr + 4, rm).times(0.5); - Ctor.precision = pr + 6; - Ctor.rounding = 1; - x = x.asin(); - halfPi = getPi(Ctor, pr + 4, rm).times(0.5); - Ctor.precision = pr; - Ctor.rounding = rm; - return halfPi.minus(x); -}; -P.inverseHyperbolicCosine = P.acosh = function() { - var pr, rm, x = this, Ctor = x.constructor; - if (x.lte(1)) - return new Ctor(x.eq(1) ? 0 : NaN); - if (!x.isFinite()) - return new Ctor(x); - pr = Ctor.precision; - rm = Ctor.rounding; - Ctor.precision = pr + Math.max(Math.abs(x.e), x.sd()) + 4; - Ctor.rounding = 1; - external = false; - x = x.times(x).minus(1).sqrt().plus(x); - external = true; - Ctor.precision = pr; - Ctor.rounding = rm; - return x.ln(); -}; -P.inverseHyperbolicSine = P.asinh = function() { - var pr, rm, x = this, Ctor = x.constructor; - if (!x.isFinite() || x.isZero()) - return new Ctor(x); - pr = Ctor.precision; - rm = Ctor.rounding; - Ctor.precision = pr + 2 * Math.max(Math.abs(x.e), x.sd()) + 6; - Ctor.rounding = 1; - external = false; - x = x.times(x).plus(1).sqrt().plus(x); - external = true; - Ctor.precision = pr; - Ctor.rounding = rm; - return x.ln(); -}; -P.inverseHyperbolicTangent = P.atanh = function() { - var pr, rm, wpr, xsd, x = this, Ctor = x.constructor; - if (!x.isFinite()) - return new Ctor(NaN); - if (x.e >= 0) - return new Ctor(x.abs().eq(1) ? x.s / 0 : x.isZero() ? x : NaN); - pr = Ctor.precision; - rm = Ctor.rounding; - xsd = x.sd(); - if (Math.max(xsd, pr) < 2 * -x.e - 1) - return finalise(new Ctor(x), pr, rm, true); - Ctor.precision = wpr = xsd - x.e; - x = divide(x.plus(1), new Ctor(1).minus(x), wpr + pr, 1); - Ctor.precision = pr + 4; - Ctor.rounding = 1; - x = x.ln(); - Ctor.precision = pr; - Ctor.rounding = rm; - return x.times(0.5); -}; -P.inverseSine = P.asin = function() { - var halfPi, k, pr, rm, x = this, Ctor = x.constructor; - if (x.isZero()) - return new Ctor(x); - k = x.abs().cmp(1); - pr = Ctor.precision; - rm = Ctor.rounding; - if (k !== -1) { - if (k === 0) { - halfPi = getPi(Ctor, pr + 4, rm).times(0.5); - halfPi.s = x.s; - return halfPi; - } - return new Ctor(NaN); - } - Ctor.precision = pr + 6; - Ctor.rounding = 1; - x = x.div(new Ctor(1).minus(x.times(x)).sqrt().plus(1)).atan(); - Ctor.precision = pr; - Ctor.rounding = rm; - return x.times(2); -}; -P.inverseTangent = P.atan = function() { - var i, j, k, n, px, t, r, wpr, x2, x = this, Ctor = x.constructor, pr = Ctor.precision, rm = Ctor.rounding; - if (!x.isFinite()) { - if (!x.s) - return new Ctor(NaN); - if (pr + 4 <= PI_PRECISION) { - r = getPi(Ctor, pr + 4, rm).times(0.5); - r.s = x.s; - return r; - } - } else if (x.isZero()) { - return new Ctor(x); - } else if (x.abs().eq(1) && pr + 4 <= PI_PRECISION) { - r = getPi(Ctor, pr + 4, rm).times(0.25); - r.s = x.s; - return r; - } - Ctor.precision = wpr = pr + 10; - Ctor.rounding = 1; - k = Math.min(28, wpr / LOG_BASE + 2 | 0); - for (i = k; i; --i) - x = x.div(x.times(x).plus(1).sqrt().plus(1)); - external = false; - j = Math.ceil(wpr / LOG_BASE); - n = 1; - x2 = x.times(x); - r = new Ctor(x); - px = x; - for (; i !== -1; ) { - px = px.times(x2); - t = r.minus(px.div(n += 2)); - px = px.times(x2); - r = t.plus(px.div(n += 2)); - if (r.d[j] !== void 0) - for (i = j; r.d[i] === t.d[i] && i--; ) - ; - } - if (k) - r = r.times(2 << k - 1); - external = true; - return finalise(r, Ctor.precision = pr, Ctor.rounding = rm, true); -}; -P.isFinite = function() { - return !!this.d; -}; -P.isInteger = P.isInt = function() { - return !!this.d && mathfloor(this.e / LOG_BASE) > this.d.length - 2; -}; -P.isNaN = function() { - return !this.s; -}; -P.isNegative = P.isNeg = function() { - return this.s < 0; -}; -P.isPositive = P.isPos = function() { - return this.s > 0; -}; -P.isZero = function() { - return !!this.d && this.d[0] === 0; -}; -P.lessThan = P.lt = function(y) { - return this.cmp(y) < 0; -}; -P.lessThanOrEqualTo = P.lte = function(y) { - return this.cmp(y) < 1; -}; -P.logarithm = P.log = function(base) { - var isBase10, d, denominator, k, inf, num, sd, r, arg = this, Ctor = arg.constructor, pr = Ctor.precision, rm = Ctor.rounding, guard = 5; - if (base == null) { - base = new Ctor(10); - isBase10 = true; - } else { - base = new Ctor(base); - d = base.d; - if (base.s < 0 || !d || !d[0] || base.eq(1)) - return new Ctor(NaN); - isBase10 = base.eq(10); - } - d = arg.d; - if (arg.s < 0 || !d || !d[0] || arg.eq(1)) { - return new Ctor(d && !d[0] ? -1 / 0 : arg.s != 1 ? NaN : d ? 0 : 1 / 0); - } - if (isBase10) { - if (d.length > 1) { - inf = true; - } else { - for (k = d[0]; k % 10 === 0; ) - k /= 10; - inf = k !== 1; - } - } - external = false; - sd = pr + guard; - num = naturalLogarithm(arg, sd); - denominator = isBase10 ? getLn10(Ctor, sd + 10) : naturalLogarithm(base, sd); - r = divide(num, denominator, sd, 1); - if (checkRoundingDigits(r.d, k = pr, rm)) { - do { - sd += 10; - num = naturalLogarithm(arg, sd); - denominator = isBase10 ? getLn10(Ctor, sd + 10) : naturalLogarithm(base, sd); - r = divide(num, denominator, sd, 1); - if (!inf) { - if (+digitsToString(r.d).slice(k + 1, k + 15) + 1 == 1e14) { - r = finalise(r, pr + 1, 0); - } - break; - } - } while (checkRoundingDigits(r.d, k += 10, rm)); - } - external = true; - return finalise(r, pr, rm); -}; -P.minus = P.sub = function(y) { - var d, e, i, j, k, len, pr, rm, xd, xe, xLTy, yd, x = this, Ctor = x.constructor; - y = new Ctor(y); - if (!x.d || !y.d) { - if (!x.s || !y.s) - y = new Ctor(NaN); - else if (x.d) - y.s = -y.s; - else - y = new Ctor(y.d || x.s !== y.s ? x : NaN); - return y; - } - if (x.s != y.s) { - y.s = -y.s; - return x.plus(y); - } - xd = x.d; - yd = y.d; - pr = Ctor.precision; - rm = Ctor.rounding; - if (!xd[0] || !yd[0]) { - if (yd[0]) - y.s = -y.s; - else if (xd[0]) - y = new Ctor(x); - else - return new Ctor(rm === 3 ? -0 : 0); - return external ? finalise(y, pr, rm) : y; - } - e = mathfloor(y.e / LOG_BASE); - xe = mathfloor(x.e / LOG_BASE); - xd = xd.slice(); - k = xe - e; - if (k) { - xLTy = k < 0; - if (xLTy) { - d = xd; - k = -k; - len = yd.length; - } else { - d = yd; - e = xe; - len = xd.length; - } - i = Math.max(Math.ceil(pr / LOG_BASE), len) + 2; - if (k > i) { - k = i; - d.length = 1; - } - d.reverse(); - for (i = k; i--; ) - d.push(0); - d.reverse(); - } else { - i = xd.length; - len = yd.length; - xLTy = i < len; - if (xLTy) - len = i; - for (i = 0; i < len; i++) { - if (xd[i] != yd[i]) { - xLTy = xd[i] < yd[i]; - break; - } - } - k = 0; - } - if (xLTy) { - d = xd; - xd = yd; - yd = d; - y.s = -y.s; - } - len = xd.length; - for (i = yd.length - len; i > 0; --i) - xd[len++] = 0; - for (i = yd.length; i > k; ) { - if (xd[--i] < yd[i]) { - for (j = i; j && xd[--j] === 0; ) - xd[j] = BASE - 1; - --xd[j]; - xd[i] += BASE; - } - xd[i] -= yd[i]; - } - for (; xd[--len] === 0; ) - xd.pop(); - for (; xd[0] === 0; xd.shift()) - --e; - if (!xd[0]) - return new Ctor(rm === 3 ? -0 : 0); - y.d = xd; - y.e = getBase10Exponent(xd, e); - return external ? finalise(y, pr, rm) : y; -}; -P.modulo = P.mod = function(y) { - var q, x = this, Ctor = x.constructor; - y = new Ctor(y); - if (!x.d || !y.s || y.d && !y.d[0]) - return new Ctor(NaN); - if (!y.d || x.d && !x.d[0]) { - return finalise(new Ctor(x), Ctor.precision, Ctor.rounding); - } - external = false; - if (Ctor.modulo == 9) { - q = divide(x, y.abs(), 0, 3, 1); - q.s *= y.s; - } else { - q = divide(x, y, 0, Ctor.modulo, 1); - } - q = q.times(y); - external = true; - return x.minus(q); -}; -P.naturalExponential = P.exp = function() { - return naturalExponential(this); -}; -P.naturalLogarithm = P.ln = function() { - return naturalLogarithm(this); -}; -P.negated = P.neg = function() { - var x = new this.constructor(this); - x.s = -x.s; - return finalise(x); -}; -P.plus = P.add = function(y) { - var carry, d, e, i, k, len, pr, rm, xd, yd, x = this, Ctor = x.constructor; - y = new Ctor(y); - if (!x.d || !y.d) { - if (!x.s || !y.s) - y = new Ctor(NaN); - else if (!x.d) - y = new Ctor(y.d || x.s === y.s ? x : NaN); - return y; - } - if (x.s != y.s) { - y.s = -y.s; - return x.minus(y); - } - xd = x.d; - yd = y.d; - pr = Ctor.precision; - rm = Ctor.rounding; - if (!xd[0] || !yd[0]) { - if (!yd[0]) - y = new Ctor(x); - return external ? finalise(y, pr, rm) : y; - } - k = mathfloor(x.e / LOG_BASE); - e = mathfloor(y.e / LOG_BASE); - xd = xd.slice(); - i = k - e; - if (i) { - if (i < 0) { - d = xd; - i = -i; - len = yd.length; - } else { - d = yd; - e = k; - len = xd.length; - } - k = Math.ceil(pr / LOG_BASE); - len = k > len ? k + 1 : len + 1; - if (i > len) { - i = len; - d.length = 1; - } - d.reverse(); - for (; i--; ) - d.push(0); - d.reverse(); - } - len = xd.length; - i = yd.length; - if (len - i < 0) { - i = len; - d = yd; - yd = xd; - xd = d; - } - for (carry = 0; i; ) { - carry = (xd[--i] = xd[i] + yd[i] + carry) / BASE | 0; - xd[i] %= BASE; - } - if (carry) { - xd.unshift(carry); - ++e; - } - for (len = xd.length; xd[--len] == 0; ) - xd.pop(); - y.d = xd; - y.e = getBase10Exponent(xd, e); - return external ? finalise(y, pr, rm) : y; -}; -P.precision = P.sd = function(z) { - var k, x = this; - if (z !== void 0 && z !== !!z && z !== 1 && z !== 0) - throw Error(invalidArgument + z); - if (x.d) { - k = getPrecision(x.d); - if (z && x.e + 1 > k) - k = x.e + 1; - } else { - k = NaN; - } - return k; -}; -P.round = function() { - var x = this, Ctor = x.constructor; - return finalise(new Ctor(x), x.e + 1, Ctor.rounding); -}; -P.sine = P.sin = function() { - var pr, rm, x = this, Ctor = x.constructor; - if (!x.isFinite()) - return new Ctor(NaN); - if (x.isZero()) - return new Ctor(x); - pr = Ctor.precision; - rm = Ctor.rounding; - Ctor.precision = pr + Math.max(x.e, x.sd()) + LOG_BASE; - Ctor.rounding = 1; - x = sine(Ctor, toLessThanHalfPi(Ctor, x)); - Ctor.precision = pr; - Ctor.rounding = rm; - return finalise(quadrant > 2 ? x.neg() : x, pr, rm, true); -}; -P.squareRoot = P.sqrt = function() { - var m, n, sd, r, rep, t, x = this, d = x.d, e = x.e, s = x.s, Ctor = x.constructor; - if (s !== 1 || !d || !d[0]) { - return new Ctor(!s || s < 0 && (!d || d[0]) ? NaN : d ? x : 1 / 0); - } - external = false; - s = Math.sqrt(+x); - if (s == 0 || s == 1 / 0) { - n = digitsToString(d); - if ((n.length + e) % 2 == 0) - n += "0"; - s = Math.sqrt(n); - e = mathfloor((e + 1) / 2) - (e < 0 || e % 2); - if (s == 1 / 0) { - n = "5e" + e; - } else { - n = s.toExponential(); - n = n.slice(0, n.indexOf("e") + 1) + e; - } - r = new Ctor(n); - } else { - r = new Ctor(s.toString()); - } - sd = (e = Ctor.precision) + 3; - for (; ; ) { - t = r; - r = t.plus(divide(x, t, sd + 2, 1)).times(0.5); - if (digitsToString(t.d).slice(0, sd) === (n = digitsToString(r.d)).slice(0, sd)) { - n = n.slice(sd - 3, sd + 1); - if (n == "9999" || !rep && n == "4999") { - if (!rep) { - finalise(t, e + 1, 0); - if (t.times(t).eq(x)) { - r = t; - break; - } - } - sd += 4; - rep = 1; - } else { - if (!+n || !+n.slice(1) && n.charAt(0) == "5") { - finalise(r, e + 1, 1); - m = !r.times(r).eq(x); - } - break; - } - } - } - external = true; - return finalise(r, e, Ctor.rounding, m); -}; -P.tangent = P.tan = function() { - var pr, rm, x = this, Ctor = x.constructor; - if (!x.isFinite()) - return new Ctor(NaN); - if (x.isZero()) - return new Ctor(x); - pr = Ctor.precision; - rm = Ctor.rounding; - Ctor.precision = pr + 10; - Ctor.rounding = 1; - x = x.sin(); - x.s = 1; - x = divide(x, new Ctor(1).minus(x.times(x)).sqrt(), pr + 10, 0); - Ctor.precision = pr; - Ctor.rounding = rm; - return finalise(quadrant == 2 || quadrant == 4 ? x.neg() : x, pr, rm, true); -}; -P.times = P.mul = function(y) { - var carry, e, i, k, r, rL, t, xdL, ydL, x = this, Ctor = x.constructor, xd = x.d, yd = (y = new Ctor(y)).d; - y.s *= x.s; - if (!xd || !xd[0] || !yd || !yd[0]) { - return new Ctor(!y.s || xd && !xd[0] && !yd || yd && !yd[0] && !xd ? NaN : !xd || !yd ? y.s / 0 : y.s * 0); - } - e = mathfloor(x.e / LOG_BASE) + mathfloor(y.e / LOG_BASE); - xdL = xd.length; - ydL = yd.length; - if (xdL < ydL) { - r = xd; - xd = yd; - yd = r; - rL = xdL; - xdL = ydL; - ydL = rL; - } - r = []; - rL = xdL + ydL; - for (i = rL; i--; ) - r.push(0); - for (i = ydL; --i >= 0; ) { - carry = 0; - for (k = xdL + i; k > i; ) { - t = r[k] + yd[i] * xd[k - i - 1] + carry; - r[k--] = t % BASE | 0; - carry = t / BASE | 0; - } - r[k] = (r[k] + carry) % BASE | 0; - } - for (; !r[--rL]; ) - r.pop(); - if (carry) - ++e; - else - r.shift(); - y.d = r; - y.e = getBase10Exponent(r, e); - return external ? finalise(y, Ctor.precision, Ctor.rounding) : y; -}; -P.toBinary = function(sd, rm) { - return toStringBinary(this, 2, sd, rm); -}; -P.toDecimalPlaces = P.toDP = function(dp, rm) { - var x = this, Ctor = x.constructor; - x = new Ctor(x); - if (dp === void 0) - return x; - checkInt32(dp, 0, MAX_DIGITS); - if (rm === void 0) - rm = Ctor.rounding; - else - checkInt32(rm, 0, 8); - return finalise(x, dp + x.e + 1, rm); -}; -P.toExponential = function(dp, rm) { - var str, x = this, Ctor = x.constructor; - if (dp === void 0) { - str = finiteToString(x, true); - } else { - checkInt32(dp, 0, MAX_DIGITS); - if (rm === void 0) - rm = Ctor.rounding; - else - checkInt32(rm, 0, 8); - x = finalise(new Ctor(x), dp + 1, rm); - str = finiteToString(x, true, dp + 1); - } - return x.isNeg() && !x.isZero() ? "-" + str : str; -}; -P.toFixed = function(dp, rm) { - var str, y, x = this, Ctor = x.constructor; - if (dp === void 0) { - str = finiteToString(x); - } else { - checkInt32(dp, 0, MAX_DIGITS); - if (rm === void 0) - rm = Ctor.rounding; - else - checkInt32(rm, 0, 8); - y = finalise(new Ctor(x), dp + x.e + 1, rm); - str = finiteToString(y, false, dp + y.e + 1); - } - return x.isNeg() && !x.isZero() ? "-" + str : str; -}; -P.toFraction = function(maxD) { - var d, d0, d1, d2, e, k, n, n0, n1, pr, q, r, x = this, xd = x.d, Ctor = x.constructor; - if (!xd) - return new Ctor(x); - n1 = d0 = new Ctor(1); - d1 = n0 = new Ctor(0); - d = new Ctor(d1); - e = d.e = getPrecision(xd) - x.e - 1; - k = e % LOG_BASE; - d.d[0] = mathpow(10, k < 0 ? LOG_BASE + k : k); - if (maxD == null) { - maxD = e > 0 ? d : n1; - } else { - n = new Ctor(maxD); - if (!n.isInt() || n.lt(n1)) - throw Error(invalidArgument + n); - maxD = n.gt(d) ? e > 0 ? d : n1 : n; - } - external = false; - n = new Ctor(digitsToString(xd)); - pr = Ctor.precision; - Ctor.precision = e = xd.length * LOG_BASE * 2; - for (; ; ) { - q = divide(n, d, 0, 1, 1); - d2 = d0.plus(q.times(d1)); - if (d2.cmp(maxD) == 1) - break; - d0 = d1; - d1 = d2; - d2 = n1; - n1 = n0.plus(q.times(d2)); - n0 = d2; - d2 = d; - d = n.minus(q.times(d2)); - n = d2; - } - d2 = divide(maxD.minus(d0), d1, 0, 1, 1); - n0 = n0.plus(d2.times(n1)); - d0 = d0.plus(d2.times(d1)); - n0.s = n1.s = x.s; - r = divide(n1, d1, e, 1).minus(x).abs().cmp(divide(n0, d0, e, 1).minus(x).abs()) < 1 ? [n1, d1] : [n0, d0]; - Ctor.precision = pr; - external = true; - return r; -}; -P.toHexadecimal = P.toHex = function(sd, rm) { - return toStringBinary(this, 16, sd, rm); -}; -P.toNearest = function(y, rm) { - var x = this, Ctor = x.constructor; - x = new Ctor(x); - if (y == null) { - if (!x.d) - return x; - y = new Ctor(1); - rm = Ctor.rounding; - } else { - y = new Ctor(y); - if (rm === void 0) { - rm = Ctor.rounding; - } else { - checkInt32(rm, 0, 8); - } - if (!x.d) - return y.s ? x : y; - if (!y.d) { - if (y.s) - y.s = x.s; - return y; - } - } - if (y.d[0]) { - external = false; - x = divide(x, y, 0, rm, 1).times(y); - external = true; - finalise(x); - } else { - y.s = x.s; - x = y; - } - return x; -}; -P.toNumber = function() { - return +this; -}; -P.toOctal = function(sd, rm) { - return toStringBinary(this, 8, sd, rm); -}; -P.toPower = P.pow = function(y) { - var e, k, pr, r, rm, s, x = this, Ctor = x.constructor, yn = +(y = new Ctor(y)); - if (!x.d || !y.d || !x.d[0] || !y.d[0]) - return new Ctor(mathpow(+x, yn)); - x = new Ctor(x); - if (x.eq(1)) - return x; - pr = Ctor.precision; - rm = Ctor.rounding; - if (y.eq(1)) - return finalise(x, pr, rm); - e = mathfloor(y.e / LOG_BASE); - if (e >= y.d.length - 1 && (k = yn < 0 ? -yn : yn) <= MAX_SAFE_INTEGER) { - r = intPow(Ctor, x, k, pr); - return y.s < 0 ? new Ctor(1).div(r) : finalise(r, pr, rm); - } - s = x.s; - if (s < 0) { - if (e < y.d.length - 1) - return new Ctor(NaN); - if ((y.d[e] & 1) == 0) - s = 1; - if (x.e == 0 && x.d[0] == 1 && x.d.length == 1) { - x.s = s; - return x; - } - } - k = mathpow(+x, yn); - e = k == 0 || !isFinite(k) ? mathfloor(yn * (Math.log("0." + digitsToString(x.d)) / Math.LN10 + x.e + 1)) : new Ctor(k + "").e; - if (e > Ctor.maxE + 1 || e < Ctor.minE - 1) - return new Ctor(e > 0 ? s / 0 : 0); - external = false; - Ctor.rounding = x.s = 1; - k = Math.min(12, (e + "").length); - r = naturalExponential(y.times(naturalLogarithm(x, pr + k)), pr); - if (r.d) { - r = finalise(r, pr + 5, 1); - if (checkRoundingDigits(r.d, pr, rm)) { - e = pr + 10; - r = finalise(naturalExponential(y.times(naturalLogarithm(x, e + k)), e), e + 5, 1); - if (+digitsToString(r.d).slice(pr + 1, pr + 15) + 1 == 1e14) { - r = finalise(r, pr + 1, 0); - } - } - } - r.s = s; - external = true; - Ctor.rounding = rm; - return finalise(r, pr, rm); -}; -P.toPrecision = function(sd, rm) { - var str, x = this, Ctor = x.constructor; - if (sd === void 0) { - str = finiteToString(x, x.e <= Ctor.toExpNeg || x.e >= Ctor.toExpPos); - } else { - checkInt32(sd, 1, MAX_DIGITS); - if (rm === void 0) - rm = Ctor.rounding; - else - checkInt32(rm, 0, 8); - x = finalise(new Ctor(x), sd, rm); - str = finiteToString(x, sd <= x.e || x.e <= Ctor.toExpNeg, sd); - } - return x.isNeg() && !x.isZero() ? "-" + str : str; -}; -P.toSignificantDigits = P.toSD = function(sd, rm) { - var x = this, Ctor = x.constructor; - if (sd === void 0) { - sd = Ctor.precision; - rm = Ctor.rounding; - } else { - checkInt32(sd, 1, MAX_DIGITS); - if (rm === void 0) - rm = Ctor.rounding; - else - checkInt32(rm, 0, 8); - } - return finalise(new Ctor(x), sd, rm); -}; -P.toString = function() { - var x = this, Ctor = x.constructor, str = finiteToString(x, x.e <= Ctor.toExpNeg || x.e >= Ctor.toExpPos); - return x.isNeg() && !x.isZero() ? "-" + str : str; -}; -P.truncated = P.trunc = function() { - return finalise(new this.constructor(this), this.e + 1, 1); -}; -P.valueOf = P.toJSON = function() { - var x = this, Ctor = x.constructor, str = finiteToString(x, x.e <= Ctor.toExpNeg || x.e >= Ctor.toExpPos); - return x.isNeg() ? "-" + str : str; -}; -function digitsToString(d) { - var i, k, ws, indexOfLastWord = d.length - 1, str = "", w = d[0]; - if (indexOfLastWord > 0) { - str += w; - for (i = 1; i < indexOfLastWord; i++) { - ws = d[i] + ""; - k = LOG_BASE - ws.length; - if (k) - str += getZeroString(k); - str += ws; - } - w = d[i]; - ws = w + ""; - k = LOG_BASE - ws.length; - if (k) - str += getZeroString(k); - } else if (w === 0) { - return "0"; - } - for (; w % 10 === 0; ) - w /= 10; - return str + w; -} -__name(digitsToString, "digitsToString"); -function checkInt32(i, min2, max2) { - if (i !== ~~i || i < min2 || i > max2) { - throw Error(invalidArgument + i); - } -} -__name(checkInt32, "checkInt32"); -function checkRoundingDigits(d, i, rm, repeating) { - var di, k, r, rd; - for (k = d[0]; k >= 10; k /= 10) - --i; - if (--i < 0) { - i += LOG_BASE; - di = 0; - } else { - di = Math.ceil((i + 1) / LOG_BASE); - i %= LOG_BASE; - } - k = mathpow(10, LOG_BASE - i); - rd = d[di] % k | 0; - if (repeating == null) { - if (i < 3) { - if (i == 0) - rd = rd / 100 | 0; - else if (i == 1) - rd = rd / 10 | 0; - r = rm < 4 && rd == 99999 || rm > 3 && rd == 49999 || rd == 5e4 || rd == 0; - } else { - r = (rm < 4 && rd + 1 == k || rm > 3 && rd + 1 == k / 2) && (d[di + 1] / k / 100 | 0) == mathpow(10, i - 2) - 1 || (rd == k / 2 || rd == 0) && (d[di + 1] / k / 100 | 0) == 0; - } - } else { - if (i < 4) { - if (i == 0) - rd = rd / 1e3 | 0; - else if (i == 1) - rd = rd / 100 | 0; - else if (i == 2) - rd = rd / 10 | 0; - r = (repeating || rm < 4) && rd == 9999 || !repeating && rm > 3 && rd == 4999; - } else { - r = ((repeating || rm < 4) && rd + 1 == k || !repeating && rm > 3 && rd + 1 == k / 2) && (d[di + 1] / k / 1e3 | 0) == mathpow(10, i - 3) - 1; - } - } - return r; -} -__name(checkRoundingDigits, "checkRoundingDigits"); -function convertBase(str, baseIn, baseOut) { - var j, arr = [0], arrL, i = 0, strL = str.length; - for (; i < strL; ) { - for (arrL = arr.length; arrL--; ) - arr[arrL] *= baseIn; - arr[0] += NUMERALS.indexOf(str.charAt(i++)); - for (j = 0; j < arr.length; j++) { - if (arr[j] > baseOut - 1) { - if (arr[j + 1] === void 0) - arr[j + 1] = 0; - arr[j + 1] += arr[j] / baseOut | 0; - arr[j] %= baseOut; - } - } - } - return arr.reverse(); -} -__name(convertBase, "convertBase"); -function cosine(Ctor, x) { - var k, len, y; - if (x.isZero()) - return x; - len = x.d.length; - if (len < 32) { - k = Math.ceil(len / 3); - y = (1 / tinyPow(4, k)).toString(); - } else { - k = 16; - y = "2.3283064365386962890625e-10"; - } - Ctor.precision += k; - x = taylorSeries(Ctor, 1, x.times(y), new Ctor(1)); - for (var i = k; i--; ) { - var cos2x = x.times(x); - x = cos2x.times(cos2x).minus(cos2x).times(8).plus(1); - } - Ctor.precision -= k; - return x; -} -__name(cosine, "cosine"); -var divide = function() { - function multiplyInteger(x, k, base) { - var temp, carry = 0, i = x.length; - for (x = x.slice(); i--; ) { - temp = x[i] * k + carry; - x[i] = temp % base | 0; - carry = temp / base | 0; - } - if (carry) - x.unshift(carry); - return x; - } - __name(multiplyInteger, "multiplyInteger"); - function compare(a, b, aL, bL) { - var i, r; - if (aL != bL) { - r = aL > bL ? 1 : -1; - } else { - for (i = r = 0; i < aL; i++) { - if (a[i] != b[i]) { - r = a[i] > b[i] ? 1 : -1; - break; - } - } - } - return r; - } - __name(compare, "compare"); - function subtract(a, b, aL, base) { - var i = 0; - for (; aL--; ) { - a[aL] -= i; - i = a[aL] < b[aL] ? 1 : 0; - a[aL] = i * base + a[aL] - b[aL]; - } - for (; !a[0] && a.length > 1; ) - a.shift(); - } - __name(subtract, "subtract"); - return function(x, y, pr, rm, dp, base) { - var cmp, e, i, k, logBase, more, prod, prodL, q, qd, rem, remL, rem0, sd, t, xi, xL, yd0, yL, yz, Ctor = x.constructor, sign2 = x.s == y.s ? 1 : -1, xd = x.d, yd = y.d; - if (!xd || !xd[0] || !yd || !yd[0]) { - return new Ctor(!x.s || !y.s || (xd ? yd && xd[0] == yd[0] : !yd) ? NaN : xd && xd[0] == 0 || !yd ? sign2 * 0 : sign2 / 0); - } - if (base) { - logBase = 1; - e = x.e - y.e; - } else { - base = BASE; - logBase = LOG_BASE; - e = mathfloor(x.e / logBase) - mathfloor(y.e / logBase); - } - yL = yd.length; - xL = xd.length; - q = new Ctor(sign2); - qd = q.d = []; - for (i = 0; yd[i] == (xd[i] || 0); i++) - ; - if (yd[i] > (xd[i] || 0)) - e--; - if (pr == null) { - sd = pr = Ctor.precision; - rm = Ctor.rounding; - } else if (dp) { - sd = pr + (x.e - y.e) + 1; - } else { - sd = pr; - } - if (sd < 0) { - qd.push(1); - more = true; - } else { - sd = sd / logBase + 2 | 0; - i = 0; - if (yL == 1) { - k = 0; - yd = yd[0]; - sd++; - for (; (i < xL || k) && sd--; i++) { - t = k * base + (xd[i] || 0); - qd[i] = t / yd | 0; - k = t % yd | 0; - } - more = k || i < xL; - } else { - k = base / (yd[0] + 1) | 0; - if (k > 1) { - yd = multiplyInteger(yd, k, base); - xd = multiplyInteger(xd, k, base); - yL = yd.length; - xL = xd.length; - } - xi = yL; - rem = xd.slice(0, yL); - remL = rem.length; - for (; remL < yL; ) - rem[remL++] = 0; - yz = yd.slice(); - yz.unshift(0); - yd0 = yd[0]; - if (yd[1] >= base / 2) - ++yd0; - do { - k = 0; - cmp = compare(yd, rem, yL, remL); - if (cmp < 0) { - rem0 = rem[0]; - if (yL != remL) - rem0 = rem0 * base + (rem[1] || 0); - k = rem0 / yd0 | 0; - if (k > 1) { - if (k >= base) - k = base - 1; - prod = multiplyInteger(yd, k, base); - prodL = prod.length; - remL = rem.length; - cmp = compare(prod, rem, prodL, remL); - if (cmp == 1) { - k--; - subtract(prod, yL < prodL ? yz : yd, prodL, base); - } - } else { - if (k == 0) - cmp = k = 1; - prod = yd.slice(); - } - prodL = prod.length; - if (prodL < remL) - prod.unshift(0); - subtract(rem, prod, remL, base); - if (cmp == -1) { - remL = rem.length; - cmp = compare(yd, rem, yL, remL); - if (cmp < 1) { - k++; - subtract(rem, yL < remL ? yz : yd, remL, base); - } - } - remL = rem.length; - } else if (cmp === 0) { - k++; - rem = [0]; - } - qd[i++] = k; - if (cmp && rem[0]) { - rem[remL++] = xd[xi] || 0; - } else { - rem = [xd[xi]]; - remL = 1; - } - } while ((xi++ < xL || rem[0] !== void 0) && sd--); - more = rem[0] !== void 0; - } - if (!qd[0]) - qd.shift(); - } - if (logBase == 1) { - q.e = e; - inexact = more; - } else { - for (i = 1, k = qd[0]; k >= 10; k /= 10) - i++; - q.e = i + e * logBase - 1; - finalise(q, dp ? pr + q.e + 1 : pr, rm, more); - } - return q; - }; -}(); -function finalise(x, sd, rm, isTruncated) { - var digits, i, j, k, rd, roundUp, w, xd, xdi, Ctor = x.constructor; - out: - if (sd != null) { - xd = x.d; - if (!xd) - return x; - for (digits = 1, k = xd[0]; k >= 10; k /= 10) - digits++; - i = sd - digits; - if (i < 0) { - i += LOG_BASE; - j = sd; - w = xd[xdi = 0]; - rd = w / mathpow(10, digits - j - 1) % 10 | 0; - } else { - xdi = Math.ceil((i + 1) / LOG_BASE); - k = xd.length; - if (xdi >= k) { - if (isTruncated) { - for (; k++ <= xdi; ) - xd.push(0); - w = rd = 0; - digits = 1; - i %= LOG_BASE; - j = i - LOG_BASE + 1; - } else { - break out; - } - } else { - w = k = xd[xdi]; - for (digits = 1; k >= 10; k /= 10) - digits++; - i %= LOG_BASE; - j = i - LOG_BASE + digits; - rd = j < 0 ? 0 : w / mathpow(10, digits - j - 1) % 10 | 0; - } - } - isTruncated = isTruncated || sd < 0 || xd[xdi + 1] !== void 0 || (j < 0 ? w : w % mathpow(10, digits - j - 1)); - roundUp = rm < 4 ? (rd || isTruncated) && (rm == 0 || rm == (x.s < 0 ? 3 : 2)) : rd > 5 || rd == 5 && (rm == 4 || isTruncated || rm == 6 && (i > 0 ? j > 0 ? w / mathpow(10, digits - j) : 0 : xd[xdi - 1]) % 10 & 1 || rm == (x.s < 0 ? 8 : 7)); - if (sd < 1 || !xd[0]) { - xd.length = 0; - if (roundUp) { - sd -= x.e + 1; - xd[0] = mathpow(10, (LOG_BASE - sd % LOG_BASE) % LOG_BASE); - x.e = -sd || 0; - } else { - xd[0] = x.e = 0; - } - return x; - } - if (i == 0) { - xd.length = xdi; - k = 1; - xdi--; - } else { - xd.length = xdi + 1; - k = mathpow(10, LOG_BASE - i); - xd[xdi] = j > 0 ? (w / mathpow(10, digits - j) % mathpow(10, j) | 0) * k : 0; - } - if (roundUp) { - for (; ; ) { - if (xdi == 0) { - for (i = 1, j = xd[0]; j >= 10; j /= 10) - i++; - j = xd[0] += k; - for (k = 1; j >= 10; j /= 10) - k++; - if (i != k) { - x.e++; - if (xd[0] == BASE) - xd[0] = 1; - } - break; - } else { - xd[xdi] += k; - if (xd[xdi] != BASE) - break; - xd[xdi--] = 0; - k = 1; - } - } - } - for (i = xd.length; xd[--i] === 0; ) - xd.pop(); - } - if (external) { - if (x.e > Ctor.maxE) { - x.d = null; - x.e = NaN; - } else if (x.e < Ctor.minE) { - x.e = 0; - x.d = [0]; - } - } - return x; -} -__name(finalise, "finalise"); -function finiteToString(x, isExp, sd) { - if (!x.isFinite()) - return nonFiniteToString(x); - var k, e = x.e, str = digitsToString(x.d), len = str.length; - if (isExp) { - if (sd && (k = sd - len) > 0) { - str = str.charAt(0) + "." + str.slice(1) + getZeroString(k); - } else if (len > 1) { - str = str.charAt(0) + "." + str.slice(1); - } - str = str + (x.e < 0 ? "e" : "e+") + x.e; - } else if (e < 0) { - str = "0." + getZeroString(-e - 1) + str; - if (sd && (k = sd - len) > 0) - str += getZeroString(k); - } else if (e >= len) { - str += getZeroString(e + 1 - len); - if (sd && (k = sd - e - 1) > 0) - str = str + "." + getZeroString(k); - } else { - if ((k = e + 1) < len) - str = str.slice(0, k) + "." + str.slice(k); - if (sd && (k = sd - len) > 0) { - if (e + 1 === len) - str += "."; - str += getZeroString(k); - } - } - return str; -} -__name(finiteToString, "finiteToString"); -function getBase10Exponent(digits, e) { - var w = digits[0]; - for (e *= LOG_BASE; w >= 10; w /= 10) - e++; - return e; -} -__name(getBase10Exponent, "getBase10Exponent"); -function getLn10(Ctor, sd, pr) { - if (sd > LN10_PRECISION) { - external = true; - if (pr) - Ctor.precision = pr; - throw Error(precisionLimitExceeded); - } - return finalise(new Ctor(LN10), sd, 1, true); -} -__name(getLn10, "getLn10"); -function getPi(Ctor, sd, rm) { - if (sd > PI_PRECISION) - throw Error(precisionLimitExceeded); - return finalise(new Ctor(PI), sd, rm, true); -} -__name(getPi, "getPi"); -function getPrecision(digits) { - var w = digits.length - 1, len = w * LOG_BASE + 1; - w = digits[w]; - if (w) { - for (; w % 10 == 0; w /= 10) - len--; - for (w = digits[0]; w >= 10; w /= 10) - len++; - } - return len; -} -__name(getPrecision, "getPrecision"); -function getZeroString(k) { - var zs = ""; - for (; k--; ) - zs += "0"; - return zs; -} -__name(getZeroString, "getZeroString"); -function intPow(Ctor, x, n, pr) { - var isTruncated, r = new Ctor(1), k = Math.ceil(pr / LOG_BASE + 4); - external = false; - for (; ; ) { - if (n % 2) { - r = r.times(x); - if (truncate(r.d, k)) - isTruncated = true; - } - n = mathfloor(n / 2); - if (n === 0) { - n = r.d.length - 1; - if (isTruncated && r.d[n] === 0) - ++r.d[n]; - break; - } - x = x.times(x); - truncate(x.d, k); - } - external = true; - return r; -} -__name(intPow, "intPow"); -function isOdd(n) { - return n.d[n.d.length - 1] & 1; -} -__name(isOdd, "isOdd"); -function maxOrMin(Ctor, args, ltgt) { - var y, x = new Ctor(args[0]), i = 0; - for (; ++i < args.length; ) { - y = new Ctor(args[i]); - if (!y.s) { - x = y; - break; - } else if (x[ltgt](y)) { - x = y; - } - } - return x; -} -__name(maxOrMin, "maxOrMin"); -function naturalExponential(x, sd) { - var denominator, guard, j, pow2, sum2, t, wpr, rep = 0, i = 0, k = 0, Ctor = x.constructor, rm = Ctor.rounding, pr = Ctor.precision; - if (!x.d || !x.d[0] || x.e > 17) { - return new Ctor(x.d ? !x.d[0] ? 1 : x.s < 0 ? 0 : 1 / 0 : x.s ? x.s < 0 ? 0 : x : 0 / 0); - } - if (sd == null) { - external = false; - wpr = pr; - } else { - wpr = sd; - } - t = new Ctor(0.03125); - while (x.e > -2) { - x = x.times(t); - k += 5; - } - guard = Math.log(mathpow(2, k)) / Math.LN10 * 2 + 5 | 0; - wpr += guard; - denominator = pow2 = sum2 = new Ctor(1); - Ctor.precision = wpr; - for (; ; ) { - pow2 = finalise(pow2.times(x), wpr, 1); - denominator = denominator.times(++i); - t = sum2.plus(divide(pow2, denominator, wpr, 1)); - if (digitsToString(t.d).slice(0, wpr) === digitsToString(sum2.d).slice(0, wpr)) { - j = k; - while (j--) - sum2 = finalise(sum2.times(sum2), wpr, 1); - if (sd == null) { - if (rep < 3 && checkRoundingDigits(sum2.d, wpr - guard, rm, rep)) { - Ctor.precision = wpr += 10; - denominator = pow2 = t = new Ctor(1); - i = 0; - rep++; - } else { - return finalise(sum2, Ctor.precision = pr, rm, external = true); - } - } else { - Ctor.precision = pr; - return sum2; - } - } - sum2 = t; - } -} -__name(naturalExponential, "naturalExponential"); -function naturalLogarithm(y, sd) { - var c, c0, denominator, e, numerator, rep, sum2, t, wpr, x1, x2, n = 1, guard = 10, x = y, xd = x.d, Ctor = x.constructor, rm = Ctor.rounding, pr = Ctor.precision; - if (x.s < 0 || !xd || !xd[0] || !x.e && xd[0] == 1 && xd.length == 1) { - return new Ctor(xd && !xd[0] ? -1 / 0 : x.s != 1 ? NaN : xd ? 0 : x); - } - if (sd == null) { - external = false; - wpr = pr; - } else { - wpr = sd; - } - Ctor.precision = wpr += guard; - c = digitsToString(xd); - c0 = c.charAt(0); - if (Math.abs(e = x.e) < 15e14) { - while (c0 < 7 && c0 != 1 || c0 == 1 && c.charAt(1) > 3) { - x = x.times(y); - c = digitsToString(x.d); - c0 = c.charAt(0); - n++; - } - e = x.e; - if (c0 > 1) { - x = new Ctor("0." + c); - e++; - } else { - x = new Ctor(c0 + "." + c.slice(1)); - } - } else { - t = getLn10(Ctor, wpr + 2, pr).times(e + ""); - x = naturalLogarithm(new Ctor(c0 + "." + c.slice(1)), wpr - guard).plus(t); - Ctor.precision = pr; - return sd == null ? finalise(x, pr, rm, external = true) : x; - } - x1 = x; - sum2 = numerator = x = divide(x.minus(1), x.plus(1), wpr, 1); - x2 = finalise(x.times(x), wpr, 1); - denominator = 3; - for (; ; ) { - numerator = finalise(numerator.times(x2), wpr, 1); - t = sum2.plus(divide(numerator, new Ctor(denominator), wpr, 1)); - if (digitsToString(t.d).slice(0, wpr) === digitsToString(sum2.d).slice(0, wpr)) { - sum2 = sum2.times(2); - if (e !== 0) - sum2 = sum2.plus(getLn10(Ctor, wpr + 2, pr).times(e + "")); - sum2 = divide(sum2, new Ctor(n), wpr, 1); - if (sd == null) { - if (checkRoundingDigits(sum2.d, wpr - guard, rm, rep)) { - Ctor.precision = wpr += guard; - t = numerator = x = divide(x1.minus(1), x1.plus(1), wpr, 1); - x2 = finalise(x.times(x), wpr, 1); - denominator = rep = 1; - } else { - return finalise(sum2, Ctor.precision = pr, rm, external = true); - } - } else { - Ctor.precision = pr; - return sum2; - } - } - sum2 = t; - denominator += 2; - } -} -__name(naturalLogarithm, "naturalLogarithm"); -function nonFiniteToString(x) { - return String(x.s * x.s / 0); -} -__name(nonFiniteToString, "nonFiniteToString"); -function parseDecimal(x, str) { - var e, i, len; - if ((e = str.indexOf(".")) > -1) - str = str.replace(".", ""); - if ((i = str.search(/e/i)) > 0) { - if (e < 0) - e = i; - e += +str.slice(i + 1); - str = str.substring(0, i); - } else if (e < 0) { - e = str.length; - } - for (i = 0; str.charCodeAt(i) === 48; i++) - ; - for (len = str.length; str.charCodeAt(len - 1) === 48; --len) - ; - str = str.slice(i, len); - if (str) { - len -= i; - x.e = e = e - i - 1; - x.d = []; - i = (e + 1) % LOG_BASE; - if (e < 0) - i += LOG_BASE; - if (i < len) { - if (i) - x.d.push(+str.slice(0, i)); - for (len -= LOG_BASE; i < len; ) - x.d.push(+str.slice(i, i += LOG_BASE)); - str = str.slice(i); - i = LOG_BASE - str.length; - } else { - i -= len; - } - for (; i--; ) - str += "0"; - x.d.push(+str); - if (external) { - if (x.e > x.constructor.maxE) { - x.d = null; - x.e = NaN; - } else if (x.e < x.constructor.minE) { - x.e = 0; - x.d = [0]; - } - } - } else { - x.e = 0; - x.d = [0]; - } - return x; -} -__name(parseDecimal, "parseDecimal"); -function parseOther(x, str) { - var base, Ctor, divisor, i, isFloat, len, p, xd, xe; - if (str.indexOf("_") > -1) { - str = str.replace(/(\d)_(?=\d)/g, "$1"); - if (isDecimal.test(str)) - return parseDecimal(x, str); - } else if (str === "Infinity" || str === "NaN") { - if (!+str) - x.s = NaN; - x.e = NaN; - x.d = null; - return x; - } - if (isHex.test(str)) { - base = 16; - str = str.toLowerCase(); - } else if (isBinary.test(str)) { - base = 2; - } else if (isOctal.test(str)) { - base = 8; - } else { - throw Error(invalidArgument + str); - } - i = str.search(/p/i); - if (i > 0) { - p = +str.slice(i + 1); - str = str.substring(2, i); - } else { - str = str.slice(2); - } - i = str.indexOf("."); - isFloat = i >= 0; - Ctor = x.constructor; - if (isFloat) { - str = str.replace(".", ""); - len = str.length; - i = len - i; - divisor = intPow(Ctor, new Ctor(base), i, i * 2); - } - xd = convertBase(str, base, BASE); - xe = xd.length - 1; - for (i = xe; xd[i] === 0; --i) - xd.pop(); - if (i < 0) - return new Ctor(x.s * 0); - x.e = getBase10Exponent(xd, xe); - x.d = xd; - external = false; - if (isFloat) - x = divide(x, divisor, len * 4); - if (p) - x = x.times(Math.abs(p) < 54 ? mathpow(2, p) : Decimal.pow(2, p)); - external = true; - return x; -} -__name(parseOther, "parseOther"); -function sine(Ctor, x) { - var k, len = x.d.length; - if (len < 3) { - return x.isZero() ? x : taylorSeries(Ctor, 2, x, x); - } - k = 1.4 * Math.sqrt(len); - k = k > 16 ? 16 : k | 0; - x = x.times(1 / tinyPow(5, k)); - x = taylorSeries(Ctor, 2, x, x); - var sin2_x, d5 = new Ctor(5), d16 = new Ctor(16), d20 = new Ctor(20); - for (; k--; ) { - sin2_x = x.times(x); - x = x.times(d5.plus(sin2_x.times(d16.times(sin2_x).minus(d20)))); - } - return x; -} -__name(sine, "sine"); -function taylorSeries(Ctor, n, x, y, isHyperbolic) { - var j, t, u, x2, i = 1, pr = Ctor.precision, k = Math.ceil(pr / LOG_BASE); - external = false; - x2 = x.times(x); - u = new Ctor(y); - for (; ; ) { - t = divide(u.times(x2), new Ctor(n++ * n++), pr, 1); - u = isHyperbolic ? y.plus(t) : y.minus(t); - y = divide(t.times(x2), new Ctor(n++ * n++), pr, 1); - t = u.plus(y); - if (t.d[k] !== void 0) { - for (j = k; t.d[j] === u.d[j] && j--; ) - ; - if (j == -1) - break; - } - j = u; - u = y; - y = t; - t = j; - i++; - } - external = true; - t.d.length = k + 1; - return t; -} -__name(taylorSeries, "taylorSeries"); -function tinyPow(b, e) { - var n = b; - while (--e) - n *= b; - return n; -} -__name(tinyPow, "tinyPow"); -function toLessThanHalfPi(Ctor, x) { - var t, isNeg = x.s < 0, pi = getPi(Ctor, Ctor.precision, 1), halfPi = pi.times(0.5); - x = x.abs(); - if (x.lte(halfPi)) { - quadrant = isNeg ? 4 : 1; - return x; - } - t = x.divToInt(pi); - if (t.isZero()) { - quadrant = isNeg ? 3 : 2; - } else { - x = x.minus(t.times(pi)); - if (x.lte(halfPi)) { - quadrant = isOdd(t) ? isNeg ? 2 : 3 : isNeg ? 4 : 1; - return x; - } - quadrant = isOdd(t) ? isNeg ? 1 : 4 : isNeg ? 3 : 2; - } - return x.minus(pi).abs(); -} -__name(toLessThanHalfPi, "toLessThanHalfPi"); -function toStringBinary(x, baseOut, sd, rm) { - var base, e, i, k, len, roundUp, str, xd, y, Ctor = x.constructor, isExp = sd !== void 0; - if (isExp) { - checkInt32(sd, 1, MAX_DIGITS); - if (rm === void 0) - rm = Ctor.rounding; - else - checkInt32(rm, 0, 8); - } else { - sd = Ctor.precision; - rm = Ctor.rounding; - } - if (!x.isFinite()) { - str = nonFiniteToString(x); - } else { - str = finiteToString(x); - i = str.indexOf("."); - if (isExp) { - base = 2; - if (baseOut == 16) { - sd = sd * 4 - 3; - } else if (baseOut == 8) { - sd = sd * 3 - 2; - } - } else { - base = baseOut; - } - if (i >= 0) { - str = str.replace(".", ""); - y = new Ctor(1); - y.e = str.length - i; - y.d = convertBase(finiteToString(y), 10, base); - y.e = y.d.length; - } - xd = convertBase(str, 10, base); - e = len = xd.length; - for (; xd[--len] == 0; ) - xd.pop(); - if (!xd[0]) { - str = isExp ? "0p+0" : "0"; - } else { - if (i < 0) { - e--; - } else { - x = new Ctor(x); - x.d = xd; - x.e = e; - x = divide(x, y, sd, rm, 0, base); - xd = x.d; - e = x.e; - roundUp = inexact; - } - i = xd[sd]; - k = base / 2; - roundUp = roundUp || xd[sd + 1] !== void 0; - roundUp = rm < 4 ? (i !== void 0 || roundUp) && (rm === 0 || rm === (x.s < 0 ? 3 : 2)) : i > k || i === k && (rm === 4 || roundUp || rm === 6 && xd[sd - 1] & 1 || rm === (x.s < 0 ? 8 : 7)); - xd.length = sd; - if (roundUp) { - for (; ++xd[--sd] > base - 1; ) { - xd[sd] = 0; - if (!sd) { - ++e; - xd.unshift(1); - } - } - } - for (len = xd.length; !xd[len - 1]; --len) - ; - for (i = 0, str = ""; i < len; i++) - str += NUMERALS.charAt(xd[i]); - if (isExp) { - if (len > 1) { - if (baseOut == 16 || baseOut == 8) { - i = baseOut == 16 ? 4 : 3; - for (--len; len % i; len++) - str += "0"; - xd = convertBase(str, base, baseOut); - for (len = xd.length; !xd[len - 1]; --len) - ; - for (i = 1, str = "1."; i < len; i++) - str += NUMERALS.charAt(xd[i]); - } else { - str = str.charAt(0) + "." + str.slice(1); - } - } - str = str + (e < 0 ? "p" : "p+") + e; - } else if (e < 0) { - for (; ++e; ) - str = "0" + str; - str = "0." + str; - } else { - if (++e > len) - for (e -= len; e--; ) - str += "0"; - else if (e < len) - str = str.slice(0, e) + "." + str.slice(e); - } - } - str = (baseOut == 16 ? "0x" : baseOut == 2 ? "0b" : baseOut == 8 ? "0o" : "") + str; - } - return x.s < 0 ? "-" + str : str; -} -__name(toStringBinary, "toStringBinary"); -function truncate(arr, len) { - if (arr.length > len) { - arr.length = len; - return true; - } -} -__name(truncate, "truncate"); -function abs(x) { - return new this(x).abs(); -} -__name(abs, "abs"); -function acos(x) { - return new this(x).acos(); -} -__name(acos, "acos"); -function acosh(x) { - return new this(x).acosh(); -} -__name(acosh, "acosh"); -function add(x, y) { - return new this(x).plus(y); -} -__name(add, "add"); -function asin(x) { - return new this(x).asin(); -} -__name(asin, "asin"); -function asinh(x) { - return new this(x).asinh(); -} -__name(asinh, "asinh"); -function atan(x) { - return new this(x).atan(); -} -__name(atan, "atan"); -function atanh(x) { - return new this(x).atanh(); -} -__name(atanh, "atanh"); -function atan2(y, x) { - y = new this(y); - x = new this(x); - var r, pr = this.precision, rm = this.rounding, wpr = pr + 4; - if (!y.s || !x.s) { - r = new this(NaN); - } else if (!y.d && !x.d) { - r = getPi(this, wpr, 1).times(x.s > 0 ? 0.25 : 0.75); - r.s = y.s; - } else if (!x.d || y.isZero()) { - r = x.s < 0 ? getPi(this, pr, rm) : new this(0); - r.s = y.s; - } else if (!y.d || x.isZero()) { - r = getPi(this, wpr, 1).times(0.5); - r.s = y.s; - } else if (x.s < 0) { - this.precision = wpr; - this.rounding = 1; - r = this.atan(divide(y, x, wpr, 1)); - x = getPi(this, wpr, 1); - this.precision = pr; - this.rounding = rm; - r = y.s < 0 ? r.minus(x) : r.plus(x); - } else { - r = this.atan(divide(y, x, wpr, 1)); - } - return r; -} -__name(atan2, "atan2"); -function cbrt(x) { - return new this(x).cbrt(); -} -__name(cbrt, "cbrt"); -function ceil(x) { - return finalise(x = new this(x), x.e + 1, 2); -} -__name(ceil, "ceil"); -function clamp(x, min2, max2) { - return new this(x).clamp(min2, max2); -} -__name(clamp, "clamp"); -function config(obj) { - if (!obj || typeof obj !== "object") - throw Error(decimalError + "Object expected"); - var i, p, v, useDefaults = obj.defaults === true, ps = [ - "precision", - 1, - MAX_DIGITS, - "rounding", - 0, - 8, - "toExpNeg", - -EXP_LIMIT, - 0, - "toExpPos", - 0, - EXP_LIMIT, - "maxE", - 0, - EXP_LIMIT, - "minE", - -EXP_LIMIT, - 0, - "modulo", - 0, - 9 - ]; - for (i = 0; i < ps.length; i += 3) { - if (p = ps[i], useDefaults) - this[p] = DEFAULTS[p]; - if ((v = obj[p]) !== void 0) { - if (mathfloor(v) === v && v >= ps[i + 1] && v <= ps[i + 2]) - this[p] = v; - else - throw Error(invalidArgument + p + ": " + v); - } - } - if (p = "crypto", useDefaults) - this[p] = DEFAULTS[p]; - if ((v = obj[p]) !== void 0) { - if (v === true || v === false || v === 0 || v === 1) { - if (v) { - if (typeof crypto != "undefined" && crypto && (crypto.getRandomValues || crypto.randomBytes)) { - this[p] = true; - } else { - throw Error(cryptoUnavailable); - } - } else { - this[p] = false; - } - } else { - throw Error(invalidArgument + p + ": " + v); - } - } - return this; -} -__name(config, "config"); -function cos(x) { - return new this(x).cos(); -} -__name(cos, "cos"); -function cosh(x) { - return new this(x).cosh(); -} -__name(cosh, "cosh"); -function clone(obj) { - var i, p, ps; - function Decimal2(v) { - var e, i2, t, x = this; - if (!(x instanceof Decimal2)) - return new Decimal2(v); - x.constructor = Decimal2; - if (isDecimalInstance(v)) { - x.s = v.s; - if (external) { - if (!v.d || v.e > Decimal2.maxE) { - x.e = NaN; - x.d = null; - } else if (v.e < Decimal2.minE) { - x.e = 0; - x.d = [0]; - } else { - x.e = v.e; - x.d = v.d.slice(); - } - } else { - x.e = v.e; - x.d = v.d ? v.d.slice() : v.d; - } - return; - } - t = typeof v; - if (t === "number") { - if (v === 0) { - x.s = 1 / v < 0 ? -1 : 1; - x.e = 0; - x.d = [0]; - return; - } - if (v < 0) { - v = -v; - x.s = -1; - } else { - x.s = 1; - } - if (v === ~~v && v < 1e7) { - for (e = 0, i2 = v; i2 >= 10; i2 /= 10) - e++; - if (external) { - if (e > Decimal2.maxE) { - x.e = NaN; - x.d = null; - } else if (e < Decimal2.minE) { - x.e = 0; - x.d = [0]; - } else { - x.e = e; - x.d = [v]; - } - } else { - x.e = e; - x.d = [v]; - } - return; - } else if (v * 0 !== 0) { - if (!v) - x.s = NaN; - x.e = NaN; - x.d = null; - return; - } - return parseDecimal(x, v.toString()); - } else if (t !== "string") { - throw Error(invalidArgument + v); - } - if ((i2 = v.charCodeAt(0)) === 45) { - v = v.slice(1); - x.s = -1; - } else { - if (i2 === 43) - v = v.slice(1); - x.s = 1; - } - return isDecimal.test(v) ? parseDecimal(x, v) : parseOther(x, v); - } - __name(Decimal2, "Decimal"); - Decimal2.prototype = P; - Decimal2.ROUND_UP = 0; - Decimal2.ROUND_DOWN = 1; - Decimal2.ROUND_CEIL = 2; - Decimal2.ROUND_FLOOR = 3; - Decimal2.ROUND_HALF_UP = 4; - Decimal2.ROUND_HALF_DOWN = 5; - Decimal2.ROUND_HALF_EVEN = 6; - Decimal2.ROUND_HALF_CEIL = 7; - Decimal2.ROUND_HALF_FLOOR = 8; - Decimal2.EUCLID = 9; - Decimal2.config = Decimal2.set = config; - Decimal2.clone = clone; - Decimal2.isDecimal = isDecimalInstance; - Decimal2.abs = abs; - Decimal2.acos = acos; - Decimal2.acosh = acosh; - Decimal2.add = add; - Decimal2.asin = asin; - Decimal2.asinh = asinh; - Decimal2.atan = atan; - Decimal2.atanh = atanh; - Decimal2.atan2 = atan2; - Decimal2.cbrt = cbrt; - Decimal2.ceil = ceil; - Decimal2.clamp = clamp; - Decimal2.cos = cos; - Decimal2.cosh = cosh; - Decimal2.div = div; - Decimal2.exp = exp; - Decimal2.floor = floor; - Decimal2.hypot = hypot; - Decimal2.ln = ln; - Decimal2.log = log; - Decimal2.log10 = log10; - Decimal2.log2 = log2; - Decimal2.max = max; - Decimal2.min = min; - Decimal2.mod = mod; - Decimal2.mul = mul; - Decimal2.pow = pow; - Decimal2.random = random; - Decimal2.round = round; - Decimal2.sign = sign; - Decimal2.sin = sin; - Decimal2.sinh = sinh; - Decimal2.sqrt = sqrt; - Decimal2.sub = sub; - Decimal2.sum = sum; - Decimal2.tan = tan; - Decimal2.tanh = tanh; - Decimal2.trunc = trunc; - if (obj === void 0) - obj = {}; - if (obj) { - if (obj.defaults !== true) { - ps = ["precision", "rounding", "toExpNeg", "toExpPos", "maxE", "minE", "modulo", "crypto"]; - for (i = 0; i < ps.length; ) - if (!obj.hasOwnProperty(p = ps[i++])) - obj[p] = this[p]; - } - } - Decimal2.config(obj); - return Decimal2; -} -__name(clone, "clone"); -function div(x, y) { - return new this(x).div(y); -} -__name(div, "div"); -function exp(x) { - return new this(x).exp(); -} -__name(exp, "exp"); -function floor(x) { - return finalise(x = new this(x), x.e + 1, 3); -} -__name(floor, "floor"); -function hypot() { - var i, n, t = new this(0); - external = false; - for (i = 0; i < arguments.length; ) { - n = new this(arguments[i++]); - if (!n.d) { - if (n.s) { - external = true; - return new this(1 / 0); - } - t = n; - } else if (t.d) { - t = t.plus(n.times(n)); - } - } - external = true; - return t.sqrt(); -} -__name(hypot, "hypot"); -function isDecimalInstance(obj) { - return obj instanceof Decimal || obj && obj.toStringTag === tag || false; -} -__name(isDecimalInstance, "isDecimalInstance"); -function ln(x) { - return new this(x).ln(); -} -__name(ln, "ln"); -function log(x, y) { - return new this(x).log(y); -} -__name(log, "log"); -function log2(x) { - return new this(x).log(2); -} -__name(log2, "log2"); -function log10(x) { - return new this(x).log(10); -} -__name(log10, "log10"); -function max() { - return maxOrMin(this, arguments, "lt"); -} -__name(max, "max"); -function min() { - return maxOrMin(this, arguments, "gt"); -} -__name(min, "min"); -function mod(x, y) { - return new this(x).mod(y); -} -__name(mod, "mod"); -function mul(x, y) { - return new this(x).mul(y); -} -__name(mul, "mul"); -function pow(x, y) { - return new this(x).pow(y); -} -__name(pow, "pow"); -function random(sd) { - var d, e, k, n, i = 0, r = new this(1), rd = []; - if (sd === void 0) - sd = this.precision; - else - checkInt32(sd, 1, MAX_DIGITS); - k = Math.ceil(sd / LOG_BASE); - if (!this.crypto) { - for (; i < k; ) - rd[i++] = Math.random() * 1e7 | 0; - } else if (crypto.getRandomValues) { - d = crypto.getRandomValues(new Uint32Array(k)); - for (; i < k; ) { - n = d[i]; - if (n >= 429e7) { - d[i] = crypto.getRandomValues(new Uint32Array(1))[0]; - } else { - rd[i++] = n % 1e7; - } - } - } else if (crypto.randomBytes) { - d = crypto.randomBytes(k *= 4); - for (; i < k; ) { - n = d[i] + (d[i + 1] << 8) + (d[i + 2] << 16) + ((d[i + 3] & 127) << 24); - if (n >= 214e7) { - crypto.randomBytes(4).copy(d, i); - } else { - rd.push(n % 1e7); - i += 4; - } - } - i = k / 4; - } else { - throw Error(cryptoUnavailable); - } - k = rd[--i]; - sd %= LOG_BASE; - if (k && sd) { - n = mathpow(10, LOG_BASE - sd); - rd[i] = (k / n | 0) * n; - } - for (; rd[i] === 0; i--) - rd.pop(); - if (i < 0) { - e = 0; - rd = [0]; - } else { - e = -1; - for (; rd[0] === 0; e -= LOG_BASE) - rd.shift(); - for (k = 1, n = rd[0]; n >= 10; n /= 10) - k++; - if (k < LOG_BASE) - e -= LOG_BASE - k; - } - r.e = e; - r.d = rd; - return r; -} -__name(random, "random"); -function round(x) { - return finalise(x = new this(x), x.e + 1, this.rounding); -} -__name(round, "round"); -function sign(x) { - x = new this(x); - return x.d ? x.d[0] ? x.s : 0 * x.s : x.s || NaN; -} -__name(sign, "sign"); -function sin(x) { - return new this(x).sin(); -} -__name(sin, "sin"); -function sinh(x) { - return new this(x).sinh(); -} -__name(sinh, "sinh"); -function sqrt(x) { - return new this(x).sqrt(); -} -__name(sqrt, "sqrt"); -function sub(x, y) { - return new this(x).sub(y); -} -__name(sub, "sub"); -function sum() { - var i = 0, args = arguments, x = new this(args[i]); - external = false; - for (; x.s && ++i < args.length; ) - x = x.plus(args[i]); - external = true; - return finalise(x, this.precision, this.rounding); -} -__name(sum, "sum"); -function tan(x) { - return new this(x).tan(); -} -__name(tan, "tan"); -function tanh(x) { - return new this(x).tanh(); -} -__name(tanh, "tanh"); -function trunc(x) { - return finalise(x = new this(x), x.e + 1, 1); -} -__name(trunc, "trunc"); -P[Symbol.for("nodejs.util.inspect.custom")] = P.toString; -P[Symbol.toStringTag] = "Decimal"; -var Decimal = P.constructor = clone(DEFAULTS); -LN10 = new Decimal(LN10); -PI = new Decimal(PI); -var decimal_default = Decimal; -// Annotate the CommonJS export names for ESM import in node: -0 && (module.exports = { - Decimal -}); +decimal.js/decimal.mjs: + (*! + * decimal.js v10.4.3 + * An arbitrary-precision Decimal type for JavaScript. + * https://github.com/MikeMcl/decimal.js + * Copyright (c) 2022 Michael Mclaughlin + * MIT Licence + *) +*/ +//# sourceMappingURL=index-browser.js.map diff --git a/packages/dataprovider/.prisma/runtime/library.d.ts b/packages/dataprovider/.prisma/runtime/library.d.ts new file mode 100644 index 0000000..19d43c4 --- /dev/null +++ b/packages/dataprovider/.prisma/runtime/library.d.ts @@ -0,0 +1,2994 @@ +/** + * @param this + */ +declare function $extends(this: Client, extension: ExtensionArgs | ((client: Client) => Client)): Client; + +export declare type Action = keyof typeof DMMF.ModelAction | 'executeRaw' | 'queryRaw' | 'runCommandRaw'; + +export declare type Aggregate = '_count' | '_max' | '_min' | '_avg' | '_sum'; + +export declare type AllModelsToStringIndex, K extends PropertyKey> = Args extends { + [P in K]: { + $allModels: infer AllModels; + }; +} ? { + [P in K]: Record; +} : {}; + +declare class AnyNull extends NullTypesEnumValue { +} + +export declare type Args = T extends { + [K: symbol]: { + types: { + operations: { + [K in F]: { + args: any; + }; + }; + }; + }; +} ? T[symbol]['types']['operations'][F]['args'] : any; + +export declare type Args_3 = Args; + +/** + * Attributes is a map from string to attribute values. + * + * Note: only the own enumerable keys are counted as valid attribute keys. + */ +declare interface Attributes { + [attributeKey: string]: AttributeValue | undefined; +} + +/** + * Attribute values may be any non-nullish primitive value except an object. + * + * null or undefined attribute values are invalid and will result in undefined behavior. + */ +declare type AttributeValue = string | number | boolean | Array | Array | Array; + +export declare type BaseDMMF = Pick; + +declare type BatchArgs = { + queries: BatchQuery[]; + transaction?: { + isolationLevel?: IsolationLevel; + }; +}; + +declare type BatchInternalParams = { + requests: RequestParams[]; + customDataProxyFetch?: CustomDataProxyFetch; +}; + +declare type BatchQuery = { + model: string | undefined; + operation: string; + args: JsArgs | RawQueryArgs; +}; + +declare type BatchQueryEngineResult = QueryEngineResult | Error; + +declare type BatchQueryOptionsCb = (args: BatchQueryOptionsCbArgs) => Promise; + +declare type BatchQueryOptionsCbArgs = { + args: BatchArgs; + query: (args: BatchArgs, __internalParams?: BatchInternalParams) => Promise; + __internalParams: BatchInternalParams; +}; + +declare type BatchTransactionOptions = { + isolationLevel?: Transaction.IsolationLevel; +}; + +declare interface BinaryTargetsEnvValue { + fromEnvVar: string | null; + value: string; + native?: boolean; +} + +export declare type Call = (F & { + params: P; +})['returns']; + +declare interface CallSite { + getLocation(): LocationInFile | null; +} + +export declare type Cast = A extends W ? A : W; + +declare type Client = ReturnType extends new () => infer T ? T : never; + +export declare type ClientArg = { + [MethodName in string]: unknown; +}; + +export declare type ClientArgs = { + client: ClientArg; +}; + +export declare type ClientBuiltInProp = keyof DynamicClientExtensionThisBuiltin; + +declare type ColumnType = (typeof ColumnTypeEnum)[keyof typeof ColumnTypeEnum]; + +declare const ColumnTypeEnum: { + readonly Int32: 0; + readonly Int64: 1; + readonly Float: 2; + readonly Double: 3; + readonly Numeric: 4; + readonly Boolean: 5; + readonly Char: 6; + readonly Text: 7; + readonly Date: 8; + readonly Time: 9; + readonly DateTime: 10; + readonly Json: 11; + readonly Enum: 12; + readonly Bytes: 13; + readonly Set: 14; + readonly Uuid: 15; + readonly Int32Array: 64; + readonly Int64Array: 65; + readonly FloatArray: 66; + readonly DoubleArray: 67; + readonly NumericArray: 68; + readonly BooleanArray: 69; + readonly CharArray: 70; + readonly TextArray: 71; + readonly DateArray: 72; + readonly TimeArray: 73; + readonly DateTimeArray: 74; + readonly JsonArray: 75; + readonly EnumArray: 76; + readonly BytesArray: 77; + readonly UuidArray: 78; + readonly UnknownNumber: 128; +}; + +export declare type Compute = T extends Function ? T : { + [K in keyof T]: T[K]; +} & unknown; + +export declare type ComputeDeep = T extends Function ? T : { + [K in keyof T]: ComputeDeep; +} & unknown; + +declare type ComputedField = { + name: string; + needs: string[]; + compute: ResultArgsFieldCompute; +}; + +declare type ComputedFieldsMap = { + [fieldName: string]: ComputedField; +}; + +declare interface Context { + /** + * Get a value from the context. + * + * @param key key which identifies a context value + */ + getValue(key: symbol): unknown; + /** + * Create a new context which inherits from this context and has + * the given key set to the given value. + * + * @param key context key for which to set the value + * @param value value to set for the given key + */ + setValue(key: symbol, value: unknown): Context; + /** + * Return a new context which inherits from this context but does + * not contain a value for the given key. + * + * @param key context key for which to clear a value + */ + deleteValue(key: symbol): Context; +} + +declare type Context_2 = T extends { + [K: symbol]: { + ctx: infer C; + }; +} ? C & T & { + /** + * @deprecated Use `$name` instead. + */ + name?: string; + $name?: string; + $parent?: unknown; +} : T & { + /** + * @deprecated Use `$name` instead. + */ + name?: string; + $name?: string; + $parent?: unknown; +}; + +export declare type Count = { + [K in keyof O]: Count; +} & {}; + +declare type CustomDataProxyFetch = (fetch: Fetch) => Fetch; + +declare class DataLoader { + private options; + batches: { + [key: string]: Job[]; + }; + private tickActive; + constructor(options: DataLoaderOptions); + request(request: T): Promise; + private dispatchBatches; + get [Symbol.toStringTag](): string; +} + +declare type DataLoaderOptions = { + singleLoader: (request: T) => Promise; + batchLoader: (request: T[]) => Promise; + batchBy: (request: T) => string | undefined; + batchOrder: (requestA: T, requestB: T) => number; +}; + +declare type Datasource = { + url?: string; +}; + +declare type Datasources = { + [name in string]: Datasource; +}; + +declare class DbNull extends NullTypesEnumValue { +} + +export declare interface Debug { + (namespace: string): Debugger; + disable: () => string; + enable: (namespace: string) => void; + enabled: (namespace: string) => boolean; + log: (...args: any[]) => any; + formatters: Record string) | undefined>; +} + +declare interface Debugger { + (format: any, ...args: any[]): void; + log: (...args: any[]) => any; + extend: (namespace: string, delimiter?: string) => Debugger; + color: string | number; + enabled: boolean; + namespace: string; +} + +export declare namespace Decimal { + export type Constructor = typeof Decimal; + export type Instance = Decimal; + export type Rounding = 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8; + export type Modulo = Rounding | 9; + export type Value = string | number | Decimal; + + // http://mikemcl.github.io/decimal.js/#constructor-properties + export interface Config { + precision?: number; + rounding?: Rounding; + toExpNeg?: number; + toExpPos?: number; + minE?: number; + maxE?: number; + crypto?: boolean; + modulo?: Modulo; + defaults?: boolean; + } +} + +export declare class Decimal { + readonly d: number[]; + readonly e: number; + readonly s: number; + + constructor(n: Decimal.Value); + + absoluteValue(): Decimal; + abs(): Decimal; + + ceil(): Decimal; + + clampedTo(min: Decimal.Value, max: Decimal.Value): Decimal; + clamp(min: Decimal.Value, max: Decimal.Value): Decimal; + + comparedTo(n: Decimal.Value): number; + cmp(n: Decimal.Value): number; + + cosine(): Decimal; + cos(): Decimal; + + cubeRoot(): Decimal; + cbrt(): Decimal; + + decimalPlaces(): number; + dp(): number; + + dividedBy(n: Decimal.Value): Decimal; + div(n: Decimal.Value): Decimal; + + dividedToIntegerBy(n: Decimal.Value): Decimal; + divToInt(n: Decimal.Value): Decimal; + + equals(n: Decimal.Value): boolean; + eq(n: Decimal.Value): boolean; + + floor(): Decimal; + + greaterThan(n: Decimal.Value): boolean; + gt(n: Decimal.Value): boolean; + + greaterThanOrEqualTo(n: Decimal.Value): boolean; + gte(n: Decimal.Value): boolean; + + hyperbolicCosine(): Decimal; + cosh(): Decimal; + + hyperbolicSine(): Decimal; + sinh(): Decimal; + + hyperbolicTangent(): Decimal; + tanh(): Decimal; + + inverseCosine(): Decimal; + acos(): Decimal; + + inverseHyperbolicCosine(): Decimal; + acosh(): Decimal; + + inverseHyperbolicSine(): Decimal; + asinh(): Decimal; + + inverseHyperbolicTangent(): Decimal; + atanh(): Decimal; + + inverseSine(): Decimal; + asin(): Decimal; + + inverseTangent(): Decimal; + atan(): Decimal; + + isFinite(): boolean; + + isInteger(): boolean; + isInt(): boolean; + + isNaN(): boolean; + + isNegative(): boolean; + isNeg(): boolean; + + isPositive(): boolean; + isPos(): boolean; + + isZero(): boolean; + + lessThan(n: Decimal.Value): boolean; + lt(n: Decimal.Value): boolean; + + lessThanOrEqualTo(n: Decimal.Value): boolean; + lte(n: Decimal.Value): boolean; + + logarithm(n?: Decimal.Value): Decimal; + log(n?: Decimal.Value): Decimal; + + minus(n: Decimal.Value): Decimal; + sub(n: Decimal.Value): Decimal; + + modulo(n: Decimal.Value): Decimal; + mod(n: Decimal.Value): Decimal; + + naturalExponential(): Decimal; + exp(): Decimal; + + naturalLogarithm(): Decimal; + ln(): Decimal; + + negated(): Decimal; + neg(): Decimal; + + plus(n: Decimal.Value): Decimal; + add(n: Decimal.Value): Decimal; + + precision(includeZeros?: boolean): number; + sd(includeZeros?: boolean): number; + + round(): Decimal; + + sine() : Decimal; + sin() : Decimal; + + squareRoot(): Decimal; + sqrt(): Decimal; + + tangent() : Decimal; + tan() : Decimal; + + times(n: Decimal.Value): Decimal; + mul(n: Decimal.Value) : Decimal; + + toBinary(significantDigits?: number): string; + toBinary(significantDigits: number, rounding: Decimal.Rounding): string; + + toDecimalPlaces(decimalPlaces?: number): Decimal; + toDecimalPlaces(decimalPlaces: number, rounding: Decimal.Rounding): Decimal; + toDP(decimalPlaces?: number): Decimal; + toDP(decimalPlaces: number, rounding: Decimal.Rounding): Decimal; + + toExponential(decimalPlaces?: number): string; + toExponential(decimalPlaces: number, rounding: Decimal.Rounding): string; + + toFixed(decimalPlaces?: number): string; + toFixed(decimalPlaces: number, rounding: Decimal.Rounding): string; + + toFraction(max_denominator?: Decimal.Value): Decimal[]; + + toHexadecimal(significantDigits?: number): string; + toHexadecimal(significantDigits: number, rounding: Decimal.Rounding): string; + toHex(significantDigits?: number): string; + toHex(significantDigits: number, rounding?: Decimal.Rounding): string; + + toJSON(): string; + + toNearest(n: Decimal.Value, rounding?: Decimal.Rounding): Decimal; + + toNumber(): number; + + toOctal(significantDigits?: number): string; + toOctal(significantDigits: number, rounding: Decimal.Rounding): string; + + toPower(n: Decimal.Value): Decimal; + pow(n: Decimal.Value): Decimal; + + toPrecision(significantDigits?: number): string; + toPrecision(significantDigits: number, rounding: Decimal.Rounding): string; + + toSignificantDigits(significantDigits?: number): Decimal; + toSignificantDigits(significantDigits: number, rounding: Decimal.Rounding): Decimal; + toSD(significantDigits?: number): Decimal; + toSD(significantDigits: number, rounding: Decimal.Rounding): Decimal; + + toString(): string; + + truncated(): Decimal; + trunc(): Decimal; + + valueOf(): string; + + static abs(n: Decimal.Value): Decimal; + static acos(n: Decimal.Value): Decimal; + static acosh(n: Decimal.Value): Decimal; + static add(x: Decimal.Value, y: Decimal.Value): Decimal; + static asin(n: Decimal.Value): Decimal; + static asinh(n: Decimal.Value): Decimal; + static atan(n: Decimal.Value): Decimal; + static atanh(n: Decimal.Value): Decimal; + static atan2(y: Decimal.Value, x: Decimal.Value): Decimal; + static cbrt(n: Decimal.Value): Decimal; + static ceil(n: Decimal.Value): Decimal; + static clamp(n: Decimal.Value, min: Decimal.Value, max: Decimal.Value): Decimal; + static clone(object?: Decimal.Config): Decimal.Constructor; + static config(object: Decimal.Config): Decimal.Constructor; + static cos(n: Decimal.Value): Decimal; + static cosh(n: Decimal.Value): Decimal; + static div(x: Decimal.Value, y: Decimal.Value): Decimal; + static exp(n: Decimal.Value): Decimal; + static floor(n: Decimal.Value): Decimal; + static hypot(...n: Decimal.Value[]): Decimal; + static isDecimal(object: any): object is Decimal; + static ln(n: Decimal.Value): Decimal; + static log(n: Decimal.Value, base?: Decimal.Value): Decimal; + static log2(n: Decimal.Value): Decimal; + static log10(n: Decimal.Value): Decimal; + static max(...n: Decimal.Value[]): Decimal; + static min(...n: Decimal.Value[]): Decimal; + static mod(x: Decimal.Value, y: Decimal.Value): Decimal; + static mul(x: Decimal.Value, y: Decimal.Value): Decimal; + static noConflict(): Decimal.Constructor; // Browser only + static pow(base: Decimal.Value, exponent: Decimal.Value): Decimal; + static random(significantDigits?: number): Decimal; + static round(n: Decimal.Value): Decimal; + static set(object: Decimal.Config): Decimal.Constructor; + static sign(n: Decimal.Value): number; + static sin(n: Decimal.Value): Decimal; + static sinh(n: Decimal.Value): Decimal; + static sqrt(n: Decimal.Value): Decimal; + static sub(x: Decimal.Value, y: Decimal.Value): Decimal; + static sum(...n: Decimal.Value[]): Decimal; + static tan(n: Decimal.Value): Decimal; + static tanh(n: Decimal.Value): Decimal; + static trunc(n: Decimal.Value): Decimal; + + static readonly default?: Decimal.Constructor; + static readonly Decimal?: Decimal.Constructor; + + static readonly precision: number; + static readonly rounding: Decimal.Rounding; + static readonly toExpNeg: number; + static readonly toExpPos: number; + static readonly minE: number; + static readonly maxE: number; + static readonly crypto: boolean; + static readonly modulo: Decimal.Modulo; + + static readonly ROUND_UP: 0; + static readonly ROUND_DOWN: 1; + static readonly ROUND_CEIL: 2; + static readonly ROUND_FLOOR: 3; + static readonly ROUND_HALF_UP: 4; + static readonly ROUND_HALF_DOWN: 5; + static readonly ROUND_HALF_EVEN: 6; + static readonly ROUND_HALF_CEIL: 7; + static readonly ROUND_HALF_FLOOR: 8; + static readonly EUCLID: 9; +} + +/** + * Interface for any Decimal.js-like library + * Allows us to accept Decimal.js from different + * versions and some compatible alternatives + */ +export declare interface DecimalJsLike { + d: number[]; + e: number; + s: number; + toFixed(): string; +} + +export declare type DefaultArgs = InternalArgs<{}, {}, {}, {}>; + +export declare type DefaultSelection

= UnwrapPayload<{ + default: P; +}>['default']; + +export declare function defineDmmfProperty(target: object, runtimeDataModel: RuntimeDataModel): void; + +declare function defineExtension(ext: ExtensionArgs | ((client: Client) => Client)): (client: Client) => Client; + +declare const denylist: readonly ["$connect", "$disconnect", "$on", "$transaction", "$use", "$extends"]; + +export declare type DevTypeMapDef = { + meta: { + modelProps: string; + }; + model: { + [Model in PropertyKey]: { + [Operation in PropertyKey]: DevTypeMapFnDef; + }; + }; + other: { + [Operation in PropertyKey]: DevTypeMapFnDef; + }; +}; + +export declare type DevTypeMapFnDef = { + args: any; + result: any; + payload: OperationPayload; +}; + +declare interface Dictionary { + [key: string]: T; +} + +declare type Dictionary_2 = { + [key: string]: T | undefined; +}; + +export declare namespace DMMF { + export interface Document { + datamodel: Datamodel; + schema: Schema; + mappings: Mappings; + } + export interface Mappings { + modelOperations: ModelMapping[]; + otherOperations: { + read: string[]; + write: string[]; + }; + } + export interface OtherOperationMappings { + read: string[]; + write: string[]; + } + export interface DatamodelEnum { + name: string; + values: EnumValue[]; + dbName?: string | null; + documentation?: string; + } + export interface SchemaEnum { + name: string; + values: string[]; + } + export interface EnumValue { + name: string; + dbName: string | null; + } + export interface Datamodel { + models: Model[]; + enums: DatamodelEnum[]; + types: Model[]; + } + export interface uniqueIndex { + name: string; + fields: string[]; + } + export interface PrimaryKey { + name: string | null; + fields: string[]; + } + export interface Model { + name: string; + dbName: string | null; + fields: Field[]; + uniqueFields: string[][]; + uniqueIndexes: uniqueIndex[]; + documentation?: string; + primaryKey: PrimaryKey | null; + isGenerated?: boolean; + } + export type FieldKind = 'scalar' | 'object' | 'enum' | 'unsupported'; + export type FieldNamespace = 'model' | 'prisma'; + export type FieldLocation = 'scalar' | 'inputObjectTypes' | 'outputObjectTypes' | 'enumTypes' | 'fieldRefTypes'; + export interface Field { + kind: FieldKind; + name: string; + isRequired: boolean; + isList: boolean; + isUnique: boolean; + isId: boolean; + isReadOnly: boolean; + isGenerated?: boolean; + isUpdatedAt?: boolean; + /** + * Describes the data type in the same the way it is defined in the Prisma schema: + * BigInt, Boolean, Bytes, DateTime, Decimal, Float, Int, JSON, String, $ModelName + */ + type: string; + dbName?: string | null; + hasDefaultValue: boolean; + default?: FieldDefault | FieldDefaultScalar | FieldDefaultScalar[]; + relationFromFields?: string[]; + relationToFields?: any[]; + relationOnDelete?: string; + relationName?: string; + documentation?: string; + } + export interface FieldDefault { + name: string; + args: any[]; + } + export type FieldDefaultScalar = string | boolean | number; + export interface Schema { + rootQueryType?: string; + rootMutationType?: string; + inputObjectTypes: { + model?: InputType[]; + prisma: InputType[]; + }; + outputObjectTypes: { + model: OutputType[]; + prisma: OutputType[]; + }; + enumTypes: { + model?: SchemaEnum[]; + prisma: SchemaEnum[]; + }; + fieldRefTypes: { + prisma?: FieldRefType[]; + }; + } + export interface Query { + name: string; + args: SchemaArg[]; + output: QueryOutput; + } + export interface QueryOutput { + name: string; + isRequired: boolean; + isList: boolean; + } + export type TypeRef = { + isList: boolean; + type: string; + location: AllowedLocations; + namespace?: FieldNamespace; + }; + export type InputTypeRef = TypeRef<'scalar' | 'inputObjectTypes' | 'enumTypes' | 'fieldRefTypes'>; + export interface SchemaArg { + name: string; + comment?: string; + isNullable: boolean; + isRequired: boolean; + inputTypes: InputTypeRef[]; + deprecation?: Deprecation; + } + export interface OutputType { + name: string; + fields: SchemaField[]; + } + export interface SchemaField { + name: string; + isNullable?: boolean; + outputType: OutputTypeRef; + args: SchemaArg[]; + deprecation?: Deprecation; + documentation?: string; + } + export type OutputTypeRef = TypeRef<'scalar' | 'outputObjectTypes' | 'enumTypes'>; + export interface Deprecation { + sinceVersion: string; + reason: string; + plannedRemovalVersion?: string; + } + export interface InputType { + name: string; + constraints: { + maxNumFields: number | null; + minNumFields: number | null; + fields?: string[]; + }; + meta?: { + source?: string; + }; + fields: SchemaArg[]; + } + export interface FieldRefType { + name: string; + allowTypes: FieldRefAllowType[]; + fields: SchemaArg[]; + } + export type FieldRefAllowType = TypeRef<'scalar' | 'enumTypes'>; + export interface ModelMapping { + model: string; + plural: string; + findUnique?: string | null; + findUniqueOrThrow?: string | null; + findFirst?: string | null; + findFirstOrThrow?: string | null; + findMany?: string | null; + create?: string | null; + createMany?: string | null; + update?: string | null; + updateMany?: string | null; + upsert?: string | null; + delete?: string | null; + deleteMany?: string | null; + aggregate?: string | null; + groupBy?: string | null; + count?: string | null; + findRaw?: string | null; + aggregateRaw?: string | null; + } + export enum ModelAction { + findUnique = "findUnique", + findUniqueOrThrow = "findUniqueOrThrow", + findFirst = "findFirst", + findFirstOrThrow = "findFirstOrThrow", + findMany = "findMany", + create = "create", + createMany = "createMany", + update = "update", + updateMany = "updateMany", + upsert = "upsert", + delete = "delete", + deleteMany = "deleteMany", + groupBy = "groupBy", + count = "count", + aggregate = "aggregate", + findRaw = "findRaw", + aggregateRaw = "aggregateRaw" + } +} + +export declare class DMMFClass implements DMMF.Document { + document: DMMF.Document; + private compositeNames; + private inputTypesByName; + readonly typeAndModelMap: Dictionary; + readonly mappingsMap: Dictionary; + readonly outputTypeMap: NamespacedTypeMap; + readonly rootFieldMap: Dictionary; + constructor(document: DMMF.Document); + get datamodel(): DMMF.Datamodel; + get mappings(): DMMF.Mappings; + get schema(): DMMF.Schema; + get inputObjectTypes(): { + model?: DMMF.InputType[] | undefined; + prisma: DMMF.InputType[]; + }; + get outputObjectTypes(): { + model: DMMF.OutputType[]; + prisma: DMMF.OutputType[]; + }; + isComposite(modelOrTypeName: string): boolean; + getOtherOperationNames(): string[]; + hasEnumInNamespace(enumName: string, namespace: DMMF.FieldNamespace): boolean; + resolveInputObjectType(ref: DMMF.InputTypeRef): DMMF.InputType | undefined; + resolveOutputObjectType(ref: DMMF.OutputTypeRef): DMMF.OutputType | undefined; + private buildModelMap; + private buildTypeMap; + private buildTypeModelMap; + private buildMappingsMap; + private buildMergedOutputTypeMap; + private buildRootFieldMap; + private buildInputTypesMap; +} + +export declare interface DriverAdapter extends Queryable { + /** + * Starts new transation. + */ + startTransaction(): Promise>; + /** + * Closes the connection to the database, if any. + */ + close: () => Promise>; +} + +/** Client */ +export declare type DynamicClientExtensionArgs> = { + [P in keyof C_]: unknown; +} & { + [K: symbol]: { + ctx: Optional, ITXClientDenyList> & { + $parent: Optional, ITXClientDenyList>; + }; + }; +}; + +export declare type DynamicClientExtensionThis> = { + [P in keyof ExtArgs['client']]: Return; +} & { + [P in Exclude]: DynamicModelExtensionThis, ExtArgs>; +} & { + [P in Exclude]: >(...args: ToTuple) => PrismaPromise; +} & { + [P in Exclude]: DynamicClientExtensionThisBuiltin[P]; +} & { + [K: symbol]: { + types: TypeMap['other']; + }; +}; + +export declare type DynamicClientExtensionThisBuiltin> = { + $extends: ExtendsHook<'extends', TypeMapCb, ExtArgs>; + $transaction

[]>(arg: [...P], options?: { + isolationLevel?: TypeMap['meta']['txIsolationLevel']; + }): Promise>; + $transaction(fn: (client: Omit, ITXClientDenyList>) => Promise, options?: { + maxWait?: number; + timeout?: number; + isolationLevel?: TypeMap['meta']['txIsolationLevel']; + }): Promise; + $disconnect(): Promise; + $connect(): Promise; +}; + +/** Model */ +export declare type DynamicModelExtensionArgs> = { + [K in keyof M_]: K extends '$allModels' ? { + [P in keyof M_[K]]?: unknown; + } & { + [K: symbol]: {}; + } : K extends TypeMap['meta']['modelProps'] ? { + [P in keyof M_[K]]?: unknown; + } & { + [K: symbol]: { + ctx: DynamicModelExtensionThis, ExtArgs> & { + $parent: DynamicClientExtensionThis; + } & { + $name: ModelKey; + } & { + /** + * @deprecated Use `$name` instead. + */ + name: ModelKey; + }; + }; + } : never; +}; + +export declare type DynamicModelExtensionFluentApi = { + [K in keyof TypeMap['model'][M]['payload']['objects']]: (args?: Exact>) => PrismaPromise, [K]> | Null> & DynamicModelExtensionFluentApi>; +}; + +export declare type DynamicModelExtensionFnResult> = P extends FluentOperation ? DynamicModelExtensionFluentApi & PrismaPromise | Null> : PrismaPromise>; + +export declare type DynamicModelExtensionFnResultBase = GetResult; + +export declare type DynamicModelExtensionFnResultNull

= P extends 'findUnique' | 'findFirst' ? null : never; + +export declare type DynamicModelExtensionOperationFn = {} extends TypeMap['model'][M]['operations'][P]['args'] ? (args?: Exact) => DynamicModelExtensionFnResult : (args: Exact) => DynamicModelExtensionFnResult; + +export declare type DynamicModelExtensionThis> = { + [P in keyof ExtArgs['model'][Uncapitalize]]: Return][P]>; +} & { + [P in Exclude]>]: DynamicModelExtensionOperationFn; +} & { + [P in Exclude<'fields', keyof ExtArgs['model'][Uncapitalize]>]: TypeMap['model'][M]['fields']; +} & { + [K: symbol]: { + types: TypeMap['model'][M]; + }; +}; + +/** Query */ +export declare type DynamicQueryExtensionArgs = { + [K in keyof Q_]: K extends '$allOperations' ? (args: { + model?: string; + operation: string; + args: any; + query: (args: any) => PrismaPromise; + }) => Promise : K extends '$allModels' ? { + [P in keyof Q_[K] | keyof TypeMap['model'][keyof TypeMap['model']]['operations'] | '$allOperations']?: P extends '$allOperations' ? DynamicQueryExtensionCb : P extends keyof TypeMap['model'][keyof TypeMap['model']]['operations'] ? DynamicQueryExtensionCb : never; + } : K extends TypeMap['meta']['modelProps'] ? { + [P in keyof Q_[K] | keyof TypeMap['model'][ModelKey]['operations'] | '$allOperations']?: P extends '$allOperations' ? DynamicQueryExtensionCb, keyof TypeMap['model'][ModelKey]['operations']> : P extends keyof TypeMap['model'][ModelKey]['operations'] ? DynamicQueryExtensionCb, P> : never; + } : K extends keyof TypeMap['other']['operations'] ? DynamicQueryExtensionCb<[TypeMap], 0, 'other', K> : never; +}; + +export declare type DynamicQueryExtensionCb = >(args: A) => Promise; + +export declare type DynamicQueryExtensionCbArgs = (_1 extends unknown ? _2 extends unknown ? { + args: DynamicQueryExtensionCbArgsArgs; + model: _0 extends 0 ? undefined : _1; + operation: _2; + query: >(args: A) => PrismaPromise; +} : never : never) & { + query: (args: DynamicQueryExtensionCbArgsArgs) => PrismaPromise; +}; + +export declare type DynamicQueryExtensionCbArgsArgs = _2 extends '$queryRaw' | '$executeRaw' ? Sql : TypeMap[_0][_1]['operations'][_2]['args']; + +/** Result */ +export declare type DynamicResultExtensionArgs = { + [K in keyof R_]: { + [P in keyof R_[K]]?: { + needs?: DynamicResultExtensionNeeds, R_[K][P]>; + compute(data: DynamicResultExtensionData, R_[K][P]>): any; + }; + }; +}; + +export declare type DynamicResultExtensionData = GetFindResult; + +export declare type DynamicResultExtensionNeeds = { + [K in keyof S]: K extends keyof TypeMap['model'][M]['payload']['scalars'] ? S[K] : never; +} & { + [N in keyof TypeMap['model'][M]['payload']['scalars']]?: boolean; +}; + +/** + * Placeholder value for "no text". + */ +export declare const empty: Sql; + +export declare type EmptyToUnknown = T; + +declare abstract class Engine { + abstract on(event: EngineEventType, listener: (args?: any) => any): void; + abstract start(): Promise; + abstract stop(): Promise; + abstract version(forceRun?: boolean): Promise | string; + abstract request(query: JsonQuery, options: RequestOptions): Promise>; + abstract requestBatch(queries: JsonQuery[], options: RequestBatchOptions): Promise[]>; + abstract transaction(action: 'start', headers: Transaction.TransactionHeaders, options?: Transaction.Options): Promise>; + abstract transaction(action: 'commit', headers: Transaction.TransactionHeaders, info: Transaction.InteractiveTransactionInfo): Promise; + abstract transaction(action: 'rollback', headers: Transaction.TransactionHeaders, info: Transaction.InteractiveTransactionInfo): Promise; + abstract metrics(options: MetricsOptionsJson): Promise; + abstract metrics(options: MetricsOptionsPrometheus): Promise; +} + +declare interface EngineConfig { + cwd: string; + dirname: string; + datamodelPath: string; + enableDebugLogs?: boolean; + allowTriggerPanic?: boolean; + prismaPath?: string; + generator?: GeneratorConfig; + overrideDatasources: Datasources; + showColors?: boolean; + logQueries?: boolean; + logLevel?: 'info' | 'warn'; + env: Record; + flags?: string[]; + clientVersion: string; + engineVersion: string; + previewFeatures?: string[]; + engineEndpoint?: string; + activeProvider?: string; + logEmitter: EventEmitter; + /** + * Instance of a Driver Adapter, e.g., like one provided by `@prisma/adapter-planetscale`. + * If set, this is only used in the library engine, and all queries would be performed through it, + * rather than Prisma's Rust drivers. + */ + adapter?: ErrorCapturingDriverAdapter; + /** + * The contents of the schema encoded into a string + * @remarks only used for the purpose of data proxy + */ + inlineSchema: string; + /** + * The contents of the datasource url saved in a string + * @remarks only used for the purpose of data proxy + */ + inlineDatasources: GetPrismaClientConfig['inlineDatasources']; + /** + * The string hash that was produced for a given schema + * @remarks only used for the purpose of data proxy + */ + inlineSchemaHash: string; + /** + * The helper for interaction with OTEL tracing + * @remarks enabling is determined by the client and @prisma/instrumentation package + */ + tracingHelper: TracingHelper; + /** + * Information about whether we have not found a schema.prisma file in the + * default location, and that we fell back to finding the schema.prisma file + * in the current working directory. This usually means it has been bundled. + */ + isBundled?: boolean; +} + +declare type EngineEventType = 'query' | 'info' | 'warn' | 'error' | 'beforeExit'; + +declare type EngineSpan = { + span: boolean; + name: string; + trace_id: string; + span_id: string; + parent_span_id: string; + start_time: [number, number]; + end_time: [number, number]; + attributes?: Record; + links?: { + trace_id: string; + span_id: string; + }[]; +}; + +declare type EngineSpanEvent = { + span: boolean; + spans: EngineSpan[]; +}; + +declare interface EnvValue { + fromEnvVar: null | string; + value: null | string; +} + +export declare type Equals = (() => T extends A ? 1 : 2) extends (() => T extends B ? 1 : 2) ? 1 : 0; + +declare type Error_2 = { + kind: 'GenericJs'; + id: number; +} | { + kind: 'Postgres'; + code: string; + severity: string; + message: string; + detail: string | undefined; + column: string | undefined; + hint: string | undefined; +} | { + kind: 'Mysql'; + code: number; + message: string; + state: string; +} | { + kind: 'Sqlite'; + /** + * Sqlite extended error code: https://www.sqlite.org/rescode.html + */ + extendedCode: number; + message: string; +}; + +declare interface ErrorCapturingDriverAdapter extends DriverAdapter { + readonly errorRegistry: ErrorRegistry; +} + +declare type ErrorFormat = 'pretty' | 'colorless' | 'minimal'; + +declare type ErrorRecord = { + error: unknown; +}; + +declare interface ErrorRegistry { + consumeError(id: number): ErrorRecord | undefined; +} + +declare interface ErrorWithBatchIndex { + batchRequestIdx?: number; +} + +declare interface EventEmitter { + on(event: string, listener: (...args: any[]) => void): unknown; + emit(event: string, args?: any): boolean; +} + +export declare type Exact = (A extends unknown ? (W extends A ? { + [K in keyof A]: Exact; +} : W) : never) | (A extends Narrowable ? A : never); + +/** + * Defines Exception. + * + * string or an object with one of (message or name or code) and optional stack + */ +declare type Exception = ExceptionWithCode | ExceptionWithMessage | ExceptionWithName | string; + +declare interface ExceptionWithCode { + code: string | number; + name?: string; + message?: string; + stack?: string; +} + +declare interface ExceptionWithMessage { + code?: string | number; + message: string; + name?: string; + stack?: string; +} + +declare interface ExceptionWithName { + code?: string | number; + message?: string; + name: string; + stack?: string; +} + +declare type ExtendedSpanOptions = SpanOptions & { + /** The name of the span */ + name: string; + internal?: boolean; + middleware?: boolean; + /** Whether it propagates context (?=true) */ + active?: boolean; + /** The context to append the span to */ + context?: Context; +}; + +/** $extends, defineExtension */ +export declare interface ExtendsHook, TypeMap extends TypeMapDef = Call> { + extArgs: ExtArgs; + , MergedArgs extends InternalArgs = MergeExtArgs>(extension: ((client: DynamicClientExtensionThis) => { + $extends: { + extArgs: Args; + }; + }) | { + name?: string; + query?: DynamicQueryExtensionArgs; + result?: DynamicResultExtensionArgs & R; + model?: DynamicModelExtensionArgs & M; + client?: DynamicClientExtensionArgs & C; + }): { + extends: DynamicClientExtensionThis, TypeMapCb, MergedArgs>; + define: (client: any) => { + $extends: { + extArgs: Args; + }; + }; + }[Variant]; +} + +export declare type ExtensionArgs = Optional; + +declare namespace Extensions { + export { + defineExtension, + getExtensionContext + } +} +export { Extensions } + +declare namespace Extensions_2 { + export { + InternalArgs, + DefaultArgs, + GetPayloadResult, + GetSelect, + DynamicQueryExtensionArgs, + DynamicQueryExtensionCb, + DynamicQueryExtensionCbArgs, + DynamicQueryExtensionCbArgsArgs, + DynamicResultExtensionArgs, + DynamicResultExtensionNeeds, + DynamicResultExtensionData, + DynamicModelExtensionArgs, + DynamicModelExtensionThis, + DynamicModelExtensionOperationFn, + DynamicModelExtensionFnResult, + DynamicModelExtensionFnResultBase, + DynamicModelExtensionFluentApi, + DynamicModelExtensionFnResultNull, + DynamicClientExtensionArgs, + DynamicClientExtensionThis, + ClientBuiltInProp, + DynamicClientExtensionThisBuiltin, + ExtendsHook, + MergeExtArgs, + AllModelsToStringIndex, + TypeMapDef, + DevTypeMapDef, + DevTypeMapFnDef, + TypeMapCbDef, + ModelKey, + RequiredExtensionArgs as UserArgs + } +} + +declare type Fetch = typeof nodeFetch; + +/** + * A reference to a specific field of a specific model + */ +export declare interface FieldRef { + readonly modelName: Model; + readonly name: string; + readonly typeName: FieldType; + readonly isList: boolean; +} + +export declare type FluentOperation = 'findUnique' | 'findUniqueOrThrow' | 'findFirst' | 'findFirstOrThrow' | 'create' | 'update' | 'upsert' | 'delete'; + +export declare interface Fn { + params: Params; + returns: Returns; +} + +declare interface GeneratorConfig { + name: string; + output: EnvValue | null; + isCustomOutput?: boolean; + provider: EnvValue; + config: Dictionary_2; + binaryTargets: BinaryTargetsEnvValue[]; + previewFeatures: string[]; +} + +export declare type GetAggregateResult

= { + [K in keyof A as K extends Aggregate ? K : never]: K extends '_count' ? A[K] extends true ? number : Count : { + [J in keyof A[K] & string]: P['scalars'][J] | null; + }; +}; + +export declare type GetBatchResult = { + count: number; +}; + +export declare type GetCountResult = A extends { + select: infer S; +} ? (S extends true ? number : Count) : number; + +declare function getExtensionContext(that: T): Context_2; + +export declare type GetFindResult

= Equals extends 1 ? DefaultSelection

: A extends { + select: infer S extends object; +} & Record | { + include: infer I extends object; +} & Record ? { + [K in keyof S | keyof I as (S & I)[K] extends false | undefined | null ? never : K]: (S & I)[K] extends object ? P extends SelectablePayloadFields ? O extends OperationPayload ? GetFindResult[] : never : P extends SelectablePayloadFields ? O extends OperationPayload ? GetFindResult | SelectField & null : never : K extends '_count' ? Count> : never : P extends SelectablePayloadFields ? O extends OperationPayload ? DefaultSelection[] : never : P extends SelectablePayloadFields ? O extends OperationPayload ? DefaultSelection | SelectField & null : never : P extends { + scalars: { + [k in K]: infer O; + }; + } ? O : K extends '_count' ? Count : never; +} & (A extends { + include: any; +} & Record ? DefaultSelection

: unknown) : DefaultSelection

; + +export declare type GetGroupByResult

= A extends { + by: string[]; +} ? Array & { + [K in A['by'][number]]: P['scalars'][K]; +}> : A extends { + by: string; +} ? Array & { + [K in A['by']]: P['scalars'][K]; +}> : {}[]; + +export declare type GetPayloadResult, R extends InternalArgs['result'][string], KR extends keyof R = string extends keyof R ? never : keyof R> = unknown extends R ? Base : { + [K in KR | keyof Base]: K extends KR ? R[K] extends () => { + compute: (...args: any) => infer C; + } ? C : never : Base[K]; +}; + +export declare function getPrismaClient(config: GetPrismaClientConfig): { + new (optionsArg?: PrismaClientOptions): { + _runtimeDataModel: RuntimeDataModel; + _requestHandler: RequestHandler; + _connectionPromise?: Promise | undefined; + _disconnectionPromise?: Promise | undefined; + _engineConfig: EngineConfig; + _clientVersion: string; + _errorFormat: ErrorFormat; + _tracingHelper: TracingHelper; + _metrics: MetricsClient; + _middlewares: MiddlewareHandler; + _previewFeatures: string[]; + _activeProvider: string; + _extensions: MergedExtensionsList; + _engine: Engine; + /** + * A fully constructed/applied Client that references the parent + * PrismaClient. This is used for Client extensions only. + */ + _appliedParent: any; + _createPrismaPromise: PrismaPromiseFactory; + /** + * Hook a middleware into the client + * @param middleware to hook + */ + $use(middleware: QueryMiddleware): void; + $on(eventType: EngineEventType, callback: (event: any) => void): void; + $connect(): Promise; + /** + * Disconnect from the database + */ + $disconnect(): Promise; + /** + * Executes a raw query and always returns a number + */ + $executeRawInternal(transaction: PrismaPromiseTransaction | undefined, clientMethod: string, args: RawQueryArgs, middlewareArgsMapper?: MiddlewareArgsMapper): Promise; + /** + * Executes a raw query provided through a safe tag function + * @see https://github.com/prisma/prisma/issues/7142 + * + * @param query + * @param values + * @returns + */ + $executeRaw(query: TemplateStringsArray | Sql, ...values: any[]): PrismaPromise_2; + /** + * Unsafe counterpart of `$executeRaw` that is susceptible to SQL injections + * @see https://github.com/prisma/prisma/issues/7142 + * + * @param query + * @param values + * @returns + */ + $executeRawUnsafe(query: string, ...values: RawValue[]): PrismaPromise_2; + /** + * Executes a raw command only for MongoDB + * + * @param command + * @returns + */ + $runCommandRaw(command: Record): PrismaPromise_2; + /** + * Executes a raw query and returns selected data + */ + $queryRawInternal(transaction: PrismaPromiseTransaction | undefined, clientMethod: string, args: RawQueryArgs, middlewareArgsMapper?: MiddlewareArgsMapper): Promise; + /** + * Executes a raw query provided through a safe tag function + * @see https://github.com/prisma/prisma/issues/7142 + * + * @param query + * @param values + * @returns + */ + $queryRaw(query: TemplateStringsArray | Sql, ...values: any[]): PrismaPromise_2; + /** + * Unsafe counterpart of `$queryRaw` that is susceptible to SQL injections + * @see https://github.com/prisma/prisma/issues/7142 + * + * @param query + * @param values + * @returns + */ + $queryRawUnsafe(query: string, ...values: RawValue[]): PrismaPromise_2; + /** + * Execute a batch of requests in a transaction + * @param requests + * @param options + */ + _transactionWithArray({ promises, options, }: { + promises: Array>; + options?: BatchTransactionOptions | undefined; + }): Promise; + /** + * Perform a long-running transaction + * @param callback + * @param options + * @returns + */ + _transactionWithCallback({ callback, options, }: { + callback: (client: Client) => Promise; + options?: Options_2 | undefined; + }): Promise; + _createItxClient(transaction: PrismaPromiseInteractiveTransaction): Client; + /** + * Execute queries within a transaction + * @param input a callback or a query list + * @param options to set timeouts (callback) + * @returns + */ + $transaction(input: any, options?: any): Promise; + /** + * Runs the middlewares over params before executing a request + * @param internalParams + * @returns + */ + _request(internalParams: InternalRequestParams): Promise; + _executeRequest({ args, clientMethod, dataPath, callsite, action, model, argsMapper, transaction, unpacker, otelParentCtx, customDataProxyFetch, }: InternalRequestParams): Promise; + readonly $metrics: MetricsClient; + /** + * Shortcut for checking a preview flag + * @param feature preview flag + * @returns + */ + _hasPreviewFlag(feature: string): boolean; + $extends: typeof $extends; + readonly [Symbol.toStringTag]: string; + }; +}; + +/** + * Config that is stored into the generated client. When the generated client is + * loaded, this same config is passed to {@link getPrismaClient} which creates a + * closure with that config around a non-instantiated [[PrismaClient]]. + */ +declare type GetPrismaClientConfig = { + runtimeDataModel: RuntimeDataModel; + generator?: GeneratorConfig; + relativeEnvPaths: { + rootEnvPath?: string | null; + schemaEnvPath?: string | null; + }; + relativePath: string; + dirname: string; + filename?: string; + clientVersion: string; + engineVersion: string; + datasourceNames: string[]; + activeProvider: string; + /** + * The contents of the schema encoded into a string + * @remarks only used for the purpose of data proxy + */ + inlineSchema: string; + /** + * A special env object just for the data proxy edge runtime. + * Allows bundlers to inject their own env variables (Vercel). + * Allows platforms to declare global variables as env (Workers). + * @remarks only used for the purpose of data proxy + */ + injectableEdgeEnv?: () => LoadedEnv; + /** + * The contents of the datasource url saved in a string. + * This can either be an env var name or connection string. + * It is needed by the client to connect to the Data Proxy. + * @remarks only used for the purpose of data proxy + */ + inlineDatasources: { + [name in string]: { + url: EnvValue; + }; + }; + /** + * The string hash that was produced for a given schema + * @remarks only used for the purpose of data proxy + */ + inlineSchemaHash: string; + /** + * A marker to indicate that the client was not generated via `prisma + * generate` but was generated via `generate --postinstall` script instead. + * @remarks used to error for Vercel/Netlify for schema caching issues + */ + postinstall?: boolean; + /** + * Information about the CI where the Prisma Client has been generated. The + * name of the CI environment is stored at generation time because CI + * information is not always available at runtime. Moreover, the edge client + * has no notion of environment variables, so this works around that. + * @remarks used to error for Vercel/Netlify for schema caching issues + */ + ciName?: string; + /** + * Information about whether we have not found a schema.prisma file in the + * default location, and that we fell back to finding the schema.prisma file + * in the current working directory. This usually means it has been bundled. + */ + isBundled?: boolean; + /** + * A boolean that is `true` when the client was generated with --no-engine. At + * runtime, this means the client will be bound to be using the Data Proxy. + */ + noEngine?: boolean; +}; + +export declare type GetResult

= { + findUnique: GetFindResult | null; + findUniqueOrThrow: GetFindResult; + findFirst: GetFindResult | null; + findFirstOrThrow: GetFindResult; + findMany: GetFindResult[]; + create: GetFindResult; + createMany: GetBatchResult; + update: GetFindResult; + updateMany: GetBatchResult; + upsert: GetFindResult; + delete: GetFindResult; + deleteMany: GetBatchResult; + aggregate: GetAggregateResult; + count: GetCountResult; + groupBy: GetGroupByResult; + $queryRaw: unknown; + $executeRaw: number; + $queryRawUnsafe: unknown; + $executeRawUnsafe: number; + $runCommandRaw: JsonObject; + findRaw: JsonObject; + aggregateRaw: JsonObject; +}[O]; + +export declare type GetSelect, R extends InternalArgs['result'][string], KR extends keyof R = string extends keyof R ? never : keyof R> = { + [K in KR | keyof Base]?: K extends KR ? boolean : Base[K]; +}; + +declare type HandleErrorParams = { + args: JsArgs; + error: any; + clientMethod: string; + callsite?: CallSite; + transaction?: PrismaPromiseTransaction; +}; + +/** + * Defines High-Resolution Time. + * + * The first number, HrTime[0], is UNIX Epoch time in seconds since 00:00:00 UTC on 1 January 1970. + * The second number, HrTime[1], represents the partial second elapsed since Unix Epoch time represented by first number in nanoseconds. + * For example, 2021-01-01T12:30:10.150Z in UNIX Epoch time in milliseconds is represented as 1609504210150. + * The first number is calculated by converting and truncating the Epoch time in milliseconds to seconds: + * HrTime[0] = Math.trunc(1609504210150 / 1000) = 1609504210. + * The second number is calculated by converting the digits after the decimal point of the subtraction, (1609504210150 / 1000) - HrTime[0], to nanoseconds: + * HrTime[1] = Number((1609504210.150 - HrTime[0]).toFixed(9)) * 1e9 = 150000000. + * This is represented in HrTime format as [1609504210, 150000000]. + */ +declare type HrTime = [number, number]; + +declare type InteractiveTransactionInfo = { + /** + * Transaction ID returned by the query engine. + */ + id: string; + /** + * Arbitrary payload the meaning of which depends on the `Engine` implementation. + * For example, `DataProxyEngine` needs to associate different API endpoints with transactions. + * In `LibraryEngine` and `BinaryEngine` it is currently not used. + */ + payload: Payload; +}; + +declare type InteractiveTransactionOptions = Transaction.InteractiveTransactionInfo; + +export declare type InternalArgs = { + result: { + [K in keyof R]: { + [P in keyof R[K]]: () => R[K][P]; + }; + }; + model: { + [K in keyof M]: { + [P in keyof M[K]]: () => M[K][P]; + }; + }; + query: { + [K in keyof Q]: { + [P in keyof Q[K]]: () => Q[K][P]; + }; + }; + client: { + [K in keyof C]: () => C[K]; + }; +}; + +declare type InternalRequestParams = { + /** + * The original client method being called. + * Even though the rootField / operation can be changed, + * this method stays as it is, as it's what the user's + * code looks like + */ + clientMethod: string; + /** + * Name of js model that triggered the request. Might be used + * for warnings or error messages + */ + jsModelName?: string; + callsite?: CallSite; + transaction?: PrismaPromiseTransaction; + unpacker?: Unpacker; + otelParentCtx?: Context; + /** Used to "desugar" a user input into an "expanded" one */ + argsMapper?: (args?: UserArgs_2) => UserArgs_2; + /** Used to convert args for middleware and back */ + middlewareArgsMapper?: MiddlewareArgsMapper; + /** Used for Accelerate client extension via Data Proxy */ + customDataProxyFetch?: (fetch: Fetch) => Fetch; +} & Omit; + +declare enum IsolationLevel { + ReadUncommitted = "ReadUncommitted", + ReadCommitted = "ReadCommitted", + RepeatableRead = "RepeatableRead", + Snapshot = "Snapshot", + Serializable = "Serializable" +} + +export declare type ITXClientDenyList = (typeof denylist)[number]; + +export declare const itxClientDenyList: readonly (string | symbol)[]; + +declare interface Job { + resolve: (data: any) => void; + reject: (data: any) => void; + request: any; +} + +/** + * Create a SQL query for a list of values. + */ +export declare function join(values: readonly RawValue[], separator?: string, prefix?: string, suffix?: string): Sql; + +export declare type JsArgs = { + select?: Selection_2; + include?: Selection_2; + [argName: string]: JsInputValue; +}; + +export declare type JsInputValue = null | undefined | string | number | boolean | bigint | Uint8Array | Date | DecimalJsLike | ObjectEnumValue | RawParameters | JsonConvertible | FieldRef | JsInputValue[] | { + [key: string]: JsInputValue; +}; + +declare type JsonArgumentValue = number | string | boolean | null | JsonTaggedValue | JsonArgumentValue[] | { + [key: string]: JsonArgumentValue; +}; + +export declare interface JsonArray extends Array { +} + +export declare interface JsonConvertible { + toJSON(): unknown; +} + +declare type JsonFieldSelection = { + arguments?: Record; + selection: JsonSelectionSet; +}; + +declare class JsonNull extends NullTypesEnumValue { +} + +export declare type JsonObject = { + [Key in string]?: JsonValue; +}; + +declare type JsonQuery = { + modelName?: string; + action: JsonQueryAction; + query: JsonFieldSelection; +}; + +declare type JsonQueryAction = 'findUnique' | 'findUniqueOrThrow' | 'findFirst' | 'findFirstOrThrow' | 'findMany' | 'createOne' | 'createMany' | 'updateOne' | 'updateMany' | 'deleteOne' | 'deleteMany' | 'upsertOne' | 'aggregate' | 'groupBy' | 'executeRaw' | 'queryRaw' | 'runCommandRaw' | 'findRaw' | 'aggregateRaw'; + +declare type JsonSelectionSet = { + $scalars?: boolean; + $composites?: boolean; +} & { + [fieldName: string]: boolean | JsonFieldSelection; +}; + +declare type JsonTaggedValue = { + $type: 'Json'; + value: string; +}; + +export declare type JsonValue = string | number | boolean | JsonObject | JsonArray | null; + +export declare type JsOutputValue = null | string | number | boolean | bigint | Uint8Array | Date | Decimal | JsOutputValue[] | { + [key: string]: JsOutputValue; +}; + +export declare type JsPromise = Promise & {}; + +declare type KnownErrorParams = { + code: string; + clientVersion: string; + meta?: Record; + batchRequestIdx?: number; +}; + +/** + * A pointer from the current {@link Span} to another span in the same trace or + * in a different trace. + * Few examples of Link usage. + * 1. Batch Processing: A batch of elements may contain elements associated + * with one or more traces/spans. Since there can only be one parent + * SpanContext, Link is used to keep reference to SpanContext of all + * elements in the batch. + * 2. Public Endpoint: A SpanContext in incoming client request on a public + * endpoint is untrusted from service provider perspective. In such case it + * is advisable to start a new trace with appropriate sampling decision. + * However, it is desirable to associate incoming SpanContext to new trace + * initiated on service provider side so two traces (from Client and from + * Service Provider) can be correlated. + */ +declare interface Link { + /** The {@link SpanContext} of a linked span. */ + context: SpanContext; + /** A set of {@link SpanAttributes} on the link. */ + attributes?: SpanAttributes; + /** Count of attributes of the link that were dropped due to collection limits */ + droppedAttributesCount?: number; +} + +declare type LoadedEnv = { + message?: string; + parsed: { + [x: string]: string; + }; +} | undefined; + +declare type LocationInFile = { + fileName: string; + lineNumber: number | null; + columnNumber: number | null; +}; + +declare type LogDefinition = { + level: LogLevel; + emit: 'stdout' | 'event'; +}; + +declare type LogLevel = 'info' | 'query' | 'warn' | 'error'; + +/** + * Generates more strict variant of an enum which, unlike regular enum, + * throws on non-existing property access. This can be useful in following situations: + * - we have an API, that accepts both `undefined` and `SomeEnumType` as an input + * - enum values are generated dynamically from DMMF. + * + * In that case, if using normal enums and no compile-time typechecking, using non-existing property + * will result in `undefined` value being used, which will be accepted. Using strict enum + * in this case will help to have a runtime exception, telling you that you are probably doing something wrong. + * + * Note: if you need to check for existence of a value in the enum you can still use either + * `in` operator or `hasOwnProperty` function. + * + * @param definition + * @returns + */ +export declare function makeStrictEnum>(definition: T): T; + +/** + * Class that holds the list of all extensions, applied to particular instance, + * as well as resolved versions of the components that need to apply on + * different levels. Main idea of this class: avoid re-resolving as much of the + * stuff as possible when new extensions are added while also delaying the + * resolve until the point it is actually needed. For example, computed fields + * of the model won't be resolved unless the model is actually queried. Neither + * adding extensions with `client` component only cause other components to + * recompute. + */ +declare class MergedExtensionsList { + private head?; + private constructor(); + static empty(): MergedExtensionsList; + static single(extension: ExtensionArgs): MergedExtensionsList; + isEmpty(): boolean; + append(extension: ExtensionArgs): MergedExtensionsList; + getAllComputedFields(dmmfModelName: string): ComputedFieldsMap | undefined; + getAllClientExtensions(): ClientArg | undefined; + getAllModelExtensions(dmmfModelName: string): ModelArg | undefined; + getAllQueryCallbacks(jsModelName: string, operation: string): any; + getAllBatchQueryCallbacks(): BatchQueryOptionsCb[]; +} + +export declare type MergeExtArgs, Args extends Record> = ComputeDeep & AllModelsToStringIndex>; + +export declare type Metric = { + key: string; + value: T; + labels: Record; + description: string; +}; + +export declare type MetricHistogram = { + buckets: MetricHistogramBucket[]; + sum: number; + count: number; +}; + +export declare type MetricHistogramBucket = [maxValue: number, count: number]; + +export declare type Metrics = { + counters: Metric[]; + gauges: Metric[]; + histograms: Metric[]; +}; + +export declare class MetricsClient { + private _engine; + constructor(engine: Engine); + /** + * Returns all metrics gathered up to this point in prometheus format. + * Result of this call can be exposed directly to prometheus scraping endpoint + * + * @param options + * @returns + */ + prometheus(options?: MetricsOptions): Promise; + /** + * Returns all metrics gathered up to this point in prometheus format. + * + * @param options + * @returns + */ + json(options?: MetricsOptions): Promise; +} + +declare type MetricsOptions = { + /** + * Labels to add to every metrics in key-value format + */ + globalLabels?: Record; +}; + +declare type MetricsOptionsCommon = { + globalLabels?: Record; +}; + +declare type MetricsOptionsJson = { + format: 'json'; +} & MetricsOptionsCommon; + +declare type MetricsOptionsPrometheus = { + format: 'prometheus'; +} & MetricsOptionsCommon; + +declare type MiddlewareArgsMapper = { + requestArgsToMiddlewareArgs(requestArgs: RequestArgs): MiddlewareArgs; + middlewareArgsToRequestArgs(middlewareArgs: MiddlewareArgs): RequestArgs; +}; + +declare class MiddlewareHandler { + private _middlewares; + use(middleware: M): void; + get(id: number): M | undefined; + has(id: number): boolean; + length(): number; +} + +export declare type ModelArg = { + [MethodName in string]: unknown; +}; + +export declare type ModelArgs = { + model: { + [ModelName in string]: ModelArg; + }; +}; + +export declare type ModelKey = M extends keyof TypeMap['model'] ? M : Capitalize; + +export declare type ModelQueryOptionsCb = (args: ModelQueryOptionsCbArgs) => Promise; + +export declare type ModelQueryOptionsCbArgs = { + model: string; + operation: string; + args: JsArgs; + query: (args: JsArgs) => Promise; +}; + +export declare type NameArgs = { + name?: string; +}; + +declare type NamespacedTypeMap = { + prisma: Record; + model: Record; +}; + +export declare type Narrow = { + [K in keyof A]: A[K] extends Function ? A[K] : Narrow; +} | (A extends Narrowable ? A : never); + +export declare type Narrowable = string | number | bigint | boolean | []; + +export declare type NeverToUnknown = [T] extends [never] ? unknown : T; + +/** + * Imitates `fetch` via `https` to only suit our needs, it does nothing more. + * This is because we cannot bundle `node-fetch` as it uses many other Node.js + * utilities, while also bloating our bundles. This approach is much leaner. + * @param url + * @param options + * @returns + */ +declare function nodeFetch(url: string, options?: RequestOptions_2): Promise; + +declare class NodeHeaders { + readonly headers: Map; + constructor(init?: Record); + append(name: string, value: string): void; + delete(name: string): void; + get(name: string): string | null; + has(name: string): boolean; + set(name: string, value: string): void; + forEach(callbackfn: (value: string, key: string, parent: this) => void, thisArg?: any): void; +} + +/** + * @deprecated Please don´t rely on type checks to this error anymore. + * This will become a regular `PrismaClientKnownRequestError` with code `P2025` + * in the future major version of the client. + * Instead of `error instanceof Prisma.NotFoundError` use `error.code === "P2025"`. + */ +export declare class NotFoundError extends PrismaClientKnownRequestError { + constructor(message: string, clientVersion: string); +} + +declare class NullTypesEnumValue extends ObjectEnumValue { + _getNamespace(): string; +} + +/** + * List of Prisma enums that must use unique objects instead of strings as their values. + */ +export declare const objectEnumNames: string[]; + +/** + * Base class for unique values of object-valued enums. + */ +export declare abstract class ObjectEnumValue { + constructor(arg?: symbol); + abstract _getNamespace(): string; + _getName(): string; + toString(): string; +} + +export declare const objectEnumValues: { + classes: { + DbNull: typeof DbNull; + JsonNull: typeof JsonNull; + AnyNull: typeof AnyNull; + }; + instances: { + DbNull: DbNull; + JsonNull: JsonNull; + AnyNull: AnyNull; + }; +}; + +declare type Omit_2 = { + [P in keyof T as P extends K ? never : P]: T[P]; +}; +export { Omit_2 as Omit } + +export declare type Operation = 'findFirst' | 'findFirstOrThrow' | 'findUnique' | 'findUniqueOrThrow' | 'findMany' | 'create' | 'createMany' | 'update' | 'updateMany' | 'upsert' | 'delete' | 'deleteMany' | 'aggregate' | 'count' | 'groupBy' | '$queryRaw' | '$executeRaw' | '$queryRawUnsafe' | '$executeRawUnsafe' | 'findRaw' | 'aggregateRaw' | '$runCommandRaw'; + +export declare type OperationPayload = { + scalars: { + [ScalarName in string]: unknown; + }; + objects: { + [ObjectName in string]: unknown; + }; + composites: { + [CompositeName in string]: unknown; + }; +}; + +export declare type Optional = { + [P in K & keyof O]?: O[P]; +} & { + [P in Exclude]: O[P]; +}; + +export declare type OptionalFlat = { + [K in keyof T]?: T[K]; +}; + +export declare type OptionalKeys = { + [K in keyof O]-?: {} extends Pick_2 ? K : never; +}[keyof O]; + +declare type Options = { + clientVersion: string; +}; + +/** + * maxWait ?= 2000 + * timeout ?= 5000 + */ +declare type Options_2 = { + maxWait?: number; + timeout?: number; + isolationLevel?: IsolationLevel; +}; + +export declare type Or = { + 0: { + 0: 0; + 1: 1; + }; + 1: { + 0: 1; + 1: 1; + }; +}[A][B]; + +export declare type PatchFlat = O1 & Omit_2; + +export declare type Path = O extends unknown ? P extends [infer K, ...infer R] ? K extends keyof O ? Path : Default : O : never; + +export declare type Payload = T extends { + [K: symbol]: { + types: { + payload: any; + }; + }; +} ? T[symbol]['types']['payload'] : any; + +export declare type PayloadToResult = RenameAndNestPayloadKeys

> = { + [K in keyof O]?: O[K][K] extends any[] ? PayloadToResult[] : O[K][K] extends object ? PayloadToResult : O[K][K]; +}; + +declare type Pick_2 = { + [P in keyof T as P extends K ? P : never]: T[P]; +}; +export { Pick_2 as Pick } + +export declare class PrismaClientInitializationError extends Error { + clientVersion: string; + errorCode?: string; + retryable?: boolean; + constructor(message: string, clientVersion: string, errorCode?: string); + get [Symbol.toStringTag](): string; +} + +export declare class PrismaClientKnownRequestError extends Error implements ErrorWithBatchIndex { + code: string; + meta?: Record; + clientVersion: string; + batchRequestIdx?: number; + constructor(message: string, { code, clientVersion, meta, batchRequestIdx }: KnownErrorParams); + get [Symbol.toStringTag](): string; +} + +export declare type PrismaClientOptions = { + /** + * Overwrites the primary datasource url from your schema.prisma file + */ + datasourceUrl?: string; + /** + * Instance of a Driver Adapter, e.g., like one provided by `@prisma/adapter-planetscale. + */ + adapter?: DriverAdapter; + /** + * Overwrites the datasource url from your schema.prisma file + */ + datasources?: Datasources; + /** + * @default "colorless" + */ + errorFormat?: ErrorFormat; + /** + * @example + * \`\`\` + * // Defaults to stdout + * log: ['query', 'info', 'warn'] + * + * // Emit as events + * log: [ + * { emit: 'stdout', level: 'query' }, + * { emit: 'stdout', level: 'info' }, + * { emit: 'stdout', level: 'warn' } + * ] + * \`\`\` + * Read more in our [docs](https://www.prisma.io/docs/reference/tools-and-interfaces/prisma-client/logging#the-log-option). + */ + log?: Array; + /** + * @internal + * You probably don't want to use this. \`__internal\` is used by internal tooling. + */ + __internal?: { + debug?: boolean; + engine?: { + cwd?: string; + binaryPath?: string; + endpoint?: string; + allowTriggerPanic?: boolean; + }; + }; +}; + +export declare class PrismaClientRustPanicError extends Error { + clientVersion: string; + constructor(message: string, clientVersion: string); + get [Symbol.toStringTag](): string; +} + +export declare class PrismaClientUnknownRequestError extends Error implements ErrorWithBatchIndex { + clientVersion: string; + batchRequestIdx?: number; + constructor(message: string, { clientVersion, batchRequestIdx }: UnknownErrorParams); + get [Symbol.toStringTag](): string; +} + +export declare class PrismaClientValidationError extends Error { + name: string; + clientVersion: string; + constructor(message: string, { clientVersion }: Options); + get [Symbol.toStringTag](): string; +} + +export declare interface PrismaPromise extends Promise { + [Symbol.toStringTag]: 'PrismaPromise'; +} + +/** + * Prisma's `Promise` that is backwards-compatible. All additions on top of the + * original `Promise` are optional so that it can be backwards-compatible. + * @see [[createPrismaPromise]] + */ +declare interface PrismaPromise_2 extends Promise { + /** + * Extension of the original `.then` function + * @param onfulfilled same as regular promises + * @param onrejected same as regular promises + * @param transaction transaction options + */ + then(onfulfilled?: (value: A) => R1 | PromiseLike, onrejected?: (error: unknown) => R2 | PromiseLike, transaction?: PrismaPromiseTransaction): Promise; + /** + * Extension of the original `.catch` function + * @param onrejected same as regular promises + * @param transaction transaction options + */ + catch(onrejected?: ((reason: any) => R | PromiseLike) | undefined | null, transaction?: PrismaPromiseTransaction): Promise; + /** + * Extension of the original `.finally` function + * @param onfinally same as regular promises + * @param transaction transaction options + */ + finally(onfinally?: (() => void) | undefined | null, transaction?: PrismaPromiseTransaction): Promise; + /** + * Called when executing a batch of regular tx + * @param transaction transaction options for batch tx + */ + requestTransaction?(transaction: PrismaPromiseBatchTransaction): PromiseLike; +} + +declare type PrismaPromiseBatchTransaction = { + kind: 'batch'; + id: number; + isolationLevel?: IsolationLevel; + index: number; + lock: PromiseLike; +}; + +declare type PrismaPromiseCallback = (transaction?: PrismaPromiseTransaction) => PrismaPromise_2; + +/** + * Creates a [[PrismaPromise]]. It is Prisma's implementation of `Promise` which + * is essentially a proxy for `Promise`. All the transaction-compatible client + * methods return one, this allows for pre-preparing queries without executing + * them until `.then` is called. It's the foundation of Prisma's query batching. + * @param callback that will be wrapped within our promise implementation + * @see [[PrismaPromise]] + * @returns + */ +declare type PrismaPromiseFactory = (callback: PrismaPromiseCallback) => PrismaPromise_2; + +declare type PrismaPromiseInteractiveTransaction = { + kind: 'itx'; + id: string; + payload: PayloadType; +}; + +declare type PrismaPromiseTransaction = PrismaPromiseBatchTransaction | PrismaPromiseInteractiveTransaction; + +declare namespace Public { + export { + validator + } +} +export { Public } + +declare namespace Public_2 { + export { + Args, + Result, + Payload, + PrismaPromise, + Operation, + Exact + } +} + +declare type Query = { + sql: string; + args: Array; +}; + +declare interface Queryable { + readonly flavour: 'mysql' | 'postgres' | 'sqlite'; + /** + * Execute a query given as SQL, interpolating the given parameters, + * and returning the type-aware result set of the query. + * + * This is the preferred way of executing `SELECT` queries. + */ + queryRaw(params: Query): Promise>; + /** + * Execute a query given as SQL, interpolating the given parameters, + * and returning the number of affected rows. + * + * This is the preferred way of executing `INSERT`, `UPDATE`, `DELETE` queries, + * as well as transactional queries. + */ + executeRaw(params: Query): Promise>; +} + +declare type QueryEngineResult = { + data: T; + elapsed: number; +}; + +declare type QueryMiddleware = (params: QueryMiddlewareParams, next: (params: QueryMiddlewareParams) => Promise) => Promise; + +declare type QueryMiddlewareParams = { + /** The model this is executed on */ + model?: string; + /** The action that is being handled */ + action: Action; + /** TODO what is this */ + dataPath: string[]; + /** TODO what is this */ + runInTransaction: boolean; + args?: UserArgs_2; +}; + +export declare type QueryOptions = { + query: { + [ModelName in string]: { + [ModelAction in string]: ModelQueryOptionsCb; + } | QueryOptionsCb; + }; +}; + +export declare type QueryOptionsCb = (args: QueryOptionsCbArgs) => Promise; + +export declare type QueryOptionsCbArgs = { + model?: string; + operation: string; + args: JsArgs | RawQueryArgs; + query: (args: JsArgs | RawQueryArgs) => Promise; +}; + +/** + * Create raw SQL statement. + */ +export declare function raw(value: string): Sql; + +export declare type RawParameters = { + __prismaRawParameters__: true; + values: string; +}; + +export declare type RawQueryArgs = Sql | [query: string, ...values: RawValue[]]; + +/** + * Supported value or SQL instance. + */ +export declare type RawValue = Value | Sql; + +export declare type ReadonlyDeep = { + readonly [K in keyof T]: ReadonlyDeep; +}; + +declare type Record_2 = { + [P in T]: U; +}; +export { Record_2 as Record } + +export declare type RenameAndNestPayloadKeys

= { + [K in keyof P as K extends 'scalars' | 'objects' | 'composites' ? keyof P[K] : never]: P[K]; +}; + +declare type RequestBatchOptions = { + transaction?: TransactionOptions; + traceparent?: string; + numTry?: number; + containsWrite: boolean; + customDataProxyFetch?: (fetch: Fetch) => Fetch; +}; + +declare class RequestHandler { + client: Client; + dataloader: DataLoader; + private logEmitter?; + constructor(client: Client, logEmitter?: EventEmitter); + request(params: RequestParams): Promise; + mapQueryEngineResult({ dataPath, unpacker }: RequestParams, response: QueryEngineResult): any; + /** + * Handles the error and logs it, logging the error is done synchronously waiting for the event + * handlers to finish. + */ + handleAndLogRequestError(params: HandleErrorParams): never; + handleRequestError({ error, clientMethod, callsite, transaction, args }: HandleErrorParams): never; + sanitizeMessage(message: any): any; + unpack(data: unknown, dataPath: string[], unpacker?: Unpacker): any; + get [Symbol.toStringTag](): string; +} + +declare type RequestOptions = { + traceparent?: string; + numTry?: number; + interactiveTransaction?: InteractiveTransactionOptions; + isWrite: boolean; + customDataProxyFetch?: (fetch: Fetch) => Fetch; +}; + +declare type RequestOptions_2 = { + method?: string; + headers?: Record; + body?: string; +}; + +declare type RequestParams = { + modelName?: string; + action: Action; + protocolQuery: JsonQuery; + dataPath: string[]; + clientMethod: string; + callsite?: CallSite; + transaction?: PrismaPromiseTransaction; + extensions: MergedExtensionsList; + args?: any; + headers?: Record; + unpacker?: Unpacker; + otelParentCtx?: Context; + otelChildCtx?: Context; + customDataProxyFetch?: (fetch: Fetch) => Fetch; +}; + +declare type RequestResponse = { + ok: boolean; + url: string; + statusText?: string; + status: number; + headers: NodeHeaders; + text: () => Promise; + json: () => Promise; +}; + +declare type RequiredExtensionArgs = NameArgs & ResultArgs & ModelArgs & ClientArgs & QueryOptions; +export { RequiredExtensionArgs } +export { RequiredExtensionArgs as UserArgs } + +export declare type RequiredKeys = { + [K in keyof O]-?: {} extends Pick_2 ? never : K; +}[keyof O]; + +export declare type Result = T extends { + [K: symbol]: { + types: { + payload: any; + }; + }; +} ? GetResult : GetResult<{ + composites: {}; + objects: {}; + scalars: {}; +}, {}, F>; + +export declare type Result_2 = Result; + +declare type Result_3 = { + map(fn: (value: T) => U): Result_3; + flatMap(fn: (value: T) => Result_3): Result_3; +} & ({ + readonly ok: true; + readonly value: T; +} | { + readonly ok: false; + readonly error: Error_2; +}); + +declare namespace Result_4 { + export { + Operation, + FluentOperation, + Count, + GetFindResult, + SelectablePayloadFields, + SelectField, + DefaultSelection, + UnwrapPayload, + GetCountResult, + Aggregate, + GetAggregateResult, + GetBatchResult, + GetGroupByResult, + GetResult + } +} + +export declare type ResultArg = { + [FieldName in string]: ResultFieldDefinition; +}; + +export declare type ResultArgs = { + result: { + [ModelName in string]: ResultArg; + }; +}; + +export declare type ResultArgsFieldCompute = (model: any) => unknown; + +export declare type ResultFieldDefinition = { + needs?: { + [FieldName in string]: boolean; + }; + compute: ResultArgsFieldCompute; +}; + +declare interface ResultSet { + /** + * List of column types appearing in a database query, in the same order as `columnNames`. + * They are used within the Query Engine to convert values from JS to Quaint values. + */ + columnTypes: Array; + /** + * List of column names appearing in a database query, in the same order as `columnTypes`. + */ + columnNames: Array; + /** + * List of rows retrieved from a database query. + * Each row is a list of values, whose length matches `columnNames` and `columnTypes`. + */ + rows: Array>; + /** + * The last ID of an `INSERT` statement, if any. + * This is required for `AUTO_INCREMENT` columns in MySQL and SQLite-flavoured databases. + */ + lastInsertId?: string; +} + +export declare type Return = T extends (...args: any[]) => infer R ? R : T; + +declare type RuntimeDataModel = { + readonly models: Record; + readonly enums: Record; + readonly types: Record; +}; + +declare type RuntimeEnum = Omit; + +declare type RuntimeModel = Omit; + +export declare type Select = T extends U ? T : never; + +export declare type SelectablePayloadFields = { + objects: { + [k in K]: O; + }; +} | { + composites: { + [k in K]: O; + }; +}; + +export declare type SelectField

, K extends PropertyKey> = P extends { + objects: Record; +} ? P['objects'][K] : P extends { + composites: Record; +} ? P['composites'][K] : never; + +declare type Selection_2 = Record; +export { Selection_2 as Selection } + +/** + * An interface that represents a span. A span represents a single operation + * within a trace. Examples of span might include remote procedure calls or a + * in-process function calls to sub-components. A Trace has a single, top-level + * "root" Span that in turn may have zero or more child Spans, which in turn + * may have children. + * + * Spans are created by the {@link Tracer.startSpan} method. + */ +declare interface Span { + /** + * Returns the {@link SpanContext} object associated with this Span. + * + * Get an immutable, serializable identifier for this span that can be used + * to create new child spans. Returned SpanContext is usable even after the + * span ends. + * + * @returns the SpanContext object associated with this Span. + */ + spanContext(): SpanContext; + /** + * Sets an attribute to the span. + * + * Sets a single Attribute with the key and value passed as arguments. + * + * @param key the key for this attribute. + * @param value the value for this attribute. Setting a value null or + * undefined is invalid and will result in undefined behavior. + */ + setAttribute(key: string, value: SpanAttributeValue): this; + /** + * Sets attributes to the span. + * + * @param attributes the attributes that will be added. + * null or undefined attribute values + * are invalid and will result in undefined behavior. + */ + setAttributes(attributes: SpanAttributes): this; + /** + * Adds an event to the Span. + * + * @param name the name of the event. + * @param [attributesOrStartTime] the attributes that will be added; these are + * associated with this event. Can be also a start time + * if type is {@type TimeInput} and 3rd param is undefined + * @param [startTime] start time of the event. + */ + addEvent(name: string, attributesOrStartTime?: SpanAttributes | TimeInput, startTime?: TimeInput): this; + /** + * Sets a status to the span. If used, this will override the default Span + * status. Default is {@link SpanStatusCode.UNSET}. SetStatus overrides the value + * of previous calls to SetStatus on the Span. + * + * @param status the SpanStatus to set. + */ + setStatus(status: SpanStatus): this; + /** + * Updates the Span name. + * + * This will override the name provided via {@link Tracer.startSpan}. + * + * Upon this update, any sampling behavior based on Span name will depend on + * the implementation. + * + * @param name the Span name. + */ + updateName(name: string): this; + /** + * Marks the end of Span execution. + * + * Call to End of a Span MUST not have any effects on child spans. Those may + * still be running and can be ended later. + * + * Do not return `this`. The Span generally should not be used after it + * is ended so chaining is not desired in this context. + * + * @param [endTime] the time to set as Span's end time. If not provided, + * use the current time as the span's end time. + */ + end(endTime?: TimeInput): void; + /** + * Returns the flag whether this span will be recorded. + * + * @returns true if this Span is active and recording information like events + * with the `AddEvent` operation and attributes using `setAttributes`. + */ + isRecording(): boolean; + /** + * Sets exception as a span event + * @param exception the exception the only accepted values are string or Error + * @param [time] the time to set as Span's event time. If not provided, + * use the current time. + */ + recordException(exception: Exception, time?: TimeInput): void; +} + +/** + * @deprecated please use {@link Attributes} + */ +declare type SpanAttributes = Attributes; + +/** + * @deprecated please use {@link AttributeValue} + */ +declare type SpanAttributeValue = AttributeValue; + +declare type SpanCallback = (span?: Span, context?: Context) => R; + +/** + * A SpanContext represents the portion of a {@link Span} which must be + * serialized and propagated along side of a {@link Baggage}. + */ +declare interface SpanContext { + /** + * The ID of the trace that this span belongs to. It is worldwide unique + * with practically sufficient probability by being made as 16 randomly + * generated bytes, encoded as a 32 lowercase hex characters corresponding to + * 128 bits. + */ + traceId: string; + /** + * The ID of the Span. It is globally unique with practically sufficient + * probability by being made as 8 randomly generated bytes, encoded as a 16 + * lowercase hex characters corresponding to 64 bits. + */ + spanId: string; + /** + * Only true if the SpanContext was propagated from a remote parent. + */ + isRemote?: boolean; + /** + * Trace flags to propagate. + * + * It is represented as 1 byte (bitmap). Bit to represent whether trace is + * sampled or not. When set, the least significant bit documents that the + * caller may have recorded trace data. A caller who does not record trace + * data out-of-band leaves this flag unset. + * + * see {@link TraceFlags} for valid flag values. + */ + traceFlags: number; + /** + * Tracing-system-specific info to propagate. + * + * The tracestate field value is a `list` as defined below. The `list` is a + * series of `list-members` separated by commas `,`, and a list-member is a + * key/value pair separated by an equals sign `=`. Spaces and horizontal tabs + * surrounding `list-members` are ignored. There can be a maximum of 32 + * `list-members` in a `list`. + * More Info: https://www.w3.org/TR/trace-context/#tracestate-field + * + * Examples: + * Single tracing system (generic format): + * tracestate: rojo=00f067aa0ba902b7 + * Multiple tracing systems (with different formatting): + * tracestate: rojo=00f067aa0ba902b7,congo=t61rcWkgMzE + */ + traceState?: TraceState; +} + +declare enum SpanKind { + /** Default value. Indicates that the span is used internally. */ + INTERNAL = 0, + /** + * Indicates that the span covers server-side handling of an RPC or other + * remote request. + */ + SERVER = 1, + /** + * Indicates that the span covers the client-side wrapper around an RPC or + * other remote request. + */ + CLIENT = 2, + /** + * Indicates that the span describes producer sending a message to a + * broker. Unlike client and server, there is no direct critical path latency + * relationship between producer and consumer spans. + */ + PRODUCER = 3, + /** + * Indicates that the span describes consumer receiving a message from a + * broker. Unlike client and server, there is no direct critical path latency + * relationship between producer and consumer spans. + */ + CONSUMER = 4 +} + +/** + * Options needed for span creation + */ +declare interface SpanOptions { + /** + * The SpanKind of a span + * @default {@link SpanKind.INTERNAL} + */ + kind?: SpanKind; + /** A span's attributes */ + attributes?: SpanAttributes; + /** {@link Link}s span to other spans */ + links?: Link[]; + /** A manually specified start time for the created `Span` object. */ + startTime?: TimeInput; + /** The new span should be a root span. (Ignore parent from context). */ + root?: boolean; +} + +declare interface SpanStatus { + /** The status code of this message. */ + code: SpanStatusCode; + /** A developer-facing error message. */ + message?: string; +} + +/** + * An enumeration of status codes. + */ +declare enum SpanStatusCode { + /** + * The default status. + */ + UNSET = 0, + /** + * The operation has been validated by an Application developer or + * Operator to have completed successfully. + */ + OK = 1, + /** + * The operation contains an error. + */ + ERROR = 2 +} + +/** + * A SQL instance can be nested within each other to build SQL strings. + */ +export declare class Sql { + readonly values: Value[]; + readonly strings: string[]; + constructor(rawStrings: readonly string[], rawValues: readonly RawValue[]); + get text(): string; + get sql(): string; + inspect(): { + text: string; + sql: string; + values: unknown[]; + }; +} + +/** + * Create a SQL object from a template string. + */ +export declare function sqltag(strings: readonly string[], ...values: readonly RawValue[]): Sql; + +/** + * Defines TimeInput. + * + * hrtime, epoch milliseconds, performance.now() or Date + */ +declare type TimeInput = HrTime | number | Date; + +export declare type ToTuple = T extends any[] ? T : [T]; + +declare interface TraceState { + /** + * Create a new TraceState which inherits from this TraceState and has the + * given key set. + * The new entry will always be added in the front of the list of states. + * + * @param key key of the TraceState entry. + * @param value value of the TraceState entry. + */ + set(key: string, value: string): TraceState; + /** + * Return a new TraceState which inherits from this TraceState but does not + * contain the given key. + * + * @param key the key for the TraceState entry to be removed. + */ + unset(key: string): TraceState; + /** + * Returns the value to which the specified key is mapped, or `undefined` if + * this map contains no mapping for the key. + * + * @param key with which the specified value is to be associated. + * @returns the value to which the specified key is mapped, or `undefined` if + * this map contains no mapping for the key. + */ + get(key: string): string | undefined; + /** + * Serializes the TraceState to a `list` as defined below. The `list` is a + * series of `list-members` separated by commas `,`, and a list-member is a + * key/value pair separated by an equals sign `=`. Spaces and horizontal tabs + * surrounding `list-members` are ignored. There can be a maximum of 32 + * `list-members` in a `list`. + * + * @returns the serialized string. + */ + serialize(): string; +} + +declare interface TracingHelper { + isEnabled(): boolean; + getTraceParent(context?: Context): string; + createEngineSpan(engineSpanEvent: EngineSpanEvent): void; + getActiveContext(): Context | undefined; + runInChildSpan(nameOrOptions: string | ExtendedSpanOptions, callback: SpanCallback): R; +} + +declare namespace Transaction { + export { + IsolationLevel, + Options_2 as Options, + InteractiveTransactionInfo, + TransactionHeaders + } +} + +declare interface Transaction_2 extends Queryable { + /** + * Transaction options. + */ + readonly options: TransactionOptions_2; + /** + * Commit the transaction. + */ + commit(): Promise>; + /** + * Rolls back the transaction. + */ + rollback(): Promise>; + /** + * Discards and closes the transaction which may or may not have been committed or rolled back. + * This operation must be synchronous. If the implementation requires calling creating new + * asynchronous tasks on the event loop, the driver is responsible for handling the errors + * appropriately to ensure they don't crash the application. + */ + dispose(): Result_3; +} + +declare type TransactionHeaders = { + traceparent?: string; +}; + +declare type TransactionOptions = { + kind: 'itx'; + options: InteractiveTransactionOptions; +} | { + kind: 'batch'; + options: BatchTransactionOptions; +}; + +declare type TransactionOptions_2 = { + usePhantomQuery: boolean; +}; + +export declare type TypeMapCbDef = Fn<{ + extArgs: InternalArgs; +}, TypeMapDef>; + +/** Shared */ +export declare type TypeMapDef = Record; + +declare namespace Types { + export { + Result_4 as Result, + Extensions_2 as Extensions, + Utils, + Public_2 as Public, + OperationPayload as Payload + } +} +export { Types } + +declare type UnknownErrorParams = { + clientVersion: string; + batchRequestIdx?: number; +}; + +declare type Unpacker = (data: any) => any; + +export declare type UnwrapPayload

= {} extends P ? unknown : { + [K in keyof P]: P[K] extends { + scalars: infer S; + composites: infer C; + }[] ? Array> : P[K] extends { + scalars: infer S; + composites: infer C; + } | null ? S & UnwrapPayload | Select : never; +}; + +export declare type UnwrapPromise

= P extends Promise ? R : P; + +export declare type UnwrapTuple = { + [K in keyof Tuple]: K extends `${number}` ? Tuple[K] extends PrismaPromise ? X : UnwrapPromise : UnwrapPromise; +}; + +/** + * Input that flows from the user into the Client. + */ +declare type UserArgs_2 = any; + +declare namespace Utils { + export { + EmptyToUnknown, + NeverToUnknown, + PatchFlat, + Omit_2 as Omit, + Pick_2 as Pick, + ComputeDeep, + Compute, + OptionalFlat, + ReadonlyDeep, + Narrowable, + Narrow, + Exact, + Cast, + JsonObject, + JsonArray, + JsonValue, + Record_2 as Record, + UnwrapPromise, + UnwrapTuple, + Path, + Fn, + Call, + RequiredKeys, + OptionalKeys, + Optional, + Return, + ToTuple, + RenameAndNestPayloadKeys, + PayloadToResult, + Select, + Equals, + Or, + JsPromise + } +} + +declare function validator(): (select: Exact) => S; + +declare function validator, O extends keyof C[M] & Operation>(client: C, model: M, operation: O): (select: Exact>) => S; + +declare function validator, O extends keyof C[M] & Operation, P extends keyof Args>(client: C, model: M, operation: O, prop: P): (select: Exact[P]>) => S; + +/** + * Values supported by SQL engine. + */ +export declare type Value = unknown; + +export declare function warnEnvConflicts(envPaths: any): void; + +export declare const warnOnce: (key: string, message: string, ...args: unknown[]) => void; + +export { } diff --git a/packages/dataprovider/.prisma/runtime/library.js b/packages/dataprovider/.prisma/runtime/library.js new file mode 100644 index 0000000..b4fc23d --- /dev/null +++ b/packages/dataprovider/.prisma/runtime/library.js @@ -0,0 +1,141 @@ +"use strict";var Ll=Object.create;var Rt=Object.defineProperty;var $l=Object.getOwnPropertyDescriptor;var ql=Object.getOwnPropertyNames;var Vl=Object.getPrototypeOf,jl=Object.prototype.hasOwnProperty;var Bl=(e,t,r)=>t in e?Rt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var V=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),St=(e,t)=>{for(var r in t)Rt(e,r,{get:t[r],enumerable:!0})},Xi=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of ql(t))!jl.call(e,i)&&i!==r&&Rt(e,i,{get:()=>t[i],enumerable:!(n=$l(t,i))||n.enumerable});return e};var S=(e,t,r)=>(r=e!=null?Ll(Vl(e)):{},Xi(t||!e||!e.__esModule?Rt(r,"default",{value:e,enumerable:!0}):r,e)),Ul=e=>Xi(Rt({},"__esModule",{value:!0}),e);var eo=(e,t,r)=>(Bl(e,typeof t!="symbol"?t+"":t,r),r);var co=V((xm,uo)=>{"use strict";var rt=1e3,nt=rt*60,it=nt*60,Qe=it*24,Kl=Qe*7,Ql=Qe*365.25;uo.exports=function(e,t){t=t||{};var r=typeof e;if(r==="string"&&e.length>0)return Gl(e);if(r==="number"&&isFinite(e))return t.long?Hl(e):Jl(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))};function Gl(e){if(e=String(e),!(e.length>100)){var t=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(t){var r=parseFloat(t[1]),n=(t[2]||"ms").toLowerCase();switch(n){case"years":case"year":case"yrs":case"yr":case"y":return r*Ql;case"weeks":case"week":case"w":return r*Kl;case"days":case"day":case"d":return r*Qe;case"hours":case"hour":case"hrs":case"hr":case"h":return r*it;case"minutes":case"minute":case"mins":case"min":case"m":return r*nt;case"seconds":case"second":case"secs":case"sec":case"s":return r*rt;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return r;default:return}}}}function Jl(e){var t=Math.abs(e);return t>=Qe?Math.round(e/Qe)+"d":t>=it?Math.round(e/it)+"h":t>=nt?Math.round(e/nt)+"m":t>=rt?Math.round(e/rt)+"s":e+"ms"}function Hl(e){var t=Math.abs(e);return t>=Qe?br(e,t,Qe,"day"):t>=it?br(e,t,it,"hour"):t>=nt?br(e,t,nt,"minute"):t>=rt?br(e,t,rt,"second"):e+" ms"}function br(e,t,r,n){var i=t>=r*1.5;return Math.round(e/r)+" "+n+(i?"s":"")}});var kn=V((bm,po)=>{"use strict";function Wl(e){r.debug=r,r.default=r,r.coerce=l,r.disable=o,r.enable=i,r.enabled=s,r.humanize=co(),r.destroy=u,Object.keys(e).forEach(c=>{r[c]=e[c]}),r.names=[],r.skips=[],r.formatters={};function t(c){let p=0;for(let d=0;d{if(J==="%%")return"%";M++;let $=r.formatters[Ke];if(typeof $=="function"){let z=P[M];J=$.call(T,z),P.splice(M,1),M--}return J}),r.formatArgs.call(T,P),(T.log||r.log).apply(T,P)}return g.namespace=c,g.useColors=r.useColors(),g.color=r.selectColor(c),g.extend=n,g.destroy=r.destroy,Object.defineProperty(g,"enabled",{enumerable:!0,configurable:!1,get:()=>d!==null?d:(f!==r.namespaces&&(f=r.namespaces,y=r.enabled(c)),y),set:P=>{d=P}}),typeof r.init=="function"&&r.init(g),g}function n(c,p){let d=r(this.namespace+(typeof p>"u"?":":p)+c);return d.log=this.log,d}function i(c){r.save(c),r.namespaces=c,r.names=[],r.skips=[];let p,d=(typeof c=="string"?c:"").split(/[\s,]+/),f=d.length;for(p=0;p"-"+p)].join(",");return r.enable(""),c}function s(c){if(c[c.length-1]==="*")return!0;let p,d;for(p=0,d=r.skips.length;p{"use strict";le.formatArgs=Yl;le.save=Zl;le.load=Xl;le.useColors=zl;le.storage=eu();le.destroy=(()=>{let e=!1;return()=>{e||(e=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})();le.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"];function zl(){return typeof window<"u"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs)?!0:typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/)?!1:typeof document<"u"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window<"u"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}function Yl(e){if(e[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+e[0]+(this.useColors?"%c ":" ")+"+"+Er.exports.humanize(this.diff),!this.useColors)return;let t="color: "+this.color;e.splice(1,0,t,"color: inherit");let r=0,n=0;e[0].replace(/%[a-zA-Z%]/g,i=>{i!=="%%"&&(r++,i==="%c"&&(n=r))}),e.splice(n,0,t)}le.log=console.debug||console.log||(()=>{});function Zl(e){try{e?le.storage.setItem("debug",e):le.storage.removeItem("debug")}catch{}}function Xl(){let e;try{e=le.storage.getItem("debug")}catch{}return!e&&typeof process<"u"&&"env"in process&&(e=process.env.DEBUG),e}function eu(){try{return localStorage}catch{}}Er.exports=kn()(le);var{formatters:tu}=Er.exports;tu.j=function(e){try{return JSON.stringify(e)}catch(t){return"[UnexpectedJSONParseError]: "+t.message}}});var Fn=V((Em,fo)=>{"use strict";fo.exports=(e,t=process.argv)=>{let r=e.startsWith("-")?"":e.length===1?"-":"--",n=t.indexOf(r+e),i=t.indexOf("--");return n!==-1&&(i===-1||n{"use strict";var ru=require("os"),go=require("tty"),de=Fn(),{env:B}=process,ke;de("no-color")||de("no-colors")||de("color=false")||de("color=never")?ke=0:(de("color")||de("colors")||de("color=true")||de("color=always"))&&(ke=1);"FORCE_COLOR"in B&&(B.FORCE_COLOR==="true"?ke=1:B.FORCE_COLOR==="false"?ke=0:ke=B.FORCE_COLOR.length===0?1:Math.min(parseInt(B.FORCE_COLOR,10),3));function Dn(e){return e===0?!1:{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3}}function On(e,t){if(ke===0)return 0;if(de("color=16m")||de("color=full")||de("color=truecolor"))return 3;if(de("color=256"))return 2;if(e&&!t&&ke===void 0)return 0;let r=ke||0;if(B.TERM==="dumb")return r;if(process.platform==="win32"){let n=ru.release().split(".");return Number(n[0])>=10&&Number(n[2])>=10586?Number(n[2])>=14931?3:2:1}if("CI"in B)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE"].some(n=>n in B)||B.CI_NAME==="codeship"?1:r;if("TEAMCITY_VERSION"in B)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(B.TEAMCITY_VERSION)?1:0;if(B.COLORTERM==="truecolor")return 3;if("TERM_PROGRAM"in B){let n=parseInt((B.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(B.TERM_PROGRAM){case"iTerm.app":return n>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(B.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(B.TERM)||"COLORTERM"in B?1:r}function nu(e){let t=On(e,e&&e.isTTY);return Dn(t)}yo.exports={supportsColor:nu,stdout:Dn(On(!0,go.isatty(1))),stderr:Dn(On(!0,go.isatty(2)))}});var xo=V((H,Pr)=>{"use strict";var iu=require("tty"),wr=require("util");H.init=pu;H.log=lu;H.formatArgs=su;H.save=uu;H.load=cu;H.useColors=ou;H.destroy=wr.deprecate(()=>{},"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");H.colors=[6,2,3,4,5,1];try{let e=_n();e&&(e.stderr||e).level>=2&&(H.colors=[20,21,26,27,32,33,38,39,40,41,42,43,44,45,56,57,62,63,68,69,74,75,76,77,78,79,80,81,92,93,98,99,112,113,128,129,134,135,148,149,160,161,162,163,164,165,166,167,168,169,170,171,172,173,178,179,184,185,196,197,198,199,200,201,202,203,204,205,206,207,208,209,214,215,220,221])}catch{}H.inspectOpts=Object.keys(process.env).filter(e=>/^debug_/i.test(e)).reduce((e,t)=>{let r=t.substring(6).toLowerCase().replace(/_([a-z])/g,(i,o)=>o.toUpperCase()),n=process.env[t];return/^(yes|on|true|enabled)$/i.test(n)?n=!0:/^(no|off|false|disabled)$/i.test(n)?n=!1:n==="null"?n=null:n=Number(n),e[r]=n,e},{});function ou(){return"colors"in H.inspectOpts?!!H.inspectOpts.colors:iu.isatty(process.stderr.fd)}function su(e){let{namespace:t,useColors:r}=this;if(r){let n=this.color,i="\x1B[3"+(n<8?n:"8;5;"+n),o=` ${i};1m${t} \x1B[0m`;e[0]=o+e[0].split(` +`).join(` +`+o),e.push(i+"m+"+Pr.exports.humanize(this.diff)+"\x1B[0m")}else e[0]=au()+t+" "+e[0]}function au(){return H.inspectOpts.hideDate?"":new Date().toISOString()+" "}function lu(...e){return process.stderr.write(wr.format(...e)+` +`)}function uu(e){e?process.env.DEBUG=e:delete process.env.DEBUG}function cu(){return process.env.DEBUG}function pu(e){e.inspectOpts={};let t=Object.keys(H.inspectOpts);for(let r=0;rt.trim()).join(" ")};ho.O=function(e){return this.inspectOpts.colors=this.useColors,wr.inspect(e,this.inspectOpts)}});var Ln=V((Pm,Nn)=>{"use strict";typeof process>"u"||process.type==="renderer"||process.browser===!0||process.__nwjs?Nn.exports=mo():Nn.exports=xo()});var So=V((ef,Un)=>{"use strict";var A=Un.exports;Un.exports.default=A;var I="\x1B[",kt="\x1B]",at="\x07",Mr=";",Ro=process.env.TERM_PROGRAM==="Apple_Terminal";A.cursorTo=(e,t)=>{if(typeof e!="number")throw new TypeError("The `x` argument is required");return typeof t!="number"?I+(e+1)+"G":I+(t+1)+";"+(e+1)+"H"};A.cursorMove=(e,t)=>{if(typeof e!="number")throw new TypeError("The `x` argument is required");let r="";return e<0?r+=I+-e+"D":e>0&&(r+=I+e+"C"),t<0?r+=I+-t+"A":t>0&&(r+=I+t+"B"),r};A.cursorUp=(e=1)=>I+e+"A";A.cursorDown=(e=1)=>I+e+"B";A.cursorForward=(e=1)=>I+e+"C";A.cursorBackward=(e=1)=>I+e+"D";A.cursorLeft=I+"G";A.cursorSavePosition=Ro?"\x1B7":I+"s";A.cursorRestorePosition=Ro?"\x1B8":I+"u";A.cursorGetPosition=I+"6n";A.cursorNextLine=I+"E";A.cursorPrevLine=I+"F";A.cursorHide=I+"?25l";A.cursorShow=I+"?25h";A.eraseLines=e=>{let t="";for(let r=0;r[kt,"8",Mr,Mr,t,at,e,kt,"8",Mr,Mr,at].join("");A.image=(e,t={})=>{let r=`${kt}1337;File=inline=1`;return t.width&&(r+=`;width=${t.width}`),t.height&&(r+=`;height=${t.height}`),t.preserveAspectRatio===!1&&(r+=";preserveAspectRatio=0"),r+":"+e.toString("base64")+at};A.iTerm={setCwd:(e=process.cwd())=>`${kt}50;CurrentDir=${e}${at}`,annotation:(e,t={})=>{let r=`${kt}1337;`,n=typeof t.x<"u",i=typeof t.y<"u";if((n||i)&&!(n&&i&&typeof t.length<"u"))throw new Error("`x`, `y` and `length` must be defined when `x` or `y` is defined");return e=e.replace(/\|/g,""),r+=t.isHidden?"AddHiddenAnnotation=":"AddAnnotation=",t.length>0?r+=(n?[e,t.length,t.x,t.y]:[t.length,e]).join("|"):r+=e,r+at}}});var Fo=V((tf,ko)=>{"use strict";var hu=_n(),lt=Fn();function Io(e){if(/^\d{3,4}$/.test(e)){let r=/(\d{1,2})(\d{2})/.exec(e);return{major:0,minor:parseInt(r[1],10),patch:parseInt(r[2],10)}}let t=(e||"").split(".").map(r=>parseInt(r,10));return{major:t[0],minor:t[1],patch:t[2]}}function Kn(e){let{env:t}=process;if("FORCE_HYPERLINK"in t)return!(t.FORCE_HYPERLINK.length>0&&parseInt(t.FORCE_HYPERLINK,10)===0);if(lt("no-hyperlink")||lt("no-hyperlinks")||lt("hyperlink=false")||lt("hyperlink=never"))return!1;if(lt("hyperlink=true")||lt("hyperlink=always")||"NETLIFY"in t)return!0;if(!hu.supportsColor(e)||e&&!e.isTTY||process.platform==="win32"||"CI"in t||"TEAMCITY_VERSION"in t)return!1;if("TERM_PROGRAM"in t){let r=Io(t.TERM_PROGRAM_VERSION);switch(t.TERM_PROGRAM){case"iTerm.app":return r.major===3?r.minor>=1:r.major>3;case"WezTerm":return r.major>=20200620;case"vscode":return r.major>1||r.major===1&&r.minor>=72}}if("VTE_VERSION"in t){if(t.VTE_VERSION==="0.50.0")return!1;let r=Io(t.VTE_VERSION);return r.major>0||r.minor>=50}return!1}ko.exports={supportsHyperlink:Kn,stdout:Kn(process.stdout),stderr:Kn(process.stderr)}});var Oo=V((rf,Ft)=>{"use strict";var xu=So(),Qn=Fo(),Do=(e,t,{target:r="stdout",...n}={})=>Qn[r]?xu.link(e,t):n.fallback===!1?e:typeof n.fallback=="function"?n.fallback(e,t):`${e} (\u200B${t}\u200B)`;Ft.exports=(e,t,r={})=>Do(e,t,r);Ft.exports.stderr=(e,t,r={})=>Do(e,t,{target:"stderr",...r});Ft.exports.isSupported=Qn.stdout;Ft.exports.stderr.isSupported=Qn.stderr});var Ko=V((wf,Du)=>{Du.exports={name:"dotenv",version:"16.0.3",description:"Loads environment variables from .env file",main:"lib/main.js",types:"lib/main.d.ts",exports:{".":{require:"./lib/main.js",types:"./lib/main.d.ts",default:"./lib/main.js"},"./config":"./config.js","./config.js":"./config.js","./lib/env-options":"./lib/env-options.js","./lib/env-options.js":"./lib/env-options.js","./lib/cli-options":"./lib/cli-options.js","./lib/cli-options.js":"./lib/cli-options.js","./package.json":"./package.json"},scripts:{"dts-check":"tsc --project tests/types/tsconfig.json",lint:"standard","lint-readme":"standard-markdown",pretest:"npm run lint && npm run dts-check",test:"tap tests/*.js --100 -Rspec",prerelease:"npm test",release:"standard-version"},repository:{type:"git",url:"git://github.com/motdotla/dotenv.git"},keywords:["dotenv","env",".env","environment","variables","config","settings"],readmeFilename:"README.md",license:"BSD-2-Clause",devDependencies:{"@types/node":"^17.0.9",decache:"^4.6.1",dtslint:"^3.7.0",sinon:"^12.0.1",standard:"^16.0.4","standard-markdown":"^7.1.0","standard-version":"^9.3.2",tap:"^15.1.6",tar:"^6.1.11",typescript:"^4.5.4"},engines:{node:">=12"}}});var Go=V((Pf,Fr)=>{"use strict";var Ou=require("fs"),Qo=require("path"),_u=require("os"),Nu=Ko(),Lu=Nu.version,$u=/(?:^|^)\s*(?:export\s+)?([\w.-]+)(?:\s*=\s*?|:\s+?)(\s*'(?:\\'|[^'])*'|\s*"(?:\\"|[^"])*"|\s*`(?:\\`|[^`])*`|[^#\r\n]+)?\s*(?:#.*)?(?:$|$)/mg;function qu(e){let t={},r=e.toString();r=r.replace(/\r\n?/mg,` +`);let n;for(;(n=$u.exec(r))!=null;){let i=n[1],o=n[2]||"";o=o.trim();let s=o[0];o=o.replace(/^(['"`])([\s\S]*)\1$/mg,"$2"),s==='"'&&(o=o.replace(/\\n/g,` +`),o=o.replace(/\\r/g,"\r")),t[i]=o}return t}function Wn(e){console.log(`[dotenv@${Lu}][DEBUG] ${e}`)}function Vu(e){return e[0]==="~"?Qo.join(_u.homedir(),e.slice(1)):e}function ju(e){let t=Qo.resolve(process.cwd(),".env"),r="utf8",n=!!(e&&e.debug),i=!!(e&&e.override);e&&(e.path!=null&&(t=Vu(e.path)),e.encoding!=null&&(r=e.encoding));try{let o=kr.parse(Ou.readFileSync(t,{encoding:r}));return Object.keys(o).forEach(function(s){Object.prototype.hasOwnProperty.call(process.env,s)?(i===!0&&(process.env[s]=o[s]),n&&Wn(i===!0?`"${s}" is already defined in \`process.env\` and WAS overwritten`:`"${s}" is already defined in \`process.env\` and was NOT overwritten`)):process.env[s]=o[s]}),{parsed:o}}catch(o){return n&&Wn(`Failed to load ${t} ${o.message}`),{error:o}}}var kr={config:ju,parse:qu};Fr.exports.config=kr.config;Fr.exports.parse=kr.parse;Fr.exports=kr});var Zo=V((Sf,Yo)=>{"use strict";Yo.exports=e=>{let t=e.match(/^[ \t]*(?=\S)/gm);return t?t.reduce((r,n)=>Math.min(r,n.length),1/0):0}});var es=V((If,Xo)=>{"use strict";var Qu=Zo();Xo.exports=e=>{let t=Qu(e);if(t===0)return e;let r=new RegExp(`^[ \\t]{${t}}`,"gm");return e.replace(r,"")}});var ts=V((kf,Gu)=>{Gu.exports={name:"@prisma/engines-version",version:"5.5.1-1.aebc046ce8b88ebbcb45efe31cbe7d06fd6abc0a",main:"index.js",types:"index.d.ts",license:"Apache-2.0",author:"Tim Suchanek ",prisma:{enginesVersion:"aebc046ce8b88ebbcb45efe31cbe7d06fd6abc0a"},repository:{type:"git",url:"https://github.com/prisma/engines-wrapper.git",directory:"packages/engines-version"},devDependencies:{"@types/node":"18.18.6",typescript:"4.9.5"},files:["index.js","index.d.ts"],scripts:{build:"tsc -d"}}});var Xn=V(Or=>{"use strict";Object.defineProperty(Or,"__esModule",{value:!0});Or.enginesVersion=void 0;Or.enginesVersion=ts().prisma.enginesVersion});var ii=V((Kf,is)=>{"use strict";is.exports=(e,t=1,r)=>{if(r={indent:" ",includeEmptyLines:!1,...r},typeof e!="string")throw new TypeError(`Expected \`input\` to be a \`string\`, got \`${typeof e}\``);if(typeof t!="number")throw new TypeError(`Expected \`count\` to be a \`number\`, got \`${typeof t}\``);if(typeof r.indent!="string")throw new TypeError(`Expected \`options.indent\` to be a \`string\`, got \`${typeof r.indent}\``);if(t===0)return e;let n=r.includeEmptyLines?/^/gm:/^(?!\s*$)/gm;return e.replace(n,r.indent.repeat(t))}});var ls=V((Jf,as)=>{"use strict";as.exports=({onlyFirst:e=!1}={})=>{let t=["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)","(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))"].join("|");return new RegExp(t,e?void 0:"g")}});var li=V((Hf,us)=>{"use strict";var rc=ls();us.exports=e=>typeof e=="string"?e.replace(rc(),""):e});var cs=V((Yf,Nr)=>{"use strict";Nr.exports=(e={})=>{let t;if(e.repoUrl)t=e.repoUrl;else if(e.user&&e.repo)t=`https://github.com/${e.user}/${e.repo}`;else throw new Error("You need to specify either the `repoUrl` option or both the `user` and `repo` options");let r=new URL(`${t}/issues/new`),n=["body","title","labels","template","milestone","assignee","projects"];for(let i of n){let o=e[i];if(o!==void 0){if(i==="labels"||i==="projects"){if(!Array.isArray(o))throw new TypeError(`The \`${i}\` option should be an array`);o=o.join(",")}r.searchParams.set(i,o)}}return r.toString()};Nr.exports.default=Nr.exports});var Ui=V((CP,Ka)=>{"use strict";Ka.exports=function(){function e(t,r,n,i,o){return tn?n+1:t+1:i===o?r:r+1}return function(t,r){if(t===r)return 0;if(t.length>r.length){var n=t;t=r,r=n}for(var i=t.length,o=r.length;i>0&&t.charCodeAt(i-1)===r.charCodeAt(o-1);)i--,o--;for(var s=0;spe,DMMFClass:()=>xr,Debug:()=>$n,Decimal:()=>Pe,Extensions:()=>Mn,MetricsClient:()=>dt,NotFoundError:()=>Me,ObjectEnumValue:()=>xe,PrismaClientInitializationError:()=>F,PrismaClientKnownRequestError:()=>U,PrismaClientRustPanicError:()=>ue,PrismaClientUnknownRequestError:()=>K,PrismaClientValidationError:()=>X,Public:()=>Rn,Sql:()=>oe,Types:()=>Sn,defineDmmfProperty:()=>ms,empty:()=>ys,getPrismaClient:()=>Ol,itxClientDenyList:()=>zi,join:()=>gs,makeStrictEnum:()=>_l,objectEnumNames:()=>ic,objectEnumValues:()=>$r,raw:()=>gi,sqltag:()=>yi,warnEnvConflicts:()=>Nl,warnOnce:()=>qt});module.exports=Ul(sm);var Mn={};St(Mn,{defineExtension:()=>to,getExtensionContext:()=>ro});function to(e){return typeof e=="function"?e:t=>t.$extends(e)}function ro(e){return e}var Rn={};St(Rn,{validator:()=>no});function no(...e){return t=>t}var Sn={};St(Sn,{Extensions:()=>io,Public:()=>oo,Result:()=>so,Utils:()=>ao});var io={};var oo={};var so={};var ao={};var Ie=(e,t)=>{let r={};for(let n of e){let i=n[t];r[i]=n}return r};function lo(e){return e.substring(0,1).toLowerCase()+e.substring(1)}var xr=class{constructor(t){this.document=t;this.compositeNames=new Set(this.datamodel.types.map(r=>r.name)),this.typeAndModelMap=this.buildTypeModelMap(),this.mappingsMap=this.buildMappingsMap(),this.outputTypeMap=this.buildMergedOutputTypeMap(),this.rootFieldMap=this.buildRootFieldMap(),this.inputTypesByName=this.buildInputTypesMap()}get datamodel(){return this.document.datamodel}get mappings(){return this.document.mappings}get schema(){return this.document.schema}get inputObjectTypes(){return this.schema.inputObjectTypes}get outputObjectTypes(){return this.schema.outputObjectTypes}isComposite(t){return this.compositeNames.has(t)}getOtherOperationNames(){return[Object.values(this.mappings.otherOperations.write),Object.values(this.mappings.otherOperations.read)].flat()}hasEnumInNamespace(t,r){return this.schema.enumTypes[r]?.find(n=>n.name===t)!==void 0}resolveInputObjectType(t){return this.inputTypesByName.get(In(t.type,t.namespace))}resolveOutputObjectType(t){if(t.location==="outputObjectTypes")return this.outputObjectTypes[t.namespace??"prisma"].find(r=>r.name===t.type)}buildModelMap(){return Ie(this.datamodel.models,"name")}buildTypeMap(){return Ie(this.datamodel.types,"name")}buildTypeModelMap(){return{...this.buildTypeMap(),...this.buildModelMap()}}buildMappingsMap(){return Ie(this.mappings.modelOperations,"model")}buildMergedOutputTypeMap(){return{model:Ie(this.schema.outputObjectTypes.model,"name"),prisma:Ie(this.schema.outputObjectTypes.prisma,"name")}}buildRootFieldMap(){return{...Ie(this.outputTypeMap.prisma.Query.fields,"name"),...Ie(this.outputTypeMap.prisma.Mutation.fields,"name")}}buildInputTypesMap(){let t=new Map;for(let r of this.inputObjectTypes.prisma)t.set(In(r.name,"prisma"),r);if(!this.inputObjectTypes.model)return t;for(let r of this.inputObjectTypes.model)t.set(In(r.name,"model"),r);return t}};function In(e,t){return t?`${t}.${e}`:e}var pe;(t=>{let e;(x=>(x.findUnique="findUnique",x.findUniqueOrThrow="findUniqueOrThrow",x.findFirst="findFirst",x.findFirstOrThrow="findFirstOrThrow",x.findMany="findMany",x.create="create",x.createMany="createMany",x.update="update",x.updateMany="updateMany",x.upsert="upsert",x.delete="delete",x.deleteMany="deleteMany",x.groupBy="groupBy",x.count="count",x.aggregate="aggregate",x.findRaw="findRaw",x.aggregateRaw="aggregateRaw"))(e=t.ModelAction||(t.ModelAction={}))})(pe||(pe={}));var vr=S(Ln()),du=100,It=[];typeof process<"u"&&typeof process.stderr?.write!="function"&&(vr.default.log=console.debug??console.log);function mu(e){let t=(0,vr.default)(e),r=Object.assign((...n)=>(t.log=r.log,n.length!==0&&It.push([e,...n]),It.length>du&&It.shift(),t("",...n)),t);return r}var $n=Object.assign(mu,vr.default);function bo(e=7500){let t=It.map(r=>r.map(n=>typeof n=="string"?n:JSON.stringify(n)).join(" ")).join(` +`);return t.length2&&i.push.apply(i,r.slice(1,r.length-1)),new e(this.value,this.cases.concat([{match:function(s){var a={},l=!!(i.some(function(u){return gu(u,s,function(c,p){a[c]=p})})&&o.every(function(u){return u(s)}));return{matched:l,value:l&&Object.keys(a).length?Ao in a?a[Ao]:a:s}},handler:n}]))},t.when=function(r,n){return new e(this.value,this.cases.concat([{match:function(i){return{matched:!!r(i),value:i}},handler:n}]))},t.otherwise=function(r){return new e(this.value,this.cases.concat([{match:function(n){return{matched:!0,value:n}},handler:r}])).run()},t.exhaustive=function(){return this.run()},t.run=function(){for(var r=this.value,n=void 0,i=0;i!process.env.PRISMA_DISABLE_WARNINGS};function Ot(e,...t){Eu.warn()&&console.warn(`${bu.warn} ${e}`,...t)}var wu=(0,qo.promisify)($o.default.exec),ie=O("prisma:get-platform"),Pu=["1.0.x","1.1.x","3.0.x"];async function Vo(){let e=Sr.default.platform(),t=process.arch;if(e==="freebsd"){let s=await Ir("freebsd-version");if(s&&s.trim().length>0){let l=/^(\d+)\.?/.exec(s);if(l)return{platform:"freebsd",targetDistro:`freebsd${l[1]}`,arch:t}}}if(e!=="linux")return{platform:e,arch:t};let r=await Tu(),n=await Fu(),i=Au({arch:t,archFromUname:n,familyDistro:r.familyDistro}),{libssl:o}=await Mu(i);return{platform:"linux",libssl:o,arch:t,archFromUname:n,...r}}function vu(e){let t=/^ID="?([^"\n]*)"?$/im,r=/^ID_LIKE="?([^"\n]*)"?$/im,n=t.exec(e),i=n&&n[1]&&n[1].toLowerCase()||"",o=r.exec(e),s=o&&o[1]&&o[1].toLowerCase()||"",a=st({id:i,idLike:s}).with({id:"alpine"},({id:l})=>({targetDistro:"musl",familyDistro:l,originalDistro:l})).with({id:"raspbian"},({id:l})=>({targetDistro:"arm",familyDistro:"debian",originalDistro:l})).with({id:"nixos"},({id:l})=>({targetDistro:"nixos",originalDistro:l,familyDistro:"nixos"})).with({id:"debian"},{id:"ubuntu"},({id:l})=>({targetDistro:"debian",familyDistro:"debian",originalDistro:l})).with({id:"rhel"},{id:"centos"},{id:"fedora"},({id:l})=>({targetDistro:"rhel",familyDistro:"rhel",originalDistro:l})).when(({idLike:l})=>l.includes("debian")||l.includes("ubuntu"),({id:l})=>({targetDistro:"debian",familyDistro:"debian",originalDistro:l})).when(({idLike:l})=>i==="arch"||l.includes("arch"),({id:l})=>({targetDistro:"debian",familyDistro:"arch",originalDistro:l})).when(({idLike:l})=>l.includes("centos")||l.includes("fedora")||l.includes("rhel")||l.includes("suse"),({id:l})=>({targetDistro:"rhel",familyDistro:"rhel",originalDistro:l})).otherwise(({id:l})=>({targetDistro:void 0,familyDistro:void 0,originalDistro:l}));return ie(`Found distro info: +${JSON.stringify(a,null,2)}`),a}async function Tu(){let e="/etc/os-release";try{let t=await Gn.default.readFile(e,{encoding:"utf-8"});return vu(t)}catch{return{targetDistro:void 0,familyDistro:void 0,originalDistro:void 0}}}function Cu(e){let t=/^OpenSSL\s(\d+\.\d+)\.\d+/.exec(e);if(t){let r=`${t[1]}.x`;return jo(r)}}function No(e){let t=/libssl\.so\.(\d)(\.\d)?/.exec(e);if(t){let r=`${t[1]}${t[2]??".0"}.x`;return jo(r)}}function jo(e){let t=(()=>{if(Uo(e))return e;let r=e.split(".");return r[1]="0",r.join(".")})();if(Pu.includes(t))return t}function Au(e){return st(e).with({familyDistro:"musl"},()=>(ie('Trying platform-specific paths for "alpine"'),["/lib"])).with({familyDistro:"debian"},({archFromUname:t})=>(ie('Trying platform-specific paths for "debian" (and "ubuntu")'),[`/usr/lib/${t}-linux-gnu`,`/lib/${t}-linux-gnu`])).with({familyDistro:"rhel"},()=>(ie('Trying platform-specific paths for "rhel"'),["/lib64","/usr/lib64"])).otherwise(({familyDistro:t,arch:r,archFromUname:n})=>(ie(`Don't know any platform-specific paths for "${t}" on ${r} (${n})`),[]))}async function Mu(e){let t='grep -v "libssl.so.0"',r=await Lo(e);if(r){ie(`Found libssl.so file using platform-specific paths: ${r}`);let o=No(r);if(ie(`The parsed libssl version is: ${o}`),o)return{libssl:o,strategy:"libssl-specific-path"}}ie('Falling back to "ldconfig" and other generic paths');let n=await Ir(`ldconfig -p | sed "s/.*=>s*//" | sed "s|.*/||" | grep libssl | sort | ${t}`);if(n||(n=await Lo(["/lib64","/usr/lib64","/lib"])),n){ie(`Found libssl.so file using "ldconfig" or other generic paths: ${n}`);let o=No(n);if(ie(`The parsed libssl version is: ${o}`),o)return{libssl:o,strategy:"ldconfig"}}let i=await Ir("openssl version -v");if(i){ie(`Found openssl binary with version: ${i}`);let o=Cu(i);if(ie(`The parsed openssl version is: ${o}`),o)return{libssl:o,strategy:"openssl-binary"}}return ie("Couldn't find any version of libssl or OpenSSL in the system"),{}}async function Lo(e){for(let t of e){let r=await Ru(t);if(r)return r}}async function Ru(e){try{return(await Gn.default.readdir(e)).find(r=>r.startsWith("libssl.so.")&&!r.startsWith("libssl.so.0"))}catch(t){if(t.code==="ENOENT")return;throw t}}async function ut(){let{binaryTarget:e}=await Bo();return e}function Su(e){return e.binaryTarget!==void 0}async function Jn(){let{memoized:e,...t}=await Bo();return t}var Rr={};async function Bo(){if(Su(Rr))return Promise.resolve({...Rr,memoized:!0});let e=await Vo(),t=Iu(e);return Rr={...e,binaryTarget:t},{...Rr,memoized:!1}}function Iu(e){let{platform:t,arch:r,archFromUname:n,libssl:i,targetDistro:o,familyDistro:s,originalDistro:a}=e;t==="linux"&&!["x64","arm64"].includes(r)&&Ot(`Prisma only officially supports Linux on amd64 (x86_64) and arm64 (aarch64) system architectures. If you are using your own custom Prisma engines, you can ignore this warning, as long as you've compiled the engines for your system architecture "${n}".`);let l="1.1.x";if(t==="linux"&&i===void 0){let c=st({familyDistro:s}).with({familyDistro:"debian"},()=>"Please manually install OpenSSL via `apt-get update -y && apt-get install -y openssl` and try installing Prisma again. If you're running Prisma on Docker, add this command to your Dockerfile, or switch to an image that already has OpenSSL installed.").otherwise(()=>"Please manually install OpenSSL and try installing Prisma again.");Ot(`Prisma failed to detect the libssl/openssl version to use, and may not work as expected. Defaulting to "openssl-${l}". +${c}`)}let u="debian";if(t==="linux"&&o===void 0&&Ot(`Prisma doesn't know which engines to download for the Linux distro "${a}". Falling back to Prisma engines built "${u}". +Please report your experience by creating an issue at ${Dt("https://github.com/prisma/prisma/issues")} so we can add your distro to the list of known supported distros.`),t==="darwin"&&r==="arm64")return"darwin-arm64";if(t==="darwin")return"darwin";if(t==="win32")return"windows";if(t==="freebsd")return o;if(t==="openbsd")return"openbsd";if(t==="netbsd")return"netbsd";if(t==="linux"&&o==="nixos")return"linux-nixos";if(t==="linux"&&r==="arm64")return`${o==="musl"?"linux-musl-arm64":"linux-arm64"}-openssl-${i||l}`;if(t==="linux"&&r==="arm")return`linux-arm-openssl-${i||l}`;if(t==="linux"&&o==="musl"){let c="linux-musl";return!i||Uo(i)?c:`${c}-openssl-${i}`}return t==="linux"&&o&&i?`${o}-openssl-${i}`:(t!=="linux"&&Ot(`Prisma detected unknown OS "${t}" and may not work as expected. Defaulting to "linux".`),i?`${u}-openssl-${i}`:o?`${o}-openssl-${l}`:`${u}-openssl-${l}`)}async function ku(e){try{return await e()}catch{return}}function Ir(e){return ku(async()=>{let t=await wu(e);return ie(`Command "${e}" successfully returned "${t.stdout}"`),t.stdout})}async function Fu(){return typeof Sr.default.machine=="function"?Sr.default.machine():(await Ir("uname -m"))?.trim()}function Uo(e){return e.startsWith("1.")}var Hn=["darwin","darwin-arm64","debian-openssl-1.0.x","debian-openssl-1.1.x","debian-openssl-3.0.x","rhel-openssl-1.0.x","rhel-openssl-1.1.x","rhel-openssl-3.0.x","linux-arm64-openssl-1.1.x","linux-arm64-openssl-1.0.x","linux-arm64-openssl-3.0.x","linux-arm-openssl-1.1.x","linux-arm-openssl-1.0.x","linux-arm-openssl-3.0.x","linux-musl","linux-musl-openssl-3.0.x","linux-musl-arm64-openssl-1.1.x","linux-musl-arm64-openssl-3.0.x","linux-nixos","linux-static-x64","linux-static-arm64","windows","freebsd11","freebsd12","freebsd13","openbsd","netbsd","arm"];var Yn=S(Go()),Dr=S(require("fs"));var ct=S(require("path"));function Jo(e){let t=e.ignoreProcessEnv?{}:process.env,r=n=>n.match(/(.?\${(?:[a-zA-Z0-9_]+)?})/g)?.reduce(function(o,s){let a=/(.?)\${([a-zA-Z0-9_]+)?}/g.exec(s);if(!a)return o;let l=a[1],u,c;if(l==="\\")c=a[0],u=c.replace("\\$","$");else{let p=a[2];c=a[0].substring(l.length),u=Object.hasOwnProperty.call(t,p)?t[p]:e.parsed[p]||"",u=r(u)}return o.replace(c,u)},n)??n;for(let n in e.parsed){let i=Object.hasOwnProperty.call(t,n)?t[n]:e.parsed[n];e.parsed[n]=r(i)}for(let n in e.parsed)t[n]=e.parsed[n];return e}var zn=O("prisma:tryLoadEnv");function _t({rootEnvPath:e,schemaEnvPath:t},r={conflictCheck:"none"}){let n=Ho(e);r.conflictCheck!=="none"&&Bu(n,t,r.conflictCheck);let i=null;return Wo(n?.path,t)||(i=Ho(t)),!n&&!i&&zn("No Environment variables loaded"),i?.dotenvResult.error?console.error(me(ne("Schema Env Error: "))+i.dotenvResult.error):{message:[n?.message,i?.message].filter(Boolean).join(` +`),parsed:{...n?.dotenvResult?.parsed,...i?.dotenvResult?.parsed}}}function Bu(e,t,r){let n=e?.dotenvResult.parsed,i=!Wo(e?.path,t);if(n&&t&&i&&Dr.default.existsSync(t)){let o=Yn.default.parse(Dr.default.readFileSync(t)),s=[];for(let a in o)n[a]===o[a]&&s.push(a);if(s.length>0){let a=ct.default.relative(process.cwd(),e.path),l=ct.default.relative(process.cwd(),t);if(r==="error"){let u=`There is a conflict between env var${s.length>1?"s":""} in ${te(a)} and ${te(l)} +Conflicting env vars: +${s.map(c=>` ${ne(c)}`).join(` +`)} + +We suggest to move the contents of ${te(l)} to ${te(a)} to consolidate your env vars. +`;throw new Error(u)}else if(r==="warn"){let u=`Conflict for env var${s.length>1?"s":""} ${s.map(c=>ne(c)).join(", ")} in ${te(a)} and ${te(l)} +Env vars from ${te(l)} overwrite the ones from ${te(a)} + `;console.warn(`${he("warn(prisma)")} ${u}`)}}}}function Ho(e){return Uu(e)?(zn(`Environment variables loaded from ${e}`),{dotenvResult:Jo(Yn.default.config({path:e,debug:process.env.DOTENV_CONFIG_DEBUG?!0:void 0})),message:Fe(`Environment variables loaded from ${ct.default.relative(process.cwd(),e)}`),path:e}):(zn(`Environment variables not found at ${e}`),null)}function Wo(e,t){return e&&t&&ct.default.resolve(e)===ct.default.resolve(t)}function Uu(e){return!!(e&&Dr.default.existsSync(e))}var zo="library";function Zn(e){let t=Ku();return t||(e?.config.engineType==="library"?"library":e?.config.engineType==="binary"?"binary":zo)}function Ku(){let e=process.env.PRISMA_CLIENT_ENGINE_TYPE;return e==="library"?"library":e==="binary"?"binary":void 0}var Ju=S(Xn());var N=S(require("path")),Hu=S(Xn()),Of=O("prisma:engines");function rs(){return N.default.join(__dirname,"../")}var _f="libquery-engine";N.default.join(__dirname,"../query-engine-darwin");N.default.join(__dirname,"../query-engine-darwin-arm64");N.default.join(__dirname,"../query-engine-debian-openssl-1.0.x");N.default.join(__dirname,"../query-engine-debian-openssl-1.1.x");N.default.join(__dirname,"../query-engine-debian-openssl-3.0.x");N.default.join(__dirname,"../query-engine-linux-static-x64");N.default.join(__dirname,"../query-engine-linux-static-arm64");N.default.join(__dirname,"../query-engine-rhel-openssl-1.0.x");N.default.join(__dirname,"../query-engine-rhel-openssl-1.1.x");N.default.join(__dirname,"../query-engine-rhel-openssl-3.0.x");N.default.join(__dirname,"../libquery_engine-darwin.dylib.node");N.default.join(__dirname,"../libquery_engine-darwin-arm64.dylib.node");N.default.join(__dirname,"../libquery_engine-debian-openssl-1.0.x.so.node");N.default.join(__dirname,"../libquery_engine-debian-openssl-1.1.x.so.node");N.default.join(__dirname,"../libquery_engine-debian-openssl-3.0.x.so.node");N.default.join(__dirname,"../libquery_engine-linux-arm64-openssl-1.0.x.so.node");N.default.join(__dirname,"../libquery_engine-linux-arm64-openssl-1.1.x.so.node");N.default.join(__dirname,"../libquery_engine-linux-arm64-openssl-3.0.x.so.node");N.default.join(__dirname,"../libquery_engine-linux-musl.so.node");N.default.join(__dirname,"../libquery_engine-linux-musl-openssl-3.0.x.so.node");N.default.join(__dirname,"../libquery_engine-rhel-openssl-1.0.x.so.node");N.default.join(__dirname,"../libquery_engine-rhel-openssl-1.1.x.so.node");N.default.join(__dirname,"../libquery_engine-rhel-openssl-3.0.x.so.node");N.default.join(__dirname,"../query_engine-windows.dll.node");var ei=S(require("fs")),ns=O("chmodPlusX");function ti(e){if(process.platform==="win32")return;let t=ei.default.statSync(e),r=t.mode|64|8|1;if(t.mode===r){ns(`Execution permissions of ${e} are fine`);return}let n=r.toString(8).slice(-3);ns(`Have to call chmodPlusX on ${e}`),ei.default.chmodSync(e,n)}function ri(e){let t=e.e,r=a=>`Prisma cannot find the required \`${a}\` system library in your system`,n=t.message.includes("cannot open shared object file"),i=`Please refer to the documentation about Prisma's system requirements: ${Dt("https://pris.ly/d/system-requirements")}`,o=`Unable to require(\`${Fe(e.id)}\`).`,s=st({message:t.message,code:t.code}).with({code:"ENOENT"},()=>"File does not exist.").when(({message:a})=>n&&a.includes("libz"),()=>`${r("libz")}. Please install it and try again.`).when(({message:a})=>n&&a.includes("libgcc_s"),()=>`${r("libgcc_s")}. Please install it and try again.`).when(({message:a})=>n&&a.includes("libssl"),()=>{let a=e.platformInfo.libssl?`openssl-${e.platformInfo.libssl}`:"openssl";return`${r("libssl")}. Please install ${a} and try again.`}).when(({message:a})=>a.includes("GLIBC"),()=>`Prisma has detected an incompatible version of the \`glibc\` C standard library installed in your system. This probably means your system may be too old to run Prisma. ${i}`).when(({message:a})=>e.platformInfo.platform==="linux"&&a.includes("symbol not found"),()=>`The Prisma engines are not compatible with your system ${e.platformInfo.originalDistro} on (${e.platformInfo.archFromUname}) which uses the \`${e.platformInfo.binaryTarget}\` binaryTarget by default. ${i}`).otherwise(()=>`The Prisma engines do not seem to be compatible with your system. ${i}`);return`${o} +${s} + +Details: ${t.message}`}var Nt=S(require("path"));function ni(e){return Nt.default.sep===Nt.default.posix.sep?e:e.split(Nt.default.sep).join(Nt.default.posix.sep)}var os=S(ii());function si(e){return String(new oi(e))}var oi=class{constructor(t){this.config=t}toString(){let{config:t}=this,r=t.provider.fromEnvVar?`env("${t.provider.fromEnvVar}")`:t.provider.value,n=JSON.parse(JSON.stringify({provider:r,binaryTargets:Wu(t.binaryTargets)}));return`generator ${t.name} { +${(0,os.default)(zu(n),2)} +}`}};function Wu(e){let t;if(e.length>0){let r=e.find(n=>n.fromEnvVar!==null);r?t=`env("${r.fromEnvVar}")`:t=e.map(n=>n.native?"native":n.value)}else t=void 0;return t}function zu(e){let t=Object.keys(e).reduce((r,n)=>Math.max(r,n.length),0);return Object.entries(e).map(([r,n])=>`${r.padEnd(t)} = ${Yu(n)}`).join(` +`)}function Yu(e){return JSON.parse(JSON.stringify(e,(t,r)=>Array.isArray(r)?`[${r.map(n=>JSON.stringify(n)).join(", ")}]`:JSON.stringify(r)))}var $t={};St($t,{error:()=>ec,info:()=>Xu,log:()=>Zu,query:()=>tc,should:()=>ss,tags:()=>Lt,warn:()=>ai});var Lt={error:me("prisma:error"),warn:he("prisma:warn"),info:De("prisma:info"),query:ot("prisma:query")},ss={warn:()=>!process.env.PRISMA_DISABLE_WARNINGS};function Zu(...e){console.log(...e)}function ai(e,...t){ss.warn()&&console.warn(`${Lt.warn} ${e}`,...t)}function Xu(e,...t){console.info(`${Lt.info} ${e}`,...t)}function ec(e,...t){console.error(`${Lt.error} ${e}`,...t)}function tc(e,...t){console.log(`${Lt.query} ${e}`,...t)}function _r(e,t){if(!e)throw new Error(`${t}. This should never happen. If you see this error, please, open an issue at https://github.com/prisma/prisma/issues/new?assignees=&labels=kind%2Fbug&projects=&template=bug_report.yml`)}function He(e,t){throw new Error(t)}function ui(e,t){return Object.prototype.hasOwnProperty.call(e,t)}var ci=(e,t)=>e.reduce((r,n)=>(r[t(n)]=n,r),{});function pt(e,t){let r={};for(let n of Object.keys(e))r[n]=t(e[n],n);return r}function pi(e,t){if(e.length===0)return;let r=e[0];for(let n=1;n{ps.has(e)||(ps.add(e),ai(t,...r))};var U=class extends Error{constructor(r,{code:n,clientVersion:i,meta:o,batchRequestIdx:s}){super(r);this.name="PrismaClientKnownRequestError",this.code=n,this.clientVersion=i,this.meta=o,Object.defineProperty(this,"batchRequestIdx",{value:s,enumerable:!1,writable:!0})}get[Symbol.toStringTag](){return"PrismaClientKnownRequestError"}};E(U,"PrismaClientKnownRequestError");var Me=class extends U{constructor(t,r){super(t,{code:"P2025",clientVersion:r}),this.name="NotFoundError"}};E(Me,"NotFoundError");var F=class e extends Error{constructor(r,n,i){super(r);this.name="PrismaClientInitializationError",this.clientVersion=n,this.errorCode=i,Error.captureStackTrace(e)}get[Symbol.toStringTag](){return"PrismaClientInitializationError"}};E(F,"PrismaClientInitializationError");var ue=class extends Error{constructor(r,n){super(r);this.name="PrismaClientRustPanicError",this.clientVersion=n}get[Symbol.toStringTag](){return"PrismaClientRustPanicError"}};E(ue,"PrismaClientRustPanicError");var K=class extends Error{constructor(r,{clientVersion:n,batchRequestIdx:i}){super(r);this.name="PrismaClientUnknownRequestError",this.clientVersion=n,Object.defineProperty(this,"batchRequestIdx",{value:i,writable:!0,enumerable:!1})}get[Symbol.toStringTag](){return"PrismaClientUnknownRequestError"}};E(K,"PrismaClientUnknownRequestError");var X=class extends Error{constructor(r,{clientVersion:n}){super(r);this.name="PrismaClientValidationError";this.clientVersion=n}get[Symbol.toStringTag](){return"PrismaClientValidationError"}};E(X,"PrismaClientValidationError");var dt=class{constructor(t){this._engine=t}prometheus(t){return this._engine.metrics({format:"prometheus",...t})}json(t){return this._engine.metrics({format:"json",...t})}};function Vt(e){let t;return{get(){return t||(t={value:e()}),t.value}}}function ms(e,t){let r=Vt(()=>nc(t));Object.defineProperty(e,"dmmf",{get:()=>r.get()})}function nc(e){return{datamodel:{models:di(e.models),enums:di(e.enums),types:di(e.types)}}}function di(e){return Object.entries(e).map(([t,r])=>({name:t,...r}))}var ic=["JsonNullValueInput","NullableJsonNullValueInput","JsonNullValueFilter"],Lr=Symbol(),mi=new WeakMap,xe=class{constructor(t){t===Lr?mi.set(this,`Prisma.${this._getName()}`):mi.set(this,`new Prisma.${this._getNamespace()}.${this._getName()}()`)}_getName(){return this.constructor.name}toString(){return mi.get(this)}},jt=class extends xe{_getNamespace(){return"NullTypes"}},Bt=class extends jt{};fi(Bt,"DbNull");var Ut=class extends jt{};fi(Ut,"JsonNull");var Kt=class extends jt{};fi(Kt,"AnyNull");var $r={classes:{DbNull:Bt,JsonNull:Ut,AnyNull:Kt},instances:{DbNull:new Bt(Lr),JsonNull:new Ut(Lr),AnyNull:new Kt(Lr)}};function fi(e,t){Object.defineProperty(e,"name",{value:t,configurable:!0})}var lc=S(Ln(),1);function qr(e){return{ok:!1,error:e,map(){return qr(e)},flatMap(){return qr(e)}}}var oc=class{constructor(){eo(this,"registeredErrors",[])}consumeError(e){return this.registeredErrors[e]}registerNewError(e){let t=0;for(;this.registeredErrors[t]!==void 0;)t++;return this.registeredErrors[t]={error:e},t}},fs=e=>{let t=new oc,r=Oe(t,e.startTransaction.bind(e));return{errorRegistry:t,queryRaw:Oe(t,e.queryRaw.bind(e)),executeRaw:Oe(t,e.executeRaw.bind(e)),flavour:e.flavour,startTransaction:async(...n)=>(await r(...n)).map(o=>sc(t,o)),close:Oe(t,e.close.bind(e))}},sc=(e,t)=>({flavour:t.flavour,options:t.options,queryRaw:Oe(e,t.queryRaw.bind(t)),executeRaw:Oe(e,t.executeRaw.bind(t)),commit:Oe(e,t.commit.bind(t)),rollback:Oe(e,t.rollback.bind(t)),dispose:ac(e,t.dispose.bind(t))});function Oe(e,t){return async(...r)=>{try{return await t(...r)}catch(n){let i=e.registerNewError(n);return qr({kind:"GenericJs",id:i})}}}function ac(e,t){return(...r)=>{try{return t(...r)}catch(n){let i=e.registerNewError(n);return qr({kind:"GenericJs",id:i})}}}var kl=require("async_hooks"),Fl=require("events"),Dl=S(require("fs")),yr=S(require("path"));var oe=class e{constructor(t,r){if(t.length-1!==r.length)throw t.length===0?new TypeError("Expected at least 1 string"):new TypeError(`Expected ${t.length} strings to have ${t.length-1} values`);let n=r.reduce((s,a)=>s+(a instanceof e?a.values.length:1),0);this.values=new Array(n),this.strings=new Array(n+1),this.strings[0]=t[0];let i=0,o=0;for(;ie.getPropertyValue(r))},getPropertyDescriptor(r){return e.getPropertyDescriptor?.(r)}}}var bs=require("util");var Vr={enumerable:!0,configurable:!0,writable:!0};function jr(e){let t=new Set(e);return{getOwnPropertyDescriptor:()=>Vr,has:(r,n)=>t.has(n),set:(r,n,i)=>t.add(n)&&Reflect.set(r,n,i),ownKeys:()=>[...t]}}var hs=Symbol.for("nodejs.util.inspect.custom");function Ee(e,t){let r=uc(t),n=new Set,i=new Proxy(e,{get(o,s){if(n.has(s))return o[s];let a=r.get(s);return a?a.getPropertyValue(s):o[s]},has(o,s){if(n.has(s))return!0;let a=r.get(s);return a?a.has?.(s)??!0:Reflect.has(o,s)},ownKeys(o){let s=xs(Reflect.ownKeys(o),r),a=xs(Array.from(r.keys()),r);return[...new Set([...s,...a,...n])]},set(o,s,a){return r.get(s)?.getPropertyDescriptor?.(s)?.writable===!1?!1:(n.add(s),Reflect.set(o,s,a))},getOwnPropertyDescriptor(o,s){let a=Reflect.getOwnPropertyDescriptor(o,s);if(a&&!a.configurable)return a;let l=r.get(s);return l?l.getPropertyDescriptor?{...Vr,...l?.getPropertyDescriptor(s)}:Vr:a},defineProperty(o,s,a){return n.add(s),Reflect.defineProperty(o,s,a)}});return i[hs]=function(o,s,a=bs.inspect){let l={...this};return delete l[hs],a(l,s)},i}function uc(e){let t=new Map;for(let r of e){let n=r.getKeys();for(let i of n)t.set(i,r)}return t}function xs(e,t){return e.filter(r=>t.get(r)?.has?.(r)??!0)}function Gt(e){return{getKeys(){return e},has(){return!1},getPropertyValue(){}}}var mt=class{constructor(t=0,r){this.context=r;this.lines=[];this.currentLine="";this.currentIndent=0;this.currentIndent=t}write(t){return typeof t=="string"?this.currentLine+=t:t.write(this),this}writeJoined(t,r){let n=r.length-1;for(let i=0;i0&&this.currentIndent--,this}addMarginSymbol(t){return this.marginSymbol=t,this}toString(){return this.lines.concat(this.indentedCurrentLine()).join(` +`)}getCurrentLineLength(){return this.currentLine.length}indentedCurrentLine(){let t=this.currentLine.padStart(this.currentLine.length+2*this.currentIndent);return this.marginSymbol?this.marginSymbol+t.slice(1):t}};function ft(e){return e instanceof Date||Object.prototype.toString.call(e)==="[object Date]"}function Br(e){return e.toString()!=="Invalid Date"}var gt=9e15,$e=1e9,hi="0123456789abcdef",Kr="2.3025850929940456840179914546843642076011014886287729760333279009675726096773524802359972050895982983419677840422862486334095254650828067566662873690987816894829072083255546808437998948262331985283935053089653777326288461633662222876982198867465436674744042432743651550489343149393914796194044002221051017141748003688084012647080685567743216228355220114804663715659121373450747856947683463616792101806445070648000277502684916746550586856935673420670581136429224554405758925724208241314695689016758940256776311356919292033376587141660230105703089634572075440370847469940168269282808481184289314848524948644871927809676271275775397027668605952496716674183485704422507197965004714951050492214776567636938662976979522110718264549734772662425709429322582798502585509785265383207606726317164309505995087807523710333101197857547331541421808427543863591778117054309827482385045648019095610299291824318237525357709750539565187697510374970888692180205189339507238539205144634197265287286965110862571492198849978748873771345686209167058",Qr="3.1415926535897932384626433832795028841971693993751058209749445923078164062862089986280348253421170679821480865132823066470938446095505822317253594081284811174502841027019385211055596446229489549303819644288109756659334461284756482337867831652712019091456485669234603486104543266482133936072602491412737245870066063155881748815209209628292540917153643678925903600113305305488204665213841469519415116094330572703657595919530921861173819326117931051185480744623799627495673518857527248912279381830119491298336733624406566430860213949463952247371907021798609437027705392171762931767523846748184676694051320005681271452635608277857713427577896091736371787214684409012249534301465495853710507922796892589235420199561121290219608640344181598136297747713099605187072113499999983729780499510597317328160963185950244594553469083026425223082533446850352619311881710100031378387528865875332083814206171776691473035982534904287554687311595628638823537875937519577818577805321712268066130019278766111959092164201989380952572010654858632789",xi={precision:20,rounding:4,modulo:1,toExpNeg:-7,toExpPos:21,minE:-gt,maxE:gt,crypto:!1},vs,Re,w=!0,Jr="[DecimalError] ",Le=Jr+"Invalid argument: ",Ts=Jr+"Precision limit exceeded",Cs=Jr+"crypto unavailable",As="[object Decimal]",ee=Math.floor,j=Math.pow,cc=/^0b([01]+(\.[01]*)?|\.[01]+)(p[+-]?\d+)?$/i,pc=/^0x([0-9a-f]+(\.[0-9a-f]*)?|\.[0-9a-f]+)(p[+-]?\d+)?$/i,dc=/^0o([0-7]+(\.[0-7]*)?|\.[0-7]+)(p[+-]?\d+)?$/i,Ms=/^(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i,ge=1e7,b=7,mc=9007199254740991,fc=Kr.length-1,bi=Qr.length-1,m={toStringTag:As};m.absoluteValue=m.abs=function(){var e=new this.constructor(this);return e.s<0&&(e.s=1),h(e)};m.ceil=function(){return h(new this.constructor(this),this.e+1,2)};m.clampedTo=m.clamp=function(e,t){var r,n=this,i=n.constructor;if(e=new i(e),t=new i(t),!e.s||!t.s)return new i(NaN);if(e.gt(t))throw Error(Le+t);return r=n.cmp(e),r<0?e:n.cmp(t)>0?t:new i(n)};m.comparedTo=m.cmp=function(e){var t,r,n,i,o=this,s=o.d,a=(e=new o.constructor(e)).d,l=o.s,u=e.s;if(!s||!a)return!l||!u?NaN:l!==u?l:s===a?0:!s^l<0?1:-1;if(!s[0]||!a[0])return s[0]?l:a[0]?-u:0;if(l!==u)return l;if(o.e!==e.e)return o.e>e.e^l<0?1:-1;for(n=s.length,i=a.length,t=0,r=na[t]^l<0?1:-1;return n===i?0:n>i^l<0?1:-1};m.cosine=m.cos=function(){var e,t,r=this,n=r.constructor;return r.d?r.d[0]?(e=n.precision,t=n.rounding,n.precision=e+Math.max(r.e,r.sd())+b,n.rounding=1,r=gc(n,Fs(n,r)),n.precision=e,n.rounding=t,h(Re==2||Re==3?r.neg():r,e,t,!0)):new n(1):new n(NaN)};m.cubeRoot=m.cbrt=function(){var e,t,r,n,i,o,s,a,l,u,c=this,p=c.constructor;if(!c.isFinite()||c.isZero())return new p(c);for(w=!1,o=c.s*j(c.s*c,1/3),!o||Math.abs(o)==1/0?(r=W(c.d),e=c.e,(o=(e-r.length+1)%3)&&(r+=o==1||o==-2?"0":"00"),o=j(r,1/3),e=ee((e+1)/3)-(e%3==(e<0?-1:2)),o==1/0?r="5e"+e:(r=o.toExponential(),r=r.slice(0,r.indexOf("e")+1)+e),n=new p(r),n.s=c.s):n=new p(o.toString()),s=(e=p.precision)+3;;)if(a=n,l=a.times(a).times(a),u=l.plus(c),n=D(u.plus(c).times(a),u.plus(l),s+2,1),W(a.d).slice(0,s)===(r=W(n.d)).slice(0,s))if(r=r.slice(s-3,s+1),r=="9999"||!i&&r=="4999"){if(!i&&(h(a,e+1,0),a.times(a).times(a).eq(c))){n=a;break}s+=4,i=1}else{(!+r||!+r.slice(1)&&r.charAt(0)=="5")&&(h(n,e+1,1),t=!n.times(n).times(n).eq(c));break}return w=!0,h(n,e,p.rounding,t)};m.decimalPlaces=m.dp=function(){var e,t=this.d,r=NaN;if(t){if(e=t.length-1,r=(e-ee(this.e/b))*b,e=t[e],e)for(;e%10==0;e/=10)r--;r<0&&(r=0)}return r};m.dividedBy=m.div=function(e){return D(this,new this.constructor(e))};m.dividedToIntegerBy=m.divToInt=function(e){var t=this,r=t.constructor;return h(D(t,new r(e),0,1,1),r.precision,r.rounding)};m.equals=m.eq=function(e){return this.cmp(e)===0};m.floor=function(){return h(new this.constructor(this),this.e+1,3)};m.greaterThan=m.gt=function(e){return this.cmp(e)>0};m.greaterThanOrEqualTo=m.gte=function(e){var t=this.cmp(e);return t==1||t===0};m.hyperbolicCosine=m.cosh=function(){var e,t,r,n,i,o=this,s=o.constructor,a=new s(1);if(!o.isFinite())return new s(o.s?1/0:NaN);if(o.isZero())return a;r=s.precision,n=s.rounding,s.precision=r+Math.max(o.e,o.sd())+4,s.rounding=1,i=o.d.length,i<32?(e=Math.ceil(i/3),t=(1/Wr(4,e)).toString()):(e=16,t="2.3283064365386962890625e-10"),o=yt(s,1,o.times(t),new s(1),!0);for(var l,u=e,c=new s(8);u--;)l=o.times(o),o=a.minus(l.times(c.minus(l.times(c))));return h(o,s.precision=r,s.rounding=n,!0)};m.hyperbolicSine=m.sinh=function(){var e,t,r,n,i=this,o=i.constructor;if(!i.isFinite()||i.isZero())return new o(i);if(t=o.precision,r=o.rounding,o.precision=t+Math.max(i.e,i.sd())+4,o.rounding=1,n=i.d.length,n<3)i=yt(o,2,i,i,!0);else{e=1.4*Math.sqrt(n),e=e>16?16:e|0,i=i.times(1/Wr(5,e)),i=yt(o,2,i,i,!0);for(var s,a=new o(5),l=new o(16),u=new o(20);e--;)s=i.times(i),i=i.times(a.plus(s.times(l.times(s).plus(u))))}return o.precision=t,o.rounding=r,h(i,t,r,!0)};m.hyperbolicTangent=m.tanh=function(){var e,t,r=this,n=r.constructor;return r.isFinite()?r.isZero()?new n(r):(e=n.precision,t=n.rounding,n.precision=e+7,n.rounding=1,D(r.sinh(),r.cosh(),n.precision=e,n.rounding=t)):new n(r.s)};m.inverseCosine=m.acos=function(){var e,t=this,r=t.constructor,n=t.abs().cmp(1),i=r.precision,o=r.rounding;return n!==-1?n===0?t.isNeg()?fe(r,i,o):new r(0):new r(NaN):t.isZero()?fe(r,i+4,o).times(.5):(r.precision=i+6,r.rounding=1,t=t.asin(),e=fe(r,i+4,o).times(.5),r.precision=i,r.rounding=o,e.minus(t))};m.inverseHyperbolicCosine=m.acosh=function(){var e,t,r=this,n=r.constructor;return r.lte(1)?new n(r.eq(1)?0:NaN):r.isFinite()?(e=n.precision,t=n.rounding,n.precision=e+Math.max(Math.abs(r.e),r.sd())+4,n.rounding=1,w=!1,r=r.times(r).minus(1).sqrt().plus(r),w=!0,n.precision=e,n.rounding=t,r.ln()):new n(r)};m.inverseHyperbolicSine=m.asinh=function(){var e,t,r=this,n=r.constructor;return!r.isFinite()||r.isZero()?new n(r):(e=n.precision,t=n.rounding,n.precision=e+2*Math.max(Math.abs(r.e),r.sd())+6,n.rounding=1,w=!1,r=r.times(r).plus(1).sqrt().plus(r),w=!0,n.precision=e,n.rounding=t,r.ln())};m.inverseHyperbolicTangent=m.atanh=function(){var e,t,r,n,i=this,o=i.constructor;return i.isFinite()?i.e>=0?new o(i.abs().eq(1)?i.s/0:i.isZero()?i:NaN):(e=o.precision,t=o.rounding,n=i.sd(),Math.max(n,e)<2*-i.e-1?h(new o(i),e,t,!0):(o.precision=r=n-i.e,i=D(i.plus(1),new o(1).minus(i),r+e,1),o.precision=e+4,o.rounding=1,i=i.ln(),o.precision=e,o.rounding=t,i.times(.5))):new o(NaN)};m.inverseSine=m.asin=function(){var e,t,r,n,i=this,o=i.constructor;return i.isZero()?new o(i):(t=i.abs().cmp(1),r=o.precision,n=o.rounding,t!==-1?t===0?(e=fe(o,r+4,n).times(.5),e.s=i.s,e):new o(NaN):(o.precision=r+6,o.rounding=1,i=i.div(new o(1).minus(i.times(i)).sqrt().plus(1)).atan(),o.precision=r,o.rounding=n,i.times(2)))};m.inverseTangent=m.atan=function(){var e,t,r,n,i,o,s,a,l,u=this,c=u.constructor,p=c.precision,d=c.rounding;if(u.isFinite()){if(u.isZero())return new c(u);if(u.abs().eq(1)&&p+4<=bi)return s=fe(c,p+4,d).times(.25),s.s=u.s,s}else{if(!u.s)return new c(NaN);if(p+4<=bi)return s=fe(c,p+4,d).times(.5),s.s=u.s,s}for(c.precision=a=p+10,c.rounding=1,r=Math.min(28,a/b+2|0),e=r;e;--e)u=u.div(u.times(u).plus(1).sqrt().plus(1));for(w=!1,t=Math.ceil(a/b),n=1,l=u.times(u),s=new c(u),i=u;e!==-1;)if(i=i.times(l),o=s.minus(i.div(n+=2)),i=i.times(l),s=o.plus(i.div(n+=2)),s.d[t]!==void 0)for(e=t;s.d[e]===o.d[e]&&e--;);return r&&(s=s.times(2<this.d.length-2};m.isNaN=function(){return!this.s};m.isNegative=m.isNeg=function(){return this.s<0};m.isPositive=m.isPos=function(){return this.s>0};m.isZero=function(){return!!this.d&&this.d[0]===0};m.lessThan=m.lt=function(e){return this.cmp(e)<0};m.lessThanOrEqualTo=m.lte=function(e){return this.cmp(e)<1};m.logarithm=m.log=function(e){var t,r,n,i,o,s,a,l,u=this,c=u.constructor,p=c.precision,d=c.rounding,f=5;if(e==null)e=new c(10),t=!0;else{if(e=new c(e),r=e.d,e.s<0||!r||!r[0]||e.eq(1))return new c(NaN);t=e.eq(10)}if(r=u.d,u.s<0||!r||!r[0]||u.eq(1))return new c(r&&!r[0]?-1/0:u.s!=1?NaN:r?0:1/0);if(t)if(r.length>1)o=!0;else{for(i=r[0];i%10===0;)i/=10;o=i!==1}if(w=!1,a=p+f,s=Ne(u,a),n=t?Gr(c,a+10):Ne(e,a),l=D(s,n,a,1),Jt(l.d,i=p,d))do if(a+=10,s=Ne(u,a),n=t?Gr(c,a+10):Ne(e,a),l=D(s,n,a,1),!o){+W(l.d).slice(i+1,i+15)+1==1e14&&(l=h(l,p+1,0));break}while(Jt(l.d,i+=10,d));return w=!0,h(l,p,d)};m.minus=m.sub=function(e){var t,r,n,i,o,s,a,l,u,c,p,d,f=this,y=f.constructor;if(e=new y(e),!f.d||!e.d)return!f.s||!e.s?e=new y(NaN):f.d?e.s=-e.s:e=new y(e.d||f.s!==e.s?f:NaN),e;if(f.s!=e.s)return e.s=-e.s,f.plus(e);if(u=f.d,d=e.d,a=y.precision,l=y.rounding,!u[0]||!d[0]){if(d[0])e.s=-e.s;else if(u[0])e=new y(f);else return new y(l===3?-0:0);return w?h(e,a,l):e}if(r=ee(e.e/b),c=ee(f.e/b),u=u.slice(),o=c-r,o){for(p=o<0,p?(t=u,o=-o,s=d.length):(t=d,r=c,s=u.length),n=Math.max(Math.ceil(a/b),s)+2,o>n&&(o=n,t.length=1),t.reverse(),n=o;n--;)t.push(0);t.reverse()}else{for(n=u.length,s=d.length,p=n0;--n)u[s++]=0;for(n=d.length;n>o;){if(u[--n]s?o+1:s+1,i>s&&(i=s,r.length=1),r.reverse();i--;)r.push(0);r.reverse()}for(s=u.length,i=c.length,s-i<0&&(i=s,r=c,c=u,u=r),t=0;i;)t=(u[--i]=u[i]+c[i]+t)/ge|0,u[i]%=ge;for(t&&(u.unshift(t),++n),s=u.length;u[--s]==0;)u.pop();return e.d=u,e.e=Hr(u,n),w?h(e,a,l):e};m.precision=m.sd=function(e){var t,r=this;if(e!==void 0&&e!==!!e&&e!==1&&e!==0)throw Error(Le+e);return r.d?(t=Rs(r.d),e&&r.e+1>t&&(t=r.e+1)):t=NaN,t};m.round=function(){var e=this,t=e.constructor;return h(new t(e),e.e+1,t.rounding)};m.sine=m.sin=function(){var e,t,r=this,n=r.constructor;return r.isFinite()?r.isZero()?new n(r):(e=n.precision,t=n.rounding,n.precision=e+Math.max(r.e,r.sd())+b,n.rounding=1,r=hc(n,Fs(n,r)),n.precision=e,n.rounding=t,h(Re>2?r.neg():r,e,t,!0)):new n(NaN)};m.squareRoot=m.sqrt=function(){var e,t,r,n,i,o,s=this,a=s.d,l=s.e,u=s.s,c=s.constructor;if(u!==1||!a||!a[0])return new c(!u||u<0&&(!a||a[0])?NaN:a?s:1/0);for(w=!1,u=Math.sqrt(+s),u==0||u==1/0?(t=W(a),(t.length+l)%2==0&&(t+="0"),u=Math.sqrt(t),l=ee((l+1)/2)-(l<0||l%2),u==1/0?t="5e"+l:(t=u.toExponential(),t=t.slice(0,t.indexOf("e")+1)+l),n=new c(t)):n=new c(u.toString()),r=(l=c.precision)+3;;)if(o=n,n=o.plus(D(s,o,r+2,1)).times(.5),W(o.d).slice(0,r)===(t=W(n.d)).slice(0,r))if(t=t.slice(r-3,r+1),t=="9999"||!i&&t=="4999"){if(!i&&(h(o,l+1,0),o.times(o).eq(s))){n=o;break}r+=4,i=1}else{(!+t||!+t.slice(1)&&t.charAt(0)=="5")&&(h(n,l+1,1),e=!n.times(n).eq(s));break}return w=!0,h(n,l,c.rounding,e)};m.tangent=m.tan=function(){var e,t,r=this,n=r.constructor;return r.isFinite()?r.isZero()?new n(r):(e=n.precision,t=n.rounding,n.precision=e+10,n.rounding=1,r=r.sin(),r.s=1,r=D(r,new n(1).minus(r.times(r)).sqrt(),e+10,0),n.precision=e,n.rounding=t,h(Re==2||Re==4?r.neg():r,e,t,!0)):new n(NaN)};m.times=m.mul=function(e){var t,r,n,i,o,s,a,l,u,c=this,p=c.constructor,d=c.d,f=(e=new p(e)).d;if(e.s*=c.s,!d||!d[0]||!f||!f[0])return new p(!e.s||d&&!d[0]&&!f||f&&!f[0]&&!d?NaN:!d||!f?e.s/0:e.s*0);for(r=ee(c.e/b)+ee(e.e/b),l=d.length,u=f.length,l=0;){for(t=0,i=l+n;i>n;)a=o[i]+f[n]*d[i-n-1]+t,o[i--]=a%ge|0,t=a/ge|0;o[i]=(o[i]+t)%ge|0}for(;!o[--s];)o.pop();return t?++r:o.shift(),e.d=o,e.e=Hr(o,r),w?h(e,p.precision,p.rounding):e};m.toBinary=function(e,t){return Pi(this,2,e,t)};m.toDecimalPlaces=m.toDP=function(e,t){var r=this,n=r.constructor;return r=new n(r),e===void 0?r:(se(e,0,$e),t===void 0?t=n.rounding:se(t,0,8),h(r,e+r.e+1,t))};m.toExponential=function(e,t){var r,n=this,i=n.constructor;return e===void 0?r=we(n,!0):(se(e,0,$e),t===void 0?t=i.rounding:se(t,0,8),n=h(new i(n),e+1,t),r=we(n,!0,e+1)),n.isNeg()&&!n.isZero()?"-"+r:r};m.toFixed=function(e,t){var r,n,i=this,o=i.constructor;return e===void 0?r=we(i):(se(e,0,$e),t===void 0?t=o.rounding:se(t,0,8),n=h(new o(i),e+i.e+1,t),r=we(n,!1,e+n.e+1)),i.isNeg()&&!i.isZero()?"-"+r:r};m.toFraction=function(e){var t,r,n,i,o,s,a,l,u,c,p,d,f=this,y=f.d,g=f.constructor;if(!y)return new g(f);if(u=r=new g(1),n=l=new g(0),t=new g(n),o=t.e=Rs(y)-f.e-1,s=o%b,t.d[0]=j(10,s<0?b+s:s),e==null)e=o>0?t:u;else{if(a=new g(e),!a.isInt()||a.lt(u))throw Error(Le+a);e=a.gt(t)?o>0?t:u:a}for(w=!1,a=new g(W(y)),c=g.precision,g.precision=o=y.length*b*2;p=D(a,t,0,1,1),i=r.plus(p.times(n)),i.cmp(e)!=1;)r=n,n=i,i=u,u=l.plus(p.times(i)),l=i,i=t,t=a.minus(p.times(i)),a=i;return i=D(e.minus(r),n,0,1,1),l=l.plus(i.times(u)),r=r.plus(i.times(n)),l.s=u.s=f.s,d=D(u,n,o,1).minus(f).abs().cmp(D(l,r,o,1).minus(f).abs())<1?[u,n]:[l,r],g.precision=c,w=!0,d};m.toHexadecimal=m.toHex=function(e,t){return Pi(this,16,e,t)};m.toNearest=function(e,t){var r=this,n=r.constructor;if(r=new n(r),e==null){if(!r.d)return r;e=new n(1),t=n.rounding}else{if(e=new n(e),t===void 0?t=n.rounding:se(t,0,8),!r.d)return e.s?r:e;if(!e.d)return e.s&&(e.s=r.s),e}return e.d[0]?(w=!1,r=D(r,e,0,t,1).times(e),w=!0,h(r)):(e.s=r.s,r=e),r};m.toNumber=function(){return+this};m.toOctal=function(e,t){return Pi(this,8,e,t)};m.toPower=m.pow=function(e){var t,r,n,i,o,s,a=this,l=a.constructor,u=+(e=new l(e));if(!a.d||!e.d||!a.d[0]||!e.d[0])return new l(j(+a,u));if(a=new l(a),a.eq(1))return a;if(n=l.precision,o=l.rounding,e.eq(1))return h(a,n,o);if(t=ee(e.e/b),t>=e.d.length-1&&(r=u<0?-u:u)<=mc)return i=Ss(l,a,r,n),e.s<0?new l(1).div(i):h(i,n,o);if(s=a.s,s<0){if(tl.maxE+1||t0?s/0:0):(w=!1,l.rounding=a.s=1,r=Math.min(12,(t+"").length),i=Ei(e.times(Ne(a,n+r)),n),i.d&&(i=h(i,n+5,1),Jt(i.d,n,o)&&(t=n+10,i=h(Ei(e.times(Ne(a,t+r)),t),t+5,1),+W(i.d).slice(n+1,n+15)+1==1e14&&(i=h(i,n+1,0)))),i.s=s,w=!0,l.rounding=o,h(i,n,o))};m.toPrecision=function(e,t){var r,n=this,i=n.constructor;return e===void 0?r=we(n,n.e<=i.toExpNeg||n.e>=i.toExpPos):(se(e,1,$e),t===void 0?t=i.rounding:se(t,0,8),n=h(new i(n),e,t),r=we(n,e<=n.e||n.e<=i.toExpNeg,e)),n.isNeg()&&!n.isZero()?"-"+r:r};m.toSignificantDigits=m.toSD=function(e,t){var r=this,n=r.constructor;return e===void 0?(e=n.precision,t=n.rounding):(se(e,1,$e),t===void 0?t=n.rounding:se(t,0,8)),h(new n(r),e,t)};m.toString=function(){var e=this,t=e.constructor,r=we(e,e.e<=t.toExpNeg||e.e>=t.toExpPos);return e.isNeg()&&!e.isZero()?"-"+r:r};m.truncated=m.trunc=function(){return h(new this.constructor(this),this.e+1,1)};m.valueOf=m.toJSON=function(){var e=this,t=e.constructor,r=we(e,e.e<=t.toExpNeg||e.e>=t.toExpPos);return e.isNeg()?"-"+r:r};function W(e){var t,r,n,i=e.length-1,o="",s=e[0];if(i>0){for(o+=s,t=1;tr)throw Error(Le+e)}function Jt(e,t,r,n){var i,o,s,a;for(o=e[0];o>=10;o/=10)--t;return--t<0?(t+=b,i=0):(i=Math.ceil((t+1)/b),t%=b),o=j(10,b-t),a=e[i]%o|0,n==null?t<3?(t==0?a=a/100|0:t==1&&(a=a/10|0),s=r<4&&a==99999||r>3&&a==49999||a==5e4||a==0):s=(r<4&&a+1==o||r>3&&a+1==o/2)&&(e[i+1]/o/100|0)==j(10,t-2)-1||(a==o/2||a==0)&&(e[i+1]/o/100|0)==0:t<4?(t==0?a=a/1e3|0:t==1?a=a/100|0:t==2&&(a=a/10|0),s=(n||r<4)&&a==9999||!n&&r>3&&a==4999):s=((n||r<4)&&a+1==o||!n&&r>3&&a+1==o/2)&&(e[i+1]/o/1e3|0)==j(10,t-3)-1,s}function Ur(e,t,r){for(var n,i=[0],o,s=0,a=e.length;sr-1&&(i[n+1]===void 0&&(i[n+1]=0),i[n+1]+=i[n]/r|0,i[n]%=r)}return i.reverse()}function gc(e,t){var r,n,i;if(t.isZero())return t;n=t.d.length,n<32?(r=Math.ceil(n/3),i=(1/Wr(4,r)).toString()):(r=16,i="2.3283064365386962890625e-10"),e.precision+=r,t=yt(e,1,t.times(i),new e(1));for(var o=r;o--;){var s=t.times(t);t=s.times(s).minus(s).times(8).plus(1)}return e.precision-=r,t}var D=function(){function e(n,i,o){var s,a=0,l=n.length;for(n=n.slice();l--;)s=n[l]*i+a,n[l]=s%o|0,a=s/o|0;return a&&n.unshift(a),n}function t(n,i,o,s){var a,l;if(o!=s)l=o>s?1:-1;else for(a=l=0;ai[a]?1:-1;break}return l}function r(n,i,o,s){for(var a=0;o--;)n[o]-=a,a=n[o]1;)n.shift()}return function(n,i,o,s,a,l){var u,c,p,d,f,y,g,P,T,C,x,M,ce,J,Ke,$,z,Ae,Y,tt,hr=n.constructor,An=n.s==i.s?1:-1,Z=n.d,k=i.d;if(!Z||!Z[0]||!k||!k[0])return new hr(!n.s||!i.s||(Z?k&&Z[0]==k[0]:!k)?NaN:Z&&Z[0]==0||!k?An*0:An/0);for(l?(f=1,c=n.e-i.e):(l=ge,f=b,c=ee(n.e/f)-ee(i.e/f)),Y=k.length,z=Z.length,T=new hr(An),C=T.d=[],p=0;k[p]==(Z[p]||0);p++);if(k[p]>(Z[p]||0)&&c--,o==null?(J=o=hr.precision,s=hr.rounding):a?J=o+(n.e-i.e)+1:J=o,J<0)C.push(1),y=!0;else{if(J=J/f+2|0,p=0,Y==1){for(d=0,k=k[0],J++;(p1&&(k=e(k,d,l),Z=e(Z,d,l),Y=k.length,z=Z.length),$=Y,x=Z.slice(0,Y),M=x.length;M=l/2&&++Ae;do d=0,u=t(k,x,Y,M),u<0?(ce=x[0],Y!=M&&(ce=ce*l+(x[1]||0)),d=ce/Ae|0,d>1?(d>=l&&(d=l-1),g=e(k,d,l),P=g.length,M=x.length,u=t(g,x,P,M),u==1&&(d--,r(g,Y=10;d/=10)p++;T.e=p+c*f-1,h(T,a?o+T.e+1:o,s,y)}return T}}();function h(e,t,r,n){var i,o,s,a,l,u,c,p,d,f=e.constructor;e:if(t!=null){if(p=e.d,!p)return e;for(i=1,a=p[0];a>=10;a/=10)i++;if(o=t-i,o<0)o+=b,s=t,c=p[d=0],l=c/j(10,i-s-1)%10|0;else if(d=Math.ceil((o+1)/b),a=p.length,d>=a)if(n){for(;a++<=d;)p.push(0);c=l=0,i=1,o%=b,s=o-b+1}else break e;else{for(c=a=p[d],i=1;a>=10;a/=10)i++;o%=b,s=o-b+i,l=s<0?0:c/j(10,i-s-1)%10|0}if(n=n||t<0||p[d+1]!==void 0||(s<0?c:c%j(10,i-s-1)),u=r<4?(l||n)&&(r==0||r==(e.s<0?3:2)):l>5||l==5&&(r==4||n||r==6&&(o>0?s>0?c/j(10,i-s):0:p[d-1])%10&1||r==(e.s<0?8:7)),t<1||!p[0])return p.length=0,u?(t-=e.e+1,p[0]=j(10,(b-t%b)%b),e.e=-t||0):p[0]=e.e=0,e;if(o==0?(p.length=d,a=1,d--):(p.length=d+1,a=j(10,b-o),p[d]=s>0?(c/j(10,i-s)%j(10,s)|0)*a:0),u)for(;;)if(d==0){for(o=1,s=p[0];s>=10;s/=10)o++;for(s=p[0]+=a,a=1;s>=10;s/=10)a++;o!=a&&(e.e++,p[0]==ge&&(p[0]=1));break}else{if(p[d]+=a,p[d]!=ge)break;p[d--]=0,a=1}for(o=p.length;p[--o]===0;)p.pop()}return w&&(e.e>f.maxE?(e.d=null,e.e=NaN):e.e0?o=o.charAt(0)+"."+o.slice(1)+_e(n):s>1&&(o=o.charAt(0)+"."+o.slice(1)),o=o+(e.e<0?"e":"e+")+e.e):i<0?(o="0."+_e(-i-1)+o,r&&(n=r-s)>0&&(o+=_e(n))):i>=s?(o+=_e(i+1-s),r&&(n=r-i-1)>0&&(o=o+"."+_e(n))):((n=i+1)0&&(i+1===s&&(o+="."),o+=_e(n))),o}function Hr(e,t){var r=e[0];for(t*=b;r>=10;r/=10)t++;return t}function Gr(e,t,r){if(t>fc)throw w=!0,r&&(e.precision=r),Error(Ts);return h(new e(Kr),t,1,!0)}function fe(e,t,r){if(t>bi)throw Error(Ts);return h(new e(Qr),t,r,!0)}function Rs(e){var t=e.length-1,r=t*b+1;if(t=e[t],t){for(;t%10==0;t/=10)r--;for(t=e[0];t>=10;t/=10)r++}return r}function _e(e){for(var t="";e--;)t+="0";return t}function Ss(e,t,r,n){var i,o=new e(1),s=Math.ceil(n/b+4);for(w=!1;;){if(r%2&&(o=o.times(t),ws(o.d,s)&&(i=!0)),r=ee(r/2),r===0){r=o.d.length-1,i&&o.d[r]===0&&++o.d[r];break}t=t.times(t),ws(t.d,s)}return w=!0,o}function Es(e){return e.d[e.d.length-1]&1}function Is(e,t,r){for(var n,i=new e(t[0]),o=0;++o17)return new d(e.d?e.d[0]?e.s<0?0:1/0:1:e.s?e.s<0?0:e:0/0);for(t==null?(w=!1,l=y):l=t,a=new d(.03125);e.e>-2;)e=e.times(a),p+=5;for(n=Math.log(j(2,p))/Math.LN10*2+5|0,l+=n,r=o=s=new d(1),d.precision=l;;){if(o=h(o.times(e),l,1),r=r.times(++c),a=s.plus(D(o,r,l,1)),W(a.d).slice(0,l)===W(s.d).slice(0,l)){for(i=p;i--;)s=h(s.times(s),l,1);if(t==null)if(u<3&&Jt(s.d,l-n,f,u))d.precision=l+=10,r=o=a=new d(1),c=0,u++;else return h(s,d.precision=y,f,w=!0);else return d.precision=y,s}s=a}}function Ne(e,t){var r,n,i,o,s,a,l,u,c,p,d,f=1,y=10,g=e,P=g.d,T=g.constructor,C=T.rounding,x=T.precision;if(g.s<0||!P||!P[0]||!g.e&&P[0]==1&&P.length==1)return new T(P&&!P[0]?-1/0:g.s!=1?NaN:P?0:g);if(t==null?(w=!1,c=x):c=t,T.precision=c+=y,r=W(P),n=r.charAt(0),Math.abs(o=g.e)<15e14){for(;n<7&&n!=1||n==1&&r.charAt(1)>3;)g=g.times(e),r=W(g.d),n=r.charAt(0),f++;o=g.e,n>1?(g=new T("0."+r),o++):g=new T(n+"."+r.slice(1))}else return u=Gr(T,c+2,x).times(o+""),g=Ne(new T(n+"."+r.slice(1)),c-y).plus(u),T.precision=x,t==null?h(g,x,C,w=!0):g;for(p=g,l=s=g=D(g.minus(1),g.plus(1),c,1),d=h(g.times(g),c,1),i=3;;){if(s=h(s.times(d),c,1),u=l.plus(D(s,new T(i),c,1)),W(u.d).slice(0,c)===W(l.d).slice(0,c))if(l=l.times(2),o!==0&&(l=l.plus(Gr(T,c+2,x).times(o+""))),l=D(l,new T(f),c,1),t==null)if(Jt(l.d,c-y,C,a))T.precision=c+=y,u=s=g=D(p.minus(1),p.plus(1),c,1),d=h(g.times(g),c,1),i=a=1;else return h(l,T.precision=x,C,w=!0);else return T.precision=x,l;l=u,i+=2}}function ks(e){return String(e.s*e.s/0)}function wi(e,t){var r,n,i;for((r=t.indexOf("."))>-1&&(t=t.replace(".","")),(n=t.search(/e/i))>0?(r<0&&(r=n),r+=+t.slice(n+1),t=t.substring(0,n)):r<0&&(r=t.length),n=0;t.charCodeAt(n)===48;n++);for(i=t.length;t.charCodeAt(i-1)===48;--i);if(t=t.slice(n,i),t){if(i-=n,e.e=r=r-n-1,e.d=[],n=(r+1)%b,r<0&&(n+=b),ne.constructor.maxE?(e.d=null,e.e=NaN):e.e-1){if(t=t.replace(/(\d)_(?=\d)/g,"$1"),Ms.test(t))return wi(e,t)}else if(t==="Infinity"||t==="NaN")return+t||(e.s=NaN),e.e=NaN,e.d=null,e;if(pc.test(t))r=16,t=t.toLowerCase();else if(cc.test(t))r=2;else if(dc.test(t))r=8;else throw Error(Le+t);for(o=t.search(/p/i),o>0?(l=+t.slice(o+1),t=t.substring(2,o)):t=t.slice(2),o=t.indexOf("."),s=o>=0,n=e.constructor,s&&(t=t.replace(".",""),a=t.length,o=a-o,i=Ss(n,new n(r),o,o*2)),u=Ur(t,r,ge),c=u.length-1,o=c;u[o]===0;--o)u.pop();return o<0?new n(e.s*0):(e.e=Hr(u,c),e.d=u,w=!1,s&&(e=D(e,i,a*4)),l&&(e=e.times(Math.abs(l)<54?j(2,l):ze.pow(2,l))),w=!0,e)}function hc(e,t){var r,n=t.d.length;if(n<3)return t.isZero()?t:yt(e,2,t,t);r=1.4*Math.sqrt(n),r=r>16?16:r|0,t=t.times(1/Wr(5,r)),t=yt(e,2,t,t);for(var i,o=new e(5),s=new e(16),a=new e(20);r--;)i=t.times(t),t=t.times(o.plus(i.times(s.times(i).minus(a))));return t}function yt(e,t,r,n,i){var o,s,a,l,u=1,c=e.precision,p=Math.ceil(c/b);for(w=!1,l=r.times(r),a=new e(n);;){if(s=D(a.times(l),new e(t++*t++),c,1),a=i?n.plus(s):n.minus(s),n=D(s.times(l),new e(t++*t++),c,1),s=a.plus(n),s.d[p]!==void 0){for(o=p;s.d[o]===a.d[o]&&o--;);if(o==-1)break}o=a,a=n,n=s,s=o,u++}return w=!0,s.d.length=p+1,s}function Wr(e,t){for(var r=e;--t;)r*=e;return r}function Fs(e,t){var r,n=t.s<0,i=fe(e,e.precision,1),o=i.times(.5);if(t=t.abs(),t.lte(o))return Re=n?4:1,t;if(r=t.divToInt(i),r.isZero())Re=n?3:2;else{if(t=t.minus(r.times(i)),t.lte(o))return Re=Es(r)?n?2:3:n?4:1,t;Re=Es(r)?n?1:4:n?3:2}return t.minus(i).abs()}function Pi(e,t,r,n){var i,o,s,a,l,u,c,p,d,f=e.constructor,y=r!==void 0;if(y?(se(r,1,$e),n===void 0?n=f.rounding:se(n,0,8)):(r=f.precision,n=f.rounding),!e.isFinite())c=ks(e);else{for(c=we(e),s=c.indexOf("."),y?(i=2,t==16?r=r*4-3:t==8&&(r=r*3-2)):i=t,s>=0&&(c=c.replace(".",""),d=new f(1),d.e=c.length-s,d.d=Ur(we(d),10,i),d.e=d.d.length),p=Ur(c,10,i),o=l=p.length;p[--l]==0;)p.pop();if(!p[0])c=y?"0p+0":"0";else{if(s<0?o--:(e=new f(e),e.d=p,e.e=o,e=D(e,d,r,n,0,i),p=e.d,o=e.e,u=vs),s=p[r],a=i/2,u=u||p[r+1]!==void 0,u=n<4?(s!==void 0||u)&&(n===0||n===(e.s<0?3:2)):s>a||s===a&&(n===4||u||n===6&&p[r-1]&1||n===(e.s<0?8:7)),p.length=r,u)for(;++p[--r]>i-1;)p[r]=0,r||(++o,p.unshift(1));for(l=p.length;!p[l-1];--l);for(s=0,c="";s1)if(t==16||t==8){for(s=t==16?4:3,--l;l%s;l++)c+="0";for(p=Ur(c,i,t),l=p.length;!p[l-1];--l);for(s=1,c="1.";sl)for(o-=l;o--;)c+="0";else ot)return e.length=t,!0}function xc(e){return new this(e).abs()}function bc(e){return new this(e).acos()}function Ec(e){return new this(e).acosh()}function wc(e,t){return new this(e).plus(t)}function Pc(e){return new this(e).asin()}function vc(e){return new this(e).asinh()}function Tc(e){return new this(e).atan()}function Cc(e){return new this(e).atanh()}function Ac(e,t){e=new this(e),t=new this(t);var r,n=this.precision,i=this.rounding,o=n+4;return!e.s||!t.s?r=new this(NaN):!e.d&&!t.d?(r=fe(this,o,1).times(t.s>0?.25:.75),r.s=e.s):!t.d||e.isZero()?(r=t.s<0?fe(this,n,i):new this(0),r.s=e.s):!e.d||t.isZero()?(r=fe(this,o,1).times(.5),r.s=e.s):t.s<0?(this.precision=o,this.rounding=1,r=this.atan(D(e,t,o,1)),t=fe(this,o,1),this.precision=n,this.rounding=i,r=e.s<0?r.minus(t):r.plus(t)):r=this.atan(D(e,t,o,1)),r}function Mc(e){return new this(e).cbrt()}function Rc(e){return h(e=new this(e),e.e+1,2)}function Sc(e,t,r){return new this(e).clamp(t,r)}function Ic(e){if(!e||typeof e!="object")throw Error(Jr+"Object expected");var t,r,n,i=e.defaults===!0,o=["precision",1,$e,"rounding",0,8,"toExpNeg",-gt,0,"toExpPos",0,gt,"maxE",0,gt,"minE",-gt,0,"modulo",0,9];for(t=0;t=o[t+1]&&n<=o[t+2])this[r]=n;else throw Error(Le+r+": "+n);if(r="crypto",i&&(this[r]=xi[r]),(n=e[r])!==void 0)if(n===!0||n===!1||n===0||n===1)if(n)if(typeof crypto<"u"&&crypto&&(crypto.getRandomValues||crypto.randomBytes))this[r]=!0;else throw Error(Cs);else this[r]=!1;else throw Error(Le+r+": "+n);return this}function kc(e){return new this(e).cos()}function Fc(e){return new this(e).cosh()}function Ds(e){var t,r,n;function i(o){var s,a,l,u=this;if(!(u instanceof i))return new i(o);if(u.constructor=i,Ps(o)){u.s=o.s,w?!o.d||o.e>i.maxE?(u.e=NaN,u.d=null):o.e=10;a/=10)s++;w?s>i.maxE?(u.e=NaN,u.d=null):s=429e7?t[o]=crypto.getRandomValues(new Uint32Array(1))[0]:a[o++]=i%1e7;else if(crypto.randomBytes){for(t=crypto.randomBytes(n*=4);o=214e7?crypto.randomBytes(4).copy(t,o):(a.push(i%1e7),o+=4);o=n/4}else throw Error(Cs);else for(;o=10;i/=10)n++;n`}};function xt(e){return e instanceof Ht}var zr=class{constructor(t){this.value=t}write(t){t.write(this.value)}markAsError(){this.value.markAsError()}};var Yr=e=>e,Zr={bold:Yr,red:Yr,green:Yr,dim:Yr,enabled:!1},Os={bold:ne,red:me,green:Ge,dim:Fe,enabled:!0},bt={write(e){e.writeLine(",")}};var ve=class{constructor(t){this.contents=t;this.isUnderlined=!1;this.color=t=>t}underline(){return this.isUnderlined=!0,this}setColor(t){return this.color=t,this}write(t){let r=t.getCurrentLineLength();t.write(this.color(this.contents)),this.isUnderlined&&t.afterNextNewline(()=>{t.write(" ".repeat(r)).writeLine(this.color("~".repeat(this.contents.length)))})}};var qe=class{constructor(){this.hasError=!1}markAsError(){return this.hasError=!0,this}};var Et=class extends qe{constructor(){super(...arguments);this.items=[]}addItem(r){return this.items.push(new zr(r)),this}getField(r){return this.items[r]}getPrintWidth(){return this.items.length===0?2:Math.max(...this.items.map(n=>n.value.getPrintWidth()))+2}write(r){if(this.items.length===0){this.writeEmpty(r);return}this.writeWithItems(r)}writeEmpty(r){let n=new ve("[]");this.hasError&&n.setColor(r.context.colors.red).underline(),r.write(n)}writeWithItems(r){let{colors:n}=r.context;r.writeLine("[").withIndent(()=>r.writeJoined(bt,this.items).newLine()).write("]"),this.hasError&&r.afterNextNewline(()=>{r.writeLine(n.red("~".repeat(this.getPrintWidth())))})}};var _s=": ",Xr=class{constructor(t,r){this.name=t;this.value=r;this.hasError=!1}markAsError(){this.hasError=!0}getPrintWidth(){return this.name.length+this.value.getPrintWidth()+_s.length}write(t){let r=new ve(this.name);this.hasError&&r.underline().setColor(t.context.colors.red),t.write(r).write(_s).write(this.value)}};var Q=class e extends qe{constructor(){super(...arguments);this.fields={};this.suggestions=[]}addField(r){this.fields[r.name]=r}addSuggestion(r){this.suggestions.push(r)}getField(r){return this.fields[r]}getDeepField(r){let[n,...i]=r,o=this.getField(n);if(!o)return;let s=o;for(let a of i){let l;if(s.value instanceof e?l=s.value.getField(a):s.value instanceof Et&&(l=s.value.getField(Number(a))),!l)return;s=l}return s}getDeepFieldValue(r){return r.length===0?this:this.getDeepField(r)?.value}hasField(r){return!!this.getField(r)}removeAllFields(){this.fields={}}removeField(r){delete this.fields[r]}getFields(){return this.fields}isEmpty(){return Object.keys(this.fields).length===0}getFieldValue(r){return this.getField(r)?.value}getDeepSubSelectionValue(r){let n=this;for(let i of r){if(!(n instanceof e))return;let o=n.getSubSelectionValue(i);if(!o)return;n=o}return n}getDeepSelectionParent(r){let n=this.getSelectionParent();if(!n)return;let i=n;for(let o of r){let s=i.value.getFieldValue(o);if(!s||!(s instanceof e))return;let a=s.getSelectionParent();if(!a)return;i=a}return i}getSelectionParent(){let r=this.getField("select");if(r?.value instanceof e)return{kind:"select",value:r.value};let n=this.getField("include");if(n?.value instanceof e)return{kind:"include",value:n.value}}getSubSelectionValue(r){return this.getSelectionParent()?.value.fields[r].value}getPrintWidth(){let r=Object.values(this.fields);return r.length==0?2:Math.max(...r.map(i=>i.getPrintWidth()))+2}write(r){let n=Object.values(this.fields);if(n.length===0&&this.suggestions.length===0){this.writeEmpty(r);return}this.writeWithContents(r,n)}writeEmpty(r){let n=new ve("{}");this.hasError&&n.setColor(r.context.colors.red).underline(),r.write(n)}writeWithContents(r,n){r.writeLine("{").withIndent(()=>{r.writeJoined(bt,[...n,...this.suggestions]).newLine()}),r.write("}"),this.hasError&&r.afterNextNewline(()=>{r.writeLine(r.context.colors.red("~".repeat(this.getPrintWidth())))})}};var G=class extends qe{constructor(r){super();this.text=r}getPrintWidth(){return this.text.length}write(r){let n=new ve(this.text);this.hasError&&n.underline().setColor(r.context.colors.red),r.write(n)}};var vi=class{constructor(t){this.errorMessages=[];this.arguments=t}write(t){t.write(this.arguments)}addErrorMessage(t){this.errorMessages.push(t)}renderAllMessages(t){return this.errorMessages.map(r=>r(t)).join(` +`)}};function en(e){return new vi(Ns(e))}function Ns(e){let t=new Q;for(let[r,n]of Object.entries(e)){let i=new Xr(r,Ls(n));t.addField(i)}return t}function Ls(e){if(typeof e=="string")return new G(JSON.stringify(e));if(typeof e=="number"||typeof e=="boolean")return new G(String(e));if(typeof e=="bigint")return new G(`${e}n`);if(e===null)return new G("null");if(e===void 0)return new G("undefined");if(ht(e))return new G(`new Prisma.Decimal("${e.toFixed()}")`);if(e instanceof Uint8Array)return Buffer.isBuffer(e)?new G(`Buffer.alloc(${e.byteLength})`):new G(`new Uint8Array(${e.byteLength})`);if(e instanceof Date){let t=Br(e)?e.toISOString():"Invalid Date";return new G(`new Date("${t}")`)}return e instanceof xe?new G(`Prisma.${e._getName()}`):xt(e)?new G(`prisma.${lo(e.modelName)}.$fields.${e.name}`):Array.isArray(e)?ip(e):typeof e=="object"?Ns(e):new G(Object.prototype.toString.call(e))}function ip(e){let t=new Et;for(let r of e)t.addItem(Ls(r));return t}function $s(e){if(e===void 0)return"";let t=en(e);return new mt(0,{colors:Zr}).write(t).toString()}var Wt="";function qs(e){var t=e.split(` +`);return t.reduce(function(r,n){var i=ap(n)||up(n)||dp(n)||yp(n)||fp(n);return i&&r.push(i),r},[])}var op=/^\s*at (.*?) ?\(((?:file|https?|blob|chrome-extension|native|eval|webpack||\/|[a-z]:\\|\\\\).*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,sp=/\((\S*)(?::(\d+))(?::(\d+))\)/;function ap(e){var t=op.exec(e);if(!t)return null;var r=t[2]&&t[2].indexOf("native")===0,n=t[2]&&t[2].indexOf("eval")===0,i=sp.exec(t[2]);return n&&i!=null&&(t[2]=i[1],t[3]=i[2],t[4]=i[3]),{file:r?null:t[2],methodName:t[1]||Wt,arguments:r?[t[2]]:[],lineNumber:t[3]?+t[3]:null,column:t[4]?+t[4]:null}}var lp=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i;function up(e){var t=lp.exec(e);return t?{file:t[2],methodName:t[1]||Wt,arguments:[],lineNumber:+t[3],column:t[4]?+t[4]:null}:null}var cp=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)((?:file|https?|blob|chrome|webpack|resource|\[native).*?|[^@]*bundle)(?::(\d+))?(?::(\d+))?\s*$/i,pp=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i;function dp(e){var t=cp.exec(e);if(!t)return null;var r=t[3]&&t[3].indexOf(" > eval")>-1,n=pp.exec(t[3]);return r&&n!=null&&(t[3]=n[1],t[4]=n[2],t[5]=null),{file:t[3],methodName:t[1]||Wt,arguments:t[2]?t[2].split(","):[],lineNumber:t[4]?+t[4]:null,column:t[5]?+t[5]:null}}var mp=/^\s*(?:([^@]*)(?:\((.*?)\))?@)?(\S.*?):(\d+)(?::(\d+))?\s*$/i;function fp(e){var t=mp.exec(e);return t?{file:t[3],methodName:t[1]||Wt,arguments:[],lineNumber:+t[4],column:t[5]?+t[5]:null}:null}var gp=/^\s*at (?:((?:\[object object\])?[^\\/]+(?: \[as \S+\])?) )?\(?(.*?):(\d+)(?::(\d+))?\)?\s*$/i;function yp(e){var t=gp.exec(e);return t?{file:t[2],methodName:t[1]||Wt,arguments:[],lineNumber:+t[3],column:t[4]?+t[4]:null}:null}var Ti=class{getLocation(){return null}},Ci=class{constructor(){this._error=new Error}getLocation(){let t=this._error.stack;if(!t)return null;let n=qs(t).find(i=>{if(!i.file)return!1;let o=ni(i.file);return o!==""&&!o.includes("@prisma")&&!o.includes("/packages/client/src/runtime/")&&!o.endsWith("/runtime/binary.js")&&!o.endsWith("/runtime/library.js")&&!o.endsWith("/runtime/edge.js")&&!o.endsWith("/runtime/edge-esm.js")&&!o.startsWith("internal/")&&!i.methodName.includes("new ")&&!i.methodName.includes("getCallSite")&&!i.methodName.includes("Proxy.")&&i.methodName.split(".").length<4});return!n||!n.file?null:{fileName:n.file,lineNumber:n.lineNumber,columnNumber:n.column}}};function Ve(e){return e==="minimal"?new Ti:new Ci}var Vs={_avg:!0,_count:!0,_sum:!0,_min:!0,_max:!0};function wt(e={}){let t=xp(e);return Object.entries(t).reduce((n,[i,o])=>(Vs[i]!==void 0?n.select[i]={select:o}:n[i]=o,n),{select:{}})}function xp(e={}){return typeof e._count=="boolean"?{...e,_count:{_all:e._count}}:e}function tn(e={}){return t=>(typeof e._count=="boolean"&&(t._count=t._count._all),t)}function js(e,t){let r=tn(e);return t({action:"aggregate",unpacker:r,argsMapper:wt})(e)}function bp(e={}){let{select:t,...r}=e;return typeof t=="object"?wt({...r,_count:t}):wt({...r,_count:{_all:!0}})}function Ep(e={}){return typeof e.select=="object"?t=>tn(e)(t)._count:t=>tn(e)(t)._count._all}function Bs(e,t){return t({action:"count",unpacker:Ep(e),argsMapper:bp})(e)}function wp(e={}){let t=wt(e);if(Array.isArray(t.by))for(let r of t.by)typeof r=="string"&&(t.select[r]=!0);else typeof t.by=="string"&&(t.select[t.by]=!0);return t}function Pp(e={}){return t=>(typeof e?._count=="boolean"&&t.forEach(r=>{r._count=r._count._all}),t)}function Us(e,t){return t({action:"groupBy",unpacker:Pp(e),argsMapper:wp})(e)}function Ks(e,t,r){if(t==="aggregate")return n=>js(n,r);if(t==="count")return n=>Bs(n,r);if(t==="groupBy")return n=>Us(n,r)}function Qs(e,t){let r=t.fields.filter(i=>!i.relationName),n=ci(r,i=>i.name);return new Proxy({},{get(i,o){if(o in i||typeof o=="symbol")return i[o];let s=n[o];if(s)return new Ht(e,o,s.type,s.isList,s.kind==="enum")},...jr(Object.keys(n))})}var Gs=e=>Array.isArray(e)?e:e.split("."),Ai=(e,t)=>Gs(t).reduce((r,n)=>r&&r[n],e),Js=(e,t,r)=>Gs(t).reduceRight((n,i,o,s)=>Object.assign({},Ai(e,s.slice(0,o)),{[i]:n}),r);function vp(e,t){return e===void 0||t===void 0?[]:[...t,"select",e]}function Tp(e,t,r){return t===void 0?e??{}:Js(t,r,e||!0)}function Mi(e,t,r,n,i,o){let a=e._runtimeDataModel.models[t].fields.reduce((l,u)=>({...l,[u.name]:u}),{});return l=>{let u=Ve(e._errorFormat),c=vp(n,i),p=Tp(l,o,c),d=r({dataPath:c,callsite:u})(p),f=Cp(e,t);return new Proxy(d,{get(y,g){if(!f.includes(g))return y[g];let T=[a[g].type,r,g],C=[c,p];return Mi(e,...T,...C)},...jr([...f,...Object.getOwnPropertyNames(d)])})}}function Cp(e,t){return e._runtimeDataModel.models[t].fields.filter(r=>r.kind==="object").map(r=>r.name)}var Xs=S(ii());var Zs=S(require("fs"));var Hs={keyword:De,entity:De,value:e=>ne(ot(e)),punctuation:ot,directive:De,function:De,variable:e=>ne(ot(e)),string:e=>ne(Ge(e)),boolean:he,number:De,comment:Tr};var Ap=e=>e,rn={},Mp=0,v={manual:rn.Prism&&rn.Prism.manual,disableWorkerMessageHandler:rn.Prism&&rn.Prism.disableWorkerMessageHandler,util:{encode:function(e){if(e instanceof ye){let t=e;return new ye(t.type,v.util.encode(t.content),t.alias)}else return Array.isArray(e)?e.map(v.util.encode):e.replace(/&/g,"&").replace(/e.length)return;if(Ae instanceof ye)continue;if(ce&&$!=t.length-1){C.lastIndex=z;var p=C.exec(e);if(!p)break;var c=p.index+(M?p[1].length:0),d=p.index+p[0].length,a=$,l=z;for(let k=t.length;a=l&&(++$,z=l);if(t[$]instanceof ye)continue;u=a-$,Ae=e.slice(z,l),p.index-=z}else{C.lastIndex=0;var p=C.exec(Ae),u=1}if(!p){if(o)break;continue}M&&(J=p[1]?p[1].length:0);var c=p.index+J,p=p[0].slice(J),d=c+p.length,f=Ae.slice(0,c),y=Ae.slice(d);let Y=[$,u];f&&(++$,z+=f.length,Y.push(f));let tt=new ye(g,x?v.tokenize(p,x):p,Ke,p,ce);if(Y.push(tt),y&&Y.push(y),Array.prototype.splice.apply(t,Y),u!=1&&v.matchGrammar(e,t,r,$,z,!0,g),o)break}}}},tokenize:function(e,t){let r=[e],n=t.rest;if(n){for(let i in n)t[i]=n[i];delete t.rest}return v.matchGrammar(e,r,t,0,0,!1),r},hooks:{all:{},add:function(e,t){let r=v.hooks.all;r[e]=r[e]||[],r[e].push(t)},run:function(e,t){let r=v.hooks.all[e];if(!(!r||!r.length))for(var n=0,i;i=r[n++];)i(t)}},Token:ye};v.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/((?:\b(?:class|interface|extends|implements|trait|instanceof|new)\s+)|(?:catch\s+\())[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:if|else|while|do|for|return|in|instanceof|function|new|try|throw|catch|finally|null|break|continue)\b/,boolean:/\b(?:true|false)\b/,function:/\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+\.?\d*|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/--?|\+\+?|!=?=?|<=?|>=?|==?=?|&&?|\|\|?|\?|\*|\/|~|\^|%/,punctuation:/[{}[\];(),.:]/};v.languages.javascript=v.languages.extend("clike",{"class-name":[v.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])[_$A-Z\xA0-\uFFFF][$\w\xA0-\uFFFF]*(?=\.(?:prototype|constructor))/,lookbehind:!0}],keyword:[{pattern:/((?:^|})\s*)(?:catch|finally)\b/,lookbehind:!0},{pattern:/(^|[^.])\b(?:as|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],number:/\b(?:(?:0[xX](?:[\dA-Fa-f](?:_[\dA-Fa-f])?)+|0[bB](?:[01](?:_[01])?)+|0[oO](?:[0-7](?:_[0-7])?)+)n?|(?:\d(?:_\d)?)+n|NaN|Infinity)\b|(?:\b(?:\d(?:_\d)?)+\.?(?:\d(?:_\d)?)*|\B\.(?:\d(?:_\d)?)+)(?:[Ee][+-]?(?:\d(?:_\d)?)+)?/,function:/[_$a-zA-Z\xA0-\uFFFF][$\w\xA0-\uFFFF]*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,operator:/-[-=]?|\+[+=]?|!=?=?|<>?>?=?|=(?:==?|>)?|&[&=]?|\|[|=]?|\*\*?=?|\/=?|~|\^=?|%=?|\?|\.{3}/});v.languages.javascript["class-name"][0].pattern=/(\b(?:class|interface|extends|implements|instanceof|new)\s+)[\w.\\]+/;v.languages.insertBefore("javascript","keyword",{regex:{pattern:/((?:^|[^$\w\xA0-\uFFFF."'\])\s])\s*)\/(\[(?:[^\]\\\r\n]|\\.)*]|\\.|[^/\\\[\r\n])+\/[gimyus]{0,6}(?=\s*($|[\r\n,.;})\]]))/,lookbehind:!0,greedy:!0},"function-variable":{pattern:/[_$a-zA-Z\xA0-\uFFFF][$\w\xA0-\uFFFF]*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|[_$a-zA-Z\xA0-\uFFFF][$\w\xA0-\uFFFF]*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+[_$A-Za-z\xA0-\uFFFF][$\w\xA0-\uFFFF]*)?\s*\(\s*)(?!\s)(?:[^()]|\([^()]*\))+?(?=\s*\))/,lookbehind:!0,inside:v.languages.javascript},{pattern:/[_$a-z\xA0-\uFFFF][$\w\xA0-\uFFFF]*(?=\s*=>)/i,inside:v.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()]|\([^()]*\))+?(?=\s*\)\s*=>)/,lookbehind:!0,inside:v.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:[_$A-Za-z\xA0-\uFFFF][$\w\xA0-\uFFFF]*\s*)\(\s*)(?!\s)(?:[^()]|\([^()]*\))+?(?=\s*\)\s*\{)/,lookbehind:!0,inside:v.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/});v.languages.markup&&v.languages.markup.tag.addInlined("script","javascript");v.languages.js=v.languages.javascript;v.languages.typescript=v.languages.extend("javascript",{keyword:/\b(?:abstract|as|async|await|break|case|catch|class|const|constructor|continue|debugger|declare|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|is|keyof|let|module|namespace|new|null|of|package|private|protected|public|readonly|return|require|set|static|super|switch|this|throw|try|type|typeof|var|void|while|with|yield)\b/,builtin:/\b(?:string|Function|any|number|boolean|Array|symbol|console|Promise|unknown|never)\b/});v.languages.ts=v.languages.typescript;function ye(e,t,r,n,i){this.type=e,this.content=t,this.alias=r,this.length=(n||"").length|0,this.greedy=!!i}ye.stringify=function(e,t){return typeof e=="string"?e:Array.isArray(e)?e.map(function(r){return ye.stringify(r,t)}).join(""):Rp(e.type)(e.content)};function Rp(e){return Hs[e]||Ap}function Ws(e){return Sp(e,v.languages.javascript)}function Sp(e,t){return v.tokenize(e,t).map(n=>ye.stringify(n)).join("")}var zs=S(es());function Ys(e){return(0,zs.default)(e)}var nn=class e{static read(t){let r;try{r=Zs.default.readFileSync(t,"utf-8")}catch{return null}return e.fromContent(r)}static fromContent(t){let r=t.split(/\r?\n/);return new e(1,r)}constructor(t,r){this.firstLineNumber=t,this.lines=r}get lastLineNumber(){return this.firstLineNumber+this.lines.length-1}mapLineAt(t,r){if(tthis.lines.length+this.firstLineNumber)return this;let n=t-this.firstLineNumber,i=[...this.lines];return i[n]=r(i[n]),new e(this.firstLineNumber,i)}mapLines(t){return new e(this.firstLineNumber,this.lines.map((r,n)=>t(r,this.firstLineNumber+n)))}lineAt(t){return this.lines[t-this.firstLineNumber]}prependSymbolAt(t,r){return this.mapLines((n,i)=>i===t?`${r} ${n}`:` ${n}`)}slice(t,r){let n=this.lines.slice(t-1,r).join(` +`);return new e(t,Ys(n).split(` +`))}highlight(){let t=Ws(this.toString());return new e(this.firstLineNumber,t.split(` +`))}toString(){return this.lines.join(` +`)}};var Ip={red:me,gray:Tr,dim:Fe,bold:ne,underline:te,highlightSource:e=>e.highlight()},kp={red:e=>e,gray:e=>e,dim:e=>e,bold:e=>e,underline:e=>e,highlightSource:e=>e};function Fp({callsite:e,message:t,originalMethod:r,isPanic:n,callArguments:i},o){let s={functionName:`prisma.${r}()`,message:t,isPanic:n??!1,callArguments:i};if(!e||typeof window<"u"||process.env.NODE_ENV==="production")return s;let a=e.getLocation();if(!a||!a.lineNumber||!a.columnNumber)return s;let l=Math.max(1,a.lineNumber-3),u=nn.read(a.fileName)?.slice(l,a.lineNumber),c=u?.lineAt(a.lineNumber);if(u&&c){let p=Op(c),d=Dp(c);if(!d)return s;s.functionName=`${d.code})`,s.location=a,n||(u=u.mapLineAt(a.lineNumber,y=>y.slice(0,d.openingBraceIndex))),u=o.highlightSource(u);let f=String(u.lastLineNumber).length;if(s.contextLines=u.mapLines((y,g)=>o.gray(String(g).padStart(f))+" "+y).mapLines(y=>o.dim(y)).prependSymbolAt(a.lineNumber,o.bold(o.red("\u2192"))),i){let y=p+f+1;y+=2,s.callArguments=(0,Xs.default)(i,y).slice(y)}}return s}function Dp(e){let t=Object.keys(pe.ModelAction).join("|"),n=new RegExp(String.raw`\.(${t})\(`).exec(e);if(n){let i=n.index+n[0].length,o=e.lastIndexOf(" ",n.index)+1;return{code:e.slice(o,i),openingBraceIndex:i}}return null}function Op(e){let t=0;for(let r=0;r{if("rejectOnNotFound"in n.args){let o=Pt({originalMethod:n.clientMethod,callsite:n.callsite,message:"'rejectOnNotFound' option is not supported"});throw new X(o,{clientVersion:t})}return await r(n).catch(o=>{throw o instanceof U&&o.code==="P2025"?new Me(`No ${e} found`,t):o})}}function Te(e){return e.replace(/^./,t=>t.toLowerCase())}var $p=["findUnique","findUniqueOrThrow","findFirst","findFirstOrThrow","create","update","upsert","delete"],qp=["aggregate","count","groupBy"];function Ri(e,t){let r=e._extensions.getAllModelExtensions(t)??{},n=[Vp(e,t),Bp(e,t),Qt(r),re("name",()=>t),re("$name",()=>t),re("$parent",()=>e._appliedParent)];return Ee({},n)}function Vp(e,t){let r=Te(t),n=Object.keys(pe.ModelAction).concat("count");return{getKeys(){return n},getPropertyValue(i){let o=i,s=l=>e._request(l);s=ea(o,t,e._clientVersion,s);let a=l=>u=>{let c=Ve(e._errorFormat);return e._createPrismaPromise(p=>{let d={args:u,dataPath:[],action:o,model:t,clientMethod:`${r}.${i}`,jsModelName:r,transaction:p,callsite:c};return s({...d,...l})})};return $p.includes(o)?Mi(e,t,a):jp(i)?Ks(e,i,a):a({})}}}function jp(e){return qp.includes(e)}function Bp(e,t){return We(re("fields",()=>{let r=e._runtimeDataModel.models[t];return Qs(t,r)}))}function ta(e){return e.replace(/^./,t=>t.toUpperCase())}var Si=Symbol();function zt(e){let t=[Up(e),re(Si,()=>e),re("$parent",()=>e._appliedParent)],r=e._extensions.getAllClientExtensions();return r&&t.push(Qt(r)),Ee(e,t)}function Up(e){let t=Object.keys(e._runtimeDataModel.models),r=t.map(Te),n=[...new Set(t.concat(r))];return We({getKeys(){return n},getPropertyValue(i){let o=ta(i);if(e._runtimeDataModel.models[o]!==void 0)return Ri(e,o);if(e._runtimeDataModel.models[i]!==void 0)return Ri(e,i)},getPropertyDescriptor(i){if(!r.includes(i))return{enumerable:!1}}})}function on(e){return e[Si]?e[Si]:e}function ra(e){if(typeof e=="function")return e(this);let t=on(this),r=Object.create(t,{_extensions:{value:this._extensions.append(e)},_appliedParent:{value:this,configurable:!0},$use:{value:void 0},$on:{value:void 0}});return zt(r)}function na({result:e,modelName:t,select:r,extensions:n}){let i=n.getAllComputedFields(t);if(!i)return e;let o=[],s=[];for(let a of Object.values(i)){if(r){if(!r[a.name])continue;let l=a.needs.filter(u=>!r[u]);l.length>0&&s.push(Gt(l))}Kp(e,a.needs)&&o.push(Qp(a,Ee(e,o)))}return o.length>0||s.length>0?Ee(e,[...o,...s]):e}function Kp(e,t){return t.every(r=>ui(e,r))}function Qp(e,t){return We(re(e.name,()=>e.compute(t)))}function sn({visitor:e,result:t,args:r,runtimeDataModel:n,modelName:i}){if(Array.isArray(t)){for(let s=0;sc.name===o);if(!l||l.kind!=="object"||!l.relationName)continue;let u=typeof s=="object"?s:{};t[o]=sn({visitor:i,result:t[o],args:u,modelName:l.type,runtimeDataModel:n})}}function oa({result:e,modelName:t,args:r,extensions:n,runtimeDataModel:i}){return n.isEmpty()||e==null||typeof e!="object"||!i.models[t]?e:sn({result:e,args:r??{},modelName:t,runtimeDataModel:i,visitor:(s,a,l)=>na({result:s,modelName:Te(a),select:l.select,extensions:n})})}function sa(e){if(e instanceof oe)return Gp(e);if(Array.isArray(e)){let r=[e[0]];for(let n=1;n{let o=t.customDataProxyFetch;return"transaction"in t&&i!==void 0&&(t.transaction?.kind==="batch"&&t.transaction.lock.then(),t.transaction=i),n===r.length?e._executeRequest(t):r[n]({model:t.model,operation:t.model?t.action:t.clientMethod,args:sa(t.args??{}),__internalParams:t,query:(s,a=t)=>{let l=a.customDataProxyFetch;return a.customDataProxyFetch=da(o,l),a.args=s,la(e,a,r,n+1)}})})}function ua(e,t){let{jsModelName:r,action:n,clientMethod:i}=t,o=r?n:i;if(e._extensions.isEmpty())return e._executeRequest(t);let s=e._extensions.getAllQueryCallbacks(r??"$none",o);return la(e,t,s)}function ca(e){return t=>{let r={requests:t},n=t[0].extensions.getAllBatchQueryCallbacks();return n.length?pa(r,n,0,e):e(r)}}function pa(e,t,r,n){if(r===t.length)return n(e);let i=e.customDataProxyFetch,o=e.requests[0].transaction;return t[r]({args:{queries:e.requests.map(s=>({model:s.modelName,operation:s.action,args:s.args})),transaction:o?{isolationLevel:o.kind==="batch"?o.isolationLevel:void 0}:void 0},__internalParams:e,query(s,a=e){let l=a.customDataProxyFetch;return a.customDataProxyFetch=da(i,l),pa(a,t,r+1,n)}})}var aa=e=>e;function da(e=aa,t=aa){return r=>e(t(r))}function fa(e,t,r){let n=Te(r);return!t.result||!(t.result.$allModels||t.result[n])?e:Jp({...e,...ma(t.name,e,t.result.$allModels),...ma(t.name,e,t.result[n])})}function Jp(e){let t=new be,r=(n,i)=>t.getOrCreate(n,()=>i.has(n)?[n]:(i.add(n),e[n]?e[n].needs.flatMap(o=>r(o,i)):[n]));return pt(e,n=>({...n,needs:r(n.name,new Set)}))}function ma(e,t,r){return r?pt(r,({needs:n,compute:i},o)=>({name:o,needs:n?Object.keys(n).filter(s=>n[s]):[],compute:Hp(t,o,i)})):{}}function Hp(e,t,r){let n=e?.[t]?.compute;return n?i=>r({...i,[t]:n(i)}):r}function ga(e,t){if(!t)return e;let r={...e};for(let n of Object.values(t))if(e[n.name])for(let i of n.needs)r[i]=!0;return r}var an=class{constructor(t,r){this.extension=t;this.previous=r;this.computedFieldsCache=new be;this.modelExtensionsCache=new be;this.queryCallbacksCache=new be;this.clientExtensions=Vt(()=>this.extension.client?{...this.previous?.getAllClientExtensions(),...this.extension.client}:this.previous?.getAllClientExtensions());this.batchCallbacks=Vt(()=>{let t=this.previous?.getAllBatchQueryCallbacks()??[],r=this.extension.query?.$__internalBatch;return r?t.concat(r):t})}getAllComputedFields(t){return this.computedFieldsCache.getOrCreate(t,()=>fa(this.previous?.getAllComputedFields(t),this.extension,t))}getAllClientExtensions(){return this.clientExtensions.get()}getAllModelExtensions(t){return this.modelExtensionsCache.getOrCreate(t,()=>{let r=Te(t);return!this.extension.model||!(this.extension.model[r]||this.extension.model.$allModels)?this.previous?.getAllModelExtensions(t):{...this.previous?.getAllModelExtensions(t),...this.extension.model.$allModels,...this.extension.model[r]}})}getAllQueryCallbacks(t,r){return this.queryCallbacksCache.getOrCreate(`${t}:${r}`,()=>{let n=this.previous?.getAllQueryCallbacks(t,r)??[],i=[],o=this.extension.query;return!o||!(o[t]||o.$allModels||o[r]||o.$allOperations)?n:(o[t]!==void 0&&(o[t][r]!==void 0&&i.push(o[t][r]),o[t].$allOperations!==void 0&&i.push(o[t].$allOperations)),t!=="$none"&&o.$allModels!==void 0&&(o.$allModels[r]!==void 0&&i.push(o.$allModels[r]),o.$allModels.$allOperations!==void 0&&i.push(o.$allModels.$allOperations)),o[r]!==void 0&&i.push(o[r]),o.$allOperations!==void 0&&i.push(o.$allOperations),n.concat(i))})}getAllBatchQueryCallbacks(){return this.batchCallbacks.get()}},ln=class e{constructor(t){this.head=t}static empty(){return new e}static single(t){return new e(new an(t))}isEmpty(){return this.head===void 0}append(t){return new e(new an(t,this.head))}getAllComputedFields(t){return this.head?.getAllComputedFields(t)}getAllClientExtensions(){return this.head?.getAllClientExtensions()}getAllModelExtensions(t){return this.head?.getAllModelExtensions(t)}getAllQueryCallbacks(t,r){return this.head?.getAllQueryCallbacks(t,r)??[]}getAllBatchQueryCallbacks(){return this.head?.getAllBatchQueryCallbacks()??[]}};var ya=O("prisma:client"),ha={Vercel:"vercel","Netlify CI":"netlify"};function xa({postinstall:e,ciName:t,clientVersion:r}){if(ya("checkPlatformCaching:postinstall",e),ya("checkPlatformCaching:ciName",t),e===!0&&t&&t in ha){let n=`Prisma has detected that this project was built on ${t}, which caches dependencies. This leads to an outdated Prisma Client because Prisma's auto-generation isn't triggered. To fix this, make sure to run the \`prisma generate\` command during the build process. + +Learn how: https://pris.ly/d/${ha[t]}-build`;throw console.error(n),new F(n,r)}}function ba(e,t){return e?e.datasources?e.datasources:e.datasourceUrl?{[t[0]]:{url:e.datasourceUrl}}:{}:{}}function Zt({error:e,user_facing_error:t},r){return t.error_code?new U(t.message,{code:t.error_code,clientVersion:r,meta:t.meta,batchRequestIdx:t.batch_request_idx}):new K(e,{clientVersion:r,batchRequestIdx:t.batch_request_idx})}var vt=class{};var Ta=S(require("fs")),Xt=S(require("path"));function un(e){let{runtimeBinaryTarget:t}=e;return`Add "${t}" to \`binaryTargets\` in the "schema.prisma" file and run \`prisma generate\` after saving it: + +${Wp(e)}`}function Wp(e){let{generator:t,generatorBinaryTargets:r,runtimeBinaryTarget:n}=e,i={fromEnvVar:null,value:n},o=[...r,i];return si({...t,binaryTargets:o})}function je(e){let{runtimeBinaryTarget:t}=e;return`Prisma Client could not locate the Query Engine for runtime "${t}".`}function Be(e){let{searchedLocations:t}=e;return`The following locations have been searched: +${[...new Set(t)].map(i=>` ${i}`).join(` +`)}`}function Ea(e){let{runtimeBinaryTarget:t}=e;return`${je(e)} + +This happened because \`binaryTargets\` have been pinned, but the actual deployment also required "${t}". +${un(e)} + +${Be(e)}`}function cn(e){return`We would appreciate if you could take the time to share some information with us. +Please help us by answering a few questions: https://pris.ly/${e}`}function wa(e){let{queryEngineName:t}=e;return`${je(e)} + +This is likely caused by a bundler that has not copied "${t}" next to the resulting bundle. +Ensure that "${t}" has been copied next to the bundle or in "${e.expectedLocation}". + +${cn("engine-not-found-bundler-investigation")} + +${Be(e)}`}function Pa(e){let{runtimeBinaryTarget:t,generatorBinaryTargets:r}=e,n=r.find(i=>i.native);return`${je(e)} + +This happened because Prisma Client was generated for "${n?.value??"unknown"}", but the actual deployment required "${t}". +${un(e)} + +${Be(e)}`}function va(e){let{queryEngineName:t}=e;return`${je(e)} + +This is likely caused by tooling that has not copied "${t}" to the deployment folder. +Ensure that you ran \`prisma generate\` and that "${t}" has been copied to "${e.expectedLocation}". + +${cn("engine-not-found-tooling-investigation")} + +${Be(e)}`}var zp=O("prisma:client:engines:resolveEnginePath"),Yp=()=>new RegExp("runtime[\\\\/]library\\.m?js$");async function Ca(e,t){let r={binary:process.env.PRISMA_QUERY_ENGINE_BINARY,library:process.env.PRISMA_QUERY_ENGINE_LIBRARY}[e]??t.prismaPath;if(r!==void 0)return r;let{enginePath:n,searchedLocations:i}=await Zp(e,t);if(zp("enginePath",n),n!==void 0&&e==="binary"&&ti(n),n!==void 0)return t.prismaPath=n;let o=await ut(),s=t.generator?.binaryTargets??[],a=s.some(d=>d.native),l=!s.some(d=>d.value===o),u=__filename.match(Yp())===null,c={searchedLocations:i,generatorBinaryTargets:s,generator:t.generator,runtimeBinaryTarget:o,queryEngineName:Aa(e,o),expectedLocation:Xt.default.relative(process.cwd(),t.dirname)},p;throw a&&l?p=Pa(c):l?p=Ea(c):u?p=wa(c):p=va(c),new F(p,t.clientVersion)}async function Zp(engineType,config){let binaryTarget=await ut(),searchedLocations=[],dirname=eval("__dirname"),searchLocations=[config.dirname,Xt.default.resolve(dirname,".."),config.generator?.output?.value??dirname,Xt.default.resolve(dirname,"../../../.prisma/client"),"/tmp/prisma-engines",config.cwd];__filename.includes("resolveEnginePath")&&searchLocations.push(rs());for(let e of searchLocations){let t=Aa(engineType,binaryTarget),r=Xt.default.join(e,t);if(searchedLocations.push(e),Ta.default.existsSync(r))return{enginePath:r,searchedLocations}}return{enginePath:void 0,searchedLocations}}function Aa(e,t){return e==="library"?jn(t,"fs"):`query-engine-${t}${t==="windows"?".exe":""}`}function pn(e,t){return{batch:e,transaction:t?.kind==="batch"?{isolationLevel:t.options.isolationLevel}:void 0}}var Ii=S(li());function Ma(e){return e?e.replace(/".*"/g,'"X"').replace(/[\s:\[]([+-]?([0-9]*[.])?[0-9]+)/g,t=>`${t[0]}5`):""}function Ra(e){return e.split(` +`).map(t=>t.replace(/^\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+([+-][0-2]\d:[0-5]\d|Z)\s*/,"").replace(/\+\d+\s*ms$/,"")).join(` +`)}var Sa=S(cs());function Ia({title:e,user:t="prisma",repo:r="prisma",template:n="bug_report.md",body:i}){return(0,Sa.default)({user:t,repo:r,template:n,title:e,body:i})}function ka({version:e,platform:t,title:r,description:n,engineVersion:i,database:o,query:s}){let a=bo(6e3-(s?.length??0)),l=Ra((0,Ii.default)(a)),u=n?`# Description +\`\`\` +${n} +\`\`\``:"",c=(0,Ii.default)(`Hi Prisma Team! My Prisma Client just crashed. This is the report: +## Versions + +| Name | Version | +|-----------------|--------------------| +| Node | ${process.version?.padEnd(19)}| +| OS | ${t?.padEnd(19)}| +| Prisma Client | ${e?.padEnd(19)}| +| Query Engine | ${i?.padEnd(19)}| +| Database | ${o?.padEnd(19)}| + +${u} + +## Logs +\`\`\` +${l} +\`\`\` + +## Client Snippet +\`\`\`ts +// PLEASE FILL YOUR CODE SNIPPET HERE +\`\`\` + +## Schema +\`\`\`prisma +// PLEASE ADD YOUR SCHEMA HERE IF POSSIBLE +\`\`\` + +## Prisma Engine Query +\`\`\` +${s?Ma(s):""} +\`\`\` +`),p=Ia({title:r,body:c});return`${r} + +This is a non-recoverable error which probably happens when the Prisma Query Engine has a panic. + +${te(p)} + +If you want the Prisma team to look into it, please open the link above \u{1F64F} +To increase the chance of success, please post your schema and a snippet of +how you used Prisma Client in the issue. +`}function dn({inlineDatasources:e,overrideDatasources:t,env:r,clientVersion:n}){let i,o=Object.keys(e)[0],s=e[o]?.url,a=t[o]?.url;if(o===void 0?i=void 0:a?i=a:s?.value?i=s.value:s?.fromEnvVar&&(i=r[s.fromEnvVar]),s?.fromEnvVar!==void 0&&i===void 0)throw new F(`error: Environment variable not found: ${s.fromEnvVar}.`,n);if(i===void 0)throw new F("error: Missing URL environment variable, value, or override.",n);return i}var mn=class extends Error{constructor(r,n){super(r);this.clientVersion=n.clientVersion,this.cause=n.cause}get[Symbol.toStringTag](){return this.name}};var ae=class extends mn{constructor(r,n){super(r,n);this.isRetryable=n.isRetryable??!0}};function R(e,t){return{...e,isRetryable:t}}var Tt=class extends ae{constructor(r){super("This request must be retried",R(r,!0));this.name="ForcedRetryError";this.code="P5001"}};E(Tt,"ForcedRetryError");var Ye=class extends ae{constructor(r,n){super(r,R(n,!1));this.name="InvalidDatasourceError";this.code="P5002"}};E(Ye,"InvalidDatasourceError");var Ze=class extends ae{constructor(r,n){super(r,R(n,!1));this.name="NotImplementedYetError";this.code="P5004"}};E(Ze,"NotImplementedYetError");var L=class extends ae{constructor(r,n){super(r,n);this.response=n.response;let i=this.response.headers.get("prisma-request-id");if(i){let o=`(The request id was: ${i})`;this.message=this.message+" "+o}}};var Xe=class extends L{constructor(r){super("Schema needs to be uploaded",R(r,!0));this.name="SchemaMissingError";this.code="P5005"}};E(Xe,"SchemaMissingError");var ki="This request could not be understood by the server",er=class extends L{constructor(r,n,i){super(n||ki,R(r,!1));this.name="BadRequestError";this.code="P5000";i&&(this.code=i)}};E(er,"BadRequestError");var tr=class extends L{constructor(r,n){super("Engine not started: healthcheck timeout",R(r,!0));this.name="HealthcheckTimeoutError";this.code="P5013";this.logs=n}};E(tr,"HealthcheckTimeoutError");var rr=class extends L{constructor(r,n,i){super(n,R(r,!0));this.name="EngineStartupError";this.code="P5014";this.logs=i}};E(rr,"EngineStartupError");var nr=class extends L{constructor(r){super("Engine version is not supported",R(r,!1));this.name="EngineVersionNotSupportedError";this.code="P5012"}};E(nr,"EngineVersionNotSupportedError");var Fi="Request timed out",ir=class extends L{constructor(r,n=Fi){super(n,R(r,!1));this.name="GatewayTimeoutError";this.code="P5009"}};E(ir,"GatewayTimeoutError");var Xp="Interactive transaction error",or=class extends L{constructor(r,n=Xp){super(n,R(r,!1));this.name="InteractiveTransactionError";this.code="P5015"}};E(or,"InteractiveTransactionError");var ed="Request parameters are invalid",sr=class extends L{constructor(r,n=ed){super(n,R(r,!1));this.name="InvalidRequestError";this.code="P5011"}};E(sr,"InvalidRequestError");var Di="Requested resource does not exist",ar=class extends L{constructor(r,n=Di){super(n,R(r,!1));this.name="NotFoundError";this.code="P5003"}};E(ar,"NotFoundError");var Oi="Unknown server error",Ct=class extends L{constructor(r,n,i){super(n||Oi,R(r,!0));this.name="ServerError";this.code="P5006";this.logs=i}};E(Ct,"ServerError");var _i="Unauthorized, check your connection string",lr=class extends L{constructor(r,n=_i){super(n,R(r,!1));this.name="UnauthorizedError";this.code="P5007"}};E(lr,"UnauthorizedError");var Ni="Usage exceeded, retry again later",ur=class extends L{constructor(r,n=Ni){super(n,R(r,!0));this.name="UsageExceededError";this.code="P5008"}};E(ur,"UsageExceededError");async function td(e){let t;try{t=await e.text()}catch{return{type:"EmptyError"}}try{let r=JSON.parse(t);if(typeof r=="string")switch(r){case"InternalDataProxyError":return{type:"DataProxyError",body:r};default:return{type:"UnknownTextError",body:r}}if(typeof r=="object"&&r!==null){if("is_panic"in r&&"message"in r&&"error_code"in r)return{type:"QueryEngineError",body:r};if("EngineNotStarted"in r||"InteractiveTransactionMisrouted"in r||"InvalidRequestError"in r){let n=Object.values(r)[0].reason;return typeof n=="string"&&!["SchemaMissing","EngineVersionNotSupported"].includes(n)?{type:"UnknownJsonError",body:r}:{type:"DataProxyError",body:r}}}return{type:"UnknownJsonError",body:r}}catch{return t===""?{type:"EmptyError"}:{type:"UnknownTextError",body:t}}}async function cr(e,t){if(e.ok)return;let r={clientVersion:t,response:e},n=await td(e);if(n.type==="QueryEngineError")throw new U(n.body.message,{code:n.body.error_code,clientVersion:t});if(n.type==="DataProxyError"){if(n.body==="InternalDataProxyError")throw new Ct(r,"Internal Data Proxy error");if("EngineNotStarted"in n.body){if(n.body.EngineNotStarted.reason==="SchemaMissing")return new Xe(r);if(n.body.EngineNotStarted.reason==="EngineVersionNotSupported")throw new nr(r);if("EngineStartupError"in n.body.EngineNotStarted.reason){let{msg:i,logs:o}=n.body.EngineNotStarted.reason.EngineStartupError;throw new rr(r,i,o)}if("KnownEngineStartupError"in n.body.EngineNotStarted.reason){let{msg:i,error_code:o}=n.body.EngineNotStarted.reason.KnownEngineStartupError;throw new F(i,t,o)}if("HealthcheckTimeout"in n.body.EngineNotStarted.reason){let{logs:i}=n.body.EngineNotStarted.reason.HealthcheckTimeout;throw new tr(r,i)}}if("InteractiveTransactionMisrouted"in n.body){let i={IDParseError:"Could not parse interactive transaction ID",NoQueryEngineFoundError:"Could not find Query Engine for the specified host and transaction ID",TransactionStartError:"Could not start interactive transaction"};throw new or(r,i[n.body.InteractiveTransactionMisrouted.reason])}if("InvalidRequestError"in n.body)throw new sr(r,n.body.InvalidRequestError.reason)}if(e.status===401||e.status===403)throw new lr(r,At(_i,n));if(e.status===404)return new ar(r,At(Di,n));if(e.status===429)throw new ur(r,At(Ni,n));if(e.status===504)throw new ir(r,At(Fi,n));if(e.status>=500)throw new Ct(r,At(Oi,n));if(e.status>=400)throw new er(r,At(ki,n))}function At(e,t){return t.type==="EmptyError"?e:`${e}: ${JSON.stringify(t)}`}function Fa(e){let t=Math.pow(2,e)*50,r=Math.ceil(Math.random()*t)-Math.ceil(t/2),n=t+r;return new Promise(i=>setTimeout(()=>i(n),n))}function Da(e){if(!!e.generator?.previewFeatures.some(r=>r.toLowerCase().includes("metrics")))throw new F("The `metrics` preview feature is not yet available with Accelerate.\nPlease remove `metrics` from the `previewFeatures` in your schema.\n\nMore information about Accelerate: https://pris.ly/d/accelerate",e.clientVersion)}var Oa={"@prisma/debug":"workspace:*","@prisma/engines-version":"5.5.1-1.aebc046ce8b88ebbcb45efe31cbe7d06fd6abc0a","@prisma/fetch-engine":"workspace:*","@prisma/get-platform":"workspace:*","@swc/core":"1.3.95","@swc/jest":"0.2.29","@types/jest":"29.5.5","@types/node":"18.18.3",execa:"5.1.1",jest:"29.7.0",typescript:"5.2.2"};var pr=class extends ae{constructor(r,n){super(`Cannot fetch data from service: +${r}`,R(n,!0));this.name="RequestError";this.code="P5010"}};E(pr,"RequestError");async function et(e,t,r=n=>n){let n=t.clientVersion;try{return typeof fetch=="function"?await r(fetch)(e,t):await r(Li)(e,t)}catch(i){console.log(e);let o=i.message??"Unknown error";throw new pr(o,{clientVersion:n})}}function nd(e){return{...e.headers,"Content-Type":"application/json"}}function id(e){return{method:e.method,headers:nd(e)}}function od(e,t){return{text:()=>Promise.resolve(Buffer.concat(e).toString()),json:()=>Promise.resolve().then(()=>JSON.parse(Buffer.concat(e).toString())),ok:t.statusCode>=200&&t.statusCode<=299,status:t.statusCode,url:t.url,headers:new $i(t.headers)}}async function Li(e,t={}){let r=sd("https"),n=id(t),i=[],{origin:o}=new URL(e);return new Promise((s,a)=>{let l=r.request(e,n,u=>{let{statusCode:c,headers:{location:p}}=u;c>=301&&c<=399&&p&&(p.startsWith("http")===!1?s(Li(`${o}${p}`,t)):s(Li(p,t))),u.on("data",d=>i.push(d)),u.on("end",()=>s(od(i,u))),u.on("error",a)});l.on("error",a),l.end(t.body??"")})}var sd=typeof require<"u"?require:()=>{},$i=class{constructor(t={}){this.headers=new Map;for(let[r,n]of Object.entries(t))if(typeof n=="string")this.headers.set(r,n);else if(Array.isArray(n))for(let i of n)this.headers.set(r,i)}append(t,r){this.headers.set(t,r)}delete(t){this.headers.delete(t)}get(t){return this.headers.get(t)??null}has(t){return this.headers.has(t)}set(t,r){this.headers.set(t,r)}forEach(t,r){for(let[n,i]of this.headers)t.call(r,i,n,this)}};var ad=/^[1-9][0-9]*\.[0-9]+\.[0-9]+$/,_a=O("prisma:client:dataproxyEngine");async function ld(e,t){let r=Oa["@prisma/engines-version"],n=t.clientVersion??"unknown";if(process.env.PRISMA_CLIENT_DATA_PROXY_CLIENT_VERSION)return process.env.PRISMA_CLIENT_DATA_PROXY_CLIENT_VERSION;if(e.includes("accelerate")&&n!=="0.0.0"&&n!=="in-memory")return n;let[i,o]=n?.split("-")??[];if(o===void 0&&ad.test(i))return i;if(o!==void 0||n==="0.0.0"||n==="in-memory"){if(e.startsWith("localhost")||e.startsWith("127.0.0.1"))return"0.0.0";let[s]=r.split("-")??[],[a,l,u]=s.split("."),c=ud(`<=${a}.${l}.${u}`),p=await et(c,{clientVersion:n});if(!p.ok)throw new Error(`Failed to fetch stable Prisma version, unpkg.com status ${p.status} ${p.statusText}, response body: ${await p.text()||""}`);let d=await p.text();_a("length of body fetched from unpkg.com",d.length);let f;try{f=JSON.parse(d)}catch(y){throw console.error("JSON.parse error: body fetched from unpkg.com: ",d),y}return f.version}throw new Ze("Only `major.minor.patch` versions are supported by Accelerate.",{clientVersion:n})}async function Na(e,t){let r=await ld(e,t);return _a("version",r),r}function ud(e){return encodeURI(`https://unpkg.com/prisma@${e}/package.json`)}var La=3,qi=O("prisma:client:dataproxyEngine"),Vi=class{constructor({apiKey:t,tracingHelper:r,logLevel:n,logQueries:i,engineHash:o}){this.apiKey=t,this.tracingHelper=r,this.logLevel=n,this.logQueries=i,this.engineHash=o}build({traceparent:t,interactiveTransaction:r}={}){let n={Authorization:`Bearer ${this.apiKey}`,"Prisma-Engine-Hash":this.engineHash};this.tracingHelper.isEnabled()&&(n.traceparent=t??this.tracingHelper.getTraceParent()),r&&(n["X-transaction-id"]=r.id);let i=this.buildCaptureSettings();return i.length>0&&(n["X-capture-telemetry"]=i.join(", ")),n}buildCaptureSettings(){let t=[];return this.tracingHelper.isEnabled()&&t.push("tracing"),this.logLevel&&t.push(this.logLevel),this.logQueries&&t.push("query"),t}},dr=class extends vt{constructor(r){super();Da(r),this.config=r,this.env={...this.config.env,...process.env},this.inlineSchema=r.inlineSchema,this.inlineDatasources=r.inlineDatasources,this.inlineSchemaHash=r.inlineSchemaHash,this.clientVersion=r.clientVersion,this.engineHash=r.engineVersion,this.logEmitter=r.logEmitter,this.tracingHelper=this.config.tracingHelper}apiKey(){return this.headerBuilder.apiKey}version(){return this.engineHash}async start(){this.startPromise!==void 0&&await this.startPromise,this.startPromise=(async()=>{let[r,n]=this.extractHostAndApiKey();this.host=r,this.headerBuilder=new Vi({apiKey:n,tracingHelper:this.tracingHelper,logLevel:this.config.logLevel,logQueries:this.config.logQueries,engineHash:this.engineHash}),this.remoteClientVersion=await Na(r,this.config),qi("host",this.host)})(),await this.startPromise}async stop(){}propagateResponseExtensions(r){r?.logs?.length&&r.logs.forEach(n=>{switch(n.level){case"debug":case"error":case"trace":case"warn":case"info":break;case"query":{let i=typeof n.attributes.query=="string"?n.attributes.query:"";if(!this.tracingHelper.isEnabled()){let[o]=i.split("/* traceparent");i=o}this.logEmitter.emit("query",{query:i,timestamp:n.timestamp,duration:n.attributes.duration_ms,params:n.attributes.params,target:n.attributes.target})}}}),r?.traces?.length&&this.tracingHelper.createEngineSpan({span:!0,spans:r.traces})}on(r,n){if(r==="beforeExit")throw new Error('"beforeExit" hook is not applicable to the remote query engine');this.logEmitter.on(r,n)}async url(r){return await this.start(),`https://${this.host}/${this.remoteClientVersion}/${this.inlineSchemaHash}/${r}`}async uploadSchema(){let r={name:"schemaUpload",internal:!0};return this.tracingHelper.runInChildSpan(r,async()=>{let n=await et(await this.url("schema"),{method:"PUT",headers:this.headerBuilder.build(),body:this.inlineSchema,clientVersion:this.clientVersion});n.ok||qi("schema response status",n.status);let i=await cr(n,this.clientVersion);if(i)throw this.logEmitter.emit("warn",{message:`Error while uploading schema: ${i.message}`}),i;this.logEmitter.emit("info",{message:`Schema (re)uploaded (hash: ${this.inlineSchemaHash})`})})}request(r,{traceparent:n,interactiveTransaction:i,customDataProxyFetch:o}){return this.requestInternal({body:r,traceparent:n,interactiveTransaction:i,customDataProxyFetch:o})}async requestBatch(r,{traceparent:n,transaction:i,customDataProxyFetch:o}){let s=i?.kind==="itx"?i.options:void 0,a=pn(r,i),{batchResult:l,elapsed:u}=await this.requestInternal({body:a,customDataProxyFetch:o,interactiveTransaction:s,traceparent:n});return l.map(c=>"errors"in c&&c.errors.length>0?Zt(c.errors[0],this.clientVersion):{data:c,elapsed:u})}requestInternal({body:r,traceparent:n,customDataProxyFetch:i,interactiveTransaction:o}){return this.withRetry({actionGerund:"querying",callback:async({logHttpCall:s})=>{let a=o?`${o.payload.endpoint}/graphql`:await this.url("graphql");s(a);let l=await et(a,{method:"POST",headers:this.headerBuilder.build({traceparent:n,interactiveTransaction:o}),body:JSON.stringify(r),clientVersion:this.clientVersion},i);l.ok||qi("graphql response status",l.status),await this.handleError(await cr(l,this.clientVersion));let u=await l.json(),c=u.extensions;if(c&&this.propagateResponseExtensions(c),u.errors)throw u.errors.length===1?Zt(u.errors[0],this.config.clientVersion):new K(u.errors,{clientVersion:this.config.clientVersion});return u}})}async transaction(r,n,i){let o={start:"starting",commit:"committing",rollback:"rolling back"};return this.withRetry({actionGerund:`${o[r]} transaction`,callback:async({logHttpCall:s})=>{if(r==="start"){let a=JSON.stringify({max_wait:i?.maxWait??2e3,timeout:i?.timeout??5e3,isolation_level:i?.isolationLevel}),l=await this.url("transaction/start");s(l);let u=await et(l,{method:"POST",headers:this.headerBuilder.build({traceparent:n.traceparent}),body:a,clientVersion:this.clientVersion});await this.handleError(await cr(u,this.clientVersion));let c=await u.json(),p=c.extensions;p&&this.propagateResponseExtensions(p);let d=c.id,f=c["data-proxy"].endpoint;return{id:d,payload:{endpoint:f}}}else{let a=`${i.payload.endpoint}/${r}`;s(a);let l=await et(a,{method:"POST",headers:this.headerBuilder.build({traceparent:n.traceparent}),clientVersion:this.clientVersion});await this.handleError(await cr(l,this.clientVersion));let c=(await l.json()).extensions;c&&this.propagateResponseExtensions(c);return}}})}extractHostAndApiKey(){let r={clientVersion:this.clientVersion},n=Object.keys(this.inlineDatasources)[0],i=dn({inlineDatasources:this.inlineDatasources,overrideDatasources:this.config.overrideDatasources,clientVersion:this.clientVersion,env:this.env}),o;try{o=new URL(i)}catch{throw new Ye(`Error validating datasource \`${n}\`: the URL must start with the protocol \`prisma://\``,r)}let{protocol:s,host:a,searchParams:l}=o;if(s!=="prisma:")throw new Ye(`Error validating datasource \`${n}\`: the URL must start with the protocol \`prisma://\``,r);let u=l.get("api_key");if(u===null||u.length<1)throw new Ye(`Error validating datasource \`${n}\`: the URL must contain a valid API key`,r);return[a,u]}metrics(){throw new Ze("Metrics are not yet supported for Accelerate",{clientVersion:this.clientVersion})}async withRetry(r){for(let n=0;;n++){let i=o=>{this.logEmitter.emit("info",{message:`Calling ${o} (n=${n})`})};try{return await r.callback({logHttpCall:i})}catch(o){if(!(o instanceof ae)||!o.isRetryable)throw o;if(n>=La)throw o instanceof Tt?o.cause:o;this.logEmitter.emit("warn",{message:`Attempt ${n+1}/${La} failed for ${r.actionGerund}: ${o.message??"(unknown)"}`});let s=await Fa(n);this.logEmitter.emit("warn",{message:`Retrying after ${s}ms`})}}}async handleError(r){if(r instanceof Xe)throw await this.uploadSchema(),new Tt({clientVersion:this.clientVersion,cause:r});if(r)throw r}};var Ba=S(require("fs"));function $a(e){if(e?.kind==="itx")return e.options.id}var Bi=S(require("os")),qa=S(require("path"));var ji=Symbol("PrismaLibraryEngineCache");function cd(){let e=globalThis;return e[ji]===void 0&&(e[ji]={}),e[ji]}function pd(e){let t=cd();if(t[e]!==void 0)return t[e];let r=qa.default.toNamespacedPath(e),n={exports:{}},i=0;return process.platform!=="win32"&&(i=Bi.default.constants.dlopen.RTLD_LAZY|Bi.default.constants.dlopen.RTLD_DEEPBIND),process.dlopen(n,r,i),t[e]=n.exports,n.exports}var fn=class{constructor(t){this.config=t}async loadLibrary(){let t=await Jn(),r=await Ca("library",this.config);try{return this.config.tracingHelper.runInChildSpan({name:"loadLibrary",internal:!0},()=>pd(r))}catch(n){let i=ri({e:n,platformInfo:t,id:r});throw new F(i,this.config.clientVersion)}}};var dd="P2036",Ce=O("prisma:client:libraryEngine");function md(e){return e.item_type==="query"&&"query"in e}function fd(e){return"level"in e?e.level==="error"&&e.message==="PANIC":!1}var Va=[...Hn,"native"],ja=0,mr=class extends vt{constructor(r,n=new fn(r)){super();try{this.datamodel=Ba.default.readFileSync(r.datamodelPath,"utf-8")}catch(s){throw s.stack.match(/\/\.next|\/next@|\/next\//)?new F(`Your schema.prisma could not be found, and we detected that you are using Next.js. +Find out why and learn how to fix this: https://pris.ly/d/schema-not-found-nextjs`,r.clientVersion):r.isBundled===!0?new F("Prisma Client could not find its `schema.prisma`. This is likely caused by a bundling step, which leads to `schema.prisma` not being copied near the resulting bundle. We would appreciate if you could take the time to share some information with us.\nPlease help us by answering a few questions: https://pris.ly/bundler-investigation-error",r.clientVersion):s}this.config=r,this.libraryStarted=!1,this.logQueries=r.logQueries??!1,this.logLevel=r.logLevel??"error",this.libraryLoader=n,this.logEmitter=r.logEmitter,r.enableDebugLogs&&(this.logLevel="debug");let i=Object.keys(r.overrideDatasources)[0],o=r.overrideDatasources[i]?.url;i!==void 0&&o!==void 0&&(this.datasourceOverrides={[i]:o}),this.libraryInstantiationPromise=this.instantiateLibrary(),this.checkForTooManyEngines()}checkForTooManyEngines(){ja===10&&console.warn(`${he("warn(prisma-client)")} This is the 10th instance of Prisma Client being started. Make sure this is intentional.`)}async transaction(r,n,i){await this.start();let o=JSON.stringify(n),s;if(r==="start"){let l=JSON.stringify({max_wait:i?.maxWait??2e3,timeout:i?.timeout??5e3,isolation_level:i?.isolationLevel});s=await this.engine?.startTransaction(l,o)}else r==="commit"?s=await this.engine?.commitTransaction(i.id,o):r==="rollback"&&(s=await this.engine?.rollbackTransaction(i.id,o));let a=this.parseEngineResponse(s);if(a.error_code)throw new U(a.message,{code:a.error_code,clientVersion:this.config.clientVersion,meta:a.meta});return a}async instantiateLibrary(){if(Ce("internalSetup"),this.libraryInstantiationPromise)return this.libraryInstantiationPromise;Vn(),this.platform=await this.getPlatform(),await this.loadEngine(),this.version()}async getPlatform(){if(this.platform)return this.platform;let r=await ut();if(!Va.includes(r))throw new F(`Unknown ${me("PRISMA_QUERY_ENGINE_LIBRARY")} ${me(ne(r))}. Possible binaryTargets: ${Ge(Va.join(", "))} or a path to the query engine library. +You may have to run ${Ge("prisma generate")} for your changes to take effect.`,this.config.clientVersion);return r}parseEngineResponse(r){if(!r)throw new K("Response from the Engine was empty",{clientVersion:this.config.clientVersion});try{return JSON.parse(r)}catch{throw new K("Unable to JSON.parse response from engine",{clientVersion:this.config.clientVersion})}}async loadEngine(){if(!this.engine){this.QueryEngineConstructor||(this.library=await this.libraryLoader.loadLibrary(),this.QueryEngineConstructor=this.library.QueryEngine);try{let r=new WeakRef(this),{adapter:n}=this.config;n&&Ce("Using driver adapter: %O",n),this.engine=new this.QueryEngineConstructor({datamodel:this.datamodel,env:process.env,logQueries:this.config.logQueries??!1,ignoreEnvVarErrors:!0,datasourceOverrides:this.datasourceOverrides??{},logLevel:this.logLevel,configDir:this.config.cwd,engineProtocol:"json"},i=>{r.deref()?.logger(i)},n),ja++}catch(r){let n=r,i=this.parseInitError(n.message);throw typeof i=="string"?n:new F(i.message,this.config.clientVersion,i.error_code)}}}logger(r){let n=this.parseEngineResponse(r);if(n){if("span"in n){this.config.tracingHelper.createEngineSpan(n);return}n.level=n?.level.toLowerCase()??"unknown",md(n)?this.logEmitter.emit("query",{timestamp:new Date,query:n.query,params:n.params,duration:Number(n.duration_ms),target:n.module_path}):fd(n)?this.loggerRustPanic=new ue(this.getErrorMessageWithLink(`${n.message}: ${n.reason} in ${n.file}:${n.line}:${n.column}`),this.config.clientVersion):this.logEmitter.emit(n.level,{timestamp:new Date,message:n.message,target:n.module_path})}}getErrorMessageWithLink(r){return ka({platform:this.platform,title:r,version:this.config.clientVersion,engineVersion:this.versionInfo?.commit,database:this.config.activeProvider,query:this.lastQuery})}parseInitError(r){try{return JSON.parse(r)}catch{}return r}parseRequestError(r){try{return JSON.parse(r)}catch{}return r}on(r,n){if(r==="beforeExit")throw new Error('"beforeExit" hook is not applicable to the library engine since Prisma 5.0.0, it is only relevant and implemented for the binary engine. Please add your event listener to the `process` object directly instead.');this.logEmitter.on(r,n)}async start(){if(await this.libraryInstantiationPromise,await this.libraryStoppingPromise,this.libraryStartingPromise)return Ce(`library already starting, this.libraryStarted: ${this.libraryStarted}`),this.libraryStartingPromise;if(this.libraryStarted)return;let r=async()=>{Ce("library starting");try{let n={traceparent:this.config.tracingHelper.getTraceParent()};await this.engine?.connect(JSON.stringify(n)),this.libraryStarted=!0,Ce("library started")}catch(n){let i=this.parseInitError(n.message);throw typeof i=="string"?n:new F(i.message,this.config.clientVersion,i.error_code)}finally{this.libraryStartingPromise=void 0}};return this.libraryStartingPromise=this.config.tracingHelper.runInChildSpan("connect",r),this.libraryStartingPromise}async stop(){if(await this.libraryStartingPromise,await this.executingQueryPromise,this.libraryStoppingPromise)return Ce("library is already stopping"),this.libraryStoppingPromise;if(!this.libraryStarted)return;let r=async()=>{await new Promise(i=>setTimeout(i,5)),Ce("library stopping");let n={traceparent:this.config.tracingHelper.getTraceParent()};await this.engine?.disconnect(JSON.stringify(n)),this.libraryStarted=!1,this.libraryStoppingPromise=void 0,Ce("library stopped")};return this.libraryStoppingPromise=this.config.tracingHelper.runInChildSpan("disconnect",r),this.libraryStoppingPromise}version(){return this.versionInfo=this.library?.version(),this.versionInfo?.version??"unknown"}debugPanic(r){return this.library?.debugPanic(r)}async request(r,{traceparent:n,interactiveTransaction:i}){Ce(`sending request, this.libraryStarted: ${this.libraryStarted}`);let o=JSON.stringify({traceparent:n}),s=JSON.stringify(r);try{await this.start(),this.executingQueryPromise=this.engine?.query(s,o,i?.id),this.lastQuery=s;let a=this.parseEngineResponse(await this.executingQueryPromise);if(a.errors)throw a.errors.length===1?this.buildQueryError(a.errors[0]):new K(JSON.stringify(a.errors),{clientVersion:this.config.clientVersion});if(this.loggerRustPanic)throw this.loggerRustPanic;return{data:a,elapsed:0}}catch(a){if(a instanceof F)throw a;if(a.code==="GenericFailure"&&a.message?.startsWith("PANIC:"))throw new ue(this.getErrorMessageWithLink(a.message),this.config.clientVersion);let l=this.parseRequestError(a.message);throw typeof l=="string"?a:new K(`${l.message} +${l.backtrace}`,{clientVersion:this.config.clientVersion})}}async requestBatch(r,{transaction:n,traceparent:i}){Ce("requestBatch");let o=pn(r,n);await this.start(),this.lastQuery=JSON.stringify(o),this.executingQueryPromise=this.engine.query(this.lastQuery,JSON.stringify({traceparent:i}),$a(n));let s=await this.executingQueryPromise,a=this.parseEngineResponse(s);if(a.errors)throw a.errors.length===1?this.buildQueryError(a.errors[0]):new K(JSON.stringify(a.errors),{clientVersion:this.config.clientVersion});let{batchResult:l,errors:u}=a;if(Array.isArray(l))return l.map(c=>c.errors&&c.errors.length>0?this.loggerRustPanic??this.buildQueryError(c.errors[0]):{data:c,elapsed:0});throw u&&u.length===1?new Error(u[0].error):new Error(JSON.stringify(a))}buildQueryError(r){if(r.user_facing_error.is_panic)return new ue(this.getErrorMessageWithLink(r.user_facing_error.message),this.config.clientVersion);if(r.user_facing_error.error_code===dd&&this.config.adapter){let n=r.user_facing_error.meta?.id;_r(typeof n=="number","Malformed external JS error received from the engine");let i=this.config.adapter.errorRegistry.consumeError(n);return _r(i,"External error with reported id was not registered"),i.error}return Zt(r,this.config.clientVersion)}async metrics(r){await this.start();let n=await this.engine.metrics(JSON.stringify(r));return r.format==="prometheus"?n:this.parseEngineResponse(n)}};function Ua(e,t){let r;try{r=dn({inlineDatasources:t.inlineDatasources,overrideDatasources:t.overrideDatasources,env:{...t.env,...process.env},clientVersion:t.clientVersion})}catch{}e.noEngine!==!0&&r?.startsWith("prisma://")&&qt("recommend--no-engine","In production, we recommend using `prisma generate --no-engine` (See: `prisma generate --help`)");let n=Zn(t.generator);if(r?.startsWith("prisma://")||e.noEngine)return new dr(t);if(n==="library")return new mr(t);throw"binary",new X("Invalid client engine type, please use `library` or `binary`",{clientVersion:t.clientVersion})}function gn({generator:e}){return e?.previewFeatures??[]}var Wa=S(Ui());function Ja(e,t){let r=Ha(e),n=gd(r),i=hd(n);i?yn(i,t):t.addErrorMessage(()=>"Unknown error")}function Ha(e){return e.errors.flatMap(t=>t.kind==="Union"?Ha(t):[t])}function gd(e){let t=new Map,r=[];for(let n of e){if(n.kind!=="InvalidArgumentType"){r.push(n);continue}let i=`${n.selectionPath.join(".")}:${n.argumentPath.join(".")}`,o=t.get(i);o?t.set(i,{...n,argument:{...n.argument,typeNames:yd(o.argument.typeNames,n.argument.typeNames)}}):t.set(i,n)}return r.push(...t.values()),r}function yd(e,t){return[...new Set(e.concat(t))]}function hd(e){return pi(e,(t,r)=>{let n=Qa(t),i=Qa(r);return n!==i?n-i:Ga(t)-Ga(r)})}function Qa(e){let t=0;return Array.isArray(e.selectionPath)&&(t+=e.selectionPath.length),Array.isArray(e.argumentPath)&&(t+=e.argumentPath.length),t}function Ga(e){switch(e.kind){case"InvalidArgumentValue":case"ValueTooLarge":return 20;case"InvalidArgumentType":return 10;case"RequiredArgumentMissing":return-10;default:return 0}}var Se=class{constructor(t,r){this.name=t;this.value=r;this.isRequired=!1}makeRequired(){return this.isRequired=!0,this}write(t){let{colors:{green:r}}=t.context;t.addMarginSymbol(r(this.isRequired?"+":"?")),t.write(r(this.name)),this.isRequired||t.write(r("?")),t.write(r(": ")),typeof this.value=="string"?t.write(r(this.value)):t.write(this.value)}};var hn=class{constructor(){this.fields=[]}addField(t,r){return this.fields.push({write(n){let{green:i,dim:o}=n.context.colors;n.write(i(o(`${t}: ${r}`))).addMarginSymbol(i(o("+")))}}),this}write(t){let{colors:{green:r}}=t.context;t.writeLine(r("{")).withIndent(()=>{t.writeJoined(bt,this.fields).newLine()}).write(r("}")).addMarginSymbol(r("+"))}};function yn(e,t){switch(e.kind){case"IncludeAndSelect":xd(e,t);break;case"IncludeOnScalar":bd(e,t);break;case"EmptySelection":Ed(e,t);break;case"UnknownSelectionField":wd(e,t);break;case"UnknownArgument":Pd(e,t);break;case"UnknownInputField":vd(e,t);break;case"RequiredArgumentMissing":Td(e,t);break;case"InvalidArgumentType":Cd(e,t);break;case"InvalidArgumentValue":Ad(e,t);break;case"ValueTooLarge":Md(e,t);break;case"SomeFieldsMissing":Rd(e,t);break;case"TooManyFieldsGiven":Sd(e,t);break;case"Union":Ja(e,t);break;default:throw new Error("not implemented: "+e.kind)}}function xd(e,t){let r=t.arguments.getDeepSubSelectionValue(e.selectionPath);r&&r instanceof Q&&(r.getField("include")?.markAsError(),r.getField("select")?.markAsError()),t.addErrorMessage(n=>`Please ${n.bold("either")} use ${n.green("`include`")} or ${n.green("`select`")}, but ${n.red("not both")} at the same time.`)}function bd(e,t){let[r,n]=xn(e.selectionPath),i=e.outputType,o=t.arguments.getDeepSelectionParent(r)?.value;if(o&&(o.getField(n)?.markAsError(),i))for(let s of i.fields)s.isRelation&&o.addSuggestion(new Se(s.name,"true"));t.addErrorMessage(s=>{let a=`Invalid scalar field ${s.red(`\`${n}\``)} for ${s.bold("include")} statement`;return i?a+=` on model ${s.bold(i.name)}. ${fr(s)}`:a+=".",a+=` +Note that ${s.bold("include")} statements only accept relation fields.`,a})}function Ed(e,t){let r=e.outputType,n=t.arguments.getDeepSelectionParent(e.selectionPath)?.value,i=n?.isEmpty()??!1;n&&(n.removeAllFields(),Za(n,r)),t.addErrorMessage(o=>i?`The ${o.red("`select`")} statement for type ${o.bold(r.name)} must not be empty. ${fr(o)}`:`The ${o.red("`select`")} statement for type ${o.bold(r.name)} needs ${o.bold("at least one truthy value")}.`)}function wd(e,t){let[r,n]=xn(e.selectionPath),i=t.arguments.getDeepSelectionParent(r);i&&(i.value.getField(n)?.markAsError(),Za(i.value,e.outputType)),t.addErrorMessage(o=>{let s=[`Unknown field ${o.red(`\`${n}\``)}`];return i&&s.push(`for ${o.bold(i.kind)} statement`),s.push(`on model ${o.bold(`\`${e.outputType.name}\``)}.`),s.push(fr(o)),s.join(" ")})}function Pd(e,t){let r=e.argumentPath[0],n=t.arguments.getDeepSubSelectionValue(e.selectionPath);n instanceof Q&&(n.getField(r)?.markAsError(),Id(n,e.arguments)),t.addErrorMessage(i=>za(i,r,e.arguments.map(o=>o.name)))}function vd(e,t){let[r,n]=xn(e.argumentPath),i=t.arguments.getDeepSubSelectionValue(e.selectionPath);if(i instanceof Q){i.getDeepField(e.argumentPath)?.markAsError();let o=i.getDeepFieldValue(r);o instanceof Q&&Xa(o,e.inputType)}t.addErrorMessage(o=>za(o,n,e.inputType.fields.map(s=>s.name)))}function za(e,t,r){let n=[`Unknown argument \`${e.red(t)}\`.`],i=Fd(t,r);return i&&n.push(`Did you mean \`${e.green(i)}\`?`),r.length>0&&n.push(fr(e)),n.join(" ")}function Td(e,t){let r;t.addErrorMessage(l=>r?.value instanceof G&&r.value.text==="null"?`Argument \`${l.green(o)}\` must not be ${l.red("null")}.`:`Argument \`${l.green(o)}\` is missing.`);let n=t.arguments.getDeepSubSelectionValue(e.selectionPath);if(!(n instanceof Q))return;let[i,o]=xn(e.argumentPath),s=new hn,a=n.getDeepFieldValue(i);if(a instanceof Q)if(r=a.getField(o),r&&a.removeField(o),e.inputTypes.length===1&&e.inputTypes[0].kind==="object"){for(let l of e.inputTypes[0].fields)s.addField(l.name,l.typeNames.join(" | "));a.addSuggestion(new Se(o,s).makeRequired())}else{let l=e.inputTypes.map(Ya).join(" | ");a.addSuggestion(new Se(o,l).makeRequired())}}function Ya(e){return e.kind==="list"?`${Ya(e.elementType)}[]`:e.name}function Cd(e,t){let r=e.argument.name,n=t.arguments.getDeepSubSelectionValue(e.selectionPath);n instanceof Q&&n.getDeepFieldValue(e.argumentPath)?.markAsError(),t.addErrorMessage(i=>{let o=bn("or",e.argument.typeNames.map(s=>i.green(s)));return`Argument \`${i.bold(r)}\`: Invalid value provided. Expected ${o}, provided ${i.red(e.inferredType)}.`})}function Ad(e,t){let r=e.argument.name,n=t.arguments.getDeepSubSelectionValue(e.selectionPath);n instanceof Q&&n.getDeepFieldValue(e.argumentPath)?.markAsError(),t.addErrorMessage(i=>{let o=[`Invalid value for argument \`${i.bold(r)}\``];if(e.underlyingError&&o.push(`: ${e.underlyingError}`),o.push("."),e.argument.typeNames.length>0){let s=bn("or",e.argument.typeNames.map(a=>i.green(a)));o.push(` Expected ${s}.`)}return o.join("")})}function Md(e,t){let r=e.argument.name,n=t.arguments.getDeepSubSelectionValue(e.selectionPath),i;if(n instanceof Q){let s=n.getDeepField(e.argumentPath)?.value;s?.markAsError(),s instanceof G&&(i=s.text)}t.addErrorMessage(o=>{let s=["Unable to fit value"];return i&&s.push(o.red(i)),s.push(`into a 64-bit signed integer for field \`${o.bold(r)}\``),s.join(" ")})}function Rd(e,t){let r=e.argumentPath[e.argumentPath.length-1],n=t.arguments.getDeepSubSelectionValue(e.selectionPath);if(n instanceof Q){let i=n.getDeepFieldValue(e.argumentPath);i instanceof Q&&Xa(i,e.inputType)}t.addErrorMessage(i=>{let o=[`Argument \`${i.bold(r)}\` of type ${i.bold(e.inputType.name)} needs`];return e.constraints.minFieldCount===1?e.constraints.requiredFields?o.push(`${i.green("at least one of")} ${bn("or",e.constraints.requiredFields.map(s=>`\`${i.bold(s)}\``))} arguments.`):o.push(`${i.green("at least one")} argument.`):o.push(`${i.green(`at least ${e.constraints.minFieldCount}`)} arguments.`),o.push(fr(i)),o.join(" ")})}function Sd(e,t){let r=e.argumentPath[e.argumentPath.length-1],n=t.arguments.getDeepSubSelectionValue(e.selectionPath),i=[];if(n instanceof Q){let o=n.getDeepFieldValue(e.argumentPath);o instanceof Q&&(o.markAsError(),i=Object.keys(o.getFields()))}t.addErrorMessage(o=>{let s=[`Argument \`${o.bold(r)}\` of type ${o.bold(e.inputType.name)} needs`];return e.constraints.minFieldCount===1&&e.constraints.maxFieldCount==1?s.push(`${o.green("exactly one")} argument,`):e.constraints.maxFieldCount==1?s.push(`${o.green("at most one")} argument,`):s.push(`${o.green(`at most ${e.constraints.maxFieldCount}`)} arguments,`),s.push(`but you provided ${bn("and",i.map(a=>o.red(a)))}. Please choose`),e.constraints.maxFieldCount===1?s.push("one."):s.push(`${e.constraints.maxFieldCount}.`),s.join(" ")})}function Za(e,t){for(let r of t.fields)e.hasField(r.name)||e.addSuggestion(new Se(r.name,"true"))}function Id(e,t){for(let r of t)e.hasField(r.name)||e.addSuggestion(new Se(r.name,r.typeNames.join(" | ")))}function Xa(e,t){if(t.kind==="object")for(let r of t.fields)e.hasField(r.name)||e.addSuggestion(new Se(r.name,r.typeNames.join(" | ")))}function xn(e){let t=[...e],r=t.pop();if(!r)throw new Error("unexpected empty path");return[t,r]}function fr({green:e,enabled:t}){return"Available options are "+(t?`listed in ${e("green")}`:"marked with ?")+"."}function bn(e,t){if(t.length===1)return t[0];let r=[...t],n=r.pop();return`${r.join(", ")} ${e} ${n}`}var kd=3;function Fd(e,t){let r=1/0,n;for(let i of t){let o=(0,Wa.default)(e,i);o>kd||o({name:t.name,typeName:"boolean",isRelation:t.kind==="object"}))}}isRawAction(){return["executeRaw","queryRaw","runCommandRaw","findRaw","aggregateRaw"].includes(this.params.action)}getComputedFields(){if(this.params.modelName)return this.params.extensions.getAllComputedFields(this.params.modelName)}findField(t){return this.model?.fields.find(r=>r.name===t)}nestSelection(t){let r=this.findField(t),n=r?.kind==="object"?r.type:void 0;return new e({...this.params,modelName:n,selectionPath:this.params.selectionPath.concat(t)})}nestArgument(t){return new e({...this.params,argumentPath:this.params.argumentPath.concat(t)})}};var nl=e=>({command:e});var il=e=>e.strings.reduce((t,r,n)=>`${t}@P${n}${r}`);function gr(e){try{return ol(e,"fast")}catch{return ol(e,"slow")}}function ol(e,t){return JSON.stringify(e.map(r=>jd(r,t)))}function jd(e,t){return typeof e=="bigint"?{prisma__type:"bigint",prisma__value:e.toString()}:ft(e)?{prisma__type:"date",prisma__value:e.toJSON()}:Pe.isDecimal(e)?{prisma__type:"decimal",prisma__value:e.toJSON()}:Buffer.isBuffer(e)?{prisma__type:"bytes",prisma__value:e.toString("base64")}:Bd(e)||ArrayBuffer.isView(e)?{prisma__type:"bytes",prisma__value:Buffer.from(e).toString("base64")}:typeof e=="object"&&t==="slow"?al(e):e}function Bd(e){return e instanceof ArrayBuffer||e instanceof SharedArrayBuffer?!0:typeof e=="object"&&e!==null?e[Symbol.toStringTag]==="ArrayBuffer"||e[Symbol.toStringTag]==="SharedArrayBuffer":!1}function al(e){if(typeof e!="object"||e===null)return e;if(typeof e.toJSON=="function")return e.toJSON();if(Array.isArray(e))return e.map(sl);let t={};for(let r of Object.keys(e))t[r]=sl(e[r]);return t}function sl(e){return typeof e=="bigint"?e.toString():al(e)}var Ud=/^(\s*alter\s)/i,ll=O("prisma:client");function Gi(e,t,r,n){if(!(e!=="postgresql"&&e!=="cockroachdb")&&r.length>0&&Ud.exec(t))throw new Error(`Running ALTER using ${n} is not supported +Using the example below you can still execute your query with Prisma, but please note that it is vulnerable to SQL injection attacks and requires you to take care of input sanitization. + +Example: + await prisma.$executeRawUnsafe(\`ALTER USER prisma WITH PASSWORD '\${password}'\`) + +More Information: https://pris.ly/d/execute-raw +`)}var Ji=({clientMethod:e,activeProvider:t,activeProviderFlavour:r})=>n=>{r!==void 0&&(t=r);let i="",o;if(Array.isArray(n)){let[s,...a]=n;i=s,o={values:gr(a||[]),__prismaRawParameters__:!0}}else switch(t){case"sqlite":case"mysql":{i=n.sql,o={values:gr(n.values),__prismaRawParameters__:!0};break}case"cockroachdb":case"postgresql":case"postgres":{i=n.text,o={values:gr(n.values),__prismaRawParameters__:!0};break}case"sqlserver":{i=il(n),o={values:gr(n.values),__prismaRawParameters__:!0};break}default:throw new Error(`The ${t} provider does not support ${e}`)}return o?.values?ll(`prisma.${e}(${i}, ${o.values})`):ll(`prisma.${e}(${i})`),{query:i,parameters:o}},ul={requestArgsToMiddlewareArgs(e){return[e.strings,...e.values]},middlewareArgsToRequestArgs(e){let[t,...r]=e;return new oe(t,r)}},cl={requestArgsToMiddlewareArgs(e){return[e]},middlewareArgsToRequestArgs(e){return e[0]}};function Hi(e){return function(r){let n,i=(o=e)=>{try{return o===void 0||o?.kind==="itx"?n??(n=pl(r(o))):pl(r(o))}catch(s){return Promise.reject(s)}};return{then(o,s){return i().then(o,s)},catch(o){return i().catch(o)},finally(o){return i().finally(o)},requestTransaction(o){let s=i(o);return s.requestTransaction?s.requestTransaction(o):s},[Symbol.toStringTag]:"PrismaPromise"}}}function pl(e){return typeof e.then=="function"?e:Promise.resolve(e)}var dl={isEnabled(){return!1},getTraceParent(){return"00-10-10-00"},async createEngineSpan(){},getActiveContext(){},runInChildSpan(e,t){return t()}},Wi=class{isEnabled(){return this.getGlobalTracingHelper().isEnabled()}getTraceParent(t){return this.getGlobalTracingHelper().getTraceParent(t)}createEngineSpan(t){return this.getGlobalTracingHelper().createEngineSpan(t)}getActiveContext(){return this.getGlobalTracingHelper().getActiveContext()}runInChildSpan(t,r){return this.getGlobalTracingHelper().runInChildSpan(t,r)}getGlobalTracingHelper(){return globalThis.PRISMA_INSTRUMENTATION?.helper??dl}};function ml(e){return e.includes("tracing")?new Wi:dl}function fl(e,t=()=>{}){let r,n=new Promise(i=>r=i);return{then(i){return--e===0&&r(t()),i?.(n)}}}var Kd=["$connect","$disconnect","$on","$transaction","$use","$extends"],zi=Kd;function gl(e){return typeof e=="string"?e:e.reduce((t,r)=>{let n=typeof r=="string"?r:r.level;return n==="query"?t:t&&(r==="info"||t==="info")?"info":n},void 0)}var wn=class{constructor(){this._middlewares=[]}use(t){this._middlewares.push(t)}get(t){return this._middlewares[t]}has(t){return!!this._middlewares[t]}length(){return this._middlewares.length}};var hl=S(li());function Pn(e){return typeof e.batchRequestIdx=="number"}function vn(e){return e===null?e:Array.isArray(e)?e.map(vn):typeof e=="object"?Qd(e)?Gd(e):pt(e,vn):e}function Qd(e){return e!==null&&typeof e=="object"&&typeof e.$type=="string"}function Gd({$type:e,value:t}){switch(e){case"BigInt":return BigInt(t);case"Bytes":return Buffer.from(t,"base64");case"DateTime":return new Date(t);case"Decimal":return new Pe(t);case"Json":return JSON.parse(t);default:He(t,"Unknown tagged value")}}function yl(e){if(e.action!=="findUnique"&&e.action!=="findUniqueOrThrow")return;let t=[];return e.modelName&&t.push(e.modelName),e.query.arguments&&t.push(Yi(e.query.arguments)),t.push(Yi(e.query.selection)),t.join("")}function Yi(e){return`(${Object.keys(e).sort().map(r=>{let n=e[r];return typeof n=="object"&&n!==null?`(${r} ${Yi(n)})`:r}).join(" ")})`}var Jd={aggregate:!1,aggregateRaw:!1,createMany:!0,createOne:!0,deleteMany:!0,deleteOne:!0,executeRaw:!0,findFirst:!1,findFirstOrThrow:!1,findMany:!1,findRaw:!1,findUnique:!1,findUniqueOrThrow:!1,groupBy:!1,queryRaw:!1,runCommandRaw:!0,updateMany:!0,updateOne:!0,upsertOne:!0};function Zi(e){return Jd[e]}var Tn=class{constructor(t){this.options=t;this.tickActive=!1;this.batches={}}request(t){let r=this.options.batchBy(t);return r?(this.batches[r]||(this.batches[r]=[],this.tickActive||(this.tickActive=!0,process.nextTick(()=>{this.dispatchBatches(),this.tickActive=!1}))),new Promise((n,i)=>{this.batches[r].push({request:t,resolve:n,reject:i})})):this.options.singleLoader(t)}dispatchBatches(){for(let t in this.batches){let r=this.batches[t];delete this.batches[t],r.length===1?this.options.singleLoader(r[0].request).then(n=>{n instanceof Error?r[0].reject(n):r[0].resolve(n)}).catch(n=>{r[0].reject(n)}):(r.sort((n,i)=>this.options.batchOrder(n.request,i.request)),this.options.batchLoader(r.map(n=>n.request)).then(n=>{if(n instanceof Error)for(let i=0;i{for(let i=0;i{let{transaction:o,otelParentCtx:s}=n[0],a=n.map(p=>p.protocolQuery),l=this.client._tracingHelper.getTraceParent(s),u=n.some(p=>Zi(p.protocolQuery.action));return(await this.client._engine.requestBatch(a,{traceparent:l,transaction:Wd(o),containsWrite:u,customDataProxyFetch:i})).map((p,d)=>{if(p instanceof Error)return p;try{return this.mapQueryEngineResult(n[d],p)}catch(f){return f}})}),singleLoader:async n=>{let i=n.transaction?.kind==="itx"?xl(n.transaction):void 0,o=await this.client._engine.request(n.protocolQuery,{traceparent:this.client._tracingHelper.getTraceParent(),interactiveTransaction:i,isWrite:Zi(n.protocolQuery.action),customDataProxyFetch:n.customDataProxyFetch});return this.mapQueryEngineResult(n,o)},batchBy:n=>n.transaction?.id?`transaction-${n.transaction.id}`:yl(n.protocolQuery),batchOrder(n,i){return n.transaction?.kind==="batch"&&i.transaction?.kind==="batch"?n.transaction.index-i.transaction.index:0}})}async request(t){try{return await this.dataloader.request(t)}catch(r){let{clientMethod:n,callsite:i,transaction:o,args:s}=t;this.handleAndLogRequestError({error:r,clientMethod:n,callsite:i,transaction:o,args:s})}}mapQueryEngineResult({dataPath:t,unpacker:r},n){let i=n?.data,o=n?.elapsed,s=this.unpack(i,t,r);return process.env.PRISMA_CLIENT_GET_TIME?{data:s,elapsed:o}:s}handleAndLogRequestError(t){try{this.handleRequestError(t)}catch(r){throw this.logEmitter&&this.logEmitter.emit("error",{message:r.message,target:t.clientMethod,timestamp:new Date}),r}}handleRequestError({error:t,clientMethod:r,callsite:n,transaction:i,args:o}){if(Hd(t),zd(t,i)||t instanceof Me)throw t;if(t instanceof U&&Yd(t)){let a=bl(t.meta);En({args:o,errors:[a],callsite:n,errorFormat:this.client._errorFormat,originalMethod:r,clientVersion:this.client._clientVersion})}let s=t.message;throw n&&(s=Pt({callsite:n,originalMethod:r,isPanic:t.isPanic,showColors:this.client._errorFormat==="pretty",message:s})),s=this.sanitizeMessage(s),t.code?new U(s,{code:t.code,clientVersion:this.client._clientVersion,meta:t.meta,batchRequestIdx:t.batchRequestIdx}):t.isPanic?new ue(s,this.client._clientVersion):t instanceof K?new K(s,{clientVersion:this.client._clientVersion,batchRequestIdx:t.batchRequestIdx}):t instanceof F?new F(s,this.client._clientVersion):t instanceof ue?new ue(s,this.client._clientVersion):(t.clientVersion=this.client._clientVersion,t)}sanitizeMessage(t){return this.client._errorFormat&&this.client._errorFormat!=="pretty"?(0,hl.default)(t):t}unpack(t,r,n){if(!t||(t.data&&(t=t.data),!t))return t;let i=Object.values(t)[0],o=r.filter(a=>a!=="select"&&a!=="include"),s=vn(Ai(i,o));return n?n(s):s}get[Symbol.toStringTag](){return"RequestHandler"}};function Wd(e){if(e){if(e.kind==="batch")return{kind:"batch",options:{isolationLevel:e.isolationLevel}};if(e.kind==="itx")return{kind:"itx",options:xl(e)};He(e,"Unknown transaction kind")}}function xl(e){return{id:e.id,payload:e.payload}}function zd(e,t){return Pn(e)&&t?.kind==="batch"&&e.batchRequestIdx!==t.index}function Yd(e){return e.code==="P2009"||e.code==="P2012"}function bl(e){if(e.kind==="Union")return{kind:"Union",errors:e.errors.map(bl)};if(Array.isArray(e.selectionPath)){let[,...t]=e.selectionPath;return{...e,selectionPath:t}}return e}var El="5.5.2";var wl=El;function Pl(e){return e.map(t=>{let r={};for(let n of Object.keys(t))r[n]=vl(t[n]);return r})}function vl({prisma__type:e,prisma__value:t}){switch(e){case"bigint":return BigInt(t);case"bytes":return Buffer.from(t,"base64");case"decimal":return new Pe(t);case"datetime":case"date":return new Date(t);case"time":return new Date(`1970-01-01T${t}Z`);case"array":return t.map(vl);default:return t}}var Ml=S(Ui());var q=class extends Error{constructor(t){super(t+` +Read more at https://pris.ly/d/client-constructor`),this.name="PrismaClientConstructorValidationError"}get[Symbol.toStringTag](){return"PrismaClientConstructorValidationError"}};E(q,"PrismaClientConstructorValidationError");var Tl=["datasources","datasourceUrl","errorFormat","adapter","log","__internal"],Cl=["pretty","colorless","minimal"],Al=["info","query","warn","error"],Xd={datasources:(e,{datasourceNames:t})=>{if(e){if(typeof e!="object"||Array.isArray(e))throw new q(`Invalid value ${JSON.stringify(e)} for "datasources" provided to PrismaClient constructor`);for(let[r,n]of Object.entries(e)){if(!t.includes(r)){let i=Mt(r,t)||` Available datasources: ${t.join(", ")}`;throw new q(`Unknown datasource ${r} provided to PrismaClient constructor.${i}`)}if(typeof n!="object"||Array.isArray(n))throw new q(`Invalid value ${JSON.stringify(e)} for datasource "${r}" provided to PrismaClient constructor. +It should have this form: { url: "CONNECTION_STRING" }`);if(n&&typeof n=="object")for(let[i,o]of Object.entries(n)){if(i!=="url")throw new q(`Invalid value ${JSON.stringify(e)} for datasource "${r}" provided to PrismaClient constructor. +It should have this form: { url: "CONNECTION_STRING" }`);if(typeof o!="string")throw new q(`Invalid value ${JSON.stringify(o)} for datasource "${r}" provided to PrismaClient constructor. +It should have this form: { url: "CONNECTION_STRING" }`)}}}},adapter:(e,t)=>{if(e===null)return;if(e===void 0)throw new q('"adapter" property must not be undefined, use null to conditionally disable driver adapters.');if(!gn(t).includes("driverAdapters"))throw new q('"adapter" property can only be provided to PrismaClient constructor when "driverAdapters" preview feature is enabled.')},datasourceUrl:e=>{if(typeof e<"u"&&typeof e!="string")throw new q(`Invalid value ${JSON.stringify(e)} for "datasourceUrl" provided to PrismaClient constructor. +Expected string or undefined.`)},errorFormat:e=>{if(e){if(typeof e!="string")throw new q(`Invalid value ${JSON.stringify(e)} for "errorFormat" provided to PrismaClient constructor.`);if(!Cl.includes(e)){let t=Mt(e,Cl);throw new q(`Invalid errorFormat ${e} provided to PrismaClient constructor.${t}`)}}},log:e=>{if(!e)return;if(!Array.isArray(e))throw new q(`Invalid value ${JSON.stringify(e)} for "log" provided to PrismaClient constructor.`);function t(r){if(typeof r=="string"&&!Al.includes(r)){let n=Mt(r,Al);throw new q(`Invalid log level "${r}" provided to PrismaClient constructor.${n}`)}}for(let r of e){t(r);let n={level:t,emit:i=>{let o=["stdout","event"];if(!o.includes(i)){let s=Mt(i,o);throw new q(`Invalid value ${JSON.stringify(i)} for "emit" in logLevel provided to PrismaClient constructor.${s}`)}}};if(r&&typeof r=="object")for(let[i,o]of Object.entries(r))if(n[i])n[i](o);else throw new q(`Invalid property ${i} for "log" provided to PrismaClient constructor`)}},__internal:e=>{if(!e)return;let t=["debug","hooks","engine","measurePerformance"];if(typeof e!="object")throw new q(`Invalid value ${JSON.stringify(e)} for "__internal" to PrismaClient constructor`);for(let[r]of Object.entries(e))if(!t.includes(r)){let n=Mt(r,t);throw new q(`Invalid property ${JSON.stringify(r)} for "__internal" provided to PrismaClient constructor.${n}`)}}};function Rl(e,t){for(let[r,n]of Object.entries(e)){if(!Tl.includes(r)){let i=Mt(r,Tl);throw new q(`Unknown property ${r} provided to PrismaClient constructor.${i}`)}Xd[r](n,t)}if(e.datasourceUrl&&e.datasources)throw new q('Can not use "datasourceUrl" and "datasources" options at the same time. Pick one of them')}function Mt(e,t){if(t.length===0||typeof e!="string")return"";let r=em(e,t);return r?` Did you mean "${r}"?`:""}function em(e,t){if(t.length===0)return null;let r=t.map(i=>({value:i,distance:(0,Ml.default)(e,i)}));r.sort((i,o)=>i.distance{let n=new Array(e.length),i=null,o=!1,s=0,a=()=>{o||(s++,s===e.length&&(o=!0,i?r(i):t(n)))},l=u=>{o||(o=!0,r(u))};for(let u=0;u{n[u]=c,a()},c=>{if(!Pn(c)){l(c);return}c.batchRequestIdx===u?l(c):(i||(i=c),a())})})}var Ue=O("prisma:client");typeof globalThis=="object"&&(globalThis.NODE_CLIENT=!0);var tm={requestArgsToMiddlewareArgs:e=>e,middlewareArgsToRequestArgs:e=>e},rm=Symbol.for("prisma.client.transaction.id"),nm={id:0,nextId(){return++this.id}};function Ol(e){class t{constructor(n){this._middlewares=new wn;this._createPrismaPromise=Hi();this.$extends=ra;xa(e),n&&Rl(n,e);let i=n?.adapter?fs(n.adapter):void 0,o=new Fl.EventEmitter().on("error",()=>{});this._extensions=ln.empty(),this._previewFeatures=gn(e),this._clientVersion=e.clientVersion??wl,this._activeProvider=e.activeProvider,this._tracingHelper=ml(this._previewFeatures);let s={rootEnvPath:e.relativeEnvPaths.rootEnvPath&&yr.default.resolve(e.dirname,e.relativeEnvPaths.rootEnvPath),schemaEnvPath:e.relativeEnvPaths.schemaEnvPath&&yr.default.resolve(e.dirname,e.relativeEnvPaths.schemaEnvPath)},a=!i&&_t(s,{conflictCheck:"none"})||e.injectableEdgeEnv?.();try{let l=n??{},u=l.__internal??{},c=u.debug===!0;c&&O.enable("prisma:client");let p=yr.default.resolve(e.dirname,e.relativePath);Dl.default.existsSync(p)||(p=e.dirname),Ue("dirname",e.dirname),Ue("relativePath",e.relativePath),Ue("cwd",p);let d=u.engine||{};if(l.errorFormat?this._errorFormat=l.errorFormat:process.env.NODE_ENV==="production"?this._errorFormat="minimal":process.env.NO_COLOR?this._errorFormat="colorless":this._errorFormat="colorless",this._runtimeDataModel=e.runtimeDataModel,this._engineConfig={cwd:p,dirname:e.dirname,enableDebugLogs:c,allowTriggerPanic:d.allowTriggerPanic,datamodelPath:yr.default.join(e.dirname,e.filename??"schema.prisma"),prismaPath:d.binaryPath??void 0,engineEndpoint:d.endpoint,generator:e.generator,showColors:this._errorFormat==="pretty",logLevel:l.log&&gl(l.log),logQueries:l.log&&!!(typeof l.log=="string"?l.log==="query":l.log.find(f=>typeof f=="string"?f==="query":f.level==="query")),env:a?.parsed??{},flags:[],clientVersion:e.clientVersion,engineVersion:e.engineVersion,previewFeatures:this._previewFeatures,activeProvider:e.activeProvider,inlineSchema:e.inlineSchema,overrideDatasources:ba(l,e.datasourceNames),inlineDatasources:e.inlineDatasources,inlineSchemaHash:e.inlineSchemaHash,tracingHelper:this._tracingHelper,logEmitter:o,isBundled:e.isBundled,adapter:i},Ue("clientVersion",e.clientVersion),this._engine=Ua(e,this._engineConfig),this._requestHandler=new Cn(this,o),l.log)for(let f of l.log){let y=typeof f=="string"?f:f.emit==="stdout"?f.level:null;y&&this.$on(y,g=>{$t.log(`${$t.tags[y]??""}`,g.message||g.query)})}this._metrics=new dt(this._engine)}catch(l){throw l.clientVersion=this._clientVersion,l}return this._appliedParent=zt(this)}get[Symbol.toStringTag](){return"PrismaClient"}$use(n){this._middlewares.use(n)}$on(n,i){n==="beforeExit"?this._engine.on("beforeExit",i):this._engine.on(n,o=>{let s=o.fields;return i(n==="query"?{timestamp:o.timestamp,query:s?.query??o.query,params:s?.params??o.params,duration:s?.duration_ms??o.duration,target:o.target}:{timestamp:o.timestamp,message:s?.message??o.message,target:o.target})})}$connect(){try{return this._engine.start()}catch(n){throw n.clientVersion=this._clientVersion,n}}async $disconnect(){try{await this._engine.stop()}catch(n){throw n.clientVersion=this._clientVersion,n}finally{Eo()}}$executeRawInternal(n,i,o,s){let a=this._activeProvider,l=this._engineConfig.adapter?.flavour;return this._request({action:"executeRaw",args:o,transaction:n,clientMethod:i,argsMapper:Ji({clientMethod:i,activeProvider:a,activeProviderFlavour:l}),callsite:Ve(this._errorFormat),dataPath:[],middlewareArgsMapper:s})}$executeRaw(n,...i){return this._createPrismaPromise(o=>{if(n.raw!==void 0||n.sql!==void 0){let[s,a]=Il(n,i);return Gi(this._activeProvider,s.text,s.values,Array.isArray(n)?"prisma.$executeRaw``":"prisma.$executeRaw(sql``)"),this.$executeRawInternal(o,"$executeRaw",s,a)}throw new X("`$executeRaw` is a tag function, please use it like the following:\n```\nconst result = await prisma.$executeRaw`UPDATE User SET cool = ${true} WHERE email = ${'user@email.com'};`\n```\n\nOr read our docs at https://www.prisma.io/docs/concepts/components/prisma-client/raw-database-access#executeraw\n",{clientVersion:this._clientVersion})})}$executeRawUnsafe(n,...i){return this._createPrismaPromise(o=>(Gi(this._activeProvider,n,i,"prisma.$executeRawUnsafe(, [...values])"),this.$executeRawInternal(o,"$executeRawUnsafe",[n,...i])))}$runCommandRaw(n){if(e.activeProvider!=="mongodb")throw new X(`The ${e.activeProvider} provider does not support $runCommandRaw. Use the mongodb provider.`,{clientVersion:this._clientVersion});return this._createPrismaPromise(i=>this._request({args:n,clientMethod:"$runCommandRaw",dataPath:[],action:"runCommandRaw",argsMapper:nl,callsite:Ve(this._errorFormat),transaction:i}))}async $queryRawInternal(n,i,o,s){let a=this._activeProvider,l=this._engineConfig.adapter?.flavour;return this._request({action:"queryRaw",args:o,transaction:n,clientMethod:i,argsMapper:Ji({clientMethod:i,activeProvider:a,activeProviderFlavour:l}),callsite:Ve(this._errorFormat),dataPath:[],middlewareArgsMapper:s}).then(Pl)}$queryRaw(n,...i){return this._createPrismaPromise(o=>{if(n.raw!==void 0||n.sql!==void 0)return this.$queryRawInternal(o,"$queryRaw",...Il(n,i));throw new X("`$queryRaw` is a tag function, please use it like the following:\n```\nconst result = await prisma.$queryRaw`SELECT * FROM User WHERE id = ${1} OR email = ${'user@email.com'};`\n```\n\nOr read our docs at https://www.prisma.io/docs/concepts/components/prisma-client/raw-database-access#queryraw\n",{clientVersion:this._clientVersion})})}$queryRawUnsafe(n,...i){return this._createPrismaPromise(o=>this.$queryRawInternal(o,"$queryRawUnsafe",[n,...i]))}_transactionWithArray({promises:n,options:i}){let o=nm.nextId(),s=fl(n.length),a=n.map((l,u)=>{if(l?.[Symbol.toStringTag]!=="PrismaPromise")throw new Error("All elements of the array need to be Prisma Client promises. Hint: Please make sure you are not awaiting the Prisma client calls you intended to pass in the $transaction function.");let c=i?.isolationLevel,p={kind:"batch",id:o,index:u,isolationLevel:c,lock:s};return l.requestTransaction?.(p)??l});return Sl(a)}async _transactionWithCallback({callback:n,options:i}){let o={traceparent:this._tracingHelper.getTraceParent()},s=await this._engine.transaction("start",o,i),a;try{let l={kind:"itx",...s};a=await n(this._createItxClient(l)),await this._engine.transaction("commit",o,s)}catch(l){throw await this._engine.transaction("rollback",o,s).catch(()=>{}),l}return a}_createItxClient(n){return zt(Ee(on(this),[re("_appliedParent",()=>this._appliedParent._createItxClient(n)),re("_createPrismaPromise",()=>Hi(n)),re(rm,()=>n.id),Gt(zi)]))}$transaction(n,i){let o;typeof n=="function"?o=()=>this._transactionWithCallback({callback:n,options:i}):o=()=>this._transactionWithArray({promises:n,options:i});let s={name:"transaction",attributes:{method:"$transaction"}};return this._tracingHelper.runInChildSpan(s,o)}_request(n){n.otelParentCtx=this._tracingHelper.getActiveContext();let i=n.middlewareArgsMapper??tm,o={args:i.requestArgsToMiddlewareArgs(n.args),dataPath:n.dataPath,runInTransaction:!!n.transaction,action:n.action,model:n.model},s={middleware:{name:"middleware",middleware:!0,attributes:{method:"$use"},active:!1},operation:{name:"operation",attributes:{method:o.action,model:o.model,name:o.model?`${o.model}.${o.action}`:o.action}}},a=-1,l=async u=>{let c=this._middlewares.get(++a);if(c)return this._tracingHelper.runInChildSpan(s.middleware,P=>c(u,T=>(P?.end(),l(T))));let{runInTransaction:p,args:d,...f}=u,y={...n,...f};d&&(y.args=i.middlewareArgsToRequestArgs(d)),n.transaction!==void 0&&p===!1&&delete y.transaction;let g=await ua(this,y);return y.model?oa({result:g,modelName:y.model,args:y.args,extensions:this._extensions,runtimeDataModel:this._runtimeDataModel}):g};return this._tracingHelper.runInChildSpan(s.operation,()=>new kl.AsyncResource("prisma-client-request").runInAsyncScope(()=>l(o)))}async _executeRequest({args:n,clientMethod:i,dataPath:o,callsite:s,action:a,model:l,argsMapper:u,transaction:c,unpacker:p,otelParentCtx:d,customDataProxyFetch:f}){try{n=u?u(n):n;let y={name:"serialize"},g=this._tracingHelper.runInChildSpan(y,()=>el({modelName:l,runtimeDataModel:this._runtimeDataModel,action:a,args:n,clientMethod:i,callsite:s,extensions:this._extensions,errorFormat:this._errorFormat,clientVersion:this._clientVersion}));return O.enabled("prisma:client")&&(Ue("Prisma Client call:"),Ue(`prisma.${i}(${$s(n)})`),Ue("Generated request:"),Ue(JSON.stringify(g,null,2)+` +`)),c?.kind==="batch"&&await c.lock,this._requestHandler.request({protocolQuery:g,modelName:l,action:a,clientMethod:i,dataPath:o,callsite:s,args:n,extensions:this._extensions,transaction:c,unpacker:p,otelParentCtx:d,otelChildCtx:this._tracingHelper.getActiveContext(),customDataProxyFetch:f})}catch(y){throw y.clientVersion=this._clientVersion,y}}get $metrics(){if(!this._hasPreviewFlag("metrics"))throw new X("`metrics` preview feature must be enabled in order to access metrics API",{clientVersion:this._clientVersion});return this._metrics}_hasPreviewFlag(n){return!!this._engineConfig.previewFeatures?.includes(n)}}return t}function Il(e,t){return im(e)?[new oe(e,t),ul]:[e,cl]}function im(e){return Array.isArray(e)&&Array.isArray(e.raw)}var om=new Set(["toJSON","$$typeof","asymmetricMatch",Symbol.iterator,Symbol.toStringTag,Symbol.isConcatSpreadable,Symbol.toPrimitive]);function _l(e){return new Proxy(e,{get(t,r){if(r in t)return t[r];if(!om.has(r))throw new TypeError(`Invalid enum value: ${String(r)}`)}})}function Nl(e){_t(e,{conflictCheck:"warn"})}0&&(module.exports={DMMF,DMMFClass,Debug,Decimal,Extensions,MetricsClient,NotFoundError,ObjectEnumValue,PrismaClientInitializationError,PrismaClientKnownRequestError,PrismaClientRustPanicError,PrismaClientUnknownRequestError,PrismaClientValidationError,Public,Sql,Types,defineDmmfProperty,empty,getPrismaClient,itxClientDenyList,join,makeStrictEnum,objectEnumNames,objectEnumValues,raw,sqltag,warnEnvConflicts,warnOnce}); +/*! Bundled license information: + +decimal.js/decimal.mjs: + (*! + * decimal.js v10.4.3 + * An arbitrary-precision Decimal type for JavaScript. + * https://github.com/MikeMcl/decimal.js + * Copyright (c) 2022 Michael Mclaughlin + * MIT Licence + *) +*/ +//# sourceMappingURL=library.js.map diff --git a/packages/dataprovider/generated/nexus-prisma.ts b/packages/dataprovider/generated/nexus-prisma.ts index b5d0d83..2518dbb 100644 --- a/packages/dataprovider/generated/nexus-prisma.ts +++ b/packages/dataprovider/generated/nexus-prisma.ts @@ -1,4 +1,4 @@ -import * as Typegen from 'nexus-plugin-prisma/typegen' +import * as Typegen from '@morgothulhu/nexus-plugin-prisma/typegen' import * as Prisma from '../.prisma'; // Pagination type @@ -31,43 +31,79 @@ interface NexusPrismaInputs { filtering: 'AND' | 'OR' | 'NOT' | 'id' | 'name' | 'users' ordering: 'id' | 'name' | 'users' } + groupByUserRole: { + filtering: 'AND' | 'OR' | 'NOT' | 'id' | 'name' | 'users' + ordering: 'id' | 'name' | '_count' | '_max' | '_min' + } companies: { - filtering: 'AND' | 'OR' | 'NOT' | 'id' | 'name' | 'user' | 'userId' - ordering: 'id' | 'name' | 'user' | 'userId' + filtering: 'AND' | 'OR' | 'NOT' | 'id' | 'name' | 'userId' | 'user' + ordering: 'id' | 'name' | 'userId' | 'user' + } + groupByCompany: { + filtering: 'AND' | 'OR' | 'NOT' | 'id' | 'name' | 'userId' | 'user' + ordering: 'id' | 'name' | 'userId' | '_count' | '_max' | '_min' } userSocialMedias: { - filtering: 'AND' | 'OR' | 'NOT' | 'id' | 'instagram' | 'twitter' | 'user' | 'userId' - ordering: 'id' | 'instagram' | 'twitter' | 'user' | 'userId' + filtering: 'AND' | 'OR' | 'NOT' | 'id' | 'instagram' | 'twitter' | 'userId' | 'user' + ordering: 'id' | 'instagram' | 'twitter' | 'userId' | 'user' + } + groupByUserSocialMedia: { + filtering: 'AND' | 'OR' | 'NOT' | 'id' | 'instagram' | 'twitter' | 'userId' | 'user' + ordering: 'id' | 'instagram' | 'twitter' | 'userId' | '_count' | '_max' | '_min' } blogPosts: { - filtering: 'AND' | 'OR' | 'NOT' | 'id' | 'title' | 'text' | 'author' | 'authorId' | 'comments' - ordering: 'id' | 'title' | 'text' | 'author' | 'authorId' | 'comments' + filtering: 'AND' | 'OR' | 'NOT' | 'id' | 'title' | 'text' | 'authorId' | 'author' | 'comments' + ordering: 'id' | 'title' | 'text' | 'authorId' | 'author' | 'comments' + } + groupByBlogPost: { + filtering: 'AND' | 'OR' | 'NOT' | 'id' | 'title' | 'text' | 'authorId' | 'author' | 'comments' + ordering: 'id' | 'title' | 'text' | 'authorId' | '_count' | '_max' | '_min' } blogPostComments: { - filtering: 'AND' | 'OR' | 'NOT' | 'id' | 'text' | 'post' | 'postId' | 'author' | 'authorId' - ordering: 'id' | 'text' | 'post' | 'postId' | 'author' | 'authorId' + filtering: 'AND' | 'OR' | 'NOT' | 'id' | 'text' | 'postId' | 'authorId' | 'post' | 'author' + ordering: 'id' | 'text' | 'postId' | 'authorId' | 'post' | 'author' + } + groupByBlogPostComment: { + filtering: 'AND' | 'OR' | 'NOT' | 'id' | 'text' | 'postId' | 'authorId' | 'post' | 'author' + ordering: 'id' | 'text' | 'postId' | 'authorId' | '_count' | '_max' | '_min' } sites: { - filtering: 'AND' | 'OR' | 'NOT' | 'id' | 'name' | 'url' | 'owner' | 'userId' - ordering: 'id' | 'name' | 'url' | 'owner' | 'userId' + filtering: 'AND' | 'OR' | 'NOT' | 'id' | 'name' | 'url' | 'userId' | 'owner' + ordering: 'id' | 'name' | 'url' | 'userId' | 'owner' + } + groupBySite: { + filtering: 'AND' | 'OR' | 'NOT' | 'id' | 'name' | 'url' | 'userId' | 'owner' + ordering: 'id' | 'name' | 'url' | 'userId' | '_count' | '_max' | '_min' } users: { - filtering: 'AND' | 'OR' | 'NOT' | 'id' | 'email' | 'roles' | 'firstName' | 'lastName' | 'gender' | 'yearOfBirth' | 'wantsNewsletter' | 'interests' | 'userSocialMedia' | 'address' | 'blogPosts' | 'comments' | 'companies' | 'weddingDate' | 'site' - ordering: 'id' | 'email' | 'roles' | 'firstName' | 'lastName' | 'gender' | 'yearOfBirth' | 'wantsNewsletter' | 'interests' | 'userSocialMedia' | 'address' | 'blogPosts' | 'comments' | 'companies' | 'weddingDate' | 'site' + filtering: 'AND' | 'OR' | 'NOT' | 'id' | 'email' | 'firstName' | 'lastName' | 'gender' | 'yearOfBirth' | 'wantsNewsletter' | 'interests' | 'address' | 'weddingDate' | 'roles' | 'userSocialMedia' | 'blogPosts' | 'comments' | 'companies' | 'site' + ordering: 'id' | 'email' | 'firstName' | 'lastName' | 'gender' | 'yearOfBirth' | 'wantsNewsletter' | 'interests' | 'address' | 'weddingDate' | 'roles' | 'userSocialMedia' | 'blogPosts' | 'comments' | 'companies' | 'site' + } + groupByUser: { + filtering: 'AND' | 'OR' | 'NOT' | 'id' | 'email' | 'firstName' | 'lastName' | 'gender' | 'yearOfBirth' | 'wantsNewsletter' | 'interests' | 'address' | 'weddingDate' | 'roles' | 'userSocialMedia' | 'blogPosts' | 'comments' | 'companies' | 'site' + ordering: 'id' | 'email' | 'firstName' | 'lastName' | 'gender' | 'yearOfBirth' | 'wantsNewsletter' | 'interests' | 'address' | 'weddingDate' | '_count' | '_avg' | '_max' | '_min' | '_sum' } 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' } + groupByFilteringTest: { + 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' | '_count' | '_avg' | '_max' | '_min' | '_sum' + } somePublicRecordWithIntIds: { filtering: 'AND' | 'OR' | 'NOT' | 'id' | 'title' ordering: 'id' | 'title' } + groupBySomePublicRecordWithIntId: { + filtering: 'AND' | 'OR' | 'NOT' | 'id' | 'title' + ordering: 'id' | 'title' | '_count' | '_avg' | '_max' | '_min' | '_sum' + } }, UserRole: { users: { - filtering: 'AND' | 'OR' | 'NOT' | 'id' | 'email' | 'roles' | 'firstName' | 'lastName' | 'gender' | 'yearOfBirth' | 'wantsNewsletter' | 'interests' | 'userSocialMedia' | 'address' | 'blogPosts' | 'comments' | 'companies' | 'weddingDate' | 'site' - ordering: 'id' | 'email' | 'roles' | 'firstName' | 'lastName' | 'gender' | 'yearOfBirth' | 'wantsNewsletter' | 'interests' | 'userSocialMedia' | 'address' | 'blogPosts' | 'comments' | 'companies' | 'weddingDate' | 'site' + filtering: 'AND' | 'OR' | 'NOT' | 'id' | 'email' | 'firstName' | 'lastName' | 'gender' | 'yearOfBirth' | 'wantsNewsletter' | 'interests' | 'address' | 'weddingDate' | 'roles' | 'userSocialMedia' | 'blogPosts' | 'comments' | 'companies' | 'site' + ordering: 'id' | 'email' | 'firstName' | 'lastName' | 'gender' | 'yearOfBirth' | 'wantsNewsletter' | 'interests' | 'address' | 'weddingDate' | 'roles' | 'userSocialMedia' | 'blogPosts' | 'comments' | 'companies' | 'site' } } Company: { @@ -78,8 +114,8 @@ interface NexusPrismaInputs { } BlogPost: { comments: { - filtering: 'AND' | 'OR' | 'NOT' | 'id' | 'text' | 'post' | 'postId' | 'author' | 'authorId' - ordering: 'id' | 'text' | 'post' | 'postId' | 'author' | 'authorId' + filtering: 'AND' | 'OR' | 'NOT' | 'id' | 'text' | 'postId' | 'authorId' | 'post' | 'author' + ordering: 'id' | 'text' | 'postId' | 'authorId' | 'post' | 'author' } } BlogPostComment: { @@ -94,16 +130,16 @@ interface NexusPrismaInputs { ordering: 'id' | 'name' | 'users' } blogPosts: { - filtering: 'AND' | 'OR' | 'NOT' | 'id' | 'title' | 'text' | 'author' | 'authorId' | 'comments' - ordering: 'id' | 'title' | 'text' | 'author' | 'authorId' | 'comments' + filtering: 'AND' | 'OR' | 'NOT' | 'id' | 'title' | 'text' | 'authorId' | 'author' | 'comments' + ordering: 'id' | 'title' | 'text' | 'authorId' | 'author' | 'comments' } comments: { - filtering: 'AND' | 'OR' | 'NOT' | 'id' | 'text' | 'post' | 'postId' | 'author' | 'authorId' - ordering: 'id' | 'text' | 'post' | 'postId' | 'author' | 'authorId' + filtering: 'AND' | 'OR' | 'NOT' | 'id' | 'text' | 'postId' | 'authorId' | 'post' | 'author' + ordering: 'id' | 'text' | 'postId' | 'authorId' | 'post' | 'author' } companies: { - filtering: 'AND' | 'OR' | 'NOT' | 'id' | 'name' | 'user' | 'userId' - ordering: 'id' | 'name' | 'user' | 'userId' + filtering: 'AND' | 'OR' | 'NOT' | 'id' | 'name' | 'userId' | 'user' + ordering: 'id' | 'name' | 'userId' | 'user' } } FilteringTest: { @@ -117,79 +153,106 @@ interface NexusPrismaInputs { // Prisma output types metadata interface NexusPrismaOutputs { Query: { - userRole: 'UserRole' + aggregateUserRole: 'AggregateUserRole' userRoles: 'UserRole' - company: 'Company' + userRole: 'UserRole' + groupByUserRole: 'UserRoleGroupByOutputType' + aggregateCompany: 'AggregateCompany' companies: 'Company' - userSocialMedia: 'UserSocialMedia' + company: 'Company' + groupByCompany: 'CompanyGroupByOutputType' + aggregateUserSocialMedia: 'AggregateUserSocialMedia' userSocialMedias: 'UserSocialMedia' - blogPost: 'BlogPost' + userSocialMedia: 'UserSocialMedia' + groupByUserSocialMedia: 'UserSocialMediaGroupByOutputType' + aggregateBlogPost: 'AggregateBlogPost' blogPosts: 'BlogPost' - blogPostComment: 'BlogPostComment' + blogPost: 'BlogPost' + groupByBlogPost: 'BlogPostGroupByOutputType' + aggregateBlogPostComment: 'AggregateBlogPostComment' blogPostComments: 'BlogPostComment' - site: 'Site' + blogPostComment: 'BlogPostComment' + groupByBlogPostComment: 'BlogPostCommentGroupByOutputType' + aggregateSite: 'AggregateSite' sites: 'Site' - user: 'User' + site: 'Site' + groupBySite: 'SiteGroupByOutputType' + aggregateUser: 'AggregateUser' users: 'User' - filteringTest: 'FilteringTest' + user: 'User' + groupByUser: 'UserGroupByOutputType' + aggregateFilteringTest: 'AggregateFilteringTest' filteringTests: 'FilteringTest' - somePublicRecordWithIntId: 'SomePublicRecordWithIntId' + filteringTest: 'FilteringTest' + groupByFilteringTest: 'FilteringTestGroupByOutputType' + aggregateSomePublicRecordWithIntId: 'AggregateSomePublicRecordWithIntId' somePublicRecordWithIntIds: 'SomePublicRecordWithIntId' + somePublicRecordWithIntId: 'SomePublicRecordWithIntId' + groupBySomePublicRecordWithIntId: 'SomePublicRecordWithIntIdGroupByOutputType' }, Mutation: { createOneUserRole: 'UserRole' - updateOneUserRole: 'UserRole' - updateManyUserRole: 'AffectedRowsOutput' + createManyUserRole: 'AffectedRowsOutput' deleteOneUserRole: 'UserRole' deleteManyUserRole: 'AffectedRowsOutput' + updateOneUserRole: 'UserRole' + updateManyUserRole: 'AffectedRowsOutput' upsertOneUserRole: 'UserRole' createOneCompany: 'Company' - updateOneCompany: 'Company' - updateManyCompany: 'AffectedRowsOutput' + createManyCompany: 'AffectedRowsOutput' deleteOneCompany: 'Company' deleteManyCompany: 'AffectedRowsOutput' + updateOneCompany: 'Company' + updateManyCompany: 'AffectedRowsOutput' upsertOneCompany: 'Company' createOneUserSocialMedia: 'UserSocialMedia' - updateOneUserSocialMedia: 'UserSocialMedia' - updateManyUserSocialMedia: 'AffectedRowsOutput' + createManyUserSocialMedia: 'AffectedRowsOutput' deleteOneUserSocialMedia: 'UserSocialMedia' deleteManyUserSocialMedia: 'AffectedRowsOutput' + updateOneUserSocialMedia: 'UserSocialMedia' + updateManyUserSocialMedia: 'AffectedRowsOutput' upsertOneUserSocialMedia: 'UserSocialMedia' createOneBlogPost: 'BlogPost' - updateOneBlogPost: 'BlogPost' - updateManyBlogPost: 'AffectedRowsOutput' + createManyBlogPost: 'AffectedRowsOutput' deleteOneBlogPost: 'BlogPost' deleteManyBlogPost: 'AffectedRowsOutput' + updateOneBlogPost: 'BlogPost' + updateManyBlogPost: 'AffectedRowsOutput' upsertOneBlogPost: 'BlogPost' createOneBlogPostComment: 'BlogPostComment' - updateOneBlogPostComment: 'BlogPostComment' - updateManyBlogPostComment: 'AffectedRowsOutput' + createManyBlogPostComment: 'AffectedRowsOutput' deleteOneBlogPostComment: 'BlogPostComment' deleteManyBlogPostComment: 'AffectedRowsOutput' + updateOneBlogPostComment: 'BlogPostComment' + updateManyBlogPostComment: 'AffectedRowsOutput' upsertOneBlogPostComment: 'BlogPostComment' createOneSite: 'Site' - updateOneSite: 'Site' - updateManySite: 'AffectedRowsOutput' + createManySite: 'AffectedRowsOutput' deleteOneSite: 'Site' deleteManySite: 'AffectedRowsOutput' + updateOneSite: 'Site' + updateManySite: 'AffectedRowsOutput' upsertOneSite: 'Site' createOneUser: 'User' - updateOneUser: 'User' - updateManyUser: 'AffectedRowsOutput' + createManyUser: 'AffectedRowsOutput' deleteOneUser: 'User' deleteManyUser: 'AffectedRowsOutput' + updateOneUser: 'User' + updateManyUser: 'AffectedRowsOutput' upsertOneUser: 'User' createOneFilteringTest: 'FilteringTest' - updateOneFilteringTest: 'FilteringTest' - updateManyFilteringTest: 'AffectedRowsOutput' + createManyFilteringTest: 'AffectedRowsOutput' deleteOneFilteringTest: 'FilteringTest' deleteManyFilteringTest: 'AffectedRowsOutput' + updateOneFilteringTest: 'FilteringTest' + updateManyFilteringTest: 'AffectedRowsOutput' upsertOneFilteringTest: 'FilteringTest' createOneSomePublicRecordWithIntId: 'SomePublicRecordWithIntId' - updateOneSomePublicRecordWithIntId: 'SomePublicRecordWithIntId' - updateManySomePublicRecordWithIntId: 'AffectedRowsOutput' + createManySomePublicRecordWithIntId: 'AffectedRowsOutput' deleteOneSomePublicRecordWithIntId: 'SomePublicRecordWithIntId' deleteManySomePublicRecordWithIntId: 'AffectedRowsOutput' + updateOneSomePublicRecordWithIntId: 'SomePublicRecordWithIntId' + updateManySomePublicRecordWithIntId: 'AffectedRowsOutput' upsertOneSomePublicRecordWithIntId: 'SomePublicRecordWithIntId' }, UserRole: { diff --git a/packages/dataprovider/generated/nexus.ts b/packages/dataprovider/generated/nexus.ts index bef9cfe..96f7778 100644 --- a/packages/dataprovider/generated/nexus.ts +++ b/packages/dataprovider/generated/nexus.ts @@ -83,10 +83,10 @@ export interface NexusGenInputs { } BlogPostCommentOrderByWithRelationInput: { // input type author?: NexusGenInputs['UserOrderByWithRelationInput'] | null; // UserOrderByWithRelationInput - authorId?: NexusGenEnums['SortOrder'] | null; // SortOrder + authorId?: NexusGenInputs['SortOrderInput'] | null; // SortOrderInput id?: NexusGenEnums['SortOrder'] | null; // SortOrder post?: NexusGenInputs['BlogPostOrderByWithRelationInput'] | null; // BlogPostOrderByWithRelationInput - postId?: NexusGenEnums['SortOrder'] | null; // SortOrder + postId?: NexusGenInputs['SortOrderInput'] | null; // SortOrderInput text?: NexusGenEnums['SortOrder'] | null; // SortOrder } BlogPostCommentScalarWhereInput: { // input type @@ -99,9 +99,9 @@ export interface NexusGenInputs { text?: NexusGenInputs['StringFilter'] | null; // StringFilter } BlogPostCommentUpdateInput: { // input type - author?: NexusGenInputs['UserUpdateOneWithoutCommentsInput'] | null; // UserUpdateOneWithoutCommentsInput + author?: NexusGenInputs['UserUpdateOneWithoutCommentsNestedInput'] | null; // UserUpdateOneWithoutCommentsNestedInput id?: NexusGenInputs['StringFieldUpdateOperationsInput'] | null; // StringFieldUpdateOperationsInput - post?: NexusGenInputs['BlogPostUpdateOneWithoutCommentsInput'] | null; // BlogPostUpdateOneWithoutCommentsInput + post?: NexusGenInputs['BlogPostUpdateOneWithoutCommentsNestedInput'] | null; // BlogPostUpdateOneWithoutCommentsNestedInput text?: NexusGenInputs['StringFieldUpdateOperationsInput'] | null; // StringFieldUpdateOperationsInput } BlogPostCommentUpdateManyMutationInput: { // input type @@ -116,7 +116,7 @@ export interface NexusGenInputs { data: NexusGenInputs['BlogPostCommentUpdateManyMutationInput']; // BlogPostCommentUpdateManyMutationInput! where: NexusGenInputs['BlogPostCommentScalarWhereInput']; // BlogPostCommentScalarWhereInput! } - BlogPostCommentUpdateManyWithoutAuthorInput: { // input type + BlogPostCommentUpdateManyWithoutAuthorNestedInput: { // input type connect?: NexusGenInputs['BlogPostCommentWhereUniqueInput'][] | null; // [BlogPostCommentWhereUniqueInput!] connectOrCreate?: NexusGenInputs['BlogPostCommentCreateOrConnectWithoutAuthorInput'][] | null; // [BlogPostCommentCreateOrConnectWithoutAuthorInput!] create?: NexusGenInputs['BlogPostCommentCreateWithoutAuthorInput'][] | null; // [BlogPostCommentCreateWithoutAuthorInput!] @@ -129,7 +129,7 @@ export interface NexusGenInputs { updateMany?: NexusGenInputs['BlogPostCommentUpdateManyWithWhereWithoutAuthorInput'][] | null; // [BlogPostCommentUpdateManyWithWhereWithoutAuthorInput!] upsert?: NexusGenInputs['BlogPostCommentUpsertWithWhereUniqueWithoutAuthorInput'][] | null; // [BlogPostCommentUpsertWithWhereUniqueWithoutAuthorInput!] } - BlogPostCommentUpdateManyWithoutPostInput: { // input type + BlogPostCommentUpdateManyWithoutPostNestedInput: { // input type connect?: NexusGenInputs['BlogPostCommentWhereUniqueInput'][] | null; // [BlogPostCommentWhereUniqueInput!] connectOrCreate?: NexusGenInputs['BlogPostCommentCreateOrConnectWithoutPostInput'][] | null; // [BlogPostCommentCreateOrConnectWithoutPostInput!] create?: NexusGenInputs['BlogPostCommentCreateWithoutPostInput'][] | null; // [BlogPostCommentCreateWithoutPostInput!] @@ -152,11 +152,11 @@ export interface NexusGenInputs { } BlogPostCommentUpdateWithoutAuthorInput: { // input type id?: NexusGenInputs['StringFieldUpdateOperationsInput'] | null; // StringFieldUpdateOperationsInput - post?: NexusGenInputs['BlogPostUpdateOneWithoutCommentsInput'] | null; // BlogPostUpdateOneWithoutCommentsInput + post?: NexusGenInputs['BlogPostUpdateOneWithoutCommentsNestedInput'] | null; // BlogPostUpdateOneWithoutCommentsNestedInput text?: NexusGenInputs['StringFieldUpdateOperationsInput'] | null; // StringFieldUpdateOperationsInput } BlogPostCommentUpdateWithoutPostInput: { // input type - author?: NexusGenInputs['UserUpdateOneWithoutCommentsInput'] | null; // UserUpdateOneWithoutCommentsInput + author?: NexusGenInputs['UserUpdateOneWithoutCommentsNestedInput'] | null; // UserUpdateOneWithoutCommentsNestedInput id?: NexusGenInputs['StringFieldUpdateOperationsInput'] | null; // StringFieldUpdateOperationsInput text?: NexusGenInputs['StringFieldUpdateOperationsInput'] | null; // StringFieldUpdateOperationsInput } @@ -182,7 +182,15 @@ export interface NexusGenInputs { text?: NexusGenInputs['StringFilter'] | null; // StringFilter } BlogPostCommentWhereUniqueInput: { // 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?: string | null; // String + post?: NexusGenInputs['BlogPostWhereInput'] | null; // BlogPostWhereInput + postId?: NexusGenInputs['StringNullableFilter'] | null; // StringNullableFilter + text?: NexusGenInputs['StringFilter'] | null; // StringFilter } BlogPostCreateInput: { // input type author?: NexusGenInputs['UserCreateNestedOneWithoutBlogPostsInput'] | null; // UserCreateNestedOneWithoutBlogPostsInput @@ -241,7 +249,7 @@ export interface NexusGenInputs { } BlogPostOrderByWithRelationInput: { // input type author?: NexusGenInputs['UserOrderByWithRelationInput'] | null; // UserOrderByWithRelationInput - authorId?: NexusGenEnums['SortOrder'] | null; // SortOrder + authorId?: NexusGenInputs['SortOrderInput'] | null; // SortOrderInput comments?: NexusGenInputs['BlogPostCommentOrderByRelationAggregateInput'] | null; // BlogPostCommentOrderByRelationAggregateInput id?: NexusGenEnums['SortOrder'] | null; // SortOrder text?: NexusGenEnums['SortOrder'] | null; // SortOrder @@ -257,8 +265,8 @@ export interface NexusGenInputs { title?: NexusGenInputs['StringFilter'] | null; // StringFilter } BlogPostUpdateInput: { // input type - author?: NexusGenInputs['UserUpdateOneWithoutBlogPostsInput'] | null; // UserUpdateOneWithoutBlogPostsInput - comments?: NexusGenInputs['BlogPostCommentUpdateManyWithoutPostInput'] | null; // BlogPostCommentUpdateManyWithoutPostInput + author?: NexusGenInputs['UserUpdateOneWithoutBlogPostsNestedInput'] | null; // UserUpdateOneWithoutBlogPostsNestedInput + comments?: NexusGenInputs['BlogPostCommentUpdateManyWithoutPostNestedInput'] | null; // BlogPostCommentUpdateManyWithoutPostNestedInput id?: NexusGenInputs['StringFieldUpdateOperationsInput'] | null; // StringFieldUpdateOperationsInput text?: NexusGenInputs['StringFieldUpdateOperationsInput'] | null; // StringFieldUpdateOperationsInput title?: NexusGenInputs['StringFieldUpdateOperationsInput'] | null; // StringFieldUpdateOperationsInput @@ -272,7 +280,7 @@ export interface NexusGenInputs { data?: NexusGenInputs['BlogPostUpdateManyMutationInput'] | null; // BlogPostUpdateManyMutationInput where?: NexusGenInputs['BlogPostScalarWhereInput'] | null; // BlogPostScalarWhereInput } - BlogPostUpdateManyWithoutAuthorInput: { // input type + BlogPostUpdateManyWithoutAuthorNestedInput: { // input type connect?: Array | null; // [BlogPostWhereUniqueInput] connectOrCreate?: Array | null; // [BlogPostCreateOrConnectWithoutAuthorInput] create?: Array | null; // [BlogPostCreateWithoutAuthorInput] @@ -284,27 +292,31 @@ export interface NexusGenInputs { updateMany?: Array | null; // [BlogPostUpdateManyWithWhereWithoutAuthorInput] upsert?: Array | null; // [BlogPostUpsertWithWhereUniqueWithoutAuthorInput] } - BlogPostUpdateOneWithoutCommentsInput: { // input type + BlogPostUpdateOneWithoutCommentsNestedInput: { // input type connect?: NexusGenInputs['BlogPostWhereUniqueInput'] | null; // BlogPostWhereUniqueInput connectOrCreate?: NexusGenInputs['BlogPostCreateOrConnectWithoutCommentsInput'] | null; // BlogPostCreateOrConnectWithoutCommentsInput create?: NexusGenInputs['BlogPostCreateWithoutCommentsInput'] | null; // BlogPostCreateWithoutCommentsInput - delete?: boolean | null; // Boolean - disconnect?: boolean | null; // Boolean - update?: NexusGenInputs['BlogPostUpdateWithoutCommentsInput'] | null; // BlogPostUpdateWithoutCommentsInput + delete?: NexusGenInputs['BlogPostWhereInput'] | null; // BlogPostWhereInput + disconnect?: NexusGenInputs['BlogPostWhereInput'] | null; // BlogPostWhereInput + update?: NexusGenInputs['BlogPostUpdateToOneWithWhereWithoutCommentsInput'] | null; // BlogPostUpdateToOneWithWhereWithoutCommentsInput upsert?: NexusGenInputs['BlogPostUpsertWithoutCommentsInput'] | null; // BlogPostUpsertWithoutCommentsInput } + BlogPostUpdateToOneWithWhereWithoutCommentsInput: { // input type + data: NexusGenInputs['BlogPostUpdateWithoutCommentsInput']; // BlogPostUpdateWithoutCommentsInput! + where?: NexusGenInputs['BlogPostWhereInput'] | null; // BlogPostWhereInput + } BlogPostUpdateWithWhereUniqueWithoutAuthorInput: { // input type data?: NexusGenInputs['BlogPostUpdateWithoutAuthorInput'] | null; // BlogPostUpdateWithoutAuthorInput where?: NexusGenInputs['BlogPostWhereUniqueInput'] | null; // BlogPostWhereUniqueInput } BlogPostUpdateWithoutAuthorInput: { // input type - comments?: NexusGenInputs['BlogPostCommentUpdateManyWithoutPostInput'] | null; // BlogPostCommentUpdateManyWithoutPostInput + comments?: NexusGenInputs['BlogPostCommentUpdateManyWithoutPostNestedInput'] | null; // BlogPostCommentUpdateManyWithoutPostNestedInput id?: NexusGenInputs['StringFieldUpdateOperationsInput'] | null; // StringFieldUpdateOperationsInput text?: NexusGenInputs['StringFieldUpdateOperationsInput'] | null; // StringFieldUpdateOperationsInput title?: NexusGenInputs['StringFieldUpdateOperationsInput'] | null; // StringFieldUpdateOperationsInput } BlogPostUpdateWithoutCommentsInput: { // input type - author?: NexusGenInputs['UserUpdateOneWithoutBlogPostsInput'] | null; // UserUpdateOneWithoutBlogPostsInput + author?: NexusGenInputs['UserUpdateOneWithoutBlogPostsNestedInput'] | null; // UserUpdateOneWithoutBlogPostsNestedInput id?: NexusGenInputs['StringFieldUpdateOperationsInput'] | null; // StringFieldUpdateOperationsInput text?: NexusGenInputs['StringFieldUpdateOperationsInput'] | null; // StringFieldUpdateOperationsInput title?: NexusGenInputs['StringFieldUpdateOperationsInput'] | null; // StringFieldUpdateOperationsInput @@ -317,6 +329,7 @@ export interface NexusGenInputs { BlogPostUpsertWithoutCommentsInput: { // input type create: NexusGenInputs['BlogPostCreateWithoutCommentsInput']; // BlogPostCreateWithoutCommentsInput! update: NexusGenInputs['BlogPostUpdateWithoutCommentsInput']; // BlogPostUpdateWithoutCommentsInput! + where?: NexusGenInputs['BlogPostWhereInput'] | null; // BlogPostWhereInput } BlogPostWhereInput: { // input type AND?: NexusGenInputs['BlogPostWhereInput'][] | null; // [BlogPostWhereInput!] @@ -330,7 +343,15 @@ export interface NexusGenInputs { title?: NexusGenInputs['StringFilter'] | null; // StringFilter } BlogPostWhereUniqueInput: { // 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?: string | null; // String + text?: NexusGenInputs['StringFilter'] | null; // StringFilter + title?: NexusGenInputs['StringFilter'] | null; // StringFilter } BoolFieldUpdateOperationsInput: { // input type set?: boolean | null; // Boolean @@ -391,7 +412,7 @@ export interface NexusGenInputs { CompanyUpdateInput: { // input type id?: NexusGenInputs['StringFieldUpdateOperationsInput'] | null; // StringFieldUpdateOperationsInput name?: NexusGenInputs['StringFieldUpdateOperationsInput'] | null; // StringFieldUpdateOperationsInput - user?: NexusGenInputs['UserUpdateOneRequiredWithoutCompaniesInput'] | null; // UserUpdateOneRequiredWithoutCompaniesInput + user?: NexusGenInputs['UserUpdateOneRequiredWithoutCompaniesNestedInput'] | null; // UserUpdateOneRequiredWithoutCompaniesNestedInput } CompanyUpdateManyMutationInput: { // input type id?: NexusGenInputs['StringFieldUpdateOperationsInput'] | null; // StringFieldUpdateOperationsInput @@ -401,7 +422,7 @@ export interface NexusGenInputs { data: NexusGenInputs['CompanyUpdateManyMutationInput']; // CompanyUpdateManyMutationInput! where: NexusGenInputs['CompanyScalarWhereInput']; // CompanyScalarWhereInput! } - CompanyUpdateManyWithoutUserInput: { // input type + CompanyUpdateManyWithoutUserNestedInput: { // input type connect?: NexusGenInputs['CompanyWhereUniqueInput'][] | null; // [CompanyWhereUniqueInput!] connectOrCreate?: NexusGenInputs['CompanyCreateOrConnectWithoutUserInput'][] | null; // [CompanyCreateOrConnectWithoutUserInput!] create?: NexusGenInputs['CompanyCreateWithoutUserInput'][] | null; // [CompanyCreateWithoutUserInput!] @@ -437,7 +458,13 @@ export interface NexusGenInputs { userId?: NexusGenInputs['StringFilter'] | null; // StringFilter } CompanyWhereUniqueInput: { // input type + AND?: NexusGenInputs['CompanyWhereInput'][] | null; // [CompanyWhereInput!] + NOT?: NexusGenInputs['CompanyWhereInput'][] | null; // [CompanyWhereInput!] + OR?: NexusGenInputs['CompanyWhereInput'][] | null; // [CompanyWhereInput!] id?: string | null; // String + name?: NexusGenInputs['StringFilter'] | null; // StringFilter + user?: NexusGenInputs['UserWhereInput'] | null; // UserWhereInput + userId?: NexusGenInputs['StringFilter'] | null; // StringFilter } DateTimeFieldUpdateOperationsInput: { // input type set?: NexusGenScalars['DateTime'] | null; // DateTime @@ -536,7 +563,19 @@ export interface NexusGenInputs { stringField?: NexusGenInputs['StringFilter'] | null; // StringFilter } FilteringTestWhereUniqueInput: { // 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?: number | null; // Int + 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 } FloatFieldUpdateOperationsInput: { // input type decrement?: number | null; // Float @@ -583,8 +622,19 @@ export interface NexusGenInputs { notIn?: number[] | null; // [Int!] } JsonNullableFilter: { // input type - equals?: NexusGenEnums['JsonNullValueFilter'] | null; // JsonNullValueFilter - not?: NexusGenEnums['JsonNullValueFilter'] | null; // JsonNullValueFilter + array_contains?: NexusGenScalars['Json'] | null; // Json + array_ends_with?: NexusGenScalars['Json'] | null; // Json + array_starts_with?: NexusGenScalars['Json'] | null; // Json + equals?: NexusGenScalars['Json'] | null; // Json + gt?: NexusGenScalars['Json'] | null; // Json + gte?: NexusGenScalars['Json'] | null; // Json + lt?: NexusGenScalars['Json'] | null; // Json + lte?: NexusGenScalars['Json'] | null; // Json + not?: NexusGenScalars['Json'] | null; // Json + path?: string[] | null; // [String!] + string_contains?: string | null; // String + string_ends_with?: string | null; // String + string_starts_with?: string | null; // String } NestedBoolFilter: { // input type equals?: boolean | null; // Boolean @@ -707,16 +757,20 @@ export interface NexusGenInputs { name?: NexusGenEnums['SortOrder'] | null; // SortOrder owner?: NexusGenInputs['UserOrderByWithRelationInput'] | null; // UserOrderByWithRelationInput url?: NexusGenEnums['SortOrder'] | null; // SortOrder - userId?: NexusGenEnums['SortOrder'] | null; // SortOrder + userId?: NexusGenInputs['SortOrderInput'] | null; // SortOrderInput } - SiteUpdateOneWithoutOwnerInput: { // input type + SiteUpdateOneWithoutOwnerNestedInput: { // input type connect?: NexusGenInputs['SiteWhereUniqueInput'] | null; // SiteWhereUniqueInput connectOrCreate?: NexusGenInputs['SiteCreateOrConnectWithoutOwnerInput'] | null; // SiteCreateOrConnectWithoutOwnerInput create?: NexusGenInputs['SiteCreateWithoutOwnerInput'] | null; // SiteCreateWithoutOwnerInput - delete?: boolean | null; // Boolean - update?: NexusGenInputs['SiteUpdateWithoutOwnerInput'] | null; // SiteUpdateWithoutOwnerInput + delete?: NexusGenInputs['SiteWhereInput'] | null; // SiteWhereInput + update?: NexusGenInputs['SiteUpdateToOneWithWhereWithoutOwnerInput'] | null; // SiteUpdateToOneWithWhereWithoutOwnerInput upsert?: NexusGenInputs['SiteUpsertWithoutOwnerInput'] | null; // SiteUpsertWithoutOwnerInput } + SiteUpdateToOneWithWhereWithoutOwnerInput: { // input type + data?: NexusGenInputs['SiteUpdateWithoutOwnerInput'] | null; // SiteUpdateWithoutOwnerInput + where?: NexusGenInputs['SiteWhereInput'] | null; // SiteWhereInput + } SiteUpdateWithoutOwnerInput: { // input type id?: NexusGenInputs['StringFieldUpdateOperationsInput'] | null; // StringFieldUpdateOperationsInput name?: NexusGenInputs['StringFieldUpdateOperationsInput'] | null; // StringFieldUpdateOperationsInput @@ -725,6 +779,7 @@ export interface NexusGenInputs { SiteUpsertWithoutOwnerInput: { // input type create?: NexusGenInputs['SiteCreateWithoutOwnerInput'] | null; // SiteCreateWithoutOwnerInput update?: NexusGenInputs['SiteUpdateWithoutOwnerInput'] | null; // SiteUpdateWithoutOwnerInput + where?: NexusGenInputs['SiteWhereInput'] | null; // SiteWhereInput } SiteWhereInput: { // input type AND?: NexusGenInputs['SiteWhereInput'][] | null; // [SiteWhereInput!] @@ -737,7 +792,13 @@ export interface NexusGenInputs { userId?: NexusGenInputs['StringNullableFilter'] | null; // StringNullableFilter } SiteWhereUniqueInput: { // input type + AND?: NexusGenInputs['SiteWhereInput'][] | null; // [SiteWhereInput!] + NOT?: NexusGenInputs['SiteWhereInput'][] | null; // [SiteWhereInput!] + OR?: NexusGenInputs['SiteWhereInput'][] | null; // [SiteWhereInput!] id?: string | null; // String + name?: NexusGenInputs['StringFilter'] | null; // StringFilter + owner?: NexusGenInputs['UserWhereInput'] | null; // UserWhereInput + url?: NexusGenInputs['StringFilter'] | null; // StringFilter userId?: string | null; // String } SomePublicRecordWithIntIdCreateInput: { // input type @@ -761,7 +822,15 @@ export interface NexusGenInputs { title?: NexusGenInputs['StringFilter'] | null; // StringFilter } SomePublicRecordWithIntIdWhereUniqueInput: { // input type + AND?: NexusGenInputs['SomePublicRecordWithIntIdWhereInput'][] | null; // [SomePublicRecordWithIntIdWhereInput!] + NOT?: NexusGenInputs['SomePublicRecordWithIntIdWhereInput'][] | null; // [SomePublicRecordWithIntIdWhereInput!] + OR?: NexusGenInputs['SomePublicRecordWithIntIdWhereInput'][] | null; // [SomePublicRecordWithIntIdWhereInput!] id?: number | null; // Int + title?: NexusGenInputs['StringFilter'] | null; // StringFilter + } + SortOrderInput: { // input type + nulls?: NexusGenEnums['NullsOrder'] | null; // NullsOrder + sort: NexusGenEnums['SortOrder']; // SortOrder! } StringFieldUpdateOperationsInput: { // input type set?: string | null; // String @@ -795,7 +864,7 @@ export interface NexusGenInputs { startsWith?: string | null; // String } UserCreateInput: { // input type - address?: NexusGenEnums['NullableJsonNullValueInput'] | null; // NullableJsonNullValueInput + address?: NexusGenScalars['Json'] | null; // Json blogPosts?: NexusGenInputs['BlogPostCreateNestedManyWithoutAuthorInput'] | null; // BlogPostCreateNestedManyWithoutAuthorInput comments?: NexusGenInputs['BlogPostCommentCreateNestedManyWithoutAuthorInput'] | null; // BlogPostCommentCreateNestedManyWithoutAuthorInput companies?: NexusGenInputs['CompanyCreateNestedManyWithoutUserInput'] | null; // CompanyCreateNestedManyWithoutUserInput @@ -852,7 +921,7 @@ export interface NexusGenInputs { where: NexusGenInputs['UserWhereUniqueInput']; // UserWhereUniqueInput! } UserCreateWithoutBlogPostsInput: { // input type - address?: NexusGenEnums['NullableJsonNullValueInput'] | null; // NullableJsonNullValueInput + address?: NexusGenScalars['Json'] | null; // Json comments?: NexusGenInputs['BlogPostCommentCreateNestedManyWithoutAuthorInput'] | null; // BlogPostCommentCreateNestedManyWithoutAuthorInput companies?: NexusGenInputs['CompanyCreateNestedManyWithoutUserInput'] | null; // CompanyCreateNestedManyWithoutUserInput email: string; // String! @@ -869,7 +938,7 @@ export interface NexusGenInputs { yearOfBirth?: number | null; // Int } UserCreateWithoutCommentsInput: { // input type - address?: NexusGenEnums['NullableJsonNullValueInput'] | null; // NullableJsonNullValueInput + address?: NexusGenScalars['Json'] | null; // Json blogPosts?: NexusGenInputs['BlogPostCreateNestedManyWithoutAuthorInput'] | null; // BlogPostCreateNestedManyWithoutAuthorInput companies?: NexusGenInputs['CompanyCreateNestedManyWithoutUserInput'] | null; // CompanyCreateNestedManyWithoutUserInput email: string; // String! @@ -886,7 +955,7 @@ export interface NexusGenInputs { yearOfBirth?: number | null; // Int } UserCreateWithoutCompaniesInput: { // input type - address?: NexusGenEnums['NullableJsonNullValueInput'] | null; // NullableJsonNullValueInput + address?: NexusGenScalars['Json'] | null; // Json blogPosts?: NexusGenInputs['BlogPostCreateNestedManyWithoutAuthorInput'] | null; // BlogPostCreateNestedManyWithoutAuthorInput comments?: NexusGenInputs['BlogPostCommentCreateNestedManyWithoutAuthorInput'] | null; // BlogPostCommentCreateNestedManyWithoutAuthorInput email: string; // String! @@ -903,7 +972,7 @@ export interface NexusGenInputs { yearOfBirth?: number | null; // Int } UserCreateWithoutRolesInput: { // input type - address?: NexusGenEnums['NullableJsonNullValueInput'] | null; // NullableJsonNullValueInput + address?: NexusGenScalars['Json'] | null; // Json blogPosts?: NexusGenInputs['BlogPostCreateNestedManyWithoutAuthorInput'] | null; // BlogPostCreateNestedManyWithoutAuthorInput comments?: NexusGenInputs['BlogPostCommentCreateNestedManyWithoutAuthorInput'] | null; // BlogPostCommentCreateNestedManyWithoutAuthorInput companies?: NexusGenInputs['CompanyCreateNestedManyWithoutUserInput'] | null; // CompanyCreateNestedManyWithoutUserInput @@ -931,22 +1000,22 @@ export interface NexusGenInputs { _count?: NexusGenEnums['SortOrder'] | null; // SortOrder } UserOrderByWithRelationInput: { // input type - address?: NexusGenEnums['SortOrder'] | null; // SortOrder + address?: NexusGenInputs['SortOrderInput'] | null; // SortOrderInput blogPosts?: NexusGenInputs['BlogPostOrderByRelationAggregateInput'] | null; // BlogPostOrderByRelationAggregateInput comments?: NexusGenInputs['BlogPostCommentOrderByRelationAggregateInput'] | null; // BlogPostCommentOrderByRelationAggregateInput companies?: NexusGenInputs['CompanyOrderByRelationAggregateInput'] | null; // CompanyOrderByRelationAggregateInput email?: NexusGenEnums['SortOrder'] | null; // SortOrder - firstName?: NexusGenEnums['SortOrder'] | null; // SortOrder - gender?: NexusGenEnums['SortOrder'] | null; // SortOrder + firstName?: NexusGenInputs['SortOrderInput'] | null; // SortOrderInput + gender?: NexusGenInputs['SortOrderInput'] | null; // SortOrderInput id?: NexusGenEnums['SortOrder'] | null; // SortOrder interests?: NexusGenEnums['SortOrder'] | null; // SortOrder - lastName?: NexusGenEnums['SortOrder'] | null; // SortOrder + lastName?: NexusGenInputs['SortOrderInput'] | null; // SortOrderInput roles?: NexusGenInputs['UserRoleOrderByRelationAggregateInput'] | null; // UserRoleOrderByRelationAggregateInput site?: NexusGenInputs['SiteOrderByWithRelationInput'] | null; // SiteOrderByWithRelationInput userSocialMedia?: NexusGenInputs['UserSocialMediaOrderByWithRelationInput'] | null; // UserSocialMediaOrderByWithRelationInput wantsNewsletter?: NexusGenEnums['SortOrder'] | null; // SortOrder - weddingDate?: NexusGenEnums['SortOrder'] | null; // SortOrder - yearOfBirth?: NexusGenEnums['SortOrder'] | null; // SortOrder + weddingDate?: NexusGenInputs['SortOrderInput'] | null; // SortOrderInput + yearOfBirth?: NexusGenInputs['SortOrderInput'] | null; // SortOrderInput } UserRoleCreateInput: { // input type id?: string | null; // String @@ -989,7 +1058,7 @@ export interface NexusGenInputs { UserRoleUpdateInput: { // input type id?: NexusGenInputs['StringFieldUpdateOperationsInput'] | null; // StringFieldUpdateOperationsInput name?: NexusGenInputs['StringFieldUpdateOperationsInput'] | null; // StringFieldUpdateOperationsInput - users?: NexusGenInputs['UserUpdateManyWithoutRolesInput'] | null; // UserUpdateManyWithoutRolesInput + users?: NexusGenInputs['UserUpdateManyWithoutRolesNestedInput'] | null; // UserUpdateManyWithoutRolesNestedInput } UserRoleUpdateManyMutationInput: { // input type id?: NexusGenInputs['StringFieldUpdateOperationsInput'] | null; // StringFieldUpdateOperationsInput @@ -999,7 +1068,7 @@ export interface NexusGenInputs { data: NexusGenInputs['UserRoleUpdateManyMutationInput']; // UserRoleUpdateManyMutationInput! where: NexusGenInputs['UserRoleScalarWhereInput']; // UserRoleScalarWhereInput! } - UserRoleUpdateManyWithoutUsersInput: { // input type + UserRoleUpdateManyWithoutUsersNestedInput: { // input type connect?: NexusGenInputs['UserRoleWhereUniqueInput'][] | null; // [UserRoleWhereUniqueInput!] connectOrCreate?: NexusGenInputs['UserRoleCreateOrConnectWithoutUsersInput'][] | null; // [UserRoleCreateOrConnectWithoutUsersInput!] create?: NexusGenInputs['UserRoleCreateWithoutUsersInput'][] | null; // [UserRoleCreateWithoutUsersInput!] @@ -1033,7 +1102,12 @@ export interface NexusGenInputs { users?: NexusGenInputs['UserListRelationFilter'] | null; // UserListRelationFilter } UserRoleWhereUniqueInput: { // input type + AND?: NexusGenInputs['UserRoleWhereInput'][] | null; // [UserRoleWhereInput!] + NOT?: NexusGenInputs['UserRoleWhereInput'][] | null; // [UserRoleWhereInput!] + OR?: NexusGenInputs['UserRoleWhereInput'][] | null; // [UserRoleWhereInput!] id?: string | null; // String + name?: NexusGenInputs['StringFilter'] | null; // StringFilter + users?: NexusGenInputs['UserListRelationFilter'] | null; // UserListRelationFilter } UserScalarWhereInput: { // input type AND?: NexusGenInputs['UserScalarWhereInput'][] | null; // [UserScalarWhereInput!] @@ -1071,15 +1145,19 @@ export interface NexusGenInputs { user?: NexusGenInputs['UserOrderByWithRelationInput'] | null; // UserOrderByWithRelationInput userId?: NexusGenEnums['SortOrder'] | null; // SortOrder } - UserSocialMediaUpdateOneWithoutUserInput: { // input type + UserSocialMediaUpdateOneWithoutUserNestedInput: { // input type connect?: NexusGenInputs['UserSocialMediaWhereUniqueInput'] | null; // UserSocialMediaWhereUniqueInput connectOrCreate?: NexusGenInputs['UserSocialMediaCreateOrConnectWithoutUserInput'] | null; // UserSocialMediaCreateOrConnectWithoutUserInput create?: NexusGenInputs['UserSocialMediaCreateWithoutUserInput'] | null; // UserSocialMediaCreateWithoutUserInput - delete?: boolean | null; // Boolean - disconnect?: boolean | null; // Boolean - update?: NexusGenInputs['UserSocialMediaUpdateWithoutUserInput'] | null; // UserSocialMediaUpdateWithoutUserInput + delete?: NexusGenInputs['UserSocialMediaWhereInput'] | null; // UserSocialMediaWhereInput + disconnect?: NexusGenInputs['UserSocialMediaWhereInput'] | null; // UserSocialMediaWhereInput + update?: NexusGenInputs['UserSocialMediaUpdateToOneWithWhereWithoutUserInput'] | null; // UserSocialMediaUpdateToOneWithWhereWithoutUserInput upsert?: NexusGenInputs['UserSocialMediaUpsertWithoutUserInput'] | null; // UserSocialMediaUpsertWithoutUserInput } + UserSocialMediaUpdateToOneWithWhereWithoutUserInput: { // input type + data: NexusGenInputs['UserSocialMediaUpdateWithoutUserInput']; // UserSocialMediaUpdateWithoutUserInput! + where?: NexusGenInputs['UserSocialMediaWhereInput'] | null; // UserSocialMediaWhereInput + } UserSocialMediaUpdateWithoutUserInput: { // input type id?: NexusGenInputs['StringFieldUpdateOperationsInput'] | null; // StringFieldUpdateOperationsInput instagram?: NexusGenInputs['StringFieldUpdateOperationsInput'] | null; // StringFieldUpdateOperationsInput @@ -1088,6 +1166,7 @@ export interface NexusGenInputs { UserSocialMediaUpsertWithoutUserInput: { // input type create: NexusGenInputs['UserSocialMediaCreateWithoutUserInput']; // UserSocialMediaCreateWithoutUserInput! update: NexusGenInputs['UserSocialMediaUpdateWithoutUserInput']; // UserSocialMediaUpdateWithoutUserInput! + where?: NexusGenInputs['UserSocialMediaWhereInput'] | null; // UserSocialMediaWhereInput } UserSocialMediaWhereInput: { // input type AND?: NexusGenInputs['UserSocialMediaWhereInput'][] | null; // [UserSocialMediaWhereInput!] @@ -1100,29 +1179,35 @@ export interface NexusGenInputs { userId?: NexusGenInputs['StringFilter'] | null; // StringFilter } UserSocialMediaWhereUniqueInput: { // input type + AND?: NexusGenInputs['UserSocialMediaWhereInput'][] | null; // [UserSocialMediaWhereInput!] + NOT?: NexusGenInputs['UserSocialMediaWhereInput'][] | null; // [UserSocialMediaWhereInput!] + OR?: NexusGenInputs['UserSocialMediaWhereInput'][] | null; // [UserSocialMediaWhereInput!] id?: string | null; // String + instagram?: NexusGenInputs['StringFilter'] | null; // StringFilter + twitter?: NexusGenInputs['StringFilter'] | null; // StringFilter + user?: NexusGenInputs['UserWhereInput'] | null; // UserWhereInput userId?: string | null; // String } UserUpdateInput: { // input type - address?: NexusGenEnums['NullableJsonNullValueInput'] | null; // NullableJsonNullValueInput - blogPosts?: NexusGenInputs['BlogPostUpdateManyWithoutAuthorInput'] | null; // BlogPostUpdateManyWithoutAuthorInput - comments?: NexusGenInputs['BlogPostCommentUpdateManyWithoutAuthorInput'] | null; // BlogPostCommentUpdateManyWithoutAuthorInput - companies?: NexusGenInputs['CompanyUpdateManyWithoutUserInput'] | null; // CompanyUpdateManyWithoutUserInput + address?: NexusGenScalars['Json'] | null; // Json + blogPosts?: NexusGenInputs['BlogPostUpdateManyWithoutAuthorNestedInput'] | null; // BlogPostUpdateManyWithoutAuthorNestedInput + comments?: NexusGenInputs['BlogPostCommentUpdateManyWithoutAuthorNestedInput'] | null; // BlogPostCommentUpdateManyWithoutAuthorNestedInput + companies?: NexusGenInputs['CompanyUpdateManyWithoutUserNestedInput'] | null; // CompanyUpdateManyWithoutUserNestedInput email?: NexusGenInputs['StringFieldUpdateOperationsInput'] | null; // StringFieldUpdateOperationsInput firstName?: NexusGenInputs['NullableStringFieldUpdateOperationsInput'] | null; // NullableStringFieldUpdateOperationsInput gender?: NexusGenInputs['NullableEnumGenderFieldUpdateOperationsInput'] | null; // NullableEnumGenderFieldUpdateOperationsInput id?: NexusGenInputs['StringFieldUpdateOperationsInput'] | null; // StringFieldUpdateOperationsInput interests?: NexusGenInputs['UserUpdateinterestsInput'] | null; // UserUpdateinterestsInput lastName?: NexusGenInputs['NullableStringFieldUpdateOperationsInput'] | null; // NullableStringFieldUpdateOperationsInput - roles?: NexusGenInputs['UserRoleUpdateManyWithoutUsersInput'] | null; // UserRoleUpdateManyWithoutUsersInput - site?: NexusGenInputs['SiteUpdateOneWithoutOwnerInput'] | null; // SiteUpdateOneWithoutOwnerInput - userSocialMedia?: NexusGenInputs['UserSocialMediaUpdateOneWithoutUserInput'] | null; // UserSocialMediaUpdateOneWithoutUserInput + roles?: NexusGenInputs['UserRoleUpdateManyWithoutUsersNestedInput'] | null; // UserRoleUpdateManyWithoutUsersNestedInput + site?: NexusGenInputs['SiteUpdateOneWithoutOwnerNestedInput'] | null; // SiteUpdateOneWithoutOwnerNestedInput + userSocialMedia?: NexusGenInputs['UserSocialMediaUpdateOneWithoutUserNestedInput'] | null; // UserSocialMediaUpdateOneWithoutUserNestedInput wantsNewsletter?: NexusGenInputs['BoolFieldUpdateOperationsInput'] | null; // BoolFieldUpdateOperationsInput weddingDate?: NexusGenInputs['NullableDateTimeFieldUpdateOperationsInput'] | null; // NullableDateTimeFieldUpdateOperationsInput yearOfBirth?: NexusGenInputs['NullableIntFieldUpdateOperationsInput'] | null; // NullableIntFieldUpdateOperationsInput } UserUpdateManyMutationInput: { // input type - address?: NexusGenEnums['NullableJsonNullValueInput'] | null; // NullableJsonNullValueInput + address?: NexusGenScalars['Json'] | null; // Json email?: NexusGenInputs['StringFieldUpdateOperationsInput'] | null; // StringFieldUpdateOperationsInput firstName?: NexusGenInputs['NullableStringFieldUpdateOperationsInput'] | null; // NullableStringFieldUpdateOperationsInput gender?: NexusGenInputs['NullableEnumGenderFieldUpdateOperationsInput'] | null; // NullableEnumGenderFieldUpdateOperationsInput @@ -1137,7 +1222,7 @@ export interface NexusGenInputs { data: NexusGenInputs['UserUpdateManyMutationInput']; // UserUpdateManyMutationInput! where: NexusGenInputs['UserScalarWhereInput']; // UserScalarWhereInput! } - UserUpdateManyWithoutRolesInput: { // input type + UserUpdateManyWithoutRolesNestedInput: { // input type connect?: NexusGenInputs['UserWhereUniqueInput'][] | null; // [UserWhereUniqueInput!] connectOrCreate?: NexusGenInputs['UserCreateOrConnectWithoutRolesInput'][] | null; // [UserCreateOrConnectWithoutRolesInput!] create?: NexusGenInputs['UserCreateWithoutRolesInput'][] | null; // [UserCreateWithoutRolesInput!] @@ -1149,99 +1234,111 @@ export interface NexusGenInputs { updateMany?: NexusGenInputs['UserUpdateManyWithWhereWithoutRolesInput'][] | null; // [UserUpdateManyWithWhereWithoutRolesInput!] upsert?: NexusGenInputs['UserUpsertWithWhereUniqueWithoutRolesInput'][] | null; // [UserUpsertWithWhereUniqueWithoutRolesInput!] } - UserUpdateOneRequiredWithoutCompaniesInput: { // input type + UserUpdateOneRequiredWithoutCompaniesNestedInput: { // input type connect?: NexusGenInputs['UserWhereUniqueInput'] | null; // UserWhereUniqueInput connectOrCreate?: NexusGenInputs['UserCreateOrConnectWithoutCompaniesInput'] | null; // UserCreateOrConnectWithoutCompaniesInput create?: NexusGenInputs['UserCreateWithoutCompaniesInput'] | null; // UserCreateWithoutCompaniesInput - update?: NexusGenInputs['UserUpdateWithoutCompaniesInput'] | null; // UserUpdateWithoutCompaniesInput + update?: NexusGenInputs['UserUpdateToOneWithWhereWithoutCompaniesInput'] | null; // UserUpdateToOneWithWhereWithoutCompaniesInput upsert?: NexusGenInputs['UserUpsertWithoutCompaniesInput'] | null; // UserUpsertWithoutCompaniesInput } - UserUpdateOneWithoutBlogPostsInput: { // input type + UserUpdateOneWithoutBlogPostsNestedInput: { // input type connect?: NexusGenInputs['UserWhereUniqueInput'] | null; // UserWhereUniqueInput connectOrCreate?: NexusGenInputs['UserCreateOrConnectWithoutBlogPostsInput'] | null; // UserCreateOrConnectWithoutBlogPostsInput create?: NexusGenInputs['UserCreateWithoutBlogPostsInput'] | null; // UserCreateWithoutBlogPostsInput - delete?: boolean | null; // Boolean - disconnect?: boolean | null; // Boolean - update?: NexusGenInputs['UserUpdateWithoutBlogPostsInput'] | null; // UserUpdateWithoutBlogPostsInput + delete?: NexusGenInputs['UserWhereInput'] | null; // UserWhereInput + disconnect?: NexusGenInputs['UserWhereInput'] | null; // UserWhereInput + update?: NexusGenInputs['UserUpdateToOneWithWhereWithoutBlogPostsInput'] | null; // UserUpdateToOneWithWhereWithoutBlogPostsInput upsert?: NexusGenInputs['UserUpsertWithoutBlogPostsInput'] | null; // UserUpsertWithoutBlogPostsInput } - UserUpdateOneWithoutCommentsInput: { // input type + UserUpdateOneWithoutCommentsNestedInput: { // input type connect?: NexusGenInputs['UserWhereUniqueInput'] | null; // UserWhereUniqueInput connectOrCreate?: NexusGenInputs['UserCreateOrConnectWithoutCommentsInput'] | null; // UserCreateOrConnectWithoutCommentsInput create?: NexusGenInputs['UserCreateWithoutCommentsInput'] | null; // UserCreateWithoutCommentsInput - delete?: boolean | null; // Boolean - disconnect?: boolean | null; // Boolean - update?: NexusGenInputs['UserUpdateWithoutCommentsInput'] | null; // UserUpdateWithoutCommentsInput + delete?: NexusGenInputs['UserWhereInput'] | null; // UserWhereInput + disconnect?: NexusGenInputs['UserWhereInput'] | null; // UserWhereInput + update?: NexusGenInputs['UserUpdateToOneWithWhereWithoutCommentsInput'] | null; // UserUpdateToOneWithWhereWithoutCommentsInput upsert?: NexusGenInputs['UserUpsertWithoutCommentsInput'] | null; // UserUpsertWithoutCommentsInput } + UserUpdateToOneWithWhereWithoutBlogPostsInput: { // input type + data: NexusGenInputs['UserUpdateWithoutBlogPostsInput']; // UserUpdateWithoutBlogPostsInput! + where?: NexusGenInputs['UserWhereInput'] | null; // UserWhereInput + } + UserUpdateToOneWithWhereWithoutCommentsInput: { // input type + data: NexusGenInputs['UserUpdateWithoutCommentsInput']; // UserUpdateWithoutCommentsInput! + where?: NexusGenInputs['UserWhereInput'] | null; // UserWhereInput + } + UserUpdateToOneWithWhereWithoutCompaniesInput: { // input type + data: NexusGenInputs['UserUpdateWithoutCompaniesInput']; // UserUpdateWithoutCompaniesInput! + where?: NexusGenInputs['UserWhereInput'] | null; // UserWhereInput + } UserUpdateWithWhereUniqueWithoutRolesInput: { // input type data: NexusGenInputs['UserUpdateWithoutRolesInput']; // UserUpdateWithoutRolesInput! where: NexusGenInputs['UserWhereUniqueInput']; // UserWhereUniqueInput! } UserUpdateWithoutBlogPostsInput: { // input type - address?: NexusGenEnums['NullableJsonNullValueInput'] | null; // NullableJsonNullValueInput - comments?: NexusGenInputs['BlogPostCommentUpdateManyWithoutAuthorInput'] | null; // BlogPostCommentUpdateManyWithoutAuthorInput - companies?: NexusGenInputs['CompanyUpdateManyWithoutUserInput'] | null; // CompanyUpdateManyWithoutUserInput + address?: NexusGenScalars['Json'] | null; // Json + comments?: NexusGenInputs['BlogPostCommentUpdateManyWithoutAuthorNestedInput'] | null; // BlogPostCommentUpdateManyWithoutAuthorNestedInput + companies?: NexusGenInputs['CompanyUpdateManyWithoutUserNestedInput'] | null; // CompanyUpdateManyWithoutUserNestedInput email?: NexusGenInputs['StringFieldUpdateOperationsInput'] | null; // StringFieldUpdateOperationsInput firstName?: NexusGenInputs['NullableStringFieldUpdateOperationsInput'] | null; // NullableStringFieldUpdateOperationsInput gender?: NexusGenInputs['NullableEnumGenderFieldUpdateOperationsInput'] | null; // NullableEnumGenderFieldUpdateOperationsInput id?: NexusGenInputs['StringFieldUpdateOperationsInput'] | null; // StringFieldUpdateOperationsInput interests?: NexusGenInputs['UserUpdateinterestsInput'] | null; // UserUpdateinterestsInput lastName?: NexusGenInputs['NullableStringFieldUpdateOperationsInput'] | null; // NullableStringFieldUpdateOperationsInput - roles?: NexusGenInputs['UserRoleUpdateManyWithoutUsersInput'] | null; // UserRoleUpdateManyWithoutUsersInput - site?: NexusGenInputs['SiteUpdateOneWithoutOwnerInput'] | null; // SiteUpdateOneWithoutOwnerInput - userSocialMedia?: NexusGenInputs['UserSocialMediaUpdateOneWithoutUserInput'] | null; // UserSocialMediaUpdateOneWithoutUserInput + roles?: NexusGenInputs['UserRoleUpdateManyWithoutUsersNestedInput'] | null; // UserRoleUpdateManyWithoutUsersNestedInput + site?: NexusGenInputs['SiteUpdateOneWithoutOwnerNestedInput'] | null; // SiteUpdateOneWithoutOwnerNestedInput + userSocialMedia?: NexusGenInputs['UserSocialMediaUpdateOneWithoutUserNestedInput'] | null; // UserSocialMediaUpdateOneWithoutUserNestedInput wantsNewsletter?: NexusGenInputs['BoolFieldUpdateOperationsInput'] | null; // BoolFieldUpdateOperationsInput weddingDate?: NexusGenInputs['NullableDateTimeFieldUpdateOperationsInput'] | null; // NullableDateTimeFieldUpdateOperationsInput yearOfBirth?: NexusGenInputs['NullableIntFieldUpdateOperationsInput'] | null; // NullableIntFieldUpdateOperationsInput } UserUpdateWithoutCommentsInput: { // input type - address?: NexusGenEnums['NullableJsonNullValueInput'] | null; // NullableJsonNullValueInput - blogPosts?: NexusGenInputs['BlogPostUpdateManyWithoutAuthorInput'] | null; // BlogPostUpdateManyWithoutAuthorInput - companies?: NexusGenInputs['CompanyUpdateManyWithoutUserInput'] | null; // CompanyUpdateManyWithoutUserInput + address?: NexusGenScalars['Json'] | null; // Json + blogPosts?: NexusGenInputs['BlogPostUpdateManyWithoutAuthorNestedInput'] | null; // BlogPostUpdateManyWithoutAuthorNestedInput + companies?: NexusGenInputs['CompanyUpdateManyWithoutUserNestedInput'] | null; // CompanyUpdateManyWithoutUserNestedInput email?: NexusGenInputs['StringFieldUpdateOperationsInput'] | null; // StringFieldUpdateOperationsInput firstName?: NexusGenInputs['NullableStringFieldUpdateOperationsInput'] | null; // NullableStringFieldUpdateOperationsInput gender?: NexusGenInputs['NullableEnumGenderFieldUpdateOperationsInput'] | null; // NullableEnumGenderFieldUpdateOperationsInput id?: NexusGenInputs['StringFieldUpdateOperationsInput'] | null; // StringFieldUpdateOperationsInput interests?: NexusGenInputs['UserUpdateinterestsInput'] | null; // UserUpdateinterestsInput lastName?: NexusGenInputs['NullableStringFieldUpdateOperationsInput'] | null; // NullableStringFieldUpdateOperationsInput - roles?: NexusGenInputs['UserRoleUpdateManyWithoutUsersInput'] | null; // UserRoleUpdateManyWithoutUsersInput - site?: NexusGenInputs['SiteUpdateOneWithoutOwnerInput'] | null; // SiteUpdateOneWithoutOwnerInput - userSocialMedia?: NexusGenInputs['UserSocialMediaUpdateOneWithoutUserInput'] | null; // UserSocialMediaUpdateOneWithoutUserInput + roles?: NexusGenInputs['UserRoleUpdateManyWithoutUsersNestedInput'] | null; // UserRoleUpdateManyWithoutUsersNestedInput + site?: NexusGenInputs['SiteUpdateOneWithoutOwnerNestedInput'] | null; // SiteUpdateOneWithoutOwnerNestedInput + userSocialMedia?: NexusGenInputs['UserSocialMediaUpdateOneWithoutUserNestedInput'] | null; // UserSocialMediaUpdateOneWithoutUserNestedInput wantsNewsletter?: NexusGenInputs['BoolFieldUpdateOperationsInput'] | null; // BoolFieldUpdateOperationsInput weddingDate?: NexusGenInputs['NullableDateTimeFieldUpdateOperationsInput'] | null; // NullableDateTimeFieldUpdateOperationsInput yearOfBirth?: NexusGenInputs['NullableIntFieldUpdateOperationsInput'] | null; // NullableIntFieldUpdateOperationsInput } UserUpdateWithoutCompaniesInput: { // input type - address?: NexusGenEnums['NullableJsonNullValueInput'] | null; // NullableJsonNullValueInput - blogPosts?: NexusGenInputs['BlogPostUpdateManyWithoutAuthorInput'] | null; // BlogPostUpdateManyWithoutAuthorInput - comments?: NexusGenInputs['BlogPostCommentUpdateManyWithoutAuthorInput'] | null; // BlogPostCommentUpdateManyWithoutAuthorInput + address?: NexusGenScalars['Json'] | null; // Json + blogPosts?: NexusGenInputs['BlogPostUpdateManyWithoutAuthorNestedInput'] | null; // BlogPostUpdateManyWithoutAuthorNestedInput + comments?: NexusGenInputs['BlogPostCommentUpdateManyWithoutAuthorNestedInput'] | null; // BlogPostCommentUpdateManyWithoutAuthorNestedInput email?: NexusGenInputs['StringFieldUpdateOperationsInput'] | null; // StringFieldUpdateOperationsInput firstName?: NexusGenInputs['NullableStringFieldUpdateOperationsInput'] | null; // NullableStringFieldUpdateOperationsInput gender?: NexusGenInputs['NullableEnumGenderFieldUpdateOperationsInput'] | null; // NullableEnumGenderFieldUpdateOperationsInput id?: NexusGenInputs['StringFieldUpdateOperationsInput'] | null; // StringFieldUpdateOperationsInput interests?: NexusGenInputs['UserUpdateinterestsInput'] | null; // UserUpdateinterestsInput lastName?: NexusGenInputs['NullableStringFieldUpdateOperationsInput'] | null; // NullableStringFieldUpdateOperationsInput - roles?: NexusGenInputs['UserRoleUpdateManyWithoutUsersInput'] | null; // UserRoleUpdateManyWithoutUsersInput - site?: NexusGenInputs['SiteUpdateOneWithoutOwnerInput'] | null; // SiteUpdateOneWithoutOwnerInput - userSocialMedia?: NexusGenInputs['UserSocialMediaUpdateOneWithoutUserInput'] | null; // UserSocialMediaUpdateOneWithoutUserInput + roles?: NexusGenInputs['UserRoleUpdateManyWithoutUsersNestedInput'] | null; // UserRoleUpdateManyWithoutUsersNestedInput + site?: NexusGenInputs['SiteUpdateOneWithoutOwnerNestedInput'] | null; // SiteUpdateOneWithoutOwnerNestedInput + userSocialMedia?: NexusGenInputs['UserSocialMediaUpdateOneWithoutUserNestedInput'] | null; // UserSocialMediaUpdateOneWithoutUserNestedInput wantsNewsletter?: NexusGenInputs['BoolFieldUpdateOperationsInput'] | null; // BoolFieldUpdateOperationsInput weddingDate?: NexusGenInputs['NullableDateTimeFieldUpdateOperationsInput'] | null; // NullableDateTimeFieldUpdateOperationsInput yearOfBirth?: NexusGenInputs['NullableIntFieldUpdateOperationsInput'] | null; // NullableIntFieldUpdateOperationsInput } UserUpdateWithoutRolesInput: { // input type - address?: NexusGenEnums['NullableJsonNullValueInput'] | null; // NullableJsonNullValueInput - blogPosts?: NexusGenInputs['BlogPostUpdateManyWithoutAuthorInput'] | null; // BlogPostUpdateManyWithoutAuthorInput - comments?: NexusGenInputs['BlogPostCommentUpdateManyWithoutAuthorInput'] | null; // BlogPostCommentUpdateManyWithoutAuthorInput - companies?: NexusGenInputs['CompanyUpdateManyWithoutUserInput'] | null; // CompanyUpdateManyWithoutUserInput + address?: NexusGenScalars['Json'] | null; // Json + blogPosts?: NexusGenInputs['BlogPostUpdateManyWithoutAuthorNestedInput'] | null; // BlogPostUpdateManyWithoutAuthorNestedInput + comments?: NexusGenInputs['BlogPostCommentUpdateManyWithoutAuthorNestedInput'] | null; // BlogPostCommentUpdateManyWithoutAuthorNestedInput + companies?: NexusGenInputs['CompanyUpdateManyWithoutUserNestedInput'] | null; // CompanyUpdateManyWithoutUserNestedInput email?: NexusGenInputs['StringFieldUpdateOperationsInput'] | null; // StringFieldUpdateOperationsInput firstName?: NexusGenInputs['NullableStringFieldUpdateOperationsInput'] | null; // NullableStringFieldUpdateOperationsInput gender?: NexusGenInputs['NullableEnumGenderFieldUpdateOperationsInput'] | null; // NullableEnumGenderFieldUpdateOperationsInput id?: NexusGenInputs['StringFieldUpdateOperationsInput'] | null; // StringFieldUpdateOperationsInput interests?: NexusGenInputs['UserUpdateinterestsInput'] | null; // UserUpdateinterestsInput lastName?: NexusGenInputs['NullableStringFieldUpdateOperationsInput'] | null; // NullableStringFieldUpdateOperationsInput - site?: NexusGenInputs['SiteUpdateOneWithoutOwnerInput'] | null; // SiteUpdateOneWithoutOwnerInput - userSocialMedia?: NexusGenInputs['UserSocialMediaUpdateOneWithoutUserInput'] | null; // UserSocialMediaUpdateOneWithoutUserInput + site?: NexusGenInputs['SiteUpdateOneWithoutOwnerNestedInput'] | null; // SiteUpdateOneWithoutOwnerNestedInput + userSocialMedia?: NexusGenInputs['UserSocialMediaUpdateOneWithoutUserNestedInput'] | null; // UserSocialMediaUpdateOneWithoutUserNestedInput wantsNewsletter?: NexusGenInputs['BoolFieldUpdateOperationsInput'] | null; // BoolFieldUpdateOperationsInput weddingDate?: NexusGenInputs['NullableDateTimeFieldUpdateOperationsInput'] | null; // NullableDateTimeFieldUpdateOperationsInput yearOfBirth?: NexusGenInputs['NullableIntFieldUpdateOperationsInput'] | null; // NullableIntFieldUpdateOperationsInput @@ -1258,14 +1355,17 @@ export interface NexusGenInputs { UserUpsertWithoutBlogPostsInput: { // input type create: NexusGenInputs['UserCreateWithoutBlogPostsInput']; // UserCreateWithoutBlogPostsInput! update: NexusGenInputs['UserUpdateWithoutBlogPostsInput']; // UserUpdateWithoutBlogPostsInput! + where?: NexusGenInputs['UserWhereInput'] | null; // UserWhereInput } UserUpsertWithoutCommentsInput: { // input type create: NexusGenInputs['UserCreateWithoutCommentsInput']; // UserCreateWithoutCommentsInput! update: NexusGenInputs['UserUpdateWithoutCommentsInput']; // UserUpdateWithoutCommentsInput! + where?: NexusGenInputs['UserWhereInput'] | null; // UserWhereInput } UserUpsertWithoutCompaniesInput: { // input type create: NexusGenInputs['UserCreateWithoutCompaniesInput']; // UserCreateWithoutCompaniesInput! update: NexusGenInputs['UserUpdateWithoutCompaniesInput']; // UserUpdateWithoutCompaniesInput! + where?: NexusGenInputs['UserWhereInput'] | null; // UserWhereInput } UserWhereInput: { // input type AND?: NexusGenInputs['UserWhereInput'][] | null; // [UserWhereInput!] @@ -1289,15 +1389,31 @@ export interface NexusGenInputs { yearOfBirth?: NexusGenInputs['IntNullableFilter'] | null; // IntNullableFilter } UserWhereUniqueInput: { // input type + 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 + companies?: NexusGenInputs['CompanyListRelationFilter'] | null; // CompanyListRelationFilter email?: string | null; // String + firstName?: NexusGenInputs['StringNullableFilter'] | null; // StringNullableFilter + gender?: NexusGenInputs['EnumGenderNullableFilter'] | null; // EnumGenderNullableFilter id?: string | null; // String + interests?: NexusGenInputs['EnumTopicNullableListFilter'] | null; // EnumTopicNullableListFilter + lastName?: NexusGenInputs['StringNullableFilter'] | null; // StringNullableFilter + roles?: NexusGenInputs['UserRoleListRelationFilter'] | null; // UserRoleListRelationFilter + site?: NexusGenInputs['SiteWhereInput'] | null; // SiteWhereInput + userSocialMedia?: NexusGenInputs['UserSocialMediaWhereInput'] | null; // UserSocialMediaWhereInput + wantsNewsletter?: NexusGenInputs['BoolFilter'] | null; // BoolFilter + weddingDate?: NexusGenInputs['DateTimeNullableFilter'] | null; // DateTimeNullableFilter + yearOfBirth?: NexusGenInputs['IntNullableFilter'] | null; // IntNullableFilter } } export interface NexusGenEnums { Gender: "FEMALE" | "MALE" | "OTHER" - JsonNullValueFilter: "AnyNull" | "DbNull" | "JsonNull" - NullableJsonNullValueInput: "DbNull" | "JsonNull" + NullsOrder: "first" | "last" QueryMode: "default" | "insensitive" SortOrder: "asc" | "desc" Topic: "TOPIC_ONE" | "TOPIC_THREE" | "TOPIC_TWO" @@ -1310,6 +1426,7 @@ export interface NexusGenScalars { Boolean: boolean ID: string DateTime: any + Json: any } export interface NexusGenObjects { diff --git a/packages/dataprovider/generated/schema.graphql b/packages/dataprovider/generated/schema.graphql index c0a53c3..53899ee 100644 --- a/packages/dataprovider/generated/schema.graphql +++ b/packages/dataprovider/generated/schema.graphql @@ -104,10 +104,10 @@ input BlogPostCommentOrderByRelationAggregateInput { input BlogPostCommentOrderByWithRelationInput { author: UserOrderByWithRelationInput - authorId: SortOrder + authorId: SortOrderInput id: SortOrder post: BlogPostOrderByWithRelationInput - postId: SortOrder + postId: SortOrderInput text: SortOrder } @@ -122,9 +122,9 @@ input BlogPostCommentScalarWhereInput { } input BlogPostCommentUpdateInput { - author: UserUpdateOneWithoutCommentsInput + author: UserUpdateOneWithoutCommentsNestedInput id: StringFieldUpdateOperationsInput - post: BlogPostUpdateOneWithoutCommentsInput + post: BlogPostUpdateOneWithoutCommentsNestedInput text: StringFieldUpdateOperationsInput } @@ -143,7 +143,7 @@ input BlogPostCommentUpdateManyWithWhereWithoutPostInput { where: BlogPostCommentScalarWhereInput! } -input BlogPostCommentUpdateManyWithoutAuthorInput { +input BlogPostCommentUpdateManyWithoutAuthorNestedInput { connect: [BlogPostCommentWhereUniqueInput!] connectOrCreate: [BlogPostCommentCreateOrConnectWithoutAuthorInput!] create: [BlogPostCommentCreateWithoutAuthorInput!] @@ -157,7 +157,7 @@ input BlogPostCommentUpdateManyWithoutAuthorInput { upsert: [BlogPostCommentUpsertWithWhereUniqueWithoutAuthorInput!] } -input BlogPostCommentUpdateManyWithoutPostInput { +input BlogPostCommentUpdateManyWithoutPostNestedInput { connect: [BlogPostCommentWhereUniqueInput!] connectOrCreate: [BlogPostCommentCreateOrConnectWithoutPostInput!] create: [BlogPostCommentCreateWithoutPostInput!] @@ -183,12 +183,12 @@ input BlogPostCommentUpdateWithWhereUniqueWithoutPostInput { input BlogPostCommentUpdateWithoutAuthorInput { id: StringFieldUpdateOperationsInput - post: BlogPostUpdateOneWithoutCommentsInput + post: BlogPostUpdateOneWithoutCommentsNestedInput text: StringFieldUpdateOperationsInput } input BlogPostCommentUpdateWithoutPostInput { - author: UserUpdateOneWithoutCommentsInput + author: UserUpdateOneWithoutCommentsNestedInput id: StringFieldUpdateOperationsInput text: StringFieldUpdateOperationsInput } @@ -218,7 +218,15 @@ input BlogPostCommentWhereInput { } input BlogPostCommentWhereUniqueInput { + AND: [BlogPostCommentWhereInput!] + NOT: [BlogPostCommentWhereInput!] + OR: [BlogPostCommentWhereInput!] + author: UserWhereInput + authorId: StringNullableFilter id: String + post: BlogPostWhereInput + postId: StringNullableFilter + text: StringFilter } input BlogPostCreateInput { @@ -289,7 +297,7 @@ input BlogPostOrderByRelationAggregateInput { input BlogPostOrderByWithRelationInput { author: UserOrderByWithRelationInput - authorId: SortOrder + authorId: SortOrderInput comments: BlogPostCommentOrderByRelationAggregateInput id: SortOrder text: SortOrder @@ -307,8 +315,8 @@ input BlogPostScalarWhereInput { } input BlogPostUpdateInput { - author: UserUpdateOneWithoutBlogPostsInput - comments: BlogPostCommentUpdateManyWithoutPostInput + author: UserUpdateOneWithoutBlogPostsNestedInput + comments: BlogPostCommentUpdateManyWithoutPostNestedInput id: StringFieldUpdateOperationsInput text: StringFieldUpdateOperationsInput title: StringFieldUpdateOperationsInput @@ -325,7 +333,7 @@ input BlogPostUpdateManyWithWhereWithoutAuthorInput { where: BlogPostScalarWhereInput } -input BlogPostUpdateManyWithoutAuthorInput { +input BlogPostUpdateManyWithoutAuthorNestedInput { connect: [BlogPostWhereUniqueInput] connectOrCreate: [BlogPostCreateOrConnectWithoutAuthorInput] create: [BlogPostCreateWithoutAuthorInput] @@ -338,30 +346,35 @@ input BlogPostUpdateManyWithoutAuthorInput { upsert: [BlogPostUpsertWithWhereUniqueWithoutAuthorInput] } -input BlogPostUpdateOneWithoutCommentsInput { +input BlogPostUpdateOneWithoutCommentsNestedInput { connect: BlogPostWhereUniqueInput connectOrCreate: BlogPostCreateOrConnectWithoutCommentsInput create: BlogPostCreateWithoutCommentsInput - delete: Boolean - disconnect: Boolean - update: BlogPostUpdateWithoutCommentsInput + delete: BlogPostWhereInput + disconnect: BlogPostWhereInput + update: BlogPostUpdateToOneWithWhereWithoutCommentsInput upsert: BlogPostUpsertWithoutCommentsInput } +input BlogPostUpdateToOneWithWhereWithoutCommentsInput { + data: BlogPostUpdateWithoutCommentsInput! + where: BlogPostWhereInput +} + input BlogPostUpdateWithWhereUniqueWithoutAuthorInput { data: BlogPostUpdateWithoutAuthorInput where: BlogPostWhereUniqueInput } input BlogPostUpdateWithoutAuthorInput { - comments: BlogPostCommentUpdateManyWithoutPostInput + comments: BlogPostCommentUpdateManyWithoutPostNestedInput id: StringFieldUpdateOperationsInput text: StringFieldUpdateOperationsInput title: StringFieldUpdateOperationsInput } input BlogPostUpdateWithoutCommentsInput { - author: UserUpdateOneWithoutBlogPostsInput + author: UserUpdateOneWithoutBlogPostsNestedInput id: StringFieldUpdateOperationsInput text: StringFieldUpdateOperationsInput title: StringFieldUpdateOperationsInput @@ -376,6 +389,7 @@ input BlogPostUpsertWithWhereUniqueWithoutAuthorInput { input BlogPostUpsertWithoutCommentsInput { create: BlogPostCreateWithoutCommentsInput! update: BlogPostUpdateWithoutCommentsInput! + where: BlogPostWhereInput } input BlogPostWhereInput { @@ -391,7 +405,15 @@ input BlogPostWhereInput { } input BlogPostWhereUniqueInput { + AND: [BlogPostWhereInput!] + NOT: [BlogPostWhereInput!] + OR: [BlogPostWhereInput!] + author: UserWhereInput + authorId: StringNullableFilter + comments: BlogPostCommentListRelationFilter id: String + text: StringFilter + title: StringFilter } input BoolFieldUpdateOperationsInput { @@ -470,7 +492,7 @@ input CompanyScalarWhereInput { input CompanyUpdateInput { id: StringFieldUpdateOperationsInput name: StringFieldUpdateOperationsInput - user: UserUpdateOneRequiredWithoutCompaniesInput + user: UserUpdateOneRequiredWithoutCompaniesNestedInput } input CompanyUpdateManyMutationInput { @@ -483,7 +505,7 @@ input CompanyUpdateManyWithWhereWithoutUserInput { where: CompanyScalarWhereInput! } -input CompanyUpdateManyWithoutUserInput { +input CompanyUpdateManyWithoutUserNestedInput { connect: [CompanyWhereUniqueInput!] connectOrCreate: [CompanyCreateOrConnectWithoutUserInput!] create: [CompanyCreateWithoutUserInput!] @@ -524,7 +546,13 @@ input CompanyWhereInput { } input CompanyWhereUniqueInput { + AND: [CompanyWhereInput!] + NOT: [CompanyWhereInput!] + OR: [CompanyWhereInput!] id: String + name: StringFilter + user: UserWhereInput + userId: StringFilter } scalar DateTime @@ -649,7 +677,19 @@ input FilteringTestWhereInput { } input FilteringTestWhereUniqueInput { + AND: [FilteringTestWhereInput!] + NOT: [FilteringTestWhereInput!] + OR: [FilteringTestWhereInput!] + boolField: BoolFilter + dateTimeField: DateTimeFilter + floatField: FloatFilter id: Int + intField: IntFilter + intField_bt: IntFilter + intField_lt: StringFilter + snake_field: IntFilter + snake_field_bt: IntFilter + stringField: StringFilter } input FloatFieldUpdateOperationsInput { @@ -707,15 +747,22 @@ input IntNullableFilter { notIn: [Int!] } -enum JsonNullValueFilter { - AnyNull - DbNull - JsonNull -} +scalar Json input JsonNullableFilter { - equals: JsonNullValueFilter - not: JsonNullValueFilter + array_contains: Json + array_ends_with: Json + array_starts_with: Json + equals: Json + gt: Json + gte: Json + lt: Json + lte: Json + not: Json + path: [String!] + string_contains: String + string_ends_with: String + string_starts_with: String } type Mutation { @@ -874,15 +921,15 @@ input NullableIntFieldUpdateOperationsInput { set: Int } -enum NullableJsonNullValueInput { - DbNull - JsonNull -} - input NullableStringFieldUpdateOperationsInput { set: String } +enum NullsOrder { + first + last +} + type Query { blogPost(where: BlogPostWhereUniqueInput!): BlogPost blogPostComment(where: BlogPostCommentWhereUniqueInput!): BlogPostComment @@ -934,18 +981,23 @@ input SiteOrderByWithRelationInput { name: SortOrder owner: UserOrderByWithRelationInput url: SortOrder - userId: SortOrder + userId: SortOrderInput } -input SiteUpdateOneWithoutOwnerInput { +input SiteUpdateOneWithoutOwnerNestedInput { connect: SiteWhereUniqueInput connectOrCreate: SiteCreateOrConnectWithoutOwnerInput create: SiteCreateWithoutOwnerInput - delete: Boolean - update: SiteUpdateWithoutOwnerInput + delete: SiteWhereInput + update: SiteUpdateToOneWithWhereWithoutOwnerInput upsert: SiteUpsertWithoutOwnerInput } +input SiteUpdateToOneWithWhereWithoutOwnerInput { + data: SiteUpdateWithoutOwnerInput + where: SiteWhereInput +} + input SiteUpdateWithoutOwnerInput { id: StringFieldUpdateOperationsInput name: StringFieldUpdateOperationsInput @@ -955,6 +1007,7 @@ input SiteUpdateWithoutOwnerInput { input SiteUpsertWithoutOwnerInput { create: SiteCreateWithoutOwnerInput update: SiteUpdateWithoutOwnerInput + where: SiteWhereInput } input SiteWhereInput { @@ -969,7 +1022,13 @@ input SiteWhereInput { } input SiteWhereUniqueInput { + AND: [SiteWhereInput!] + NOT: [SiteWhereInput!] + OR: [SiteWhereInput!] id: String + name: StringFilter + owner: UserWhereInput + url: StringFilter userId: String } @@ -1004,7 +1063,11 @@ input SomePublicRecordWithIntIdWhereInput { } input SomePublicRecordWithIntIdWhereUniqueInput { + AND: [SomePublicRecordWithIntIdWhereInput!] + NOT: [SomePublicRecordWithIntIdWhereInput!] + OR: [SomePublicRecordWithIntIdWhereInput!] id: Int + title: StringFilter } enum SortOrder { @@ -1012,6 +1075,11 @@ enum SortOrder { desc } +input SortOrderInput { + nulls: NullsOrder + sort: SortOrder! +} + input StringFieldUpdateOperationsInput { set: String } @@ -1072,7 +1140,7 @@ type User { } input UserCreateInput { - address: NullableJsonNullValueInput + address: Json blogPosts: BlogPostCreateNestedManyWithoutAuthorInput comments: BlogPostCommentCreateNestedManyWithoutAuthorInput companies: CompanyCreateNestedManyWithoutUserInput @@ -1139,7 +1207,7 @@ input UserCreateOrConnectWithoutRolesInput { } input UserCreateWithoutBlogPostsInput { - address: NullableJsonNullValueInput + address: Json comments: BlogPostCommentCreateNestedManyWithoutAuthorInput companies: CompanyCreateNestedManyWithoutUserInput email: String! @@ -1157,7 +1225,7 @@ input UserCreateWithoutBlogPostsInput { } input UserCreateWithoutCommentsInput { - address: NullableJsonNullValueInput + address: Json blogPosts: BlogPostCreateNestedManyWithoutAuthorInput companies: CompanyCreateNestedManyWithoutUserInput email: String! @@ -1175,7 +1243,7 @@ input UserCreateWithoutCommentsInput { } input UserCreateWithoutCompaniesInput { - address: NullableJsonNullValueInput + address: Json blogPosts: BlogPostCreateNestedManyWithoutAuthorInput comments: BlogPostCommentCreateNestedManyWithoutAuthorInput email: String! @@ -1193,7 +1261,7 @@ input UserCreateWithoutCompaniesInput { } input UserCreateWithoutRolesInput { - address: NullableJsonNullValueInput + address: Json blogPosts: BlogPostCreateNestedManyWithoutAuthorInput comments: BlogPostCommentCreateNestedManyWithoutAuthorInput companies: CompanyCreateNestedManyWithoutUserInput @@ -1225,22 +1293,22 @@ input UserOrderByRelationAggregateInput { } input UserOrderByWithRelationInput { - address: SortOrder + address: SortOrderInput blogPosts: BlogPostOrderByRelationAggregateInput comments: BlogPostCommentOrderByRelationAggregateInput companies: CompanyOrderByRelationAggregateInput email: SortOrder - firstName: SortOrder - gender: SortOrder + firstName: SortOrderInput + gender: SortOrderInput id: SortOrder interests: SortOrder - lastName: SortOrder + lastName: SortOrderInput roles: UserRoleOrderByRelationAggregateInput site: SiteOrderByWithRelationInput userSocialMedia: UserSocialMediaOrderByWithRelationInput wantsNewsletter: SortOrder - weddingDate: SortOrder - yearOfBirth: SortOrder + weddingDate: SortOrderInput + yearOfBirth: SortOrderInput } type UserRole { @@ -1297,7 +1365,7 @@ input UserRoleScalarWhereInput { input UserRoleUpdateInput { id: StringFieldUpdateOperationsInput name: StringFieldUpdateOperationsInput - users: UserUpdateManyWithoutRolesInput + users: UserUpdateManyWithoutRolesNestedInput } input UserRoleUpdateManyMutationInput { @@ -1310,7 +1378,7 @@ input UserRoleUpdateManyWithWhereWithoutUsersInput { where: UserRoleScalarWhereInput! } -input UserRoleUpdateManyWithoutUsersInput { +input UserRoleUpdateManyWithoutUsersNestedInput { connect: [UserRoleWhereUniqueInput!] connectOrCreate: [UserRoleCreateOrConnectWithoutUsersInput!] create: [UserRoleCreateWithoutUsersInput!] @@ -1349,7 +1417,12 @@ input UserRoleWhereInput { } input UserRoleWhereUniqueInput { + AND: [UserRoleWhereInput!] + NOT: [UserRoleWhereInput!] + OR: [UserRoleWhereInput!] id: String + name: StringFilter + users: UserListRelationFilter } input UserScalarWhereInput { @@ -1400,16 +1473,21 @@ input UserSocialMediaOrderByWithRelationInput { userId: SortOrder } -input UserSocialMediaUpdateOneWithoutUserInput { +input UserSocialMediaUpdateOneWithoutUserNestedInput { connect: UserSocialMediaWhereUniqueInput connectOrCreate: UserSocialMediaCreateOrConnectWithoutUserInput create: UserSocialMediaCreateWithoutUserInput - delete: Boolean - disconnect: Boolean - update: UserSocialMediaUpdateWithoutUserInput + delete: UserSocialMediaWhereInput + disconnect: UserSocialMediaWhereInput + update: UserSocialMediaUpdateToOneWithWhereWithoutUserInput upsert: UserSocialMediaUpsertWithoutUserInput } +input UserSocialMediaUpdateToOneWithWhereWithoutUserInput { + data: UserSocialMediaUpdateWithoutUserInput! + where: UserSocialMediaWhereInput +} + input UserSocialMediaUpdateWithoutUserInput { id: StringFieldUpdateOperationsInput instagram: StringFieldUpdateOperationsInput @@ -1419,6 +1497,7 @@ input UserSocialMediaUpdateWithoutUserInput { input UserSocialMediaUpsertWithoutUserInput { create: UserSocialMediaCreateWithoutUserInput! update: UserSocialMediaUpdateWithoutUserInput! + where: UserSocialMediaWhereInput } input UserSocialMediaWhereInput { @@ -1433,31 +1512,37 @@ input UserSocialMediaWhereInput { } input UserSocialMediaWhereUniqueInput { + AND: [UserSocialMediaWhereInput!] + NOT: [UserSocialMediaWhereInput!] + OR: [UserSocialMediaWhereInput!] id: String + instagram: StringFilter + twitter: StringFilter + user: UserWhereInput userId: String } input UserUpdateInput { - address: NullableJsonNullValueInput - blogPosts: BlogPostUpdateManyWithoutAuthorInput - comments: BlogPostCommentUpdateManyWithoutAuthorInput - companies: CompanyUpdateManyWithoutUserInput + address: Json + blogPosts: BlogPostUpdateManyWithoutAuthorNestedInput + comments: BlogPostCommentUpdateManyWithoutAuthorNestedInput + companies: CompanyUpdateManyWithoutUserNestedInput email: StringFieldUpdateOperationsInput firstName: NullableStringFieldUpdateOperationsInput gender: NullableEnumGenderFieldUpdateOperationsInput id: StringFieldUpdateOperationsInput interests: UserUpdateinterestsInput lastName: NullableStringFieldUpdateOperationsInput - roles: UserRoleUpdateManyWithoutUsersInput - site: SiteUpdateOneWithoutOwnerInput - userSocialMedia: UserSocialMediaUpdateOneWithoutUserInput + roles: UserRoleUpdateManyWithoutUsersNestedInput + site: SiteUpdateOneWithoutOwnerNestedInput + userSocialMedia: UserSocialMediaUpdateOneWithoutUserNestedInput wantsNewsletter: BoolFieldUpdateOperationsInput weddingDate: NullableDateTimeFieldUpdateOperationsInput yearOfBirth: NullableIntFieldUpdateOperationsInput } input UserUpdateManyMutationInput { - address: NullableJsonNullValueInput + address: Json email: StringFieldUpdateOperationsInput firstName: NullableStringFieldUpdateOperationsInput gender: NullableEnumGenderFieldUpdateOperationsInput @@ -1474,7 +1559,7 @@ input UserUpdateManyWithWhereWithoutRolesInput { where: UserScalarWhereInput! } -input UserUpdateManyWithoutRolesInput { +input UserUpdateManyWithoutRolesNestedInput { connect: [UserWhereUniqueInput!] connectOrCreate: [UserCreateOrConnectWithoutRolesInput!] create: [UserCreateWithoutRolesInput!] @@ -1487,106 +1572,121 @@ input UserUpdateManyWithoutRolesInput { upsert: [UserUpsertWithWhereUniqueWithoutRolesInput!] } -input UserUpdateOneRequiredWithoutCompaniesInput { +input UserUpdateOneRequiredWithoutCompaniesNestedInput { connect: UserWhereUniqueInput connectOrCreate: UserCreateOrConnectWithoutCompaniesInput create: UserCreateWithoutCompaniesInput - update: UserUpdateWithoutCompaniesInput + update: UserUpdateToOneWithWhereWithoutCompaniesInput upsert: UserUpsertWithoutCompaniesInput } -input UserUpdateOneWithoutBlogPostsInput { +input UserUpdateOneWithoutBlogPostsNestedInput { connect: UserWhereUniqueInput connectOrCreate: UserCreateOrConnectWithoutBlogPostsInput create: UserCreateWithoutBlogPostsInput - delete: Boolean - disconnect: Boolean - update: UserUpdateWithoutBlogPostsInput + delete: UserWhereInput + disconnect: UserWhereInput + update: UserUpdateToOneWithWhereWithoutBlogPostsInput upsert: UserUpsertWithoutBlogPostsInput } -input UserUpdateOneWithoutCommentsInput { +input UserUpdateOneWithoutCommentsNestedInput { connect: UserWhereUniqueInput connectOrCreate: UserCreateOrConnectWithoutCommentsInput create: UserCreateWithoutCommentsInput - delete: Boolean - disconnect: Boolean - update: UserUpdateWithoutCommentsInput + delete: UserWhereInput + disconnect: UserWhereInput + update: UserUpdateToOneWithWhereWithoutCommentsInput upsert: UserUpsertWithoutCommentsInput } +input UserUpdateToOneWithWhereWithoutBlogPostsInput { + data: UserUpdateWithoutBlogPostsInput! + where: UserWhereInput +} + +input UserUpdateToOneWithWhereWithoutCommentsInput { + data: UserUpdateWithoutCommentsInput! + where: UserWhereInput +} + +input UserUpdateToOneWithWhereWithoutCompaniesInput { + data: UserUpdateWithoutCompaniesInput! + where: UserWhereInput +} + input UserUpdateWithWhereUniqueWithoutRolesInput { data: UserUpdateWithoutRolesInput! where: UserWhereUniqueInput! } input UserUpdateWithoutBlogPostsInput { - address: NullableJsonNullValueInput - comments: BlogPostCommentUpdateManyWithoutAuthorInput - companies: CompanyUpdateManyWithoutUserInput + address: Json + comments: BlogPostCommentUpdateManyWithoutAuthorNestedInput + companies: CompanyUpdateManyWithoutUserNestedInput email: StringFieldUpdateOperationsInput firstName: NullableStringFieldUpdateOperationsInput gender: NullableEnumGenderFieldUpdateOperationsInput id: StringFieldUpdateOperationsInput interests: UserUpdateinterestsInput lastName: NullableStringFieldUpdateOperationsInput - roles: UserRoleUpdateManyWithoutUsersInput - site: SiteUpdateOneWithoutOwnerInput - userSocialMedia: UserSocialMediaUpdateOneWithoutUserInput + roles: UserRoleUpdateManyWithoutUsersNestedInput + site: SiteUpdateOneWithoutOwnerNestedInput + userSocialMedia: UserSocialMediaUpdateOneWithoutUserNestedInput wantsNewsletter: BoolFieldUpdateOperationsInput weddingDate: NullableDateTimeFieldUpdateOperationsInput yearOfBirth: NullableIntFieldUpdateOperationsInput } input UserUpdateWithoutCommentsInput { - address: NullableJsonNullValueInput - blogPosts: BlogPostUpdateManyWithoutAuthorInput - companies: CompanyUpdateManyWithoutUserInput + address: Json + blogPosts: BlogPostUpdateManyWithoutAuthorNestedInput + companies: CompanyUpdateManyWithoutUserNestedInput email: StringFieldUpdateOperationsInput firstName: NullableStringFieldUpdateOperationsInput gender: NullableEnumGenderFieldUpdateOperationsInput id: StringFieldUpdateOperationsInput interests: UserUpdateinterestsInput lastName: NullableStringFieldUpdateOperationsInput - roles: UserRoleUpdateManyWithoutUsersInput - site: SiteUpdateOneWithoutOwnerInput - userSocialMedia: UserSocialMediaUpdateOneWithoutUserInput + roles: UserRoleUpdateManyWithoutUsersNestedInput + site: SiteUpdateOneWithoutOwnerNestedInput + userSocialMedia: UserSocialMediaUpdateOneWithoutUserNestedInput wantsNewsletter: BoolFieldUpdateOperationsInput weddingDate: NullableDateTimeFieldUpdateOperationsInput yearOfBirth: NullableIntFieldUpdateOperationsInput } input UserUpdateWithoutCompaniesInput { - address: NullableJsonNullValueInput - blogPosts: BlogPostUpdateManyWithoutAuthorInput - comments: BlogPostCommentUpdateManyWithoutAuthorInput + address: Json + blogPosts: BlogPostUpdateManyWithoutAuthorNestedInput + comments: BlogPostCommentUpdateManyWithoutAuthorNestedInput email: StringFieldUpdateOperationsInput firstName: NullableStringFieldUpdateOperationsInput gender: NullableEnumGenderFieldUpdateOperationsInput id: StringFieldUpdateOperationsInput interests: UserUpdateinterestsInput lastName: NullableStringFieldUpdateOperationsInput - roles: UserRoleUpdateManyWithoutUsersInput - site: SiteUpdateOneWithoutOwnerInput - userSocialMedia: UserSocialMediaUpdateOneWithoutUserInput + roles: UserRoleUpdateManyWithoutUsersNestedInput + site: SiteUpdateOneWithoutOwnerNestedInput + userSocialMedia: UserSocialMediaUpdateOneWithoutUserNestedInput wantsNewsletter: BoolFieldUpdateOperationsInput weddingDate: NullableDateTimeFieldUpdateOperationsInput yearOfBirth: NullableIntFieldUpdateOperationsInput } input UserUpdateWithoutRolesInput { - address: NullableJsonNullValueInput - blogPosts: BlogPostUpdateManyWithoutAuthorInput - comments: BlogPostCommentUpdateManyWithoutAuthorInput - companies: CompanyUpdateManyWithoutUserInput + address: Json + blogPosts: BlogPostUpdateManyWithoutAuthorNestedInput + comments: BlogPostCommentUpdateManyWithoutAuthorNestedInput + companies: CompanyUpdateManyWithoutUserNestedInput email: StringFieldUpdateOperationsInput firstName: NullableStringFieldUpdateOperationsInput gender: NullableEnumGenderFieldUpdateOperationsInput id: StringFieldUpdateOperationsInput interests: UserUpdateinterestsInput lastName: NullableStringFieldUpdateOperationsInput - site: SiteUpdateOneWithoutOwnerInput - userSocialMedia: UserSocialMediaUpdateOneWithoutUserInput + site: SiteUpdateOneWithoutOwnerNestedInput + userSocialMedia: UserSocialMediaUpdateOneWithoutUserNestedInput wantsNewsletter: BoolFieldUpdateOperationsInput weddingDate: NullableDateTimeFieldUpdateOperationsInput yearOfBirth: NullableIntFieldUpdateOperationsInput @@ -1606,16 +1706,19 @@ input UserUpsertWithWhereUniqueWithoutRolesInput { input UserUpsertWithoutBlogPostsInput { create: UserCreateWithoutBlogPostsInput! update: UserUpdateWithoutBlogPostsInput! + where: UserWhereInput } input UserUpsertWithoutCommentsInput { create: UserCreateWithoutCommentsInput! update: UserUpdateWithoutCommentsInput! + where: UserWhereInput } input UserUpsertWithoutCompaniesInput { create: UserCreateWithoutCompaniesInput! update: UserUpdateWithoutCompaniesInput! + where: UserWhereInput } input UserWhereInput { @@ -1641,6 +1744,23 @@ input UserWhereInput { } input UserWhereUniqueInput { + AND: [UserWhereInput!] + NOT: [UserWhereInput!] + OR: [UserWhereInput!] + address: JsonNullableFilter + blogPosts: BlogPostListRelationFilter + comments: BlogPostCommentListRelationFilter + companies: CompanyListRelationFilter email: String + firstName: StringNullableFilter + gender: EnumGenderNullableFilter id: String + interests: EnumTopicNullableListFilter + lastName: StringNullableFilter + roles: UserRoleListRelationFilter + site: SiteWhereInput + userSocialMedia: UserSocialMediaWhereInput + wantsNewsletter: BoolFilter + weddingDate: DateTimeNullableFilter + yearOfBirth: IntNullableFilter } diff --git a/packages/dataprovider/package.json b/packages/dataprovider/package.json index 44b027e..e49ddd8 100644 --- a/packages/dataprovider/package.json +++ b/packages/dataprovider/package.json @@ -29,15 +29,15 @@ "generate:test:nexus": "yarn ts-node --project ../../tsconfig-test.json --transpile-only test-data/buildTestSchemaNexus.ts" }, "devDependencies": { - "prisma": "^3.15.2", + "prisma": "^5.5.2", "@types/pluralize": "^0.0.29", "rimraf": "^3.0.2", "ts-node": "~8.9.1", "type-graphql": "^1.1.1", "typegraphql-prisma": "^0.25.0", - "typescript": "^4.4.3", - "@prisma/client": "^3.15.2", - "nexus-plugin-prisma": "^0.35.0" + "typescript": "^5.2.2", + "@prisma/client": "^5.5.2", + "@morgothulhu/nexus-plugin-prisma": "^5.5.2" }, "dependencies": { "lodash": "^4.17.15", diff --git a/packages/dataprovider/src/buildQuery.test.ts b/packages/dataprovider/src/buildQuery.test.ts index 75eb832..001a012 100644 --- a/packages/dataprovider/src/buildQuery.test.ts +++ b/packages/dataprovider/src/buildQuery.test.ts @@ -20,7 +20,7 @@ describe("buildQueryFactory", () => { testIntrospectionTypeGraphql = await getTestIntrospectionTypeGraphql(); testUserResource = testIntrospectionNexus.resources.find( (r) => r.type.kind === "OBJECT" && r.type.name === "User", - ); + )!; }); it("throws an error if resource is unknown", () => { diff --git a/packages/dataprovider/src/buildVariables/buildData.ts b/packages/dataprovider/src/buildVariables/buildData.ts index 83f8d60..088e40c 100644 --- a/packages/dataprovider/src/buildVariables/buildData.ts +++ b/packages/dataprovider/src/buildVariables/buildData.ts @@ -309,11 +309,11 @@ const buildNewInputValue = ( if (!fieldData || isNullReferenceObject(fieldData)) { if (removeRelationMode === "disconnect") { return { - disconnect: true, + disconnect: {}, }; } else if (removeRelationMode === "delete") { return { - delete: true, + delete: {}, }; } // else skip it @@ -358,7 +358,9 @@ const buildNewInputValue = ( // update const data = buildData( - updateObjectInputType, + updateObjectInputType.inputFields.find( + (f) => f.name === "data", + )?.type ?? updateObjectInputType, // fallback for typegraphql { id: fieldData.id, data: fieldData, @@ -366,7 +368,7 @@ const buildNewInputValue = ( }, context, ); - return { update: data }; + return { update: { data } }; } else if (connectModifier) { return { connect: { id: fieldData.id } }; } @@ -390,7 +392,7 @@ const buildNewInputValue = ( }; export const buildData = ( - inputType: IntrospectionInputObjectType, + inputType: IntrospectionInputObjectType | IntrospectionInputTypeRef, params: UpdateParams | CreateParams, context: BuildVariablesContext, ) => { @@ -424,7 +426,27 @@ export const buildData = ( }) .map((key) => [key, data[key]]), ); - return inputType.inputFields.reduce((acc, field) => { + + const getInputFields = () => { + if ("inputFields" in inputType) { + return inputType.inputFields; + } + if ( + inputType.kind === "NON_NULL" && + inputType.ofType.kind === "INPUT_OBJECT" + ) { + const name = inputType.ofType.name; + const referencedType = context.introspectionResults.types.find( + (t) => t.name === name, + ); + if ("inputFields" in referencedType) { + return referencedType.inputFields; + } + } + return []; + }; + + return getInputFields().reduce((acc, field) => { // ignore unchanged field if (!hasFieldData(changedData, field)) { return acc; diff --git a/packages/dataprovider/src/buildVariables/buildOrderBy.ts b/packages/dataprovider/src/buildVariables/buildOrderBy.ts index 4520a24..86889d1 100644 --- a/packages/dataprovider/src/buildVariables/buildOrderBy.ts +++ b/packages/dataprovider/src/buildVariables/buildOrderBy.ts @@ -1,7 +1,6 @@ import { IntrospectionInputObjectType } from "graphql"; import set from "lodash/set"; import type { GetListParams } from "."; -import { IntrospectionResult, Resource } from "../constants/interfaces"; import { BuildVariablesContext } from "./types"; function getOrderType({ @@ -29,10 +28,38 @@ export const buildOrderBy = ( return null; } - if (!orderType.inputFields.some((f) => f.name === fieldParts[0])) { + const inputTypefield = orderType.inputFields.find( + (f) => f.name === fieldParts[0], + ); + if (!inputTypefield) { return null; } + + const theType = inputTypefield.type; + + let directSortOrder = false; + if (theType.kind === "INPUT_OBJECT") { + const inputObjectType = context.introspectionResults.types.find( + (t) => t.name === theType.name, + ); + + if (inputObjectType.kind === "INPUT_OBJECT") { + const theField = inputObjectType?.inputFields.find( + (f) => f.name === fieldParts[1], + ); + + // would be cleaner to really follow the full chain if its always an input object + if (theField?.type.kind === "ENUM") { + directSortOrder = true; + } + } else { + directSortOrder = true; + } + } else { + directSortOrder = true; + } const selector = {}; - set(selector, field, sort.order === "ASC" ? "asc" : "desc"); + const sortOrder = sort.order === "ASC" ? "asc" : "desc"; + set(selector, field, directSortOrder ? sortOrder : { sort: sortOrder }); return [selector]; }; diff --git a/packages/dataprovider/src/buildVariables/buildVariables.test.ts b/packages/dataprovider/src/buildVariables/buildVariables.test.ts index f14b19b..6160e08 100644 --- a/packages/dataprovider/src/buildVariables/buildVariables.test.ts +++ b/packages/dataprovider/src/buildVariables/buildVariables.test.ts @@ -147,7 +147,9 @@ describe("buildVariables", () => { { post: { author: { - firstName: "desc", + firstName: { + sort: "desc", + }, }, }, }, @@ -665,7 +667,7 @@ describe("buildVariables", () => { where: { id: "einstein" }, data: { userSocialMedia: { - disconnect: true, + disconnect: {}, }, }, }); @@ -687,7 +689,7 @@ describe("buildVariables", () => { where: { id: "einstein" }, data: { userSocialMedia: { - disconnect: true, + disconnect: {}, }, }, }); @@ -710,7 +712,7 @@ describe("buildVariables", () => { where: { id: "einstein" }, data: { userSocialMedia: { - disconnect: true, + disconnect: {}, }, }, }); @@ -781,11 +783,13 @@ describe("buildVariables", () => { data: { userSocialMedia: { update: { - twitter: { - set: "another-twitter", - }, - instagram: { - set: "another-instagram", + data: { + twitter: { + set: "another-twitter", + }, + instagram: { + set: "another-instagram", + }, }, }, }, @@ -839,7 +843,7 @@ describe("buildVariables", () => { where: { id: "einstein" }, data: { userSocialMedia: { - disconnect: true, + disconnect: {}, }, }, }); @@ -861,7 +865,7 @@ describe("buildVariables", () => { where: { id: "einstein" }, data: { site: { - delete: true, + delete: {}, }, }, }); diff --git a/packages/dataprovider/test-data/missingPrismaTypesPlugin.ts b/packages/dataprovider/test-data/missingPrismaTypesPlugin.ts index 0be4073..4aeda26 100644 --- a/packages/dataprovider/test-data/missingPrismaTypesPlugin.ts +++ b/packages/dataprovider/test-data/missingPrismaTypesPlugin.ts @@ -7,7 +7,7 @@ import { inputObjectType } from "nexus"; import { InternalDMMF, getTransformedDmmf, -} from "nexus-plugin-prisma/dist/dmmf"; +} from "@morgothulhu/nexus-plugin-prisma/dist/dmmf"; import { NexusGenInputs, NexusGenObjects } from "../generated/nexus"; import { resolve } from "path"; diff --git a/packages/dataprovider/test-data/testSchemaNexus.ts b/packages/dataprovider/test-data/testSchemaNexus.ts index 81a19d1..e08613d 100644 --- a/packages/dataprovider/test-data/testSchemaNexus.ts +++ b/packages/dataprovider/test-data/testSchemaNexus.ts @@ -6,7 +6,7 @@ import { nonNull, } from "nexus"; import path, { join } from "path"; -import { nexusSchemaPrisma } from "nexus-plugin-prisma/schema"; +import { nexusSchemaPrisma } from "@morgothulhu/nexus-plugin-prisma/schema"; import { addCrudResolvers } from "../../backend/src"; import "../generated/nexus"; import "../generated/nexus-prisma"; @@ -147,7 +147,7 @@ export const testSchemaNexus = ( }); const BlogPostUpdateManyWithoutAuthorInput = prismaInputObjectType( - "BlogPostUpdateManyWithoutAuthorInput", + "BlogPostUpdateManyWithoutAuthorNestedInput", { // @ts-ignore filteredFields: ["disconnect"], @@ -155,7 +155,7 @@ export const testSchemaNexus = ( ); const SiteUpdateOneWithoutOwnerInput = prismaInputObjectType( - "SiteUpdateOneWithoutOwnerInput", + "SiteUpdateOneWithoutOwnerNestedInput", { // @ts-ignore filteredFields: ["disconnect"], diff --git a/packages/dataprovider/yarn.lock b/packages/dataprovider/yarn.lock index 8d9cfac..0b732f5 100644 --- a/packages/dataprovider/yarn.lock +++ b/packages/dataprovider/yarn.lock @@ -2,6 +2,11 @@ # yarn lockfile v1 +"@antfu/ni@0.21.8": + version "0.21.8" + resolved "https://registry.yarnpkg.com/@antfu/ni/-/ni-0.21.8.tgz#85a2871f9c8e6c4e99a98401ed063870fce4e4ad" + integrity sha512-90X8pU2szlvw0AJo9EZMbYc2eQKkmO7mAdC4tD4r5co2Mm56MT37MIG8EyB7p4WRheuzGxuLDxJ63mF6+Zajiw== + "@babel/code-frame@^7.0.0": version "7.21.4" resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.21.4.tgz#d0fa9e4413aca81f2b23b9442797bda1826edb39" @@ -23,6 +28,20 @@ chalk "^2.0.0" js-tokens "^4.0.0" +"@morgothulhu/nexus-plugin-prisma@^5.5.2": + version "5.5.2" + resolved "https://registry.yarnpkg.com/@morgothulhu/nexus-plugin-prisma/-/nexus-plugin-prisma-5.5.2.tgz#de61c6a5f66e5587ca6077891e373e3136e9bb97" + integrity sha512-TVo3I+i2fB9fmgMaMdvzg4tAF2SHvjXMiix7fflnZb7SkJuADJSUHYSwxK3ibEqKd+R5I2ehLMkNiDrXM+ZCsw== + dependencies: + "@prisma/internals" "5.5.2" + camelcase "^6.3.0" + endent "2.1.0" + escape-string-regexp "^4.0.0" + fs-jetpack "5.1.0" + lodash "4.17.21" + pluralize "8.0.0" + semver "7.5.2" + "@nodelib/fs.scandir@2.1.5": version "2.1.5" resolved "https://registry.yarnpkg.com/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz#7619c2eb21b25483f6d167548b4cfd5a7488c3d5" @@ -44,6 +63,11 @@ "@nodelib/fs.scandir" "2.1.5" fastq "^1.6.0" +"@opentelemetry/api@1.6.0": + version "1.6.0" + resolved "https://registry.yarnpkg.com/@opentelemetry/api/-/api-1.6.0.tgz#de2c6823203d6f319511898bb5de7e70f5267e19" + integrity sha512-OWlrQAnWn9577PhVgqjUvMr1pg57Bc4jv0iL4w0PRuOSRvq67rvHW9Ie/dZVMvCzhSCB+UxhcY/PmCmFj33Q+g== + "@opentelemetry/api@^1.3.0": version "1.4.1" resolved "https://registry.yarnpkg.com/@opentelemetry/api/-/api-1.4.1.tgz#ff22eb2e5d476fbc2450a196e40dd243cc20c28f" @@ -78,12 +102,12 @@ resolved "https://registry.yarnpkg.com/@opentelemetry/semantic-conventions/-/semantic-conventions-1.12.0.tgz#19c959bdb900986e74939d4227e757aa16936b91" integrity sha512-hO+bdeGOlJwqowUBoZF5LyP3ORUFOP1G0GRv8N45W/cztXbT2ZEXaAzfokRS9Xc9FWmYrDj32mF6SzH6wuoIyA== -"@prisma/client@^3.15.2": - version "3.15.2" - resolved "https://registry.yarnpkg.com/@prisma/client/-/client-3.15.2.tgz#2181398147afc79bfe0d83c03a88dc45b49bd365" - integrity sha512-ErqtwhX12ubPhU4d++30uFY/rPcyvjk+mdifaZO5SeM21zS3t4jQrscy8+6IyB0GIYshl5ldTq6JSBo1d63i8w== +"@prisma/client@^5.5.2": + version "5.5.2" + resolved "https://registry.yarnpkg.com/@prisma/client/-/client-5.5.2.tgz#ce6389e7ad9e9cf0fc2a7c6a0032ad2e12a9fd61" + integrity sha512-54XkqR8M+fxbzYqe+bIXimYnkkcGqgOh0dn0yWtIk6CQT4IUCAvNFNcQZwk2KqaLU+/1PHTSWrcHtx4XjluR5w== dependencies: - "@prisma/engines-version" "3.15.1-1.461d6a05159055555eb7dfb337c9fb271cbd4d7e" + "@prisma/engines-version" "5.5.1-1.aebc046ce8b88ebbcb45efe31cbe7d06fd6abc0a" "@prisma/debug@4.13.0": version "4.13.0" @@ -94,6 +118,15 @@ debug "4.3.4" strip-ansi "6.0.1" +"@prisma/debug@5.5.2": + version "5.5.2" + resolved "https://registry.yarnpkg.com/@prisma/debug/-/debug-5.5.2.tgz#25fc82ac13dff7491f136fad45a49e114effb148" + integrity sha512-OeyuNABo1dgWHIQuJAdvW5qp5ccFfbI0CKNvdg8D34YWOfo6L+4J0gmnRI/j+h40HvM3S5WH2T8e3W9bPa7EVg== + dependencies: + "@types/debug" "4.1.9" + debug "4.3.4" + strip-ansi "6.0.1" + "@prisma/engine-core@4.13.0": version "4.13.0" resolved "https://registry.yarnpkg.com/@prisma/engine-core/-/engine-core-4.13.0.tgz#ee36a4f84e7bcccbcef18a0b7d61a61cd3b7cbc6" @@ -115,21 +148,21 @@ ts-pattern "4.2.2" undici "5.21.0" -"@prisma/engines-version@3.15.1-1.461d6a05159055555eb7dfb337c9fb271cbd4d7e": - version "3.15.1-1.461d6a05159055555eb7dfb337c9fb271cbd4d7e" - resolved "https://registry.yarnpkg.com/@prisma/engines-version/-/engines-version-3.15.1-1.461d6a05159055555eb7dfb337c9fb271cbd4d7e.tgz#bf5e2373ca68ce7556b967cb4965a7095e93fe53" - integrity sha512-e3k2Vd606efd1ZYy2NQKkT4C/pn31nehyLhVug6To/q8JT8FpiMrDy7zmm3KLF0L98NOQQcutaVtAPhzKhzn9w== - -"@prisma/engines@3.15.1-1.461d6a05159055555eb7dfb337c9fb271cbd4d7e": - version "3.15.1-1.461d6a05159055555eb7dfb337c9fb271cbd4d7e" - resolved "https://registry.yarnpkg.com/@prisma/engines/-/engines-3.15.1-1.461d6a05159055555eb7dfb337c9fb271cbd4d7e.tgz#f691893df506b93e3cb1ccc15ec6e5ac64e8e570" - integrity sha512-NHlojO1DFTsSi3FtEleL9QWXeSF/UjhCW0fgpi7bumnNZ4wj/eQ+BJJ5n2pgoOliTOGv9nX2qXvmHap7rJMNmg== +"@prisma/engines-version@5.5.1-1.aebc046ce8b88ebbcb45efe31cbe7d06fd6abc0a": + version "5.5.1-1.aebc046ce8b88ebbcb45efe31cbe7d06fd6abc0a" + resolved "https://registry.yarnpkg.com/@prisma/engines-version/-/engines-version-5.5.1-1.aebc046ce8b88ebbcb45efe31cbe7d06fd6abc0a.tgz#35cd59ed65ee1f9e333f4865ec86a4432c4d0a9c" + integrity sha512-O+qHFnZvAyOFk1tUco2/VdiqS0ym42a3+6CYLScllmnpbyiTplgyLt2rK/B9BTjYkSHjrgMhkG47S0oqzdIckA== "@prisma/engines@4.13.0": version "4.13.0" resolved "https://registry.yarnpkg.com/@prisma/engines/-/engines-4.13.0.tgz#582a6b90b6efeb0f465984f1fe0e72a4afaaa5ae" integrity sha512-HrniowHRZXHuGT9XRgoXEaP2gJLXM5RMoItaY2PkjvuZ+iHc0Zjbm/302MB8YsPdWozAPHHn+jpFEcEn71OgPw== +"@prisma/engines@5.5.2": + version "5.5.2" + resolved "https://registry.yarnpkg.com/@prisma/engines/-/engines-5.5.2.tgz#fe0d2361a48c7d59568ccf0d35c75432594e1ac1" + integrity sha512-Be5hoNF8k+lkB3uEMiCHbhbfF6aj1GnrTBnn5iYFT7GEr3TsOEp1soviEcBR0tYCgHbxjcIxJMhdbvxALJhAqg== + "@prisma/fetch-engine@4.13.0": version "4.13.0" resolved "https://registry.yarnpkg.com/@prisma/fetch-engine/-/fetch-engine-4.13.0.tgz#49964fd230d4938baf50ee1969e55b29f5c0ea72" @@ -153,6 +186,29 @@ temp-dir "2.0.0" tempy "1.0.1" +"@prisma/fetch-engine@5.5.2": + version "5.5.2" + resolved "https://registry.yarnpkg.com/@prisma/fetch-engine/-/fetch-engine-5.5.2.tgz#0667b41175e50ec6ee70897b3268bb38aca79491" + integrity sha512-Ab6vZSQhuMeew0jmP6PFzdJOt9YZ957rlu6IU/T0pNZRhk2cKb8IwCq4K1ru1c5iKpFBJIjA2bUw7eTAE0gTDw== + dependencies: + "@prisma/debug" "5.5.2" + "@prisma/get-platform" "5.5.2" + execa "5.1.1" + find-cache-dir "3.3.2" + fs-extra "11.1.1" + hasha "5.2.2" + http-proxy-agent "7.0.0" + https-proxy-agent "7.0.2" + kleur "4.1.5" + node-fetch "2.7.0" + p-filter "2.1.0" + p-map "4.0.0" + p-retry "4.6.2" + progress "2.0.3" + rimraf "3.0.2" + temp-dir "2.0.0" + tempy "1.0.1" + "@prisma/generator-helper@4.13.0", "@prisma/generator-helper@~4.13.0": version "4.13.0" resolved "https://registry.yarnpkg.com/@prisma/generator-helper/-/generator-helper-4.13.0.tgz#4a665bba70681509003f0a8b34607835e80664c7" @@ -163,6 +219,16 @@ chalk "4.1.2" cross-spawn "7.0.3" +"@prisma/generator-helper@5.5.2": + version "5.5.2" + resolved "https://registry.yarnpkg.com/@prisma/generator-helper/-/generator-helper-5.5.2.tgz#259089b857bf4a32075e0e4bf76b35add6b81021" + integrity sha512-qQz4JfhjjMs+C/dbZUoGAU+JV685Qe72iGonDM0c9H05A5s5MCWj5wV2kVi1/DNiy7jkfqGGM7bX8k0/8yO0FQ== + dependencies: + "@prisma/debug" "5.5.2" + "@types/cross-spawn" "6.0.3" + cross-spawn "7.0.3" + kleur "4.1.5" + "@prisma/get-platform@4.13.0": version "4.13.0" resolved "https://registry.yarnpkg.com/@prisma/get-platform/-/get-platform-4.13.0.tgz#1d46f84fa83944662962ca80554f78d04994a2a4" @@ -179,6 +245,70 @@ terminal-link "2.1.1" ts-pattern "4.2.2" +"@prisma/get-platform@5.5.2": + version "5.5.2" + resolved "https://registry.yarnpkg.com/@prisma/get-platform/-/get-platform-5.5.2.tgz#c118d439416a7c0d1764b524f73465a74fcf97e5" + integrity sha512-Y4jLZYyAtd/kIPGhP3OpxJvroxX0K28wdUv1c94jIfCNelOMMLvWsPx/q3XLe0fzeXvSsdHkw0mPKCh/iupvhQ== + dependencies: + "@prisma/debug" "5.5.2" + escape-string-regexp "4.0.0" + execa "5.1.1" + fs-jetpack "5.1.0" + kleur "4.1.5" + replace-string "3.1.0" + strip-ansi "6.0.1" + tempy "1.0.1" + terminal-link "2.1.1" + ts-pattern "4.3.0" + +"@prisma/internals@5.5.2": + version "5.5.2" + resolved "https://registry.yarnpkg.com/@prisma/internals/-/internals-5.5.2.tgz#563b11c46655597a976e5a9b2a7c80607bf70029" + integrity sha512-+2F04bTP6yxijP/kqhyqWEKEplNUXJk+dwqjK8UZ8MzGQC8es/aaSvZW5evFGMFaXxbWkEPoX2sz3asmpG3q9g== + dependencies: + "@antfu/ni" "0.21.8" + "@opentelemetry/api" "1.6.0" + "@prisma/debug" "5.5.2" + "@prisma/engines" "5.5.2" + "@prisma/fetch-engine" "5.5.2" + "@prisma/generator-helper" "5.5.2" + "@prisma/get-platform" "5.5.2" + "@prisma/prisma-schema-wasm" "5.5.1-1.aebc046ce8b88ebbcb45efe31cbe7d06fd6abc0a" + archiver "6.0.1" + arg "5.0.2" + checkpoint-client "1.1.27" + cli-truncate "2.1.0" + dotenv "16.0.3" + escape-string-regexp "4.0.0" + execa "5.1.1" + find-up "5.0.0" + fp-ts "2.16.1" + fs-extra "11.1.1" + fs-jetpack "5.1.0" + global-dirs "3.0.1" + globby "11.1.0" + indent-string "4.0.0" + is-windows "1.0.2" + is-wsl "2.2.0" + kleur "4.1.5" + new-github-issue-url "0.2.1" + node-fetch "2.7.0" + npm-packlist "5.1.3" + open "7.4.2" + p-map "4.0.0" + prompts "2.4.2" + read-pkg-up "7.0.1" + replace-string "3.1.0" + resolve "1.22.6" + string-width "4.2.3" + strip-ansi "6.0.1" + strip-indent "3.0.0" + temp-dir "2.0.0" + tempy "1.0.1" + terminal-link "2.1.1" + tmp "0.2.1" + ts-pattern "4.3.0" + "@prisma/internals@~4.13.0": version "4.13.0" resolved "https://registry.yarnpkg.com/@prisma/internals/-/internals-4.13.0.tgz#2ec5fd43838a86bfd50a3a050898b519fab6ed45" @@ -239,6 +369,11 @@ resolved "https://registry.yarnpkg.com/@prisma/prisma-fmt-wasm/-/prisma-fmt-wasm-4.13.0-50.1e7af066ee9cb95cf3a403c78d9aab3e6b04f37a.tgz#7a7cf0fadb69bef77ab13ed171349750135622f1" integrity sha512-kEYSUa3XT1Oiu/MbdUkyjfVtAOQmZz69KGKFH/GWoQNLvkscrqy4J4XewEY80BrVuyC3vbV7un4kea0xklWhpA== +"@prisma/prisma-schema-wasm@5.5.1-1.aebc046ce8b88ebbcb45efe31cbe7d06fd6abc0a": + version "5.5.1-1.aebc046ce8b88ebbcb45efe31cbe7d06fd6abc0a" + resolved "https://registry.yarnpkg.com/@prisma/prisma-schema-wasm/-/prisma-schema-wasm-5.5.1-1.aebc046ce8b88ebbcb45efe31cbe7d06fd6abc0a.tgz#2005e6c1799946fa0822e7160c8946cce483e31e" + integrity sha512-dPOyEqjExFgXsfZTzKOuYM2ycWQbep5WtF/23KP8C+xq+XTr1725CMpERa8KaKQlDlRn+aE53qOON/wqXptGdg== + "@tootallnate/once@2": version "2.0.0" resolved "https://registry.yarnpkg.com/@tootallnate/once/-/once-2.0.0.tgz#f544a148d3ab35801c1f633a7441fd87c2e484bf" @@ -261,6 +396,13 @@ dependencies: "@types/node" "*" +"@types/cross-spawn@6.0.3": + version "6.0.3" + resolved "https://registry.yarnpkg.com/@types/cross-spawn/-/cross-spawn-6.0.3.tgz#c743cb2608f55860ee9776d8c99135d6032c763c" + integrity sha512-BDAkU7WHHRHnvBf5z89lcvACsvkz/n7Tv+HyD/uW76O29HoH1Tk/W6iQrepaZVbisvlEek4ygwT8IW7ow9XLAA== + dependencies: + "@types/node" "*" + "@types/debug@4.1.7": version "4.1.7" resolved "https://registry.yarnpkg.com/@types/debug/-/debug-4.1.7.tgz#7cc0ea761509124709b8b2d1090d8f6c17aadb82" @@ -268,6 +410,13 @@ dependencies: "@types/ms" "*" +"@types/debug@4.1.9": + version "4.1.9" + resolved "https://registry.yarnpkg.com/@types/debug/-/debug-4.1.9.tgz#906996938bc672aaf2fb8c0d3733ae1dda05b005" + integrity sha512-8Hz50m2eoS56ldRlepxSBa6PWEVCtzUo/92HgLc2qTMnotJNIm7xP+UZhyWoYsyOdd5dxZ+NZLb24rsKyFs2ow== + dependencies: + "@types/ms" "*" + "@types/glob@^7.1.3": version "7.1.4" resolved "https://registry.yarnpkg.com/@types/glob/-/glob-7.1.4.tgz#ea59e21d2ee5c517914cb4bc8e4153b99e566672" @@ -343,6 +492,13 @@ agent-base@6: dependencies: debug "4" +agent-base@^7.0.2, agent-base@^7.1.0: + version "7.1.0" + resolved "https://registry.yarnpkg.com/agent-base/-/agent-base-7.1.0.tgz#536802b76bc0b34aa50195eb2442276d613e3434" + integrity sha512-o/zjMZRhJxny7OyEF+Op8X+efiELC7k7yOjMzgfzVqOzXqkBkWI79YoTdOtsuWd5BWhAGAuOY/Xa6xpiaWXiNg== + dependencies: + debug "^4.3.4" + aggregate-error@^3.0.0: version "3.1.0" resolved "https://registry.yarnpkg.com/aggregate-error/-/aggregate-error-3.1.0.tgz#92670ff50f5359bdb7a3e0d40d0ec30c5737687a" @@ -475,6 +631,18 @@ archiver-utils@^2.1.0: normalize-path "^3.0.0" readable-stream "^2.0.0" +archiver-utils@^4.0.1: + version "4.0.1" + resolved "https://registry.yarnpkg.com/archiver-utils/-/archiver-utils-4.0.1.tgz#66ad15256e69589a77f706c90c6dbcc1b2775d2a" + integrity sha512-Q4Q99idbvzmgCTEAAhi32BkOyq8iVI5EwdO0PmBDSGIzzjYNdcFn7Q7k3OzbLy4kLUPXfJtG6fO2RjftXbobBg== + dependencies: + glob "^8.0.0" + graceful-fs "^4.2.0" + lazystream "^1.0.0" + lodash "^4.17.15" + normalize-path "^3.0.0" + readable-stream "^3.6.0" + archiver@5.3.1: version "5.3.1" resolved "https://registry.yarnpkg.com/archiver/-/archiver-5.3.1.tgz#21e92811d6f09ecfce649fbefefe8c79e57cbbb6" @@ -488,6 +656,19 @@ archiver@5.3.1: tar-stream "^2.2.0" zip-stream "^4.1.0" +archiver@6.0.1: + version "6.0.1" + resolved "https://registry.yarnpkg.com/archiver/-/archiver-6.0.1.tgz#d56968d4c09df309435adb5a1bbfc370dae48133" + integrity sha512-CXGy4poOLBKptiZH//VlWdFuUC1RESbdZjGjILwBuZ73P7WkAUN0htfSfBq/7k6FRFlpu7bg4JOkj1vU9G6jcQ== + dependencies: + archiver-utils "^4.0.1" + async "^3.2.4" + buffer-crc32 "^0.2.1" + readable-stream "^3.6.0" + readdir-glob "^1.1.2" + tar-stream "^3.0.0" + zip-stream "^5.0.1" + arg@5.0.2: version "5.0.2" resolved "https://registry.yarnpkg.com/arg/-/arg-5.0.2.tgz#c81433cc427c92c4dcf4865142dbca6f15acd59c" @@ -513,6 +694,16 @@ async@^3.2.3: resolved "https://registry.yarnpkg.com/async/-/async-3.2.4.tgz#2d22e00f8cddeb5fde5dd33522b56d1cf569a81c" integrity sha512-iAB+JbDEGXhyIUavoDl9WP/Jj106Kz9DEn1DPgYw5ruDn0e3Wgi3sKFm55sASdGBNOQB8F59d9qQ7deqrHA8wQ== +async@^3.2.4: + version "3.2.5" + resolved "https://registry.yarnpkg.com/async/-/async-3.2.5.tgz#ebd52a8fdaf7a2289a24df399f8d8485c8a46b66" + integrity sha512-baNZyqaaLhyLVKm/DlvdW051MSgO6b8eVfIezl9E5PqWxFgzLm/wQntEW4zOytVburDEr0JlALEpdOFwvErLsg== + +b4a@^1.6.4: + version "1.6.4" + resolved "https://registry.yarnpkg.com/b4a/-/b4a-1.6.4.tgz#ef1c1422cae5ce6535ec191baeed7567443f36c9" + integrity sha512-fpWrvyVHEKyeEvbKZTVOeZF3VSKKWtJxFIxX/jaVPf+cLbGUSitjb49pHLqPV2BUNNZ0LcoeEGfE/YCpyDYHIw== + balanced-match@^1.0.0: version "1.0.2" resolved "https://registry.yarnpkg.com/balanced-match/-/balanced-match-1.0.2.tgz#e83e3a7e3f300b34cb9d87f615fa0cbf357690ee" @@ -579,7 +770,7 @@ busboy@^1.6.0: dependencies: streamsearch "^1.1.0" -camelcase@^6.2.0: +camelcase@^6.3.0: version "6.3.0" resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-6.3.0.tgz#5685b95eb209ac9c0c177467778c9c84df58ba9a" integrity sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA== @@ -614,11 +805,28 @@ checkpoint-client@1.1.23: node-fetch "2.6.7" uuid "8.3.2" +checkpoint-client@1.1.27: + version "1.1.27" + resolved "https://registry.yarnpkg.com/checkpoint-client/-/checkpoint-client-1.1.27.tgz#d451a7ae0f635a27154ceb39ca31aaf37149e9b0" + integrity sha512-xstymfUalJOv6ZvTtmkwP4ORJN36ikT4PvrIoLe3wstbYf87XIXCcZrSmbFQOjyB0v1qbBnCsAscDpfdZlCkFA== + dependencies: + ci-info "3.8.0" + env-paths "2.2.1" + make-dir "4.0.0" + ms "2.1.3" + node-fetch "2.6.12" + uuid "9.0.0" + ci-info@3.3.0: version "3.3.0" resolved "https://registry.yarnpkg.com/ci-info/-/ci-info-3.3.0.tgz#b4ed1fb6818dea4803a55c623041f9165d2066b2" integrity sha512-riT/3vI5YpVH6/qomlDnJow6TBee2PBKSEpx3O32EGPYbWGIRsIlGRms3Sm74wYE1JMo8RnO04Hb12+v1J5ICw== +ci-info@3.8.0: + version "3.8.0" + resolved "https://registry.yarnpkg.com/ci-info/-/ci-info-3.8.0.tgz#81408265a5380c929f0bc665d62256628ce9ef91" + integrity sha512-eXTggHWSooYhq49F2opQhuHWgzucfF2YgODK4e1566GQs5BIfP30B0oenwBJHfWxAs2fyPB1s7Mg949zLf61Yw== + clean-stack@^2.0.0: version "2.2.0" resolved "https://registry.yarnpkg.com/clean-stack/-/clean-stack-2.2.0.tgz#ee8472dbb129e727b31e8a10a427dee9dfe4008b" @@ -693,6 +901,16 @@ compress-commons@^4.1.0: normalize-path "^3.0.0" readable-stream "^3.6.0" +compress-commons@^5.0.1: + version "5.0.1" + resolved "https://registry.yarnpkg.com/compress-commons/-/compress-commons-5.0.1.tgz#e46723ebbab41b50309b27a0e0f6f3baed2d6590" + integrity sha512-MPh//1cERdLtqwO3pOFLeXtpuai0Y2WCd5AhtKxznqM7WtaMYaOEMSgn45d9D10sIHSfIKE603HlOp8OPGrvag== + dependencies: + crc-32 "^1.2.0" + crc32-stream "^5.0.0" + normalize-path "^3.0.0" + readable-stream "^3.6.0" + concat-map@0.0.1: version "0.0.1" resolved "https://registry.yarnpkg.com/concat-map/-/concat-map-0.0.1.tgz#d8a96bd77fd68df7793a73036a3ba0d5405d477b" @@ -716,6 +934,14 @@ crc32-stream@^4.0.2: crc-32 "^1.2.0" readable-stream "^3.4.0" +crc32-stream@^5.0.0: + version "5.0.0" + resolved "https://registry.yarnpkg.com/crc32-stream/-/crc32-stream-5.0.0.tgz#a97d3a802c8687f101c27cc17ca5253327354720" + integrity sha512-B0EPa1UK+qnpBZpG+7FgPCu0J2ETLpXq09o9BkLkEAhdB6Z61Qo4pJ3JYu0c+Qi+/SAL7QThqnzS06pmSSyZaw== + dependencies: + crc-32 "^1.2.0" + readable-stream "^3.4.0" + cross-spawn@7.0.3, cross-spawn@^7.0.3: version "7.0.3" resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-7.0.3.tgz#f73a85b9d5d41d045551c177e2882d4ac85728a6" @@ -730,7 +956,7 @@ crypto-random-string@^2.0.0: resolved "https://registry.yarnpkg.com/crypto-random-string/-/crypto-random-string-2.0.0.tgz#ef2a7a966ec11083388369baa02ebead229b30d5" integrity sha512-v1plID3y9r/lPhviJ1wrXpLeyUIGAZ2SHNYTEapm7/8A9nLPoyvVp3RK/EPFqn5kEznyWgYZNsRtYYIWbuG8KA== -debug@4, debug@4.3.4: +debug@4, debug@4.3.4, debug@^4.3.4: version "4.3.4" resolved "https://registry.yarnpkg.com/debug/-/debug-4.3.4.tgz#1319f6579357f2338d3337d2cdd4914bb5dcc865" integrity sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ== @@ -792,7 +1018,7 @@ end-of-stream@^1.4.1: dependencies: once "^1.4.0" -endent@^2.0.1: +endent@2.1.0: version "2.1.0" resolved "https://registry.yarnpkg.com/endent/-/endent-2.1.0.tgz#5aaba698fb569e5e18e69e1ff7a28ff35373cd88" integrity sha512-r8VyPX7XL8U01Xgnb1CjZ3XV+z90cXIJ9JPE/R9SEC9vpw2P6CfsRPJmp20DppC5N7ZAMCmjYkJIa744Iyg96w== @@ -813,7 +1039,7 @@ error-ex@^1.3.1: dependencies: is-arrayish "^0.2.1" -escape-string-regexp@4.0.0: +escape-string-regexp@4.0.0, escape-string-regexp@^4.0.0: version "4.0.0" resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz#14ba83a5d373e3d311e5afca29cf5bfad965bf34" integrity sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA== @@ -838,6 +1064,11 @@ execa@5.1.1: signal-exit "^3.0.3" strip-final-newline "^2.0.0" +fast-fifo@^1.1.0, fast-fifo@^1.2.0: + version "1.3.2" + resolved "https://registry.yarnpkg.com/fast-fifo/-/fast-fifo-1.3.2.tgz#286e31de96eb96d38a97899815740ba2a4f3640c" + integrity sha512-/d9sfos4yxzpwkDkuN7k2SqFKtYNmCTzgfEpz82x34IM9/zc8KGxQoXg1liNC/izpRM/MBdt44Nmx41ZWqk+FQ== + fast-glob@^3.2.12, fast-glob@^3.2.9: version "3.2.12" resolved "https://registry.yarnpkg.com/fast-glob/-/fast-glob-3.2.12.tgz#7f39ec99c2e6ab030337142da9e0c18f37afae80" @@ -908,6 +1139,11 @@ fp-ts@2.13.1: resolved "https://registry.yarnpkg.com/fp-ts/-/fp-ts-2.13.1.tgz#1bf2b24136cca154846af16752dc29e8fa506f2a" integrity sha512-0eu5ULPS2c/jsa1lGFneEFFEdTbembJv8e4QKXeVJ3lm/5hyve06dlKZrpxmMwJt6rYen7sxmHHK2CLaXvWuWQ== +fp-ts@2.16.1: + version "2.16.1" + resolved "https://registry.yarnpkg.com/fp-ts/-/fp-ts-2.16.1.tgz#6abc401ce42b65364ca8f0b0d995c5840c68a930" + integrity sha512-by7U5W8dkIzcvDofUcO42yl9JbnHTEDBrzu3pt5fKT+Z4Oy85I21K80EYJYdjQGC2qum4Vo55Ag57iiIK4FYuA== + fs-constants@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/fs-constants/-/fs-constants-1.0.0.tgz#6be0de9be998ce16af8afc24497b9ee9b7ccd9ad" @@ -929,14 +1165,6 @@ fs-jetpack@5.1.0: dependencies: minimatch "^5.1.0" -fs-jetpack@^4.1.0: - version "4.3.1" - resolved "https://registry.yarnpkg.com/fs-jetpack/-/fs-jetpack-4.3.1.tgz#cdfd4b64e6bfdec7c7dc55c76b39efaa7853bb20" - integrity sha512-dbeOK84F6BiQzk2yqqCVwCPWTxAvVGJ3fMQc6E2wuEohS28mR6yHngbrKuVCK1KHRx/ccByDylqu4H5PCP2urQ== - dependencies: - minimatch "^3.0.2" - rimraf "^2.6.3" - fs.realpath@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/fs.realpath/-/fs.realpath-1.0.0.tgz#1504ad2523158caa40db4a2787cb01411994ea4f" @@ -947,6 +1175,11 @@ function-bind@^1.1.1: resolved "https://registry.yarnpkg.com/function-bind/-/function-bind-1.1.1.tgz#a56899d3ea3c9bab874bb9773b7c5ede92f4895d" integrity sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A== +function-bind@^1.1.2: + version "1.1.2" + resolved "https://registry.yarnpkg.com/function-bind/-/function-bind-1.1.2.tgz#2c02d864d97f3ea6c8830c464cbd11ab6eab7a1c" + integrity sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA== + get-stream@6.0.1, get-stream@^6.0.0: version "6.0.1" resolved "https://registry.yarnpkg.com/get-stream/-/get-stream-6.0.1.tgz#a262d8eef67aced57c2852ad6167526a43cbf7b7" @@ -971,7 +1204,7 @@ glob@^7.1.3, glob@^7.1.4, glob@^7.1.6: once "^1.3.0" path-is-absolute "^1.0.0" -glob@^8.0.1: +glob@^8.0.0, glob@^8.0.1: version "8.1.0" resolved "https://registry.yarnpkg.com/glob/-/glob-8.1.0.tgz#d388f656593ef708ee3e34640fdfb99a9fd1c33e" integrity sha512-r8hpEjiQEYlF2QU0df3dS+nxxSIreXQS1qRhMJM0Q5NDdR386C7jb7Hwwod8Fgiuex+k0GFjgft18yvxm5XoCQ== @@ -1055,6 +1288,13 @@ hasha@5.2.2: is-stream "^2.0.0" type-fest "^0.8.0" +hasown@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/hasown/-/hasown-2.0.0.tgz#f4c513d454a57b7c7e1650778de226b11700546c" + integrity sha512-vUptKVTpIJhcczKBbgnS+RtcuYMB8+oNzPK2/Hp3hanz8JmpATdmmgLgSaadVREkDm+e2giHwY3ZRkyjSIDDFA== + dependencies: + function-bind "^1.1.2" + hosted-git-info@^2.1.4: version "2.8.9" resolved "https://registry.yarnpkg.com/hosted-git-info/-/hosted-git-info-2.8.9.tgz#dffc0bf9a21c02209090f2aa69429e1414daf3f9" @@ -1069,6 +1309,14 @@ http-proxy-agent@5.0.0: agent-base "6" debug "4" +http-proxy-agent@7.0.0: + version "7.0.0" + resolved "https://registry.yarnpkg.com/http-proxy-agent/-/http-proxy-agent-7.0.0.tgz#e9096c5afd071a3fce56e6252bb321583c124673" + integrity sha512-+ZT+iBxVUQ1asugqnD6oWoRiS25AkjNfG085dKJGtGxkdwLQrMKU5wJr2bOOFAXzKcTuqq+7fZlTMgG3SRfIYQ== + dependencies: + agent-base "^7.1.0" + debug "^4.3.4" + https-proxy-agent@5.0.1: version "5.0.1" resolved "https://registry.yarnpkg.com/https-proxy-agent/-/https-proxy-agent-5.0.1.tgz#c59ef224a04fe8b754f3db0063a25ea30d0005d6" @@ -1077,6 +1325,14 @@ https-proxy-agent@5.0.1: agent-base "6" debug "4" +https-proxy-agent@7.0.2: + version "7.0.2" + resolved "https://registry.yarnpkg.com/https-proxy-agent/-/https-proxy-agent-7.0.2.tgz#e2645b846b90e96c6e6f347fb5b2e41f1590b09b" + integrity sha512-NmLNjm6ucYwtcUmL7JQC1ZQ57LmHP4lT15FQ8D61nak1rO6DH+fz5qNK2Ap5UN4ZapYICE3/0KodcLYSPsPbaA== + dependencies: + agent-base "^7.0.2" + debug "4" + human-signals@^2.1.0: version "2.1.0" resolved "https://registry.yarnpkg.com/human-signals/-/human-signals-2.1.0.tgz#dc91fcba42e4d06e4abaed33b3e7a3c02f514ea0" @@ -1134,6 +1390,13 @@ is-core-module@^2.11.0, is-core-module@^2.9.0: dependencies: has "^1.0.3" +is-core-module@^2.13.0: + version "2.13.1" + resolved "https://registry.yarnpkg.com/is-core-module/-/is-core-module-2.13.1.tgz#ad0d7532c6fea9da1ebdc82742d74525c6273384" + integrity sha512-hHrIjvZsftOsvKSn2TRYl63zvxsgE0K+0mYMoH6gD4omR5IWB2KynivBQczo3+wF1cCkjzvptnI9Q0sPU66ilw== + dependencies: + hasown "^2.0.0" + is-docker@^2.0.0: version "2.2.1" resolved "https://registry.yarnpkg.com/is-docker/-/is-docker-2.2.1.tgz#33eeabe23cfe86f14bde4408a02c0cfb853acdaa" @@ -1186,12 +1449,12 @@ is-unicode-supported@^0.1.0: resolved "https://registry.yarnpkg.com/is-unicode-supported/-/is-unicode-supported-0.1.0.tgz#3f26c76a809593b52bfa2ecb5710ed2779b522a7" integrity sha512-knxG2q4UC3u8stRGyAVJCOdxFmv5DZiRcdlIaAQXAbSfJya+OhopNotLQrstBhququ4ZpuKbDc/8S6mgXgPFPw== -is-windows@^1.0.2: +is-windows@1.0.2, is-windows@^1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/is-windows/-/is-windows-1.0.2.tgz#d1850eb9791ecd18e6182ce12a30f396634bb19d" integrity sha512-eXK1UInq2bPmjyX6e3VHIzMLobc4J94i4AWn+Hpq3OU5KkrRC96OAcR3PRJ/pGu6m8TRnBHP9dkXQVsT/COVIA== -is-wsl@^2.1.1, is-wsl@^2.2.0: +is-wsl@2.2.0, is-wsl@^2.1.1, is-wsl@^2.2.0: version "2.2.0" resolved "https://registry.yarnpkg.com/is-wsl/-/is-wsl-2.2.0.tgz#74a4c76e77ca9fd3f932f290c17ea326cd157271" integrity sha512-fKzAra0rGJUUBwGBgNkHZuToZcn+TtXHpeCgmkMJMMYx1sQDYaCSyjJBSCa2nH1DGm7s3n1oBnohoVTBaN7Lww== @@ -1232,6 +1495,11 @@ jsonfile@^6.0.1: optionalDependencies: graceful-fs "^4.1.6" +kleur@4.1.5: + version "4.1.5" + resolved "https://registry.yarnpkg.com/kleur/-/kleur-4.1.5.tgz#95106101795f7050c6c650f350c683febddb1780" + integrity sha512-o+NO+8WrRiQEE4/7nwRJhN1HWpVmJm511pBHUxPLtp0BUISzlBplORYSmTclCnJvQq2tKu/sgl3xVpkc7ZWuQQ== + kleur@^3.0.3: version "3.0.3" resolved "https://registry.yarnpkg.com/kleur/-/kleur-3.0.3.tgz#a79c9ecc86ee1ce3fa6206d1216c501f147fc07e" @@ -1293,7 +1561,7 @@ lodash.union@^4.6.0: resolved "https://registry.yarnpkg.com/lodash.union/-/lodash.union-4.6.0.tgz#48bb5088409f16f1821666641c44dd1aaae3cd88" integrity sha512-c4pB2CdGrGdjMKYLA+XiRDO7Y0PRQbm/Gzg8qMj+QH+pFVAoTp5sBpO0odL3FjoPCGjK96p6qsP+yQoiLoOBcw== -lodash@^4.17.15, lodash@^4.17.20, lodash@~4.17.5: +lodash@4.17.21, lodash@^4.17.15, lodash@~4.17.5: version "4.17.21" resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.21.tgz#679591c564c3bffaae8454cf0b3df370c3d6911c" integrity sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg== @@ -1320,6 +1588,13 @@ make-dir@3.1.0, make-dir@^3.0.0, make-dir@^3.0.2: dependencies: semver "^6.0.0" +make-dir@4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/make-dir/-/make-dir-4.0.0.tgz#c3c2307a771277cd9638305f915c29ae741b614e" + integrity sha512-hXdUTZYIVOt1Ex//jAQi+wTZZpUpwBj/0QsOzqegb3rGMMeJiSEu5xLHnYfBrRV4RH2+OCSOO95Is/7x1WJ4bw== + dependencies: + semver "^7.5.3" + make-error@^1.1.1: version "1.3.6" resolved "https://registry.yarnpkg.com/make-error/-/make-error-1.3.6.tgz#2eb2e37ea9b67c4891f684a1394799af484cf7a2" @@ -1353,7 +1628,7 @@ min-indent@^1.0.0: resolved "https://registry.yarnpkg.com/min-indent/-/min-indent-1.0.1.tgz#a63f681673b30571fbe8bc25686ae746eefa9869" integrity sha512-I9jwMn07Sy/IwOj3zVkVik2JTvgpaykDZEigL6Rx6N9LbMywwUSMtxET+7lVoDLLd3O3IXwJwvuuns8UB/HeAg== -minimatch@^3.0.2, minimatch@^3.0.4: +minimatch@^3.0.4: version "3.1.2" resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.1.2.tgz#19cd194bfd3e428f049a70817c038d89ab4be35b" integrity sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw== @@ -1394,17 +1669,12 @@ new-github-issue-url@0.2.1: resolved "https://registry.yarnpkg.com/new-github-issue-url/-/new-github-issue-url-0.2.1.tgz#e17be1f665a92de465926603e44b9f8685630c1d" integrity sha512-md4cGoxuT4T4d/HDOXbrUHkTKrp/vp+m3aOA7XXVYwNsUNMK49g3SQicTSeV5GIz/5QVGAeYRAOlyp9OvlgsYA== -nexus-plugin-prisma@^0.35.0: - version "0.35.0" - resolved "https://registry.yarnpkg.com/nexus-plugin-prisma/-/nexus-plugin-prisma-0.35.0.tgz#ab725c88823ab38c18fed90cca72f05ee73f3425" - integrity sha512-zZh96Ol6eqDGGd2caZLayjDW5ruUxNdoglyAMa/bOTBfnxu1Keb9kOyD+n7zVV+Mot8t0GRvWS4XilXoKZF/Tg== +node-fetch@2.6.12: + version "2.6.12" + resolved "https://registry.yarnpkg.com/node-fetch/-/node-fetch-2.6.12.tgz#02eb8e22074018e3d5a83016649d04df0e348fba" + integrity sha512-C/fGU2E8ToujUivIO0H+tpQ6HWo4eEmchoPIoXtxCrVghxdKq+QOHqEZW7tuP3KlV3bC8FRMO5nMCC7Zm1VP6g== dependencies: - camelcase "^6.2.0" - endent "^2.0.1" - fs-jetpack "^4.1.0" - lodash "^4.17.20" - pluralize "^8.0.0" - semver "^7.3.4" + whatwg-url "^5.0.0" node-fetch@2.6.7: version "2.6.7" @@ -1420,6 +1690,13 @@ node-fetch@2.6.9: dependencies: whatwg-url "^5.0.0" +node-fetch@2.7.0: + version "2.7.0" + resolved "https://registry.yarnpkg.com/node-fetch/-/node-fetch-2.7.0.tgz#d0f0fa6e3e2dc1d27efcd8ad99d550bda94d187d" + integrity sha512-c4FRfUm/dbcWZ7U+1Wq0AwCyFL+3nt2bEw05wfxSz+DWpWsitgmSgYmy2dQdWyKC1694ELPqMs/YzUSNozLt8A== + dependencies: + whatwg-url "^5.0.0" + normalize-package-data@^2.5.0: version "2.5.0" resolved "https://registry.yarnpkg.com/normalize-package-data/-/normalize-package-data-2.5.0.tgz#e66db1838b200c1dfc233225d12cb36520e234a8" @@ -1483,7 +1760,7 @@ onetime@^5.1.0, onetime@^5.1.2: dependencies: mimic-fn "^2.1.0" -open@7: +open@7, open@7.4.2: version "7.4.2" resolved "https://registry.yarnpkg.com/open/-/open-7.4.2.tgz#b8147e26dcf3e426316c730089fd71edd29c2321" integrity sha512-MVHddDVweXZF3awtlAS+6pgKLlm/JgxZ90+/NBurBoQctVOOB/zDdVjcyPzQ+0laDGbsWgrRkflI65sQeOgT9Q== @@ -1625,7 +1902,7 @@ pkg-dir@^4.1.0: dependencies: find-up "^4.0.0" -pluralize@^8.0.0: +pluralize@8.0.0, pluralize@^8.0.0: version "8.0.0" resolved "https://registry.yarnpkg.com/pluralize/-/pluralize-8.0.0.tgz#1a6fa16a38d12a1901e0320fa017051c539ce3b1" integrity sha512-Nc3IT5yHzflTfbjgqWcCPpo7DaKy4FnpB0l/zCAW0Tc7jxAiuqSxHasntB3D7887LSrA93kDJ9IXovxJYxyLCA== @@ -1635,12 +1912,12 @@ 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@^3.15.2: - version "3.15.2" - resolved "https://registry.yarnpkg.com/prisma/-/prisma-3.15.2.tgz#4ebe32fb284da3ac60c49fbc16c75e56ecf32067" - integrity sha512-nMNSMZvtwrvoEQ/mui8L/aiCLZRCj5t6L3yujKpcDhIPk7garp8tL4nMx2+oYsN0FWBacevJhazfXAbV1kfBzA== +prisma@^5.5.2: + version "5.5.2" + resolved "https://registry.yarnpkg.com/prisma/-/prisma-5.5.2.tgz#54ad2f04f0dd4174f27128e4447013e8d75c4d69" + integrity sha512-WQtG6fevOL053yoPl6dbHV+IWgKo25IRN4/pwAGqcWmg7CrtoCzvbDbN9fXUc7QS2KK0LimHIqLsaCOX/vHl8w== dependencies: - "@prisma/engines" "3.15.1-1.461d6a05159055555eb7dfb337c9fb271cbd4d7e" + "@prisma/engines" "5.5.2" process-nextick-args@~2.0.0: version "2.0.1" @@ -1665,6 +1942,11 @@ queue-microtask@^1.2.2: resolved "https://registry.yarnpkg.com/queue-microtask/-/queue-microtask-1.2.3.tgz#4929228bbc724dfac43e0efb058caf7b6cfb6243" integrity sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A== +queue-tick@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/queue-tick/-/queue-tick-1.0.1.tgz#f6f07ac82c1fd60f82e098b417a80e52f1f4c142" + integrity sha512-kJt5qhMxoszgU/62PLP1CJytzd2NKetjSRnyuj31fDd3Rlcz3fzlFdFLD1SItunPwyqEOkca6GbV612BWfaBag== + ra-data-graphql@3.11.4: version "3.11.4" resolved "https://registry.npmjs.org/ra-data-graphql/-/ra-data-graphql-3.11.4.tgz#d4ab31fffd0e7494960fa6e5777865a4b782f34b" @@ -1717,7 +1999,7 @@ readable-stream@^3.1.1, readable-stream@^3.4.0, readable-stream@^3.6.0: string_decoder "^1.1.1" util-deprecate "^1.0.1" -readdir-glob@^1.0.0: +readdir-glob@^1.0.0, readdir-glob@^1.1.2: version "1.1.3" resolved "https://registry.yarnpkg.com/readdir-glob/-/readdir-glob-1.1.3.tgz#c3d831f51f5e7bfa62fa2ffbe4b508c640f09584" integrity sha512-v05I2k7xN8zXvPD9N+z/uhXPaj0sUFCe2rcWZIpBsqxfP7xXFQ0tipAd/wjj1YxWyWtUS5IDJpOG82JKt2EAVA== @@ -1738,6 +2020,15 @@ resolve@1.22.1: path-parse "^1.0.7" supports-preserve-symlinks-flag "^1.0.0" +resolve@1.22.6: + version "1.22.6" + resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.22.6.tgz#dd209739eca3aef739c626fea1b4f3c506195362" + integrity sha512-njhxM7mV12JfufShqGy3Rz8j11RPdLy4xi15UurGJeoHLfJpVXKdh3ueuOqbYUcDZnffr6X739JBo5LzyahEsw== + dependencies: + is-core-module "^2.13.0" + path-parse "^1.0.7" + supports-preserve-symlinks-flag "^1.0.0" + resolve@^1.10.0: version "1.22.2" resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.22.2.tgz#0ed0943d4e301867955766c9f3e1ae6d01c6845f" @@ -1772,13 +2063,6 @@ rimraf@3.0.2, rimraf@^3.0.0, rimraf@^3.0.2: dependencies: glob "^7.1.3" -rimraf@^2.6.3: - version "2.7.1" - resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-2.7.1.tgz#35797f13a7fdadc566142c29d4f07ccad483e3ec" - integrity sha512-uWjbaKIK3T1OSVptzX7Nl6PvQ3qAGtKEtVRjRuazjfL3Bx5eI409VZSqgND+4UNnmzLVdPj9FqFJNPqBZFve4w== - dependencies: - glob "^7.1.3" - run-parallel@^1.1.9: version "1.2.0" resolved "https://registry.yarnpkg.com/run-parallel/-/run-parallel-1.2.0.tgz#66d1368da7bdf921eb9d95bd1a9229e7f21a43ee" @@ -1801,6 +2085,13 @@ safe-buffer@~5.2.0: resolved "https://registry.yarnpkg.com/semver/-/semver-5.7.1.tgz#a954f931aeba508d307bbf069eff0c01c96116f7" integrity sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ== +semver@7.5.2: + version "7.5.2" + resolved "https://registry.yarnpkg.com/semver/-/semver-7.5.2.tgz#5b851e66d1be07c1cdaf37dfc856f543325a2beb" + integrity sha512-SoftuTROv/cRjCze/scjGyiDtcUyxw1rgYQSZY7XTmtR5hX+dm76iDbTH8TkLPHCQmlbQVSSbNZCPM2hb0knnQ== + dependencies: + lru-cache "^6.0.0" + semver@^6.0.0: version "6.3.0" resolved "https://registry.yarnpkg.com/semver/-/semver-6.3.0.tgz#ee0a64c8af5e8ceea67687b133761e1becbd1d3d" @@ -1813,13 +2104,6 @@ semver@^7.3.2: dependencies: lru-cache "^6.0.0" -semver@^7.3.4: - version "7.5.4" - resolved "https://registry.yarnpkg.com/semver/-/semver-7.5.4.tgz#483986ec4ed38e1c6c48c34894a9182dbff68a6e" - integrity sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA== - dependencies: - lru-cache "^6.0.0" - semver@^7.5.0: version "7.5.0" resolved "https://registry.yarnpkg.com/semver/-/semver-7.5.0.tgz#ed8c5dc8efb6c629c88b23d41dc9bf40c1d96cd0" @@ -1827,6 +2111,13 @@ semver@^7.5.0: dependencies: lru-cache "^6.0.0" +semver@^7.5.3: + version "7.5.4" + resolved "https://registry.yarnpkg.com/semver/-/semver-7.5.4.tgz#483986ec4ed38e1c6c48c34894a9182dbff68a6e" + integrity sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA== + dependencies: + lru-cache "^6.0.0" + shebang-command@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/shebang-command/-/shebang-command-2.0.0.tgz#ccd0af4f8835fbdc265b82461aaf0c36663f34ea" @@ -1907,6 +2198,14 @@ streamsearch@^1.1.0: resolved "https://registry.yarnpkg.com/streamsearch/-/streamsearch-1.1.0.tgz#404dd1e2247ca94af554e841a8ef0eaa238da764" integrity sha512-Mcc5wHehp9aXz1ax6bZUyY5afg9u2rv5cqQI3mRrYkGC8rW2hM02jWuwjtL++LS5qinSyhj2QfLyNsuc+VsExg== +streamx@^2.15.0: + version "2.15.2" + resolved "https://registry.yarnpkg.com/streamx/-/streamx-2.15.2.tgz#680eacebdc9c43ede7362c2e6695b34dd413c741" + integrity sha512-b62pAV/aeMjUoRN2C/9F0n+G8AfcJjNC0zw/ZmOHeFsIe4m4GzjVW9m6VHXVjk536NbdU9JRwKMJRfkc+zUFTg== + dependencies: + fast-fifo "^1.1.0" + queue-tick "^1.0.1" + string-width@4.2.3, string-width@^4.2.0: version "4.2.3" resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010" @@ -1992,6 +2291,15 @@ tar-stream@^2.2.0: inherits "^2.0.3" readable-stream "^3.1.1" +tar-stream@^3.0.0: + version "3.1.6" + resolved "https://registry.yarnpkg.com/tar-stream/-/tar-stream-3.1.6.tgz#6520607b55a06f4a2e2e04db360ba7d338cc5bab" + integrity sha512-B/UyjYwPpMBv+PaFSWAmtYjwdrlEaZQEhMIBFNC5oEG8lpiW8XjcSdmEaClj28ArfKScKHs2nshz3k2le6crsg== + dependencies: + b4a "^1.6.4" + fast-fifo "^1.2.0" + streamx "^2.15.0" + temp-dir@2.0.0, temp-dir@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/temp-dir/-/temp-dir-2.0.0.tgz#bde92b05bdfeb1516e804c9c00ad45177f31321e" @@ -2082,6 +2390,11 @@ ts-pattern@4.2.2, ts-pattern@^4.0.1: resolved "https://registry.yarnpkg.com/ts-pattern/-/ts-pattern-4.2.2.tgz#e6fae2aa1ff1a7ff2ce3166f8c329a4f252f78d6" integrity sha512-qzJMo2pbkUJWusRH5o8xR+xogn6RmvViyUgwBFTtRENLse470clCGjHDf6haWGZ1AOmk8XkEohUoBW8Uut6Scg== +ts-pattern@4.3.0: + version "4.3.0" + resolved "https://registry.yarnpkg.com/ts-pattern/-/ts-pattern-4.3.0.tgz#7a995b39342f1b00d1507c2d2f3b90ea16e178a6" + integrity sha512-pefrkcd4lmIVR0LA49Imjf9DYLK8vtWhqBPA3Ya1ir8xCW0O2yjL9dsCVvI7pCodLC5q7smNpEtDR2yVulQxOg== + tslib@^1.10.0, tslib@^1.9.3: version "1.11.1" resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.11.1.tgz#eb15d128827fbee2841549e171f45ed338ac7e35" @@ -2143,10 +2456,10 @@ typegraphql-prisma@^0.25.0: ts-morph "^18.0.0" tslib "^2.5.0" -typescript@^4.4.3: - version "4.4.3" - resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.4.3.tgz#bdc5407caa2b109efd4f82fe130656f977a29324" - integrity sha512-4xfscpisVgqqDfPaJo5vkd+Qd/ItkoagnHpufr+i2QCHBsNYp+G7UAoyFl8aPtx879u38wPV65rZ8qbGZijalA== +typescript@^5.2.2: + version "5.2.2" + resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.2.2.tgz#5ebb5e5a5b75f085f22bc3f8460fba308310fa78" + integrity sha512-mI4WrpHsbCIcwT9cF4FZvr80QUeKvsUsUvKDoR+X/7XHQH98xYD8YHZg7ANtz2GtZt/CBq2QJ0thkGJMHfqc1w== undici@5.21.0: version "5.21.0" @@ -2177,6 +2490,11 @@ uuid@8.3.2: resolved "https://registry.yarnpkg.com/uuid/-/uuid-8.3.2.tgz#80d5b5ced271bb9af6c445f21a1a04c606cefbe2" integrity sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg== +uuid@9.0.0: + version "9.0.0" + resolved "https://registry.yarnpkg.com/uuid/-/uuid-9.0.0.tgz#592f550650024a38ceb0c562f2f6aa435761efb5" + integrity sha512-MXcSTerfPa4uqyzStbRoTgt5XIe3x5+42+q1sDuy3R5MDk66URdLMOZe5aPX/SQd+kuYAh0FdP/pO28IkQyTeg== + uuid@^3.3.2: version "3.4.0" resolved "https://registry.yarnpkg.com/uuid/-/uuid-3.4.0.tgz#b23e4358afa8a202fe7a100af1f5f883f02007ee" @@ -2258,3 +2576,12 @@ zip-stream@^4.1.0: archiver-utils "^2.1.0" compress-commons "^4.1.0" readable-stream "^3.6.0" + +zip-stream@^5.0.1: + version "5.0.1" + resolved "https://registry.yarnpkg.com/zip-stream/-/zip-stream-5.0.1.tgz#cf3293bba121cad98be2ec7f05991d81d9f18134" + integrity sha512-UfZ0oa0C8LI58wJ+moL46BDIMgCQbnsb+2PoiJYtonhBsMh2bq1eRBVkvjfVsqbEHd9/EgKPUuL9saSSsec8OA== + dependencies: + archiver-utils "^4.0.1" + compress-commons "^5.0.1" + readable-stream "^3.6.0" diff --git a/yarn.lock b/yarn.lock index d6f2214..b19f5ca 100644 --- a/yarn.lock +++ b/yarn.lock @@ -10,6 +10,11 @@ "@jridgewell/gen-mapping" "^0.3.0" "@jridgewell/trace-mapping" "^0.3.9" +"@antfu/ni@0.21.8": + version "0.21.8" + resolved "https://registry.yarnpkg.com/@antfu/ni/-/ni-0.21.8.tgz#85a2871f9c8e6c4e99a98401ed063870fce4e4ad" + integrity sha512-90X8pU2szlvw0AJo9EZMbYc2eQKkmO7mAdC4tD4r5co2Mm56MT37MIG8EyB7p4WRheuzGxuLDxJ63mF6+Zajiw== + "@babel/code-frame@^7.0.0", "@babel/code-frame@^7.12.13", "@babel/code-frame@^7.18.6", "@babel/code-frame@^7.21.4": version "7.21.4" resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.21.4.tgz#d0fa9e4413aca81f2b23b9442797bda1826edb39" @@ -2059,6 +2064,20 @@ prop-types "^15.7.2" react-is "^16.8.0 || ^17.0.0" +"@morgothulhu/nexus-plugin-prisma@^5.5.2": + version "5.5.2" + resolved "https://registry.yarnpkg.com/@morgothulhu/nexus-plugin-prisma/-/nexus-plugin-prisma-5.5.2.tgz#de61c6a5f66e5587ca6077891e373e3136e9bb97" + integrity sha512-TVo3I+i2fB9fmgMaMdvzg4tAF2SHvjXMiix7fflnZb7SkJuADJSUHYSwxK3ibEqKd+R5I2ehLMkNiDrXM+ZCsw== + dependencies: + "@prisma/internals" "5.5.2" + camelcase "^6.3.0" + endent "2.1.0" + escape-string-regexp "^4.0.0" + fs-jetpack "5.1.0" + lodash "4.17.21" + pluralize "8.0.0" + semver "7.5.2" + "@mrmlnc/readdir-enhanced@^2.2.1": version "2.2.1" resolved "https://registry.yarnpkg.com/@mrmlnc/readdir-enhanced/-/readdir-enhanced-2.2.1.tgz#524af240d1a360527b730475ecfa1344aa540dde" @@ -2473,6 +2492,11 @@ dependencies: "@octokit/openapi-types" "^17.1.0" +"@opentelemetry/api@1.6.0": + version "1.6.0" + resolved "https://registry.yarnpkg.com/@opentelemetry/api/-/api-1.6.0.tgz#de2c6823203d6f319511898bb5de7e70f5267e19" + integrity sha512-OWlrQAnWn9577PhVgqjUvMr1pg57Bc4jv0iL4w0PRuOSRvq67rvHW9Ie/dZVMvCzhSCB+UxhcY/PmCmFj33Q+g== + "@pnpm/config.env-replace@^1.1.0": version "1.1.0" resolved "https://registry.yarnpkg.com/@pnpm/config.env-replace/-/config.env-replace-1.1.0.tgz#ab29da53df41e8948a00f2433f085f54de8b3a4c" @@ -2494,17 +2518,133 @@ "@pnpm/network.ca-file" "^1.0.1" config-chain "^1.1.11" -"@prisma/client@^3.15.2": - version "3.15.2" - resolved "https://registry.yarnpkg.com/@prisma/client/-/client-3.15.2.tgz#2181398147afc79bfe0d83c03a88dc45b49bd365" - integrity sha512-ErqtwhX12ubPhU4d++30uFY/rPcyvjk+mdifaZO5SeM21zS3t4jQrscy8+6IyB0GIYshl5ldTq6JSBo1d63i8w== - dependencies: - "@prisma/engines-version" "3.15.1-1.461d6a05159055555eb7dfb337c9fb271cbd4d7e" - -"@prisma/engines-version@3.15.1-1.461d6a05159055555eb7dfb337c9fb271cbd4d7e": - version "3.15.1-1.461d6a05159055555eb7dfb337c9fb271cbd4d7e" - resolved "https://registry.yarnpkg.com/@prisma/engines-version/-/engines-version-3.15.1-1.461d6a05159055555eb7dfb337c9fb271cbd4d7e.tgz#bf5e2373ca68ce7556b967cb4965a7095e93fe53" - integrity sha512-e3k2Vd606efd1ZYy2NQKkT4C/pn31nehyLhVug6To/q8JT8FpiMrDy7zmm3KLF0L98NOQQcutaVtAPhzKhzn9w== +"@prisma/client@^5.5.2": + version "5.5.2" + resolved "https://registry.yarnpkg.com/@prisma/client/-/client-5.5.2.tgz#ce6389e7ad9e9cf0fc2a7c6a0032ad2e12a9fd61" + integrity sha512-54XkqR8M+fxbzYqe+bIXimYnkkcGqgOh0dn0yWtIk6CQT4IUCAvNFNcQZwk2KqaLU+/1PHTSWrcHtx4XjluR5w== + dependencies: + "@prisma/engines-version" "5.5.1-1.aebc046ce8b88ebbcb45efe31cbe7d06fd6abc0a" + +"@prisma/debug@5.5.2": + version "5.5.2" + resolved "https://registry.yarnpkg.com/@prisma/debug/-/debug-5.5.2.tgz#25fc82ac13dff7491f136fad45a49e114effb148" + integrity sha512-OeyuNABo1dgWHIQuJAdvW5qp5ccFfbI0CKNvdg8D34YWOfo6L+4J0gmnRI/j+h40HvM3S5WH2T8e3W9bPa7EVg== + dependencies: + "@types/debug" "4.1.9" + debug "4.3.4" + strip-ansi "6.0.1" + +"@prisma/engines-version@5.5.1-1.aebc046ce8b88ebbcb45efe31cbe7d06fd6abc0a": + version "5.5.1-1.aebc046ce8b88ebbcb45efe31cbe7d06fd6abc0a" + resolved "https://registry.yarnpkg.com/@prisma/engines-version/-/engines-version-5.5.1-1.aebc046ce8b88ebbcb45efe31cbe7d06fd6abc0a.tgz#35cd59ed65ee1f9e333f4865ec86a4432c4d0a9c" + integrity sha512-O+qHFnZvAyOFk1tUco2/VdiqS0ym42a3+6CYLScllmnpbyiTplgyLt2rK/B9BTjYkSHjrgMhkG47S0oqzdIckA== + +"@prisma/engines@5.5.2": + version "5.5.2" + resolved "https://registry.yarnpkg.com/@prisma/engines/-/engines-5.5.2.tgz#fe0d2361a48c7d59568ccf0d35c75432594e1ac1" + integrity sha512-Be5hoNF8k+lkB3uEMiCHbhbfF6aj1GnrTBnn5iYFT7GEr3TsOEp1soviEcBR0tYCgHbxjcIxJMhdbvxALJhAqg== + +"@prisma/fetch-engine@5.5.2": + version "5.5.2" + resolved "https://registry.yarnpkg.com/@prisma/fetch-engine/-/fetch-engine-5.5.2.tgz#0667b41175e50ec6ee70897b3268bb38aca79491" + integrity sha512-Ab6vZSQhuMeew0jmP6PFzdJOt9YZ957rlu6IU/T0pNZRhk2cKb8IwCq4K1ru1c5iKpFBJIjA2bUw7eTAE0gTDw== + dependencies: + "@prisma/debug" "5.5.2" + "@prisma/get-platform" "5.5.2" + execa "5.1.1" + find-cache-dir "3.3.2" + fs-extra "11.1.1" + hasha "5.2.2" + http-proxy-agent "7.0.0" + https-proxy-agent "7.0.2" + kleur "4.1.5" + node-fetch "2.7.0" + p-filter "2.1.0" + p-map "4.0.0" + p-retry "4.6.2" + progress "2.0.3" + rimraf "3.0.2" + temp-dir "2.0.0" + tempy "1.0.1" + +"@prisma/generator-helper@5.5.2": + version "5.5.2" + resolved "https://registry.yarnpkg.com/@prisma/generator-helper/-/generator-helper-5.5.2.tgz#259089b857bf4a32075e0e4bf76b35add6b81021" + integrity sha512-qQz4JfhjjMs+C/dbZUoGAU+JV685Qe72iGonDM0c9H05A5s5MCWj5wV2kVi1/DNiy7jkfqGGM7bX8k0/8yO0FQ== + dependencies: + "@prisma/debug" "5.5.2" + "@types/cross-spawn" "6.0.3" + cross-spawn "7.0.3" + kleur "4.1.5" + +"@prisma/get-platform@5.5.2": + version "5.5.2" + resolved "https://registry.yarnpkg.com/@prisma/get-platform/-/get-platform-5.5.2.tgz#c118d439416a7c0d1764b524f73465a74fcf97e5" + integrity sha512-Y4jLZYyAtd/kIPGhP3OpxJvroxX0K28wdUv1c94jIfCNelOMMLvWsPx/q3XLe0fzeXvSsdHkw0mPKCh/iupvhQ== + dependencies: + "@prisma/debug" "5.5.2" + escape-string-regexp "4.0.0" + execa "5.1.1" + fs-jetpack "5.1.0" + kleur "4.1.5" + replace-string "3.1.0" + strip-ansi "6.0.1" + tempy "1.0.1" + terminal-link "2.1.1" + ts-pattern "4.3.0" + +"@prisma/internals@5.5.2": + version "5.5.2" + resolved "https://registry.yarnpkg.com/@prisma/internals/-/internals-5.5.2.tgz#563b11c46655597a976e5a9b2a7c80607bf70029" + integrity sha512-+2F04bTP6yxijP/kqhyqWEKEplNUXJk+dwqjK8UZ8MzGQC8es/aaSvZW5evFGMFaXxbWkEPoX2sz3asmpG3q9g== + dependencies: + "@antfu/ni" "0.21.8" + "@opentelemetry/api" "1.6.0" + "@prisma/debug" "5.5.2" + "@prisma/engines" "5.5.2" + "@prisma/fetch-engine" "5.5.2" + "@prisma/generator-helper" "5.5.2" + "@prisma/get-platform" "5.5.2" + "@prisma/prisma-schema-wasm" "5.5.1-1.aebc046ce8b88ebbcb45efe31cbe7d06fd6abc0a" + archiver "6.0.1" + arg "5.0.2" + checkpoint-client "1.1.27" + cli-truncate "2.1.0" + dotenv "16.0.3" + escape-string-regexp "4.0.0" + execa "5.1.1" + find-up "5.0.0" + fp-ts "2.16.1" + fs-extra "11.1.1" + fs-jetpack "5.1.0" + global-dirs "3.0.1" + globby "11.1.0" + indent-string "4.0.0" + is-windows "1.0.2" + is-wsl "2.2.0" + kleur "4.1.5" + new-github-issue-url "0.2.1" + node-fetch "2.7.0" + npm-packlist "5.1.3" + open "7.4.2" + p-map "4.0.0" + prompts "2.4.2" + read-pkg-up "7.0.1" + replace-string "3.1.0" + resolve "1.22.6" + string-width "4.2.3" + strip-ansi "6.0.1" + strip-indent "3.0.0" + temp-dir "2.0.0" + tempy "1.0.1" + terminal-link "2.1.1" + tmp "0.2.1" + ts-pattern "4.3.0" + +"@prisma/prisma-schema-wasm@5.5.1-1.aebc046ce8b88ebbcb45efe31cbe7d06fd6abc0a": + version "5.5.1-1.aebc046ce8b88ebbcb45efe31cbe7d06fd6abc0a" + resolved "https://registry.yarnpkg.com/@prisma/prisma-schema-wasm/-/prisma-schema-wasm-5.5.1-1.aebc046ce8b88ebbcb45efe31cbe7d06fd6abc0a.tgz#2005e6c1799946fa0822e7160c8946cce483e31e" + integrity sha512-dPOyEqjExFgXsfZTzKOuYM2ycWQbep5WtF/23KP8C+xq+XTr1725CMpERa8KaKQlDlRn+aE53qOON/wqXptGdg== "@redux-saga/core@^1.2.3": version "1.2.3" @@ -2682,6 +2822,20 @@ dependencies: "@babel/types" "^7.3.0" +"@types/cross-spawn@6.0.3": + version "6.0.3" + resolved "https://registry.yarnpkg.com/@types/cross-spawn/-/cross-spawn-6.0.3.tgz#c743cb2608f55860ee9776d8c99135d6032c763c" + integrity sha512-BDAkU7WHHRHnvBf5z89lcvACsvkz/n7Tv+HyD/uW76O29HoH1Tk/W6iQrepaZVbisvlEek4ygwT8IW7ow9XLAA== + dependencies: + "@types/node" "*" + +"@types/debug@4.1.9": + version "4.1.9" + resolved "https://registry.yarnpkg.com/@types/debug/-/debug-4.1.9.tgz#906996938bc672aaf2fb8c0d3733ae1dda05b005" + integrity sha512-8Hz50m2eoS56ldRlepxSBa6PWEVCtzUo/92HgLc2qTMnotJNIm7xP+UZhyWoYsyOdd5dxZ+NZLb24rsKyFs2ow== + dependencies: + "@types/ms" "*" + "@types/eslint-visitor-keys@^1.0.0": version "1.0.0" resolved "https://registry.yarnpkg.com/@types/eslint-visitor-keys/-/eslint-visitor-keys-1.0.0.tgz#1ee30d79544ca84d68d4b3cdb0af4f205663dd2d" @@ -2765,6 +2919,11 @@ resolved "https://registry.yarnpkg.com/@types/minimist/-/minimist-1.2.2.tgz#ee771e2ba4b3dc5b372935d549fd9617bf345b8c" integrity sha512-jhuKLIRrhvCPLqwPcx6INqmKeiA5EWrsCOPhrlFSrbrmU4ZMPjj5Ul/oLCMDO98XRUIwVm78xICz4EPCektzeQ== +"@types/ms@*": + version "0.7.33" + resolved "https://registry.yarnpkg.com/@types/ms/-/ms-0.7.33.tgz#80bf1da64b15f21fd8c1dc387c31929317d99ee9" + integrity sha512-AuHIyzR5Hea7ij0P9q7vx7xu4z0C28ucwjAZC0ja7JhINyCnOw8/DnvAPQQ9TfOlCtZAmCERKQX9+o1mgQhuOQ== + "@types/node@*": version "20.0.0" resolved "https://registry.yarnpkg.com/@types/node/-/node-20.0.0.tgz#081d9afd28421be956c1a47ced1c9a0034b467e2" @@ -2977,6 +3136,13 @@ agent-base@6, agent-base@^6.0.2: dependencies: debug "4" +agent-base@^7.0.2, agent-base@^7.1.0: + version "7.1.0" + resolved "https://registry.yarnpkg.com/agent-base/-/agent-base-7.1.0.tgz#536802b76bc0b34aa50195eb2442276d613e3434" + integrity sha512-o/zjMZRhJxny7OyEF+Op8X+efiELC7k7yOjMzgfzVqOzXqkBkWI79YoTdOtsuWd5BWhAGAuOY/Xa6xpiaWXiNg== + dependencies: + debug "^4.3.4" + agent-base@~4.2.1: version "4.2.1" resolved "https://registry.yarnpkg.com/agent-base/-/agent-base-4.2.1.tgz#d89e5999f797875674c07d87f260fc41e83e8ca9" @@ -3114,6 +3280,31 @@ aproba@^1.0.3, aproba@^1.1.1: resolved "https://registry.yarnpkg.com/aproba/-/aproba-2.0.0.tgz#52520b8ae5b569215b354efc0caa3fe1e45a8adc" integrity sha512-lYe4Gx7QT+MKGbDsA+Z+he/Wtef0BiwDOlK/XkBrdfsh9J/jPPXbX0tE9x9cl27Tmu5gg3QUbUrQYa/y+KOHPQ== +archiver-utils@^4.0.1: + version "4.0.1" + resolved "https://registry.yarnpkg.com/archiver-utils/-/archiver-utils-4.0.1.tgz#66ad15256e69589a77f706c90c6dbcc1b2775d2a" + integrity sha512-Q4Q99idbvzmgCTEAAhi32BkOyq8iVI5EwdO0PmBDSGIzzjYNdcFn7Q7k3OzbLy4kLUPXfJtG6fO2RjftXbobBg== + dependencies: + glob "^8.0.0" + graceful-fs "^4.2.0" + lazystream "^1.0.0" + lodash "^4.17.15" + normalize-path "^3.0.0" + readable-stream "^3.6.0" + +archiver@6.0.1: + version "6.0.1" + resolved "https://registry.yarnpkg.com/archiver/-/archiver-6.0.1.tgz#d56968d4c09df309435adb5a1bbfc370dae48133" + integrity sha512-CXGy4poOLBKptiZH//VlWdFuUC1RESbdZjGjILwBuZ73P7WkAUN0htfSfBq/7k6FRFlpu7bg4JOkj1vU9G6jcQ== + dependencies: + archiver-utils "^4.0.1" + async "^3.2.4" + buffer-crc32 "^0.2.1" + readable-stream "^3.6.0" + readdir-glob "^1.1.2" + tar-stream "^3.0.0" + zip-stream "^5.0.1" + archy@~1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/archy/-/archy-1.0.0.tgz#f9c8c13757cc1dd7bc379ac77b2c62a5c2868c40" @@ -3135,6 +3326,11 @@ are-we-there-yet@~1.1.2: delegates "^1.0.0" readable-stream "^2.0.6" +arg@5.0.2: + version "5.0.2" + resolved "https://registry.yarnpkg.com/arg/-/arg-5.0.2.tgz#c81433cc427c92c4dcf4865142dbca6f15acd59c" + integrity sha512-PYjyFOLKQ9y57JvQ6QLo8dAgNqswh8M1RMJYdQduT6xbWSgK36P/Z/v+p888pM69jMMfS8Xd8F6I1kQ/I9HUGg== + arg@^4.1.0: version "4.1.3" resolved "https://registry.yarnpkg.com/arg/-/arg-4.1.3.tgz#269fc7ad5b8e42cb63c896d5666017261c144089" @@ -3261,6 +3457,11 @@ astral-regex@^2.0.0: resolved "https://registry.yarnpkg.com/astral-regex/-/astral-regex-2.0.0.tgz#483143c567aeed4785759c0865786dc77d7d2e31" integrity sha512-Z7tMw1ytTXt5jqMcOP+OQteU1VuNK9Y02uuJtKQ1Sv69jXQKKg5cibLwGJow8yzZP+eAc18EmLGPal0bp36rvQ== +async@^3.2.4: + version "3.2.5" + resolved "https://registry.yarnpkg.com/async/-/async-3.2.5.tgz#ebd52a8fdaf7a2289a24df399f8d8485c8a46b66" + integrity sha512-baNZyqaaLhyLVKm/DlvdW051MSgO6b8eVfIezl9E5PqWxFgzLm/wQntEW4zOytVburDEr0JlALEpdOFwvErLsg== + asynckit@^0.4.0: version "0.4.0" resolved "https://registry.yarnpkg.com/asynckit/-/asynckit-0.4.0.tgz#c79ed97f7f34cb8f2ba1bc9790bcc366474b4b79" @@ -3303,6 +3504,11 @@ aws4@^1.8.0: resolved "https://registry.yarnpkg.com/aws4/-/aws4-1.12.0.tgz#ce1c9d143389679e253b314241ea9aa5cec980d3" integrity sha512-NmWvPnx0F1SfrQbYwOi7OeaNGokp9XhzNioJ/CSBs8Qa4vxug81mhJEAVZwxXuBmYB5KDRfMq/F3RR0BIU7sWg== +b4a@^1.6.4: + version "1.6.4" + resolved "https://registry.yarnpkg.com/b4a/-/b4a-1.6.4.tgz#ef1c1422cae5ce6535ec191baeed7567443f36c9" + integrity sha512-fpWrvyVHEKyeEvbKZTVOeZF3VSKKWtJxFIxX/jaVPf+cLbGUSitjb49pHLqPV2BUNNZ0LcoeEGfE/YCpyDYHIw== + babel-code-frame@^6.26.0: version "6.26.0" resolved "https://registry.yarnpkg.com/babel-code-frame/-/babel-code-frame-6.26.0.tgz#63fd43f7dc1e3bb7ce35947db8fe369a3f58c74b" @@ -3635,6 +3841,11 @@ btoa-lite@^1.0.0: resolved "https://registry.yarnpkg.com/btoa-lite/-/btoa-lite-1.0.0.tgz#337766da15801210fdd956c22e9c6891ab9d0337" integrity sha1-M3dm2hWAEhD92VbCLpxokaudAzc= +buffer-crc32@^0.2.1: + version "0.2.13" + resolved "https://registry.yarnpkg.com/buffer-crc32/-/buffer-crc32-0.2.13.tgz#0d333e3f00eac50aa1454abd30ef8c2a5d9a7242" + integrity sha512-VO9Ht/+p3SN7SKWqcrgEzjGbRSJYTx+Q1pTQC0wrWqHx0vpJraQ6GtHx8tvcg1rlK1byhU5gccxgOgj7B0TDkQ== + buffer-from@^1.0.0: version "1.1.2" resolved "https://registry.yarnpkg.com/buffer-from/-/buffer-from-1.1.2.tgz#2b146a6fd72e80b4f55d255f35ed59a3a9a41bd5" @@ -3800,7 +4011,7 @@ 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.2.0: +camelcase@^6.2.0, camelcase@^6.3.0: version "6.3.0" resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-6.3.0.tgz#5685b95eb209ac9c0c177467778c9c84df58ba9a" integrity sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA== @@ -3882,6 +4093,18 @@ chardet@^0.7.0: resolved "https://registry.yarnpkg.com/chardet/-/chardet-0.7.0.tgz#90094849f0937f2eedc2425d0d28a9e5f0cbad9e" integrity sha512-mT8iDcrh03qDGRRmoA2hmBJnxpllMR+0/0qlzjqZES6NdiWDcZkCNAk4rPFZ9Q85r27unkiNNg8ZOiwZXBHwcA== +checkpoint-client@1.1.27: + version "1.1.27" + resolved "https://registry.yarnpkg.com/checkpoint-client/-/checkpoint-client-1.1.27.tgz#d451a7ae0f635a27154ceb39ca31aaf37149e9b0" + integrity sha512-xstymfUalJOv6ZvTtmkwP4ORJN36ikT4PvrIoLe3wstbYf87XIXCcZrSmbFQOjyB0v1qbBnCsAscDpfdZlCkFA== + dependencies: + ci-info "3.8.0" + env-paths "2.2.1" + make-dir "4.0.0" + ms "2.1.3" + node-fetch "2.6.12" + uuid "9.0.0" + chownr@^1.1.1, chownr@^1.1.2, chownr@^1.1.4: version "1.1.4" resolved "https://registry.yarnpkg.com/chownr/-/chownr-1.1.4.tgz#6fc9d7b42d32a583596337666e7d08084da2cc6b" @@ -3892,16 +4115,16 @@ chownr@^2.0.0: resolved "https://registry.yarnpkg.com/chownr/-/chownr-2.0.0.tgz#15bfbe53d2eab4cf70f18a8cd68ebe5b3cb1dece" integrity sha512-bIomtDF5KGpdogkLd9VspvFzk9KfpyyGlS8YFVZl7TGPBHL5snIOnxeshwVgPteQ9b4Eydl+pVbIyE1DcvCWgQ== +ci-info@3.8.0, ci-info@^3.2.0: + version "3.8.0" + resolved "https://registry.yarnpkg.com/ci-info/-/ci-info-3.8.0.tgz#81408265a5380c929f0bc665d62256628ce9ef91" + integrity sha512-eXTggHWSooYhq49F2opQhuHWgzucfF2YgODK4e1566GQs5BIfP30B0oenwBJHfWxAs2fyPB1s7Mg949zLf61Yw== + ci-info@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/ci-info/-/ci-info-2.0.0.tgz#67a9e964be31a51e15e5010d58e6f12834002f46" integrity sha512-5tK7EtrZ0N+OLFMthtqOj4fI2Jeb88C4CAZPu25LDVUgXJ0A3Js4PMGqrn0JU1W0Mh1/Z8wZzYPxqUrXeBboCQ== -ci-info@^3.2.0: - version "3.8.0" - resolved "https://registry.yarnpkg.com/ci-info/-/ci-info-3.8.0.tgz#81408265a5380c929f0bc665d62256628ce9ef91" - integrity sha512-eXTggHWSooYhq49F2opQhuHWgzucfF2YgODK4e1566GQs5BIfP30B0oenwBJHfWxAs2fyPB1s7Mg949zLf61Yw== - cidr-regex@^3.1.1: version "3.1.1" resolved "https://registry.yarnpkg.com/cidr-regex/-/cidr-regex-3.1.1.tgz#ba1972c57c66f61875f18fd7dd487469770b571d" @@ -3979,7 +4202,7 @@ cli-table3@^0.6.1, cli-table3@^0.6.2: optionalDependencies: "@colors/colors" "1.5.0" -cli-truncate@^2.1.0: +cli-truncate@2.1.0, cli-truncate@^2.1.0: version "2.1.0" resolved "https://registry.yarnpkg.com/cli-truncate/-/cli-truncate-2.1.0.tgz#c39e28bf05edcde5be3b98992a22deed5a2b93c7" integrity sha512-n8fOixwDD6b/ObinzTrp1ZKFzbgvKZvuz/TvejnLn1aQfC6r52XEx85FmuC+3HI+JM7coBRXUvNqEU2PHVrHpg== @@ -4131,6 +4354,11 @@ common-ancestor-path@^1.0.1: resolved "https://registry.yarnpkg.com/common-ancestor-path/-/common-ancestor-path-1.0.1.tgz#4f7d2d1394d91b7abdf51871c62f71eadb0182a7" integrity sha512-L3sHRo1pXXEqX8VU28kfgUY+YGsk09hPqZiZmLacNib6XNTCM8ubYeT7ryXQw8asB1sKgcU5lkB7ONug08aB8w== +commondir@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/commondir/-/commondir-1.0.1.tgz#ddd800da0c66127393cca5950ea968a3aaf1253b" + integrity sha512-W9pAhw0ja1Edb5GVdIF1mjZw/ASI0AlShXM83UUGe2DVr5TdAPEA1OA8m/g8zWp9x6On7gqufY+FatDbC3MDQg== + compare-func@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/compare-func/-/compare-func-2.0.0.tgz#fb65e75edbddfd2e568554e8b5b05fff7a51fcb3" @@ -4144,6 +4372,16 @@ component-emitter@^1.2.1: resolved "https://registry.yarnpkg.com/component-emitter/-/component-emitter-1.3.0.tgz#16e4070fba8ae29b679f2215853ee181ab2eabc0" integrity sha512-Rd3se6QB+sO1TwqZjscQrurpEPIfO0/yYnSin6Q/rD3mOutHvUrCAhJub3r90uNb+SESBuE0QYoB90YdfatsRg== +compress-commons@^5.0.1: + version "5.0.1" + resolved "https://registry.yarnpkg.com/compress-commons/-/compress-commons-5.0.1.tgz#e46723ebbab41b50309b27a0e0f6f3baed2d6590" + integrity sha512-MPh//1cERdLtqwO3pOFLeXtpuai0Y2WCd5AhtKxznqM7WtaMYaOEMSgn45d9D10sIHSfIKE603HlOp8OPGrvag== + dependencies: + crc-32 "^1.2.0" + crc32-stream "^5.0.0" + normalize-path "^3.0.0" + readable-stream "^3.6.0" + compute-scroll-into-view@^1.0.9: version "1.0.20" resolved "https://registry.yarnpkg.com/compute-scroll-into-view/-/compute-scroll-into-view-1.0.20.tgz#1768b5522d1172754f5d0c9b02de3af6be506a43" @@ -4381,6 +4619,28 @@ cosmiconfig@^7.0.0: path-type "^4.0.0" yaml "^1.10.0" +crc-32@^1.2.0: + version "1.2.2" + resolved "https://registry.yarnpkg.com/crc-32/-/crc-32-1.2.2.tgz#3cad35a934b8bf71f25ca524b6da51fb7eace2ff" + integrity sha512-ROmzCKrTnOwybPcJApAA6WBWij23HVfGVNKqqrZpuyZOHqK2CwHSvpGuyt/UNNvaIjEd8X5IFGp4Mh+Ie1IHJQ== + +crc32-stream@^5.0.0: + version "5.0.0" + resolved "https://registry.yarnpkg.com/crc32-stream/-/crc32-stream-5.0.0.tgz#a97d3a802c8687f101c27cc17ca5253327354720" + integrity sha512-B0EPa1UK+qnpBZpG+7FgPCu0J2ETLpXq09o9BkLkEAhdB6Z61Qo4pJ3JYu0c+Qi+/SAL7QThqnzS06pmSSyZaw== + dependencies: + crc-32 "^1.2.0" + readable-stream "^3.4.0" + +cross-spawn@7.0.3, cross-spawn@^7.0.3: + version "7.0.3" + resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-7.0.3.tgz#f73a85b9d5d41d045551c177e2882d4ac85728a6" + integrity sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w== + dependencies: + path-key "^3.1.0" + shebang-command "^2.0.0" + which "^2.0.1" + cross-spawn@^5.0.1: version "5.1.0" resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-5.1.0.tgz#e8bd0efee58fcff6f8f94510a0a554bbfa235449" @@ -4401,15 +4661,6 @@ cross-spawn@^6.0.0, cross-spawn@^6.0.5: shebang-command "^1.2.0" which "^1.2.9" -cross-spawn@^7.0.3: - version "7.0.3" - resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-7.0.3.tgz#f73a85b9d5d41d045551c177e2882d4ac85728a6" - integrity sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w== - dependencies: - path-key "^3.1.0" - shebang-command "^2.0.0" - which "^2.0.1" - crypto-random-string@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/crypto-random-string/-/crypto-random-string-2.0.0.tgz#ef2a7a966ec11083388369baa02ebead229b30d5" @@ -4512,7 +4763,7 @@ debug@3.1.0: dependencies: ms "2.0.0" -debug@4, debug@^4.0.0, debug@^4.1.0, debug@^4.1.1, debug@^4.3.3: +debug@4, debug@4.3.4, debug@^4.0.0, debug@^4.1.0, debug@^4.1.1, debug@^4.3.3, debug@^4.3.4: version "4.3.4" resolved "https://registry.yarnpkg.com/debug/-/debug-4.3.4.tgz#1319f6579357f2338d3337d2cdd4914bb5dcc865" integrity sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ== @@ -4760,6 +5011,11 @@ dot-prop@^5.1.0: dependencies: is-obj "^2.0.0" +dotenv@16.0.3: + version "16.0.3" + resolved "https://registry.yarnpkg.com/dotenv/-/dotenv-16.0.3.tgz#115aec42bac5053db3c456db30cc243a5a836a07" + integrity sha512-7GO6HghkA5fYG9TYnNxi14/7K9f5occMlp3zXAuSxn7CKCxt9xbNWG7yF8hTCSUchlfWSe3uLmlPfigevRItzQ== + downshift@3.2.7: version "3.2.7" resolved "https://registry.yarnpkg.com/downshift/-/downshift-3.2.7.tgz#0c40d78d1cbc24753c7a622cfc664df1c9480b4a" @@ -4834,7 +5090,7 @@ end-of-stream@^1.0.0, end-of-stream@^1.1.0: dependencies: once "^1.4.0" -endent@^2.0.1: +endent@2.1.0: version "2.1.0" resolved "https://registry.yarnpkg.com/endent/-/endent-2.1.0.tgz#5aaba698fb569e5e18e69e1ff7a28ff35373cd88" integrity sha512-r8VyPX7XL8U01Xgnb1CjZ3XV+z90cXIJ9JPE/R9SEC9vpw2P6CfsRPJmp20DppC5N7ZAMCmjYkJIa744Iyg96w== @@ -4859,7 +5115,7 @@ env-ci@^5.0.0: fromentries "^1.3.2" java-properties "^1.0.0" -env-paths@^2.2.0: +env-paths@2.2.1, env-paths@^2.2.0: version "2.2.1" resolved "https://registry.yarnpkg.com/env-paths/-/env-paths-2.2.1.tgz#420399d416ce1fbe9bc0a07c62fa68d67fd0f8f2" integrity sha512-+h1lkLKhZMTYjog1VEpJNG7NZJWcuc2DDk/qsqSTRRCOXiLjeQ1d1/udrUGhqMxUgAlwKNZ0cf2uqan5GLuS2A== @@ -4966,6 +5222,11 @@ escalade@^3.1.1: resolved "https://registry.yarnpkg.com/escalade/-/escalade-3.1.1.tgz#d8cfdc7000965c5a0174b4a82eaa5c0552742e40" integrity sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw== +escape-string-regexp@4.0.0, escape-string-regexp@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz#14ba83a5d373e3d311e5afca29cf5bfad965bf34" + integrity sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA== + escape-string-regexp@^1.0.2, escape-string-regexp@^1.0.5: version "1.0.5" resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz#1b61c0562190a8dff6ae3bb2cf0200ca130b86d4" @@ -5125,6 +5386,21 @@ eventemitter3@^3.0.0, eventemitter3@^3.1.0: resolved "https://registry.yarnpkg.com/eventemitter3/-/eventemitter3-3.1.2.tgz#2d3d48f9c346698fce83a85d7d664e98535df6e7" integrity sha512-tvtQIeLVHjDkJYnzf2dgVMxfuSGJeM/7UCG17TT4EumTfNtF+0nebF/4zWOIkCreAbtNqhGEboB6BWrwqNaw4Q== +execa@5.1.1, execa@^5.0.0: + version "5.1.1" + resolved "https://registry.yarnpkg.com/execa/-/execa-5.1.1.tgz#f80ad9cbf4298f7bd1d4c9555c21e93741c411dd" + integrity sha512-8uSpZZocAZRBAPIEINJj3Lo9HyGitllczc27Eh5YYojjMFMn8yHMDMaUHE2Jqfq05D/wucwI4JGURyXt1vchyg== + dependencies: + cross-spawn "^7.0.3" + get-stream "^6.0.0" + human-signals "^2.1.0" + is-stream "^2.0.0" + merge-stream "^2.0.0" + npm-run-path "^4.0.1" + onetime "^5.1.2" + signal-exit "^3.0.3" + strip-final-newline "^2.0.0" + execa@^0.8.0: version "0.8.0" resolved "https://registry.yarnpkg.com/execa/-/execa-0.8.0.tgz#d8d76bbc1b55217ed190fd6dd49d3c774ecfc8da" @@ -5151,21 +5427,6 @@ execa@^1.0.0: signal-exit "^3.0.0" strip-eof "^1.0.0" -execa@^5.0.0: - version "5.1.1" - resolved "https://registry.yarnpkg.com/execa/-/execa-5.1.1.tgz#f80ad9cbf4298f7bd1d4c9555c21e93741c411dd" - integrity sha512-8uSpZZocAZRBAPIEINJj3Lo9HyGitllczc27Eh5YYojjMFMn8yHMDMaUHE2Jqfq05D/wucwI4JGURyXt1vchyg== - dependencies: - cross-spawn "^7.0.3" - get-stream "^6.0.0" - human-signals "^2.1.0" - is-stream "^2.0.0" - merge-stream "^2.0.0" - npm-run-path "^4.0.1" - onetime "^5.1.2" - signal-exit "^3.0.3" - strip-final-newline "^2.0.0" - exit@^0.1.2: version "0.1.2" resolved "https://registry.yarnpkg.com/exit/-/exit-0.1.2.tgz#0632638f8d877cc82107d30a0fff1a17cba1cd0c" @@ -5257,6 +5518,11 @@ fast-diff@^1.1.2: resolved "https://registry.yarnpkg.com/fast-diff/-/fast-diff-1.2.0.tgz#73ee11982d86caaf7959828d519cfe927fac5f03" integrity sha512-xJuoT5+L99XlZ8twedaRf6Ax2TgQVxvgZOYoPKqZufmJib0tL2tegPBOZb1pVNgIhlqDlA0eO0c3wBvQcmzx4w== +fast-fifo@^1.1.0, fast-fifo@^1.2.0: + version "1.3.2" + resolved "https://registry.yarnpkg.com/fast-fifo/-/fast-fifo-1.3.2.tgz#286e31de96eb96d38a97899815740ba2a4f3640c" + integrity sha512-/d9sfos4yxzpwkDkuN7k2SqFKtYNmCTzgfEpz82x34IM9/zc8KGxQoXg1liNC/izpRM/MBdt44Nmx41ZWqk+FQ== + fast-glob@^2.2.6: version "2.2.7" resolved "https://registry.yarnpkg.com/fast-glob/-/fast-glob-2.2.7.tgz#6953857c3afa475fff92ee6015d52da70a4cd39d" @@ -5381,6 +5647,23 @@ final-form@^4.20.4: dependencies: "@babel/runtime" "^7.10.0" +find-cache-dir@3.3.2: + version "3.3.2" + resolved "https://registry.yarnpkg.com/find-cache-dir/-/find-cache-dir-3.3.2.tgz#b30c5b6eff0730731aea9bbd9dbecbd80256d64b" + integrity sha512-wXZV5emFEjrridIgED11OoUKLxiYjAcqot/NJdAkOhlJ+vGzwhOAfcG5OX1jP+S0PcjEn8bdMJv+g2jwQ3Onig== + dependencies: + commondir "^1.0.1" + make-dir "^3.0.2" + pkg-dir "^4.1.0" + +find-up@5.0.0: + version "5.0.0" + resolved "https://registry.yarnpkg.com/find-up/-/find-up-5.0.0.tgz#4c92819ecb7083561e4f4a240a86be5198f536fc" + integrity sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng== + dependencies: + locate-path "^6.0.0" + path-exists "^4.0.0" + find-up@^1.0.0: version "1.1.2" resolved "https://registry.yarnpkg.com/find-up/-/find-up-1.1.2.tgz#6b2e9822b1a2ce0a60ab64d610eccad53cb24d0f" @@ -5475,6 +5758,11 @@ form-data@~2.3.2: combined-stream "^1.0.6" mime-types "^2.1.12" +fp-ts@2.16.1: + version "2.16.1" + resolved "https://registry.yarnpkg.com/fp-ts/-/fp-ts-2.16.1.tgz#6abc401ce42b65364ca8f0b0d995c5840c68a930" + integrity sha512-by7U5W8dkIzcvDofUcO42yl9JbnHTEDBrzu3pt5fKT+Z4Oy85I21K80EYJYdjQGC2qum4Vo55Ag57iiIK4FYuA== + fragment-cache@^0.2.1: version "0.2.1" resolved "https://registry.yarnpkg.com/fragment-cache/-/fragment-cache-0.2.1.tgz#4290fad27f13e89be7f33799c6bc5a0abfff0d19" @@ -5495,7 +5783,7 @@ fromentries@^1.3.2: resolved "https://registry.yarnpkg.com/fromentries/-/fromentries-1.3.2.tgz#e4bca6808816bf8f93b52750f1127f5a6fd86e3a" integrity sha512-cHEpEQHUg0f8XdtZCc2ZAhrHzKzT0MrFUTcvx+hfxYu7rGMDc5SKoXFh+n4YigxsHXRzc6OrCshdR1bWH6HHyg== -fs-extra@^11.0.0: +fs-extra@11.1.1, fs-extra@^11.0.0: version "11.1.1" resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-11.1.1.tgz#da69f7c39f3b002378b0954bb6ae7efdc0876e2d" integrity sha512-MGIE4HOvQCeUCzmlHs0vXpih4ysz4wg9qiSAu6cd42lVwPbTM1TjV7RusoyQqMmk/95gdQZX72u+YW+c3eEpFQ== @@ -5513,13 +5801,12 @@ fs-extra@^8.1.0: jsonfile "^4.0.0" universalify "^0.1.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== +fs-jetpack@5.1.0: + version "5.1.0" + resolved "https://registry.yarnpkg.com/fs-jetpack/-/fs-jetpack-5.1.0.tgz#dcd34d709b69007c9dc2420a6f2b9e8f986cff0d" + integrity sha512-Xn4fDhLydXkuzepZVsr02jakLlmoARPy+YWIclo4kh0GyNGUHnTqeH/w/qIsVn50dFxtp8otPL2t/HcPJBbxUA== dependencies: - minimatch "^3.0.2" - rimraf "^2.6.3" + minimatch "^5.1.0" fs-minipass@^1.2.7: version "1.2.7" @@ -5560,6 +5847,11 @@ function-bind@^1.1.1: resolved "https://registry.yarnpkg.com/function-bind/-/function-bind-1.1.1.tgz#a56899d3ea3c9bab874bb9773b7c5ede92f4895d" integrity sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A== +function-bind@^1.1.2: + version "1.1.2" + resolved "https://registry.yarnpkg.com/function-bind/-/function-bind-1.1.2.tgz#2c02d864d97f3ea6c8830c464cbd11ab6eab7a1c" + integrity sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA== + function.prototype.name@^1.1.5: version "1.1.5" resolved "https://registry.yarnpkg.com/function.prototype.name/-/function.prototype.name-1.1.5.tgz#cce0505fe1ffb80503e6f9e46cc64e46a12a9621" @@ -5798,7 +6090,7 @@ glob@^7.1.1, glob@^7.1.2, glob@^7.1.3, glob@^7.1.4, glob@^7.1.6: once "^1.3.0" path-is-absolute "^1.0.0" -glob@^8.0.1: +glob@^8.0.0, glob@^8.0.1: version "8.1.0" resolved "https://registry.yarnpkg.com/glob/-/glob-8.1.0.tgz#d388f656593ef708ee3e34640fdfb99a9fd1c33e" integrity sha512-r8hpEjiQEYlF2QU0df3dS+nxxSIreXQS1qRhMJM0Q5NDdR386C7jb7Hwwod8Fgiuex+k0GFjgft18yvxm5XoCQ== @@ -5809,6 +6101,13 @@ glob@^8.0.1: minimatch "^5.0.1" once "^1.3.0" +global-dirs@3.0.1: + version "3.0.1" + resolved "https://registry.yarnpkg.com/global-dirs/-/global-dirs-3.0.1.tgz#0c488971f066baceda21447aecb1a8b911d22485" + integrity sha512-NBcGGFbBA9s1VzD41QXDG+3++t9Mn5t1FpLdhESY6oKY4gYTFpX4wO3sqGUa0Srjtbfj3szX0RnemmrVRUdULA== + dependencies: + ini "2.0.0" + globals@^11.1.0: version "11.12.0" resolved "https://registry.yarnpkg.com/globals/-/globals-11.12.0.tgz#ab8795338868a0babd8525758018c2a7eb95c42e" @@ -5833,7 +6132,7 @@ globalthis@^1.0.3: dependencies: define-properties "^1.1.3" -globby@^11.0.0, globby@^11.0.1: +globby@11.1.0, globby@^11.0.0, globby@^11.0.1: version "11.1.0" resolved "https://registry.yarnpkg.com/globby/-/globby-11.1.0.tgz#bd4be98bb042f83d796f7e3811991fbe82a0d34b" integrity sha512-jhIXaOzy1sb8IyocaruWSn1TjmnBVs8Ayhcy83rmxNJ8q2uWKCAj3CnJY+KpGSXCueAPc0i05kVvVKtP1t9S3g== @@ -6024,6 +6323,21 @@ has@^1.0.3: dependencies: function-bind "^1.1.1" +hasha@5.2.2: + version "5.2.2" + resolved "https://registry.yarnpkg.com/hasha/-/hasha-5.2.2.tgz#a48477989b3b327aea3c04f53096d816d97522a1" + integrity sha512-Hrp5vIK/xr5SkeN2onO32H0MgNZ0f17HRNH39WfL0SYUNOTZ5Lz1TJ8Pajo/87dYGEFlLMm7mIc/k/s6Bvz9HQ== + dependencies: + is-stream "^2.0.0" + type-fest "^0.8.0" + +hasown@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/hasown/-/hasown-2.0.0.tgz#f4c513d454a57b7c7e1650778de226b11700546c" + integrity sha512-vUptKVTpIJhcczKBbgnS+RtcuYMB8+oNzPK2/Hp3hanz8JmpATdmmgLgSaadVREkDm+e2giHwY3ZRkyjSIDDFA== + dependencies: + function-bind "^1.1.2" + history@^4.9.0: version "4.10.1" resolved "https://registry.yarnpkg.com/history/-/history-4.10.1.tgz#33371a65e3a83b267434e2b3f3b1b4c58aad4cf3" @@ -6089,6 +6403,14 @@ http-cache-semantics@^4.1.0: resolved "https://registry.yarnpkg.com/http-cache-semantics/-/http-cache-semantics-4.1.1.tgz#abe02fcb2985460bf0323be664436ec3476a6d5a" integrity sha512-er295DKPVsV82j5kw1Gjt+ADA/XYHsajl82cGNQG2eyoPkvgUhX+nDIyelzhIWbbsXP39EHcI6l5tYs2FYqYXQ== +http-proxy-agent@7.0.0: + version "7.0.0" + resolved "https://registry.yarnpkg.com/http-proxy-agent/-/http-proxy-agent-7.0.0.tgz#e9096c5afd071a3fce56e6252bb321583c124673" + integrity sha512-+ZT+iBxVUQ1asugqnD6oWoRiS25AkjNfG085dKJGtGxkdwLQrMKU5wJr2bOOFAXzKcTuqq+7fZlTMgG3SRfIYQ== + dependencies: + agent-base "^7.1.0" + debug "^4.3.4" + http-proxy-agent@^2.1.0: version "2.1.0" resolved "https://registry.yarnpkg.com/http-proxy-agent/-/http-proxy-agent-2.1.0.tgz#e4821beef5b2142a2026bd73926fe537631c5405" @@ -6124,6 +6446,14 @@ http-signature@~1.2.0: jsprim "^1.2.2" sshpk "^1.7.0" +https-proxy-agent@7.0.2: + version "7.0.2" + resolved "https://registry.yarnpkg.com/https-proxy-agent/-/https-proxy-agent-7.0.2.tgz#e2645b846b90e96c6e6f347fb5b2e41f1590b09b" + integrity sha512-NmLNjm6ucYwtcUmL7JQC1ZQ57LmHP4lT15FQ8D61nak1rO6DH+fz5qNK2Ap5UN4ZapYICE3/0KodcLYSPsPbaA== + dependencies: + agent-base "^7.0.2" + debug "4" + https-proxy-agent@^2.2.3: version "2.2.4" resolved "https://registry.yarnpkg.com/https-proxy-agent/-/https-proxy-agent-2.2.4.tgz#4ee7a737abd92678a293d9b34a1af4d0d08c787b" @@ -6252,6 +6582,11 @@ imurmurhash@^0.1.4: resolved "https://registry.yarnpkg.com/imurmurhash/-/imurmurhash-0.1.4.tgz#9218b9b2b928a238b13dc4fb6b6d576f231453ea" integrity sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA== +indent-string@4.0.0, indent-string@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/indent-string/-/indent-string-4.0.0.tgz#624f8f4497d619b2d9768531d58f4122854d7251" + integrity sha512-EdDDZu4A2OyIK7Lr/2zG+w5jmbuk1DVBnEwREQvBzspBJkCEbRa8GxU1lghYcaGJCnRWibjDXlq779X1/y5xwg== + indent-string@^2.1.0: version "2.1.0" resolved "https://registry.yarnpkg.com/indent-string/-/indent-string-2.1.0.tgz#8e2d48348742121b4a8218b7a137e9a52049dc80" @@ -6264,11 +6599,6 @@ indent-string@^3.0.0: resolved "https://registry.yarnpkg.com/indent-string/-/indent-string-3.2.0.tgz#4a5fd6d27cc332f37e5419a504dbb837105c9289" integrity sha1-Sl/W0nzDMvN+VBmlBNu4NxBckok= -indent-string@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/indent-string/-/indent-string-4.0.0.tgz#624f8f4497d619b2d9768531d58f4122854d7251" - integrity sha512-EdDDZu4A2OyIK7Lr/2zG+w5jmbuk1DVBnEwREQvBzspBJkCEbRa8GxU1lghYcaGJCnRWibjDXlq779X1/y5xwg== - infer-owner@^1.0.3, infer-owner@^1.0.4: version "1.0.4" resolved "https://registry.yarnpkg.com/infer-owner/-/infer-owner-1.0.4.tgz#c4cefcaa8e51051c2a40ba2ce8a3d27295af9467" @@ -6297,6 +6627,11 @@ inherits@2.0.3: resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.3.tgz#633c2c83e3da42a502f52466022480f4208261de" integrity sha1-Yzwsg+PaQqUC9SRmAiSA9CCCYd4= +ini@2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/ini/-/ini-2.0.0.tgz#e5fd556ecdd5726be978fa1001862eacb0a94bc5" + integrity sha512-7PnF4oN3CvZF23ADhA5wRaYEQpJ8qygSkbtTXWBeXWXmEVRXK+1ITciHWwHhsjv1TmW0MgacIv6hEi5pX5NQdA== + ini@^1.3.2, ini@^1.3.4, ini@~1.3.0: version "1.3.8" resolved "https://registry.yarnpkg.com/ini/-/ini-1.3.8.tgz#a29da425b48806f34767a4efce397269af28432c" @@ -6485,6 +6820,13 @@ is-core-module@^2.11.0, is-core-module@^2.5.0, is-core-module@^2.8.1: dependencies: has "^1.0.3" +is-core-module@^2.13.0: + version "2.13.1" + resolved "https://registry.yarnpkg.com/is-core-module/-/is-core-module-2.13.1.tgz#ad0d7532c6fea9da1ebdc82742d74525c6273384" + integrity sha512-hHrIjvZsftOsvKSn2TRYl63zvxsgE0K+0mYMoH6gD4omR5IWB2KynivBQczo3+wF1cCkjzvptnI9Q0sPU66ilw== + dependencies: + hasown "^2.0.0" + is-data-descriptor@^0.1.4: version "0.1.4" resolved "https://registry.yarnpkg.com/is-data-descriptor/-/is-data-descriptor-0.1.4.tgz#0b5ee648388e2c860282e793f1856fec3f301b56" @@ -6529,6 +6871,11 @@ is-directory@^0.3.1: resolved "https://registry.yarnpkg.com/is-directory/-/is-directory-0.3.1.tgz#61339b6f2475fc772fd9c9d83f5c8575dc154ae1" integrity sha1-YTObbyR1/Hcv2cnYP1yFddwVSuE= +is-docker@^2.0.0: + version "2.2.1" + resolved "https://registry.yarnpkg.com/is-docker/-/is-docker-2.2.1.tgz#33eeabe23cfe86f14bde4408a02c0cfb853acdaa" + integrity sha512-F+i2BKsFrH66iaUFc0woD8sLy8getkwTwtOBjvs56Cx4CgJDeKQeqfz8wAYiSb8JOprWhHH5p77PbmYCvvUuXQ== + is-extendable@^0.1.0, is-extendable@^0.1.1: version "0.1.1" resolved "https://registry.yarnpkg.com/is-extendable/-/is-extendable-0.1.1.tgz#62b110e289a471418e3ec36a617d472e301dfc89" @@ -6761,11 +7108,18 @@ is-weakref@^1.0.2: dependencies: call-bind "^1.0.2" -is-windows@^1.0.0, is-windows@^1.0.2: +is-windows@1.0.2, is-windows@^1.0.0, is-windows@^1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/is-windows/-/is-windows-1.0.2.tgz#d1850eb9791ecd18e6182ce12a30f396634bb19d" integrity sha512-eXK1UInq2bPmjyX6e3VHIzMLobc4J94i4AWn+Hpq3OU5KkrRC96OAcR3PRJ/pGu6m8TRnBHP9dkXQVsT/COVIA== +is-wsl@2.2.0, is-wsl@^2.1.1: + version "2.2.0" + resolved "https://registry.yarnpkg.com/is-wsl/-/is-wsl-2.2.0.tgz#74a4c76e77ca9fd3f932f290c17ea326cd157271" + integrity sha512-fKzAra0rGJUUBwGBgNkHZuToZcn+TtXHpeCgmkMJMMYx1sQDYaCSyjJBSCa2nH1DGm7s3n1oBnohoVTBaN7Lww== + dependencies: + is-docker "^2.0.0" + isarray@0.0.1: version "0.0.1" resolved "https://registry.yarnpkg.com/isarray/-/isarray-0.0.1.tgz#8a18acfca9a8f4177e09abfc6038939b05d1eedf" @@ -7537,11 +7891,23 @@ kind-of@^6.0.0, kind-of@^6.0.2, kind-of@^6.0.3: resolved "https://registry.yarnpkg.com/kind-of/-/kind-of-6.0.3.tgz#07c05034a6c349fa06e24fa35aa76db4580ce4dd" integrity sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw== +kleur@4.1.5: + version "4.1.5" + resolved "https://registry.yarnpkg.com/kleur/-/kleur-4.1.5.tgz#95106101795f7050c6c650f350c683febddb1780" + integrity sha512-o+NO+8WrRiQEE4/7nwRJhN1HWpVmJm511pBHUxPLtp0BUISzlBplORYSmTclCnJvQq2tKu/sgl3xVpkc7ZWuQQ== + kleur@^3.0.3: version "3.0.3" resolved "https://registry.yarnpkg.com/kleur/-/kleur-3.0.3.tgz#a79c9ecc86ee1ce3fa6206d1216c501f147fc07e" integrity sha512-eTIzlVOSUR+JxdDFepEYcBMtZ9Qqdef+rnzWdRZuMbOywu5tO2w2N7rqjoANZ5k9vywhL6Br1VRjUIgTQx4E8w== +lazystream@^1.0.0: + version "1.0.1" + resolved "https://registry.yarnpkg.com/lazystream/-/lazystream-1.0.1.tgz#494c831062f1f9408251ec44db1cba29242a2638" + integrity sha512-b94GiNHQNy6JNTrt5w6zNyffMrNkXZb3KTkCZJb2V1xaEGCk093vkZ2jk3tpaeP33/OiXC+WvK9AxUebnf5nbw== + dependencies: + readable-stream "^2.0.5" + lerna@^3.20.2: version "3.22.1" resolved "https://registry.yarnpkg.com/lerna/-/lerna-3.22.1.tgz#82027ac3da9c627fd8bf02ccfeff806a98e65b62" @@ -7791,6 +8157,13 @@ locate-path@^5.0.0: dependencies: p-locate "^4.1.0" +locate-path@^6.0.0: + version "6.0.0" + resolved "https://registry.yarnpkg.com/locate-path/-/locate-path-6.0.0.tgz#55321eb309febbc59c4801d931a72452a681d286" + integrity sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw== + dependencies: + p-locate "^5.0.0" + lodash._reinterpolate@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/lodash._reinterpolate/-/lodash._reinterpolate-3.0.0.tgz#0ccf2d89166af03b3663c796538b75ac6e114d9d" @@ -7881,7 +8254,7 @@ lodash.uniqby@^4.7.0: resolved "https://registry.yarnpkg.com/lodash.uniqby/-/lodash.uniqby-4.7.0.tgz#d99c07a669e9e6d24e1362dfe266c67616af1302" integrity sha512-e/zcLx6CSbmaEgFHCA7BnoQKyCtKMxnuWrJygbwPs/AIn+IMKl66L8/s+wBUn5LRw2pZx3bUHibiV1b6aTWIww== -lodash@^4.17.12, lodash@^4.17.14, lodash@^4.17.15, lodash@^4.17.19, lodash@^4.17.20, lodash@^4.17.21, lodash@^4.17.4, lodash@^4.2.1, lodash@^4.7.0, lodash@~4.17.5: +lodash@4.17.21, lodash@^4.17.12, lodash@^4.17.14, lodash@^4.17.15, lodash@^4.17.19, lodash@^4.17.21, lodash@^4.17.4, lodash@^4.2.1, lodash@^4.7.0, lodash@~4.17.5: version "4.17.21" resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.21.tgz#679591c564c3bffaae8454cf0b3df370c3d6911c" integrity sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg== @@ -7951,6 +8324,13 @@ macos-release@^2.2.0: resolved "https://registry.yarnpkg.com/macos-release/-/macos-release-2.5.0.tgz#067c2c88b5f3fb3c56a375b2ec93826220fa1ff2" integrity sha512-EIgv+QZ9r+814gjJj0Bt5vSLJLzswGmSUbUpbi9AIr/fsN2IWFBl2NucV9PAiek+U1STK468tEkxmVYUtuAN3g== +make-dir@4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/make-dir/-/make-dir-4.0.0.tgz#c3c2307a771277cd9638305f915c29ae741b614e" + integrity sha512-hXdUTZYIVOt1Ex//jAQi+wTZZpUpwBj/0QsOzqegb3rGMMeJiSEu5xLHnYfBrRV4RH2+OCSOO95Is/7x1WJ4bw== + dependencies: + semver "^7.5.3" + make-dir@^1.0.0: version "1.3.0" resolved "https://registry.yarnpkg.com/make-dir/-/make-dir-1.3.0.tgz#79c1033b80515bd6d24ec9933e860ca75ee27f0c" @@ -7966,7 +8346,7 @@ make-dir@^2.1.0: pify "^4.0.1" semver "^5.6.0" -make-dir@^3.0.0: +make-dir@^3.0.0, make-dir@^3.0.2: version "3.1.0" resolved "https://registry.yarnpkg.com/make-dir/-/make-dir-3.1.0.tgz#415e967046b3a7f1d185277d84aa58203726a13f" integrity sha512-g3FeP20LNwhALb/6Cz6Dd4F2ngze0jz7tbzrD2wAV+o9FeNHe4rL+yK2md0J/fiSf1sa1ADhXqi5+oVwOM/eGw== @@ -8185,7 +8565,7 @@ min-indent@^1.0.0: resolved "https://registry.yarnpkg.com/min-indent/-/min-indent-1.0.1.tgz#a63f681673b30571fbe8bc25686ae746eefa9869" integrity sha512-I9jwMn07Sy/IwOj3zVkVik2JTvgpaykDZEigL6Rx6N9LbMywwUSMtxET+7lVoDLLd3O3IXwJwvuuns8UB/HeAg== -minimatch@^3.0.2, minimatch@^3.0.4, minimatch@^3.1.1: +minimatch@^3.0.4, minimatch@^3.1.1: version "3.1.2" resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.1.2.tgz#19cd194bfd3e428f049a70817c038d89ab4be35b" integrity sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw== @@ -8387,7 +8767,7 @@ ms@2.1.2: resolved "https://registry.yarnpkg.com/ms/-/ms-2.1.2.tgz#d09d1f357b443f493382a8eb3ccd183872ae6009" integrity sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w== -ms@^2.0.0, ms@^2.1.1, ms@^2.1.2: +ms@2.1.3, ms@^2.0.0, ms@^2.1.1, ms@^2.1.2: version "2.1.3" resolved "https://registry.yarnpkg.com/ms/-/ms-2.1.3.tgz#574c8138ce1d2b5861f0b44579dbadd60c6615b2" integrity sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA== @@ -8458,17 +8838,10 @@ nerf-dart@^1.0.0: resolved "https://registry.yarnpkg.com/nerf-dart/-/nerf-dart-1.0.0.tgz#e6dab7febf5ad816ea81cf5c629c5a0ebde72c1a" integrity sha512-EZSPZB70jiVsivaBLYDCyntd5eH8NTSMOn3rB+HxwdmKThGELLdYv8qVIMWvZEFy9w8ZZpW9h9OB32l1rGtj7g== -nexus-plugin-prisma@^0.35.0: - version "0.35.0" - resolved "https://registry.yarnpkg.com/nexus-plugin-prisma/-/nexus-plugin-prisma-0.35.0.tgz#ab725c88823ab38c18fed90cca72f05ee73f3425" - integrity sha512-zZh96Ol6eqDGGd2caZLayjDW5ruUxNdoglyAMa/bOTBfnxu1Keb9kOyD+n7zVV+Mot8t0GRvWS4XilXoKZF/Tg== - dependencies: - camelcase "^6.2.0" - endent "^2.0.1" - fs-jetpack "^4.1.0" - lodash "^4.17.20" - pluralize "^8.0.0" - semver "^7.3.4" +new-github-issue-url@0.2.1: + version "0.2.1" + resolved "https://registry.yarnpkg.com/new-github-issue-url/-/new-github-issue-url-0.2.1.tgz#e17be1f665a92de465926603e44b9f8685630c1d" + integrity sha512-md4cGoxuT4T4d/HDOXbrUHkTKrp/vp+m3aOA7XXVYwNsUNMK49g3SQicTSeV5GIz/5QVGAeYRAOlyp9OvlgsYA== nexus@^1.0.0: version "1.3.0" @@ -8499,6 +8872,20 @@ node-fetch-npm@^2.0.2: json-parse-better-errors "^1.0.0" safe-buffer "^5.1.1" +node-fetch@2.6.12: + version "2.6.12" + resolved "https://registry.yarnpkg.com/node-fetch/-/node-fetch-2.6.12.tgz#02eb8e22074018e3d5a83016649d04df0e348fba" + integrity sha512-C/fGU2E8ToujUivIO0H+tpQ6HWo4eEmchoPIoXtxCrVghxdKq+QOHqEZW7tuP3KlV3bC8FRMO5nMCC7Zm1VP6g== + dependencies: + whatwg-url "^5.0.0" + +node-fetch@2.7.0: + version "2.7.0" + resolved "https://registry.yarnpkg.com/node-fetch/-/node-fetch-2.7.0.tgz#d0f0fa6e3e2dc1d27efcd8ad99d550bda94d187d" + integrity sha512-c4FRfUm/dbcWZ7U+1Wq0AwCyFL+3nt2bEw05wfxSz+DWpWsitgmSgYmy2dQdWyKC1694ELPqMs/YzUSNozLt8A== + dependencies: + whatwg-url "^5.0.0" + node-fetch@^2.5.0: version "2.6.1" resolved "https://registry.yarnpkg.com/node-fetch/-/node-fetch-2.6.1.tgz#045bd323631f76ed2e2b55573394416b639a0052" @@ -8697,16 +9084,7 @@ npm-package-arg@^9.0.0, npm-package-arg@^9.0.1, npm-package-arg@^9.1.0: semver "^7.3.5" validate-npm-package-name "^4.0.0" -npm-packlist@^1.4.4: - version "1.4.8" - resolved "https://registry.yarnpkg.com/npm-packlist/-/npm-packlist-1.4.8.tgz#56ee6cc135b9f98ad3d51c1c95da22bbb9b2ef3e" - integrity sha512-5+AZgwru5IevF5ZdnFglB5wNlHG1AOOuw28WhUq8/8emhBmLv6jX5by4WJCh7lW0uSYZYS6DXqIsyZVIXRZU9A== - dependencies: - ignore-walk "^3.0.1" - npm-bundled "^1.0.1" - npm-normalize-package-bin "^1.0.1" - -npm-packlist@^5.1.0: +npm-packlist@5.1.3, npm-packlist@^5.1.0: version "5.1.3" resolved "https://registry.yarnpkg.com/npm-packlist/-/npm-packlist-5.1.3.tgz#69d253e6fd664b9058b85005905012e00e69274b" integrity sha512-263/0NGrn32YFYi4J533qzrQ/krmmrWwhKkzwTuM4f/07ug51odoaNjUexxO4vxlzURHcmYMH1QjvHjsNDKLVg== @@ -8716,6 +9094,15 @@ npm-packlist@^5.1.0: npm-bundled "^2.0.0" npm-normalize-package-bin "^2.0.0" +npm-packlist@^1.4.4: + version "1.4.8" + resolved "https://registry.yarnpkg.com/npm-packlist/-/npm-packlist-1.4.8.tgz#56ee6cc135b9f98ad3d51c1c95da22bbb9b2ef3e" + integrity sha512-5+AZgwru5IevF5ZdnFglB5wNlHG1AOOuw28WhUq8/8emhBmLv6jX5by4WJCh7lW0uSYZYS6DXqIsyZVIXRZU9A== + dependencies: + ignore-walk "^3.0.1" + npm-bundled "^1.0.1" + npm-normalize-package-bin "^1.0.1" + npm-pick-manifest@^3.0.0: version "3.0.2" resolved "https://registry.yarnpkg.com/npm-pick-manifest/-/npm-pick-manifest-3.0.2.tgz#f4d9e5fd4be2153e5f4e5f9b7be8dc419a99abb7" @@ -8991,6 +9378,14 @@ onetime@^5.1.0, onetime@^5.1.2: dependencies: mimic-fn "^2.1.0" +open@7.4.2: + version "7.4.2" + resolved "https://registry.yarnpkg.com/open/-/open-7.4.2.tgz#b8147e26dcf3e426316c730089fd71edd29c2321" + integrity sha512-MVHddDVweXZF3awtlAS+6pgKLlm/JgxZ90+/NBurBoQctVOOB/zDdVjcyPzQ+0laDGbsWgrRkflI65sQeOgT9Q== + dependencies: + is-docker "^2.0.0" + is-wsl "^2.1.1" + opener@^1.5.2: version "1.5.2" resolved "https://registry.yarnpkg.com/opener/-/opener-1.5.2.tgz#5d37e1f35077b9dcac4301372271afdeb2a13598" @@ -9039,7 +9434,7 @@ p-each-series@^2.1.0: resolved "https://registry.yarnpkg.com/p-each-series/-/p-each-series-2.2.0.tgz#105ab0357ce72b202a8a8b94933672657b5e2a9a" integrity sha512-ycIL2+1V32th+8scbpTvyHNaHe02z0sjgh91XXjAk+ZeXoPN4Z46DVUnzdso0aX4KckKw0FNNFHdjZ2UsZvxiA== -p-filter@^2.0.0: +p-filter@2.1.0, p-filter@^2.0.0: version "2.1.0" resolved "https://registry.yarnpkg.com/p-filter/-/p-filter-2.1.0.tgz#1b1472562ae7a0f742f0f3d3d3718ea66ff9c09c" integrity sha512-ZBxxZ5sL2HghephhpGAQdoskxplTwr7ICaehZwLIlfL6acuVgZPm8yBNuRAFBGEqtD/hmUeq9eqLg2ys9Xr/yw== @@ -9070,6 +9465,13 @@ p-limit@^2.0.0, p-limit@^2.2.0: dependencies: p-try "^2.0.0" +p-limit@^3.0.2: + version "3.1.0" + resolved "https://registry.yarnpkg.com/p-limit/-/p-limit-3.1.0.tgz#e1daccbe78d0d1388ca18c64fea38e3e57e3706b" + integrity sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ== + dependencies: + yocto-queue "^0.1.0" + p-locate@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/p-locate/-/p-locate-2.0.0.tgz#20a0103b222a70c8fd39cc2e580680f3dde5ec43" @@ -9091,6 +9493,13 @@ p-locate@^4.1.0: dependencies: p-limit "^2.2.0" +p-locate@^5.0.0: + version "5.0.0" + resolved "https://registry.yarnpkg.com/p-locate/-/p-locate-5.0.0.tgz#83c8315c6785005e3bd021839411c9e110e6d834" + integrity sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw== + dependencies: + p-limit "^3.0.2" + p-map-series@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/p-map-series/-/p-map-series-1.0.0.tgz#bf98fe575705658a9e1351befb85ae4c1f07bdca" @@ -9098,18 +9507,18 @@ p-map-series@^1.0.0: dependencies: p-reduce "^1.0.0" -p-map@^2.0.0, p-map@^2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/p-map/-/p-map-2.1.0.tgz#310928feef9c9ecc65b68b17693018a665cea175" - integrity sha512-y3b8Kpd8OAN444hxfBbFfj1FY/RjtTd8tzYwhUqNYXx0fXx2iX4maP4Qr6qhIKbQXI02wTLAda4fYUbDagTUFw== - -p-map@^4.0.0: +p-map@4.0.0, p-map@^4.0.0: version "4.0.0" resolved "https://registry.yarnpkg.com/p-map/-/p-map-4.0.0.tgz#bb2f95a5eda2ec168ec9274e06a747c3e2904d2b" integrity sha512-/bjOqmgETBYB5BoEeGVea8dmvHb2m9GLy1E9W43yeyfP6QQCZGFNa+XRceJEuDB6zqr+gKpIAmlLebMpykw/MQ== dependencies: aggregate-error "^3.0.0" +p-map@^2.0.0, p-map@^2.1.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/p-map/-/p-map-2.1.0.tgz#310928feef9c9ecc65b68b17693018a665cea175" + integrity sha512-y3b8Kpd8OAN444hxfBbFfj1FY/RjtTd8tzYwhUqNYXx0fXx2iX4maP4Qr6qhIKbQXI02wTLAda4fYUbDagTUFw== + p-pipe@^1.2.0: version "1.2.0" resolved "https://registry.yarnpkg.com/p-pipe/-/p-pipe-1.2.0.tgz#4b1a11399a11520a67790ee5a0c1d5881d6befe9" @@ -9132,7 +9541,7 @@ p-reduce@^2.0.0: resolved "https://registry.yarnpkg.com/p-reduce/-/p-reduce-2.1.0.tgz#09408da49507c6c274faa31f28df334bc712b64a" integrity sha512-2USApvnsutq8uoxZBGbbWM0JIYLiEMJ9RlaN7fAzVNb9OZN0SHjjTTfIcb667XynS5Y1VhwDJVDa72TnPzAYWw== -p-retry@^4.0.0: +p-retry@4.6.2, p-retry@^4.0.0: version "4.6.2" resolved "https://registry.yarnpkg.com/p-retry/-/p-retry-4.6.2.tgz#9baae7184057edd4e17231cee04264106e092a16" integrity sha512-312Id396EbJdvRONlngUx0NydfrIQ5lsYu0znKVUzVvArzEIt08V1qhtyESbGVd1FGX7UKtiFp5uwKZdM8wIuQ== @@ -9409,7 +9818,7 @@ pkg-dir@^3.0.0: dependencies: find-up "^3.0.0" -pkg-dir@^4.2.0: +pkg-dir@^4.1.0, pkg-dir@^4.2.0: version "4.2.0" resolved "https://registry.yarnpkg.com/pkg-dir/-/pkg-dir-4.2.0.tgz#f099133df7ede422e81d1d8448270eeb3e4261f3" integrity sha512-HRDzbaKjC+AOWVXxAU/x54COGeIv9eb+6CkDSQoNTt4XyWoIJvuPsXizxu/Fr23EiekbtZwmh1IcIG/l/a10GQ== @@ -9435,7 +9844,7 @@ please-upgrade-node@^3.2.0: dependencies: semver-compare "^1.0.0" -pluralize@^8.0.0: +pluralize@8.0.0: version "8.0.0" resolved "https://registry.yarnpkg.com/pluralize/-/pluralize-8.0.0.tgz#1a6fa16a38d12a1901e0320fa017051c539ce3b1" integrity sha512-Nc3IT5yHzflTfbjgqWcCPpo7DaKy4FnpB0l/zCAW0Tc7jxAiuqSxHasntB3D7887LSrA93kDJ9IXovxJYxyLCA== @@ -9514,7 +9923,7 @@ process@^0.11.1: resolved "https://registry.yarnpkg.com/process/-/process-0.11.10.tgz#7332300e840161bda3e69a1d1d91a7d4bc16f182" integrity sha1-czIwDoQBYb2j5podHZGn1LwW8YI= -progress@^2.0.0: +progress@2.0.3, progress@^2.0.0: version "2.0.3" resolved "https://registry.yarnpkg.com/progress/-/progress-2.0.3.tgz#7e8cf8d8f5b8f239c1bc68beb4eb78567d572ef8" integrity sha512-7PiHtLll5LdnKIMw100I+8xJXR5gW2QwWYkT6iJva0bXitZKa/XMrSbdmg3r2Xnaidz9Qumd0VPaMrZlF9V9sA== @@ -9550,7 +9959,7 @@ promise-retry@^2.0.1: err-code "^2.0.2" retry "^0.12.0" -prompts@^2.0.1: +prompts@2.4.2, prompts@^2.0.1: version "2.4.2" resolved "https://registry.yarnpkg.com/prompts/-/prompts-2.4.2.tgz#7b57e73b3a48029ad10ebd44f74b01722a4cb069" integrity sha512-NxNv/kLguCA7p3jE8oL2aEBsrJWgAakBpgmgK6lpPWV+WuOmY6r2/zbAVnP+T8bQlA0nzHXSJSJW0Hq7ylaD2Q== @@ -9682,6 +10091,11 @@ queue-microtask@^1.2.2: resolved "https://registry.yarnpkg.com/queue-microtask/-/queue-microtask-1.2.3.tgz#4929228bbc724dfac43e0efb058caf7b6cfb6243" integrity sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A== +queue-tick@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/queue-tick/-/queue-tick-1.0.1.tgz#f6f07ac82c1fd60f82e098b417a80e52f1f4c142" + integrity sha512-kJt5qhMxoszgU/62PLP1CJytzd2NKetjSRnyuj31fDd3Rlcz3fzlFdFLD1SItunPwyqEOkca6GbV612BWfaBag== + quick-lru@^1.0.0: version "1.1.0" resolved "https://registry.yarnpkg.com/quick-lru/-/quick-lru-1.1.0.tgz#4360b17c61136ad38078397ff11416e186dcfbb8" @@ -9929,6 +10343,15 @@ read-package-tree@^5.1.6: readdir-scoped-modules "^1.0.0" util-promisify "^2.1.0" +read-pkg-up@7.0.1, read-pkg-up@^7.0.0, read-pkg-up@^7.0.1: + version "7.0.1" + resolved "https://registry.yarnpkg.com/read-pkg-up/-/read-pkg-up-7.0.1.tgz#f3a6135758459733ae2b95638056e1854e7ef507" + integrity sha512-zK0TB7Xd6JpCLmlLmufqykGE+/TlOePD6qKClNW7hHDKFh/J7/7gCWGR7joEQEW1bKq3a3yUZSObOoWLFQ4ohg== + dependencies: + find-up "^4.1.0" + read-pkg "^5.2.0" + type-fest "^0.8.1" + read-pkg-up@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/read-pkg-up/-/read-pkg-up-1.0.1.tgz#9d63c13276c065918d57f002a57f40a1b643fb02" @@ -9945,15 +10368,6 @@ read-pkg-up@^3.0.0: find-up "^2.0.0" read-pkg "^3.0.0" -read-pkg-up@^7.0.0, read-pkg-up@^7.0.1: - version "7.0.1" - resolved "https://registry.yarnpkg.com/read-pkg-up/-/read-pkg-up-7.0.1.tgz#f3a6135758459733ae2b95638056e1854e7ef507" - integrity sha512-zK0TB7Xd6JpCLmlLmufqykGE+/TlOePD6qKClNW7hHDKFh/J7/7gCWGR7joEQEW1bKq3a3yUZSObOoWLFQ4ohg== - dependencies: - find-up "^4.1.0" - read-pkg "^5.2.0" - type-fest "^0.8.1" - read-pkg@^1.0.0: version "1.1.0" resolved "https://registry.yarnpkg.com/read-pkg/-/read-pkg-1.1.0.tgz#f5ffaa5ecd29cb31c0474bca7d756b6bb29e3f28" @@ -10011,7 +10425,7 @@ read@1, read@^1.0.7, read@~1.0.1, read@~1.0.7: string_decoder "^1.1.1" util-deprecate "^1.0.1" -readable-stream@3, readable-stream@^3.0.0, readable-stream@^3.6.0: +readable-stream@3, readable-stream@^3.0.0, readable-stream@^3.4.0, readable-stream@^3.6.0: version "3.6.2" resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-3.6.2.tgz#56a9b36ea965c00c5a93ef31eb111a0f11056967" integrity sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA== @@ -10020,7 +10434,7 @@ readable-stream@3, readable-stream@^3.0.0, readable-stream@^3.6.0: string_decoder "^1.1.1" util-deprecate "^1.0.1" -readable-stream@^2.0.0, readable-stream@^2.0.2, readable-stream@^2.0.6, readable-stream@~2.3.6: +readable-stream@^2.0.0, readable-stream@^2.0.2, readable-stream@^2.0.5, readable-stream@^2.0.6, readable-stream@~2.3.6: version "2.3.8" resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-2.3.8.tgz#91125e8042bba1b9887f49345f6277027ce8be9b" integrity sha512-8p0AUk4XODgIewSi0l8Epjs+EVnWiK7NoDIEGU0HhE7+ZyY8D1IMY7odu5lRrFXGg71L15KG8QrPmum45RTtdA== @@ -10033,6 +10447,13 @@ readable-stream@^2.0.0, readable-stream@^2.0.2, readable-stream@^2.0.6, readable string_decoder "~1.1.1" util-deprecate "~1.0.1" +readdir-glob@^1.1.2: + version "1.1.3" + resolved "https://registry.yarnpkg.com/readdir-glob/-/readdir-glob-1.1.3.tgz#c3d831f51f5e7bfa62fa2ffbe4b508c640f09584" + integrity sha512-v05I2k7xN8zXvPD9N+z/uhXPaj0sUFCe2rcWZIpBsqxfP7xXFQ0tipAd/wjj1YxWyWtUS5IDJpOG82JKt2EAVA== + dependencies: + minimatch "^5.1.0" + readdir-scoped-modules@^1.0.0, readdir-scoped-modules@^1.1.0: version "1.1.0" resolved "https://registry.yarnpkg.com/readdir-scoped-modules/-/readdir-scoped-modules-1.1.0.tgz#8d45407b4f870a0dcaebc0e28670d18e74514309" @@ -10197,6 +10618,11 @@ repeating@^2.0.0: dependencies: is-finite "^1.0.0" +replace-string@3.1.0: + version "3.1.0" + resolved "https://registry.yarnpkg.com/replace-string/-/replace-string-3.1.0.tgz#77a087d88580fbac59851237891aa4b0e283db72" + integrity sha512-yPpxc4ZR2makceA9hy/jHNqc7QVkd4Je/N0WRHm6bs3PtivPuPynxE5ejU/mp5EhnCv8+uZL7vhz8rkluSlx+Q== + request@^2.88.0: version "2.88.2" resolved "https://registry.yarnpkg.com/request/-/request-2.88.2.tgz#d73c918731cb5a87da047e207234146f664d12b3" @@ -10287,6 +10713,15 @@ resolve.exports@^1.1.0: resolved "https://registry.yarnpkg.com/resolve.exports/-/resolve.exports-1.1.1.tgz#05cfd5b3edf641571fd46fa608b610dda9ead999" integrity sha512-/NtpHNDN7jWhAaQ9BvBUYZ6YTXsRBgfqWFWP7BZBaoMJO/I3G5OFzvTuWNlZC3aPjins1F+TNrLKsGbH4rfsRQ== +resolve@1.22.6: + version "1.22.6" + resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.22.6.tgz#dd209739eca3aef739c626fea1b4f3c506195362" + integrity sha512-njhxM7mV12JfufShqGy3Rz8j11RPdLy4xi15UurGJeoHLfJpVXKdh3ueuOqbYUcDZnffr6X739JBo5LzyahEsw== + dependencies: + is-core-module "^2.13.0" + path-parse "^1.0.7" + supports-preserve-symlinks-flag "^1.0.0" + resolve@^1.10.0, resolve@^1.14.2, resolve@^1.20.0: version "1.22.2" resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.22.2.tgz#0ed0943d4e301867955766c9f3e1ae6d01c6845f" @@ -10344,6 +10779,13 @@ rimraf@2.6.3: dependencies: glob "^7.1.3" +rimraf@3.0.2, rimraf@^3.0.0, rimraf@^3.0.2: + version "3.0.2" + resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-3.0.2.tgz#f1a5402ba6220ad52cc1282bac1ae3aa49fd061a" + integrity sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA== + dependencies: + glob "^7.1.3" + rimraf@^2.5.4, rimraf@^2.6.2, rimraf@^2.6.3: version "2.7.1" resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-2.7.1.tgz#35797f13a7fdadc566142c29d4f07ccad483e3ec" @@ -10351,13 +10793,6 @@ rimraf@^2.5.4, rimraf@^2.6.2, rimraf@^2.6.3: dependencies: glob "^7.1.3" -rimraf@^3.0.0, rimraf@^3.0.2: - version "3.0.2" - resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-3.0.2.tgz#f1a5402ba6220ad52cc1282bac1ae3aa49fd061a" - integrity sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA== - dependencies: - glob "^7.1.3" - run-async@^2.2.0, run-async@^2.4.0: version "2.4.1" resolved "https://registry.yarnpkg.com/run-async/-/run-async-2.4.1.tgz#8440eccf99ea3e70bd409d49aab88e10c189a455" @@ -10509,6 +10944,13 @@ semver-regex@^3.1.2: resolved "https://registry.yarnpkg.com/semver/-/semver-5.7.1.tgz#a954f931aeba508d307bbf069eff0c01c96116f7" integrity sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ== +semver@7.5.2: + version "7.5.2" + resolved "https://registry.yarnpkg.com/semver/-/semver-7.5.2.tgz#5b851e66d1be07c1cdaf37dfc856f543325a2beb" + integrity sha512-SoftuTROv/cRjCze/scjGyiDtcUyxw1rgYQSZY7XTmtR5hX+dm76iDbTH8TkLPHCQmlbQVSSbNZCPM2hb0knnQ== + dependencies: + lru-cache "^6.0.0" + semver@7.x, semver@^7.0.0, semver@^7.1.1, semver@^7.1.2, semver@^7.3.2, semver@^7.3.4, semver@^7.3.5, semver@^7.3.7: version "7.5.0" resolved "https://registry.yarnpkg.com/semver/-/semver-7.5.0.tgz#ed8c5dc8efb6c629c88b23d41dc9bf40c1d96cd0" @@ -10521,6 +10963,13 @@ semver@^6.0.0, semver@^6.1.1, semver@^6.1.2, semver@^6.2.0, semver@^6.3.0: resolved "https://registry.yarnpkg.com/semver/-/semver-6.3.0.tgz#ee0a64c8af5e8ceea67687b133761e1becbd1d3d" integrity sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw== +semver@^7.5.3: + version "7.5.4" + resolved "https://registry.yarnpkg.com/semver/-/semver-7.5.4.tgz#483986ec4ed38e1c6c48c34894a9182dbff68a6e" + integrity sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA== + 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" @@ -10900,6 +11349,14 @@ stream-shift@^1.0.0: resolved "https://registry.yarnpkg.com/stream-shift/-/stream-shift-1.0.1.tgz#d7088281559ab2778424279b0877da3c392d5a3d" integrity sha512-AiisoFqQ0vbGcZgQPY1cdP2I76glaVA/RauYR4G4thNFgkTqr90yXTo4LYX60Jl+sIlPNHHdGSwo01AvbKUSVQ== +streamx@^2.15.0: + version "2.15.2" + resolved "https://registry.yarnpkg.com/streamx/-/streamx-2.15.2.tgz#680eacebdc9c43ede7362c2e6695b34dd413c741" + integrity sha512-b62pAV/aeMjUoRN2C/9F0n+G8AfcJjNC0zw/ZmOHeFsIe4m4GzjVW9m6VHXVjk536NbdU9JRwKMJRfkc+zUFTg== + dependencies: + fast-fifo "^1.1.0" + queue-tick "^1.0.1" + strict-uri-encode@^1.0.0: version "1.1.0" resolved "https://registry.yarnpkg.com/strict-uri-encode/-/strict-uri-encode-1.1.0.tgz#279b225df1d582b1f54e65addd4352e18faa0713" @@ -10923,6 +11380,15 @@ string-length@^4.0.1: char-regex "^1.0.2" strip-ansi "^6.0.0" +string-width@4.2.3, "string-width@^1.0.2 || 2 || 3 || 4", string-width@^4.1.0, string-width@^4.2.0, string-width@^4.2.3: + version "4.2.3" + resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010" + integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g== + dependencies: + emoji-regex "^8.0.0" + is-fullwidth-code-point "^3.0.0" + strip-ansi "^6.0.1" + string-width@^1.0.1: version "1.0.2" resolved "https://registry.yarnpkg.com/string-width/-/string-width-1.0.2.tgz#118bdf5b8cdc51a2a7e70d211e07e2b0b9b107d3" @@ -10932,15 +11398,6 @@ string-width@^1.0.1: is-fullwidth-code-point "^1.0.0" strip-ansi "^3.0.0" -"string-width@^1.0.2 || 2 || 3 || 4", string-width@^4.1.0, string-width@^4.2.0, string-width@^4.2.3: - version "4.2.3" - resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010" - integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g== - dependencies: - emoji-regex "^8.0.0" - is-fullwidth-code-point "^3.0.0" - strip-ansi "^6.0.1" - string-width@^2.1.0: version "2.1.1" resolved "https://registry.yarnpkg.com/string-width/-/string-width-2.1.1.tgz#ab93f27a8dc13d28cac815c462143a6d9012ae9e" @@ -11008,6 +11465,13 @@ stringify-object@^3.3.0: is-obj "^1.0.1" is-regexp "^1.0.0" +strip-ansi@6.0.1, strip-ansi@^6.0.0, strip-ansi@^6.0.1: + version "6.0.1" + resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9" + integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A== + dependencies: + ansi-regex "^5.0.1" + strip-ansi@^3.0.0, strip-ansi@^3.0.1: version "3.0.1" resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-3.0.1.tgz#6a385fb8853d952d5ff05d0e8aaf94278dc63dcf" @@ -11029,13 +11493,6 @@ strip-ansi@^5.0.0, strip-ansi@^5.1.0, strip-ansi@^5.2.0: dependencies: ansi-regex "^4.1.0" -strip-ansi@^6.0.0, strip-ansi@^6.0.1: - version "6.0.1" - resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9" - integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A== - dependencies: - ansi-regex "^5.0.1" - strip-bom@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/strip-bom/-/strip-bom-2.0.0.tgz#6219a85616520491f35788bdbf1447a99c7e6b0e" @@ -11063,6 +11520,13 @@ strip-final-newline@^2.0.0: resolved "https://registry.yarnpkg.com/strip-final-newline/-/strip-final-newline-2.0.0.tgz#89b852fb2fcbe936f6f4b3187afb0a12c1ab58ad" integrity sha512-BrpvfNAE3dcvq7ll3xVumzjKjZQ5tI1sEUIKr3Uoks0XUl45St3FlatVqef9prk4jRDzhW6WZg+3bk93y6pLjA== +strip-indent@3.0.0, strip-indent@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/strip-indent/-/strip-indent-3.0.0.tgz#c32e1cee940b6b3432c771bc2c54bcce73cd3001" + integrity sha512-laJTa3Jb+VQpaC6DseHhF7dXVqHTfJPCRDaEbid/drOhgitgYku/letMUqOXFoWV0zIIUbjpdH2t+tYj4bQMRQ== + dependencies: + min-indent "^1.0.0" + strip-indent@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/strip-indent/-/strip-indent-1.0.1.tgz#0c7962a6adefa7bbd4ac366460a638552ae1a0a2" @@ -11075,13 +11539,6 @@ strip-indent@^2.0.0: resolved "https://registry.yarnpkg.com/strip-indent/-/strip-indent-2.0.0.tgz#5ef8db295d01e6ed6cbf7aab96998d7822527b68" integrity sha1-XvjbKV0B5u1sv3qrlpmNeCJSe2g= -strip-indent@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/strip-indent/-/strip-indent-3.0.0.tgz#c32e1cee940b6b3432c771bc2c54bcce73cd3001" - integrity sha512-laJTa3Jb+VQpaC6DseHhF7dXVqHTfJPCRDaEbid/drOhgitgYku/letMUqOXFoWV0zIIUbjpdH2t+tYj4bQMRQ== - dependencies: - min-indent "^1.0.0" - strip-json-comments@^3.0.1, strip-json-comments@^3.1.1: version "3.1.1" resolved "https://registry.yarnpkg.com/strip-json-comments/-/strip-json-comments-3.1.1.tgz#31f1281b3832630434831c310c01cccda8cbe006" @@ -11155,6 +11612,15 @@ table@^5.2.3: slice-ansi "^2.1.0" string-width "^3.0.0" +tar-stream@^3.0.0: + version "3.1.6" + resolved "https://registry.yarnpkg.com/tar-stream/-/tar-stream-3.1.6.tgz#6520607b55a06f4a2e2e04db360ba7d338cc5bab" + integrity sha512-B/UyjYwPpMBv+PaFSWAmtYjwdrlEaZQEhMIBFNC5oEG8lpiW8XjcSdmEaClj28ArfKScKHs2nshz3k2le6crsg== + dependencies: + b4a "^1.6.4" + fast-fifo "^1.2.0" + streamx "^2.15.0" + tar@^4.4.10, tar@^4.4.12, tar@^4.4.8: version "4.4.19" resolved "https://registry.yarnpkg.com/tar/-/tar-4.4.19.tgz#2e4d7263df26f2b914dee10c825ab132123742f3" @@ -11180,16 +11646,16 @@ tar@^6.1.0, tar@^6.1.11, tar@^6.1.2: mkdirp "^1.0.3" yallist "^4.0.0" +temp-dir@2.0.0, temp-dir@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/temp-dir/-/temp-dir-2.0.0.tgz#bde92b05bdfeb1516e804c9c00ad45177f31321e" + integrity sha512-aoBAniQmmwtcKp/7BzsH8Cxzv8OL736p7v1ihGb5e9DJ9kTwGWHrQrVB5+lfVDzfGrdRzXch+ig7LHaY1JTOrg== + temp-dir@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/temp-dir/-/temp-dir-1.0.0.tgz#0a7c0ea26d3a39afa7e0ebea9c1fc0bc4daa011d" integrity sha1-CnwOom06Oa+n4OvqnB/AvE2qAR0= -temp-dir@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/temp-dir/-/temp-dir-2.0.0.tgz#bde92b05bdfeb1516e804c9c00ad45177f31321e" - integrity sha512-aoBAniQmmwtcKp/7BzsH8Cxzv8OL736p7v1ihGb5e9DJ9kTwGWHrQrVB5+lfVDzfGrdRzXch+ig7LHaY1JTOrg== - temp-write@^3.4.0: version "3.4.0" resolved "https://registry.yarnpkg.com/temp-write/-/temp-write-3.4.0.tgz#8cff630fb7e9da05f047c74ce4ce4d685457d492" @@ -11202,7 +11668,7 @@ temp-write@^3.4.0: temp-dir "^1.0.0" uuid "^3.0.1" -tempy@^1.0.0: +tempy@1.0.1, tempy@^1.0.0: version "1.0.1" resolved "https://registry.yarnpkg.com/tempy/-/tempy-1.0.1.tgz#30fe901fd869cfb36ee2bd999805aa72fbb035de" integrity sha512-biM9brNqxSc04Ee71hzFbryD11nX7VPhQQY32AdDmjFvodsRFz/3ufeoTZ6uYkRFfGo188tENcASNs3vTdsM0w== @@ -11213,7 +11679,7 @@ tempy@^1.0.0: type-fest "^0.16.0" unique-string "^2.0.0" -terminal-link@^2.0.0: +terminal-link@2.1.1, terminal-link@^2.0.0: version "2.1.1" resolved "https://registry.yarnpkg.com/terminal-link/-/terminal-link-2.1.1.tgz#14a64a27ab3c0df933ea546fba55f2d078edc994" integrity sha512-un0FmiRUQNr5PJqy9kP7c40F5BOfpGlYTrxonDChEZB7pzZxRNp/bt+ymiy9/npwXya9KH99nJ/GXFIiUkYGFQ== @@ -11302,6 +11768,13 @@ tiny-warning@^1.0.0, tiny-warning@^1.0.2: resolved "https://registry.yarnpkg.com/tiny-warning/-/tiny-warning-1.0.3.tgz#94a30db453df4c643d0fd566060d60a875d84754" integrity sha512-lBN9zLN/oAf68o3zNXYrdCt1kP8WsiGW8Oo2ka41b2IM5JL/S1CTyX1rW0mb/zSuJun0ZUrDxx4sqvYS2FWzPA== +tmp@0.2.1: + version "0.2.1" + resolved "https://registry.yarnpkg.com/tmp/-/tmp-0.2.1.tgz#8457fc3037dcf4719c251367a1af6500ee1ccf14" + integrity sha512-76SUhtfqR2Ijn+xllcI5P1oyannHNHByD80W1q447gU3mp9G9PSpGdWmjUOHRDPiHYacIk66W7ubDTuPF3BEtQ== + dependencies: + rimraf "^3.0.0" + tmp@^0.0.33: version "0.0.33" resolved "https://registry.yarnpkg.com/tmp/-/tmp-0.0.33.tgz#6d34335889768d21b2bcda0aa277ced3b1bfadf9" @@ -11448,6 +11921,11 @@ ts-node@^8.9.1: source-map-support "^0.5.17" yn "3.1.1" +ts-pattern@4.3.0: + version "4.3.0" + resolved "https://registry.yarnpkg.com/ts-pattern/-/ts-pattern-4.3.0.tgz#7a995b39342f1b00d1507c2d2f3b90ea16e178a6" + integrity sha512-pefrkcd4lmIVR0LA49Imjf9DYLK8vtWhqBPA3Ya1ir8xCW0O2yjL9dsCVvI7pCodLC5q7smNpEtDR2yVulQxOg== + tslib@^1.8.1, tslib@^1.9.0: version "1.14.1" resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.14.1.tgz#cf2d38bdc34a134bcaf1091c41f6619e2f672d00" @@ -11514,7 +11992,7 @@ type-fest@^0.6.0: resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-0.6.0.tgz#8d2a2370d3df886eb5c90ada1c5bf6188acf838b" integrity sha512-q+MB8nYR1KDLrgr4G5yemftpMC7/QLqVndBmEEdqzmNj5dcFOO4Oo8qlwZE3ULT3+Zim1F8Kq4cBnikNhlCMlg== -type-fest@^0.8.1: +type-fest@^0.8.0, type-fest@^0.8.1: version "0.8.1" resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-0.8.1.tgz#09e249ebde851d3b1e48d27c105444667f17b83d" integrity sha512-4dbzIzqvjtgiM5rw1k5rEHtBANKmdudhGyBEajN01fEyhaAIhsoKNy6y7+IN93IfpFtwY9iqi7kD+xwKhQsNJA== @@ -11564,10 +12042,10 @@ typescript-tuple@^2.2.1: dependencies: typescript-compare "^0.0.2" -typescript@^4.4.3: - version "4.4.3" - resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.4.3.tgz#bdc5407caa2b109efd4f82fe130656f977a29324" - integrity sha512-4xfscpisVgqqDfPaJo5vkd+Qd/ItkoagnHpufr+i2QCHBsNYp+G7UAoyFl8aPtx879u38wPV65rZ8qbGZijalA== +typescript@^5.2.2: + version "5.2.2" + resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.2.2.tgz#5ebb5e5a5b75f085f22bc3f8460fba308310fa78" + integrity sha512-mI4WrpHsbCIcwT9cF4FZvr80QUeKvsUsUvKDoR+X/7XHQH98xYD8YHZg7ANtz2GtZt/CBq2QJ0thkGJMHfqc1w== uglify-js@^3.1.4: version "3.17.4" @@ -11759,6 +12237,11 @@ util@^0.10.3: dependencies: inherits "2.0.3" +uuid@9.0.0: + version "9.0.0" + resolved "https://registry.yarnpkg.com/uuid/-/uuid-9.0.0.tgz#592f550650024a38ceb0c562f2f6aa435761efb5" + integrity sha512-MXcSTerfPa4uqyzStbRoTgt5XIe3x5+42+q1sDuy3R5MDk66URdLMOZe5aPX/SQd+kuYAh0FdP/pO28IkQyTeg== + uuid@^3.0.1, uuid@^3.3.2: version "3.4.0" resolved "https://registry.yarnpkg.com/uuid/-/uuid-3.4.0.tgz#b23e4358afa8a202fe7a100af1f5f883f02007ee" @@ -12178,3 +12661,17 @@ yn@3.1.1: version "3.1.1" resolved "https://registry.yarnpkg.com/yn/-/yn-3.1.1.tgz#1e87401a09d767c1d5eab26a6e4c185182d2eb50" integrity sha512-Ux4ygGWsu2c7isFWe8Yu1YluJmqVhxqK2cLXNQA5AcC3QfbGNpM7fu0Y8b/z16pXLnFxZYvWhd3fhBY9DLmC6Q== + +yocto-queue@^0.1.0: + version "0.1.0" + resolved "https://registry.yarnpkg.com/yocto-queue/-/yocto-queue-0.1.0.tgz#0294eb3dee05028d31ee1a5fa2c556a6aaf10a1b" + integrity sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q== + +zip-stream@^5.0.1: + version "5.0.1" + resolved "https://registry.yarnpkg.com/zip-stream/-/zip-stream-5.0.1.tgz#cf3293bba121cad98be2ec7f05991d81d9f18134" + integrity sha512-UfZ0oa0C8LI58wJ+moL46BDIMgCQbnsb+2PoiJYtonhBsMh2bq1eRBVkvjfVsqbEHd9/EgKPUuL9saSSsec8OA== + dependencies: + archiver-utils "^4.0.1" + compress-commons "^5.0.1" + readable-stream "^3.6.0"