diff --git a/packages/client/src/__tests__/integration/happy/not-so-exhaustive-schema-mongo/__snapshots__/binary.test.ts.snap b/packages/client/src/__tests__/integration/happy/not-so-exhaustive-schema-mongo/__snapshots__/binary.test.ts.snap index 0369ca07a889..46e8a0c84bdf 100644 --- a/packages/client/src/__tests__/integration/happy/not-so-exhaustive-schema-mongo/__snapshots__/binary.test.ts.snap +++ b/packages/client/src/__tests__/integration/happy/not-so-exhaustive-schema-mongo/__snapshots__/binary.test.ts.snap @@ -557,7 +557,9 @@ export class PrismaClient< */ $runCommandRaw(command: Prisma.InputJsonObject): Prisma.PrismaPromise - $extends: $Extensions.ExtendsHook<"extends", Prisma.TypeMapCb, ExtArgs> + $extends: $Extensions.ExtendsHook<"extends", Prisma.TypeMapCb, ExtArgs, $Utils.Call, ClientOptions> /** * \`prisma.post\`: Exposes CRUD operations for the **Post** model. @@ -567,7 +569,7 @@ export class PrismaClient< * const posts = await prisma.post.findMany() * \`\`\` */ - get post(): Prisma.PostDelegate; + get post(): Prisma.PostDelegate; /** * \`prisma.user\`: Exposes CRUD operations for the **User** model. @@ -577,7 +579,7 @@ export class PrismaClient< * const users = await prisma.user.findMany() * \`\`\` */ - get user(): Prisma.UserDelegate; + get user(): Prisma.UserDelegate; /** * \`prisma.embedHolder\`: Exposes CRUD operations for the **EmbedHolder** model. @@ -587,7 +589,7 @@ export class PrismaClient< * const embedHolders = await prisma.embedHolder.findMany() * \`\`\` */ - get embedHolder(): Prisma.EmbedHolderDelegate; + get embedHolder(): Prisma.EmbedHolderDelegate; /** * \`prisma.m\`: Exposes CRUD operations for the **M** model. @@ -597,7 +599,7 @@ export class PrismaClient< * const ms = await prisma.m.findMany() * \`\`\` */ - get m(): Prisma.MDelegate; + get m(): Prisma.MDelegate; /** * \`prisma.n\`: Exposes CRUD operations for the **N** model. @@ -607,7 +609,7 @@ export class PrismaClient< * const ns = await prisma.n.findMany() * \`\`\` */ - get n(): Prisma.NDelegate; + get n(): Prisma.NDelegate; /** * \`prisma.oneOptional\`: Exposes CRUD operations for the **OneOptional** model. @@ -617,7 +619,7 @@ export class PrismaClient< * const oneOptionals = await prisma.oneOptional.findMany() * \`\`\` */ - get oneOptional(): Prisma.OneOptionalDelegate; + get oneOptional(): Prisma.OneOptionalDelegate; /** * \`prisma.manyRequired\`: Exposes CRUD operations for the **ManyRequired** model. @@ -627,7 +629,7 @@ export class PrismaClient< * const manyRequireds = await prisma.manyRequired.findMany() * \`\`\` */ - get manyRequired(): Prisma.ManyRequiredDelegate; + get manyRequired(): Prisma.ManyRequiredDelegate; /** * \`prisma.optionalSide1\`: Exposes CRUD operations for the **OptionalSide1** model. @@ -637,7 +639,7 @@ export class PrismaClient< * const optionalSide1s = await prisma.optionalSide1.findMany() * \`\`\` */ - get optionalSide1(): Prisma.OptionalSide1Delegate; + get optionalSide1(): Prisma.OptionalSide1Delegate; /** * \`prisma.optionalSide2\`: Exposes CRUD operations for the **OptionalSide2** model. @@ -647,7 +649,7 @@ export class PrismaClient< * const optionalSide2s = await prisma.optionalSide2.findMany() * \`\`\` */ - get optionalSide2(): Prisma.OptionalSide2Delegate; + get optionalSide2(): Prisma.OptionalSide2Delegate; /** * \`prisma.a\`: Exposes CRUD operations for the **A** model. @@ -657,7 +659,7 @@ export class PrismaClient< * const as = await prisma.a.findMany() * \`\`\` */ - get a(): Prisma.ADelegate; + get a(): Prisma.ADelegate; /** * \`prisma.b\`: Exposes CRUD operations for the **B** model. @@ -667,7 +669,7 @@ export class PrismaClient< * const bs = await prisma.b.findMany() * \`\`\` */ - get b(): Prisma.BDelegate; + get b(): Prisma.BDelegate; /** * \`prisma.c\`: Exposes CRUD operations for the **C** model. @@ -677,7 +679,7 @@ export class PrismaClient< * const cs = await prisma.c.findMany() * \`\`\` */ - get c(): Prisma.CDelegate; + get c(): Prisma.CDelegate; /** * \`prisma.d\`: Exposes CRUD operations for the **D** model. @@ -687,7 +689,7 @@ export class PrismaClient< * const ds = await prisma.d.findMany() * \`\`\` */ - get d(): Prisma.DDelegate; + get d(): Prisma.DDelegate; /** * \`prisma.e\`: Exposes CRUD operations for the **E** model. @@ -697,7 +699,7 @@ export class PrismaClient< * const es = await prisma.e.findMany() * \`\`\` */ - get e(): Prisma.EDelegate; + get e(): Prisma.EDelegate; } export namespace Prisma { @@ -2261,9 +2263,39 @@ export namespace Prisma { maxWait?: number timeout?: number } + /** + * Global configuration for omitting model fields by default. + * + * @example + * \`\`\` + * const prisma = new PrismaClient({ + * omit: { + * user: { + * password: true + * } + * } + * }) + * \`\`\` + */ + omit?: Prisma.GlobalOmitConfig + } + export type GlobalOmitConfig = { + post?: PostOmit + user?: UserOmit + embedHolder?: EmbedHolderOmit + m?: MOmit + n?: NOmit + oneOptional?: OneOptionalOmit + manyRequired?: ManyRequiredOmit + optionalSide1?: OptionalSide1Omit + optionalSide2?: OptionalSide2Omit + a?: AOmit + b?: BOmit + c?: COmit + d?: DOmit + e?: EOmit } - /* Types for Logging */ export type LogLevel = 'info' | 'query' | 'warn' | 'error' export type LogDefinition = { @@ -2535,6 +2567,7 @@ export namespace Prisma { scalarList?: boolean } + export type EmbedOmit = $Extensions.GetOmit<"text" | "boolean" | "embedEmbedList" | "requiredEmbedEmbed" | "optionalEmbedEmbed" | "scalarList", ExtArgs["result"]["embed"]> export type EmbedInclude = {} export type $EmbedPayload = { @@ -2577,6 +2610,10 @@ export namespace Prisma { * Select specific fields to fetch from the Embed */ select?: EmbedSelect | null + /** + * Omit specific fields from the Embed + */ + omit?: EmbedOmit | null /** * Choose, which related nodes to fetch as well */ @@ -2604,6 +2641,7 @@ export namespace Prisma { boolean?: boolean } + export type EmbedEmbedOmit = $Extensions.GetOmit<"text" | "boolean", ExtArgs["result"]["embedEmbed"]> export type $EmbedEmbedPayload = { name: "EmbedEmbed" @@ -2639,6 +2677,10 @@ export namespace Prisma { * Select specific fields to fetch from the EmbedEmbed */ select?: EmbedEmbedSelect | null + /** + * Omit specific fields from the EmbedEmbed + */ + omit?: EmbedEmbedOmit | null } @@ -2828,6 +2870,7 @@ export namespace Prisma { authorId?: boolean } + export type PostOmit = $Extensions.GetOmit<"id" | "createdAt" | "title" | "content" | "published" | "authorId", ExtArgs["result"]["post"]> export type PostInclude = { author?: boolean | UserDefaultArgs } @@ -2851,11 +2894,11 @@ export namespace Prisma { type PostGetPayload = $Result.GetResult type PostCountArgs = - Omit & { + Omit & { select?: PostCountAggregateInputType | true } - export interface PostDelegate { + export interface PostDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['Post'], meta: { name: 'Post' } } /** * Find zero or one Post that matches the filter. @@ -2868,7 +2911,7 @@ export namespace Prisma { * } * }) */ - findUnique(args: SelectSubset>): Prisma__PostClient<$Result.GetResult, T, "findUnique"> | null, null, ExtArgs> + findUnique(args: SelectSubset>): Prisma__PostClient<$Result.GetResult, T, "findUnique", ClientOptions> | null, null, ExtArgs, ClientOptions> /** * Find one Post that matches the filter or throw an error with \`error.code='P2025'\` @@ -2882,7 +2925,7 @@ export namespace Prisma { * } * }) */ - findUniqueOrThrow(args: SelectSubset>): Prisma__PostClient<$Result.GetResult, T, "findUniqueOrThrow">, never, ExtArgs> + findUniqueOrThrow(args: SelectSubset>): Prisma__PostClient<$Result.GetResult, T, "findUniqueOrThrow", ClientOptions>, never, ExtArgs, ClientOptions> /** * Find the first Post that matches the filter. @@ -2897,7 +2940,7 @@ export namespace Prisma { * } * }) */ - findFirst(args?: SelectSubset>): Prisma__PostClient<$Result.GetResult, T, "findFirst"> | null, null, ExtArgs> + findFirst(args?: SelectSubset>): Prisma__PostClient<$Result.GetResult, T, "findFirst", ClientOptions> | null, null, ExtArgs, ClientOptions> /** * Find the first Post that matches the filter or @@ -2913,7 +2956,7 @@ export namespace Prisma { * } * }) */ - findFirstOrThrow(args?: SelectSubset>): Prisma__PostClient<$Result.GetResult, T, "findFirstOrThrow">, never, ExtArgs> + findFirstOrThrow(args?: SelectSubset>): Prisma__PostClient<$Result.GetResult, T, "findFirstOrThrow", ClientOptions>, never, ExtArgs, ClientOptions> /** * Find zero or more Posts that matches the filter. @@ -2931,7 +2974,7 @@ export namespace Prisma { * const postWithIdOnly = await prisma.post.findMany({ select: { id: true } }) * */ - findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany">> + findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", ClientOptions>> /** * Create a Post. @@ -2945,7 +2988,7 @@ export namespace Prisma { * }) * */ - create(args: SelectSubset>): Prisma__PostClient<$Result.GetResult, T, "create">, never, ExtArgs> + create(args: SelectSubset>): Prisma__PostClient<$Result.GetResult, T, "create", ClientOptions>, never, ExtArgs, ClientOptions> /** * Create many Posts. @@ -2973,7 +3016,7 @@ export namespace Prisma { * }) * */ - delete(args: SelectSubset>): Prisma__PostClient<$Result.GetResult, T, "delete">, never, ExtArgs> + delete(args: SelectSubset>): Prisma__PostClient<$Result.GetResult, T, "delete", ClientOptions>, never, ExtArgs, ClientOptions> /** * Update one Post. @@ -2990,7 +3033,7 @@ export namespace Prisma { * }) * */ - update(args: SelectSubset>): Prisma__PostClient<$Result.GetResult, T, "update">, never, ExtArgs> + update(args: SelectSubset>): Prisma__PostClient<$Result.GetResult, T, "update", ClientOptions>, never, ExtArgs, ClientOptions> /** * Delete zero or more Posts. @@ -3042,7 +3085,7 @@ export namespace Prisma { * } * }) */ - upsert(args: SelectSubset>): Prisma__PostClient<$Result.GetResult, T, "upsert">, never, ExtArgs> + upsert(args: SelectSubset>): Prisma__PostClient<$Result.GetResult, T, "upsert", ClientOptions>, never, ExtArgs, ClientOptions> /** * Find zero or more Posts that matches the filter. @@ -3205,9 +3248,9 @@ export namespace Prisma { * Because we want to prevent naming conflicts as mentioned in * https://github.com/prisma/prisma-client-js/issues/707 */ - export interface Prisma__PostClient extends Prisma.PrismaPromise { + export interface Prisma__PostClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" - author = {}>(args?: Subset>): Prisma__UserClient<$Result.GetResult, T, "findUniqueOrThrow"> | Null, Null, ExtArgs> + author = {}>(args?: Subset>): Prisma__UserClient<$Result.GetResult, T, "findUniqueOrThrow", ClientOptions> | Null, Null, ExtArgs, ClientOptions> /** * Attaches callbacks for the resolution and/or rejection of the Promise. * @param onfulfilled The callback to execute when the Promise is resolved. @@ -3255,6 +3298,10 @@ export namespace Prisma { * Select specific fields to fetch from the Post */ select?: PostSelect | null + /** + * Omit specific fields from the Post + */ + omit?: PostOmit | null /** * Choose, which related nodes to fetch as well */ @@ -3273,6 +3320,10 @@ export namespace Prisma { * Select specific fields to fetch from the Post */ select?: PostSelect | null + /** + * Omit specific fields from the Post + */ + omit?: PostOmit | null /** * Choose, which related nodes to fetch as well */ @@ -3291,6 +3342,10 @@ export namespace Prisma { * Select specific fields to fetch from the Post */ select?: PostSelect | null + /** + * Omit specific fields from the Post + */ + omit?: PostOmit | null /** * Choose, which related nodes to fetch as well */ @@ -3339,6 +3394,10 @@ export namespace Prisma { * Select specific fields to fetch from the Post */ select?: PostSelect | null + /** + * Omit specific fields from the Post + */ + omit?: PostOmit | null /** * Choose, which related nodes to fetch as well */ @@ -3387,6 +3446,10 @@ export namespace Prisma { * Select specific fields to fetch from the Post */ select?: PostSelect | null + /** + * Omit specific fields from the Post + */ + omit?: PostOmit | null /** * Choose, which related nodes to fetch as well */ @@ -3430,6 +3493,10 @@ export namespace Prisma { * Select specific fields to fetch from the Post */ select?: PostSelect | null + /** + * Omit specific fields from the Post + */ + omit?: PostOmit | null /** * Choose, which related nodes to fetch as well */ @@ -3458,6 +3525,10 @@ export namespace Prisma { * Select specific fields to fetch from the Post */ select?: PostSelect | null + /** + * Omit specific fields from the Post + */ + omit?: PostOmit | null /** * Choose, which related nodes to fetch as well */ @@ -3494,6 +3565,10 @@ export namespace Prisma { * Select specific fields to fetch from the Post */ select?: PostSelect | null + /** + * Omit specific fields from the Post + */ + omit?: PostOmit | null /** * Choose, which related nodes to fetch as well */ @@ -3520,6 +3595,10 @@ export namespace Prisma { * Select specific fields to fetch from the Post */ select?: PostSelect | null + /** + * Omit specific fields from the Post + */ + omit?: PostOmit | null /** * Choose, which related nodes to fetch as well */ @@ -3576,6 +3655,10 @@ export namespace Prisma { * Select specific fields to fetch from the Post */ select?: PostSelect | null + /** + * Omit specific fields from the Post + */ + omit?: PostOmit | null /** * Choose, which related nodes to fetch as well */ @@ -3890,6 +3973,7 @@ export namespace Prisma { embedHolderId?: boolean } + export type UserOmit = $Extensions.GetOmit<"id" | "email" | "int" | "optionalInt" | "float" | "optionalFloat" | "string" | "optionalString" | "json" | "optionalJson" | "enum" | "optionalEnum" | "boolean" | "optionalBoolean" | "embedHolderId", ExtArgs["result"]["user"]> export type UserInclude = { posts?: boolean | User$postsArgs embedHolder?: boolean | EmbedHolderDefaultArgs @@ -3925,11 +4009,11 @@ export namespace Prisma { type UserGetPayload = $Result.GetResult type UserCountArgs = - Omit & { + 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. @@ -3942,7 +4026,7 @@ export namespace Prisma { * } * }) */ - findUnique(args: SelectSubset>): Prisma__UserClient<$Result.GetResult, T, "findUnique"> | null, null, ExtArgs> + findUnique(args: SelectSubset>): Prisma__UserClient<$Result.GetResult, T, "findUnique", ClientOptions> | null, null, ExtArgs, ClientOptions> /** * Find one User that matches the filter or throw an error with \`error.code='P2025'\` @@ -3956,7 +4040,7 @@ export namespace Prisma { * } * }) */ - findUniqueOrThrow(args: SelectSubset>): Prisma__UserClient<$Result.GetResult, T, "findUniqueOrThrow">, never, ExtArgs> + findUniqueOrThrow(args: SelectSubset>): Prisma__UserClient<$Result.GetResult, T, "findUniqueOrThrow", ClientOptions>, never, ExtArgs, ClientOptions> /** * Find the first User that matches the filter. @@ -3971,7 +4055,7 @@ export namespace Prisma { * } * }) */ - findFirst(args?: SelectSubset>): Prisma__UserClient<$Result.GetResult, T, "findFirst"> | null, null, ExtArgs> + findFirst(args?: SelectSubset>): Prisma__UserClient<$Result.GetResult, T, "findFirst", ClientOptions> | null, null, ExtArgs, ClientOptions> /** * Find the first User that matches the filter or @@ -3987,7 +4071,7 @@ export namespace Prisma { * } * }) */ - findFirstOrThrow(args?: SelectSubset>): Prisma__UserClient<$Result.GetResult, T, "findFirstOrThrow">, never, ExtArgs> + findFirstOrThrow(args?: SelectSubset>): Prisma__UserClient<$Result.GetResult, T, "findFirstOrThrow", ClientOptions>, never, ExtArgs, ClientOptions> /** * Find zero or more Users that matches the filter. @@ -4005,7 +4089,7 @@ export namespace Prisma { * const userWithIdOnly = await prisma.user.findMany({ select: { id: true } }) * */ - findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany">> + findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", ClientOptions>> /** * Create a User. @@ -4019,7 +4103,7 @@ export namespace Prisma { * }) * */ - create(args: SelectSubset>): Prisma__UserClient<$Result.GetResult, T, "create">, never, ExtArgs> + create(args: SelectSubset>): Prisma__UserClient<$Result.GetResult, T, "create", ClientOptions>, never, ExtArgs, ClientOptions> /** * Create many Users. @@ -4047,7 +4131,7 @@ export namespace Prisma { * }) * */ - delete(args: SelectSubset>): Prisma__UserClient<$Result.GetResult, T, "delete">, never, ExtArgs> + delete(args: SelectSubset>): Prisma__UserClient<$Result.GetResult, T, "delete", ClientOptions>, never, ExtArgs, ClientOptions> /** * Update one User. @@ -4064,7 +4148,7 @@ export namespace Prisma { * }) * */ - update(args: SelectSubset>): Prisma__UserClient<$Result.GetResult, T, "update">, never, ExtArgs> + update(args: SelectSubset>): Prisma__UserClient<$Result.GetResult, T, "update", ClientOptions>, never, ExtArgs, ClientOptions> /** * Delete zero or more Users. @@ -4116,7 +4200,7 @@ export namespace Prisma { * } * }) */ - upsert(args: SelectSubset>): Prisma__UserClient<$Result.GetResult, T, "upsert">, never, ExtArgs> + upsert(args: SelectSubset>): Prisma__UserClient<$Result.GetResult, T, "upsert", ClientOptions>, never, ExtArgs, ClientOptions> /** * Find zero or more Users that matches the filter. @@ -4279,10 +4363,10 @@ export namespace Prisma { * Because we want to prevent naming conflicts as mentioned in * https://github.com/prisma/prisma-client-js/issues/707 */ - export interface Prisma__UserClient extends Prisma.PrismaPromise { + export interface Prisma__UserClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" - posts = {}>(args?: Subset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany"> | Null> - embedHolder = {}>(args?: Subset>): Prisma__EmbedHolderClient<$Result.GetResult, T, "findUniqueOrThrow"> | Null, Null, ExtArgs> + posts = {}>(args?: Subset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", ClientOptions> | Null> + embedHolder = {}>(args?: Subset>): Prisma__EmbedHolderClient<$Result.GetResult, T, "findUniqueOrThrow", ClientOptions> | Null, Null, ExtArgs, ClientOptions> /** * Attaches callbacks for the resolution and/or rejection of the Promise. * @param onfulfilled The callback to execute when the Promise is resolved. @@ -4339,6 +4423,10 @@ export namespace Prisma { * Select specific fields to fetch from the User */ select?: UserSelect | null + /** + * Omit specific fields from the User + */ + omit?: UserOmit | null /** * Choose, which related nodes to fetch as well */ @@ -4357,6 +4445,10 @@ export namespace Prisma { * Select specific fields to fetch from the User */ select?: UserSelect | null + /** + * Omit specific fields from the User + */ + omit?: UserOmit | null /** * Choose, which related nodes to fetch as well */ @@ -4375,6 +4467,10 @@ export namespace Prisma { * Select specific fields to fetch from the User */ select?: UserSelect | null + /** + * Omit specific fields from the User + */ + omit?: UserOmit | null /** * Choose, which related nodes to fetch as well */ @@ -4423,6 +4519,10 @@ export namespace Prisma { * Select specific fields to fetch from the User */ select?: UserSelect | null + /** + * Omit specific fields from the User + */ + omit?: UserOmit | null /** * Choose, which related nodes to fetch as well */ @@ -4471,6 +4571,10 @@ export namespace Prisma { * Select specific fields to fetch from the User */ select?: UserSelect | null + /** + * Omit specific fields from the User + */ + omit?: UserOmit | null /** * Choose, which related nodes to fetch as well */ @@ -4514,6 +4618,10 @@ export namespace Prisma { * Select specific fields to fetch from the User */ select?: UserSelect | null + /** + * Omit specific fields from the User + */ + omit?: UserOmit | null /** * Choose, which related nodes to fetch as well */ @@ -4542,6 +4650,10 @@ export namespace Prisma { * Select specific fields to fetch from the User */ select?: UserSelect | null + /** + * Omit specific fields from the User + */ + omit?: UserOmit | null /** * Choose, which related nodes to fetch as well */ @@ -4578,6 +4690,10 @@ export namespace Prisma { * Select specific fields to fetch from the User */ select?: UserSelect | null + /** + * Omit specific fields from the User + */ + omit?: UserOmit | null /** * Choose, which related nodes to fetch as well */ @@ -4604,6 +4720,10 @@ export namespace Prisma { * Select specific fields to fetch from the User */ select?: UserSelect | null + /** + * Omit specific fields from the User + */ + omit?: UserOmit | null /** * Choose, which related nodes to fetch as well */ @@ -4660,6 +4780,10 @@ export namespace Prisma { * Select specific fields to fetch from the Post */ select?: PostSelect | null + /** + * Omit specific fields from the Post + */ + omit?: PostOmit | null /** * Choose, which related nodes to fetch as well */ @@ -4680,6 +4804,10 @@ export namespace Prisma { * Select specific fields to fetch from the User */ select?: UserSelect | null + /** + * Omit specific fields from the User + */ + omit?: UserOmit | null /** * Choose, which related nodes to fetch as well */ @@ -4859,6 +4987,7 @@ export namespace Prisma { boolean?: boolean } + export type EmbedHolderOmit = $Extensions.GetOmit<"id" | "time" | "text" | "boolean" | "embedList" | "requiredEmbed" | "optionalEmbed", ExtArgs["result"]["embedHolder"]> export type EmbedHolderInclude = { User?: boolean | EmbedHolder$UserArgs _count?: boolean | EmbedHolderCountOutputTypeDefaultArgs @@ -4885,11 +5014,11 @@ export namespace Prisma { type EmbedHolderGetPayload = $Result.GetResult type EmbedHolderCountArgs = - Omit & { + Omit & { select?: EmbedHolderCountAggregateInputType | true } - export interface EmbedHolderDelegate { + export interface EmbedHolderDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['EmbedHolder'], meta: { name: 'EmbedHolder' } } /** * Find zero or one EmbedHolder that matches the filter. @@ -4902,7 +5031,7 @@ export namespace Prisma { * } * }) */ - findUnique(args: SelectSubset>): Prisma__EmbedHolderClient<$Result.GetResult, T, "findUnique"> | null, null, ExtArgs> + findUnique(args: SelectSubset>): Prisma__EmbedHolderClient<$Result.GetResult, T, "findUnique", ClientOptions> | null, null, ExtArgs, ClientOptions> /** * Find one EmbedHolder that matches the filter or throw an error with \`error.code='P2025'\` @@ -4916,7 +5045,7 @@ export namespace Prisma { * } * }) */ - findUniqueOrThrow(args: SelectSubset>): Prisma__EmbedHolderClient<$Result.GetResult, T, "findUniqueOrThrow">, never, ExtArgs> + findUniqueOrThrow(args: SelectSubset>): Prisma__EmbedHolderClient<$Result.GetResult, T, "findUniqueOrThrow", ClientOptions>, never, ExtArgs, ClientOptions> /** * Find the first EmbedHolder that matches the filter. @@ -4931,7 +5060,7 @@ export namespace Prisma { * } * }) */ - findFirst(args?: SelectSubset>): Prisma__EmbedHolderClient<$Result.GetResult, T, "findFirst"> | null, null, ExtArgs> + findFirst(args?: SelectSubset>): Prisma__EmbedHolderClient<$Result.GetResult, T, "findFirst", ClientOptions> | null, null, ExtArgs, ClientOptions> /** * Find the first EmbedHolder that matches the filter or @@ -4947,7 +5076,7 @@ export namespace Prisma { * } * }) */ - findFirstOrThrow(args?: SelectSubset>): Prisma__EmbedHolderClient<$Result.GetResult, T, "findFirstOrThrow">, never, ExtArgs> + findFirstOrThrow(args?: SelectSubset>): Prisma__EmbedHolderClient<$Result.GetResult, T, "findFirstOrThrow", ClientOptions>, never, ExtArgs, ClientOptions> /** * Find zero or more EmbedHolders that matches the filter. @@ -4965,7 +5094,7 @@ export namespace Prisma { * const embedHolderWithIdOnly = await prisma.embedHolder.findMany({ select: { id: true } }) * */ - findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany">> + findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", ClientOptions>> /** * Create a EmbedHolder. @@ -4979,7 +5108,7 @@ export namespace Prisma { * }) * */ - create(args: SelectSubset>): Prisma__EmbedHolderClient<$Result.GetResult, T, "create">, never, ExtArgs> + create(args: SelectSubset>): Prisma__EmbedHolderClient<$Result.GetResult, T, "create", ClientOptions>, never, ExtArgs, ClientOptions> /** * Create many EmbedHolders. @@ -5007,7 +5136,7 @@ export namespace Prisma { * }) * */ - delete(args: SelectSubset>): Prisma__EmbedHolderClient<$Result.GetResult, T, "delete">, never, ExtArgs> + delete(args: SelectSubset>): Prisma__EmbedHolderClient<$Result.GetResult, T, "delete", ClientOptions>, never, ExtArgs, ClientOptions> /** * Update one EmbedHolder. @@ -5024,7 +5153,7 @@ export namespace Prisma { * }) * */ - update(args: SelectSubset>): Prisma__EmbedHolderClient<$Result.GetResult, T, "update">, never, ExtArgs> + update(args: SelectSubset>): Prisma__EmbedHolderClient<$Result.GetResult, T, "update", ClientOptions>, never, ExtArgs, ClientOptions> /** * Delete zero or more EmbedHolders. @@ -5076,7 +5205,7 @@ export namespace Prisma { * } * }) */ - upsert(args: SelectSubset>): Prisma__EmbedHolderClient<$Result.GetResult, T, "upsert">, never, ExtArgs> + upsert(args: SelectSubset>): Prisma__EmbedHolderClient<$Result.GetResult, T, "upsert", ClientOptions>, never, ExtArgs, ClientOptions> /** * Find zero or more EmbedHolders that matches the filter. @@ -5239,9 +5368,9 @@ export namespace Prisma { * Because we want to prevent naming conflicts as mentioned in * https://github.com/prisma/prisma-client-js/issues/707 */ - export interface Prisma__EmbedHolderClient extends Prisma.PrismaPromise { + export interface Prisma__EmbedHolderClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" - User = {}>(args?: Subset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany"> | Null> + User = {}>(args?: Subset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", ClientOptions> | Null> /** * Attaches callbacks for the resolution and/or rejection of the Promise. * @param onfulfilled The callback to execute when the Promise is resolved. @@ -5287,6 +5416,10 @@ export namespace Prisma { * Select specific fields to fetch from the EmbedHolder */ select?: EmbedHolderSelect | null + /** + * Omit specific fields from the EmbedHolder + */ + omit?: EmbedHolderOmit | null /** * Choose, which related nodes to fetch as well */ @@ -5305,6 +5438,10 @@ export namespace Prisma { * Select specific fields to fetch from the EmbedHolder */ select?: EmbedHolderSelect | null + /** + * Omit specific fields from the EmbedHolder + */ + omit?: EmbedHolderOmit | null /** * Choose, which related nodes to fetch as well */ @@ -5323,6 +5460,10 @@ export namespace Prisma { * Select specific fields to fetch from the EmbedHolder */ select?: EmbedHolderSelect | null + /** + * Omit specific fields from the EmbedHolder + */ + omit?: EmbedHolderOmit | null /** * Choose, which related nodes to fetch as well */ @@ -5371,6 +5512,10 @@ export namespace Prisma { * Select specific fields to fetch from the EmbedHolder */ select?: EmbedHolderSelect | null + /** + * Omit specific fields from the EmbedHolder + */ + omit?: EmbedHolderOmit | null /** * Choose, which related nodes to fetch as well */ @@ -5419,6 +5564,10 @@ export namespace Prisma { * Select specific fields to fetch from the EmbedHolder */ select?: EmbedHolderSelect | null + /** + * Omit specific fields from the EmbedHolder + */ + omit?: EmbedHolderOmit | null /** * Choose, which related nodes to fetch as well */ @@ -5462,6 +5611,10 @@ export namespace Prisma { * Select specific fields to fetch from the EmbedHolder */ select?: EmbedHolderSelect | null + /** + * Omit specific fields from the EmbedHolder + */ + omit?: EmbedHolderOmit | null /** * Choose, which related nodes to fetch as well */ @@ -5490,6 +5643,10 @@ export namespace Prisma { * Select specific fields to fetch from the EmbedHolder */ select?: EmbedHolderSelect | null + /** + * Omit specific fields from the EmbedHolder + */ + omit?: EmbedHolderOmit | null /** * Choose, which related nodes to fetch as well */ @@ -5526,6 +5683,10 @@ export namespace Prisma { * Select specific fields to fetch from the EmbedHolder */ select?: EmbedHolderSelect | null + /** + * Omit specific fields from the EmbedHolder + */ + omit?: EmbedHolderOmit | null /** * Choose, which related nodes to fetch as well */ @@ -5552,6 +5713,10 @@ export namespace Prisma { * Select specific fields to fetch from the EmbedHolder */ select?: EmbedHolderSelect | null + /** + * Omit specific fields from the EmbedHolder + */ + omit?: EmbedHolderOmit | null /** * Choose, which related nodes to fetch as well */ @@ -5608,6 +5773,10 @@ export namespace Prisma { * Select specific fields to fetch from the User */ select?: UserSelect | null + /** + * Omit specific fields from the User + */ + omit?: UserOmit | null /** * Choose, which related nodes to fetch as well */ @@ -5628,6 +5797,10 @@ export namespace Prisma { * Select specific fields to fetch from the EmbedHolder */ select?: EmbedHolderSelect | null + /** + * Omit specific fields from the EmbedHolder + */ + omit?: EmbedHolderOmit | null /** * Choose, which related nodes to fetch as well */ @@ -5928,6 +6101,7 @@ export namespace Prisma { optionalBoolean?: boolean } + export type MOmit = $Extensions.GetOmit<"id" | "n_ids" | "int" | "optionalInt" | "float" | "optionalFloat" | "string" | "optionalString" | "json" | "optionalJson" | "enum" | "optionalEnum" | "boolean" | "optionalBoolean", ExtArgs["result"]["m"]> export type MInclude = { n?: boolean | M$nArgs _count?: boolean | MCountOutputTypeDefaultArgs @@ -5960,11 +6134,11 @@ export namespace Prisma { type MGetPayload = $Result.GetResult type MCountArgs = - Omit & { + Omit & { select?: MCountAggregateInputType | true } - export interface MDelegate { + export interface MDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['M'], meta: { name: 'M' } } /** * Find zero or one M that matches the filter. @@ -5977,7 +6151,7 @@ export namespace Prisma { * } * }) */ - findUnique(args: SelectSubset>): Prisma__MClient<$Result.GetResult, T, "findUnique"> | null, null, ExtArgs> + findUnique(args: SelectSubset>): Prisma__MClient<$Result.GetResult, T, "findUnique", ClientOptions> | null, null, ExtArgs, ClientOptions> /** * Find one M that matches the filter or throw an error with \`error.code='P2025'\` @@ -5991,7 +6165,7 @@ export namespace Prisma { * } * }) */ - findUniqueOrThrow(args: SelectSubset>): Prisma__MClient<$Result.GetResult, T, "findUniqueOrThrow">, never, ExtArgs> + findUniqueOrThrow(args: SelectSubset>): Prisma__MClient<$Result.GetResult, T, "findUniqueOrThrow", ClientOptions>, never, ExtArgs, ClientOptions> /** * Find the first M that matches the filter. @@ -6006,7 +6180,7 @@ export namespace Prisma { * } * }) */ - findFirst(args?: SelectSubset>): Prisma__MClient<$Result.GetResult, T, "findFirst"> | null, null, ExtArgs> + findFirst(args?: SelectSubset>): Prisma__MClient<$Result.GetResult, T, "findFirst", ClientOptions> | null, null, ExtArgs, ClientOptions> /** * Find the first M that matches the filter or @@ -6022,7 +6196,7 @@ export namespace Prisma { * } * }) */ - findFirstOrThrow(args?: SelectSubset>): Prisma__MClient<$Result.GetResult, T, "findFirstOrThrow">, never, ExtArgs> + findFirstOrThrow(args?: SelectSubset>): Prisma__MClient<$Result.GetResult, T, "findFirstOrThrow", ClientOptions>, never, ExtArgs, ClientOptions> /** * Find zero or more Ms that matches the filter. @@ -6040,7 +6214,7 @@ export namespace Prisma { * const mWithIdOnly = await prisma.m.findMany({ select: { id: true } }) * */ - findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany">> + findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", ClientOptions>> /** * Create a M. @@ -6054,7 +6228,7 @@ export namespace Prisma { * }) * */ - create(args: SelectSubset>): Prisma__MClient<$Result.GetResult, T, "create">, never, ExtArgs> + create(args: SelectSubset>): Prisma__MClient<$Result.GetResult, T, "create", ClientOptions>, never, ExtArgs, ClientOptions> /** * Create many Ms. @@ -6082,7 +6256,7 @@ export namespace Prisma { * }) * */ - delete(args: SelectSubset>): Prisma__MClient<$Result.GetResult, T, "delete">, never, ExtArgs> + delete(args: SelectSubset>): Prisma__MClient<$Result.GetResult, T, "delete", ClientOptions>, never, ExtArgs, ClientOptions> /** * Update one M. @@ -6099,7 +6273,7 @@ export namespace Prisma { * }) * */ - update(args: SelectSubset>): Prisma__MClient<$Result.GetResult, T, "update">, never, ExtArgs> + update(args: SelectSubset>): Prisma__MClient<$Result.GetResult, T, "update", ClientOptions>, never, ExtArgs, ClientOptions> /** * Delete zero or more Ms. @@ -6151,7 +6325,7 @@ export namespace Prisma { * } * }) */ - upsert(args: SelectSubset>): Prisma__MClient<$Result.GetResult, T, "upsert">, never, ExtArgs> + upsert(args: SelectSubset>): Prisma__MClient<$Result.GetResult, T, "upsert", ClientOptions>, never, ExtArgs, ClientOptions> /** * Find zero or more Ms that matches the filter. @@ -6314,9 +6488,9 @@ export namespace Prisma { * Because we want to prevent naming conflicts as mentioned in * https://github.com/prisma/prisma-client-js/issues/707 */ - export interface Prisma__MClient extends Prisma.PrismaPromise { + export interface Prisma__MClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" - n = {}>(args?: Subset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany"> | Null> + n = {}>(args?: Subset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", ClientOptions> | Null> /** * Attaches callbacks for the resolution and/or rejection of the Promise. * @param onfulfilled The callback to execute when the Promise is resolved. @@ -6372,6 +6546,10 @@ export namespace Prisma { * Select specific fields to fetch from the M */ select?: MSelect | null + /** + * Omit specific fields from the M + */ + omit?: MOmit | null /** * Choose, which related nodes to fetch as well */ @@ -6390,6 +6568,10 @@ export namespace Prisma { * Select specific fields to fetch from the M */ select?: MSelect | null + /** + * Omit specific fields from the M + */ + omit?: MOmit | null /** * Choose, which related nodes to fetch as well */ @@ -6408,6 +6590,10 @@ export namespace Prisma { * Select specific fields to fetch from the M */ select?: MSelect | null + /** + * Omit specific fields from the M + */ + omit?: MOmit | null /** * Choose, which related nodes to fetch as well */ @@ -6456,6 +6642,10 @@ export namespace Prisma { * Select specific fields to fetch from the M */ select?: MSelect | null + /** + * Omit specific fields from the M + */ + omit?: MOmit | null /** * Choose, which related nodes to fetch as well */ @@ -6504,6 +6694,10 @@ export namespace Prisma { * Select specific fields to fetch from the M */ select?: MSelect | null + /** + * Omit specific fields from the M + */ + omit?: MOmit | null /** * Choose, which related nodes to fetch as well */ @@ -6547,6 +6741,10 @@ export namespace Prisma { * Select specific fields to fetch from the M */ select?: MSelect | null + /** + * Omit specific fields from the M + */ + omit?: MOmit | null /** * Choose, which related nodes to fetch as well */ @@ -6575,6 +6773,10 @@ export namespace Prisma { * Select specific fields to fetch from the M */ select?: MSelect | null + /** + * Omit specific fields from the M + */ + omit?: MOmit | null /** * Choose, which related nodes to fetch as well */ @@ -6611,6 +6813,10 @@ export namespace Prisma { * Select specific fields to fetch from the M */ select?: MSelect | null + /** + * Omit specific fields from the M + */ + omit?: MOmit | null /** * Choose, which related nodes to fetch as well */ @@ -6637,6 +6843,10 @@ export namespace Prisma { * Select specific fields to fetch from the M */ select?: MSelect | null + /** + * Omit specific fields from the M + */ + omit?: MOmit | null /** * Choose, which related nodes to fetch as well */ @@ -6693,6 +6903,10 @@ export namespace Prisma { * Select specific fields to fetch from the N */ select?: NSelect | null + /** + * Omit specific fields from the N + */ + omit?: NOmit | null /** * Choose, which related nodes to fetch as well */ @@ -6713,6 +6927,10 @@ export namespace Prisma { * Select specific fields to fetch from the M */ select?: MSelect | null + /** + * Omit specific fields from the M + */ + omit?: MOmit | null /** * Choose, which related nodes to fetch as well */ @@ -7013,6 +7231,7 @@ export namespace Prisma { optionalBoolean?: boolean } + export type NOmit = $Extensions.GetOmit<"id" | "m_ids" | "int" | "optionalInt" | "float" | "optionalFloat" | "string" | "optionalString" | "json" | "optionalJson" | "enum" | "optionalEnum" | "boolean" | "optionalBoolean", ExtArgs["result"]["n"]> export type NInclude = { m?: boolean | N$mArgs _count?: boolean | NCountOutputTypeDefaultArgs @@ -7045,11 +7264,11 @@ export namespace Prisma { type NGetPayload = $Result.GetResult type NCountArgs = - Omit & { + Omit & { select?: NCountAggregateInputType | true } - export interface NDelegate { + export interface NDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['N'], meta: { name: 'N' } } /** * Find zero or one N that matches the filter. @@ -7062,7 +7281,7 @@ export namespace Prisma { * } * }) */ - findUnique(args: SelectSubset>): Prisma__NClient<$Result.GetResult, T, "findUnique"> | null, null, ExtArgs> + findUnique(args: SelectSubset>): Prisma__NClient<$Result.GetResult, T, "findUnique", ClientOptions> | null, null, ExtArgs, ClientOptions> /** * Find one N that matches the filter or throw an error with \`error.code='P2025'\` @@ -7076,7 +7295,7 @@ export namespace Prisma { * } * }) */ - findUniqueOrThrow(args: SelectSubset>): Prisma__NClient<$Result.GetResult, T, "findUniqueOrThrow">, never, ExtArgs> + findUniqueOrThrow(args: SelectSubset>): Prisma__NClient<$Result.GetResult, T, "findUniqueOrThrow", ClientOptions>, never, ExtArgs, ClientOptions> /** * Find the first N that matches the filter. @@ -7091,7 +7310,7 @@ export namespace Prisma { * } * }) */ - findFirst(args?: SelectSubset>): Prisma__NClient<$Result.GetResult, T, "findFirst"> | null, null, ExtArgs> + findFirst(args?: SelectSubset>): Prisma__NClient<$Result.GetResult, T, "findFirst", ClientOptions> | null, null, ExtArgs, ClientOptions> /** * Find the first N that matches the filter or @@ -7107,7 +7326,7 @@ export namespace Prisma { * } * }) */ - findFirstOrThrow(args?: SelectSubset>): Prisma__NClient<$Result.GetResult, T, "findFirstOrThrow">, never, ExtArgs> + findFirstOrThrow(args?: SelectSubset>): Prisma__NClient<$Result.GetResult, T, "findFirstOrThrow", ClientOptions>, never, ExtArgs, ClientOptions> /** * Find zero or more Ns that matches the filter. @@ -7125,7 +7344,7 @@ export namespace Prisma { * const nWithIdOnly = await prisma.n.findMany({ select: { id: true } }) * */ - findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany">> + findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", ClientOptions>> /** * Create a N. @@ -7139,7 +7358,7 @@ export namespace Prisma { * }) * */ - create(args: SelectSubset>): Prisma__NClient<$Result.GetResult, T, "create">, never, ExtArgs> + create(args: SelectSubset>): Prisma__NClient<$Result.GetResult, T, "create", ClientOptions>, never, ExtArgs, ClientOptions> /** * Create many Ns. @@ -7167,7 +7386,7 @@ export namespace Prisma { * }) * */ - delete(args: SelectSubset>): Prisma__NClient<$Result.GetResult, T, "delete">, never, ExtArgs> + delete(args: SelectSubset>): Prisma__NClient<$Result.GetResult, T, "delete", ClientOptions>, never, ExtArgs, ClientOptions> /** * Update one N. @@ -7184,7 +7403,7 @@ export namespace Prisma { * }) * */ - update(args: SelectSubset>): Prisma__NClient<$Result.GetResult, T, "update">, never, ExtArgs> + update(args: SelectSubset>): Prisma__NClient<$Result.GetResult, T, "update", ClientOptions>, never, ExtArgs, ClientOptions> /** * Delete zero or more Ns. @@ -7236,7 +7455,7 @@ export namespace Prisma { * } * }) */ - upsert(args: SelectSubset>): Prisma__NClient<$Result.GetResult, T, "upsert">, never, ExtArgs> + upsert(args: SelectSubset>): Prisma__NClient<$Result.GetResult, T, "upsert", ClientOptions>, never, ExtArgs, ClientOptions> /** * Find zero or more Ns that matches the filter. @@ -7399,9 +7618,9 @@ export namespace Prisma { * Because we want to prevent naming conflicts as mentioned in * https://github.com/prisma/prisma-client-js/issues/707 */ - export interface Prisma__NClient extends Prisma.PrismaPromise { + export interface Prisma__NClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" - m = {}>(args?: Subset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany"> | Null> + m = {}>(args?: Subset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", ClientOptions> | Null> /** * Attaches callbacks for the resolution and/or rejection of the Promise. * @param onfulfilled The callback to execute when the Promise is resolved. @@ -7457,6 +7676,10 @@ export namespace Prisma { * Select specific fields to fetch from the N */ select?: NSelect | null + /** + * Omit specific fields from the N + */ + omit?: NOmit | null /** * Choose, which related nodes to fetch as well */ @@ -7475,6 +7698,10 @@ export namespace Prisma { * Select specific fields to fetch from the N */ select?: NSelect | null + /** + * Omit specific fields from the N + */ + omit?: NOmit | null /** * Choose, which related nodes to fetch as well */ @@ -7493,6 +7720,10 @@ export namespace Prisma { * Select specific fields to fetch from the N */ select?: NSelect | null + /** + * Omit specific fields from the N + */ + omit?: NOmit | null /** * Choose, which related nodes to fetch as well */ @@ -7541,6 +7772,10 @@ export namespace Prisma { * Select specific fields to fetch from the N */ select?: NSelect | null + /** + * Omit specific fields from the N + */ + omit?: NOmit | null /** * Choose, which related nodes to fetch as well */ @@ -7589,6 +7824,10 @@ export namespace Prisma { * Select specific fields to fetch from the N */ select?: NSelect | null + /** + * Omit specific fields from the N + */ + omit?: NOmit | null /** * Choose, which related nodes to fetch as well */ @@ -7632,6 +7871,10 @@ export namespace Prisma { * Select specific fields to fetch from the N */ select?: NSelect | null + /** + * Omit specific fields from the N + */ + omit?: NOmit | null /** * Choose, which related nodes to fetch as well */ @@ -7660,6 +7903,10 @@ export namespace Prisma { * Select specific fields to fetch from the N */ select?: NSelect | null + /** + * Omit specific fields from the N + */ + omit?: NOmit | null /** * Choose, which related nodes to fetch as well */ @@ -7696,6 +7943,10 @@ export namespace Prisma { * Select specific fields to fetch from the N */ select?: NSelect | null + /** + * Omit specific fields from the N + */ + omit?: NOmit | null /** * Choose, which related nodes to fetch as well */ @@ -7722,6 +7973,10 @@ export namespace Prisma { * Select specific fields to fetch from the N */ select?: NSelect | null + /** + * Omit specific fields from the N + */ + omit?: NOmit | null /** * Choose, which related nodes to fetch as well */ @@ -7778,6 +8033,10 @@ export namespace Prisma { * Select specific fields to fetch from the M */ select?: MSelect | null + /** + * Omit specific fields from the M + */ + omit?: MOmit | null /** * Choose, which related nodes to fetch as well */ @@ -7798,6 +8057,10 @@ export namespace Prisma { * Select specific fields to fetch from the N */ select?: NSelect | null + /** + * Omit specific fields from the N + */ + omit?: NOmit | null /** * Choose, which related nodes to fetch as well */ @@ -8093,6 +8356,7 @@ export namespace Prisma { optionalBoolean?: boolean } + export type OneOptionalOmit = $Extensions.GetOmit<"id" | "int" | "optionalInt" | "float" | "optionalFloat" | "string" | "optionalString" | "json" | "optionalJson" | "enum" | "optionalEnum" | "boolean" | "optionalBoolean", ExtArgs["result"]["oneOptional"]> export type OneOptionalInclude = { many?: boolean | OneOptional$manyArgs _count?: boolean | OneOptionalCountOutputTypeDefaultArgs @@ -8124,11 +8388,11 @@ export namespace Prisma { type OneOptionalGetPayload = $Result.GetResult type OneOptionalCountArgs = - Omit & { + Omit & { select?: OneOptionalCountAggregateInputType | true } - export interface OneOptionalDelegate { + export interface OneOptionalDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['OneOptional'], meta: { name: 'OneOptional' } } /** * Find zero or one OneOptional that matches the filter. @@ -8141,7 +8405,7 @@ export namespace Prisma { * } * }) */ - findUnique(args: SelectSubset>): Prisma__OneOptionalClient<$Result.GetResult, T, "findUnique"> | null, null, ExtArgs> + findUnique(args: SelectSubset>): Prisma__OneOptionalClient<$Result.GetResult, T, "findUnique", ClientOptions> | null, null, ExtArgs, ClientOptions> /** * Find one OneOptional that matches the filter or throw an error with \`error.code='P2025'\` @@ -8155,7 +8419,7 @@ export namespace Prisma { * } * }) */ - findUniqueOrThrow(args: SelectSubset>): Prisma__OneOptionalClient<$Result.GetResult, T, "findUniqueOrThrow">, never, ExtArgs> + findUniqueOrThrow(args: SelectSubset>): Prisma__OneOptionalClient<$Result.GetResult, T, "findUniqueOrThrow", ClientOptions>, never, ExtArgs, ClientOptions> /** * Find the first OneOptional that matches the filter. @@ -8170,7 +8434,7 @@ export namespace Prisma { * } * }) */ - findFirst(args?: SelectSubset>): Prisma__OneOptionalClient<$Result.GetResult, T, "findFirst"> | null, null, ExtArgs> + findFirst(args?: SelectSubset>): Prisma__OneOptionalClient<$Result.GetResult, T, "findFirst", ClientOptions> | null, null, ExtArgs, ClientOptions> /** * Find the first OneOptional that matches the filter or @@ -8186,7 +8450,7 @@ export namespace Prisma { * } * }) */ - findFirstOrThrow(args?: SelectSubset>): Prisma__OneOptionalClient<$Result.GetResult, T, "findFirstOrThrow">, never, ExtArgs> + findFirstOrThrow(args?: SelectSubset>): Prisma__OneOptionalClient<$Result.GetResult, T, "findFirstOrThrow", ClientOptions>, never, ExtArgs, ClientOptions> /** * Find zero or more OneOptionals that matches the filter. @@ -8204,7 +8468,7 @@ export namespace Prisma { * const oneOptionalWithIdOnly = await prisma.oneOptional.findMany({ select: { id: true } }) * */ - findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany">> + findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", ClientOptions>> /** * Create a OneOptional. @@ -8218,7 +8482,7 @@ export namespace Prisma { * }) * */ - create(args: SelectSubset>): Prisma__OneOptionalClient<$Result.GetResult, T, "create">, never, ExtArgs> + create(args: SelectSubset>): Prisma__OneOptionalClient<$Result.GetResult, T, "create", ClientOptions>, never, ExtArgs, ClientOptions> /** * Create many OneOptionals. @@ -8246,7 +8510,7 @@ export namespace Prisma { * }) * */ - delete(args: SelectSubset>): Prisma__OneOptionalClient<$Result.GetResult, T, "delete">, never, ExtArgs> + delete(args: SelectSubset>): Prisma__OneOptionalClient<$Result.GetResult, T, "delete", ClientOptions>, never, ExtArgs, ClientOptions> /** * Update one OneOptional. @@ -8263,7 +8527,7 @@ export namespace Prisma { * }) * */ - update(args: SelectSubset>): Prisma__OneOptionalClient<$Result.GetResult, T, "update">, never, ExtArgs> + update(args: SelectSubset>): Prisma__OneOptionalClient<$Result.GetResult, T, "update", ClientOptions>, never, ExtArgs, ClientOptions> /** * Delete zero or more OneOptionals. @@ -8315,7 +8579,7 @@ export namespace Prisma { * } * }) */ - upsert(args: SelectSubset>): Prisma__OneOptionalClient<$Result.GetResult, T, "upsert">, never, ExtArgs> + upsert(args: SelectSubset>): Prisma__OneOptionalClient<$Result.GetResult, T, "upsert", ClientOptions>, never, ExtArgs, ClientOptions> /** * Find zero or more OneOptionals that matches the filter. @@ -8478,9 +8742,9 @@ export namespace Prisma { * Because we want to prevent naming conflicts as mentioned in * https://github.com/prisma/prisma-client-js/issues/707 */ - export interface Prisma__OneOptionalClient extends Prisma.PrismaPromise { + export interface Prisma__OneOptionalClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" - many = {}>(args?: Subset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany"> | Null> + many = {}>(args?: Subset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", ClientOptions> | Null> /** * Attaches callbacks for the resolution and/or rejection of the Promise. * @param onfulfilled The callback to execute when the Promise is resolved. @@ -8535,6 +8799,10 @@ export namespace Prisma { * Select specific fields to fetch from the OneOptional */ select?: OneOptionalSelect | null + /** + * Omit specific fields from the OneOptional + */ + omit?: OneOptionalOmit | null /** * Choose, which related nodes to fetch as well */ @@ -8553,6 +8821,10 @@ export namespace Prisma { * Select specific fields to fetch from the OneOptional */ select?: OneOptionalSelect | null + /** + * Omit specific fields from the OneOptional + */ + omit?: OneOptionalOmit | null /** * Choose, which related nodes to fetch as well */ @@ -8571,6 +8843,10 @@ export namespace Prisma { * Select specific fields to fetch from the OneOptional */ select?: OneOptionalSelect | null + /** + * Omit specific fields from the OneOptional + */ + omit?: OneOptionalOmit | null /** * Choose, which related nodes to fetch as well */ @@ -8619,6 +8895,10 @@ export namespace Prisma { * Select specific fields to fetch from the OneOptional */ select?: OneOptionalSelect | null + /** + * Omit specific fields from the OneOptional + */ + omit?: OneOptionalOmit | null /** * Choose, which related nodes to fetch as well */ @@ -8667,6 +8947,10 @@ export namespace Prisma { * Select specific fields to fetch from the OneOptional */ select?: OneOptionalSelect | null + /** + * Omit specific fields from the OneOptional + */ + omit?: OneOptionalOmit | null /** * Choose, which related nodes to fetch as well */ @@ -8710,6 +8994,10 @@ export namespace Prisma { * Select specific fields to fetch from the OneOptional */ select?: OneOptionalSelect | null + /** + * Omit specific fields from the OneOptional + */ + omit?: OneOptionalOmit | null /** * Choose, which related nodes to fetch as well */ @@ -8738,6 +9026,10 @@ export namespace Prisma { * Select specific fields to fetch from the OneOptional */ select?: OneOptionalSelect | null + /** + * Omit specific fields from the OneOptional + */ + omit?: OneOptionalOmit | null /** * Choose, which related nodes to fetch as well */ @@ -8774,6 +9066,10 @@ export namespace Prisma { * Select specific fields to fetch from the OneOptional */ select?: OneOptionalSelect | null + /** + * Omit specific fields from the OneOptional + */ + omit?: OneOptionalOmit | null /** * Choose, which related nodes to fetch as well */ @@ -8800,6 +9096,10 @@ export namespace Prisma { * Select specific fields to fetch from the OneOptional */ select?: OneOptionalSelect | null + /** + * Omit specific fields from the OneOptional + */ + omit?: OneOptionalOmit | null /** * Choose, which related nodes to fetch as well */ @@ -8856,6 +9156,10 @@ export namespace Prisma { * Select specific fields to fetch from the ManyRequired */ select?: ManyRequiredSelect | null + /** + * Omit specific fields from the ManyRequired + */ + omit?: ManyRequiredOmit | null /** * Choose, which related nodes to fetch as well */ @@ -8876,6 +9180,10 @@ export namespace Prisma { * Select specific fields to fetch from the OneOptional */ select?: OneOptionalSelect | null + /** + * Omit specific fields from the OneOptional + */ + omit?: OneOptionalOmit | null /** * Choose, which related nodes to fetch as well */ @@ -9179,6 +9487,7 @@ export namespace Prisma { optionalBoolean?: boolean } + export type ManyRequiredOmit = $Extensions.GetOmit<"id" | "oneOptionalId" | "int" | "optionalInt" | "float" | "optionalFloat" | "string" | "optionalString" | "json" | "optionalJson" | "enum" | "optionalEnum" | "boolean" | "optionalBoolean", ExtArgs["result"]["manyRequired"]> export type ManyRequiredInclude = { one?: boolean | ManyRequired$oneArgs } @@ -9210,11 +9519,11 @@ export namespace Prisma { type ManyRequiredGetPayload = $Result.GetResult type ManyRequiredCountArgs = - Omit & { + Omit & { select?: ManyRequiredCountAggregateInputType | true } - export interface ManyRequiredDelegate { + export interface ManyRequiredDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['ManyRequired'], meta: { name: 'ManyRequired' } } /** * Find zero or one ManyRequired that matches the filter. @@ -9227,7 +9536,7 @@ export namespace Prisma { * } * }) */ - findUnique(args: SelectSubset>): Prisma__ManyRequiredClient<$Result.GetResult, T, "findUnique"> | null, null, ExtArgs> + findUnique(args: SelectSubset>): Prisma__ManyRequiredClient<$Result.GetResult, T, "findUnique", ClientOptions> | null, null, ExtArgs, ClientOptions> /** * Find one ManyRequired that matches the filter or throw an error with \`error.code='P2025'\` @@ -9241,7 +9550,7 @@ export namespace Prisma { * } * }) */ - findUniqueOrThrow(args: SelectSubset>): Prisma__ManyRequiredClient<$Result.GetResult, T, "findUniqueOrThrow">, never, ExtArgs> + findUniqueOrThrow(args: SelectSubset>): Prisma__ManyRequiredClient<$Result.GetResult, T, "findUniqueOrThrow", ClientOptions>, never, ExtArgs, ClientOptions> /** * Find the first ManyRequired that matches the filter. @@ -9256,7 +9565,7 @@ export namespace Prisma { * } * }) */ - findFirst(args?: SelectSubset>): Prisma__ManyRequiredClient<$Result.GetResult, T, "findFirst"> | null, null, ExtArgs> + findFirst(args?: SelectSubset>): Prisma__ManyRequiredClient<$Result.GetResult, T, "findFirst", ClientOptions> | null, null, ExtArgs, ClientOptions> /** * Find the first ManyRequired that matches the filter or @@ -9272,7 +9581,7 @@ export namespace Prisma { * } * }) */ - findFirstOrThrow(args?: SelectSubset>): Prisma__ManyRequiredClient<$Result.GetResult, T, "findFirstOrThrow">, never, ExtArgs> + findFirstOrThrow(args?: SelectSubset>): Prisma__ManyRequiredClient<$Result.GetResult, T, "findFirstOrThrow", ClientOptions>, never, ExtArgs, ClientOptions> /** * Find zero or more ManyRequireds that matches the filter. @@ -9290,7 +9599,7 @@ export namespace Prisma { * const manyRequiredWithIdOnly = await prisma.manyRequired.findMany({ select: { id: true } }) * */ - findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany">> + findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", ClientOptions>> /** * Create a ManyRequired. @@ -9304,7 +9613,7 @@ export namespace Prisma { * }) * */ - create(args: SelectSubset>): Prisma__ManyRequiredClient<$Result.GetResult, T, "create">, never, ExtArgs> + create(args: SelectSubset>): Prisma__ManyRequiredClient<$Result.GetResult, T, "create", ClientOptions>, never, ExtArgs, ClientOptions> /** * Create many ManyRequireds. @@ -9332,7 +9641,7 @@ export namespace Prisma { * }) * */ - delete(args: SelectSubset>): Prisma__ManyRequiredClient<$Result.GetResult, T, "delete">, never, ExtArgs> + delete(args: SelectSubset>): Prisma__ManyRequiredClient<$Result.GetResult, T, "delete", ClientOptions>, never, ExtArgs, ClientOptions> /** * Update one ManyRequired. @@ -9349,7 +9658,7 @@ export namespace Prisma { * }) * */ - update(args: SelectSubset>): Prisma__ManyRequiredClient<$Result.GetResult, T, "update">, never, ExtArgs> + update(args: SelectSubset>): Prisma__ManyRequiredClient<$Result.GetResult, T, "update", ClientOptions>, never, ExtArgs, ClientOptions> /** * Delete zero or more ManyRequireds. @@ -9401,7 +9710,7 @@ export namespace Prisma { * } * }) */ - upsert(args: SelectSubset>): Prisma__ManyRequiredClient<$Result.GetResult, T, "upsert">, never, ExtArgs> + upsert(args: SelectSubset>): Prisma__ManyRequiredClient<$Result.GetResult, T, "upsert", ClientOptions>, never, ExtArgs, ClientOptions> /** * Find zero or more ManyRequireds that matches the filter. @@ -9564,9 +9873,9 @@ export namespace Prisma { * Because we want to prevent naming conflicts as mentioned in * https://github.com/prisma/prisma-client-js/issues/707 */ - export interface Prisma__ManyRequiredClient extends Prisma.PrismaPromise { + export interface Prisma__ManyRequiredClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" - one = {}>(args?: Subset>): Prisma__OneOptionalClient<$Result.GetResult, T, "findUniqueOrThrow"> | null, null, ExtArgs> + one = {}>(args?: Subset>): Prisma__OneOptionalClient<$Result.GetResult, T, "findUniqueOrThrow", ClientOptions> | null, null, ExtArgs, ClientOptions> /** * Attaches callbacks for the resolution and/or rejection of the Promise. * @param onfulfilled The callback to execute when the Promise is resolved. @@ -9622,6 +9931,10 @@ export namespace Prisma { * Select specific fields to fetch from the ManyRequired */ select?: ManyRequiredSelect | null + /** + * Omit specific fields from the ManyRequired + */ + omit?: ManyRequiredOmit | null /** * Choose, which related nodes to fetch as well */ @@ -9640,6 +9953,10 @@ export namespace Prisma { * Select specific fields to fetch from the ManyRequired */ select?: ManyRequiredSelect | null + /** + * Omit specific fields from the ManyRequired + */ + omit?: ManyRequiredOmit | null /** * Choose, which related nodes to fetch as well */ @@ -9658,6 +9975,10 @@ export namespace Prisma { * Select specific fields to fetch from the ManyRequired */ select?: ManyRequiredSelect | null + /** + * Omit specific fields from the ManyRequired + */ + omit?: ManyRequiredOmit | null /** * Choose, which related nodes to fetch as well */ @@ -9706,6 +10027,10 @@ export namespace Prisma { * Select specific fields to fetch from the ManyRequired */ select?: ManyRequiredSelect | null + /** + * Omit specific fields from the ManyRequired + */ + omit?: ManyRequiredOmit | null /** * Choose, which related nodes to fetch as well */ @@ -9754,6 +10079,10 @@ export namespace Prisma { * Select specific fields to fetch from the ManyRequired */ select?: ManyRequiredSelect | null + /** + * Omit specific fields from the ManyRequired + */ + omit?: ManyRequiredOmit | null /** * Choose, which related nodes to fetch as well */ @@ -9797,6 +10126,10 @@ export namespace Prisma { * Select specific fields to fetch from the ManyRequired */ select?: ManyRequiredSelect | null + /** + * Omit specific fields from the ManyRequired + */ + omit?: ManyRequiredOmit | null /** * Choose, which related nodes to fetch as well */ @@ -9825,6 +10158,10 @@ export namespace Prisma { * Select specific fields to fetch from the ManyRequired */ select?: ManyRequiredSelect | null + /** + * Omit specific fields from the ManyRequired + */ + omit?: ManyRequiredOmit | null /** * Choose, which related nodes to fetch as well */ @@ -9861,6 +10198,10 @@ export namespace Prisma { * Select specific fields to fetch from the ManyRequired */ select?: ManyRequiredSelect | null + /** + * Omit specific fields from the ManyRequired + */ + omit?: ManyRequiredOmit | null /** * Choose, which related nodes to fetch as well */ @@ -9887,6 +10228,10 @@ export namespace Prisma { * Select specific fields to fetch from the ManyRequired */ select?: ManyRequiredSelect | null + /** + * Omit specific fields from the ManyRequired + */ + omit?: ManyRequiredOmit | null /** * Choose, which related nodes to fetch as well */ @@ -9943,6 +10288,10 @@ export namespace Prisma { * Select specific fields to fetch from the OneOptional */ select?: OneOptionalSelect | null + /** + * Omit specific fields from the OneOptional + */ + omit?: OneOptionalOmit | null /** * Choose, which related nodes to fetch as well */ @@ -9958,6 +10307,10 @@ export namespace Prisma { * Select specific fields to fetch from the ManyRequired */ select?: ManyRequiredSelect | null + /** + * Omit specific fields from the ManyRequired + */ + omit?: ManyRequiredOmit | null /** * Choose, which related nodes to fetch as well */ @@ -10261,6 +10614,7 @@ export namespace Prisma { optionalBoolean?: boolean } + export type OptionalSide1Omit = $Extensions.GetOmit<"id" | "optionalSide2Id" | "int" | "optionalInt" | "float" | "optionalFloat" | "string" | "optionalString" | "json" | "optionalJson" | "enum" | "optionalEnum" | "boolean" | "optionalBoolean", ExtArgs["result"]["optionalSide1"]> export type OptionalSide1Include = { opti?: boolean | OptionalSide1$optiArgs } @@ -10292,11 +10646,11 @@ export namespace Prisma { type OptionalSide1GetPayload = $Result.GetResult type OptionalSide1CountArgs = - Omit & { + Omit & { select?: OptionalSide1CountAggregateInputType | true } - export interface OptionalSide1Delegate { + export interface OptionalSide1Delegate { [K: symbol]: { types: Prisma.TypeMap['model']['OptionalSide1'], meta: { name: 'OptionalSide1' } } /** * Find zero or one OptionalSide1 that matches the filter. @@ -10309,7 +10663,7 @@ export namespace Prisma { * } * }) */ - findUnique(args: SelectSubset>): Prisma__OptionalSide1Client<$Result.GetResult, T, "findUnique"> | null, null, ExtArgs> + findUnique(args: SelectSubset>): Prisma__OptionalSide1Client<$Result.GetResult, T, "findUnique", ClientOptions> | null, null, ExtArgs, ClientOptions> /** * Find one OptionalSide1 that matches the filter or throw an error with \`error.code='P2025'\` @@ -10323,7 +10677,7 @@ export namespace Prisma { * } * }) */ - findUniqueOrThrow(args: SelectSubset>): Prisma__OptionalSide1Client<$Result.GetResult, T, "findUniqueOrThrow">, never, ExtArgs> + findUniqueOrThrow(args: SelectSubset>): Prisma__OptionalSide1Client<$Result.GetResult, T, "findUniqueOrThrow", ClientOptions>, never, ExtArgs, ClientOptions> /** * Find the first OptionalSide1 that matches the filter. @@ -10338,7 +10692,7 @@ export namespace Prisma { * } * }) */ - findFirst(args?: SelectSubset>): Prisma__OptionalSide1Client<$Result.GetResult, T, "findFirst"> | null, null, ExtArgs> + findFirst(args?: SelectSubset>): Prisma__OptionalSide1Client<$Result.GetResult, T, "findFirst", ClientOptions> | null, null, ExtArgs, ClientOptions> /** * Find the first OptionalSide1 that matches the filter or @@ -10354,7 +10708,7 @@ export namespace Prisma { * } * }) */ - findFirstOrThrow(args?: SelectSubset>): Prisma__OptionalSide1Client<$Result.GetResult, T, "findFirstOrThrow">, never, ExtArgs> + findFirstOrThrow(args?: SelectSubset>): Prisma__OptionalSide1Client<$Result.GetResult, T, "findFirstOrThrow", ClientOptions>, never, ExtArgs, ClientOptions> /** * Find zero or more OptionalSide1s that matches the filter. @@ -10372,7 +10726,7 @@ export namespace Prisma { * const optionalSide1WithIdOnly = await prisma.optionalSide1.findMany({ select: { id: true } }) * */ - findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany">> + findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", ClientOptions>> /** * Create a OptionalSide1. @@ -10386,7 +10740,7 @@ export namespace Prisma { * }) * */ - create(args: SelectSubset>): Prisma__OptionalSide1Client<$Result.GetResult, T, "create">, never, ExtArgs> + create(args: SelectSubset>): Prisma__OptionalSide1Client<$Result.GetResult, T, "create", ClientOptions>, never, ExtArgs, ClientOptions> /** * Create many OptionalSide1s. @@ -10414,7 +10768,7 @@ export namespace Prisma { * }) * */ - delete(args: SelectSubset>): Prisma__OptionalSide1Client<$Result.GetResult, T, "delete">, never, ExtArgs> + delete(args: SelectSubset>): Prisma__OptionalSide1Client<$Result.GetResult, T, "delete", ClientOptions>, never, ExtArgs, ClientOptions> /** * Update one OptionalSide1. @@ -10431,7 +10785,7 @@ export namespace Prisma { * }) * */ - update(args: SelectSubset>): Prisma__OptionalSide1Client<$Result.GetResult, T, "update">, never, ExtArgs> + update(args: SelectSubset>): Prisma__OptionalSide1Client<$Result.GetResult, T, "update", ClientOptions>, never, ExtArgs, ClientOptions> /** * Delete zero or more OptionalSide1s. @@ -10483,7 +10837,7 @@ export namespace Prisma { * } * }) */ - upsert(args: SelectSubset>): Prisma__OptionalSide1Client<$Result.GetResult, T, "upsert">, never, ExtArgs> + upsert(args: SelectSubset>): Prisma__OptionalSide1Client<$Result.GetResult, T, "upsert", ClientOptions>, never, ExtArgs, ClientOptions> /** * Find zero or more OptionalSide1s that matches the filter. @@ -10646,9 +11000,9 @@ export namespace Prisma { * Because we want to prevent naming conflicts as mentioned in * https://github.com/prisma/prisma-client-js/issues/707 */ - export interface Prisma__OptionalSide1Client extends Prisma.PrismaPromise { + export interface Prisma__OptionalSide1Client extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" - opti = {}>(args?: Subset>): Prisma__OptionalSide2Client<$Result.GetResult, T, "findUniqueOrThrow"> | null, null, ExtArgs> + opti = {}>(args?: Subset>): Prisma__OptionalSide2Client<$Result.GetResult, T, "findUniqueOrThrow", ClientOptions> | null, null, ExtArgs, ClientOptions> /** * Attaches callbacks for the resolution and/or rejection of the Promise. * @param onfulfilled The callback to execute when the Promise is resolved. @@ -10704,6 +11058,10 @@ export namespace Prisma { * Select specific fields to fetch from the OptionalSide1 */ select?: OptionalSide1Select | null + /** + * Omit specific fields from the OptionalSide1 + */ + omit?: OptionalSide1Omit | null /** * Choose, which related nodes to fetch as well */ @@ -10722,6 +11080,10 @@ export namespace Prisma { * Select specific fields to fetch from the OptionalSide1 */ select?: OptionalSide1Select | null + /** + * Omit specific fields from the OptionalSide1 + */ + omit?: OptionalSide1Omit | null /** * Choose, which related nodes to fetch as well */ @@ -10740,6 +11102,10 @@ export namespace Prisma { * Select specific fields to fetch from the OptionalSide1 */ select?: OptionalSide1Select | null + /** + * Omit specific fields from the OptionalSide1 + */ + omit?: OptionalSide1Omit | null /** * Choose, which related nodes to fetch as well */ @@ -10788,6 +11154,10 @@ export namespace Prisma { * Select specific fields to fetch from the OptionalSide1 */ select?: OptionalSide1Select | null + /** + * Omit specific fields from the OptionalSide1 + */ + omit?: OptionalSide1Omit | null /** * Choose, which related nodes to fetch as well */ @@ -10836,6 +11206,10 @@ export namespace Prisma { * Select specific fields to fetch from the OptionalSide1 */ select?: OptionalSide1Select | null + /** + * Omit specific fields from the OptionalSide1 + */ + omit?: OptionalSide1Omit | null /** * Choose, which related nodes to fetch as well */ @@ -10879,6 +11253,10 @@ export namespace Prisma { * Select specific fields to fetch from the OptionalSide1 */ select?: OptionalSide1Select | null + /** + * Omit specific fields from the OptionalSide1 + */ + omit?: OptionalSide1Omit | null /** * Choose, which related nodes to fetch as well */ @@ -10907,6 +11285,10 @@ export namespace Prisma { * Select specific fields to fetch from the OptionalSide1 */ select?: OptionalSide1Select | null + /** + * Omit specific fields from the OptionalSide1 + */ + omit?: OptionalSide1Omit | null /** * Choose, which related nodes to fetch as well */ @@ -10943,6 +11325,10 @@ export namespace Prisma { * Select specific fields to fetch from the OptionalSide1 */ select?: OptionalSide1Select | null + /** + * Omit specific fields from the OptionalSide1 + */ + omit?: OptionalSide1Omit | null /** * Choose, which related nodes to fetch as well */ @@ -10969,6 +11355,10 @@ export namespace Prisma { * Select specific fields to fetch from the OptionalSide1 */ select?: OptionalSide1Select | null + /** + * Omit specific fields from the OptionalSide1 + */ + omit?: OptionalSide1Omit | null /** * Choose, which related nodes to fetch as well */ @@ -11025,6 +11415,10 @@ export namespace Prisma { * Select specific fields to fetch from the OptionalSide2 */ select?: OptionalSide2Select | null + /** + * Omit specific fields from the OptionalSide2 + */ + omit?: OptionalSide2Omit | null /** * Choose, which related nodes to fetch as well */ @@ -11040,6 +11434,10 @@ export namespace Prisma { * Select specific fields to fetch from the OptionalSide1 */ select?: OptionalSide1Select | null + /** + * Omit specific fields from the OptionalSide1 + */ + omit?: OptionalSide1Omit | null /** * Choose, which related nodes to fetch as well */ @@ -11334,6 +11732,7 @@ export namespace Prisma { optionalBoolean?: boolean } + export type OptionalSide2Omit = $Extensions.GetOmit<"id" | "int" | "optionalInt" | "float" | "optionalFloat" | "string" | "optionalString" | "json" | "optionalJson" | "enum" | "optionalEnum" | "boolean" | "optionalBoolean", ExtArgs["result"]["optionalSide2"]> export type OptionalSide2Include = { opti?: boolean | OptionalSide2$optiArgs } @@ -11364,11 +11763,11 @@ export namespace Prisma { type OptionalSide2GetPayload = $Result.GetResult type OptionalSide2CountArgs = - Omit & { + Omit & { select?: OptionalSide2CountAggregateInputType | true } - export interface OptionalSide2Delegate { + export interface OptionalSide2Delegate { [K: symbol]: { types: Prisma.TypeMap['model']['OptionalSide2'], meta: { name: 'OptionalSide2' } } /** * Find zero or one OptionalSide2 that matches the filter. @@ -11381,7 +11780,7 @@ export namespace Prisma { * } * }) */ - findUnique(args: SelectSubset>): Prisma__OptionalSide2Client<$Result.GetResult, T, "findUnique"> | null, null, ExtArgs> + findUnique(args: SelectSubset>): Prisma__OptionalSide2Client<$Result.GetResult, T, "findUnique", ClientOptions> | null, null, ExtArgs, ClientOptions> /** * Find one OptionalSide2 that matches the filter or throw an error with \`error.code='P2025'\` @@ -11395,7 +11794,7 @@ export namespace Prisma { * } * }) */ - findUniqueOrThrow(args: SelectSubset>): Prisma__OptionalSide2Client<$Result.GetResult, T, "findUniqueOrThrow">, never, ExtArgs> + findUniqueOrThrow(args: SelectSubset>): Prisma__OptionalSide2Client<$Result.GetResult, T, "findUniqueOrThrow", ClientOptions>, never, ExtArgs, ClientOptions> /** * Find the first OptionalSide2 that matches the filter. @@ -11410,7 +11809,7 @@ export namespace Prisma { * } * }) */ - findFirst(args?: SelectSubset>): Prisma__OptionalSide2Client<$Result.GetResult, T, "findFirst"> | null, null, ExtArgs> + findFirst(args?: SelectSubset>): Prisma__OptionalSide2Client<$Result.GetResult, T, "findFirst", ClientOptions> | null, null, ExtArgs, ClientOptions> /** * Find the first OptionalSide2 that matches the filter or @@ -11426,7 +11825,7 @@ export namespace Prisma { * } * }) */ - findFirstOrThrow(args?: SelectSubset>): Prisma__OptionalSide2Client<$Result.GetResult, T, "findFirstOrThrow">, never, ExtArgs> + findFirstOrThrow(args?: SelectSubset>): Prisma__OptionalSide2Client<$Result.GetResult, T, "findFirstOrThrow", ClientOptions>, never, ExtArgs, ClientOptions> /** * Find zero or more OptionalSide2s that matches the filter. @@ -11444,7 +11843,7 @@ export namespace Prisma { * const optionalSide2WithIdOnly = await prisma.optionalSide2.findMany({ select: { id: true } }) * */ - findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany">> + findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", ClientOptions>> /** * Create a OptionalSide2. @@ -11458,7 +11857,7 @@ export namespace Prisma { * }) * */ - create(args: SelectSubset>): Prisma__OptionalSide2Client<$Result.GetResult, T, "create">, never, ExtArgs> + create(args: SelectSubset>): Prisma__OptionalSide2Client<$Result.GetResult, T, "create", ClientOptions>, never, ExtArgs, ClientOptions> /** * Create many OptionalSide2s. @@ -11486,7 +11885,7 @@ export namespace Prisma { * }) * */ - delete(args: SelectSubset>): Prisma__OptionalSide2Client<$Result.GetResult, T, "delete">, never, ExtArgs> + delete(args: SelectSubset>): Prisma__OptionalSide2Client<$Result.GetResult, T, "delete", ClientOptions>, never, ExtArgs, ClientOptions> /** * Update one OptionalSide2. @@ -11503,7 +11902,7 @@ export namespace Prisma { * }) * */ - update(args: SelectSubset>): Prisma__OptionalSide2Client<$Result.GetResult, T, "update">, never, ExtArgs> + update(args: SelectSubset>): Prisma__OptionalSide2Client<$Result.GetResult, T, "update", ClientOptions>, never, ExtArgs, ClientOptions> /** * Delete zero or more OptionalSide2s. @@ -11555,7 +11954,7 @@ export namespace Prisma { * } * }) */ - upsert(args: SelectSubset>): Prisma__OptionalSide2Client<$Result.GetResult, T, "upsert">, never, ExtArgs> + upsert(args: SelectSubset>): Prisma__OptionalSide2Client<$Result.GetResult, T, "upsert", ClientOptions>, never, ExtArgs, ClientOptions> /** * Find zero or more OptionalSide2s that matches the filter. @@ -11718,9 +12117,9 @@ export namespace Prisma { * Because we want to prevent naming conflicts as mentioned in * https://github.com/prisma/prisma-client-js/issues/707 */ - export interface Prisma__OptionalSide2Client extends Prisma.PrismaPromise { + export interface Prisma__OptionalSide2Client extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" - opti = {}>(args?: Subset>): Prisma__OptionalSide1Client<$Result.GetResult, T, "findUniqueOrThrow"> | null, null, ExtArgs> + opti = {}>(args?: Subset>): Prisma__OptionalSide1Client<$Result.GetResult, T, "findUniqueOrThrow", ClientOptions> | null, null, ExtArgs, ClientOptions> /** * Attaches callbacks for the resolution and/or rejection of the Promise. * @param onfulfilled The callback to execute when the Promise is resolved. @@ -11775,6 +12174,10 @@ export namespace Prisma { * Select specific fields to fetch from the OptionalSide2 */ select?: OptionalSide2Select | null + /** + * Omit specific fields from the OptionalSide2 + */ + omit?: OptionalSide2Omit | null /** * Choose, which related nodes to fetch as well */ @@ -11793,6 +12196,10 @@ export namespace Prisma { * Select specific fields to fetch from the OptionalSide2 */ select?: OptionalSide2Select | null + /** + * Omit specific fields from the OptionalSide2 + */ + omit?: OptionalSide2Omit | null /** * Choose, which related nodes to fetch as well */ @@ -11811,6 +12218,10 @@ export namespace Prisma { * Select specific fields to fetch from the OptionalSide2 */ select?: OptionalSide2Select | null + /** + * Omit specific fields from the OptionalSide2 + */ + omit?: OptionalSide2Omit | null /** * Choose, which related nodes to fetch as well */ @@ -11859,6 +12270,10 @@ export namespace Prisma { * Select specific fields to fetch from the OptionalSide2 */ select?: OptionalSide2Select | null + /** + * Omit specific fields from the OptionalSide2 + */ + omit?: OptionalSide2Omit | null /** * Choose, which related nodes to fetch as well */ @@ -11907,6 +12322,10 @@ export namespace Prisma { * Select specific fields to fetch from the OptionalSide2 */ select?: OptionalSide2Select | null + /** + * Omit specific fields from the OptionalSide2 + */ + omit?: OptionalSide2Omit | null /** * Choose, which related nodes to fetch as well */ @@ -11950,6 +12369,10 @@ export namespace Prisma { * Select specific fields to fetch from the OptionalSide2 */ select?: OptionalSide2Select | null + /** + * Omit specific fields from the OptionalSide2 + */ + omit?: OptionalSide2Omit | null /** * Choose, which related nodes to fetch as well */ @@ -11978,6 +12401,10 @@ export namespace Prisma { * Select specific fields to fetch from the OptionalSide2 */ select?: OptionalSide2Select | null + /** + * Omit specific fields from the OptionalSide2 + */ + omit?: OptionalSide2Omit | null /** * Choose, which related nodes to fetch as well */ @@ -12014,6 +12441,10 @@ export namespace Prisma { * Select specific fields to fetch from the OptionalSide2 */ select?: OptionalSide2Select | null + /** + * Omit specific fields from the OptionalSide2 + */ + omit?: OptionalSide2Omit | null /** * Choose, which related nodes to fetch as well */ @@ -12040,6 +12471,10 @@ export namespace Prisma { * Select specific fields to fetch from the OptionalSide2 */ select?: OptionalSide2Select | null + /** + * Omit specific fields from the OptionalSide2 + */ + omit?: OptionalSide2Omit | null /** * Choose, which related nodes to fetch as well */ @@ -12096,6 +12531,10 @@ export namespace Prisma { * Select specific fields to fetch from the OptionalSide1 */ select?: OptionalSide1Select | null + /** + * Omit specific fields from the OptionalSide1 + */ + omit?: OptionalSide1Omit | null /** * Choose, which related nodes to fetch as well */ @@ -12111,6 +12550,10 @@ export namespace Prisma { * Select specific fields to fetch from the OptionalSide2 */ select?: OptionalSide2Select | null + /** + * Omit specific fields from the OptionalSide2 + */ + omit?: OptionalSide2Omit | null /** * Choose, which related nodes to fetch as well */ @@ -12345,6 +12788,7 @@ export namespace Prisma { bInt?: boolean } + export type AOmit = $Extensions.GetOmit<"id" | "email" | "name" | "int" | "sInt" | "bInt", ExtArgs["result"]["a"]> export type $APayload = { name: "A" @@ -12369,11 +12813,11 @@ export namespace Prisma { type AGetPayload = $Result.GetResult type ACountArgs = - Omit & { + Omit & { select?: ACountAggregateInputType | true } - export interface ADelegate { + export interface ADelegate { [K: symbol]: { types: Prisma.TypeMap['model']['A'], meta: { name: 'A' } } /** * Find zero or one A that matches the filter. @@ -12386,7 +12830,7 @@ export namespace Prisma { * } * }) */ - findUnique(args: SelectSubset>): Prisma__AClient<$Result.GetResult, T, "findUnique"> | null, null, ExtArgs> + findUnique(args: SelectSubset>): Prisma__AClient<$Result.GetResult, T, "findUnique", ClientOptions> | null, null, ExtArgs, ClientOptions> /** * Find one A that matches the filter or throw an error with \`error.code='P2025'\` @@ -12400,7 +12844,7 @@ export namespace Prisma { * } * }) */ - findUniqueOrThrow(args: SelectSubset>): Prisma__AClient<$Result.GetResult, T, "findUniqueOrThrow">, never, ExtArgs> + findUniqueOrThrow(args: SelectSubset>): Prisma__AClient<$Result.GetResult, T, "findUniqueOrThrow", ClientOptions>, never, ExtArgs, ClientOptions> /** * Find the first A that matches the filter. @@ -12415,7 +12859,7 @@ export namespace Prisma { * } * }) */ - findFirst(args?: SelectSubset>): Prisma__AClient<$Result.GetResult, T, "findFirst"> | null, null, ExtArgs> + findFirst(args?: SelectSubset>): Prisma__AClient<$Result.GetResult, T, "findFirst", ClientOptions> | null, null, ExtArgs, ClientOptions> /** * Find the first A that matches the filter or @@ -12431,7 +12875,7 @@ export namespace Prisma { * } * }) */ - findFirstOrThrow(args?: SelectSubset>): Prisma__AClient<$Result.GetResult, T, "findFirstOrThrow">, never, ExtArgs> + findFirstOrThrow(args?: SelectSubset>): Prisma__AClient<$Result.GetResult, T, "findFirstOrThrow", ClientOptions>, never, ExtArgs, ClientOptions> /** * Find zero or more As that matches the filter. @@ -12449,7 +12893,7 @@ export namespace Prisma { * const aWithIdOnly = await prisma.a.findMany({ select: { id: true } }) * */ - findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany">> + findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", ClientOptions>> /** * Create a A. @@ -12463,7 +12907,7 @@ export namespace Prisma { * }) * */ - create(args: SelectSubset>): Prisma__AClient<$Result.GetResult, T, "create">, never, ExtArgs> + create(args: SelectSubset>): Prisma__AClient<$Result.GetResult, T, "create", ClientOptions>, never, ExtArgs, ClientOptions> /** * Create many As. @@ -12491,7 +12935,7 @@ export namespace Prisma { * }) * */ - delete(args: SelectSubset>): Prisma__AClient<$Result.GetResult, T, "delete">, never, ExtArgs> + delete(args: SelectSubset>): Prisma__AClient<$Result.GetResult, T, "delete", ClientOptions>, never, ExtArgs, ClientOptions> /** * Update one A. @@ -12508,7 +12952,7 @@ export namespace Prisma { * }) * */ - update(args: SelectSubset>): Prisma__AClient<$Result.GetResult, T, "update">, never, ExtArgs> + update(args: SelectSubset>): Prisma__AClient<$Result.GetResult, T, "update", ClientOptions>, never, ExtArgs, ClientOptions> /** * Delete zero or more As. @@ -12560,7 +13004,7 @@ export namespace Prisma { * } * }) */ - upsert(args: SelectSubset>): Prisma__AClient<$Result.GetResult, T, "upsert">, never, ExtArgs> + upsert(args: SelectSubset>): Prisma__AClient<$Result.GetResult, T, "upsert", ClientOptions>, never, ExtArgs, ClientOptions> /** * Find zero or more As that matches the filter. @@ -12723,7 +13167,7 @@ export namespace Prisma { * Because we want to prevent naming conflicts as mentioned in * https://github.com/prisma/prisma-client-js/issues/707 */ - export interface Prisma__AClient extends Prisma.PrismaPromise { + export interface Prisma__AClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" /** * Attaches callbacks for the resolution and/or rejection of the Promise. @@ -12772,6 +13216,10 @@ export namespace Prisma { * Select specific fields to fetch from the A */ select?: ASelect | null + /** + * Omit specific fields from the A + */ + omit?: AOmit | null /** * Filter, which A to fetch. */ @@ -12786,6 +13234,10 @@ export namespace Prisma { * Select specific fields to fetch from the A */ select?: ASelect | null + /** + * Omit specific fields from the A + */ + omit?: AOmit | null /** * Filter, which A to fetch. */ @@ -12800,6 +13252,10 @@ export namespace Prisma { * Select specific fields to fetch from the A */ select?: ASelect | null + /** + * Omit specific fields from the A + */ + omit?: AOmit | null /** * Filter, which A to fetch. */ @@ -12844,6 +13300,10 @@ export namespace Prisma { * Select specific fields to fetch from the A */ select?: ASelect | null + /** + * Omit specific fields from the A + */ + omit?: AOmit | null /** * Filter, which A to fetch. */ @@ -12888,6 +13348,10 @@ export namespace Prisma { * Select specific fields to fetch from the A */ select?: ASelect | null + /** + * Omit specific fields from the A + */ + omit?: AOmit | null /** * Filter, which AS to fetch. */ @@ -12927,6 +13391,10 @@ export namespace Prisma { * Select specific fields to fetch from the A */ select?: ASelect | null + /** + * Omit specific fields from the A + */ + omit?: AOmit | null /** * The data needed to create a A. */ @@ -12951,6 +13419,10 @@ export namespace Prisma { * Select specific fields to fetch from the A */ select?: ASelect | null + /** + * Omit specific fields from the A + */ + omit?: AOmit | null /** * The data needed to update a A. */ @@ -12983,6 +13455,10 @@ export namespace Prisma { * Select specific fields to fetch from the A */ select?: ASelect | null + /** + * Omit specific fields from the A + */ + omit?: AOmit | null /** * The filter to search for the A to update in case it exists. */ @@ -13005,6 +13481,10 @@ export namespace Prisma { * Select specific fields to fetch from the A */ select?: ASelect | null + /** + * Omit specific fields from the A + */ + omit?: AOmit | null /** * Filter which A to delete. */ @@ -13057,6 +13537,10 @@ export namespace Prisma { * Select specific fields to fetch from the A */ select?: ASelect | null + /** + * Omit specific fields from the A + */ + omit?: AOmit | null } @@ -13256,6 +13740,7 @@ export namespace Prisma { dFloat?: boolean } + export type BOmit = $Extensions.GetOmit<"id" | "float" | "dFloat", ExtArgs["result"]["b"]> export type $BPayload = { name: "B" @@ -13271,11 +13756,11 @@ export namespace Prisma { type BGetPayload = $Result.GetResult type BCountArgs = - Omit & { + Omit & { select?: BCountAggregateInputType | true } - export interface BDelegate { + export interface BDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['B'], meta: { name: 'B' } } /** * Find zero or one B that matches the filter. @@ -13288,7 +13773,7 @@ export namespace Prisma { * } * }) */ - findUnique(args: SelectSubset>): Prisma__BClient<$Result.GetResult, T, "findUnique"> | null, null, ExtArgs> + findUnique(args: SelectSubset>): Prisma__BClient<$Result.GetResult, T, "findUnique", ClientOptions> | null, null, ExtArgs, ClientOptions> /** * Find one B that matches the filter or throw an error with \`error.code='P2025'\` @@ -13302,7 +13787,7 @@ export namespace Prisma { * } * }) */ - findUniqueOrThrow(args: SelectSubset>): Prisma__BClient<$Result.GetResult, T, "findUniqueOrThrow">, never, ExtArgs> + findUniqueOrThrow(args: SelectSubset>): Prisma__BClient<$Result.GetResult, T, "findUniqueOrThrow", ClientOptions>, never, ExtArgs, ClientOptions> /** * Find the first B that matches the filter. @@ -13317,7 +13802,7 @@ export namespace Prisma { * } * }) */ - findFirst(args?: SelectSubset>): Prisma__BClient<$Result.GetResult, T, "findFirst"> | null, null, ExtArgs> + findFirst(args?: SelectSubset>): Prisma__BClient<$Result.GetResult, T, "findFirst", ClientOptions> | null, null, ExtArgs, ClientOptions> /** * Find the first B that matches the filter or @@ -13333,7 +13818,7 @@ export namespace Prisma { * } * }) */ - findFirstOrThrow(args?: SelectSubset>): Prisma__BClient<$Result.GetResult, T, "findFirstOrThrow">, never, ExtArgs> + findFirstOrThrow(args?: SelectSubset>): Prisma__BClient<$Result.GetResult, T, "findFirstOrThrow", ClientOptions>, never, ExtArgs, ClientOptions> /** * Find zero or more Bs that matches the filter. @@ -13351,7 +13836,7 @@ export namespace Prisma { * const bWithIdOnly = await prisma.b.findMany({ select: { id: true } }) * */ - findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany">> + findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", ClientOptions>> /** * Create a B. @@ -13365,7 +13850,7 @@ export namespace Prisma { * }) * */ - create(args: SelectSubset>): Prisma__BClient<$Result.GetResult, T, "create">, never, ExtArgs> + create(args: SelectSubset>): Prisma__BClient<$Result.GetResult, T, "create", ClientOptions>, never, ExtArgs, ClientOptions> /** * Create many Bs. @@ -13393,7 +13878,7 @@ export namespace Prisma { * }) * */ - delete(args: SelectSubset>): Prisma__BClient<$Result.GetResult, T, "delete">, never, ExtArgs> + delete(args: SelectSubset>): Prisma__BClient<$Result.GetResult, T, "delete", ClientOptions>, never, ExtArgs, ClientOptions> /** * Update one B. @@ -13410,7 +13895,7 @@ export namespace Prisma { * }) * */ - update(args: SelectSubset>): Prisma__BClient<$Result.GetResult, T, "update">, never, ExtArgs> + update(args: SelectSubset>): Prisma__BClient<$Result.GetResult, T, "update", ClientOptions>, never, ExtArgs, ClientOptions> /** * Delete zero or more Bs. @@ -13462,7 +13947,7 @@ export namespace Prisma { * } * }) */ - upsert(args: SelectSubset>): Prisma__BClient<$Result.GetResult, T, "upsert">, never, ExtArgs> + upsert(args: SelectSubset>): Prisma__BClient<$Result.GetResult, T, "upsert", ClientOptions>, never, ExtArgs, ClientOptions> /** * Find zero or more Bs that matches the filter. @@ -13625,7 +14110,7 @@ export namespace Prisma { * Because we want to prevent naming conflicts as mentioned in * https://github.com/prisma/prisma-client-js/issues/707 */ - export interface Prisma__BClient extends Prisma.PrismaPromise { + export interface Prisma__BClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" /** * Attaches callbacks for the resolution and/or rejection of the Promise. @@ -13671,6 +14156,10 @@ export namespace Prisma { * Select specific fields to fetch from the B */ select?: BSelect | null + /** + * Omit specific fields from the B + */ + omit?: BOmit | null /** * Filter, which B to fetch. */ @@ -13685,6 +14174,10 @@ export namespace Prisma { * Select specific fields to fetch from the B */ select?: BSelect | null + /** + * Omit specific fields from the B + */ + omit?: BOmit | null /** * Filter, which B to fetch. */ @@ -13699,6 +14192,10 @@ export namespace Prisma { * Select specific fields to fetch from the B */ select?: BSelect | null + /** + * Omit specific fields from the B + */ + omit?: BOmit | null /** * Filter, which B to fetch. */ @@ -13743,6 +14240,10 @@ export namespace Prisma { * Select specific fields to fetch from the B */ select?: BSelect | null + /** + * Omit specific fields from the B + */ + omit?: BOmit | null /** * Filter, which B to fetch. */ @@ -13787,6 +14288,10 @@ export namespace Prisma { * Select specific fields to fetch from the B */ select?: BSelect | null + /** + * Omit specific fields from the B + */ + omit?: BOmit | null /** * Filter, which BS to fetch. */ @@ -13826,6 +14331,10 @@ export namespace Prisma { * Select specific fields to fetch from the B */ select?: BSelect | null + /** + * Omit specific fields from the B + */ + omit?: BOmit | null /** * The data needed to create a B. */ @@ -13850,6 +14359,10 @@ export namespace Prisma { * Select specific fields to fetch from the B */ select?: BSelect | null + /** + * Omit specific fields from the B + */ + omit?: BOmit | null /** * The data needed to update a B. */ @@ -13882,6 +14395,10 @@ export namespace Prisma { * Select specific fields to fetch from the B */ select?: BSelect | null + /** + * Omit specific fields from the B + */ + omit?: BOmit | null /** * The filter to search for the B to update in case it exists. */ @@ -13904,6 +14421,10 @@ export namespace Prisma { * Select specific fields to fetch from the B */ select?: BSelect | null + /** + * Omit specific fields from the B + */ + omit?: BOmit | null /** * Filter which B to delete. */ @@ -13956,6 +14477,10 @@ export namespace Prisma { * Select specific fields to fetch from the B */ select?: BSelect | null + /** + * Omit specific fields from the B + */ + omit?: BOmit | null } @@ -14153,6 +14678,7 @@ export namespace Prisma { uuid?: boolean } + export type COmit = $Extensions.GetOmit<"id" | "char" | "vChar" | "text" | "bit" | "vBit" | "uuid", ExtArgs["result"]["c"]> export type $CPayload = { name: "C" @@ -14172,11 +14698,11 @@ export namespace Prisma { type CGetPayload = $Result.GetResult type CCountArgs = - Omit & { + Omit & { select?: CCountAggregateInputType | true } - export interface CDelegate { + export interface CDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['C'], meta: { name: 'C' } } /** * Find zero or one C that matches the filter. @@ -14189,7 +14715,7 @@ export namespace Prisma { * } * }) */ - findUnique(args: SelectSubset>): Prisma__CClient<$Result.GetResult, T, "findUnique"> | null, null, ExtArgs> + findUnique(args: SelectSubset>): Prisma__CClient<$Result.GetResult, T, "findUnique", ClientOptions> | null, null, ExtArgs, ClientOptions> /** * Find one C that matches the filter or throw an error with \`error.code='P2025'\` @@ -14203,7 +14729,7 @@ export namespace Prisma { * } * }) */ - findUniqueOrThrow(args: SelectSubset>): Prisma__CClient<$Result.GetResult, T, "findUniqueOrThrow">, never, ExtArgs> + findUniqueOrThrow(args: SelectSubset>): Prisma__CClient<$Result.GetResult, T, "findUniqueOrThrow", ClientOptions>, never, ExtArgs, ClientOptions> /** * Find the first C that matches the filter. @@ -14218,7 +14744,7 @@ export namespace Prisma { * } * }) */ - findFirst(args?: SelectSubset>): Prisma__CClient<$Result.GetResult, T, "findFirst"> | null, null, ExtArgs> + findFirst(args?: SelectSubset>): Prisma__CClient<$Result.GetResult, T, "findFirst", ClientOptions> | null, null, ExtArgs, ClientOptions> /** * Find the first C that matches the filter or @@ -14234,7 +14760,7 @@ export namespace Prisma { * } * }) */ - findFirstOrThrow(args?: SelectSubset>): Prisma__CClient<$Result.GetResult, T, "findFirstOrThrow">, never, ExtArgs> + findFirstOrThrow(args?: SelectSubset>): Prisma__CClient<$Result.GetResult, T, "findFirstOrThrow", ClientOptions>, never, ExtArgs, ClientOptions> /** * Find zero or more Cs that matches the filter. @@ -14252,7 +14778,7 @@ export namespace Prisma { * const cWithIdOnly = await prisma.c.findMany({ select: { id: true } }) * */ - findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany">> + findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", ClientOptions>> /** * Create a C. @@ -14266,7 +14792,7 @@ export namespace Prisma { * }) * */ - create(args: SelectSubset>): Prisma__CClient<$Result.GetResult, T, "create">, never, ExtArgs> + create(args: SelectSubset>): Prisma__CClient<$Result.GetResult, T, "create", ClientOptions>, never, ExtArgs, ClientOptions> /** * Create many Cs. @@ -14294,7 +14820,7 @@ export namespace Prisma { * }) * */ - delete(args: SelectSubset>): Prisma__CClient<$Result.GetResult, T, "delete">, never, ExtArgs> + delete(args: SelectSubset>): Prisma__CClient<$Result.GetResult, T, "delete", ClientOptions>, never, ExtArgs, ClientOptions> /** * Update one C. @@ -14311,7 +14837,7 @@ export namespace Prisma { * }) * */ - update(args: SelectSubset>): Prisma__CClient<$Result.GetResult, T, "update">, never, ExtArgs> + update(args: SelectSubset>): Prisma__CClient<$Result.GetResult, T, "update", ClientOptions>, never, ExtArgs, ClientOptions> /** * Delete zero or more Cs. @@ -14363,7 +14889,7 @@ export namespace Prisma { * } * }) */ - upsert(args: SelectSubset>): Prisma__CClient<$Result.GetResult, T, "upsert">, never, ExtArgs> + upsert(args: SelectSubset>): Prisma__CClient<$Result.GetResult, T, "upsert", ClientOptions>, never, ExtArgs, ClientOptions> /** * Find zero or more Cs that matches the filter. @@ -14526,7 +15052,7 @@ export namespace Prisma { * Because we want to prevent naming conflicts as mentioned in * https://github.com/prisma/prisma-client-js/issues/707 */ - export interface Prisma__CClient extends Prisma.PrismaPromise { + export interface Prisma__CClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" /** * Attaches callbacks for the resolution and/or rejection of the Promise. @@ -14576,6 +15102,10 @@ export namespace Prisma { * Select specific fields to fetch from the C */ select?: CSelect | null + /** + * Omit specific fields from the C + */ + omit?: COmit | null /** * Filter, which C to fetch. */ @@ -14590,6 +15120,10 @@ export namespace Prisma { * Select specific fields to fetch from the C */ select?: CSelect | null + /** + * Omit specific fields from the C + */ + omit?: COmit | null /** * Filter, which C to fetch. */ @@ -14604,6 +15138,10 @@ export namespace Prisma { * Select specific fields to fetch from the C */ select?: CSelect | null + /** + * Omit specific fields from the C + */ + omit?: COmit | null /** * Filter, which C to fetch. */ @@ -14648,6 +15186,10 @@ export namespace Prisma { * Select specific fields to fetch from the C */ select?: CSelect | null + /** + * Omit specific fields from the C + */ + omit?: COmit | null /** * Filter, which C to fetch. */ @@ -14692,6 +15234,10 @@ export namespace Prisma { * Select specific fields to fetch from the C */ select?: CSelect | null + /** + * Omit specific fields from the C + */ + omit?: COmit | null /** * Filter, which CS to fetch. */ @@ -14731,6 +15277,10 @@ export namespace Prisma { * Select specific fields to fetch from the C */ select?: CSelect | null + /** + * Omit specific fields from the C + */ + omit?: COmit | null /** * The data needed to create a C. */ @@ -14755,6 +15305,10 @@ export namespace Prisma { * Select specific fields to fetch from the C */ select?: CSelect | null + /** + * Omit specific fields from the C + */ + omit?: COmit | null /** * The data needed to update a C. */ @@ -14787,6 +15341,10 @@ export namespace Prisma { * Select specific fields to fetch from the C */ select?: CSelect | null + /** + * Omit specific fields from the C + */ + omit?: COmit | null /** * The filter to search for the C to update in case it exists. */ @@ -14809,6 +15367,10 @@ export namespace Prisma { * Select specific fields to fetch from the C */ select?: CSelect | null + /** + * Omit specific fields from the C + */ + omit?: COmit | null /** * Filter which C to delete. */ @@ -14861,6 +15423,10 @@ export namespace Prisma { * Select specific fields to fetch from the C */ select?: CSelect | null + /** + * Omit specific fields from the C + */ + omit?: COmit | null } @@ -15080,6 +15646,7 @@ export namespace Prisma { list?: boolean } + export type DOmit = $Extensions.GetOmit<"id" | "bool" | "byteA" | "xml" | "json" | "jsonb" | "list", ExtArgs["result"]["d"]> export type $DPayload = { name: "D" @@ -15099,11 +15666,11 @@ export namespace Prisma { type DGetPayload = $Result.GetResult type DCountArgs = - Omit & { + Omit & { select?: DCountAggregateInputType | true } - export interface DDelegate { + export interface DDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['D'], meta: { name: 'D' } } /** * Find zero or one D that matches the filter. @@ -15116,7 +15683,7 @@ export namespace Prisma { * } * }) */ - findUnique(args: SelectSubset>): Prisma__DClient<$Result.GetResult, T, "findUnique"> | null, null, ExtArgs> + findUnique(args: SelectSubset>): Prisma__DClient<$Result.GetResult, T, "findUnique", ClientOptions> | null, null, ExtArgs, ClientOptions> /** * Find one D that matches the filter or throw an error with \`error.code='P2025'\` @@ -15130,7 +15697,7 @@ export namespace Prisma { * } * }) */ - findUniqueOrThrow(args: SelectSubset>): Prisma__DClient<$Result.GetResult, T, "findUniqueOrThrow">, never, ExtArgs> + findUniqueOrThrow(args: SelectSubset>): Prisma__DClient<$Result.GetResult, T, "findUniqueOrThrow", ClientOptions>, never, ExtArgs, ClientOptions> /** * Find the first D that matches the filter. @@ -15145,7 +15712,7 @@ export namespace Prisma { * } * }) */ - findFirst(args?: SelectSubset>): Prisma__DClient<$Result.GetResult, T, "findFirst"> | null, null, ExtArgs> + findFirst(args?: SelectSubset>): Prisma__DClient<$Result.GetResult, T, "findFirst", ClientOptions> | null, null, ExtArgs, ClientOptions> /** * Find the first D that matches the filter or @@ -15161,7 +15728,7 @@ export namespace Prisma { * } * }) */ - findFirstOrThrow(args?: SelectSubset>): Prisma__DClient<$Result.GetResult, T, "findFirstOrThrow">, never, ExtArgs> + findFirstOrThrow(args?: SelectSubset>): Prisma__DClient<$Result.GetResult, T, "findFirstOrThrow", ClientOptions>, never, ExtArgs, ClientOptions> /** * Find zero or more Ds that matches the filter. @@ -15179,7 +15746,7 @@ export namespace Prisma { * const dWithIdOnly = await prisma.d.findMany({ select: { id: true } }) * */ - findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany">> + findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", ClientOptions>> /** * Create a D. @@ -15193,7 +15760,7 @@ export namespace Prisma { * }) * */ - create(args: SelectSubset>): Prisma__DClient<$Result.GetResult, T, "create">, never, ExtArgs> + create(args: SelectSubset>): Prisma__DClient<$Result.GetResult, T, "create", ClientOptions>, never, ExtArgs, ClientOptions> /** * Create many Ds. @@ -15221,7 +15788,7 @@ export namespace Prisma { * }) * */ - delete(args: SelectSubset>): Prisma__DClient<$Result.GetResult, T, "delete">, never, ExtArgs> + delete(args: SelectSubset>): Prisma__DClient<$Result.GetResult, T, "delete", ClientOptions>, never, ExtArgs, ClientOptions> /** * Update one D. @@ -15238,7 +15805,7 @@ export namespace Prisma { * }) * */ - update(args: SelectSubset>): Prisma__DClient<$Result.GetResult, T, "update">, never, ExtArgs> + update(args: SelectSubset>): Prisma__DClient<$Result.GetResult, T, "update", ClientOptions>, never, ExtArgs, ClientOptions> /** * Delete zero or more Ds. @@ -15290,7 +15857,7 @@ export namespace Prisma { * } * }) */ - upsert(args: SelectSubset>): Prisma__DClient<$Result.GetResult, T, "upsert">, never, ExtArgs> + upsert(args: SelectSubset>): Prisma__DClient<$Result.GetResult, T, "upsert", ClientOptions>, never, ExtArgs, ClientOptions> /** * Find zero or more Ds that matches the filter. @@ -15453,7 +16020,7 @@ export namespace Prisma { * Because we want to prevent naming conflicts as mentioned in * https://github.com/prisma/prisma-client-js/issues/707 */ - export interface Prisma__DClient extends Prisma.PrismaPromise { + export interface Prisma__DClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" /** * Attaches callbacks for the resolution and/or rejection of the Promise. @@ -15503,6 +16070,10 @@ export namespace Prisma { * Select specific fields to fetch from the D */ select?: DSelect | null + /** + * Omit specific fields from the D + */ + omit?: DOmit | null /** * Filter, which D to fetch. */ @@ -15517,6 +16088,10 @@ export namespace Prisma { * Select specific fields to fetch from the D */ select?: DSelect | null + /** + * Omit specific fields from the D + */ + omit?: DOmit | null /** * Filter, which D to fetch. */ @@ -15531,6 +16106,10 @@ export namespace Prisma { * Select specific fields to fetch from the D */ select?: DSelect | null + /** + * Omit specific fields from the D + */ + omit?: DOmit | null /** * Filter, which D to fetch. */ @@ -15575,6 +16154,10 @@ export namespace Prisma { * Select specific fields to fetch from the D */ select?: DSelect | null + /** + * Omit specific fields from the D + */ + omit?: DOmit | null /** * Filter, which D to fetch. */ @@ -15619,6 +16202,10 @@ export namespace Prisma { * Select specific fields to fetch from the D */ select?: DSelect | null + /** + * Omit specific fields from the D + */ + omit?: DOmit | null /** * Filter, which DS to fetch. */ @@ -15658,6 +16245,10 @@ export namespace Prisma { * Select specific fields to fetch from the D */ select?: DSelect | null + /** + * Omit specific fields from the D + */ + omit?: DOmit | null /** * The data needed to create a D. */ @@ -15682,6 +16273,10 @@ export namespace Prisma { * Select specific fields to fetch from the D */ select?: DSelect | null + /** + * Omit specific fields from the D + */ + omit?: DOmit | null /** * The data needed to update a D. */ @@ -15714,6 +16309,10 @@ export namespace Prisma { * Select specific fields to fetch from the D */ select?: DSelect | null + /** + * Omit specific fields from the D + */ + omit?: DOmit | null /** * The filter to search for the D to update in case it exists. */ @@ -15736,6 +16335,10 @@ export namespace Prisma { * Select specific fields to fetch from the D */ select?: DSelect | null + /** + * Omit specific fields from the D + */ + omit?: DOmit | null /** * Filter which D to delete. */ @@ -15788,6 +16391,10 @@ export namespace Prisma { * Select specific fields to fetch from the D */ select?: DSelect | null + /** + * Omit specific fields from the D + */ + omit?: DOmit | null } @@ -15958,6 +16565,7 @@ export namespace Prisma { ts?: boolean } + export type EOmit = $Extensions.GetOmit<"id" | "date" | "time" | "ts", ExtArgs["result"]["e"]> export type $EPayload = { name: "E" @@ -15974,11 +16582,11 @@ export namespace Prisma { type EGetPayload = $Result.GetResult type ECountArgs = - Omit & { + Omit & { select?: ECountAggregateInputType | true } - export interface EDelegate { + export interface EDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['E'], meta: { name: 'E' } } /** * Find zero or one E that matches the filter. @@ -15991,7 +16599,7 @@ export namespace Prisma { * } * }) */ - findUnique(args: SelectSubset>): Prisma__EClient<$Result.GetResult, T, "findUnique"> | null, null, ExtArgs> + findUnique(args: SelectSubset>): Prisma__EClient<$Result.GetResult, T, "findUnique", ClientOptions> | null, null, ExtArgs, ClientOptions> /** * Find one E that matches the filter or throw an error with \`error.code='P2025'\` @@ -16005,7 +16613,7 @@ export namespace Prisma { * } * }) */ - findUniqueOrThrow(args: SelectSubset>): Prisma__EClient<$Result.GetResult, T, "findUniqueOrThrow">, never, ExtArgs> + findUniqueOrThrow(args: SelectSubset>): Prisma__EClient<$Result.GetResult, T, "findUniqueOrThrow", ClientOptions>, never, ExtArgs, ClientOptions> /** * Find the first E that matches the filter. @@ -16020,7 +16628,7 @@ export namespace Prisma { * } * }) */ - findFirst(args?: SelectSubset>): Prisma__EClient<$Result.GetResult, T, "findFirst"> | null, null, ExtArgs> + findFirst(args?: SelectSubset>): Prisma__EClient<$Result.GetResult, T, "findFirst", ClientOptions> | null, null, ExtArgs, ClientOptions> /** * Find the first E that matches the filter or @@ -16036,7 +16644,7 @@ export namespace Prisma { * } * }) */ - findFirstOrThrow(args?: SelectSubset>): Prisma__EClient<$Result.GetResult, T, "findFirstOrThrow">, never, ExtArgs> + findFirstOrThrow(args?: SelectSubset>): Prisma__EClient<$Result.GetResult, T, "findFirstOrThrow", ClientOptions>, never, ExtArgs, ClientOptions> /** * Find zero or more Es that matches the filter. @@ -16054,7 +16662,7 @@ export namespace Prisma { * const eWithIdOnly = await prisma.e.findMany({ select: { id: true } }) * */ - findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany">> + findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", ClientOptions>> /** * Create a E. @@ -16068,7 +16676,7 @@ export namespace Prisma { * }) * */ - create(args: SelectSubset>): Prisma__EClient<$Result.GetResult, T, "create">, never, ExtArgs> + create(args: SelectSubset>): Prisma__EClient<$Result.GetResult, T, "create", ClientOptions>, never, ExtArgs, ClientOptions> /** * Create many Es. @@ -16096,7 +16704,7 @@ export namespace Prisma { * }) * */ - delete(args: SelectSubset>): Prisma__EClient<$Result.GetResult, T, "delete">, never, ExtArgs> + delete(args: SelectSubset>): Prisma__EClient<$Result.GetResult, T, "delete", ClientOptions>, never, ExtArgs, ClientOptions> /** * Update one E. @@ -16113,7 +16721,7 @@ export namespace Prisma { * }) * */ - update(args: SelectSubset>): Prisma__EClient<$Result.GetResult, T, "update">, never, ExtArgs> + update(args: SelectSubset>): Prisma__EClient<$Result.GetResult, T, "update", ClientOptions>, never, ExtArgs, ClientOptions> /** * Delete zero or more Es. @@ -16165,7 +16773,7 @@ export namespace Prisma { * } * }) */ - upsert(args: SelectSubset>): Prisma__EClient<$Result.GetResult, T, "upsert">, never, ExtArgs> + upsert(args: SelectSubset>): Prisma__EClient<$Result.GetResult, T, "upsert", ClientOptions>, never, ExtArgs, ClientOptions> /** * Find zero or more Es that matches the filter. @@ -16328,7 +16936,7 @@ export namespace Prisma { * Because we want to prevent naming conflicts as mentioned in * https://github.com/prisma/prisma-client-js/issues/707 */ - export interface Prisma__EClient extends Prisma.PrismaPromise { + export interface Prisma__EClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" /** * Attaches callbacks for the resolution and/or rejection of the Promise. @@ -16375,6 +16983,10 @@ export namespace Prisma { * Select specific fields to fetch from the E */ select?: ESelect | null + /** + * Omit specific fields from the E + */ + omit?: EOmit | null /** * Filter, which E to fetch. */ @@ -16389,6 +17001,10 @@ export namespace Prisma { * Select specific fields to fetch from the E */ select?: ESelect | null + /** + * Omit specific fields from the E + */ + omit?: EOmit | null /** * Filter, which E to fetch. */ @@ -16403,6 +17019,10 @@ export namespace Prisma { * Select specific fields to fetch from the E */ select?: ESelect | null + /** + * Omit specific fields from the E + */ + omit?: EOmit | null /** * Filter, which E to fetch. */ @@ -16447,6 +17067,10 @@ export namespace Prisma { * Select specific fields to fetch from the E */ select?: ESelect | null + /** + * Omit specific fields from the E + */ + omit?: EOmit | null /** * Filter, which E to fetch. */ @@ -16491,6 +17115,10 @@ export namespace Prisma { * Select specific fields to fetch from the E */ select?: ESelect | null + /** + * Omit specific fields from the E + */ + omit?: EOmit | null /** * Filter, which ES to fetch. */ @@ -16530,6 +17158,10 @@ export namespace Prisma { * Select specific fields to fetch from the E */ select?: ESelect | null + /** + * Omit specific fields from the E + */ + omit?: EOmit | null /** * The data needed to create a E. */ @@ -16554,6 +17186,10 @@ export namespace Prisma { * Select specific fields to fetch from the E */ select?: ESelect | null + /** + * Omit specific fields from the E + */ + omit?: EOmit | null /** * The data needed to update a E. */ @@ -16586,6 +17222,10 @@ export namespace Prisma { * Select specific fields to fetch from the E */ select?: ESelect | null + /** + * Omit specific fields from the E + */ + omit?: EOmit | null /** * The filter to search for the E to update in case it exists. */ @@ -16608,6 +17248,10 @@ export namespace Prisma { * Select specific fields to fetch from the E */ select?: ESelect | null + /** + * Omit specific fields from the E + */ + omit?: EOmit | null /** * Filter which E to delete. */ @@ -16660,6 +17304,10 @@ export namespace Prisma { * Select specific fields to fetch from the E */ select?: ESelect | null + /** + * Omit specific fields from the E + */ + omit?: EOmit | null } diff --git a/packages/client/src/__tests__/integration/happy/not-so-exhaustive-schema-mongo/__snapshots__/library.test.ts.snap b/packages/client/src/__tests__/integration/happy/not-so-exhaustive-schema-mongo/__snapshots__/library.test.ts.snap index e2f55d2302db..67500bf35c09 100644 --- a/packages/client/src/__tests__/integration/happy/not-so-exhaustive-schema-mongo/__snapshots__/library.test.ts.snap +++ b/packages/client/src/__tests__/integration/happy/not-so-exhaustive-schema-mongo/__snapshots__/library.test.ts.snap @@ -557,7 +557,9 @@ export class PrismaClient< */ $runCommandRaw(command: Prisma.InputJsonObject): Prisma.PrismaPromise - $extends: $Extensions.ExtendsHook<"extends", Prisma.TypeMapCb, ExtArgs> + $extends: $Extensions.ExtendsHook<"extends", Prisma.TypeMapCb, ExtArgs, $Utils.Call, ClientOptions> /** * \`prisma.post\`: Exposes CRUD operations for the **Post** model. @@ -567,7 +569,7 @@ export class PrismaClient< * const posts = await prisma.post.findMany() * \`\`\` */ - get post(): Prisma.PostDelegate; + get post(): Prisma.PostDelegate; /** * \`prisma.user\`: Exposes CRUD operations for the **User** model. @@ -577,7 +579,7 @@ export class PrismaClient< * const users = await prisma.user.findMany() * \`\`\` */ - get user(): Prisma.UserDelegate; + get user(): Prisma.UserDelegate; /** * \`prisma.embedHolder\`: Exposes CRUD operations for the **EmbedHolder** model. @@ -587,7 +589,7 @@ export class PrismaClient< * const embedHolders = await prisma.embedHolder.findMany() * \`\`\` */ - get embedHolder(): Prisma.EmbedHolderDelegate; + get embedHolder(): Prisma.EmbedHolderDelegate; /** * \`prisma.m\`: Exposes CRUD operations for the **M** model. @@ -597,7 +599,7 @@ export class PrismaClient< * const ms = await prisma.m.findMany() * \`\`\` */ - get m(): Prisma.MDelegate; + get m(): Prisma.MDelegate; /** * \`prisma.n\`: Exposes CRUD operations for the **N** model. @@ -607,7 +609,7 @@ export class PrismaClient< * const ns = await prisma.n.findMany() * \`\`\` */ - get n(): Prisma.NDelegate; + get n(): Prisma.NDelegate; /** * \`prisma.oneOptional\`: Exposes CRUD operations for the **OneOptional** model. @@ -617,7 +619,7 @@ export class PrismaClient< * const oneOptionals = await prisma.oneOptional.findMany() * \`\`\` */ - get oneOptional(): Prisma.OneOptionalDelegate; + get oneOptional(): Prisma.OneOptionalDelegate; /** * \`prisma.manyRequired\`: Exposes CRUD operations for the **ManyRequired** model. @@ -627,7 +629,7 @@ export class PrismaClient< * const manyRequireds = await prisma.manyRequired.findMany() * \`\`\` */ - get manyRequired(): Prisma.ManyRequiredDelegate; + get manyRequired(): Prisma.ManyRequiredDelegate; /** * \`prisma.optionalSide1\`: Exposes CRUD operations for the **OptionalSide1** model. @@ -637,7 +639,7 @@ export class PrismaClient< * const optionalSide1s = await prisma.optionalSide1.findMany() * \`\`\` */ - get optionalSide1(): Prisma.OptionalSide1Delegate; + get optionalSide1(): Prisma.OptionalSide1Delegate; /** * \`prisma.optionalSide2\`: Exposes CRUD operations for the **OptionalSide2** model. @@ -647,7 +649,7 @@ export class PrismaClient< * const optionalSide2s = await prisma.optionalSide2.findMany() * \`\`\` */ - get optionalSide2(): Prisma.OptionalSide2Delegate; + get optionalSide2(): Prisma.OptionalSide2Delegate; /** * \`prisma.a\`: Exposes CRUD operations for the **A** model. @@ -657,7 +659,7 @@ export class PrismaClient< * const as = await prisma.a.findMany() * \`\`\` */ - get a(): Prisma.ADelegate; + get a(): Prisma.ADelegate; /** * \`prisma.b\`: Exposes CRUD operations for the **B** model. @@ -667,7 +669,7 @@ export class PrismaClient< * const bs = await prisma.b.findMany() * \`\`\` */ - get b(): Prisma.BDelegate; + get b(): Prisma.BDelegate; /** * \`prisma.c\`: Exposes CRUD operations for the **C** model. @@ -677,7 +679,7 @@ export class PrismaClient< * const cs = await prisma.c.findMany() * \`\`\` */ - get c(): Prisma.CDelegate; + get c(): Prisma.CDelegate; /** * \`prisma.d\`: Exposes CRUD operations for the **D** model. @@ -687,7 +689,7 @@ export class PrismaClient< * const ds = await prisma.d.findMany() * \`\`\` */ - get d(): Prisma.DDelegate; + get d(): Prisma.DDelegate; /** * \`prisma.e\`: Exposes CRUD operations for the **E** model. @@ -697,7 +699,7 @@ export class PrismaClient< * const es = await prisma.e.findMany() * \`\`\` */ - get e(): Prisma.EDelegate; + get e(): Prisma.EDelegate; } export namespace Prisma { @@ -2261,9 +2263,39 @@ export namespace Prisma { maxWait?: number timeout?: number } + /** + * Global configuration for omitting model fields by default. + * + * @example + * \`\`\` + * const prisma = new PrismaClient({ + * omit: { + * user: { + * password: true + * } + * } + * }) + * \`\`\` + */ + omit?: Prisma.GlobalOmitConfig + } + export type GlobalOmitConfig = { + post?: PostOmit + user?: UserOmit + embedHolder?: EmbedHolderOmit + m?: MOmit + n?: NOmit + oneOptional?: OneOptionalOmit + manyRequired?: ManyRequiredOmit + optionalSide1?: OptionalSide1Omit + optionalSide2?: OptionalSide2Omit + a?: AOmit + b?: BOmit + c?: COmit + d?: DOmit + e?: EOmit } - /* Types for Logging */ export type LogLevel = 'info' | 'query' | 'warn' | 'error' export type LogDefinition = { @@ -2535,6 +2567,7 @@ export namespace Prisma { scalarList?: boolean } + export type EmbedOmit = $Extensions.GetOmit<"text" | "boolean" | "embedEmbedList" | "requiredEmbedEmbed" | "optionalEmbedEmbed" | "scalarList", ExtArgs["result"]["embed"]> export type EmbedInclude = {} export type $EmbedPayload = { @@ -2577,6 +2610,10 @@ export namespace Prisma { * Select specific fields to fetch from the Embed */ select?: EmbedSelect | null + /** + * Omit specific fields from the Embed + */ + omit?: EmbedOmit | null /** * Choose, which related nodes to fetch as well */ @@ -2604,6 +2641,7 @@ export namespace Prisma { boolean?: boolean } + export type EmbedEmbedOmit = $Extensions.GetOmit<"text" | "boolean", ExtArgs["result"]["embedEmbed"]> export type $EmbedEmbedPayload = { name: "EmbedEmbed" @@ -2639,6 +2677,10 @@ export namespace Prisma { * Select specific fields to fetch from the EmbedEmbed */ select?: EmbedEmbedSelect | null + /** + * Omit specific fields from the EmbedEmbed + */ + omit?: EmbedEmbedOmit | null } @@ -2828,6 +2870,7 @@ export namespace Prisma { authorId?: boolean } + export type PostOmit = $Extensions.GetOmit<"id" | "createdAt" | "title" | "content" | "published" | "authorId", ExtArgs["result"]["post"]> export type PostInclude = { author?: boolean | UserDefaultArgs } @@ -2851,11 +2894,11 @@ export namespace Prisma { type PostGetPayload = $Result.GetResult type PostCountArgs = - Omit & { + Omit & { select?: PostCountAggregateInputType | true } - export interface PostDelegate { + export interface PostDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['Post'], meta: { name: 'Post' } } /** * Find zero or one Post that matches the filter. @@ -2868,7 +2911,7 @@ export namespace Prisma { * } * }) */ - findUnique(args: SelectSubset>): Prisma__PostClient<$Result.GetResult, T, "findUnique"> | null, null, ExtArgs> + findUnique(args: SelectSubset>): Prisma__PostClient<$Result.GetResult, T, "findUnique", ClientOptions> | null, null, ExtArgs, ClientOptions> /** * Find one Post that matches the filter or throw an error with \`error.code='P2025'\` @@ -2882,7 +2925,7 @@ export namespace Prisma { * } * }) */ - findUniqueOrThrow(args: SelectSubset>): Prisma__PostClient<$Result.GetResult, T, "findUniqueOrThrow">, never, ExtArgs> + findUniqueOrThrow(args: SelectSubset>): Prisma__PostClient<$Result.GetResult, T, "findUniqueOrThrow", ClientOptions>, never, ExtArgs, ClientOptions> /** * Find the first Post that matches the filter. @@ -2897,7 +2940,7 @@ export namespace Prisma { * } * }) */ - findFirst(args?: SelectSubset>): Prisma__PostClient<$Result.GetResult, T, "findFirst"> | null, null, ExtArgs> + findFirst(args?: SelectSubset>): Prisma__PostClient<$Result.GetResult, T, "findFirst", ClientOptions> | null, null, ExtArgs, ClientOptions> /** * Find the first Post that matches the filter or @@ -2913,7 +2956,7 @@ export namespace Prisma { * } * }) */ - findFirstOrThrow(args?: SelectSubset>): Prisma__PostClient<$Result.GetResult, T, "findFirstOrThrow">, never, ExtArgs> + findFirstOrThrow(args?: SelectSubset>): Prisma__PostClient<$Result.GetResult, T, "findFirstOrThrow", ClientOptions>, never, ExtArgs, ClientOptions> /** * Find zero or more Posts that matches the filter. @@ -2931,7 +2974,7 @@ export namespace Prisma { * const postWithIdOnly = await prisma.post.findMany({ select: { id: true } }) * */ - findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany">> + findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", ClientOptions>> /** * Create a Post. @@ -2945,7 +2988,7 @@ export namespace Prisma { * }) * */ - create(args: SelectSubset>): Prisma__PostClient<$Result.GetResult, T, "create">, never, ExtArgs> + create(args: SelectSubset>): Prisma__PostClient<$Result.GetResult, T, "create", ClientOptions>, never, ExtArgs, ClientOptions> /** * Create many Posts. @@ -2973,7 +3016,7 @@ export namespace Prisma { * }) * */ - delete(args: SelectSubset>): Prisma__PostClient<$Result.GetResult, T, "delete">, never, ExtArgs> + delete(args: SelectSubset>): Prisma__PostClient<$Result.GetResult, T, "delete", ClientOptions>, never, ExtArgs, ClientOptions> /** * Update one Post. @@ -2990,7 +3033,7 @@ export namespace Prisma { * }) * */ - update(args: SelectSubset>): Prisma__PostClient<$Result.GetResult, T, "update">, never, ExtArgs> + update(args: SelectSubset>): Prisma__PostClient<$Result.GetResult, T, "update", ClientOptions>, never, ExtArgs, ClientOptions> /** * Delete zero or more Posts. @@ -3042,7 +3085,7 @@ export namespace Prisma { * } * }) */ - upsert(args: SelectSubset>): Prisma__PostClient<$Result.GetResult, T, "upsert">, never, ExtArgs> + upsert(args: SelectSubset>): Prisma__PostClient<$Result.GetResult, T, "upsert", ClientOptions>, never, ExtArgs, ClientOptions> /** * Find zero or more Posts that matches the filter. @@ -3205,9 +3248,9 @@ export namespace Prisma { * Because we want to prevent naming conflicts as mentioned in * https://github.com/prisma/prisma-client-js/issues/707 */ - export interface Prisma__PostClient extends Prisma.PrismaPromise { + export interface Prisma__PostClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" - author = {}>(args?: Subset>): Prisma__UserClient<$Result.GetResult, T, "findUniqueOrThrow"> | Null, Null, ExtArgs> + author = {}>(args?: Subset>): Prisma__UserClient<$Result.GetResult, T, "findUniqueOrThrow", ClientOptions> | Null, Null, ExtArgs, ClientOptions> /** * Attaches callbacks for the resolution and/or rejection of the Promise. * @param onfulfilled The callback to execute when the Promise is resolved. @@ -3255,6 +3298,10 @@ export namespace Prisma { * Select specific fields to fetch from the Post */ select?: PostSelect | null + /** + * Omit specific fields from the Post + */ + omit?: PostOmit | null /** * Choose, which related nodes to fetch as well */ @@ -3273,6 +3320,10 @@ export namespace Prisma { * Select specific fields to fetch from the Post */ select?: PostSelect | null + /** + * Omit specific fields from the Post + */ + omit?: PostOmit | null /** * Choose, which related nodes to fetch as well */ @@ -3291,6 +3342,10 @@ export namespace Prisma { * Select specific fields to fetch from the Post */ select?: PostSelect | null + /** + * Omit specific fields from the Post + */ + omit?: PostOmit | null /** * Choose, which related nodes to fetch as well */ @@ -3339,6 +3394,10 @@ export namespace Prisma { * Select specific fields to fetch from the Post */ select?: PostSelect | null + /** + * Omit specific fields from the Post + */ + omit?: PostOmit | null /** * Choose, which related nodes to fetch as well */ @@ -3387,6 +3446,10 @@ export namespace Prisma { * Select specific fields to fetch from the Post */ select?: PostSelect | null + /** + * Omit specific fields from the Post + */ + omit?: PostOmit | null /** * Choose, which related nodes to fetch as well */ @@ -3430,6 +3493,10 @@ export namespace Prisma { * Select specific fields to fetch from the Post */ select?: PostSelect | null + /** + * Omit specific fields from the Post + */ + omit?: PostOmit | null /** * Choose, which related nodes to fetch as well */ @@ -3458,6 +3525,10 @@ export namespace Prisma { * Select specific fields to fetch from the Post */ select?: PostSelect | null + /** + * Omit specific fields from the Post + */ + omit?: PostOmit | null /** * Choose, which related nodes to fetch as well */ @@ -3494,6 +3565,10 @@ export namespace Prisma { * Select specific fields to fetch from the Post */ select?: PostSelect | null + /** + * Omit specific fields from the Post + */ + omit?: PostOmit | null /** * Choose, which related nodes to fetch as well */ @@ -3520,6 +3595,10 @@ export namespace Prisma { * Select specific fields to fetch from the Post */ select?: PostSelect | null + /** + * Omit specific fields from the Post + */ + omit?: PostOmit | null /** * Choose, which related nodes to fetch as well */ @@ -3576,6 +3655,10 @@ export namespace Prisma { * Select specific fields to fetch from the Post */ select?: PostSelect | null + /** + * Omit specific fields from the Post + */ + omit?: PostOmit | null /** * Choose, which related nodes to fetch as well */ @@ -3890,6 +3973,7 @@ export namespace Prisma { embedHolderId?: boolean } + export type UserOmit = $Extensions.GetOmit<"id" | "email" | "int" | "optionalInt" | "float" | "optionalFloat" | "string" | "optionalString" | "json" | "optionalJson" | "enum" | "optionalEnum" | "boolean" | "optionalBoolean" | "embedHolderId", ExtArgs["result"]["user"]> export type UserInclude = { posts?: boolean | User$postsArgs embedHolder?: boolean | EmbedHolderDefaultArgs @@ -3925,11 +4009,11 @@ export namespace Prisma { type UserGetPayload = $Result.GetResult type UserCountArgs = - Omit & { + 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. @@ -3942,7 +4026,7 @@ export namespace Prisma { * } * }) */ - findUnique(args: SelectSubset>): Prisma__UserClient<$Result.GetResult, T, "findUnique"> | null, null, ExtArgs> + findUnique(args: SelectSubset>): Prisma__UserClient<$Result.GetResult, T, "findUnique", ClientOptions> | null, null, ExtArgs, ClientOptions> /** * Find one User that matches the filter or throw an error with \`error.code='P2025'\` @@ -3956,7 +4040,7 @@ export namespace Prisma { * } * }) */ - findUniqueOrThrow(args: SelectSubset>): Prisma__UserClient<$Result.GetResult, T, "findUniqueOrThrow">, never, ExtArgs> + findUniqueOrThrow(args: SelectSubset>): Prisma__UserClient<$Result.GetResult, T, "findUniqueOrThrow", ClientOptions>, never, ExtArgs, ClientOptions> /** * Find the first User that matches the filter. @@ -3971,7 +4055,7 @@ export namespace Prisma { * } * }) */ - findFirst(args?: SelectSubset>): Prisma__UserClient<$Result.GetResult, T, "findFirst"> | null, null, ExtArgs> + findFirst(args?: SelectSubset>): Prisma__UserClient<$Result.GetResult, T, "findFirst", ClientOptions> | null, null, ExtArgs, ClientOptions> /** * Find the first User that matches the filter or @@ -3987,7 +4071,7 @@ export namespace Prisma { * } * }) */ - findFirstOrThrow(args?: SelectSubset>): Prisma__UserClient<$Result.GetResult, T, "findFirstOrThrow">, never, ExtArgs> + findFirstOrThrow(args?: SelectSubset>): Prisma__UserClient<$Result.GetResult, T, "findFirstOrThrow", ClientOptions>, never, ExtArgs, ClientOptions> /** * Find zero or more Users that matches the filter. @@ -4005,7 +4089,7 @@ export namespace Prisma { * const userWithIdOnly = await prisma.user.findMany({ select: { id: true } }) * */ - findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany">> + findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", ClientOptions>> /** * Create a User. @@ -4019,7 +4103,7 @@ export namespace Prisma { * }) * */ - create(args: SelectSubset>): Prisma__UserClient<$Result.GetResult, T, "create">, never, ExtArgs> + create(args: SelectSubset>): Prisma__UserClient<$Result.GetResult, T, "create", ClientOptions>, never, ExtArgs, ClientOptions> /** * Create many Users. @@ -4047,7 +4131,7 @@ export namespace Prisma { * }) * */ - delete(args: SelectSubset>): Prisma__UserClient<$Result.GetResult, T, "delete">, never, ExtArgs> + delete(args: SelectSubset>): Prisma__UserClient<$Result.GetResult, T, "delete", ClientOptions>, never, ExtArgs, ClientOptions> /** * Update one User. @@ -4064,7 +4148,7 @@ export namespace Prisma { * }) * */ - update(args: SelectSubset>): Prisma__UserClient<$Result.GetResult, T, "update">, never, ExtArgs> + update(args: SelectSubset>): Prisma__UserClient<$Result.GetResult, T, "update", ClientOptions>, never, ExtArgs, ClientOptions> /** * Delete zero or more Users. @@ -4116,7 +4200,7 @@ export namespace Prisma { * } * }) */ - upsert(args: SelectSubset>): Prisma__UserClient<$Result.GetResult, T, "upsert">, never, ExtArgs> + upsert(args: SelectSubset>): Prisma__UserClient<$Result.GetResult, T, "upsert", ClientOptions>, never, ExtArgs, ClientOptions> /** * Find zero or more Users that matches the filter. @@ -4279,10 +4363,10 @@ export namespace Prisma { * Because we want to prevent naming conflicts as mentioned in * https://github.com/prisma/prisma-client-js/issues/707 */ - export interface Prisma__UserClient extends Prisma.PrismaPromise { + export interface Prisma__UserClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" - posts = {}>(args?: Subset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany"> | Null> - embedHolder = {}>(args?: Subset>): Prisma__EmbedHolderClient<$Result.GetResult, T, "findUniqueOrThrow"> | Null, Null, ExtArgs> + posts = {}>(args?: Subset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", ClientOptions> | Null> + embedHolder = {}>(args?: Subset>): Prisma__EmbedHolderClient<$Result.GetResult, T, "findUniqueOrThrow", ClientOptions> | Null, Null, ExtArgs, ClientOptions> /** * Attaches callbacks for the resolution and/or rejection of the Promise. * @param onfulfilled The callback to execute when the Promise is resolved. @@ -4339,6 +4423,10 @@ export namespace Prisma { * Select specific fields to fetch from the User */ select?: UserSelect | null + /** + * Omit specific fields from the User + */ + omit?: UserOmit | null /** * Choose, which related nodes to fetch as well */ @@ -4357,6 +4445,10 @@ export namespace Prisma { * Select specific fields to fetch from the User */ select?: UserSelect | null + /** + * Omit specific fields from the User + */ + omit?: UserOmit | null /** * Choose, which related nodes to fetch as well */ @@ -4375,6 +4467,10 @@ export namespace Prisma { * Select specific fields to fetch from the User */ select?: UserSelect | null + /** + * Omit specific fields from the User + */ + omit?: UserOmit | null /** * Choose, which related nodes to fetch as well */ @@ -4423,6 +4519,10 @@ export namespace Prisma { * Select specific fields to fetch from the User */ select?: UserSelect | null + /** + * Omit specific fields from the User + */ + omit?: UserOmit | null /** * Choose, which related nodes to fetch as well */ @@ -4471,6 +4571,10 @@ export namespace Prisma { * Select specific fields to fetch from the User */ select?: UserSelect | null + /** + * Omit specific fields from the User + */ + omit?: UserOmit | null /** * Choose, which related nodes to fetch as well */ @@ -4514,6 +4618,10 @@ export namespace Prisma { * Select specific fields to fetch from the User */ select?: UserSelect | null + /** + * Omit specific fields from the User + */ + omit?: UserOmit | null /** * Choose, which related nodes to fetch as well */ @@ -4542,6 +4650,10 @@ export namespace Prisma { * Select specific fields to fetch from the User */ select?: UserSelect | null + /** + * Omit specific fields from the User + */ + omit?: UserOmit | null /** * Choose, which related nodes to fetch as well */ @@ -4578,6 +4690,10 @@ export namespace Prisma { * Select specific fields to fetch from the User */ select?: UserSelect | null + /** + * Omit specific fields from the User + */ + omit?: UserOmit | null /** * Choose, which related nodes to fetch as well */ @@ -4604,6 +4720,10 @@ export namespace Prisma { * Select specific fields to fetch from the User */ select?: UserSelect | null + /** + * Omit specific fields from the User + */ + omit?: UserOmit | null /** * Choose, which related nodes to fetch as well */ @@ -4660,6 +4780,10 @@ export namespace Prisma { * Select specific fields to fetch from the Post */ select?: PostSelect | null + /** + * Omit specific fields from the Post + */ + omit?: PostOmit | null /** * Choose, which related nodes to fetch as well */ @@ -4680,6 +4804,10 @@ export namespace Prisma { * Select specific fields to fetch from the User */ select?: UserSelect | null + /** + * Omit specific fields from the User + */ + omit?: UserOmit | null /** * Choose, which related nodes to fetch as well */ @@ -4859,6 +4987,7 @@ export namespace Prisma { boolean?: boolean } + export type EmbedHolderOmit = $Extensions.GetOmit<"id" | "time" | "text" | "boolean" | "embedList" | "requiredEmbed" | "optionalEmbed", ExtArgs["result"]["embedHolder"]> export type EmbedHolderInclude = { User?: boolean | EmbedHolder$UserArgs _count?: boolean | EmbedHolderCountOutputTypeDefaultArgs @@ -4885,11 +5014,11 @@ export namespace Prisma { type EmbedHolderGetPayload = $Result.GetResult type EmbedHolderCountArgs = - Omit & { + Omit & { select?: EmbedHolderCountAggregateInputType | true } - export interface EmbedHolderDelegate { + export interface EmbedHolderDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['EmbedHolder'], meta: { name: 'EmbedHolder' } } /** * Find zero or one EmbedHolder that matches the filter. @@ -4902,7 +5031,7 @@ export namespace Prisma { * } * }) */ - findUnique(args: SelectSubset>): Prisma__EmbedHolderClient<$Result.GetResult, T, "findUnique"> | null, null, ExtArgs> + findUnique(args: SelectSubset>): Prisma__EmbedHolderClient<$Result.GetResult, T, "findUnique", ClientOptions> | null, null, ExtArgs, ClientOptions> /** * Find one EmbedHolder that matches the filter or throw an error with \`error.code='P2025'\` @@ -4916,7 +5045,7 @@ export namespace Prisma { * } * }) */ - findUniqueOrThrow(args: SelectSubset>): Prisma__EmbedHolderClient<$Result.GetResult, T, "findUniqueOrThrow">, never, ExtArgs> + findUniqueOrThrow(args: SelectSubset>): Prisma__EmbedHolderClient<$Result.GetResult, T, "findUniqueOrThrow", ClientOptions>, never, ExtArgs, ClientOptions> /** * Find the first EmbedHolder that matches the filter. @@ -4931,7 +5060,7 @@ export namespace Prisma { * } * }) */ - findFirst(args?: SelectSubset>): Prisma__EmbedHolderClient<$Result.GetResult, T, "findFirst"> | null, null, ExtArgs> + findFirst(args?: SelectSubset>): Prisma__EmbedHolderClient<$Result.GetResult, T, "findFirst", ClientOptions> | null, null, ExtArgs, ClientOptions> /** * Find the first EmbedHolder that matches the filter or @@ -4947,7 +5076,7 @@ export namespace Prisma { * } * }) */ - findFirstOrThrow(args?: SelectSubset>): Prisma__EmbedHolderClient<$Result.GetResult, T, "findFirstOrThrow">, never, ExtArgs> + findFirstOrThrow(args?: SelectSubset>): Prisma__EmbedHolderClient<$Result.GetResult, T, "findFirstOrThrow", ClientOptions>, never, ExtArgs, ClientOptions> /** * Find zero or more EmbedHolders that matches the filter. @@ -4965,7 +5094,7 @@ export namespace Prisma { * const embedHolderWithIdOnly = await prisma.embedHolder.findMany({ select: { id: true } }) * */ - findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany">> + findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", ClientOptions>> /** * Create a EmbedHolder. @@ -4979,7 +5108,7 @@ export namespace Prisma { * }) * */ - create(args: SelectSubset>): Prisma__EmbedHolderClient<$Result.GetResult, T, "create">, never, ExtArgs> + create(args: SelectSubset>): Prisma__EmbedHolderClient<$Result.GetResult, T, "create", ClientOptions>, never, ExtArgs, ClientOptions> /** * Create many EmbedHolders. @@ -5007,7 +5136,7 @@ export namespace Prisma { * }) * */ - delete(args: SelectSubset>): Prisma__EmbedHolderClient<$Result.GetResult, T, "delete">, never, ExtArgs> + delete(args: SelectSubset>): Prisma__EmbedHolderClient<$Result.GetResult, T, "delete", ClientOptions>, never, ExtArgs, ClientOptions> /** * Update one EmbedHolder. @@ -5024,7 +5153,7 @@ export namespace Prisma { * }) * */ - update(args: SelectSubset>): Prisma__EmbedHolderClient<$Result.GetResult, T, "update">, never, ExtArgs> + update(args: SelectSubset>): Prisma__EmbedHolderClient<$Result.GetResult, T, "update", ClientOptions>, never, ExtArgs, ClientOptions> /** * Delete zero or more EmbedHolders. @@ -5076,7 +5205,7 @@ export namespace Prisma { * } * }) */ - upsert(args: SelectSubset>): Prisma__EmbedHolderClient<$Result.GetResult, T, "upsert">, never, ExtArgs> + upsert(args: SelectSubset>): Prisma__EmbedHolderClient<$Result.GetResult, T, "upsert", ClientOptions>, never, ExtArgs, ClientOptions> /** * Find zero or more EmbedHolders that matches the filter. @@ -5239,9 +5368,9 @@ export namespace Prisma { * Because we want to prevent naming conflicts as mentioned in * https://github.com/prisma/prisma-client-js/issues/707 */ - export interface Prisma__EmbedHolderClient extends Prisma.PrismaPromise { + export interface Prisma__EmbedHolderClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" - User = {}>(args?: Subset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany"> | Null> + User = {}>(args?: Subset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", ClientOptions> | Null> /** * Attaches callbacks for the resolution and/or rejection of the Promise. * @param onfulfilled The callback to execute when the Promise is resolved. @@ -5287,6 +5416,10 @@ export namespace Prisma { * Select specific fields to fetch from the EmbedHolder */ select?: EmbedHolderSelect | null + /** + * Omit specific fields from the EmbedHolder + */ + omit?: EmbedHolderOmit | null /** * Choose, which related nodes to fetch as well */ @@ -5305,6 +5438,10 @@ export namespace Prisma { * Select specific fields to fetch from the EmbedHolder */ select?: EmbedHolderSelect | null + /** + * Omit specific fields from the EmbedHolder + */ + omit?: EmbedHolderOmit | null /** * Choose, which related nodes to fetch as well */ @@ -5323,6 +5460,10 @@ export namespace Prisma { * Select specific fields to fetch from the EmbedHolder */ select?: EmbedHolderSelect | null + /** + * Omit specific fields from the EmbedHolder + */ + omit?: EmbedHolderOmit | null /** * Choose, which related nodes to fetch as well */ @@ -5371,6 +5512,10 @@ export namespace Prisma { * Select specific fields to fetch from the EmbedHolder */ select?: EmbedHolderSelect | null + /** + * Omit specific fields from the EmbedHolder + */ + omit?: EmbedHolderOmit | null /** * Choose, which related nodes to fetch as well */ @@ -5419,6 +5564,10 @@ export namespace Prisma { * Select specific fields to fetch from the EmbedHolder */ select?: EmbedHolderSelect | null + /** + * Omit specific fields from the EmbedHolder + */ + omit?: EmbedHolderOmit | null /** * Choose, which related nodes to fetch as well */ @@ -5462,6 +5611,10 @@ export namespace Prisma { * Select specific fields to fetch from the EmbedHolder */ select?: EmbedHolderSelect | null + /** + * Omit specific fields from the EmbedHolder + */ + omit?: EmbedHolderOmit | null /** * Choose, which related nodes to fetch as well */ @@ -5490,6 +5643,10 @@ export namespace Prisma { * Select specific fields to fetch from the EmbedHolder */ select?: EmbedHolderSelect | null + /** + * Omit specific fields from the EmbedHolder + */ + omit?: EmbedHolderOmit | null /** * Choose, which related nodes to fetch as well */ @@ -5526,6 +5683,10 @@ export namespace Prisma { * Select specific fields to fetch from the EmbedHolder */ select?: EmbedHolderSelect | null + /** + * Omit specific fields from the EmbedHolder + */ + omit?: EmbedHolderOmit | null /** * Choose, which related nodes to fetch as well */ @@ -5552,6 +5713,10 @@ export namespace Prisma { * Select specific fields to fetch from the EmbedHolder */ select?: EmbedHolderSelect | null + /** + * Omit specific fields from the EmbedHolder + */ + omit?: EmbedHolderOmit | null /** * Choose, which related nodes to fetch as well */ @@ -5608,6 +5773,10 @@ export namespace Prisma { * Select specific fields to fetch from the User */ select?: UserSelect | null + /** + * Omit specific fields from the User + */ + omit?: UserOmit | null /** * Choose, which related nodes to fetch as well */ @@ -5628,6 +5797,10 @@ export namespace Prisma { * Select specific fields to fetch from the EmbedHolder */ select?: EmbedHolderSelect | null + /** + * Omit specific fields from the EmbedHolder + */ + omit?: EmbedHolderOmit | null /** * Choose, which related nodes to fetch as well */ @@ -5928,6 +6101,7 @@ export namespace Prisma { optionalBoolean?: boolean } + export type MOmit = $Extensions.GetOmit<"id" | "n_ids" | "int" | "optionalInt" | "float" | "optionalFloat" | "string" | "optionalString" | "json" | "optionalJson" | "enum" | "optionalEnum" | "boolean" | "optionalBoolean", ExtArgs["result"]["m"]> export type MInclude = { n?: boolean | M$nArgs _count?: boolean | MCountOutputTypeDefaultArgs @@ -5960,11 +6134,11 @@ export namespace Prisma { type MGetPayload = $Result.GetResult type MCountArgs = - Omit & { + Omit & { select?: MCountAggregateInputType | true } - export interface MDelegate { + export interface MDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['M'], meta: { name: 'M' } } /** * Find zero or one M that matches the filter. @@ -5977,7 +6151,7 @@ export namespace Prisma { * } * }) */ - findUnique(args: SelectSubset>): Prisma__MClient<$Result.GetResult, T, "findUnique"> | null, null, ExtArgs> + findUnique(args: SelectSubset>): Prisma__MClient<$Result.GetResult, T, "findUnique", ClientOptions> | null, null, ExtArgs, ClientOptions> /** * Find one M that matches the filter or throw an error with \`error.code='P2025'\` @@ -5991,7 +6165,7 @@ export namespace Prisma { * } * }) */ - findUniqueOrThrow(args: SelectSubset>): Prisma__MClient<$Result.GetResult, T, "findUniqueOrThrow">, never, ExtArgs> + findUniqueOrThrow(args: SelectSubset>): Prisma__MClient<$Result.GetResult, T, "findUniqueOrThrow", ClientOptions>, never, ExtArgs, ClientOptions> /** * Find the first M that matches the filter. @@ -6006,7 +6180,7 @@ export namespace Prisma { * } * }) */ - findFirst(args?: SelectSubset>): Prisma__MClient<$Result.GetResult, T, "findFirst"> | null, null, ExtArgs> + findFirst(args?: SelectSubset>): Prisma__MClient<$Result.GetResult, T, "findFirst", ClientOptions> | null, null, ExtArgs, ClientOptions> /** * Find the first M that matches the filter or @@ -6022,7 +6196,7 @@ export namespace Prisma { * } * }) */ - findFirstOrThrow(args?: SelectSubset>): Prisma__MClient<$Result.GetResult, T, "findFirstOrThrow">, never, ExtArgs> + findFirstOrThrow(args?: SelectSubset>): Prisma__MClient<$Result.GetResult, T, "findFirstOrThrow", ClientOptions>, never, ExtArgs, ClientOptions> /** * Find zero or more Ms that matches the filter. @@ -6040,7 +6214,7 @@ export namespace Prisma { * const mWithIdOnly = await prisma.m.findMany({ select: { id: true } }) * */ - findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany">> + findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", ClientOptions>> /** * Create a M. @@ -6054,7 +6228,7 @@ export namespace Prisma { * }) * */ - create(args: SelectSubset>): Prisma__MClient<$Result.GetResult, T, "create">, never, ExtArgs> + create(args: SelectSubset>): Prisma__MClient<$Result.GetResult, T, "create", ClientOptions>, never, ExtArgs, ClientOptions> /** * Create many Ms. @@ -6082,7 +6256,7 @@ export namespace Prisma { * }) * */ - delete(args: SelectSubset>): Prisma__MClient<$Result.GetResult, T, "delete">, never, ExtArgs> + delete(args: SelectSubset>): Prisma__MClient<$Result.GetResult, T, "delete", ClientOptions>, never, ExtArgs, ClientOptions> /** * Update one M. @@ -6099,7 +6273,7 @@ export namespace Prisma { * }) * */ - update(args: SelectSubset>): Prisma__MClient<$Result.GetResult, T, "update">, never, ExtArgs> + update(args: SelectSubset>): Prisma__MClient<$Result.GetResult, T, "update", ClientOptions>, never, ExtArgs, ClientOptions> /** * Delete zero or more Ms. @@ -6151,7 +6325,7 @@ export namespace Prisma { * } * }) */ - upsert(args: SelectSubset>): Prisma__MClient<$Result.GetResult, T, "upsert">, never, ExtArgs> + upsert(args: SelectSubset>): Prisma__MClient<$Result.GetResult, T, "upsert", ClientOptions>, never, ExtArgs, ClientOptions> /** * Find zero or more Ms that matches the filter. @@ -6314,9 +6488,9 @@ export namespace Prisma { * Because we want to prevent naming conflicts as mentioned in * https://github.com/prisma/prisma-client-js/issues/707 */ - export interface Prisma__MClient extends Prisma.PrismaPromise { + export interface Prisma__MClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" - n = {}>(args?: Subset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany"> | Null> + n = {}>(args?: Subset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", ClientOptions> | Null> /** * Attaches callbacks for the resolution and/or rejection of the Promise. * @param onfulfilled The callback to execute when the Promise is resolved. @@ -6372,6 +6546,10 @@ export namespace Prisma { * Select specific fields to fetch from the M */ select?: MSelect | null + /** + * Omit specific fields from the M + */ + omit?: MOmit | null /** * Choose, which related nodes to fetch as well */ @@ -6390,6 +6568,10 @@ export namespace Prisma { * Select specific fields to fetch from the M */ select?: MSelect | null + /** + * Omit specific fields from the M + */ + omit?: MOmit | null /** * Choose, which related nodes to fetch as well */ @@ -6408,6 +6590,10 @@ export namespace Prisma { * Select specific fields to fetch from the M */ select?: MSelect | null + /** + * Omit specific fields from the M + */ + omit?: MOmit | null /** * Choose, which related nodes to fetch as well */ @@ -6456,6 +6642,10 @@ export namespace Prisma { * Select specific fields to fetch from the M */ select?: MSelect | null + /** + * Omit specific fields from the M + */ + omit?: MOmit | null /** * Choose, which related nodes to fetch as well */ @@ -6504,6 +6694,10 @@ export namespace Prisma { * Select specific fields to fetch from the M */ select?: MSelect | null + /** + * Omit specific fields from the M + */ + omit?: MOmit | null /** * Choose, which related nodes to fetch as well */ @@ -6547,6 +6741,10 @@ export namespace Prisma { * Select specific fields to fetch from the M */ select?: MSelect | null + /** + * Omit specific fields from the M + */ + omit?: MOmit | null /** * Choose, which related nodes to fetch as well */ @@ -6575,6 +6773,10 @@ export namespace Prisma { * Select specific fields to fetch from the M */ select?: MSelect | null + /** + * Omit specific fields from the M + */ + omit?: MOmit | null /** * Choose, which related nodes to fetch as well */ @@ -6611,6 +6813,10 @@ export namespace Prisma { * Select specific fields to fetch from the M */ select?: MSelect | null + /** + * Omit specific fields from the M + */ + omit?: MOmit | null /** * Choose, which related nodes to fetch as well */ @@ -6637,6 +6843,10 @@ export namespace Prisma { * Select specific fields to fetch from the M */ select?: MSelect | null + /** + * Omit specific fields from the M + */ + omit?: MOmit | null /** * Choose, which related nodes to fetch as well */ @@ -6693,6 +6903,10 @@ export namespace Prisma { * Select specific fields to fetch from the N */ select?: NSelect | null + /** + * Omit specific fields from the N + */ + omit?: NOmit | null /** * Choose, which related nodes to fetch as well */ @@ -6713,6 +6927,10 @@ export namespace Prisma { * Select specific fields to fetch from the M */ select?: MSelect | null + /** + * Omit specific fields from the M + */ + omit?: MOmit | null /** * Choose, which related nodes to fetch as well */ @@ -7013,6 +7231,7 @@ export namespace Prisma { optionalBoolean?: boolean } + export type NOmit = $Extensions.GetOmit<"id" | "m_ids" | "int" | "optionalInt" | "float" | "optionalFloat" | "string" | "optionalString" | "json" | "optionalJson" | "enum" | "optionalEnum" | "boolean" | "optionalBoolean", ExtArgs["result"]["n"]> export type NInclude = { m?: boolean | N$mArgs _count?: boolean | NCountOutputTypeDefaultArgs @@ -7045,11 +7264,11 @@ export namespace Prisma { type NGetPayload = $Result.GetResult type NCountArgs = - Omit & { + Omit & { select?: NCountAggregateInputType | true } - export interface NDelegate { + export interface NDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['N'], meta: { name: 'N' } } /** * Find zero or one N that matches the filter. @@ -7062,7 +7281,7 @@ export namespace Prisma { * } * }) */ - findUnique(args: SelectSubset>): Prisma__NClient<$Result.GetResult, T, "findUnique"> | null, null, ExtArgs> + findUnique(args: SelectSubset>): Prisma__NClient<$Result.GetResult, T, "findUnique", ClientOptions> | null, null, ExtArgs, ClientOptions> /** * Find one N that matches the filter or throw an error with \`error.code='P2025'\` @@ -7076,7 +7295,7 @@ export namespace Prisma { * } * }) */ - findUniqueOrThrow(args: SelectSubset>): Prisma__NClient<$Result.GetResult, T, "findUniqueOrThrow">, never, ExtArgs> + findUniqueOrThrow(args: SelectSubset>): Prisma__NClient<$Result.GetResult, T, "findUniqueOrThrow", ClientOptions>, never, ExtArgs, ClientOptions> /** * Find the first N that matches the filter. @@ -7091,7 +7310,7 @@ export namespace Prisma { * } * }) */ - findFirst(args?: SelectSubset>): Prisma__NClient<$Result.GetResult, T, "findFirst"> | null, null, ExtArgs> + findFirst(args?: SelectSubset>): Prisma__NClient<$Result.GetResult, T, "findFirst", ClientOptions> | null, null, ExtArgs, ClientOptions> /** * Find the first N that matches the filter or @@ -7107,7 +7326,7 @@ export namespace Prisma { * } * }) */ - findFirstOrThrow(args?: SelectSubset>): Prisma__NClient<$Result.GetResult, T, "findFirstOrThrow">, never, ExtArgs> + findFirstOrThrow(args?: SelectSubset>): Prisma__NClient<$Result.GetResult, T, "findFirstOrThrow", ClientOptions>, never, ExtArgs, ClientOptions> /** * Find zero or more Ns that matches the filter. @@ -7125,7 +7344,7 @@ export namespace Prisma { * const nWithIdOnly = await prisma.n.findMany({ select: { id: true } }) * */ - findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany">> + findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", ClientOptions>> /** * Create a N. @@ -7139,7 +7358,7 @@ export namespace Prisma { * }) * */ - create(args: SelectSubset>): Prisma__NClient<$Result.GetResult, T, "create">, never, ExtArgs> + create(args: SelectSubset>): Prisma__NClient<$Result.GetResult, T, "create", ClientOptions>, never, ExtArgs, ClientOptions> /** * Create many Ns. @@ -7167,7 +7386,7 @@ export namespace Prisma { * }) * */ - delete(args: SelectSubset>): Prisma__NClient<$Result.GetResult, T, "delete">, never, ExtArgs> + delete(args: SelectSubset>): Prisma__NClient<$Result.GetResult, T, "delete", ClientOptions>, never, ExtArgs, ClientOptions> /** * Update one N. @@ -7184,7 +7403,7 @@ export namespace Prisma { * }) * */ - update(args: SelectSubset>): Prisma__NClient<$Result.GetResult, T, "update">, never, ExtArgs> + update(args: SelectSubset>): Prisma__NClient<$Result.GetResult, T, "update", ClientOptions>, never, ExtArgs, ClientOptions> /** * Delete zero or more Ns. @@ -7236,7 +7455,7 @@ export namespace Prisma { * } * }) */ - upsert(args: SelectSubset>): Prisma__NClient<$Result.GetResult, T, "upsert">, never, ExtArgs> + upsert(args: SelectSubset>): Prisma__NClient<$Result.GetResult, T, "upsert", ClientOptions>, never, ExtArgs, ClientOptions> /** * Find zero or more Ns that matches the filter. @@ -7399,9 +7618,9 @@ export namespace Prisma { * Because we want to prevent naming conflicts as mentioned in * https://github.com/prisma/prisma-client-js/issues/707 */ - export interface Prisma__NClient extends Prisma.PrismaPromise { + export interface Prisma__NClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" - m = {}>(args?: Subset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany"> | Null> + m = {}>(args?: Subset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", ClientOptions> | Null> /** * Attaches callbacks for the resolution and/or rejection of the Promise. * @param onfulfilled The callback to execute when the Promise is resolved. @@ -7457,6 +7676,10 @@ export namespace Prisma { * Select specific fields to fetch from the N */ select?: NSelect | null + /** + * Omit specific fields from the N + */ + omit?: NOmit | null /** * Choose, which related nodes to fetch as well */ @@ -7475,6 +7698,10 @@ export namespace Prisma { * Select specific fields to fetch from the N */ select?: NSelect | null + /** + * Omit specific fields from the N + */ + omit?: NOmit | null /** * Choose, which related nodes to fetch as well */ @@ -7493,6 +7720,10 @@ export namespace Prisma { * Select specific fields to fetch from the N */ select?: NSelect | null + /** + * Omit specific fields from the N + */ + omit?: NOmit | null /** * Choose, which related nodes to fetch as well */ @@ -7541,6 +7772,10 @@ export namespace Prisma { * Select specific fields to fetch from the N */ select?: NSelect | null + /** + * Omit specific fields from the N + */ + omit?: NOmit | null /** * Choose, which related nodes to fetch as well */ @@ -7589,6 +7824,10 @@ export namespace Prisma { * Select specific fields to fetch from the N */ select?: NSelect | null + /** + * Omit specific fields from the N + */ + omit?: NOmit | null /** * Choose, which related nodes to fetch as well */ @@ -7632,6 +7871,10 @@ export namespace Prisma { * Select specific fields to fetch from the N */ select?: NSelect | null + /** + * Omit specific fields from the N + */ + omit?: NOmit | null /** * Choose, which related nodes to fetch as well */ @@ -7660,6 +7903,10 @@ export namespace Prisma { * Select specific fields to fetch from the N */ select?: NSelect | null + /** + * Omit specific fields from the N + */ + omit?: NOmit | null /** * Choose, which related nodes to fetch as well */ @@ -7696,6 +7943,10 @@ export namespace Prisma { * Select specific fields to fetch from the N */ select?: NSelect | null + /** + * Omit specific fields from the N + */ + omit?: NOmit | null /** * Choose, which related nodes to fetch as well */ @@ -7722,6 +7973,10 @@ export namespace Prisma { * Select specific fields to fetch from the N */ select?: NSelect | null + /** + * Omit specific fields from the N + */ + omit?: NOmit | null /** * Choose, which related nodes to fetch as well */ @@ -7778,6 +8033,10 @@ export namespace Prisma { * Select specific fields to fetch from the M */ select?: MSelect | null + /** + * Omit specific fields from the M + */ + omit?: MOmit | null /** * Choose, which related nodes to fetch as well */ @@ -7798,6 +8057,10 @@ export namespace Prisma { * Select specific fields to fetch from the N */ select?: NSelect | null + /** + * Omit specific fields from the N + */ + omit?: NOmit | null /** * Choose, which related nodes to fetch as well */ @@ -8093,6 +8356,7 @@ export namespace Prisma { optionalBoolean?: boolean } + export type OneOptionalOmit = $Extensions.GetOmit<"id" | "int" | "optionalInt" | "float" | "optionalFloat" | "string" | "optionalString" | "json" | "optionalJson" | "enum" | "optionalEnum" | "boolean" | "optionalBoolean", ExtArgs["result"]["oneOptional"]> export type OneOptionalInclude = { many?: boolean | OneOptional$manyArgs _count?: boolean | OneOptionalCountOutputTypeDefaultArgs @@ -8124,11 +8388,11 @@ export namespace Prisma { type OneOptionalGetPayload = $Result.GetResult type OneOptionalCountArgs = - Omit & { + Omit & { select?: OneOptionalCountAggregateInputType | true } - export interface OneOptionalDelegate { + export interface OneOptionalDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['OneOptional'], meta: { name: 'OneOptional' } } /** * Find zero or one OneOptional that matches the filter. @@ -8141,7 +8405,7 @@ export namespace Prisma { * } * }) */ - findUnique(args: SelectSubset>): Prisma__OneOptionalClient<$Result.GetResult, T, "findUnique"> | null, null, ExtArgs> + findUnique(args: SelectSubset>): Prisma__OneOptionalClient<$Result.GetResult, T, "findUnique", ClientOptions> | null, null, ExtArgs, ClientOptions> /** * Find one OneOptional that matches the filter or throw an error with \`error.code='P2025'\` @@ -8155,7 +8419,7 @@ export namespace Prisma { * } * }) */ - findUniqueOrThrow(args: SelectSubset>): Prisma__OneOptionalClient<$Result.GetResult, T, "findUniqueOrThrow">, never, ExtArgs> + findUniqueOrThrow(args: SelectSubset>): Prisma__OneOptionalClient<$Result.GetResult, T, "findUniqueOrThrow", ClientOptions>, never, ExtArgs, ClientOptions> /** * Find the first OneOptional that matches the filter. @@ -8170,7 +8434,7 @@ export namespace Prisma { * } * }) */ - findFirst(args?: SelectSubset>): Prisma__OneOptionalClient<$Result.GetResult, T, "findFirst"> | null, null, ExtArgs> + findFirst(args?: SelectSubset>): Prisma__OneOptionalClient<$Result.GetResult, T, "findFirst", ClientOptions> | null, null, ExtArgs, ClientOptions> /** * Find the first OneOptional that matches the filter or @@ -8186,7 +8450,7 @@ export namespace Prisma { * } * }) */ - findFirstOrThrow(args?: SelectSubset>): Prisma__OneOptionalClient<$Result.GetResult, T, "findFirstOrThrow">, never, ExtArgs> + findFirstOrThrow(args?: SelectSubset>): Prisma__OneOptionalClient<$Result.GetResult, T, "findFirstOrThrow", ClientOptions>, never, ExtArgs, ClientOptions> /** * Find zero or more OneOptionals that matches the filter. @@ -8204,7 +8468,7 @@ export namespace Prisma { * const oneOptionalWithIdOnly = await prisma.oneOptional.findMany({ select: { id: true } }) * */ - findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany">> + findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", ClientOptions>> /** * Create a OneOptional. @@ -8218,7 +8482,7 @@ export namespace Prisma { * }) * */ - create(args: SelectSubset>): Prisma__OneOptionalClient<$Result.GetResult, T, "create">, never, ExtArgs> + create(args: SelectSubset>): Prisma__OneOptionalClient<$Result.GetResult, T, "create", ClientOptions>, never, ExtArgs, ClientOptions> /** * Create many OneOptionals. @@ -8246,7 +8510,7 @@ export namespace Prisma { * }) * */ - delete(args: SelectSubset>): Prisma__OneOptionalClient<$Result.GetResult, T, "delete">, never, ExtArgs> + delete(args: SelectSubset>): Prisma__OneOptionalClient<$Result.GetResult, T, "delete", ClientOptions>, never, ExtArgs, ClientOptions> /** * Update one OneOptional. @@ -8263,7 +8527,7 @@ export namespace Prisma { * }) * */ - update(args: SelectSubset>): Prisma__OneOptionalClient<$Result.GetResult, T, "update">, never, ExtArgs> + update(args: SelectSubset>): Prisma__OneOptionalClient<$Result.GetResult, T, "update", ClientOptions>, never, ExtArgs, ClientOptions> /** * Delete zero or more OneOptionals. @@ -8315,7 +8579,7 @@ export namespace Prisma { * } * }) */ - upsert(args: SelectSubset>): Prisma__OneOptionalClient<$Result.GetResult, T, "upsert">, never, ExtArgs> + upsert(args: SelectSubset>): Prisma__OneOptionalClient<$Result.GetResult, T, "upsert", ClientOptions>, never, ExtArgs, ClientOptions> /** * Find zero or more OneOptionals that matches the filter. @@ -8478,9 +8742,9 @@ export namespace Prisma { * Because we want to prevent naming conflicts as mentioned in * https://github.com/prisma/prisma-client-js/issues/707 */ - export interface Prisma__OneOptionalClient extends Prisma.PrismaPromise { + export interface Prisma__OneOptionalClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" - many = {}>(args?: Subset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany"> | Null> + many = {}>(args?: Subset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", ClientOptions> | Null> /** * Attaches callbacks for the resolution and/or rejection of the Promise. * @param onfulfilled The callback to execute when the Promise is resolved. @@ -8535,6 +8799,10 @@ export namespace Prisma { * Select specific fields to fetch from the OneOptional */ select?: OneOptionalSelect | null + /** + * Omit specific fields from the OneOptional + */ + omit?: OneOptionalOmit | null /** * Choose, which related nodes to fetch as well */ @@ -8553,6 +8821,10 @@ export namespace Prisma { * Select specific fields to fetch from the OneOptional */ select?: OneOptionalSelect | null + /** + * Omit specific fields from the OneOptional + */ + omit?: OneOptionalOmit | null /** * Choose, which related nodes to fetch as well */ @@ -8571,6 +8843,10 @@ export namespace Prisma { * Select specific fields to fetch from the OneOptional */ select?: OneOptionalSelect | null + /** + * Omit specific fields from the OneOptional + */ + omit?: OneOptionalOmit | null /** * Choose, which related nodes to fetch as well */ @@ -8619,6 +8895,10 @@ export namespace Prisma { * Select specific fields to fetch from the OneOptional */ select?: OneOptionalSelect | null + /** + * Omit specific fields from the OneOptional + */ + omit?: OneOptionalOmit | null /** * Choose, which related nodes to fetch as well */ @@ -8667,6 +8947,10 @@ export namespace Prisma { * Select specific fields to fetch from the OneOptional */ select?: OneOptionalSelect | null + /** + * Omit specific fields from the OneOptional + */ + omit?: OneOptionalOmit | null /** * Choose, which related nodes to fetch as well */ @@ -8710,6 +8994,10 @@ export namespace Prisma { * Select specific fields to fetch from the OneOptional */ select?: OneOptionalSelect | null + /** + * Omit specific fields from the OneOptional + */ + omit?: OneOptionalOmit | null /** * Choose, which related nodes to fetch as well */ @@ -8738,6 +9026,10 @@ export namespace Prisma { * Select specific fields to fetch from the OneOptional */ select?: OneOptionalSelect | null + /** + * Omit specific fields from the OneOptional + */ + omit?: OneOptionalOmit | null /** * Choose, which related nodes to fetch as well */ @@ -8774,6 +9066,10 @@ export namespace Prisma { * Select specific fields to fetch from the OneOptional */ select?: OneOptionalSelect | null + /** + * Omit specific fields from the OneOptional + */ + omit?: OneOptionalOmit | null /** * Choose, which related nodes to fetch as well */ @@ -8800,6 +9096,10 @@ export namespace Prisma { * Select specific fields to fetch from the OneOptional */ select?: OneOptionalSelect | null + /** + * Omit specific fields from the OneOptional + */ + omit?: OneOptionalOmit | null /** * Choose, which related nodes to fetch as well */ @@ -8856,6 +9156,10 @@ export namespace Prisma { * Select specific fields to fetch from the ManyRequired */ select?: ManyRequiredSelect | null + /** + * Omit specific fields from the ManyRequired + */ + omit?: ManyRequiredOmit | null /** * Choose, which related nodes to fetch as well */ @@ -8876,6 +9180,10 @@ export namespace Prisma { * Select specific fields to fetch from the OneOptional */ select?: OneOptionalSelect | null + /** + * Omit specific fields from the OneOptional + */ + omit?: OneOptionalOmit | null /** * Choose, which related nodes to fetch as well */ @@ -9179,6 +9487,7 @@ export namespace Prisma { optionalBoolean?: boolean } + export type ManyRequiredOmit = $Extensions.GetOmit<"id" | "oneOptionalId" | "int" | "optionalInt" | "float" | "optionalFloat" | "string" | "optionalString" | "json" | "optionalJson" | "enum" | "optionalEnum" | "boolean" | "optionalBoolean", ExtArgs["result"]["manyRequired"]> export type ManyRequiredInclude = { one?: boolean | ManyRequired$oneArgs } @@ -9210,11 +9519,11 @@ export namespace Prisma { type ManyRequiredGetPayload = $Result.GetResult type ManyRequiredCountArgs = - Omit & { + Omit & { select?: ManyRequiredCountAggregateInputType | true } - export interface ManyRequiredDelegate { + export interface ManyRequiredDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['ManyRequired'], meta: { name: 'ManyRequired' } } /** * Find zero or one ManyRequired that matches the filter. @@ -9227,7 +9536,7 @@ export namespace Prisma { * } * }) */ - findUnique(args: SelectSubset>): Prisma__ManyRequiredClient<$Result.GetResult, T, "findUnique"> | null, null, ExtArgs> + findUnique(args: SelectSubset>): Prisma__ManyRequiredClient<$Result.GetResult, T, "findUnique", ClientOptions> | null, null, ExtArgs, ClientOptions> /** * Find one ManyRequired that matches the filter or throw an error with \`error.code='P2025'\` @@ -9241,7 +9550,7 @@ export namespace Prisma { * } * }) */ - findUniqueOrThrow(args: SelectSubset>): Prisma__ManyRequiredClient<$Result.GetResult, T, "findUniqueOrThrow">, never, ExtArgs> + findUniqueOrThrow(args: SelectSubset>): Prisma__ManyRequiredClient<$Result.GetResult, T, "findUniqueOrThrow", ClientOptions>, never, ExtArgs, ClientOptions> /** * Find the first ManyRequired that matches the filter. @@ -9256,7 +9565,7 @@ export namespace Prisma { * } * }) */ - findFirst(args?: SelectSubset>): Prisma__ManyRequiredClient<$Result.GetResult, T, "findFirst"> | null, null, ExtArgs> + findFirst(args?: SelectSubset>): Prisma__ManyRequiredClient<$Result.GetResult, T, "findFirst", ClientOptions> | null, null, ExtArgs, ClientOptions> /** * Find the first ManyRequired that matches the filter or @@ -9272,7 +9581,7 @@ export namespace Prisma { * } * }) */ - findFirstOrThrow(args?: SelectSubset>): Prisma__ManyRequiredClient<$Result.GetResult, T, "findFirstOrThrow">, never, ExtArgs> + findFirstOrThrow(args?: SelectSubset>): Prisma__ManyRequiredClient<$Result.GetResult, T, "findFirstOrThrow", ClientOptions>, never, ExtArgs, ClientOptions> /** * Find zero or more ManyRequireds that matches the filter. @@ -9290,7 +9599,7 @@ export namespace Prisma { * const manyRequiredWithIdOnly = await prisma.manyRequired.findMany({ select: { id: true } }) * */ - findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany">> + findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", ClientOptions>> /** * Create a ManyRequired. @@ -9304,7 +9613,7 @@ export namespace Prisma { * }) * */ - create(args: SelectSubset>): Prisma__ManyRequiredClient<$Result.GetResult, T, "create">, never, ExtArgs> + create(args: SelectSubset>): Prisma__ManyRequiredClient<$Result.GetResult, T, "create", ClientOptions>, never, ExtArgs, ClientOptions> /** * Create many ManyRequireds. @@ -9332,7 +9641,7 @@ export namespace Prisma { * }) * */ - delete(args: SelectSubset>): Prisma__ManyRequiredClient<$Result.GetResult, T, "delete">, never, ExtArgs> + delete(args: SelectSubset>): Prisma__ManyRequiredClient<$Result.GetResult, T, "delete", ClientOptions>, never, ExtArgs, ClientOptions> /** * Update one ManyRequired. @@ -9349,7 +9658,7 @@ export namespace Prisma { * }) * */ - update(args: SelectSubset>): Prisma__ManyRequiredClient<$Result.GetResult, T, "update">, never, ExtArgs> + update(args: SelectSubset>): Prisma__ManyRequiredClient<$Result.GetResult, T, "update", ClientOptions>, never, ExtArgs, ClientOptions> /** * Delete zero or more ManyRequireds. @@ -9401,7 +9710,7 @@ export namespace Prisma { * } * }) */ - upsert(args: SelectSubset>): Prisma__ManyRequiredClient<$Result.GetResult, T, "upsert">, never, ExtArgs> + upsert(args: SelectSubset>): Prisma__ManyRequiredClient<$Result.GetResult, T, "upsert", ClientOptions>, never, ExtArgs, ClientOptions> /** * Find zero or more ManyRequireds that matches the filter. @@ -9564,9 +9873,9 @@ export namespace Prisma { * Because we want to prevent naming conflicts as mentioned in * https://github.com/prisma/prisma-client-js/issues/707 */ - export interface Prisma__ManyRequiredClient extends Prisma.PrismaPromise { + export interface Prisma__ManyRequiredClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" - one = {}>(args?: Subset>): Prisma__OneOptionalClient<$Result.GetResult, T, "findUniqueOrThrow"> | null, null, ExtArgs> + one = {}>(args?: Subset>): Prisma__OneOptionalClient<$Result.GetResult, T, "findUniqueOrThrow", ClientOptions> | null, null, ExtArgs, ClientOptions> /** * Attaches callbacks for the resolution and/or rejection of the Promise. * @param onfulfilled The callback to execute when the Promise is resolved. @@ -9622,6 +9931,10 @@ export namespace Prisma { * Select specific fields to fetch from the ManyRequired */ select?: ManyRequiredSelect | null + /** + * Omit specific fields from the ManyRequired + */ + omit?: ManyRequiredOmit | null /** * Choose, which related nodes to fetch as well */ @@ -9640,6 +9953,10 @@ export namespace Prisma { * Select specific fields to fetch from the ManyRequired */ select?: ManyRequiredSelect | null + /** + * Omit specific fields from the ManyRequired + */ + omit?: ManyRequiredOmit | null /** * Choose, which related nodes to fetch as well */ @@ -9658,6 +9975,10 @@ export namespace Prisma { * Select specific fields to fetch from the ManyRequired */ select?: ManyRequiredSelect | null + /** + * Omit specific fields from the ManyRequired + */ + omit?: ManyRequiredOmit | null /** * Choose, which related nodes to fetch as well */ @@ -9706,6 +10027,10 @@ export namespace Prisma { * Select specific fields to fetch from the ManyRequired */ select?: ManyRequiredSelect | null + /** + * Omit specific fields from the ManyRequired + */ + omit?: ManyRequiredOmit | null /** * Choose, which related nodes to fetch as well */ @@ -9754,6 +10079,10 @@ export namespace Prisma { * Select specific fields to fetch from the ManyRequired */ select?: ManyRequiredSelect | null + /** + * Omit specific fields from the ManyRequired + */ + omit?: ManyRequiredOmit | null /** * Choose, which related nodes to fetch as well */ @@ -9797,6 +10126,10 @@ export namespace Prisma { * Select specific fields to fetch from the ManyRequired */ select?: ManyRequiredSelect | null + /** + * Omit specific fields from the ManyRequired + */ + omit?: ManyRequiredOmit | null /** * Choose, which related nodes to fetch as well */ @@ -9825,6 +10158,10 @@ export namespace Prisma { * Select specific fields to fetch from the ManyRequired */ select?: ManyRequiredSelect | null + /** + * Omit specific fields from the ManyRequired + */ + omit?: ManyRequiredOmit | null /** * Choose, which related nodes to fetch as well */ @@ -9861,6 +10198,10 @@ export namespace Prisma { * Select specific fields to fetch from the ManyRequired */ select?: ManyRequiredSelect | null + /** + * Omit specific fields from the ManyRequired + */ + omit?: ManyRequiredOmit | null /** * Choose, which related nodes to fetch as well */ @@ -9887,6 +10228,10 @@ export namespace Prisma { * Select specific fields to fetch from the ManyRequired */ select?: ManyRequiredSelect | null + /** + * Omit specific fields from the ManyRequired + */ + omit?: ManyRequiredOmit | null /** * Choose, which related nodes to fetch as well */ @@ -9943,6 +10288,10 @@ export namespace Prisma { * Select specific fields to fetch from the OneOptional */ select?: OneOptionalSelect | null + /** + * Omit specific fields from the OneOptional + */ + omit?: OneOptionalOmit | null /** * Choose, which related nodes to fetch as well */ @@ -9958,6 +10307,10 @@ export namespace Prisma { * Select specific fields to fetch from the ManyRequired */ select?: ManyRequiredSelect | null + /** + * Omit specific fields from the ManyRequired + */ + omit?: ManyRequiredOmit | null /** * Choose, which related nodes to fetch as well */ @@ -10261,6 +10614,7 @@ export namespace Prisma { optionalBoolean?: boolean } + export type OptionalSide1Omit = $Extensions.GetOmit<"id" | "optionalSide2Id" | "int" | "optionalInt" | "float" | "optionalFloat" | "string" | "optionalString" | "json" | "optionalJson" | "enum" | "optionalEnum" | "boolean" | "optionalBoolean", ExtArgs["result"]["optionalSide1"]> export type OptionalSide1Include = { opti?: boolean | OptionalSide1$optiArgs } @@ -10292,11 +10646,11 @@ export namespace Prisma { type OptionalSide1GetPayload = $Result.GetResult type OptionalSide1CountArgs = - Omit & { + Omit & { select?: OptionalSide1CountAggregateInputType | true } - export interface OptionalSide1Delegate { + export interface OptionalSide1Delegate { [K: symbol]: { types: Prisma.TypeMap['model']['OptionalSide1'], meta: { name: 'OptionalSide1' } } /** * Find zero or one OptionalSide1 that matches the filter. @@ -10309,7 +10663,7 @@ export namespace Prisma { * } * }) */ - findUnique(args: SelectSubset>): Prisma__OptionalSide1Client<$Result.GetResult, T, "findUnique"> | null, null, ExtArgs> + findUnique(args: SelectSubset>): Prisma__OptionalSide1Client<$Result.GetResult, T, "findUnique", ClientOptions> | null, null, ExtArgs, ClientOptions> /** * Find one OptionalSide1 that matches the filter or throw an error with \`error.code='P2025'\` @@ -10323,7 +10677,7 @@ export namespace Prisma { * } * }) */ - findUniqueOrThrow(args: SelectSubset>): Prisma__OptionalSide1Client<$Result.GetResult, T, "findUniqueOrThrow">, never, ExtArgs> + findUniqueOrThrow(args: SelectSubset>): Prisma__OptionalSide1Client<$Result.GetResult, T, "findUniqueOrThrow", ClientOptions>, never, ExtArgs, ClientOptions> /** * Find the first OptionalSide1 that matches the filter. @@ -10338,7 +10692,7 @@ export namespace Prisma { * } * }) */ - findFirst(args?: SelectSubset>): Prisma__OptionalSide1Client<$Result.GetResult, T, "findFirst"> | null, null, ExtArgs> + findFirst(args?: SelectSubset>): Prisma__OptionalSide1Client<$Result.GetResult, T, "findFirst", ClientOptions> | null, null, ExtArgs, ClientOptions> /** * Find the first OptionalSide1 that matches the filter or @@ -10354,7 +10708,7 @@ export namespace Prisma { * } * }) */ - findFirstOrThrow(args?: SelectSubset>): Prisma__OptionalSide1Client<$Result.GetResult, T, "findFirstOrThrow">, never, ExtArgs> + findFirstOrThrow(args?: SelectSubset>): Prisma__OptionalSide1Client<$Result.GetResult, T, "findFirstOrThrow", ClientOptions>, never, ExtArgs, ClientOptions> /** * Find zero or more OptionalSide1s that matches the filter. @@ -10372,7 +10726,7 @@ export namespace Prisma { * const optionalSide1WithIdOnly = await prisma.optionalSide1.findMany({ select: { id: true } }) * */ - findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany">> + findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", ClientOptions>> /** * Create a OptionalSide1. @@ -10386,7 +10740,7 @@ export namespace Prisma { * }) * */ - create(args: SelectSubset>): Prisma__OptionalSide1Client<$Result.GetResult, T, "create">, never, ExtArgs> + create(args: SelectSubset>): Prisma__OptionalSide1Client<$Result.GetResult, T, "create", ClientOptions>, never, ExtArgs, ClientOptions> /** * Create many OptionalSide1s. @@ -10414,7 +10768,7 @@ export namespace Prisma { * }) * */ - delete(args: SelectSubset>): Prisma__OptionalSide1Client<$Result.GetResult, T, "delete">, never, ExtArgs> + delete(args: SelectSubset>): Prisma__OptionalSide1Client<$Result.GetResult, T, "delete", ClientOptions>, never, ExtArgs, ClientOptions> /** * Update one OptionalSide1. @@ -10431,7 +10785,7 @@ export namespace Prisma { * }) * */ - update(args: SelectSubset>): Prisma__OptionalSide1Client<$Result.GetResult, T, "update">, never, ExtArgs> + update(args: SelectSubset>): Prisma__OptionalSide1Client<$Result.GetResult, T, "update", ClientOptions>, never, ExtArgs, ClientOptions> /** * Delete zero or more OptionalSide1s. @@ -10483,7 +10837,7 @@ export namespace Prisma { * } * }) */ - upsert(args: SelectSubset>): Prisma__OptionalSide1Client<$Result.GetResult, T, "upsert">, never, ExtArgs> + upsert(args: SelectSubset>): Prisma__OptionalSide1Client<$Result.GetResult, T, "upsert", ClientOptions>, never, ExtArgs, ClientOptions> /** * Find zero or more OptionalSide1s that matches the filter. @@ -10646,9 +11000,9 @@ export namespace Prisma { * Because we want to prevent naming conflicts as mentioned in * https://github.com/prisma/prisma-client-js/issues/707 */ - export interface Prisma__OptionalSide1Client extends Prisma.PrismaPromise { + export interface Prisma__OptionalSide1Client extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" - opti = {}>(args?: Subset>): Prisma__OptionalSide2Client<$Result.GetResult, T, "findUniqueOrThrow"> | null, null, ExtArgs> + opti = {}>(args?: Subset>): Prisma__OptionalSide2Client<$Result.GetResult, T, "findUniqueOrThrow", ClientOptions> | null, null, ExtArgs, ClientOptions> /** * Attaches callbacks for the resolution and/or rejection of the Promise. * @param onfulfilled The callback to execute when the Promise is resolved. @@ -10704,6 +11058,10 @@ export namespace Prisma { * Select specific fields to fetch from the OptionalSide1 */ select?: OptionalSide1Select | null + /** + * Omit specific fields from the OptionalSide1 + */ + omit?: OptionalSide1Omit | null /** * Choose, which related nodes to fetch as well */ @@ -10722,6 +11080,10 @@ export namespace Prisma { * Select specific fields to fetch from the OptionalSide1 */ select?: OptionalSide1Select | null + /** + * Omit specific fields from the OptionalSide1 + */ + omit?: OptionalSide1Omit | null /** * Choose, which related nodes to fetch as well */ @@ -10740,6 +11102,10 @@ export namespace Prisma { * Select specific fields to fetch from the OptionalSide1 */ select?: OptionalSide1Select | null + /** + * Omit specific fields from the OptionalSide1 + */ + omit?: OptionalSide1Omit | null /** * Choose, which related nodes to fetch as well */ @@ -10788,6 +11154,10 @@ export namespace Prisma { * Select specific fields to fetch from the OptionalSide1 */ select?: OptionalSide1Select | null + /** + * Omit specific fields from the OptionalSide1 + */ + omit?: OptionalSide1Omit | null /** * Choose, which related nodes to fetch as well */ @@ -10836,6 +11206,10 @@ export namespace Prisma { * Select specific fields to fetch from the OptionalSide1 */ select?: OptionalSide1Select | null + /** + * Omit specific fields from the OptionalSide1 + */ + omit?: OptionalSide1Omit | null /** * Choose, which related nodes to fetch as well */ @@ -10879,6 +11253,10 @@ export namespace Prisma { * Select specific fields to fetch from the OptionalSide1 */ select?: OptionalSide1Select | null + /** + * Omit specific fields from the OptionalSide1 + */ + omit?: OptionalSide1Omit | null /** * Choose, which related nodes to fetch as well */ @@ -10907,6 +11285,10 @@ export namespace Prisma { * Select specific fields to fetch from the OptionalSide1 */ select?: OptionalSide1Select | null + /** + * Omit specific fields from the OptionalSide1 + */ + omit?: OptionalSide1Omit | null /** * Choose, which related nodes to fetch as well */ @@ -10943,6 +11325,10 @@ export namespace Prisma { * Select specific fields to fetch from the OptionalSide1 */ select?: OptionalSide1Select | null + /** + * Omit specific fields from the OptionalSide1 + */ + omit?: OptionalSide1Omit | null /** * Choose, which related nodes to fetch as well */ @@ -10969,6 +11355,10 @@ export namespace Prisma { * Select specific fields to fetch from the OptionalSide1 */ select?: OptionalSide1Select | null + /** + * Omit specific fields from the OptionalSide1 + */ + omit?: OptionalSide1Omit | null /** * Choose, which related nodes to fetch as well */ @@ -11025,6 +11415,10 @@ export namespace Prisma { * Select specific fields to fetch from the OptionalSide2 */ select?: OptionalSide2Select | null + /** + * Omit specific fields from the OptionalSide2 + */ + omit?: OptionalSide2Omit | null /** * Choose, which related nodes to fetch as well */ @@ -11040,6 +11434,10 @@ export namespace Prisma { * Select specific fields to fetch from the OptionalSide1 */ select?: OptionalSide1Select | null + /** + * Omit specific fields from the OptionalSide1 + */ + omit?: OptionalSide1Omit | null /** * Choose, which related nodes to fetch as well */ @@ -11334,6 +11732,7 @@ export namespace Prisma { optionalBoolean?: boolean } + export type OptionalSide2Omit = $Extensions.GetOmit<"id" | "int" | "optionalInt" | "float" | "optionalFloat" | "string" | "optionalString" | "json" | "optionalJson" | "enum" | "optionalEnum" | "boolean" | "optionalBoolean", ExtArgs["result"]["optionalSide2"]> export type OptionalSide2Include = { opti?: boolean | OptionalSide2$optiArgs } @@ -11364,11 +11763,11 @@ export namespace Prisma { type OptionalSide2GetPayload = $Result.GetResult type OptionalSide2CountArgs = - Omit & { + Omit & { select?: OptionalSide2CountAggregateInputType | true } - export interface OptionalSide2Delegate { + export interface OptionalSide2Delegate { [K: symbol]: { types: Prisma.TypeMap['model']['OptionalSide2'], meta: { name: 'OptionalSide2' } } /** * Find zero or one OptionalSide2 that matches the filter. @@ -11381,7 +11780,7 @@ export namespace Prisma { * } * }) */ - findUnique(args: SelectSubset>): Prisma__OptionalSide2Client<$Result.GetResult, T, "findUnique"> | null, null, ExtArgs> + findUnique(args: SelectSubset>): Prisma__OptionalSide2Client<$Result.GetResult, T, "findUnique", ClientOptions> | null, null, ExtArgs, ClientOptions> /** * Find one OptionalSide2 that matches the filter or throw an error with \`error.code='P2025'\` @@ -11395,7 +11794,7 @@ export namespace Prisma { * } * }) */ - findUniqueOrThrow(args: SelectSubset>): Prisma__OptionalSide2Client<$Result.GetResult, T, "findUniqueOrThrow">, never, ExtArgs> + findUniqueOrThrow(args: SelectSubset>): Prisma__OptionalSide2Client<$Result.GetResult, T, "findUniqueOrThrow", ClientOptions>, never, ExtArgs, ClientOptions> /** * Find the first OptionalSide2 that matches the filter. @@ -11410,7 +11809,7 @@ export namespace Prisma { * } * }) */ - findFirst(args?: SelectSubset>): Prisma__OptionalSide2Client<$Result.GetResult, T, "findFirst"> | null, null, ExtArgs> + findFirst(args?: SelectSubset>): Prisma__OptionalSide2Client<$Result.GetResult, T, "findFirst", ClientOptions> | null, null, ExtArgs, ClientOptions> /** * Find the first OptionalSide2 that matches the filter or @@ -11426,7 +11825,7 @@ export namespace Prisma { * } * }) */ - findFirstOrThrow(args?: SelectSubset>): Prisma__OptionalSide2Client<$Result.GetResult, T, "findFirstOrThrow">, never, ExtArgs> + findFirstOrThrow(args?: SelectSubset>): Prisma__OptionalSide2Client<$Result.GetResult, T, "findFirstOrThrow", ClientOptions>, never, ExtArgs, ClientOptions> /** * Find zero or more OptionalSide2s that matches the filter. @@ -11444,7 +11843,7 @@ export namespace Prisma { * const optionalSide2WithIdOnly = await prisma.optionalSide2.findMany({ select: { id: true } }) * */ - findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany">> + findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", ClientOptions>> /** * Create a OptionalSide2. @@ -11458,7 +11857,7 @@ export namespace Prisma { * }) * */ - create(args: SelectSubset>): Prisma__OptionalSide2Client<$Result.GetResult, T, "create">, never, ExtArgs> + create(args: SelectSubset>): Prisma__OptionalSide2Client<$Result.GetResult, T, "create", ClientOptions>, never, ExtArgs, ClientOptions> /** * Create many OptionalSide2s. @@ -11486,7 +11885,7 @@ export namespace Prisma { * }) * */ - delete(args: SelectSubset>): Prisma__OptionalSide2Client<$Result.GetResult, T, "delete">, never, ExtArgs> + delete(args: SelectSubset>): Prisma__OptionalSide2Client<$Result.GetResult, T, "delete", ClientOptions>, never, ExtArgs, ClientOptions> /** * Update one OptionalSide2. @@ -11503,7 +11902,7 @@ export namespace Prisma { * }) * */ - update(args: SelectSubset>): Prisma__OptionalSide2Client<$Result.GetResult, T, "update">, never, ExtArgs> + update(args: SelectSubset>): Prisma__OptionalSide2Client<$Result.GetResult, T, "update", ClientOptions>, never, ExtArgs, ClientOptions> /** * Delete zero or more OptionalSide2s. @@ -11555,7 +11954,7 @@ export namespace Prisma { * } * }) */ - upsert(args: SelectSubset>): Prisma__OptionalSide2Client<$Result.GetResult, T, "upsert">, never, ExtArgs> + upsert(args: SelectSubset>): Prisma__OptionalSide2Client<$Result.GetResult, T, "upsert", ClientOptions>, never, ExtArgs, ClientOptions> /** * Find zero or more OptionalSide2s that matches the filter. @@ -11718,9 +12117,9 @@ export namespace Prisma { * Because we want to prevent naming conflicts as mentioned in * https://github.com/prisma/prisma-client-js/issues/707 */ - export interface Prisma__OptionalSide2Client extends Prisma.PrismaPromise { + export interface Prisma__OptionalSide2Client extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" - opti = {}>(args?: Subset>): Prisma__OptionalSide1Client<$Result.GetResult, T, "findUniqueOrThrow"> | null, null, ExtArgs> + opti = {}>(args?: Subset>): Prisma__OptionalSide1Client<$Result.GetResult, T, "findUniqueOrThrow", ClientOptions> | null, null, ExtArgs, ClientOptions> /** * Attaches callbacks for the resolution and/or rejection of the Promise. * @param onfulfilled The callback to execute when the Promise is resolved. @@ -11775,6 +12174,10 @@ export namespace Prisma { * Select specific fields to fetch from the OptionalSide2 */ select?: OptionalSide2Select | null + /** + * Omit specific fields from the OptionalSide2 + */ + omit?: OptionalSide2Omit | null /** * Choose, which related nodes to fetch as well */ @@ -11793,6 +12196,10 @@ export namespace Prisma { * Select specific fields to fetch from the OptionalSide2 */ select?: OptionalSide2Select | null + /** + * Omit specific fields from the OptionalSide2 + */ + omit?: OptionalSide2Omit | null /** * Choose, which related nodes to fetch as well */ @@ -11811,6 +12218,10 @@ export namespace Prisma { * Select specific fields to fetch from the OptionalSide2 */ select?: OptionalSide2Select | null + /** + * Omit specific fields from the OptionalSide2 + */ + omit?: OptionalSide2Omit | null /** * Choose, which related nodes to fetch as well */ @@ -11859,6 +12270,10 @@ export namespace Prisma { * Select specific fields to fetch from the OptionalSide2 */ select?: OptionalSide2Select | null + /** + * Omit specific fields from the OptionalSide2 + */ + omit?: OptionalSide2Omit | null /** * Choose, which related nodes to fetch as well */ @@ -11907,6 +12322,10 @@ export namespace Prisma { * Select specific fields to fetch from the OptionalSide2 */ select?: OptionalSide2Select | null + /** + * Omit specific fields from the OptionalSide2 + */ + omit?: OptionalSide2Omit | null /** * Choose, which related nodes to fetch as well */ @@ -11950,6 +12369,10 @@ export namespace Prisma { * Select specific fields to fetch from the OptionalSide2 */ select?: OptionalSide2Select | null + /** + * Omit specific fields from the OptionalSide2 + */ + omit?: OptionalSide2Omit | null /** * Choose, which related nodes to fetch as well */ @@ -11978,6 +12401,10 @@ export namespace Prisma { * Select specific fields to fetch from the OptionalSide2 */ select?: OptionalSide2Select | null + /** + * Omit specific fields from the OptionalSide2 + */ + omit?: OptionalSide2Omit | null /** * Choose, which related nodes to fetch as well */ @@ -12014,6 +12441,10 @@ export namespace Prisma { * Select specific fields to fetch from the OptionalSide2 */ select?: OptionalSide2Select | null + /** + * Omit specific fields from the OptionalSide2 + */ + omit?: OptionalSide2Omit | null /** * Choose, which related nodes to fetch as well */ @@ -12040,6 +12471,10 @@ export namespace Prisma { * Select specific fields to fetch from the OptionalSide2 */ select?: OptionalSide2Select | null + /** + * Omit specific fields from the OptionalSide2 + */ + omit?: OptionalSide2Omit | null /** * Choose, which related nodes to fetch as well */ @@ -12096,6 +12531,10 @@ export namespace Prisma { * Select specific fields to fetch from the OptionalSide1 */ select?: OptionalSide1Select | null + /** + * Omit specific fields from the OptionalSide1 + */ + omit?: OptionalSide1Omit | null /** * Choose, which related nodes to fetch as well */ @@ -12111,6 +12550,10 @@ export namespace Prisma { * Select specific fields to fetch from the OptionalSide2 */ select?: OptionalSide2Select | null + /** + * Omit specific fields from the OptionalSide2 + */ + omit?: OptionalSide2Omit | null /** * Choose, which related nodes to fetch as well */ @@ -12345,6 +12788,7 @@ export namespace Prisma { bInt?: boolean } + export type AOmit = $Extensions.GetOmit<"id" | "email" | "name" | "int" | "sInt" | "bInt", ExtArgs["result"]["a"]> export type $APayload = { name: "A" @@ -12369,11 +12813,11 @@ export namespace Prisma { type AGetPayload = $Result.GetResult type ACountArgs = - Omit & { + Omit & { select?: ACountAggregateInputType | true } - export interface ADelegate { + export interface ADelegate { [K: symbol]: { types: Prisma.TypeMap['model']['A'], meta: { name: 'A' } } /** * Find zero or one A that matches the filter. @@ -12386,7 +12830,7 @@ export namespace Prisma { * } * }) */ - findUnique(args: SelectSubset>): Prisma__AClient<$Result.GetResult, T, "findUnique"> | null, null, ExtArgs> + findUnique(args: SelectSubset>): Prisma__AClient<$Result.GetResult, T, "findUnique", ClientOptions> | null, null, ExtArgs, ClientOptions> /** * Find one A that matches the filter or throw an error with \`error.code='P2025'\` @@ -12400,7 +12844,7 @@ export namespace Prisma { * } * }) */ - findUniqueOrThrow(args: SelectSubset>): Prisma__AClient<$Result.GetResult, T, "findUniqueOrThrow">, never, ExtArgs> + findUniqueOrThrow(args: SelectSubset>): Prisma__AClient<$Result.GetResult, T, "findUniqueOrThrow", ClientOptions>, never, ExtArgs, ClientOptions> /** * Find the first A that matches the filter. @@ -12415,7 +12859,7 @@ export namespace Prisma { * } * }) */ - findFirst(args?: SelectSubset>): Prisma__AClient<$Result.GetResult, T, "findFirst"> | null, null, ExtArgs> + findFirst(args?: SelectSubset>): Prisma__AClient<$Result.GetResult, T, "findFirst", ClientOptions> | null, null, ExtArgs, ClientOptions> /** * Find the first A that matches the filter or @@ -12431,7 +12875,7 @@ export namespace Prisma { * } * }) */ - findFirstOrThrow(args?: SelectSubset>): Prisma__AClient<$Result.GetResult, T, "findFirstOrThrow">, never, ExtArgs> + findFirstOrThrow(args?: SelectSubset>): Prisma__AClient<$Result.GetResult, T, "findFirstOrThrow", ClientOptions>, never, ExtArgs, ClientOptions> /** * Find zero or more As that matches the filter. @@ -12449,7 +12893,7 @@ export namespace Prisma { * const aWithIdOnly = await prisma.a.findMany({ select: { id: true } }) * */ - findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany">> + findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", ClientOptions>> /** * Create a A. @@ -12463,7 +12907,7 @@ export namespace Prisma { * }) * */ - create(args: SelectSubset>): Prisma__AClient<$Result.GetResult, T, "create">, never, ExtArgs> + create(args: SelectSubset>): Prisma__AClient<$Result.GetResult, T, "create", ClientOptions>, never, ExtArgs, ClientOptions> /** * Create many As. @@ -12491,7 +12935,7 @@ export namespace Prisma { * }) * */ - delete(args: SelectSubset>): Prisma__AClient<$Result.GetResult, T, "delete">, never, ExtArgs> + delete(args: SelectSubset>): Prisma__AClient<$Result.GetResult, T, "delete", ClientOptions>, never, ExtArgs, ClientOptions> /** * Update one A. @@ -12508,7 +12952,7 @@ export namespace Prisma { * }) * */ - update(args: SelectSubset>): Prisma__AClient<$Result.GetResult, T, "update">, never, ExtArgs> + update(args: SelectSubset>): Prisma__AClient<$Result.GetResult, T, "update", ClientOptions>, never, ExtArgs, ClientOptions> /** * Delete zero or more As. @@ -12560,7 +13004,7 @@ export namespace Prisma { * } * }) */ - upsert(args: SelectSubset>): Prisma__AClient<$Result.GetResult, T, "upsert">, never, ExtArgs> + upsert(args: SelectSubset>): Prisma__AClient<$Result.GetResult, T, "upsert", ClientOptions>, never, ExtArgs, ClientOptions> /** * Find zero or more As that matches the filter. @@ -12723,7 +13167,7 @@ export namespace Prisma { * Because we want to prevent naming conflicts as mentioned in * https://github.com/prisma/prisma-client-js/issues/707 */ - export interface Prisma__AClient extends Prisma.PrismaPromise { + export interface Prisma__AClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" /** * Attaches callbacks for the resolution and/or rejection of the Promise. @@ -12772,6 +13216,10 @@ export namespace Prisma { * Select specific fields to fetch from the A */ select?: ASelect | null + /** + * Omit specific fields from the A + */ + omit?: AOmit | null /** * Filter, which A to fetch. */ @@ -12786,6 +13234,10 @@ export namespace Prisma { * Select specific fields to fetch from the A */ select?: ASelect | null + /** + * Omit specific fields from the A + */ + omit?: AOmit | null /** * Filter, which A to fetch. */ @@ -12800,6 +13252,10 @@ export namespace Prisma { * Select specific fields to fetch from the A */ select?: ASelect | null + /** + * Omit specific fields from the A + */ + omit?: AOmit | null /** * Filter, which A to fetch. */ @@ -12844,6 +13300,10 @@ export namespace Prisma { * Select specific fields to fetch from the A */ select?: ASelect | null + /** + * Omit specific fields from the A + */ + omit?: AOmit | null /** * Filter, which A to fetch. */ @@ -12888,6 +13348,10 @@ export namespace Prisma { * Select specific fields to fetch from the A */ select?: ASelect | null + /** + * Omit specific fields from the A + */ + omit?: AOmit | null /** * Filter, which AS to fetch. */ @@ -12927,6 +13391,10 @@ export namespace Prisma { * Select specific fields to fetch from the A */ select?: ASelect | null + /** + * Omit specific fields from the A + */ + omit?: AOmit | null /** * The data needed to create a A. */ @@ -12951,6 +13419,10 @@ export namespace Prisma { * Select specific fields to fetch from the A */ select?: ASelect | null + /** + * Omit specific fields from the A + */ + omit?: AOmit | null /** * The data needed to update a A. */ @@ -12983,6 +13455,10 @@ export namespace Prisma { * Select specific fields to fetch from the A */ select?: ASelect | null + /** + * Omit specific fields from the A + */ + omit?: AOmit | null /** * The filter to search for the A to update in case it exists. */ @@ -13005,6 +13481,10 @@ export namespace Prisma { * Select specific fields to fetch from the A */ select?: ASelect | null + /** + * Omit specific fields from the A + */ + omit?: AOmit | null /** * Filter which A to delete. */ @@ -13057,6 +13537,10 @@ export namespace Prisma { * Select specific fields to fetch from the A */ select?: ASelect | null + /** + * Omit specific fields from the A + */ + omit?: AOmit | null } @@ -13256,6 +13740,7 @@ export namespace Prisma { dFloat?: boolean } + export type BOmit = $Extensions.GetOmit<"id" | "float" | "dFloat", ExtArgs["result"]["b"]> export type $BPayload = { name: "B" @@ -13271,11 +13756,11 @@ export namespace Prisma { type BGetPayload = $Result.GetResult type BCountArgs = - Omit & { + Omit & { select?: BCountAggregateInputType | true } - export interface BDelegate { + export interface BDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['B'], meta: { name: 'B' } } /** * Find zero or one B that matches the filter. @@ -13288,7 +13773,7 @@ export namespace Prisma { * } * }) */ - findUnique(args: SelectSubset>): Prisma__BClient<$Result.GetResult, T, "findUnique"> | null, null, ExtArgs> + findUnique(args: SelectSubset>): Prisma__BClient<$Result.GetResult, T, "findUnique", ClientOptions> | null, null, ExtArgs, ClientOptions> /** * Find one B that matches the filter or throw an error with \`error.code='P2025'\` @@ -13302,7 +13787,7 @@ export namespace Prisma { * } * }) */ - findUniqueOrThrow(args: SelectSubset>): Prisma__BClient<$Result.GetResult, T, "findUniqueOrThrow">, never, ExtArgs> + findUniqueOrThrow(args: SelectSubset>): Prisma__BClient<$Result.GetResult, T, "findUniqueOrThrow", ClientOptions>, never, ExtArgs, ClientOptions> /** * Find the first B that matches the filter. @@ -13317,7 +13802,7 @@ export namespace Prisma { * } * }) */ - findFirst(args?: SelectSubset>): Prisma__BClient<$Result.GetResult, T, "findFirst"> | null, null, ExtArgs> + findFirst(args?: SelectSubset>): Prisma__BClient<$Result.GetResult, T, "findFirst", ClientOptions> | null, null, ExtArgs, ClientOptions> /** * Find the first B that matches the filter or @@ -13333,7 +13818,7 @@ export namespace Prisma { * } * }) */ - findFirstOrThrow(args?: SelectSubset>): Prisma__BClient<$Result.GetResult, T, "findFirstOrThrow">, never, ExtArgs> + findFirstOrThrow(args?: SelectSubset>): Prisma__BClient<$Result.GetResult, T, "findFirstOrThrow", ClientOptions>, never, ExtArgs, ClientOptions> /** * Find zero or more Bs that matches the filter. @@ -13351,7 +13836,7 @@ export namespace Prisma { * const bWithIdOnly = await prisma.b.findMany({ select: { id: true } }) * */ - findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany">> + findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", ClientOptions>> /** * Create a B. @@ -13365,7 +13850,7 @@ export namespace Prisma { * }) * */ - create(args: SelectSubset>): Prisma__BClient<$Result.GetResult, T, "create">, never, ExtArgs> + create(args: SelectSubset>): Prisma__BClient<$Result.GetResult, T, "create", ClientOptions>, never, ExtArgs, ClientOptions> /** * Create many Bs. @@ -13393,7 +13878,7 @@ export namespace Prisma { * }) * */ - delete(args: SelectSubset>): Prisma__BClient<$Result.GetResult, T, "delete">, never, ExtArgs> + delete(args: SelectSubset>): Prisma__BClient<$Result.GetResult, T, "delete", ClientOptions>, never, ExtArgs, ClientOptions> /** * Update one B. @@ -13410,7 +13895,7 @@ export namespace Prisma { * }) * */ - update(args: SelectSubset>): Prisma__BClient<$Result.GetResult, T, "update">, never, ExtArgs> + update(args: SelectSubset>): Prisma__BClient<$Result.GetResult, T, "update", ClientOptions>, never, ExtArgs, ClientOptions> /** * Delete zero or more Bs. @@ -13462,7 +13947,7 @@ export namespace Prisma { * } * }) */ - upsert(args: SelectSubset>): Prisma__BClient<$Result.GetResult, T, "upsert">, never, ExtArgs> + upsert(args: SelectSubset>): Prisma__BClient<$Result.GetResult, T, "upsert", ClientOptions>, never, ExtArgs, ClientOptions> /** * Find zero or more Bs that matches the filter. @@ -13625,7 +14110,7 @@ export namespace Prisma { * Because we want to prevent naming conflicts as mentioned in * https://github.com/prisma/prisma-client-js/issues/707 */ - export interface Prisma__BClient extends Prisma.PrismaPromise { + export interface Prisma__BClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" /** * Attaches callbacks for the resolution and/or rejection of the Promise. @@ -13671,6 +14156,10 @@ export namespace Prisma { * Select specific fields to fetch from the B */ select?: BSelect | null + /** + * Omit specific fields from the B + */ + omit?: BOmit | null /** * Filter, which B to fetch. */ @@ -13685,6 +14174,10 @@ export namespace Prisma { * Select specific fields to fetch from the B */ select?: BSelect | null + /** + * Omit specific fields from the B + */ + omit?: BOmit | null /** * Filter, which B to fetch. */ @@ -13699,6 +14192,10 @@ export namespace Prisma { * Select specific fields to fetch from the B */ select?: BSelect | null + /** + * Omit specific fields from the B + */ + omit?: BOmit | null /** * Filter, which B to fetch. */ @@ -13743,6 +14240,10 @@ export namespace Prisma { * Select specific fields to fetch from the B */ select?: BSelect | null + /** + * Omit specific fields from the B + */ + omit?: BOmit | null /** * Filter, which B to fetch. */ @@ -13787,6 +14288,10 @@ export namespace Prisma { * Select specific fields to fetch from the B */ select?: BSelect | null + /** + * Omit specific fields from the B + */ + omit?: BOmit | null /** * Filter, which BS to fetch. */ @@ -13826,6 +14331,10 @@ export namespace Prisma { * Select specific fields to fetch from the B */ select?: BSelect | null + /** + * Omit specific fields from the B + */ + omit?: BOmit | null /** * The data needed to create a B. */ @@ -13850,6 +14359,10 @@ export namespace Prisma { * Select specific fields to fetch from the B */ select?: BSelect | null + /** + * Omit specific fields from the B + */ + omit?: BOmit | null /** * The data needed to update a B. */ @@ -13882,6 +14395,10 @@ export namespace Prisma { * Select specific fields to fetch from the B */ select?: BSelect | null + /** + * Omit specific fields from the B + */ + omit?: BOmit | null /** * The filter to search for the B to update in case it exists. */ @@ -13904,6 +14421,10 @@ export namespace Prisma { * Select specific fields to fetch from the B */ select?: BSelect | null + /** + * Omit specific fields from the B + */ + omit?: BOmit | null /** * Filter which B to delete. */ @@ -13956,6 +14477,10 @@ export namespace Prisma { * Select specific fields to fetch from the B */ select?: BSelect | null + /** + * Omit specific fields from the B + */ + omit?: BOmit | null } @@ -14153,6 +14678,7 @@ export namespace Prisma { uuid?: boolean } + export type COmit = $Extensions.GetOmit<"id" | "char" | "vChar" | "text" | "bit" | "vBit" | "uuid", ExtArgs["result"]["c"]> export type $CPayload = { name: "C" @@ -14172,11 +14698,11 @@ export namespace Prisma { type CGetPayload = $Result.GetResult type CCountArgs = - Omit & { + Omit & { select?: CCountAggregateInputType | true } - export interface CDelegate { + export interface CDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['C'], meta: { name: 'C' } } /** * Find zero or one C that matches the filter. @@ -14189,7 +14715,7 @@ export namespace Prisma { * } * }) */ - findUnique(args: SelectSubset>): Prisma__CClient<$Result.GetResult, T, "findUnique"> | null, null, ExtArgs> + findUnique(args: SelectSubset>): Prisma__CClient<$Result.GetResult, T, "findUnique", ClientOptions> | null, null, ExtArgs, ClientOptions> /** * Find one C that matches the filter or throw an error with \`error.code='P2025'\` @@ -14203,7 +14729,7 @@ export namespace Prisma { * } * }) */ - findUniqueOrThrow(args: SelectSubset>): Prisma__CClient<$Result.GetResult, T, "findUniqueOrThrow">, never, ExtArgs> + findUniqueOrThrow(args: SelectSubset>): Prisma__CClient<$Result.GetResult, T, "findUniqueOrThrow", ClientOptions>, never, ExtArgs, ClientOptions> /** * Find the first C that matches the filter. @@ -14218,7 +14744,7 @@ export namespace Prisma { * } * }) */ - findFirst(args?: SelectSubset>): Prisma__CClient<$Result.GetResult, T, "findFirst"> | null, null, ExtArgs> + findFirst(args?: SelectSubset>): Prisma__CClient<$Result.GetResult, T, "findFirst", ClientOptions> | null, null, ExtArgs, ClientOptions> /** * Find the first C that matches the filter or @@ -14234,7 +14760,7 @@ export namespace Prisma { * } * }) */ - findFirstOrThrow(args?: SelectSubset>): Prisma__CClient<$Result.GetResult, T, "findFirstOrThrow">, never, ExtArgs> + findFirstOrThrow(args?: SelectSubset>): Prisma__CClient<$Result.GetResult, T, "findFirstOrThrow", ClientOptions>, never, ExtArgs, ClientOptions> /** * Find zero or more Cs that matches the filter. @@ -14252,7 +14778,7 @@ export namespace Prisma { * const cWithIdOnly = await prisma.c.findMany({ select: { id: true } }) * */ - findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany">> + findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", ClientOptions>> /** * Create a C. @@ -14266,7 +14792,7 @@ export namespace Prisma { * }) * */ - create(args: SelectSubset>): Prisma__CClient<$Result.GetResult, T, "create">, never, ExtArgs> + create(args: SelectSubset>): Prisma__CClient<$Result.GetResult, T, "create", ClientOptions>, never, ExtArgs, ClientOptions> /** * Create many Cs. @@ -14294,7 +14820,7 @@ export namespace Prisma { * }) * */ - delete(args: SelectSubset>): Prisma__CClient<$Result.GetResult, T, "delete">, never, ExtArgs> + delete(args: SelectSubset>): Prisma__CClient<$Result.GetResult, T, "delete", ClientOptions>, never, ExtArgs, ClientOptions> /** * Update one C. @@ -14311,7 +14837,7 @@ export namespace Prisma { * }) * */ - update(args: SelectSubset>): Prisma__CClient<$Result.GetResult, T, "update">, never, ExtArgs> + update(args: SelectSubset>): Prisma__CClient<$Result.GetResult, T, "update", ClientOptions>, never, ExtArgs, ClientOptions> /** * Delete zero or more Cs. @@ -14363,7 +14889,7 @@ export namespace Prisma { * } * }) */ - upsert(args: SelectSubset>): Prisma__CClient<$Result.GetResult, T, "upsert">, never, ExtArgs> + upsert(args: SelectSubset>): Prisma__CClient<$Result.GetResult, T, "upsert", ClientOptions>, never, ExtArgs, ClientOptions> /** * Find zero or more Cs that matches the filter. @@ -14526,7 +15052,7 @@ export namespace Prisma { * Because we want to prevent naming conflicts as mentioned in * https://github.com/prisma/prisma-client-js/issues/707 */ - export interface Prisma__CClient extends Prisma.PrismaPromise { + export interface Prisma__CClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" /** * Attaches callbacks for the resolution and/or rejection of the Promise. @@ -14576,6 +15102,10 @@ export namespace Prisma { * Select specific fields to fetch from the C */ select?: CSelect | null + /** + * Omit specific fields from the C + */ + omit?: COmit | null /** * Filter, which C to fetch. */ @@ -14590,6 +15120,10 @@ export namespace Prisma { * Select specific fields to fetch from the C */ select?: CSelect | null + /** + * Omit specific fields from the C + */ + omit?: COmit | null /** * Filter, which C to fetch. */ @@ -14604,6 +15138,10 @@ export namespace Prisma { * Select specific fields to fetch from the C */ select?: CSelect | null + /** + * Omit specific fields from the C + */ + omit?: COmit | null /** * Filter, which C to fetch. */ @@ -14648,6 +15186,10 @@ export namespace Prisma { * Select specific fields to fetch from the C */ select?: CSelect | null + /** + * Omit specific fields from the C + */ + omit?: COmit | null /** * Filter, which C to fetch. */ @@ -14692,6 +15234,10 @@ export namespace Prisma { * Select specific fields to fetch from the C */ select?: CSelect | null + /** + * Omit specific fields from the C + */ + omit?: COmit | null /** * Filter, which CS to fetch. */ @@ -14731,6 +15277,10 @@ export namespace Prisma { * Select specific fields to fetch from the C */ select?: CSelect | null + /** + * Omit specific fields from the C + */ + omit?: COmit | null /** * The data needed to create a C. */ @@ -14755,6 +15305,10 @@ export namespace Prisma { * Select specific fields to fetch from the C */ select?: CSelect | null + /** + * Omit specific fields from the C + */ + omit?: COmit | null /** * The data needed to update a C. */ @@ -14787,6 +15341,10 @@ export namespace Prisma { * Select specific fields to fetch from the C */ select?: CSelect | null + /** + * Omit specific fields from the C + */ + omit?: COmit | null /** * The filter to search for the C to update in case it exists. */ @@ -14809,6 +15367,10 @@ export namespace Prisma { * Select specific fields to fetch from the C */ select?: CSelect | null + /** + * Omit specific fields from the C + */ + omit?: COmit | null /** * Filter which C to delete. */ @@ -14861,6 +15423,10 @@ export namespace Prisma { * Select specific fields to fetch from the C */ select?: CSelect | null + /** + * Omit specific fields from the C + */ + omit?: COmit | null } @@ -15080,6 +15646,7 @@ export namespace Prisma { list?: boolean } + export type DOmit = $Extensions.GetOmit<"id" | "bool" | "byteA" | "xml" | "json" | "jsonb" | "list", ExtArgs["result"]["d"]> export type $DPayload = { name: "D" @@ -15099,11 +15666,11 @@ export namespace Prisma { type DGetPayload = $Result.GetResult type DCountArgs = - Omit & { + Omit & { select?: DCountAggregateInputType | true } - export interface DDelegate { + export interface DDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['D'], meta: { name: 'D' } } /** * Find zero or one D that matches the filter. @@ -15116,7 +15683,7 @@ export namespace Prisma { * } * }) */ - findUnique(args: SelectSubset>): Prisma__DClient<$Result.GetResult, T, "findUnique"> | null, null, ExtArgs> + findUnique(args: SelectSubset>): Prisma__DClient<$Result.GetResult, T, "findUnique", ClientOptions> | null, null, ExtArgs, ClientOptions> /** * Find one D that matches the filter or throw an error with \`error.code='P2025'\` @@ -15130,7 +15697,7 @@ export namespace Prisma { * } * }) */ - findUniqueOrThrow(args: SelectSubset>): Prisma__DClient<$Result.GetResult, T, "findUniqueOrThrow">, never, ExtArgs> + findUniqueOrThrow(args: SelectSubset>): Prisma__DClient<$Result.GetResult, T, "findUniqueOrThrow", ClientOptions>, never, ExtArgs, ClientOptions> /** * Find the first D that matches the filter. @@ -15145,7 +15712,7 @@ export namespace Prisma { * } * }) */ - findFirst(args?: SelectSubset>): Prisma__DClient<$Result.GetResult, T, "findFirst"> | null, null, ExtArgs> + findFirst(args?: SelectSubset>): Prisma__DClient<$Result.GetResult, T, "findFirst", ClientOptions> | null, null, ExtArgs, ClientOptions> /** * Find the first D that matches the filter or @@ -15161,7 +15728,7 @@ export namespace Prisma { * } * }) */ - findFirstOrThrow(args?: SelectSubset>): Prisma__DClient<$Result.GetResult, T, "findFirstOrThrow">, never, ExtArgs> + findFirstOrThrow(args?: SelectSubset>): Prisma__DClient<$Result.GetResult, T, "findFirstOrThrow", ClientOptions>, never, ExtArgs, ClientOptions> /** * Find zero or more Ds that matches the filter. @@ -15179,7 +15746,7 @@ export namespace Prisma { * const dWithIdOnly = await prisma.d.findMany({ select: { id: true } }) * */ - findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany">> + findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", ClientOptions>> /** * Create a D. @@ -15193,7 +15760,7 @@ export namespace Prisma { * }) * */ - create(args: SelectSubset>): Prisma__DClient<$Result.GetResult, T, "create">, never, ExtArgs> + create(args: SelectSubset>): Prisma__DClient<$Result.GetResult, T, "create", ClientOptions>, never, ExtArgs, ClientOptions> /** * Create many Ds. @@ -15221,7 +15788,7 @@ export namespace Prisma { * }) * */ - delete(args: SelectSubset>): Prisma__DClient<$Result.GetResult, T, "delete">, never, ExtArgs> + delete(args: SelectSubset>): Prisma__DClient<$Result.GetResult, T, "delete", ClientOptions>, never, ExtArgs, ClientOptions> /** * Update one D. @@ -15238,7 +15805,7 @@ export namespace Prisma { * }) * */ - update(args: SelectSubset>): Prisma__DClient<$Result.GetResult, T, "update">, never, ExtArgs> + update(args: SelectSubset>): Prisma__DClient<$Result.GetResult, T, "update", ClientOptions>, never, ExtArgs, ClientOptions> /** * Delete zero or more Ds. @@ -15290,7 +15857,7 @@ export namespace Prisma { * } * }) */ - upsert(args: SelectSubset>): Prisma__DClient<$Result.GetResult, T, "upsert">, never, ExtArgs> + upsert(args: SelectSubset>): Prisma__DClient<$Result.GetResult, T, "upsert", ClientOptions>, never, ExtArgs, ClientOptions> /** * Find zero or more Ds that matches the filter. @@ -15453,7 +16020,7 @@ export namespace Prisma { * Because we want to prevent naming conflicts as mentioned in * https://github.com/prisma/prisma-client-js/issues/707 */ - export interface Prisma__DClient extends Prisma.PrismaPromise { + export interface Prisma__DClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" /** * Attaches callbacks for the resolution and/or rejection of the Promise. @@ -15503,6 +16070,10 @@ export namespace Prisma { * Select specific fields to fetch from the D */ select?: DSelect | null + /** + * Omit specific fields from the D + */ + omit?: DOmit | null /** * Filter, which D to fetch. */ @@ -15517,6 +16088,10 @@ export namespace Prisma { * Select specific fields to fetch from the D */ select?: DSelect | null + /** + * Omit specific fields from the D + */ + omit?: DOmit | null /** * Filter, which D to fetch. */ @@ -15531,6 +16106,10 @@ export namespace Prisma { * Select specific fields to fetch from the D */ select?: DSelect | null + /** + * Omit specific fields from the D + */ + omit?: DOmit | null /** * Filter, which D to fetch. */ @@ -15575,6 +16154,10 @@ export namespace Prisma { * Select specific fields to fetch from the D */ select?: DSelect | null + /** + * Omit specific fields from the D + */ + omit?: DOmit | null /** * Filter, which D to fetch. */ @@ -15619,6 +16202,10 @@ export namespace Prisma { * Select specific fields to fetch from the D */ select?: DSelect | null + /** + * Omit specific fields from the D + */ + omit?: DOmit | null /** * Filter, which DS to fetch. */ @@ -15658,6 +16245,10 @@ export namespace Prisma { * Select specific fields to fetch from the D */ select?: DSelect | null + /** + * Omit specific fields from the D + */ + omit?: DOmit | null /** * The data needed to create a D. */ @@ -15682,6 +16273,10 @@ export namespace Prisma { * Select specific fields to fetch from the D */ select?: DSelect | null + /** + * Omit specific fields from the D + */ + omit?: DOmit | null /** * The data needed to update a D. */ @@ -15714,6 +16309,10 @@ export namespace Prisma { * Select specific fields to fetch from the D */ select?: DSelect | null + /** + * Omit specific fields from the D + */ + omit?: DOmit | null /** * The filter to search for the D to update in case it exists. */ @@ -15736,6 +16335,10 @@ export namespace Prisma { * Select specific fields to fetch from the D */ select?: DSelect | null + /** + * Omit specific fields from the D + */ + omit?: DOmit | null /** * Filter which D to delete. */ @@ -15788,6 +16391,10 @@ export namespace Prisma { * Select specific fields to fetch from the D */ select?: DSelect | null + /** + * Omit specific fields from the D + */ + omit?: DOmit | null } @@ -15958,6 +16565,7 @@ export namespace Prisma { ts?: boolean } + export type EOmit = $Extensions.GetOmit<"id" | "date" | "time" | "ts", ExtArgs["result"]["e"]> export type $EPayload = { name: "E" @@ -15974,11 +16582,11 @@ export namespace Prisma { type EGetPayload = $Result.GetResult type ECountArgs = - Omit & { + Omit & { select?: ECountAggregateInputType | true } - export interface EDelegate { + export interface EDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['E'], meta: { name: 'E' } } /** * Find zero or one E that matches the filter. @@ -15991,7 +16599,7 @@ export namespace Prisma { * } * }) */ - findUnique(args: SelectSubset>): Prisma__EClient<$Result.GetResult, T, "findUnique"> | null, null, ExtArgs> + findUnique(args: SelectSubset>): Prisma__EClient<$Result.GetResult, T, "findUnique", ClientOptions> | null, null, ExtArgs, ClientOptions> /** * Find one E that matches the filter or throw an error with \`error.code='P2025'\` @@ -16005,7 +16613,7 @@ export namespace Prisma { * } * }) */ - findUniqueOrThrow(args: SelectSubset>): Prisma__EClient<$Result.GetResult, T, "findUniqueOrThrow">, never, ExtArgs> + findUniqueOrThrow(args: SelectSubset>): Prisma__EClient<$Result.GetResult, T, "findUniqueOrThrow", ClientOptions>, never, ExtArgs, ClientOptions> /** * Find the first E that matches the filter. @@ -16020,7 +16628,7 @@ export namespace Prisma { * } * }) */ - findFirst(args?: SelectSubset>): Prisma__EClient<$Result.GetResult, T, "findFirst"> | null, null, ExtArgs> + findFirst(args?: SelectSubset>): Prisma__EClient<$Result.GetResult, T, "findFirst", ClientOptions> | null, null, ExtArgs, ClientOptions> /** * Find the first E that matches the filter or @@ -16036,7 +16644,7 @@ export namespace Prisma { * } * }) */ - findFirstOrThrow(args?: SelectSubset>): Prisma__EClient<$Result.GetResult, T, "findFirstOrThrow">, never, ExtArgs> + findFirstOrThrow(args?: SelectSubset>): Prisma__EClient<$Result.GetResult, T, "findFirstOrThrow", ClientOptions>, never, ExtArgs, ClientOptions> /** * Find zero or more Es that matches the filter. @@ -16054,7 +16662,7 @@ export namespace Prisma { * const eWithIdOnly = await prisma.e.findMany({ select: { id: true } }) * */ - findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany">> + findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", ClientOptions>> /** * Create a E. @@ -16068,7 +16676,7 @@ export namespace Prisma { * }) * */ - create(args: SelectSubset>): Prisma__EClient<$Result.GetResult, T, "create">, never, ExtArgs> + create(args: SelectSubset>): Prisma__EClient<$Result.GetResult, T, "create", ClientOptions>, never, ExtArgs, ClientOptions> /** * Create many Es. @@ -16096,7 +16704,7 @@ export namespace Prisma { * }) * */ - delete(args: SelectSubset>): Prisma__EClient<$Result.GetResult, T, "delete">, never, ExtArgs> + delete(args: SelectSubset>): Prisma__EClient<$Result.GetResult, T, "delete", ClientOptions>, never, ExtArgs, ClientOptions> /** * Update one E. @@ -16113,7 +16721,7 @@ export namespace Prisma { * }) * */ - update(args: SelectSubset>): Prisma__EClient<$Result.GetResult, T, "update">, never, ExtArgs> + update(args: SelectSubset>): Prisma__EClient<$Result.GetResult, T, "update", ClientOptions>, never, ExtArgs, ClientOptions> /** * Delete zero or more Es. @@ -16165,7 +16773,7 @@ export namespace Prisma { * } * }) */ - upsert(args: SelectSubset>): Prisma__EClient<$Result.GetResult, T, "upsert">, never, ExtArgs> + upsert(args: SelectSubset>): Prisma__EClient<$Result.GetResult, T, "upsert", ClientOptions>, never, ExtArgs, ClientOptions> /** * Find zero or more Es that matches the filter. @@ -16328,7 +16936,7 @@ export namespace Prisma { * Because we want to prevent naming conflicts as mentioned in * https://github.com/prisma/prisma-client-js/issues/707 */ - export interface Prisma__EClient extends Prisma.PrismaPromise { + export interface Prisma__EClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" /** * Attaches callbacks for the resolution and/or rejection of the Promise. @@ -16375,6 +16983,10 @@ export namespace Prisma { * Select specific fields to fetch from the E */ select?: ESelect | null + /** + * Omit specific fields from the E + */ + omit?: EOmit | null /** * Filter, which E to fetch. */ @@ -16389,6 +17001,10 @@ export namespace Prisma { * Select specific fields to fetch from the E */ select?: ESelect | null + /** + * Omit specific fields from the E + */ + omit?: EOmit | null /** * Filter, which E to fetch. */ @@ -16403,6 +17019,10 @@ export namespace Prisma { * Select specific fields to fetch from the E */ select?: ESelect | null + /** + * Omit specific fields from the E + */ + omit?: EOmit | null /** * Filter, which E to fetch. */ @@ -16447,6 +17067,10 @@ export namespace Prisma { * Select specific fields to fetch from the E */ select?: ESelect | null + /** + * Omit specific fields from the E + */ + omit?: EOmit | null /** * Filter, which E to fetch. */ @@ -16491,6 +17115,10 @@ export namespace Prisma { * Select specific fields to fetch from the E */ select?: ESelect | null + /** + * Omit specific fields from the E + */ + omit?: EOmit | null /** * Filter, which ES to fetch. */ @@ -16530,6 +17158,10 @@ export namespace Prisma { * Select specific fields to fetch from the E */ select?: ESelect | null + /** + * Omit specific fields from the E + */ + omit?: EOmit | null /** * The data needed to create a E. */ @@ -16554,6 +17186,10 @@ export namespace Prisma { * Select specific fields to fetch from the E */ select?: ESelect | null + /** + * Omit specific fields from the E + */ + omit?: EOmit | null /** * The data needed to update a E. */ @@ -16586,6 +17222,10 @@ export namespace Prisma { * Select specific fields to fetch from the E */ select?: ESelect | null + /** + * Omit specific fields from the E + */ + omit?: EOmit | null /** * The filter to search for the E to update in case it exists. */ @@ -16608,6 +17248,10 @@ export namespace Prisma { * Select specific fields to fetch from the E */ select?: ESelect | null + /** + * Omit specific fields from the E + */ + omit?: EOmit | null /** * Filter which E to delete. */ @@ -16660,6 +17304,10 @@ export namespace Prisma { * Select specific fields to fetch from the E */ select?: ESelect | null + /** + * Omit specific fields from the E + */ + omit?: EOmit | null } diff --git a/packages/client/src/__tests__/integration/happy/not-so-exhaustive-schema/__snapshots__/binary.test.ts.snap b/packages/client/src/__tests__/integration/happy/not-so-exhaustive-schema/__snapshots__/binary.test.ts.snap index f8cd2733ec3a..047c98372216 100644 --- a/packages/client/src/__tests__/integration/happy/not-so-exhaustive-schema/__snapshots__/binary.test.ts.snap +++ b/packages/client/src/__tests__/integration/happy/not-so-exhaustive-schema/__snapshots__/binary.test.ts.snap @@ -596,7 +596,9 @@ export class PrismaClient< $transaction(fn: (prisma: Omit) => $Utils.JsPromise, options?: { maxWait?: number, timeout?: number, isolationLevel?: Prisma.TransactionIsolationLevel }): $Utils.JsPromise - $extends: $Extensions.ExtendsHook<"extends", Prisma.TypeMapCb, ExtArgs> + $extends: $Extensions.ExtendsHook<"extends", Prisma.TypeMapCb, ExtArgs, $Utils.Call, ClientOptions> /** * \`prisma.post\`: Exposes CRUD operations for the **Post** model. @@ -606,7 +608,7 @@ export class PrismaClient< * const posts = await prisma.post.findMany() * \`\`\` */ - get post(): Prisma.PostDelegate; + get post(): Prisma.PostDelegate; /** * \`prisma.user\`: Exposes CRUD operations for the **User** model. @@ -616,7 +618,7 @@ export class PrismaClient< * const users = await prisma.user.findMany() * \`\`\` */ - get user(): Prisma.UserDelegate; + get user(): Prisma.UserDelegate; /** * \`prisma.m\`: Exposes CRUD operations for the **M** model. @@ -626,7 +628,7 @@ export class PrismaClient< * const ms = await prisma.m.findMany() * \`\`\` */ - get m(): Prisma.MDelegate; + get m(): Prisma.MDelegate; /** * \`prisma.n\`: Exposes CRUD operations for the **N** model. @@ -636,7 +638,7 @@ export class PrismaClient< * const ns = await prisma.n.findMany() * \`\`\` */ - get n(): Prisma.NDelegate; + get n(): Prisma.NDelegate; /** * \`prisma.oneOptional\`: Exposes CRUD operations for the **OneOptional** model. @@ -646,7 +648,7 @@ export class PrismaClient< * const oneOptionals = await prisma.oneOptional.findMany() * \`\`\` */ - get oneOptional(): Prisma.OneOptionalDelegate; + get oneOptional(): Prisma.OneOptionalDelegate; /** * \`prisma.manyRequired\`: Exposes CRUD operations for the **ManyRequired** model. @@ -656,7 +658,7 @@ export class PrismaClient< * const manyRequireds = await prisma.manyRequired.findMany() * \`\`\` */ - get manyRequired(): Prisma.ManyRequiredDelegate; + get manyRequired(): Prisma.ManyRequiredDelegate; /** * \`prisma.optionalSide1\`: Exposes CRUD operations for the **OptionalSide1** model. @@ -666,7 +668,7 @@ export class PrismaClient< * const optionalSide1s = await prisma.optionalSide1.findMany() * \`\`\` */ - get optionalSide1(): Prisma.OptionalSide1Delegate; + get optionalSide1(): Prisma.OptionalSide1Delegate; /** * \`prisma.optionalSide2\`: Exposes CRUD operations for the **OptionalSide2** model. @@ -676,7 +678,7 @@ export class PrismaClient< * const optionalSide2s = await prisma.optionalSide2.findMany() * \`\`\` */ - get optionalSide2(): Prisma.OptionalSide2Delegate; + get optionalSide2(): Prisma.OptionalSide2Delegate; /** * \`prisma.a\`: Exposes CRUD operations for the **A** model. @@ -686,7 +688,7 @@ export class PrismaClient< * const as = await prisma.a.findMany() * \`\`\` */ - get a(): Prisma.ADelegate; + get a(): Prisma.ADelegate; /** * \`prisma.b\`: Exposes CRUD operations for the **B** model. @@ -696,7 +698,7 @@ export class PrismaClient< * const bs = await prisma.b.findMany() * \`\`\` */ - get b(): Prisma.BDelegate; + get b(): Prisma.BDelegate; /** * \`prisma.c\`: Exposes CRUD operations for the **C** model. @@ -706,7 +708,7 @@ export class PrismaClient< * const cs = await prisma.c.findMany() * \`\`\` */ - get c(): Prisma.CDelegate; + get c(): Prisma.CDelegate; /** * \`prisma.d\`: Exposes CRUD operations for the **D** model. @@ -716,7 +718,7 @@ export class PrismaClient< * const ds = await prisma.d.findMany() * \`\`\` */ - get d(): Prisma.DDelegate; + get d(): Prisma.DDelegate; /** * \`prisma.e\`: Exposes CRUD operations for the **E** model. @@ -726,7 +728,7 @@ export class PrismaClient< * const es = await prisma.e.findMany() * \`\`\` */ - get e(): Prisma.EDelegate; + get e(): Prisma.EDelegate; } export namespace Prisma { @@ -2228,8 +2230,37 @@ export namespace Prisma { timeout?: number isolationLevel?: Prisma.TransactionIsolationLevel } + /** + * Global configuration for omitting model fields by default. + * + * @example + * \`\`\` + * const prisma = new PrismaClient({ + * omit: { + * user: { + * password: true + * } + * } + * }) + * \`\`\` + */ + omit?: Prisma.GlobalOmitConfig + } + export type GlobalOmitConfig = { + post?: PostOmit + user?: UserOmit + m?: MOmit + n?: NOmit + oneOptional?: OneOptionalOmit + manyRequired?: ManyRequiredOmit + optionalSide1?: OptionalSide1Omit + optionalSide2?: OptionalSide2Omit + a?: AOmit + b?: BOmit + c?: COmit + d?: DOmit + e?: EOmit } - /* Types for Logging */ export type LogLevel = 'info' | 'query' | 'warn' | 'error' @@ -2688,6 +2719,7 @@ export namespace Prisma { authorId?: boolean } + export type PostOmit = $Extensions.GetOmit<"id" | "createdAt" | "title" | "content" | "published" | "authorId", ExtArgs["result"]["post"]> export type PostInclude = { author?: boolean | UserDefaultArgs } @@ -2717,11 +2749,11 @@ export namespace Prisma { type PostGetPayload = $Result.GetResult type PostCountArgs = - Omit & { + Omit & { select?: PostCountAggregateInputType | true } - export interface PostDelegate { + export interface PostDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['Post'], meta: { name: 'Post' } } /** * Find zero or one Post that matches the filter. @@ -2734,7 +2766,7 @@ export namespace Prisma { * } * }) */ - findUnique(args: SelectSubset>): Prisma__PostClient<$Result.GetResult, T, "findUnique"> | null, null, ExtArgs> + findUnique(args: SelectSubset>): Prisma__PostClient<$Result.GetResult, T, "findUnique", ClientOptions> | null, null, ExtArgs, ClientOptions> /** * Find one Post that matches the filter or throw an error with \`error.code='P2025'\` @@ -2748,7 +2780,7 @@ export namespace Prisma { * } * }) */ - findUniqueOrThrow(args: SelectSubset>): Prisma__PostClient<$Result.GetResult, T, "findUniqueOrThrow">, never, ExtArgs> + findUniqueOrThrow(args: SelectSubset>): Prisma__PostClient<$Result.GetResult, T, "findUniqueOrThrow", ClientOptions>, never, ExtArgs, ClientOptions> /** * Find the first Post that matches the filter. @@ -2763,7 +2795,7 @@ export namespace Prisma { * } * }) */ - findFirst(args?: SelectSubset>): Prisma__PostClient<$Result.GetResult, T, "findFirst"> | null, null, ExtArgs> + findFirst(args?: SelectSubset>): Prisma__PostClient<$Result.GetResult, T, "findFirst", ClientOptions> | null, null, ExtArgs, ClientOptions> /** * Find the first Post that matches the filter or @@ -2779,7 +2811,7 @@ export namespace Prisma { * } * }) */ - findFirstOrThrow(args?: SelectSubset>): Prisma__PostClient<$Result.GetResult, T, "findFirstOrThrow">, never, ExtArgs> + findFirstOrThrow(args?: SelectSubset>): Prisma__PostClient<$Result.GetResult, T, "findFirstOrThrow", ClientOptions>, never, ExtArgs, ClientOptions> /** * Find zero or more Posts that matches the filter. @@ -2797,7 +2829,7 @@ export namespace Prisma { * const postWithIdOnly = await prisma.post.findMany({ select: { id: true } }) * */ - findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany">> + findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", ClientOptions>> /** * Create a Post. @@ -2811,7 +2843,7 @@ export namespace Prisma { * }) * */ - create(args: SelectSubset>): Prisma__PostClient<$Result.GetResult, T, "create">, never, ExtArgs> + create(args: SelectSubset>): Prisma__PostClient<$Result.GetResult, T, "create", ClientOptions>, never, ExtArgs, ClientOptions> /** * Create many Posts. @@ -2849,7 +2881,7 @@ export namespace Prisma { * Read more here: https://pris.ly/d/null-undefined * */ - createManyAndReturn(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "createManyAndReturn">> + createManyAndReturn(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "createManyAndReturn", ClientOptions>> /** * Delete a Post. @@ -2863,7 +2895,7 @@ export namespace Prisma { * }) * */ - delete(args: SelectSubset>): Prisma__PostClient<$Result.GetResult, T, "delete">, never, ExtArgs> + delete(args: SelectSubset>): Prisma__PostClient<$Result.GetResult, T, "delete", ClientOptions>, never, ExtArgs, ClientOptions> /** * Update one Post. @@ -2880,7 +2912,7 @@ export namespace Prisma { * }) * */ - update(args: SelectSubset>): Prisma__PostClient<$Result.GetResult, T, "update">, never, ExtArgs> + update(args: SelectSubset>): Prisma__PostClient<$Result.GetResult, T, "update", ClientOptions>, never, ExtArgs, ClientOptions> /** * Delete zero or more Posts. @@ -2943,7 +2975,7 @@ export namespace Prisma { * Read more here: https://pris.ly/d/null-undefined * */ - updateManyAndReturn(args: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "updateManyAndReturn">> + updateManyAndReturn(args: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "updateManyAndReturn", ClientOptions>> /** * Create or update one Post. @@ -2962,7 +2994,7 @@ export namespace Prisma { * } * }) */ - upsert(args: SelectSubset>): Prisma__PostClient<$Result.GetResult, T, "upsert">, never, ExtArgs> + upsert(args: SelectSubset>): Prisma__PostClient<$Result.GetResult, T, "upsert", ClientOptions>, never, ExtArgs, ClientOptions> /** @@ -3102,9 +3134,9 @@ export namespace Prisma { * Because we want to prevent naming conflicts as mentioned in * https://github.com/prisma/prisma-client-js/issues/707 */ - export interface Prisma__PostClient extends Prisma.PrismaPromise { + export interface Prisma__PostClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" - author = {}>(args?: Subset>): Prisma__UserClient<$Result.GetResult, T, "findUniqueOrThrow"> | Null, Null, ExtArgs> + author = {}>(args?: Subset>): Prisma__UserClient<$Result.GetResult, T, "findUniqueOrThrow", ClientOptions> | Null, Null, ExtArgs, ClientOptions> /** * Attaches callbacks for the resolution and/or rejection of the Promise. * @param onfulfilled The callback to execute when the Promise is resolved. @@ -3152,6 +3184,10 @@ export namespace Prisma { * Select specific fields to fetch from the Post */ select?: PostSelect | null + /** + * Omit specific fields from the Post + */ + omit?: PostOmit | null /** * Choose, which related nodes to fetch as well */ @@ -3170,6 +3206,10 @@ export namespace Prisma { * Select specific fields to fetch from the Post */ select?: PostSelect | null + /** + * Omit specific fields from the Post + */ + omit?: PostOmit | null /** * Choose, which related nodes to fetch as well */ @@ -3188,6 +3228,10 @@ export namespace Prisma { * Select specific fields to fetch from the Post */ select?: PostSelect | null + /** + * Omit specific fields from the Post + */ + omit?: PostOmit | null /** * Choose, which related nodes to fetch as well */ @@ -3236,6 +3280,10 @@ export namespace Prisma { * Select specific fields to fetch from the Post */ select?: PostSelect | null + /** + * Omit specific fields from the Post + */ + omit?: PostOmit | null /** * Choose, which related nodes to fetch as well */ @@ -3284,6 +3332,10 @@ export namespace Prisma { * Select specific fields to fetch from the Post */ select?: PostSelect | null + /** + * Omit specific fields from the Post + */ + omit?: PostOmit | null /** * Choose, which related nodes to fetch as well */ @@ -3327,6 +3379,10 @@ export namespace Prisma { * Select specific fields to fetch from the Post */ select?: PostSelect | null + /** + * Omit specific fields from the Post + */ + omit?: PostOmit | null /** * Choose, which related nodes to fetch as well */ @@ -3356,6 +3412,10 @@ export namespace Prisma { * Select specific fields to fetch from the Post */ select?: PostSelectCreateManyAndReturn | null + /** + * Omit specific fields from the Post + */ + omit?: PostOmit | null /** * The data used to create many Posts. */ @@ -3375,6 +3435,10 @@ export namespace Prisma { * Select specific fields to fetch from the Post */ select?: PostSelect | null + /** + * Omit specific fields from the Post + */ + omit?: PostOmit | null /** * Choose, which related nodes to fetch as well */ @@ -3411,6 +3475,10 @@ export namespace Prisma { * Select specific fields to fetch from the Post */ select?: PostSelectUpdateManyAndReturn | null + /** + * Omit specific fields from the Post + */ + omit?: PostOmit | null /** * The data used to update Posts. */ @@ -3433,6 +3501,10 @@ export namespace Prisma { * Select specific fields to fetch from the Post */ select?: PostSelect | null + /** + * Omit specific fields from the Post + */ + omit?: PostOmit | null /** * Choose, which related nodes to fetch as well */ @@ -3459,6 +3531,10 @@ export namespace Prisma { * Select specific fields to fetch from the Post */ select?: PostSelect | null + /** + * Omit specific fields from the Post + */ + omit?: PostOmit | null /** * Choose, which related nodes to fetch as well */ @@ -3487,6 +3563,10 @@ export namespace Prisma { * Select specific fields to fetch from the Post */ select?: PostSelect | null + /** + * Omit specific fields from the Post + */ + omit?: PostOmit | null /** * Choose, which related nodes to fetch as well */ @@ -3827,6 +3907,7 @@ export namespace Prisma { optionalBoolean?: boolean } + export type UserOmit = $Extensions.GetOmit<"id" | "email" | "int" | "optionalInt" | "float" | "optionalFloat" | "string" | "optionalString" | "json" | "optionalJson" | "enum" | "optionalEnum" | "boolean" | "optionalBoolean", ExtArgs["result"]["user"]> export type UserInclude = { posts?: boolean | User$postsArgs _count?: boolean | UserCountOutputTypeDefaultArgs @@ -3861,11 +3942,11 @@ export namespace Prisma { type UserGetPayload = $Result.GetResult type UserCountArgs = - Omit & { + 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. @@ -3878,7 +3959,7 @@ export namespace Prisma { * } * }) */ - findUnique(args: SelectSubset>): Prisma__UserClient<$Result.GetResult, T, "findUnique"> | null, null, ExtArgs> + findUnique(args: SelectSubset>): Prisma__UserClient<$Result.GetResult, T, "findUnique", ClientOptions> | null, null, ExtArgs, ClientOptions> /** * Find one User that matches the filter or throw an error with \`error.code='P2025'\` @@ -3892,7 +3973,7 @@ export namespace Prisma { * } * }) */ - findUniqueOrThrow(args: SelectSubset>): Prisma__UserClient<$Result.GetResult, T, "findUniqueOrThrow">, never, ExtArgs> + findUniqueOrThrow(args: SelectSubset>): Prisma__UserClient<$Result.GetResult, T, "findUniqueOrThrow", ClientOptions>, never, ExtArgs, ClientOptions> /** * Find the first User that matches the filter. @@ -3907,7 +3988,7 @@ export namespace Prisma { * } * }) */ - findFirst(args?: SelectSubset>): Prisma__UserClient<$Result.GetResult, T, "findFirst"> | null, null, ExtArgs> + findFirst(args?: SelectSubset>): Prisma__UserClient<$Result.GetResult, T, "findFirst", ClientOptions> | null, null, ExtArgs, ClientOptions> /** * Find the first User that matches the filter or @@ -3923,7 +4004,7 @@ export namespace Prisma { * } * }) */ - findFirstOrThrow(args?: SelectSubset>): Prisma__UserClient<$Result.GetResult, T, "findFirstOrThrow">, never, ExtArgs> + findFirstOrThrow(args?: SelectSubset>): Prisma__UserClient<$Result.GetResult, T, "findFirstOrThrow", ClientOptions>, never, ExtArgs, ClientOptions> /** * Find zero or more Users that matches the filter. @@ -3941,7 +4022,7 @@ export namespace Prisma { * const userWithIdOnly = await prisma.user.findMany({ select: { id: true } }) * */ - findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany">> + findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", ClientOptions>> /** * Create a User. @@ -3955,7 +4036,7 @@ export namespace Prisma { * }) * */ - create(args: SelectSubset>): Prisma__UserClient<$Result.GetResult, T, "create">, never, ExtArgs> + create(args: SelectSubset>): Prisma__UserClient<$Result.GetResult, T, "create", ClientOptions>, never, ExtArgs, ClientOptions> /** * Create many Users. @@ -3993,7 +4074,7 @@ export namespace Prisma { * Read more here: https://pris.ly/d/null-undefined * */ - createManyAndReturn(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "createManyAndReturn">> + createManyAndReturn(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "createManyAndReturn", ClientOptions>> /** * Delete a User. @@ -4007,7 +4088,7 @@ export namespace Prisma { * }) * */ - delete(args: SelectSubset>): Prisma__UserClient<$Result.GetResult, T, "delete">, never, ExtArgs> + delete(args: SelectSubset>): Prisma__UserClient<$Result.GetResult, T, "delete", ClientOptions>, never, ExtArgs, ClientOptions> /** * Update one User. @@ -4024,7 +4105,7 @@ export namespace Prisma { * }) * */ - update(args: SelectSubset>): Prisma__UserClient<$Result.GetResult, T, "update">, never, ExtArgs> + update(args: SelectSubset>): Prisma__UserClient<$Result.GetResult, T, "update", ClientOptions>, never, ExtArgs, ClientOptions> /** * Delete zero or more Users. @@ -4087,7 +4168,7 @@ export namespace Prisma { * Read more here: https://pris.ly/d/null-undefined * */ - updateManyAndReturn(args: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "updateManyAndReturn">> + updateManyAndReturn(args: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "updateManyAndReturn", ClientOptions>> /** * Create or update one User. @@ -4106,7 +4187,7 @@ export namespace Prisma { * } * }) */ - upsert(args: SelectSubset>): Prisma__UserClient<$Result.GetResult, T, "upsert">, never, ExtArgs> + upsert(args: SelectSubset>): Prisma__UserClient<$Result.GetResult, T, "upsert", ClientOptions>, never, ExtArgs, ClientOptions> /** @@ -4246,9 +4327,9 @@ export namespace Prisma { * Because we want to prevent naming conflicts as mentioned in * https://github.com/prisma/prisma-client-js/issues/707 */ - export interface Prisma__UserClient extends Prisma.PrismaPromise { + export interface Prisma__UserClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" - posts = {}>(args?: Subset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany"> | Null> + posts = {}>(args?: Subset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", ClientOptions> | Null> /** * Attaches callbacks for the resolution and/or rejection of the Promise. * @param onfulfilled The callback to execute when the Promise is resolved. @@ -4304,6 +4385,10 @@ export namespace Prisma { * Select specific fields to fetch from the User */ select?: UserSelect | null + /** + * Omit specific fields from the User + */ + omit?: UserOmit | null /** * Choose, which related nodes to fetch as well */ @@ -4322,6 +4407,10 @@ export namespace Prisma { * Select specific fields to fetch from the User */ select?: UserSelect | null + /** + * Omit specific fields from the User + */ + omit?: UserOmit | null /** * Choose, which related nodes to fetch as well */ @@ -4340,6 +4429,10 @@ export namespace Prisma { * Select specific fields to fetch from the User */ select?: UserSelect | null + /** + * Omit specific fields from the User + */ + omit?: UserOmit | null /** * Choose, which related nodes to fetch as well */ @@ -4388,6 +4481,10 @@ export namespace Prisma { * Select specific fields to fetch from the User */ select?: UserSelect | null + /** + * Omit specific fields from the User + */ + omit?: UserOmit | null /** * Choose, which related nodes to fetch as well */ @@ -4436,6 +4533,10 @@ export namespace Prisma { * Select specific fields to fetch from the User */ select?: UserSelect | null + /** + * Omit specific fields from the User + */ + omit?: UserOmit | null /** * Choose, which related nodes to fetch as well */ @@ -4479,6 +4580,10 @@ export namespace Prisma { * Select specific fields to fetch from the User */ select?: UserSelect | null + /** + * Omit specific fields from the User + */ + omit?: UserOmit | null /** * Choose, which related nodes to fetch as well */ @@ -4508,6 +4613,10 @@ export namespace Prisma { * Select specific fields to fetch from the User */ select?: UserSelectCreateManyAndReturn | null + /** + * Omit specific fields from the User + */ + omit?: UserOmit | null /** * The data used to create many Users. */ @@ -4523,6 +4632,10 @@ export namespace Prisma { * Select specific fields to fetch from the User */ select?: UserSelect | null + /** + * Omit specific fields from the User + */ + omit?: UserOmit | null /** * Choose, which related nodes to fetch as well */ @@ -4559,6 +4672,10 @@ export namespace Prisma { * Select specific fields to fetch from the User */ select?: UserSelectUpdateManyAndReturn | null + /** + * Omit specific fields from the User + */ + omit?: UserOmit | null /** * The data used to update Users. */ @@ -4577,6 +4694,10 @@ export namespace Prisma { * Select specific fields to fetch from the User */ select?: UserSelect | null + /** + * Omit specific fields from the User + */ + omit?: UserOmit | null /** * Choose, which related nodes to fetch as well */ @@ -4603,6 +4724,10 @@ export namespace Prisma { * Select specific fields to fetch from the User */ select?: UserSelect | null + /** + * Omit specific fields from the User + */ + omit?: UserOmit | null /** * Choose, which related nodes to fetch as well */ @@ -4631,6 +4756,10 @@ export namespace Prisma { * Select specific fields to fetch from the Post */ select?: PostSelect | null + /** + * Omit specific fields from the Post + */ + omit?: PostOmit | null /** * Choose, which related nodes to fetch as well */ @@ -4651,6 +4780,10 @@ export namespace Prisma { * Select specific fields to fetch from the User */ select?: UserSelect | null + /** + * Omit specific fields from the User + */ + omit?: UserOmit | null /** * Choose, which related nodes to fetch as well */ @@ -4980,6 +5113,7 @@ export namespace Prisma { optionalBoolean?: boolean } + export type MOmit = $Extensions.GetOmit<"id" | "int" | "optionalInt" | "float" | "optionalFloat" | "string" | "optionalString" | "json" | "optionalJson" | "enum" | "optionalEnum" | "boolean" | "optionalBoolean", ExtArgs["result"]["m"]> export type MInclude = { n?: boolean | M$nArgs _count?: boolean | MCountOutputTypeDefaultArgs @@ -5013,11 +5147,11 @@ export namespace Prisma { type MGetPayload = $Result.GetResult type MCountArgs = - Omit & { + Omit & { select?: MCountAggregateInputType | true } - export interface MDelegate { + export interface MDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['M'], meta: { name: 'M' } } /** * Find zero or one M that matches the filter. @@ -5030,7 +5164,7 @@ export namespace Prisma { * } * }) */ - findUnique(args: SelectSubset>): Prisma__MClient<$Result.GetResult, T, "findUnique"> | null, null, ExtArgs> + findUnique(args: SelectSubset>): Prisma__MClient<$Result.GetResult, T, "findUnique", ClientOptions> | null, null, ExtArgs, ClientOptions> /** * Find one M that matches the filter or throw an error with \`error.code='P2025'\` @@ -5044,7 +5178,7 @@ export namespace Prisma { * } * }) */ - findUniqueOrThrow(args: SelectSubset>): Prisma__MClient<$Result.GetResult, T, "findUniqueOrThrow">, never, ExtArgs> + findUniqueOrThrow(args: SelectSubset>): Prisma__MClient<$Result.GetResult, T, "findUniqueOrThrow", ClientOptions>, never, ExtArgs, ClientOptions> /** * Find the first M that matches the filter. @@ -5059,7 +5193,7 @@ export namespace Prisma { * } * }) */ - findFirst(args?: SelectSubset>): Prisma__MClient<$Result.GetResult, T, "findFirst"> | null, null, ExtArgs> + findFirst(args?: SelectSubset>): Prisma__MClient<$Result.GetResult, T, "findFirst", ClientOptions> | null, null, ExtArgs, ClientOptions> /** * Find the first M that matches the filter or @@ -5075,7 +5209,7 @@ export namespace Prisma { * } * }) */ - findFirstOrThrow(args?: SelectSubset>): Prisma__MClient<$Result.GetResult, T, "findFirstOrThrow">, never, ExtArgs> + findFirstOrThrow(args?: SelectSubset>): Prisma__MClient<$Result.GetResult, T, "findFirstOrThrow", ClientOptions>, never, ExtArgs, ClientOptions> /** * Find zero or more Ms that matches the filter. @@ -5093,7 +5227,7 @@ export namespace Prisma { * const mWithIdOnly = await prisma.m.findMany({ select: { id: true } }) * */ - findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany">> + findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", ClientOptions>> /** * Create a M. @@ -5107,7 +5241,7 @@ export namespace Prisma { * }) * */ - create(args: SelectSubset>): Prisma__MClient<$Result.GetResult, T, "create">, never, ExtArgs> + create(args: SelectSubset>): Prisma__MClient<$Result.GetResult, T, "create", ClientOptions>, never, ExtArgs, ClientOptions> /** * Create many Ms. @@ -5145,7 +5279,7 @@ export namespace Prisma { * Read more here: https://pris.ly/d/null-undefined * */ - createManyAndReturn(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "createManyAndReturn">> + createManyAndReturn(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "createManyAndReturn", ClientOptions>> /** * Delete a M. @@ -5159,7 +5293,7 @@ export namespace Prisma { * }) * */ - delete(args: SelectSubset>): Prisma__MClient<$Result.GetResult, T, "delete">, never, ExtArgs> + delete(args: SelectSubset>): Prisma__MClient<$Result.GetResult, T, "delete", ClientOptions>, never, ExtArgs, ClientOptions> /** * Update one M. @@ -5176,7 +5310,7 @@ export namespace Prisma { * }) * */ - update(args: SelectSubset>): Prisma__MClient<$Result.GetResult, T, "update">, never, ExtArgs> + update(args: SelectSubset>): Prisma__MClient<$Result.GetResult, T, "update", ClientOptions>, never, ExtArgs, ClientOptions> /** * Delete zero or more Ms. @@ -5239,7 +5373,7 @@ export namespace Prisma { * Read more here: https://pris.ly/d/null-undefined * */ - updateManyAndReturn(args: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "updateManyAndReturn">> + updateManyAndReturn(args: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "updateManyAndReturn", ClientOptions>> /** * Create or update one M. @@ -5258,7 +5392,7 @@ export namespace Prisma { * } * }) */ - upsert(args: SelectSubset>): Prisma__MClient<$Result.GetResult, T, "upsert">, never, ExtArgs> + upsert(args: SelectSubset>): Prisma__MClient<$Result.GetResult, T, "upsert", ClientOptions>, never, ExtArgs, ClientOptions> /** @@ -5398,9 +5532,9 @@ export namespace Prisma { * Because we want to prevent naming conflicts as mentioned in * https://github.com/prisma/prisma-client-js/issues/707 */ - export interface Prisma__MClient extends Prisma.PrismaPromise { + export interface Prisma__MClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" - n = {}>(args?: Subset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany"> | Null> + n = {}>(args?: Subset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", ClientOptions> | Null> /** * Attaches callbacks for the resolution and/or rejection of the Promise. * @param onfulfilled The callback to execute when the Promise is resolved. @@ -5455,6 +5589,10 @@ export namespace Prisma { * Select specific fields to fetch from the M */ select?: MSelect | null + /** + * Omit specific fields from the M + */ + omit?: MOmit | null /** * Choose, which related nodes to fetch as well */ @@ -5473,6 +5611,10 @@ export namespace Prisma { * Select specific fields to fetch from the M */ select?: MSelect | null + /** + * Omit specific fields from the M + */ + omit?: MOmit | null /** * Choose, which related nodes to fetch as well */ @@ -5491,6 +5633,10 @@ export namespace Prisma { * Select specific fields to fetch from the M */ select?: MSelect | null + /** + * Omit specific fields from the M + */ + omit?: MOmit | null /** * Choose, which related nodes to fetch as well */ @@ -5539,6 +5685,10 @@ export namespace Prisma { * Select specific fields to fetch from the M */ select?: MSelect | null + /** + * Omit specific fields from the M + */ + omit?: MOmit | null /** * Choose, which related nodes to fetch as well */ @@ -5587,6 +5737,10 @@ export namespace Prisma { * Select specific fields to fetch from the M */ select?: MSelect | null + /** + * Omit specific fields from the M + */ + omit?: MOmit | null /** * Choose, which related nodes to fetch as well */ @@ -5630,6 +5784,10 @@ export namespace Prisma { * Select specific fields to fetch from the M */ select?: MSelect | null + /** + * Omit specific fields from the M + */ + omit?: MOmit | null /** * Choose, which related nodes to fetch as well */ @@ -5659,6 +5817,10 @@ export namespace Prisma { * Select specific fields to fetch from the M */ select?: MSelectCreateManyAndReturn | null + /** + * Omit specific fields from the M + */ + omit?: MOmit | null /** * The data used to create many MS. */ @@ -5674,6 +5836,10 @@ export namespace Prisma { * Select specific fields to fetch from the M */ select?: MSelect | null + /** + * Omit specific fields from the M + */ + omit?: MOmit | null /** * Choose, which related nodes to fetch as well */ @@ -5710,6 +5876,10 @@ export namespace Prisma { * Select specific fields to fetch from the M */ select?: MSelectUpdateManyAndReturn | null + /** + * Omit specific fields from the M + */ + omit?: MOmit | null /** * The data used to update MS. */ @@ -5728,6 +5898,10 @@ export namespace Prisma { * Select specific fields to fetch from the M */ select?: MSelect | null + /** + * Omit specific fields from the M + */ + omit?: MOmit | null /** * Choose, which related nodes to fetch as well */ @@ -5754,6 +5928,10 @@ export namespace Prisma { * Select specific fields to fetch from the M */ select?: MSelect | null + /** + * Omit specific fields from the M + */ + omit?: MOmit | null /** * Choose, which related nodes to fetch as well */ @@ -5782,6 +5960,10 @@ export namespace Prisma { * Select specific fields to fetch from the N */ select?: NSelect | null + /** + * Omit specific fields from the N + */ + omit?: NOmit | null /** * Choose, which related nodes to fetch as well */ @@ -5802,6 +5984,10 @@ export namespace Prisma { * Select specific fields to fetch from the M */ select?: MSelect | null + /** + * Omit specific fields from the M + */ + omit?: MOmit | null /** * Choose, which related nodes to fetch as well */ @@ -6131,6 +6317,7 @@ export namespace Prisma { optionalBoolean?: boolean } + export type NOmit = $Extensions.GetOmit<"id" | "int" | "optionalInt" | "float" | "optionalFloat" | "string" | "optionalString" | "json" | "optionalJson" | "enum" | "optionalEnum" | "boolean" | "optionalBoolean", ExtArgs["result"]["n"]> export type NInclude = { m?: boolean | N$mArgs _count?: boolean | NCountOutputTypeDefaultArgs @@ -6164,11 +6351,11 @@ export namespace Prisma { type NGetPayload = $Result.GetResult type NCountArgs = - Omit & { + Omit & { select?: NCountAggregateInputType | true } - export interface NDelegate { + export interface NDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['N'], meta: { name: 'N' } } /** * Find zero or one N that matches the filter. @@ -6181,7 +6368,7 @@ export namespace Prisma { * } * }) */ - findUnique(args: SelectSubset>): Prisma__NClient<$Result.GetResult, T, "findUnique"> | null, null, ExtArgs> + findUnique(args: SelectSubset>): Prisma__NClient<$Result.GetResult, T, "findUnique", ClientOptions> | null, null, ExtArgs, ClientOptions> /** * Find one N that matches the filter or throw an error with \`error.code='P2025'\` @@ -6195,7 +6382,7 @@ export namespace Prisma { * } * }) */ - findUniqueOrThrow(args: SelectSubset>): Prisma__NClient<$Result.GetResult, T, "findUniqueOrThrow">, never, ExtArgs> + findUniqueOrThrow(args: SelectSubset>): Prisma__NClient<$Result.GetResult, T, "findUniqueOrThrow", ClientOptions>, never, ExtArgs, ClientOptions> /** * Find the first N that matches the filter. @@ -6210,7 +6397,7 @@ export namespace Prisma { * } * }) */ - findFirst(args?: SelectSubset>): Prisma__NClient<$Result.GetResult, T, "findFirst"> | null, null, ExtArgs> + findFirst(args?: SelectSubset>): Prisma__NClient<$Result.GetResult, T, "findFirst", ClientOptions> | null, null, ExtArgs, ClientOptions> /** * Find the first N that matches the filter or @@ -6226,7 +6413,7 @@ export namespace Prisma { * } * }) */ - findFirstOrThrow(args?: SelectSubset>): Prisma__NClient<$Result.GetResult, T, "findFirstOrThrow">, never, ExtArgs> + findFirstOrThrow(args?: SelectSubset>): Prisma__NClient<$Result.GetResult, T, "findFirstOrThrow", ClientOptions>, never, ExtArgs, ClientOptions> /** * Find zero or more Ns that matches the filter. @@ -6244,7 +6431,7 @@ export namespace Prisma { * const nWithIdOnly = await prisma.n.findMany({ select: { id: true } }) * */ - findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany">> + findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", ClientOptions>> /** * Create a N. @@ -6258,7 +6445,7 @@ export namespace Prisma { * }) * */ - create(args: SelectSubset>): Prisma__NClient<$Result.GetResult, T, "create">, never, ExtArgs> + create(args: SelectSubset>): Prisma__NClient<$Result.GetResult, T, "create", ClientOptions>, never, ExtArgs, ClientOptions> /** * Create many Ns. @@ -6296,7 +6483,7 @@ export namespace Prisma { * Read more here: https://pris.ly/d/null-undefined * */ - createManyAndReturn(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "createManyAndReturn">> + createManyAndReturn(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "createManyAndReturn", ClientOptions>> /** * Delete a N. @@ -6310,7 +6497,7 @@ export namespace Prisma { * }) * */ - delete(args: SelectSubset>): Prisma__NClient<$Result.GetResult, T, "delete">, never, ExtArgs> + delete(args: SelectSubset>): Prisma__NClient<$Result.GetResult, T, "delete", ClientOptions>, never, ExtArgs, ClientOptions> /** * Update one N. @@ -6327,7 +6514,7 @@ export namespace Prisma { * }) * */ - update(args: SelectSubset>): Prisma__NClient<$Result.GetResult, T, "update">, never, ExtArgs> + update(args: SelectSubset>): Prisma__NClient<$Result.GetResult, T, "update", ClientOptions>, never, ExtArgs, ClientOptions> /** * Delete zero or more Ns. @@ -6390,7 +6577,7 @@ export namespace Prisma { * Read more here: https://pris.ly/d/null-undefined * */ - updateManyAndReturn(args: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "updateManyAndReturn">> + updateManyAndReturn(args: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "updateManyAndReturn", ClientOptions>> /** * Create or update one N. @@ -6409,7 +6596,7 @@ export namespace Prisma { * } * }) */ - upsert(args: SelectSubset>): Prisma__NClient<$Result.GetResult, T, "upsert">, never, ExtArgs> + upsert(args: SelectSubset>): Prisma__NClient<$Result.GetResult, T, "upsert", ClientOptions>, never, ExtArgs, ClientOptions> /** @@ -6549,9 +6736,9 @@ export namespace Prisma { * Because we want to prevent naming conflicts as mentioned in * https://github.com/prisma/prisma-client-js/issues/707 */ - export interface Prisma__NClient extends Prisma.PrismaPromise { + export interface Prisma__NClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" - m = {}>(args?: Subset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany"> | Null> + m = {}>(args?: Subset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", ClientOptions> | Null> /** * Attaches callbacks for the resolution and/or rejection of the Promise. * @param onfulfilled The callback to execute when the Promise is resolved. @@ -6606,6 +6793,10 @@ export namespace Prisma { * Select specific fields to fetch from the N */ select?: NSelect | null + /** + * Omit specific fields from the N + */ + omit?: NOmit | null /** * Choose, which related nodes to fetch as well */ @@ -6624,6 +6815,10 @@ export namespace Prisma { * Select specific fields to fetch from the N */ select?: NSelect | null + /** + * Omit specific fields from the N + */ + omit?: NOmit | null /** * Choose, which related nodes to fetch as well */ @@ -6642,6 +6837,10 @@ export namespace Prisma { * Select specific fields to fetch from the N */ select?: NSelect | null + /** + * Omit specific fields from the N + */ + omit?: NOmit | null /** * Choose, which related nodes to fetch as well */ @@ -6690,6 +6889,10 @@ export namespace Prisma { * Select specific fields to fetch from the N */ select?: NSelect | null + /** + * Omit specific fields from the N + */ + omit?: NOmit | null /** * Choose, which related nodes to fetch as well */ @@ -6738,6 +6941,10 @@ export namespace Prisma { * Select specific fields to fetch from the N */ select?: NSelect | null + /** + * Omit specific fields from the N + */ + omit?: NOmit | null /** * Choose, which related nodes to fetch as well */ @@ -6781,6 +6988,10 @@ export namespace Prisma { * Select specific fields to fetch from the N */ select?: NSelect | null + /** + * Omit specific fields from the N + */ + omit?: NOmit | null /** * Choose, which related nodes to fetch as well */ @@ -6810,6 +7021,10 @@ export namespace Prisma { * Select specific fields to fetch from the N */ select?: NSelectCreateManyAndReturn | null + /** + * Omit specific fields from the N + */ + omit?: NOmit | null /** * The data used to create many NS. */ @@ -6825,6 +7040,10 @@ export namespace Prisma { * Select specific fields to fetch from the N */ select?: NSelect | null + /** + * Omit specific fields from the N + */ + omit?: NOmit | null /** * Choose, which related nodes to fetch as well */ @@ -6861,6 +7080,10 @@ export namespace Prisma { * Select specific fields to fetch from the N */ select?: NSelectUpdateManyAndReturn | null + /** + * Omit specific fields from the N + */ + omit?: NOmit | null /** * The data used to update NS. */ @@ -6879,6 +7102,10 @@ export namespace Prisma { * Select specific fields to fetch from the N */ select?: NSelect | null + /** + * Omit specific fields from the N + */ + omit?: NOmit | null /** * Choose, which related nodes to fetch as well */ @@ -6905,6 +7132,10 @@ export namespace Prisma { * Select specific fields to fetch from the N */ select?: NSelect | null + /** + * Omit specific fields from the N + */ + omit?: NOmit | null /** * Choose, which related nodes to fetch as well */ @@ -6933,6 +7164,10 @@ export namespace Prisma { * Select specific fields to fetch from the M */ select?: MSelect | null + /** + * Omit specific fields from the M + */ + omit?: MOmit | null /** * Choose, which related nodes to fetch as well */ @@ -6953,6 +7188,10 @@ export namespace Prisma { * Select specific fields to fetch from the N */ select?: NSelect | null + /** + * Omit specific fields from the N + */ + omit?: NOmit | null /** * Choose, which related nodes to fetch as well */ @@ -7282,6 +7521,7 @@ export namespace Prisma { optionalBoolean?: boolean } + export type OneOptionalOmit = $Extensions.GetOmit<"id" | "int" | "optionalInt" | "float" | "optionalFloat" | "string" | "optionalString" | "json" | "optionalJson" | "enum" | "optionalEnum" | "boolean" | "optionalBoolean", ExtArgs["result"]["oneOptional"]> export type OneOptionalInclude = { many?: boolean | OneOptional$manyArgs _count?: boolean | OneOptionalCountOutputTypeDefaultArgs @@ -7315,11 +7555,11 @@ export namespace Prisma { type OneOptionalGetPayload = $Result.GetResult type OneOptionalCountArgs = - Omit & { + Omit & { select?: OneOptionalCountAggregateInputType | true } - export interface OneOptionalDelegate { + export interface OneOptionalDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['OneOptional'], meta: { name: 'OneOptional' } } /** * Find zero or one OneOptional that matches the filter. @@ -7332,7 +7572,7 @@ export namespace Prisma { * } * }) */ - findUnique(args: SelectSubset>): Prisma__OneOptionalClient<$Result.GetResult, T, "findUnique"> | null, null, ExtArgs> + findUnique(args: SelectSubset>): Prisma__OneOptionalClient<$Result.GetResult, T, "findUnique", ClientOptions> | null, null, ExtArgs, ClientOptions> /** * Find one OneOptional that matches the filter or throw an error with \`error.code='P2025'\` @@ -7346,7 +7586,7 @@ export namespace Prisma { * } * }) */ - findUniqueOrThrow(args: SelectSubset>): Prisma__OneOptionalClient<$Result.GetResult, T, "findUniqueOrThrow">, never, ExtArgs> + findUniqueOrThrow(args: SelectSubset>): Prisma__OneOptionalClient<$Result.GetResult, T, "findUniqueOrThrow", ClientOptions>, never, ExtArgs, ClientOptions> /** * Find the first OneOptional that matches the filter. @@ -7361,7 +7601,7 @@ export namespace Prisma { * } * }) */ - findFirst(args?: SelectSubset>): Prisma__OneOptionalClient<$Result.GetResult, T, "findFirst"> | null, null, ExtArgs> + findFirst(args?: SelectSubset>): Prisma__OneOptionalClient<$Result.GetResult, T, "findFirst", ClientOptions> | null, null, ExtArgs, ClientOptions> /** * Find the first OneOptional that matches the filter or @@ -7377,7 +7617,7 @@ export namespace Prisma { * } * }) */ - findFirstOrThrow(args?: SelectSubset>): Prisma__OneOptionalClient<$Result.GetResult, T, "findFirstOrThrow">, never, ExtArgs> + findFirstOrThrow(args?: SelectSubset>): Prisma__OneOptionalClient<$Result.GetResult, T, "findFirstOrThrow", ClientOptions>, never, ExtArgs, ClientOptions> /** * Find zero or more OneOptionals that matches the filter. @@ -7395,7 +7635,7 @@ export namespace Prisma { * const oneOptionalWithIdOnly = await prisma.oneOptional.findMany({ select: { id: true } }) * */ - findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany">> + findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", ClientOptions>> /** * Create a OneOptional. @@ -7409,7 +7649,7 @@ export namespace Prisma { * }) * */ - create(args: SelectSubset>): Prisma__OneOptionalClient<$Result.GetResult, T, "create">, never, ExtArgs> + create(args: SelectSubset>): Prisma__OneOptionalClient<$Result.GetResult, T, "create", ClientOptions>, never, ExtArgs, ClientOptions> /** * Create many OneOptionals. @@ -7447,7 +7687,7 @@ export namespace Prisma { * Read more here: https://pris.ly/d/null-undefined * */ - createManyAndReturn(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "createManyAndReturn">> + createManyAndReturn(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "createManyAndReturn", ClientOptions>> /** * Delete a OneOptional. @@ -7461,7 +7701,7 @@ export namespace Prisma { * }) * */ - delete(args: SelectSubset>): Prisma__OneOptionalClient<$Result.GetResult, T, "delete">, never, ExtArgs> + delete(args: SelectSubset>): Prisma__OneOptionalClient<$Result.GetResult, T, "delete", ClientOptions>, never, ExtArgs, ClientOptions> /** * Update one OneOptional. @@ -7478,7 +7718,7 @@ export namespace Prisma { * }) * */ - update(args: SelectSubset>): Prisma__OneOptionalClient<$Result.GetResult, T, "update">, never, ExtArgs> + update(args: SelectSubset>): Prisma__OneOptionalClient<$Result.GetResult, T, "update", ClientOptions>, never, ExtArgs, ClientOptions> /** * Delete zero or more OneOptionals. @@ -7541,7 +7781,7 @@ export namespace Prisma { * Read more here: https://pris.ly/d/null-undefined * */ - updateManyAndReturn(args: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "updateManyAndReturn">> + updateManyAndReturn(args: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "updateManyAndReturn", ClientOptions>> /** * Create or update one OneOptional. @@ -7560,7 +7800,7 @@ export namespace Prisma { * } * }) */ - upsert(args: SelectSubset>): Prisma__OneOptionalClient<$Result.GetResult, T, "upsert">, never, ExtArgs> + upsert(args: SelectSubset>): Prisma__OneOptionalClient<$Result.GetResult, T, "upsert", ClientOptions>, never, ExtArgs, ClientOptions> /** @@ -7700,9 +7940,9 @@ export namespace Prisma { * Because we want to prevent naming conflicts as mentioned in * https://github.com/prisma/prisma-client-js/issues/707 */ - export interface Prisma__OneOptionalClient extends Prisma.PrismaPromise { + export interface Prisma__OneOptionalClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" - many = {}>(args?: Subset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany"> | Null> + many = {}>(args?: Subset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", ClientOptions> | Null> /** * Attaches callbacks for the resolution and/or rejection of the Promise. * @param onfulfilled The callback to execute when the Promise is resolved. @@ -7757,6 +7997,10 @@ export namespace Prisma { * Select specific fields to fetch from the OneOptional */ select?: OneOptionalSelect | null + /** + * Omit specific fields from the OneOptional + */ + omit?: OneOptionalOmit | null /** * Choose, which related nodes to fetch as well */ @@ -7775,6 +8019,10 @@ export namespace Prisma { * Select specific fields to fetch from the OneOptional */ select?: OneOptionalSelect | null + /** + * Omit specific fields from the OneOptional + */ + omit?: OneOptionalOmit | null /** * Choose, which related nodes to fetch as well */ @@ -7793,6 +8041,10 @@ export namespace Prisma { * Select specific fields to fetch from the OneOptional */ select?: OneOptionalSelect | null + /** + * Omit specific fields from the OneOptional + */ + omit?: OneOptionalOmit | null /** * Choose, which related nodes to fetch as well */ @@ -7841,6 +8093,10 @@ export namespace Prisma { * Select specific fields to fetch from the OneOptional */ select?: OneOptionalSelect | null + /** + * Omit specific fields from the OneOptional + */ + omit?: OneOptionalOmit | null /** * Choose, which related nodes to fetch as well */ @@ -7889,6 +8145,10 @@ export namespace Prisma { * Select specific fields to fetch from the OneOptional */ select?: OneOptionalSelect | null + /** + * Omit specific fields from the OneOptional + */ + omit?: OneOptionalOmit | null /** * Choose, which related nodes to fetch as well */ @@ -7932,6 +8192,10 @@ export namespace Prisma { * Select specific fields to fetch from the OneOptional */ select?: OneOptionalSelect | null + /** + * Omit specific fields from the OneOptional + */ + omit?: OneOptionalOmit | null /** * Choose, which related nodes to fetch as well */ @@ -7961,6 +8225,10 @@ export namespace Prisma { * Select specific fields to fetch from the OneOptional */ select?: OneOptionalSelectCreateManyAndReturn | null + /** + * Omit specific fields from the OneOptional + */ + omit?: OneOptionalOmit | null /** * The data used to create many OneOptionals. */ @@ -7976,6 +8244,10 @@ export namespace Prisma { * Select specific fields to fetch from the OneOptional */ select?: OneOptionalSelect | null + /** + * Omit specific fields from the OneOptional + */ + omit?: OneOptionalOmit | null /** * Choose, which related nodes to fetch as well */ @@ -8012,6 +8284,10 @@ export namespace Prisma { * Select specific fields to fetch from the OneOptional */ select?: OneOptionalSelectUpdateManyAndReturn | null + /** + * Omit specific fields from the OneOptional + */ + omit?: OneOptionalOmit | null /** * The data used to update OneOptionals. */ @@ -8030,6 +8306,10 @@ export namespace Prisma { * Select specific fields to fetch from the OneOptional */ select?: OneOptionalSelect | null + /** + * Omit specific fields from the OneOptional + */ + omit?: OneOptionalOmit | null /** * Choose, which related nodes to fetch as well */ @@ -8056,6 +8336,10 @@ export namespace Prisma { * Select specific fields to fetch from the OneOptional */ select?: OneOptionalSelect | null + /** + * Omit specific fields from the OneOptional + */ + omit?: OneOptionalOmit | null /** * Choose, which related nodes to fetch as well */ @@ -8084,6 +8368,10 @@ export namespace Prisma { * Select specific fields to fetch from the ManyRequired */ select?: ManyRequiredSelect | null + /** + * Omit specific fields from the ManyRequired + */ + omit?: ManyRequiredOmit | null /** * Choose, which related nodes to fetch as well */ @@ -8104,6 +8392,10 @@ export namespace Prisma { * Select specific fields to fetch from the OneOptional */ select?: OneOptionalSelect | null + /** + * Omit specific fields from the OneOptional + */ + omit?: OneOptionalOmit | null /** * Choose, which related nodes to fetch as well */ @@ -8449,6 +8741,7 @@ export namespace Prisma { optionalBoolean?: boolean } + export type ManyRequiredOmit = $Extensions.GetOmit<"id" | "oneOptionalId" | "int" | "optionalInt" | "float" | "optionalFloat" | "string" | "optionalString" | "json" | "optionalJson" | "enum" | "optionalEnum" | "boolean" | "optionalBoolean", ExtArgs["result"]["manyRequired"]> export type ManyRequiredInclude = { one?: boolean | ManyRequired$oneArgs } @@ -8486,11 +8779,11 @@ export namespace Prisma { type ManyRequiredGetPayload = $Result.GetResult type ManyRequiredCountArgs = - Omit & { + Omit & { select?: ManyRequiredCountAggregateInputType | true } - export interface ManyRequiredDelegate { + export interface ManyRequiredDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['ManyRequired'], meta: { name: 'ManyRequired' } } /** * Find zero or one ManyRequired that matches the filter. @@ -8503,7 +8796,7 @@ export namespace Prisma { * } * }) */ - findUnique(args: SelectSubset>): Prisma__ManyRequiredClient<$Result.GetResult, T, "findUnique"> | null, null, ExtArgs> + findUnique(args: SelectSubset>): Prisma__ManyRequiredClient<$Result.GetResult, T, "findUnique", ClientOptions> | null, null, ExtArgs, ClientOptions> /** * Find one ManyRequired that matches the filter or throw an error with \`error.code='P2025'\` @@ -8517,7 +8810,7 @@ export namespace Prisma { * } * }) */ - findUniqueOrThrow(args: SelectSubset>): Prisma__ManyRequiredClient<$Result.GetResult, T, "findUniqueOrThrow">, never, ExtArgs> + findUniqueOrThrow(args: SelectSubset>): Prisma__ManyRequiredClient<$Result.GetResult, T, "findUniqueOrThrow", ClientOptions>, never, ExtArgs, ClientOptions> /** * Find the first ManyRequired that matches the filter. @@ -8532,7 +8825,7 @@ export namespace Prisma { * } * }) */ - findFirst(args?: SelectSubset>): Prisma__ManyRequiredClient<$Result.GetResult, T, "findFirst"> | null, null, ExtArgs> + findFirst(args?: SelectSubset>): Prisma__ManyRequiredClient<$Result.GetResult, T, "findFirst", ClientOptions> | null, null, ExtArgs, ClientOptions> /** * Find the first ManyRequired that matches the filter or @@ -8548,7 +8841,7 @@ export namespace Prisma { * } * }) */ - findFirstOrThrow(args?: SelectSubset>): Prisma__ManyRequiredClient<$Result.GetResult, T, "findFirstOrThrow">, never, ExtArgs> + findFirstOrThrow(args?: SelectSubset>): Prisma__ManyRequiredClient<$Result.GetResult, T, "findFirstOrThrow", ClientOptions>, never, ExtArgs, ClientOptions> /** * Find zero or more ManyRequireds that matches the filter. @@ -8566,7 +8859,7 @@ export namespace Prisma { * const manyRequiredWithIdOnly = await prisma.manyRequired.findMany({ select: { id: true } }) * */ - findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany">> + findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", ClientOptions>> /** * Create a ManyRequired. @@ -8580,7 +8873,7 @@ export namespace Prisma { * }) * */ - create(args: SelectSubset>): Prisma__ManyRequiredClient<$Result.GetResult, T, "create">, never, ExtArgs> + create(args: SelectSubset>): Prisma__ManyRequiredClient<$Result.GetResult, T, "create", ClientOptions>, never, ExtArgs, ClientOptions> /** * Create many ManyRequireds. @@ -8618,7 +8911,7 @@ export namespace Prisma { * Read more here: https://pris.ly/d/null-undefined * */ - createManyAndReturn(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "createManyAndReturn">> + createManyAndReturn(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "createManyAndReturn", ClientOptions>> /** * Delete a ManyRequired. @@ -8632,7 +8925,7 @@ export namespace Prisma { * }) * */ - delete(args: SelectSubset>): Prisma__ManyRequiredClient<$Result.GetResult, T, "delete">, never, ExtArgs> + delete(args: SelectSubset>): Prisma__ManyRequiredClient<$Result.GetResult, T, "delete", ClientOptions>, never, ExtArgs, ClientOptions> /** * Update one ManyRequired. @@ -8649,7 +8942,7 @@ export namespace Prisma { * }) * */ - update(args: SelectSubset>): Prisma__ManyRequiredClient<$Result.GetResult, T, "update">, never, ExtArgs> + update(args: SelectSubset>): Prisma__ManyRequiredClient<$Result.GetResult, T, "update", ClientOptions>, never, ExtArgs, ClientOptions> /** * Delete zero or more ManyRequireds. @@ -8712,7 +9005,7 @@ export namespace Prisma { * Read more here: https://pris.ly/d/null-undefined * */ - updateManyAndReturn(args: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "updateManyAndReturn">> + updateManyAndReturn(args: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "updateManyAndReturn", ClientOptions>> /** * Create or update one ManyRequired. @@ -8731,7 +9024,7 @@ export namespace Prisma { * } * }) */ - upsert(args: SelectSubset>): Prisma__ManyRequiredClient<$Result.GetResult, T, "upsert">, never, ExtArgs> + upsert(args: SelectSubset>): Prisma__ManyRequiredClient<$Result.GetResult, T, "upsert", ClientOptions>, never, ExtArgs, ClientOptions> /** @@ -8871,9 +9164,9 @@ export namespace Prisma { * Because we want to prevent naming conflicts as mentioned in * https://github.com/prisma/prisma-client-js/issues/707 */ - export interface Prisma__ManyRequiredClient extends Prisma.PrismaPromise { + export interface Prisma__ManyRequiredClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" - one = {}>(args?: Subset>): Prisma__OneOptionalClient<$Result.GetResult, T, "findUniqueOrThrow"> | null, null, ExtArgs> + one = {}>(args?: Subset>): Prisma__OneOptionalClient<$Result.GetResult, T, "findUniqueOrThrow", ClientOptions> | null, null, ExtArgs, ClientOptions> /** * Attaches callbacks for the resolution and/or rejection of the Promise. * @param onfulfilled The callback to execute when the Promise is resolved. @@ -8929,6 +9222,10 @@ export namespace Prisma { * Select specific fields to fetch from the ManyRequired */ select?: ManyRequiredSelect | null + /** + * Omit specific fields from the ManyRequired + */ + omit?: ManyRequiredOmit | null /** * Choose, which related nodes to fetch as well */ @@ -8947,6 +9244,10 @@ export namespace Prisma { * Select specific fields to fetch from the ManyRequired */ select?: ManyRequiredSelect | null + /** + * Omit specific fields from the ManyRequired + */ + omit?: ManyRequiredOmit | null /** * Choose, which related nodes to fetch as well */ @@ -8965,6 +9266,10 @@ export namespace Prisma { * Select specific fields to fetch from the ManyRequired */ select?: ManyRequiredSelect | null + /** + * Omit specific fields from the ManyRequired + */ + omit?: ManyRequiredOmit | null /** * Choose, which related nodes to fetch as well */ @@ -9013,6 +9318,10 @@ export namespace Prisma { * Select specific fields to fetch from the ManyRequired */ select?: ManyRequiredSelect | null + /** + * Omit specific fields from the ManyRequired + */ + omit?: ManyRequiredOmit | null /** * Choose, which related nodes to fetch as well */ @@ -9061,6 +9370,10 @@ export namespace Prisma { * Select specific fields to fetch from the ManyRequired */ select?: ManyRequiredSelect | null + /** + * Omit specific fields from the ManyRequired + */ + omit?: ManyRequiredOmit | null /** * Choose, which related nodes to fetch as well */ @@ -9104,6 +9417,10 @@ export namespace Prisma { * Select specific fields to fetch from the ManyRequired */ select?: ManyRequiredSelect | null + /** + * Omit specific fields from the ManyRequired + */ + omit?: ManyRequiredOmit | null /** * Choose, which related nodes to fetch as well */ @@ -9133,6 +9450,10 @@ export namespace Prisma { * Select specific fields to fetch from the ManyRequired */ select?: ManyRequiredSelectCreateManyAndReturn | null + /** + * Omit specific fields from the ManyRequired + */ + omit?: ManyRequiredOmit | null /** * The data used to create many ManyRequireds. */ @@ -9152,6 +9473,10 @@ export namespace Prisma { * Select specific fields to fetch from the ManyRequired */ select?: ManyRequiredSelect | null + /** + * Omit specific fields from the ManyRequired + */ + omit?: ManyRequiredOmit | null /** * Choose, which related nodes to fetch as well */ @@ -9188,6 +9513,10 @@ export namespace Prisma { * Select specific fields to fetch from the ManyRequired */ select?: ManyRequiredSelectUpdateManyAndReturn | null + /** + * Omit specific fields from the ManyRequired + */ + omit?: ManyRequiredOmit | null /** * The data used to update ManyRequireds. */ @@ -9210,6 +9539,10 @@ export namespace Prisma { * Select specific fields to fetch from the ManyRequired */ select?: ManyRequiredSelect | null + /** + * Omit specific fields from the ManyRequired + */ + omit?: ManyRequiredOmit | null /** * Choose, which related nodes to fetch as well */ @@ -9236,6 +9569,10 @@ export namespace Prisma { * Select specific fields to fetch from the ManyRequired */ select?: ManyRequiredSelect | null + /** + * Omit specific fields from the ManyRequired + */ + omit?: ManyRequiredOmit | null /** * Choose, which related nodes to fetch as well */ @@ -9264,6 +9601,10 @@ export namespace Prisma { * Select specific fields to fetch from the OneOptional */ select?: OneOptionalSelect | null + /** + * Omit specific fields from the OneOptional + */ + omit?: OneOptionalOmit | null /** * Choose, which related nodes to fetch as well */ @@ -9279,6 +9620,10 @@ export namespace Prisma { * Select specific fields to fetch from the ManyRequired */ select?: ManyRequiredSelect | null + /** + * Omit specific fields from the ManyRequired + */ + omit?: ManyRequiredOmit | null /** * Choose, which related nodes to fetch as well */ @@ -9624,6 +9969,7 @@ export namespace Prisma { optionalBoolean?: boolean } + export type OptionalSide1Omit = $Extensions.GetOmit<"id" | "optionalSide2Id" | "int" | "optionalInt" | "float" | "optionalFloat" | "string" | "optionalString" | "json" | "optionalJson" | "enum" | "optionalEnum" | "boolean" | "optionalBoolean", ExtArgs["result"]["optionalSide1"]> export type OptionalSide1Include = { opti?: boolean | OptionalSide1$optiArgs } @@ -9661,11 +10007,11 @@ export namespace Prisma { type OptionalSide1GetPayload = $Result.GetResult type OptionalSide1CountArgs = - Omit & { + Omit & { select?: OptionalSide1CountAggregateInputType | true } - export interface OptionalSide1Delegate { + export interface OptionalSide1Delegate { [K: symbol]: { types: Prisma.TypeMap['model']['OptionalSide1'], meta: { name: 'OptionalSide1' } } /** * Find zero or one OptionalSide1 that matches the filter. @@ -9678,7 +10024,7 @@ export namespace Prisma { * } * }) */ - findUnique(args: SelectSubset>): Prisma__OptionalSide1Client<$Result.GetResult, T, "findUnique"> | null, null, ExtArgs> + findUnique(args: SelectSubset>): Prisma__OptionalSide1Client<$Result.GetResult, T, "findUnique", ClientOptions> | null, null, ExtArgs, ClientOptions> /** * Find one OptionalSide1 that matches the filter or throw an error with \`error.code='P2025'\` @@ -9692,7 +10038,7 @@ export namespace Prisma { * } * }) */ - findUniqueOrThrow(args: SelectSubset>): Prisma__OptionalSide1Client<$Result.GetResult, T, "findUniqueOrThrow">, never, ExtArgs> + findUniqueOrThrow(args: SelectSubset>): Prisma__OptionalSide1Client<$Result.GetResult, T, "findUniqueOrThrow", ClientOptions>, never, ExtArgs, ClientOptions> /** * Find the first OptionalSide1 that matches the filter. @@ -9707,7 +10053,7 @@ export namespace Prisma { * } * }) */ - findFirst(args?: SelectSubset>): Prisma__OptionalSide1Client<$Result.GetResult, T, "findFirst"> | null, null, ExtArgs> + findFirst(args?: SelectSubset>): Prisma__OptionalSide1Client<$Result.GetResult, T, "findFirst", ClientOptions> | null, null, ExtArgs, ClientOptions> /** * Find the first OptionalSide1 that matches the filter or @@ -9723,7 +10069,7 @@ export namespace Prisma { * } * }) */ - findFirstOrThrow(args?: SelectSubset>): Prisma__OptionalSide1Client<$Result.GetResult, T, "findFirstOrThrow">, never, ExtArgs> + findFirstOrThrow(args?: SelectSubset>): Prisma__OptionalSide1Client<$Result.GetResult, T, "findFirstOrThrow", ClientOptions>, never, ExtArgs, ClientOptions> /** * Find zero or more OptionalSide1s that matches the filter. @@ -9741,7 +10087,7 @@ export namespace Prisma { * const optionalSide1WithIdOnly = await prisma.optionalSide1.findMany({ select: { id: true } }) * */ - findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany">> + findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", ClientOptions>> /** * Create a OptionalSide1. @@ -9755,7 +10101,7 @@ export namespace Prisma { * }) * */ - create(args: SelectSubset>): Prisma__OptionalSide1Client<$Result.GetResult, T, "create">, never, ExtArgs> + create(args: SelectSubset>): Prisma__OptionalSide1Client<$Result.GetResult, T, "create", ClientOptions>, never, ExtArgs, ClientOptions> /** * Create many OptionalSide1s. @@ -9793,7 +10139,7 @@ export namespace Prisma { * Read more here: https://pris.ly/d/null-undefined * */ - createManyAndReturn(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "createManyAndReturn">> + createManyAndReturn(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "createManyAndReturn", ClientOptions>> /** * Delete a OptionalSide1. @@ -9807,7 +10153,7 @@ export namespace Prisma { * }) * */ - delete(args: SelectSubset>): Prisma__OptionalSide1Client<$Result.GetResult, T, "delete">, never, ExtArgs> + delete(args: SelectSubset>): Prisma__OptionalSide1Client<$Result.GetResult, T, "delete", ClientOptions>, never, ExtArgs, ClientOptions> /** * Update one OptionalSide1. @@ -9824,7 +10170,7 @@ export namespace Prisma { * }) * */ - update(args: SelectSubset>): Prisma__OptionalSide1Client<$Result.GetResult, T, "update">, never, ExtArgs> + update(args: SelectSubset>): Prisma__OptionalSide1Client<$Result.GetResult, T, "update", ClientOptions>, never, ExtArgs, ClientOptions> /** * Delete zero or more OptionalSide1s. @@ -9887,7 +10233,7 @@ export namespace Prisma { * Read more here: https://pris.ly/d/null-undefined * */ - updateManyAndReturn(args: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "updateManyAndReturn">> + updateManyAndReturn(args: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "updateManyAndReturn", ClientOptions>> /** * Create or update one OptionalSide1. @@ -9906,7 +10252,7 @@ export namespace Prisma { * } * }) */ - upsert(args: SelectSubset>): Prisma__OptionalSide1Client<$Result.GetResult, T, "upsert">, never, ExtArgs> + upsert(args: SelectSubset>): Prisma__OptionalSide1Client<$Result.GetResult, T, "upsert", ClientOptions>, never, ExtArgs, ClientOptions> /** @@ -10046,9 +10392,9 @@ export namespace Prisma { * Because we want to prevent naming conflicts as mentioned in * https://github.com/prisma/prisma-client-js/issues/707 */ - export interface Prisma__OptionalSide1Client extends Prisma.PrismaPromise { + export interface Prisma__OptionalSide1Client extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" - opti = {}>(args?: Subset>): Prisma__OptionalSide2Client<$Result.GetResult, T, "findUniqueOrThrow"> | null, null, ExtArgs> + opti = {}>(args?: Subset>): Prisma__OptionalSide2Client<$Result.GetResult, T, "findUniqueOrThrow", ClientOptions> | null, null, ExtArgs, ClientOptions> /** * Attaches callbacks for the resolution and/or rejection of the Promise. * @param onfulfilled The callback to execute when the Promise is resolved. @@ -10104,6 +10450,10 @@ export namespace Prisma { * Select specific fields to fetch from the OptionalSide1 */ select?: OptionalSide1Select | null + /** + * Omit specific fields from the OptionalSide1 + */ + omit?: OptionalSide1Omit | null /** * Choose, which related nodes to fetch as well */ @@ -10122,6 +10472,10 @@ export namespace Prisma { * Select specific fields to fetch from the OptionalSide1 */ select?: OptionalSide1Select | null + /** + * Omit specific fields from the OptionalSide1 + */ + omit?: OptionalSide1Omit | null /** * Choose, which related nodes to fetch as well */ @@ -10140,6 +10494,10 @@ export namespace Prisma { * Select specific fields to fetch from the OptionalSide1 */ select?: OptionalSide1Select | null + /** + * Omit specific fields from the OptionalSide1 + */ + omit?: OptionalSide1Omit | null /** * Choose, which related nodes to fetch as well */ @@ -10188,6 +10546,10 @@ export namespace Prisma { * Select specific fields to fetch from the OptionalSide1 */ select?: OptionalSide1Select | null + /** + * Omit specific fields from the OptionalSide1 + */ + omit?: OptionalSide1Omit | null /** * Choose, which related nodes to fetch as well */ @@ -10236,6 +10598,10 @@ export namespace Prisma { * Select specific fields to fetch from the OptionalSide1 */ select?: OptionalSide1Select | null + /** + * Omit specific fields from the OptionalSide1 + */ + omit?: OptionalSide1Omit | null /** * Choose, which related nodes to fetch as well */ @@ -10279,6 +10645,10 @@ export namespace Prisma { * Select specific fields to fetch from the OptionalSide1 */ select?: OptionalSide1Select | null + /** + * Omit specific fields from the OptionalSide1 + */ + omit?: OptionalSide1Omit | null /** * Choose, which related nodes to fetch as well */ @@ -10308,6 +10678,10 @@ export namespace Prisma { * Select specific fields to fetch from the OptionalSide1 */ select?: OptionalSide1SelectCreateManyAndReturn | null + /** + * Omit specific fields from the OptionalSide1 + */ + omit?: OptionalSide1Omit | null /** * The data used to create many OptionalSide1s. */ @@ -10327,6 +10701,10 @@ export namespace Prisma { * Select specific fields to fetch from the OptionalSide1 */ select?: OptionalSide1Select | null + /** + * Omit specific fields from the OptionalSide1 + */ + omit?: OptionalSide1Omit | null /** * Choose, which related nodes to fetch as well */ @@ -10363,6 +10741,10 @@ export namespace Prisma { * Select specific fields to fetch from the OptionalSide1 */ select?: OptionalSide1SelectUpdateManyAndReturn | null + /** + * Omit specific fields from the OptionalSide1 + */ + omit?: OptionalSide1Omit | null /** * The data used to update OptionalSide1s. */ @@ -10385,6 +10767,10 @@ export namespace Prisma { * Select specific fields to fetch from the OptionalSide1 */ select?: OptionalSide1Select | null + /** + * Omit specific fields from the OptionalSide1 + */ + omit?: OptionalSide1Omit | null /** * Choose, which related nodes to fetch as well */ @@ -10411,6 +10797,10 @@ export namespace Prisma { * Select specific fields to fetch from the OptionalSide1 */ select?: OptionalSide1Select | null + /** + * Omit specific fields from the OptionalSide1 + */ + omit?: OptionalSide1Omit | null /** * Choose, which related nodes to fetch as well */ @@ -10439,6 +10829,10 @@ export namespace Prisma { * Select specific fields to fetch from the OptionalSide2 */ select?: OptionalSide2Select | null + /** + * Omit specific fields from the OptionalSide2 + */ + omit?: OptionalSide2Omit | null /** * Choose, which related nodes to fetch as well */ @@ -10454,6 +10848,10 @@ export namespace Prisma { * Select specific fields to fetch from the OptionalSide1 */ select?: OptionalSide1Select | null + /** + * Omit specific fields from the OptionalSide1 + */ + omit?: OptionalSide1Omit | null /** * Choose, which related nodes to fetch as well */ @@ -10782,6 +11180,7 @@ export namespace Prisma { optionalBoolean?: boolean } + export type OptionalSide2Omit = $Extensions.GetOmit<"id" | "int" | "optionalInt" | "float" | "optionalFloat" | "string" | "optionalString" | "json" | "optionalJson" | "enum" | "optionalEnum" | "boolean" | "optionalBoolean", ExtArgs["result"]["optionalSide2"]> export type OptionalSide2Include = { opti?: boolean | OptionalSide2$optiArgs } @@ -10814,11 +11213,11 @@ export namespace Prisma { type OptionalSide2GetPayload = $Result.GetResult type OptionalSide2CountArgs = - Omit & { + Omit & { select?: OptionalSide2CountAggregateInputType | true } - export interface OptionalSide2Delegate { + export interface OptionalSide2Delegate { [K: symbol]: { types: Prisma.TypeMap['model']['OptionalSide2'], meta: { name: 'OptionalSide2' } } /** * Find zero or one OptionalSide2 that matches the filter. @@ -10831,7 +11230,7 @@ export namespace Prisma { * } * }) */ - findUnique(args: SelectSubset>): Prisma__OptionalSide2Client<$Result.GetResult, T, "findUnique"> | null, null, ExtArgs> + findUnique(args: SelectSubset>): Prisma__OptionalSide2Client<$Result.GetResult, T, "findUnique", ClientOptions> | null, null, ExtArgs, ClientOptions> /** * Find one OptionalSide2 that matches the filter or throw an error with \`error.code='P2025'\` @@ -10845,7 +11244,7 @@ export namespace Prisma { * } * }) */ - findUniqueOrThrow(args: SelectSubset>): Prisma__OptionalSide2Client<$Result.GetResult, T, "findUniqueOrThrow">, never, ExtArgs> + findUniqueOrThrow(args: SelectSubset>): Prisma__OptionalSide2Client<$Result.GetResult, T, "findUniqueOrThrow", ClientOptions>, never, ExtArgs, ClientOptions> /** * Find the first OptionalSide2 that matches the filter. @@ -10860,7 +11259,7 @@ export namespace Prisma { * } * }) */ - findFirst(args?: SelectSubset>): Prisma__OptionalSide2Client<$Result.GetResult, T, "findFirst"> | null, null, ExtArgs> + findFirst(args?: SelectSubset>): Prisma__OptionalSide2Client<$Result.GetResult, T, "findFirst", ClientOptions> | null, null, ExtArgs, ClientOptions> /** * Find the first OptionalSide2 that matches the filter or @@ -10876,7 +11275,7 @@ export namespace Prisma { * } * }) */ - findFirstOrThrow(args?: SelectSubset>): Prisma__OptionalSide2Client<$Result.GetResult, T, "findFirstOrThrow">, never, ExtArgs> + findFirstOrThrow(args?: SelectSubset>): Prisma__OptionalSide2Client<$Result.GetResult, T, "findFirstOrThrow", ClientOptions>, never, ExtArgs, ClientOptions> /** * Find zero or more OptionalSide2s that matches the filter. @@ -10894,7 +11293,7 @@ export namespace Prisma { * const optionalSide2WithIdOnly = await prisma.optionalSide2.findMany({ select: { id: true } }) * */ - findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany">> + findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", ClientOptions>> /** * Create a OptionalSide2. @@ -10908,7 +11307,7 @@ export namespace Prisma { * }) * */ - create(args: SelectSubset>): Prisma__OptionalSide2Client<$Result.GetResult, T, "create">, never, ExtArgs> + create(args: SelectSubset>): Prisma__OptionalSide2Client<$Result.GetResult, T, "create", ClientOptions>, never, ExtArgs, ClientOptions> /** * Create many OptionalSide2s. @@ -10946,7 +11345,7 @@ export namespace Prisma { * Read more here: https://pris.ly/d/null-undefined * */ - createManyAndReturn(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "createManyAndReturn">> + createManyAndReturn(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "createManyAndReturn", ClientOptions>> /** * Delete a OptionalSide2. @@ -10960,7 +11359,7 @@ export namespace Prisma { * }) * */ - delete(args: SelectSubset>): Prisma__OptionalSide2Client<$Result.GetResult, T, "delete">, never, ExtArgs> + delete(args: SelectSubset>): Prisma__OptionalSide2Client<$Result.GetResult, T, "delete", ClientOptions>, never, ExtArgs, ClientOptions> /** * Update one OptionalSide2. @@ -10977,7 +11376,7 @@ export namespace Prisma { * }) * */ - update(args: SelectSubset>): Prisma__OptionalSide2Client<$Result.GetResult, T, "update">, never, ExtArgs> + update(args: SelectSubset>): Prisma__OptionalSide2Client<$Result.GetResult, T, "update", ClientOptions>, never, ExtArgs, ClientOptions> /** * Delete zero or more OptionalSide2s. @@ -11040,7 +11439,7 @@ export namespace Prisma { * Read more here: https://pris.ly/d/null-undefined * */ - updateManyAndReturn(args: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "updateManyAndReturn">> + updateManyAndReturn(args: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "updateManyAndReturn", ClientOptions>> /** * Create or update one OptionalSide2. @@ -11059,7 +11458,7 @@ export namespace Prisma { * } * }) */ - upsert(args: SelectSubset>): Prisma__OptionalSide2Client<$Result.GetResult, T, "upsert">, never, ExtArgs> + upsert(args: SelectSubset>): Prisma__OptionalSide2Client<$Result.GetResult, T, "upsert", ClientOptions>, never, ExtArgs, ClientOptions> /** @@ -11199,9 +11598,9 @@ export namespace Prisma { * Because we want to prevent naming conflicts as mentioned in * https://github.com/prisma/prisma-client-js/issues/707 */ - export interface Prisma__OptionalSide2Client extends Prisma.PrismaPromise { + export interface Prisma__OptionalSide2Client extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" - opti = {}>(args?: Subset>): Prisma__OptionalSide1Client<$Result.GetResult, T, "findUniqueOrThrow"> | null, null, ExtArgs> + opti = {}>(args?: Subset>): Prisma__OptionalSide1Client<$Result.GetResult, T, "findUniqueOrThrow", ClientOptions> | null, null, ExtArgs, ClientOptions> /** * Attaches callbacks for the resolution and/or rejection of the Promise. * @param onfulfilled The callback to execute when the Promise is resolved. @@ -11256,6 +11655,10 @@ export namespace Prisma { * Select specific fields to fetch from the OptionalSide2 */ select?: OptionalSide2Select | null + /** + * Omit specific fields from the OptionalSide2 + */ + omit?: OptionalSide2Omit | null /** * Choose, which related nodes to fetch as well */ @@ -11274,6 +11677,10 @@ export namespace Prisma { * Select specific fields to fetch from the OptionalSide2 */ select?: OptionalSide2Select | null + /** + * Omit specific fields from the OptionalSide2 + */ + omit?: OptionalSide2Omit | null /** * Choose, which related nodes to fetch as well */ @@ -11292,6 +11699,10 @@ export namespace Prisma { * Select specific fields to fetch from the OptionalSide2 */ select?: OptionalSide2Select | null + /** + * Omit specific fields from the OptionalSide2 + */ + omit?: OptionalSide2Omit | null /** * Choose, which related nodes to fetch as well */ @@ -11340,6 +11751,10 @@ export namespace Prisma { * Select specific fields to fetch from the OptionalSide2 */ select?: OptionalSide2Select | null + /** + * Omit specific fields from the OptionalSide2 + */ + omit?: OptionalSide2Omit | null /** * Choose, which related nodes to fetch as well */ @@ -11388,6 +11803,10 @@ export namespace Prisma { * Select specific fields to fetch from the OptionalSide2 */ select?: OptionalSide2Select | null + /** + * Omit specific fields from the OptionalSide2 + */ + omit?: OptionalSide2Omit | null /** * Choose, which related nodes to fetch as well */ @@ -11431,6 +11850,10 @@ export namespace Prisma { * Select specific fields to fetch from the OptionalSide2 */ select?: OptionalSide2Select | null + /** + * Omit specific fields from the OptionalSide2 + */ + omit?: OptionalSide2Omit | null /** * Choose, which related nodes to fetch as well */ @@ -11460,6 +11883,10 @@ export namespace Prisma { * Select specific fields to fetch from the OptionalSide2 */ select?: OptionalSide2SelectCreateManyAndReturn | null + /** + * Omit specific fields from the OptionalSide2 + */ + omit?: OptionalSide2Omit | null /** * The data used to create many OptionalSide2s. */ @@ -11475,6 +11902,10 @@ export namespace Prisma { * Select specific fields to fetch from the OptionalSide2 */ select?: OptionalSide2Select | null + /** + * Omit specific fields from the OptionalSide2 + */ + omit?: OptionalSide2Omit | null /** * Choose, which related nodes to fetch as well */ @@ -11511,6 +11942,10 @@ export namespace Prisma { * Select specific fields to fetch from the OptionalSide2 */ select?: OptionalSide2SelectUpdateManyAndReturn | null + /** + * Omit specific fields from the OptionalSide2 + */ + omit?: OptionalSide2Omit | null /** * The data used to update OptionalSide2s. */ @@ -11529,6 +11964,10 @@ export namespace Prisma { * Select specific fields to fetch from the OptionalSide2 */ select?: OptionalSide2Select | null + /** + * Omit specific fields from the OptionalSide2 + */ + omit?: OptionalSide2Omit | null /** * Choose, which related nodes to fetch as well */ @@ -11555,6 +11994,10 @@ export namespace Prisma { * Select specific fields to fetch from the OptionalSide2 */ select?: OptionalSide2Select | null + /** + * Omit specific fields from the OptionalSide2 + */ + omit?: OptionalSide2Omit | null /** * Choose, which related nodes to fetch as well */ @@ -11583,6 +12026,10 @@ export namespace Prisma { * Select specific fields to fetch from the OptionalSide1 */ select?: OptionalSide1Select | null + /** + * Omit specific fields from the OptionalSide1 + */ + omit?: OptionalSide1Omit | null /** * Choose, which related nodes to fetch as well */ @@ -11598,6 +12045,10 @@ export namespace Prisma { * Select specific fields to fetch from the OptionalSide2 */ select?: OptionalSide2Select | null + /** + * Omit specific fields from the OptionalSide2 + */ + omit?: OptionalSide2Omit | null /** * Choose, which related nodes to fetch as well */ @@ -11893,6 +12344,7 @@ export namespace Prisma { inc_bInt?: boolean } + export type AOmit = $Extensions.GetOmit<"id" | "email" | "name" | "int" | "sInt" | "bInt" | "inc_int" | "inc_sInt" | "inc_bInt", ExtArgs["result"]["a"]> export type $APayload = { name: "A" @@ -11920,11 +12372,11 @@ export namespace Prisma { type AGetPayload = $Result.GetResult type ACountArgs = - Omit & { + Omit & { select?: ACountAggregateInputType | true } - export interface ADelegate { + export interface ADelegate { [K: symbol]: { types: Prisma.TypeMap['model']['A'], meta: { name: 'A' } } /** * Find zero or one A that matches the filter. @@ -11937,7 +12389,7 @@ export namespace Prisma { * } * }) */ - findUnique(args: SelectSubset>): Prisma__AClient<$Result.GetResult, T, "findUnique"> | null, null, ExtArgs> + findUnique(args: SelectSubset>): Prisma__AClient<$Result.GetResult, T, "findUnique", ClientOptions> | null, null, ExtArgs, ClientOptions> /** * Find one A that matches the filter or throw an error with \`error.code='P2025'\` @@ -11951,7 +12403,7 @@ export namespace Prisma { * } * }) */ - findUniqueOrThrow(args: SelectSubset>): Prisma__AClient<$Result.GetResult, T, "findUniqueOrThrow">, never, ExtArgs> + findUniqueOrThrow(args: SelectSubset>): Prisma__AClient<$Result.GetResult, T, "findUniqueOrThrow", ClientOptions>, never, ExtArgs, ClientOptions> /** * Find the first A that matches the filter. @@ -11966,7 +12418,7 @@ export namespace Prisma { * } * }) */ - findFirst(args?: SelectSubset>): Prisma__AClient<$Result.GetResult, T, "findFirst"> | null, null, ExtArgs> + findFirst(args?: SelectSubset>): Prisma__AClient<$Result.GetResult, T, "findFirst", ClientOptions> | null, null, ExtArgs, ClientOptions> /** * Find the first A that matches the filter or @@ -11982,7 +12434,7 @@ export namespace Prisma { * } * }) */ - findFirstOrThrow(args?: SelectSubset>): Prisma__AClient<$Result.GetResult, T, "findFirstOrThrow">, never, ExtArgs> + findFirstOrThrow(args?: SelectSubset>): Prisma__AClient<$Result.GetResult, T, "findFirstOrThrow", ClientOptions>, never, ExtArgs, ClientOptions> /** * Find zero or more As that matches the filter. @@ -12000,7 +12452,7 @@ export namespace Prisma { * const aWithIdOnly = await prisma.a.findMany({ select: { id: true } }) * */ - findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany">> + findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", ClientOptions>> /** * Create a A. @@ -12014,7 +12466,7 @@ export namespace Prisma { * }) * */ - create(args: SelectSubset>): Prisma__AClient<$Result.GetResult, T, "create">, never, ExtArgs> + create(args: SelectSubset>): Prisma__AClient<$Result.GetResult, T, "create", ClientOptions>, never, ExtArgs, ClientOptions> /** * Create many As. @@ -12052,7 +12504,7 @@ export namespace Prisma { * Read more here: https://pris.ly/d/null-undefined * */ - createManyAndReturn(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "createManyAndReturn">> + createManyAndReturn(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "createManyAndReturn", ClientOptions>> /** * Delete a A. @@ -12066,7 +12518,7 @@ export namespace Prisma { * }) * */ - delete(args: SelectSubset>): Prisma__AClient<$Result.GetResult, T, "delete">, never, ExtArgs> + delete(args: SelectSubset>): Prisma__AClient<$Result.GetResult, T, "delete", ClientOptions>, never, ExtArgs, ClientOptions> /** * Update one A. @@ -12083,7 +12535,7 @@ export namespace Prisma { * }) * */ - update(args: SelectSubset>): Prisma__AClient<$Result.GetResult, T, "update">, never, ExtArgs> + update(args: SelectSubset>): Prisma__AClient<$Result.GetResult, T, "update", ClientOptions>, never, ExtArgs, ClientOptions> /** * Delete zero or more As. @@ -12146,7 +12598,7 @@ export namespace Prisma { * Read more here: https://pris.ly/d/null-undefined * */ - updateManyAndReturn(args: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "updateManyAndReturn">> + updateManyAndReturn(args: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "updateManyAndReturn", ClientOptions>> /** * Create or update one A. @@ -12165,7 +12617,7 @@ export namespace Prisma { * } * }) */ - upsert(args: SelectSubset>): Prisma__AClient<$Result.GetResult, T, "upsert">, never, ExtArgs> + upsert(args: SelectSubset>): Prisma__AClient<$Result.GetResult, T, "upsert", ClientOptions>, never, ExtArgs, ClientOptions> /** @@ -12305,7 +12757,7 @@ export namespace Prisma { * Because we want to prevent naming conflicts as mentioned in * https://github.com/prisma/prisma-client-js/issues/707 */ - export interface Prisma__AClient extends Prisma.PrismaPromise { + export interface Prisma__AClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" /** * Attaches callbacks for the resolution and/or rejection of the Promise. @@ -12357,6 +12809,10 @@ export namespace Prisma { * Select specific fields to fetch from the A */ select?: ASelect | null + /** + * Omit specific fields from the A + */ + omit?: AOmit | null /** * Filter, which A to fetch. */ @@ -12371,6 +12827,10 @@ export namespace Prisma { * Select specific fields to fetch from the A */ select?: ASelect | null + /** + * Omit specific fields from the A + */ + omit?: AOmit | null /** * Filter, which A to fetch. */ @@ -12385,6 +12845,10 @@ export namespace Prisma { * Select specific fields to fetch from the A */ select?: ASelect | null + /** + * Omit specific fields from the A + */ + omit?: AOmit | null /** * Filter, which A to fetch. */ @@ -12429,6 +12893,10 @@ export namespace Prisma { * Select specific fields to fetch from the A */ select?: ASelect | null + /** + * Omit specific fields from the A + */ + omit?: AOmit | null /** * Filter, which A to fetch. */ @@ -12473,6 +12941,10 @@ export namespace Prisma { * Select specific fields to fetch from the A */ select?: ASelect | null + /** + * Omit specific fields from the A + */ + omit?: AOmit | null /** * Filter, which AS to fetch. */ @@ -12512,6 +12984,10 @@ export namespace Prisma { * Select specific fields to fetch from the A */ select?: ASelect | null + /** + * Omit specific fields from the A + */ + omit?: AOmit | null /** * The data needed to create a A. */ @@ -12537,6 +13013,10 @@ export namespace Prisma { * Select specific fields to fetch from the A */ select?: ASelectCreateManyAndReturn | null + /** + * Omit specific fields from the A + */ + omit?: AOmit | null /** * The data used to create many AS. */ @@ -12552,6 +13032,10 @@ export namespace Prisma { * Select specific fields to fetch from the A */ select?: ASelect | null + /** + * Omit specific fields from the A + */ + omit?: AOmit | null /** * The data needed to update a A. */ @@ -12584,6 +13068,10 @@ export namespace Prisma { * Select specific fields to fetch from the A */ select?: ASelectUpdateManyAndReturn | null + /** + * Omit specific fields from the A + */ + omit?: AOmit | null /** * The data used to update AS. */ @@ -12602,6 +13090,10 @@ export namespace Prisma { * Select specific fields to fetch from the A */ select?: ASelect | null + /** + * Omit specific fields from the A + */ + omit?: AOmit | null /** * The filter to search for the A to update in case it exists. */ @@ -12624,6 +13116,10 @@ export namespace Prisma { * Select specific fields to fetch from the A */ select?: ASelect | null + /** + * Omit specific fields from the A + */ + omit?: AOmit | null /** * Filter which A to delete. */ @@ -12648,6 +13144,10 @@ export namespace Prisma { * Select specific fields to fetch from the A */ select?: ASelect | null + /** + * Omit specific fields from the A + */ + omit?: AOmit | null } @@ -12887,6 +13387,7 @@ export namespace Prisma { numFloat?: boolean } + export type BOmit = $Extensions.GetOmit<"id" | "float" | "dFloat" | "decFloat" | "numFloat", ExtArgs["result"]["b"]> export type $BPayload = { name: "B" @@ -12904,11 +13405,11 @@ export namespace Prisma { type BGetPayload = $Result.GetResult type BCountArgs = - Omit & { + Omit & { select?: BCountAggregateInputType | true } - export interface BDelegate { + export interface BDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['B'], meta: { name: 'B' } } /** * Find zero or one B that matches the filter. @@ -12921,7 +13422,7 @@ export namespace Prisma { * } * }) */ - findUnique(args: SelectSubset>): Prisma__BClient<$Result.GetResult, T, "findUnique"> | null, null, ExtArgs> + findUnique(args: SelectSubset>): Prisma__BClient<$Result.GetResult, T, "findUnique", ClientOptions> | null, null, ExtArgs, ClientOptions> /** * Find one B that matches the filter or throw an error with \`error.code='P2025'\` @@ -12935,7 +13436,7 @@ export namespace Prisma { * } * }) */ - findUniqueOrThrow(args: SelectSubset>): Prisma__BClient<$Result.GetResult, T, "findUniqueOrThrow">, never, ExtArgs> + findUniqueOrThrow(args: SelectSubset>): Prisma__BClient<$Result.GetResult, T, "findUniqueOrThrow", ClientOptions>, never, ExtArgs, ClientOptions> /** * Find the first B that matches the filter. @@ -12950,7 +13451,7 @@ export namespace Prisma { * } * }) */ - findFirst(args?: SelectSubset>): Prisma__BClient<$Result.GetResult, T, "findFirst"> | null, null, ExtArgs> + findFirst(args?: SelectSubset>): Prisma__BClient<$Result.GetResult, T, "findFirst", ClientOptions> | null, null, ExtArgs, ClientOptions> /** * Find the first B that matches the filter or @@ -12966,7 +13467,7 @@ export namespace Prisma { * } * }) */ - findFirstOrThrow(args?: SelectSubset>): Prisma__BClient<$Result.GetResult, T, "findFirstOrThrow">, never, ExtArgs> + findFirstOrThrow(args?: SelectSubset>): Prisma__BClient<$Result.GetResult, T, "findFirstOrThrow", ClientOptions>, never, ExtArgs, ClientOptions> /** * Find zero or more Bs that matches the filter. @@ -12984,7 +13485,7 @@ export namespace Prisma { * const bWithIdOnly = await prisma.b.findMany({ select: { id: true } }) * */ - findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany">> + findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", ClientOptions>> /** * Create a B. @@ -12998,7 +13499,7 @@ export namespace Prisma { * }) * */ - create(args: SelectSubset>): Prisma__BClient<$Result.GetResult, T, "create">, never, ExtArgs> + create(args: SelectSubset>): Prisma__BClient<$Result.GetResult, T, "create", ClientOptions>, never, ExtArgs, ClientOptions> /** * Create many Bs. @@ -13036,7 +13537,7 @@ export namespace Prisma { * Read more here: https://pris.ly/d/null-undefined * */ - createManyAndReturn(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "createManyAndReturn">> + createManyAndReturn(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "createManyAndReturn", ClientOptions>> /** * Delete a B. @@ -13050,7 +13551,7 @@ export namespace Prisma { * }) * */ - delete(args: SelectSubset>): Prisma__BClient<$Result.GetResult, T, "delete">, never, ExtArgs> + delete(args: SelectSubset>): Prisma__BClient<$Result.GetResult, T, "delete", ClientOptions>, never, ExtArgs, ClientOptions> /** * Update one B. @@ -13067,7 +13568,7 @@ export namespace Prisma { * }) * */ - update(args: SelectSubset>): Prisma__BClient<$Result.GetResult, T, "update">, never, ExtArgs> + update(args: SelectSubset>): Prisma__BClient<$Result.GetResult, T, "update", ClientOptions>, never, ExtArgs, ClientOptions> /** * Delete zero or more Bs. @@ -13130,7 +13631,7 @@ export namespace Prisma { * Read more here: https://pris.ly/d/null-undefined * */ - updateManyAndReturn(args: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "updateManyAndReturn">> + updateManyAndReturn(args: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "updateManyAndReturn", ClientOptions>> /** * Create or update one B. @@ -13149,7 +13650,7 @@ export namespace Prisma { * } * }) */ - upsert(args: SelectSubset>): Prisma__BClient<$Result.GetResult, T, "upsert">, never, ExtArgs> + upsert(args: SelectSubset>): Prisma__BClient<$Result.GetResult, T, "upsert", ClientOptions>, never, ExtArgs, ClientOptions> /** @@ -13289,7 +13790,7 @@ export namespace Prisma { * Because we want to prevent naming conflicts as mentioned in * https://github.com/prisma/prisma-client-js/issues/707 */ - export interface Prisma__BClient extends Prisma.PrismaPromise { + export interface Prisma__BClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" /** * Attaches callbacks for the resolution and/or rejection of the Promise. @@ -13337,6 +13838,10 @@ export namespace Prisma { * Select specific fields to fetch from the B */ select?: BSelect | null + /** + * Omit specific fields from the B + */ + omit?: BOmit | null /** * Filter, which B to fetch. */ @@ -13351,6 +13856,10 @@ export namespace Prisma { * Select specific fields to fetch from the B */ select?: BSelect | null + /** + * Omit specific fields from the B + */ + omit?: BOmit | null /** * Filter, which B to fetch. */ @@ -13365,6 +13874,10 @@ export namespace Prisma { * Select specific fields to fetch from the B */ select?: BSelect | null + /** + * Omit specific fields from the B + */ + omit?: BOmit | null /** * Filter, which B to fetch. */ @@ -13409,6 +13922,10 @@ export namespace Prisma { * Select specific fields to fetch from the B */ select?: BSelect | null + /** + * Omit specific fields from the B + */ + omit?: BOmit | null /** * Filter, which B to fetch. */ @@ -13453,6 +13970,10 @@ export namespace Prisma { * Select specific fields to fetch from the B */ select?: BSelect | null + /** + * Omit specific fields from the B + */ + omit?: BOmit | null /** * Filter, which BS to fetch. */ @@ -13492,6 +14013,10 @@ export namespace Prisma { * Select specific fields to fetch from the B */ select?: BSelect | null + /** + * Omit specific fields from the B + */ + omit?: BOmit | null /** * The data needed to create a B. */ @@ -13517,6 +14042,10 @@ export namespace Prisma { * Select specific fields to fetch from the B */ select?: BSelectCreateManyAndReturn | null + /** + * Omit specific fields from the B + */ + omit?: BOmit | null /** * The data used to create many BS. */ @@ -13532,6 +14061,10 @@ export namespace Prisma { * Select specific fields to fetch from the B */ select?: BSelect | null + /** + * Omit specific fields from the B + */ + omit?: BOmit | null /** * The data needed to update a B. */ @@ -13564,6 +14097,10 @@ export namespace Prisma { * Select specific fields to fetch from the B */ select?: BSelectUpdateManyAndReturn | null + /** + * Omit specific fields from the B + */ + omit?: BOmit | null /** * The data used to update BS. */ @@ -13582,6 +14119,10 @@ export namespace Prisma { * Select specific fields to fetch from the B */ select?: BSelect | null + /** + * Omit specific fields from the B + */ + omit?: BOmit | null /** * The filter to search for the B to update in case it exists. */ @@ -13604,6 +14145,10 @@ export namespace Prisma { * Select specific fields to fetch from the B */ select?: BSelect | null + /** + * Omit specific fields from the B + */ + omit?: BOmit | null /** * Filter which B to delete. */ @@ -13628,6 +14173,10 @@ export namespace Prisma { * Select specific fields to fetch from the B */ select?: BSelect | null + /** + * Omit specific fields from the B + */ + omit?: BOmit | null } @@ -13843,6 +14392,7 @@ export namespace Prisma { uuid?: boolean } + export type COmit = $Extensions.GetOmit<"id" | "char" | "vChar" | "text" | "bit" | "vBit" | "uuid", ExtArgs["result"]["c"]> export type $CPayload = { name: "C" @@ -13862,11 +14412,11 @@ export namespace Prisma { type CGetPayload = $Result.GetResult type CCountArgs = - Omit & { + Omit & { select?: CCountAggregateInputType | true } - export interface CDelegate { + export interface CDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['C'], meta: { name: 'C' } } /** * Find zero or one C that matches the filter. @@ -13879,7 +14429,7 @@ export namespace Prisma { * } * }) */ - findUnique(args: SelectSubset>): Prisma__CClient<$Result.GetResult, T, "findUnique"> | null, null, ExtArgs> + findUnique(args: SelectSubset>): Prisma__CClient<$Result.GetResult, T, "findUnique", ClientOptions> | null, null, ExtArgs, ClientOptions> /** * Find one C that matches the filter or throw an error with \`error.code='P2025'\` @@ -13893,7 +14443,7 @@ export namespace Prisma { * } * }) */ - findUniqueOrThrow(args: SelectSubset>): Prisma__CClient<$Result.GetResult, T, "findUniqueOrThrow">, never, ExtArgs> + findUniqueOrThrow(args: SelectSubset>): Prisma__CClient<$Result.GetResult, T, "findUniqueOrThrow", ClientOptions>, never, ExtArgs, ClientOptions> /** * Find the first C that matches the filter. @@ -13908,7 +14458,7 @@ export namespace Prisma { * } * }) */ - findFirst(args?: SelectSubset>): Prisma__CClient<$Result.GetResult, T, "findFirst"> | null, null, ExtArgs> + findFirst(args?: SelectSubset>): Prisma__CClient<$Result.GetResult, T, "findFirst", ClientOptions> | null, null, ExtArgs, ClientOptions> /** * Find the first C that matches the filter or @@ -13924,7 +14474,7 @@ export namespace Prisma { * } * }) */ - findFirstOrThrow(args?: SelectSubset>): Prisma__CClient<$Result.GetResult, T, "findFirstOrThrow">, never, ExtArgs> + findFirstOrThrow(args?: SelectSubset>): Prisma__CClient<$Result.GetResult, T, "findFirstOrThrow", ClientOptions>, never, ExtArgs, ClientOptions> /** * Find zero or more Cs that matches the filter. @@ -13942,7 +14492,7 @@ export namespace Prisma { * const cWithIdOnly = await prisma.c.findMany({ select: { id: true } }) * */ - findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany">> + findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", ClientOptions>> /** * Create a C. @@ -13956,7 +14506,7 @@ export namespace Prisma { * }) * */ - create(args: SelectSubset>): Prisma__CClient<$Result.GetResult, T, "create">, never, ExtArgs> + create(args: SelectSubset>): Prisma__CClient<$Result.GetResult, T, "create", ClientOptions>, never, ExtArgs, ClientOptions> /** * Create many Cs. @@ -13994,7 +14544,7 @@ export namespace Prisma { * Read more here: https://pris.ly/d/null-undefined * */ - createManyAndReturn(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "createManyAndReturn">> + createManyAndReturn(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "createManyAndReturn", ClientOptions>> /** * Delete a C. @@ -14008,7 +14558,7 @@ export namespace Prisma { * }) * */ - delete(args: SelectSubset>): Prisma__CClient<$Result.GetResult, T, "delete">, never, ExtArgs> + delete(args: SelectSubset>): Prisma__CClient<$Result.GetResult, T, "delete", ClientOptions>, never, ExtArgs, ClientOptions> /** * Update one C. @@ -14025,7 +14575,7 @@ export namespace Prisma { * }) * */ - update(args: SelectSubset>): Prisma__CClient<$Result.GetResult, T, "update">, never, ExtArgs> + update(args: SelectSubset>): Prisma__CClient<$Result.GetResult, T, "update", ClientOptions>, never, ExtArgs, ClientOptions> /** * Delete zero or more Cs. @@ -14088,7 +14638,7 @@ export namespace Prisma { * Read more here: https://pris.ly/d/null-undefined * */ - updateManyAndReturn(args: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "updateManyAndReturn">> + updateManyAndReturn(args: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "updateManyAndReturn", ClientOptions>> /** * Create or update one C. @@ -14107,7 +14657,7 @@ export namespace Prisma { * } * }) */ - upsert(args: SelectSubset>): Prisma__CClient<$Result.GetResult, T, "upsert">, never, ExtArgs> + upsert(args: SelectSubset>): Prisma__CClient<$Result.GetResult, T, "upsert", ClientOptions>, never, ExtArgs, ClientOptions> /** @@ -14247,7 +14797,7 @@ export namespace Prisma { * Because we want to prevent naming conflicts as mentioned in * https://github.com/prisma/prisma-client-js/issues/707 */ - export interface Prisma__CClient extends Prisma.PrismaPromise { + export interface Prisma__CClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" /** * Attaches callbacks for the resolution and/or rejection of the Promise. @@ -14297,6 +14847,10 @@ export namespace Prisma { * Select specific fields to fetch from the C */ select?: CSelect | null + /** + * Omit specific fields from the C + */ + omit?: COmit | null /** * Filter, which C to fetch. */ @@ -14311,6 +14865,10 @@ export namespace Prisma { * Select specific fields to fetch from the C */ select?: CSelect | null + /** + * Omit specific fields from the C + */ + omit?: COmit | null /** * Filter, which C to fetch. */ @@ -14325,6 +14883,10 @@ export namespace Prisma { * Select specific fields to fetch from the C */ select?: CSelect | null + /** + * Omit specific fields from the C + */ + omit?: COmit | null /** * Filter, which C to fetch. */ @@ -14369,6 +14931,10 @@ export namespace Prisma { * Select specific fields to fetch from the C */ select?: CSelect | null + /** + * Omit specific fields from the C + */ + omit?: COmit | null /** * Filter, which C to fetch. */ @@ -14413,6 +14979,10 @@ export namespace Prisma { * Select specific fields to fetch from the C */ select?: CSelect | null + /** + * Omit specific fields from the C + */ + omit?: COmit | null /** * Filter, which CS to fetch. */ @@ -14452,6 +15022,10 @@ export namespace Prisma { * Select specific fields to fetch from the C */ select?: CSelect | null + /** + * Omit specific fields from the C + */ + omit?: COmit | null /** * The data needed to create a C. */ @@ -14477,6 +15051,10 @@ export namespace Prisma { * Select specific fields to fetch from the C */ select?: CSelectCreateManyAndReturn | null + /** + * Omit specific fields from the C + */ + omit?: COmit | null /** * The data used to create many CS. */ @@ -14492,6 +15070,10 @@ export namespace Prisma { * Select specific fields to fetch from the C */ select?: CSelect | null + /** + * Omit specific fields from the C + */ + omit?: COmit | null /** * The data needed to update a C. */ @@ -14524,6 +15106,10 @@ export namespace Prisma { * Select specific fields to fetch from the C */ select?: CSelectUpdateManyAndReturn | null + /** + * Omit specific fields from the C + */ + omit?: COmit | null /** * The data used to update CS. */ @@ -14542,6 +15128,10 @@ export namespace Prisma { * Select specific fields to fetch from the C */ select?: CSelect | null + /** + * Omit specific fields from the C + */ + omit?: COmit | null /** * The filter to search for the C to update in case it exists. */ @@ -14564,6 +15154,10 @@ export namespace Prisma { * Select specific fields to fetch from the C */ select?: CSelect | null + /** + * Omit specific fields from the C + */ + omit?: COmit | null /** * Filter which C to delete. */ @@ -14588,6 +15182,10 @@ export namespace Prisma { * Select specific fields to fetch from the C */ select?: CSelect | null + /** + * Omit specific fields from the C + */ + omit?: COmit | null } @@ -14825,6 +15423,7 @@ export namespace Prisma { list?: boolean } + export type DOmit = $Extensions.GetOmit<"id" | "bool" | "byteA" | "xml" | "json" | "jsonb" | "list", ExtArgs["result"]["d"]> export type $DPayload = { name: "D" @@ -14844,11 +15443,11 @@ export namespace Prisma { type DGetPayload = $Result.GetResult type DCountArgs = - Omit & { + Omit & { select?: DCountAggregateInputType | true } - export interface DDelegate { + export interface DDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['D'], meta: { name: 'D' } } /** * Find zero or one D that matches the filter. @@ -14861,7 +15460,7 @@ export namespace Prisma { * } * }) */ - findUnique(args: SelectSubset>): Prisma__DClient<$Result.GetResult, T, "findUnique"> | null, null, ExtArgs> + findUnique(args: SelectSubset>): Prisma__DClient<$Result.GetResult, T, "findUnique", ClientOptions> | null, null, ExtArgs, ClientOptions> /** * Find one D that matches the filter or throw an error with \`error.code='P2025'\` @@ -14875,7 +15474,7 @@ export namespace Prisma { * } * }) */ - findUniqueOrThrow(args: SelectSubset>): Prisma__DClient<$Result.GetResult, T, "findUniqueOrThrow">, never, ExtArgs> + findUniqueOrThrow(args: SelectSubset>): Prisma__DClient<$Result.GetResult, T, "findUniqueOrThrow", ClientOptions>, never, ExtArgs, ClientOptions> /** * Find the first D that matches the filter. @@ -14890,7 +15489,7 @@ export namespace Prisma { * } * }) */ - findFirst(args?: SelectSubset>): Prisma__DClient<$Result.GetResult, T, "findFirst"> | null, null, ExtArgs> + findFirst(args?: SelectSubset>): Prisma__DClient<$Result.GetResult, T, "findFirst", ClientOptions> | null, null, ExtArgs, ClientOptions> /** * Find the first D that matches the filter or @@ -14906,7 +15505,7 @@ export namespace Prisma { * } * }) */ - findFirstOrThrow(args?: SelectSubset>): Prisma__DClient<$Result.GetResult, T, "findFirstOrThrow">, never, ExtArgs> + findFirstOrThrow(args?: SelectSubset>): Prisma__DClient<$Result.GetResult, T, "findFirstOrThrow", ClientOptions>, never, ExtArgs, ClientOptions> /** * Find zero or more Ds that matches the filter. @@ -14924,7 +15523,7 @@ export namespace Prisma { * const dWithIdOnly = await prisma.d.findMany({ select: { id: true } }) * */ - findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany">> + findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", ClientOptions>> /** * Create a D. @@ -14938,7 +15537,7 @@ export namespace Prisma { * }) * */ - create(args: SelectSubset>): Prisma__DClient<$Result.GetResult, T, "create">, never, ExtArgs> + create(args: SelectSubset>): Prisma__DClient<$Result.GetResult, T, "create", ClientOptions>, never, ExtArgs, ClientOptions> /** * Create many Ds. @@ -14976,7 +15575,7 @@ export namespace Prisma { * Read more here: https://pris.ly/d/null-undefined * */ - createManyAndReturn(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "createManyAndReturn">> + createManyAndReturn(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "createManyAndReturn", ClientOptions>> /** * Delete a D. @@ -14990,7 +15589,7 @@ export namespace Prisma { * }) * */ - delete(args: SelectSubset>): Prisma__DClient<$Result.GetResult, T, "delete">, never, ExtArgs> + delete(args: SelectSubset>): Prisma__DClient<$Result.GetResult, T, "delete", ClientOptions>, never, ExtArgs, ClientOptions> /** * Update one D. @@ -15007,7 +15606,7 @@ export namespace Prisma { * }) * */ - update(args: SelectSubset>): Prisma__DClient<$Result.GetResult, T, "update">, never, ExtArgs> + update(args: SelectSubset>): Prisma__DClient<$Result.GetResult, T, "update", ClientOptions>, never, ExtArgs, ClientOptions> /** * Delete zero or more Ds. @@ -15070,7 +15669,7 @@ export namespace Prisma { * Read more here: https://pris.ly/d/null-undefined * */ - updateManyAndReturn(args: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "updateManyAndReturn">> + updateManyAndReturn(args: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "updateManyAndReturn", ClientOptions>> /** * Create or update one D. @@ -15089,7 +15688,7 @@ export namespace Prisma { * } * }) */ - upsert(args: SelectSubset>): Prisma__DClient<$Result.GetResult, T, "upsert">, never, ExtArgs> + upsert(args: SelectSubset>): Prisma__DClient<$Result.GetResult, T, "upsert", ClientOptions>, never, ExtArgs, ClientOptions> /** @@ -15229,7 +15828,7 @@ export namespace Prisma { * Because we want to prevent naming conflicts as mentioned in * https://github.com/prisma/prisma-client-js/issues/707 */ - export interface Prisma__DClient extends Prisma.PrismaPromise { + export interface Prisma__DClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" /** * Attaches callbacks for the resolution and/or rejection of the Promise. @@ -15279,6 +15878,10 @@ export namespace Prisma { * Select specific fields to fetch from the D */ select?: DSelect | null + /** + * Omit specific fields from the D + */ + omit?: DOmit | null /** * Filter, which D to fetch. */ @@ -15293,6 +15896,10 @@ export namespace Prisma { * Select specific fields to fetch from the D */ select?: DSelect | null + /** + * Omit specific fields from the D + */ + omit?: DOmit | null /** * Filter, which D to fetch. */ @@ -15307,6 +15914,10 @@ export namespace Prisma { * Select specific fields to fetch from the D */ select?: DSelect | null + /** + * Omit specific fields from the D + */ + omit?: DOmit | null /** * Filter, which D to fetch. */ @@ -15351,6 +15962,10 @@ export namespace Prisma { * Select specific fields to fetch from the D */ select?: DSelect | null + /** + * Omit specific fields from the D + */ + omit?: DOmit | null /** * Filter, which D to fetch. */ @@ -15395,6 +16010,10 @@ export namespace Prisma { * Select specific fields to fetch from the D */ select?: DSelect | null + /** + * Omit specific fields from the D + */ + omit?: DOmit | null /** * Filter, which DS to fetch. */ @@ -15434,6 +16053,10 @@ export namespace Prisma { * Select specific fields to fetch from the D */ select?: DSelect | null + /** + * Omit specific fields from the D + */ + omit?: DOmit | null /** * The data needed to create a D. */ @@ -15459,6 +16082,10 @@ export namespace Prisma { * Select specific fields to fetch from the D */ select?: DSelectCreateManyAndReturn | null + /** + * Omit specific fields from the D + */ + omit?: DOmit | null /** * The data used to create many DS. */ @@ -15474,6 +16101,10 @@ export namespace Prisma { * Select specific fields to fetch from the D */ select?: DSelect | null + /** + * Omit specific fields from the D + */ + omit?: DOmit | null /** * The data needed to update a D. */ @@ -15506,6 +16137,10 @@ export namespace Prisma { * Select specific fields to fetch from the D */ select?: DSelectUpdateManyAndReturn | null + /** + * Omit specific fields from the D + */ + omit?: DOmit | null /** * The data used to update DS. */ @@ -15524,6 +16159,10 @@ export namespace Prisma { * Select specific fields to fetch from the D */ select?: DSelect | null + /** + * Omit specific fields from the D + */ + omit?: DOmit | null /** * The filter to search for the D to update in case it exists. */ @@ -15546,6 +16185,10 @@ export namespace Prisma { * Select specific fields to fetch from the D */ select?: DSelect | null + /** + * Omit specific fields from the D + */ + omit?: DOmit | null /** * Filter which D to delete. */ @@ -15570,6 +16213,10 @@ export namespace Prisma { * Select specific fields to fetch from the D */ select?: DSelect | null + /** + * Omit specific fields from the D + */ + omit?: DOmit | null } @@ -15752,6 +16399,7 @@ export namespace Prisma { ts?: boolean } + export type EOmit = $Extensions.GetOmit<"id" | "date" | "time" | "ts", ExtArgs["result"]["e"]> export type $EPayload = { name: "E" @@ -15768,11 +16416,11 @@ export namespace Prisma { type EGetPayload = $Result.GetResult type ECountArgs = - Omit & { + Omit & { select?: ECountAggregateInputType | true } - export interface EDelegate { + export interface EDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['E'], meta: { name: 'E' } } /** * Find zero or one E that matches the filter. @@ -15785,7 +16433,7 @@ export namespace Prisma { * } * }) */ - findUnique(args: SelectSubset>): Prisma__EClient<$Result.GetResult, T, "findUnique"> | null, null, ExtArgs> + findUnique(args: SelectSubset>): Prisma__EClient<$Result.GetResult, T, "findUnique", ClientOptions> | null, null, ExtArgs, ClientOptions> /** * Find one E that matches the filter or throw an error with \`error.code='P2025'\` @@ -15799,7 +16447,7 @@ export namespace Prisma { * } * }) */ - findUniqueOrThrow(args: SelectSubset>): Prisma__EClient<$Result.GetResult, T, "findUniqueOrThrow">, never, ExtArgs> + findUniqueOrThrow(args: SelectSubset>): Prisma__EClient<$Result.GetResult, T, "findUniqueOrThrow", ClientOptions>, never, ExtArgs, ClientOptions> /** * Find the first E that matches the filter. @@ -15814,7 +16462,7 @@ export namespace Prisma { * } * }) */ - findFirst(args?: SelectSubset>): Prisma__EClient<$Result.GetResult, T, "findFirst"> | null, null, ExtArgs> + findFirst(args?: SelectSubset>): Prisma__EClient<$Result.GetResult, T, "findFirst", ClientOptions> | null, null, ExtArgs, ClientOptions> /** * Find the first E that matches the filter or @@ -15830,7 +16478,7 @@ export namespace Prisma { * } * }) */ - findFirstOrThrow(args?: SelectSubset>): Prisma__EClient<$Result.GetResult, T, "findFirstOrThrow">, never, ExtArgs> + findFirstOrThrow(args?: SelectSubset>): Prisma__EClient<$Result.GetResult, T, "findFirstOrThrow", ClientOptions>, never, ExtArgs, ClientOptions> /** * Find zero or more Es that matches the filter. @@ -15848,7 +16496,7 @@ export namespace Prisma { * const eWithIdOnly = await prisma.e.findMany({ select: { id: true } }) * */ - findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany">> + findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", ClientOptions>> /** * Create a E. @@ -15862,7 +16510,7 @@ export namespace Prisma { * }) * */ - create(args: SelectSubset>): Prisma__EClient<$Result.GetResult, T, "create">, never, ExtArgs> + create(args: SelectSubset>): Prisma__EClient<$Result.GetResult, T, "create", ClientOptions>, never, ExtArgs, ClientOptions> /** * Create many Es. @@ -15900,7 +16548,7 @@ export namespace Prisma { * Read more here: https://pris.ly/d/null-undefined * */ - createManyAndReturn(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "createManyAndReturn">> + createManyAndReturn(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "createManyAndReturn", ClientOptions>> /** * Delete a E. @@ -15914,7 +16562,7 @@ export namespace Prisma { * }) * */ - delete(args: SelectSubset>): Prisma__EClient<$Result.GetResult, T, "delete">, never, ExtArgs> + delete(args: SelectSubset>): Prisma__EClient<$Result.GetResult, T, "delete", ClientOptions>, never, ExtArgs, ClientOptions> /** * Update one E. @@ -15931,7 +16579,7 @@ export namespace Prisma { * }) * */ - update(args: SelectSubset>): Prisma__EClient<$Result.GetResult, T, "update">, never, ExtArgs> + update(args: SelectSubset>): Prisma__EClient<$Result.GetResult, T, "update", ClientOptions>, never, ExtArgs, ClientOptions> /** * Delete zero or more Es. @@ -15994,7 +16642,7 @@ export namespace Prisma { * Read more here: https://pris.ly/d/null-undefined * */ - updateManyAndReturn(args: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "updateManyAndReturn">> + updateManyAndReturn(args: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "updateManyAndReturn", ClientOptions>> /** * Create or update one E. @@ -16013,7 +16661,7 @@ export namespace Prisma { * } * }) */ - upsert(args: SelectSubset>): Prisma__EClient<$Result.GetResult, T, "upsert">, never, ExtArgs> + upsert(args: SelectSubset>): Prisma__EClient<$Result.GetResult, T, "upsert", ClientOptions>, never, ExtArgs, ClientOptions> /** @@ -16153,7 +16801,7 @@ export namespace Prisma { * Because we want to prevent naming conflicts as mentioned in * https://github.com/prisma/prisma-client-js/issues/707 */ - export interface Prisma__EClient extends Prisma.PrismaPromise { + export interface Prisma__EClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" /** * Attaches callbacks for the resolution and/or rejection of the Promise. @@ -16200,6 +16848,10 @@ export namespace Prisma { * Select specific fields to fetch from the E */ select?: ESelect | null + /** + * Omit specific fields from the E + */ + omit?: EOmit | null /** * Filter, which E to fetch. */ @@ -16214,6 +16866,10 @@ export namespace Prisma { * Select specific fields to fetch from the E */ select?: ESelect | null + /** + * Omit specific fields from the E + */ + omit?: EOmit | null /** * Filter, which E to fetch. */ @@ -16228,6 +16884,10 @@ export namespace Prisma { * Select specific fields to fetch from the E */ select?: ESelect | null + /** + * Omit specific fields from the E + */ + omit?: EOmit | null /** * Filter, which E to fetch. */ @@ -16272,6 +16932,10 @@ export namespace Prisma { * Select specific fields to fetch from the E */ select?: ESelect | null + /** + * Omit specific fields from the E + */ + omit?: EOmit | null /** * Filter, which E to fetch. */ @@ -16316,6 +16980,10 @@ export namespace Prisma { * Select specific fields to fetch from the E */ select?: ESelect | null + /** + * Omit specific fields from the E + */ + omit?: EOmit | null /** * Filter, which ES to fetch. */ @@ -16355,6 +17023,10 @@ export namespace Prisma { * Select specific fields to fetch from the E */ select?: ESelect | null + /** + * Omit specific fields from the E + */ + omit?: EOmit | null /** * The data needed to create a E. */ @@ -16380,6 +17052,10 @@ export namespace Prisma { * Select specific fields to fetch from the E */ select?: ESelectCreateManyAndReturn | null + /** + * Omit specific fields from the E + */ + omit?: EOmit | null /** * The data used to create many ES. */ @@ -16395,6 +17071,10 @@ export namespace Prisma { * Select specific fields to fetch from the E */ select?: ESelect | null + /** + * Omit specific fields from the E + */ + omit?: EOmit | null /** * The data needed to update a E. */ @@ -16427,6 +17107,10 @@ export namespace Prisma { * Select specific fields to fetch from the E */ select?: ESelectUpdateManyAndReturn | null + /** + * Omit specific fields from the E + */ + omit?: EOmit | null /** * The data used to update ES. */ @@ -16445,6 +17129,10 @@ export namespace Prisma { * Select specific fields to fetch from the E */ select?: ESelect | null + /** + * Omit specific fields from the E + */ + omit?: EOmit | null /** * The filter to search for the E to update in case it exists. */ @@ -16467,6 +17155,10 @@ export namespace Prisma { * Select specific fields to fetch from the E */ select?: ESelect | null + /** + * Omit specific fields from the E + */ + omit?: EOmit | null /** * Filter which E to delete. */ @@ -16491,6 +17183,10 @@ export namespace Prisma { * Select specific fields to fetch from the E */ select?: ESelect | null + /** + * Omit specific fields from the E + */ + omit?: EOmit | null } diff --git a/packages/client/src/__tests__/integration/happy/not-so-exhaustive-schema/__snapshots__/library.test.ts.snap b/packages/client/src/__tests__/integration/happy/not-so-exhaustive-schema/__snapshots__/library.test.ts.snap index df27c38e1f7e..de7083e70b8e 100644 --- a/packages/client/src/__tests__/integration/happy/not-so-exhaustive-schema/__snapshots__/library.test.ts.snap +++ b/packages/client/src/__tests__/integration/happy/not-so-exhaustive-schema/__snapshots__/library.test.ts.snap @@ -596,7 +596,9 @@ export class PrismaClient< $transaction(fn: (prisma: Omit) => $Utils.JsPromise, options?: { maxWait?: number, timeout?: number, isolationLevel?: Prisma.TransactionIsolationLevel }): $Utils.JsPromise - $extends: $Extensions.ExtendsHook<"extends", Prisma.TypeMapCb, ExtArgs> + $extends: $Extensions.ExtendsHook<"extends", Prisma.TypeMapCb, ExtArgs, $Utils.Call, ClientOptions> /** * \`prisma.post\`: Exposes CRUD operations for the **Post** model. @@ -606,7 +608,7 @@ export class PrismaClient< * const posts = await prisma.post.findMany() * \`\`\` */ - get post(): Prisma.PostDelegate; + get post(): Prisma.PostDelegate; /** * \`prisma.user\`: Exposes CRUD operations for the **User** model. @@ -616,7 +618,7 @@ export class PrismaClient< * const users = await prisma.user.findMany() * \`\`\` */ - get user(): Prisma.UserDelegate; + get user(): Prisma.UserDelegate; /** * \`prisma.m\`: Exposes CRUD operations for the **M** model. @@ -626,7 +628,7 @@ export class PrismaClient< * const ms = await prisma.m.findMany() * \`\`\` */ - get m(): Prisma.MDelegate; + get m(): Prisma.MDelegate; /** * \`prisma.n\`: Exposes CRUD operations for the **N** model. @@ -636,7 +638,7 @@ export class PrismaClient< * const ns = await prisma.n.findMany() * \`\`\` */ - get n(): Prisma.NDelegate; + get n(): Prisma.NDelegate; /** * \`prisma.oneOptional\`: Exposes CRUD operations for the **OneOptional** model. @@ -646,7 +648,7 @@ export class PrismaClient< * const oneOptionals = await prisma.oneOptional.findMany() * \`\`\` */ - get oneOptional(): Prisma.OneOptionalDelegate; + get oneOptional(): Prisma.OneOptionalDelegate; /** * \`prisma.manyRequired\`: Exposes CRUD operations for the **ManyRequired** model. @@ -656,7 +658,7 @@ export class PrismaClient< * const manyRequireds = await prisma.manyRequired.findMany() * \`\`\` */ - get manyRequired(): Prisma.ManyRequiredDelegate; + get manyRequired(): Prisma.ManyRequiredDelegate; /** * \`prisma.optionalSide1\`: Exposes CRUD operations for the **OptionalSide1** model. @@ -666,7 +668,7 @@ export class PrismaClient< * const optionalSide1s = await prisma.optionalSide1.findMany() * \`\`\` */ - get optionalSide1(): Prisma.OptionalSide1Delegate; + get optionalSide1(): Prisma.OptionalSide1Delegate; /** * \`prisma.optionalSide2\`: Exposes CRUD operations for the **OptionalSide2** model. @@ -676,7 +678,7 @@ export class PrismaClient< * const optionalSide2s = await prisma.optionalSide2.findMany() * \`\`\` */ - get optionalSide2(): Prisma.OptionalSide2Delegate; + get optionalSide2(): Prisma.OptionalSide2Delegate; /** * \`prisma.a\`: Exposes CRUD operations for the **A** model. @@ -686,7 +688,7 @@ export class PrismaClient< * const as = await prisma.a.findMany() * \`\`\` */ - get a(): Prisma.ADelegate; + get a(): Prisma.ADelegate; /** * \`prisma.b\`: Exposes CRUD operations for the **B** model. @@ -696,7 +698,7 @@ export class PrismaClient< * const bs = await prisma.b.findMany() * \`\`\` */ - get b(): Prisma.BDelegate; + get b(): Prisma.BDelegate; /** * \`prisma.c\`: Exposes CRUD operations for the **C** model. @@ -706,7 +708,7 @@ export class PrismaClient< * const cs = await prisma.c.findMany() * \`\`\` */ - get c(): Prisma.CDelegate; + get c(): Prisma.CDelegate; /** * \`prisma.d\`: Exposes CRUD operations for the **D** model. @@ -716,7 +718,7 @@ export class PrismaClient< * const ds = await prisma.d.findMany() * \`\`\` */ - get d(): Prisma.DDelegate; + get d(): Prisma.DDelegate; /** * \`prisma.e\`: Exposes CRUD operations for the **E** model. @@ -726,7 +728,7 @@ export class PrismaClient< * const es = await prisma.e.findMany() * \`\`\` */ - get e(): Prisma.EDelegate; + get e(): Prisma.EDelegate; } export namespace Prisma { @@ -2228,8 +2230,37 @@ export namespace Prisma { timeout?: number isolationLevel?: Prisma.TransactionIsolationLevel } + /** + * Global configuration for omitting model fields by default. + * + * @example + * \`\`\` + * const prisma = new PrismaClient({ + * omit: { + * user: { + * password: true + * } + * } + * }) + * \`\`\` + */ + omit?: Prisma.GlobalOmitConfig + } + export type GlobalOmitConfig = { + post?: PostOmit + user?: UserOmit + m?: MOmit + n?: NOmit + oneOptional?: OneOptionalOmit + manyRequired?: ManyRequiredOmit + optionalSide1?: OptionalSide1Omit + optionalSide2?: OptionalSide2Omit + a?: AOmit + b?: BOmit + c?: COmit + d?: DOmit + e?: EOmit } - /* Types for Logging */ export type LogLevel = 'info' | 'query' | 'warn' | 'error' @@ -2688,6 +2719,7 @@ export namespace Prisma { authorId?: boolean } + export type PostOmit = $Extensions.GetOmit<"id" | "createdAt" | "title" | "content" | "published" | "authorId", ExtArgs["result"]["post"]> export type PostInclude = { author?: boolean | UserDefaultArgs } @@ -2717,11 +2749,11 @@ export namespace Prisma { type PostGetPayload = $Result.GetResult type PostCountArgs = - Omit & { + Omit & { select?: PostCountAggregateInputType | true } - export interface PostDelegate { + export interface PostDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['Post'], meta: { name: 'Post' } } /** * Find zero or one Post that matches the filter. @@ -2734,7 +2766,7 @@ export namespace Prisma { * } * }) */ - findUnique(args: SelectSubset>): Prisma__PostClient<$Result.GetResult, T, "findUnique"> | null, null, ExtArgs> + findUnique(args: SelectSubset>): Prisma__PostClient<$Result.GetResult, T, "findUnique", ClientOptions> | null, null, ExtArgs, ClientOptions> /** * Find one Post that matches the filter or throw an error with \`error.code='P2025'\` @@ -2748,7 +2780,7 @@ export namespace Prisma { * } * }) */ - findUniqueOrThrow(args: SelectSubset>): Prisma__PostClient<$Result.GetResult, T, "findUniqueOrThrow">, never, ExtArgs> + findUniqueOrThrow(args: SelectSubset>): Prisma__PostClient<$Result.GetResult, T, "findUniqueOrThrow", ClientOptions>, never, ExtArgs, ClientOptions> /** * Find the first Post that matches the filter. @@ -2763,7 +2795,7 @@ export namespace Prisma { * } * }) */ - findFirst(args?: SelectSubset>): Prisma__PostClient<$Result.GetResult, T, "findFirst"> | null, null, ExtArgs> + findFirst(args?: SelectSubset>): Prisma__PostClient<$Result.GetResult, T, "findFirst", ClientOptions> | null, null, ExtArgs, ClientOptions> /** * Find the first Post that matches the filter or @@ -2779,7 +2811,7 @@ export namespace Prisma { * } * }) */ - findFirstOrThrow(args?: SelectSubset>): Prisma__PostClient<$Result.GetResult, T, "findFirstOrThrow">, never, ExtArgs> + findFirstOrThrow(args?: SelectSubset>): Prisma__PostClient<$Result.GetResult, T, "findFirstOrThrow", ClientOptions>, never, ExtArgs, ClientOptions> /** * Find zero or more Posts that matches the filter. @@ -2797,7 +2829,7 @@ export namespace Prisma { * const postWithIdOnly = await prisma.post.findMany({ select: { id: true } }) * */ - findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany">> + findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", ClientOptions>> /** * Create a Post. @@ -2811,7 +2843,7 @@ export namespace Prisma { * }) * */ - create(args: SelectSubset>): Prisma__PostClient<$Result.GetResult, T, "create">, never, ExtArgs> + create(args: SelectSubset>): Prisma__PostClient<$Result.GetResult, T, "create", ClientOptions>, never, ExtArgs, ClientOptions> /** * Create many Posts. @@ -2849,7 +2881,7 @@ export namespace Prisma { * Read more here: https://pris.ly/d/null-undefined * */ - createManyAndReturn(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "createManyAndReturn">> + createManyAndReturn(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "createManyAndReturn", ClientOptions>> /** * Delete a Post. @@ -2863,7 +2895,7 @@ export namespace Prisma { * }) * */ - delete(args: SelectSubset>): Prisma__PostClient<$Result.GetResult, T, "delete">, never, ExtArgs> + delete(args: SelectSubset>): Prisma__PostClient<$Result.GetResult, T, "delete", ClientOptions>, never, ExtArgs, ClientOptions> /** * Update one Post. @@ -2880,7 +2912,7 @@ export namespace Prisma { * }) * */ - update(args: SelectSubset>): Prisma__PostClient<$Result.GetResult, T, "update">, never, ExtArgs> + update(args: SelectSubset>): Prisma__PostClient<$Result.GetResult, T, "update", ClientOptions>, never, ExtArgs, ClientOptions> /** * Delete zero or more Posts. @@ -2943,7 +2975,7 @@ export namespace Prisma { * Read more here: https://pris.ly/d/null-undefined * */ - updateManyAndReturn(args: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "updateManyAndReturn">> + updateManyAndReturn(args: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "updateManyAndReturn", ClientOptions>> /** * Create or update one Post. @@ -2962,7 +2994,7 @@ export namespace Prisma { * } * }) */ - upsert(args: SelectSubset>): Prisma__PostClient<$Result.GetResult, T, "upsert">, never, ExtArgs> + upsert(args: SelectSubset>): Prisma__PostClient<$Result.GetResult, T, "upsert", ClientOptions>, never, ExtArgs, ClientOptions> /** @@ -3102,9 +3134,9 @@ export namespace Prisma { * Because we want to prevent naming conflicts as mentioned in * https://github.com/prisma/prisma-client-js/issues/707 */ - export interface Prisma__PostClient extends Prisma.PrismaPromise { + export interface Prisma__PostClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" - author = {}>(args?: Subset>): Prisma__UserClient<$Result.GetResult, T, "findUniqueOrThrow"> | Null, Null, ExtArgs> + author = {}>(args?: Subset>): Prisma__UserClient<$Result.GetResult, T, "findUniqueOrThrow", ClientOptions> | Null, Null, ExtArgs, ClientOptions> /** * Attaches callbacks for the resolution and/or rejection of the Promise. * @param onfulfilled The callback to execute when the Promise is resolved. @@ -3152,6 +3184,10 @@ export namespace Prisma { * Select specific fields to fetch from the Post */ select?: PostSelect | null + /** + * Omit specific fields from the Post + */ + omit?: PostOmit | null /** * Choose, which related nodes to fetch as well */ @@ -3170,6 +3206,10 @@ export namespace Prisma { * Select specific fields to fetch from the Post */ select?: PostSelect | null + /** + * Omit specific fields from the Post + */ + omit?: PostOmit | null /** * Choose, which related nodes to fetch as well */ @@ -3188,6 +3228,10 @@ export namespace Prisma { * Select specific fields to fetch from the Post */ select?: PostSelect | null + /** + * Omit specific fields from the Post + */ + omit?: PostOmit | null /** * Choose, which related nodes to fetch as well */ @@ -3236,6 +3280,10 @@ export namespace Prisma { * Select specific fields to fetch from the Post */ select?: PostSelect | null + /** + * Omit specific fields from the Post + */ + omit?: PostOmit | null /** * Choose, which related nodes to fetch as well */ @@ -3284,6 +3332,10 @@ export namespace Prisma { * Select specific fields to fetch from the Post */ select?: PostSelect | null + /** + * Omit specific fields from the Post + */ + omit?: PostOmit | null /** * Choose, which related nodes to fetch as well */ @@ -3327,6 +3379,10 @@ export namespace Prisma { * Select specific fields to fetch from the Post */ select?: PostSelect | null + /** + * Omit specific fields from the Post + */ + omit?: PostOmit | null /** * Choose, which related nodes to fetch as well */ @@ -3356,6 +3412,10 @@ export namespace Prisma { * Select specific fields to fetch from the Post */ select?: PostSelectCreateManyAndReturn | null + /** + * Omit specific fields from the Post + */ + omit?: PostOmit | null /** * The data used to create many Posts. */ @@ -3375,6 +3435,10 @@ export namespace Prisma { * Select specific fields to fetch from the Post */ select?: PostSelect | null + /** + * Omit specific fields from the Post + */ + omit?: PostOmit | null /** * Choose, which related nodes to fetch as well */ @@ -3411,6 +3475,10 @@ export namespace Prisma { * Select specific fields to fetch from the Post */ select?: PostSelectUpdateManyAndReturn | null + /** + * Omit specific fields from the Post + */ + omit?: PostOmit | null /** * The data used to update Posts. */ @@ -3433,6 +3501,10 @@ export namespace Prisma { * Select specific fields to fetch from the Post */ select?: PostSelect | null + /** + * Omit specific fields from the Post + */ + omit?: PostOmit | null /** * Choose, which related nodes to fetch as well */ @@ -3459,6 +3531,10 @@ export namespace Prisma { * Select specific fields to fetch from the Post */ select?: PostSelect | null + /** + * Omit specific fields from the Post + */ + omit?: PostOmit | null /** * Choose, which related nodes to fetch as well */ @@ -3487,6 +3563,10 @@ export namespace Prisma { * Select specific fields to fetch from the Post */ select?: PostSelect | null + /** + * Omit specific fields from the Post + */ + omit?: PostOmit | null /** * Choose, which related nodes to fetch as well */ @@ -3827,6 +3907,7 @@ export namespace Prisma { optionalBoolean?: boolean } + export type UserOmit = $Extensions.GetOmit<"id" | "email" | "int" | "optionalInt" | "float" | "optionalFloat" | "string" | "optionalString" | "json" | "optionalJson" | "enum" | "optionalEnum" | "boolean" | "optionalBoolean", ExtArgs["result"]["user"]> export type UserInclude = { posts?: boolean | User$postsArgs _count?: boolean | UserCountOutputTypeDefaultArgs @@ -3861,11 +3942,11 @@ export namespace Prisma { type UserGetPayload = $Result.GetResult type UserCountArgs = - Omit & { + 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. @@ -3878,7 +3959,7 @@ export namespace Prisma { * } * }) */ - findUnique(args: SelectSubset>): Prisma__UserClient<$Result.GetResult, T, "findUnique"> | null, null, ExtArgs> + findUnique(args: SelectSubset>): Prisma__UserClient<$Result.GetResult, T, "findUnique", ClientOptions> | null, null, ExtArgs, ClientOptions> /** * Find one User that matches the filter or throw an error with \`error.code='P2025'\` @@ -3892,7 +3973,7 @@ export namespace Prisma { * } * }) */ - findUniqueOrThrow(args: SelectSubset>): Prisma__UserClient<$Result.GetResult, T, "findUniqueOrThrow">, never, ExtArgs> + findUniqueOrThrow(args: SelectSubset>): Prisma__UserClient<$Result.GetResult, T, "findUniqueOrThrow", ClientOptions>, never, ExtArgs, ClientOptions> /** * Find the first User that matches the filter. @@ -3907,7 +3988,7 @@ export namespace Prisma { * } * }) */ - findFirst(args?: SelectSubset>): Prisma__UserClient<$Result.GetResult, T, "findFirst"> | null, null, ExtArgs> + findFirst(args?: SelectSubset>): Prisma__UserClient<$Result.GetResult, T, "findFirst", ClientOptions> | null, null, ExtArgs, ClientOptions> /** * Find the first User that matches the filter or @@ -3923,7 +4004,7 @@ export namespace Prisma { * } * }) */ - findFirstOrThrow(args?: SelectSubset>): Prisma__UserClient<$Result.GetResult, T, "findFirstOrThrow">, never, ExtArgs> + findFirstOrThrow(args?: SelectSubset>): Prisma__UserClient<$Result.GetResult, T, "findFirstOrThrow", ClientOptions>, never, ExtArgs, ClientOptions> /** * Find zero or more Users that matches the filter. @@ -3941,7 +4022,7 @@ export namespace Prisma { * const userWithIdOnly = await prisma.user.findMany({ select: { id: true } }) * */ - findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany">> + findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", ClientOptions>> /** * Create a User. @@ -3955,7 +4036,7 @@ export namespace Prisma { * }) * */ - create(args: SelectSubset>): Prisma__UserClient<$Result.GetResult, T, "create">, never, ExtArgs> + create(args: SelectSubset>): Prisma__UserClient<$Result.GetResult, T, "create", ClientOptions>, never, ExtArgs, ClientOptions> /** * Create many Users. @@ -3993,7 +4074,7 @@ export namespace Prisma { * Read more here: https://pris.ly/d/null-undefined * */ - createManyAndReturn(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "createManyAndReturn">> + createManyAndReturn(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "createManyAndReturn", ClientOptions>> /** * Delete a User. @@ -4007,7 +4088,7 @@ export namespace Prisma { * }) * */ - delete(args: SelectSubset>): Prisma__UserClient<$Result.GetResult, T, "delete">, never, ExtArgs> + delete(args: SelectSubset>): Prisma__UserClient<$Result.GetResult, T, "delete", ClientOptions>, never, ExtArgs, ClientOptions> /** * Update one User. @@ -4024,7 +4105,7 @@ export namespace Prisma { * }) * */ - update(args: SelectSubset>): Prisma__UserClient<$Result.GetResult, T, "update">, never, ExtArgs> + update(args: SelectSubset>): Prisma__UserClient<$Result.GetResult, T, "update", ClientOptions>, never, ExtArgs, ClientOptions> /** * Delete zero or more Users. @@ -4087,7 +4168,7 @@ export namespace Prisma { * Read more here: https://pris.ly/d/null-undefined * */ - updateManyAndReturn(args: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "updateManyAndReturn">> + updateManyAndReturn(args: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "updateManyAndReturn", ClientOptions>> /** * Create or update one User. @@ -4106,7 +4187,7 @@ export namespace Prisma { * } * }) */ - upsert(args: SelectSubset>): Prisma__UserClient<$Result.GetResult, T, "upsert">, never, ExtArgs> + upsert(args: SelectSubset>): Prisma__UserClient<$Result.GetResult, T, "upsert", ClientOptions>, never, ExtArgs, ClientOptions> /** @@ -4246,9 +4327,9 @@ export namespace Prisma { * Because we want to prevent naming conflicts as mentioned in * https://github.com/prisma/prisma-client-js/issues/707 */ - export interface Prisma__UserClient extends Prisma.PrismaPromise { + export interface Prisma__UserClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" - posts = {}>(args?: Subset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany"> | Null> + posts = {}>(args?: Subset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", ClientOptions> | Null> /** * Attaches callbacks for the resolution and/or rejection of the Promise. * @param onfulfilled The callback to execute when the Promise is resolved. @@ -4304,6 +4385,10 @@ export namespace Prisma { * Select specific fields to fetch from the User */ select?: UserSelect | null + /** + * Omit specific fields from the User + */ + omit?: UserOmit | null /** * Choose, which related nodes to fetch as well */ @@ -4322,6 +4407,10 @@ export namespace Prisma { * Select specific fields to fetch from the User */ select?: UserSelect | null + /** + * Omit specific fields from the User + */ + omit?: UserOmit | null /** * Choose, which related nodes to fetch as well */ @@ -4340,6 +4429,10 @@ export namespace Prisma { * Select specific fields to fetch from the User */ select?: UserSelect | null + /** + * Omit specific fields from the User + */ + omit?: UserOmit | null /** * Choose, which related nodes to fetch as well */ @@ -4388,6 +4481,10 @@ export namespace Prisma { * Select specific fields to fetch from the User */ select?: UserSelect | null + /** + * Omit specific fields from the User + */ + omit?: UserOmit | null /** * Choose, which related nodes to fetch as well */ @@ -4436,6 +4533,10 @@ export namespace Prisma { * Select specific fields to fetch from the User */ select?: UserSelect | null + /** + * Omit specific fields from the User + */ + omit?: UserOmit | null /** * Choose, which related nodes to fetch as well */ @@ -4479,6 +4580,10 @@ export namespace Prisma { * Select specific fields to fetch from the User */ select?: UserSelect | null + /** + * Omit specific fields from the User + */ + omit?: UserOmit | null /** * Choose, which related nodes to fetch as well */ @@ -4508,6 +4613,10 @@ export namespace Prisma { * Select specific fields to fetch from the User */ select?: UserSelectCreateManyAndReturn | null + /** + * Omit specific fields from the User + */ + omit?: UserOmit | null /** * The data used to create many Users. */ @@ -4523,6 +4632,10 @@ export namespace Prisma { * Select specific fields to fetch from the User */ select?: UserSelect | null + /** + * Omit specific fields from the User + */ + omit?: UserOmit | null /** * Choose, which related nodes to fetch as well */ @@ -4559,6 +4672,10 @@ export namespace Prisma { * Select specific fields to fetch from the User */ select?: UserSelectUpdateManyAndReturn | null + /** + * Omit specific fields from the User + */ + omit?: UserOmit | null /** * The data used to update Users. */ @@ -4577,6 +4694,10 @@ export namespace Prisma { * Select specific fields to fetch from the User */ select?: UserSelect | null + /** + * Omit specific fields from the User + */ + omit?: UserOmit | null /** * Choose, which related nodes to fetch as well */ @@ -4603,6 +4724,10 @@ export namespace Prisma { * Select specific fields to fetch from the User */ select?: UserSelect | null + /** + * Omit specific fields from the User + */ + omit?: UserOmit | null /** * Choose, which related nodes to fetch as well */ @@ -4631,6 +4756,10 @@ export namespace Prisma { * Select specific fields to fetch from the Post */ select?: PostSelect | null + /** + * Omit specific fields from the Post + */ + omit?: PostOmit | null /** * Choose, which related nodes to fetch as well */ @@ -4651,6 +4780,10 @@ export namespace Prisma { * Select specific fields to fetch from the User */ select?: UserSelect | null + /** + * Omit specific fields from the User + */ + omit?: UserOmit | null /** * Choose, which related nodes to fetch as well */ @@ -4980,6 +5113,7 @@ export namespace Prisma { optionalBoolean?: boolean } + export type MOmit = $Extensions.GetOmit<"id" | "int" | "optionalInt" | "float" | "optionalFloat" | "string" | "optionalString" | "json" | "optionalJson" | "enum" | "optionalEnum" | "boolean" | "optionalBoolean", ExtArgs["result"]["m"]> export type MInclude = { n?: boolean | M$nArgs _count?: boolean | MCountOutputTypeDefaultArgs @@ -5013,11 +5147,11 @@ export namespace Prisma { type MGetPayload = $Result.GetResult type MCountArgs = - Omit & { + Omit & { select?: MCountAggregateInputType | true } - export interface MDelegate { + export interface MDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['M'], meta: { name: 'M' } } /** * Find zero or one M that matches the filter. @@ -5030,7 +5164,7 @@ export namespace Prisma { * } * }) */ - findUnique(args: SelectSubset>): Prisma__MClient<$Result.GetResult, T, "findUnique"> | null, null, ExtArgs> + findUnique(args: SelectSubset>): Prisma__MClient<$Result.GetResult, T, "findUnique", ClientOptions> | null, null, ExtArgs, ClientOptions> /** * Find one M that matches the filter or throw an error with \`error.code='P2025'\` @@ -5044,7 +5178,7 @@ export namespace Prisma { * } * }) */ - findUniqueOrThrow(args: SelectSubset>): Prisma__MClient<$Result.GetResult, T, "findUniqueOrThrow">, never, ExtArgs> + findUniqueOrThrow(args: SelectSubset>): Prisma__MClient<$Result.GetResult, T, "findUniqueOrThrow", ClientOptions>, never, ExtArgs, ClientOptions> /** * Find the first M that matches the filter. @@ -5059,7 +5193,7 @@ export namespace Prisma { * } * }) */ - findFirst(args?: SelectSubset>): Prisma__MClient<$Result.GetResult, T, "findFirst"> | null, null, ExtArgs> + findFirst(args?: SelectSubset>): Prisma__MClient<$Result.GetResult, T, "findFirst", ClientOptions> | null, null, ExtArgs, ClientOptions> /** * Find the first M that matches the filter or @@ -5075,7 +5209,7 @@ export namespace Prisma { * } * }) */ - findFirstOrThrow(args?: SelectSubset>): Prisma__MClient<$Result.GetResult, T, "findFirstOrThrow">, never, ExtArgs> + findFirstOrThrow(args?: SelectSubset>): Prisma__MClient<$Result.GetResult, T, "findFirstOrThrow", ClientOptions>, never, ExtArgs, ClientOptions> /** * Find zero or more Ms that matches the filter. @@ -5093,7 +5227,7 @@ export namespace Prisma { * const mWithIdOnly = await prisma.m.findMany({ select: { id: true } }) * */ - findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany">> + findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", ClientOptions>> /** * Create a M. @@ -5107,7 +5241,7 @@ export namespace Prisma { * }) * */ - create(args: SelectSubset>): Prisma__MClient<$Result.GetResult, T, "create">, never, ExtArgs> + create(args: SelectSubset>): Prisma__MClient<$Result.GetResult, T, "create", ClientOptions>, never, ExtArgs, ClientOptions> /** * Create many Ms. @@ -5145,7 +5279,7 @@ export namespace Prisma { * Read more here: https://pris.ly/d/null-undefined * */ - createManyAndReturn(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "createManyAndReturn">> + createManyAndReturn(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "createManyAndReturn", ClientOptions>> /** * Delete a M. @@ -5159,7 +5293,7 @@ export namespace Prisma { * }) * */ - delete(args: SelectSubset>): Prisma__MClient<$Result.GetResult, T, "delete">, never, ExtArgs> + delete(args: SelectSubset>): Prisma__MClient<$Result.GetResult, T, "delete", ClientOptions>, never, ExtArgs, ClientOptions> /** * Update one M. @@ -5176,7 +5310,7 @@ export namespace Prisma { * }) * */ - update(args: SelectSubset>): Prisma__MClient<$Result.GetResult, T, "update">, never, ExtArgs> + update(args: SelectSubset>): Prisma__MClient<$Result.GetResult, T, "update", ClientOptions>, never, ExtArgs, ClientOptions> /** * Delete zero or more Ms. @@ -5239,7 +5373,7 @@ export namespace Prisma { * Read more here: https://pris.ly/d/null-undefined * */ - updateManyAndReturn(args: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "updateManyAndReturn">> + updateManyAndReturn(args: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "updateManyAndReturn", ClientOptions>> /** * Create or update one M. @@ -5258,7 +5392,7 @@ export namespace Prisma { * } * }) */ - upsert(args: SelectSubset>): Prisma__MClient<$Result.GetResult, T, "upsert">, never, ExtArgs> + upsert(args: SelectSubset>): Prisma__MClient<$Result.GetResult, T, "upsert", ClientOptions>, never, ExtArgs, ClientOptions> /** @@ -5398,9 +5532,9 @@ export namespace Prisma { * Because we want to prevent naming conflicts as mentioned in * https://github.com/prisma/prisma-client-js/issues/707 */ - export interface Prisma__MClient extends Prisma.PrismaPromise { + export interface Prisma__MClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" - n = {}>(args?: Subset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany"> | Null> + n = {}>(args?: Subset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", ClientOptions> | Null> /** * Attaches callbacks for the resolution and/or rejection of the Promise. * @param onfulfilled The callback to execute when the Promise is resolved. @@ -5455,6 +5589,10 @@ export namespace Prisma { * Select specific fields to fetch from the M */ select?: MSelect | null + /** + * Omit specific fields from the M + */ + omit?: MOmit | null /** * Choose, which related nodes to fetch as well */ @@ -5473,6 +5611,10 @@ export namespace Prisma { * Select specific fields to fetch from the M */ select?: MSelect | null + /** + * Omit specific fields from the M + */ + omit?: MOmit | null /** * Choose, which related nodes to fetch as well */ @@ -5491,6 +5633,10 @@ export namespace Prisma { * Select specific fields to fetch from the M */ select?: MSelect | null + /** + * Omit specific fields from the M + */ + omit?: MOmit | null /** * Choose, which related nodes to fetch as well */ @@ -5539,6 +5685,10 @@ export namespace Prisma { * Select specific fields to fetch from the M */ select?: MSelect | null + /** + * Omit specific fields from the M + */ + omit?: MOmit | null /** * Choose, which related nodes to fetch as well */ @@ -5587,6 +5737,10 @@ export namespace Prisma { * Select specific fields to fetch from the M */ select?: MSelect | null + /** + * Omit specific fields from the M + */ + omit?: MOmit | null /** * Choose, which related nodes to fetch as well */ @@ -5630,6 +5784,10 @@ export namespace Prisma { * Select specific fields to fetch from the M */ select?: MSelect | null + /** + * Omit specific fields from the M + */ + omit?: MOmit | null /** * Choose, which related nodes to fetch as well */ @@ -5659,6 +5817,10 @@ export namespace Prisma { * Select specific fields to fetch from the M */ select?: MSelectCreateManyAndReturn | null + /** + * Omit specific fields from the M + */ + omit?: MOmit | null /** * The data used to create many MS. */ @@ -5674,6 +5836,10 @@ export namespace Prisma { * Select specific fields to fetch from the M */ select?: MSelect | null + /** + * Omit specific fields from the M + */ + omit?: MOmit | null /** * Choose, which related nodes to fetch as well */ @@ -5710,6 +5876,10 @@ export namespace Prisma { * Select specific fields to fetch from the M */ select?: MSelectUpdateManyAndReturn | null + /** + * Omit specific fields from the M + */ + omit?: MOmit | null /** * The data used to update MS. */ @@ -5728,6 +5898,10 @@ export namespace Prisma { * Select specific fields to fetch from the M */ select?: MSelect | null + /** + * Omit specific fields from the M + */ + omit?: MOmit | null /** * Choose, which related nodes to fetch as well */ @@ -5754,6 +5928,10 @@ export namespace Prisma { * Select specific fields to fetch from the M */ select?: MSelect | null + /** + * Omit specific fields from the M + */ + omit?: MOmit | null /** * Choose, which related nodes to fetch as well */ @@ -5782,6 +5960,10 @@ export namespace Prisma { * Select specific fields to fetch from the N */ select?: NSelect | null + /** + * Omit specific fields from the N + */ + omit?: NOmit | null /** * Choose, which related nodes to fetch as well */ @@ -5802,6 +5984,10 @@ export namespace Prisma { * Select specific fields to fetch from the M */ select?: MSelect | null + /** + * Omit specific fields from the M + */ + omit?: MOmit | null /** * Choose, which related nodes to fetch as well */ @@ -6131,6 +6317,7 @@ export namespace Prisma { optionalBoolean?: boolean } + export type NOmit = $Extensions.GetOmit<"id" | "int" | "optionalInt" | "float" | "optionalFloat" | "string" | "optionalString" | "json" | "optionalJson" | "enum" | "optionalEnum" | "boolean" | "optionalBoolean", ExtArgs["result"]["n"]> export type NInclude = { m?: boolean | N$mArgs _count?: boolean | NCountOutputTypeDefaultArgs @@ -6164,11 +6351,11 @@ export namespace Prisma { type NGetPayload = $Result.GetResult type NCountArgs = - Omit & { + Omit & { select?: NCountAggregateInputType | true } - export interface NDelegate { + export interface NDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['N'], meta: { name: 'N' } } /** * Find zero or one N that matches the filter. @@ -6181,7 +6368,7 @@ export namespace Prisma { * } * }) */ - findUnique(args: SelectSubset>): Prisma__NClient<$Result.GetResult, T, "findUnique"> | null, null, ExtArgs> + findUnique(args: SelectSubset>): Prisma__NClient<$Result.GetResult, T, "findUnique", ClientOptions> | null, null, ExtArgs, ClientOptions> /** * Find one N that matches the filter or throw an error with \`error.code='P2025'\` @@ -6195,7 +6382,7 @@ export namespace Prisma { * } * }) */ - findUniqueOrThrow(args: SelectSubset>): Prisma__NClient<$Result.GetResult, T, "findUniqueOrThrow">, never, ExtArgs> + findUniqueOrThrow(args: SelectSubset>): Prisma__NClient<$Result.GetResult, T, "findUniqueOrThrow", ClientOptions>, never, ExtArgs, ClientOptions> /** * Find the first N that matches the filter. @@ -6210,7 +6397,7 @@ export namespace Prisma { * } * }) */ - findFirst(args?: SelectSubset>): Prisma__NClient<$Result.GetResult, T, "findFirst"> | null, null, ExtArgs> + findFirst(args?: SelectSubset>): Prisma__NClient<$Result.GetResult, T, "findFirst", ClientOptions> | null, null, ExtArgs, ClientOptions> /** * Find the first N that matches the filter or @@ -6226,7 +6413,7 @@ export namespace Prisma { * } * }) */ - findFirstOrThrow(args?: SelectSubset>): Prisma__NClient<$Result.GetResult, T, "findFirstOrThrow">, never, ExtArgs> + findFirstOrThrow(args?: SelectSubset>): Prisma__NClient<$Result.GetResult, T, "findFirstOrThrow", ClientOptions>, never, ExtArgs, ClientOptions> /** * Find zero or more Ns that matches the filter. @@ -6244,7 +6431,7 @@ export namespace Prisma { * const nWithIdOnly = await prisma.n.findMany({ select: { id: true } }) * */ - findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany">> + findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", ClientOptions>> /** * Create a N. @@ -6258,7 +6445,7 @@ export namespace Prisma { * }) * */ - create(args: SelectSubset>): Prisma__NClient<$Result.GetResult, T, "create">, never, ExtArgs> + create(args: SelectSubset>): Prisma__NClient<$Result.GetResult, T, "create", ClientOptions>, never, ExtArgs, ClientOptions> /** * Create many Ns. @@ -6296,7 +6483,7 @@ export namespace Prisma { * Read more here: https://pris.ly/d/null-undefined * */ - createManyAndReturn(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "createManyAndReturn">> + createManyAndReturn(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "createManyAndReturn", ClientOptions>> /** * Delete a N. @@ -6310,7 +6497,7 @@ export namespace Prisma { * }) * */ - delete(args: SelectSubset>): Prisma__NClient<$Result.GetResult, T, "delete">, never, ExtArgs> + delete(args: SelectSubset>): Prisma__NClient<$Result.GetResult, T, "delete", ClientOptions>, never, ExtArgs, ClientOptions> /** * Update one N. @@ -6327,7 +6514,7 @@ export namespace Prisma { * }) * */ - update(args: SelectSubset>): Prisma__NClient<$Result.GetResult, T, "update">, never, ExtArgs> + update(args: SelectSubset>): Prisma__NClient<$Result.GetResult, T, "update", ClientOptions>, never, ExtArgs, ClientOptions> /** * Delete zero or more Ns. @@ -6390,7 +6577,7 @@ export namespace Prisma { * Read more here: https://pris.ly/d/null-undefined * */ - updateManyAndReturn(args: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "updateManyAndReturn">> + updateManyAndReturn(args: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "updateManyAndReturn", ClientOptions>> /** * Create or update one N. @@ -6409,7 +6596,7 @@ export namespace Prisma { * } * }) */ - upsert(args: SelectSubset>): Prisma__NClient<$Result.GetResult, T, "upsert">, never, ExtArgs> + upsert(args: SelectSubset>): Prisma__NClient<$Result.GetResult, T, "upsert", ClientOptions>, never, ExtArgs, ClientOptions> /** @@ -6549,9 +6736,9 @@ export namespace Prisma { * Because we want to prevent naming conflicts as mentioned in * https://github.com/prisma/prisma-client-js/issues/707 */ - export interface Prisma__NClient extends Prisma.PrismaPromise { + export interface Prisma__NClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" - m = {}>(args?: Subset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany"> | Null> + m = {}>(args?: Subset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", ClientOptions> | Null> /** * Attaches callbacks for the resolution and/or rejection of the Promise. * @param onfulfilled The callback to execute when the Promise is resolved. @@ -6606,6 +6793,10 @@ export namespace Prisma { * Select specific fields to fetch from the N */ select?: NSelect | null + /** + * Omit specific fields from the N + */ + omit?: NOmit | null /** * Choose, which related nodes to fetch as well */ @@ -6624,6 +6815,10 @@ export namespace Prisma { * Select specific fields to fetch from the N */ select?: NSelect | null + /** + * Omit specific fields from the N + */ + omit?: NOmit | null /** * Choose, which related nodes to fetch as well */ @@ -6642,6 +6837,10 @@ export namespace Prisma { * Select specific fields to fetch from the N */ select?: NSelect | null + /** + * Omit specific fields from the N + */ + omit?: NOmit | null /** * Choose, which related nodes to fetch as well */ @@ -6690,6 +6889,10 @@ export namespace Prisma { * Select specific fields to fetch from the N */ select?: NSelect | null + /** + * Omit specific fields from the N + */ + omit?: NOmit | null /** * Choose, which related nodes to fetch as well */ @@ -6738,6 +6941,10 @@ export namespace Prisma { * Select specific fields to fetch from the N */ select?: NSelect | null + /** + * Omit specific fields from the N + */ + omit?: NOmit | null /** * Choose, which related nodes to fetch as well */ @@ -6781,6 +6988,10 @@ export namespace Prisma { * Select specific fields to fetch from the N */ select?: NSelect | null + /** + * Omit specific fields from the N + */ + omit?: NOmit | null /** * Choose, which related nodes to fetch as well */ @@ -6810,6 +7021,10 @@ export namespace Prisma { * Select specific fields to fetch from the N */ select?: NSelectCreateManyAndReturn | null + /** + * Omit specific fields from the N + */ + omit?: NOmit | null /** * The data used to create many NS. */ @@ -6825,6 +7040,10 @@ export namespace Prisma { * Select specific fields to fetch from the N */ select?: NSelect | null + /** + * Omit specific fields from the N + */ + omit?: NOmit | null /** * Choose, which related nodes to fetch as well */ @@ -6861,6 +7080,10 @@ export namespace Prisma { * Select specific fields to fetch from the N */ select?: NSelectUpdateManyAndReturn | null + /** + * Omit specific fields from the N + */ + omit?: NOmit | null /** * The data used to update NS. */ @@ -6879,6 +7102,10 @@ export namespace Prisma { * Select specific fields to fetch from the N */ select?: NSelect | null + /** + * Omit specific fields from the N + */ + omit?: NOmit | null /** * Choose, which related nodes to fetch as well */ @@ -6905,6 +7132,10 @@ export namespace Prisma { * Select specific fields to fetch from the N */ select?: NSelect | null + /** + * Omit specific fields from the N + */ + omit?: NOmit | null /** * Choose, which related nodes to fetch as well */ @@ -6933,6 +7164,10 @@ export namespace Prisma { * Select specific fields to fetch from the M */ select?: MSelect | null + /** + * Omit specific fields from the M + */ + omit?: MOmit | null /** * Choose, which related nodes to fetch as well */ @@ -6953,6 +7188,10 @@ export namespace Prisma { * Select specific fields to fetch from the N */ select?: NSelect | null + /** + * Omit specific fields from the N + */ + omit?: NOmit | null /** * Choose, which related nodes to fetch as well */ @@ -7282,6 +7521,7 @@ export namespace Prisma { optionalBoolean?: boolean } + export type OneOptionalOmit = $Extensions.GetOmit<"id" | "int" | "optionalInt" | "float" | "optionalFloat" | "string" | "optionalString" | "json" | "optionalJson" | "enum" | "optionalEnum" | "boolean" | "optionalBoolean", ExtArgs["result"]["oneOptional"]> export type OneOptionalInclude = { many?: boolean | OneOptional$manyArgs _count?: boolean | OneOptionalCountOutputTypeDefaultArgs @@ -7315,11 +7555,11 @@ export namespace Prisma { type OneOptionalGetPayload = $Result.GetResult type OneOptionalCountArgs = - Omit & { + Omit & { select?: OneOptionalCountAggregateInputType | true } - export interface OneOptionalDelegate { + export interface OneOptionalDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['OneOptional'], meta: { name: 'OneOptional' } } /** * Find zero or one OneOptional that matches the filter. @@ -7332,7 +7572,7 @@ export namespace Prisma { * } * }) */ - findUnique(args: SelectSubset>): Prisma__OneOptionalClient<$Result.GetResult, T, "findUnique"> | null, null, ExtArgs> + findUnique(args: SelectSubset>): Prisma__OneOptionalClient<$Result.GetResult, T, "findUnique", ClientOptions> | null, null, ExtArgs, ClientOptions> /** * Find one OneOptional that matches the filter or throw an error with \`error.code='P2025'\` @@ -7346,7 +7586,7 @@ export namespace Prisma { * } * }) */ - findUniqueOrThrow(args: SelectSubset>): Prisma__OneOptionalClient<$Result.GetResult, T, "findUniqueOrThrow">, never, ExtArgs> + findUniqueOrThrow(args: SelectSubset>): Prisma__OneOptionalClient<$Result.GetResult, T, "findUniqueOrThrow", ClientOptions>, never, ExtArgs, ClientOptions> /** * Find the first OneOptional that matches the filter. @@ -7361,7 +7601,7 @@ export namespace Prisma { * } * }) */ - findFirst(args?: SelectSubset>): Prisma__OneOptionalClient<$Result.GetResult, T, "findFirst"> | null, null, ExtArgs> + findFirst(args?: SelectSubset>): Prisma__OneOptionalClient<$Result.GetResult, T, "findFirst", ClientOptions> | null, null, ExtArgs, ClientOptions> /** * Find the first OneOptional that matches the filter or @@ -7377,7 +7617,7 @@ export namespace Prisma { * } * }) */ - findFirstOrThrow(args?: SelectSubset>): Prisma__OneOptionalClient<$Result.GetResult, T, "findFirstOrThrow">, never, ExtArgs> + findFirstOrThrow(args?: SelectSubset>): Prisma__OneOptionalClient<$Result.GetResult, T, "findFirstOrThrow", ClientOptions>, never, ExtArgs, ClientOptions> /** * Find zero or more OneOptionals that matches the filter. @@ -7395,7 +7635,7 @@ export namespace Prisma { * const oneOptionalWithIdOnly = await prisma.oneOptional.findMany({ select: { id: true } }) * */ - findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany">> + findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", ClientOptions>> /** * Create a OneOptional. @@ -7409,7 +7649,7 @@ export namespace Prisma { * }) * */ - create(args: SelectSubset>): Prisma__OneOptionalClient<$Result.GetResult, T, "create">, never, ExtArgs> + create(args: SelectSubset>): Prisma__OneOptionalClient<$Result.GetResult, T, "create", ClientOptions>, never, ExtArgs, ClientOptions> /** * Create many OneOptionals. @@ -7447,7 +7687,7 @@ export namespace Prisma { * Read more here: https://pris.ly/d/null-undefined * */ - createManyAndReturn(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "createManyAndReturn">> + createManyAndReturn(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "createManyAndReturn", ClientOptions>> /** * Delete a OneOptional. @@ -7461,7 +7701,7 @@ export namespace Prisma { * }) * */ - delete(args: SelectSubset>): Prisma__OneOptionalClient<$Result.GetResult, T, "delete">, never, ExtArgs> + delete(args: SelectSubset>): Prisma__OneOptionalClient<$Result.GetResult, T, "delete", ClientOptions>, never, ExtArgs, ClientOptions> /** * Update one OneOptional. @@ -7478,7 +7718,7 @@ export namespace Prisma { * }) * */ - update(args: SelectSubset>): Prisma__OneOptionalClient<$Result.GetResult, T, "update">, never, ExtArgs> + update(args: SelectSubset>): Prisma__OneOptionalClient<$Result.GetResult, T, "update", ClientOptions>, never, ExtArgs, ClientOptions> /** * Delete zero or more OneOptionals. @@ -7541,7 +7781,7 @@ export namespace Prisma { * Read more here: https://pris.ly/d/null-undefined * */ - updateManyAndReturn(args: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "updateManyAndReturn">> + updateManyAndReturn(args: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "updateManyAndReturn", ClientOptions>> /** * Create or update one OneOptional. @@ -7560,7 +7800,7 @@ export namespace Prisma { * } * }) */ - upsert(args: SelectSubset>): Prisma__OneOptionalClient<$Result.GetResult, T, "upsert">, never, ExtArgs> + upsert(args: SelectSubset>): Prisma__OneOptionalClient<$Result.GetResult, T, "upsert", ClientOptions>, never, ExtArgs, ClientOptions> /** @@ -7700,9 +7940,9 @@ export namespace Prisma { * Because we want to prevent naming conflicts as mentioned in * https://github.com/prisma/prisma-client-js/issues/707 */ - export interface Prisma__OneOptionalClient extends Prisma.PrismaPromise { + export interface Prisma__OneOptionalClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" - many = {}>(args?: Subset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany"> | Null> + many = {}>(args?: Subset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", ClientOptions> | Null> /** * Attaches callbacks for the resolution and/or rejection of the Promise. * @param onfulfilled The callback to execute when the Promise is resolved. @@ -7757,6 +7997,10 @@ export namespace Prisma { * Select specific fields to fetch from the OneOptional */ select?: OneOptionalSelect | null + /** + * Omit specific fields from the OneOptional + */ + omit?: OneOptionalOmit | null /** * Choose, which related nodes to fetch as well */ @@ -7775,6 +8019,10 @@ export namespace Prisma { * Select specific fields to fetch from the OneOptional */ select?: OneOptionalSelect | null + /** + * Omit specific fields from the OneOptional + */ + omit?: OneOptionalOmit | null /** * Choose, which related nodes to fetch as well */ @@ -7793,6 +8041,10 @@ export namespace Prisma { * Select specific fields to fetch from the OneOptional */ select?: OneOptionalSelect | null + /** + * Omit specific fields from the OneOptional + */ + omit?: OneOptionalOmit | null /** * Choose, which related nodes to fetch as well */ @@ -7841,6 +8093,10 @@ export namespace Prisma { * Select specific fields to fetch from the OneOptional */ select?: OneOptionalSelect | null + /** + * Omit specific fields from the OneOptional + */ + omit?: OneOptionalOmit | null /** * Choose, which related nodes to fetch as well */ @@ -7889,6 +8145,10 @@ export namespace Prisma { * Select specific fields to fetch from the OneOptional */ select?: OneOptionalSelect | null + /** + * Omit specific fields from the OneOptional + */ + omit?: OneOptionalOmit | null /** * Choose, which related nodes to fetch as well */ @@ -7932,6 +8192,10 @@ export namespace Prisma { * Select specific fields to fetch from the OneOptional */ select?: OneOptionalSelect | null + /** + * Omit specific fields from the OneOptional + */ + omit?: OneOptionalOmit | null /** * Choose, which related nodes to fetch as well */ @@ -7961,6 +8225,10 @@ export namespace Prisma { * Select specific fields to fetch from the OneOptional */ select?: OneOptionalSelectCreateManyAndReturn | null + /** + * Omit specific fields from the OneOptional + */ + omit?: OneOptionalOmit | null /** * The data used to create many OneOptionals. */ @@ -7976,6 +8244,10 @@ export namespace Prisma { * Select specific fields to fetch from the OneOptional */ select?: OneOptionalSelect | null + /** + * Omit specific fields from the OneOptional + */ + omit?: OneOptionalOmit | null /** * Choose, which related nodes to fetch as well */ @@ -8012,6 +8284,10 @@ export namespace Prisma { * Select specific fields to fetch from the OneOptional */ select?: OneOptionalSelectUpdateManyAndReturn | null + /** + * Omit specific fields from the OneOptional + */ + omit?: OneOptionalOmit | null /** * The data used to update OneOptionals. */ @@ -8030,6 +8306,10 @@ export namespace Prisma { * Select specific fields to fetch from the OneOptional */ select?: OneOptionalSelect | null + /** + * Omit specific fields from the OneOptional + */ + omit?: OneOptionalOmit | null /** * Choose, which related nodes to fetch as well */ @@ -8056,6 +8336,10 @@ export namespace Prisma { * Select specific fields to fetch from the OneOptional */ select?: OneOptionalSelect | null + /** + * Omit specific fields from the OneOptional + */ + omit?: OneOptionalOmit | null /** * Choose, which related nodes to fetch as well */ @@ -8084,6 +8368,10 @@ export namespace Prisma { * Select specific fields to fetch from the ManyRequired */ select?: ManyRequiredSelect | null + /** + * Omit specific fields from the ManyRequired + */ + omit?: ManyRequiredOmit | null /** * Choose, which related nodes to fetch as well */ @@ -8104,6 +8392,10 @@ export namespace Prisma { * Select specific fields to fetch from the OneOptional */ select?: OneOptionalSelect | null + /** + * Omit specific fields from the OneOptional + */ + omit?: OneOptionalOmit | null /** * Choose, which related nodes to fetch as well */ @@ -8449,6 +8741,7 @@ export namespace Prisma { optionalBoolean?: boolean } + export type ManyRequiredOmit = $Extensions.GetOmit<"id" | "oneOptionalId" | "int" | "optionalInt" | "float" | "optionalFloat" | "string" | "optionalString" | "json" | "optionalJson" | "enum" | "optionalEnum" | "boolean" | "optionalBoolean", ExtArgs["result"]["manyRequired"]> export type ManyRequiredInclude = { one?: boolean | ManyRequired$oneArgs } @@ -8486,11 +8779,11 @@ export namespace Prisma { type ManyRequiredGetPayload = $Result.GetResult type ManyRequiredCountArgs = - Omit & { + Omit & { select?: ManyRequiredCountAggregateInputType | true } - export interface ManyRequiredDelegate { + export interface ManyRequiredDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['ManyRequired'], meta: { name: 'ManyRequired' } } /** * Find zero or one ManyRequired that matches the filter. @@ -8503,7 +8796,7 @@ export namespace Prisma { * } * }) */ - findUnique(args: SelectSubset>): Prisma__ManyRequiredClient<$Result.GetResult, T, "findUnique"> | null, null, ExtArgs> + findUnique(args: SelectSubset>): Prisma__ManyRequiredClient<$Result.GetResult, T, "findUnique", ClientOptions> | null, null, ExtArgs, ClientOptions> /** * Find one ManyRequired that matches the filter or throw an error with \`error.code='P2025'\` @@ -8517,7 +8810,7 @@ export namespace Prisma { * } * }) */ - findUniqueOrThrow(args: SelectSubset>): Prisma__ManyRequiredClient<$Result.GetResult, T, "findUniqueOrThrow">, never, ExtArgs> + findUniqueOrThrow(args: SelectSubset>): Prisma__ManyRequiredClient<$Result.GetResult, T, "findUniqueOrThrow", ClientOptions>, never, ExtArgs, ClientOptions> /** * Find the first ManyRequired that matches the filter. @@ -8532,7 +8825,7 @@ export namespace Prisma { * } * }) */ - findFirst(args?: SelectSubset>): Prisma__ManyRequiredClient<$Result.GetResult, T, "findFirst"> | null, null, ExtArgs> + findFirst(args?: SelectSubset>): Prisma__ManyRequiredClient<$Result.GetResult, T, "findFirst", ClientOptions> | null, null, ExtArgs, ClientOptions> /** * Find the first ManyRequired that matches the filter or @@ -8548,7 +8841,7 @@ export namespace Prisma { * } * }) */ - findFirstOrThrow(args?: SelectSubset>): Prisma__ManyRequiredClient<$Result.GetResult, T, "findFirstOrThrow">, never, ExtArgs> + findFirstOrThrow(args?: SelectSubset>): Prisma__ManyRequiredClient<$Result.GetResult, T, "findFirstOrThrow", ClientOptions>, never, ExtArgs, ClientOptions> /** * Find zero or more ManyRequireds that matches the filter. @@ -8566,7 +8859,7 @@ export namespace Prisma { * const manyRequiredWithIdOnly = await prisma.manyRequired.findMany({ select: { id: true } }) * */ - findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany">> + findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", ClientOptions>> /** * Create a ManyRequired. @@ -8580,7 +8873,7 @@ export namespace Prisma { * }) * */ - create(args: SelectSubset>): Prisma__ManyRequiredClient<$Result.GetResult, T, "create">, never, ExtArgs> + create(args: SelectSubset>): Prisma__ManyRequiredClient<$Result.GetResult, T, "create", ClientOptions>, never, ExtArgs, ClientOptions> /** * Create many ManyRequireds. @@ -8618,7 +8911,7 @@ export namespace Prisma { * Read more here: https://pris.ly/d/null-undefined * */ - createManyAndReturn(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "createManyAndReturn">> + createManyAndReturn(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "createManyAndReturn", ClientOptions>> /** * Delete a ManyRequired. @@ -8632,7 +8925,7 @@ export namespace Prisma { * }) * */ - delete(args: SelectSubset>): Prisma__ManyRequiredClient<$Result.GetResult, T, "delete">, never, ExtArgs> + delete(args: SelectSubset>): Prisma__ManyRequiredClient<$Result.GetResult, T, "delete", ClientOptions>, never, ExtArgs, ClientOptions> /** * Update one ManyRequired. @@ -8649,7 +8942,7 @@ export namespace Prisma { * }) * */ - update(args: SelectSubset>): Prisma__ManyRequiredClient<$Result.GetResult, T, "update">, never, ExtArgs> + update(args: SelectSubset>): Prisma__ManyRequiredClient<$Result.GetResult, T, "update", ClientOptions>, never, ExtArgs, ClientOptions> /** * Delete zero or more ManyRequireds. @@ -8712,7 +9005,7 @@ export namespace Prisma { * Read more here: https://pris.ly/d/null-undefined * */ - updateManyAndReturn(args: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "updateManyAndReturn">> + updateManyAndReturn(args: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "updateManyAndReturn", ClientOptions>> /** * Create or update one ManyRequired. @@ -8731,7 +9024,7 @@ export namespace Prisma { * } * }) */ - upsert(args: SelectSubset>): Prisma__ManyRequiredClient<$Result.GetResult, T, "upsert">, never, ExtArgs> + upsert(args: SelectSubset>): Prisma__ManyRequiredClient<$Result.GetResult, T, "upsert", ClientOptions>, never, ExtArgs, ClientOptions> /** @@ -8871,9 +9164,9 @@ export namespace Prisma { * Because we want to prevent naming conflicts as mentioned in * https://github.com/prisma/prisma-client-js/issues/707 */ - export interface Prisma__ManyRequiredClient extends Prisma.PrismaPromise { + export interface Prisma__ManyRequiredClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" - one = {}>(args?: Subset>): Prisma__OneOptionalClient<$Result.GetResult, T, "findUniqueOrThrow"> | null, null, ExtArgs> + one = {}>(args?: Subset>): Prisma__OneOptionalClient<$Result.GetResult, T, "findUniqueOrThrow", ClientOptions> | null, null, ExtArgs, ClientOptions> /** * Attaches callbacks for the resolution and/or rejection of the Promise. * @param onfulfilled The callback to execute when the Promise is resolved. @@ -8929,6 +9222,10 @@ export namespace Prisma { * Select specific fields to fetch from the ManyRequired */ select?: ManyRequiredSelect | null + /** + * Omit specific fields from the ManyRequired + */ + omit?: ManyRequiredOmit | null /** * Choose, which related nodes to fetch as well */ @@ -8947,6 +9244,10 @@ export namespace Prisma { * Select specific fields to fetch from the ManyRequired */ select?: ManyRequiredSelect | null + /** + * Omit specific fields from the ManyRequired + */ + omit?: ManyRequiredOmit | null /** * Choose, which related nodes to fetch as well */ @@ -8965,6 +9266,10 @@ export namespace Prisma { * Select specific fields to fetch from the ManyRequired */ select?: ManyRequiredSelect | null + /** + * Omit specific fields from the ManyRequired + */ + omit?: ManyRequiredOmit | null /** * Choose, which related nodes to fetch as well */ @@ -9013,6 +9318,10 @@ export namespace Prisma { * Select specific fields to fetch from the ManyRequired */ select?: ManyRequiredSelect | null + /** + * Omit specific fields from the ManyRequired + */ + omit?: ManyRequiredOmit | null /** * Choose, which related nodes to fetch as well */ @@ -9061,6 +9370,10 @@ export namespace Prisma { * Select specific fields to fetch from the ManyRequired */ select?: ManyRequiredSelect | null + /** + * Omit specific fields from the ManyRequired + */ + omit?: ManyRequiredOmit | null /** * Choose, which related nodes to fetch as well */ @@ -9104,6 +9417,10 @@ export namespace Prisma { * Select specific fields to fetch from the ManyRequired */ select?: ManyRequiredSelect | null + /** + * Omit specific fields from the ManyRequired + */ + omit?: ManyRequiredOmit | null /** * Choose, which related nodes to fetch as well */ @@ -9133,6 +9450,10 @@ export namespace Prisma { * Select specific fields to fetch from the ManyRequired */ select?: ManyRequiredSelectCreateManyAndReturn | null + /** + * Omit specific fields from the ManyRequired + */ + omit?: ManyRequiredOmit | null /** * The data used to create many ManyRequireds. */ @@ -9152,6 +9473,10 @@ export namespace Prisma { * Select specific fields to fetch from the ManyRequired */ select?: ManyRequiredSelect | null + /** + * Omit specific fields from the ManyRequired + */ + omit?: ManyRequiredOmit | null /** * Choose, which related nodes to fetch as well */ @@ -9188,6 +9513,10 @@ export namespace Prisma { * Select specific fields to fetch from the ManyRequired */ select?: ManyRequiredSelectUpdateManyAndReturn | null + /** + * Omit specific fields from the ManyRequired + */ + omit?: ManyRequiredOmit | null /** * The data used to update ManyRequireds. */ @@ -9210,6 +9539,10 @@ export namespace Prisma { * Select specific fields to fetch from the ManyRequired */ select?: ManyRequiredSelect | null + /** + * Omit specific fields from the ManyRequired + */ + omit?: ManyRequiredOmit | null /** * Choose, which related nodes to fetch as well */ @@ -9236,6 +9569,10 @@ export namespace Prisma { * Select specific fields to fetch from the ManyRequired */ select?: ManyRequiredSelect | null + /** + * Omit specific fields from the ManyRequired + */ + omit?: ManyRequiredOmit | null /** * Choose, which related nodes to fetch as well */ @@ -9264,6 +9601,10 @@ export namespace Prisma { * Select specific fields to fetch from the OneOptional */ select?: OneOptionalSelect | null + /** + * Omit specific fields from the OneOptional + */ + omit?: OneOptionalOmit | null /** * Choose, which related nodes to fetch as well */ @@ -9279,6 +9620,10 @@ export namespace Prisma { * Select specific fields to fetch from the ManyRequired */ select?: ManyRequiredSelect | null + /** + * Omit specific fields from the ManyRequired + */ + omit?: ManyRequiredOmit | null /** * Choose, which related nodes to fetch as well */ @@ -9624,6 +9969,7 @@ export namespace Prisma { optionalBoolean?: boolean } + export type OptionalSide1Omit = $Extensions.GetOmit<"id" | "optionalSide2Id" | "int" | "optionalInt" | "float" | "optionalFloat" | "string" | "optionalString" | "json" | "optionalJson" | "enum" | "optionalEnum" | "boolean" | "optionalBoolean", ExtArgs["result"]["optionalSide1"]> export type OptionalSide1Include = { opti?: boolean | OptionalSide1$optiArgs } @@ -9661,11 +10007,11 @@ export namespace Prisma { type OptionalSide1GetPayload = $Result.GetResult type OptionalSide1CountArgs = - Omit & { + Omit & { select?: OptionalSide1CountAggregateInputType | true } - export interface OptionalSide1Delegate { + export interface OptionalSide1Delegate { [K: symbol]: { types: Prisma.TypeMap['model']['OptionalSide1'], meta: { name: 'OptionalSide1' } } /** * Find zero or one OptionalSide1 that matches the filter. @@ -9678,7 +10024,7 @@ export namespace Prisma { * } * }) */ - findUnique(args: SelectSubset>): Prisma__OptionalSide1Client<$Result.GetResult, T, "findUnique"> | null, null, ExtArgs> + findUnique(args: SelectSubset>): Prisma__OptionalSide1Client<$Result.GetResult, T, "findUnique", ClientOptions> | null, null, ExtArgs, ClientOptions> /** * Find one OptionalSide1 that matches the filter or throw an error with \`error.code='P2025'\` @@ -9692,7 +10038,7 @@ export namespace Prisma { * } * }) */ - findUniqueOrThrow(args: SelectSubset>): Prisma__OptionalSide1Client<$Result.GetResult, T, "findUniqueOrThrow">, never, ExtArgs> + findUniqueOrThrow(args: SelectSubset>): Prisma__OptionalSide1Client<$Result.GetResult, T, "findUniqueOrThrow", ClientOptions>, never, ExtArgs, ClientOptions> /** * Find the first OptionalSide1 that matches the filter. @@ -9707,7 +10053,7 @@ export namespace Prisma { * } * }) */ - findFirst(args?: SelectSubset>): Prisma__OptionalSide1Client<$Result.GetResult, T, "findFirst"> | null, null, ExtArgs> + findFirst(args?: SelectSubset>): Prisma__OptionalSide1Client<$Result.GetResult, T, "findFirst", ClientOptions> | null, null, ExtArgs, ClientOptions> /** * Find the first OptionalSide1 that matches the filter or @@ -9723,7 +10069,7 @@ export namespace Prisma { * } * }) */ - findFirstOrThrow(args?: SelectSubset>): Prisma__OptionalSide1Client<$Result.GetResult, T, "findFirstOrThrow">, never, ExtArgs> + findFirstOrThrow(args?: SelectSubset>): Prisma__OptionalSide1Client<$Result.GetResult, T, "findFirstOrThrow", ClientOptions>, never, ExtArgs, ClientOptions> /** * Find zero or more OptionalSide1s that matches the filter. @@ -9741,7 +10087,7 @@ export namespace Prisma { * const optionalSide1WithIdOnly = await prisma.optionalSide1.findMany({ select: { id: true } }) * */ - findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany">> + findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", ClientOptions>> /** * Create a OptionalSide1. @@ -9755,7 +10101,7 @@ export namespace Prisma { * }) * */ - create(args: SelectSubset>): Prisma__OptionalSide1Client<$Result.GetResult, T, "create">, never, ExtArgs> + create(args: SelectSubset>): Prisma__OptionalSide1Client<$Result.GetResult, T, "create", ClientOptions>, never, ExtArgs, ClientOptions> /** * Create many OptionalSide1s. @@ -9793,7 +10139,7 @@ export namespace Prisma { * Read more here: https://pris.ly/d/null-undefined * */ - createManyAndReturn(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "createManyAndReturn">> + createManyAndReturn(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "createManyAndReturn", ClientOptions>> /** * Delete a OptionalSide1. @@ -9807,7 +10153,7 @@ export namespace Prisma { * }) * */ - delete(args: SelectSubset>): Prisma__OptionalSide1Client<$Result.GetResult, T, "delete">, never, ExtArgs> + delete(args: SelectSubset>): Prisma__OptionalSide1Client<$Result.GetResult, T, "delete", ClientOptions>, never, ExtArgs, ClientOptions> /** * Update one OptionalSide1. @@ -9824,7 +10170,7 @@ export namespace Prisma { * }) * */ - update(args: SelectSubset>): Prisma__OptionalSide1Client<$Result.GetResult, T, "update">, never, ExtArgs> + update(args: SelectSubset>): Prisma__OptionalSide1Client<$Result.GetResult, T, "update", ClientOptions>, never, ExtArgs, ClientOptions> /** * Delete zero or more OptionalSide1s. @@ -9887,7 +10233,7 @@ export namespace Prisma { * Read more here: https://pris.ly/d/null-undefined * */ - updateManyAndReturn(args: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "updateManyAndReturn">> + updateManyAndReturn(args: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "updateManyAndReturn", ClientOptions>> /** * Create or update one OptionalSide1. @@ -9906,7 +10252,7 @@ export namespace Prisma { * } * }) */ - upsert(args: SelectSubset>): Prisma__OptionalSide1Client<$Result.GetResult, T, "upsert">, never, ExtArgs> + upsert(args: SelectSubset>): Prisma__OptionalSide1Client<$Result.GetResult, T, "upsert", ClientOptions>, never, ExtArgs, ClientOptions> /** @@ -10046,9 +10392,9 @@ export namespace Prisma { * Because we want to prevent naming conflicts as mentioned in * https://github.com/prisma/prisma-client-js/issues/707 */ - export interface Prisma__OptionalSide1Client extends Prisma.PrismaPromise { + export interface Prisma__OptionalSide1Client extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" - opti = {}>(args?: Subset>): Prisma__OptionalSide2Client<$Result.GetResult, T, "findUniqueOrThrow"> | null, null, ExtArgs> + opti = {}>(args?: Subset>): Prisma__OptionalSide2Client<$Result.GetResult, T, "findUniqueOrThrow", ClientOptions> | null, null, ExtArgs, ClientOptions> /** * Attaches callbacks for the resolution and/or rejection of the Promise. * @param onfulfilled The callback to execute when the Promise is resolved. @@ -10104,6 +10450,10 @@ export namespace Prisma { * Select specific fields to fetch from the OptionalSide1 */ select?: OptionalSide1Select | null + /** + * Omit specific fields from the OptionalSide1 + */ + omit?: OptionalSide1Omit | null /** * Choose, which related nodes to fetch as well */ @@ -10122,6 +10472,10 @@ export namespace Prisma { * Select specific fields to fetch from the OptionalSide1 */ select?: OptionalSide1Select | null + /** + * Omit specific fields from the OptionalSide1 + */ + omit?: OptionalSide1Omit | null /** * Choose, which related nodes to fetch as well */ @@ -10140,6 +10494,10 @@ export namespace Prisma { * Select specific fields to fetch from the OptionalSide1 */ select?: OptionalSide1Select | null + /** + * Omit specific fields from the OptionalSide1 + */ + omit?: OptionalSide1Omit | null /** * Choose, which related nodes to fetch as well */ @@ -10188,6 +10546,10 @@ export namespace Prisma { * Select specific fields to fetch from the OptionalSide1 */ select?: OptionalSide1Select | null + /** + * Omit specific fields from the OptionalSide1 + */ + omit?: OptionalSide1Omit | null /** * Choose, which related nodes to fetch as well */ @@ -10236,6 +10598,10 @@ export namespace Prisma { * Select specific fields to fetch from the OptionalSide1 */ select?: OptionalSide1Select | null + /** + * Omit specific fields from the OptionalSide1 + */ + omit?: OptionalSide1Omit | null /** * Choose, which related nodes to fetch as well */ @@ -10279,6 +10645,10 @@ export namespace Prisma { * Select specific fields to fetch from the OptionalSide1 */ select?: OptionalSide1Select | null + /** + * Omit specific fields from the OptionalSide1 + */ + omit?: OptionalSide1Omit | null /** * Choose, which related nodes to fetch as well */ @@ -10308,6 +10678,10 @@ export namespace Prisma { * Select specific fields to fetch from the OptionalSide1 */ select?: OptionalSide1SelectCreateManyAndReturn | null + /** + * Omit specific fields from the OptionalSide1 + */ + omit?: OptionalSide1Omit | null /** * The data used to create many OptionalSide1s. */ @@ -10327,6 +10701,10 @@ export namespace Prisma { * Select specific fields to fetch from the OptionalSide1 */ select?: OptionalSide1Select | null + /** + * Omit specific fields from the OptionalSide1 + */ + omit?: OptionalSide1Omit | null /** * Choose, which related nodes to fetch as well */ @@ -10363,6 +10741,10 @@ export namespace Prisma { * Select specific fields to fetch from the OptionalSide1 */ select?: OptionalSide1SelectUpdateManyAndReturn | null + /** + * Omit specific fields from the OptionalSide1 + */ + omit?: OptionalSide1Omit | null /** * The data used to update OptionalSide1s. */ @@ -10385,6 +10767,10 @@ export namespace Prisma { * Select specific fields to fetch from the OptionalSide1 */ select?: OptionalSide1Select | null + /** + * Omit specific fields from the OptionalSide1 + */ + omit?: OptionalSide1Omit | null /** * Choose, which related nodes to fetch as well */ @@ -10411,6 +10797,10 @@ export namespace Prisma { * Select specific fields to fetch from the OptionalSide1 */ select?: OptionalSide1Select | null + /** + * Omit specific fields from the OptionalSide1 + */ + omit?: OptionalSide1Omit | null /** * Choose, which related nodes to fetch as well */ @@ -10439,6 +10829,10 @@ export namespace Prisma { * Select specific fields to fetch from the OptionalSide2 */ select?: OptionalSide2Select | null + /** + * Omit specific fields from the OptionalSide2 + */ + omit?: OptionalSide2Omit | null /** * Choose, which related nodes to fetch as well */ @@ -10454,6 +10848,10 @@ export namespace Prisma { * Select specific fields to fetch from the OptionalSide1 */ select?: OptionalSide1Select | null + /** + * Omit specific fields from the OptionalSide1 + */ + omit?: OptionalSide1Omit | null /** * Choose, which related nodes to fetch as well */ @@ -10782,6 +11180,7 @@ export namespace Prisma { optionalBoolean?: boolean } + export type OptionalSide2Omit = $Extensions.GetOmit<"id" | "int" | "optionalInt" | "float" | "optionalFloat" | "string" | "optionalString" | "json" | "optionalJson" | "enum" | "optionalEnum" | "boolean" | "optionalBoolean", ExtArgs["result"]["optionalSide2"]> export type OptionalSide2Include = { opti?: boolean | OptionalSide2$optiArgs } @@ -10814,11 +11213,11 @@ export namespace Prisma { type OptionalSide2GetPayload = $Result.GetResult type OptionalSide2CountArgs = - Omit & { + Omit & { select?: OptionalSide2CountAggregateInputType | true } - export interface OptionalSide2Delegate { + export interface OptionalSide2Delegate { [K: symbol]: { types: Prisma.TypeMap['model']['OptionalSide2'], meta: { name: 'OptionalSide2' } } /** * Find zero or one OptionalSide2 that matches the filter. @@ -10831,7 +11230,7 @@ export namespace Prisma { * } * }) */ - findUnique(args: SelectSubset>): Prisma__OptionalSide2Client<$Result.GetResult, T, "findUnique"> | null, null, ExtArgs> + findUnique(args: SelectSubset>): Prisma__OptionalSide2Client<$Result.GetResult, T, "findUnique", ClientOptions> | null, null, ExtArgs, ClientOptions> /** * Find one OptionalSide2 that matches the filter or throw an error with \`error.code='P2025'\` @@ -10845,7 +11244,7 @@ export namespace Prisma { * } * }) */ - findUniqueOrThrow(args: SelectSubset>): Prisma__OptionalSide2Client<$Result.GetResult, T, "findUniqueOrThrow">, never, ExtArgs> + findUniqueOrThrow(args: SelectSubset>): Prisma__OptionalSide2Client<$Result.GetResult, T, "findUniqueOrThrow", ClientOptions>, never, ExtArgs, ClientOptions> /** * Find the first OptionalSide2 that matches the filter. @@ -10860,7 +11259,7 @@ export namespace Prisma { * } * }) */ - findFirst(args?: SelectSubset>): Prisma__OptionalSide2Client<$Result.GetResult, T, "findFirst"> | null, null, ExtArgs> + findFirst(args?: SelectSubset>): Prisma__OptionalSide2Client<$Result.GetResult, T, "findFirst", ClientOptions> | null, null, ExtArgs, ClientOptions> /** * Find the first OptionalSide2 that matches the filter or @@ -10876,7 +11275,7 @@ export namespace Prisma { * } * }) */ - findFirstOrThrow(args?: SelectSubset>): Prisma__OptionalSide2Client<$Result.GetResult, T, "findFirstOrThrow">, never, ExtArgs> + findFirstOrThrow(args?: SelectSubset>): Prisma__OptionalSide2Client<$Result.GetResult, T, "findFirstOrThrow", ClientOptions>, never, ExtArgs, ClientOptions> /** * Find zero or more OptionalSide2s that matches the filter. @@ -10894,7 +11293,7 @@ export namespace Prisma { * const optionalSide2WithIdOnly = await prisma.optionalSide2.findMany({ select: { id: true } }) * */ - findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany">> + findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", ClientOptions>> /** * Create a OptionalSide2. @@ -10908,7 +11307,7 @@ export namespace Prisma { * }) * */ - create(args: SelectSubset>): Prisma__OptionalSide2Client<$Result.GetResult, T, "create">, never, ExtArgs> + create(args: SelectSubset>): Prisma__OptionalSide2Client<$Result.GetResult, T, "create", ClientOptions>, never, ExtArgs, ClientOptions> /** * Create many OptionalSide2s. @@ -10946,7 +11345,7 @@ export namespace Prisma { * Read more here: https://pris.ly/d/null-undefined * */ - createManyAndReturn(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "createManyAndReturn">> + createManyAndReturn(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "createManyAndReturn", ClientOptions>> /** * Delete a OptionalSide2. @@ -10960,7 +11359,7 @@ export namespace Prisma { * }) * */ - delete(args: SelectSubset>): Prisma__OptionalSide2Client<$Result.GetResult, T, "delete">, never, ExtArgs> + delete(args: SelectSubset>): Prisma__OptionalSide2Client<$Result.GetResult, T, "delete", ClientOptions>, never, ExtArgs, ClientOptions> /** * Update one OptionalSide2. @@ -10977,7 +11376,7 @@ export namespace Prisma { * }) * */ - update(args: SelectSubset>): Prisma__OptionalSide2Client<$Result.GetResult, T, "update">, never, ExtArgs> + update(args: SelectSubset>): Prisma__OptionalSide2Client<$Result.GetResult, T, "update", ClientOptions>, never, ExtArgs, ClientOptions> /** * Delete zero or more OptionalSide2s. @@ -11040,7 +11439,7 @@ export namespace Prisma { * Read more here: https://pris.ly/d/null-undefined * */ - updateManyAndReturn(args: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "updateManyAndReturn">> + updateManyAndReturn(args: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "updateManyAndReturn", ClientOptions>> /** * Create or update one OptionalSide2. @@ -11059,7 +11458,7 @@ export namespace Prisma { * } * }) */ - upsert(args: SelectSubset>): Prisma__OptionalSide2Client<$Result.GetResult, T, "upsert">, never, ExtArgs> + upsert(args: SelectSubset>): Prisma__OptionalSide2Client<$Result.GetResult, T, "upsert", ClientOptions>, never, ExtArgs, ClientOptions> /** @@ -11199,9 +11598,9 @@ export namespace Prisma { * Because we want to prevent naming conflicts as mentioned in * https://github.com/prisma/prisma-client-js/issues/707 */ - export interface Prisma__OptionalSide2Client extends Prisma.PrismaPromise { + export interface Prisma__OptionalSide2Client extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" - opti = {}>(args?: Subset>): Prisma__OptionalSide1Client<$Result.GetResult, T, "findUniqueOrThrow"> | null, null, ExtArgs> + opti = {}>(args?: Subset>): Prisma__OptionalSide1Client<$Result.GetResult, T, "findUniqueOrThrow", ClientOptions> | null, null, ExtArgs, ClientOptions> /** * Attaches callbacks for the resolution and/or rejection of the Promise. * @param onfulfilled The callback to execute when the Promise is resolved. @@ -11256,6 +11655,10 @@ export namespace Prisma { * Select specific fields to fetch from the OptionalSide2 */ select?: OptionalSide2Select | null + /** + * Omit specific fields from the OptionalSide2 + */ + omit?: OptionalSide2Omit | null /** * Choose, which related nodes to fetch as well */ @@ -11274,6 +11677,10 @@ export namespace Prisma { * Select specific fields to fetch from the OptionalSide2 */ select?: OptionalSide2Select | null + /** + * Omit specific fields from the OptionalSide2 + */ + omit?: OptionalSide2Omit | null /** * Choose, which related nodes to fetch as well */ @@ -11292,6 +11699,10 @@ export namespace Prisma { * Select specific fields to fetch from the OptionalSide2 */ select?: OptionalSide2Select | null + /** + * Omit specific fields from the OptionalSide2 + */ + omit?: OptionalSide2Omit | null /** * Choose, which related nodes to fetch as well */ @@ -11340,6 +11751,10 @@ export namespace Prisma { * Select specific fields to fetch from the OptionalSide2 */ select?: OptionalSide2Select | null + /** + * Omit specific fields from the OptionalSide2 + */ + omit?: OptionalSide2Omit | null /** * Choose, which related nodes to fetch as well */ @@ -11388,6 +11803,10 @@ export namespace Prisma { * Select specific fields to fetch from the OptionalSide2 */ select?: OptionalSide2Select | null + /** + * Omit specific fields from the OptionalSide2 + */ + omit?: OptionalSide2Omit | null /** * Choose, which related nodes to fetch as well */ @@ -11431,6 +11850,10 @@ export namespace Prisma { * Select specific fields to fetch from the OptionalSide2 */ select?: OptionalSide2Select | null + /** + * Omit specific fields from the OptionalSide2 + */ + omit?: OptionalSide2Omit | null /** * Choose, which related nodes to fetch as well */ @@ -11460,6 +11883,10 @@ export namespace Prisma { * Select specific fields to fetch from the OptionalSide2 */ select?: OptionalSide2SelectCreateManyAndReturn | null + /** + * Omit specific fields from the OptionalSide2 + */ + omit?: OptionalSide2Omit | null /** * The data used to create many OptionalSide2s. */ @@ -11475,6 +11902,10 @@ export namespace Prisma { * Select specific fields to fetch from the OptionalSide2 */ select?: OptionalSide2Select | null + /** + * Omit specific fields from the OptionalSide2 + */ + omit?: OptionalSide2Omit | null /** * Choose, which related nodes to fetch as well */ @@ -11511,6 +11942,10 @@ export namespace Prisma { * Select specific fields to fetch from the OptionalSide2 */ select?: OptionalSide2SelectUpdateManyAndReturn | null + /** + * Omit specific fields from the OptionalSide2 + */ + omit?: OptionalSide2Omit | null /** * The data used to update OptionalSide2s. */ @@ -11529,6 +11964,10 @@ export namespace Prisma { * Select specific fields to fetch from the OptionalSide2 */ select?: OptionalSide2Select | null + /** + * Omit specific fields from the OptionalSide2 + */ + omit?: OptionalSide2Omit | null /** * Choose, which related nodes to fetch as well */ @@ -11555,6 +11994,10 @@ export namespace Prisma { * Select specific fields to fetch from the OptionalSide2 */ select?: OptionalSide2Select | null + /** + * Omit specific fields from the OptionalSide2 + */ + omit?: OptionalSide2Omit | null /** * Choose, which related nodes to fetch as well */ @@ -11583,6 +12026,10 @@ export namespace Prisma { * Select specific fields to fetch from the OptionalSide1 */ select?: OptionalSide1Select | null + /** + * Omit specific fields from the OptionalSide1 + */ + omit?: OptionalSide1Omit | null /** * Choose, which related nodes to fetch as well */ @@ -11598,6 +12045,10 @@ export namespace Prisma { * Select specific fields to fetch from the OptionalSide2 */ select?: OptionalSide2Select | null + /** + * Omit specific fields from the OptionalSide2 + */ + omit?: OptionalSide2Omit | null /** * Choose, which related nodes to fetch as well */ @@ -11893,6 +12344,7 @@ export namespace Prisma { inc_bInt?: boolean } + export type AOmit = $Extensions.GetOmit<"id" | "email" | "name" | "int" | "sInt" | "bInt" | "inc_int" | "inc_sInt" | "inc_bInt", ExtArgs["result"]["a"]> export type $APayload = { name: "A" @@ -11920,11 +12372,11 @@ export namespace Prisma { type AGetPayload = $Result.GetResult type ACountArgs = - Omit & { + Omit & { select?: ACountAggregateInputType | true } - export interface ADelegate { + export interface ADelegate { [K: symbol]: { types: Prisma.TypeMap['model']['A'], meta: { name: 'A' } } /** * Find zero or one A that matches the filter. @@ -11937,7 +12389,7 @@ export namespace Prisma { * } * }) */ - findUnique(args: SelectSubset>): Prisma__AClient<$Result.GetResult, T, "findUnique"> | null, null, ExtArgs> + findUnique(args: SelectSubset>): Prisma__AClient<$Result.GetResult, T, "findUnique", ClientOptions> | null, null, ExtArgs, ClientOptions> /** * Find one A that matches the filter or throw an error with \`error.code='P2025'\` @@ -11951,7 +12403,7 @@ export namespace Prisma { * } * }) */ - findUniqueOrThrow(args: SelectSubset>): Prisma__AClient<$Result.GetResult, T, "findUniqueOrThrow">, never, ExtArgs> + findUniqueOrThrow(args: SelectSubset>): Prisma__AClient<$Result.GetResult, T, "findUniqueOrThrow", ClientOptions>, never, ExtArgs, ClientOptions> /** * Find the first A that matches the filter. @@ -11966,7 +12418,7 @@ export namespace Prisma { * } * }) */ - findFirst(args?: SelectSubset>): Prisma__AClient<$Result.GetResult, T, "findFirst"> | null, null, ExtArgs> + findFirst(args?: SelectSubset>): Prisma__AClient<$Result.GetResult, T, "findFirst", ClientOptions> | null, null, ExtArgs, ClientOptions> /** * Find the first A that matches the filter or @@ -11982,7 +12434,7 @@ export namespace Prisma { * } * }) */ - findFirstOrThrow(args?: SelectSubset>): Prisma__AClient<$Result.GetResult, T, "findFirstOrThrow">, never, ExtArgs> + findFirstOrThrow(args?: SelectSubset>): Prisma__AClient<$Result.GetResult, T, "findFirstOrThrow", ClientOptions>, never, ExtArgs, ClientOptions> /** * Find zero or more As that matches the filter. @@ -12000,7 +12452,7 @@ export namespace Prisma { * const aWithIdOnly = await prisma.a.findMany({ select: { id: true } }) * */ - findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany">> + findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", ClientOptions>> /** * Create a A. @@ -12014,7 +12466,7 @@ export namespace Prisma { * }) * */ - create(args: SelectSubset>): Prisma__AClient<$Result.GetResult, T, "create">, never, ExtArgs> + create(args: SelectSubset>): Prisma__AClient<$Result.GetResult, T, "create", ClientOptions>, never, ExtArgs, ClientOptions> /** * Create many As. @@ -12052,7 +12504,7 @@ export namespace Prisma { * Read more here: https://pris.ly/d/null-undefined * */ - createManyAndReturn(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "createManyAndReturn">> + createManyAndReturn(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "createManyAndReturn", ClientOptions>> /** * Delete a A. @@ -12066,7 +12518,7 @@ export namespace Prisma { * }) * */ - delete(args: SelectSubset>): Prisma__AClient<$Result.GetResult, T, "delete">, never, ExtArgs> + delete(args: SelectSubset>): Prisma__AClient<$Result.GetResult, T, "delete", ClientOptions>, never, ExtArgs, ClientOptions> /** * Update one A. @@ -12083,7 +12535,7 @@ export namespace Prisma { * }) * */ - update(args: SelectSubset>): Prisma__AClient<$Result.GetResult, T, "update">, never, ExtArgs> + update(args: SelectSubset>): Prisma__AClient<$Result.GetResult, T, "update", ClientOptions>, never, ExtArgs, ClientOptions> /** * Delete zero or more As. @@ -12146,7 +12598,7 @@ export namespace Prisma { * Read more here: https://pris.ly/d/null-undefined * */ - updateManyAndReturn(args: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "updateManyAndReturn">> + updateManyAndReturn(args: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "updateManyAndReturn", ClientOptions>> /** * Create or update one A. @@ -12165,7 +12617,7 @@ export namespace Prisma { * } * }) */ - upsert(args: SelectSubset>): Prisma__AClient<$Result.GetResult, T, "upsert">, never, ExtArgs> + upsert(args: SelectSubset>): Prisma__AClient<$Result.GetResult, T, "upsert", ClientOptions>, never, ExtArgs, ClientOptions> /** @@ -12305,7 +12757,7 @@ export namespace Prisma { * Because we want to prevent naming conflicts as mentioned in * https://github.com/prisma/prisma-client-js/issues/707 */ - export interface Prisma__AClient extends Prisma.PrismaPromise { + export interface Prisma__AClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" /** * Attaches callbacks for the resolution and/or rejection of the Promise. @@ -12357,6 +12809,10 @@ export namespace Prisma { * Select specific fields to fetch from the A */ select?: ASelect | null + /** + * Omit specific fields from the A + */ + omit?: AOmit | null /** * Filter, which A to fetch. */ @@ -12371,6 +12827,10 @@ export namespace Prisma { * Select specific fields to fetch from the A */ select?: ASelect | null + /** + * Omit specific fields from the A + */ + omit?: AOmit | null /** * Filter, which A to fetch. */ @@ -12385,6 +12845,10 @@ export namespace Prisma { * Select specific fields to fetch from the A */ select?: ASelect | null + /** + * Omit specific fields from the A + */ + omit?: AOmit | null /** * Filter, which A to fetch. */ @@ -12429,6 +12893,10 @@ export namespace Prisma { * Select specific fields to fetch from the A */ select?: ASelect | null + /** + * Omit specific fields from the A + */ + omit?: AOmit | null /** * Filter, which A to fetch. */ @@ -12473,6 +12941,10 @@ export namespace Prisma { * Select specific fields to fetch from the A */ select?: ASelect | null + /** + * Omit specific fields from the A + */ + omit?: AOmit | null /** * Filter, which AS to fetch. */ @@ -12512,6 +12984,10 @@ export namespace Prisma { * Select specific fields to fetch from the A */ select?: ASelect | null + /** + * Omit specific fields from the A + */ + omit?: AOmit | null /** * The data needed to create a A. */ @@ -12537,6 +13013,10 @@ export namespace Prisma { * Select specific fields to fetch from the A */ select?: ASelectCreateManyAndReturn | null + /** + * Omit specific fields from the A + */ + omit?: AOmit | null /** * The data used to create many AS. */ @@ -12552,6 +13032,10 @@ export namespace Prisma { * Select specific fields to fetch from the A */ select?: ASelect | null + /** + * Omit specific fields from the A + */ + omit?: AOmit | null /** * The data needed to update a A. */ @@ -12584,6 +13068,10 @@ export namespace Prisma { * Select specific fields to fetch from the A */ select?: ASelectUpdateManyAndReturn | null + /** + * Omit specific fields from the A + */ + omit?: AOmit | null /** * The data used to update AS. */ @@ -12602,6 +13090,10 @@ export namespace Prisma { * Select specific fields to fetch from the A */ select?: ASelect | null + /** + * Omit specific fields from the A + */ + omit?: AOmit | null /** * The filter to search for the A to update in case it exists. */ @@ -12624,6 +13116,10 @@ export namespace Prisma { * Select specific fields to fetch from the A */ select?: ASelect | null + /** + * Omit specific fields from the A + */ + omit?: AOmit | null /** * Filter which A to delete. */ @@ -12648,6 +13144,10 @@ export namespace Prisma { * Select specific fields to fetch from the A */ select?: ASelect | null + /** + * Omit specific fields from the A + */ + omit?: AOmit | null } @@ -12887,6 +13387,7 @@ export namespace Prisma { numFloat?: boolean } + export type BOmit = $Extensions.GetOmit<"id" | "float" | "dFloat" | "decFloat" | "numFloat", ExtArgs["result"]["b"]> export type $BPayload = { name: "B" @@ -12904,11 +13405,11 @@ export namespace Prisma { type BGetPayload = $Result.GetResult type BCountArgs = - Omit & { + Omit & { select?: BCountAggregateInputType | true } - export interface BDelegate { + export interface BDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['B'], meta: { name: 'B' } } /** * Find zero or one B that matches the filter. @@ -12921,7 +13422,7 @@ export namespace Prisma { * } * }) */ - findUnique(args: SelectSubset>): Prisma__BClient<$Result.GetResult, T, "findUnique"> | null, null, ExtArgs> + findUnique(args: SelectSubset>): Prisma__BClient<$Result.GetResult, T, "findUnique", ClientOptions> | null, null, ExtArgs, ClientOptions> /** * Find one B that matches the filter or throw an error with \`error.code='P2025'\` @@ -12935,7 +13436,7 @@ export namespace Prisma { * } * }) */ - findUniqueOrThrow(args: SelectSubset>): Prisma__BClient<$Result.GetResult, T, "findUniqueOrThrow">, never, ExtArgs> + findUniqueOrThrow(args: SelectSubset>): Prisma__BClient<$Result.GetResult, T, "findUniqueOrThrow", ClientOptions>, never, ExtArgs, ClientOptions> /** * Find the first B that matches the filter. @@ -12950,7 +13451,7 @@ export namespace Prisma { * } * }) */ - findFirst(args?: SelectSubset>): Prisma__BClient<$Result.GetResult, T, "findFirst"> | null, null, ExtArgs> + findFirst(args?: SelectSubset>): Prisma__BClient<$Result.GetResult, T, "findFirst", ClientOptions> | null, null, ExtArgs, ClientOptions> /** * Find the first B that matches the filter or @@ -12966,7 +13467,7 @@ export namespace Prisma { * } * }) */ - findFirstOrThrow(args?: SelectSubset>): Prisma__BClient<$Result.GetResult, T, "findFirstOrThrow">, never, ExtArgs> + findFirstOrThrow(args?: SelectSubset>): Prisma__BClient<$Result.GetResult, T, "findFirstOrThrow", ClientOptions>, never, ExtArgs, ClientOptions> /** * Find zero or more Bs that matches the filter. @@ -12984,7 +13485,7 @@ export namespace Prisma { * const bWithIdOnly = await prisma.b.findMany({ select: { id: true } }) * */ - findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany">> + findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", ClientOptions>> /** * Create a B. @@ -12998,7 +13499,7 @@ export namespace Prisma { * }) * */ - create(args: SelectSubset>): Prisma__BClient<$Result.GetResult, T, "create">, never, ExtArgs> + create(args: SelectSubset>): Prisma__BClient<$Result.GetResult, T, "create", ClientOptions>, never, ExtArgs, ClientOptions> /** * Create many Bs. @@ -13036,7 +13537,7 @@ export namespace Prisma { * Read more here: https://pris.ly/d/null-undefined * */ - createManyAndReturn(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "createManyAndReturn">> + createManyAndReturn(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "createManyAndReturn", ClientOptions>> /** * Delete a B. @@ -13050,7 +13551,7 @@ export namespace Prisma { * }) * */ - delete(args: SelectSubset>): Prisma__BClient<$Result.GetResult, T, "delete">, never, ExtArgs> + delete(args: SelectSubset>): Prisma__BClient<$Result.GetResult, T, "delete", ClientOptions>, never, ExtArgs, ClientOptions> /** * Update one B. @@ -13067,7 +13568,7 @@ export namespace Prisma { * }) * */ - update(args: SelectSubset>): Prisma__BClient<$Result.GetResult, T, "update">, never, ExtArgs> + update(args: SelectSubset>): Prisma__BClient<$Result.GetResult, T, "update", ClientOptions>, never, ExtArgs, ClientOptions> /** * Delete zero or more Bs. @@ -13130,7 +13631,7 @@ export namespace Prisma { * Read more here: https://pris.ly/d/null-undefined * */ - updateManyAndReturn(args: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "updateManyAndReturn">> + updateManyAndReturn(args: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "updateManyAndReturn", ClientOptions>> /** * Create or update one B. @@ -13149,7 +13650,7 @@ export namespace Prisma { * } * }) */ - upsert(args: SelectSubset>): Prisma__BClient<$Result.GetResult, T, "upsert">, never, ExtArgs> + upsert(args: SelectSubset>): Prisma__BClient<$Result.GetResult, T, "upsert", ClientOptions>, never, ExtArgs, ClientOptions> /** @@ -13289,7 +13790,7 @@ export namespace Prisma { * Because we want to prevent naming conflicts as mentioned in * https://github.com/prisma/prisma-client-js/issues/707 */ - export interface Prisma__BClient extends Prisma.PrismaPromise { + export interface Prisma__BClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" /** * Attaches callbacks for the resolution and/or rejection of the Promise. @@ -13337,6 +13838,10 @@ export namespace Prisma { * Select specific fields to fetch from the B */ select?: BSelect | null + /** + * Omit specific fields from the B + */ + omit?: BOmit | null /** * Filter, which B to fetch. */ @@ -13351,6 +13856,10 @@ export namespace Prisma { * Select specific fields to fetch from the B */ select?: BSelect | null + /** + * Omit specific fields from the B + */ + omit?: BOmit | null /** * Filter, which B to fetch. */ @@ -13365,6 +13874,10 @@ export namespace Prisma { * Select specific fields to fetch from the B */ select?: BSelect | null + /** + * Omit specific fields from the B + */ + omit?: BOmit | null /** * Filter, which B to fetch. */ @@ -13409,6 +13922,10 @@ export namespace Prisma { * Select specific fields to fetch from the B */ select?: BSelect | null + /** + * Omit specific fields from the B + */ + omit?: BOmit | null /** * Filter, which B to fetch. */ @@ -13453,6 +13970,10 @@ export namespace Prisma { * Select specific fields to fetch from the B */ select?: BSelect | null + /** + * Omit specific fields from the B + */ + omit?: BOmit | null /** * Filter, which BS to fetch. */ @@ -13492,6 +14013,10 @@ export namespace Prisma { * Select specific fields to fetch from the B */ select?: BSelect | null + /** + * Omit specific fields from the B + */ + omit?: BOmit | null /** * The data needed to create a B. */ @@ -13517,6 +14042,10 @@ export namespace Prisma { * Select specific fields to fetch from the B */ select?: BSelectCreateManyAndReturn | null + /** + * Omit specific fields from the B + */ + omit?: BOmit | null /** * The data used to create many BS. */ @@ -13532,6 +14061,10 @@ export namespace Prisma { * Select specific fields to fetch from the B */ select?: BSelect | null + /** + * Omit specific fields from the B + */ + omit?: BOmit | null /** * The data needed to update a B. */ @@ -13564,6 +14097,10 @@ export namespace Prisma { * Select specific fields to fetch from the B */ select?: BSelectUpdateManyAndReturn | null + /** + * Omit specific fields from the B + */ + omit?: BOmit | null /** * The data used to update BS. */ @@ -13582,6 +14119,10 @@ export namespace Prisma { * Select specific fields to fetch from the B */ select?: BSelect | null + /** + * Omit specific fields from the B + */ + omit?: BOmit | null /** * The filter to search for the B to update in case it exists. */ @@ -13604,6 +14145,10 @@ export namespace Prisma { * Select specific fields to fetch from the B */ select?: BSelect | null + /** + * Omit specific fields from the B + */ + omit?: BOmit | null /** * Filter which B to delete. */ @@ -13628,6 +14173,10 @@ export namespace Prisma { * Select specific fields to fetch from the B */ select?: BSelect | null + /** + * Omit specific fields from the B + */ + omit?: BOmit | null } @@ -13843,6 +14392,7 @@ export namespace Prisma { uuid?: boolean } + export type COmit = $Extensions.GetOmit<"id" | "char" | "vChar" | "text" | "bit" | "vBit" | "uuid", ExtArgs["result"]["c"]> export type $CPayload = { name: "C" @@ -13862,11 +14412,11 @@ export namespace Prisma { type CGetPayload = $Result.GetResult type CCountArgs = - Omit & { + Omit & { select?: CCountAggregateInputType | true } - export interface CDelegate { + export interface CDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['C'], meta: { name: 'C' } } /** * Find zero or one C that matches the filter. @@ -13879,7 +14429,7 @@ export namespace Prisma { * } * }) */ - findUnique(args: SelectSubset>): Prisma__CClient<$Result.GetResult, T, "findUnique"> | null, null, ExtArgs> + findUnique(args: SelectSubset>): Prisma__CClient<$Result.GetResult, T, "findUnique", ClientOptions> | null, null, ExtArgs, ClientOptions> /** * Find one C that matches the filter or throw an error with \`error.code='P2025'\` @@ -13893,7 +14443,7 @@ export namespace Prisma { * } * }) */ - findUniqueOrThrow(args: SelectSubset>): Prisma__CClient<$Result.GetResult, T, "findUniqueOrThrow">, never, ExtArgs> + findUniqueOrThrow(args: SelectSubset>): Prisma__CClient<$Result.GetResult, T, "findUniqueOrThrow", ClientOptions>, never, ExtArgs, ClientOptions> /** * Find the first C that matches the filter. @@ -13908,7 +14458,7 @@ export namespace Prisma { * } * }) */ - findFirst(args?: SelectSubset>): Prisma__CClient<$Result.GetResult, T, "findFirst"> | null, null, ExtArgs> + findFirst(args?: SelectSubset>): Prisma__CClient<$Result.GetResult, T, "findFirst", ClientOptions> | null, null, ExtArgs, ClientOptions> /** * Find the first C that matches the filter or @@ -13924,7 +14474,7 @@ export namespace Prisma { * } * }) */ - findFirstOrThrow(args?: SelectSubset>): Prisma__CClient<$Result.GetResult, T, "findFirstOrThrow">, never, ExtArgs> + findFirstOrThrow(args?: SelectSubset>): Prisma__CClient<$Result.GetResult, T, "findFirstOrThrow", ClientOptions>, never, ExtArgs, ClientOptions> /** * Find zero or more Cs that matches the filter. @@ -13942,7 +14492,7 @@ export namespace Prisma { * const cWithIdOnly = await prisma.c.findMany({ select: { id: true } }) * */ - findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany">> + findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", ClientOptions>> /** * Create a C. @@ -13956,7 +14506,7 @@ export namespace Prisma { * }) * */ - create(args: SelectSubset>): Prisma__CClient<$Result.GetResult, T, "create">, never, ExtArgs> + create(args: SelectSubset>): Prisma__CClient<$Result.GetResult, T, "create", ClientOptions>, never, ExtArgs, ClientOptions> /** * Create many Cs. @@ -13994,7 +14544,7 @@ export namespace Prisma { * Read more here: https://pris.ly/d/null-undefined * */ - createManyAndReturn(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "createManyAndReturn">> + createManyAndReturn(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "createManyAndReturn", ClientOptions>> /** * Delete a C. @@ -14008,7 +14558,7 @@ export namespace Prisma { * }) * */ - delete(args: SelectSubset>): Prisma__CClient<$Result.GetResult, T, "delete">, never, ExtArgs> + delete(args: SelectSubset>): Prisma__CClient<$Result.GetResult, T, "delete", ClientOptions>, never, ExtArgs, ClientOptions> /** * Update one C. @@ -14025,7 +14575,7 @@ export namespace Prisma { * }) * */ - update(args: SelectSubset>): Prisma__CClient<$Result.GetResult, T, "update">, never, ExtArgs> + update(args: SelectSubset>): Prisma__CClient<$Result.GetResult, T, "update", ClientOptions>, never, ExtArgs, ClientOptions> /** * Delete zero or more Cs. @@ -14088,7 +14638,7 @@ export namespace Prisma { * Read more here: https://pris.ly/d/null-undefined * */ - updateManyAndReturn(args: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "updateManyAndReturn">> + updateManyAndReturn(args: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "updateManyAndReturn", ClientOptions>> /** * Create or update one C. @@ -14107,7 +14657,7 @@ export namespace Prisma { * } * }) */ - upsert(args: SelectSubset>): Prisma__CClient<$Result.GetResult, T, "upsert">, never, ExtArgs> + upsert(args: SelectSubset>): Prisma__CClient<$Result.GetResult, T, "upsert", ClientOptions>, never, ExtArgs, ClientOptions> /** @@ -14247,7 +14797,7 @@ export namespace Prisma { * Because we want to prevent naming conflicts as mentioned in * https://github.com/prisma/prisma-client-js/issues/707 */ - export interface Prisma__CClient extends Prisma.PrismaPromise { + export interface Prisma__CClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" /** * Attaches callbacks for the resolution and/or rejection of the Promise. @@ -14297,6 +14847,10 @@ export namespace Prisma { * Select specific fields to fetch from the C */ select?: CSelect | null + /** + * Omit specific fields from the C + */ + omit?: COmit | null /** * Filter, which C to fetch. */ @@ -14311,6 +14865,10 @@ export namespace Prisma { * Select specific fields to fetch from the C */ select?: CSelect | null + /** + * Omit specific fields from the C + */ + omit?: COmit | null /** * Filter, which C to fetch. */ @@ -14325,6 +14883,10 @@ export namespace Prisma { * Select specific fields to fetch from the C */ select?: CSelect | null + /** + * Omit specific fields from the C + */ + omit?: COmit | null /** * Filter, which C to fetch. */ @@ -14369,6 +14931,10 @@ export namespace Prisma { * Select specific fields to fetch from the C */ select?: CSelect | null + /** + * Omit specific fields from the C + */ + omit?: COmit | null /** * Filter, which C to fetch. */ @@ -14413,6 +14979,10 @@ export namespace Prisma { * Select specific fields to fetch from the C */ select?: CSelect | null + /** + * Omit specific fields from the C + */ + omit?: COmit | null /** * Filter, which CS to fetch. */ @@ -14452,6 +15022,10 @@ export namespace Prisma { * Select specific fields to fetch from the C */ select?: CSelect | null + /** + * Omit specific fields from the C + */ + omit?: COmit | null /** * The data needed to create a C. */ @@ -14477,6 +15051,10 @@ export namespace Prisma { * Select specific fields to fetch from the C */ select?: CSelectCreateManyAndReturn | null + /** + * Omit specific fields from the C + */ + omit?: COmit | null /** * The data used to create many CS. */ @@ -14492,6 +15070,10 @@ export namespace Prisma { * Select specific fields to fetch from the C */ select?: CSelect | null + /** + * Omit specific fields from the C + */ + omit?: COmit | null /** * The data needed to update a C. */ @@ -14524,6 +15106,10 @@ export namespace Prisma { * Select specific fields to fetch from the C */ select?: CSelectUpdateManyAndReturn | null + /** + * Omit specific fields from the C + */ + omit?: COmit | null /** * The data used to update CS. */ @@ -14542,6 +15128,10 @@ export namespace Prisma { * Select specific fields to fetch from the C */ select?: CSelect | null + /** + * Omit specific fields from the C + */ + omit?: COmit | null /** * The filter to search for the C to update in case it exists. */ @@ -14564,6 +15154,10 @@ export namespace Prisma { * Select specific fields to fetch from the C */ select?: CSelect | null + /** + * Omit specific fields from the C + */ + omit?: COmit | null /** * Filter which C to delete. */ @@ -14588,6 +15182,10 @@ export namespace Prisma { * Select specific fields to fetch from the C */ select?: CSelect | null + /** + * Omit specific fields from the C + */ + omit?: COmit | null } @@ -14825,6 +15423,7 @@ export namespace Prisma { list?: boolean } + export type DOmit = $Extensions.GetOmit<"id" | "bool" | "byteA" | "xml" | "json" | "jsonb" | "list", ExtArgs["result"]["d"]> export type $DPayload = { name: "D" @@ -14844,11 +15443,11 @@ export namespace Prisma { type DGetPayload = $Result.GetResult type DCountArgs = - Omit & { + Omit & { select?: DCountAggregateInputType | true } - export interface DDelegate { + export interface DDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['D'], meta: { name: 'D' } } /** * Find zero or one D that matches the filter. @@ -14861,7 +15460,7 @@ export namespace Prisma { * } * }) */ - findUnique(args: SelectSubset>): Prisma__DClient<$Result.GetResult, T, "findUnique"> | null, null, ExtArgs> + findUnique(args: SelectSubset>): Prisma__DClient<$Result.GetResult, T, "findUnique", ClientOptions> | null, null, ExtArgs, ClientOptions> /** * Find one D that matches the filter or throw an error with \`error.code='P2025'\` @@ -14875,7 +15474,7 @@ export namespace Prisma { * } * }) */ - findUniqueOrThrow(args: SelectSubset>): Prisma__DClient<$Result.GetResult, T, "findUniqueOrThrow">, never, ExtArgs> + findUniqueOrThrow(args: SelectSubset>): Prisma__DClient<$Result.GetResult, T, "findUniqueOrThrow", ClientOptions>, never, ExtArgs, ClientOptions> /** * Find the first D that matches the filter. @@ -14890,7 +15489,7 @@ export namespace Prisma { * } * }) */ - findFirst(args?: SelectSubset>): Prisma__DClient<$Result.GetResult, T, "findFirst"> | null, null, ExtArgs> + findFirst(args?: SelectSubset>): Prisma__DClient<$Result.GetResult, T, "findFirst", ClientOptions> | null, null, ExtArgs, ClientOptions> /** * Find the first D that matches the filter or @@ -14906,7 +15505,7 @@ export namespace Prisma { * } * }) */ - findFirstOrThrow(args?: SelectSubset>): Prisma__DClient<$Result.GetResult, T, "findFirstOrThrow">, never, ExtArgs> + findFirstOrThrow(args?: SelectSubset>): Prisma__DClient<$Result.GetResult, T, "findFirstOrThrow", ClientOptions>, never, ExtArgs, ClientOptions> /** * Find zero or more Ds that matches the filter. @@ -14924,7 +15523,7 @@ export namespace Prisma { * const dWithIdOnly = await prisma.d.findMany({ select: { id: true } }) * */ - findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany">> + findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", ClientOptions>> /** * Create a D. @@ -14938,7 +15537,7 @@ export namespace Prisma { * }) * */ - create(args: SelectSubset>): Prisma__DClient<$Result.GetResult, T, "create">, never, ExtArgs> + create(args: SelectSubset>): Prisma__DClient<$Result.GetResult, T, "create", ClientOptions>, never, ExtArgs, ClientOptions> /** * Create many Ds. @@ -14976,7 +15575,7 @@ export namespace Prisma { * Read more here: https://pris.ly/d/null-undefined * */ - createManyAndReturn(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "createManyAndReturn">> + createManyAndReturn(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "createManyAndReturn", ClientOptions>> /** * Delete a D. @@ -14990,7 +15589,7 @@ export namespace Prisma { * }) * */ - delete(args: SelectSubset>): Prisma__DClient<$Result.GetResult, T, "delete">, never, ExtArgs> + delete(args: SelectSubset>): Prisma__DClient<$Result.GetResult, T, "delete", ClientOptions>, never, ExtArgs, ClientOptions> /** * Update one D. @@ -15007,7 +15606,7 @@ export namespace Prisma { * }) * */ - update(args: SelectSubset>): Prisma__DClient<$Result.GetResult, T, "update">, never, ExtArgs> + update(args: SelectSubset>): Prisma__DClient<$Result.GetResult, T, "update", ClientOptions>, never, ExtArgs, ClientOptions> /** * Delete zero or more Ds. @@ -15070,7 +15669,7 @@ export namespace Prisma { * Read more here: https://pris.ly/d/null-undefined * */ - updateManyAndReturn(args: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "updateManyAndReturn">> + updateManyAndReturn(args: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "updateManyAndReturn", ClientOptions>> /** * Create or update one D. @@ -15089,7 +15688,7 @@ export namespace Prisma { * } * }) */ - upsert(args: SelectSubset>): Prisma__DClient<$Result.GetResult, T, "upsert">, never, ExtArgs> + upsert(args: SelectSubset>): Prisma__DClient<$Result.GetResult, T, "upsert", ClientOptions>, never, ExtArgs, ClientOptions> /** @@ -15229,7 +15828,7 @@ export namespace Prisma { * Because we want to prevent naming conflicts as mentioned in * https://github.com/prisma/prisma-client-js/issues/707 */ - export interface Prisma__DClient extends Prisma.PrismaPromise { + export interface Prisma__DClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" /** * Attaches callbacks for the resolution and/or rejection of the Promise. @@ -15279,6 +15878,10 @@ export namespace Prisma { * Select specific fields to fetch from the D */ select?: DSelect | null + /** + * Omit specific fields from the D + */ + omit?: DOmit | null /** * Filter, which D to fetch. */ @@ -15293,6 +15896,10 @@ export namespace Prisma { * Select specific fields to fetch from the D */ select?: DSelect | null + /** + * Omit specific fields from the D + */ + omit?: DOmit | null /** * Filter, which D to fetch. */ @@ -15307,6 +15914,10 @@ export namespace Prisma { * Select specific fields to fetch from the D */ select?: DSelect | null + /** + * Omit specific fields from the D + */ + omit?: DOmit | null /** * Filter, which D to fetch. */ @@ -15351,6 +15962,10 @@ export namespace Prisma { * Select specific fields to fetch from the D */ select?: DSelect | null + /** + * Omit specific fields from the D + */ + omit?: DOmit | null /** * Filter, which D to fetch. */ @@ -15395,6 +16010,10 @@ export namespace Prisma { * Select specific fields to fetch from the D */ select?: DSelect | null + /** + * Omit specific fields from the D + */ + omit?: DOmit | null /** * Filter, which DS to fetch. */ @@ -15434,6 +16053,10 @@ export namespace Prisma { * Select specific fields to fetch from the D */ select?: DSelect | null + /** + * Omit specific fields from the D + */ + omit?: DOmit | null /** * The data needed to create a D. */ @@ -15459,6 +16082,10 @@ export namespace Prisma { * Select specific fields to fetch from the D */ select?: DSelectCreateManyAndReturn | null + /** + * Omit specific fields from the D + */ + omit?: DOmit | null /** * The data used to create many DS. */ @@ -15474,6 +16101,10 @@ export namespace Prisma { * Select specific fields to fetch from the D */ select?: DSelect | null + /** + * Omit specific fields from the D + */ + omit?: DOmit | null /** * The data needed to update a D. */ @@ -15506,6 +16137,10 @@ export namespace Prisma { * Select specific fields to fetch from the D */ select?: DSelectUpdateManyAndReturn | null + /** + * Omit specific fields from the D + */ + omit?: DOmit | null /** * The data used to update DS. */ @@ -15524,6 +16159,10 @@ export namespace Prisma { * Select specific fields to fetch from the D */ select?: DSelect | null + /** + * Omit specific fields from the D + */ + omit?: DOmit | null /** * The filter to search for the D to update in case it exists. */ @@ -15546,6 +16185,10 @@ export namespace Prisma { * Select specific fields to fetch from the D */ select?: DSelect | null + /** + * Omit specific fields from the D + */ + omit?: DOmit | null /** * Filter which D to delete. */ @@ -15570,6 +16213,10 @@ export namespace Prisma { * Select specific fields to fetch from the D */ select?: DSelect | null + /** + * Omit specific fields from the D + */ + omit?: DOmit | null } @@ -15752,6 +16399,7 @@ export namespace Prisma { ts?: boolean } + export type EOmit = $Extensions.GetOmit<"id" | "date" | "time" | "ts", ExtArgs["result"]["e"]> export type $EPayload = { name: "E" @@ -15768,11 +16416,11 @@ export namespace Prisma { type EGetPayload = $Result.GetResult type ECountArgs = - Omit & { + Omit & { select?: ECountAggregateInputType | true } - export interface EDelegate { + export interface EDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['E'], meta: { name: 'E' } } /** * Find zero or one E that matches the filter. @@ -15785,7 +16433,7 @@ export namespace Prisma { * } * }) */ - findUnique(args: SelectSubset>): Prisma__EClient<$Result.GetResult, T, "findUnique"> | null, null, ExtArgs> + findUnique(args: SelectSubset>): Prisma__EClient<$Result.GetResult, T, "findUnique", ClientOptions> | null, null, ExtArgs, ClientOptions> /** * Find one E that matches the filter or throw an error with \`error.code='P2025'\` @@ -15799,7 +16447,7 @@ export namespace Prisma { * } * }) */ - findUniqueOrThrow(args: SelectSubset>): Prisma__EClient<$Result.GetResult, T, "findUniqueOrThrow">, never, ExtArgs> + findUniqueOrThrow(args: SelectSubset>): Prisma__EClient<$Result.GetResult, T, "findUniqueOrThrow", ClientOptions>, never, ExtArgs, ClientOptions> /** * Find the first E that matches the filter. @@ -15814,7 +16462,7 @@ export namespace Prisma { * } * }) */ - findFirst(args?: SelectSubset>): Prisma__EClient<$Result.GetResult, T, "findFirst"> | null, null, ExtArgs> + findFirst(args?: SelectSubset>): Prisma__EClient<$Result.GetResult, T, "findFirst", ClientOptions> | null, null, ExtArgs, ClientOptions> /** * Find the first E that matches the filter or @@ -15830,7 +16478,7 @@ export namespace Prisma { * } * }) */ - findFirstOrThrow(args?: SelectSubset>): Prisma__EClient<$Result.GetResult, T, "findFirstOrThrow">, never, ExtArgs> + findFirstOrThrow(args?: SelectSubset>): Prisma__EClient<$Result.GetResult, T, "findFirstOrThrow", ClientOptions>, never, ExtArgs, ClientOptions> /** * Find zero or more Es that matches the filter. @@ -15848,7 +16496,7 @@ export namespace Prisma { * const eWithIdOnly = await prisma.e.findMany({ select: { id: true } }) * */ - findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany">> + findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", ClientOptions>> /** * Create a E. @@ -15862,7 +16510,7 @@ export namespace Prisma { * }) * */ - create(args: SelectSubset>): Prisma__EClient<$Result.GetResult, T, "create">, never, ExtArgs> + create(args: SelectSubset>): Prisma__EClient<$Result.GetResult, T, "create", ClientOptions>, never, ExtArgs, ClientOptions> /** * Create many Es. @@ -15900,7 +16548,7 @@ export namespace Prisma { * Read more here: https://pris.ly/d/null-undefined * */ - createManyAndReturn(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "createManyAndReturn">> + createManyAndReturn(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "createManyAndReturn", ClientOptions>> /** * Delete a E. @@ -15914,7 +16562,7 @@ export namespace Prisma { * }) * */ - delete(args: SelectSubset>): Prisma__EClient<$Result.GetResult, T, "delete">, never, ExtArgs> + delete(args: SelectSubset>): Prisma__EClient<$Result.GetResult, T, "delete", ClientOptions>, never, ExtArgs, ClientOptions> /** * Update one E. @@ -15931,7 +16579,7 @@ export namespace Prisma { * }) * */ - update(args: SelectSubset>): Prisma__EClient<$Result.GetResult, T, "update">, never, ExtArgs> + update(args: SelectSubset>): Prisma__EClient<$Result.GetResult, T, "update", ClientOptions>, never, ExtArgs, ClientOptions> /** * Delete zero or more Es. @@ -15994,7 +16642,7 @@ export namespace Prisma { * Read more here: https://pris.ly/d/null-undefined * */ - updateManyAndReturn(args: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "updateManyAndReturn">> + updateManyAndReturn(args: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "updateManyAndReturn", ClientOptions>> /** * Create or update one E. @@ -16013,7 +16661,7 @@ export namespace Prisma { * } * }) */ - upsert(args: SelectSubset>): Prisma__EClient<$Result.GetResult, T, "upsert">, never, ExtArgs> + upsert(args: SelectSubset>): Prisma__EClient<$Result.GetResult, T, "upsert", ClientOptions>, never, ExtArgs, ClientOptions> /** @@ -16153,7 +16801,7 @@ export namespace Prisma { * Because we want to prevent naming conflicts as mentioned in * https://github.com/prisma/prisma-client-js/issues/707 */ - export interface Prisma__EClient extends Prisma.PrismaPromise { + export interface Prisma__EClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" /** * Attaches callbacks for the resolution and/or rejection of the Promise. @@ -16200,6 +16848,10 @@ export namespace Prisma { * Select specific fields to fetch from the E */ select?: ESelect | null + /** + * Omit specific fields from the E + */ + omit?: EOmit | null /** * Filter, which E to fetch. */ @@ -16214,6 +16866,10 @@ export namespace Prisma { * Select specific fields to fetch from the E */ select?: ESelect | null + /** + * Omit specific fields from the E + */ + omit?: EOmit | null /** * Filter, which E to fetch. */ @@ -16228,6 +16884,10 @@ export namespace Prisma { * Select specific fields to fetch from the E */ select?: ESelect | null + /** + * Omit specific fields from the E + */ + omit?: EOmit | null /** * Filter, which E to fetch. */ @@ -16272,6 +16932,10 @@ export namespace Prisma { * Select specific fields to fetch from the E */ select?: ESelect | null + /** + * Omit specific fields from the E + */ + omit?: EOmit | null /** * Filter, which E to fetch. */ @@ -16316,6 +16980,10 @@ export namespace Prisma { * Select specific fields to fetch from the E */ select?: ESelect | null + /** + * Omit specific fields from the E + */ + omit?: EOmit | null /** * Filter, which ES to fetch. */ @@ -16355,6 +17023,10 @@ export namespace Prisma { * Select specific fields to fetch from the E */ select?: ESelect | null + /** + * Omit specific fields from the E + */ + omit?: EOmit | null /** * The data needed to create a E. */ @@ -16380,6 +17052,10 @@ export namespace Prisma { * Select specific fields to fetch from the E */ select?: ESelectCreateManyAndReturn | null + /** + * Omit specific fields from the E + */ + omit?: EOmit | null /** * The data used to create many ES. */ @@ -16395,6 +17071,10 @@ export namespace Prisma { * Select specific fields to fetch from the E */ select?: ESelect | null + /** + * Omit specific fields from the E + */ + omit?: EOmit | null /** * The data needed to update a E. */ @@ -16427,6 +17107,10 @@ export namespace Prisma { * Select specific fields to fetch from the E */ select?: ESelectUpdateManyAndReturn | null + /** + * Omit specific fields from the E + */ + omit?: EOmit | null /** * The data used to update ES. */ @@ -16445,6 +17129,10 @@ export namespace Prisma { * Select specific fields to fetch from the E */ select?: ESelect | null + /** + * Omit specific fields from the E + */ + omit?: EOmit | null /** * The filter to search for the E to update in case it exists. */ @@ -16467,6 +17155,10 @@ export namespace Prisma { * Select specific fields to fetch from the E */ select?: ESelect | null + /** + * Omit specific fields from the E + */ + omit?: EOmit | null /** * Filter which E to delete. */ @@ -16491,6 +17183,10 @@ export namespace Prisma { * Select specific fields to fetch from the E */ select?: ESelect | null + /** + * Omit specific fields from the E + */ + omit?: EOmit | null } diff --git a/packages/client/src/generation/TSClient/Args.ts b/packages/client/src/generation/TSClient/Args.ts index f8d5907d0fc9..0741f697d40c 100644 --- a/packages/client/src/generation/TSClient/Args.ts +++ b/packages/client/src/generation/TSClient/Args.ts @@ -73,9 +73,6 @@ export class ArgsTypeBuilder { } addOmitArg(): this { - if (!this.context.isPreviewFeatureOn('omitApi')) { - return this - } this.addProperty( ts .property( diff --git a/packages/client/src/generation/TSClient/Model.ts b/packages/client/src/generation/TSClient/Model.ts index 672a568e93c2..286460030260 100644 --- a/packages/client/src/generation/TSClient/Model.ts +++ b/packages/client/src/generation/TSClient/Model.ts @@ -346,11 +346,12 @@ export type ${getAggregateGetName(model.name)} f.kind === 'object') const includeType = hasRelationField @@ -478,16 +479,13 @@ export class ModelDelegate implements Generable { const groupByArgsName = getGroupByArgsName(name) const countArgsName = getModelArgName(name, DMMF.ModelAction.count) - const genericDelegateParams = [extArgsParam] + const genericDelegateParams = [extArgsParam, ts.genericParameter('ClientOptions').default(ts.objectType())] - const excludedArgsForCount = ['select', 'include', 'distinct'] - if (this.context.isPreviewFeatureOn('omitApi')) { - excludedArgsForCount.push('omit') - genericDelegateParams.push(ts.genericParameter('ClientOptions').default(ts.objectType())) - } + const excludedArgsForCount = ['select', 'include', 'distinct', 'omit'] if (this.context.isPreviewFeatureOn('relationJoins')) { excludedArgsForCount.push('relationLoadStrategy') } + const excludedArgsForCountType = excludedArgsForCount.map((name) => `'${name}'`).join(' | ') return `\ @@ -617,7 +615,7 @@ function buildModelDelegateMethod(modelName: string, actionName: DMMF.ModelActio .method(actionName) .setDocComment(ts.docComment(getMethodJSDocBody(actionName, mapping, modelOrType))) .addParameter(getNonAggregateMethodArgs(modelName, actionName)) - .setReturnType(getReturnType({ modelName, actionName, context })) + .setReturnType(getReturnType({ modelName, actionName })) const generic = getNonAggregateMethodGenericParam(modelName, actionName) if (generic) { @@ -627,7 +625,6 @@ function buildModelDelegateMethod(modelName: string, actionName: DMMF.ModelActio } function getNonAggregateMethodArgs(modelName: string, actionName: DMMF.ModelAction) { - getReturnType const makeParameter = (type: ts.TypeBuilder) => ts.parameter('args', type) if (actionName === DMMF.ModelAction.count) { const type = ts.omit( @@ -683,7 +680,6 @@ function getNonAggregateMethodGenericParam(modelName: string, actionName: DMMF.M type GetReturnTypeOptions = { modelName: string actionName: DMMF.ModelAction - context: GenerateContext isChaining?: boolean isNullable?: boolean } @@ -696,7 +692,6 @@ type GetReturnTypeOptions = { export function getReturnType({ modelName, actionName, - context, isChaining = false, isNullable = false, }: GetReturnTypeOptions): ts.TypeBuilder { @@ -728,7 +723,7 @@ export function getReturnType({ * Important: We handle findMany or isList special, as we don't want chaining from there */ if (isList) { - let result: ts.TypeBuilder = getResultType(modelName, actionName, context) + let result: ts.TypeBuilder = getResultType(modelName, actionName) if (isChaining) { result = ts.unionType(result).addVariant(ts.namedType('Null')) } @@ -738,45 +733,34 @@ export function getReturnType({ if (isChaining && actionName === DMMF.ModelAction.findUniqueOrThrow) { const nullType = isNullable ? ts.nullType : ts.namedType('Null') - const result = ts.unionType(getResultType(modelName, actionName, context)).addVariant(nullType) - return getFluentWrapper(modelName, context, result, nullType) + const result = ts.unionType(getResultType(modelName, actionName)).addVariant(nullType) + return getFluentWrapper(modelName, result, nullType) } if (actionName === DMMF.ModelAction.findFirst || actionName === DMMF.ModelAction.findUnique) { - const result = ts.unionType(getResultType(modelName, actionName, context)).addVariant(ts.nullType) - return getFluentWrapper(modelName, context, result, ts.nullType) + const result = ts.unionType(getResultType(modelName, actionName)).addVariant(ts.nullType) + return getFluentWrapper(modelName, result, ts.nullType) } - return getFluentWrapper(modelName, context, getResultType(modelName, actionName, context)) + return getFluentWrapper(modelName, getResultType(modelName, actionName)) } -function getFluentWrapper( - modelName: string, - context: GenerateContext, - resultType: ts.TypeBuilder, - nullType: ts.TypeBuilder = ts.neverType, -) { - const result = ts +function getFluentWrapper(modelName: string, resultType: ts.TypeBuilder, nullType: ts.TypeBuilder = ts.neverType) { + return ts .namedType(fluentWrapperName(modelName)) .addGenericArgument(resultType) .addGenericArgument(nullType) .addGenericArgument(extArgsParam.toArgument()) - if (context.isPreviewFeatureOn('omitApi')) { - result.addGenericArgument(ts.namedType('ClientOptions')) - } - return result + .addGenericArgument(ts.namedType('ClientOptions')) } -function getResultType(modelName: string, actionName: DMMF.ModelAction, context: GenerateContext) { - const result = ts +function getResultType(modelName: string, actionName: DMMF.ModelAction) { + return ts .namedType('$Result.GetResult') .addGenericArgument(ts.namedType(getPayloadName(modelName)).addGenericArgument(extArgsParam.toArgument())) .addGenericArgument(ts.namedType('T')) .addGenericArgument(ts.stringLiteral(actionName)) - if (context.isPreviewFeatureOn('omitApi')) { - result.addGenericArgument(ts.namedType('ClientOptions')) - } - return result + .addGenericArgument(ts.namedType('ClientOptions')) } function buildFluentWrapperDefinition(modelName: string, outputType: DMMF.OutputType, context: GenerateContext) { @@ -785,12 +769,9 @@ function buildFluentWrapperDefinition(modelName: string, outputType: DMMF.Output .addGenericParameter(ts.genericParameter('T')) .addGenericParameter(ts.genericParameter('Null').default(ts.neverType)) .addGenericParameter(extArgsParam) + .addGenericParameter(ts.genericParameter('ClientOptions').default(ts.objectType())) .extends(ts.prismaPromise(ts.namedType('T'))) - if (context.isPreviewFeatureOn('omitApi')) { - definition.addGenericParameter(ts.genericParameter('ClientOptions').default(ts.objectType())) - } - definition.add(ts.property(ts.toStringTag, ts.stringLiteral('PrismaPromise')).readonly()) definition.addMultiple( outputType.fields @@ -815,7 +796,6 @@ function buildFluentWrapperDefinition(modelName: string, outputType: DMMF.Output modelName: field.outputType.type, actionName: field.outputType.isList ? DMMF.ModelAction.findMany : DMMF.ModelAction.findUniqueOrThrow, isChaining: true, - context: context, isNullable: field.isNullable, }), ) diff --git a/packages/client/src/generation/TSClient/PrismaClient.ts b/packages/client/src/generation/TSClient/PrismaClient.ts index dd9bb07d135d..a2d4acad43a9 100644 --- a/packages/client/src/generation/TSClient/PrismaClient.ts +++ b/packages/client/src/generation/TSClient/PrismaClient.ts @@ -167,22 +167,19 @@ function clientExtensionsDefinitions(context: GenerateContext) { return [typeMap, ts.stringify(define)].join('\n') } -function extendsPropertyDefinition(context: GenerateContext) { +function extendsPropertyDefinition() { const extendsDefinition = ts .namedType('$Extensions.ExtendsHook') .addGenericArgument(ts.stringLiteral('extends')) .addGenericArgument(ts.namedType('Prisma.TypeMapCb')) .addGenericArgument(ts.namedType('ExtArgs')) - if (context.isPreviewFeatureOn('omitApi')) { - extendsDefinition - .addGenericArgument( - ts - .namedType('$Utils.Call') - .addGenericArgument(ts.namedType('Prisma.TypeMapCb')) - .addGenericArgument(ts.objectType().add(ts.property('extArgs', ts.namedType('ExtArgs')))), - ) - .addGenericArgument(ts.namedType('ClientOptions')) - } + .addGenericArgument( + ts + .namedType('$Utils.Call') + .addGenericArgument(ts.namedType('Prisma.TypeMapCb')) + .addGenericArgument(ts.objectType().add(ts.property('extArgs', ts.namedType('ExtArgs')))), + ) + .addGenericArgument(ts.namedType('ClientOptions')) return ts.stringify(ts.property('$extends', extendsDefinition), { indentLevel: 1 }) } @@ -501,7 +498,7 @@ ${[ runCommandRawDefinition(this.context), metricDefinition(this.context), applyPendingMigrationsDefinition.bind(this)(), - extendsPropertyDefinition(this.context), + extendsPropertyDefinition(), ] .filter((d) => d !== null) .join('\n') @@ -515,10 +512,7 @@ ${[ if (methodName === 'constructor') { methodName = '["constructor"]' } - const generics = ['ExtArgs'] - if (this.context.isPreviewFeatureOn('omitApi')) { - generics.push('ClientOptions') - } + const generics = ['ExtArgs', 'ClientOptions'] return `\ /** * \`prisma.${methodName}\`: Exposes CRUD operations for the **${m.model}** model. @@ -537,14 +531,13 @@ get ${methodName}(): Prisma.${m.model}Delegate<${generics.join(', ')}>;` } public toTS(): string { const clientOptions = this.buildClientOptions() - const isOmitEnabled = this.context.isPreviewFeatureOn('omitApi') return `${new Datasources(this.internalDatasources).toTS()} ${clientExtensionsDefinitions(this.context)} export type DefaultPrismaClient = PrismaClient export type ErrorFormat = 'pretty' | 'colorless' | 'minimal' ${ts.stringify(ts.moduleExport(clientOptions))} -${isOmitEnabled ? ts.stringify(globalOmitConfig(this.context.dmmf)) : ''} +${ts.stringify(globalOmitConfig(this.context.dmmf))} /* Types for Logging */ export type LogLevel = 'info' | 'query' | 'warn' | 'error' @@ -695,24 +688,23 @@ export type TransactionClient = Omit { serialize({ modelName: 'User', action: 'findMany', - previewFeatures: ['omitApi'], args: { omit: { name: true } }, }), ).toMatchInlineSnapshot(` @@ -1124,7 +1123,6 @@ test('omit(false)', () => { serialize({ modelName: 'User', action: 'findMany', - previewFeatures: ['omitApi'], args: { omit: { name: false } }, }), ).toMatchInlineSnapshot(` @@ -1148,7 +1146,6 @@ test('omit + include', () => { serialize({ modelName: 'User', action: 'findMany', - previewFeatures: ['omitApi'], args: { include: { posts: true }, omit: { name: true } }, }), ).toMatchInlineSnapshot(` @@ -1179,7 +1176,6 @@ test('nested omit', () => { serialize({ modelName: 'User', action: 'findMany', - previewFeatures: ['omitApi'], args: { include: { posts: { omit: { title: true } } } }, }), ).toMatchInlineSnapshot(` @@ -1210,7 +1206,6 @@ test('exclusion with extension', () => { serialize({ modelName: 'User', action: 'findMany', - previewFeatures: ['omitApi'], args: { omit: { name: true } }, extensions: MergedExtensionsList.single({ result: { @@ -1243,7 +1238,6 @@ test('exclusion with extension while excluding computed field too', () => { serialize({ modelName: 'User', action: 'findMany', - previewFeatures: ['omitApi'], args: { omit: { name: true, fullName: true } }, extensions: MergedExtensionsList.single({ result: { @@ -1277,7 +1271,6 @@ test('globalOmit', () => { serialize({ modelName: 'User', action: 'findMany', - previewFeatures: ['omitApi'], globalOmit: { user: { name: true, @@ -1305,7 +1298,6 @@ test('globalOmit + local omit', () => { serialize({ modelName: 'User', action: 'findMany', - previewFeatures: ['omitApi'], args: { omit: { name: false, @@ -1338,7 +1330,6 @@ test('globalOmit + local select', () => { serialize({ modelName: 'User', action: 'findMany', - previewFeatures: ['omitApi'], args: { select: { name: true, @@ -1369,7 +1360,6 @@ test('nested globalOmit (include)', () => { serialize({ modelName: 'User', action: 'findMany', - previewFeatures: ['omitApi'], args: { include: { posts: true } }, globalOmit: { post: { @@ -1405,7 +1395,6 @@ test('nested globalOmit (select)', () => { serialize({ modelName: 'User', action: 'findMany', - previewFeatures: ['omitApi'], args: { select: { posts: true } }, globalOmit: { post: { @@ -1552,7 +1541,6 @@ test(`Prisma.skip in omit`, () => { modelName: 'User', action: 'findMany', args: { where: { name: 'Steve' }, omit: { password: true, name: skip } }, - previewFeatures: ['omitApi'], }), ).toMatchInlineSnapshot(` "{ diff --git a/packages/client/src/runtime/core/jsonProtocol/serializeJsonQuery.ts b/packages/client/src/runtime/core/jsonProtocol/serializeJsonQuery.ts index fbdf07cdd442..d2eef6e627ba 100644 --- a/packages/client/src/runtime/core/jsonProtocol/serializeJsonQuery.ts +++ b/packages/client/src/runtime/core/jsonProtocol/serializeJsonQuery.ts @@ -118,11 +118,8 @@ function serializeFieldSelection( { select, include, ...args }: JsArgs = {}, context: SerializeContext, ): JsonFieldSelection { - let omit: Omission | undefined - if (context.isPreviewFeatureOn('omitApi')) { - omit = args.omit - delete args.omit - } + const omit = args.omit + delete args.omit return { arguments: serializeArgumentsObject(args, context), selection: serializeSelectionSet(select, include, omit, context), @@ -143,7 +140,7 @@ function serializeSelectionSet( secondField: 'select', selectionPath: context.getSelectionPath(), }) - } else if (omit && context.isPreviewFeatureOn('omitApi')) { + } else if (omit) { context.throwValidationError({ kind: 'MutuallyExclusiveFields', firstField: 'omit', @@ -173,9 +170,7 @@ function createImplicitSelection( addIncludedRelations(selectionSet, include, context) } - if (context.isPreviewFeatureOn('omitApi')) { - omitFields(selectionSet, omit, context) - } + omitFields(selectionSet, omit, context) return selectionSet } diff --git a/packages/client/tests/functional/24835-omit-error/prisma/_schema.ts b/packages/client/tests/functional/24835-omit-error/prisma/_schema.ts index 31253bff6097..2a3ce8b974d0 100644 --- a/packages/client/tests/functional/24835-omit-error/prisma/_schema.ts +++ b/packages/client/tests/functional/24835-omit-error/prisma/_schema.ts @@ -5,7 +5,6 @@ export default testMatrix.setupSchema(({ provider }) => { return /* Prisma */ ` generator client { provider = "prisma-client-js" - previewFeatures = ["omitApi"] } datasource db { diff --git a/packages/client/tests/functional/globalOmit/prisma/_schema.ts b/packages/client/tests/functional/globalOmit/prisma/_schema.ts index 6a88dab6804e..77ea98157842 100644 --- a/packages/client/tests/functional/globalOmit/prisma/_schema.ts +++ b/packages/client/tests/functional/globalOmit/prisma/_schema.ts @@ -5,9 +5,8 @@ export default testMatrix.setupSchema(({ provider }) => { return /* Prisma */ ` generator client { provider = "prisma-client-js" - previewFeatures = ["omitApi"] } - + datasource db { provider = "${provider}" url = env("DATABASE_URI_${provider}") @@ -18,7 +17,7 @@ export default testMatrix.setupSchema(({ provider }) => { name String users User[] } - + model User { id ${idForProvider(provider)} email String @unique diff --git a/packages/client/tests/functional/omit/prisma/_schema.ts b/packages/client/tests/functional/omit/prisma/_schema.ts index 82907e3df685..308de3803a61 100644 --- a/packages/client/tests/functional/omit/prisma/_schema.ts +++ b/packages/client/tests/functional/omit/prisma/_schema.ts @@ -5,14 +5,13 @@ export default testMatrix.setupSchema(({ provider }) => { return /* Prisma */ ` generator client { provider = "prisma-client-js" - previewFeatures = ["omitApi"] } - + datasource db { provider = "${provider}" url = env("DATABASE_URI_${provider}") } - + model User { id ${idForProvider(provider)} name String diff --git a/packages/client/tests/functional/skip/prisma/_schema.ts b/packages/client/tests/functional/skip/prisma/_schema.ts index 8e1fe4808fe3..d6f2c3b2b59e 100644 --- a/packages/client/tests/functional/skip/prisma/_schema.ts +++ b/packages/client/tests/functional/skip/prisma/_schema.ts @@ -5,14 +5,14 @@ export default testMatrix.setupSchema(({ provider }) => { return /* Prisma */ ` generator client { provider = "prisma-client-js" - previewFeatures = ["strictUndefinedChecks", "omitApi"] + previewFeatures = ["strictUndefinedChecks"] } - + datasource db { provider = "${provider}" url = env("DATABASE_URI_${provider}") } - + model User { id ${idForProvider(provider)} email String diff --git a/packages/client/tests/functional/strictUndefinedChecks/prisma/_schema.ts b/packages/client/tests/functional/strictUndefinedChecks/prisma/_schema.ts index 3ba96ba32dd4..482472cb3a74 100644 --- a/packages/client/tests/functional/strictUndefinedChecks/prisma/_schema.ts +++ b/packages/client/tests/functional/strictUndefinedChecks/prisma/_schema.ts @@ -5,14 +5,14 @@ export default testMatrix.setupSchema(({ provider }) => { return /* Prisma */ ` generator client { provider = "prisma-client-js" - previewFeatures = ["strictUndefinedChecks", "omitApi"] + previewFeatures = ["strictUndefinedChecks"] } - + datasource db { provider = "${provider}" url = env("DATABASE_URI_${provider}") } - + model User { id ${idForProvider(provider)} email String