···11/* !!! This is code generated by Prisma. Do not edit directly. !!! */
22/* eslint-disable */
33// biome-ignore-all lint: generated file
44-// @ts-nocheck
44+// @ts-nocheck
55/*
66- * This file should be your main import to use Prisma-related types and utilities in a browser.
66+ * This file should be your main import to use Prisma-related types and utilities in a browser.
77 * Use it to get access to models, enums, and input types.
88- *
88+ *
99 * This file does not contain a `PrismaClient` class, nor several other helpers that are intended as server-side only.
1010 * See `client.ts` for the standard, server-side entry point.
1111 *
1212 * 🟢 You can import this file directly.
1313 */
14141515-import * as Prisma from './internal/prismaNamespaceBrowser.js'
1616-export { Prisma }
1717-export * as $Enums from './enums.js'
1515+import * as Prisma from './internal/prismaNamespaceBrowser.js';
1616+export { Prisma };
1717+export * as $Enums from './enums.js';
1818export * from './enums.js';
1919/**
2020 * Model User
2121- *
2121+ *
2222 */
2323-export type User = Prisma.UserModel
2323+export type User = Prisma.UserModel;
2424/**
2525 * Model AuthSession
2626- *
2626+ *
2727 */
2828-export type AuthSession = Prisma.AuthSessionModel
2828+export type AuthSession = Prisma.AuthSessionModel;
2929/**
3030 * Model AuthState
3131- *
3131+ *
3232 */
3333-export type AuthState = Prisma.AuthStateModel
3333+export type AuthState = Prisma.AuthStateModel;
3434/**
3535 * Model Movie
3636- *
3636+ *
3737 */
3838-export type Movie = Prisma.MovieModel
3838+export type Movie = Prisma.MovieModel;
3939/**
4040 * Model TrackedMovie
4141- *
4141+ *
4242 */
4343-export type TrackedMovie = Prisma.TrackedMovieModel
4343+export type TrackedMovie = Prisma.TrackedMovieModel;
+30-24
backend/src/generated/client.ts
···11/* !!! This is code generated by Prisma. Do not edit directly. !!! */
22/* eslint-disable */
33// biome-ignore-all lint: generated file
44-// @ts-nocheck
44+// @ts-nocheck
55/*
66 * This file should be your main import to use Prisma. Through it you get access to all the models, enums, and input types.
77 * If you're looking for something you can import in the client-side of your application, please refer to the `browser.ts` file instead.
···99 * 🟢 You can import this file directly.
1010 */
11111212-import * as process from 'node:process'
1313-import * as path from 'node:path'
1212+import * as process from 'node:process';
1313+import * as path from 'node:path';
14141515-import * as runtime from "@prisma/client/runtime/client"
1616-import * as $Enums from "./enums.js"
1717-import * as $Class from "./internal/class.js"
1818-import * as Prisma from "./internal/prismaNamespace.js"
1515+import * as runtime from '@prisma/client/runtime/client';
1616+import * as $Enums from './enums.js';
1717+import * as $Class from './internal/class.js';
1818+import * as Prisma from './internal/prismaNamespace.js';
19192020-export * as $Enums from './enums.js'
2121-export * from "./enums.js"
2020+export * as $Enums from './enums.js';
2121+export * from './enums.js';
2222/**
2323 * ## Prisma Client
2424- *
2424+ *
2525 * Type-safe database client for TypeScript
2626 * @example
2727 * ```
···2929 * // Fetch zero or more Users
3030 * const users = await prisma.user.findMany()
3131 * ```
3232- *
3232+ *
3333 * Read more in our [docs](https://pris.ly/d/client).
3434 */
3535-export const PrismaClient = $Class.getPrismaClientClass()
3636-export type PrismaClient<LogOpts extends Prisma.LogLevel = never, OmitOpts extends Prisma.PrismaClientOptions["omit"] = Prisma.PrismaClientOptions["omit"], ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = $Class.PrismaClient<LogOpts, OmitOpts, ExtArgs>
3737-export { Prisma }
3535+export const PrismaClient = $Class.getPrismaClientClass();
3636+export type PrismaClient<
3737+ LogOpts extends Prisma.LogLevel = never,
3838+ OmitOpts extends Prisma.PrismaClientOptions['omit'] =
3939+ Prisma.PrismaClientOptions['omit'],
4040+ ExtArgs extends runtime.Types.Extensions.InternalArgs =
4141+ runtime.Types.Extensions.DefaultArgs,
4242+> = $Class.PrismaClient<LogOpts, OmitOpts, ExtArgs>;
4343+export { Prisma };
38443945/**
4046 * Model User
4141- *
4747+ *
4248 */
4343-export type User = Prisma.UserModel
4949+export type User = Prisma.UserModel;
4450/**
4551 * Model AuthSession
4646- *
5252+ *
4753 */
4848-export type AuthSession = Prisma.AuthSessionModel
5454+export type AuthSession = Prisma.AuthSessionModel;
4955/**
5056 * Model AuthState
5151- *
5757+ *
5258 */
5353-export type AuthState = Prisma.AuthStateModel
5959+export type AuthState = Prisma.AuthStateModel;
5460/**
5561 * Model Movie
5656- *
6262+ *
5763 */
5858-export type Movie = Prisma.MovieModel
6464+export type Movie = Prisma.MovieModel;
5965/**
6066 * Model TrackedMovie
6161- *
6767+ *
6268 */
6363-export type TrackedMovie = Prisma.TrackedMovieModel
6969+export type TrackedMovie = Prisma.TrackedMovieModel;
···11/* !!! This is code generated by Prisma. Do not edit directly. !!! */
22/* eslint-disable */
33// biome-ignore-all lint: generated file
44-// @ts-nocheck
44+// @ts-nocheck
55/*
66-* This file exports all enum related types from the schema.
77-*
88-* 🟢 You can import this file directly.
99-*/
1010-1111-66+ * This file exports all enum related types from the schema.
77+ *
88+ * 🟢 You can import this file directly.
99+ */
12101311// This file is empty because there are no enums in the schema.
1414-export {}
1212+export {};
+135-83
backend/src/generated/internal/class.ts
···11/* !!! This is code generated by Prisma. Do not edit directly. !!! */
22/* eslint-disable */
33// biome-ignore-all lint: generated file
44-// @ts-nocheck
44+// @ts-nocheck
55/*
66 * WARNING: This is an internal file that is subject to change!
77 *
···1010 * Please import the `PrismaClient` class from the `client.ts` file instead.
1111 */
12121313-import * as runtime from "@prisma/client/runtime/client"
1414-import type * as Prisma from "./prismaNamespace.js"
1515-1313+import * as runtime from '@prisma/client/runtime/client';
1414+import type * as Prisma from './prismaNamespace.js';
16151716const config: runtime.GetPrismaClientConfig = {
1818- "previewFeatures": [],
1919- "clientVersion": "7.3.0",
2020- "engineVersion": "9d6ad21cbbceab97458517b147a6a09ff43aa735",
2121- "activeProvider": "postgresql",
2222- "inlineSchema": "generator client {\n provider = \"prisma-client\"\n output = \"../src/generated\"\n moduleFormat = \"cjs\"\n}\n\ndatasource db {\n provider = \"postgresql\"\n}\n\nmodel User {\n did String @id\n handle String @unique\n displayName String?\n avatar String?\n createdAt DateTime @default(now())\n updatedAt DateTime @updatedAt\n\n trackedMovies TrackedMovie[]\n\n @@index([handle])\n}\n\n// OAuth session storage for @atproto/oauth-client-node sessionStore\n// No FK to User because the OAuth library stores session before we create the User\n// Cookie stores opaque id (not DID) for session lookup\nmodel AuthSession {\n id String @id @default(cuid())\n userDid String @unique\n sessionData String // JSON-serialized session from the library\n createdAt DateTime @default(now())\n updatedAt DateTime @updatedAt\n\n @@index([updatedAt])\n}\n\nmodel AuthState {\n key String @id\n stateData String\n expiresAt DateTime\n createdAt DateTime @default(now())\n\n @@index([expiresAt])\n}\n\nmodel Movie {\n movieId String @id\n title String\n posterPath String?\n backdropPath String?\n releaseYear Int?\n releaseDate DateTime?\n overview String?\n\n createdAt DateTime @default(now())\n updatedAt DateTime @updatedAt\n\n trackedBy TrackedMovie[]\n\n @@index([title])\n}\n\nmodel TrackedMovie {\n id String @id @default(cuid())\n rkey String\n uri String @unique\n cid String\n\n userDid String\n user User @relation(fields: [userDid], references: [did], onDelete: Cascade)\n\n movieId String\n movie Movie @relation(fields: [movieId], references: [movieId], onDelete: Cascade)\n\n status String @default(\"watched\")\n watchedDate DateTime?\n\n createdAt DateTime @default(now())\n updatedAt DateTime @updatedAt\n\n @@index([userDid])\n @@index([movieId])\n @@index([status])\n @@index([createdAt])\n @@index([watchedDate])\n @@index([uri])\n @@index([cid])\n}\n",
2323- "runtimeDataModel": {
2424- "models": {},
2525- "enums": {},
2626- "types": {}
2727- }
2828-}
1717+ previewFeatures: [],
1818+ clientVersion: '7.3.0',
1919+ engineVersion: '9d6ad21cbbceab97458517b147a6a09ff43aa735',
2020+ activeProvider: 'postgresql',
2121+ inlineSchema:
2222+ 'generator client {\n provider = "prisma-client"\n output = "../src/generated"\n moduleFormat = "cjs"\n}\n\ndatasource db {\n provider = "postgresql"\n}\n\nmodel User {\n did String @id\n handle String @unique\n displayName String?\n avatar String?\n createdAt DateTime @default(now())\n updatedAt DateTime @updatedAt\n\n trackedMovies TrackedMovie[]\n\n @@index([handle])\n}\n\n// OAuth session storage for @atproto/oauth-client-node sessionStore\n// No FK to User because the OAuth library stores session before we create the User\n// Cookie stores opaque id (not DID) for session lookup\nmodel AuthSession {\n id String @id @default(cuid())\n userDid String @unique\n sessionData String // JSON-serialized session from the library\n createdAt DateTime @default(now())\n updatedAt DateTime @updatedAt\n\n @@index([updatedAt])\n}\n\nmodel AuthState {\n key String @id\n stateData String\n expiresAt DateTime\n createdAt DateTime @default(now())\n\n @@index([expiresAt])\n}\n\nmodel Movie {\n movieId String @id\n title String\n posterPath String?\n backdropPath String?\n releaseYear Int?\n releaseDate DateTime?\n overview String?\n\n createdAt DateTime @default(now())\n updatedAt DateTime @updatedAt\n\n trackedBy TrackedMovie[]\n\n @@index([title])\n}\n\nmodel TrackedMovie {\n id String @id @default(cuid())\n rkey String\n uri String @unique\n cid String\n\n userDid String\n user User @relation(fields: [userDid], references: [did], onDelete: Cascade)\n\n movieId String\n movie Movie @relation(fields: [movieId], references: [movieId], onDelete: Cascade)\n\n status String @default("watched")\n watchedDate DateTime?\n\n createdAt DateTime @default(now())\n updatedAt DateTime @updatedAt\n\n @@index([userDid])\n @@index([movieId])\n @@index([status])\n @@index([createdAt])\n @@index([watchedDate])\n @@index([uri])\n @@index([cid])\n}\n',
2323+ runtimeDataModel: {
2424+ models: {},
2525+ enums: {},
2626+ types: {},
2727+ },
2828+};
29293030-config.runtimeDataModel = JSON.parse("{\"models\":{\"User\":{\"fields\":[{\"name\":\"did\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"handle\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"displayName\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"avatar\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"createdAt\",\"kind\":\"scalar\",\"type\":\"DateTime\"},{\"name\":\"updatedAt\",\"kind\":\"scalar\",\"type\":\"DateTime\"},{\"name\":\"trackedMovies\",\"kind\":\"object\",\"type\":\"TrackedMovie\",\"relationName\":\"TrackedMovieToUser\"}],\"dbName\":null},\"AuthSession\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"userDid\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"sessionData\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"createdAt\",\"kind\":\"scalar\",\"type\":\"DateTime\"},{\"name\":\"updatedAt\",\"kind\":\"scalar\",\"type\":\"DateTime\"}],\"dbName\":null},\"AuthState\":{\"fields\":[{\"name\":\"key\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"stateData\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"expiresAt\",\"kind\":\"scalar\",\"type\":\"DateTime\"},{\"name\":\"createdAt\",\"kind\":\"scalar\",\"type\":\"DateTime\"}],\"dbName\":null},\"Movie\":{\"fields\":[{\"name\":\"movieId\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"title\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"posterPath\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"backdropPath\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"releaseYear\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"releaseDate\",\"kind\":\"scalar\",\"type\":\"DateTime\"},{\"name\":\"overview\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"createdAt\",\"kind\":\"scalar\",\"type\":\"DateTime\"},{\"name\":\"updatedAt\",\"kind\":\"scalar\",\"type\":\"DateTime\"},{\"name\":\"trackedBy\",\"kind\":\"object\",\"type\":\"TrackedMovie\",\"relationName\":\"MovieToTrackedMovie\"}],\"dbName\":null},\"TrackedMovie\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"rkey\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"uri\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"cid\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"userDid\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"user\",\"kind\":\"object\",\"type\":\"User\",\"relationName\":\"TrackedMovieToUser\"},{\"name\":\"movieId\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"movie\",\"kind\":\"object\",\"type\":\"Movie\",\"relationName\":\"MovieToTrackedMovie\"},{\"name\":\"status\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"watchedDate\",\"kind\":\"scalar\",\"type\":\"DateTime\"},{\"name\":\"createdAt\",\"kind\":\"scalar\",\"type\":\"DateTime\"},{\"name\":\"updatedAt\",\"kind\":\"scalar\",\"type\":\"DateTime\"}],\"dbName\":null}},\"enums\":{},\"types\":{}}")
3030+config.runtimeDataModel = JSON.parse(
3131+ '{"models":{"User":{"fields":[{"name":"did","kind":"scalar","type":"String"},{"name":"handle","kind":"scalar","type":"String"},{"name":"displayName","kind":"scalar","type":"String"},{"name":"avatar","kind":"scalar","type":"String"},{"name":"createdAt","kind":"scalar","type":"DateTime"},{"name":"updatedAt","kind":"scalar","type":"DateTime"},{"name":"trackedMovies","kind":"object","type":"TrackedMovie","relationName":"TrackedMovieToUser"}],"dbName":null},"AuthSession":{"fields":[{"name":"id","kind":"scalar","type":"String"},{"name":"userDid","kind":"scalar","type":"String"},{"name":"sessionData","kind":"scalar","type":"String"},{"name":"createdAt","kind":"scalar","type":"DateTime"},{"name":"updatedAt","kind":"scalar","type":"DateTime"}],"dbName":null},"AuthState":{"fields":[{"name":"key","kind":"scalar","type":"String"},{"name":"stateData","kind":"scalar","type":"String"},{"name":"expiresAt","kind":"scalar","type":"DateTime"},{"name":"createdAt","kind":"scalar","type":"DateTime"}],"dbName":null},"Movie":{"fields":[{"name":"movieId","kind":"scalar","type":"String"},{"name":"title","kind":"scalar","type":"String"},{"name":"posterPath","kind":"scalar","type":"String"},{"name":"backdropPath","kind":"scalar","type":"String"},{"name":"releaseYear","kind":"scalar","type":"Int"},{"name":"releaseDate","kind":"scalar","type":"DateTime"},{"name":"overview","kind":"scalar","type":"String"},{"name":"createdAt","kind":"scalar","type":"DateTime"},{"name":"updatedAt","kind":"scalar","type":"DateTime"},{"name":"trackedBy","kind":"object","type":"TrackedMovie","relationName":"MovieToTrackedMovie"}],"dbName":null},"TrackedMovie":{"fields":[{"name":"id","kind":"scalar","type":"String"},{"name":"rkey","kind":"scalar","type":"String"},{"name":"uri","kind":"scalar","type":"String"},{"name":"cid","kind":"scalar","type":"String"},{"name":"userDid","kind":"scalar","type":"String"},{"name":"user","kind":"object","type":"User","relationName":"TrackedMovieToUser"},{"name":"movieId","kind":"scalar","type":"String"},{"name":"movie","kind":"object","type":"Movie","relationName":"MovieToTrackedMovie"},{"name":"status","kind":"scalar","type":"String"},{"name":"watchedDate","kind":"scalar","type":"DateTime"},{"name":"createdAt","kind":"scalar","type":"DateTime"},{"name":"updatedAt","kind":"scalar","type":"DateTime"}],"dbName":null}},"enums":{},"types":{}}',
3232+);
31333232-async function decodeBase64AsWasm(wasmBase64: string): Promise<WebAssembly.Module> {
3333- const { Buffer } = await import('node:buffer')
3434- const wasmArray = Buffer.from(wasmBase64, 'base64')
3535- return new WebAssembly.Module(wasmArray)
3434+async function decodeBase64AsWasm(
3535+ wasmBase64: string,
3636+): Promise<WebAssembly.Module> {
3737+ const { Buffer } = await import('node:buffer');
3838+ const wasmArray = Buffer.from(wasmBase64, 'base64');
3939+ return new WebAssembly.Module(wasmArray);
3640}
37413842config.compilerWasm = {
3939- getRuntime: async () => await import("@prisma/client/runtime/query_compiler_fast_bg.postgresql.js"),
4343+ getRuntime: async () =>
4444+ await import('@prisma/client/runtime/query_compiler_fast_bg.postgresql.js'),
40454146 getQueryCompilerWasmModule: async () => {
4242- const { wasm } = await import("@prisma/client/runtime/query_compiler_fast_bg.postgresql.wasm-base64.js")
4343- return await decodeBase64AsWasm(wasm)
4747+ const { wasm } =
4848+ await import('@prisma/client/runtime/query_compiler_fast_bg.postgresql.wasm-base64.js');
4949+ return await decodeBase64AsWasm(wasm);
4450 },
45514646- importName: "./query_compiler_fast_bg.js"
4747-}
4848-4949-5252+ importName: './query_compiler_fast_bg.js',
5353+};
50545155export type LogOptions<ClientOptions extends Prisma.PrismaClientOptions> =
5252- 'log' extends keyof ClientOptions ? ClientOptions['log'] extends Array<Prisma.LogLevel | Prisma.LogDefinition> ? Prisma.GetEvents<ClientOptions['log']> : never : never
5656+ 'log' extends keyof ClientOptions
5757+ ? ClientOptions['log'] extends Array<Prisma.LogLevel | Prisma.LogDefinition>
5858+ ? Prisma.GetEvents<ClientOptions['log']>
5959+ : never
6060+ : never;
53615462export interface PrismaClientConstructor {
5555- /**
6363+ /**
5664 * ## Prisma Client
5757- *
6565+ *
5866 * Type-safe database client for TypeScript
5967 * @example
6068 * ```
···6270 * // Fetch zero or more Users
6371 * const users = await prisma.user.findMany()
6472 * ```
6565- *
7373+ *
6674 * Read more in our [docs](https://pris.ly/d/client).
6775 */
68766977 new <
7078 Options extends Prisma.PrismaClientOptions = Prisma.PrismaClientOptions,
7179 LogOpts extends LogOptions<Options> = LogOptions<Options>,
7272- OmitOpts extends Prisma.PrismaClientOptions['omit'] = Options extends { omit: infer U } ? U : Prisma.PrismaClientOptions['omit'],
7373- ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs
7474- >(options: Prisma.Subset<Options, Prisma.PrismaClientOptions> ): PrismaClient<LogOpts, OmitOpts, ExtArgs>
8080+ OmitOpts extends Prisma.PrismaClientOptions['omit'] = Options extends {
8181+ omit: infer U;
8282+ }
8383+ ? U
8484+ : Prisma.PrismaClientOptions['omit'],
8585+ ExtArgs extends runtime.Types.Extensions.InternalArgs =
8686+ runtime.Types.Extensions.DefaultArgs,
8787+ >(
8888+ options: Prisma.Subset<Options, Prisma.PrismaClientOptions>,
8989+ ): PrismaClient<LogOpts, OmitOpts, ExtArgs>;
7590}
76917792/**
7893 * ## Prisma Client
7979- *
9494+ *
8095 * Type-safe database client for TypeScript
8196 * @example
8297 * ```
···8499 * // Fetch zero or more Users
85100 * const users = await prisma.user.findMany()
86101 * ```
8787- *
102102+ *
88103 * Read more in our [docs](https://pris.ly/d/client).
89104 */
9010591106export interface PrismaClient<
92107 in LogOpts extends Prisma.LogLevel = never,
93108 in out OmitOpts extends Prisma.PrismaClientOptions['omit'] = undefined,
9494- in out ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs
109109+ in out ExtArgs extends runtime.Types.Extensions.InternalArgs =
110110+ runtime.Types.Extensions.DefaultArgs,
95111> {
9696- [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['other'] }
112112+ [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['other'] };
971139898- $on<V extends LogOpts>(eventType: V, callback: (event: V extends 'query' ? Prisma.QueryEvent : Prisma.LogEvent) => void): PrismaClient;
114114+ $on<V extends LogOpts>(
115115+ eventType: V,
116116+ callback: (
117117+ event: V extends 'query' ? Prisma.QueryEvent : Prisma.LogEvent,
118118+ ) => void,
119119+ ): PrismaClient;
99120100121 /**
101122 * Connect with the database
···107128 */
108129 $disconnect(): runtime.Types.Utils.JsPromise<void>;
109130110110-/**
131131+ /**
111132 * Executes a prepared raw query and returns the number of affected rows.
112133 * @example
113134 * ```
···116137 *
117138 * Read more in our [docs](https://pris.ly/d/raw-queries).
118139 */
119119- $executeRaw<T = unknown>(query: TemplateStringsArray | Prisma.Sql, ...values: any[]): Prisma.PrismaPromise<number>;
140140+ $executeRaw<T = unknown>(
141141+ query: TemplateStringsArray | Prisma.Sql,
142142+ ...values: any[]
143143+ ): Prisma.PrismaPromise<number>;
120144121145 /**
122146 * Executes a raw query and returns the number of affected rows.
···128152 *
129153 * Read more in our [docs](https://pris.ly/d/raw-queries).
130154 */
131131- $executeRawUnsafe<T = unknown>(query: string, ...values: any[]): Prisma.PrismaPromise<number>;
155155+ $executeRawUnsafe<T = unknown>(
156156+ query: string,
157157+ ...values: any[]
158158+ ): Prisma.PrismaPromise<number>;
132159133160 /**
134161 * Performs a prepared raw query and returns the `SELECT` data.
···139166 *
140167 * Read more in our [docs](https://pris.ly/d/raw-queries).
141168 */
142142- $queryRaw<T = unknown>(query: TemplateStringsArray | Prisma.Sql, ...values: any[]): Prisma.PrismaPromise<T>;
169169+ $queryRaw<T = unknown>(
170170+ query: TemplateStringsArray | Prisma.Sql,
171171+ ...values: any[]
172172+ ): Prisma.PrismaPromise<T>;
143173144174 /**
145175 * Performs a raw query and returns the `SELECT` data.
···151181 *
152182 * Read more in our [docs](https://pris.ly/d/raw-queries).
153183 */
154154- $queryRawUnsafe<T = unknown>(query: string, ...values: any[]): Prisma.PrismaPromise<T>;
155155-184184+ $queryRawUnsafe<T = unknown>(
185185+ query: string,
186186+ ...values: any[]
187187+ ): Prisma.PrismaPromise<T>;
156188157189 /**
158190 * Allows the running of a sequence of read/write operations that are guaranteed to either succeed or fail as a whole.
···164196 * prisma.user.create({ data: { name: 'Alice' } }),
165197 * ])
166198 * ```
167167- *
199199+ *
168200 * Read more in our [docs](https://www.prisma.io/docs/concepts/components/prisma-client/transactions).
169201 */
170170- $transaction<P extends Prisma.PrismaPromise<any>[]>(arg: [...P], options?: { isolationLevel?: Prisma.TransactionIsolationLevel }): runtime.Types.Utils.JsPromise<runtime.Types.Utils.UnwrapTuple<P>>
202202+ $transaction<P extends Prisma.PrismaPromise<any>[]>(
203203+ arg: [...P],
204204+ options?: { isolationLevel?: Prisma.TransactionIsolationLevel },
205205+ ): runtime.Types.Utils.JsPromise<runtime.Types.Utils.UnwrapTuple<P>>;
171206172172- $transaction<R>(fn: (prisma: Omit<PrismaClient, runtime.ITXClientDenyList>) => runtime.Types.Utils.JsPromise<R>, options?: { maxWait?: number, timeout?: number, isolationLevel?: Prisma.TransactionIsolationLevel }): runtime.Types.Utils.JsPromise<R>
207207+ $transaction<R>(
208208+ fn: (
209209+ prisma: Omit<PrismaClient, runtime.ITXClientDenyList>,
210210+ ) => runtime.Types.Utils.JsPromise<R>,
211211+ options?: {
212212+ maxWait?: number;
213213+ timeout?: number;
214214+ isolationLevel?: Prisma.TransactionIsolationLevel;
215215+ },
216216+ ): runtime.Types.Utils.JsPromise<R>;
173217174174- $extends: runtime.Types.Extensions.ExtendsHook<"extends", Prisma.TypeMapCb<OmitOpts>, ExtArgs, runtime.Types.Utils.Call<Prisma.TypeMapCb<OmitOpts>, {
175175- extArgs: ExtArgs
176176- }>>
218218+ $extends: runtime.Types.Extensions.ExtendsHook<
219219+ 'extends',
220220+ Prisma.TypeMapCb<OmitOpts>,
221221+ ExtArgs,
222222+ runtime.Types.Utils.Call<
223223+ Prisma.TypeMapCb<OmitOpts>,
224224+ {
225225+ extArgs: ExtArgs;
226226+ }
227227+ >
228228+ >;
177229178178- /**
230230+ /**
179231 * `prisma.user`: Exposes CRUD operations for the **User** model.
180180- * Example usage:
181181- * ```ts
182182- * // Fetch zero or more Users
183183- * const users = await prisma.user.findMany()
184184- * ```
185185- */
232232+ * Example usage:
233233+ * ```ts
234234+ * // Fetch zero or more Users
235235+ * const users = await prisma.user.findMany()
236236+ * ```
237237+ */
186238 get user(): Prisma.UserDelegate<ExtArgs, { omit: OmitOpts }>;
187239188240 /**
189241 * `prisma.authSession`: Exposes CRUD operations for the **AuthSession** model.
190190- * Example usage:
191191- * ```ts
192192- * // Fetch zero or more AuthSessions
193193- * const authSessions = await prisma.authSession.findMany()
194194- * ```
195195- */
242242+ * Example usage:
243243+ * ```ts
244244+ * // Fetch zero or more AuthSessions
245245+ * const authSessions = await prisma.authSession.findMany()
246246+ * ```
247247+ */
196248 get authSession(): Prisma.AuthSessionDelegate<ExtArgs, { omit: OmitOpts }>;
197249198250 /**
199251 * `prisma.authState`: Exposes CRUD operations for the **AuthState** model.
200200- * Example usage:
201201- * ```ts
202202- * // Fetch zero or more AuthStates
203203- * const authStates = await prisma.authState.findMany()
204204- * ```
205205- */
252252+ * Example usage:
253253+ * ```ts
254254+ * // Fetch zero or more AuthStates
255255+ * const authStates = await prisma.authState.findMany()
256256+ * ```
257257+ */
206258 get authState(): Prisma.AuthStateDelegate<ExtArgs, { omit: OmitOpts }>;
207259208260 /**
209261 * `prisma.movie`: Exposes CRUD operations for the **Movie** model.
210210- * Example usage:
211211- * ```ts
212212- * // Fetch zero or more Movies
213213- * const movies = await prisma.movie.findMany()
214214- * ```
215215- */
262262+ * Example usage:
263263+ * ```ts
264264+ * // Fetch zero or more Movies
265265+ * const movies = await prisma.movie.findMany()
266266+ * ```
267267+ */
216268 get movie(): Prisma.MovieDelegate<ExtArgs, { omit: OmitOpts }>;
217269218270 /**
219271 * `prisma.trackedMovie`: Exposes CRUD operations for the **TrackedMovie** model.
220220- * Example usage:
221221- * ```ts
222222- * // Fetch zero or more TrackedMovies
223223- * const trackedMovies = await prisma.trackedMovie.findMany()
224224- * ```
225225- */
272272+ * Example usage:
273273+ * ```ts
274274+ * // Fetch zero or more TrackedMovies
275275+ * const trackedMovies = await prisma.trackedMovie.findMany()
276276+ * ```
277277+ */
226278 get trackedMovie(): Prisma.TrackedMovieDelegate<ExtArgs, { omit: OmitOpts }>;
227279}
228280229281export function getPrismaClientClass(): PrismaClientConstructor {
230230- return runtime.getPrismaClient(config) as unknown as PrismaClientConstructor
282282+ return runtime.getPrismaClient(config) as unknown as PrismaClientConstructor;
231283}
+647-590
backend/src/generated/internal/prismaNamespace.ts
···11/* !!! This is code generated by Prisma. Do not edit directly. !!! */
22/* eslint-disable */
33// biome-ignore-all lint: generated file
44-// @ts-nocheck
44+// @ts-nocheck
55/*
66 * WARNING: This is an internal file that is subject to change!
77 *
···1414 * model files in the `model` directory!
1515 */
16161717-import * as runtime from "@prisma/client/runtime/client"
1818-import type * as Prisma from "../models.js"
1919-import { type PrismaClient } from "./class.js"
1717+import * as runtime from '@prisma/client/runtime/client';
1818+import type * as Prisma from '../models.js';
1919+import { type PrismaClient } from './class.js';
20202121-export type * from '../models.js'
2121+export type * from '../models.js';
22222323-export type DMMF = typeof runtime.DMMF
2323+export type DMMF = typeof runtime.DMMF;
24242525-export type PrismaPromise<T> = runtime.Types.Public.PrismaPromise<T>
2525+export type PrismaPromise<T> = runtime.Types.Public.PrismaPromise<T>;
26262727/**
2828 * Prisma Errors
2929 */
30303131-export const PrismaClientKnownRequestError = runtime.PrismaClientKnownRequestError
3232-export type PrismaClientKnownRequestError = runtime.PrismaClientKnownRequestError
3131+export const PrismaClientKnownRequestError =
3232+ runtime.PrismaClientKnownRequestError;
3333+export type PrismaClientKnownRequestError =
3434+ runtime.PrismaClientKnownRequestError;
33353434-export const PrismaClientUnknownRequestError = runtime.PrismaClientUnknownRequestError
3535-export type PrismaClientUnknownRequestError = runtime.PrismaClientUnknownRequestError
3636+export const PrismaClientUnknownRequestError =
3737+ runtime.PrismaClientUnknownRequestError;
3838+export type PrismaClientUnknownRequestError =
3939+ runtime.PrismaClientUnknownRequestError;
36403737-export const PrismaClientRustPanicError = runtime.PrismaClientRustPanicError
3838-export type PrismaClientRustPanicError = runtime.PrismaClientRustPanicError
4141+export const PrismaClientRustPanicError = runtime.PrismaClientRustPanicError;
4242+export type PrismaClientRustPanicError = runtime.PrismaClientRustPanicError;
39434040-export const PrismaClientInitializationError = runtime.PrismaClientInitializationError
4141-export type PrismaClientInitializationError = runtime.PrismaClientInitializationError
4444+export const PrismaClientInitializationError =
4545+ runtime.PrismaClientInitializationError;
4646+export type PrismaClientInitializationError =
4747+ runtime.PrismaClientInitializationError;
42484343-export const PrismaClientValidationError = runtime.PrismaClientValidationError
4444-export type PrismaClientValidationError = runtime.PrismaClientValidationError
4949+export const PrismaClientValidationError = runtime.PrismaClientValidationError;
5050+export type PrismaClientValidationError = runtime.PrismaClientValidationError;
45514652/**
4753 * Re-export of sql-template-tag
4854 */
4949-export const sql = runtime.sqltag
5050-export const empty = runtime.empty
5151-export const join = runtime.join
5252-export const raw = runtime.raw
5353-export const Sql = runtime.Sql
5454-export type Sql = runtime.Sql
5555-5656-5555+export const sql = runtime.sqltag;
5656+export const empty = runtime.empty;
5757+export const join = runtime.join;
5858+export const raw = runtime.raw;
5959+export const Sql = runtime.Sql;
6060+export type Sql = runtime.Sql;
57615862/**
5963 * Decimal.js
6064 */
6161-export const Decimal = runtime.Decimal
6262-export type Decimal = runtime.Decimal
6565+export const Decimal = runtime.Decimal;
6666+export type Decimal = runtime.Decimal;
63676464-export type DecimalJsLike = runtime.DecimalJsLike
6868+export type DecimalJsLike = runtime.DecimalJsLike;
65696670/**
6767-* Extensions
6868-*/
6969-export type Extension = runtime.Types.Extensions.UserArgs
7070-export const getExtensionContext = runtime.Extensions.getExtensionContext
7171-export type Args<T, F extends runtime.Operation> = runtime.Types.Public.Args<T, F>
7272-export type Payload<T, F extends runtime.Operation = never> = runtime.Types.Public.Payload<T, F>
7373-export type Result<T, A, F extends runtime.Operation> = runtime.Types.Public.Result<T, A, F>
7474-export type Exact<A, W> = runtime.Types.Public.Exact<A, W>
7171+ * Extensions
7272+ */
7373+export type Extension = runtime.Types.Extensions.UserArgs;
7474+export const getExtensionContext = runtime.Extensions.getExtensionContext;
7575+export type Args<T, F extends runtime.Operation> = runtime.Types.Public.Args<
7676+ T,
7777+ F
7878+>;
7979+export type Payload<
8080+ T,
8181+ F extends runtime.Operation = never,
8282+> = runtime.Types.Public.Payload<T, F>;
8383+export type Result<
8484+ T,
8585+ A,
8686+ F extends runtime.Operation,
8787+> = runtime.Types.Public.Result<T, A, F>;
8888+export type Exact<A, W> = runtime.Types.Public.Exact<A, W>;
75897690export type PrismaVersion = {
7777- client: string
7878- engine: string
7979-}
9191+ client: string;
9292+ engine: string;
9393+};
80948195/**
8296 * Prisma Client JS version: 7.3.0
8397 * Query Engine version: 9d6ad21cbbceab97458517b147a6a09ff43aa735
8498 */
8599export const prismaVersion: PrismaVersion = {
8686- client: "7.3.0",
8787- engine: "9d6ad21cbbceab97458517b147a6a09ff43aa735"
8888-}
100100+ client: '7.3.0',
101101+ engine: '9d6ad21cbbceab97458517b147a6a09ff43aa735',
102102+};
8910390104/**
91105 * Utility Types
92106 */
931079494-export type Bytes = runtime.Bytes
9595-export type JsonObject = runtime.JsonObject
9696-export type JsonArray = runtime.JsonArray
9797-export type JsonValue = runtime.JsonValue
9898-export type InputJsonObject = runtime.InputJsonObject
9999-export type InputJsonArray = runtime.InputJsonArray
100100-export type InputJsonValue = runtime.InputJsonValue
101101-108108+export type Bytes = runtime.Bytes;
109109+export type JsonObject = runtime.JsonObject;
110110+export type JsonArray = runtime.JsonArray;
111111+export type JsonValue = runtime.JsonValue;
112112+export type InputJsonObject = runtime.InputJsonObject;
113113+export type InputJsonArray = runtime.InputJsonArray;
114114+export type InputJsonValue = runtime.InputJsonValue;
102115103116export const NullTypes = {
104104- DbNull: runtime.NullTypes.DbNull as (new (secret: never) => typeof runtime.DbNull),
105105- JsonNull: runtime.NullTypes.JsonNull as (new (secret: never) => typeof runtime.JsonNull),
106106- AnyNull: runtime.NullTypes.AnyNull as (new (secret: never) => typeof runtime.AnyNull),
107107-}
117117+ DbNull: runtime.NullTypes.DbNull as new (
118118+ secret: never,
119119+ ) => typeof runtime.DbNull,
120120+ JsonNull: runtime.NullTypes.JsonNull as new (
121121+ secret: never,
122122+ ) => typeof runtime.JsonNull,
123123+ AnyNull: runtime.NullTypes.AnyNull as new (
124124+ secret: never,
125125+ ) => typeof runtime.AnyNull,
126126+};
108127/**
109128 * Helper for filtering JSON entries that have `null` on the database (empty on the db)
110129 *
111130 * @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field
112131 */
113113-export const DbNull = runtime.DbNull
132132+export const DbNull = runtime.DbNull;
114133115134/**
116135 * Helper for filtering JSON entries that have JSON `null` values (not empty on the db)
117136 *
118137 * @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field
119138 */
120120-export const JsonNull = runtime.JsonNull
139139+export const JsonNull = runtime.JsonNull;
121140122141/**
123142 * Helper for filtering JSON entries that are `Prisma.DbNull` or `Prisma.JsonNull`
124143 *
125144 * @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field
126145 */
127127-export const AnyNull = runtime.AnyNull
128128-146146+export const AnyNull = runtime.AnyNull;
129147130148type SelectAndInclude = {
131131- select: any
132132- include: any
133133-}
149149+ select: any;
150150+ include: any;
151151+};
134152135153type SelectAndOmit = {
136136- select: any
137137- omit: any
138138-}
154154+ select: any;
155155+ omit: any;
156156+};
139157140158/**
141159 * From T, pick a set of properties whose keys are in the union K
142160 */
143161type Prisma__Pick<T, K extends keyof T> = {
144144- [P in K]: T[P];
162162+ [P in K]: T[P];
145163};
146164147165export type Enumerable<T> = T | Array<T>;
···160178 * Additionally, it validates, if both select and include are present. If the case, it errors.
161179 */
162180export type SelectSubset<T, U> = {
163163- [key in keyof T]: key extends keyof U ? T[key] : never
164164-} &
165165- (T extends SelectAndInclude
166166- ? 'Please either choose `select` or `include`.'
167167- : T extends SelectAndOmit
168168- ? 'Please either choose `select` or `omit`.'
169169- : {})
181181+ [key in keyof T]: key extends keyof U ? T[key] : never;
182182+} & (T extends SelectAndInclude
183183+ ? 'Please either choose `select` or `include`.'
184184+ : T extends SelectAndOmit
185185+ ? 'Please either choose `select` or `omit`.'
186186+ : {});
170187171188/**
172189 * Subset + Intersection
173190 * @desc From `T` pick properties that exist in `U` and intersect `K`
174191 */
175192export type SubsetIntersection<T, U, K> = {
176176- [key in keyof T]: key extends keyof U ? T[key] : never
177177-} &
178178- K
193193+ [key in keyof T]: key extends keyof U ? T[key] : never;
194194+} & K;
179195180196type Without<T, U> = { [P in Exclude<keyof T, keyof U>]?: never };
181197···183199 * XOR is needed to have a real mutually exclusive union type
184200 * https://stackoverflow.com/questions/42123407/does-typescript-support-mutually-exclusive-types
185201 */
186186-export type XOR<T, U> =
187187- T extends object ?
188188- U extends object ?
189189- (Without<T, U> & U) | (Without<U, T> & T)
190190- : U : T
191191-202202+export type XOR<T, U> = T extends object
203203+ ? U extends object
204204+ ? (Without<T, U> & U) | (Without<U, T> & T)
205205+ : U
206206+ : T;
192207193208/**
194209 * Is T a Record?
195210 */
196196-type IsObject<T extends any> = T extends Array<any>
197197-? False
198198-: T extends Date
199199-? False
200200-: T extends Uint8Array
201201-? False
202202-: T extends BigInt
203203-? False
204204-: T extends object
205205-? True
206206-: False
207207-211211+type IsObject<T extends any> =
212212+ T extends Array<any>
213213+ ? False
214214+ : T extends Date
215215+ ? False
216216+ : T extends Uint8Array
217217+ ? False
218218+ : T extends BigInt
219219+ ? False
220220+ : T extends object
221221+ ? True
222222+ : False;
208223209224/**
210225 * If it's T[], return T
211226 */
212212-export type UnEnumerate<T extends unknown> = T extends Array<infer U> ? U : T
227227+export type UnEnumerate<T extends unknown> = T extends Array<infer U> ? U : T;
213228214229/**
215230 * From ts-toolbelt
···218233type __Either<O extends object, K extends Key> = Omit<O, K> &
219234 {
220235 // Merge all but K
221221- [P in K]: Prisma__Pick<O, P & keyof O> // With K possibilities
222222- }[K]
236236+ [P in K]: Prisma__Pick<O, P & keyof O>; // With K possibilities
237237+ }[K];
223238224224-type EitherStrict<O extends object, K extends Key> = Strict<__Either<O, K>>
239239+type EitherStrict<O extends object, K extends Key> = Strict<__Either<O, K>>;
225240226226-type EitherLoose<O extends object, K extends Key> = ComputeRaw<__Either<O, K>>
241241+type EitherLoose<O extends object, K extends Key> = ComputeRaw<__Either<O, K>>;
227242228228-type _Either<
229229- O extends object,
230230- K extends Key,
231231- strict extends Boolean
232232-> = {
233233- 1: EitherStrict<O, K>
234234- 0: EitherLoose<O, K>
235235-}[strict]
243243+type _Either<O extends object, K extends Key, strict extends Boolean> = {
244244+ 1: EitherStrict<O, K>;
245245+ 0: EitherLoose<O, K>;
246246+}[strict];
236247237248export type Either<
238249 O extends object,
239250 K extends Key,
240240- strict extends Boolean = 1
241241-> = O extends unknown ? _Either<O, K, strict> : never
251251+ strict extends Boolean = 1,
252252+> = O extends unknown ? _Either<O, K, strict> : never;
242253243243-export type Union = any
254254+export type Union = any;
244255245256export type PatchUndefined<O extends object, O1 extends object> = {
246246- [K in keyof O]: O[K] extends undefined ? At<O1, K> : O[K]
247247-} & {}
257257+ [K in keyof O]: O[K] extends undefined ? At<O1, K> : O[K];
258258+} & {};
248259249260/** Helper Types for "Merge" **/
250261export type IntersectOf<U extends Union> = (
251262 U extends unknown ? (k: U) => void : never
252263) extends (k: infer I) => void
253264 ? I
254254- : never
265265+ : never;
255266256267export type Overwrite<O extends object, O1 extends object> = {
257257- [K in keyof O]: K extends keyof O1 ? O1[K] : O[K];
268268+ [K in keyof O]: K extends keyof O1 ? O1[K] : O[K];
258269} & {};
259270260260-type _Merge<U extends object> = IntersectOf<Overwrite<U, {
261261- [K in keyof U]-?: At<U, K>;
262262-}>>;
271271+type _Merge<U extends object> = IntersectOf<
272272+ Overwrite<
273273+ U,
274274+ {
275275+ [K in keyof U]-?: At<U, K>;
276276+ }
277277+ >
278278+>;
263279264280type Key = string | number | symbol;
265281type AtStrict<O extends object, K extends Key> = O[K & keyof O];
266266-type AtLoose<O extends object, K extends Key> = O extends unknown ? AtStrict<O, K> : never;
282282+type AtLoose<O extends object, K extends Key> = O extends unknown
283283+ ? AtStrict<O, K>
284284+ : never;
267285export type At<O extends object, K extends Key, strict extends Boolean = 1> = {
268268- 1: AtStrict<O, K>;
269269- 0: AtLoose<O, K>;
286286+ 1: AtStrict<O, K>;
287287+ 0: AtLoose<O, K>;
270288}[strict];
271289272272-export type ComputeRaw<A extends any> = A extends Function ? A : {
273273- [K in keyof A]: A[K];
274274-} & {};
290290+export type ComputeRaw<A extends any> = A extends Function
291291+ ? A
292292+ : {
293293+ [K in keyof A]: A[K];
294294+ } & {};
275295276296export type OptionalFlat<O> = {
277297 [K in keyof O]?: O[K];
···287307// this type assumes the passed object is entirely optional
288308export type AtLeast<O extends object, K extends string> = NoExpand<
289309 O extends unknown
290290- ? | (K extends keyof O ? { [P in K]: O[P] } & O : O)
291291- | {[P in keyof O as P extends K ? P : never]-?: O[P]} & O
292292- : never>;
310310+ ?
311311+ | (K extends keyof O ? { [P in K]: O[P] } & O : O)
312312+ | ({ [P in keyof O as P extends K ? P : never]-?: O[P] } & O)
313313+ : never
314314+>;
293315294294-type _Strict<U, _U = U> = U extends unknown ? U & OptionalFlat<_Record<Exclude<Keys<_U>, keyof U>, never>> : never;
316316+type _Strict<U, _U = U> = U extends unknown
317317+ ? U & OptionalFlat<_Record<Exclude<Keys<_U>, keyof U>, never>>
318318+ : never;
295319296320export type Strict<U extends object> = ComputeRaw<_Strict<U>>;
297321/** End Helper Types for "Merge" **/
298322299323export type Merge<U extends object> = ComputeRaw<_Merge<Strict<U>>>;
300324301301-export type Boolean = True | False
325325+export type Boolean = True | False;
302326303303-export type True = 1
327327+export type True = 1;
304328305305-export type False = 0
329329+export type False = 0;
306330307331export type Not<B extends Boolean> = {
308308- 0: 1
309309- 1: 0
310310-}[B]
332332+ 0: 1;
333333+ 1: 0;
334334+}[B];
311335312336export type Extends<A1 extends any, A2 extends any> = [A1] extends [never]
313337 ? 0 // anything `never` is false
314338 : A1 extends A2
315315- ? 1
316316- : 0
339339+ ? 1
340340+ : 0;
317341318342export type Has<U extends Union, U1 extends Union> = Not<
319343 Extends<Exclude<U1, U>, U1>
320320->
344344+>;
321345322346export type Or<B1 extends Boolean, B2 extends Boolean> = {
323347 0: {
324324- 0: 0
325325- 1: 1
326326- }
348348+ 0: 0;
349349+ 1: 1;
350350+ };
327351 1: {
328328- 0: 1
329329- 1: 1
330330- }
331331-}[B1][B2]
352352+ 0: 1;
353353+ 1: 1;
354354+ };
355355+}[B1][B2];
332356333333-export type Keys<U extends Union> = U extends unknown ? keyof U : never
357357+export type Keys<U extends Union> = U extends unknown ? keyof U : never;
334358335335-export type GetScalarType<T, O> = O extends object ? {
336336- [P in keyof T]: P extends keyof O
337337- ? O[P]
338338- : never
339339-} : never
359359+export type GetScalarType<T, O> = O extends object
360360+ ? {
361361+ [P in keyof T]: P extends keyof O ? O[P] : never;
362362+ }
363363+ : never;
340364341341-type FieldPaths<
342342- T,
343343- U = Omit<T, '_avg' | '_sum' | '_count' | '_min' | '_max'>
344344-> = IsObject<T> extends True ? U : T
365365+type FieldPaths<T, U = Omit<T, '_avg' | '_sum' | '_count' | '_min' | '_max'>> =
366366+ IsObject<T> extends True ? U : T;
345367346368export type GetHavingFields<T> = {
347369 [K in keyof T]: Or<
···352374 // based on the brilliant idea of Pierre-Antoine Mills
353375 // https://github.com/microsoft/TypeScript/issues/30188#issuecomment-478938437
354376 T[K] extends infer TK
355355- ? GetHavingFields<UnEnumerate<TK> extends object ? Merge<UnEnumerate<TK>> : never>
377377+ ? GetHavingFields<
378378+ UnEnumerate<TK> extends object ? Merge<UnEnumerate<TK>> : never
379379+ >
356380 : never
357381 : {} extends FieldPaths<T[K]>
358358- ? never
359359- : K
360360-}[keyof T]
382382+ ? never
383383+ : K;
384384+}[keyof T];
361385362386/**
363387 * Convert tuple to union
364388 */
365365-type _TupleToUnion<T> = T extends (infer E)[] ? E : never
366366-type TupleToUnion<K extends readonly any[]> = _TupleToUnion<K>
367367-export type MaybeTupleToUnion<T> = T extends any[] ? TupleToUnion<T> : T
389389+type _TupleToUnion<T> = T extends (infer E)[] ? E : never;
390390+type TupleToUnion<K extends readonly any[]> = _TupleToUnion<K>;
391391+export type MaybeTupleToUnion<T> = T extends any[] ? TupleToUnion<T> : T;
368392369393/**
370394 * Like `Pick`, but additionally can also accept an array of keys
371395 */
372372-export type PickEnumerable<T, K extends Enumerable<keyof T> | keyof T> = Prisma__Pick<T, MaybeTupleToUnion<K>>
396396+export type PickEnumerable<
397397+ T,
398398+ K extends Enumerable<keyof T> | keyof T,
399399+> = Prisma__Pick<T, MaybeTupleToUnion<K>>;
373400374401/**
375402 * Exclude all keys with underscores
376403 */
377377-export type ExcludeUnderscoreKeys<T extends string> = T extends `_${string}` ? never : T
378378-379379-380380-export type FieldRef<Model, FieldType> = runtime.FieldRef<Model, FieldType>
404404+export type ExcludeUnderscoreKeys<T extends string> = T extends `_${string}`
405405+ ? never
406406+ : T;
381407382382-type FieldRefInputType<Model, FieldType> = Model extends never ? never : FieldRef<Model, FieldType>
408408+export type FieldRef<Model, FieldType> = runtime.FieldRef<Model, FieldType>;
383409410410+type FieldRefInputType<Model, FieldType> = Model extends never
411411+ ? never
412412+ : FieldRef<Model, FieldType>;
384413385414export const ModelName = {
386415 User: 'User',
387416 AuthSession: 'AuthSession',
388417 AuthState: 'AuthState',
389418 Movie: 'Movie',
390390- TrackedMovie: 'TrackedMovie'
391391-} as const
419419+ TrackedMovie: 'TrackedMovie',
420420+} as const;
392421393393-export type ModelName = (typeof ModelName)[keyof typeof ModelName]
422422+export type ModelName = (typeof ModelName)[keyof typeof ModelName];
394423395395-396396-397397-export interface TypeMapCb<GlobalOmitOptions = {}> extends runtime.Types.Utils.Fn<{extArgs: runtime.Types.Extensions.InternalArgs }, runtime.Types.Utils.Record<string, any>> {
398398- returns: TypeMap<this['params']['extArgs'], GlobalOmitOptions>
424424+export interface TypeMapCb<GlobalOmitOptions = {}> extends runtime.Types.Utils
425425+ .Fn<
426426+ { extArgs: runtime.Types.Extensions.InternalArgs },
427427+ runtime.Types.Utils.Record<string, any>
428428+> {
429429+ returns: TypeMap<this['params']['extArgs'], GlobalOmitOptions>;
399430}
400431401401-export type TypeMap<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> = {
432432+export type TypeMap<
433433+ ExtArgs extends runtime.Types.Extensions.InternalArgs =
434434+ runtime.Types.Extensions.DefaultArgs,
435435+ GlobalOmitOptions = {},
436436+> = {
402437 globalOmitOptions: {
403403- omit: GlobalOmitOptions
404404- }
438438+ omit: GlobalOmitOptions;
439439+ };
405440 meta: {
406406- modelProps: "user" | "authSession" | "authState" | "movie" | "trackedMovie"
407407- txIsolationLevel: TransactionIsolationLevel
408408- }
441441+ modelProps: 'user' | 'authSession' | 'authState' | 'movie' | 'trackedMovie';
442442+ txIsolationLevel: TransactionIsolationLevel;
443443+ };
409444 model: {
410445 User: {
411411- payload: Prisma.$UserPayload<ExtArgs>
412412- fields: Prisma.UserFieldRefs
446446+ payload: Prisma.$UserPayload<ExtArgs>;
447447+ fields: Prisma.UserFieldRefs;
413448 operations: {
414449 findUnique: {
415415- args: Prisma.UserFindUniqueArgs<ExtArgs>
416416- result: runtime.Types.Utils.PayloadToResult<Prisma.$UserPayload> | null
417417- }
450450+ args: Prisma.UserFindUniqueArgs<ExtArgs>;
451451+ result: runtime.Types.Utils.PayloadToResult<Prisma.$UserPayload> | null;
452452+ };
418453 findUniqueOrThrow: {
419419- args: Prisma.UserFindUniqueOrThrowArgs<ExtArgs>
420420- result: runtime.Types.Utils.PayloadToResult<Prisma.$UserPayload>
421421- }
454454+ args: Prisma.UserFindUniqueOrThrowArgs<ExtArgs>;
455455+ result: runtime.Types.Utils.PayloadToResult<Prisma.$UserPayload>;
456456+ };
422457 findFirst: {
423423- args: Prisma.UserFindFirstArgs<ExtArgs>
424424- result: runtime.Types.Utils.PayloadToResult<Prisma.$UserPayload> | null
425425- }
458458+ args: Prisma.UserFindFirstArgs<ExtArgs>;
459459+ result: runtime.Types.Utils.PayloadToResult<Prisma.$UserPayload> | null;
460460+ };
426461 findFirstOrThrow: {
427427- args: Prisma.UserFindFirstOrThrowArgs<ExtArgs>
428428- result: runtime.Types.Utils.PayloadToResult<Prisma.$UserPayload>
429429- }
462462+ args: Prisma.UserFindFirstOrThrowArgs<ExtArgs>;
463463+ result: runtime.Types.Utils.PayloadToResult<Prisma.$UserPayload>;
464464+ };
430465 findMany: {
431431- args: Prisma.UserFindManyArgs<ExtArgs>
432432- result: runtime.Types.Utils.PayloadToResult<Prisma.$UserPayload>[]
433433- }
466466+ args: Prisma.UserFindManyArgs<ExtArgs>;
467467+ result: runtime.Types.Utils.PayloadToResult<Prisma.$UserPayload>[];
468468+ };
434469 create: {
435435- args: Prisma.UserCreateArgs<ExtArgs>
436436- result: runtime.Types.Utils.PayloadToResult<Prisma.$UserPayload>
437437- }
470470+ args: Prisma.UserCreateArgs<ExtArgs>;
471471+ result: runtime.Types.Utils.PayloadToResult<Prisma.$UserPayload>;
472472+ };
438473 createMany: {
439439- args: Prisma.UserCreateManyArgs<ExtArgs>
440440- result: BatchPayload
441441- }
474474+ args: Prisma.UserCreateManyArgs<ExtArgs>;
475475+ result: BatchPayload;
476476+ };
442477 createManyAndReturn: {
443443- args: Prisma.UserCreateManyAndReturnArgs<ExtArgs>
444444- result: runtime.Types.Utils.PayloadToResult<Prisma.$UserPayload>[]
445445- }
478478+ args: Prisma.UserCreateManyAndReturnArgs<ExtArgs>;
479479+ result: runtime.Types.Utils.PayloadToResult<Prisma.$UserPayload>[];
480480+ };
446481 delete: {
447447- args: Prisma.UserDeleteArgs<ExtArgs>
448448- result: runtime.Types.Utils.PayloadToResult<Prisma.$UserPayload>
449449- }
482482+ args: Prisma.UserDeleteArgs<ExtArgs>;
483483+ result: runtime.Types.Utils.PayloadToResult<Prisma.$UserPayload>;
484484+ };
450485 update: {
451451- args: Prisma.UserUpdateArgs<ExtArgs>
452452- result: runtime.Types.Utils.PayloadToResult<Prisma.$UserPayload>
453453- }
486486+ args: Prisma.UserUpdateArgs<ExtArgs>;
487487+ result: runtime.Types.Utils.PayloadToResult<Prisma.$UserPayload>;
488488+ };
454489 deleteMany: {
455455- args: Prisma.UserDeleteManyArgs<ExtArgs>
456456- result: BatchPayload
457457- }
490490+ args: Prisma.UserDeleteManyArgs<ExtArgs>;
491491+ result: BatchPayload;
492492+ };
458493 updateMany: {
459459- args: Prisma.UserUpdateManyArgs<ExtArgs>
460460- result: BatchPayload
461461- }
494494+ args: Prisma.UserUpdateManyArgs<ExtArgs>;
495495+ result: BatchPayload;
496496+ };
462497 updateManyAndReturn: {
463463- args: Prisma.UserUpdateManyAndReturnArgs<ExtArgs>
464464- result: runtime.Types.Utils.PayloadToResult<Prisma.$UserPayload>[]
465465- }
498498+ args: Prisma.UserUpdateManyAndReturnArgs<ExtArgs>;
499499+ result: runtime.Types.Utils.PayloadToResult<Prisma.$UserPayload>[];
500500+ };
466501 upsert: {
467467- args: Prisma.UserUpsertArgs<ExtArgs>
468468- result: runtime.Types.Utils.PayloadToResult<Prisma.$UserPayload>
469469- }
502502+ args: Prisma.UserUpsertArgs<ExtArgs>;
503503+ result: runtime.Types.Utils.PayloadToResult<Prisma.$UserPayload>;
504504+ };
470505 aggregate: {
471471- args: Prisma.UserAggregateArgs<ExtArgs>
472472- result: runtime.Types.Utils.Optional<Prisma.AggregateUser>
473473- }
506506+ args: Prisma.UserAggregateArgs<ExtArgs>;
507507+ result: runtime.Types.Utils.Optional<Prisma.AggregateUser>;
508508+ };
474509 groupBy: {
475475- args: Prisma.UserGroupByArgs<ExtArgs>
476476- result: runtime.Types.Utils.Optional<Prisma.UserGroupByOutputType>[]
477477- }
510510+ args: Prisma.UserGroupByArgs<ExtArgs>;
511511+ result: runtime.Types.Utils.Optional<Prisma.UserGroupByOutputType>[];
512512+ };
478513 count: {
479479- args: Prisma.UserCountArgs<ExtArgs>
480480- result: runtime.Types.Utils.Optional<Prisma.UserCountAggregateOutputType> | number
481481- }
482482- }
483483- }
514514+ args: Prisma.UserCountArgs<ExtArgs>;
515515+ result:
516516+ | runtime.Types.Utils.Optional<Prisma.UserCountAggregateOutputType>
517517+ | number;
518518+ };
519519+ };
520520+ };
484521 AuthSession: {
485485- payload: Prisma.$AuthSessionPayload<ExtArgs>
486486- fields: Prisma.AuthSessionFieldRefs
522522+ payload: Prisma.$AuthSessionPayload<ExtArgs>;
523523+ fields: Prisma.AuthSessionFieldRefs;
487524 operations: {
488525 findUnique: {
489489- args: Prisma.AuthSessionFindUniqueArgs<ExtArgs>
490490- result: runtime.Types.Utils.PayloadToResult<Prisma.$AuthSessionPayload> | null
491491- }
526526+ args: Prisma.AuthSessionFindUniqueArgs<ExtArgs>;
527527+ result: runtime.Types.Utils.PayloadToResult<Prisma.$AuthSessionPayload> | null;
528528+ };
492529 findUniqueOrThrow: {
493493- args: Prisma.AuthSessionFindUniqueOrThrowArgs<ExtArgs>
494494- result: runtime.Types.Utils.PayloadToResult<Prisma.$AuthSessionPayload>
495495- }
530530+ args: Prisma.AuthSessionFindUniqueOrThrowArgs<ExtArgs>;
531531+ result: runtime.Types.Utils.PayloadToResult<Prisma.$AuthSessionPayload>;
532532+ };
496533 findFirst: {
497497- args: Prisma.AuthSessionFindFirstArgs<ExtArgs>
498498- result: runtime.Types.Utils.PayloadToResult<Prisma.$AuthSessionPayload> | null
499499- }
534534+ args: Prisma.AuthSessionFindFirstArgs<ExtArgs>;
535535+ result: runtime.Types.Utils.PayloadToResult<Prisma.$AuthSessionPayload> | null;
536536+ };
500537 findFirstOrThrow: {
501501- args: Prisma.AuthSessionFindFirstOrThrowArgs<ExtArgs>
502502- result: runtime.Types.Utils.PayloadToResult<Prisma.$AuthSessionPayload>
503503- }
538538+ args: Prisma.AuthSessionFindFirstOrThrowArgs<ExtArgs>;
539539+ result: runtime.Types.Utils.PayloadToResult<Prisma.$AuthSessionPayload>;
540540+ };
504541 findMany: {
505505- args: Prisma.AuthSessionFindManyArgs<ExtArgs>
506506- result: runtime.Types.Utils.PayloadToResult<Prisma.$AuthSessionPayload>[]
507507- }
542542+ args: Prisma.AuthSessionFindManyArgs<ExtArgs>;
543543+ result: runtime.Types.Utils.PayloadToResult<Prisma.$AuthSessionPayload>[];
544544+ };
508545 create: {
509509- args: Prisma.AuthSessionCreateArgs<ExtArgs>
510510- result: runtime.Types.Utils.PayloadToResult<Prisma.$AuthSessionPayload>
511511- }
546546+ args: Prisma.AuthSessionCreateArgs<ExtArgs>;
547547+ result: runtime.Types.Utils.PayloadToResult<Prisma.$AuthSessionPayload>;
548548+ };
512549 createMany: {
513513- args: Prisma.AuthSessionCreateManyArgs<ExtArgs>
514514- result: BatchPayload
515515- }
550550+ args: Prisma.AuthSessionCreateManyArgs<ExtArgs>;
551551+ result: BatchPayload;
552552+ };
516553 createManyAndReturn: {
517517- args: Prisma.AuthSessionCreateManyAndReturnArgs<ExtArgs>
518518- result: runtime.Types.Utils.PayloadToResult<Prisma.$AuthSessionPayload>[]
519519- }
554554+ args: Prisma.AuthSessionCreateManyAndReturnArgs<ExtArgs>;
555555+ result: runtime.Types.Utils.PayloadToResult<Prisma.$AuthSessionPayload>[];
556556+ };
520557 delete: {
521521- args: Prisma.AuthSessionDeleteArgs<ExtArgs>
522522- result: runtime.Types.Utils.PayloadToResult<Prisma.$AuthSessionPayload>
523523- }
558558+ args: Prisma.AuthSessionDeleteArgs<ExtArgs>;
559559+ result: runtime.Types.Utils.PayloadToResult<Prisma.$AuthSessionPayload>;
560560+ };
524561 update: {
525525- args: Prisma.AuthSessionUpdateArgs<ExtArgs>
526526- result: runtime.Types.Utils.PayloadToResult<Prisma.$AuthSessionPayload>
527527- }
562562+ args: Prisma.AuthSessionUpdateArgs<ExtArgs>;
563563+ result: runtime.Types.Utils.PayloadToResult<Prisma.$AuthSessionPayload>;
564564+ };
528565 deleteMany: {
529529- args: Prisma.AuthSessionDeleteManyArgs<ExtArgs>
530530- result: BatchPayload
531531- }
566566+ args: Prisma.AuthSessionDeleteManyArgs<ExtArgs>;
567567+ result: BatchPayload;
568568+ };
532569 updateMany: {
533533- args: Prisma.AuthSessionUpdateManyArgs<ExtArgs>
534534- result: BatchPayload
535535- }
570570+ args: Prisma.AuthSessionUpdateManyArgs<ExtArgs>;
571571+ result: BatchPayload;
572572+ };
536573 updateManyAndReturn: {
537537- args: Prisma.AuthSessionUpdateManyAndReturnArgs<ExtArgs>
538538- result: runtime.Types.Utils.PayloadToResult<Prisma.$AuthSessionPayload>[]
539539- }
574574+ args: Prisma.AuthSessionUpdateManyAndReturnArgs<ExtArgs>;
575575+ result: runtime.Types.Utils.PayloadToResult<Prisma.$AuthSessionPayload>[];
576576+ };
540577 upsert: {
541541- args: Prisma.AuthSessionUpsertArgs<ExtArgs>
542542- result: runtime.Types.Utils.PayloadToResult<Prisma.$AuthSessionPayload>
543543- }
578578+ args: Prisma.AuthSessionUpsertArgs<ExtArgs>;
579579+ result: runtime.Types.Utils.PayloadToResult<Prisma.$AuthSessionPayload>;
580580+ };
544581 aggregate: {
545545- args: Prisma.AuthSessionAggregateArgs<ExtArgs>
546546- result: runtime.Types.Utils.Optional<Prisma.AggregateAuthSession>
547547- }
582582+ args: Prisma.AuthSessionAggregateArgs<ExtArgs>;
583583+ result: runtime.Types.Utils.Optional<Prisma.AggregateAuthSession>;
584584+ };
548585 groupBy: {
549549- args: Prisma.AuthSessionGroupByArgs<ExtArgs>
550550- result: runtime.Types.Utils.Optional<Prisma.AuthSessionGroupByOutputType>[]
551551- }
586586+ args: Prisma.AuthSessionGroupByArgs<ExtArgs>;
587587+ result: runtime.Types.Utils.Optional<Prisma.AuthSessionGroupByOutputType>[];
588588+ };
552589 count: {
553553- args: Prisma.AuthSessionCountArgs<ExtArgs>
554554- result: runtime.Types.Utils.Optional<Prisma.AuthSessionCountAggregateOutputType> | number
555555- }
556556- }
557557- }
590590+ args: Prisma.AuthSessionCountArgs<ExtArgs>;
591591+ result:
592592+ | runtime.Types.Utils.Optional<Prisma.AuthSessionCountAggregateOutputType>
593593+ | number;
594594+ };
595595+ };
596596+ };
558597 AuthState: {
559559- payload: Prisma.$AuthStatePayload<ExtArgs>
560560- fields: Prisma.AuthStateFieldRefs
598598+ payload: Prisma.$AuthStatePayload<ExtArgs>;
599599+ fields: Prisma.AuthStateFieldRefs;
561600 operations: {
562601 findUnique: {
563563- args: Prisma.AuthStateFindUniqueArgs<ExtArgs>
564564- result: runtime.Types.Utils.PayloadToResult<Prisma.$AuthStatePayload> | null
565565- }
602602+ args: Prisma.AuthStateFindUniqueArgs<ExtArgs>;
603603+ result: runtime.Types.Utils.PayloadToResult<Prisma.$AuthStatePayload> | null;
604604+ };
566605 findUniqueOrThrow: {
567567- args: Prisma.AuthStateFindUniqueOrThrowArgs<ExtArgs>
568568- result: runtime.Types.Utils.PayloadToResult<Prisma.$AuthStatePayload>
569569- }
606606+ args: Prisma.AuthStateFindUniqueOrThrowArgs<ExtArgs>;
607607+ result: runtime.Types.Utils.PayloadToResult<Prisma.$AuthStatePayload>;
608608+ };
570609 findFirst: {
571571- args: Prisma.AuthStateFindFirstArgs<ExtArgs>
572572- result: runtime.Types.Utils.PayloadToResult<Prisma.$AuthStatePayload> | null
573573- }
610610+ args: Prisma.AuthStateFindFirstArgs<ExtArgs>;
611611+ result: runtime.Types.Utils.PayloadToResult<Prisma.$AuthStatePayload> | null;
612612+ };
574613 findFirstOrThrow: {
575575- args: Prisma.AuthStateFindFirstOrThrowArgs<ExtArgs>
576576- result: runtime.Types.Utils.PayloadToResult<Prisma.$AuthStatePayload>
577577- }
614614+ args: Prisma.AuthStateFindFirstOrThrowArgs<ExtArgs>;
615615+ result: runtime.Types.Utils.PayloadToResult<Prisma.$AuthStatePayload>;
616616+ };
578617 findMany: {
579579- args: Prisma.AuthStateFindManyArgs<ExtArgs>
580580- result: runtime.Types.Utils.PayloadToResult<Prisma.$AuthStatePayload>[]
581581- }
618618+ args: Prisma.AuthStateFindManyArgs<ExtArgs>;
619619+ result: runtime.Types.Utils.PayloadToResult<Prisma.$AuthStatePayload>[];
620620+ };
582621 create: {
583583- args: Prisma.AuthStateCreateArgs<ExtArgs>
584584- result: runtime.Types.Utils.PayloadToResult<Prisma.$AuthStatePayload>
585585- }
622622+ args: Prisma.AuthStateCreateArgs<ExtArgs>;
623623+ result: runtime.Types.Utils.PayloadToResult<Prisma.$AuthStatePayload>;
624624+ };
586625 createMany: {
587587- args: Prisma.AuthStateCreateManyArgs<ExtArgs>
588588- result: BatchPayload
589589- }
626626+ args: Prisma.AuthStateCreateManyArgs<ExtArgs>;
627627+ result: BatchPayload;
628628+ };
590629 createManyAndReturn: {
591591- args: Prisma.AuthStateCreateManyAndReturnArgs<ExtArgs>
592592- result: runtime.Types.Utils.PayloadToResult<Prisma.$AuthStatePayload>[]
593593- }
630630+ args: Prisma.AuthStateCreateManyAndReturnArgs<ExtArgs>;
631631+ result: runtime.Types.Utils.PayloadToResult<Prisma.$AuthStatePayload>[];
632632+ };
594633 delete: {
595595- args: Prisma.AuthStateDeleteArgs<ExtArgs>
596596- result: runtime.Types.Utils.PayloadToResult<Prisma.$AuthStatePayload>
597597- }
634634+ args: Prisma.AuthStateDeleteArgs<ExtArgs>;
635635+ result: runtime.Types.Utils.PayloadToResult<Prisma.$AuthStatePayload>;
636636+ };
598637 update: {
599599- args: Prisma.AuthStateUpdateArgs<ExtArgs>
600600- result: runtime.Types.Utils.PayloadToResult<Prisma.$AuthStatePayload>
601601- }
638638+ args: Prisma.AuthStateUpdateArgs<ExtArgs>;
639639+ result: runtime.Types.Utils.PayloadToResult<Prisma.$AuthStatePayload>;
640640+ };
602641 deleteMany: {
603603- args: Prisma.AuthStateDeleteManyArgs<ExtArgs>
604604- result: BatchPayload
605605- }
642642+ args: Prisma.AuthStateDeleteManyArgs<ExtArgs>;
643643+ result: BatchPayload;
644644+ };
606645 updateMany: {
607607- args: Prisma.AuthStateUpdateManyArgs<ExtArgs>
608608- result: BatchPayload
609609- }
646646+ args: Prisma.AuthStateUpdateManyArgs<ExtArgs>;
647647+ result: BatchPayload;
648648+ };
610649 updateManyAndReturn: {
611611- args: Prisma.AuthStateUpdateManyAndReturnArgs<ExtArgs>
612612- result: runtime.Types.Utils.PayloadToResult<Prisma.$AuthStatePayload>[]
613613- }
650650+ args: Prisma.AuthStateUpdateManyAndReturnArgs<ExtArgs>;
651651+ result: runtime.Types.Utils.PayloadToResult<Prisma.$AuthStatePayload>[];
652652+ };
614653 upsert: {
615615- args: Prisma.AuthStateUpsertArgs<ExtArgs>
616616- result: runtime.Types.Utils.PayloadToResult<Prisma.$AuthStatePayload>
617617- }
654654+ args: Prisma.AuthStateUpsertArgs<ExtArgs>;
655655+ result: runtime.Types.Utils.PayloadToResult<Prisma.$AuthStatePayload>;
656656+ };
618657 aggregate: {
619619- args: Prisma.AuthStateAggregateArgs<ExtArgs>
620620- result: runtime.Types.Utils.Optional<Prisma.AggregateAuthState>
621621- }
658658+ args: Prisma.AuthStateAggregateArgs<ExtArgs>;
659659+ result: runtime.Types.Utils.Optional<Prisma.AggregateAuthState>;
660660+ };
622661 groupBy: {
623623- args: Prisma.AuthStateGroupByArgs<ExtArgs>
624624- result: runtime.Types.Utils.Optional<Prisma.AuthStateGroupByOutputType>[]
625625- }
662662+ args: Prisma.AuthStateGroupByArgs<ExtArgs>;
663663+ result: runtime.Types.Utils.Optional<Prisma.AuthStateGroupByOutputType>[];
664664+ };
626665 count: {
627627- args: Prisma.AuthStateCountArgs<ExtArgs>
628628- result: runtime.Types.Utils.Optional<Prisma.AuthStateCountAggregateOutputType> | number
629629- }
630630- }
631631- }
666666+ args: Prisma.AuthStateCountArgs<ExtArgs>;
667667+ result:
668668+ | runtime.Types.Utils.Optional<Prisma.AuthStateCountAggregateOutputType>
669669+ | number;
670670+ };
671671+ };
672672+ };
632673 Movie: {
633633- payload: Prisma.$MoviePayload<ExtArgs>
634634- fields: Prisma.MovieFieldRefs
674674+ payload: Prisma.$MoviePayload<ExtArgs>;
675675+ fields: Prisma.MovieFieldRefs;
635676 operations: {
636677 findUnique: {
637637- args: Prisma.MovieFindUniqueArgs<ExtArgs>
638638- result: runtime.Types.Utils.PayloadToResult<Prisma.$MoviePayload> | null
639639- }
678678+ args: Prisma.MovieFindUniqueArgs<ExtArgs>;
679679+ result: runtime.Types.Utils.PayloadToResult<Prisma.$MoviePayload> | null;
680680+ };
640681 findUniqueOrThrow: {
641641- args: Prisma.MovieFindUniqueOrThrowArgs<ExtArgs>
642642- result: runtime.Types.Utils.PayloadToResult<Prisma.$MoviePayload>
643643- }
682682+ args: Prisma.MovieFindUniqueOrThrowArgs<ExtArgs>;
683683+ result: runtime.Types.Utils.PayloadToResult<Prisma.$MoviePayload>;
684684+ };
644685 findFirst: {
645645- args: Prisma.MovieFindFirstArgs<ExtArgs>
646646- result: runtime.Types.Utils.PayloadToResult<Prisma.$MoviePayload> | null
647647- }
686686+ args: Prisma.MovieFindFirstArgs<ExtArgs>;
687687+ result: runtime.Types.Utils.PayloadToResult<Prisma.$MoviePayload> | null;
688688+ };
648689 findFirstOrThrow: {
649649- args: Prisma.MovieFindFirstOrThrowArgs<ExtArgs>
650650- result: runtime.Types.Utils.PayloadToResult<Prisma.$MoviePayload>
651651- }
690690+ args: Prisma.MovieFindFirstOrThrowArgs<ExtArgs>;
691691+ result: runtime.Types.Utils.PayloadToResult<Prisma.$MoviePayload>;
692692+ };
652693 findMany: {
653653- args: Prisma.MovieFindManyArgs<ExtArgs>
654654- result: runtime.Types.Utils.PayloadToResult<Prisma.$MoviePayload>[]
655655- }
694694+ args: Prisma.MovieFindManyArgs<ExtArgs>;
695695+ result: runtime.Types.Utils.PayloadToResult<Prisma.$MoviePayload>[];
696696+ };
656697 create: {
657657- args: Prisma.MovieCreateArgs<ExtArgs>
658658- result: runtime.Types.Utils.PayloadToResult<Prisma.$MoviePayload>
659659- }
698698+ args: Prisma.MovieCreateArgs<ExtArgs>;
699699+ result: runtime.Types.Utils.PayloadToResult<Prisma.$MoviePayload>;
700700+ };
660701 createMany: {
661661- args: Prisma.MovieCreateManyArgs<ExtArgs>
662662- result: BatchPayload
663663- }
702702+ args: Prisma.MovieCreateManyArgs<ExtArgs>;
703703+ result: BatchPayload;
704704+ };
664705 createManyAndReturn: {
665665- args: Prisma.MovieCreateManyAndReturnArgs<ExtArgs>
666666- result: runtime.Types.Utils.PayloadToResult<Prisma.$MoviePayload>[]
667667- }
706706+ args: Prisma.MovieCreateManyAndReturnArgs<ExtArgs>;
707707+ result: runtime.Types.Utils.PayloadToResult<Prisma.$MoviePayload>[];
708708+ };
668709 delete: {
669669- args: Prisma.MovieDeleteArgs<ExtArgs>
670670- result: runtime.Types.Utils.PayloadToResult<Prisma.$MoviePayload>
671671- }
710710+ args: Prisma.MovieDeleteArgs<ExtArgs>;
711711+ result: runtime.Types.Utils.PayloadToResult<Prisma.$MoviePayload>;
712712+ };
672713 update: {
673673- args: Prisma.MovieUpdateArgs<ExtArgs>
674674- result: runtime.Types.Utils.PayloadToResult<Prisma.$MoviePayload>
675675- }
714714+ args: Prisma.MovieUpdateArgs<ExtArgs>;
715715+ result: runtime.Types.Utils.PayloadToResult<Prisma.$MoviePayload>;
716716+ };
676717 deleteMany: {
677677- args: Prisma.MovieDeleteManyArgs<ExtArgs>
678678- result: BatchPayload
679679- }
718718+ args: Prisma.MovieDeleteManyArgs<ExtArgs>;
719719+ result: BatchPayload;
720720+ };
680721 updateMany: {
681681- args: Prisma.MovieUpdateManyArgs<ExtArgs>
682682- result: BatchPayload
683683- }
722722+ args: Prisma.MovieUpdateManyArgs<ExtArgs>;
723723+ result: BatchPayload;
724724+ };
684725 updateManyAndReturn: {
685685- args: Prisma.MovieUpdateManyAndReturnArgs<ExtArgs>
686686- result: runtime.Types.Utils.PayloadToResult<Prisma.$MoviePayload>[]
687687- }
726726+ args: Prisma.MovieUpdateManyAndReturnArgs<ExtArgs>;
727727+ result: runtime.Types.Utils.PayloadToResult<Prisma.$MoviePayload>[];
728728+ };
688729 upsert: {
689689- args: Prisma.MovieUpsertArgs<ExtArgs>
690690- result: runtime.Types.Utils.PayloadToResult<Prisma.$MoviePayload>
691691- }
730730+ args: Prisma.MovieUpsertArgs<ExtArgs>;
731731+ result: runtime.Types.Utils.PayloadToResult<Prisma.$MoviePayload>;
732732+ };
692733 aggregate: {
693693- args: Prisma.MovieAggregateArgs<ExtArgs>
694694- result: runtime.Types.Utils.Optional<Prisma.AggregateMovie>
695695- }
734734+ args: Prisma.MovieAggregateArgs<ExtArgs>;
735735+ result: runtime.Types.Utils.Optional<Prisma.AggregateMovie>;
736736+ };
696737 groupBy: {
697697- args: Prisma.MovieGroupByArgs<ExtArgs>
698698- result: runtime.Types.Utils.Optional<Prisma.MovieGroupByOutputType>[]
699699- }
738738+ args: Prisma.MovieGroupByArgs<ExtArgs>;
739739+ result: runtime.Types.Utils.Optional<Prisma.MovieGroupByOutputType>[];
740740+ };
700741 count: {
701701- args: Prisma.MovieCountArgs<ExtArgs>
702702- result: runtime.Types.Utils.Optional<Prisma.MovieCountAggregateOutputType> | number
703703- }
704704- }
705705- }
742742+ args: Prisma.MovieCountArgs<ExtArgs>;
743743+ result:
744744+ | runtime.Types.Utils.Optional<Prisma.MovieCountAggregateOutputType>
745745+ | number;
746746+ };
747747+ };
748748+ };
706749 TrackedMovie: {
707707- payload: Prisma.$TrackedMoviePayload<ExtArgs>
708708- fields: Prisma.TrackedMovieFieldRefs
750750+ payload: Prisma.$TrackedMoviePayload<ExtArgs>;
751751+ fields: Prisma.TrackedMovieFieldRefs;
709752 operations: {
710753 findUnique: {
711711- args: Prisma.TrackedMovieFindUniqueArgs<ExtArgs>
712712- result: runtime.Types.Utils.PayloadToResult<Prisma.$TrackedMoviePayload> | null
713713- }
754754+ args: Prisma.TrackedMovieFindUniqueArgs<ExtArgs>;
755755+ result: runtime.Types.Utils.PayloadToResult<Prisma.$TrackedMoviePayload> | null;
756756+ };
714757 findUniqueOrThrow: {
715715- args: Prisma.TrackedMovieFindUniqueOrThrowArgs<ExtArgs>
716716- result: runtime.Types.Utils.PayloadToResult<Prisma.$TrackedMoviePayload>
717717- }
758758+ args: Prisma.TrackedMovieFindUniqueOrThrowArgs<ExtArgs>;
759759+ result: runtime.Types.Utils.PayloadToResult<Prisma.$TrackedMoviePayload>;
760760+ };
718761 findFirst: {
719719- args: Prisma.TrackedMovieFindFirstArgs<ExtArgs>
720720- result: runtime.Types.Utils.PayloadToResult<Prisma.$TrackedMoviePayload> | null
721721- }
762762+ args: Prisma.TrackedMovieFindFirstArgs<ExtArgs>;
763763+ result: runtime.Types.Utils.PayloadToResult<Prisma.$TrackedMoviePayload> | null;
764764+ };
722765 findFirstOrThrow: {
723723- args: Prisma.TrackedMovieFindFirstOrThrowArgs<ExtArgs>
724724- result: runtime.Types.Utils.PayloadToResult<Prisma.$TrackedMoviePayload>
725725- }
766766+ args: Prisma.TrackedMovieFindFirstOrThrowArgs<ExtArgs>;
767767+ result: runtime.Types.Utils.PayloadToResult<Prisma.$TrackedMoviePayload>;
768768+ };
726769 findMany: {
727727- args: Prisma.TrackedMovieFindManyArgs<ExtArgs>
728728- result: runtime.Types.Utils.PayloadToResult<Prisma.$TrackedMoviePayload>[]
729729- }
770770+ args: Prisma.TrackedMovieFindManyArgs<ExtArgs>;
771771+ result: runtime.Types.Utils.PayloadToResult<Prisma.$TrackedMoviePayload>[];
772772+ };
730773 create: {
731731- args: Prisma.TrackedMovieCreateArgs<ExtArgs>
732732- result: runtime.Types.Utils.PayloadToResult<Prisma.$TrackedMoviePayload>
733733- }
774774+ args: Prisma.TrackedMovieCreateArgs<ExtArgs>;
775775+ result: runtime.Types.Utils.PayloadToResult<Prisma.$TrackedMoviePayload>;
776776+ };
734777 createMany: {
735735- args: Prisma.TrackedMovieCreateManyArgs<ExtArgs>
736736- result: BatchPayload
737737- }
778778+ args: Prisma.TrackedMovieCreateManyArgs<ExtArgs>;
779779+ result: BatchPayload;
780780+ };
738781 createManyAndReturn: {
739739- args: Prisma.TrackedMovieCreateManyAndReturnArgs<ExtArgs>
740740- result: runtime.Types.Utils.PayloadToResult<Prisma.$TrackedMoviePayload>[]
741741- }
782782+ args: Prisma.TrackedMovieCreateManyAndReturnArgs<ExtArgs>;
783783+ result: runtime.Types.Utils.PayloadToResult<Prisma.$TrackedMoviePayload>[];
784784+ };
742785 delete: {
743743- args: Prisma.TrackedMovieDeleteArgs<ExtArgs>
744744- result: runtime.Types.Utils.PayloadToResult<Prisma.$TrackedMoviePayload>
745745- }
786786+ args: Prisma.TrackedMovieDeleteArgs<ExtArgs>;
787787+ result: runtime.Types.Utils.PayloadToResult<Prisma.$TrackedMoviePayload>;
788788+ };
746789 update: {
747747- args: Prisma.TrackedMovieUpdateArgs<ExtArgs>
748748- result: runtime.Types.Utils.PayloadToResult<Prisma.$TrackedMoviePayload>
749749- }
790790+ args: Prisma.TrackedMovieUpdateArgs<ExtArgs>;
791791+ result: runtime.Types.Utils.PayloadToResult<Prisma.$TrackedMoviePayload>;
792792+ };
750793 deleteMany: {
751751- args: Prisma.TrackedMovieDeleteManyArgs<ExtArgs>
752752- result: BatchPayload
753753- }
794794+ args: Prisma.TrackedMovieDeleteManyArgs<ExtArgs>;
795795+ result: BatchPayload;
796796+ };
754797 updateMany: {
755755- args: Prisma.TrackedMovieUpdateManyArgs<ExtArgs>
756756- result: BatchPayload
757757- }
798798+ args: Prisma.TrackedMovieUpdateManyArgs<ExtArgs>;
799799+ result: BatchPayload;
800800+ };
758801 updateManyAndReturn: {
759759- args: Prisma.TrackedMovieUpdateManyAndReturnArgs<ExtArgs>
760760- result: runtime.Types.Utils.PayloadToResult<Prisma.$TrackedMoviePayload>[]
761761- }
802802+ args: Prisma.TrackedMovieUpdateManyAndReturnArgs<ExtArgs>;
803803+ result: runtime.Types.Utils.PayloadToResult<Prisma.$TrackedMoviePayload>[];
804804+ };
762805 upsert: {
763763- args: Prisma.TrackedMovieUpsertArgs<ExtArgs>
764764- result: runtime.Types.Utils.PayloadToResult<Prisma.$TrackedMoviePayload>
765765- }
806806+ args: Prisma.TrackedMovieUpsertArgs<ExtArgs>;
807807+ result: runtime.Types.Utils.PayloadToResult<Prisma.$TrackedMoviePayload>;
808808+ };
766809 aggregate: {
767767- args: Prisma.TrackedMovieAggregateArgs<ExtArgs>
768768- result: runtime.Types.Utils.Optional<Prisma.AggregateTrackedMovie>
769769- }
810810+ args: Prisma.TrackedMovieAggregateArgs<ExtArgs>;
811811+ result: runtime.Types.Utils.Optional<Prisma.AggregateTrackedMovie>;
812812+ };
770813 groupBy: {
771771- args: Prisma.TrackedMovieGroupByArgs<ExtArgs>
772772- result: runtime.Types.Utils.Optional<Prisma.TrackedMovieGroupByOutputType>[]
773773- }
814814+ args: Prisma.TrackedMovieGroupByArgs<ExtArgs>;
815815+ result: runtime.Types.Utils.Optional<Prisma.TrackedMovieGroupByOutputType>[];
816816+ };
774817 count: {
775775- args: Prisma.TrackedMovieCountArgs<ExtArgs>
776776- result: runtime.Types.Utils.Optional<Prisma.TrackedMovieCountAggregateOutputType> | number
777777- }
778778- }
779779- }
780780- }
818818+ args: Prisma.TrackedMovieCountArgs<ExtArgs>;
819819+ result:
820820+ | runtime.Types.Utils.Optional<Prisma.TrackedMovieCountAggregateOutputType>
821821+ | number;
822822+ };
823823+ };
824824+ };
825825+ };
781826} & {
782827 other: {
783783- payload: any
828828+ payload: any;
784829 operations: {
785830 $executeRaw: {
786786- args: [query: TemplateStringsArray | Sql, ...values: any[]],
787787- result: any
788788- }
831831+ args: [query: TemplateStringsArray | Sql, ...values: any[]];
832832+ result: any;
833833+ };
789834 $executeRawUnsafe: {
790790- args: [query: string, ...values: any[]],
791791- result: any
792792- }
835835+ args: [query: string, ...values: any[]];
836836+ result: any;
837837+ };
793838 $queryRaw: {
794794- args: [query: TemplateStringsArray | Sql, ...values: any[]],
795795- result: any
796796- }
839839+ args: [query: TemplateStringsArray | Sql, ...values: any[]];
840840+ result: any;
841841+ };
797842 $queryRawUnsafe: {
798798- args: [query: string, ...values: any[]],
799799- result: any
800800- }
801801- }
802802- }
803803-}
843843+ args: [query: string, ...values: any[]];
844844+ result: any;
845845+ };
846846+ };
847847+ };
848848+};
804849805850/**
806851 * Enums
···810855 ReadUncommitted: 'ReadUncommitted',
811856 ReadCommitted: 'ReadCommitted',
812857 RepeatableRead: 'RepeatableRead',
813813- Serializable: 'Serializable'
814814-} as const)
858858+ Serializable: 'Serializable',
859859+} as const);
815860816816-export type TransactionIsolationLevel = (typeof TransactionIsolationLevel)[keyof typeof TransactionIsolationLevel]
817817-861861+export type TransactionIsolationLevel =
862862+ (typeof TransactionIsolationLevel)[keyof typeof TransactionIsolationLevel];
818863819864export const UserScalarFieldEnum = {
820865 did: 'did',
···822867 displayName: 'displayName',
823868 avatar: 'avatar',
824869 createdAt: 'createdAt',
825825- updatedAt: 'updatedAt'
826826-} as const
870870+ updatedAt: 'updatedAt',
871871+} as const;
827872828828-export type UserScalarFieldEnum = (typeof UserScalarFieldEnum)[keyof typeof UserScalarFieldEnum]
829829-873873+export type UserScalarFieldEnum =
874874+ (typeof UserScalarFieldEnum)[keyof typeof UserScalarFieldEnum];
830875831876export const AuthSessionScalarFieldEnum = {
832877 id: 'id',
833878 userDid: 'userDid',
834879 sessionData: 'sessionData',
835880 createdAt: 'createdAt',
836836- updatedAt: 'updatedAt'
837837-} as const
881881+ updatedAt: 'updatedAt',
882882+} as const;
838883839839-export type AuthSessionScalarFieldEnum = (typeof AuthSessionScalarFieldEnum)[keyof typeof AuthSessionScalarFieldEnum]
840840-884884+export type AuthSessionScalarFieldEnum =
885885+ (typeof AuthSessionScalarFieldEnum)[keyof typeof AuthSessionScalarFieldEnum];
841886842887export const AuthStateScalarFieldEnum = {
843888 key: 'key',
844889 stateData: 'stateData',
845890 expiresAt: 'expiresAt',
846846- createdAt: 'createdAt'
847847-} as const
891891+ createdAt: 'createdAt',
892892+} as const;
848893849849-export type AuthStateScalarFieldEnum = (typeof AuthStateScalarFieldEnum)[keyof typeof AuthStateScalarFieldEnum]
850850-894894+export type AuthStateScalarFieldEnum =
895895+ (typeof AuthStateScalarFieldEnum)[keyof typeof AuthStateScalarFieldEnum];
851896852897export const MovieScalarFieldEnum = {
853898 movieId: 'movieId',
···858903 releaseDate: 'releaseDate',
859904 overview: 'overview',
860905 createdAt: 'createdAt',
861861- updatedAt: 'updatedAt'
862862-} as const
863863-864864-export type MovieScalarFieldEnum = (typeof MovieScalarFieldEnum)[keyof typeof MovieScalarFieldEnum]
906906+ updatedAt: 'updatedAt',
907907+} as const;
865908909909+export type MovieScalarFieldEnum =
910910+ (typeof MovieScalarFieldEnum)[keyof typeof MovieScalarFieldEnum];
866911867912export const TrackedMovieScalarFieldEnum = {
868913 id: 'id',
···874919 status: 'status',
875920 watchedDate: 'watchedDate',
876921 createdAt: 'createdAt',
877877- updatedAt: 'updatedAt'
878878-} as const
879879-880880-export type TrackedMovieScalarFieldEnum = (typeof TrackedMovieScalarFieldEnum)[keyof typeof TrackedMovieScalarFieldEnum]
922922+ updatedAt: 'updatedAt',
923923+} as const;
881924925925+export type TrackedMovieScalarFieldEnum =
926926+ (typeof TrackedMovieScalarFieldEnum)[keyof typeof TrackedMovieScalarFieldEnum];
882927883928export const SortOrder = {
884929 asc: 'asc',
885885- desc: 'desc'
886886-} as const
930930+ desc: 'desc',
931931+} as const;
887932888888-export type SortOrder = (typeof SortOrder)[keyof typeof SortOrder]
889889-933933+export type SortOrder = (typeof SortOrder)[keyof typeof SortOrder];
890934891935export const QueryMode = {
892936 default: 'default',
893893- insensitive: 'insensitive'
894894-} as const
937937+ insensitive: 'insensitive',
938938+} as const;
895939896896-export type QueryMode = (typeof QueryMode)[keyof typeof QueryMode]
897897-940940+export type QueryMode = (typeof QueryMode)[keyof typeof QueryMode];
898941899942export const NullsOrder = {
900943 first: 'first',
901901- last: 'last'
902902-} as const
903903-904904-export type NullsOrder = (typeof NullsOrder)[keyof typeof NullsOrder]
944944+ last: 'last',
945945+} as const;
905946906906-947947+export type NullsOrder = (typeof NullsOrder)[keyof typeof NullsOrder];
907948908949/**
909950 * Field references
910951 */
911952912912-913953/**
914954 * Reference to a field of type 'String'
915955 */
916916-export type StringFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'String'>
917917-918918-956956+export type StringFieldRefInput<$PrismaModel> = FieldRefInputType<
957957+ $PrismaModel,
958958+ 'String'
959959+>;
919960920961/**
921962 * Reference to a field of type 'String[]'
922963 */
923923-export type ListStringFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'String[]'>
924924-925925-964964+export type ListStringFieldRefInput<$PrismaModel> = FieldRefInputType<
965965+ $PrismaModel,
966966+ 'String[]'
967967+>;
926968927969/**
928970 * Reference to a field of type 'DateTime'
929971 */
930930-export type DateTimeFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'DateTime'>
931931-932932-972972+export type DateTimeFieldRefInput<$PrismaModel> = FieldRefInputType<
973973+ $PrismaModel,
974974+ 'DateTime'
975975+>;
933976934977/**
935978 * Reference to a field of type 'DateTime[]'
936979 */
937937-export type ListDateTimeFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'DateTime[]'>
938938-939939-980980+export type ListDateTimeFieldRefInput<$PrismaModel> = FieldRefInputType<
981981+ $PrismaModel,
982982+ 'DateTime[]'
983983+>;
940984941985/**
942986 * Reference to a field of type 'Int'
943987 */
944944-export type IntFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'Int'>
945945-946946-988988+export type IntFieldRefInput<$PrismaModel> = FieldRefInputType<
989989+ $PrismaModel,
990990+ 'Int'
991991+>;
947992948993/**
949994 * Reference to a field of type 'Int[]'
950995 */
951951-export type ListIntFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'Int[]'>
952952-953953-996996+export type ListIntFieldRefInput<$PrismaModel> = FieldRefInputType<
997997+ $PrismaModel,
998998+ 'Int[]'
999999+>;
95410009551001/**
9561002 * Reference to a field of type 'Float'
9571003 */
958958-export type FloatFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'Float'>
959959-960960-10041004+export type FloatFieldRefInput<$PrismaModel> = FieldRefInputType<
10051005+ $PrismaModel,
10061006+ 'Float'
10071007+>;
96110089621009/**
9631010 * Reference to a field of type 'Float[]'
9641011 */
965965-export type ListFloatFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'Float[]'>
966966-10121012+export type ListFloatFieldRefInput<$PrismaModel> = FieldRefInputType<
10131013+ $PrismaModel,
10141014+ 'Float[]'
10151015+>;
96710169681017/**
9691018 * Batch Payload for updateMany & deleteMany & createMany
9701019 */
9711020export type BatchPayload = {
972972- count: number
973973-}
10211021+ count: number;
10221022+};
9741023975975-export const defineExtension = runtime.Extensions.defineExtension as unknown as runtime.Types.Extensions.ExtendsHook<"define", TypeMapCb, runtime.Types.Extensions.DefaultArgs>
976976-export type DefaultPrismaClient = PrismaClient
977977-export type ErrorFormat = 'pretty' | 'colorless' | 'minimal'
978978-export type PrismaClientOptions = ({
979979- /**
980980- * Instance of a Driver Adapter, e.g., like one provided by `@prisma/adapter-pg`.
981981- */
982982- adapter: runtime.SqlDriverAdapterFactory
983983- accelerateUrl?: never
984984-} | {
985985- /**
986986- * Prisma Accelerate URL allowing the client to connect through Accelerate instead of a direct database.
987987- */
988988- accelerateUrl: string
989989- adapter?: never
990990-}) & {
10241024+export const defineExtension = runtime.Extensions
10251025+ .defineExtension as unknown as runtime.Types.Extensions.ExtendsHook<
10261026+ 'define',
10271027+ TypeMapCb,
10281028+ runtime.Types.Extensions.DefaultArgs
10291029+>;
10301030+export type DefaultPrismaClient = PrismaClient;
10311031+export type ErrorFormat = 'pretty' | 'colorless' | 'minimal';
10321032+export type PrismaClientOptions = (
10331033+ | {
10341034+ /**
10351035+ * Instance of a Driver Adapter, e.g., like one provided by `@prisma/adapter-pg`.
10361036+ */
10371037+ adapter: runtime.SqlDriverAdapterFactory;
10381038+ accelerateUrl?: never;
10391039+ }
10401040+ | {
10411041+ /**
10421042+ * Prisma Accelerate URL allowing the client to connect through Accelerate instead of a direct database.
10431043+ */
10441044+ accelerateUrl: string;
10451045+ adapter?: never;
10461046+ }
10471047+) & {
9911048 /**
9921049 * @default "colorless"
9931050 */
994994- errorFormat?: ErrorFormat
10511051+ errorFormat?: ErrorFormat;
9951052 /**
9961053 * @example
9971054 * ```
9981055 * // Shorthand for `emit: 'stdout'`
9991056 * log: ['query', 'info', 'warn', 'error']
10001000- *
10571057+ *
10011058 * // Emit as events only
10021059 * log: [
10031060 * { emit: 'event', level: 'query' },
···10051062 * { emit: 'event', level: 'warn' }
10061063 * { emit: 'event', level: 'error' }
10071064 * ]
10081008- *
10651065+ *
10091066 * / Emit as events and log to stdout
10101067 * og: [
10111068 * { emit: 'stdout', level: 'query' },
10121069 * { emit: 'stdout', level: 'info' },
10131070 * { emit: 'stdout', level: 'warn' }
10141071 * { emit: 'stdout', level: 'error' }
10151015- *
10721072+ *
10161073 * ```
10171074 * Read more in our [docs](https://pris.ly/d/logging).
10181075 */
10191019- log?: (LogLevel | LogDefinition)[]
10761076+ log?: (LogLevel | LogDefinition)[];
10201077 /**
10211078 * The default values for transactionOptions
10221079 * maxWait ?= 2000
10231080 * timeout ?= 5000
10241081 */
10251082 transactionOptions?: {
10261026- maxWait?: number
10271027- timeout?: number
10281028- isolationLevel?: TransactionIsolationLevel
10291029- }
10831083+ maxWait?: number;
10841084+ timeout?: number;
10851085+ isolationLevel?: TransactionIsolationLevel;
10861086+ };
10301087 /**
10311088 * Global configuration for omitting model fields by default.
10321032- *
10891089+ *
10331090 * @example
10341091 * ```
10351092 * const prisma = new PrismaClient({
···10411098 * })
10421099 * ```
10431100 */
10441044- omit?: GlobalOmitConfig
11011101+ omit?: GlobalOmitConfig;
10451102 /**
10461103 * SQL commenter plugins that add metadata to SQL queries as comments.
10471104 * Comments follow the sqlcommenter format: https://google.github.io/sqlcommenter/
10481048- *
11051105+ *
10491106 * @example
10501107 * ```
10511108 * const prisma = new PrismaClient({
···10571114 * })
10581115 * ```
10591116 */
10601060- comments?: runtime.SqlCommenterPlugin[]
10611061-}
11171117+ comments?: runtime.SqlCommenterPlugin[];
11181118+};
10621119export type GlobalOmitConfig = {
10631063- user?: Prisma.UserOmit
10641064- authSession?: Prisma.AuthSessionOmit
10651065- authState?: Prisma.AuthStateOmit
10661066- movie?: Prisma.MovieOmit
10671067- trackedMovie?: Prisma.TrackedMovieOmit
10681068-}
11201120+ user?: Prisma.UserOmit;
11211121+ authSession?: Prisma.AuthSessionOmit;
11221122+ authState?: Prisma.AuthStateOmit;
11231123+ movie?: Prisma.MovieOmit;
11241124+ trackedMovie?: Prisma.TrackedMovieOmit;
11251125+};
1069112610701127/* Types for Logging */
10711071-export type LogLevel = 'info' | 'query' | 'warn' | 'error'
11281128+export type LogLevel = 'info' | 'query' | 'warn' | 'error';
10721129export type LogDefinition = {
10731073- level: LogLevel
10741074- emit: 'stdout' | 'event'
10751075-}
11301130+ level: LogLevel;
11311131+ emit: 'stdout' | 'event';
11321132+};
1076113310771134export type CheckIsLogLevel<T> = T extends LogLevel ? T : never;
10781135···10801137 T extends LogDefinition ? T['level'] : T
10811138>;
1082113910831083-export type GetEvents<T extends any[]> = T extends Array<LogLevel | LogDefinition>
10841084- ? GetLogType<T[number]>
10851085- : never;
11401140+export type GetEvents<T extends any[]> =
11411141+ T extends Array<LogLevel | LogDefinition> ? GetLogType<T[number]> : never;
1086114210871143export type QueryEvent = {
10881088- timestamp: Date
10891089- query: string
10901090- params: string
10911091- duration: number
10921092- target: string
10931093-}
11441144+ timestamp: Date;
11451145+ query: string;
11461146+ params: string;
11471147+ duration: number;
11481148+ target: string;
11491149+};
1094115010951151export type LogEvent = {
10961096- timestamp: Date
10971097- message: string
10981098- target: string
10991099-}
11521152+ timestamp: Date;
11531153+ message: string;
11541154+ target: string;
11551155+};
11001156/* End Types for Logging */
11011101-1102115711031158export type PrismaAction =
11041159 | 'findUnique'
···11211176 | 'count'
11221177 | 'runCommandRaw'
11231178 | 'findRaw'
11241124- | 'groupBy'
11791179+ | 'groupBy';
1125118011261181/**
11271182 * `PrismaClient` proxy available in interactive transactions.
11281183 */
11291129-export type TransactionClient = Omit<DefaultPrismaClient, runtime.ITXClientDenyList>
11301130-11841184+export type TransactionClient = Omit<
11851185+ DefaultPrismaClient,
11861186+ runtime.ITXClientDenyList
11871187+>;
···11/* !!! This is code generated by Prisma. Do not edit directly. !!! */
22/* eslint-disable */
33// biome-ignore-all lint: generated file
44-// @ts-nocheck
44+// @ts-nocheck
55/*
66 * WARNING: This is an internal file that is subject to change!
77 *
···1414 * model files in the `model` directory!
1515 */
16161717-import * as runtime from "@prisma/client/runtime/index-browser"
1818-1919-export type * from '../models.js'
2020-export type * from './prismaNamespace.js'
1717+import * as runtime from '@prisma/client/runtime/index-browser';
21182222-export const Decimal = runtime.Decimal
1919+export type * from '../models.js';
2020+export type * from './prismaNamespace.js';
23212222+export const Decimal = runtime.Decimal;
24232524export const NullTypes = {
2626- DbNull: runtime.NullTypes.DbNull as (new (secret: never) => typeof runtime.DbNull),
2727- JsonNull: runtime.NullTypes.JsonNull as (new (secret: never) => typeof runtime.JsonNull),
2828- AnyNull: runtime.NullTypes.AnyNull as (new (secret: never) => typeof runtime.AnyNull),
2929-}
2525+ DbNull: runtime.NullTypes.DbNull as new (
2626+ secret: never,
2727+ ) => typeof runtime.DbNull,
2828+ JsonNull: runtime.NullTypes.JsonNull as new (
2929+ secret: never,
3030+ ) => typeof runtime.JsonNull,
3131+ AnyNull: runtime.NullTypes.AnyNull as new (
3232+ secret: never,
3333+ ) => typeof runtime.AnyNull,
3434+};
3035/**
3136 * Helper for filtering JSON entries that have `null` on the database (empty on the db)
3237 *
3338 * @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field
3439 */
3535-export const DbNull = runtime.DbNull
4040+export const DbNull = runtime.DbNull;
36413742/**
3843 * Helper for filtering JSON entries that have JSON `null` values (not empty on the db)
3944 *
4045 * @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field
4146 */
4242-export const JsonNull = runtime.JsonNull
4747+export const JsonNull = runtime.JsonNull;
43484449/**
4550 * Helper for filtering JSON entries that are `Prisma.DbNull` or `Prisma.JsonNull`
4651 *
4752 * @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field
4853 */
4949-export const AnyNull = runtime.AnyNull
5050-5454+export const AnyNull = runtime.AnyNull;
51555256export const ModelName = {
5357 User: 'User',
5458 AuthSession: 'AuthSession',
5559 AuthState: 'AuthState',
5660 Movie: 'Movie',
5757- TrackedMovie: 'TrackedMovie'
5858-} as const
6161+ TrackedMovie: 'TrackedMovie',
6262+} as const;
59636060-export type ModelName = (typeof ModelName)[keyof typeof ModelName]
6464+export type ModelName = (typeof ModelName)[keyof typeof ModelName];
61656266/*
6367 * Enums
···6771 ReadUncommitted: 'ReadUncommitted',
6872 ReadCommitted: 'ReadCommitted',
6973 RepeatableRead: 'RepeatableRead',
7070- Serializable: 'Serializable'
7171-} as const)
7474+ Serializable: 'Serializable',
7575+} as const);
72767373-export type TransactionIsolationLevel = (typeof TransactionIsolationLevel)[keyof typeof TransactionIsolationLevel]
7474-7777+export type TransactionIsolationLevel =
7878+ (typeof TransactionIsolationLevel)[keyof typeof TransactionIsolationLevel];
75797680export const UserScalarFieldEnum = {
7781 did: 'did',
···7983 displayName: 'displayName',
8084 avatar: 'avatar',
8185 createdAt: 'createdAt',
8282- updatedAt: 'updatedAt'
8383-} as const
8686+ updatedAt: 'updatedAt',
8787+} as const;
84888585-export type UserScalarFieldEnum = (typeof UserScalarFieldEnum)[keyof typeof UserScalarFieldEnum]
8686-8989+export type UserScalarFieldEnum =
9090+ (typeof UserScalarFieldEnum)[keyof typeof UserScalarFieldEnum];
87918892export const AuthSessionScalarFieldEnum = {
8993 id: 'id',
9094 userDid: 'userDid',
9195 sessionData: 'sessionData',
9296 createdAt: 'createdAt',
9393- updatedAt: 'updatedAt'
9494-} as const
9797+ updatedAt: 'updatedAt',
9898+} as const;
95999696-export type AuthSessionScalarFieldEnum = (typeof AuthSessionScalarFieldEnum)[keyof typeof AuthSessionScalarFieldEnum]
9797-100100+export type AuthSessionScalarFieldEnum =
101101+ (typeof AuthSessionScalarFieldEnum)[keyof typeof AuthSessionScalarFieldEnum];
9810299103export const AuthStateScalarFieldEnum = {
100104 key: 'key',
101105 stateData: 'stateData',
102106 expiresAt: 'expiresAt',
103103- createdAt: 'createdAt'
104104-} as const
107107+ createdAt: 'createdAt',
108108+} as const;
105109106106-export type AuthStateScalarFieldEnum = (typeof AuthStateScalarFieldEnum)[keyof typeof AuthStateScalarFieldEnum]
107107-110110+export type AuthStateScalarFieldEnum =
111111+ (typeof AuthStateScalarFieldEnum)[keyof typeof AuthStateScalarFieldEnum];
108112109113export const MovieScalarFieldEnum = {
110114 movieId: 'movieId',
···115119 releaseDate: 'releaseDate',
116120 overview: 'overview',
117121 createdAt: 'createdAt',
118118- updatedAt: 'updatedAt'
119119-} as const
122122+ updatedAt: 'updatedAt',
123123+} as const;
120124121121-export type MovieScalarFieldEnum = (typeof MovieScalarFieldEnum)[keyof typeof MovieScalarFieldEnum]
122122-125125+export type MovieScalarFieldEnum =
126126+ (typeof MovieScalarFieldEnum)[keyof typeof MovieScalarFieldEnum];
123127124128export const TrackedMovieScalarFieldEnum = {
125129 id: 'id',
···131135 status: 'status',
132136 watchedDate: 'watchedDate',
133137 createdAt: 'createdAt',
134134- updatedAt: 'updatedAt'
135135-} as const
138138+ updatedAt: 'updatedAt',
139139+} as const;
136140137137-export type TrackedMovieScalarFieldEnum = (typeof TrackedMovieScalarFieldEnum)[keyof typeof TrackedMovieScalarFieldEnum]
138138-141141+export type TrackedMovieScalarFieldEnum =
142142+ (typeof TrackedMovieScalarFieldEnum)[keyof typeof TrackedMovieScalarFieldEnum];
139143140144export const SortOrder = {
141145 asc: 'asc',
142142- desc: 'desc'
143143-} as const
146146+ desc: 'desc',
147147+} as const;
144148145145-export type SortOrder = (typeof SortOrder)[keyof typeof SortOrder]
146146-149149+export type SortOrder = (typeof SortOrder)[keyof typeof SortOrder];
147150148151export const QueryMode = {
149152 default: 'default',
150150- insensitive: 'insensitive'
151151-} as const
153153+ insensitive: 'insensitive',
154154+} as const;
152155153153-export type QueryMode = (typeof QueryMode)[keyof typeof QueryMode]
154154-156156+export type QueryMode = (typeof QueryMode)[keyof typeof QueryMode];
155157156158export const NullsOrder = {
157159 first: 'first',
158158- last: 'last'
159159-} as const
160160-161161-export type NullsOrder = (typeof NullsOrder)[keyof typeof NullsOrder]
160160+ last: 'last',
161161+} as const;
162162163163+export type NullsOrder = (typeof NullsOrder)[keyof typeof NullsOrder];
+7-7
backend/src/generated/models.ts
···11/* !!! This is code generated by Prisma. Do not edit directly. !!! */
22/* eslint-disable */
33// biome-ignore-all lint: generated file
44-// @ts-nocheck
44+// @ts-nocheck
55/*
66 * This is a barrel export file for all models and their related types.
77 *
88 * 🟢 You can import this file directly.
99 */
1010-export type * from './models/User.js'
1111-export type * from './models/AuthSession.js'
1212-export type * from './models/AuthState.js'
1313-export type * from './models/Movie.js'
1414-export type * from './models/TrackedMovie.js'
1515-export type * from './commonInputTypes.js'1010+export type * from './models/User.js';
1111+export type * from './models/AuthSession.js';
1212+export type * from './models/AuthState.js';
1313+export type * from './models/Movie.js';
1414+export type * from './models/TrackedMovie.js';
1515+export type * from './commonInputTypes.js';
+747-457
backend/src/generated/models/AuthSession.ts
···11/* !!! This is code generated by Prisma. Do not edit directly. !!! */
22/* eslint-disable */
33// biome-ignore-all lint: generated file
44-// @ts-nocheck
44+// @ts-nocheck
55/*
66 * This file exports the `AuthSession` model and its related types.
77 *
88 * 🟢 You can import this file directly.
99 */
1010-import type * as runtime from "@prisma/client/runtime/client"
1111-import type * as $Enums from "../enums.js"
1212-import type * as Prisma from "../internal/prismaNamespace.js"
1010+import type * as runtime from '@prisma/client/runtime/client';
1111+import type * as $Enums from '../enums.js';
1212+import type * as Prisma from '../internal/prismaNamespace.js';
13131414/**
1515 * Model AuthSession
1616- *
1616+ *
1717 */
1818-export type AuthSessionModel = runtime.Types.Result.DefaultSelection<Prisma.$AuthSessionPayload>
1818+export type AuthSessionModel =
1919+ runtime.Types.Result.DefaultSelection<Prisma.$AuthSessionPayload>;
19202021export type AggregateAuthSession = {
2121- _count: AuthSessionCountAggregateOutputType | null
2222- _min: AuthSessionMinAggregateOutputType | null
2323- _max: AuthSessionMaxAggregateOutputType | null
2424-}
2222+ _count: AuthSessionCountAggregateOutputType | null;
2323+ _min: AuthSessionMinAggregateOutputType | null;
2424+ _max: AuthSessionMaxAggregateOutputType | null;
2525+};
25262627export type AuthSessionMinAggregateOutputType = {
2727- id: string | null
2828- userDid: string | null
2929- sessionData: string | null
3030- createdAt: Date | null
3131- updatedAt: Date | null
3232-}
2828+ id: string | null;
2929+ userDid: string | null;
3030+ sessionData: string | null;
3131+ createdAt: Date | null;
3232+ updatedAt: Date | null;
3333+};
33343435export type AuthSessionMaxAggregateOutputType = {
3535- id: string | null
3636- userDid: string | null
3737- sessionData: string | null
3838- createdAt: Date | null
3939- updatedAt: Date | null
4040-}
3636+ id: string | null;
3737+ userDid: string | null;
3838+ sessionData: string | null;
3939+ createdAt: Date | null;
4040+ updatedAt: Date | null;
4141+};
41424243export type AuthSessionCountAggregateOutputType = {
4343- id: number
4444- userDid: number
4545- sessionData: number
4646- createdAt: number
4747- updatedAt: number
4848- _all: number
4949-}
5050-4444+ id: number;
4545+ userDid: number;
4646+ sessionData: number;
4747+ createdAt: number;
4848+ updatedAt: number;
4949+ _all: number;
5050+};
51515252export type AuthSessionMinAggregateInputType = {
5353- id?: true
5454- userDid?: true
5555- sessionData?: true
5656- createdAt?: true
5757- updatedAt?: true
5858-}
5353+ id?: true;
5454+ userDid?: true;
5555+ sessionData?: true;
5656+ createdAt?: true;
5757+ updatedAt?: true;
5858+};
59596060export type AuthSessionMaxAggregateInputType = {
6161- id?: true
6262- userDid?: true
6363- sessionData?: true
6464- createdAt?: true
6565- updatedAt?: true
6666-}
6161+ id?: true;
6262+ userDid?: true;
6363+ sessionData?: true;
6464+ createdAt?: true;
6565+ updatedAt?: true;
6666+};
67676868export type AuthSessionCountAggregateInputType = {
6969- id?: true
7070- userDid?: true
7171- sessionData?: true
7272- createdAt?: true
7373- updatedAt?: true
7474- _all?: true
7575-}
6969+ id?: true;
7070+ userDid?: true;
7171+ sessionData?: true;
7272+ createdAt?: true;
7373+ updatedAt?: true;
7474+ _all?: true;
7575+};
76767777-export type AuthSessionAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
7777+export type AuthSessionAggregateArgs<
7878+ ExtArgs extends runtime.Types.Extensions.InternalArgs =
7979+ runtime.Types.Extensions.DefaultArgs,
8080+> = {
7881 /**
7982 * Filter which AuthSession to aggregate.
8083 */
8181- where?: Prisma.AuthSessionWhereInput
8484+ where?: Prisma.AuthSessionWhereInput;
8285 /**
8386 * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
8484- *
8787+ *
8588 * Determine the order of AuthSessions to fetch.
8689 */
8787- orderBy?: Prisma.AuthSessionOrderByWithRelationInput | Prisma.AuthSessionOrderByWithRelationInput[]
9090+ orderBy?:
9191+ | Prisma.AuthSessionOrderByWithRelationInput
9292+ | Prisma.AuthSessionOrderByWithRelationInput[];
8893 /**
8994 * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
9090- *
9595+ *
9196 * Sets the start position
9297 */
9393- cursor?: Prisma.AuthSessionWhereUniqueInput
9898+ cursor?: Prisma.AuthSessionWhereUniqueInput;
9499 /**
95100 * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
9696- *
101101+ *
97102 * Take `±n` AuthSessions from the position of the cursor.
98103 */
9999- take?: number
104104+ take?: number;
100105 /**
101106 * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
102102- *
107107+ *
103108 * Skip the first `n` AuthSessions.
104109 */
105105- skip?: number
110110+ skip?: number;
106111 /**
107112 * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
108108- *
113113+ *
109114 * Count returned AuthSessions
110110- **/
111111- _count?: true | AuthSessionCountAggregateInputType
115115+ **/
116116+ _count?: true | AuthSessionCountAggregateInputType;
112117 /**
113118 * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
114114- *
119119+ *
115120 * Select which fields to find the minimum value
116116- **/
117117- _min?: AuthSessionMinAggregateInputType
121121+ **/
122122+ _min?: AuthSessionMinAggregateInputType;
118123 /**
119124 * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
120120- *
125125+ *
121126 * Select which fields to find the maximum value
122122- **/
123123- _max?: AuthSessionMaxAggregateInputType
124124-}
127127+ **/
128128+ _max?: AuthSessionMaxAggregateInputType;
129129+};
125130126131export type GetAuthSessionAggregateType<T extends AuthSessionAggregateArgs> = {
127127- [P in keyof T & keyof AggregateAuthSession]: P extends '_count' | 'count'
132132+ [P in keyof T & keyof AggregateAuthSession]: P extends '_count' | 'count'
128133 ? T[P] extends true
129134 ? number
130135 : Prisma.GetScalarType<T[P], AggregateAuthSession[P]>
131131- : Prisma.GetScalarType<T[P], AggregateAuthSession[P]>
132132-}
136136+ : Prisma.GetScalarType<T[P], AggregateAuthSession[P]>;
137137+};
133138134134-135135-136136-137137-export type AuthSessionGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
138138- where?: Prisma.AuthSessionWhereInput
139139- orderBy?: Prisma.AuthSessionOrderByWithAggregationInput | Prisma.AuthSessionOrderByWithAggregationInput[]
140140- by: Prisma.AuthSessionScalarFieldEnum[] | Prisma.AuthSessionScalarFieldEnum
141141- having?: Prisma.AuthSessionScalarWhereWithAggregatesInput
142142- take?: number
143143- skip?: number
144144- _count?: AuthSessionCountAggregateInputType | true
145145- _min?: AuthSessionMinAggregateInputType
146146- _max?: AuthSessionMaxAggregateInputType
147147-}
139139+export type AuthSessionGroupByArgs<
140140+ ExtArgs extends runtime.Types.Extensions.InternalArgs =
141141+ runtime.Types.Extensions.DefaultArgs,
142142+> = {
143143+ where?: Prisma.AuthSessionWhereInput;
144144+ orderBy?:
145145+ | Prisma.AuthSessionOrderByWithAggregationInput
146146+ | Prisma.AuthSessionOrderByWithAggregationInput[];
147147+ by: Prisma.AuthSessionScalarFieldEnum[] | Prisma.AuthSessionScalarFieldEnum;
148148+ having?: Prisma.AuthSessionScalarWhereWithAggregatesInput;
149149+ take?: number;
150150+ skip?: number;
151151+ _count?: AuthSessionCountAggregateInputType | true;
152152+ _min?: AuthSessionMinAggregateInputType;
153153+ _max?: AuthSessionMaxAggregateInputType;
154154+};
148155149156export type AuthSessionGroupByOutputType = {
150150- id: string
151151- userDid: string
152152- sessionData: string
153153- createdAt: Date
154154- updatedAt: Date
155155- _count: AuthSessionCountAggregateOutputType | null
156156- _min: AuthSessionMinAggregateOutputType | null
157157- _max: AuthSessionMaxAggregateOutputType | null
158158-}
157157+ id: string;
158158+ userDid: string;
159159+ sessionData: string;
160160+ createdAt: Date;
161161+ updatedAt: Date;
162162+ _count: AuthSessionCountAggregateOutputType | null;
163163+ _min: AuthSessionMinAggregateOutputType | null;
164164+ _max: AuthSessionMaxAggregateOutputType | null;
165165+};
159166160160-type GetAuthSessionGroupByPayload<T extends AuthSessionGroupByArgs> = Prisma.PrismaPromise<
161161- Array<
162162- Prisma.PickEnumerable<AuthSessionGroupByOutputType, T['by']> &
163163- {
164164- [P in ((keyof T) & (keyof AuthSessionGroupByOutputType))]: P extends '_count'
167167+type GetAuthSessionGroupByPayload<T extends AuthSessionGroupByArgs> =
168168+ Prisma.PrismaPromise<
169169+ Array<
170170+ Prisma.PickEnumerable<AuthSessionGroupByOutputType, T['by']> & {
171171+ [P in keyof T & keyof AuthSessionGroupByOutputType]: P extends '_count'
165172 ? T[P] extends boolean
166173 ? number
167174 : Prisma.GetScalarType<T[P], AuthSessionGroupByOutputType[P]>
168168- : Prisma.GetScalarType<T[P], AuthSessionGroupByOutputType[P]>
175175+ : Prisma.GetScalarType<T[P], AuthSessionGroupByOutputType[P]>;
169176 }
170177 >
171171- >
172172-173173-178178+ >;
174179175180export type AuthSessionWhereInput = {
176176- AND?: Prisma.AuthSessionWhereInput | Prisma.AuthSessionWhereInput[]
177177- OR?: Prisma.AuthSessionWhereInput[]
178178- NOT?: Prisma.AuthSessionWhereInput | Prisma.AuthSessionWhereInput[]
179179- id?: Prisma.StringFilter<"AuthSession"> | string
180180- userDid?: Prisma.StringFilter<"AuthSession"> | string
181181- sessionData?: Prisma.StringFilter<"AuthSession"> | string
182182- createdAt?: Prisma.DateTimeFilter<"AuthSession"> | Date | string
183183- updatedAt?: Prisma.DateTimeFilter<"AuthSession"> | Date | string
184184-}
181181+ AND?: Prisma.AuthSessionWhereInput | Prisma.AuthSessionWhereInput[];
182182+ OR?: Prisma.AuthSessionWhereInput[];
183183+ NOT?: Prisma.AuthSessionWhereInput | Prisma.AuthSessionWhereInput[];
184184+ id?: Prisma.StringFilter<'AuthSession'> | string;
185185+ userDid?: Prisma.StringFilter<'AuthSession'> | string;
186186+ sessionData?: Prisma.StringFilter<'AuthSession'> | string;
187187+ createdAt?: Prisma.DateTimeFilter<'AuthSession'> | Date | string;
188188+ updatedAt?: Prisma.DateTimeFilter<'AuthSession'> | Date | string;
189189+};
185190186191export type AuthSessionOrderByWithRelationInput = {
187187- id?: Prisma.SortOrder
188188- userDid?: Prisma.SortOrder
189189- sessionData?: Prisma.SortOrder
190190- createdAt?: Prisma.SortOrder
191191- updatedAt?: Prisma.SortOrder
192192-}
192192+ id?: Prisma.SortOrder;
193193+ userDid?: Prisma.SortOrder;
194194+ sessionData?: Prisma.SortOrder;
195195+ createdAt?: Prisma.SortOrder;
196196+ updatedAt?: Prisma.SortOrder;
197197+};
193198194194-export type AuthSessionWhereUniqueInput = Prisma.AtLeast<{
195195- id?: string
196196- userDid?: string
197197- AND?: Prisma.AuthSessionWhereInput | Prisma.AuthSessionWhereInput[]
198198- OR?: Prisma.AuthSessionWhereInput[]
199199- NOT?: Prisma.AuthSessionWhereInput | Prisma.AuthSessionWhereInput[]
200200- sessionData?: Prisma.StringFilter<"AuthSession"> | string
201201- createdAt?: Prisma.DateTimeFilter<"AuthSession"> | Date | string
202202- updatedAt?: Prisma.DateTimeFilter<"AuthSession"> | Date | string
203203-}, "id" | "userDid">
199199+export type AuthSessionWhereUniqueInput = Prisma.AtLeast<
200200+ {
201201+ id?: string;
202202+ userDid?: string;
203203+ AND?: Prisma.AuthSessionWhereInput | Prisma.AuthSessionWhereInput[];
204204+ OR?: Prisma.AuthSessionWhereInput[];
205205+ NOT?: Prisma.AuthSessionWhereInput | Prisma.AuthSessionWhereInput[];
206206+ sessionData?: Prisma.StringFilter<'AuthSession'> | string;
207207+ createdAt?: Prisma.DateTimeFilter<'AuthSession'> | Date | string;
208208+ updatedAt?: Prisma.DateTimeFilter<'AuthSession'> | Date | string;
209209+ },
210210+ 'id' | 'userDid'
211211+>;
204212205213export type AuthSessionOrderByWithAggregationInput = {
206206- id?: Prisma.SortOrder
207207- userDid?: Prisma.SortOrder
208208- sessionData?: Prisma.SortOrder
209209- createdAt?: Prisma.SortOrder
210210- updatedAt?: Prisma.SortOrder
211211- _count?: Prisma.AuthSessionCountOrderByAggregateInput
212212- _max?: Prisma.AuthSessionMaxOrderByAggregateInput
213213- _min?: Prisma.AuthSessionMinOrderByAggregateInput
214214-}
214214+ id?: Prisma.SortOrder;
215215+ userDid?: Prisma.SortOrder;
216216+ sessionData?: Prisma.SortOrder;
217217+ createdAt?: Prisma.SortOrder;
218218+ updatedAt?: Prisma.SortOrder;
219219+ _count?: Prisma.AuthSessionCountOrderByAggregateInput;
220220+ _max?: Prisma.AuthSessionMaxOrderByAggregateInput;
221221+ _min?: Prisma.AuthSessionMinOrderByAggregateInput;
222222+};
215223216224export type AuthSessionScalarWhereWithAggregatesInput = {
217217- AND?: Prisma.AuthSessionScalarWhereWithAggregatesInput | Prisma.AuthSessionScalarWhereWithAggregatesInput[]
218218- OR?: Prisma.AuthSessionScalarWhereWithAggregatesInput[]
219219- NOT?: Prisma.AuthSessionScalarWhereWithAggregatesInput | Prisma.AuthSessionScalarWhereWithAggregatesInput[]
220220- id?: Prisma.StringWithAggregatesFilter<"AuthSession"> | string
221221- userDid?: Prisma.StringWithAggregatesFilter<"AuthSession"> | string
222222- sessionData?: Prisma.StringWithAggregatesFilter<"AuthSession"> | string
223223- createdAt?: Prisma.DateTimeWithAggregatesFilter<"AuthSession"> | Date | string
224224- updatedAt?: Prisma.DateTimeWithAggregatesFilter<"AuthSession"> | Date | string
225225-}
225225+ AND?:
226226+ | Prisma.AuthSessionScalarWhereWithAggregatesInput
227227+ | Prisma.AuthSessionScalarWhereWithAggregatesInput[];
228228+ OR?: Prisma.AuthSessionScalarWhereWithAggregatesInput[];
229229+ NOT?:
230230+ | Prisma.AuthSessionScalarWhereWithAggregatesInput
231231+ | Prisma.AuthSessionScalarWhereWithAggregatesInput[];
232232+ id?: Prisma.StringWithAggregatesFilter<'AuthSession'> | string;
233233+ userDid?: Prisma.StringWithAggregatesFilter<'AuthSession'> | string;
234234+ sessionData?: Prisma.StringWithAggregatesFilter<'AuthSession'> | string;
235235+ createdAt?:
236236+ | Prisma.DateTimeWithAggregatesFilter<'AuthSession'>
237237+ | Date
238238+ | string;
239239+ updatedAt?:
240240+ | Prisma.DateTimeWithAggregatesFilter<'AuthSession'>
241241+ | Date
242242+ | string;
243243+};
226244227245export type AuthSessionCreateInput = {
228228- id?: string
229229- userDid: string
230230- sessionData: string
231231- createdAt?: Date | string
232232- updatedAt?: Date | string
233233-}
246246+ id?: string;
247247+ userDid: string;
248248+ sessionData: string;
249249+ createdAt?: Date | string;
250250+ updatedAt?: Date | string;
251251+};
234252235253export type AuthSessionUncheckedCreateInput = {
236236- id?: string
237237- userDid: string
238238- sessionData: string
239239- createdAt?: Date | string
240240- updatedAt?: Date | string
241241-}
254254+ id?: string;
255255+ userDid: string;
256256+ sessionData: string;
257257+ createdAt?: Date | string;
258258+ updatedAt?: Date | string;
259259+};
242260243261export type AuthSessionUpdateInput = {
244244- id?: Prisma.StringFieldUpdateOperationsInput | string
245245- userDid?: Prisma.StringFieldUpdateOperationsInput | string
246246- sessionData?: Prisma.StringFieldUpdateOperationsInput | string
247247- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
248248- updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
249249-}
262262+ id?: Prisma.StringFieldUpdateOperationsInput | string;
263263+ userDid?: Prisma.StringFieldUpdateOperationsInput | string;
264264+ sessionData?: Prisma.StringFieldUpdateOperationsInput | string;
265265+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
266266+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
267267+};
250268251269export type AuthSessionUncheckedUpdateInput = {
252252- id?: Prisma.StringFieldUpdateOperationsInput | string
253253- userDid?: Prisma.StringFieldUpdateOperationsInput | string
254254- sessionData?: Prisma.StringFieldUpdateOperationsInput | string
255255- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
256256- updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
257257-}
270270+ id?: Prisma.StringFieldUpdateOperationsInput | string;
271271+ userDid?: Prisma.StringFieldUpdateOperationsInput | string;
272272+ sessionData?: Prisma.StringFieldUpdateOperationsInput | string;
273273+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
274274+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
275275+};
258276259277export type AuthSessionCreateManyInput = {
260260- id?: string
261261- userDid: string
262262- sessionData: string
263263- createdAt?: Date | string
264264- updatedAt?: Date | string
265265-}
278278+ id?: string;
279279+ userDid: string;
280280+ sessionData: string;
281281+ createdAt?: Date | string;
282282+ updatedAt?: Date | string;
283283+};
266284267285export type AuthSessionUpdateManyMutationInput = {
268268- id?: Prisma.StringFieldUpdateOperationsInput | string
269269- userDid?: Prisma.StringFieldUpdateOperationsInput | string
270270- sessionData?: Prisma.StringFieldUpdateOperationsInput | string
271271- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
272272- updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
273273-}
286286+ id?: Prisma.StringFieldUpdateOperationsInput | string;
287287+ userDid?: Prisma.StringFieldUpdateOperationsInput | string;
288288+ sessionData?: Prisma.StringFieldUpdateOperationsInput | string;
289289+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
290290+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
291291+};
274292275293export type AuthSessionUncheckedUpdateManyInput = {
276276- id?: Prisma.StringFieldUpdateOperationsInput | string
277277- userDid?: Prisma.StringFieldUpdateOperationsInput | string
278278- sessionData?: Prisma.StringFieldUpdateOperationsInput | string
279279- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
280280- updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
281281-}
294294+ id?: Prisma.StringFieldUpdateOperationsInput | string;
295295+ userDid?: Prisma.StringFieldUpdateOperationsInput | string;
296296+ sessionData?: Prisma.StringFieldUpdateOperationsInput | string;
297297+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
298298+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
299299+};
282300283301export type AuthSessionCountOrderByAggregateInput = {
284284- id?: Prisma.SortOrder
285285- userDid?: Prisma.SortOrder
286286- sessionData?: Prisma.SortOrder
287287- createdAt?: Prisma.SortOrder
288288- updatedAt?: Prisma.SortOrder
289289-}
302302+ id?: Prisma.SortOrder;
303303+ userDid?: Prisma.SortOrder;
304304+ sessionData?: Prisma.SortOrder;
305305+ createdAt?: Prisma.SortOrder;
306306+ updatedAt?: Prisma.SortOrder;
307307+};
290308291309export type AuthSessionMaxOrderByAggregateInput = {
292292- id?: Prisma.SortOrder
293293- userDid?: Prisma.SortOrder
294294- sessionData?: Prisma.SortOrder
295295- createdAt?: Prisma.SortOrder
296296- updatedAt?: Prisma.SortOrder
297297-}
310310+ id?: Prisma.SortOrder;
311311+ userDid?: Prisma.SortOrder;
312312+ sessionData?: Prisma.SortOrder;
313313+ createdAt?: Prisma.SortOrder;
314314+ updatedAt?: Prisma.SortOrder;
315315+};
298316299317export type AuthSessionMinOrderByAggregateInput = {
300300- id?: Prisma.SortOrder
301301- userDid?: Prisma.SortOrder
302302- sessionData?: Prisma.SortOrder
303303- createdAt?: Prisma.SortOrder
304304- updatedAt?: Prisma.SortOrder
305305-}
318318+ id?: Prisma.SortOrder;
319319+ userDid?: Prisma.SortOrder;
320320+ sessionData?: Prisma.SortOrder;
321321+ createdAt?: Prisma.SortOrder;
322322+ updatedAt?: Prisma.SortOrder;
323323+};
306324325325+export type AuthSessionSelect<
326326+ ExtArgs extends runtime.Types.Extensions.InternalArgs =
327327+ runtime.Types.Extensions.DefaultArgs,
328328+> = runtime.Types.Extensions.GetSelect<
329329+ {
330330+ id?: boolean;
331331+ userDid?: boolean;
332332+ sessionData?: boolean;
333333+ createdAt?: boolean;
334334+ updatedAt?: boolean;
335335+ },
336336+ ExtArgs['result']['authSession']
337337+>;
307338339339+export type AuthSessionSelectCreateManyAndReturn<
340340+ ExtArgs extends runtime.Types.Extensions.InternalArgs =
341341+ runtime.Types.Extensions.DefaultArgs,
342342+> = runtime.Types.Extensions.GetSelect<
343343+ {
344344+ id?: boolean;
345345+ userDid?: boolean;
346346+ sessionData?: boolean;
347347+ createdAt?: boolean;
348348+ updatedAt?: boolean;
349349+ },
350350+ ExtArgs['result']['authSession']
351351+>;
308352309309-export type AuthSessionSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
310310- id?: boolean
311311- userDid?: boolean
312312- sessionData?: boolean
313313- createdAt?: boolean
314314- updatedAt?: boolean
315315-}, ExtArgs["result"]["authSession"]>
316316-317317-export type AuthSessionSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
318318- id?: boolean
319319- userDid?: boolean
320320- sessionData?: boolean
321321- createdAt?: boolean
322322- updatedAt?: boolean
323323-}, ExtArgs["result"]["authSession"]>
324324-325325-export type AuthSessionSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
326326- id?: boolean
327327- userDid?: boolean
328328- sessionData?: boolean
329329- createdAt?: boolean
330330- updatedAt?: boolean
331331-}, ExtArgs["result"]["authSession"]>
353353+export type AuthSessionSelectUpdateManyAndReturn<
354354+ ExtArgs extends runtime.Types.Extensions.InternalArgs =
355355+ runtime.Types.Extensions.DefaultArgs,
356356+> = runtime.Types.Extensions.GetSelect<
357357+ {
358358+ id?: boolean;
359359+ userDid?: boolean;
360360+ sessionData?: boolean;
361361+ createdAt?: boolean;
362362+ updatedAt?: boolean;
363363+ },
364364+ ExtArgs['result']['authSession']
365365+>;
332366333367export type AuthSessionSelectScalar = {
334334- id?: boolean
335335- userDid?: boolean
336336- sessionData?: boolean
337337- createdAt?: boolean
338338- updatedAt?: boolean
339339-}
368368+ id?: boolean;
369369+ userDid?: boolean;
370370+ sessionData?: boolean;
371371+ createdAt?: boolean;
372372+ updatedAt?: boolean;
373373+};
340374341341-export type AuthSessionOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "userDid" | "sessionData" | "createdAt" | "updatedAt", ExtArgs["result"]["authSession"]>
375375+export type AuthSessionOmit<
376376+ ExtArgs extends runtime.Types.Extensions.InternalArgs =
377377+ runtime.Types.Extensions.DefaultArgs,
378378+> = runtime.Types.Extensions.GetOmit<
379379+ 'id' | 'userDid' | 'sessionData' | 'createdAt' | 'updatedAt',
380380+ ExtArgs['result']['authSession']
381381+>;
342382343343-export type $AuthSessionPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
344344- name: "AuthSession"
345345- objects: {}
346346- scalars: runtime.Types.Extensions.GetPayloadResult<{
347347- id: string
348348- userDid: string
349349- sessionData: string
350350- createdAt: Date
351351- updatedAt: Date
352352- }, ExtArgs["result"]["authSession"]>
353353- composites: {}
354354-}
383383+export type $AuthSessionPayload<
384384+ ExtArgs extends runtime.Types.Extensions.InternalArgs =
385385+ runtime.Types.Extensions.DefaultArgs,
386386+> = {
387387+ name: 'AuthSession';
388388+ objects: {};
389389+ scalars: runtime.Types.Extensions.GetPayloadResult<
390390+ {
391391+ id: string;
392392+ userDid: string;
393393+ sessionData: string;
394394+ createdAt: Date;
395395+ updatedAt: Date;
396396+ },
397397+ ExtArgs['result']['authSession']
398398+ >;
399399+ composites: {};
400400+};
355401356356-export type AuthSessionGetPayload<S extends boolean | null | undefined | AuthSessionDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$AuthSessionPayload, S>
402402+export type AuthSessionGetPayload<
403403+ S extends boolean | null | undefined | AuthSessionDefaultArgs,
404404+> = runtime.Types.Result.GetResult<Prisma.$AuthSessionPayload, S>;
357405358358-export type AuthSessionCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
359359- Omit<AuthSessionFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
360360- select?: AuthSessionCountAggregateInputType | true
361361- }
406406+export type AuthSessionCountArgs<
407407+ ExtArgs extends runtime.Types.Extensions.InternalArgs =
408408+ runtime.Types.Extensions.DefaultArgs,
409409+> = Omit<
410410+ AuthSessionFindManyArgs,
411411+ 'select' | 'include' | 'distinct' | 'omit'
412412+> & {
413413+ select?: AuthSessionCountAggregateInputType | true;
414414+};
362415363363-export interface AuthSessionDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
364364- [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['AuthSession'], meta: { name: 'AuthSession' } }
416416+export interface AuthSessionDelegate<
417417+ ExtArgs extends runtime.Types.Extensions.InternalArgs =
418418+ runtime.Types.Extensions.DefaultArgs,
419419+ GlobalOmitOptions = {},
420420+> {
421421+ [K: symbol]: {
422422+ types: Prisma.TypeMap<ExtArgs>['model']['AuthSession'];
423423+ meta: { name: 'AuthSession' };
424424+ };
365425 /**
366426 * Find zero or one AuthSession that matches the filter.
367427 * @param {AuthSessionFindUniqueArgs} args - Arguments to find a AuthSession
···373433 * }
374434 * })
375435 */
376376- findUnique<T extends AuthSessionFindUniqueArgs>(args: Prisma.SelectSubset<T, AuthSessionFindUniqueArgs<ExtArgs>>): Prisma.Prisma__AuthSessionClient<runtime.Types.Result.GetResult<Prisma.$AuthSessionPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
436436+ findUnique<T extends AuthSessionFindUniqueArgs>(
437437+ args: Prisma.SelectSubset<T, AuthSessionFindUniqueArgs<ExtArgs>>,
438438+ ): Prisma.Prisma__AuthSessionClient<
439439+ runtime.Types.Result.GetResult<
440440+ Prisma.$AuthSessionPayload<ExtArgs>,
441441+ T,
442442+ 'findUnique',
443443+ GlobalOmitOptions
444444+ > | null,
445445+ null,
446446+ ExtArgs,
447447+ GlobalOmitOptions
448448+ >;
377449378450 /**
379451 * Find one AuthSession that matches the filter or throw an error with `error.code='P2025'`
···387459 * }
388460 * })
389461 */
390390- findUniqueOrThrow<T extends AuthSessionFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, AuthSessionFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__AuthSessionClient<runtime.Types.Result.GetResult<Prisma.$AuthSessionPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
462462+ findUniqueOrThrow<T extends AuthSessionFindUniqueOrThrowArgs>(
463463+ args: Prisma.SelectSubset<T, AuthSessionFindUniqueOrThrowArgs<ExtArgs>>,
464464+ ): Prisma.Prisma__AuthSessionClient<
465465+ runtime.Types.Result.GetResult<
466466+ Prisma.$AuthSessionPayload<ExtArgs>,
467467+ T,
468468+ 'findUniqueOrThrow',
469469+ GlobalOmitOptions
470470+ >,
471471+ never,
472472+ ExtArgs,
473473+ GlobalOmitOptions
474474+ >;
391475392476 /**
393477 * Find the first AuthSession that matches the filter.
···402486 * }
403487 * })
404488 */
405405- findFirst<T extends AuthSessionFindFirstArgs>(args?: Prisma.SelectSubset<T, AuthSessionFindFirstArgs<ExtArgs>>): Prisma.Prisma__AuthSessionClient<runtime.Types.Result.GetResult<Prisma.$AuthSessionPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
489489+ findFirst<T extends AuthSessionFindFirstArgs>(
490490+ args?: Prisma.SelectSubset<T, AuthSessionFindFirstArgs<ExtArgs>>,
491491+ ): Prisma.Prisma__AuthSessionClient<
492492+ runtime.Types.Result.GetResult<
493493+ Prisma.$AuthSessionPayload<ExtArgs>,
494494+ T,
495495+ 'findFirst',
496496+ GlobalOmitOptions
497497+ > | null,
498498+ null,
499499+ ExtArgs,
500500+ GlobalOmitOptions
501501+ >;
406502407503 /**
408504 * Find the first AuthSession that matches the filter or
···418514 * }
419515 * })
420516 */
421421- findFirstOrThrow<T extends AuthSessionFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, AuthSessionFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__AuthSessionClient<runtime.Types.Result.GetResult<Prisma.$AuthSessionPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
517517+ findFirstOrThrow<T extends AuthSessionFindFirstOrThrowArgs>(
518518+ args?: Prisma.SelectSubset<T, AuthSessionFindFirstOrThrowArgs<ExtArgs>>,
519519+ ): Prisma.Prisma__AuthSessionClient<
520520+ runtime.Types.Result.GetResult<
521521+ Prisma.$AuthSessionPayload<ExtArgs>,
522522+ T,
523523+ 'findFirstOrThrow',
524524+ GlobalOmitOptions
525525+ >,
526526+ never,
527527+ ExtArgs,
528528+ GlobalOmitOptions
529529+ >;
422530423531 /**
424532 * Find zero or more AuthSessions that matches the filter.
···428536 * @example
429537 * // Get all AuthSessions
430538 * const authSessions = await prisma.authSession.findMany()
431431- *
539539+ *
432540 * // Get first 10 AuthSessions
433541 * const authSessions = await prisma.authSession.findMany({ take: 10 })
434434- *
542542+ *
435543 * // Only select the `id`
436544 * const authSessionWithIdOnly = await prisma.authSession.findMany({ select: { id: true } })
437437- *
545545+ *
438546 */
439439- findMany<T extends AuthSessionFindManyArgs>(args?: Prisma.SelectSubset<T, AuthSessionFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AuthSessionPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
547547+ findMany<T extends AuthSessionFindManyArgs>(
548548+ args?: Prisma.SelectSubset<T, AuthSessionFindManyArgs<ExtArgs>>,
549549+ ): Prisma.PrismaPromise<
550550+ runtime.Types.Result.GetResult<
551551+ Prisma.$AuthSessionPayload<ExtArgs>,
552552+ T,
553553+ 'findMany',
554554+ GlobalOmitOptions
555555+ >
556556+ >;
440557441558 /**
442559 * Create a AuthSession.
···448565 * // ... data to create a AuthSession
449566 * }
450567 * })
451451- *
568568+ *
452569 */
453453- create<T extends AuthSessionCreateArgs>(args: Prisma.SelectSubset<T, AuthSessionCreateArgs<ExtArgs>>): Prisma.Prisma__AuthSessionClient<runtime.Types.Result.GetResult<Prisma.$AuthSessionPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
570570+ create<T extends AuthSessionCreateArgs>(
571571+ args: Prisma.SelectSubset<T, AuthSessionCreateArgs<ExtArgs>>,
572572+ ): Prisma.Prisma__AuthSessionClient<
573573+ runtime.Types.Result.GetResult<
574574+ Prisma.$AuthSessionPayload<ExtArgs>,
575575+ T,
576576+ 'create',
577577+ GlobalOmitOptions
578578+ >,
579579+ never,
580580+ ExtArgs,
581581+ GlobalOmitOptions
582582+ >;
454583455584 /**
456585 * Create many AuthSessions.
···462591 * // ... provide data here
463592 * ]
464593 * })
465465- *
594594+ *
466595 */
467467- createMany<T extends AuthSessionCreateManyArgs>(args?: Prisma.SelectSubset<T, AuthSessionCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
596596+ createMany<T extends AuthSessionCreateManyArgs>(
597597+ args?: Prisma.SelectSubset<T, AuthSessionCreateManyArgs<ExtArgs>>,
598598+ ): Prisma.PrismaPromise<Prisma.BatchPayload>;
468599469600 /**
470601 * Create many AuthSessions and returns the data saved in the database.
···476607 * // ... provide data here
477608 * ]
478609 * })
479479- *
610610+ *
480611 * // Create many AuthSessions and only return the `id`
481612 * const authSessionWithIdOnly = await prisma.authSession.createManyAndReturn({
482613 * select: { id: true },
···486617 * })
487618 * Note, that providing `undefined` is treated as the value not being there.
488619 * Read more here: https://pris.ly/d/null-undefined
489489- *
620620+ *
490621 */
491491- createManyAndReturn<T extends AuthSessionCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, AuthSessionCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AuthSessionPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
622622+ createManyAndReturn<T extends AuthSessionCreateManyAndReturnArgs>(
623623+ args?: Prisma.SelectSubset<T, AuthSessionCreateManyAndReturnArgs<ExtArgs>>,
624624+ ): Prisma.PrismaPromise<
625625+ runtime.Types.Result.GetResult<
626626+ Prisma.$AuthSessionPayload<ExtArgs>,
627627+ T,
628628+ 'createManyAndReturn',
629629+ GlobalOmitOptions
630630+ >
631631+ >;
492632493633 /**
494634 * Delete a AuthSession.
···500640 * // ... filter to delete one AuthSession
501641 * }
502642 * })
503503- *
643643+ *
504644 */
505505- delete<T extends AuthSessionDeleteArgs>(args: Prisma.SelectSubset<T, AuthSessionDeleteArgs<ExtArgs>>): Prisma.Prisma__AuthSessionClient<runtime.Types.Result.GetResult<Prisma.$AuthSessionPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
645645+ delete<T extends AuthSessionDeleteArgs>(
646646+ args: Prisma.SelectSubset<T, AuthSessionDeleteArgs<ExtArgs>>,
647647+ ): Prisma.Prisma__AuthSessionClient<
648648+ runtime.Types.Result.GetResult<
649649+ Prisma.$AuthSessionPayload<ExtArgs>,
650650+ T,
651651+ 'delete',
652652+ GlobalOmitOptions
653653+ >,
654654+ never,
655655+ ExtArgs,
656656+ GlobalOmitOptions
657657+ >;
506658507659 /**
508660 * Update one AuthSession.
···517669 * // ... provide data here
518670 * }
519671 * })
520520- *
672672+ *
521673 */
522522- update<T extends AuthSessionUpdateArgs>(args: Prisma.SelectSubset<T, AuthSessionUpdateArgs<ExtArgs>>): Prisma.Prisma__AuthSessionClient<runtime.Types.Result.GetResult<Prisma.$AuthSessionPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
674674+ update<T extends AuthSessionUpdateArgs>(
675675+ args: Prisma.SelectSubset<T, AuthSessionUpdateArgs<ExtArgs>>,
676676+ ): Prisma.Prisma__AuthSessionClient<
677677+ runtime.Types.Result.GetResult<
678678+ Prisma.$AuthSessionPayload<ExtArgs>,
679679+ T,
680680+ 'update',
681681+ GlobalOmitOptions
682682+ >,
683683+ never,
684684+ ExtArgs,
685685+ GlobalOmitOptions
686686+ >;
523687524688 /**
525689 * Delete zero or more AuthSessions.
···531695 * // ... provide filter here
532696 * }
533697 * })
534534- *
698698+ *
535699 */
536536- deleteMany<T extends AuthSessionDeleteManyArgs>(args?: Prisma.SelectSubset<T, AuthSessionDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
700700+ deleteMany<T extends AuthSessionDeleteManyArgs>(
701701+ args?: Prisma.SelectSubset<T, AuthSessionDeleteManyArgs<ExtArgs>>,
702702+ ): Prisma.PrismaPromise<Prisma.BatchPayload>;
537703538704 /**
539705 * Update zero or more AuthSessions.
···550716 * // ... provide data here
551717 * }
552718 * })
553553- *
719719+ *
554720 */
555555- updateMany<T extends AuthSessionUpdateManyArgs>(args: Prisma.SelectSubset<T, AuthSessionUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
721721+ updateMany<T extends AuthSessionUpdateManyArgs>(
722722+ args: Prisma.SelectSubset<T, AuthSessionUpdateManyArgs<ExtArgs>>,
723723+ ): Prisma.PrismaPromise<Prisma.BatchPayload>;
556724557725 /**
558726 * Update zero or more AuthSessions and returns the data updated in the database.
···567735 * // ... provide data here
568736 * ]
569737 * })
570570- *
738738+ *
571739 * // Update zero or more AuthSessions and only return the `id`
572740 * const authSessionWithIdOnly = await prisma.authSession.updateManyAndReturn({
573741 * select: { id: true },
···580748 * })
581749 * Note, that providing `undefined` is treated as the value not being there.
582750 * Read more here: https://pris.ly/d/null-undefined
583583- *
751751+ *
584752 */
585585- updateManyAndReturn<T extends AuthSessionUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, AuthSessionUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AuthSessionPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
753753+ updateManyAndReturn<T extends AuthSessionUpdateManyAndReturnArgs>(
754754+ args: Prisma.SelectSubset<T, AuthSessionUpdateManyAndReturnArgs<ExtArgs>>,
755755+ ): Prisma.PrismaPromise<
756756+ runtime.Types.Result.GetResult<
757757+ Prisma.$AuthSessionPayload<ExtArgs>,
758758+ T,
759759+ 'updateManyAndReturn',
760760+ GlobalOmitOptions
761761+ >
762762+ >;
586763587764 /**
588765 * Create or update one AuthSession.
···601778 * }
602779 * })
603780 */
604604- upsert<T extends AuthSessionUpsertArgs>(args: Prisma.SelectSubset<T, AuthSessionUpsertArgs<ExtArgs>>): Prisma.Prisma__AuthSessionClient<runtime.Types.Result.GetResult<Prisma.$AuthSessionPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
605605-781781+ upsert<T extends AuthSessionUpsertArgs>(
782782+ args: Prisma.SelectSubset<T, AuthSessionUpsertArgs<ExtArgs>>,
783783+ ): Prisma.Prisma__AuthSessionClient<
784784+ runtime.Types.Result.GetResult<
785785+ Prisma.$AuthSessionPayload<ExtArgs>,
786786+ T,
787787+ 'upsert',
788788+ GlobalOmitOptions
789789+ >,
790790+ never,
791791+ ExtArgs,
792792+ GlobalOmitOptions
793793+ >;
606794607795 /**
608796 * Count the number of AuthSessions.
···616804 * // ... the filter for the AuthSessions we want to count
617805 * }
618806 * })
619619- **/
807807+ **/
620808 count<T extends AuthSessionCountArgs>(
621809 args?: Prisma.Subset<T, AuthSessionCountArgs>,
622810 ): Prisma.PrismaPromise<
···625813 ? number
626814 : Prisma.GetScalarType<T['select'], AuthSessionCountAggregateOutputType>
627815 : number
628628- >
816816+ >;
629817630818 /**
631819 * Allows you to perform aggregations operations on a AuthSession.
···650838 * },
651839 * take: 10,
652840 * })
653653- **/
654654- aggregate<T extends AuthSessionAggregateArgs>(args: Prisma.Subset<T, AuthSessionAggregateArgs>): Prisma.PrismaPromise<GetAuthSessionAggregateType<T>>
841841+ **/
842842+ aggregate<T extends AuthSessionAggregateArgs>(
843843+ args: Prisma.Subset<T, AuthSessionAggregateArgs>,
844844+ ): Prisma.PrismaPromise<GetAuthSessionAggregateType<T>>;
655845656846 /**
657847 * Group by AuthSession.
···669859 * _all: true
670860 * },
671861 * })
672672- *
673673- **/
862862+ *
863863+ **/
674864 groupBy<
675865 T extends AuthSessionGroupByArgs,
676866 HasSelectOrTake extends Prisma.Or<
···680870 OrderByArg extends Prisma.True extends HasSelectOrTake
681871 ? { orderBy: AuthSessionGroupByArgs['orderBy'] }
682872 : { orderBy?: AuthSessionGroupByArgs['orderBy'] },
683683- OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
873873+ OrderFields extends Prisma.ExcludeUnderscoreKeys<
874874+ Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>
875875+ >,
684876 ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
685877 ByValid extends Prisma.Has<ByFields, OrderFields>,
686878 HavingFields extends Prisma.GetHavingFields<T['having']>,
687879 HavingValid extends Prisma.Has<ByFields, HavingFields>,
688880 ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False,
689881 InputErrors extends ByEmpty extends Prisma.True
690690- ? `Error: "by" must not be empty.`
691691- : HavingValid extends Prisma.False
692692- ? {
693693- [P in HavingFields]: P extends ByFields
694694- ? never
695695- : P extends string
696696- ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
697697- : [
698698- Error,
699699- 'Field ',
700700- P,
701701- ` in "having" needs to be provided in "by"`,
702702- ]
703703- }[HavingFields]
704704- : 'take' extends Prisma.Keys<T>
705705- ? 'orderBy' extends Prisma.Keys<T>
706706- ? ByValid extends Prisma.True
707707- ? {}
708708- : {
709709- [P in OrderFields]: P extends ByFields
882882+ ? `Error: "by" must not be empty.`
883883+ : HavingValid extends Prisma.False
884884+ ? {
885885+ [P in HavingFields]: P extends ByFields
710886 ? never
711711- : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
712712- }[OrderFields]
713713- : 'Error: If you provide "take", you also need to provide "orderBy"'
714714- : 'skip' extends Prisma.Keys<T>
715715- ? 'orderBy' extends Prisma.Keys<T>
716716- ? ByValid extends Prisma.True
717717- ? {}
718718- : {
719719- [P in OrderFields]: P extends ByFields
720720- ? never
721721- : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
722722- }[OrderFields]
723723- : 'Error: If you provide "skip", you also need to provide "orderBy"'
724724- : ByValid extends Prisma.True
725725- ? {}
726726- : {
727727- [P in OrderFields]: P extends ByFields
728728- ? never
729729- : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
730730- }[OrderFields]
731731- >(args: Prisma.SubsetIntersection<T, AuthSessionGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetAuthSessionGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
732732-/**
733733- * Fields of the AuthSession model
734734- */
735735-readonly fields: AuthSessionFieldRefs;
887887+ : P extends string
888888+ ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
889889+ : [
890890+ Error,
891891+ 'Field ',
892892+ P,
893893+ ` in "having" needs to be provided in "by"`,
894894+ ];
895895+ }[HavingFields]
896896+ : 'take' extends Prisma.Keys<T>
897897+ ? 'orderBy' extends Prisma.Keys<T>
898898+ ? ByValid extends Prisma.True
899899+ ? {}
900900+ : {
901901+ [P in OrderFields]: P extends ByFields
902902+ ? never
903903+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
904904+ }[OrderFields]
905905+ : 'Error: If you provide "take", you also need to provide "orderBy"'
906906+ : 'skip' extends Prisma.Keys<T>
907907+ ? 'orderBy' extends Prisma.Keys<T>
908908+ ? ByValid extends Prisma.True
909909+ ? {}
910910+ : {
911911+ [P in OrderFields]: P extends ByFields
912912+ ? never
913913+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
914914+ }[OrderFields]
915915+ : 'Error: If you provide "skip", you also need to provide "orderBy"'
916916+ : ByValid extends Prisma.True
917917+ ? {}
918918+ : {
919919+ [P in OrderFields]: P extends ByFields
920920+ ? never
921921+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
922922+ }[OrderFields],
923923+ >(
924924+ args: Prisma.SubsetIntersection<T, AuthSessionGroupByArgs, OrderByArg> &
925925+ InputErrors,
926926+ ): {} extends InputErrors
927927+ ? GetAuthSessionGroupByPayload<T>
928928+ : Prisma.PrismaPromise<InputErrors>;
929929+ /**
930930+ * Fields of the AuthSession model
931931+ */
932932+ readonly fields: AuthSessionFieldRefs;
736933}
737934738935/**
···741938 * Because we want to prevent naming conflicts as mentioned in
742939 * https://github.com/prisma/prisma-client-js/issues/707
743940 */
744744-export interface Prisma__AuthSessionClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
745745- readonly [Symbol.toStringTag]: "PrismaPromise"
941941+export interface Prisma__AuthSessionClient<
942942+ T,
943943+ Null = never,
944944+ ExtArgs extends runtime.Types.Extensions.InternalArgs =
945945+ runtime.Types.Extensions.DefaultArgs,
946946+ GlobalOmitOptions = {},
947947+> extends Prisma.PrismaPromise<T> {
948948+ readonly [Symbol.toStringTag]: 'PrismaPromise';
746949 /**
747950 * Attaches callbacks for the resolution and/or rejection of the Promise.
748951 * @param onfulfilled The callback to execute when the Promise is resolved.
749952 * @param onrejected The callback to execute when the Promise is rejected.
750953 * @returns A Promise for the completion of which ever callback is executed.
751954 */
752752- then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): runtime.Types.Utils.JsPromise<TResult1 | TResult2>
955955+ then<TResult1 = T, TResult2 = never>(
956956+ onfulfilled?:
957957+ | ((value: T) => TResult1 | PromiseLike<TResult1>)
958958+ | undefined
959959+ | null,
960960+ onrejected?:
961961+ | ((reason: any) => TResult2 | PromiseLike<TResult2>)
962962+ | undefined
963963+ | null,
964964+ ): runtime.Types.Utils.JsPromise<TResult1 | TResult2>;
753965 /**
754966 * Attaches a callback for only the rejection of the Promise.
755967 * @param onrejected The callback to execute when the Promise is rejected.
756968 * @returns A Promise for the completion of the callback.
757969 */
758758- catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
970970+ catch<TResult = never>(
971971+ onrejected?:
972972+ | ((reason: any) => TResult | PromiseLike<TResult>)
973973+ | undefined
974974+ | null,
975975+ ): runtime.Types.Utils.JsPromise<T | TResult>;
759976 /**
760977 * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
761978 * resolved value cannot be modified from the callback.
762979 * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
763980 * @returns A Promise for the completion of the callback.
764981 */
765765- finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
982982+ finally(
983983+ onfinally?: (() => void) | undefined | null,
984984+ ): runtime.Types.Utils.JsPromise<T>;
766985}
767986768768-769769-770770-771987/**
772988 * Fields of the AuthSession model
773989 */
774990export interface AuthSessionFieldRefs {
775775- readonly id: Prisma.FieldRef<"AuthSession", 'String'>
776776- readonly userDid: Prisma.FieldRef<"AuthSession", 'String'>
777777- readonly sessionData: Prisma.FieldRef<"AuthSession", 'String'>
778778- readonly createdAt: Prisma.FieldRef<"AuthSession", 'DateTime'>
779779- readonly updatedAt: Prisma.FieldRef<"AuthSession", 'DateTime'>
991991+ readonly id: Prisma.FieldRef<'AuthSession', 'String'>;
992992+ readonly userDid: Prisma.FieldRef<'AuthSession', 'String'>;
993993+ readonly sessionData: Prisma.FieldRef<'AuthSession', 'String'>;
994994+ readonly createdAt: Prisma.FieldRef<'AuthSession', 'DateTime'>;
995995+ readonly updatedAt: Prisma.FieldRef<'AuthSession', 'DateTime'>;
780996}
781781-782997783998// Custom InputTypes
784999/**
7851000 * AuthSession findUnique
7861001 */
787787-export type AuthSessionFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
10021002+export type AuthSessionFindUniqueArgs<
10031003+ ExtArgs extends runtime.Types.Extensions.InternalArgs =
10041004+ runtime.Types.Extensions.DefaultArgs,
10051005+> = {
7881006 /**
7891007 * Select specific fields to fetch from the AuthSession
7901008 */
791791- select?: Prisma.AuthSessionSelect<ExtArgs> | null
10091009+ select?: Prisma.AuthSessionSelect<ExtArgs> | null;
7921010 /**
7931011 * Omit specific fields from the AuthSession
7941012 */
795795- omit?: Prisma.AuthSessionOmit<ExtArgs> | null
10131013+ omit?: Prisma.AuthSessionOmit<ExtArgs> | null;
7961014 /**
7971015 * Filter, which AuthSession to fetch.
7981016 */
799799- where: Prisma.AuthSessionWhereUniqueInput
800800-}
10171017+ where: Prisma.AuthSessionWhereUniqueInput;
10181018+};
80110198021020/**
8031021 * AuthSession findUniqueOrThrow
8041022 */
805805-export type AuthSessionFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
10231023+export type AuthSessionFindUniqueOrThrowArgs<
10241024+ ExtArgs extends runtime.Types.Extensions.InternalArgs =
10251025+ runtime.Types.Extensions.DefaultArgs,
10261026+> = {
8061027 /**
8071028 * Select specific fields to fetch from the AuthSession
8081029 */
809809- select?: Prisma.AuthSessionSelect<ExtArgs> | null
10301030+ select?: Prisma.AuthSessionSelect<ExtArgs> | null;
8101031 /**
8111032 * Omit specific fields from the AuthSession
8121033 */
813813- omit?: Prisma.AuthSessionOmit<ExtArgs> | null
10341034+ omit?: Prisma.AuthSessionOmit<ExtArgs> | null;
8141035 /**
8151036 * Filter, which AuthSession to fetch.
8161037 */
817817- where: Prisma.AuthSessionWhereUniqueInput
818818-}
10381038+ where: Prisma.AuthSessionWhereUniqueInput;
10391039+};
81910408201041/**
8211042 * AuthSession findFirst
8221043 */
823823-export type AuthSessionFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
10441044+export type AuthSessionFindFirstArgs<
10451045+ ExtArgs extends runtime.Types.Extensions.InternalArgs =
10461046+ runtime.Types.Extensions.DefaultArgs,
10471047+> = {
8241048 /**
8251049 * Select specific fields to fetch from the AuthSession
8261050 */
827827- select?: Prisma.AuthSessionSelect<ExtArgs> | null
10511051+ select?: Prisma.AuthSessionSelect<ExtArgs> | null;
8281052 /**
8291053 * Omit specific fields from the AuthSession
8301054 */
831831- omit?: Prisma.AuthSessionOmit<ExtArgs> | null
10551055+ omit?: Prisma.AuthSessionOmit<ExtArgs> | null;
8321056 /**
8331057 * Filter, which AuthSession to fetch.
8341058 */
835835- where?: Prisma.AuthSessionWhereInput
10591059+ where?: Prisma.AuthSessionWhereInput;
8361060 /**
8371061 * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
838838- *
10621062+ *
8391063 * Determine the order of AuthSessions to fetch.
8401064 */
841841- orderBy?: Prisma.AuthSessionOrderByWithRelationInput | Prisma.AuthSessionOrderByWithRelationInput[]
10651065+ orderBy?:
10661066+ | Prisma.AuthSessionOrderByWithRelationInput
10671067+ | Prisma.AuthSessionOrderByWithRelationInput[];
8421068 /**
8431069 * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
844844- *
10701070+ *
8451071 * Sets the position for searching for AuthSessions.
8461072 */
847847- cursor?: Prisma.AuthSessionWhereUniqueInput
10731073+ cursor?: Prisma.AuthSessionWhereUniqueInput;
8481074 /**
8491075 * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
850850- *
10761076+ *
8511077 * Take `±n` AuthSessions from the position of the cursor.
8521078 */
853853- take?: number
10791079+ take?: number;
8541080 /**
8551081 * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
856856- *
10821082+ *
8571083 * Skip the first `n` AuthSessions.
8581084 */
859859- skip?: number
10851085+ skip?: number;
8601086 /**
8611087 * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
862862- *
10881088+ *
8631089 * Filter by unique combinations of AuthSessions.
8641090 */
865865- distinct?: Prisma.AuthSessionScalarFieldEnum | Prisma.AuthSessionScalarFieldEnum[]
866866-}
10911091+ distinct?:
10921092+ | Prisma.AuthSessionScalarFieldEnum
10931093+ | Prisma.AuthSessionScalarFieldEnum[];
10941094+};
86710958681096/**
8691097 * AuthSession findFirstOrThrow
8701098 */
871871-export type AuthSessionFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
10991099+export type AuthSessionFindFirstOrThrowArgs<
11001100+ ExtArgs extends runtime.Types.Extensions.InternalArgs =
11011101+ runtime.Types.Extensions.DefaultArgs,
11021102+> = {
8721103 /**
8731104 * Select specific fields to fetch from the AuthSession
8741105 */
875875- select?: Prisma.AuthSessionSelect<ExtArgs> | null
11061106+ select?: Prisma.AuthSessionSelect<ExtArgs> | null;
8761107 /**
8771108 * Omit specific fields from the AuthSession
8781109 */
879879- omit?: Prisma.AuthSessionOmit<ExtArgs> | null
11101110+ omit?: Prisma.AuthSessionOmit<ExtArgs> | null;
8801111 /**
8811112 * Filter, which AuthSession to fetch.
8821113 */
883883- where?: Prisma.AuthSessionWhereInput
11141114+ where?: Prisma.AuthSessionWhereInput;
8841115 /**
8851116 * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
886886- *
11171117+ *
8871118 * Determine the order of AuthSessions to fetch.
8881119 */
889889- orderBy?: Prisma.AuthSessionOrderByWithRelationInput | Prisma.AuthSessionOrderByWithRelationInput[]
11201120+ orderBy?:
11211121+ | Prisma.AuthSessionOrderByWithRelationInput
11221122+ | Prisma.AuthSessionOrderByWithRelationInput[];
8901123 /**
8911124 * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
892892- *
11251125+ *
8931126 * Sets the position for searching for AuthSessions.
8941127 */
895895- cursor?: Prisma.AuthSessionWhereUniqueInput
11281128+ cursor?: Prisma.AuthSessionWhereUniqueInput;
8961129 /**
8971130 * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
898898- *
11311131+ *
8991132 * Take `±n` AuthSessions from the position of the cursor.
9001133 */
901901- take?: number
11341134+ take?: number;
9021135 /**
9031136 * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
904904- *
11371137+ *
9051138 * Skip the first `n` AuthSessions.
9061139 */
907907- skip?: number
11401140+ skip?: number;
9081141 /**
9091142 * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
910910- *
11431143+ *
9111144 * Filter by unique combinations of AuthSessions.
9121145 */
913913- distinct?: Prisma.AuthSessionScalarFieldEnum | Prisma.AuthSessionScalarFieldEnum[]
914914-}
11461146+ distinct?:
11471147+ | Prisma.AuthSessionScalarFieldEnum
11481148+ | Prisma.AuthSessionScalarFieldEnum[];
11491149+};
91511509161151/**
9171152 * AuthSession findMany
9181153 */
919919-export type AuthSessionFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
11541154+export type AuthSessionFindManyArgs<
11551155+ ExtArgs extends runtime.Types.Extensions.InternalArgs =
11561156+ runtime.Types.Extensions.DefaultArgs,
11571157+> = {
9201158 /**
9211159 * Select specific fields to fetch from the AuthSession
9221160 */
923923- select?: Prisma.AuthSessionSelect<ExtArgs> | null
11611161+ select?: Prisma.AuthSessionSelect<ExtArgs> | null;
9241162 /**
9251163 * Omit specific fields from the AuthSession
9261164 */
927927- omit?: Prisma.AuthSessionOmit<ExtArgs> | null
11651165+ omit?: Prisma.AuthSessionOmit<ExtArgs> | null;
9281166 /**
9291167 * Filter, which AuthSessions to fetch.
9301168 */
931931- where?: Prisma.AuthSessionWhereInput
11691169+ where?: Prisma.AuthSessionWhereInput;
9321170 /**
9331171 * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
934934- *
11721172+ *
9351173 * Determine the order of AuthSessions to fetch.
9361174 */
937937- orderBy?: Prisma.AuthSessionOrderByWithRelationInput | Prisma.AuthSessionOrderByWithRelationInput[]
11751175+ orderBy?:
11761176+ | Prisma.AuthSessionOrderByWithRelationInput
11771177+ | Prisma.AuthSessionOrderByWithRelationInput[];
9381178 /**
9391179 * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
940940- *
11801180+ *
9411181 * Sets the position for listing AuthSessions.
9421182 */
943943- cursor?: Prisma.AuthSessionWhereUniqueInput
11831183+ cursor?: Prisma.AuthSessionWhereUniqueInput;
9441184 /**
9451185 * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
946946- *
11861186+ *
9471187 * Take `±n` AuthSessions from the position of the cursor.
9481188 */
949949- take?: number
11891189+ take?: number;
9501190 /**
9511191 * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
952952- *
11921192+ *
9531193 * Skip the first `n` AuthSessions.
9541194 */
955955- skip?: number
956956- distinct?: Prisma.AuthSessionScalarFieldEnum | Prisma.AuthSessionScalarFieldEnum[]
957957-}
11951195+ skip?: number;
11961196+ distinct?:
11971197+ | Prisma.AuthSessionScalarFieldEnum
11981198+ | Prisma.AuthSessionScalarFieldEnum[];
11991199+};
95812009591201/**
9601202 * AuthSession create
9611203 */
962962-export type AuthSessionCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
12041204+export type AuthSessionCreateArgs<
12051205+ ExtArgs extends runtime.Types.Extensions.InternalArgs =
12061206+ runtime.Types.Extensions.DefaultArgs,
12071207+> = {
9631208 /**
9641209 * Select specific fields to fetch from the AuthSession
9651210 */
966966- select?: Prisma.AuthSessionSelect<ExtArgs> | null
12111211+ select?: Prisma.AuthSessionSelect<ExtArgs> | null;
9671212 /**
9681213 * Omit specific fields from the AuthSession
9691214 */
970970- omit?: Prisma.AuthSessionOmit<ExtArgs> | null
12151215+ omit?: Prisma.AuthSessionOmit<ExtArgs> | null;
9711216 /**
9721217 * The data needed to create a AuthSession.
9731218 */
974974- data: Prisma.XOR<Prisma.AuthSessionCreateInput, Prisma.AuthSessionUncheckedCreateInput>
975975-}
12191219+ data: Prisma.XOR<
12201220+ Prisma.AuthSessionCreateInput,
12211221+ Prisma.AuthSessionUncheckedCreateInput
12221222+ >;
12231223+};
97612249771225/**
9781226 * AuthSession createMany
9791227 */
980980-export type AuthSessionCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
12281228+export type AuthSessionCreateManyArgs<
12291229+ ExtArgs extends runtime.Types.Extensions.InternalArgs =
12301230+ runtime.Types.Extensions.DefaultArgs,
12311231+> = {
9811232 /**
9821233 * The data used to create many AuthSessions.
9831234 */
984984- data: Prisma.AuthSessionCreateManyInput | Prisma.AuthSessionCreateManyInput[]
985985- skipDuplicates?: boolean
986986-}
12351235+ data: Prisma.AuthSessionCreateManyInput | Prisma.AuthSessionCreateManyInput[];
12361236+ skipDuplicates?: boolean;
12371237+};
98712389881239/**
9891240 * AuthSession createManyAndReturn
9901241 */
991991-export type AuthSessionCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
12421242+export type AuthSessionCreateManyAndReturnArgs<
12431243+ ExtArgs extends runtime.Types.Extensions.InternalArgs =
12441244+ runtime.Types.Extensions.DefaultArgs,
12451245+> = {
9921246 /**
9931247 * Select specific fields to fetch from the AuthSession
9941248 */
995995- select?: Prisma.AuthSessionSelectCreateManyAndReturn<ExtArgs> | null
12491249+ select?: Prisma.AuthSessionSelectCreateManyAndReturn<ExtArgs> | null;
9961250 /**
9971251 * Omit specific fields from the AuthSession
9981252 */
999999- omit?: Prisma.AuthSessionOmit<ExtArgs> | null
12531253+ omit?: Prisma.AuthSessionOmit<ExtArgs> | null;
10001254 /**
10011255 * The data used to create many AuthSessions.
10021256 */
10031003- data: Prisma.AuthSessionCreateManyInput | Prisma.AuthSessionCreateManyInput[]
10041004- skipDuplicates?: boolean
10051005-}
12571257+ data: Prisma.AuthSessionCreateManyInput | Prisma.AuthSessionCreateManyInput[];
12581258+ skipDuplicates?: boolean;
12591259+};
1006126010071261/**
10081262 * AuthSession update
10091263 */
10101010-export type AuthSessionUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
12641264+export type AuthSessionUpdateArgs<
12651265+ ExtArgs extends runtime.Types.Extensions.InternalArgs =
12661266+ runtime.Types.Extensions.DefaultArgs,
12671267+> = {
10111268 /**
10121269 * Select specific fields to fetch from the AuthSession
10131270 */
10141014- select?: Prisma.AuthSessionSelect<ExtArgs> | null
12711271+ select?: Prisma.AuthSessionSelect<ExtArgs> | null;
10151272 /**
10161273 * Omit specific fields from the AuthSession
10171274 */
10181018- omit?: Prisma.AuthSessionOmit<ExtArgs> | null
12751275+ omit?: Prisma.AuthSessionOmit<ExtArgs> | null;
10191276 /**
10201277 * The data needed to update a AuthSession.
10211278 */
10221022- data: Prisma.XOR<Prisma.AuthSessionUpdateInput, Prisma.AuthSessionUncheckedUpdateInput>
12791279+ data: Prisma.XOR<
12801280+ Prisma.AuthSessionUpdateInput,
12811281+ Prisma.AuthSessionUncheckedUpdateInput
12821282+ >;
10231283 /**
10241284 * Choose, which AuthSession to update.
10251285 */
10261026- where: Prisma.AuthSessionWhereUniqueInput
10271027-}
12861286+ where: Prisma.AuthSessionWhereUniqueInput;
12871287+};
1028128810291289/**
10301290 * AuthSession updateMany
10311291 */
10321032-export type AuthSessionUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
12921292+export type AuthSessionUpdateManyArgs<
12931293+ ExtArgs extends runtime.Types.Extensions.InternalArgs =
12941294+ runtime.Types.Extensions.DefaultArgs,
12951295+> = {
10331296 /**
10341297 * The data used to update AuthSessions.
10351298 */
10361036- data: Prisma.XOR<Prisma.AuthSessionUpdateManyMutationInput, Prisma.AuthSessionUncheckedUpdateManyInput>
12991299+ data: Prisma.XOR<
13001300+ Prisma.AuthSessionUpdateManyMutationInput,
13011301+ Prisma.AuthSessionUncheckedUpdateManyInput
13021302+ >;
10371303 /**
10381304 * Filter which AuthSessions to update
10391305 */
10401040- where?: Prisma.AuthSessionWhereInput
13061306+ where?: Prisma.AuthSessionWhereInput;
10411307 /**
10421308 * Limit how many AuthSessions to update.
10431309 */
10441044- limit?: number
10451045-}
13101310+ limit?: number;
13111311+};
1046131210471313/**
10481314 * AuthSession updateManyAndReturn
10491315 */
10501050-export type AuthSessionUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
13161316+export type AuthSessionUpdateManyAndReturnArgs<
13171317+ ExtArgs extends runtime.Types.Extensions.InternalArgs =
13181318+ runtime.Types.Extensions.DefaultArgs,
13191319+> = {
10511320 /**
10521321 * Select specific fields to fetch from the AuthSession
10531322 */
10541054- select?: Prisma.AuthSessionSelectUpdateManyAndReturn<ExtArgs> | null
13231323+ select?: Prisma.AuthSessionSelectUpdateManyAndReturn<ExtArgs> | null;
10551324 /**
10561325 * Omit specific fields from the AuthSession
10571326 */
10581058- omit?: Prisma.AuthSessionOmit<ExtArgs> | null
13271327+ omit?: Prisma.AuthSessionOmit<ExtArgs> | null;
10591328 /**
10601329 * The data used to update AuthSessions.
10611330 */
10621062- data: Prisma.XOR<Prisma.AuthSessionUpdateManyMutationInput, Prisma.AuthSessionUncheckedUpdateManyInput>
13311331+ data: Prisma.XOR<
13321332+ Prisma.AuthSessionUpdateManyMutationInput,
13331333+ Prisma.AuthSessionUncheckedUpdateManyInput
13341334+ >;
10631335 /**
10641336 * Filter which AuthSessions to update
10651337 */
10661066- where?: Prisma.AuthSessionWhereInput
13381338+ where?: Prisma.AuthSessionWhereInput;
10671339 /**
10681340 * Limit how many AuthSessions to update.
10691341 */
10701070- limit?: number
10711071-}
13421342+ limit?: number;
13431343+};
1072134410731345/**
10741346 * AuthSession upsert
10751347 */
10761076-export type AuthSessionUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
13481348+export type AuthSessionUpsertArgs<
13491349+ ExtArgs extends runtime.Types.Extensions.InternalArgs =
13501350+ runtime.Types.Extensions.DefaultArgs,
13511351+> = {
10771352 /**
10781353 * Select specific fields to fetch from the AuthSession
10791354 */
10801080- select?: Prisma.AuthSessionSelect<ExtArgs> | null
13551355+ select?: Prisma.AuthSessionSelect<ExtArgs> | null;
10811356 /**
10821357 * Omit specific fields from the AuthSession
10831358 */
10841084- omit?: Prisma.AuthSessionOmit<ExtArgs> | null
13591359+ omit?: Prisma.AuthSessionOmit<ExtArgs> | null;
10851360 /**
10861361 * The filter to search for the AuthSession to update in case it exists.
10871362 */
10881088- where: Prisma.AuthSessionWhereUniqueInput
13631363+ where: Prisma.AuthSessionWhereUniqueInput;
10891364 /**
10901365 * In case the AuthSession found by the `where` argument doesn't exist, create a new AuthSession with this data.
10911366 */
10921092- create: Prisma.XOR<Prisma.AuthSessionCreateInput, Prisma.AuthSessionUncheckedCreateInput>
13671367+ create: Prisma.XOR<
13681368+ Prisma.AuthSessionCreateInput,
13691369+ Prisma.AuthSessionUncheckedCreateInput
13701370+ >;
10931371 /**
10941372 * In case the AuthSession was found with the provided `where` argument, update it with this data.
10951373 */
10961096- update: Prisma.XOR<Prisma.AuthSessionUpdateInput, Prisma.AuthSessionUncheckedUpdateInput>
10971097-}
13741374+ update: Prisma.XOR<
13751375+ Prisma.AuthSessionUpdateInput,
13761376+ Prisma.AuthSessionUncheckedUpdateInput
13771377+ >;
13781378+};
1098137910991380/**
11001381 * AuthSession delete
11011382 */
11021102-export type AuthSessionDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
13831383+export type AuthSessionDeleteArgs<
13841384+ ExtArgs extends runtime.Types.Extensions.InternalArgs =
13851385+ runtime.Types.Extensions.DefaultArgs,
13861386+> = {
11031387 /**
11041388 * Select specific fields to fetch from the AuthSession
11051389 */
11061106- select?: Prisma.AuthSessionSelect<ExtArgs> | null
13901390+ select?: Prisma.AuthSessionSelect<ExtArgs> | null;
11071391 /**
11081392 * Omit specific fields from the AuthSession
11091393 */
11101110- omit?: Prisma.AuthSessionOmit<ExtArgs> | null
13941394+ omit?: Prisma.AuthSessionOmit<ExtArgs> | null;
11111395 /**
11121396 * Filter which AuthSession to delete.
11131397 */
11141114- where: Prisma.AuthSessionWhereUniqueInput
11151115-}
13981398+ where: Prisma.AuthSessionWhereUniqueInput;
13991399+};
1116140011171401/**
11181402 * AuthSession deleteMany
11191403 */
11201120-export type AuthSessionDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
14041404+export type AuthSessionDeleteManyArgs<
14051405+ ExtArgs extends runtime.Types.Extensions.InternalArgs =
14061406+ runtime.Types.Extensions.DefaultArgs,
14071407+> = {
11211408 /**
11221409 * Filter which AuthSessions to delete
11231410 */
11241124- where?: Prisma.AuthSessionWhereInput
14111411+ where?: Prisma.AuthSessionWhereInput;
11251412 /**
11261413 * Limit how many AuthSessions to delete.
11271414 */
11281128- limit?: number
11291129-}
14151415+ limit?: number;
14161416+};
1130141711311418/**
11321419 * AuthSession without action
11331420 */
11341134-export type AuthSessionDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
14211421+export type AuthSessionDefaultArgs<
14221422+ ExtArgs extends runtime.Types.Extensions.InternalArgs =
14231423+ runtime.Types.Extensions.DefaultArgs,
14241424+> = {
11351425 /**
11361426 * Select specific fields to fetch from the AuthSession
11371427 */
11381138- select?: Prisma.AuthSessionSelect<ExtArgs> | null
14281428+ select?: Prisma.AuthSessionSelect<ExtArgs> | null;
11391429 /**
11401430 * Omit specific fields from the AuthSession
11411431 */
11421142- omit?: Prisma.AuthSessionOmit<ExtArgs> | null
11431143-}
14321432+ omit?: Prisma.AuthSessionOmit<ExtArgs> | null;
14331433+};
+710-429
backend/src/generated/models/AuthState.ts
···11/* !!! This is code generated by Prisma. Do not edit directly. !!! */
22/* eslint-disable */
33// biome-ignore-all lint: generated file
44-// @ts-nocheck
44+// @ts-nocheck
55/*
66 * This file exports the `AuthState` model and its related types.
77 *
88 * 🟢 You can import this file directly.
99 */
1010-import type * as runtime from "@prisma/client/runtime/client"
1111-import type * as $Enums from "../enums.js"
1212-import type * as Prisma from "../internal/prismaNamespace.js"
1010+import type * as runtime from '@prisma/client/runtime/client';
1111+import type * as $Enums from '../enums.js';
1212+import type * as Prisma from '../internal/prismaNamespace.js';
13131414/**
1515 * Model AuthState
1616- *
1616+ *
1717 */
1818-export type AuthStateModel = runtime.Types.Result.DefaultSelection<Prisma.$AuthStatePayload>
1818+export type AuthStateModel =
1919+ runtime.Types.Result.DefaultSelection<Prisma.$AuthStatePayload>;
19202021export type AggregateAuthState = {
2121- _count: AuthStateCountAggregateOutputType | null
2222- _min: AuthStateMinAggregateOutputType | null
2323- _max: AuthStateMaxAggregateOutputType | null
2424-}
2222+ _count: AuthStateCountAggregateOutputType | null;
2323+ _min: AuthStateMinAggregateOutputType | null;
2424+ _max: AuthStateMaxAggregateOutputType | null;
2525+};
25262627export type AuthStateMinAggregateOutputType = {
2727- key: string | null
2828- stateData: string | null
2929- expiresAt: Date | null
3030- createdAt: Date | null
3131-}
2828+ key: string | null;
2929+ stateData: string | null;
3030+ expiresAt: Date | null;
3131+ createdAt: Date | null;
3232+};
32333334export type AuthStateMaxAggregateOutputType = {
3434- key: string | null
3535- stateData: string | null
3636- expiresAt: Date | null
3737- createdAt: Date | null
3838-}
3535+ key: string | null;
3636+ stateData: string | null;
3737+ expiresAt: Date | null;
3838+ createdAt: Date | null;
3939+};
39404041export type AuthStateCountAggregateOutputType = {
4141- key: number
4242- stateData: number
4343- expiresAt: number
4444- createdAt: number
4545- _all: number
4646-}
4747-4242+ key: number;
4343+ stateData: number;
4444+ expiresAt: number;
4545+ createdAt: number;
4646+ _all: number;
4747+};
48484949export type AuthStateMinAggregateInputType = {
5050- key?: true
5151- stateData?: true
5252- expiresAt?: true
5353- createdAt?: true
5454-}
5050+ key?: true;
5151+ stateData?: true;
5252+ expiresAt?: true;
5353+ createdAt?: true;
5454+};
55555656export type AuthStateMaxAggregateInputType = {
5757- key?: true
5858- stateData?: true
5959- expiresAt?: true
6060- createdAt?: true
6161-}
5757+ key?: true;
5858+ stateData?: true;
5959+ expiresAt?: true;
6060+ createdAt?: true;
6161+};
62626363export type AuthStateCountAggregateInputType = {
6464- key?: true
6565- stateData?: true
6666- expiresAt?: true
6767- createdAt?: true
6868- _all?: true
6969-}
6464+ key?: true;
6565+ stateData?: true;
6666+ expiresAt?: true;
6767+ createdAt?: true;
6868+ _all?: true;
6969+};
70707171-export type AuthStateAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
7171+export type AuthStateAggregateArgs<
7272+ ExtArgs extends runtime.Types.Extensions.InternalArgs =
7373+ runtime.Types.Extensions.DefaultArgs,
7474+> = {
7275 /**
7376 * Filter which AuthState to aggregate.
7477 */
7575- where?: Prisma.AuthStateWhereInput
7878+ where?: Prisma.AuthStateWhereInput;
7679 /**
7780 * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
7878- *
8181+ *
7982 * Determine the order of AuthStates to fetch.
8083 */
8181- orderBy?: Prisma.AuthStateOrderByWithRelationInput | Prisma.AuthStateOrderByWithRelationInput[]
8484+ orderBy?:
8585+ | Prisma.AuthStateOrderByWithRelationInput
8686+ | Prisma.AuthStateOrderByWithRelationInput[];
8287 /**
8388 * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
8484- *
8989+ *
8590 * Sets the start position
8691 */
8787- cursor?: Prisma.AuthStateWhereUniqueInput
9292+ cursor?: Prisma.AuthStateWhereUniqueInput;
8893 /**
8994 * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
9090- *
9595+ *
9196 * Take `±n` AuthStates from the position of the cursor.
9297 */
9393- take?: number
9898+ take?: number;
9499 /**
95100 * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
9696- *
101101+ *
97102 * Skip the first `n` AuthStates.
98103 */
9999- skip?: number
104104+ skip?: number;
100105 /**
101106 * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
102102- *
107107+ *
103108 * Count returned AuthStates
104104- **/
105105- _count?: true | AuthStateCountAggregateInputType
109109+ **/
110110+ _count?: true | AuthStateCountAggregateInputType;
106111 /**
107112 * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
108108- *
113113+ *
109114 * Select which fields to find the minimum value
110110- **/
111111- _min?: AuthStateMinAggregateInputType
115115+ **/
116116+ _min?: AuthStateMinAggregateInputType;
112117 /**
113118 * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
114114- *
119119+ *
115120 * Select which fields to find the maximum value
116116- **/
117117- _max?: AuthStateMaxAggregateInputType
118118-}
121121+ **/
122122+ _max?: AuthStateMaxAggregateInputType;
123123+};
119124120125export type GetAuthStateAggregateType<T extends AuthStateAggregateArgs> = {
121121- [P in keyof T & keyof AggregateAuthState]: P extends '_count' | 'count'
126126+ [P in keyof T & keyof AggregateAuthState]: P extends '_count' | 'count'
122127 ? T[P] extends true
123128 ? number
124129 : Prisma.GetScalarType<T[P], AggregateAuthState[P]>
125125- : Prisma.GetScalarType<T[P], AggregateAuthState[P]>
126126-}
130130+ : Prisma.GetScalarType<T[P], AggregateAuthState[P]>;
131131+};
127132128128-129129-130130-131131-export type AuthStateGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
132132- where?: Prisma.AuthStateWhereInput
133133- orderBy?: Prisma.AuthStateOrderByWithAggregationInput | Prisma.AuthStateOrderByWithAggregationInput[]
134134- by: Prisma.AuthStateScalarFieldEnum[] | Prisma.AuthStateScalarFieldEnum
135135- having?: Prisma.AuthStateScalarWhereWithAggregatesInput
136136- take?: number
137137- skip?: number
138138- _count?: AuthStateCountAggregateInputType | true
139139- _min?: AuthStateMinAggregateInputType
140140- _max?: AuthStateMaxAggregateInputType
141141-}
133133+export type AuthStateGroupByArgs<
134134+ ExtArgs extends runtime.Types.Extensions.InternalArgs =
135135+ runtime.Types.Extensions.DefaultArgs,
136136+> = {
137137+ where?: Prisma.AuthStateWhereInput;
138138+ orderBy?:
139139+ | Prisma.AuthStateOrderByWithAggregationInput
140140+ | Prisma.AuthStateOrderByWithAggregationInput[];
141141+ by: Prisma.AuthStateScalarFieldEnum[] | Prisma.AuthStateScalarFieldEnum;
142142+ having?: Prisma.AuthStateScalarWhereWithAggregatesInput;
143143+ take?: number;
144144+ skip?: number;
145145+ _count?: AuthStateCountAggregateInputType | true;
146146+ _min?: AuthStateMinAggregateInputType;
147147+ _max?: AuthStateMaxAggregateInputType;
148148+};
142149143150export type AuthStateGroupByOutputType = {
144144- key: string
145145- stateData: string
146146- expiresAt: Date
147147- createdAt: Date
148148- _count: AuthStateCountAggregateOutputType | null
149149- _min: AuthStateMinAggregateOutputType | null
150150- _max: AuthStateMaxAggregateOutputType | null
151151-}
151151+ key: string;
152152+ stateData: string;
153153+ expiresAt: Date;
154154+ createdAt: Date;
155155+ _count: AuthStateCountAggregateOutputType | null;
156156+ _min: AuthStateMinAggregateOutputType | null;
157157+ _max: AuthStateMaxAggregateOutputType | null;
158158+};
152159153153-type GetAuthStateGroupByPayload<T extends AuthStateGroupByArgs> = Prisma.PrismaPromise<
154154- Array<
155155- Prisma.PickEnumerable<AuthStateGroupByOutputType, T['by']> &
156156- {
157157- [P in ((keyof T) & (keyof AuthStateGroupByOutputType))]: P extends '_count'
160160+type GetAuthStateGroupByPayload<T extends AuthStateGroupByArgs> =
161161+ Prisma.PrismaPromise<
162162+ Array<
163163+ Prisma.PickEnumerable<AuthStateGroupByOutputType, T['by']> & {
164164+ [P in keyof T & keyof AuthStateGroupByOutputType]: P extends '_count'
158165 ? T[P] extends boolean
159166 ? number
160167 : Prisma.GetScalarType<T[P], AuthStateGroupByOutputType[P]>
161161- : Prisma.GetScalarType<T[P], AuthStateGroupByOutputType[P]>
168168+ : Prisma.GetScalarType<T[P], AuthStateGroupByOutputType[P]>;
162169 }
163170 >
164164- >
165165-166166-171171+ >;
167172168173export type AuthStateWhereInput = {
169169- AND?: Prisma.AuthStateWhereInput | Prisma.AuthStateWhereInput[]
170170- OR?: Prisma.AuthStateWhereInput[]
171171- NOT?: Prisma.AuthStateWhereInput | Prisma.AuthStateWhereInput[]
172172- key?: Prisma.StringFilter<"AuthState"> | string
173173- stateData?: Prisma.StringFilter<"AuthState"> | string
174174- expiresAt?: Prisma.DateTimeFilter<"AuthState"> | Date | string
175175- createdAt?: Prisma.DateTimeFilter<"AuthState"> | Date | string
176176-}
174174+ AND?: Prisma.AuthStateWhereInput | Prisma.AuthStateWhereInput[];
175175+ OR?: Prisma.AuthStateWhereInput[];
176176+ NOT?: Prisma.AuthStateWhereInput | Prisma.AuthStateWhereInput[];
177177+ key?: Prisma.StringFilter<'AuthState'> | string;
178178+ stateData?: Prisma.StringFilter<'AuthState'> | string;
179179+ expiresAt?: Prisma.DateTimeFilter<'AuthState'> | Date | string;
180180+ createdAt?: Prisma.DateTimeFilter<'AuthState'> | Date | string;
181181+};
177182178183export type AuthStateOrderByWithRelationInput = {
179179- key?: Prisma.SortOrder
180180- stateData?: Prisma.SortOrder
181181- expiresAt?: Prisma.SortOrder
182182- createdAt?: Prisma.SortOrder
183183-}
184184+ key?: Prisma.SortOrder;
185185+ stateData?: Prisma.SortOrder;
186186+ expiresAt?: Prisma.SortOrder;
187187+ createdAt?: Prisma.SortOrder;
188188+};
184189185185-export type AuthStateWhereUniqueInput = Prisma.AtLeast<{
186186- key?: string
187187- AND?: Prisma.AuthStateWhereInput | Prisma.AuthStateWhereInput[]
188188- OR?: Prisma.AuthStateWhereInput[]
189189- NOT?: Prisma.AuthStateWhereInput | Prisma.AuthStateWhereInput[]
190190- stateData?: Prisma.StringFilter<"AuthState"> | string
191191- expiresAt?: Prisma.DateTimeFilter<"AuthState"> | Date | string
192192- createdAt?: Prisma.DateTimeFilter<"AuthState"> | Date | string
193193-}, "key">
190190+export type AuthStateWhereUniqueInput = Prisma.AtLeast<
191191+ {
192192+ key?: string;
193193+ AND?: Prisma.AuthStateWhereInput | Prisma.AuthStateWhereInput[];
194194+ OR?: Prisma.AuthStateWhereInput[];
195195+ NOT?: Prisma.AuthStateWhereInput | Prisma.AuthStateWhereInput[];
196196+ stateData?: Prisma.StringFilter<'AuthState'> | string;
197197+ expiresAt?: Prisma.DateTimeFilter<'AuthState'> | Date | string;
198198+ createdAt?: Prisma.DateTimeFilter<'AuthState'> | Date | string;
199199+ },
200200+ 'key'
201201+>;
194202195203export type AuthStateOrderByWithAggregationInput = {
196196- key?: Prisma.SortOrder
197197- stateData?: Prisma.SortOrder
198198- expiresAt?: Prisma.SortOrder
199199- createdAt?: Prisma.SortOrder
200200- _count?: Prisma.AuthStateCountOrderByAggregateInput
201201- _max?: Prisma.AuthStateMaxOrderByAggregateInput
202202- _min?: Prisma.AuthStateMinOrderByAggregateInput
203203-}
204204+ key?: Prisma.SortOrder;
205205+ stateData?: Prisma.SortOrder;
206206+ expiresAt?: Prisma.SortOrder;
207207+ createdAt?: Prisma.SortOrder;
208208+ _count?: Prisma.AuthStateCountOrderByAggregateInput;
209209+ _max?: Prisma.AuthStateMaxOrderByAggregateInput;
210210+ _min?: Prisma.AuthStateMinOrderByAggregateInput;
211211+};
204212205213export type AuthStateScalarWhereWithAggregatesInput = {
206206- AND?: Prisma.AuthStateScalarWhereWithAggregatesInput | Prisma.AuthStateScalarWhereWithAggregatesInput[]
207207- OR?: Prisma.AuthStateScalarWhereWithAggregatesInput[]
208208- NOT?: Prisma.AuthStateScalarWhereWithAggregatesInput | Prisma.AuthStateScalarWhereWithAggregatesInput[]
209209- key?: Prisma.StringWithAggregatesFilter<"AuthState"> | string
210210- stateData?: Prisma.StringWithAggregatesFilter<"AuthState"> | string
211211- expiresAt?: Prisma.DateTimeWithAggregatesFilter<"AuthState"> | Date | string
212212- createdAt?: Prisma.DateTimeWithAggregatesFilter<"AuthState"> | Date | string
213213-}
214214+ AND?:
215215+ | Prisma.AuthStateScalarWhereWithAggregatesInput
216216+ | Prisma.AuthStateScalarWhereWithAggregatesInput[];
217217+ OR?: Prisma.AuthStateScalarWhereWithAggregatesInput[];
218218+ NOT?:
219219+ | Prisma.AuthStateScalarWhereWithAggregatesInput
220220+ | Prisma.AuthStateScalarWhereWithAggregatesInput[];
221221+ key?: Prisma.StringWithAggregatesFilter<'AuthState'> | string;
222222+ stateData?: Prisma.StringWithAggregatesFilter<'AuthState'> | string;
223223+ expiresAt?: Prisma.DateTimeWithAggregatesFilter<'AuthState'> | Date | string;
224224+ createdAt?: Prisma.DateTimeWithAggregatesFilter<'AuthState'> | Date | string;
225225+};
214226215227export type AuthStateCreateInput = {
216216- key: string
217217- stateData: string
218218- expiresAt: Date | string
219219- createdAt?: Date | string
220220-}
228228+ key: string;
229229+ stateData: string;
230230+ expiresAt: Date | string;
231231+ createdAt?: Date | string;
232232+};
221233222234export type AuthStateUncheckedCreateInput = {
223223- key: string
224224- stateData: string
225225- expiresAt: Date | string
226226- createdAt?: Date | string
227227-}
235235+ key: string;
236236+ stateData: string;
237237+ expiresAt: Date | string;
238238+ createdAt?: Date | string;
239239+};
228240229241export type AuthStateUpdateInput = {
230230- key?: Prisma.StringFieldUpdateOperationsInput | string
231231- stateData?: Prisma.StringFieldUpdateOperationsInput | string
232232- expiresAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
233233- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
234234-}
242242+ key?: Prisma.StringFieldUpdateOperationsInput | string;
243243+ stateData?: Prisma.StringFieldUpdateOperationsInput | string;
244244+ expiresAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
245245+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
246246+};
235247236248export type AuthStateUncheckedUpdateInput = {
237237- key?: Prisma.StringFieldUpdateOperationsInput | string
238238- stateData?: Prisma.StringFieldUpdateOperationsInput | string
239239- expiresAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
240240- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
241241-}
249249+ key?: Prisma.StringFieldUpdateOperationsInput | string;
250250+ stateData?: Prisma.StringFieldUpdateOperationsInput | string;
251251+ expiresAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
252252+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
253253+};
242254243255export type AuthStateCreateManyInput = {
244244- key: string
245245- stateData: string
246246- expiresAt: Date | string
247247- createdAt?: Date | string
248248-}
256256+ key: string;
257257+ stateData: string;
258258+ expiresAt: Date | string;
259259+ createdAt?: Date | string;
260260+};
249261250262export type AuthStateUpdateManyMutationInput = {
251251- key?: Prisma.StringFieldUpdateOperationsInput | string
252252- stateData?: Prisma.StringFieldUpdateOperationsInput | string
253253- expiresAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
254254- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
255255-}
263263+ key?: Prisma.StringFieldUpdateOperationsInput | string;
264264+ stateData?: Prisma.StringFieldUpdateOperationsInput | string;
265265+ expiresAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
266266+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
267267+};
256268257269export type AuthStateUncheckedUpdateManyInput = {
258258- key?: Prisma.StringFieldUpdateOperationsInput | string
259259- stateData?: Prisma.StringFieldUpdateOperationsInput | string
260260- expiresAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
261261- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
262262-}
270270+ key?: Prisma.StringFieldUpdateOperationsInput | string;
271271+ stateData?: Prisma.StringFieldUpdateOperationsInput | string;
272272+ expiresAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
273273+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
274274+};
263275264276export type AuthStateCountOrderByAggregateInput = {
265265- key?: Prisma.SortOrder
266266- stateData?: Prisma.SortOrder
267267- expiresAt?: Prisma.SortOrder
268268- createdAt?: Prisma.SortOrder
269269-}
277277+ key?: Prisma.SortOrder;
278278+ stateData?: Prisma.SortOrder;
279279+ expiresAt?: Prisma.SortOrder;
280280+ createdAt?: Prisma.SortOrder;
281281+};
270282271283export type AuthStateMaxOrderByAggregateInput = {
272272- key?: Prisma.SortOrder
273273- stateData?: Prisma.SortOrder
274274- expiresAt?: Prisma.SortOrder
275275- createdAt?: Prisma.SortOrder
276276-}
284284+ key?: Prisma.SortOrder;
285285+ stateData?: Prisma.SortOrder;
286286+ expiresAt?: Prisma.SortOrder;
287287+ createdAt?: Prisma.SortOrder;
288288+};
277289278290export type AuthStateMinOrderByAggregateInput = {
279279- key?: Prisma.SortOrder
280280- stateData?: Prisma.SortOrder
281281- expiresAt?: Prisma.SortOrder
282282- createdAt?: Prisma.SortOrder
283283-}
291291+ key?: Prisma.SortOrder;
292292+ stateData?: Prisma.SortOrder;
293293+ expiresAt?: Prisma.SortOrder;
294294+ createdAt?: Prisma.SortOrder;
295295+};
284296297297+export type AuthStateSelect<
298298+ ExtArgs extends runtime.Types.Extensions.InternalArgs =
299299+ runtime.Types.Extensions.DefaultArgs,
300300+> = runtime.Types.Extensions.GetSelect<
301301+ {
302302+ key?: boolean;
303303+ stateData?: boolean;
304304+ expiresAt?: boolean;
305305+ createdAt?: boolean;
306306+ },
307307+ ExtArgs['result']['authState']
308308+>;
285309310310+export type AuthStateSelectCreateManyAndReturn<
311311+ ExtArgs extends runtime.Types.Extensions.InternalArgs =
312312+ runtime.Types.Extensions.DefaultArgs,
313313+> = runtime.Types.Extensions.GetSelect<
314314+ {
315315+ key?: boolean;
316316+ stateData?: boolean;
317317+ expiresAt?: boolean;
318318+ createdAt?: boolean;
319319+ },
320320+ ExtArgs['result']['authState']
321321+>;
286322287287-export type AuthStateSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
288288- key?: boolean
289289- stateData?: boolean
290290- expiresAt?: boolean
291291- createdAt?: boolean
292292-}, ExtArgs["result"]["authState"]>
293293-294294-export type AuthStateSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
295295- key?: boolean
296296- stateData?: boolean
297297- expiresAt?: boolean
298298- createdAt?: boolean
299299-}, ExtArgs["result"]["authState"]>
300300-301301-export type AuthStateSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
302302- key?: boolean
303303- stateData?: boolean
304304- expiresAt?: boolean
305305- createdAt?: boolean
306306-}, ExtArgs["result"]["authState"]>
323323+export type AuthStateSelectUpdateManyAndReturn<
324324+ ExtArgs extends runtime.Types.Extensions.InternalArgs =
325325+ runtime.Types.Extensions.DefaultArgs,
326326+> = runtime.Types.Extensions.GetSelect<
327327+ {
328328+ key?: boolean;
329329+ stateData?: boolean;
330330+ expiresAt?: boolean;
331331+ createdAt?: boolean;
332332+ },
333333+ ExtArgs['result']['authState']
334334+>;
307335308336export type AuthStateSelectScalar = {
309309- key?: boolean
310310- stateData?: boolean
311311- expiresAt?: boolean
312312- createdAt?: boolean
313313-}
337337+ key?: boolean;
338338+ stateData?: boolean;
339339+ expiresAt?: boolean;
340340+ createdAt?: boolean;
341341+};
314342315315-export type AuthStateOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"key" | "stateData" | "expiresAt" | "createdAt", ExtArgs["result"]["authState"]>
343343+export type AuthStateOmit<
344344+ ExtArgs extends runtime.Types.Extensions.InternalArgs =
345345+ runtime.Types.Extensions.DefaultArgs,
346346+> = runtime.Types.Extensions.GetOmit<
347347+ 'key' | 'stateData' | 'expiresAt' | 'createdAt',
348348+ ExtArgs['result']['authState']
349349+>;
316350317317-export type $AuthStatePayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
318318- name: "AuthState"
319319- objects: {}
320320- scalars: runtime.Types.Extensions.GetPayloadResult<{
321321- key: string
322322- stateData: string
323323- expiresAt: Date
324324- createdAt: Date
325325- }, ExtArgs["result"]["authState"]>
326326- composites: {}
327327-}
351351+export type $AuthStatePayload<
352352+ ExtArgs extends runtime.Types.Extensions.InternalArgs =
353353+ runtime.Types.Extensions.DefaultArgs,
354354+> = {
355355+ name: 'AuthState';
356356+ objects: {};
357357+ scalars: runtime.Types.Extensions.GetPayloadResult<
358358+ {
359359+ key: string;
360360+ stateData: string;
361361+ expiresAt: Date;
362362+ createdAt: Date;
363363+ },
364364+ ExtArgs['result']['authState']
365365+ >;
366366+ composites: {};
367367+};
328368329329-export type AuthStateGetPayload<S extends boolean | null | undefined | AuthStateDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$AuthStatePayload, S>
369369+export type AuthStateGetPayload<
370370+ S extends boolean | null | undefined | AuthStateDefaultArgs,
371371+> = runtime.Types.Result.GetResult<Prisma.$AuthStatePayload, S>;
330372331331-export type AuthStateCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
332332- Omit<AuthStateFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
333333- select?: AuthStateCountAggregateInputType | true
334334- }
373373+export type AuthStateCountArgs<
374374+ ExtArgs extends runtime.Types.Extensions.InternalArgs =
375375+ runtime.Types.Extensions.DefaultArgs,
376376+> = Omit<AuthStateFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
377377+ select?: AuthStateCountAggregateInputType | true;
378378+};
335379336336-export interface AuthStateDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
337337- [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['AuthState'], meta: { name: 'AuthState' } }
380380+export interface AuthStateDelegate<
381381+ ExtArgs extends runtime.Types.Extensions.InternalArgs =
382382+ runtime.Types.Extensions.DefaultArgs,
383383+ GlobalOmitOptions = {},
384384+> {
385385+ [K: symbol]: {
386386+ types: Prisma.TypeMap<ExtArgs>['model']['AuthState'];
387387+ meta: { name: 'AuthState' };
388388+ };
338389 /**
339390 * Find zero or one AuthState that matches the filter.
340391 * @param {AuthStateFindUniqueArgs} args - Arguments to find a AuthState
···346397 * }
347398 * })
348399 */
349349- findUnique<T extends AuthStateFindUniqueArgs>(args: Prisma.SelectSubset<T, AuthStateFindUniqueArgs<ExtArgs>>): Prisma.Prisma__AuthStateClient<runtime.Types.Result.GetResult<Prisma.$AuthStatePayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
400400+ findUnique<T extends AuthStateFindUniqueArgs>(
401401+ args: Prisma.SelectSubset<T, AuthStateFindUniqueArgs<ExtArgs>>,
402402+ ): Prisma.Prisma__AuthStateClient<
403403+ runtime.Types.Result.GetResult<
404404+ Prisma.$AuthStatePayload<ExtArgs>,
405405+ T,
406406+ 'findUnique',
407407+ GlobalOmitOptions
408408+ > | null,
409409+ null,
410410+ ExtArgs,
411411+ GlobalOmitOptions
412412+ >;
350413351414 /**
352415 * Find one AuthState that matches the filter or throw an error with `error.code='P2025'`
···360423 * }
361424 * })
362425 */
363363- findUniqueOrThrow<T extends AuthStateFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, AuthStateFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__AuthStateClient<runtime.Types.Result.GetResult<Prisma.$AuthStatePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
426426+ findUniqueOrThrow<T extends AuthStateFindUniqueOrThrowArgs>(
427427+ args: Prisma.SelectSubset<T, AuthStateFindUniqueOrThrowArgs<ExtArgs>>,
428428+ ): Prisma.Prisma__AuthStateClient<
429429+ runtime.Types.Result.GetResult<
430430+ Prisma.$AuthStatePayload<ExtArgs>,
431431+ T,
432432+ 'findUniqueOrThrow',
433433+ GlobalOmitOptions
434434+ >,
435435+ never,
436436+ ExtArgs,
437437+ GlobalOmitOptions
438438+ >;
364439365440 /**
366441 * Find the first AuthState that matches the filter.
···375450 * }
376451 * })
377452 */
378378- findFirst<T extends AuthStateFindFirstArgs>(args?: Prisma.SelectSubset<T, AuthStateFindFirstArgs<ExtArgs>>): Prisma.Prisma__AuthStateClient<runtime.Types.Result.GetResult<Prisma.$AuthStatePayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
453453+ findFirst<T extends AuthStateFindFirstArgs>(
454454+ args?: Prisma.SelectSubset<T, AuthStateFindFirstArgs<ExtArgs>>,
455455+ ): Prisma.Prisma__AuthStateClient<
456456+ runtime.Types.Result.GetResult<
457457+ Prisma.$AuthStatePayload<ExtArgs>,
458458+ T,
459459+ 'findFirst',
460460+ GlobalOmitOptions
461461+ > | null,
462462+ null,
463463+ ExtArgs,
464464+ GlobalOmitOptions
465465+ >;
379466380467 /**
381468 * Find the first AuthState that matches the filter or
···391478 * }
392479 * })
393480 */
394394- findFirstOrThrow<T extends AuthStateFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, AuthStateFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__AuthStateClient<runtime.Types.Result.GetResult<Prisma.$AuthStatePayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
481481+ findFirstOrThrow<T extends AuthStateFindFirstOrThrowArgs>(
482482+ args?: Prisma.SelectSubset<T, AuthStateFindFirstOrThrowArgs<ExtArgs>>,
483483+ ): Prisma.Prisma__AuthStateClient<
484484+ runtime.Types.Result.GetResult<
485485+ Prisma.$AuthStatePayload<ExtArgs>,
486486+ T,
487487+ 'findFirstOrThrow',
488488+ GlobalOmitOptions
489489+ >,
490490+ never,
491491+ ExtArgs,
492492+ GlobalOmitOptions
493493+ >;
395494396495 /**
397496 * Find zero or more AuthStates that matches the filter.
···401500 * @example
402501 * // Get all AuthStates
403502 * const authStates = await prisma.authState.findMany()
404404- *
503503+ *
405504 * // Get first 10 AuthStates
406505 * const authStates = await prisma.authState.findMany({ take: 10 })
407407- *
506506+ *
408507 * // Only select the `key`
409508 * const authStateWithKeyOnly = await prisma.authState.findMany({ select: { key: true } })
410410- *
509509+ *
411510 */
412412- findMany<T extends AuthStateFindManyArgs>(args?: Prisma.SelectSubset<T, AuthStateFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AuthStatePayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
511511+ findMany<T extends AuthStateFindManyArgs>(
512512+ args?: Prisma.SelectSubset<T, AuthStateFindManyArgs<ExtArgs>>,
513513+ ): Prisma.PrismaPromise<
514514+ runtime.Types.Result.GetResult<
515515+ Prisma.$AuthStatePayload<ExtArgs>,
516516+ T,
517517+ 'findMany',
518518+ GlobalOmitOptions
519519+ >
520520+ >;
413521414522 /**
415523 * Create a AuthState.
···421529 * // ... data to create a AuthState
422530 * }
423531 * })
424424- *
532532+ *
425533 */
426426- create<T extends AuthStateCreateArgs>(args: Prisma.SelectSubset<T, AuthStateCreateArgs<ExtArgs>>): Prisma.Prisma__AuthStateClient<runtime.Types.Result.GetResult<Prisma.$AuthStatePayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
534534+ create<T extends AuthStateCreateArgs>(
535535+ args: Prisma.SelectSubset<T, AuthStateCreateArgs<ExtArgs>>,
536536+ ): Prisma.Prisma__AuthStateClient<
537537+ runtime.Types.Result.GetResult<
538538+ Prisma.$AuthStatePayload<ExtArgs>,
539539+ T,
540540+ 'create',
541541+ GlobalOmitOptions
542542+ >,
543543+ never,
544544+ ExtArgs,
545545+ GlobalOmitOptions
546546+ >;
427547428548 /**
429549 * Create many AuthStates.
···435555 * // ... provide data here
436556 * ]
437557 * })
438438- *
558558+ *
439559 */
440440- createMany<T extends AuthStateCreateManyArgs>(args?: Prisma.SelectSubset<T, AuthStateCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
560560+ createMany<T extends AuthStateCreateManyArgs>(
561561+ args?: Prisma.SelectSubset<T, AuthStateCreateManyArgs<ExtArgs>>,
562562+ ): Prisma.PrismaPromise<Prisma.BatchPayload>;
441563442564 /**
443565 * Create many AuthStates and returns the data saved in the database.
···449571 * // ... provide data here
450572 * ]
451573 * })
452452- *
574574+ *
453575 * // Create many AuthStates and only return the `key`
454576 * const authStateWithKeyOnly = await prisma.authState.createManyAndReturn({
455577 * select: { key: true },
···459581 * })
460582 * Note, that providing `undefined` is treated as the value not being there.
461583 * Read more here: https://pris.ly/d/null-undefined
462462- *
584584+ *
463585 */
464464- createManyAndReturn<T extends AuthStateCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, AuthStateCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AuthStatePayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
586586+ createManyAndReturn<T extends AuthStateCreateManyAndReturnArgs>(
587587+ args?: Prisma.SelectSubset<T, AuthStateCreateManyAndReturnArgs<ExtArgs>>,
588588+ ): Prisma.PrismaPromise<
589589+ runtime.Types.Result.GetResult<
590590+ Prisma.$AuthStatePayload<ExtArgs>,
591591+ T,
592592+ 'createManyAndReturn',
593593+ GlobalOmitOptions
594594+ >
595595+ >;
465596466597 /**
467598 * Delete a AuthState.
···473604 * // ... filter to delete one AuthState
474605 * }
475606 * })
476476- *
607607+ *
477608 */
478478- delete<T extends AuthStateDeleteArgs>(args: Prisma.SelectSubset<T, AuthStateDeleteArgs<ExtArgs>>): Prisma.Prisma__AuthStateClient<runtime.Types.Result.GetResult<Prisma.$AuthStatePayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
609609+ delete<T extends AuthStateDeleteArgs>(
610610+ args: Prisma.SelectSubset<T, AuthStateDeleteArgs<ExtArgs>>,
611611+ ): Prisma.Prisma__AuthStateClient<
612612+ runtime.Types.Result.GetResult<
613613+ Prisma.$AuthStatePayload<ExtArgs>,
614614+ T,
615615+ 'delete',
616616+ GlobalOmitOptions
617617+ >,
618618+ never,
619619+ ExtArgs,
620620+ GlobalOmitOptions
621621+ >;
479622480623 /**
481624 * Update one AuthState.
···490633 * // ... provide data here
491634 * }
492635 * })
493493- *
636636+ *
494637 */
495495- update<T extends AuthStateUpdateArgs>(args: Prisma.SelectSubset<T, AuthStateUpdateArgs<ExtArgs>>): Prisma.Prisma__AuthStateClient<runtime.Types.Result.GetResult<Prisma.$AuthStatePayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
638638+ update<T extends AuthStateUpdateArgs>(
639639+ args: Prisma.SelectSubset<T, AuthStateUpdateArgs<ExtArgs>>,
640640+ ): Prisma.Prisma__AuthStateClient<
641641+ runtime.Types.Result.GetResult<
642642+ Prisma.$AuthStatePayload<ExtArgs>,
643643+ T,
644644+ 'update',
645645+ GlobalOmitOptions
646646+ >,
647647+ never,
648648+ ExtArgs,
649649+ GlobalOmitOptions
650650+ >;
496651497652 /**
498653 * Delete zero or more AuthStates.
···504659 * // ... provide filter here
505660 * }
506661 * })
507507- *
662662+ *
508663 */
509509- deleteMany<T extends AuthStateDeleteManyArgs>(args?: Prisma.SelectSubset<T, AuthStateDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
664664+ deleteMany<T extends AuthStateDeleteManyArgs>(
665665+ args?: Prisma.SelectSubset<T, AuthStateDeleteManyArgs<ExtArgs>>,
666666+ ): Prisma.PrismaPromise<Prisma.BatchPayload>;
510667511668 /**
512669 * Update zero or more AuthStates.
···523680 * // ... provide data here
524681 * }
525682 * })
526526- *
683683+ *
527684 */
528528- updateMany<T extends AuthStateUpdateManyArgs>(args: Prisma.SelectSubset<T, AuthStateUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
685685+ updateMany<T extends AuthStateUpdateManyArgs>(
686686+ args: Prisma.SelectSubset<T, AuthStateUpdateManyArgs<ExtArgs>>,
687687+ ): Prisma.PrismaPromise<Prisma.BatchPayload>;
529688530689 /**
531690 * Update zero or more AuthStates and returns the data updated in the database.
···540699 * // ... provide data here
541700 * ]
542701 * })
543543- *
702702+ *
544703 * // Update zero or more AuthStates and only return the `key`
545704 * const authStateWithKeyOnly = await prisma.authState.updateManyAndReturn({
546705 * select: { key: true },
···553712 * })
554713 * Note, that providing `undefined` is treated as the value not being there.
555714 * Read more here: https://pris.ly/d/null-undefined
556556- *
715715+ *
557716 */
558558- updateManyAndReturn<T extends AuthStateUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, AuthStateUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AuthStatePayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
717717+ updateManyAndReturn<T extends AuthStateUpdateManyAndReturnArgs>(
718718+ args: Prisma.SelectSubset<T, AuthStateUpdateManyAndReturnArgs<ExtArgs>>,
719719+ ): Prisma.PrismaPromise<
720720+ runtime.Types.Result.GetResult<
721721+ Prisma.$AuthStatePayload<ExtArgs>,
722722+ T,
723723+ 'updateManyAndReturn',
724724+ GlobalOmitOptions
725725+ >
726726+ >;
559727560728 /**
561729 * Create or update one AuthState.
···574742 * }
575743 * })
576744 */
577577- upsert<T extends AuthStateUpsertArgs>(args: Prisma.SelectSubset<T, AuthStateUpsertArgs<ExtArgs>>): Prisma.Prisma__AuthStateClient<runtime.Types.Result.GetResult<Prisma.$AuthStatePayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
578578-745745+ upsert<T extends AuthStateUpsertArgs>(
746746+ args: Prisma.SelectSubset<T, AuthStateUpsertArgs<ExtArgs>>,
747747+ ): Prisma.Prisma__AuthStateClient<
748748+ runtime.Types.Result.GetResult<
749749+ Prisma.$AuthStatePayload<ExtArgs>,
750750+ T,
751751+ 'upsert',
752752+ GlobalOmitOptions
753753+ >,
754754+ never,
755755+ ExtArgs,
756756+ GlobalOmitOptions
757757+ >;
579758580759 /**
581760 * Count the number of AuthStates.
···589768 * // ... the filter for the AuthStates we want to count
590769 * }
591770 * })
592592- **/
771771+ **/
593772 count<T extends AuthStateCountArgs>(
594773 args?: Prisma.Subset<T, AuthStateCountArgs>,
595774 ): Prisma.PrismaPromise<
···598777 ? number
599778 : Prisma.GetScalarType<T['select'], AuthStateCountAggregateOutputType>
600779 : number
601601- >
780780+ >;
602781603782 /**
604783 * Allows you to perform aggregations operations on a AuthState.
···623802 * },
624803 * take: 10,
625804 * })
626626- **/
627627- aggregate<T extends AuthStateAggregateArgs>(args: Prisma.Subset<T, AuthStateAggregateArgs>): Prisma.PrismaPromise<GetAuthStateAggregateType<T>>
805805+ **/
806806+ aggregate<T extends AuthStateAggregateArgs>(
807807+ args: Prisma.Subset<T, AuthStateAggregateArgs>,
808808+ ): Prisma.PrismaPromise<GetAuthStateAggregateType<T>>;
628809629810 /**
630811 * Group by AuthState.
···642823 * _all: true
643824 * },
644825 * })
645645- *
646646- **/
826826+ *
827827+ **/
647828 groupBy<
648829 T extends AuthStateGroupByArgs,
649830 HasSelectOrTake extends Prisma.Or<
···653834 OrderByArg extends Prisma.True extends HasSelectOrTake
654835 ? { orderBy: AuthStateGroupByArgs['orderBy'] }
655836 : { orderBy?: AuthStateGroupByArgs['orderBy'] },
656656- OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
837837+ OrderFields extends Prisma.ExcludeUnderscoreKeys<
838838+ Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>
839839+ >,
657840 ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
658841 ByValid extends Prisma.Has<ByFields, OrderFields>,
659842 HavingFields extends Prisma.GetHavingFields<T['having']>,
660843 HavingValid extends Prisma.Has<ByFields, HavingFields>,
661844 ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False,
662845 InputErrors extends ByEmpty extends Prisma.True
663663- ? `Error: "by" must not be empty.`
664664- : HavingValid extends Prisma.False
665665- ? {
666666- [P in HavingFields]: P extends ByFields
667667- ? never
668668- : P extends string
669669- ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
670670- : [
671671- Error,
672672- 'Field ',
673673- P,
674674- ` in "having" needs to be provided in "by"`,
675675- ]
676676- }[HavingFields]
677677- : 'take' extends Prisma.Keys<T>
678678- ? 'orderBy' extends Prisma.Keys<T>
679679- ? ByValid extends Prisma.True
680680- ? {}
681681- : {
682682- [P in OrderFields]: P extends ByFields
846846+ ? `Error: "by" must not be empty.`
847847+ : HavingValid extends Prisma.False
848848+ ? {
849849+ [P in HavingFields]: P extends ByFields
683850 ? never
684684- : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
685685- }[OrderFields]
686686- : 'Error: If you provide "take", you also need to provide "orderBy"'
687687- : 'skip' extends Prisma.Keys<T>
688688- ? 'orderBy' extends Prisma.Keys<T>
689689- ? ByValid extends Prisma.True
690690- ? {}
691691- : {
692692- [P in OrderFields]: P extends ByFields
693693- ? never
694694- : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
695695- }[OrderFields]
696696- : 'Error: If you provide "skip", you also need to provide "orderBy"'
697697- : ByValid extends Prisma.True
698698- ? {}
699699- : {
700700- [P in OrderFields]: P extends ByFields
701701- ? never
702702- : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
703703- }[OrderFields]
704704- >(args: Prisma.SubsetIntersection<T, AuthStateGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetAuthStateGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
705705-/**
706706- * Fields of the AuthState model
707707- */
708708-readonly fields: AuthStateFieldRefs;
851851+ : P extends string
852852+ ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
853853+ : [
854854+ Error,
855855+ 'Field ',
856856+ P,
857857+ ` in "having" needs to be provided in "by"`,
858858+ ];
859859+ }[HavingFields]
860860+ : 'take' extends Prisma.Keys<T>
861861+ ? 'orderBy' extends Prisma.Keys<T>
862862+ ? ByValid extends Prisma.True
863863+ ? {}
864864+ : {
865865+ [P in OrderFields]: P extends ByFields
866866+ ? never
867867+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
868868+ }[OrderFields]
869869+ : 'Error: If you provide "take", you also need to provide "orderBy"'
870870+ : 'skip' extends Prisma.Keys<T>
871871+ ? 'orderBy' extends Prisma.Keys<T>
872872+ ? ByValid extends Prisma.True
873873+ ? {}
874874+ : {
875875+ [P in OrderFields]: P extends ByFields
876876+ ? never
877877+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
878878+ }[OrderFields]
879879+ : 'Error: If you provide "skip", you also need to provide "orderBy"'
880880+ : ByValid extends Prisma.True
881881+ ? {}
882882+ : {
883883+ [P in OrderFields]: P extends ByFields
884884+ ? never
885885+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
886886+ }[OrderFields],
887887+ >(
888888+ args: Prisma.SubsetIntersection<T, AuthStateGroupByArgs, OrderByArg> &
889889+ InputErrors,
890890+ ): {} extends InputErrors
891891+ ? GetAuthStateGroupByPayload<T>
892892+ : Prisma.PrismaPromise<InputErrors>;
893893+ /**
894894+ * Fields of the AuthState model
895895+ */
896896+ readonly fields: AuthStateFieldRefs;
709897}
710898711899/**
···714902 * Because we want to prevent naming conflicts as mentioned in
715903 * https://github.com/prisma/prisma-client-js/issues/707
716904 */
717717-export interface Prisma__AuthStateClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
718718- readonly [Symbol.toStringTag]: "PrismaPromise"
905905+export interface Prisma__AuthStateClient<
906906+ T,
907907+ Null = never,
908908+ ExtArgs extends runtime.Types.Extensions.InternalArgs =
909909+ runtime.Types.Extensions.DefaultArgs,
910910+ GlobalOmitOptions = {},
911911+> extends Prisma.PrismaPromise<T> {
912912+ readonly [Symbol.toStringTag]: 'PrismaPromise';
719913 /**
720914 * Attaches callbacks for the resolution and/or rejection of the Promise.
721915 * @param onfulfilled The callback to execute when the Promise is resolved.
722916 * @param onrejected The callback to execute when the Promise is rejected.
723917 * @returns A Promise for the completion of which ever callback is executed.
724918 */
725725- then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): runtime.Types.Utils.JsPromise<TResult1 | TResult2>
919919+ then<TResult1 = T, TResult2 = never>(
920920+ onfulfilled?:
921921+ | ((value: T) => TResult1 | PromiseLike<TResult1>)
922922+ | undefined
923923+ | null,
924924+ onrejected?:
925925+ | ((reason: any) => TResult2 | PromiseLike<TResult2>)
926926+ | undefined
927927+ | null,
928928+ ): runtime.Types.Utils.JsPromise<TResult1 | TResult2>;
726929 /**
727930 * Attaches a callback for only the rejection of the Promise.
728931 * @param onrejected The callback to execute when the Promise is rejected.
729932 * @returns A Promise for the completion of the callback.
730933 */
731731- catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
934934+ catch<TResult = never>(
935935+ onrejected?:
936936+ | ((reason: any) => TResult | PromiseLike<TResult>)
937937+ | undefined
938938+ | null,
939939+ ): runtime.Types.Utils.JsPromise<T | TResult>;
732940 /**
733941 * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
734942 * resolved value cannot be modified from the callback.
735943 * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
736944 * @returns A Promise for the completion of the callback.
737945 */
738738- finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
946946+ finally(
947947+ onfinally?: (() => void) | undefined | null,
948948+ ): runtime.Types.Utils.JsPromise<T>;
739949}
740950741741-742742-743743-744951/**
745952 * Fields of the AuthState model
746953 */
747954export interface AuthStateFieldRefs {
748748- readonly key: Prisma.FieldRef<"AuthState", 'String'>
749749- readonly stateData: Prisma.FieldRef<"AuthState", 'String'>
750750- readonly expiresAt: Prisma.FieldRef<"AuthState", 'DateTime'>
751751- readonly createdAt: Prisma.FieldRef<"AuthState", 'DateTime'>
955955+ readonly key: Prisma.FieldRef<'AuthState', 'String'>;
956956+ readonly stateData: Prisma.FieldRef<'AuthState', 'String'>;
957957+ readonly expiresAt: Prisma.FieldRef<'AuthState', 'DateTime'>;
958958+ readonly createdAt: Prisma.FieldRef<'AuthState', 'DateTime'>;
752959}
753753-754960755961// Custom InputTypes
756962/**
757963 * AuthState findUnique
758964 */
759759-export type AuthStateFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
965965+export type AuthStateFindUniqueArgs<
966966+ ExtArgs extends runtime.Types.Extensions.InternalArgs =
967967+ runtime.Types.Extensions.DefaultArgs,
968968+> = {
760969 /**
761970 * Select specific fields to fetch from the AuthState
762971 */
763763- select?: Prisma.AuthStateSelect<ExtArgs> | null
972972+ select?: Prisma.AuthStateSelect<ExtArgs> | null;
764973 /**
765974 * Omit specific fields from the AuthState
766975 */
767767- omit?: Prisma.AuthStateOmit<ExtArgs> | null
976976+ omit?: Prisma.AuthStateOmit<ExtArgs> | null;
768977 /**
769978 * Filter, which AuthState to fetch.
770979 */
771771- where: Prisma.AuthStateWhereUniqueInput
772772-}
980980+ where: Prisma.AuthStateWhereUniqueInput;
981981+};
773982774983/**
775984 * AuthState findUniqueOrThrow
776985 */
777777-export type AuthStateFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
986986+export type AuthStateFindUniqueOrThrowArgs<
987987+ ExtArgs extends runtime.Types.Extensions.InternalArgs =
988988+ runtime.Types.Extensions.DefaultArgs,
989989+> = {
778990 /**
779991 * Select specific fields to fetch from the AuthState
780992 */
781781- select?: Prisma.AuthStateSelect<ExtArgs> | null
993993+ select?: Prisma.AuthStateSelect<ExtArgs> | null;
782994 /**
783995 * Omit specific fields from the AuthState
784996 */
785785- omit?: Prisma.AuthStateOmit<ExtArgs> | null
997997+ omit?: Prisma.AuthStateOmit<ExtArgs> | null;
786998 /**
787999 * Filter, which AuthState to fetch.
7881000 */
789789- where: Prisma.AuthStateWhereUniqueInput
790790-}
10011001+ where: Prisma.AuthStateWhereUniqueInput;
10021002+};
79110037921004/**
7931005 * AuthState findFirst
7941006 */
795795-export type AuthStateFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
10071007+export type AuthStateFindFirstArgs<
10081008+ ExtArgs extends runtime.Types.Extensions.InternalArgs =
10091009+ runtime.Types.Extensions.DefaultArgs,
10101010+> = {
7961011 /**
7971012 * Select specific fields to fetch from the AuthState
7981013 */
799799- select?: Prisma.AuthStateSelect<ExtArgs> | null
10141014+ select?: Prisma.AuthStateSelect<ExtArgs> | null;
8001015 /**
8011016 * Omit specific fields from the AuthState
8021017 */
803803- omit?: Prisma.AuthStateOmit<ExtArgs> | null
10181018+ omit?: Prisma.AuthStateOmit<ExtArgs> | null;
8041019 /**
8051020 * Filter, which AuthState to fetch.
8061021 */
807807- where?: Prisma.AuthStateWhereInput
10221022+ where?: Prisma.AuthStateWhereInput;
8081023 /**
8091024 * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
810810- *
10251025+ *
8111026 * Determine the order of AuthStates to fetch.
8121027 */
813813- orderBy?: Prisma.AuthStateOrderByWithRelationInput | Prisma.AuthStateOrderByWithRelationInput[]
10281028+ orderBy?:
10291029+ | Prisma.AuthStateOrderByWithRelationInput
10301030+ | Prisma.AuthStateOrderByWithRelationInput[];
8141031 /**
8151032 * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
816816- *
10331033+ *
8171034 * Sets the position for searching for AuthStates.
8181035 */
819819- cursor?: Prisma.AuthStateWhereUniqueInput
10361036+ cursor?: Prisma.AuthStateWhereUniqueInput;
8201037 /**
8211038 * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
822822- *
10391039+ *
8231040 * Take `±n` AuthStates from the position of the cursor.
8241041 */
825825- take?: number
10421042+ take?: number;
8261043 /**
8271044 * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
828828- *
10451045+ *
8291046 * Skip the first `n` AuthStates.
8301047 */
831831- skip?: number
10481048+ skip?: number;
8321049 /**
8331050 * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
834834- *
10511051+ *
8351052 * Filter by unique combinations of AuthStates.
8361053 */
837837- distinct?: Prisma.AuthStateScalarFieldEnum | Prisma.AuthStateScalarFieldEnum[]
838838-}
10541054+ distinct?:
10551055+ | Prisma.AuthStateScalarFieldEnum
10561056+ | Prisma.AuthStateScalarFieldEnum[];
10571057+};
83910588401059/**
8411060 * AuthState findFirstOrThrow
8421061 */
843843-export type AuthStateFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
10621062+export type AuthStateFindFirstOrThrowArgs<
10631063+ ExtArgs extends runtime.Types.Extensions.InternalArgs =
10641064+ runtime.Types.Extensions.DefaultArgs,
10651065+> = {
8441066 /**
8451067 * Select specific fields to fetch from the AuthState
8461068 */
847847- select?: Prisma.AuthStateSelect<ExtArgs> | null
10691069+ select?: Prisma.AuthStateSelect<ExtArgs> | null;
8481070 /**
8491071 * Omit specific fields from the AuthState
8501072 */
851851- omit?: Prisma.AuthStateOmit<ExtArgs> | null
10731073+ omit?: Prisma.AuthStateOmit<ExtArgs> | null;
8521074 /**
8531075 * Filter, which AuthState to fetch.
8541076 */
855855- where?: Prisma.AuthStateWhereInput
10771077+ where?: Prisma.AuthStateWhereInput;
8561078 /**
8571079 * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
858858- *
10801080+ *
8591081 * Determine the order of AuthStates to fetch.
8601082 */
861861- orderBy?: Prisma.AuthStateOrderByWithRelationInput | Prisma.AuthStateOrderByWithRelationInput[]
10831083+ orderBy?:
10841084+ | Prisma.AuthStateOrderByWithRelationInput
10851085+ | Prisma.AuthStateOrderByWithRelationInput[];
8621086 /**
8631087 * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
864864- *
10881088+ *
8651089 * Sets the position for searching for AuthStates.
8661090 */
867867- cursor?: Prisma.AuthStateWhereUniqueInput
10911091+ cursor?: Prisma.AuthStateWhereUniqueInput;
8681092 /**
8691093 * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
870870- *
10941094+ *
8711095 * Take `±n` AuthStates from the position of the cursor.
8721096 */
873873- take?: number
10971097+ take?: number;
8741098 /**
8751099 * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
876876- *
11001100+ *
8771101 * Skip the first `n` AuthStates.
8781102 */
879879- skip?: number
11031103+ skip?: number;
8801104 /**
8811105 * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
882882- *
11061106+ *
8831107 * Filter by unique combinations of AuthStates.
8841108 */
885885- distinct?: Prisma.AuthStateScalarFieldEnum | Prisma.AuthStateScalarFieldEnum[]
886886-}
11091109+ distinct?:
11101110+ | Prisma.AuthStateScalarFieldEnum
11111111+ | Prisma.AuthStateScalarFieldEnum[];
11121112+};
88711138881114/**
8891115 * AuthState findMany
8901116 */
891891-export type AuthStateFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
11171117+export type AuthStateFindManyArgs<
11181118+ ExtArgs extends runtime.Types.Extensions.InternalArgs =
11191119+ runtime.Types.Extensions.DefaultArgs,
11201120+> = {
8921121 /**
8931122 * Select specific fields to fetch from the AuthState
8941123 */
895895- select?: Prisma.AuthStateSelect<ExtArgs> | null
11241124+ select?: Prisma.AuthStateSelect<ExtArgs> | null;
8961125 /**
8971126 * Omit specific fields from the AuthState
8981127 */
899899- omit?: Prisma.AuthStateOmit<ExtArgs> | null
11281128+ omit?: Prisma.AuthStateOmit<ExtArgs> | null;
9001129 /**
9011130 * Filter, which AuthStates to fetch.
9021131 */
903903- where?: Prisma.AuthStateWhereInput
11321132+ where?: Prisma.AuthStateWhereInput;
9041133 /**
9051134 * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
906906- *
11351135+ *
9071136 * Determine the order of AuthStates to fetch.
9081137 */
909909- orderBy?: Prisma.AuthStateOrderByWithRelationInput | Prisma.AuthStateOrderByWithRelationInput[]
11381138+ orderBy?:
11391139+ | Prisma.AuthStateOrderByWithRelationInput
11401140+ | Prisma.AuthStateOrderByWithRelationInput[];
9101141 /**
9111142 * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
912912- *
11431143+ *
9131144 * Sets the position for listing AuthStates.
9141145 */
915915- cursor?: Prisma.AuthStateWhereUniqueInput
11461146+ cursor?: Prisma.AuthStateWhereUniqueInput;
9161147 /**
9171148 * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
918918- *
11491149+ *
9191150 * Take `±n` AuthStates from the position of the cursor.
9201151 */
921921- take?: number
11521152+ take?: number;
9221153 /**
9231154 * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
924924- *
11551155+ *
9251156 * Skip the first `n` AuthStates.
9261157 */
927927- skip?: number
928928- distinct?: Prisma.AuthStateScalarFieldEnum | Prisma.AuthStateScalarFieldEnum[]
929929-}
11581158+ skip?: number;
11591159+ distinct?:
11601160+ | Prisma.AuthStateScalarFieldEnum
11611161+ | Prisma.AuthStateScalarFieldEnum[];
11621162+};
93011639311164/**
9321165 * AuthState create
9331166 */
934934-export type AuthStateCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
11671167+export type AuthStateCreateArgs<
11681168+ ExtArgs extends runtime.Types.Extensions.InternalArgs =
11691169+ runtime.Types.Extensions.DefaultArgs,
11701170+> = {
9351171 /**
9361172 * Select specific fields to fetch from the AuthState
9371173 */
938938- select?: Prisma.AuthStateSelect<ExtArgs> | null
11741174+ select?: Prisma.AuthStateSelect<ExtArgs> | null;
9391175 /**
9401176 * Omit specific fields from the AuthState
9411177 */
942942- omit?: Prisma.AuthStateOmit<ExtArgs> | null
11781178+ omit?: Prisma.AuthStateOmit<ExtArgs> | null;
9431179 /**
9441180 * The data needed to create a AuthState.
9451181 */
946946- data: Prisma.XOR<Prisma.AuthStateCreateInput, Prisma.AuthStateUncheckedCreateInput>
947947-}
11821182+ data: Prisma.XOR<
11831183+ Prisma.AuthStateCreateInput,
11841184+ Prisma.AuthStateUncheckedCreateInput
11851185+ >;
11861186+};
94811879491188/**
9501189 * AuthState createMany
9511190 */
952952-export type AuthStateCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
11911191+export type AuthStateCreateManyArgs<
11921192+ ExtArgs extends runtime.Types.Extensions.InternalArgs =
11931193+ runtime.Types.Extensions.DefaultArgs,
11941194+> = {
9531195 /**
9541196 * The data used to create many AuthStates.
9551197 */
956956- data: Prisma.AuthStateCreateManyInput | Prisma.AuthStateCreateManyInput[]
957957- skipDuplicates?: boolean
958958-}
11981198+ data: Prisma.AuthStateCreateManyInput | Prisma.AuthStateCreateManyInput[];
11991199+ skipDuplicates?: boolean;
12001200+};
95912019601202/**
9611203 * AuthState createManyAndReturn
9621204 */
963963-export type AuthStateCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
12051205+export type AuthStateCreateManyAndReturnArgs<
12061206+ ExtArgs extends runtime.Types.Extensions.InternalArgs =
12071207+ runtime.Types.Extensions.DefaultArgs,
12081208+> = {
9641209 /**
9651210 * Select specific fields to fetch from the AuthState
9661211 */
967967- select?: Prisma.AuthStateSelectCreateManyAndReturn<ExtArgs> | null
12121212+ select?: Prisma.AuthStateSelectCreateManyAndReturn<ExtArgs> | null;
9681213 /**
9691214 * Omit specific fields from the AuthState
9701215 */
971971- omit?: Prisma.AuthStateOmit<ExtArgs> | null
12161216+ omit?: Prisma.AuthStateOmit<ExtArgs> | null;
9721217 /**
9731218 * The data used to create many AuthStates.
9741219 */
975975- data: Prisma.AuthStateCreateManyInput | Prisma.AuthStateCreateManyInput[]
976976- skipDuplicates?: boolean
977977-}
12201220+ data: Prisma.AuthStateCreateManyInput | Prisma.AuthStateCreateManyInput[];
12211221+ skipDuplicates?: boolean;
12221222+};
97812239791224/**
9801225 * AuthState update
9811226 */
982982-export type AuthStateUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
12271227+export type AuthStateUpdateArgs<
12281228+ ExtArgs extends runtime.Types.Extensions.InternalArgs =
12291229+ runtime.Types.Extensions.DefaultArgs,
12301230+> = {
9831231 /**
9841232 * Select specific fields to fetch from the AuthState
9851233 */
986986- select?: Prisma.AuthStateSelect<ExtArgs> | null
12341234+ select?: Prisma.AuthStateSelect<ExtArgs> | null;
9871235 /**
9881236 * Omit specific fields from the AuthState
9891237 */
990990- omit?: Prisma.AuthStateOmit<ExtArgs> | null
12381238+ omit?: Prisma.AuthStateOmit<ExtArgs> | null;
9911239 /**
9921240 * The data needed to update a AuthState.
9931241 */
994994- data: Prisma.XOR<Prisma.AuthStateUpdateInput, Prisma.AuthStateUncheckedUpdateInput>
12421242+ data: Prisma.XOR<
12431243+ Prisma.AuthStateUpdateInput,
12441244+ Prisma.AuthStateUncheckedUpdateInput
12451245+ >;
9951246 /**
9961247 * Choose, which AuthState to update.
9971248 */
998998- where: Prisma.AuthStateWhereUniqueInput
999999-}
12491249+ where: Prisma.AuthStateWhereUniqueInput;
12501250+};
1000125110011252/**
10021253 * AuthState updateMany
10031254 */
10041004-export type AuthStateUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
12551255+export type AuthStateUpdateManyArgs<
12561256+ ExtArgs extends runtime.Types.Extensions.InternalArgs =
12571257+ runtime.Types.Extensions.DefaultArgs,
12581258+> = {
10051259 /**
10061260 * The data used to update AuthStates.
10071261 */
10081008- data: Prisma.XOR<Prisma.AuthStateUpdateManyMutationInput, Prisma.AuthStateUncheckedUpdateManyInput>
12621262+ data: Prisma.XOR<
12631263+ Prisma.AuthStateUpdateManyMutationInput,
12641264+ Prisma.AuthStateUncheckedUpdateManyInput
12651265+ >;
10091266 /**
10101267 * Filter which AuthStates to update
10111268 */
10121012- where?: Prisma.AuthStateWhereInput
12691269+ where?: Prisma.AuthStateWhereInput;
10131270 /**
10141271 * Limit how many AuthStates to update.
10151272 */
10161016- limit?: number
10171017-}
12731273+ limit?: number;
12741274+};
1018127510191276/**
10201277 * AuthState updateManyAndReturn
10211278 */
10221022-export type AuthStateUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
12791279+export type AuthStateUpdateManyAndReturnArgs<
12801280+ ExtArgs extends runtime.Types.Extensions.InternalArgs =
12811281+ runtime.Types.Extensions.DefaultArgs,
12821282+> = {
10231283 /**
10241284 * Select specific fields to fetch from the AuthState
10251285 */
10261026- select?: Prisma.AuthStateSelectUpdateManyAndReturn<ExtArgs> | null
12861286+ select?: Prisma.AuthStateSelectUpdateManyAndReturn<ExtArgs> | null;
10271287 /**
10281288 * Omit specific fields from the AuthState
10291289 */
10301030- omit?: Prisma.AuthStateOmit<ExtArgs> | null
12901290+ omit?: Prisma.AuthStateOmit<ExtArgs> | null;
10311291 /**
10321292 * The data used to update AuthStates.
10331293 */
10341034- data: Prisma.XOR<Prisma.AuthStateUpdateManyMutationInput, Prisma.AuthStateUncheckedUpdateManyInput>
12941294+ data: Prisma.XOR<
12951295+ Prisma.AuthStateUpdateManyMutationInput,
12961296+ Prisma.AuthStateUncheckedUpdateManyInput
12971297+ >;
10351298 /**
10361299 * Filter which AuthStates to update
10371300 */
10381038- where?: Prisma.AuthStateWhereInput
13011301+ where?: Prisma.AuthStateWhereInput;
10391302 /**
10401303 * Limit how many AuthStates to update.
10411304 */
10421042- limit?: number
10431043-}
13051305+ limit?: number;
13061306+};
1044130710451308/**
10461309 * AuthState upsert
10471310 */
10481048-export type AuthStateUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
13111311+export type AuthStateUpsertArgs<
13121312+ ExtArgs extends runtime.Types.Extensions.InternalArgs =
13131313+ runtime.Types.Extensions.DefaultArgs,
13141314+> = {
10491315 /**
10501316 * Select specific fields to fetch from the AuthState
10511317 */
10521052- select?: Prisma.AuthStateSelect<ExtArgs> | null
13181318+ select?: Prisma.AuthStateSelect<ExtArgs> | null;
10531319 /**
10541320 * Omit specific fields from the AuthState
10551321 */
10561056- omit?: Prisma.AuthStateOmit<ExtArgs> | null
13221322+ omit?: Prisma.AuthStateOmit<ExtArgs> | null;
10571323 /**
10581324 * The filter to search for the AuthState to update in case it exists.
10591325 */
10601060- where: Prisma.AuthStateWhereUniqueInput
13261326+ where: Prisma.AuthStateWhereUniqueInput;
10611327 /**
10621328 * In case the AuthState found by the `where` argument doesn't exist, create a new AuthState with this data.
10631329 */
10641064- create: Prisma.XOR<Prisma.AuthStateCreateInput, Prisma.AuthStateUncheckedCreateInput>
13301330+ create: Prisma.XOR<
13311331+ Prisma.AuthStateCreateInput,
13321332+ Prisma.AuthStateUncheckedCreateInput
13331333+ >;
10651334 /**
10661335 * In case the AuthState was found with the provided `where` argument, update it with this data.
10671336 */
10681068- update: Prisma.XOR<Prisma.AuthStateUpdateInput, Prisma.AuthStateUncheckedUpdateInput>
10691069-}
13371337+ update: Prisma.XOR<
13381338+ Prisma.AuthStateUpdateInput,
13391339+ Prisma.AuthStateUncheckedUpdateInput
13401340+ >;
13411341+};
1070134210711343/**
10721344 * AuthState delete
10731345 */
10741074-export type AuthStateDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
13461346+export type AuthStateDeleteArgs<
13471347+ ExtArgs extends runtime.Types.Extensions.InternalArgs =
13481348+ runtime.Types.Extensions.DefaultArgs,
13491349+> = {
10751350 /**
10761351 * Select specific fields to fetch from the AuthState
10771352 */
10781078- select?: Prisma.AuthStateSelect<ExtArgs> | null
13531353+ select?: Prisma.AuthStateSelect<ExtArgs> | null;
10791354 /**
10801355 * Omit specific fields from the AuthState
10811356 */
10821082- omit?: Prisma.AuthStateOmit<ExtArgs> | null
13571357+ omit?: Prisma.AuthStateOmit<ExtArgs> | null;
10831358 /**
10841359 * Filter which AuthState to delete.
10851360 */
10861086- where: Prisma.AuthStateWhereUniqueInput
10871087-}
13611361+ where: Prisma.AuthStateWhereUniqueInput;
13621362+};
1088136310891364/**
10901365 * AuthState deleteMany
10911366 */
10921092-export type AuthStateDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
13671367+export type AuthStateDeleteManyArgs<
13681368+ ExtArgs extends runtime.Types.Extensions.InternalArgs =
13691369+ runtime.Types.Extensions.DefaultArgs,
13701370+> = {
10931371 /**
10941372 * Filter which AuthStates to delete
10951373 */
10961096- where?: Prisma.AuthStateWhereInput
13741374+ where?: Prisma.AuthStateWhereInput;
10971375 /**
10981376 * Limit how many AuthStates to delete.
10991377 */
11001100- limit?: number
11011101-}
13781378+ limit?: number;
13791379+};
1102138011031381/**
11041382 * AuthState without action
11051383 */
11061106-export type AuthStateDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
13841384+export type AuthStateDefaultArgs<
13851385+ ExtArgs extends runtime.Types.Extensions.InternalArgs =
13861386+ runtime.Types.Extensions.DefaultArgs,
13871387+> = {
11071388 /**
11081389 * Select specific fields to fetch from the AuthState
11091390 */
11101110- select?: Prisma.AuthStateSelect<ExtArgs> | null
13911391+ select?: Prisma.AuthStateSelect<ExtArgs> | null;
11111392 /**
11121393 * Omit specific fields from the AuthState
11131394 */
11141114- omit?: Prisma.AuthStateOmit<ExtArgs> | null
11151115-}
13951395+ omit?: Prisma.AuthStateOmit<ExtArgs> | null;
13961396+};
+1097-716
backend/src/generated/models/Movie.ts
···11/* !!! This is code generated by Prisma. Do not edit directly. !!! */
22/* eslint-disable */
33// biome-ignore-all lint: generated file
44-// @ts-nocheck
44+// @ts-nocheck
55/*
66 * This file exports the `Movie` model and its related types.
77 *
88 * 🟢 You can import this file directly.
99 */
1010-import type * as runtime from "@prisma/client/runtime/client"
1111-import type * as $Enums from "../enums.js"
1212-import type * as Prisma from "../internal/prismaNamespace.js"
1010+import type * as runtime from '@prisma/client/runtime/client';
1111+import type * as $Enums from '../enums.js';
1212+import type * as Prisma from '../internal/prismaNamespace.js';
13131414/**
1515 * Model Movie
1616- *
1616+ *
1717 */
1818-export type MovieModel = runtime.Types.Result.DefaultSelection<Prisma.$MoviePayload>
1818+export type MovieModel =
1919+ runtime.Types.Result.DefaultSelection<Prisma.$MoviePayload>;
19202021export type AggregateMovie = {
2121- _count: MovieCountAggregateOutputType | null
2222- _avg: MovieAvgAggregateOutputType | null
2323- _sum: MovieSumAggregateOutputType | null
2424- _min: MovieMinAggregateOutputType | null
2525- _max: MovieMaxAggregateOutputType | null
2626-}
2222+ _count: MovieCountAggregateOutputType | null;
2323+ _avg: MovieAvgAggregateOutputType | null;
2424+ _sum: MovieSumAggregateOutputType | null;
2525+ _min: MovieMinAggregateOutputType | null;
2626+ _max: MovieMaxAggregateOutputType | null;
2727+};
27282829export type MovieAvgAggregateOutputType = {
2929- releaseYear: number | null
3030-}
3030+ releaseYear: number | null;
3131+};
31323233export type MovieSumAggregateOutputType = {
3333- releaseYear: number | null
3434-}
3434+ releaseYear: number | null;
3535+};
35363637export type MovieMinAggregateOutputType = {
3737- movieId: string | null
3838- title: string | null
3939- posterPath: string | null
4040- backdropPath: string | null
4141- releaseYear: number | null
4242- releaseDate: Date | null
4343- overview: string | null
4444- createdAt: Date | null
4545- updatedAt: Date | null
4646-}
3838+ movieId: string | null;
3939+ title: string | null;
4040+ posterPath: string | null;
4141+ backdropPath: string | null;
4242+ releaseYear: number | null;
4343+ releaseDate: Date | null;
4444+ overview: string | null;
4545+ createdAt: Date | null;
4646+ updatedAt: Date | null;
4747+};
47484849export type MovieMaxAggregateOutputType = {
4949- movieId: string | null
5050- title: string | null
5151- posterPath: string | null
5252- backdropPath: string | null
5353- releaseYear: number | null
5454- releaseDate: Date | null
5555- overview: string | null
5656- createdAt: Date | null
5757- updatedAt: Date | null
5858-}
5050+ movieId: string | null;
5151+ title: string | null;
5252+ posterPath: string | null;
5353+ backdropPath: string | null;
5454+ releaseYear: number | null;
5555+ releaseDate: Date | null;
5656+ overview: string | null;
5757+ createdAt: Date | null;
5858+ updatedAt: Date | null;
5959+};
59606061export type MovieCountAggregateOutputType = {
6161- movieId: number
6262- title: number
6363- posterPath: number
6464- backdropPath: number
6565- releaseYear: number
6666- releaseDate: number
6767- overview: number
6868- createdAt: number
6969- updatedAt: number
7070- _all: number
7171-}
7272-6262+ movieId: number;
6363+ title: number;
6464+ posterPath: number;
6565+ backdropPath: number;
6666+ releaseYear: number;
6767+ releaseDate: number;
6868+ overview: number;
6969+ createdAt: number;
7070+ updatedAt: number;
7171+ _all: number;
7272+};
73737474export type MovieAvgAggregateInputType = {
7575- releaseYear?: true
7676-}
7575+ releaseYear?: true;
7676+};
77777878export type MovieSumAggregateInputType = {
7979- releaseYear?: true
8080-}
7979+ releaseYear?: true;
8080+};
81818282export type MovieMinAggregateInputType = {
8383- movieId?: true
8484- title?: true
8585- posterPath?: true
8686- backdropPath?: true
8787- releaseYear?: true
8888- releaseDate?: true
8989- overview?: true
9090- createdAt?: true
9191- updatedAt?: true
9292-}
8383+ movieId?: true;
8484+ title?: true;
8585+ posterPath?: true;
8686+ backdropPath?: true;
8787+ releaseYear?: true;
8888+ releaseDate?: true;
8989+ overview?: true;
9090+ createdAt?: true;
9191+ updatedAt?: true;
9292+};
93939494export type MovieMaxAggregateInputType = {
9595- movieId?: true
9696- title?: true
9797- posterPath?: true
9898- backdropPath?: true
9999- releaseYear?: true
100100- releaseDate?: true
101101- overview?: true
102102- createdAt?: true
103103- updatedAt?: true
104104-}
9595+ movieId?: true;
9696+ title?: true;
9797+ posterPath?: true;
9898+ backdropPath?: true;
9999+ releaseYear?: true;
100100+ releaseDate?: true;
101101+ overview?: true;
102102+ createdAt?: true;
103103+ updatedAt?: true;
104104+};
105105106106export type MovieCountAggregateInputType = {
107107- movieId?: true
108108- title?: true
109109- posterPath?: true
110110- backdropPath?: true
111111- releaseYear?: true
112112- releaseDate?: true
113113- overview?: true
114114- createdAt?: true
115115- updatedAt?: true
116116- _all?: true
117117-}
107107+ movieId?: true;
108108+ title?: true;
109109+ posterPath?: true;
110110+ backdropPath?: true;
111111+ releaseYear?: true;
112112+ releaseDate?: true;
113113+ overview?: true;
114114+ createdAt?: true;
115115+ updatedAt?: true;
116116+ _all?: true;
117117+};
118118119119-export type MovieAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
119119+export type MovieAggregateArgs<
120120+ ExtArgs extends runtime.Types.Extensions.InternalArgs =
121121+ runtime.Types.Extensions.DefaultArgs,
122122+> = {
120123 /**
121124 * Filter which Movie to aggregate.
122125 */
123123- where?: Prisma.MovieWhereInput
126126+ where?: Prisma.MovieWhereInput;
124127 /**
125128 * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
126126- *
129129+ *
127130 * Determine the order of Movies to fetch.
128131 */
129129- orderBy?: Prisma.MovieOrderByWithRelationInput | Prisma.MovieOrderByWithRelationInput[]
132132+ orderBy?:
133133+ | Prisma.MovieOrderByWithRelationInput
134134+ | Prisma.MovieOrderByWithRelationInput[];
130135 /**
131136 * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
132132- *
137137+ *
133138 * Sets the start position
134139 */
135135- cursor?: Prisma.MovieWhereUniqueInput
140140+ cursor?: Prisma.MovieWhereUniqueInput;
136141 /**
137142 * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
138138- *
143143+ *
139144 * Take `±n` Movies from the position of the cursor.
140145 */
141141- take?: number
146146+ take?: number;
142147 /**
143148 * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
144144- *
149149+ *
145150 * Skip the first `n` Movies.
146151 */
147147- skip?: number
152152+ skip?: number;
148153 /**
149154 * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
150150- *
155155+ *
151156 * Count returned Movies
152152- **/
153153- _count?: true | MovieCountAggregateInputType
157157+ **/
158158+ _count?: true | MovieCountAggregateInputType;
154159 /**
155160 * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
156156- *
161161+ *
157162 * Select which fields to average
158158- **/
159159- _avg?: MovieAvgAggregateInputType
163163+ **/
164164+ _avg?: MovieAvgAggregateInputType;
160165 /**
161166 * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
162162- *
167167+ *
163168 * Select which fields to sum
164164- **/
165165- _sum?: MovieSumAggregateInputType
169169+ **/
170170+ _sum?: MovieSumAggregateInputType;
166171 /**
167172 * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
168168- *
173173+ *
169174 * Select which fields to find the minimum value
170170- **/
171171- _min?: MovieMinAggregateInputType
175175+ **/
176176+ _min?: MovieMinAggregateInputType;
172177 /**
173178 * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
174174- *
179179+ *
175180 * Select which fields to find the maximum value
176176- **/
177177- _max?: MovieMaxAggregateInputType
178178-}
181181+ **/
182182+ _max?: MovieMaxAggregateInputType;
183183+};
179184180185export type GetMovieAggregateType<T extends MovieAggregateArgs> = {
181181- [P in keyof T & keyof AggregateMovie]: P extends '_count' | 'count'
186186+ [P in keyof T & keyof AggregateMovie]: P extends '_count' | 'count'
182187 ? T[P] extends true
183188 ? number
184189 : Prisma.GetScalarType<T[P], AggregateMovie[P]>
185185- : Prisma.GetScalarType<T[P], AggregateMovie[P]>
186186-}
190190+ : Prisma.GetScalarType<T[P], AggregateMovie[P]>;
191191+};
187192188188-189189-190190-191191-export type MovieGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
192192- where?: Prisma.MovieWhereInput
193193- orderBy?: Prisma.MovieOrderByWithAggregationInput | Prisma.MovieOrderByWithAggregationInput[]
194194- by: Prisma.MovieScalarFieldEnum[] | Prisma.MovieScalarFieldEnum
195195- having?: Prisma.MovieScalarWhereWithAggregatesInput
196196- take?: number
197197- skip?: number
198198- _count?: MovieCountAggregateInputType | true
199199- _avg?: MovieAvgAggregateInputType
200200- _sum?: MovieSumAggregateInputType
201201- _min?: MovieMinAggregateInputType
202202- _max?: MovieMaxAggregateInputType
203203-}
193193+export type MovieGroupByArgs<
194194+ ExtArgs extends runtime.Types.Extensions.InternalArgs =
195195+ runtime.Types.Extensions.DefaultArgs,
196196+> = {
197197+ where?: Prisma.MovieWhereInput;
198198+ orderBy?:
199199+ | Prisma.MovieOrderByWithAggregationInput
200200+ | Prisma.MovieOrderByWithAggregationInput[];
201201+ by: Prisma.MovieScalarFieldEnum[] | Prisma.MovieScalarFieldEnum;
202202+ having?: Prisma.MovieScalarWhereWithAggregatesInput;
203203+ take?: number;
204204+ skip?: number;
205205+ _count?: MovieCountAggregateInputType | true;
206206+ _avg?: MovieAvgAggregateInputType;
207207+ _sum?: MovieSumAggregateInputType;
208208+ _min?: MovieMinAggregateInputType;
209209+ _max?: MovieMaxAggregateInputType;
210210+};
204211205212export type MovieGroupByOutputType = {
206206- movieId: string
207207- title: string
208208- posterPath: string | null
209209- backdropPath: string | null
210210- releaseYear: number | null
211211- releaseDate: Date | null
212212- overview: string | null
213213- createdAt: Date
214214- updatedAt: Date
215215- _count: MovieCountAggregateOutputType | null
216216- _avg: MovieAvgAggregateOutputType | null
217217- _sum: MovieSumAggregateOutputType | null
218218- _min: MovieMinAggregateOutputType | null
219219- _max: MovieMaxAggregateOutputType | null
220220-}
213213+ movieId: string;
214214+ title: string;
215215+ posterPath: string | null;
216216+ backdropPath: string | null;
217217+ releaseYear: number | null;
218218+ releaseDate: Date | null;
219219+ overview: string | null;
220220+ createdAt: Date;
221221+ updatedAt: Date;
222222+ _count: MovieCountAggregateOutputType | null;
223223+ _avg: MovieAvgAggregateOutputType | null;
224224+ _sum: MovieSumAggregateOutputType | null;
225225+ _min: MovieMinAggregateOutputType | null;
226226+ _max: MovieMaxAggregateOutputType | null;
227227+};
221228222229type GetMovieGroupByPayload<T extends MovieGroupByArgs> = Prisma.PrismaPromise<
223230 Array<
224224- Prisma.PickEnumerable<MovieGroupByOutputType, T['by']> &
225225- {
226226- [P in ((keyof T) & (keyof MovieGroupByOutputType))]: P extends '_count'
227227- ? T[P] extends boolean
228228- ? number
229229- : Prisma.GetScalarType<T[P], MovieGroupByOutputType[P]>
231231+ Prisma.PickEnumerable<MovieGroupByOutputType, T['by']> & {
232232+ [P in keyof T & keyof MovieGroupByOutputType]: P extends '_count'
233233+ ? T[P] extends boolean
234234+ ? number
230235 : Prisma.GetScalarType<T[P], MovieGroupByOutputType[P]>
231231- }
232232- >
236236+ : Prisma.GetScalarType<T[P], MovieGroupByOutputType[P]>;
237237+ }
233238 >
234234-235235-239239+>;
236240237241export type MovieWhereInput = {
238238- AND?: Prisma.MovieWhereInput | Prisma.MovieWhereInput[]
239239- OR?: Prisma.MovieWhereInput[]
240240- NOT?: Prisma.MovieWhereInput | Prisma.MovieWhereInput[]
241241- movieId?: Prisma.StringFilter<"Movie"> | string
242242- title?: Prisma.StringFilter<"Movie"> | string
243243- posterPath?: Prisma.StringNullableFilter<"Movie"> | string | null
244244- backdropPath?: Prisma.StringNullableFilter<"Movie"> | string | null
245245- releaseYear?: Prisma.IntNullableFilter<"Movie"> | number | null
246246- releaseDate?: Prisma.DateTimeNullableFilter<"Movie"> | Date | string | null
247247- overview?: Prisma.StringNullableFilter<"Movie"> | string | null
248248- createdAt?: Prisma.DateTimeFilter<"Movie"> | Date | string
249249- updatedAt?: Prisma.DateTimeFilter<"Movie"> | Date | string
250250- trackedBy?: Prisma.TrackedMovieListRelationFilter
251251-}
242242+ AND?: Prisma.MovieWhereInput | Prisma.MovieWhereInput[];
243243+ OR?: Prisma.MovieWhereInput[];
244244+ NOT?: Prisma.MovieWhereInput | Prisma.MovieWhereInput[];
245245+ movieId?: Prisma.StringFilter<'Movie'> | string;
246246+ title?: Prisma.StringFilter<'Movie'> | string;
247247+ posterPath?: Prisma.StringNullableFilter<'Movie'> | string | null;
248248+ backdropPath?: Prisma.StringNullableFilter<'Movie'> | string | null;
249249+ releaseYear?: Prisma.IntNullableFilter<'Movie'> | number | null;
250250+ releaseDate?: Prisma.DateTimeNullableFilter<'Movie'> | Date | string | null;
251251+ overview?: Prisma.StringNullableFilter<'Movie'> | string | null;
252252+ createdAt?: Prisma.DateTimeFilter<'Movie'> | Date | string;
253253+ updatedAt?: Prisma.DateTimeFilter<'Movie'> | Date | string;
254254+ trackedBy?: Prisma.TrackedMovieListRelationFilter;
255255+};
252256253257export type MovieOrderByWithRelationInput = {
254254- movieId?: Prisma.SortOrder
255255- title?: Prisma.SortOrder
256256- posterPath?: Prisma.SortOrderInput | Prisma.SortOrder
257257- backdropPath?: Prisma.SortOrderInput | Prisma.SortOrder
258258- releaseYear?: Prisma.SortOrderInput | Prisma.SortOrder
259259- releaseDate?: Prisma.SortOrderInput | Prisma.SortOrder
260260- overview?: Prisma.SortOrderInput | Prisma.SortOrder
261261- createdAt?: Prisma.SortOrder
262262- updatedAt?: Prisma.SortOrder
263263- trackedBy?: Prisma.TrackedMovieOrderByRelationAggregateInput
264264-}
258258+ movieId?: Prisma.SortOrder;
259259+ title?: Prisma.SortOrder;
260260+ posterPath?: Prisma.SortOrderInput | Prisma.SortOrder;
261261+ backdropPath?: Prisma.SortOrderInput | Prisma.SortOrder;
262262+ releaseYear?: Prisma.SortOrderInput | Prisma.SortOrder;
263263+ releaseDate?: Prisma.SortOrderInput | Prisma.SortOrder;
264264+ overview?: Prisma.SortOrderInput | Prisma.SortOrder;
265265+ createdAt?: Prisma.SortOrder;
266266+ updatedAt?: Prisma.SortOrder;
267267+ trackedBy?: Prisma.TrackedMovieOrderByRelationAggregateInput;
268268+};
265269266266-export type MovieWhereUniqueInput = Prisma.AtLeast<{
267267- movieId?: string
268268- AND?: Prisma.MovieWhereInput | Prisma.MovieWhereInput[]
269269- OR?: Prisma.MovieWhereInput[]
270270- NOT?: Prisma.MovieWhereInput | Prisma.MovieWhereInput[]
271271- title?: Prisma.StringFilter<"Movie"> | string
272272- posterPath?: Prisma.StringNullableFilter<"Movie"> | string | null
273273- backdropPath?: Prisma.StringNullableFilter<"Movie"> | string | null
274274- releaseYear?: Prisma.IntNullableFilter<"Movie"> | number | null
275275- releaseDate?: Prisma.DateTimeNullableFilter<"Movie"> | Date | string | null
276276- overview?: Prisma.StringNullableFilter<"Movie"> | string | null
277277- createdAt?: Prisma.DateTimeFilter<"Movie"> | Date | string
278278- updatedAt?: Prisma.DateTimeFilter<"Movie"> | Date | string
279279- trackedBy?: Prisma.TrackedMovieListRelationFilter
280280-}, "movieId">
270270+export type MovieWhereUniqueInput = Prisma.AtLeast<
271271+ {
272272+ movieId?: string;
273273+ AND?: Prisma.MovieWhereInput | Prisma.MovieWhereInput[];
274274+ OR?: Prisma.MovieWhereInput[];
275275+ NOT?: Prisma.MovieWhereInput | Prisma.MovieWhereInput[];
276276+ title?: Prisma.StringFilter<'Movie'> | string;
277277+ posterPath?: Prisma.StringNullableFilter<'Movie'> | string | null;
278278+ backdropPath?: Prisma.StringNullableFilter<'Movie'> | string | null;
279279+ releaseYear?: Prisma.IntNullableFilter<'Movie'> | number | null;
280280+ releaseDate?: Prisma.DateTimeNullableFilter<'Movie'> | Date | string | null;
281281+ overview?: Prisma.StringNullableFilter<'Movie'> | string | null;
282282+ createdAt?: Prisma.DateTimeFilter<'Movie'> | Date | string;
283283+ updatedAt?: Prisma.DateTimeFilter<'Movie'> | Date | string;
284284+ trackedBy?: Prisma.TrackedMovieListRelationFilter;
285285+ },
286286+ 'movieId'
287287+>;
281288282289export type MovieOrderByWithAggregationInput = {
283283- movieId?: Prisma.SortOrder
284284- title?: Prisma.SortOrder
285285- posterPath?: Prisma.SortOrderInput | Prisma.SortOrder
286286- backdropPath?: Prisma.SortOrderInput | Prisma.SortOrder
287287- releaseYear?: Prisma.SortOrderInput | Prisma.SortOrder
288288- releaseDate?: Prisma.SortOrderInput | Prisma.SortOrder
289289- overview?: Prisma.SortOrderInput | Prisma.SortOrder
290290- createdAt?: Prisma.SortOrder
291291- updatedAt?: Prisma.SortOrder
292292- _count?: Prisma.MovieCountOrderByAggregateInput
293293- _avg?: Prisma.MovieAvgOrderByAggregateInput
294294- _max?: Prisma.MovieMaxOrderByAggregateInput
295295- _min?: Prisma.MovieMinOrderByAggregateInput
296296- _sum?: Prisma.MovieSumOrderByAggregateInput
297297-}
290290+ movieId?: Prisma.SortOrder;
291291+ title?: Prisma.SortOrder;
292292+ posterPath?: Prisma.SortOrderInput | Prisma.SortOrder;
293293+ backdropPath?: Prisma.SortOrderInput | Prisma.SortOrder;
294294+ releaseYear?: Prisma.SortOrderInput | Prisma.SortOrder;
295295+ releaseDate?: Prisma.SortOrderInput | Prisma.SortOrder;
296296+ overview?: Prisma.SortOrderInput | Prisma.SortOrder;
297297+ createdAt?: Prisma.SortOrder;
298298+ updatedAt?: Prisma.SortOrder;
299299+ _count?: Prisma.MovieCountOrderByAggregateInput;
300300+ _avg?: Prisma.MovieAvgOrderByAggregateInput;
301301+ _max?: Prisma.MovieMaxOrderByAggregateInput;
302302+ _min?: Prisma.MovieMinOrderByAggregateInput;
303303+ _sum?: Prisma.MovieSumOrderByAggregateInput;
304304+};
298305299306export type MovieScalarWhereWithAggregatesInput = {
300300- AND?: Prisma.MovieScalarWhereWithAggregatesInput | Prisma.MovieScalarWhereWithAggregatesInput[]
301301- OR?: Prisma.MovieScalarWhereWithAggregatesInput[]
302302- NOT?: Prisma.MovieScalarWhereWithAggregatesInput | Prisma.MovieScalarWhereWithAggregatesInput[]
303303- movieId?: Prisma.StringWithAggregatesFilter<"Movie"> | string
304304- title?: Prisma.StringWithAggregatesFilter<"Movie"> | string
305305- posterPath?: Prisma.StringNullableWithAggregatesFilter<"Movie"> | string | null
306306- backdropPath?: Prisma.StringNullableWithAggregatesFilter<"Movie"> | string | null
307307- releaseYear?: Prisma.IntNullableWithAggregatesFilter<"Movie"> | number | null
308308- releaseDate?: Prisma.DateTimeNullableWithAggregatesFilter<"Movie"> | Date | string | null
309309- overview?: Prisma.StringNullableWithAggregatesFilter<"Movie"> | string | null
310310- createdAt?: Prisma.DateTimeWithAggregatesFilter<"Movie"> | Date | string
311311- updatedAt?: Prisma.DateTimeWithAggregatesFilter<"Movie"> | Date | string
312312-}
307307+ AND?:
308308+ | Prisma.MovieScalarWhereWithAggregatesInput
309309+ | Prisma.MovieScalarWhereWithAggregatesInput[];
310310+ OR?: Prisma.MovieScalarWhereWithAggregatesInput[];
311311+ NOT?:
312312+ | Prisma.MovieScalarWhereWithAggregatesInput
313313+ | Prisma.MovieScalarWhereWithAggregatesInput[];
314314+ movieId?: Prisma.StringWithAggregatesFilter<'Movie'> | string;
315315+ title?: Prisma.StringWithAggregatesFilter<'Movie'> | string;
316316+ posterPath?:
317317+ | Prisma.StringNullableWithAggregatesFilter<'Movie'>
318318+ | string
319319+ | null;
320320+ backdropPath?:
321321+ | Prisma.StringNullableWithAggregatesFilter<'Movie'>
322322+ | string
323323+ | null;
324324+ releaseYear?: Prisma.IntNullableWithAggregatesFilter<'Movie'> | number | null;
325325+ releaseDate?:
326326+ | Prisma.DateTimeNullableWithAggregatesFilter<'Movie'>
327327+ | Date
328328+ | string
329329+ | null;
330330+ overview?: Prisma.StringNullableWithAggregatesFilter<'Movie'> | string | null;
331331+ createdAt?: Prisma.DateTimeWithAggregatesFilter<'Movie'> | Date | string;
332332+ updatedAt?: Prisma.DateTimeWithAggregatesFilter<'Movie'> | Date | string;
333333+};
313334314335export type MovieCreateInput = {
315315- movieId: string
316316- title: string
317317- posterPath?: string | null
318318- backdropPath?: string | null
319319- releaseYear?: number | null
320320- releaseDate?: Date | string | null
321321- overview?: string | null
322322- createdAt?: Date | string
323323- updatedAt?: Date | string
324324- trackedBy?: Prisma.TrackedMovieCreateNestedManyWithoutMovieInput
325325-}
336336+ movieId: string;
337337+ title: string;
338338+ posterPath?: string | null;
339339+ backdropPath?: string | null;
340340+ releaseYear?: number | null;
341341+ releaseDate?: Date | string | null;
342342+ overview?: string | null;
343343+ createdAt?: Date | string;
344344+ updatedAt?: Date | string;
345345+ trackedBy?: Prisma.TrackedMovieCreateNestedManyWithoutMovieInput;
346346+};
326347327348export type MovieUncheckedCreateInput = {
328328- movieId: string
329329- title: string
330330- posterPath?: string | null
331331- backdropPath?: string | null
332332- releaseYear?: number | null
333333- releaseDate?: Date | string | null
334334- overview?: string | null
335335- createdAt?: Date | string
336336- updatedAt?: Date | string
337337- trackedBy?: Prisma.TrackedMovieUncheckedCreateNestedManyWithoutMovieInput
338338-}
349349+ movieId: string;
350350+ title: string;
351351+ posterPath?: string | null;
352352+ backdropPath?: string | null;
353353+ releaseYear?: number | null;
354354+ releaseDate?: Date | string | null;
355355+ overview?: string | null;
356356+ createdAt?: Date | string;
357357+ updatedAt?: Date | string;
358358+ trackedBy?: Prisma.TrackedMovieUncheckedCreateNestedManyWithoutMovieInput;
359359+};
339360340361export type MovieUpdateInput = {
341341- movieId?: Prisma.StringFieldUpdateOperationsInput | string
342342- title?: Prisma.StringFieldUpdateOperationsInput | string
343343- posterPath?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
344344- backdropPath?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
345345- releaseYear?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
346346- releaseDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
347347- overview?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
348348- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
349349- updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
350350- trackedBy?: Prisma.TrackedMovieUpdateManyWithoutMovieNestedInput
351351-}
362362+ movieId?: Prisma.StringFieldUpdateOperationsInput | string;
363363+ title?: Prisma.StringFieldUpdateOperationsInput | string;
364364+ posterPath?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
365365+ backdropPath?:
366366+ | Prisma.NullableStringFieldUpdateOperationsInput
367367+ | string
368368+ | null;
369369+ releaseYear?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
370370+ releaseDate?:
371371+ | Prisma.NullableDateTimeFieldUpdateOperationsInput
372372+ | Date
373373+ | string
374374+ | null;
375375+ overview?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
376376+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
377377+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
378378+ trackedBy?: Prisma.TrackedMovieUpdateManyWithoutMovieNestedInput;
379379+};
352380353381export type MovieUncheckedUpdateInput = {
354354- movieId?: Prisma.StringFieldUpdateOperationsInput | string
355355- title?: Prisma.StringFieldUpdateOperationsInput | string
356356- posterPath?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
357357- backdropPath?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
358358- releaseYear?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
359359- releaseDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
360360- overview?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
361361- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
362362- updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
363363- trackedBy?: Prisma.TrackedMovieUncheckedUpdateManyWithoutMovieNestedInput
364364-}
382382+ movieId?: Prisma.StringFieldUpdateOperationsInput | string;
383383+ title?: Prisma.StringFieldUpdateOperationsInput | string;
384384+ posterPath?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
385385+ backdropPath?:
386386+ | Prisma.NullableStringFieldUpdateOperationsInput
387387+ | string
388388+ | null;
389389+ releaseYear?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
390390+ releaseDate?:
391391+ | Prisma.NullableDateTimeFieldUpdateOperationsInput
392392+ | Date
393393+ | string
394394+ | null;
395395+ overview?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
396396+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
397397+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
398398+ trackedBy?: Prisma.TrackedMovieUncheckedUpdateManyWithoutMovieNestedInput;
399399+};
365400366401export type MovieCreateManyInput = {
367367- movieId: string
368368- title: string
369369- posterPath?: string | null
370370- backdropPath?: string | null
371371- releaseYear?: number | null
372372- releaseDate?: Date | string | null
373373- overview?: string | null
374374- createdAt?: Date | string
375375- updatedAt?: Date | string
376376-}
402402+ movieId: string;
403403+ title: string;
404404+ posterPath?: string | null;
405405+ backdropPath?: string | null;
406406+ releaseYear?: number | null;
407407+ releaseDate?: Date | string | null;
408408+ overview?: string | null;
409409+ createdAt?: Date | string;
410410+ updatedAt?: Date | string;
411411+};
377412378413export type MovieUpdateManyMutationInput = {
379379- movieId?: Prisma.StringFieldUpdateOperationsInput | string
380380- title?: Prisma.StringFieldUpdateOperationsInput | string
381381- posterPath?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
382382- backdropPath?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
383383- releaseYear?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
384384- releaseDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
385385- overview?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
386386- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
387387- updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
388388-}
414414+ movieId?: Prisma.StringFieldUpdateOperationsInput | string;
415415+ title?: Prisma.StringFieldUpdateOperationsInput | string;
416416+ posterPath?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
417417+ backdropPath?:
418418+ | Prisma.NullableStringFieldUpdateOperationsInput
419419+ | string
420420+ | null;
421421+ releaseYear?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
422422+ releaseDate?:
423423+ | Prisma.NullableDateTimeFieldUpdateOperationsInput
424424+ | Date
425425+ | string
426426+ | null;
427427+ overview?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
428428+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
429429+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
430430+};
389431390432export type MovieUncheckedUpdateManyInput = {
391391- movieId?: Prisma.StringFieldUpdateOperationsInput | string
392392- title?: Prisma.StringFieldUpdateOperationsInput | string
393393- posterPath?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
394394- backdropPath?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
395395- releaseYear?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
396396- releaseDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
397397- overview?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
398398- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
399399- updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
400400-}
433433+ movieId?: Prisma.StringFieldUpdateOperationsInput | string;
434434+ title?: Prisma.StringFieldUpdateOperationsInput | string;
435435+ posterPath?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
436436+ backdropPath?:
437437+ | Prisma.NullableStringFieldUpdateOperationsInput
438438+ | string
439439+ | null;
440440+ releaseYear?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
441441+ releaseDate?:
442442+ | Prisma.NullableDateTimeFieldUpdateOperationsInput
443443+ | Date
444444+ | string
445445+ | null;
446446+ overview?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
447447+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
448448+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
449449+};
401450402451export type MovieCountOrderByAggregateInput = {
403403- movieId?: Prisma.SortOrder
404404- title?: Prisma.SortOrder
405405- posterPath?: Prisma.SortOrder
406406- backdropPath?: Prisma.SortOrder
407407- releaseYear?: Prisma.SortOrder
408408- releaseDate?: Prisma.SortOrder
409409- overview?: Prisma.SortOrder
410410- createdAt?: Prisma.SortOrder
411411- updatedAt?: Prisma.SortOrder
412412-}
452452+ movieId?: Prisma.SortOrder;
453453+ title?: Prisma.SortOrder;
454454+ posterPath?: Prisma.SortOrder;
455455+ backdropPath?: Prisma.SortOrder;
456456+ releaseYear?: Prisma.SortOrder;
457457+ releaseDate?: Prisma.SortOrder;
458458+ overview?: Prisma.SortOrder;
459459+ createdAt?: Prisma.SortOrder;
460460+ updatedAt?: Prisma.SortOrder;
461461+};
413462414463export type MovieAvgOrderByAggregateInput = {
415415- releaseYear?: Prisma.SortOrder
416416-}
464464+ releaseYear?: Prisma.SortOrder;
465465+};
417466418467export type MovieMaxOrderByAggregateInput = {
419419- movieId?: Prisma.SortOrder
420420- title?: Prisma.SortOrder
421421- posterPath?: Prisma.SortOrder
422422- backdropPath?: Prisma.SortOrder
423423- releaseYear?: Prisma.SortOrder
424424- releaseDate?: Prisma.SortOrder
425425- overview?: Prisma.SortOrder
426426- createdAt?: Prisma.SortOrder
427427- updatedAt?: Prisma.SortOrder
428428-}
468468+ movieId?: Prisma.SortOrder;
469469+ title?: Prisma.SortOrder;
470470+ posterPath?: Prisma.SortOrder;
471471+ backdropPath?: Prisma.SortOrder;
472472+ releaseYear?: Prisma.SortOrder;
473473+ releaseDate?: Prisma.SortOrder;
474474+ overview?: Prisma.SortOrder;
475475+ createdAt?: Prisma.SortOrder;
476476+ updatedAt?: Prisma.SortOrder;
477477+};
429478430479export type MovieMinOrderByAggregateInput = {
431431- movieId?: Prisma.SortOrder
432432- title?: Prisma.SortOrder
433433- posterPath?: Prisma.SortOrder
434434- backdropPath?: Prisma.SortOrder
435435- releaseYear?: Prisma.SortOrder
436436- releaseDate?: Prisma.SortOrder
437437- overview?: Prisma.SortOrder
438438- createdAt?: Prisma.SortOrder
439439- updatedAt?: Prisma.SortOrder
440440-}
480480+ movieId?: Prisma.SortOrder;
481481+ title?: Prisma.SortOrder;
482482+ posterPath?: Prisma.SortOrder;
483483+ backdropPath?: Prisma.SortOrder;
484484+ releaseYear?: Prisma.SortOrder;
485485+ releaseDate?: Prisma.SortOrder;
486486+ overview?: Prisma.SortOrder;
487487+ createdAt?: Prisma.SortOrder;
488488+ updatedAt?: Prisma.SortOrder;
489489+};
441490442491export type MovieSumOrderByAggregateInput = {
443443- releaseYear?: Prisma.SortOrder
444444-}
492492+ releaseYear?: Prisma.SortOrder;
493493+};
445494446495export type MovieScalarRelationFilter = {
447447- is?: Prisma.MovieWhereInput
448448- isNot?: Prisma.MovieWhereInput
449449-}
496496+ is?: Prisma.MovieWhereInput;
497497+ isNot?: Prisma.MovieWhereInput;
498498+};
450499451500export type NullableIntFieldUpdateOperationsInput = {
452452- set?: number | null
453453- increment?: number
454454- decrement?: number
455455- multiply?: number
456456- divide?: number
457457-}
501501+ set?: number | null;
502502+ increment?: number;
503503+ decrement?: number;
504504+ multiply?: number;
505505+ divide?: number;
506506+};
458507459508export type NullableDateTimeFieldUpdateOperationsInput = {
460460- set?: Date | string | null
461461-}
509509+ set?: Date | string | null;
510510+};
462511463512export type MovieCreateNestedOneWithoutTrackedByInput = {
464464- create?: Prisma.XOR<Prisma.MovieCreateWithoutTrackedByInput, Prisma.MovieUncheckedCreateWithoutTrackedByInput>
465465- connectOrCreate?: Prisma.MovieCreateOrConnectWithoutTrackedByInput
466466- connect?: Prisma.MovieWhereUniqueInput
467467-}
513513+ create?: Prisma.XOR<
514514+ Prisma.MovieCreateWithoutTrackedByInput,
515515+ Prisma.MovieUncheckedCreateWithoutTrackedByInput
516516+ >;
517517+ connectOrCreate?: Prisma.MovieCreateOrConnectWithoutTrackedByInput;
518518+ connect?: Prisma.MovieWhereUniqueInput;
519519+};
468520469521export type MovieUpdateOneRequiredWithoutTrackedByNestedInput = {
470470- create?: Prisma.XOR<Prisma.MovieCreateWithoutTrackedByInput, Prisma.MovieUncheckedCreateWithoutTrackedByInput>
471471- connectOrCreate?: Prisma.MovieCreateOrConnectWithoutTrackedByInput
472472- upsert?: Prisma.MovieUpsertWithoutTrackedByInput
473473- connect?: Prisma.MovieWhereUniqueInput
474474- update?: Prisma.XOR<Prisma.XOR<Prisma.MovieUpdateToOneWithWhereWithoutTrackedByInput, Prisma.MovieUpdateWithoutTrackedByInput>, Prisma.MovieUncheckedUpdateWithoutTrackedByInput>
475475-}
522522+ create?: Prisma.XOR<
523523+ Prisma.MovieCreateWithoutTrackedByInput,
524524+ Prisma.MovieUncheckedCreateWithoutTrackedByInput
525525+ >;
526526+ connectOrCreate?: Prisma.MovieCreateOrConnectWithoutTrackedByInput;
527527+ upsert?: Prisma.MovieUpsertWithoutTrackedByInput;
528528+ connect?: Prisma.MovieWhereUniqueInput;
529529+ update?: Prisma.XOR<
530530+ Prisma.XOR<
531531+ Prisma.MovieUpdateToOneWithWhereWithoutTrackedByInput,
532532+ Prisma.MovieUpdateWithoutTrackedByInput
533533+ >,
534534+ Prisma.MovieUncheckedUpdateWithoutTrackedByInput
535535+ >;
536536+};
476537477538export type MovieCreateWithoutTrackedByInput = {
478478- movieId: string
479479- title: string
480480- posterPath?: string | null
481481- backdropPath?: string | null
482482- releaseYear?: number | null
483483- releaseDate?: Date | string | null
484484- overview?: string | null
485485- createdAt?: Date | string
486486- updatedAt?: Date | string
487487-}
539539+ movieId: string;
540540+ title: string;
541541+ posterPath?: string | null;
542542+ backdropPath?: string | null;
543543+ releaseYear?: number | null;
544544+ releaseDate?: Date | string | null;
545545+ overview?: string | null;
546546+ createdAt?: Date | string;
547547+ updatedAt?: Date | string;
548548+};
488549489550export type MovieUncheckedCreateWithoutTrackedByInput = {
490490- movieId: string
491491- title: string
492492- posterPath?: string | null
493493- backdropPath?: string | null
494494- releaseYear?: number | null
495495- releaseDate?: Date | string | null
496496- overview?: string | null
497497- createdAt?: Date | string
498498- updatedAt?: Date | string
499499-}
551551+ movieId: string;
552552+ title: string;
553553+ posterPath?: string | null;
554554+ backdropPath?: string | null;
555555+ releaseYear?: number | null;
556556+ releaseDate?: Date | string | null;
557557+ overview?: string | null;
558558+ createdAt?: Date | string;
559559+ updatedAt?: Date | string;
560560+};
500561501562export type MovieCreateOrConnectWithoutTrackedByInput = {
502502- where: Prisma.MovieWhereUniqueInput
503503- create: Prisma.XOR<Prisma.MovieCreateWithoutTrackedByInput, Prisma.MovieUncheckedCreateWithoutTrackedByInput>
504504-}
563563+ where: Prisma.MovieWhereUniqueInput;
564564+ create: Prisma.XOR<
565565+ Prisma.MovieCreateWithoutTrackedByInput,
566566+ Prisma.MovieUncheckedCreateWithoutTrackedByInput
567567+ >;
568568+};
505569506570export type MovieUpsertWithoutTrackedByInput = {
507507- update: Prisma.XOR<Prisma.MovieUpdateWithoutTrackedByInput, Prisma.MovieUncheckedUpdateWithoutTrackedByInput>
508508- create: Prisma.XOR<Prisma.MovieCreateWithoutTrackedByInput, Prisma.MovieUncheckedCreateWithoutTrackedByInput>
509509- where?: Prisma.MovieWhereInput
510510-}
571571+ update: Prisma.XOR<
572572+ Prisma.MovieUpdateWithoutTrackedByInput,
573573+ Prisma.MovieUncheckedUpdateWithoutTrackedByInput
574574+ >;
575575+ create: Prisma.XOR<
576576+ Prisma.MovieCreateWithoutTrackedByInput,
577577+ Prisma.MovieUncheckedCreateWithoutTrackedByInput
578578+ >;
579579+ where?: Prisma.MovieWhereInput;
580580+};
511581512582export type MovieUpdateToOneWithWhereWithoutTrackedByInput = {
513513- where?: Prisma.MovieWhereInput
514514- data: Prisma.XOR<Prisma.MovieUpdateWithoutTrackedByInput, Prisma.MovieUncheckedUpdateWithoutTrackedByInput>
515515-}
583583+ where?: Prisma.MovieWhereInput;
584584+ data: Prisma.XOR<
585585+ Prisma.MovieUpdateWithoutTrackedByInput,
586586+ Prisma.MovieUncheckedUpdateWithoutTrackedByInput
587587+ >;
588588+};
516589517590export type MovieUpdateWithoutTrackedByInput = {
518518- movieId?: Prisma.StringFieldUpdateOperationsInput | string
519519- title?: Prisma.StringFieldUpdateOperationsInput | string
520520- posterPath?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
521521- backdropPath?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
522522- releaseYear?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
523523- releaseDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
524524- overview?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
525525- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
526526- updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
527527-}
591591+ movieId?: Prisma.StringFieldUpdateOperationsInput | string;
592592+ title?: Prisma.StringFieldUpdateOperationsInput | string;
593593+ posterPath?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
594594+ backdropPath?:
595595+ | Prisma.NullableStringFieldUpdateOperationsInput
596596+ | string
597597+ | null;
598598+ releaseYear?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
599599+ releaseDate?:
600600+ | Prisma.NullableDateTimeFieldUpdateOperationsInput
601601+ | Date
602602+ | string
603603+ | null;
604604+ overview?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
605605+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
606606+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
607607+};
528608529609export type MovieUncheckedUpdateWithoutTrackedByInput = {
530530- movieId?: Prisma.StringFieldUpdateOperationsInput | string
531531- title?: Prisma.StringFieldUpdateOperationsInput | string
532532- posterPath?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
533533- backdropPath?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
534534- releaseYear?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
535535- releaseDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
536536- overview?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
537537- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
538538- updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
539539-}
540540-610610+ movieId?: Prisma.StringFieldUpdateOperationsInput | string;
611611+ title?: Prisma.StringFieldUpdateOperationsInput | string;
612612+ posterPath?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
613613+ backdropPath?:
614614+ | Prisma.NullableStringFieldUpdateOperationsInput
615615+ | string
616616+ | null;
617617+ releaseYear?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
618618+ releaseDate?:
619619+ | Prisma.NullableDateTimeFieldUpdateOperationsInput
620620+ | Date
621621+ | string
622622+ | null;
623623+ overview?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
624624+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
625625+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
626626+};
541627542628/**
543629 * Count Type MovieCountOutputType
544630 */
545631546632export type MovieCountOutputType = {
547547- trackedBy: number
548548-}
633633+ trackedBy: number;
634634+};
549635550550-export type MovieCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
551551- trackedBy?: boolean | MovieCountOutputTypeCountTrackedByArgs
552552-}
636636+export type MovieCountOutputTypeSelect<
637637+ ExtArgs extends runtime.Types.Extensions.InternalArgs =
638638+ runtime.Types.Extensions.DefaultArgs,
639639+> = {
640640+ trackedBy?: boolean | MovieCountOutputTypeCountTrackedByArgs;
641641+};
553642554643/**
555644 * MovieCountOutputType without action
556645 */
557557-export type MovieCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
646646+export type MovieCountOutputTypeDefaultArgs<
647647+ ExtArgs extends runtime.Types.Extensions.InternalArgs =
648648+ runtime.Types.Extensions.DefaultArgs,
649649+> = {
558650 /**
559651 * Select specific fields to fetch from the MovieCountOutputType
560652 */
561561- select?: Prisma.MovieCountOutputTypeSelect<ExtArgs> | null
562562-}
653653+ select?: Prisma.MovieCountOutputTypeSelect<ExtArgs> | null;
654654+};
563655564656/**
565657 * MovieCountOutputType without action
566658 */
567567-export type MovieCountOutputTypeCountTrackedByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
568568- where?: Prisma.TrackedMovieWhereInput
569569-}
659659+export type MovieCountOutputTypeCountTrackedByArgs<
660660+ ExtArgs extends runtime.Types.Extensions.InternalArgs =
661661+ runtime.Types.Extensions.DefaultArgs,
662662+> = {
663663+ where?: Prisma.TrackedMovieWhereInput;
664664+};
570665571571-572572-export type MovieSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
573573- movieId?: boolean
574574- title?: boolean
575575- posterPath?: boolean
576576- backdropPath?: boolean
577577- releaseYear?: boolean
578578- releaseDate?: boolean
579579- overview?: boolean
580580- createdAt?: boolean
581581- updatedAt?: boolean
582582- trackedBy?: boolean | Prisma.Movie$trackedByArgs<ExtArgs>
583583- _count?: boolean | Prisma.MovieCountOutputTypeDefaultArgs<ExtArgs>
584584-}, ExtArgs["result"]["movie"]>
666666+export type MovieSelect<
667667+ ExtArgs extends runtime.Types.Extensions.InternalArgs =
668668+ runtime.Types.Extensions.DefaultArgs,
669669+> = runtime.Types.Extensions.GetSelect<
670670+ {
671671+ movieId?: boolean;
672672+ title?: boolean;
673673+ posterPath?: boolean;
674674+ backdropPath?: boolean;
675675+ releaseYear?: boolean;
676676+ releaseDate?: boolean;
677677+ overview?: boolean;
678678+ createdAt?: boolean;
679679+ updatedAt?: boolean;
680680+ trackedBy?: boolean | Prisma.Movie$trackedByArgs<ExtArgs>;
681681+ _count?: boolean | Prisma.MovieCountOutputTypeDefaultArgs<ExtArgs>;
682682+ },
683683+ ExtArgs['result']['movie']
684684+>;
585685586586-export type MovieSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
587587- movieId?: boolean
588588- title?: boolean
589589- posterPath?: boolean
590590- backdropPath?: boolean
591591- releaseYear?: boolean
592592- releaseDate?: boolean
593593- overview?: boolean
594594- createdAt?: boolean
595595- updatedAt?: boolean
596596-}, ExtArgs["result"]["movie"]>
686686+export type MovieSelectCreateManyAndReturn<
687687+ ExtArgs extends runtime.Types.Extensions.InternalArgs =
688688+ runtime.Types.Extensions.DefaultArgs,
689689+> = runtime.Types.Extensions.GetSelect<
690690+ {
691691+ movieId?: boolean;
692692+ title?: boolean;
693693+ posterPath?: boolean;
694694+ backdropPath?: boolean;
695695+ releaseYear?: boolean;
696696+ releaseDate?: boolean;
697697+ overview?: boolean;
698698+ createdAt?: boolean;
699699+ updatedAt?: boolean;
700700+ },
701701+ ExtArgs['result']['movie']
702702+>;
597703598598-export type MovieSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
599599- movieId?: boolean
600600- title?: boolean
601601- posterPath?: boolean
602602- backdropPath?: boolean
603603- releaseYear?: boolean
604604- releaseDate?: boolean
605605- overview?: boolean
606606- createdAt?: boolean
607607- updatedAt?: boolean
608608-}, ExtArgs["result"]["movie"]>
704704+export type MovieSelectUpdateManyAndReturn<
705705+ ExtArgs extends runtime.Types.Extensions.InternalArgs =
706706+ runtime.Types.Extensions.DefaultArgs,
707707+> = runtime.Types.Extensions.GetSelect<
708708+ {
709709+ movieId?: boolean;
710710+ title?: boolean;
711711+ posterPath?: boolean;
712712+ backdropPath?: boolean;
713713+ releaseYear?: boolean;
714714+ releaseDate?: boolean;
715715+ overview?: boolean;
716716+ createdAt?: boolean;
717717+ updatedAt?: boolean;
718718+ },
719719+ ExtArgs['result']['movie']
720720+>;
609721610722export type MovieSelectScalar = {
611611- movieId?: boolean
612612- title?: boolean
613613- posterPath?: boolean
614614- backdropPath?: boolean
615615- releaseYear?: boolean
616616- releaseDate?: boolean
617617- overview?: boolean
618618- createdAt?: boolean
619619- updatedAt?: boolean
620620-}
723723+ movieId?: boolean;
724724+ title?: boolean;
725725+ posterPath?: boolean;
726726+ backdropPath?: boolean;
727727+ releaseYear?: boolean;
728728+ releaseDate?: boolean;
729729+ overview?: boolean;
730730+ createdAt?: boolean;
731731+ updatedAt?: boolean;
732732+};
621733622622-export type MovieOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"movieId" | "title" | "posterPath" | "backdropPath" | "releaseYear" | "releaseDate" | "overview" | "createdAt" | "updatedAt", ExtArgs["result"]["movie"]>
623623-export type MovieInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
624624- trackedBy?: boolean | Prisma.Movie$trackedByArgs<ExtArgs>
625625- _count?: boolean | Prisma.MovieCountOutputTypeDefaultArgs<ExtArgs>
626626-}
627627-export type MovieIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {}
628628-export type MovieIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {}
734734+export type MovieOmit<
735735+ ExtArgs extends runtime.Types.Extensions.InternalArgs =
736736+ runtime.Types.Extensions.DefaultArgs,
737737+> = runtime.Types.Extensions.GetOmit<
738738+ | 'movieId'
739739+ | 'title'
740740+ | 'posterPath'
741741+ | 'backdropPath'
742742+ | 'releaseYear'
743743+ | 'releaseDate'
744744+ | 'overview'
745745+ | 'createdAt'
746746+ | 'updatedAt',
747747+ ExtArgs['result']['movie']
748748+>;
749749+export type MovieInclude<
750750+ ExtArgs extends runtime.Types.Extensions.InternalArgs =
751751+ runtime.Types.Extensions.DefaultArgs,
752752+> = {
753753+ trackedBy?: boolean | Prisma.Movie$trackedByArgs<ExtArgs>;
754754+ _count?: boolean | Prisma.MovieCountOutputTypeDefaultArgs<ExtArgs>;
755755+};
756756+export type MovieIncludeCreateManyAndReturn<
757757+ ExtArgs extends runtime.Types.Extensions.InternalArgs =
758758+ runtime.Types.Extensions.DefaultArgs,
759759+> = {};
760760+export type MovieIncludeUpdateManyAndReturn<
761761+ ExtArgs extends runtime.Types.Extensions.InternalArgs =
762762+ runtime.Types.Extensions.DefaultArgs,
763763+> = {};
629764630630-export type $MoviePayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
631631- name: "Movie"
765765+export type $MoviePayload<
766766+ ExtArgs extends runtime.Types.Extensions.InternalArgs =
767767+ runtime.Types.Extensions.DefaultArgs,
768768+> = {
769769+ name: 'Movie';
632770 objects: {
633633- trackedBy: Prisma.$TrackedMoviePayload<ExtArgs>[]
634634- }
635635- scalars: runtime.Types.Extensions.GetPayloadResult<{
636636- movieId: string
637637- title: string
638638- posterPath: string | null
639639- backdropPath: string | null
640640- releaseYear: number | null
641641- releaseDate: Date | null
642642- overview: string | null
643643- createdAt: Date
644644- updatedAt: Date
645645- }, ExtArgs["result"]["movie"]>
646646- composites: {}
647647-}
771771+ trackedBy: Prisma.$TrackedMoviePayload<ExtArgs>[];
772772+ };
773773+ scalars: runtime.Types.Extensions.GetPayloadResult<
774774+ {
775775+ movieId: string;
776776+ title: string;
777777+ posterPath: string | null;
778778+ backdropPath: string | null;
779779+ releaseYear: number | null;
780780+ releaseDate: Date | null;
781781+ overview: string | null;
782782+ createdAt: Date;
783783+ updatedAt: Date;
784784+ },
785785+ ExtArgs['result']['movie']
786786+ >;
787787+ composites: {};
788788+};
648789649649-export type MovieGetPayload<S extends boolean | null | undefined | MovieDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$MoviePayload, S>
790790+export type MovieGetPayload<
791791+ S extends boolean | null | undefined | MovieDefaultArgs,
792792+> = runtime.Types.Result.GetResult<Prisma.$MoviePayload, S>;
650793651651-export type MovieCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
652652- Omit<MovieFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
653653- select?: MovieCountAggregateInputType | true
654654- }
794794+export type MovieCountArgs<
795795+ ExtArgs extends runtime.Types.Extensions.InternalArgs =
796796+ runtime.Types.Extensions.DefaultArgs,
797797+> = Omit<MovieFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
798798+ select?: MovieCountAggregateInputType | true;
799799+};
655800656656-export interface MovieDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
657657- [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['Movie'], meta: { name: 'Movie' } }
801801+export interface MovieDelegate<
802802+ ExtArgs extends runtime.Types.Extensions.InternalArgs =
803803+ runtime.Types.Extensions.DefaultArgs,
804804+ GlobalOmitOptions = {},
805805+> {
806806+ [K: symbol]: {
807807+ types: Prisma.TypeMap<ExtArgs>['model']['Movie'];
808808+ meta: { name: 'Movie' };
809809+ };
658810 /**
659811 * Find zero or one Movie that matches the filter.
660812 * @param {MovieFindUniqueArgs} args - Arguments to find a Movie
···666818 * }
667819 * })
668820 */
669669- findUnique<T extends MovieFindUniqueArgs>(args: Prisma.SelectSubset<T, MovieFindUniqueArgs<ExtArgs>>): Prisma.Prisma__MovieClient<runtime.Types.Result.GetResult<Prisma.$MoviePayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
821821+ findUnique<T extends MovieFindUniqueArgs>(
822822+ args: Prisma.SelectSubset<T, MovieFindUniqueArgs<ExtArgs>>,
823823+ ): Prisma.Prisma__MovieClient<
824824+ runtime.Types.Result.GetResult<
825825+ Prisma.$MoviePayload<ExtArgs>,
826826+ T,
827827+ 'findUnique',
828828+ GlobalOmitOptions
829829+ > | null,
830830+ null,
831831+ ExtArgs,
832832+ GlobalOmitOptions
833833+ >;
670834671835 /**
672836 * Find one Movie that matches the filter or throw an error with `error.code='P2025'`
···680844 * }
681845 * })
682846 */
683683- findUniqueOrThrow<T extends MovieFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, MovieFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__MovieClient<runtime.Types.Result.GetResult<Prisma.$MoviePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
847847+ findUniqueOrThrow<T extends MovieFindUniqueOrThrowArgs>(
848848+ args: Prisma.SelectSubset<T, MovieFindUniqueOrThrowArgs<ExtArgs>>,
849849+ ): Prisma.Prisma__MovieClient<
850850+ runtime.Types.Result.GetResult<
851851+ Prisma.$MoviePayload<ExtArgs>,
852852+ T,
853853+ 'findUniqueOrThrow',
854854+ GlobalOmitOptions
855855+ >,
856856+ never,
857857+ ExtArgs,
858858+ GlobalOmitOptions
859859+ >;
684860685861 /**
686862 * Find the first Movie that matches the filter.
···695871 * }
696872 * })
697873 */
698698- findFirst<T extends MovieFindFirstArgs>(args?: Prisma.SelectSubset<T, MovieFindFirstArgs<ExtArgs>>): Prisma.Prisma__MovieClient<runtime.Types.Result.GetResult<Prisma.$MoviePayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
874874+ findFirst<T extends MovieFindFirstArgs>(
875875+ args?: Prisma.SelectSubset<T, MovieFindFirstArgs<ExtArgs>>,
876876+ ): Prisma.Prisma__MovieClient<
877877+ runtime.Types.Result.GetResult<
878878+ Prisma.$MoviePayload<ExtArgs>,
879879+ T,
880880+ 'findFirst',
881881+ GlobalOmitOptions
882882+ > | null,
883883+ null,
884884+ ExtArgs,
885885+ GlobalOmitOptions
886886+ >;
699887700888 /**
701889 * Find the first Movie that matches the filter or
···711899 * }
712900 * })
713901 */
714714- findFirstOrThrow<T extends MovieFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, MovieFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__MovieClient<runtime.Types.Result.GetResult<Prisma.$MoviePayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
902902+ findFirstOrThrow<T extends MovieFindFirstOrThrowArgs>(
903903+ args?: Prisma.SelectSubset<T, MovieFindFirstOrThrowArgs<ExtArgs>>,
904904+ ): Prisma.Prisma__MovieClient<
905905+ runtime.Types.Result.GetResult<
906906+ Prisma.$MoviePayload<ExtArgs>,
907907+ T,
908908+ 'findFirstOrThrow',
909909+ GlobalOmitOptions
910910+ >,
911911+ never,
912912+ ExtArgs,
913913+ GlobalOmitOptions
914914+ >;
715915716916 /**
717917 * Find zero or more Movies that matches the filter.
···721921 * @example
722922 * // Get all Movies
723923 * const movies = await prisma.movie.findMany()
724724- *
924924+ *
725925 * // Get first 10 Movies
726926 * const movies = await prisma.movie.findMany({ take: 10 })
727727- *
927927+ *
728928 * // Only select the `movieId`
729929 * const movieWithMovieIdOnly = await prisma.movie.findMany({ select: { movieId: true } })
730730- *
930930+ *
731931 */
732732- findMany<T extends MovieFindManyArgs>(args?: Prisma.SelectSubset<T, MovieFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$MoviePayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
932932+ findMany<T extends MovieFindManyArgs>(
933933+ args?: Prisma.SelectSubset<T, MovieFindManyArgs<ExtArgs>>,
934934+ ): Prisma.PrismaPromise<
935935+ runtime.Types.Result.GetResult<
936936+ Prisma.$MoviePayload<ExtArgs>,
937937+ T,
938938+ 'findMany',
939939+ GlobalOmitOptions
940940+ >
941941+ >;
733942734943 /**
735944 * Create a Movie.
···741950 * // ... data to create a Movie
742951 * }
743952 * })
744744- *
953953+ *
745954 */
746746- create<T extends MovieCreateArgs>(args: Prisma.SelectSubset<T, MovieCreateArgs<ExtArgs>>): Prisma.Prisma__MovieClient<runtime.Types.Result.GetResult<Prisma.$MoviePayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
955955+ create<T extends MovieCreateArgs>(
956956+ args: Prisma.SelectSubset<T, MovieCreateArgs<ExtArgs>>,
957957+ ): Prisma.Prisma__MovieClient<
958958+ runtime.Types.Result.GetResult<
959959+ Prisma.$MoviePayload<ExtArgs>,
960960+ T,
961961+ 'create',
962962+ GlobalOmitOptions
963963+ >,
964964+ never,
965965+ ExtArgs,
966966+ GlobalOmitOptions
967967+ >;
747968748969 /**
749970 * Create many Movies.
···755976 * // ... provide data here
756977 * ]
757978 * })
758758- *
979979+ *
759980 */
760760- createMany<T extends MovieCreateManyArgs>(args?: Prisma.SelectSubset<T, MovieCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
981981+ createMany<T extends MovieCreateManyArgs>(
982982+ args?: Prisma.SelectSubset<T, MovieCreateManyArgs<ExtArgs>>,
983983+ ): Prisma.PrismaPromise<Prisma.BatchPayload>;
761984762985 /**
763986 * Create many Movies and returns the data saved in the database.
···769992 * // ... provide data here
770993 * ]
771994 * })
772772- *
995995+ *
773996 * // Create many Movies and only return the `movieId`
774997 * const movieWithMovieIdOnly = await prisma.movie.createManyAndReturn({
775998 * select: { movieId: true },
···7791002 * })
7801003 * Note, that providing `undefined` is treated as the value not being there.
7811004 * Read more here: https://pris.ly/d/null-undefined
782782- *
10051005+ *
7831006 */
784784- createManyAndReturn<T extends MovieCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, MovieCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$MoviePayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
10071007+ createManyAndReturn<T extends MovieCreateManyAndReturnArgs>(
10081008+ args?: Prisma.SelectSubset<T, MovieCreateManyAndReturnArgs<ExtArgs>>,
10091009+ ): Prisma.PrismaPromise<
10101010+ runtime.Types.Result.GetResult<
10111011+ Prisma.$MoviePayload<ExtArgs>,
10121012+ T,
10131013+ 'createManyAndReturn',
10141014+ GlobalOmitOptions
10151015+ >
10161016+ >;
78510177861018 /**
7871019 * Delete a Movie.
···7931025 * // ... filter to delete one Movie
7941026 * }
7951027 * })
796796- *
10281028+ *
7971029 */
798798- delete<T extends MovieDeleteArgs>(args: Prisma.SelectSubset<T, MovieDeleteArgs<ExtArgs>>): Prisma.Prisma__MovieClient<runtime.Types.Result.GetResult<Prisma.$MoviePayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
10301030+ delete<T extends MovieDeleteArgs>(
10311031+ args: Prisma.SelectSubset<T, MovieDeleteArgs<ExtArgs>>,
10321032+ ): Prisma.Prisma__MovieClient<
10331033+ runtime.Types.Result.GetResult<
10341034+ Prisma.$MoviePayload<ExtArgs>,
10351035+ T,
10361036+ 'delete',
10371037+ GlobalOmitOptions
10381038+ >,
10391039+ never,
10401040+ ExtArgs,
10411041+ GlobalOmitOptions
10421042+ >;
79910438001044 /**
8011045 * Update one Movie.
···8101054 * // ... provide data here
8111055 * }
8121056 * })
813813- *
10571057+ *
8141058 */
815815- update<T extends MovieUpdateArgs>(args: Prisma.SelectSubset<T, MovieUpdateArgs<ExtArgs>>): Prisma.Prisma__MovieClient<runtime.Types.Result.GetResult<Prisma.$MoviePayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
10591059+ update<T extends MovieUpdateArgs>(
10601060+ args: Prisma.SelectSubset<T, MovieUpdateArgs<ExtArgs>>,
10611061+ ): Prisma.Prisma__MovieClient<
10621062+ runtime.Types.Result.GetResult<
10631063+ Prisma.$MoviePayload<ExtArgs>,
10641064+ T,
10651065+ 'update',
10661066+ GlobalOmitOptions
10671067+ >,
10681068+ never,
10691069+ ExtArgs,
10701070+ GlobalOmitOptions
10711071+ >;
81610728171073 /**
8181074 * Delete zero or more Movies.
···8241080 * // ... provide filter here
8251081 * }
8261082 * })
827827- *
10831083+ *
8281084 */
829829- deleteMany<T extends MovieDeleteManyArgs>(args?: Prisma.SelectSubset<T, MovieDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
10851085+ deleteMany<T extends MovieDeleteManyArgs>(
10861086+ args?: Prisma.SelectSubset<T, MovieDeleteManyArgs<ExtArgs>>,
10871087+ ): Prisma.PrismaPromise<Prisma.BatchPayload>;
83010888311089 /**
8321090 * Update zero or more Movies.
···8431101 * // ... provide data here
8441102 * }
8451103 * })
846846- *
11041104+ *
8471105 */
848848- updateMany<T extends MovieUpdateManyArgs>(args: Prisma.SelectSubset<T, MovieUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
11061106+ updateMany<T extends MovieUpdateManyArgs>(
11071107+ args: Prisma.SelectSubset<T, MovieUpdateManyArgs<ExtArgs>>,
11081108+ ): Prisma.PrismaPromise<Prisma.BatchPayload>;
84911098501110 /**
8511111 * Update zero or more Movies and returns the data updated in the database.
···8601120 * // ... provide data here
8611121 * ]
8621122 * })
863863- *
11231123+ *
8641124 * // Update zero or more Movies and only return the `movieId`
8651125 * const movieWithMovieIdOnly = await prisma.movie.updateManyAndReturn({
8661126 * select: { movieId: true },
···8731133 * })
8741134 * Note, that providing `undefined` is treated as the value not being there.
8751135 * Read more here: https://pris.ly/d/null-undefined
876876- *
11361136+ *
8771137 */
878878- updateManyAndReturn<T extends MovieUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, MovieUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$MoviePayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
11381138+ updateManyAndReturn<T extends MovieUpdateManyAndReturnArgs>(
11391139+ args: Prisma.SelectSubset<T, MovieUpdateManyAndReturnArgs<ExtArgs>>,
11401140+ ): Prisma.PrismaPromise<
11411141+ runtime.Types.Result.GetResult<
11421142+ Prisma.$MoviePayload<ExtArgs>,
11431143+ T,
11441144+ 'updateManyAndReturn',
11451145+ GlobalOmitOptions
11461146+ >
11471147+ >;
87911488801149 /**
8811150 * Create or update one Movie.
···8941163 * }
8951164 * })
8961165 */
897897- upsert<T extends MovieUpsertArgs>(args: Prisma.SelectSubset<T, MovieUpsertArgs<ExtArgs>>): Prisma.Prisma__MovieClient<runtime.Types.Result.GetResult<Prisma.$MoviePayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
898898-11661166+ upsert<T extends MovieUpsertArgs>(
11671167+ args: Prisma.SelectSubset<T, MovieUpsertArgs<ExtArgs>>,
11681168+ ): Prisma.Prisma__MovieClient<
11691169+ runtime.Types.Result.GetResult<
11701170+ Prisma.$MoviePayload<ExtArgs>,
11711171+ T,
11721172+ 'upsert',
11731173+ GlobalOmitOptions
11741174+ >,
11751175+ never,
11761176+ ExtArgs,
11771177+ GlobalOmitOptions
11781178+ >;
89911799001180 /**
9011181 * Count the number of Movies.
···9091189 * // ... the filter for the Movies we want to count
9101190 * }
9111191 * })
912912- **/
11921192+ **/
9131193 count<T extends MovieCountArgs>(
9141194 args?: Prisma.Subset<T, MovieCountArgs>,
9151195 ): Prisma.PrismaPromise<
···9181198 ? number
9191199 : Prisma.GetScalarType<T['select'], MovieCountAggregateOutputType>
9201200 : number
921921- >
12011201+ >;
92212029231203 /**
9241204 * Allows you to perform aggregations operations on a Movie.
···9431223 * },
9441224 * take: 10,
9451225 * })
946946- **/
947947- aggregate<T extends MovieAggregateArgs>(args: Prisma.Subset<T, MovieAggregateArgs>): Prisma.PrismaPromise<GetMovieAggregateType<T>>
12261226+ **/
12271227+ aggregate<T extends MovieAggregateArgs>(
12281228+ args: Prisma.Subset<T, MovieAggregateArgs>,
12291229+ ): Prisma.PrismaPromise<GetMovieAggregateType<T>>;
94812309491231 /**
9501232 * Group by Movie.
···9621244 * _all: true
9631245 * },
9641246 * })
965965- *
966966- **/
12471247+ *
12481248+ **/
9671249 groupBy<
9681250 T extends MovieGroupByArgs,
9691251 HasSelectOrTake extends Prisma.Or<
···9731255 OrderByArg extends Prisma.True extends HasSelectOrTake
9741256 ? { orderBy: MovieGroupByArgs['orderBy'] }
9751257 : { orderBy?: MovieGroupByArgs['orderBy'] },
976976- OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
12581258+ OrderFields extends Prisma.ExcludeUnderscoreKeys<
12591259+ Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>
12601260+ >,
9771261 ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
9781262 ByValid extends Prisma.Has<ByFields, OrderFields>,
9791263 HavingFields extends Prisma.GetHavingFields<T['having']>,
9801264 HavingValid extends Prisma.Has<ByFields, HavingFields>,
9811265 ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False,
9821266 InputErrors extends ByEmpty extends Prisma.True
983983- ? `Error: "by" must not be empty.`
984984- : HavingValid extends Prisma.False
985985- ? {
986986- [P in HavingFields]: P extends ByFields
987987- ? never
988988- : P extends string
989989- ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
990990- : [
991991- Error,
992992- 'Field ',
993993- P,
994994- ` in "having" needs to be provided in "by"`,
995995- ]
996996- }[HavingFields]
997997- : 'take' extends Prisma.Keys<T>
998998- ? 'orderBy' extends Prisma.Keys<T>
999999- ? ByValid extends Prisma.True
10001000- ? {}
10011001- : {
10021002- [P in OrderFields]: P extends ByFields
10031003- ? never
10041004- : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
10051005- }[OrderFields]
10061006- : 'Error: If you provide "take", you also need to provide "orderBy"'
10071007- : 'skip' extends Prisma.Keys<T>
10081008- ? 'orderBy' extends Prisma.Keys<T>
10091009- ? ByValid extends Prisma.True
10101010- ? {}
10111011- : {
10121012- [P in OrderFields]: P extends ByFields
12671267+ ? `Error: "by" must not be empty.`
12681268+ : HavingValid extends Prisma.False
12691269+ ? {
12701270+ [P in HavingFields]: P extends ByFields
10131271 ? never
10141014- : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
10151015- }[OrderFields]
10161016- : 'Error: If you provide "skip", you also need to provide "orderBy"'
10171017- : ByValid extends Prisma.True
10181018- ? {}
10191019- : {
10201020- [P in OrderFields]: P extends ByFields
10211021- ? never
10221022- : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
10231023- }[OrderFields]
10241024- >(args: Prisma.SubsetIntersection<T, MovieGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetMovieGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
10251025-/**
10261026- * Fields of the Movie model
10271027- */
10281028-readonly fields: MovieFieldRefs;
12721272+ : P extends string
12731273+ ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
12741274+ : [
12751275+ Error,
12761276+ 'Field ',
12771277+ P,
12781278+ ` in "having" needs to be provided in "by"`,
12791279+ ];
12801280+ }[HavingFields]
12811281+ : 'take' extends Prisma.Keys<T>
12821282+ ? 'orderBy' extends Prisma.Keys<T>
12831283+ ? ByValid extends Prisma.True
12841284+ ? {}
12851285+ : {
12861286+ [P in OrderFields]: P extends ByFields
12871287+ ? never
12881288+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
12891289+ }[OrderFields]
12901290+ : 'Error: If you provide "take", you also need to provide "orderBy"'
12911291+ : 'skip' extends Prisma.Keys<T>
12921292+ ? 'orderBy' extends Prisma.Keys<T>
12931293+ ? ByValid extends Prisma.True
12941294+ ? {}
12951295+ : {
12961296+ [P in OrderFields]: P extends ByFields
12971297+ ? never
12981298+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
12991299+ }[OrderFields]
13001300+ : 'Error: If you provide "skip", you also need to provide "orderBy"'
13011301+ : ByValid extends Prisma.True
13021302+ ? {}
13031303+ : {
13041304+ [P in OrderFields]: P extends ByFields
13051305+ ? never
13061306+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
13071307+ }[OrderFields],
13081308+ >(
13091309+ args: Prisma.SubsetIntersection<T, MovieGroupByArgs, OrderByArg> &
13101310+ InputErrors,
13111311+ ): {} extends InputErrors
13121312+ ? GetMovieGroupByPayload<T>
13131313+ : Prisma.PrismaPromise<InputErrors>;
13141314+ /**
13151315+ * Fields of the Movie model
13161316+ */
13171317+ readonly fields: MovieFieldRefs;
10291318}
1030131910311320/**
···10341323 * Because we want to prevent naming conflicts as mentioned in
10351324 * https://github.com/prisma/prisma-client-js/issues/707
10361325 */
10371037-export interface Prisma__MovieClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
10381038- readonly [Symbol.toStringTag]: "PrismaPromise"
10391039- trackedBy<T extends Prisma.Movie$trackedByArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Movie$trackedByArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$TrackedMoviePayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
13261326+export interface Prisma__MovieClient<
13271327+ T,
13281328+ Null = never,
13291329+ ExtArgs extends runtime.Types.Extensions.InternalArgs =
13301330+ runtime.Types.Extensions.DefaultArgs,
13311331+ GlobalOmitOptions = {},
13321332+> extends Prisma.PrismaPromise<T> {
13331333+ readonly [Symbol.toStringTag]: 'PrismaPromise';
13341334+ trackedBy<T extends Prisma.Movie$trackedByArgs<ExtArgs> = {}>(
13351335+ args?: Prisma.Subset<T, Prisma.Movie$trackedByArgs<ExtArgs>>,
13361336+ ): Prisma.PrismaPromise<
13371337+ | runtime.Types.Result.GetResult<
13381338+ Prisma.$TrackedMoviePayload<ExtArgs>,
13391339+ T,
13401340+ 'findMany',
13411341+ GlobalOmitOptions
13421342+ >
13431343+ | Null
13441344+ >;
10401345 /**
10411346 * Attaches callbacks for the resolution and/or rejection of the Promise.
10421347 * @param onfulfilled The callback to execute when the Promise is resolved.
10431348 * @param onrejected The callback to execute when the Promise is rejected.
10441349 * @returns A Promise for the completion of which ever callback is executed.
10451350 */
10461046- then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): runtime.Types.Utils.JsPromise<TResult1 | TResult2>
13511351+ then<TResult1 = T, TResult2 = never>(
13521352+ onfulfilled?:
13531353+ | ((value: T) => TResult1 | PromiseLike<TResult1>)
13541354+ | undefined
13551355+ | null,
13561356+ onrejected?:
13571357+ | ((reason: any) => TResult2 | PromiseLike<TResult2>)
13581358+ | undefined
13591359+ | null,
13601360+ ): runtime.Types.Utils.JsPromise<TResult1 | TResult2>;
10471361 /**
10481362 * Attaches a callback for only the rejection of the Promise.
10491363 * @param onrejected The callback to execute when the Promise is rejected.
10501364 * @returns A Promise for the completion of the callback.
10511365 */
10521052- catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
13661366+ catch<TResult = never>(
13671367+ onrejected?:
13681368+ | ((reason: any) => TResult | PromiseLike<TResult>)
13691369+ | undefined
13701370+ | null,
13711371+ ): runtime.Types.Utils.JsPromise<T | TResult>;
10531372 /**
10541373 * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
10551374 * resolved value cannot be modified from the callback.
10561375 * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
10571376 * @returns A Promise for the completion of the callback.
10581377 */
10591059- finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
13781378+ finally(
13791379+ onfinally?: (() => void) | undefined | null,
13801380+ ): runtime.Types.Utils.JsPromise<T>;
10601381}
10611061-10621062-10631063-1064138210651383/**
10661384 * Fields of the Movie model
10671385 */
10681386export interface MovieFieldRefs {
10691069- readonly movieId: Prisma.FieldRef<"Movie", 'String'>
10701070- readonly title: Prisma.FieldRef<"Movie", 'String'>
10711071- readonly posterPath: Prisma.FieldRef<"Movie", 'String'>
10721072- readonly backdropPath: Prisma.FieldRef<"Movie", 'String'>
10731073- readonly releaseYear: Prisma.FieldRef<"Movie", 'Int'>
10741074- readonly releaseDate: Prisma.FieldRef<"Movie", 'DateTime'>
10751075- readonly overview: Prisma.FieldRef<"Movie", 'String'>
10761076- readonly createdAt: Prisma.FieldRef<"Movie", 'DateTime'>
10771077- readonly updatedAt: Prisma.FieldRef<"Movie", 'DateTime'>
13871387+ readonly movieId: Prisma.FieldRef<'Movie', 'String'>;
13881388+ readonly title: Prisma.FieldRef<'Movie', 'String'>;
13891389+ readonly posterPath: Prisma.FieldRef<'Movie', 'String'>;
13901390+ readonly backdropPath: Prisma.FieldRef<'Movie', 'String'>;
13911391+ readonly releaseYear: Prisma.FieldRef<'Movie', 'Int'>;
13921392+ readonly releaseDate: Prisma.FieldRef<'Movie', 'DateTime'>;
13931393+ readonly overview: Prisma.FieldRef<'Movie', 'String'>;
13941394+ readonly createdAt: Prisma.FieldRef<'Movie', 'DateTime'>;
13951395+ readonly updatedAt: Prisma.FieldRef<'Movie', 'DateTime'>;
10781396}
10791079-1080139710811398// Custom InputTypes
10821399/**
10831400 * Movie findUnique
10841401 */
10851085-export type MovieFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
14021402+export type MovieFindUniqueArgs<
14031403+ ExtArgs extends runtime.Types.Extensions.InternalArgs =
14041404+ runtime.Types.Extensions.DefaultArgs,
14051405+> = {
10861406 /**
10871407 * Select specific fields to fetch from the Movie
10881408 */
10891089- select?: Prisma.MovieSelect<ExtArgs> | null
14091409+ select?: Prisma.MovieSelect<ExtArgs> | null;
10901410 /**
10911411 * Omit specific fields from the Movie
10921412 */
10931093- omit?: Prisma.MovieOmit<ExtArgs> | null
14131413+ omit?: Prisma.MovieOmit<ExtArgs> | null;
10941414 /**
10951415 * Choose, which related nodes to fetch as well
10961416 */
10971097- include?: Prisma.MovieInclude<ExtArgs> | null
14171417+ include?: Prisma.MovieInclude<ExtArgs> | null;
10981418 /**
10991419 * Filter, which Movie to fetch.
11001420 */
11011101- where: Prisma.MovieWhereUniqueInput
11021102-}
14211421+ where: Prisma.MovieWhereUniqueInput;
14221422+};
1103142311041424/**
11051425 * Movie findUniqueOrThrow
11061426 */
11071107-export type MovieFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
14271427+export type MovieFindUniqueOrThrowArgs<
14281428+ ExtArgs extends runtime.Types.Extensions.InternalArgs =
14291429+ runtime.Types.Extensions.DefaultArgs,
14301430+> = {
11081431 /**
11091432 * Select specific fields to fetch from the Movie
11101433 */
11111111- select?: Prisma.MovieSelect<ExtArgs> | null
14341434+ select?: Prisma.MovieSelect<ExtArgs> | null;
11121435 /**
11131436 * Omit specific fields from the Movie
11141437 */
11151115- omit?: Prisma.MovieOmit<ExtArgs> | null
14381438+ omit?: Prisma.MovieOmit<ExtArgs> | null;
11161439 /**
11171440 * Choose, which related nodes to fetch as well
11181441 */
11191119- include?: Prisma.MovieInclude<ExtArgs> | null
14421442+ include?: Prisma.MovieInclude<ExtArgs> | null;
11201443 /**
11211444 * Filter, which Movie to fetch.
11221445 */
11231123- where: Prisma.MovieWhereUniqueInput
11241124-}
14461446+ where: Prisma.MovieWhereUniqueInput;
14471447+};
1125144811261449/**
11271450 * Movie findFirst
11281451 */
11291129-export type MovieFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
14521452+export type MovieFindFirstArgs<
14531453+ ExtArgs extends runtime.Types.Extensions.InternalArgs =
14541454+ runtime.Types.Extensions.DefaultArgs,
14551455+> = {
11301456 /**
11311457 * Select specific fields to fetch from the Movie
11321458 */
11331133- select?: Prisma.MovieSelect<ExtArgs> | null
14591459+ select?: Prisma.MovieSelect<ExtArgs> | null;
11341460 /**
11351461 * Omit specific fields from the Movie
11361462 */
11371137- omit?: Prisma.MovieOmit<ExtArgs> | null
14631463+ omit?: Prisma.MovieOmit<ExtArgs> | null;
11381464 /**
11391465 * Choose, which related nodes to fetch as well
11401466 */
11411141- include?: Prisma.MovieInclude<ExtArgs> | null
14671467+ include?: Prisma.MovieInclude<ExtArgs> | null;
11421468 /**
11431469 * Filter, which Movie to fetch.
11441470 */
11451145- where?: Prisma.MovieWhereInput
14711471+ where?: Prisma.MovieWhereInput;
11461472 /**
11471473 * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
11481148- *
14741474+ *
11491475 * Determine the order of Movies to fetch.
11501476 */
11511151- orderBy?: Prisma.MovieOrderByWithRelationInput | Prisma.MovieOrderByWithRelationInput[]
14771477+ orderBy?:
14781478+ | Prisma.MovieOrderByWithRelationInput
14791479+ | Prisma.MovieOrderByWithRelationInput[];
11521480 /**
11531481 * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
11541154- *
14821482+ *
11551483 * Sets the position for searching for Movies.
11561484 */
11571157- cursor?: Prisma.MovieWhereUniqueInput
14851485+ cursor?: Prisma.MovieWhereUniqueInput;
11581486 /**
11591487 * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
11601160- *
14881488+ *
11611489 * Take `±n` Movies from the position of the cursor.
11621490 */
11631163- take?: number
14911491+ take?: number;
11641492 /**
11651493 * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
11661166- *
14941494+ *
11671495 * Skip the first `n` Movies.
11681496 */
11691169- skip?: number
14971497+ skip?: number;
11701498 /**
11711499 * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
11721172- *
15001500+ *
11731501 * Filter by unique combinations of Movies.
11741502 */
11751175- distinct?: Prisma.MovieScalarFieldEnum | Prisma.MovieScalarFieldEnum[]
11761176-}
15031503+ distinct?: Prisma.MovieScalarFieldEnum | Prisma.MovieScalarFieldEnum[];
15041504+};
1177150511781506/**
11791507 * Movie findFirstOrThrow
11801508 */
11811181-export type MovieFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
15091509+export type MovieFindFirstOrThrowArgs<
15101510+ ExtArgs extends runtime.Types.Extensions.InternalArgs =
15111511+ runtime.Types.Extensions.DefaultArgs,
15121512+> = {
11821513 /**
11831514 * Select specific fields to fetch from the Movie
11841515 */
11851185- select?: Prisma.MovieSelect<ExtArgs> | null
15161516+ select?: Prisma.MovieSelect<ExtArgs> | null;
11861517 /**
11871518 * Omit specific fields from the Movie
11881519 */
11891189- omit?: Prisma.MovieOmit<ExtArgs> | null
15201520+ omit?: Prisma.MovieOmit<ExtArgs> | null;
11901521 /**
11911522 * Choose, which related nodes to fetch as well
11921523 */
11931193- include?: Prisma.MovieInclude<ExtArgs> | null
15241524+ include?: Prisma.MovieInclude<ExtArgs> | null;
11941525 /**
11951526 * Filter, which Movie to fetch.
11961527 */
11971197- where?: Prisma.MovieWhereInput
15281528+ where?: Prisma.MovieWhereInput;
11981529 /**
11991530 * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
12001200- *
15311531+ *
12011532 * Determine the order of Movies to fetch.
12021533 */
12031203- orderBy?: Prisma.MovieOrderByWithRelationInput | Prisma.MovieOrderByWithRelationInput[]
15341534+ orderBy?:
15351535+ | Prisma.MovieOrderByWithRelationInput
15361536+ | Prisma.MovieOrderByWithRelationInput[];
12041537 /**
12051538 * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
12061206- *
15391539+ *
12071540 * Sets the position for searching for Movies.
12081541 */
12091209- cursor?: Prisma.MovieWhereUniqueInput
15421542+ cursor?: Prisma.MovieWhereUniqueInput;
12101543 /**
12111544 * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
12121212- *
15451545+ *
12131546 * Take `±n` Movies from the position of the cursor.
12141547 */
12151215- take?: number
15481548+ take?: number;
12161549 /**
12171550 * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
12181218- *
15511551+ *
12191552 * Skip the first `n` Movies.
12201553 */
12211221- skip?: number
15541554+ skip?: number;
12221555 /**
12231556 * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
12241224- *
15571557+ *
12251558 * Filter by unique combinations of Movies.
12261559 */
12271227- distinct?: Prisma.MovieScalarFieldEnum | Prisma.MovieScalarFieldEnum[]
12281228-}
15601560+ distinct?: Prisma.MovieScalarFieldEnum | Prisma.MovieScalarFieldEnum[];
15611561+};
1229156212301563/**
12311564 * Movie findMany
12321565 */
12331233-export type MovieFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
15661566+export type MovieFindManyArgs<
15671567+ ExtArgs extends runtime.Types.Extensions.InternalArgs =
15681568+ runtime.Types.Extensions.DefaultArgs,
15691569+> = {
12341570 /**
12351571 * Select specific fields to fetch from the Movie
12361572 */
12371237- select?: Prisma.MovieSelect<ExtArgs> | null
15731573+ select?: Prisma.MovieSelect<ExtArgs> | null;
12381574 /**
12391575 * Omit specific fields from the Movie
12401576 */
12411241- omit?: Prisma.MovieOmit<ExtArgs> | null
15771577+ omit?: Prisma.MovieOmit<ExtArgs> | null;
12421578 /**
12431579 * Choose, which related nodes to fetch as well
12441580 */
12451245- include?: Prisma.MovieInclude<ExtArgs> | null
15811581+ include?: Prisma.MovieInclude<ExtArgs> | null;
12461582 /**
12471583 * Filter, which Movies to fetch.
12481584 */
12491249- where?: Prisma.MovieWhereInput
15851585+ where?: Prisma.MovieWhereInput;
12501586 /**
12511587 * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
12521252- *
15881588+ *
12531589 * Determine the order of Movies to fetch.
12541590 */
12551255- orderBy?: Prisma.MovieOrderByWithRelationInput | Prisma.MovieOrderByWithRelationInput[]
15911591+ orderBy?:
15921592+ | Prisma.MovieOrderByWithRelationInput
15931593+ | Prisma.MovieOrderByWithRelationInput[];
12561594 /**
12571595 * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
12581258- *
15961596+ *
12591597 * Sets the position for listing Movies.
12601598 */
12611261- cursor?: Prisma.MovieWhereUniqueInput
15991599+ cursor?: Prisma.MovieWhereUniqueInput;
12621600 /**
12631601 * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
12641264- *
16021602+ *
12651603 * Take `±n` Movies from the position of the cursor.
12661604 */
12671267- take?: number
16051605+ take?: number;
12681606 /**
12691607 * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
12701270- *
16081608+ *
12711609 * Skip the first `n` Movies.
12721610 */
12731273- skip?: number
12741274- distinct?: Prisma.MovieScalarFieldEnum | Prisma.MovieScalarFieldEnum[]
12751275-}
16111611+ skip?: number;
16121612+ distinct?: Prisma.MovieScalarFieldEnum | Prisma.MovieScalarFieldEnum[];
16131613+};
1276161412771615/**
12781616 * Movie create
12791617 */
12801280-export type MovieCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
16181618+export type MovieCreateArgs<
16191619+ ExtArgs extends runtime.Types.Extensions.InternalArgs =
16201620+ runtime.Types.Extensions.DefaultArgs,
16211621+> = {
12811622 /**
12821623 * Select specific fields to fetch from the Movie
12831624 */
12841284- select?: Prisma.MovieSelect<ExtArgs> | null
16251625+ select?: Prisma.MovieSelect<ExtArgs> | null;
12851626 /**
12861627 * Omit specific fields from the Movie
12871628 */
12881288- omit?: Prisma.MovieOmit<ExtArgs> | null
16291629+ omit?: Prisma.MovieOmit<ExtArgs> | null;
12891630 /**
12901631 * Choose, which related nodes to fetch as well
12911632 */
12921292- include?: Prisma.MovieInclude<ExtArgs> | null
16331633+ include?: Prisma.MovieInclude<ExtArgs> | null;
12931634 /**
12941635 * The data needed to create a Movie.
12951636 */
12961296- data: Prisma.XOR<Prisma.MovieCreateInput, Prisma.MovieUncheckedCreateInput>
12971297-}
16371637+ data: Prisma.XOR<Prisma.MovieCreateInput, Prisma.MovieUncheckedCreateInput>;
16381638+};
1298163912991640/**
13001641 * Movie createMany
13011642 */
13021302-export type MovieCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
16431643+export type MovieCreateManyArgs<
16441644+ ExtArgs extends runtime.Types.Extensions.InternalArgs =
16451645+ runtime.Types.Extensions.DefaultArgs,
16461646+> = {
13031647 /**
13041648 * The data used to create many Movies.
13051649 */
13061306- data: Prisma.MovieCreateManyInput | Prisma.MovieCreateManyInput[]
13071307- skipDuplicates?: boolean
13081308-}
16501650+ data: Prisma.MovieCreateManyInput | Prisma.MovieCreateManyInput[];
16511651+ skipDuplicates?: boolean;
16521652+};
1309165313101654/**
13111655 * Movie createManyAndReturn
13121656 */
13131313-export type MovieCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
16571657+export type MovieCreateManyAndReturnArgs<
16581658+ ExtArgs extends runtime.Types.Extensions.InternalArgs =
16591659+ runtime.Types.Extensions.DefaultArgs,
16601660+> = {
13141661 /**
13151662 * Select specific fields to fetch from the Movie
13161663 */
13171317- select?: Prisma.MovieSelectCreateManyAndReturn<ExtArgs> | null
16641664+ select?: Prisma.MovieSelectCreateManyAndReturn<ExtArgs> | null;
13181665 /**
13191666 * Omit specific fields from the Movie
13201667 */
13211321- omit?: Prisma.MovieOmit<ExtArgs> | null
16681668+ omit?: Prisma.MovieOmit<ExtArgs> | null;
13221669 /**
13231670 * The data used to create many Movies.
13241671 */
13251325- data: Prisma.MovieCreateManyInput | Prisma.MovieCreateManyInput[]
13261326- skipDuplicates?: boolean
13271327-}
16721672+ data: Prisma.MovieCreateManyInput | Prisma.MovieCreateManyInput[];
16731673+ skipDuplicates?: boolean;
16741674+};
1328167513291676/**
13301677 * Movie update
13311678 */
13321332-export type MovieUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
16791679+export type MovieUpdateArgs<
16801680+ ExtArgs extends runtime.Types.Extensions.InternalArgs =
16811681+ runtime.Types.Extensions.DefaultArgs,
16821682+> = {
13331683 /**
13341684 * Select specific fields to fetch from the Movie
13351685 */
13361336- select?: Prisma.MovieSelect<ExtArgs> | null
16861686+ select?: Prisma.MovieSelect<ExtArgs> | null;
13371687 /**
13381688 * Omit specific fields from the Movie
13391689 */
13401340- omit?: Prisma.MovieOmit<ExtArgs> | null
16901690+ omit?: Prisma.MovieOmit<ExtArgs> | null;
13411691 /**
13421692 * Choose, which related nodes to fetch as well
13431693 */
13441344- include?: Prisma.MovieInclude<ExtArgs> | null
16941694+ include?: Prisma.MovieInclude<ExtArgs> | null;
13451695 /**
13461696 * The data needed to update a Movie.
13471697 */
13481348- data: Prisma.XOR<Prisma.MovieUpdateInput, Prisma.MovieUncheckedUpdateInput>
16981698+ data: Prisma.XOR<Prisma.MovieUpdateInput, Prisma.MovieUncheckedUpdateInput>;
13491699 /**
13501700 * Choose, which Movie to update.
13511701 */
13521352- where: Prisma.MovieWhereUniqueInput
13531353-}
17021702+ where: Prisma.MovieWhereUniqueInput;
17031703+};
1354170413551705/**
13561706 * Movie updateMany
13571707 */
13581358-export type MovieUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
17081708+export type MovieUpdateManyArgs<
17091709+ ExtArgs extends runtime.Types.Extensions.InternalArgs =
17101710+ runtime.Types.Extensions.DefaultArgs,
17111711+> = {
13591712 /**
13601713 * The data used to update Movies.
13611714 */
13621362- data: Prisma.XOR<Prisma.MovieUpdateManyMutationInput, Prisma.MovieUncheckedUpdateManyInput>
17151715+ data: Prisma.XOR<
17161716+ Prisma.MovieUpdateManyMutationInput,
17171717+ Prisma.MovieUncheckedUpdateManyInput
17181718+ >;
13631719 /**
13641720 * Filter which Movies to update
13651721 */
13661366- where?: Prisma.MovieWhereInput
17221722+ where?: Prisma.MovieWhereInput;
13671723 /**
13681724 * Limit how many Movies to update.
13691725 */
13701370- limit?: number
13711371-}
17261726+ limit?: number;
17271727+};
1372172813731729/**
13741730 * Movie updateManyAndReturn
13751731 */
13761376-export type MovieUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
17321732+export type MovieUpdateManyAndReturnArgs<
17331733+ ExtArgs extends runtime.Types.Extensions.InternalArgs =
17341734+ runtime.Types.Extensions.DefaultArgs,
17351735+> = {
13771736 /**
13781737 * Select specific fields to fetch from the Movie
13791738 */
13801380- select?: Prisma.MovieSelectUpdateManyAndReturn<ExtArgs> | null
17391739+ select?: Prisma.MovieSelectUpdateManyAndReturn<ExtArgs> | null;
13811740 /**
13821741 * Omit specific fields from the Movie
13831742 */
13841384- omit?: Prisma.MovieOmit<ExtArgs> | null
17431743+ omit?: Prisma.MovieOmit<ExtArgs> | null;
13851744 /**
13861745 * The data used to update Movies.
13871746 */
13881388- data: Prisma.XOR<Prisma.MovieUpdateManyMutationInput, Prisma.MovieUncheckedUpdateManyInput>
17471747+ data: Prisma.XOR<
17481748+ Prisma.MovieUpdateManyMutationInput,
17491749+ Prisma.MovieUncheckedUpdateManyInput
17501750+ >;
13891751 /**
13901752 * Filter which Movies to update
13911753 */
13921392- where?: Prisma.MovieWhereInput
17541754+ where?: Prisma.MovieWhereInput;
13931755 /**
13941756 * Limit how many Movies to update.
13951757 */
13961396- limit?: number
13971397-}
17581758+ limit?: number;
17591759+};
1398176013991761/**
14001762 * Movie upsert
14011763 */
14021402-export type MovieUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
17641764+export type MovieUpsertArgs<
17651765+ ExtArgs extends runtime.Types.Extensions.InternalArgs =
17661766+ runtime.Types.Extensions.DefaultArgs,
17671767+> = {
14031768 /**
14041769 * Select specific fields to fetch from the Movie
14051770 */
14061406- select?: Prisma.MovieSelect<ExtArgs> | null
17711771+ select?: Prisma.MovieSelect<ExtArgs> | null;
14071772 /**
14081773 * Omit specific fields from the Movie
14091774 */
14101410- omit?: Prisma.MovieOmit<ExtArgs> | null
17751775+ omit?: Prisma.MovieOmit<ExtArgs> | null;
14111776 /**
14121777 * Choose, which related nodes to fetch as well
14131778 */
14141414- include?: Prisma.MovieInclude<ExtArgs> | null
17791779+ include?: Prisma.MovieInclude<ExtArgs> | null;
14151780 /**
14161781 * The filter to search for the Movie to update in case it exists.
14171782 */
14181418- where: Prisma.MovieWhereUniqueInput
17831783+ where: Prisma.MovieWhereUniqueInput;
14191784 /**
14201785 * In case the Movie found by the `where` argument doesn't exist, create a new Movie with this data.
14211786 */
14221422- create: Prisma.XOR<Prisma.MovieCreateInput, Prisma.MovieUncheckedCreateInput>
17871787+ create: Prisma.XOR<Prisma.MovieCreateInput, Prisma.MovieUncheckedCreateInput>;
14231788 /**
14241789 * In case the Movie was found with the provided `where` argument, update it with this data.
14251790 */
14261426- update: Prisma.XOR<Prisma.MovieUpdateInput, Prisma.MovieUncheckedUpdateInput>
14271427-}
17911791+ update: Prisma.XOR<Prisma.MovieUpdateInput, Prisma.MovieUncheckedUpdateInput>;
17921792+};
1428179314291794/**
14301795 * Movie delete
14311796 */
14321432-export type MovieDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
17971797+export type MovieDeleteArgs<
17981798+ ExtArgs extends runtime.Types.Extensions.InternalArgs =
17991799+ runtime.Types.Extensions.DefaultArgs,
18001800+> = {
14331801 /**
14341802 * Select specific fields to fetch from the Movie
14351803 */
14361436- select?: Prisma.MovieSelect<ExtArgs> | null
18041804+ select?: Prisma.MovieSelect<ExtArgs> | null;
14371805 /**
14381806 * Omit specific fields from the Movie
14391807 */
14401440- omit?: Prisma.MovieOmit<ExtArgs> | null
18081808+ omit?: Prisma.MovieOmit<ExtArgs> | null;
14411809 /**
14421810 * Choose, which related nodes to fetch as well
14431811 */
14441444- include?: Prisma.MovieInclude<ExtArgs> | null
18121812+ include?: Prisma.MovieInclude<ExtArgs> | null;
14451813 /**
14461814 * Filter which Movie to delete.
14471815 */
14481448- where: Prisma.MovieWhereUniqueInput
14491449-}
18161816+ where: Prisma.MovieWhereUniqueInput;
18171817+};
1450181814511819/**
14521820 * Movie deleteMany
14531821 */
14541454-export type MovieDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
18221822+export type MovieDeleteManyArgs<
18231823+ ExtArgs extends runtime.Types.Extensions.InternalArgs =
18241824+ runtime.Types.Extensions.DefaultArgs,
18251825+> = {
14551826 /**
14561827 * Filter which Movies to delete
14571828 */
14581458- where?: Prisma.MovieWhereInput
18291829+ where?: Prisma.MovieWhereInput;
14591830 /**
14601831 * Limit how many Movies to delete.
14611832 */
14621462- limit?: number
14631463-}
18331833+ limit?: number;
18341834+};
1464183514651836/**
14661837 * Movie.trackedBy
14671838 */
14681468-export type Movie$trackedByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
18391839+export type Movie$trackedByArgs<
18401840+ ExtArgs extends runtime.Types.Extensions.InternalArgs =
18411841+ runtime.Types.Extensions.DefaultArgs,
18421842+> = {
14691843 /**
14701844 * Select specific fields to fetch from the TrackedMovie
14711845 */
14721472- select?: Prisma.TrackedMovieSelect<ExtArgs> | null
18461846+ select?: Prisma.TrackedMovieSelect<ExtArgs> | null;
14731847 /**
14741848 * Omit specific fields from the TrackedMovie
14751849 */
14761476- omit?: Prisma.TrackedMovieOmit<ExtArgs> | null
18501850+ omit?: Prisma.TrackedMovieOmit<ExtArgs> | null;
14771851 /**
14781852 * Choose, which related nodes to fetch as well
14791853 */
14801480- include?: Prisma.TrackedMovieInclude<ExtArgs> | null
14811481- where?: Prisma.TrackedMovieWhereInput
14821482- orderBy?: Prisma.TrackedMovieOrderByWithRelationInput | Prisma.TrackedMovieOrderByWithRelationInput[]
14831483- cursor?: Prisma.TrackedMovieWhereUniqueInput
14841484- take?: number
14851485- skip?: number
14861486- distinct?: Prisma.TrackedMovieScalarFieldEnum | Prisma.TrackedMovieScalarFieldEnum[]
14871487-}
18541854+ include?: Prisma.TrackedMovieInclude<ExtArgs> | null;
18551855+ where?: Prisma.TrackedMovieWhereInput;
18561856+ orderBy?:
18571857+ | Prisma.TrackedMovieOrderByWithRelationInput
18581858+ | Prisma.TrackedMovieOrderByWithRelationInput[];
18591859+ cursor?: Prisma.TrackedMovieWhereUniqueInput;
18601860+ take?: number;
18611861+ skip?: number;
18621862+ distinct?:
18631863+ | Prisma.TrackedMovieScalarFieldEnum
18641864+ | Prisma.TrackedMovieScalarFieldEnum[];
18651865+};
1488186614891867/**
14901868 * Movie without action
14911869 */
14921492-export type MovieDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
18701870+export type MovieDefaultArgs<
18711871+ ExtArgs extends runtime.Types.Extensions.InternalArgs =
18721872+ runtime.Types.Extensions.DefaultArgs,
18731873+> = {
14931874 /**
14941875 * Select specific fields to fetch from the Movie
14951876 */
14961496- select?: Prisma.MovieSelect<ExtArgs> | null
18771877+ select?: Prisma.MovieSelect<ExtArgs> | null;
14971878 /**
14981879 * Omit specific fields from the Movie
14991880 */
15001500- omit?: Prisma.MovieOmit<ExtArgs> | null
18811881+ omit?: Prisma.MovieOmit<ExtArgs> | null;
15011882 /**
15021883 * Choose, which related nodes to fetch as well
15031884 */
15041504- include?: Prisma.MovieInclude<ExtArgs> | null
15051505-}
18851885+ include?: Prisma.MovieInclude<ExtArgs> | null;
18861886+};