A personal media tracker built on the AT Protocol opnshelf.xyz
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix: fix tests

+6176 -4128
+28 -2
backend/src/auth/auth.service.spec.ts
··· 299 299 client_name: 'OpnShelf', 300 300 client_uri: 'http://127.0.0.1:3001', 301 301 redirect_uris: ['http://127.0.0.1:3001/auth/callback'], 302 - scope: 'atproto transition:generic', 302 + scope: 303 + 'atproto repo:app.opnshelf.movie rpc:app.bsky.actor.getProfile?aud=did:web:api.bsky.app%23bsky_appview', 303 304 grant_types: ['authorization_code', 'refresh_token'], 304 305 response_types: ['code'], 305 306 application_type: 'native', ··· 366 367 const result = await service.authorize('user.bsky.social'); 367 368 368 369 expect(client.authorize).toHaveBeenCalledWith('user.bsky.social', { 369 - scope: 'atproto transition:generic', 370 + scope: 371 + 'atproto repo:app.opnshelf.movie rpc:app.bsky.actor.getProfile?aud=did:web:api.bsky.app%23bsky_appview', 370 372 }); 371 373 expect(result).toBe(mockUrl.toString()); 372 374 }); ··· 456 458 displayName: null, 457 459 avatar: null, 458 460 }); 461 + }); 462 + }); 463 + 464 + describe('OAUTH_SCOPE', () => { 465 + it('should have the correct OAuth scope for app functionality', () => { 466 + // Import the service module to access the constant 467 + const authServiceModule = require('./auth.service'); 468 + 469 + // The OAUTH_SCOPE constant should include: 470 + // - atproto: base AT Protocol access 471 + // - repo:app.opnshelf.movie: write movie records 472 + // - rpc:app.bsky.actor.getProfile: fetch user profiles via Bluesky AppView 473 + expect(authServiceModule.OAUTH_SCOPE).toBe( 474 + 'atproto repo:app.opnshelf.movie rpc:app.bsky.actor.getProfile?aud=did:web:api.bsky.app%23bsky_appview', 475 + ); 476 + }); 477 + 478 + it('should be used consistently across all OAuth operations', () => { 479 + // This test verifies that the scope is properly defined and accessible 480 + // The actual usage is tested in the authorize() and getClientMetadata() tests 481 + const authServiceModule = require('./auth.service'); 482 + expect(authServiceModule.OAUTH_SCOPE).toBeDefined(); 483 + expect(typeof authServiceModule.OAUTH_SCOPE).toBe('string'); 484 + expect(authServiceModule.OAUTH_SCOPE.length).toBeGreaterThan(0); 459 485 }); 460 486 }); 461 487 });
+1 -1
backend/src/auth/auth.service.ts
··· 8 8 import { Agent } from '@atproto/api'; 9 9 import { PrismaService } from '../prisma/prisma.service'; 10 10 11 - const OAUTH_SCOPE = 11 + export const OAUTH_SCOPE = 12 12 'atproto repo:app.opnshelf.movie rpc:app.bsky.actor.getProfile?aud=did:web:api.bsky.app%23bsky_appview'; 13 13 14 14 @Injectable()
+16 -16
backend/src/generated/browser.ts
··· 1 1 /* !!! This is code generated by Prisma. Do not edit directly. !!! */ 2 2 /* eslint-disable */ 3 3 // biome-ignore-all lint: generated file 4 - // @ts-nocheck 4 + // @ts-nocheck 5 5 /* 6 - * This file should be your main import to use Prisma-related types and utilities in a browser. 6 + * This file should be your main import to use Prisma-related types and utilities in a browser. 7 7 * Use it to get access to models, enums, and input types. 8 - * 8 + * 9 9 * This file does not contain a `PrismaClient` class, nor several other helpers that are intended as server-side only. 10 10 * See `client.ts` for the standard, server-side entry point. 11 11 * 12 12 * 🟢 You can import this file directly. 13 13 */ 14 14 15 - import * as Prisma from './internal/prismaNamespaceBrowser.js' 16 - export { Prisma } 17 - export * as $Enums from './enums.js' 15 + import * as Prisma from './internal/prismaNamespaceBrowser.js'; 16 + export { Prisma }; 17 + export * as $Enums from './enums.js'; 18 18 export * from './enums.js'; 19 19 /** 20 20 * Model User 21 - * 21 + * 22 22 */ 23 - export type User = Prisma.UserModel 23 + export type User = Prisma.UserModel; 24 24 /** 25 25 * Model AuthSession 26 - * 26 + * 27 27 */ 28 - export type AuthSession = Prisma.AuthSessionModel 28 + export type AuthSession = Prisma.AuthSessionModel; 29 29 /** 30 30 * Model AuthState 31 - * 31 + * 32 32 */ 33 - export type AuthState = Prisma.AuthStateModel 33 + export type AuthState = Prisma.AuthStateModel; 34 34 /** 35 35 * Model Movie 36 - * 36 + * 37 37 */ 38 - export type Movie = Prisma.MovieModel 38 + export type Movie = Prisma.MovieModel; 39 39 /** 40 40 * Model TrackedMovie 41 - * 41 + * 42 42 */ 43 - export type TrackedMovie = Prisma.TrackedMovieModel 43 + export type TrackedMovie = Prisma.TrackedMovieModel;
+30 -24
backend/src/generated/client.ts
··· 1 1 /* !!! This is code generated by Prisma. Do not edit directly. !!! */ 2 2 /* eslint-disable */ 3 3 // biome-ignore-all lint: generated file 4 - // @ts-nocheck 4 + // @ts-nocheck 5 5 /* 6 6 * This file should be your main import to use Prisma. Through it you get access to all the models, enums, and input types. 7 7 * If you're looking for something you can import in the client-side of your application, please refer to the `browser.ts` file instead. ··· 9 9 * 🟢 You can import this file directly. 10 10 */ 11 11 12 - import * as process from 'node:process' 13 - import * as path from 'node:path' 12 + import * as process from 'node:process'; 13 + import * as path from 'node:path'; 14 14 15 - import * as runtime from "@prisma/client/runtime/client" 16 - import * as $Enums from "./enums.js" 17 - import * as $Class from "./internal/class.js" 18 - import * as Prisma from "./internal/prismaNamespace.js" 15 + import * as runtime from '@prisma/client/runtime/client'; 16 + import * as $Enums from './enums.js'; 17 + import * as $Class from './internal/class.js'; 18 + import * as Prisma from './internal/prismaNamespace.js'; 19 19 20 - export * as $Enums from './enums.js' 21 - export * from "./enums.js" 20 + export * as $Enums from './enums.js'; 21 + export * from './enums.js'; 22 22 /** 23 23 * ## Prisma Client 24 - * 24 + * 25 25 * Type-safe database client for TypeScript 26 26 * @example 27 27 * ``` ··· 29 29 * // Fetch zero or more Users 30 30 * const users = await prisma.user.findMany() 31 31 * ``` 32 - * 32 + * 33 33 * Read more in our [docs](https://pris.ly/d/client). 34 34 */ 35 - export const PrismaClient = $Class.getPrismaClientClass() 36 - 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> 37 - export { Prisma } 35 + export const PrismaClient = $Class.getPrismaClientClass(); 36 + export type PrismaClient< 37 + LogOpts extends Prisma.LogLevel = never, 38 + OmitOpts extends Prisma.PrismaClientOptions['omit'] = 39 + Prisma.PrismaClientOptions['omit'], 40 + ExtArgs extends runtime.Types.Extensions.InternalArgs = 41 + runtime.Types.Extensions.DefaultArgs, 42 + > = $Class.PrismaClient<LogOpts, OmitOpts, ExtArgs>; 43 + export { Prisma }; 38 44 39 45 /** 40 46 * Model User 41 - * 47 + * 42 48 */ 43 - export type User = Prisma.UserModel 49 + export type User = Prisma.UserModel; 44 50 /** 45 51 * Model AuthSession 46 - * 52 + * 47 53 */ 48 - export type AuthSession = Prisma.AuthSessionModel 54 + export type AuthSession = Prisma.AuthSessionModel; 49 55 /** 50 56 * Model AuthState 51 - * 57 + * 52 58 */ 53 - export type AuthState = Prisma.AuthStateModel 59 + export type AuthState = Prisma.AuthStateModel; 54 60 /** 55 61 * Model Movie 56 - * 62 + * 57 63 */ 58 - export type Movie = Prisma.MovieModel 64 + export type Movie = Prisma.MovieModel; 59 65 /** 60 66 * Model TrackedMovie 61 - * 67 + * 62 68 */ 63 - export type TrackedMovie = Prisma.TrackedMovieModel 69 + export type TrackedMovie = Prisma.TrackedMovieModel;
+327 -270
backend/src/generated/commonInputTypes.ts
··· 1 1 /* !!! This is code generated by Prisma. Do not edit directly. !!! */ 2 2 /* eslint-disable */ 3 3 // biome-ignore-all lint: generated file 4 - // @ts-nocheck 4 + // @ts-nocheck 5 5 /* 6 6 * This file exports various common sort, input & filter types that are not directly linked to a particular model. 7 7 * 8 8 * 🟢 You can import this file directly. 9 9 */ 10 10 11 - import type * as runtime from "@prisma/client/runtime/client" 12 - import * as $Enums from "./enums.js" 13 - import type * as Prisma from "./internal/prismaNamespace.js" 14 - 11 + import type * as runtime from '@prisma/client/runtime/client'; 12 + import * as $Enums from './enums.js'; 13 + import type * as Prisma from './internal/prismaNamespace.js'; 15 14 16 15 export type StringFilter<$PrismaModel = never> = { 17 - equals?: string | Prisma.StringFieldRefInput<$PrismaModel> 18 - in?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel> 19 - notIn?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel> 20 - lt?: string | Prisma.StringFieldRefInput<$PrismaModel> 21 - lte?: string | Prisma.StringFieldRefInput<$PrismaModel> 22 - gt?: string | Prisma.StringFieldRefInput<$PrismaModel> 23 - gte?: string | Prisma.StringFieldRefInput<$PrismaModel> 24 - contains?: string | Prisma.StringFieldRefInput<$PrismaModel> 25 - startsWith?: string | Prisma.StringFieldRefInput<$PrismaModel> 26 - endsWith?: string | Prisma.StringFieldRefInput<$PrismaModel> 27 - mode?: Prisma.QueryMode 28 - not?: Prisma.NestedStringFilter<$PrismaModel> | string 29 - } 16 + equals?: string | Prisma.StringFieldRefInput<$PrismaModel>; 17 + in?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel>; 18 + notIn?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel>; 19 + lt?: string | Prisma.StringFieldRefInput<$PrismaModel>; 20 + lte?: string | Prisma.StringFieldRefInput<$PrismaModel>; 21 + gt?: string | Prisma.StringFieldRefInput<$PrismaModel>; 22 + gte?: string | Prisma.StringFieldRefInput<$PrismaModel>; 23 + contains?: string | Prisma.StringFieldRefInput<$PrismaModel>; 24 + startsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>; 25 + endsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>; 26 + mode?: Prisma.QueryMode; 27 + not?: Prisma.NestedStringFilter<$PrismaModel> | string; 28 + }; 30 29 31 30 export type StringNullableFilter<$PrismaModel = never> = { 32 - equals?: string | Prisma.StringFieldRefInput<$PrismaModel> | null 33 - in?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel> | null 34 - notIn?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel> | null 35 - lt?: string | Prisma.StringFieldRefInput<$PrismaModel> 36 - lte?: string | Prisma.StringFieldRefInput<$PrismaModel> 37 - gt?: string | Prisma.StringFieldRefInput<$PrismaModel> 38 - gte?: string | Prisma.StringFieldRefInput<$PrismaModel> 39 - contains?: string | Prisma.StringFieldRefInput<$PrismaModel> 40 - startsWith?: string | Prisma.StringFieldRefInput<$PrismaModel> 41 - endsWith?: string | Prisma.StringFieldRefInput<$PrismaModel> 42 - mode?: Prisma.QueryMode 43 - not?: Prisma.NestedStringNullableFilter<$PrismaModel> | string | null 44 - } 31 + equals?: string | Prisma.StringFieldRefInput<$PrismaModel> | null; 32 + in?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel> | null; 33 + notIn?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel> | null; 34 + lt?: string | Prisma.StringFieldRefInput<$PrismaModel>; 35 + lte?: string | Prisma.StringFieldRefInput<$PrismaModel>; 36 + gt?: string | Prisma.StringFieldRefInput<$PrismaModel>; 37 + gte?: string | Prisma.StringFieldRefInput<$PrismaModel>; 38 + contains?: string | Prisma.StringFieldRefInput<$PrismaModel>; 39 + startsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>; 40 + endsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>; 41 + mode?: Prisma.QueryMode; 42 + not?: Prisma.NestedStringNullableFilter<$PrismaModel> | string | null; 43 + }; 45 44 46 45 export type DateTimeFilter<$PrismaModel = never> = { 47 - equals?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> 48 - in?: Date[] | string[] | Prisma.ListDateTimeFieldRefInput<$PrismaModel> 49 - notIn?: Date[] | string[] | Prisma.ListDateTimeFieldRefInput<$PrismaModel> 50 - lt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> 51 - lte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> 52 - gt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> 53 - gte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> 54 - not?: Prisma.NestedDateTimeFilter<$PrismaModel> | Date | string 55 - } 46 + equals?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>; 47 + in?: Date[] | string[] | Prisma.ListDateTimeFieldRefInput<$PrismaModel>; 48 + notIn?: Date[] | string[] | Prisma.ListDateTimeFieldRefInput<$PrismaModel>; 49 + lt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>; 50 + lte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>; 51 + gt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>; 52 + gte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>; 53 + not?: Prisma.NestedDateTimeFilter<$PrismaModel> | Date | string; 54 + }; 56 55 57 56 export type SortOrderInput = { 58 - sort: Prisma.SortOrder 59 - nulls?: Prisma.NullsOrder 60 - } 57 + sort: Prisma.SortOrder; 58 + nulls?: Prisma.NullsOrder; 59 + }; 61 60 62 61 export type StringWithAggregatesFilter<$PrismaModel = never> = { 63 - equals?: string | Prisma.StringFieldRefInput<$PrismaModel> 64 - in?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel> 65 - notIn?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel> 66 - lt?: string | Prisma.StringFieldRefInput<$PrismaModel> 67 - lte?: string | Prisma.StringFieldRefInput<$PrismaModel> 68 - gt?: string | Prisma.StringFieldRefInput<$PrismaModel> 69 - gte?: string | Prisma.StringFieldRefInput<$PrismaModel> 70 - contains?: string | Prisma.StringFieldRefInput<$PrismaModel> 71 - startsWith?: string | Prisma.StringFieldRefInput<$PrismaModel> 72 - endsWith?: string | Prisma.StringFieldRefInput<$PrismaModel> 73 - mode?: Prisma.QueryMode 74 - not?: Prisma.NestedStringWithAggregatesFilter<$PrismaModel> | string 75 - _count?: Prisma.NestedIntFilter<$PrismaModel> 76 - _min?: Prisma.NestedStringFilter<$PrismaModel> 77 - _max?: Prisma.NestedStringFilter<$PrismaModel> 78 - } 62 + equals?: string | Prisma.StringFieldRefInput<$PrismaModel>; 63 + in?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel>; 64 + notIn?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel>; 65 + lt?: string | Prisma.StringFieldRefInput<$PrismaModel>; 66 + lte?: string | Prisma.StringFieldRefInput<$PrismaModel>; 67 + gt?: string | Prisma.StringFieldRefInput<$PrismaModel>; 68 + gte?: string | Prisma.StringFieldRefInput<$PrismaModel>; 69 + contains?: string | Prisma.StringFieldRefInput<$PrismaModel>; 70 + startsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>; 71 + endsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>; 72 + mode?: Prisma.QueryMode; 73 + not?: Prisma.NestedStringWithAggregatesFilter<$PrismaModel> | string; 74 + _count?: Prisma.NestedIntFilter<$PrismaModel>; 75 + _min?: Prisma.NestedStringFilter<$PrismaModel>; 76 + _max?: Prisma.NestedStringFilter<$PrismaModel>; 77 + }; 79 78 80 79 export type StringNullableWithAggregatesFilter<$PrismaModel = never> = { 81 - equals?: string | Prisma.StringFieldRefInput<$PrismaModel> | null 82 - in?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel> | null 83 - notIn?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel> | null 84 - lt?: string | Prisma.StringFieldRefInput<$PrismaModel> 85 - lte?: string | Prisma.StringFieldRefInput<$PrismaModel> 86 - gt?: string | Prisma.StringFieldRefInput<$PrismaModel> 87 - gte?: string | Prisma.StringFieldRefInput<$PrismaModel> 88 - contains?: string | Prisma.StringFieldRefInput<$PrismaModel> 89 - startsWith?: string | Prisma.StringFieldRefInput<$PrismaModel> 90 - endsWith?: string | Prisma.StringFieldRefInput<$PrismaModel> 91 - mode?: Prisma.QueryMode 92 - not?: Prisma.NestedStringNullableWithAggregatesFilter<$PrismaModel> | string | null 93 - _count?: Prisma.NestedIntNullableFilter<$PrismaModel> 94 - _min?: Prisma.NestedStringNullableFilter<$PrismaModel> 95 - _max?: Prisma.NestedStringNullableFilter<$PrismaModel> 96 - } 80 + equals?: string | Prisma.StringFieldRefInput<$PrismaModel> | null; 81 + in?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel> | null; 82 + notIn?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel> | null; 83 + lt?: string | Prisma.StringFieldRefInput<$PrismaModel>; 84 + lte?: string | Prisma.StringFieldRefInput<$PrismaModel>; 85 + gt?: string | Prisma.StringFieldRefInput<$PrismaModel>; 86 + gte?: string | Prisma.StringFieldRefInput<$PrismaModel>; 87 + contains?: string | Prisma.StringFieldRefInput<$PrismaModel>; 88 + startsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>; 89 + endsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>; 90 + mode?: Prisma.QueryMode; 91 + not?: 92 + | Prisma.NestedStringNullableWithAggregatesFilter<$PrismaModel> 93 + | string 94 + | null; 95 + _count?: Prisma.NestedIntNullableFilter<$PrismaModel>; 96 + _min?: Prisma.NestedStringNullableFilter<$PrismaModel>; 97 + _max?: Prisma.NestedStringNullableFilter<$PrismaModel>; 98 + }; 97 99 98 100 export type DateTimeWithAggregatesFilter<$PrismaModel = never> = { 99 - equals?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> 100 - in?: Date[] | string[] | Prisma.ListDateTimeFieldRefInput<$PrismaModel> 101 - notIn?: Date[] | string[] | Prisma.ListDateTimeFieldRefInput<$PrismaModel> 102 - lt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> 103 - lte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> 104 - gt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> 105 - gte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> 106 - not?: Prisma.NestedDateTimeWithAggregatesFilter<$PrismaModel> | Date | string 107 - _count?: Prisma.NestedIntFilter<$PrismaModel> 108 - _min?: Prisma.NestedDateTimeFilter<$PrismaModel> 109 - _max?: Prisma.NestedDateTimeFilter<$PrismaModel> 110 - } 101 + equals?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>; 102 + in?: Date[] | string[] | Prisma.ListDateTimeFieldRefInput<$PrismaModel>; 103 + notIn?: Date[] | string[] | Prisma.ListDateTimeFieldRefInput<$PrismaModel>; 104 + lt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>; 105 + lte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>; 106 + gt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>; 107 + gte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>; 108 + not?: Prisma.NestedDateTimeWithAggregatesFilter<$PrismaModel> | Date | string; 109 + _count?: Prisma.NestedIntFilter<$PrismaModel>; 110 + _min?: Prisma.NestedDateTimeFilter<$PrismaModel>; 111 + _max?: Prisma.NestedDateTimeFilter<$PrismaModel>; 112 + }; 111 113 112 114 export type IntNullableFilter<$PrismaModel = never> = { 113 - equals?: number | Prisma.IntFieldRefInput<$PrismaModel> | null 114 - in?: number[] | Prisma.ListIntFieldRefInput<$PrismaModel> | null 115 - notIn?: number[] | Prisma.ListIntFieldRefInput<$PrismaModel> | null 116 - lt?: number | Prisma.IntFieldRefInput<$PrismaModel> 117 - lte?: number | Prisma.IntFieldRefInput<$PrismaModel> 118 - gt?: number | Prisma.IntFieldRefInput<$PrismaModel> 119 - gte?: number | Prisma.IntFieldRefInput<$PrismaModel> 120 - not?: Prisma.NestedIntNullableFilter<$PrismaModel> | number | null 121 - } 115 + equals?: number | Prisma.IntFieldRefInput<$PrismaModel> | null; 116 + in?: number[] | Prisma.ListIntFieldRefInput<$PrismaModel> | null; 117 + notIn?: number[] | Prisma.ListIntFieldRefInput<$PrismaModel> | null; 118 + lt?: number | Prisma.IntFieldRefInput<$PrismaModel>; 119 + lte?: number | Prisma.IntFieldRefInput<$PrismaModel>; 120 + gt?: number | Prisma.IntFieldRefInput<$PrismaModel>; 121 + gte?: number | Prisma.IntFieldRefInput<$PrismaModel>; 122 + not?: Prisma.NestedIntNullableFilter<$PrismaModel> | number | null; 123 + }; 122 124 123 125 export type DateTimeNullableFilter<$PrismaModel = never> = { 124 - equals?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> | null 125 - in?: Date[] | string[] | Prisma.ListDateTimeFieldRefInput<$PrismaModel> | null 126 - notIn?: Date[] | string[] | Prisma.ListDateTimeFieldRefInput<$PrismaModel> | null 127 - lt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> 128 - lte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> 129 - gt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> 130 - gte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> 131 - not?: Prisma.NestedDateTimeNullableFilter<$PrismaModel> | Date | string | null 132 - } 126 + equals?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> | null; 127 + in?: 128 + | Date[] 129 + | string[] 130 + | Prisma.ListDateTimeFieldRefInput<$PrismaModel> 131 + | null; 132 + notIn?: 133 + | Date[] 134 + | string[] 135 + | Prisma.ListDateTimeFieldRefInput<$PrismaModel> 136 + | null; 137 + lt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>; 138 + lte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>; 139 + gt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>; 140 + gte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>; 141 + not?: 142 + | Prisma.NestedDateTimeNullableFilter<$PrismaModel> 143 + | Date 144 + | string 145 + | null; 146 + }; 133 147 134 148 export type IntNullableWithAggregatesFilter<$PrismaModel = never> = { 135 - equals?: number | Prisma.IntFieldRefInput<$PrismaModel> | null 136 - in?: number[] | Prisma.ListIntFieldRefInput<$PrismaModel> | null 137 - notIn?: number[] | Prisma.ListIntFieldRefInput<$PrismaModel> | null 138 - lt?: number | Prisma.IntFieldRefInput<$PrismaModel> 139 - lte?: number | Prisma.IntFieldRefInput<$PrismaModel> 140 - gt?: number | Prisma.IntFieldRefInput<$PrismaModel> 141 - gte?: number | Prisma.IntFieldRefInput<$PrismaModel> 142 - not?: Prisma.NestedIntNullableWithAggregatesFilter<$PrismaModel> | number | null 143 - _count?: Prisma.NestedIntNullableFilter<$PrismaModel> 144 - _avg?: Prisma.NestedFloatNullableFilter<$PrismaModel> 145 - _sum?: Prisma.NestedIntNullableFilter<$PrismaModel> 146 - _min?: Prisma.NestedIntNullableFilter<$PrismaModel> 147 - _max?: Prisma.NestedIntNullableFilter<$PrismaModel> 148 - } 149 + equals?: number | Prisma.IntFieldRefInput<$PrismaModel> | null; 150 + in?: number[] | Prisma.ListIntFieldRefInput<$PrismaModel> | null; 151 + notIn?: number[] | Prisma.ListIntFieldRefInput<$PrismaModel> | null; 152 + lt?: number | Prisma.IntFieldRefInput<$PrismaModel>; 153 + lte?: number | Prisma.IntFieldRefInput<$PrismaModel>; 154 + gt?: number | Prisma.IntFieldRefInput<$PrismaModel>; 155 + gte?: number | Prisma.IntFieldRefInput<$PrismaModel>; 156 + not?: 157 + | Prisma.NestedIntNullableWithAggregatesFilter<$PrismaModel> 158 + | number 159 + | null; 160 + _count?: Prisma.NestedIntNullableFilter<$PrismaModel>; 161 + _avg?: Prisma.NestedFloatNullableFilter<$PrismaModel>; 162 + _sum?: Prisma.NestedIntNullableFilter<$PrismaModel>; 163 + _min?: Prisma.NestedIntNullableFilter<$PrismaModel>; 164 + _max?: Prisma.NestedIntNullableFilter<$PrismaModel>; 165 + }; 149 166 150 167 export type DateTimeNullableWithAggregatesFilter<$PrismaModel = never> = { 151 - equals?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> | null 152 - in?: Date[] | string[] | Prisma.ListDateTimeFieldRefInput<$PrismaModel> | null 153 - notIn?: Date[] | string[] | Prisma.ListDateTimeFieldRefInput<$PrismaModel> | null 154 - lt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> 155 - lte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> 156 - gt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> 157 - gte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> 158 - not?: Prisma.NestedDateTimeNullableWithAggregatesFilter<$PrismaModel> | Date | string | null 159 - _count?: Prisma.NestedIntNullableFilter<$PrismaModel> 160 - _min?: Prisma.NestedDateTimeNullableFilter<$PrismaModel> 161 - _max?: Prisma.NestedDateTimeNullableFilter<$PrismaModel> 162 - } 168 + equals?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> | null; 169 + in?: 170 + | Date[] 171 + | string[] 172 + | Prisma.ListDateTimeFieldRefInput<$PrismaModel> 173 + | null; 174 + notIn?: 175 + | Date[] 176 + | string[] 177 + | Prisma.ListDateTimeFieldRefInput<$PrismaModel> 178 + | null; 179 + lt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>; 180 + lte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>; 181 + gt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>; 182 + gte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>; 183 + not?: 184 + | Prisma.NestedDateTimeNullableWithAggregatesFilter<$PrismaModel> 185 + | Date 186 + | string 187 + | null; 188 + _count?: Prisma.NestedIntNullableFilter<$PrismaModel>; 189 + _min?: Prisma.NestedDateTimeNullableFilter<$PrismaModel>; 190 + _max?: Prisma.NestedDateTimeNullableFilter<$PrismaModel>; 191 + }; 163 192 164 193 export type NestedStringFilter<$PrismaModel = never> = { 165 - equals?: string | Prisma.StringFieldRefInput<$PrismaModel> 166 - in?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel> 167 - notIn?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel> 168 - lt?: string | Prisma.StringFieldRefInput<$PrismaModel> 169 - lte?: string | Prisma.StringFieldRefInput<$PrismaModel> 170 - gt?: string | Prisma.StringFieldRefInput<$PrismaModel> 171 - gte?: string | Prisma.StringFieldRefInput<$PrismaModel> 172 - contains?: string | Prisma.StringFieldRefInput<$PrismaModel> 173 - startsWith?: string | Prisma.StringFieldRefInput<$PrismaModel> 174 - endsWith?: string | Prisma.StringFieldRefInput<$PrismaModel> 175 - not?: Prisma.NestedStringFilter<$PrismaModel> | string 176 - } 194 + equals?: string | Prisma.StringFieldRefInput<$PrismaModel>; 195 + in?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel>; 196 + notIn?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel>; 197 + lt?: string | Prisma.StringFieldRefInput<$PrismaModel>; 198 + lte?: string | Prisma.StringFieldRefInput<$PrismaModel>; 199 + gt?: string | Prisma.StringFieldRefInput<$PrismaModel>; 200 + gte?: string | Prisma.StringFieldRefInput<$PrismaModel>; 201 + contains?: string | Prisma.StringFieldRefInput<$PrismaModel>; 202 + startsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>; 203 + endsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>; 204 + not?: Prisma.NestedStringFilter<$PrismaModel> | string; 205 + }; 177 206 178 207 export type NestedStringNullableFilter<$PrismaModel = never> = { 179 - equals?: string | Prisma.StringFieldRefInput<$PrismaModel> | null 180 - in?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel> | null 181 - notIn?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel> | null 182 - lt?: string | Prisma.StringFieldRefInput<$PrismaModel> 183 - lte?: string | Prisma.StringFieldRefInput<$PrismaModel> 184 - gt?: string | Prisma.StringFieldRefInput<$PrismaModel> 185 - gte?: string | Prisma.StringFieldRefInput<$PrismaModel> 186 - contains?: string | Prisma.StringFieldRefInput<$PrismaModel> 187 - startsWith?: string | Prisma.StringFieldRefInput<$PrismaModel> 188 - endsWith?: string | Prisma.StringFieldRefInput<$PrismaModel> 189 - not?: Prisma.NestedStringNullableFilter<$PrismaModel> | string | null 190 - } 208 + equals?: string | Prisma.StringFieldRefInput<$PrismaModel> | null; 209 + in?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel> | null; 210 + notIn?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel> | null; 211 + lt?: string | Prisma.StringFieldRefInput<$PrismaModel>; 212 + lte?: string | Prisma.StringFieldRefInput<$PrismaModel>; 213 + gt?: string | Prisma.StringFieldRefInput<$PrismaModel>; 214 + gte?: string | Prisma.StringFieldRefInput<$PrismaModel>; 215 + contains?: string | Prisma.StringFieldRefInput<$PrismaModel>; 216 + startsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>; 217 + endsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>; 218 + not?: Prisma.NestedStringNullableFilter<$PrismaModel> | string | null; 219 + }; 191 220 192 221 export type NestedDateTimeFilter<$PrismaModel = never> = { 193 - equals?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> 194 - in?: Date[] | string[] | Prisma.ListDateTimeFieldRefInput<$PrismaModel> 195 - notIn?: Date[] | string[] | Prisma.ListDateTimeFieldRefInput<$PrismaModel> 196 - lt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> 197 - lte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> 198 - gt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> 199 - gte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> 200 - not?: Prisma.NestedDateTimeFilter<$PrismaModel> | Date | string 201 - } 222 + equals?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>; 223 + in?: Date[] | string[] | Prisma.ListDateTimeFieldRefInput<$PrismaModel>; 224 + notIn?: Date[] | string[] | Prisma.ListDateTimeFieldRefInput<$PrismaModel>; 225 + lt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>; 226 + lte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>; 227 + gt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>; 228 + gte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>; 229 + not?: Prisma.NestedDateTimeFilter<$PrismaModel> | Date | string; 230 + }; 202 231 203 232 export type NestedStringWithAggregatesFilter<$PrismaModel = never> = { 204 - equals?: string | Prisma.StringFieldRefInput<$PrismaModel> 205 - in?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel> 206 - notIn?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel> 207 - lt?: string | Prisma.StringFieldRefInput<$PrismaModel> 208 - lte?: string | Prisma.StringFieldRefInput<$PrismaModel> 209 - gt?: string | Prisma.StringFieldRefInput<$PrismaModel> 210 - gte?: string | Prisma.StringFieldRefInput<$PrismaModel> 211 - contains?: string | Prisma.StringFieldRefInput<$PrismaModel> 212 - startsWith?: string | Prisma.StringFieldRefInput<$PrismaModel> 213 - endsWith?: string | Prisma.StringFieldRefInput<$PrismaModel> 214 - not?: Prisma.NestedStringWithAggregatesFilter<$PrismaModel> | string 215 - _count?: Prisma.NestedIntFilter<$PrismaModel> 216 - _min?: Prisma.NestedStringFilter<$PrismaModel> 217 - _max?: Prisma.NestedStringFilter<$PrismaModel> 218 - } 233 + equals?: string | Prisma.StringFieldRefInput<$PrismaModel>; 234 + in?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel>; 235 + notIn?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel>; 236 + lt?: string | Prisma.StringFieldRefInput<$PrismaModel>; 237 + lte?: string | Prisma.StringFieldRefInput<$PrismaModel>; 238 + gt?: string | Prisma.StringFieldRefInput<$PrismaModel>; 239 + gte?: string | Prisma.StringFieldRefInput<$PrismaModel>; 240 + contains?: string | Prisma.StringFieldRefInput<$PrismaModel>; 241 + startsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>; 242 + endsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>; 243 + not?: Prisma.NestedStringWithAggregatesFilter<$PrismaModel> | string; 244 + _count?: Prisma.NestedIntFilter<$PrismaModel>; 245 + _min?: Prisma.NestedStringFilter<$PrismaModel>; 246 + _max?: Prisma.NestedStringFilter<$PrismaModel>; 247 + }; 219 248 220 249 export type NestedIntFilter<$PrismaModel = never> = { 221 - equals?: number | Prisma.IntFieldRefInput<$PrismaModel> 222 - in?: number[] | Prisma.ListIntFieldRefInput<$PrismaModel> 223 - notIn?: number[] | Prisma.ListIntFieldRefInput<$PrismaModel> 224 - lt?: number | Prisma.IntFieldRefInput<$PrismaModel> 225 - lte?: number | Prisma.IntFieldRefInput<$PrismaModel> 226 - gt?: number | Prisma.IntFieldRefInput<$PrismaModel> 227 - gte?: number | Prisma.IntFieldRefInput<$PrismaModel> 228 - not?: Prisma.NestedIntFilter<$PrismaModel> | number 229 - } 250 + equals?: number | Prisma.IntFieldRefInput<$PrismaModel>; 251 + in?: number[] | Prisma.ListIntFieldRefInput<$PrismaModel>; 252 + notIn?: number[] | Prisma.ListIntFieldRefInput<$PrismaModel>; 253 + lt?: number | Prisma.IntFieldRefInput<$PrismaModel>; 254 + lte?: number | Prisma.IntFieldRefInput<$PrismaModel>; 255 + gt?: number | Prisma.IntFieldRefInput<$PrismaModel>; 256 + gte?: number | Prisma.IntFieldRefInput<$PrismaModel>; 257 + not?: Prisma.NestedIntFilter<$PrismaModel> | number; 258 + }; 230 259 231 260 export type NestedStringNullableWithAggregatesFilter<$PrismaModel = never> = { 232 - equals?: string | Prisma.StringFieldRefInput<$PrismaModel> | null 233 - in?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel> | null 234 - notIn?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel> | null 235 - lt?: string | Prisma.StringFieldRefInput<$PrismaModel> 236 - lte?: string | Prisma.StringFieldRefInput<$PrismaModel> 237 - gt?: string | Prisma.StringFieldRefInput<$PrismaModel> 238 - gte?: string | Prisma.StringFieldRefInput<$PrismaModel> 239 - contains?: string | Prisma.StringFieldRefInput<$PrismaModel> 240 - startsWith?: string | Prisma.StringFieldRefInput<$PrismaModel> 241 - endsWith?: string | Prisma.StringFieldRefInput<$PrismaModel> 242 - not?: Prisma.NestedStringNullableWithAggregatesFilter<$PrismaModel> | string | null 243 - _count?: Prisma.NestedIntNullableFilter<$PrismaModel> 244 - _min?: Prisma.NestedStringNullableFilter<$PrismaModel> 245 - _max?: Prisma.NestedStringNullableFilter<$PrismaModel> 246 - } 261 + equals?: string | Prisma.StringFieldRefInput<$PrismaModel> | null; 262 + in?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel> | null; 263 + notIn?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel> | null; 264 + lt?: string | Prisma.StringFieldRefInput<$PrismaModel>; 265 + lte?: string | Prisma.StringFieldRefInput<$PrismaModel>; 266 + gt?: string | Prisma.StringFieldRefInput<$PrismaModel>; 267 + gte?: string | Prisma.StringFieldRefInput<$PrismaModel>; 268 + contains?: string | Prisma.StringFieldRefInput<$PrismaModel>; 269 + startsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>; 270 + endsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>; 271 + not?: 272 + | Prisma.NestedStringNullableWithAggregatesFilter<$PrismaModel> 273 + | string 274 + | null; 275 + _count?: Prisma.NestedIntNullableFilter<$PrismaModel>; 276 + _min?: Prisma.NestedStringNullableFilter<$PrismaModel>; 277 + _max?: Prisma.NestedStringNullableFilter<$PrismaModel>; 278 + }; 247 279 248 280 export type NestedIntNullableFilter<$PrismaModel = never> = { 249 - equals?: number | Prisma.IntFieldRefInput<$PrismaModel> | null 250 - in?: number[] | Prisma.ListIntFieldRefInput<$PrismaModel> | null 251 - notIn?: number[] | Prisma.ListIntFieldRefInput<$PrismaModel> | null 252 - lt?: number | Prisma.IntFieldRefInput<$PrismaModel> 253 - lte?: number | Prisma.IntFieldRefInput<$PrismaModel> 254 - gt?: number | Prisma.IntFieldRefInput<$PrismaModel> 255 - gte?: number | Prisma.IntFieldRefInput<$PrismaModel> 256 - not?: Prisma.NestedIntNullableFilter<$PrismaModel> | number | null 257 - } 281 + equals?: number | Prisma.IntFieldRefInput<$PrismaModel> | null; 282 + in?: number[] | Prisma.ListIntFieldRefInput<$PrismaModel> | null; 283 + notIn?: number[] | Prisma.ListIntFieldRefInput<$PrismaModel> | null; 284 + lt?: number | Prisma.IntFieldRefInput<$PrismaModel>; 285 + lte?: number | Prisma.IntFieldRefInput<$PrismaModel>; 286 + gt?: number | Prisma.IntFieldRefInput<$PrismaModel>; 287 + gte?: number | Prisma.IntFieldRefInput<$PrismaModel>; 288 + not?: Prisma.NestedIntNullableFilter<$PrismaModel> | number | null; 289 + }; 258 290 259 291 export type NestedDateTimeWithAggregatesFilter<$PrismaModel = never> = { 260 - equals?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> 261 - in?: Date[] | string[] | Prisma.ListDateTimeFieldRefInput<$PrismaModel> 262 - notIn?: Date[] | string[] | Prisma.ListDateTimeFieldRefInput<$PrismaModel> 263 - lt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> 264 - lte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> 265 - gt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> 266 - gte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> 267 - not?: Prisma.NestedDateTimeWithAggregatesFilter<$PrismaModel> | Date | string 268 - _count?: Prisma.NestedIntFilter<$PrismaModel> 269 - _min?: Prisma.NestedDateTimeFilter<$PrismaModel> 270 - _max?: Prisma.NestedDateTimeFilter<$PrismaModel> 271 - } 292 + equals?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>; 293 + in?: Date[] | string[] | Prisma.ListDateTimeFieldRefInput<$PrismaModel>; 294 + notIn?: Date[] | string[] | Prisma.ListDateTimeFieldRefInput<$PrismaModel>; 295 + lt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>; 296 + lte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>; 297 + gt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>; 298 + gte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>; 299 + not?: Prisma.NestedDateTimeWithAggregatesFilter<$PrismaModel> | Date | string; 300 + _count?: Prisma.NestedIntFilter<$PrismaModel>; 301 + _min?: Prisma.NestedDateTimeFilter<$PrismaModel>; 302 + _max?: Prisma.NestedDateTimeFilter<$PrismaModel>; 303 + }; 272 304 273 305 export type NestedDateTimeNullableFilter<$PrismaModel = never> = { 274 - equals?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> | null 275 - in?: Date[] | string[] | Prisma.ListDateTimeFieldRefInput<$PrismaModel> | null 276 - notIn?: Date[] | string[] | Prisma.ListDateTimeFieldRefInput<$PrismaModel> | null 277 - lt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> 278 - lte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> 279 - gt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> 280 - gte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> 281 - not?: Prisma.NestedDateTimeNullableFilter<$PrismaModel> | Date | string | null 282 - } 306 + equals?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> | null; 307 + in?: 308 + | Date[] 309 + | string[] 310 + | Prisma.ListDateTimeFieldRefInput<$PrismaModel> 311 + | null; 312 + notIn?: 313 + | Date[] 314 + | string[] 315 + | Prisma.ListDateTimeFieldRefInput<$PrismaModel> 316 + | null; 317 + lt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>; 318 + lte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>; 319 + gt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>; 320 + gte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>; 321 + not?: 322 + | Prisma.NestedDateTimeNullableFilter<$PrismaModel> 323 + | Date 324 + | string 325 + | null; 326 + }; 283 327 284 328 export type NestedIntNullableWithAggregatesFilter<$PrismaModel = never> = { 285 - equals?: number | Prisma.IntFieldRefInput<$PrismaModel> | null 286 - in?: number[] | Prisma.ListIntFieldRefInput<$PrismaModel> | null 287 - notIn?: number[] | Prisma.ListIntFieldRefInput<$PrismaModel> | null 288 - lt?: number | Prisma.IntFieldRefInput<$PrismaModel> 289 - lte?: number | Prisma.IntFieldRefInput<$PrismaModel> 290 - gt?: number | Prisma.IntFieldRefInput<$PrismaModel> 291 - gte?: number | Prisma.IntFieldRefInput<$PrismaModel> 292 - not?: Prisma.NestedIntNullableWithAggregatesFilter<$PrismaModel> | number | null 293 - _count?: Prisma.NestedIntNullableFilter<$PrismaModel> 294 - _avg?: Prisma.NestedFloatNullableFilter<$PrismaModel> 295 - _sum?: Prisma.NestedIntNullableFilter<$PrismaModel> 296 - _min?: Prisma.NestedIntNullableFilter<$PrismaModel> 297 - _max?: Prisma.NestedIntNullableFilter<$PrismaModel> 298 - } 329 + equals?: number | Prisma.IntFieldRefInput<$PrismaModel> | null; 330 + in?: number[] | Prisma.ListIntFieldRefInput<$PrismaModel> | null; 331 + notIn?: number[] | Prisma.ListIntFieldRefInput<$PrismaModel> | null; 332 + lt?: number | Prisma.IntFieldRefInput<$PrismaModel>; 333 + lte?: number | Prisma.IntFieldRefInput<$PrismaModel>; 334 + gt?: number | Prisma.IntFieldRefInput<$PrismaModel>; 335 + gte?: number | Prisma.IntFieldRefInput<$PrismaModel>; 336 + not?: 337 + | Prisma.NestedIntNullableWithAggregatesFilter<$PrismaModel> 338 + | number 339 + | null; 340 + _count?: Prisma.NestedIntNullableFilter<$PrismaModel>; 341 + _avg?: Prisma.NestedFloatNullableFilter<$PrismaModel>; 342 + _sum?: Prisma.NestedIntNullableFilter<$PrismaModel>; 343 + _min?: Prisma.NestedIntNullableFilter<$PrismaModel>; 344 + _max?: Prisma.NestedIntNullableFilter<$PrismaModel>; 345 + }; 299 346 300 347 export type NestedFloatNullableFilter<$PrismaModel = never> = { 301 - equals?: number | Prisma.FloatFieldRefInput<$PrismaModel> | null 302 - in?: number[] | Prisma.ListFloatFieldRefInput<$PrismaModel> | null 303 - notIn?: number[] | Prisma.ListFloatFieldRefInput<$PrismaModel> | null 304 - lt?: number | Prisma.FloatFieldRefInput<$PrismaModel> 305 - lte?: number | Prisma.FloatFieldRefInput<$PrismaModel> 306 - gt?: number | Prisma.FloatFieldRefInput<$PrismaModel> 307 - gte?: number | Prisma.FloatFieldRefInput<$PrismaModel> 308 - not?: Prisma.NestedFloatNullableFilter<$PrismaModel> | number | null 309 - } 348 + equals?: number | Prisma.FloatFieldRefInput<$PrismaModel> | null; 349 + in?: number[] | Prisma.ListFloatFieldRefInput<$PrismaModel> | null; 350 + notIn?: number[] | Prisma.ListFloatFieldRefInput<$PrismaModel> | null; 351 + lt?: number | Prisma.FloatFieldRefInput<$PrismaModel>; 352 + lte?: number | Prisma.FloatFieldRefInput<$PrismaModel>; 353 + gt?: number | Prisma.FloatFieldRefInput<$PrismaModel>; 354 + gte?: number | Prisma.FloatFieldRefInput<$PrismaModel>; 355 + not?: Prisma.NestedFloatNullableFilter<$PrismaModel> | number | null; 356 + }; 310 357 311 358 export type NestedDateTimeNullableWithAggregatesFilter<$PrismaModel = never> = { 312 - equals?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> | null 313 - in?: Date[] | string[] | Prisma.ListDateTimeFieldRefInput<$PrismaModel> | null 314 - notIn?: Date[] | string[] | Prisma.ListDateTimeFieldRefInput<$PrismaModel> | null 315 - lt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> 316 - lte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> 317 - gt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> 318 - gte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> 319 - not?: Prisma.NestedDateTimeNullableWithAggregatesFilter<$PrismaModel> | Date | string | null 320 - _count?: Prisma.NestedIntNullableFilter<$PrismaModel> 321 - _min?: Prisma.NestedDateTimeNullableFilter<$PrismaModel> 322 - _max?: Prisma.NestedDateTimeNullableFilter<$PrismaModel> 323 - } 324 - 325 - 359 + equals?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> | null; 360 + in?: 361 + | Date[] 362 + | string[] 363 + | Prisma.ListDateTimeFieldRefInput<$PrismaModel> 364 + | null; 365 + notIn?: 366 + | Date[] 367 + | string[] 368 + | Prisma.ListDateTimeFieldRefInput<$PrismaModel> 369 + | null; 370 + lt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>; 371 + lte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>; 372 + gt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>; 373 + gte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>; 374 + not?: 375 + | Prisma.NestedDateTimeNullableWithAggregatesFilter<$PrismaModel> 376 + | Date 377 + | string 378 + | null; 379 + _count?: Prisma.NestedIntNullableFilter<$PrismaModel>; 380 + _min?: Prisma.NestedDateTimeNullableFilter<$PrismaModel>; 381 + _max?: Prisma.NestedDateTimeNullableFilter<$PrismaModel>; 382 + };
+6 -8
backend/src/generated/enums.ts
··· 1 1 /* !!! This is code generated by Prisma. Do not edit directly. !!! */ 2 2 /* eslint-disable */ 3 3 // biome-ignore-all lint: generated file 4 - // @ts-nocheck 4 + // @ts-nocheck 5 5 /* 6 - * This file exports all enum related types from the schema. 7 - * 8 - * 🟢 You can import this file directly. 9 - */ 10 - 11 - 6 + * This file exports all enum related types from the schema. 7 + * 8 + * 🟢 You can import this file directly. 9 + */ 12 10 13 11 // This file is empty because there are no enums in the schema. 14 - export {} 12 + export {};
+135 -83
backend/src/generated/internal/class.ts
··· 1 1 /* !!! This is code generated by Prisma. Do not edit directly. !!! */ 2 2 /* eslint-disable */ 3 3 // biome-ignore-all lint: generated file 4 - // @ts-nocheck 4 + // @ts-nocheck 5 5 /* 6 6 * WARNING: This is an internal file that is subject to change! 7 7 * ··· 10 10 * Please import the `PrismaClient` class from the `client.ts` file instead. 11 11 */ 12 12 13 - import * as runtime from "@prisma/client/runtime/client" 14 - import type * as Prisma from "./prismaNamespace.js" 15 - 13 + import * as runtime from '@prisma/client/runtime/client'; 14 + import type * as Prisma from './prismaNamespace.js'; 16 15 17 16 const config: runtime.GetPrismaClientConfig = { 18 - "previewFeatures": [], 19 - "clientVersion": "7.3.0", 20 - "engineVersion": "9d6ad21cbbceab97458517b147a6a09ff43aa735", 21 - "activeProvider": "postgresql", 22 - "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", 23 - "runtimeDataModel": { 24 - "models": {}, 25 - "enums": {}, 26 - "types": {} 27 - } 28 - } 17 + previewFeatures: [], 18 + clientVersion: '7.3.0', 19 + engineVersion: '9d6ad21cbbceab97458517b147a6a09ff43aa735', 20 + activeProvider: 'postgresql', 21 + inlineSchema: 22 + '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', 23 + runtimeDataModel: { 24 + models: {}, 25 + enums: {}, 26 + types: {}, 27 + }, 28 + }; 29 29 30 - 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\":{}}") 30 + config.runtimeDataModel = JSON.parse( 31 + '{"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":{}}', 32 + ); 31 33 32 - async function decodeBase64AsWasm(wasmBase64: string): Promise<WebAssembly.Module> { 33 - const { Buffer } = await import('node:buffer') 34 - const wasmArray = Buffer.from(wasmBase64, 'base64') 35 - return new WebAssembly.Module(wasmArray) 34 + async function decodeBase64AsWasm( 35 + wasmBase64: string, 36 + ): Promise<WebAssembly.Module> { 37 + const { Buffer } = await import('node:buffer'); 38 + const wasmArray = Buffer.from(wasmBase64, 'base64'); 39 + return new WebAssembly.Module(wasmArray); 36 40 } 37 41 38 42 config.compilerWasm = { 39 - getRuntime: async () => await import("@prisma/client/runtime/query_compiler_fast_bg.postgresql.js"), 43 + getRuntime: async () => 44 + await import('@prisma/client/runtime/query_compiler_fast_bg.postgresql.js'), 40 45 41 46 getQueryCompilerWasmModule: async () => { 42 - const { wasm } = await import("@prisma/client/runtime/query_compiler_fast_bg.postgresql.wasm-base64.js") 43 - return await decodeBase64AsWasm(wasm) 47 + const { wasm } = 48 + await import('@prisma/client/runtime/query_compiler_fast_bg.postgresql.wasm-base64.js'); 49 + return await decodeBase64AsWasm(wasm); 44 50 }, 45 51 46 - importName: "./query_compiler_fast_bg.js" 47 - } 48 - 49 - 52 + importName: './query_compiler_fast_bg.js', 53 + }; 50 54 51 55 export type LogOptions<ClientOptions extends Prisma.PrismaClientOptions> = 52 - 'log' extends keyof ClientOptions ? ClientOptions['log'] extends Array<Prisma.LogLevel | Prisma.LogDefinition> ? Prisma.GetEvents<ClientOptions['log']> : never : never 56 + 'log' extends keyof ClientOptions 57 + ? ClientOptions['log'] extends Array<Prisma.LogLevel | Prisma.LogDefinition> 58 + ? Prisma.GetEvents<ClientOptions['log']> 59 + : never 60 + : never; 53 61 54 62 export interface PrismaClientConstructor { 55 - /** 63 + /** 56 64 * ## Prisma Client 57 - * 65 + * 58 66 * Type-safe database client for TypeScript 59 67 * @example 60 68 * ``` ··· 62 70 * // Fetch zero or more Users 63 71 * const users = await prisma.user.findMany() 64 72 * ``` 65 - * 73 + * 66 74 * Read more in our [docs](https://pris.ly/d/client). 67 75 */ 68 76 69 77 new < 70 78 Options extends Prisma.PrismaClientOptions = Prisma.PrismaClientOptions, 71 79 LogOpts extends LogOptions<Options> = LogOptions<Options>, 72 - OmitOpts extends Prisma.PrismaClientOptions['omit'] = Options extends { omit: infer U } ? U : Prisma.PrismaClientOptions['omit'], 73 - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs 74 - >(options: Prisma.Subset<Options, Prisma.PrismaClientOptions> ): PrismaClient<LogOpts, OmitOpts, ExtArgs> 80 + OmitOpts extends Prisma.PrismaClientOptions['omit'] = Options extends { 81 + omit: infer U; 82 + } 83 + ? U 84 + : Prisma.PrismaClientOptions['omit'], 85 + ExtArgs extends runtime.Types.Extensions.InternalArgs = 86 + runtime.Types.Extensions.DefaultArgs, 87 + >( 88 + options: Prisma.Subset<Options, Prisma.PrismaClientOptions>, 89 + ): PrismaClient<LogOpts, OmitOpts, ExtArgs>; 75 90 } 76 91 77 92 /** 78 93 * ## Prisma Client 79 - * 94 + * 80 95 * Type-safe database client for TypeScript 81 96 * @example 82 97 * ``` ··· 84 99 * // Fetch zero or more Users 85 100 * const users = await prisma.user.findMany() 86 101 * ``` 87 - * 102 + * 88 103 * Read more in our [docs](https://pris.ly/d/client). 89 104 */ 90 105 91 106 export interface PrismaClient< 92 107 in LogOpts extends Prisma.LogLevel = never, 93 108 in out OmitOpts extends Prisma.PrismaClientOptions['omit'] = undefined, 94 - in out ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs 109 + in out ExtArgs extends runtime.Types.Extensions.InternalArgs = 110 + runtime.Types.Extensions.DefaultArgs, 95 111 > { 96 - [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['other'] } 112 + [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['other'] }; 97 113 98 - $on<V extends LogOpts>(eventType: V, callback: (event: V extends 'query' ? Prisma.QueryEvent : Prisma.LogEvent) => void): PrismaClient; 114 + $on<V extends LogOpts>( 115 + eventType: V, 116 + callback: ( 117 + event: V extends 'query' ? Prisma.QueryEvent : Prisma.LogEvent, 118 + ) => void, 119 + ): PrismaClient; 99 120 100 121 /** 101 122 * Connect with the database ··· 107 128 */ 108 129 $disconnect(): runtime.Types.Utils.JsPromise<void>; 109 130 110 - /** 131 + /** 111 132 * Executes a prepared raw query and returns the number of affected rows. 112 133 * @example 113 134 * ``` ··· 116 137 * 117 138 * Read more in our [docs](https://pris.ly/d/raw-queries). 118 139 */ 119 - $executeRaw<T = unknown>(query: TemplateStringsArray | Prisma.Sql, ...values: any[]): Prisma.PrismaPromise<number>; 140 + $executeRaw<T = unknown>( 141 + query: TemplateStringsArray | Prisma.Sql, 142 + ...values: any[] 143 + ): Prisma.PrismaPromise<number>; 120 144 121 145 /** 122 146 * Executes a raw query and returns the number of affected rows. ··· 128 152 * 129 153 * Read more in our [docs](https://pris.ly/d/raw-queries). 130 154 */ 131 - $executeRawUnsafe<T = unknown>(query: string, ...values: any[]): Prisma.PrismaPromise<number>; 155 + $executeRawUnsafe<T = unknown>( 156 + query: string, 157 + ...values: any[] 158 + ): Prisma.PrismaPromise<number>; 132 159 133 160 /** 134 161 * Performs a prepared raw query and returns the `SELECT` data. ··· 139 166 * 140 167 * Read more in our [docs](https://pris.ly/d/raw-queries). 141 168 */ 142 - $queryRaw<T = unknown>(query: TemplateStringsArray | Prisma.Sql, ...values: any[]): Prisma.PrismaPromise<T>; 169 + $queryRaw<T = unknown>( 170 + query: TemplateStringsArray | Prisma.Sql, 171 + ...values: any[] 172 + ): Prisma.PrismaPromise<T>; 143 173 144 174 /** 145 175 * Performs a raw query and returns the `SELECT` data. ··· 151 181 * 152 182 * Read more in our [docs](https://pris.ly/d/raw-queries). 153 183 */ 154 - $queryRawUnsafe<T = unknown>(query: string, ...values: any[]): Prisma.PrismaPromise<T>; 155 - 184 + $queryRawUnsafe<T = unknown>( 185 + query: string, 186 + ...values: any[] 187 + ): Prisma.PrismaPromise<T>; 156 188 157 189 /** 158 190 * Allows the running of a sequence of read/write operations that are guaranteed to either succeed or fail as a whole. ··· 164 196 * prisma.user.create({ data: { name: 'Alice' } }), 165 197 * ]) 166 198 * ``` 167 - * 199 + * 168 200 * Read more in our [docs](https://www.prisma.io/docs/concepts/components/prisma-client/transactions). 169 201 */ 170 - $transaction<P extends Prisma.PrismaPromise<any>[]>(arg: [...P], options?: { isolationLevel?: Prisma.TransactionIsolationLevel }): runtime.Types.Utils.JsPromise<runtime.Types.Utils.UnwrapTuple<P>> 202 + $transaction<P extends Prisma.PrismaPromise<any>[]>( 203 + arg: [...P], 204 + options?: { isolationLevel?: Prisma.TransactionIsolationLevel }, 205 + ): runtime.Types.Utils.JsPromise<runtime.Types.Utils.UnwrapTuple<P>>; 171 206 172 - $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> 207 + $transaction<R>( 208 + fn: ( 209 + prisma: Omit<PrismaClient, runtime.ITXClientDenyList>, 210 + ) => runtime.Types.Utils.JsPromise<R>, 211 + options?: { 212 + maxWait?: number; 213 + timeout?: number; 214 + isolationLevel?: Prisma.TransactionIsolationLevel; 215 + }, 216 + ): runtime.Types.Utils.JsPromise<R>; 173 217 174 - $extends: runtime.Types.Extensions.ExtendsHook<"extends", Prisma.TypeMapCb<OmitOpts>, ExtArgs, runtime.Types.Utils.Call<Prisma.TypeMapCb<OmitOpts>, { 175 - extArgs: ExtArgs 176 - }>> 218 + $extends: runtime.Types.Extensions.ExtendsHook< 219 + 'extends', 220 + Prisma.TypeMapCb<OmitOpts>, 221 + ExtArgs, 222 + runtime.Types.Utils.Call< 223 + Prisma.TypeMapCb<OmitOpts>, 224 + { 225 + extArgs: ExtArgs; 226 + } 227 + > 228 + >; 177 229 178 - /** 230 + /** 179 231 * `prisma.user`: Exposes CRUD operations for the **User** model. 180 - * Example usage: 181 - * ```ts 182 - * // Fetch zero or more Users 183 - * const users = await prisma.user.findMany() 184 - * ``` 185 - */ 232 + * Example usage: 233 + * ```ts 234 + * // Fetch zero or more Users 235 + * const users = await prisma.user.findMany() 236 + * ``` 237 + */ 186 238 get user(): Prisma.UserDelegate<ExtArgs, { omit: OmitOpts }>; 187 239 188 240 /** 189 241 * `prisma.authSession`: Exposes CRUD operations for the **AuthSession** model. 190 - * Example usage: 191 - * ```ts 192 - * // Fetch zero or more AuthSessions 193 - * const authSessions = await prisma.authSession.findMany() 194 - * ``` 195 - */ 242 + * Example usage: 243 + * ```ts 244 + * // Fetch zero or more AuthSessions 245 + * const authSessions = await prisma.authSession.findMany() 246 + * ``` 247 + */ 196 248 get authSession(): Prisma.AuthSessionDelegate<ExtArgs, { omit: OmitOpts }>; 197 249 198 250 /** 199 251 * `prisma.authState`: Exposes CRUD operations for the **AuthState** model. 200 - * Example usage: 201 - * ```ts 202 - * // Fetch zero or more AuthStates 203 - * const authStates = await prisma.authState.findMany() 204 - * ``` 205 - */ 252 + * Example usage: 253 + * ```ts 254 + * // Fetch zero or more AuthStates 255 + * const authStates = await prisma.authState.findMany() 256 + * ``` 257 + */ 206 258 get authState(): Prisma.AuthStateDelegate<ExtArgs, { omit: OmitOpts }>; 207 259 208 260 /** 209 261 * `prisma.movie`: Exposes CRUD operations for the **Movie** model. 210 - * Example usage: 211 - * ```ts 212 - * // Fetch zero or more Movies 213 - * const movies = await prisma.movie.findMany() 214 - * ``` 215 - */ 262 + * Example usage: 263 + * ```ts 264 + * // Fetch zero or more Movies 265 + * const movies = await prisma.movie.findMany() 266 + * ``` 267 + */ 216 268 get movie(): Prisma.MovieDelegate<ExtArgs, { omit: OmitOpts }>; 217 269 218 270 /** 219 271 * `prisma.trackedMovie`: Exposes CRUD operations for the **TrackedMovie** model. 220 - * Example usage: 221 - * ```ts 222 - * // Fetch zero or more TrackedMovies 223 - * const trackedMovies = await prisma.trackedMovie.findMany() 224 - * ``` 225 - */ 272 + * Example usage: 273 + * ```ts 274 + * // Fetch zero or more TrackedMovies 275 + * const trackedMovies = await prisma.trackedMovie.findMany() 276 + * ``` 277 + */ 226 278 get trackedMovie(): Prisma.TrackedMovieDelegate<ExtArgs, { omit: OmitOpts }>; 227 279 } 228 280 229 281 export function getPrismaClientClass(): PrismaClientConstructor { 230 - return runtime.getPrismaClient(config) as unknown as PrismaClientConstructor 282 + return runtime.getPrismaClient(config) as unknown as PrismaClientConstructor; 231 283 }
+647 -590
backend/src/generated/internal/prismaNamespace.ts
··· 1 1 /* !!! This is code generated by Prisma. Do not edit directly. !!! */ 2 2 /* eslint-disable */ 3 3 // biome-ignore-all lint: generated file 4 - // @ts-nocheck 4 + // @ts-nocheck 5 5 /* 6 6 * WARNING: This is an internal file that is subject to change! 7 7 * ··· 14 14 * model files in the `model` directory! 15 15 */ 16 16 17 - import * as runtime from "@prisma/client/runtime/client" 18 - import type * as Prisma from "../models.js" 19 - import { type PrismaClient } from "./class.js" 17 + import * as runtime from '@prisma/client/runtime/client'; 18 + import type * as Prisma from '../models.js'; 19 + import { type PrismaClient } from './class.js'; 20 20 21 - export type * from '../models.js' 21 + export type * from '../models.js'; 22 22 23 - export type DMMF = typeof runtime.DMMF 23 + export type DMMF = typeof runtime.DMMF; 24 24 25 - export type PrismaPromise<T> = runtime.Types.Public.PrismaPromise<T> 25 + export type PrismaPromise<T> = runtime.Types.Public.PrismaPromise<T>; 26 26 27 27 /** 28 28 * Prisma Errors 29 29 */ 30 30 31 - export const PrismaClientKnownRequestError = runtime.PrismaClientKnownRequestError 32 - export type PrismaClientKnownRequestError = runtime.PrismaClientKnownRequestError 31 + export const PrismaClientKnownRequestError = 32 + runtime.PrismaClientKnownRequestError; 33 + export type PrismaClientKnownRequestError = 34 + runtime.PrismaClientKnownRequestError; 33 35 34 - export const PrismaClientUnknownRequestError = runtime.PrismaClientUnknownRequestError 35 - export type PrismaClientUnknownRequestError = runtime.PrismaClientUnknownRequestError 36 + export const PrismaClientUnknownRequestError = 37 + runtime.PrismaClientUnknownRequestError; 38 + export type PrismaClientUnknownRequestError = 39 + runtime.PrismaClientUnknownRequestError; 36 40 37 - export const PrismaClientRustPanicError = runtime.PrismaClientRustPanicError 38 - export type PrismaClientRustPanicError = runtime.PrismaClientRustPanicError 41 + export const PrismaClientRustPanicError = runtime.PrismaClientRustPanicError; 42 + export type PrismaClientRustPanicError = runtime.PrismaClientRustPanicError; 39 43 40 - export const PrismaClientInitializationError = runtime.PrismaClientInitializationError 41 - export type PrismaClientInitializationError = runtime.PrismaClientInitializationError 44 + export const PrismaClientInitializationError = 45 + runtime.PrismaClientInitializationError; 46 + export type PrismaClientInitializationError = 47 + runtime.PrismaClientInitializationError; 42 48 43 - export const PrismaClientValidationError = runtime.PrismaClientValidationError 44 - export type PrismaClientValidationError = runtime.PrismaClientValidationError 49 + export const PrismaClientValidationError = runtime.PrismaClientValidationError; 50 + export type PrismaClientValidationError = runtime.PrismaClientValidationError; 45 51 46 52 /** 47 53 * Re-export of sql-template-tag 48 54 */ 49 - export const sql = runtime.sqltag 50 - export const empty = runtime.empty 51 - export const join = runtime.join 52 - export const raw = runtime.raw 53 - export const Sql = runtime.Sql 54 - export type Sql = runtime.Sql 55 - 56 - 55 + export const sql = runtime.sqltag; 56 + export const empty = runtime.empty; 57 + export const join = runtime.join; 58 + export const raw = runtime.raw; 59 + export const Sql = runtime.Sql; 60 + export type Sql = runtime.Sql; 57 61 58 62 /** 59 63 * Decimal.js 60 64 */ 61 - export const Decimal = runtime.Decimal 62 - export type Decimal = runtime.Decimal 65 + export const Decimal = runtime.Decimal; 66 + export type Decimal = runtime.Decimal; 63 67 64 - export type DecimalJsLike = runtime.DecimalJsLike 68 + export type DecimalJsLike = runtime.DecimalJsLike; 65 69 66 70 /** 67 - * Extensions 68 - */ 69 - export type Extension = runtime.Types.Extensions.UserArgs 70 - export const getExtensionContext = runtime.Extensions.getExtensionContext 71 - export type Args<T, F extends runtime.Operation> = runtime.Types.Public.Args<T, F> 72 - export type Payload<T, F extends runtime.Operation = never> = runtime.Types.Public.Payload<T, F> 73 - export type Result<T, A, F extends runtime.Operation> = runtime.Types.Public.Result<T, A, F> 74 - export type Exact<A, W> = runtime.Types.Public.Exact<A, W> 71 + * Extensions 72 + */ 73 + export type Extension = runtime.Types.Extensions.UserArgs; 74 + export const getExtensionContext = runtime.Extensions.getExtensionContext; 75 + export type Args<T, F extends runtime.Operation> = runtime.Types.Public.Args< 76 + T, 77 + F 78 + >; 79 + export type Payload< 80 + T, 81 + F extends runtime.Operation = never, 82 + > = runtime.Types.Public.Payload<T, F>; 83 + export type Result< 84 + T, 85 + A, 86 + F extends runtime.Operation, 87 + > = runtime.Types.Public.Result<T, A, F>; 88 + export type Exact<A, W> = runtime.Types.Public.Exact<A, W>; 75 89 76 90 export type PrismaVersion = { 77 - client: string 78 - engine: string 79 - } 91 + client: string; 92 + engine: string; 93 + }; 80 94 81 95 /** 82 96 * Prisma Client JS version: 7.3.0 83 97 * Query Engine version: 9d6ad21cbbceab97458517b147a6a09ff43aa735 84 98 */ 85 99 export const prismaVersion: PrismaVersion = { 86 - client: "7.3.0", 87 - engine: "9d6ad21cbbceab97458517b147a6a09ff43aa735" 88 - } 100 + client: '7.3.0', 101 + engine: '9d6ad21cbbceab97458517b147a6a09ff43aa735', 102 + }; 89 103 90 104 /** 91 105 * Utility Types 92 106 */ 93 107 94 - export type Bytes = runtime.Bytes 95 - export type JsonObject = runtime.JsonObject 96 - export type JsonArray = runtime.JsonArray 97 - export type JsonValue = runtime.JsonValue 98 - export type InputJsonObject = runtime.InputJsonObject 99 - export type InputJsonArray = runtime.InputJsonArray 100 - export type InputJsonValue = runtime.InputJsonValue 101 - 108 + export type Bytes = runtime.Bytes; 109 + export type JsonObject = runtime.JsonObject; 110 + export type JsonArray = runtime.JsonArray; 111 + export type JsonValue = runtime.JsonValue; 112 + export type InputJsonObject = runtime.InputJsonObject; 113 + export type InputJsonArray = runtime.InputJsonArray; 114 + export type InputJsonValue = runtime.InputJsonValue; 102 115 103 116 export const NullTypes = { 104 - DbNull: runtime.NullTypes.DbNull as (new (secret: never) => typeof runtime.DbNull), 105 - JsonNull: runtime.NullTypes.JsonNull as (new (secret: never) => typeof runtime.JsonNull), 106 - AnyNull: runtime.NullTypes.AnyNull as (new (secret: never) => typeof runtime.AnyNull), 107 - } 117 + DbNull: runtime.NullTypes.DbNull as new ( 118 + secret: never, 119 + ) => typeof runtime.DbNull, 120 + JsonNull: runtime.NullTypes.JsonNull as new ( 121 + secret: never, 122 + ) => typeof runtime.JsonNull, 123 + AnyNull: runtime.NullTypes.AnyNull as new ( 124 + secret: never, 125 + ) => typeof runtime.AnyNull, 126 + }; 108 127 /** 109 128 * Helper for filtering JSON entries that have `null` on the database (empty on the db) 110 129 * 111 130 * @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field 112 131 */ 113 - export const DbNull = runtime.DbNull 132 + export const DbNull = runtime.DbNull; 114 133 115 134 /** 116 135 * Helper for filtering JSON entries that have JSON `null` values (not empty on the db) 117 136 * 118 137 * @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field 119 138 */ 120 - export const JsonNull = runtime.JsonNull 139 + export const JsonNull = runtime.JsonNull; 121 140 122 141 /** 123 142 * Helper for filtering JSON entries that are `Prisma.DbNull` or `Prisma.JsonNull` 124 143 * 125 144 * @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field 126 145 */ 127 - export const AnyNull = runtime.AnyNull 128 - 146 + export const AnyNull = runtime.AnyNull; 129 147 130 148 type SelectAndInclude = { 131 - select: any 132 - include: any 133 - } 149 + select: any; 150 + include: any; 151 + }; 134 152 135 153 type SelectAndOmit = { 136 - select: any 137 - omit: any 138 - } 154 + select: any; 155 + omit: any; 156 + }; 139 157 140 158 /** 141 159 * From T, pick a set of properties whose keys are in the union K 142 160 */ 143 161 type Prisma__Pick<T, K extends keyof T> = { 144 - [P in K]: T[P]; 162 + [P in K]: T[P]; 145 163 }; 146 164 147 165 export type Enumerable<T> = T | Array<T>; ··· 160 178 * Additionally, it validates, if both select and include are present. If the case, it errors. 161 179 */ 162 180 export type SelectSubset<T, U> = { 163 - [key in keyof T]: key extends keyof U ? T[key] : never 164 - } & 165 - (T extends SelectAndInclude 166 - ? 'Please either choose `select` or `include`.' 167 - : T extends SelectAndOmit 168 - ? 'Please either choose `select` or `omit`.' 169 - : {}) 181 + [key in keyof T]: key extends keyof U ? T[key] : never; 182 + } & (T extends SelectAndInclude 183 + ? 'Please either choose `select` or `include`.' 184 + : T extends SelectAndOmit 185 + ? 'Please either choose `select` or `omit`.' 186 + : {}); 170 187 171 188 /** 172 189 * Subset + Intersection 173 190 * @desc From `T` pick properties that exist in `U` and intersect `K` 174 191 */ 175 192 export type SubsetIntersection<T, U, K> = { 176 - [key in keyof T]: key extends keyof U ? T[key] : never 177 - } & 178 - K 193 + [key in keyof T]: key extends keyof U ? T[key] : never; 194 + } & K; 179 195 180 196 type Without<T, U> = { [P in Exclude<keyof T, keyof U>]?: never }; 181 197 ··· 183 199 * XOR is needed to have a real mutually exclusive union type 184 200 * https://stackoverflow.com/questions/42123407/does-typescript-support-mutually-exclusive-types 185 201 */ 186 - export type XOR<T, U> = 187 - T extends object ? 188 - U extends object ? 189 - (Without<T, U> & U) | (Without<U, T> & T) 190 - : U : T 191 - 202 + export type XOR<T, U> = T extends object 203 + ? U extends object 204 + ? (Without<T, U> & U) | (Without<U, T> & T) 205 + : U 206 + : T; 192 207 193 208 /** 194 209 * Is T a Record? 195 210 */ 196 - type IsObject<T extends any> = T extends Array<any> 197 - ? False 198 - : T extends Date 199 - ? False 200 - : T extends Uint8Array 201 - ? False 202 - : T extends BigInt 203 - ? False 204 - : T extends object 205 - ? True 206 - : False 207 - 211 + type IsObject<T extends any> = 212 + T extends Array<any> 213 + ? False 214 + : T extends Date 215 + ? False 216 + : T extends Uint8Array 217 + ? False 218 + : T extends BigInt 219 + ? False 220 + : T extends object 221 + ? True 222 + : False; 208 223 209 224 /** 210 225 * If it's T[], return T 211 226 */ 212 - export type UnEnumerate<T extends unknown> = T extends Array<infer U> ? U : T 227 + export type UnEnumerate<T extends unknown> = T extends Array<infer U> ? U : T; 213 228 214 229 /** 215 230 * From ts-toolbelt ··· 218 233 type __Either<O extends object, K extends Key> = Omit<O, K> & 219 234 { 220 235 // Merge all but K 221 - [P in K]: Prisma__Pick<O, P & keyof O> // With K possibilities 222 - }[K] 236 + [P in K]: Prisma__Pick<O, P & keyof O>; // With K possibilities 237 + }[K]; 223 238 224 - type EitherStrict<O extends object, K extends Key> = Strict<__Either<O, K>> 239 + type EitherStrict<O extends object, K extends Key> = Strict<__Either<O, K>>; 225 240 226 - type EitherLoose<O extends object, K extends Key> = ComputeRaw<__Either<O, K>> 241 + type EitherLoose<O extends object, K extends Key> = ComputeRaw<__Either<O, K>>; 227 242 228 - type _Either< 229 - O extends object, 230 - K extends Key, 231 - strict extends Boolean 232 - > = { 233 - 1: EitherStrict<O, K> 234 - 0: EitherLoose<O, K> 235 - }[strict] 243 + type _Either<O extends object, K extends Key, strict extends Boolean> = { 244 + 1: EitherStrict<O, K>; 245 + 0: EitherLoose<O, K>; 246 + }[strict]; 236 247 237 248 export type Either< 238 249 O extends object, 239 250 K extends Key, 240 - strict extends Boolean = 1 241 - > = O extends unknown ? _Either<O, K, strict> : never 251 + strict extends Boolean = 1, 252 + > = O extends unknown ? _Either<O, K, strict> : never; 242 253 243 - export type Union = any 254 + export type Union = any; 244 255 245 256 export type PatchUndefined<O extends object, O1 extends object> = { 246 - [K in keyof O]: O[K] extends undefined ? At<O1, K> : O[K] 247 - } & {} 257 + [K in keyof O]: O[K] extends undefined ? At<O1, K> : O[K]; 258 + } & {}; 248 259 249 260 /** Helper Types for "Merge" **/ 250 261 export type IntersectOf<U extends Union> = ( 251 262 U extends unknown ? (k: U) => void : never 252 263 ) extends (k: infer I) => void 253 264 ? I 254 - : never 265 + : never; 255 266 256 267 export type Overwrite<O extends object, O1 extends object> = { 257 - [K in keyof O]: K extends keyof O1 ? O1[K] : O[K]; 268 + [K in keyof O]: K extends keyof O1 ? O1[K] : O[K]; 258 269 } & {}; 259 270 260 - type _Merge<U extends object> = IntersectOf<Overwrite<U, { 261 - [K in keyof U]-?: At<U, K>; 262 - }>>; 271 + type _Merge<U extends object> = IntersectOf< 272 + Overwrite< 273 + U, 274 + { 275 + [K in keyof U]-?: At<U, K>; 276 + } 277 + > 278 + >; 263 279 264 280 type Key = string | number | symbol; 265 281 type AtStrict<O extends object, K extends Key> = O[K & keyof O]; 266 - type AtLoose<O extends object, K extends Key> = O extends unknown ? AtStrict<O, K> : never; 282 + type AtLoose<O extends object, K extends Key> = O extends unknown 283 + ? AtStrict<O, K> 284 + : never; 267 285 export type At<O extends object, K extends Key, strict extends Boolean = 1> = { 268 - 1: AtStrict<O, K>; 269 - 0: AtLoose<O, K>; 286 + 1: AtStrict<O, K>; 287 + 0: AtLoose<O, K>; 270 288 }[strict]; 271 289 272 - export type ComputeRaw<A extends any> = A extends Function ? A : { 273 - [K in keyof A]: A[K]; 274 - } & {}; 290 + export type ComputeRaw<A extends any> = A extends Function 291 + ? A 292 + : { 293 + [K in keyof A]: A[K]; 294 + } & {}; 275 295 276 296 export type OptionalFlat<O> = { 277 297 [K in keyof O]?: O[K]; ··· 287 307 // this type assumes the passed object is entirely optional 288 308 export type AtLeast<O extends object, K extends string> = NoExpand< 289 309 O extends unknown 290 - ? | (K extends keyof O ? { [P in K]: O[P] } & O : O) 291 - | {[P in keyof O as P extends K ? P : never]-?: O[P]} & O 292 - : never>; 310 + ? 311 + | (K extends keyof O ? { [P in K]: O[P] } & O : O) 312 + | ({ [P in keyof O as P extends K ? P : never]-?: O[P] } & O) 313 + : never 314 + >; 293 315 294 - type _Strict<U, _U = U> = U extends unknown ? U & OptionalFlat<_Record<Exclude<Keys<_U>, keyof U>, never>> : never; 316 + type _Strict<U, _U = U> = U extends unknown 317 + ? U & OptionalFlat<_Record<Exclude<Keys<_U>, keyof U>, never>> 318 + : never; 295 319 296 320 export type Strict<U extends object> = ComputeRaw<_Strict<U>>; 297 321 /** End Helper Types for "Merge" **/ 298 322 299 323 export type Merge<U extends object> = ComputeRaw<_Merge<Strict<U>>>; 300 324 301 - export type Boolean = True | False 325 + export type Boolean = True | False; 302 326 303 - export type True = 1 327 + export type True = 1; 304 328 305 - export type False = 0 329 + export type False = 0; 306 330 307 331 export type Not<B extends Boolean> = { 308 - 0: 1 309 - 1: 0 310 - }[B] 332 + 0: 1; 333 + 1: 0; 334 + }[B]; 311 335 312 336 export type Extends<A1 extends any, A2 extends any> = [A1] extends [never] 313 337 ? 0 // anything `never` is false 314 338 : A1 extends A2 315 - ? 1 316 - : 0 339 + ? 1 340 + : 0; 317 341 318 342 export type Has<U extends Union, U1 extends Union> = Not< 319 343 Extends<Exclude<U1, U>, U1> 320 - > 344 + >; 321 345 322 346 export type Or<B1 extends Boolean, B2 extends Boolean> = { 323 347 0: { 324 - 0: 0 325 - 1: 1 326 - } 348 + 0: 0; 349 + 1: 1; 350 + }; 327 351 1: { 328 - 0: 1 329 - 1: 1 330 - } 331 - }[B1][B2] 352 + 0: 1; 353 + 1: 1; 354 + }; 355 + }[B1][B2]; 332 356 333 - export type Keys<U extends Union> = U extends unknown ? keyof U : never 357 + export type Keys<U extends Union> = U extends unknown ? keyof U : never; 334 358 335 - export type GetScalarType<T, O> = O extends object ? { 336 - [P in keyof T]: P extends keyof O 337 - ? O[P] 338 - : never 339 - } : never 359 + export type GetScalarType<T, O> = O extends object 360 + ? { 361 + [P in keyof T]: P extends keyof O ? O[P] : never; 362 + } 363 + : never; 340 364 341 - type FieldPaths< 342 - T, 343 - U = Omit<T, '_avg' | '_sum' | '_count' | '_min' | '_max'> 344 - > = IsObject<T> extends True ? U : T 365 + type FieldPaths<T, U = Omit<T, '_avg' | '_sum' | '_count' | '_min' | '_max'>> = 366 + IsObject<T> extends True ? U : T; 345 367 346 368 export type GetHavingFields<T> = { 347 369 [K in keyof T]: Or< ··· 352 374 // based on the brilliant idea of Pierre-Antoine Mills 353 375 // https://github.com/microsoft/TypeScript/issues/30188#issuecomment-478938437 354 376 T[K] extends infer TK 355 - ? GetHavingFields<UnEnumerate<TK> extends object ? Merge<UnEnumerate<TK>> : never> 377 + ? GetHavingFields< 378 + UnEnumerate<TK> extends object ? Merge<UnEnumerate<TK>> : never 379 + > 356 380 : never 357 381 : {} extends FieldPaths<T[K]> 358 - ? never 359 - : K 360 - }[keyof T] 382 + ? never 383 + : K; 384 + }[keyof T]; 361 385 362 386 /** 363 387 * Convert tuple to union 364 388 */ 365 - type _TupleToUnion<T> = T extends (infer E)[] ? E : never 366 - type TupleToUnion<K extends readonly any[]> = _TupleToUnion<K> 367 - export type MaybeTupleToUnion<T> = T extends any[] ? TupleToUnion<T> : T 389 + type _TupleToUnion<T> = T extends (infer E)[] ? E : never; 390 + type TupleToUnion<K extends readonly any[]> = _TupleToUnion<K>; 391 + export type MaybeTupleToUnion<T> = T extends any[] ? TupleToUnion<T> : T; 368 392 369 393 /** 370 394 * Like `Pick`, but additionally can also accept an array of keys 371 395 */ 372 - export type PickEnumerable<T, K extends Enumerable<keyof T> | keyof T> = Prisma__Pick<T, MaybeTupleToUnion<K>> 396 + export type PickEnumerable< 397 + T, 398 + K extends Enumerable<keyof T> | keyof T, 399 + > = Prisma__Pick<T, MaybeTupleToUnion<K>>; 373 400 374 401 /** 375 402 * Exclude all keys with underscores 376 403 */ 377 - export type ExcludeUnderscoreKeys<T extends string> = T extends `_${string}` ? never : T 378 - 379 - 380 - export type FieldRef<Model, FieldType> = runtime.FieldRef<Model, FieldType> 404 + export type ExcludeUnderscoreKeys<T extends string> = T extends `_${string}` 405 + ? never 406 + : T; 381 407 382 - type FieldRefInputType<Model, FieldType> = Model extends never ? never : FieldRef<Model, FieldType> 408 + export type FieldRef<Model, FieldType> = runtime.FieldRef<Model, FieldType>; 383 409 410 + type FieldRefInputType<Model, FieldType> = Model extends never 411 + ? never 412 + : FieldRef<Model, FieldType>; 384 413 385 414 export const ModelName = { 386 415 User: 'User', 387 416 AuthSession: 'AuthSession', 388 417 AuthState: 'AuthState', 389 418 Movie: 'Movie', 390 - TrackedMovie: 'TrackedMovie' 391 - } as const 419 + TrackedMovie: 'TrackedMovie', 420 + } as const; 392 421 393 - export type ModelName = (typeof ModelName)[keyof typeof ModelName] 422 + export type ModelName = (typeof ModelName)[keyof typeof ModelName]; 394 423 395 - 396 - 397 - export interface TypeMapCb<GlobalOmitOptions = {}> extends runtime.Types.Utils.Fn<{extArgs: runtime.Types.Extensions.InternalArgs }, runtime.Types.Utils.Record<string, any>> { 398 - returns: TypeMap<this['params']['extArgs'], GlobalOmitOptions> 424 + export interface TypeMapCb<GlobalOmitOptions = {}> extends runtime.Types.Utils 425 + .Fn< 426 + { extArgs: runtime.Types.Extensions.InternalArgs }, 427 + runtime.Types.Utils.Record<string, any> 428 + > { 429 + returns: TypeMap<this['params']['extArgs'], GlobalOmitOptions>; 399 430 } 400 431 401 - export type TypeMap<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> = { 432 + export type TypeMap< 433 + ExtArgs extends runtime.Types.Extensions.InternalArgs = 434 + runtime.Types.Extensions.DefaultArgs, 435 + GlobalOmitOptions = {}, 436 + > = { 402 437 globalOmitOptions: { 403 - omit: GlobalOmitOptions 404 - } 438 + omit: GlobalOmitOptions; 439 + }; 405 440 meta: { 406 - modelProps: "user" | "authSession" | "authState" | "movie" | "trackedMovie" 407 - txIsolationLevel: TransactionIsolationLevel 408 - } 441 + modelProps: 'user' | 'authSession' | 'authState' | 'movie' | 'trackedMovie'; 442 + txIsolationLevel: TransactionIsolationLevel; 443 + }; 409 444 model: { 410 445 User: { 411 - payload: Prisma.$UserPayload<ExtArgs> 412 - fields: Prisma.UserFieldRefs 446 + payload: Prisma.$UserPayload<ExtArgs>; 447 + fields: Prisma.UserFieldRefs; 413 448 operations: { 414 449 findUnique: { 415 - args: Prisma.UserFindUniqueArgs<ExtArgs> 416 - result: runtime.Types.Utils.PayloadToResult<Prisma.$UserPayload> | null 417 - } 450 + args: Prisma.UserFindUniqueArgs<ExtArgs>; 451 + result: runtime.Types.Utils.PayloadToResult<Prisma.$UserPayload> | null; 452 + }; 418 453 findUniqueOrThrow: { 419 - args: Prisma.UserFindUniqueOrThrowArgs<ExtArgs> 420 - result: runtime.Types.Utils.PayloadToResult<Prisma.$UserPayload> 421 - } 454 + args: Prisma.UserFindUniqueOrThrowArgs<ExtArgs>; 455 + result: runtime.Types.Utils.PayloadToResult<Prisma.$UserPayload>; 456 + }; 422 457 findFirst: { 423 - args: Prisma.UserFindFirstArgs<ExtArgs> 424 - result: runtime.Types.Utils.PayloadToResult<Prisma.$UserPayload> | null 425 - } 458 + args: Prisma.UserFindFirstArgs<ExtArgs>; 459 + result: runtime.Types.Utils.PayloadToResult<Prisma.$UserPayload> | null; 460 + }; 426 461 findFirstOrThrow: { 427 - args: Prisma.UserFindFirstOrThrowArgs<ExtArgs> 428 - result: runtime.Types.Utils.PayloadToResult<Prisma.$UserPayload> 429 - } 462 + args: Prisma.UserFindFirstOrThrowArgs<ExtArgs>; 463 + result: runtime.Types.Utils.PayloadToResult<Prisma.$UserPayload>; 464 + }; 430 465 findMany: { 431 - args: Prisma.UserFindManyArgs<ExtArgs> 432 - result: runtime.Types.Utils.PayloadToResult<Prisma.$UserPayload>[] 433 - } 466 + args: Prisma.UserFindManyArgs<ExtArgs>; 467 + result: runtime.Types.Utils.PayloadToResult<Prisma.$UserPayload>[]; 468 + }; 434 469 create: { 435 - args: Prisma.UserCreateArgs<ExtArgs> 436 - result: runtime.Types.Utils.PayloadToResult<Prisma.$UserPayload> 437 - } 470 + args: Prisma.UserCreateArgs<ExtArgs>; 471 + result: runtime.Types.Utils.PayloadToResult<Prisma.$UserPayload>; 472 + }; 438 473 createMany: { 439 - args: Prisma.UserCreateManyArgs<ExtArgs> 440 - result: BatchPayload 441 - } 474 + args: Prisma.UserCreateManyArgs<ExtArgs>; 475 + result: BatchPayload; 476 + }; 442 477 createManyAndReturn: { 443 - args: Prisma.UserCreateManyAndReturnArgs<ExtArgs> 444 - result: runtime.Types.Utils.PayloadToResult<Prisma.$UserPayload>[] 445 - } 478 + args: Prisma.UserCreateManyAndReturnArgs<ExtArgs>; 479 + result: runtime.Types.Utils.PayloadToResult<Prisma.$UserPayload>[]; 480 + }; 446 481 delete: { 447 - args: Prisma.UserDeleteArgs<ExtArgs> 448 - result: runtime.Types.Utils.PayloadToResult<Prisma.$UserPayload> 449 - } 482 + args: Prisma.UserDeleteArgs<ExtArgs>; 483 + result: runtime.Types.Utils.PayloadToResult<Prisma.$UserPayload>; 484 + }; 450 485 update: { 451 - args: Prisma.UserUpdateArgs<ExtArgs> 452 - result: runtime.Types.Utils.PayloadToResult<Prisma.$UserPayload> 453 - } 486 + args: Prisma.UserUpdateArgs<ExtArgs>; 487 + result: runtime.Types.Utils.PayloadToResult<Prisma.$UserPayload>; 488 + }; 454 489 deleteMany: { 455 - args: Prisma.UserDeleteManyArgs<ExtArgs> 456 - result: BatchPayload 457 - } 490 + args: Prisma.UserDeleteManyArgs<ExtArgs>; 491 + result: BatchPayload; 492 + }; 458 493 updateMany: { 459 - args: Prisma.UserUpdateManyArgs<ExtArgs> 460 - result: BatchPayload 461 - } 494 + args: Prisma.UserUpdateManyArgs<ExtArgs>; 495 + result: BatchPayload; 496 + }; 462 497 updateManyAndReturn: { 463 - args: Prisma.UserUpdateManyAndReturnArgs<ExtArgs> 464 - result: runtime.Types.Utils.PayloadToResult<Prisma.$UserPayload>[] 465 - } 498 + args: Prisma.UserUpdateManyAndReturnArgs<ExtArgs>; 499 + result: runtime.Types.Utils.PayloadToResult<Prisma.$UserPayload>[]; 500 + }; 466 501 upsert: { 467 - args: Prisma.UserUpsertArgs<ExtArgs> 468 - result: runtime.Types.Utils.PayloadToResult<Prisma.$UserPayload> 469 - } 502 + args: Prisma.UserUpsertArgs<ExtArgs>; 503 + result: runtime.Types.Utils.PayloadToResult<Prisma.$UserPayload>; 504 + }; 470 505 aggregate: { 471 - args: Prisma.UserAggregateArgs<ExtArgs> 472 - result: runtime.Types.Utils.Optional<Prisma.AggregateUser> 473 - } 506 + args: Prisma.UserAggregateArgs<ExtArgs>; 507 + result: runtime.Types.Utils.Optional<Prisma.AggregateUser>; 508 + }; 474 509 groupBy: { 475 - args: Prisma.UserGroupByArgs<ExtArgs> 476 - result: runtime.Types.Utils.Optional<Prisma.UserGroupByOutputType>[] 477 - } 510 + args: Prisma.UserGroupByArgs<ExtArgs>; 511 + result: runtime.Types.Utils.Optional<Prisma.UserGroupByOutputType>[]; 512 + }; 478 513 count: { 479 - args: Prisma.UserCountArgs<ExtArgs> 480 - result: runtime.Types.Utils.Optional<Prisma.UserCountAggregateOutputType> | number 481 - } 482 - } 483 - } 514 + args: Prisma.UserCountArgs<ExtArgs>; 515 + result: 516 + | runtime.Types.Utils.Optional<Prisma.UserCountAggregateOutputType> 517 + | number; 518 + }; 519 + }; 520 + }; 484 521 AuthSession: { 485 - payload: Prisma.$AuthSessionPayload<ExtArgs> 486 - fields: Prisma.AuthSessionFieldRefs 522 + payload: Prisma.$AuthSessionPayload<ExtArgs>; 523 + fields: Prisma.AuthSessionFieldRefs; 487 524 operations: { 488 525 findUnique: { 489 - args: Prisma.AuthSessionFindUniqueArgs<ExtArgs> 490 - result: runtime.Types.Utils.PayloadToResult<Prisma.$AuthSessionPayload> | null 491 - } 526 + args: Prisma.AuthSessionFindUniqueArgs<ExtArgs>; 527 + result: runtime.Types.Utils.PayloadToResult<Prisma.$AuthSessionPayload> | null; 528 + }; 492 529 findUniqueOrThrow: { 493 - args: Prisma.AuthSessionFindUniqueOrThrowArgs<ExtArgs> 494 - result: runtime.Types.Utils.PayloadToResult<Prisma.$AuthSessionPayload> 495 - } 530 + args: Prisma.AuthSessionFindUniqueOrThrowArgs<ExtArgs>; 531 + result: runtime.Types.Utils.PayloadToResult<Prisma.$AuthSessionPayload>; 532 + }; 496 533 findFirst: { 497 - args: Prisma.AuthSessionFindFirstArgs<ExtArgs> 498 - result: runtime.Types.Utils.PayloadToResult<Prisma.$AuthSessionPayload> | null 499 - } 534 + args: Prisma.AuthSessionFindFirstArgs<ExtArgs>; 535 + result: runtime.Types.Utils.PayloadToResult<Prisma.$AuthSessionPayload> | null; 536 + }; 500 537 findFirstOrThrow: { 501 - args: Prisma.AuthSessionFindFirstOrThrowArgs<ExtArgs> 502 - result: runtime.Types.Utils.PayloadToResult<Prisma.$AuthSessionPayload> 503 - } 538 + args: Prisma.AuthSessionFindFirstOrThrowArgs<ExtArgs>; 539 + result: runtime.Types.Utils.PayloadToResult<Prisma.$AuthSessionPayload>; 540 + }; 504 541 findMany: { 505 - args: Prisma.AuthSessionFindManyArgs<ExtArgs> 506 - result: runtime.Types.Utils.PayloadToResult<Prisma.$AuthSessionPayload>[] 507 - } 542 + args: Prisma.AuthSessionFindManyArgs<ExtArgs>; 543 + result: runtime.Types.Utils.PayloadToResult<Prisma.$AuthSessionPayload>[]; 544 + }; 508 545 create: { 509 - args: Prisma.AuthSessionCreateArgs<ExtArgs> 510 - result: runtime.Types.Utils.PayloadToResult<Prisma.$AuthSessionPayload> 511 - } 546 + args: Prisma.AuthSessionCreateArgs<ExtArgs>; 547 + result: runtime.Types.Utils.PayloadToResult<Prisma.$AuthSessionPayload>; 548 + }; 512 549 createMany: { 513 - args: Prisma.AuthSessionCreateManyArgs<ExtArgs> 514 - result: BatchPayload 515 - } 550 + args: Prisma.AuthSessionCreateManyArgs<ExtArgs>; 551 + result: BatchPayload; 552 + }; 516 553 createManyAndReturn: { 517 - args: Prisma.AuthSessionCreateManyAndReturnArgs<ExtArgs> 518 - result: runtime.Types.Utils.PayloadToResult<Prisma.$AuthSessionPayload>[] 519 - } 554 + args: Prisma.AuthSessionCreateManyAndReturnArgs<ExtArgs>; 555 + result: runtime.Types.Utils.PayloadToResult<Prisma.$AuthSessionPayload>[]; 556 + }; 520 557 delete: { 521 - args: Prisma.AuthSessionDeleteArgs<ExtArgs> 522 - result: runtime.Types.Utils.PayloadToResult<Prisma.$AuthSessionPayload> 523 - } 558 + args: Prisma.AuthSessionDeleteArgs<ExtArgs>; 559 + result: runtime.Types.Utils.PayloadToResult<Prisma.$AuthSessionPayload>; 560 + }; 524 561 update: { 525 - args: Prisma.AuthSessionUpdateArgs<ExtArgs> 526 - result: runtime.Types.Utils.PayloadToResult<Prisma.$AuthSessionPayload> 527 - } 562 + args: Prisma.AuthSessionUpdateArgs<ExtArgs>; 563 + result: runtime.Types.Utils.PayloadToResult<Prisma.$AuthSessionPayload>; 564 + }; 528 565 deleteMany: { 529 - args: Prisma.AuthSessionDeleteManyArgs<ExtArgs> 530 - result: BatchPayload 531 - } 566 + args: Prisma.AuthSessionDeleteManyArgs<ExtArgs>; 567 + result: BatchPayload; 568 + }; 532 569 updateMany: { 533 - args: Prisma.AuthSessionUpdateManyArgs<ExtArgs> 534 - result: BatchPayload 535 - } 570 + args: Prisma.AuthSessionUpdateManyArgs<ExtArgs>; 571 + result: BatchPayload; 572 + }; 536 573 updateManyAndReturn: { 537 - args: Prisma.AuthSessionUpdateManyAndReturnArgs<ExtArgs> 538 - result: runtime.Types.Utils.PayloadToResult<Prisma.$AuthSessionPayload>[] 539 - } 574 + args: Prisma.AuthSessionUpdateManyAndReturnArgs<ExtArgs>; 575 + result: runtime.Types.Utils.PayloadToResult<Prisma.$AuthSessionPayload>[]; 576 + }; 540 577 upsert: { 541 - args: Prisma.AuthSessionUpsertArgs<ExtArgs> 542 - result: runtime.Types.Utils.PayloadToResult<Prisma.$AuthSessionPayload> 543 - } 578 + args: Prisma.AuthSessionUpsertArgs<ExtArgs>; 579 + result: runtime.Types.Utils.PayloadToResult<Prisma.$AuthSessionPayload>; 580 + }; 544 581 aggregate: { 545 - args: Prisma.AuthSessionAggregateArgs<ExtArgs> 546 - result: runtime.Types.Utils.Optional<Prisma.AggregateAuthSession> 547 - } 582 + args: Prisma.AuthSessionAggregateArgs<ExtArgs>; 583 + result: runtime.Types.Utils.Optional<Prisma.AggregateAuthSession>; 584 + }; 548 585 groupBy: { 549 - args: Prisma.AuthSessionGroupByArgs<ExtArgs> 550 - result: runtime.Types.Utils.Optional<Prisma.AuthSessionGroupByOutputType>[] 551 - } 586 + args: Prisma.AuthSessionGroupByArgs<ExtArgs>; 587 + result: runtime.Types.Utils.Optional<Prisma.AuthSessionGroupByOutputType>[]; 588 + }; 552 589 count: { 553 - args: Prisma.AuthSessionCountArgs<ExtArgs> 554 - result: runtime.Types.Utils.Optional<Prisma.AuthSessionCountAggregateOutputType> | number 555 - } 556 - } 557 - } 590 + args: Prisma.AuthSessionCountArgs<ExtArgs>; 591 + result: 592 + | runtime.Types.Utils.Optional<Prisma.AuthSessionCountAggregateOutputType> 593 + | number; 594 + }; 595 + }; 596 + }; 558 597 AuthState: { 559 - payload: Prisma.$AuthStatePayload<ExtArgs> 560 - fields: Prisma.AuthStateFieldRefs 598 + payload: Prisma.$AuthStatePayload<ExtArgs>; 599 + fields: Prisma.AuthStateFieldRefs; 561 600 operations: { 562 601 findUnique: { 563 - args: Prisma.AuthStateFindUniqueArgs<ExtArgs> 564 - result: runtime.Types.Utils.PayloadToResult<Prisma.$AuthStatePayload> | null 565 - } 602 + args: Prisma.AuthStateFindUniqueArgs<ExtArgs>; 603 + result: runtime.Types.Utils.PayloadToResult<Prisma.$AuthStatePayload> | null; 604 + }; 566 605 findUniqueOrThrow: { 567 - args: Prisma.AuthStateFindUniqueOrThrowArgs<ExtArgs> 568 - result: runtime.Types.Utils.PayloadToResult<Prisma.$AuthStatePayload> 569 - } 606 + args: Prisma.AuthStateFindUniqueOrThrowArgs<ExtArgs>; 607 + result: runtime.Types.Utils.PayloadToResult<Prisma.$AuthStatePayload>; 608 + }; 570 609 findFirst: { 571 - args: Prisma.AuthStateFindFirstArgs<ExtArgs> 572 - result: runtime.Types.Utils.PayloadToResult<Prisma.$AuthStatePayload> | null 573 - } 610 + args: Prisma.AuthStateFindFirstArgs<ExtArgs>; 611 + result: runtime.Types.Utils.PayloadToResult<Prisma.$AuthStatePayload> | null; 612 + }; 574 613 findFirstOrThrow: { 575 - args: Prisma.AuthStateFindFirstOrThrowArgs<ExtArgs> 576 - result: runtime.Types.Utils.PayloadToResult<Prisma.$AuthStatePayload> 577 - } 614 + args: Prisma.AuthStateFindFirstOrThrowArgs<ExtArgs>; 615 + result: runtime.Types.Utils.PayloadToResult<Prisma.$AuthStatePayload>; 616 + }; 578 617 findMany: { 579 - args: Prisma.AuthStateFindManyArgs<ExtArgs> 580 - result: runtime.Types.Utils.PayloadToResult<Prisma.$AuthStatePayload>[] 581 - } 618 + args: Prisma.AuthStateFindManyArgs<ExtArgs>; 619 + result: runtime.Types.Utils.PayloadToResult<Prisma.$AuthStatePayload>[]; 620 + }; 582 621 create: { 583 - args: Prisma.AuthStateCreateArgs<ExtArgs> 584 - result: runtime.Types.Utils.PayloadToResult<Prisma.$AuthStatePayload> 585 - } 622 + args: Prisma.AuthStateCreateArgs<ExtArgs>; 623 + result: runtime.Types.Utils.PayloadToResult<Prisma.$AuthStatePayload>; 624 + }; 586 625 createMany: { 587 - args: Prisma.AuthStateCreateManyArgs<ExtArgs> 588 - result: BatchPayload 589 - } 626 + args: Prisma.AuthStateCreateManyArgs<ExtArgs>; 627 + result: BatchPayload; 628 + }; 590 629 createManyAndReturn: { 591 - args: Prisma.AuthStateCreateManyAndReturnArgs<ExtArgs> 592 - result: runtime.Types.Utils.PayloadToResult<Prisma.$AuthStatePayload>[] 593 - } 630 + args: Prisma.AuthStateCreateManyAndReturnArgs<ExtArgs>; 631 + result: runtime.Types.Utils.PayloadToResult<Prisma.$AuthStatePayload>[]; 632 + }; 594 633 delete: { 595 - args: Prisma.AuthStateDeleteArgs<ExtArgs> 596 - result: runtime.Types.Utils.PayloadToResult<Prisma.$AuthStatePayload> 597 - } 634 + args: Prisma.AuthStateDeleteArgs<ExtArgs>; 635 + result: runtime.Types.Utils.PayloadToResult<Prisma.$AuthStatePayload>; 636 + }; 598 637 update: { 599 - args: Prisma.AuthStateUpdateArgs<ExtArgs> 600 - result: runtime.Types.Utils.PayloadToResult<Prisma.$AuthStatePayload> 601 - } 638 + args: Prisma.AuthStateUpdateArgs<ExtArgs>; 639 + result: runtime.Types.Utils.PayloadToResult<Prisma.$AuthStatePayload>; 640 + }; 602 641 deleteMany: { 603 - args: Prisma.AuthStateDeleteManyArgs<ExtArgs> 604 - result: BatchPayload 605 - } 642 + args: Prisma.AuthStateDeleteManyArgs<ExtArgs>; 643 + result: BatchPayload; 644 + }; 606 645 updateMany: { 607 - args: Prisma.AuthStateUpdateManyArgs<ExtArgs> 608 - result: BatchPayload 609 - } 646 + args: Prisma.AuthStateUpdateManyArgs<ExtArgs>; 647 + result: BatchPayload; 648 + }; 610 649 updateManyAndReturn: { 611 - args: Prisma.AuthStateUpdateManyAndReturnArgs<ExtArgs> 612 - result: runtime.Types.Utils.PayloadToResult<Prisma.$AuthStatePayload>[] 613 - } 650 + args: Prisma.AuthStateUpdateManyAndReturnArgs<ExtArgs>; 651 + result: runtime.Types.Utils.PayloadToResult<Prisma.$AuthStatePayload>[]; 652 + }; 614 653 upsert: { 615 - args: Prisma.AuthStateUpsertArgs<ExtArgs> 616 - result: runtime.Types.Utils.PayloadToResult<Prisma.$AuthStatePayload> 617 - } 654 + args: Prisma.AuthStateUpsertArgs<ExtArgs>; 655 + result: runtime.Types.Utils.PayloadToResult<Prisma.$AuthStatePayload>; 656 + }; 618 657 aggregate: { 619 - args: Prisma.AuthStateAggregateArgs<ExtArgs> 620 - result: runtime.Types.Utils.Optional<Prisma.AggregateAuthState> 621 - } 658 + args: Prisma.AuthStateAggregateArgs<ExtArgs>; 659 + result: runtime.Types.Utils.Optional<Prisma.AggregateAuthState>; 660 + }; 622 661 groupBy: { 623 - args: Prisma.AuthStateGroupByArgs<ExtArgs> 624 - result: runtime.Types.Utils.Optional<Prisma.AuthStateGroupByOutputType>[] 625 - } 662 + args: Prisma.AuthStateGroupByArgs<ExtArgs>; 663 + result: runtime.Types.Utils.Optional<Prisma.AuthStateGroupByOutputType>[]; 664 + }; 626 665 count: { 627 - args: Prisma.AuthStateCountArgs<ExtArgs> 628 - result: runtime.Types.Utils.Optional<Prisma.AuthStateCountAggregateOutputType> | number 629 - } 630 - } 631 - } 666 + args: Prisma.AuthStateCountArgs<ExtArgs>; 667 + result: 668 + | runtime.Types.Utils.Optional<Prisma.AuthStateCountAggregateOutputType> 669 + | number; 670 + }; 671 + }; 672 + }; 632 673 Movie: { 633 - payload: Prisma.$MoviePayload<ExtArgs> 634 - fields: Prisma.MovieFieldRefs 674 + payload: Prisma.$MoviePayload<ExtArgs>; 675 + fields: Prisma.MovieFieldRefs; 635 676 operations: { 636 677 findUnique: { 637 - args: Prisma.MovieFindUniqueArgs<ExtArgs> 638 - result: runtime.Types.Utils.PayloadToResult<Prisma.$MoviePayload> | null 639 - } 678 + args: Prisma.MovieFindUniqueArgs<ExtArgs>; 679 + result: runtime.Types.Utils.PayloadToResult<Prisma.$MoviePayload> | null; 680 + }; 640 681 findUniqueOrThrow: { 641 - args: Prisma.MovieFindUniqueOrThrowArgs<ExtArgs> 642 - result: runtime.Types.Utils.PayloadToResult<Prisma.$MoviePayload> 643 - } 682 + args: Prisma.MovieFindUniqueOrThrowArgs<ExtArgs>; 683 + result: runtime.Types.Utils.PayloadToResult<Prisma.$MoviePayload>; 684 + }; 644 685 findFirst: { 645 - args: Prisma.MovieFindFirstArgs<ExtArgs> 646 - result: runtime.Types.Utils.PayloadToResult<Prisma.$MoviePayload> | null 647 - } 686 + args: Prisma.MovieFindFirstArgs<ExtArgs>; 687 + result: runtime.Types.Utils.PayloadToResult<Prisma.$MoviePayload> | null; 688 + }; 648 689 findFirstOrThrow: { 649 - args: Prisma.MovieFindFirstOrThrowArgs<ExtArgs> 650 - result: runtime.Types.Utils.PayloadToResult<Prisma.$MoviePayload> 651 - } 690 + args: Prisma.MovieFindFirstOrThrowArgs<ExtArgs>; 691 + result: runtime.Types.Utils.PayloadToResult<Prisma.$MoviePayload>; 692 + }; 652 693 findMany: { 653 - args: Prisma.MovieFindManyArgs<ExtArgs> 654 - result: runtime.Types.Utils.PayloadToResult<Prisma.$MoviePayload>[] 655 - } 694 + args: Prisma.MovieFindManyArgs<ExtArgs>; 695 + result: runtime.Types.Utils.PayloadToResult<Prisma.$MoviePayload>[]; 696 + }; 656 697 create: { 657 - args: Prisma.MovieCreateArgs<ExtArgs> 658 - result: runtime.Types.Utils.PayloadToResult<Prisma.$MoviePayload> 659 - } 698 + args: Prisma.MovieCreateArgs<ExtArgs>; 699 + result: runtime.Types.Utils.PayloadToResult<Prisma.$MoviePayload>; 700 + }; 660 701 createMany: { 661 - args: Prisma.MovieCreateManyArgs<ExtArgs> 662 - result: BatchPayload 663 - } 702 + args: Prisma.MovieCreateManyArgs<ExtArgs>; 703 + result: BatchPayload; 704 + }; 664 705 createManyAndReturn: { 665 - args: Prisma.MovieCreateManyAndReturnArgs<ExtArgs> 666 - result: runtime.Types.Utils.PayloadToResult<Prisma.$MoviePayload>[] 667 - } 706 + args: Prisma.MovieCreateManyAndReturnArgs<ExtArgs>; 707 + result: runtime.Types.Utils.PayloadToResult<Prisma.$MoviePayload>[]; 708 + }; 668 709 delete: { 669 - args: Prisma.MovieDeleteArgs<ExtArgs> 670 - result: runtime.Types.Utils.PayloadToResult<Prisma.$MoviePayload> 671 - } 710 + args: Prisma.MovieDeleteArgs<ExtArgs>; 711 + result: runtime.Types.Utils.PayloadToResult<Prisma.$MoviePayload>; 712 + }; 672 713 update: { 673 - args: Prisma.MovieUpdateArgs<ExtArgs> 674 - result: runtime.Types.Utils.PayloadToResult<Prisma.$MoviePayload> 675 - } 714 + args: Prisma.MovieUpdateArgs<ExtArgs>; 715 + result: runtime.Types.Utils.PayloadToResult<Prisma.$MoviePayload>; 716 + }; 676 717 deleteMany: { 677 - args: Prisma.MovieDeleteManyArgs<ExtArgs> 678 - result: BatchPayload 679 - } 718 + args: Prisma.MovieDeleteManyArgs<ExtArgs>; 719 + result: BatchPayload; 720 + }; 680 721 updateMany: { 681 - args: Prisma.MovieUpdateManyArgs<ExtArgs> 682 - result: BatchPayload 683 - } 722 + args: Prisma.MovieUpdateManyArgs<ExtArgs>; 723 + result: BatchPayload; 724 + }; 684 725 updateManyAndReturn: { 685 - args: Prisma.MovieUpdateManyAndReturnArgs<ExtArgs> 686 - result: runtime.Types.Utils.PayloadToResult<Prisma.$MoviePayload>[] 687 - } 726 + args: Prisma.MovieUpdateManyAndReturnArgs<ExtArgs>; 727 + result: runtime.Types.Utils.PayloadToResult<Prisma.$MoviePayload>[]; 728 + }; 688 729 upsert: { 689 - args: Prisma.MovieUpsertArgs<ExtArgs> 690 - result: runtime.Types.Utils.PayloadToResult<Prisma.$MoviePayload> 691 - } 730 + args: Prisma.MovieUpsertArgs<ExtArgs>; 731 + result: runtime.Types.Utils.PayloadToResult<Prisma.$MoviePayload>; 732 + }; 692 733 aggregate: { 693 - args: Prisma.MovieAggregateArgs<ExtArgs> 694 - result: runtime.Types.Utils.Optional<Prisma.AggregateMovie> 695 - } 734 + args: Prisma.MovieAggregateArgs<ExtArgs>; 735 + result: runtime.Types.Utils.Optional<Prisma.AggregateMovie>; 736 + }; 696 737 groupBy: { 697 - args: Prisma.MovieGroupByArgs<ExtArgs> 698 - result: runtime.Types.Utils.Optional<Prisma.MovieGroupByOutputType>[] 699 - } 738 + args: Prisma.MovieGroupByArgs<ExtArgs>; 739 + result: runtime.Types.Utils.Optional<Prisma.MovieGroupByOutputType>[]; 740 + }; 700 741 count: { 701 - args: Prisma.MovieCountArgs<ExtArgs> 702 - result: runtime.Types.Utils.Optional<Prisma.MovieCountAggregateOutputType> | number 703 - } 704 - } 705 - } 742 + args: Prisma.MovieCountArgs<ExtArgs>; 743 + result: 744 + | runtime.Types.Utils.Optional<Prisma.MovieCountAggregateOutputType> 745 + | number; 746 + }; 747 + }; 748 + }; 706 749 TrackedMovie: { 707 - payload: Prisma.$TrackedMoviePayload<ExtArgs> 708 - fields: Prisma.TrackedMovieFieldRefs 750 + payload: Prisma.$TrackedMoviePayload<ExtArgs>; 751 + fields: Prisma.TrackedMovieFieldRefs; 709 752 operations: { 710 753 findUnique: { 711 - args: Prisma.TrackedMovieFindUniqueArgs<ExtArgs> 712 - result: runtime.Types.Utils.PayloadToResult<Prisma.$TrackedMoviePayload> | null 713 - } 754 + args: Prisma.TrackedMovieFindUniqueArgs<ExtArgs>; 755 + result: runtime.Types.Utils.PayloadToResult<Prisma.$TrackedMoviePayload> | null; 756 + }; 714 757 findUniqueOrThrow: { 715 - args: Prisma.TrackedMovieFindUniqueOrThrowArgs<ExtArgs> 716 - result: runtime.Types.Utils.PayloadToResult<Prisma.$TrackedMoviePayload> 717 - } 758 + args: Prisma.TrackedMovieFindUniqueOrThrowArgs<ExtArgs>; 759 + result: runtime.Types.Utils.PayloadToResult<Prisma.$TrackedMoviePayload>; 760 + }; 718 761 findFirst: { 719 - args: Prisma.TrackedMovieFindFirstArgs<ExtArgs> 720 - result: runtime.Types.Utils.PayloadToResult<Prisma.$TrackedMoviePayload> | null 721 - } 762 + args: Prisma.TrackedMovieFindFirstArgs<ExtArgs>; 763 + result: runtime.Types.Utils.PayloadToResult<Prisma.$TrackedMoviePayload> | null; 764 + }; 722 765 findFirstOrThrow: { 723 - args: Prisma.TrackedMovieFindFirstOrThrowArgs<ExtArgs> 724 - result: runtime.Types.Utils.PayloadToResult<Prisma.$TrackedMoviePayload> 725 - } 766 + args: Prisma.TrackedMovieFindFirstOrThrowArgs<ExtArgs>; 767 + result: runtime.Types.Utils.PayloadToResult<Prisma.$TrackedMoviePayload>; 768 + }; 726 769 findMany: { 727 - args: Prisma.TrackedMovieFindManyArgs<ExtArgs> 728 - result: runtime.Types.Utils.PayloadToResult<Prisma.$TrackedMoviePayload>[] 729 - } 770 + args: Prisma.TrackedMovieFindManyArgs<ExtArgs>; 771 + result: runtime.Types.Utils.PayloadToResult<Prisma.$TrackedMoviePayload>[]; 772 + }; 730 773 create: { 731 - args: Prisma.TrackedMovieCreateArgs<ExtArgs> 732 - result: runtime.Types.Utils.PayloadToResult<Prisma.$TrackedMoviePayload> 733 - } 774 + args: Prisma.TrackedMovieCreateArgs<ExtArgs>; 775 + result: runtime.Types.Utils.PayloadToResult<Prisma.$TrackedMoviePayload>; 776 + }; 734 777 createMany: { 735 - args: Prisma.TrackedMovieCreateManyArgs<ExtArgs> 736 - result: BatchPayload 737 - } 778 + args: Prisma.TrackedMovieCreateManyArgs<ExtArgs>; 779 + result: BatchPayload; 780 + }; 738 781 createManyAndReturn: { 739 - args: Prisma.TrackedMovieCreateManyAndReturnArgs<ExtArgs> 740 - result: runtime.Types.Utils.PayloadToResult<Prisma.$TrackedMoviePayload>[] 741 - } 782 + args: Prisma.TrackedMovieCreateManyAndReturnArgs<ExtArgs>; 783 + result: runtime.Types.Utils.PayloadToResult<Prisma.$TrackedMoviePayload>[]; 784 + }; 742 785 delete: { 743 - args: Prisma.TrackedMovieDeleteArgs<ExtArgs> 744 - result: runtime.Types.Utils.PayloadToResult<Prisma.$TrackedMoviePayload> 745 - } 786 + args: Prisma.TrackedMovieDeleteArgs<ExtArgs>; 787 + result: runtime.Types.Utils.PayloadToResult<Prisma.$TrackedMoviePayload>; 788 + }; 746 789 update: { 747 - args: Prisma.TrackedMovieUpdateArgs<ExtArgs> 748 - result: runtime.Types.Utils.PayloadToResult<Prisma.$TrackedMoviePayload> 749 - } 790 + args: Prisma.TrackedMovieUpdateArgs<ExtArgs>; 791 + result: runtime.Types.Utils.PayloadToResult<Prisma.$TrackedMoviePayload>; 792 + }; 750 793 deleteMany: { 751 - args: Prisma.TrackedMovieDeleteManyArgs<ExtArgs> 752 - result: BatchPayload 753 - } 794 + args: Prisma.TrackedMovieDeleteManyArgs<ExtArgs>; 795 + result: BatchPayload; 796 + }; 754 797 updateMany: { 755 - args: Prisma.TrackedMovieUpdateManyArgs<ExtArgs> 756 - result: BatchPayload 757 - } 798 + args: Prisma.TrackedMovieUpdateManyArgs<ExtArgs>; 799 + result: BatchPayload; 800 + }; 758 801 updateManyAndReturn: { 759 - args: Prisma.TrackedMovieUpdateManyAndReturnArgs<ExtArgs> 760 - result: runtime.Types.Utils.PayloadToResult<Prisma.$TrackedMoviePayload>[] 761 - } 802 + args: Prisma.TrackedMovieUpdateManyAndReturnArgs<ExtArgs>; 803 + result: runtime.Types.Utils.PayloadToResult<Prisma.$TrackedMoviePayload>[]; 804 + }; 762 805 upsert: { 763 - args: Prisma.TrackedMovieUpsertArgs<ExtArgs> 764 - result: runtime.Types.Utils.PayloadToResult<Prisma.$TrackedMoviePayload> 765 - } 806 + args: Prisma.TrackedMovieUpsertArgs<ExtArgs>; 807 + result: runtime.Types.Utils.PayloadToResult<Prisma.$TrackedMoviePayload>; 808 + }; 766 809 aggregate: { 767 - args: Prisma.TrackedMovieAggregateArgs<ExtArgs> 768 - result: runtime.Types.Utils.Optional<Prisma.AggregateTrackedMovie> 769 - } 810 + args: Prisma.TrackedMovieAggregateArgs<ExtArgs>; 811 + result: runtime.Types.Utils.Optional<Prisma.AggregateTrackedMovie>; 812 + }; 770 813 groupBy: { 771 - args: Prisma.TrackedMovieGroupByArgs<ExtArgs> 772 - result: runtime.Types.Utils.Optional<Prisma.TrackedMovieGroupByOutputType>[] 773 - } 814 + args: Prisma.TrackedMovieGroupByArgs<ExtArgs>; 815 + result: runtime.Types.Utils.Optional<Prisma.TrackedMovieGroupByOutputType>[]; 816 + }; 774 817 count: { 775 - args: Prisma.TrackedMovieCountArgs<ExtArgs> 776 - result: runtime.Types.Utils.Optional<Prisma.TrackedMovieCountAggregateOutputType> | number 777 - } 778 - } 779 - } 780 - } 818 + args: Prisma.TrackedMovieCountArgs<ExtArgs>; 819 + result: 820 + | runtime.Types.Utils.Optional<Prisma.TrackedMovieCountAggregateOutputType> 821 + | number; 822 + }; 823 + }; 824 + }; 825 + }; 781 826 } & { 782 827 other: { 783 - payload: any 828 + payload: any; 784 829 operations: { 785 830 $executeRaw: { 786 - args: [query: TemplateStringsArray | Sql, ...values: any[]], 787 - result: any 788 - } 831 + args: [query: TemplateStringsArray | Sql, ...values: any[]]; 832 + result: any; 833 + }; 789 834 $executeRawUnsafe: { 790 - args: [query: string, ...values: any[]], 791 - result: any 792 - } 835 + args: [query: string, ...values: any[]]; 836 + result: any; 837 + }; 793 838 $queryRaw: { 794 - args: [query: TemplateStringsArray | Sql, ...values: any[]], 795 - result: any 796 - } 839 + args: [query: TemplateStringsArray | Sql, ...values: any[]]; 840 + result: any; 841 + }; 797 842 $queryRawUnsafe: { 798 - args: [query: string, ...values: any[]], 799 - result: any 800 - } 801 - } 802 - } 803 - } 843 + args: [query: string, ...values: any[]]; 844 + result: any; 845 + }; 846 + }; 847 + }; 848 + }; 804 849 805 850 /** 806 851 * Enums ··· 810 855 ReadUncommitted: 'ReadUncommitted', 811 856 ReadCommitted: 'ReadCommitted', 812 857 RepeatableRead: 'RepeatableRead', 813 - Serializable: 'Serializable' 814 - } as const) 858 + Serializable: 'Serializable', 859 + } as const); 815 860 816 - export type TransactionIsolationLevel = (typeof TransactionIsolationLevel)[keyof typeof TransactionIsolationLevel] 817 - 861 + export type TransactionIsolationLevel = 862 + (typeof TransactionIsolationLevel)[keyof typeof TransactionIsolationLevel]; 818 863 819 864 export const UserScalarFieldEnum = { 820 865 did: 'did', ··· 822 867 displayName: 'displayName', 823 868 avatar: 'avatar', 824 869 createdAt: 'createdAt', 825 - updatedAt: 'updatedAt' 826 - } as const 870 + updatedAt: 'updatedAt', 871 + } as const; 827 872 828 - export type UserScalarFieldEnum = (typeof UserScalarFieldEnum)[keyof typeof UserScalarFieldEnum] 829 - 873 + export type UserScalarFieldEnum = 874 + (typeof UserScalarFieldEnum)[keyof typeof UserScalarFieldEnum]; 830 875 831 876 export const AuthSessionScalarFieldEnum = { 832 877 id: 'id', 833 878 userDid: 'userDid', 834 879 sessionData: 'sessionData', 835 880 createdAt: 'createdAt', 836 - updatedAt: 'updatedAt' 837 - } as const 881 + updatedAt: 'updatedAt', 882 + } as const; 838 883 839 - export type AuthSessionScalarFieldEnum = (typeof AuthSessionScalarFieldEnum)[keyof typeof AuthSessionScalarFieldEnum] 840 - 884 + export type AuthSessionScalarFieldEnum = 885 + (typeof AuthSessionScalarFieldEnum)[keyof typeof AuthSessionScalarFieldEnum]; 841 886 842 887 export const AuthStateScalarFieldEnum = { 843 888 key: 'key', 844 889 stateData: 'stateData', 845 890 expiresAt: 'expiresAt', 846 - createdAt: 'createdAt' 847 - } as const 891 + createdAt: 'createdAt', 892 + } as const; 848 893 849 - export type AuthStateScalarFieldEnum = (typeof AuthStateScalarFieldEnum)[keyof typeof AuthStateScalarFieldEnum] 850 - 894 + export type AuthStateScalarFieldEnum = 895 + (typeof AuthStateScalarFieldEnum)[keyof typeof AuthStateScalarFieldEnum]; 851 896 852 897 export const MovieScalarFieldEnum = { 853 898 movieId: 'movieId', ··· 858 903 releaseDate: 'releaseDate', 859 904 overview: 'overview', 860 905 createdAt: 'createdAt', 861 - updatedAt: 'updatedAt' 862 - } as const 863 - 864 - export type MovieScalarFieldEnum = (typeof MovieScalarFieldEnum)[keyof typeof MovieScalarFieldEnum] 906 + updatedAt: 'updatedAt', 907 + } as const; 865 908 909 + export type MovieScalarFieldEnum = 910 + (typeof MovieScalarFieldEnum)[keyof typeof MovieScalarFieldEnum]; 866 911 867 912 export const TrackedMovieScalarFieldEnum = { 868 913 id: 'id', ··· 874 919 status: 'status', 875 920 watchedDate: 'watchedDate', 876 921 createdAt: 'createdAt', 877 - updatedAt: 'updatedAt' 878 - } as const 879 - 880 - export type TrackedMovieScalarFieldEnum = (typeof TrackedMovieScalarFieldEnum)[keyof typeof TrackedMovieScalarFieldEnum] 922 + updatedAt: 'updatedAt', 923 + } as const; 881 924 925 + export type TrackedMovieScalarFieldEnum = 926 + (typeof TrackedMovieScalarFieldEnum)[keyof typeof TrackedMovieScalarFieldEnum]; 882 927 883 928 export const SortOrder = { 884 929 asc: 'asc', 885 - desc: 'desc' 886 - } as const 930 + desc: 'desc', 931 + } as const; 887 932 888 - export type SortOrder = (typeof SortOrder)[keyof typeof SortOrder] 889 - 933 + export type SortOrder = (typeof SortOrder)[keyof typeof SortOrder]; 890 934 891 935 export const QueryMode = { 892 936 default: 'default', 893 - insensitive: 'insensitive' 894 - } as const 937 + insensitive: 'insensitive', 938 + } as const; 895 939 896 - export type QueryMode = (typeof QueryMode)[keyof typeof QueryMode] 897 - 940 + export type QueryMode = (typeof QueryMode)[keyof typeof QueryMode]; 898 941 899 942 export const NullsOrder = { 900 943 first: 'first', 901 - last: 'last' 902 - } as const 903 - 904 - export type NullsOrder = (typeof NullsOrder)[keyof typeof NullsOrder] 944 + last: 'last', 945 + } as const; 905 946 906 - 947 + export type NullsOrder = (typeof NullsOrder)[keyof typeof NullsOrder]; 907 948 908 949 /** 909 950 * Field references 910 951 */ 911 952 912 - 913 953 /** 914 954 * Reference to a field of type 'String' 915 955 */ 916 - export type StringFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'String'> 917 - 918 - 956 + export type StringFieldRefInput<$PrismaModel> = FieldRefInputType< 957 + $PrismaModel, 958 + 'String' 959 + >; 919 960 920 961 /** 921 962 * Reference to a field of type 'String[]' 922 963 */ 923 - export type ListStringFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'String[]'> 924 - 925 - 964 + export type ListStringFieldRefInput<$PrismaModel> = FieldRefInputType< 965 + $PrismaModel, 966 + 'String[]' 967 + >; 926 968 927 969 /** 928 970 * Reference to a field of type 'DateTime' 929 971 */ 930 - export type DateTimeFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'DateTime'> 931 - 932 - 972 + export type DateTimeFieldRefInput<$PrismaModel> = FieldRefInputType< 973 + $PrismaModel, 974 + 'DateTime' 975 + >; 933 976 934 977 /** 935 978 * Reference to a field of type 'DateTime[]' 936 979 */ 937 - export type ListDateTimeFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'DateTime[]'> 938 - 939 - 980 + export type ListDateTimeFieldRefInput<$PrismaModel> = FieldRefInputType< 981 + $PrismaModel, 982 + 'DateTime[]' 983 + >; 940 984 941 985 /** 942 986 * Reference to a field of type 'Int' 943 987 */ 944 - export type IntFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'Int'> 945 - 946 - 988 + export type IntFieldRefInput<$PrismaModel> = FieldRefInputType< 989 + $PrismaModel, 990 + 'Int' 991 + >; 947 992 948 993 /** 949 994 * Reference to a field of type 'Int[]' 950 995 */ 951 - export type ListIntFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'Int[]'> 952 - 953 - 996 + export type ListIntFieldRefInput<$PrismaModel> = FieldRefInputType< 997 + $PrismaModel, 998 + 'Int[]' 999 + >; 954 1000 955 1001 /** 956 1002 * Reference to a field of type 'Float' 957 1003 */ 958 - export type FloatFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'Float'> 959 - 960 - 1004 + export type FloatFieldRefInput<$PrismaModel> = FieldRefInputType< 1005 + $PrismaModel, 1006 + 'Float' 1007 + >; 961 1008 962 1009 /** 963 1010 * Reference to a field of type 'Float[]' 964 1011 */ 965 - export type ListFloatFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'Float[]'> 966 - 1012 + export type ListFloatFieldRefInput<$PrismaModel> = FieldRefInputType< 1013 + $PrismaModel, 1014 + 'Float[]' 1015 + >; 967 1016 968 1017 /** 969 1018 * Batch Payload for updateMany & deleteMany & createMany 970 1019 */ 971 1020 export type BatchPayload = { 972 - count: number 973 - } 1021 + count: number; 1022 + }; 974 1023 975 - export const defineExtension = runtime.Extensions.defineExtension as unknown as runtime.Types.Extensions.ExtendsHook<"define", TypeMapCb, runtime.Types.Extensions.DefaultArgs> 976 - export type DefaultPrismaClient = PrismaClient 977 - export type ErrorFormat = 'pretty' | 'colorless' | 'minimal' 978 - export type PrismaClientOptions = ({ 979 - /** 980 - * Instance of a Driver Adapter, e.g., like one provided by `@prisma/adapter-pg`. 981 - */ 982 - adapter: runtime.SqlDriverAdapterFactory 983 - accelerateUrl?: never 984 - } | { 985 - /** 986 - * Prisma Accelerate URL allowing the client to connect through Accelerate instead of a direct database. 987 - */ 988 - accelerateUrl: string 989 - adapter?: never 990 - }) & { 1024 + export const defineExtension = runtime.Extensions 1025 + .defineExtension as unknown as runtime.Types.Extensions.ExtendsHook< 1026 + 'define', 1027 + TypeMapCb, 1028 + runtime.Types.Extensions.DefaultArgs 1029 + >; 1030 + export type DefaultPrismaClient = PrismaClient; 1031 + export type ErrorFormat = 'pretty' | 'colorless' | 'minimal'; 1032 + export type PrismaClientOptions = ( 1033 + | { 1034 + /** 1035 + * Instance of a Driver Adapter, e.g., like one provided by `@prisma/adapter-pg`. 1036 + */ 1037 + adapter: runtime.SqlDriverAdapterFactory; 1038 + accelerateUrl?: never; 1039 + } 1040 + | { 1041 + /** 1042 + * Prisma Accelerate URL allowing the client to connect through Accelerate instead of a direct database. 1043 + */ 1044 + accelerateUrl: string; 1045 + adapter?: never; 1046 + } 1047 + ) & { 991 1048 /** 992 1049 * @default "colorless" 993 1050 */ 994 - errorFormat?: ErrorFormat 1051 + errorFormat?: ErrorFormat; 995 1052 /** 996 1053 * @example 997 1054 * ``` 998 1055 * // Shorthand for `emit: 'stdout'` 999 1056 * log: ['query', 'info', 'warn', 'error'] 1000 - * 1057 + * 1001 1058 * // Emit as events only 1002 1059 * log: [ 1003 1060 * { emit: 'event', level: 'query' }, ··· 1005 1062 * { emit: 'event', level: 'warn' } 1006 1063 * { emit: 'event', level: 'error' } 1007 1064 * ] 1008 - * 1065 + * 1009 1066 * / Emit as events and log to stdout 1010 1067 * og: [ 1011 1068 * { emit: 'stdout', level: 'query' }, 1012 1069 * { emit: 'stdout', level: 'info' }, 1013 1070 * { emit: 'stdout', level: 'warn' } 1014 1071 * { emit: 'stdout', level: 'error' } 1015 - * 1072 + * 1016 1073 * ``` 1017 1074 * Read more in our [docs](https://pris.ly/d/logging). 1018 1075 */ 1019 - log?: (LogLevel | LogDefinition)[] 1076 + log?: (LogLevel | LogDefinition)[]; 1020 1077 /** 1021 1078 * The default values for transactionOptions 1022 1079 * maxWait ?= 2000 1023 1080 * timeout ?= 5000 1024 1081 */ 1025 1082 transactionOptions?: { 1026 - maxWait?: number 1027 - timeout?: number 1028 - isolationLevel?: TransactionIsolationLevel 1029 - } 1083 + maxWait?: number; 1084 + timeout?: number; 1085 + isolationLevel?: TransactionIsolationLevel; 1086 + }; 1030 1087 /** 1031 1088 * Global configuration for omitting model fields by default. 1032 - * 1089 + * 1033 1090 * @example 1034 1091 * ``` 1035 1092 * const prisma = new PrismaClient({ ··· 1041 1098 * }) 1042 1099 * ``` 1043 1100 */ 1044 - omit?: GlobalOmitConfig 1101 + omit?: GlobalOmitConfig; 1045 1102 /** 1046 1103 * SQL commenter plugins that add metadata to SQL queries as comments. 1047 1104 * Comments follow the sqlcommenter format: https://google.github.io/sqlcommenter/ 1048 - * 1105 + * 1049 1106 * @example 1050 1107 * ``` 1051 1108 * const prisma = new PrismaClient({ ··· 1057 1114 * }) 1058 1115 * ``` 1059 1116 */ 1060 - comments?: runtime.SqlCommenterPlugin[] 1061 - } 1117 + comments?: runtime.SqlCommenterPlugin[]; 1118 + }; 1062 1119 export type GlobalOmitConfig = { 1063 - user?: Prisma.UserOmit 1064 - authSession?: Prisma.AuthSessionOmit 1065 - authState?: Prisma.AuthStateOmit 1066 - movie?: Prisma.MovieOmit 1067 - trackedMovie?: Prisma.TrackedMovieOmit 1068 - } 1120 + user?: Prisma.UserOmit; 1121 + authSession?: Prisma.AuthSessionOmit; 1122 + authState?: Prisma.AuthStateOmit; 1123 + movie?: Prisma.MovieOmit; 1124 + trackedMovie?: Prisma.TrackedMovieOmit; 1125 + }; 1069 1126 1070 1127 /* Types for Logging */ 1071 - export type LogLevel = 'info' | 'query' | 'warn' | 'error' 1128 + export type LogLevel = 'info' | 'query' | 'warn' | 'error'; 1072 1129 export type LogDefinition = { 1073 - level: LogLevel 1074 - emit: 'stdout' | 'event' 1075 - } 1130 + level: LogLevel; 1131 + emit: 'stdout' | 'event'; 1132 + }; 1076 1133 1077 1134 export type CheckIsLogLevel<T> = T extends LogLevel ? T : never; 1078 1135 ··· 1080 1137 T extends LogDefinition ? T['level'] : T 1081 1138 >; 1082 1139 1083 - export type GetEvents<T extends any[]> = T extends Array<LogLevel | LogDefinition> 1084 - ? GetLogType<T[number]> 1085 - : never; 1140 + export type GetEvents<T extends any[]> = 1141 + T extends Array<LogLevel | LogDefinition> ? GetLogType<T[number]> : never; 1086 1142 1087 1143 export type QueryEvent = { 1088 - timestamp: Date 1089 - query: string 1090 - params: string 1091 - duration: number 1092 - target: string 1093 - } 1144 + timestamp: Date; 1145 + query: string; 1146 + params: string; 1147 + duration: number; 1148 + target: string; 1149 + }; 1094 1150 1095 1151 export type LogEvent = { 1096 - timestamp: Date 1097 - message: string 1098 - target: string 1099 - } 1152 + timestamp: Date; 1153 + message: string; 1154 + target: string; 1155 + }; 1100 1156 /* End Types for Logging */ 1101 - 1102 1157 1103 1158 export type PrismaAction = 1104 1159 | 'findUnique' ··· 1121 1176 | 'count' 1122 1177 | 'runCommandRaw' 1123 1178 | 'findRaw' 1124 - | 'groupBy' 1179 + | 'groupBy'; 1125 1180 1126 1181 /** 1127 1182 * `PrismaClient` proxy available in interactive transactions. 1128 1183 */ 1129 - export type TransactionClient = Omit<DefaultPrismaClient, runtime.ITXClientDenyList> 1130 - 1184 + export type TransactionClient = Omit< 1185 + DefaultPrismaClient, 1186 + runtime.ITXClientDenyList 1187 + >;
+54 -53
backend/src/generated/internal/prismaNamespaceBrowser.ts
··· 1 1 /* !!! This is code generated by Prisma. Do not edit directly. !!! */ 2 2 /* eslint-disable */ 3 3 // biome-ignore-all lint: generated file 4 - // @ts-nocheck 4 + // @ts-nocheck 5 5 /* 6 6 * WARNING: This is an internal file that is subject to change! 7 7 * ··· 14 14 * model files in the `model` directory! 15 15 */ 16 16 17 - import * as runtime from "@prisma/client/runtime/index-browser" 18 - 19 - export type * from '../models.js' 20 - export type * from './prismaNamespace.js' 17 + import * as runtime from '@prisma/client/runtime/index-browser'; 21 18 22 - export const Decimal = runtime.Decimal 19 + export type * from '../models.js'; 20 + export type * from './prismaNamespace.js'; 23 21 22 + export const Decimal = runtime.Decimal; 24 23 25 24 export const NullTypes = { 26 - DbNull: runtime.NullTypes.DbNull as (new (secret: never) => typeof runtime.DbNull), 27 - JsonNull: runtime.NullTypes.JsonNull as (new (secret: never) => typeof runtime.JsonNull), 28 - AnyNull: runtime.NullTypes.AnyNull as (new (secret: never) => typeof runtime.AnyNull), 29 - } 25 + DbNull: runtime.NullTypes.DbNull as new ( 26 + secret: never, 27 + ) => typeof runtime.DbNull, 28 + JsonNull: runtime.NullTypes.JsonNull as new ( 29 + secret: never, 30 + ) => typeof runtime.JsonNull, 31 + AnyNull: runtime.NullTypes.AnyNull as new ( 32 + secret: never, 33 + ) => typeof runtime.AnyNull, 34 + }; 30 35 /** 31 36 * Helper for filtering JSON entries that have `null` on the database (empty on the db) 32 37 * 33 38 * @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field 34 39 */ 35 - export const DbNull = runtime.DbNull 40 + export const DbNull = runtime.DbNull; 36 41 37 42 /** 38 43 * Helper for filtering JSON entries that have JSON `null` values (not empty on the db) 39 44 * 40 45 * @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field 41 46 */ 42 - export const JsonNull = runtime.JsonNull 47 + export const JsonNull = runtime.JsonNull; 43 48 44 49 /** 45 50 * Helper for filtering JSON entries that are `Prisma.DbNull` or `Prisma.JsonNull` 46 51 * 47 52 * @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field 48 53 */ 49 - export const AnyNull = runtime.AnyNull 50 - 54 + export const AnyNull = runtime.AnyNull; 51 55 52 56 export const ModelName = { 53 57 User: 'User', 54 58 AuthSession: 'AuthSession', 55 59 AuthState: 'AuthState', 56 60 Movie: 'Movie', 57 - TrackedMovie: 'TrackedMovie' 58 - } as const 61 + TrackedMovie: 'TrackedMovie', 62 + } as const; 59 63 60 - export type ModelName = (typeof ModelName)[keyof typeof ModelName] 64 + export type ModelName = (typeof ModelName)[keyof typeof ModelName]; 61 65 62 66 /* 63 67 * Enums ··· 67 71 ReadUncommitted: 'ReadUncommitted', 68 72 ReadCommitted: 'ReadCommitted', 69 73 RepeatableRead: 'RepeatableRead', 70 - Serializable: 'Serializable' 71 - } as const) 74 + Serializable: 'Serializable', 75 + } as const); 72 76 73 - export type TransactionIsolationLevel = (typeof TransactionIsolationLevel)[keyof typeof TransactionIsolationLevel] 74 - 77 + export type TransactionIsolationLevel = 78 + (typeof TransactionIsolationLevel)[keyof typeof TransactionIsolationLevel]; 75 79 76 80 export const UserScalarFieldEnum = { 77 81 did: 'did', ··· 79 83 displayName: 'displayName', 80 84 avatar: 'avatar', 81 85 createdAt: 'createdAt', 82 - updatedAt: 'updatedAt' 83 - } as const 86 + updatedAt: 'updatedAt', 87 + } as const; 84 88 85 - export type UserScalarFieldEnum = (typeof UserScalarFieldEnum)[keyof typeof UserScalarFieldEnum] 86 - 89 + export type UserScalarFieldEnum = 90 + (typeof UserScalarFieldEnum)[keyof typeof UserScalarFieldEnum]; 87 91 88 92 export const AuthSessionScalarFieldEnum = { 89 93 id: 'id', 90 94 userDid: 'userDid', 91 95 sessionData: 'sessionData', 92 96 createdAt: 'createdAt', 93 - updatedAt: 'updatedAt' 94 - } as const 97 + updatedAt: 'updatedAt', 98 + } as const; 95 99 96 - export type AuthSessionScalarFieldEnum = (typeof AuthSessionScalarFieldEnum)[keyof typeof AuthSessionScalarFieldEnum] 97 - 100 + export type AuthSessionScalarFieldEnum = 101 + (typeof AuthSessionScalarFieldEnum)[keyof typeof AuthSessionScalarFieldEnum]; 98 102 99 103 export const AuthStateScalarFieldEnum = { 100 104 key: 'key', 101 105 stateData: 'stateData', 102 106 expiresAt: 'expiresAt', 103 - createdAt: 'createdAt' 104 - } as const 107 + createdAt: 'createdAt', 108 + } as const; 105 109 106 - export type AuthStateScalarFieldEnum = (typeof AuthStateScalarFieldEnum)[keyof typeof AuthStateScalarFieldEnum] 107 - 110 + export type AuthStateScalarFieldEnum = 111 + (typeof AuthStateScalarFieldEnum)[keyof typeof AuthStateScalarFieldEnum]; 108 112 109 113 export const MovieScalarFieldEnum = { 110 114 movieId: 'movieId', ··· 115 119 releaseDate: 'releaseDate', 116 120 overview: 'overview', 117 121 createdAt: 'createdAt', 118 - updatedAt: 'updatedAt' 119 - } as const 122 + updatedAt: 'updatedAt', 123 + } as const; 120 124 121 - export type MovieScalarFieldEnum = (typeof MovieScalarFieldEnum)[keyof typeof MovieScalarFieldEnum] 122 - 125 + export type MovieScalarFieldEnum = 126 + (typeof MovieScalarFieldEnum)[keyof typeof MovieScalarFieldEnum]; 123 127 124 128 export const TrackedMovieScalarFieldEnum = { 125 129 id: 'id', ··· 131 135 status: 'status', 132 136 watchedDate: 'watchedDate', 133 137 createdAt: 'createdAt', 134 - updatedAt: 'updatedAt' 135 - } as const 138 + updatedAt: 'updatedAt', 139 + } as const; 136 140 137 - export type TrackedMovieScalarFieldEnum = (typeof TrackedMovieScalarFieldEnum)[keyof typeof TrackedMovieScalarFieldEnum] 138 - 141 + export type TrackedMovieScalarFieldEnum = 142 + (typeof TrackedMovieScalarFieldEnum)[keyof typeof TrackedMovieScalarFieldEnum]; 139 143 140 144 export const SortOrder = { 141 145 asc: 'asc', 142 - desc: 'desc' 143 - } as const 146 + desc: 'desc', 147 + } as const; 144 148 145 - export type SortOrder = (typeof SortOrder)[keyof typeof SortOrder] 146 - 149 + export type SortOrder = (typeof SortOrder)[keyof typeof SortOrder]; 147 150 148 151 export const QueryMode = { 149 152 default: 'default', 150 - insensitive: 'insensitive' 151 - } as const 153 + insensitive: 'insensitive', 154 + } as const; 152 155 153 - export type QueryMode = (typeof QueryMode)[keyof typeof QueryMode] 154 - 156 + export type QueryMode = (typeof QueryMode)[keyof typeof QueryMode]; 155 157 156 158 export const NullsOrder = { 157 159 first: 'first', 158 - last: 'last' 159 - } as const 160 - 161 - export type NullsOrder = (typeof NullsOrder)[keyof typeof NullsOrder] 160 + last: 'last', 161 + } as const; 162 162 163 + export type NullsOrder = (typeof NullsOrder)[keyof typeof NullsOrder];
+7 -7
backend/src/generated/models.ts
··· 1 1 /* !!! This is code generated by Prisma. Do not edit directly. !!! */ 2 2 /* eslint-disable */ 3 3 // biome-ignore-all lint: generated file 4 - // @ts-nocheck 4 + // @ts-nocheck 5 5 /* 6 6 * This is a barrel export file for all models and their related types. 7 7 * 8 8 * 🟢 You can import this file directly. 9 9 */ 10 - export type * from './models/User.js' 11 - export type * from './models/AuthSession.js' 12 - export type * from './models/AuthState.js' 13 - export type * from './models/Movie.js' 14 - export type * from './models/TrackedMovie.js' 15 - export type * from './commonInputTypes.js' 10 + export type * from './models/User.js'; 11 + export type * from './models/AuthSession.js'; 12 + export type * from './models/AuthState.js'; 13 + export type * from './models/Movie.js'; 14 + export type * from './models/TrackedMovie.js'; 15 + export type * from './commonInputTypes.js';
+747 -457
backend/src/generated/models/AuthSession.ts
··· 1 1 /* !!! This is code generated by Prisma. Do not edit directly. !!! */ 2 2 /* eslint-disable */ 3 3 // biome-ignore-all lint: generated file 4 - // @ts-nocheck 4 + // @ts-nocheck 5 5 /* 6 6 * This file exports the `AuthSession` model and its related types. 7 7 * 8 8 * 🟢 You can import this file directly. 9 9 */ 10 - import type * as runtime from "@prisma/client/runtime/client" 11 - import type * as $Enums from "../enums.js" 12 - import type * as Prisma from "../internal/prismaNamespace.js" 10 + import type * as runtime from '@prisma/client/runtime/client'; 11 + import type * as $Enums from '../enums.js'; 12 + import type * as Prisma from '../internal/prismaNamespace.js'; 13 13 14 14 /** 15 15 * Model AuthSession 16 - * 16 + * 17 17 */ 18 - export type AuthSessionModel = runtime.Types.Result.DefaultSelection<Prisma.$AuthSessionPayload> 18 + export type AuthSessionModel = 19 + runtime.Types.Result.DefaultSelection<Prisma.$AuthSessionPayload>; 19 20 20 21 export type AggregateAuthSession = { 21 - _count: AuthSessionCountAggregateOutputType | null 22 - _min: AuthSessionMinAggregateOutputType | null 23 - _max: AuthSessionMaxAggregateOutputType | null 24 - } 22 + _count: AuthSessionCountAggregateOutputType | null; 23 + _min: AuthSessionMinAggregateOutputType | null; 24 + _max: AuthSessionMaxAggregateOutputType | null; 25 + }; 25 26 26 27 export type AuthSessionMinAggregateOutputType = { 27 - id: string | null 28 - userDid: string | null 29 - sessionData: string | null 30 - createdAt: Date | null 31 - updatedAt: Date | null 32 - } 28 + id: string | null; 29 + userDid: string | null; 30 + sessionData: string | null; 31 + createdAt: Date | null; 32 + updatedAt: Date | null; 33 + }; 33 34 34 35 export type AuthSessionMaxAggregateOutputType = { 35 - id: string | null 36 - userDid: string | null 37 - sessionData: string | null 38 - createdAt: Date | null 39 - updatedAt: Date | null 40 - } 36 + id: string | null; 37 + userDid: string | null; 38 + sessionData: string | null; 39 + createdAt: Date | null; 40 + updatedAt: Date | null; 41 + }; 41 42 42 43 export type AuthSessionCountAggregateOutputType = { 43 - id: number 44 - userDid: number 45 - sessionData: number 46 - createdAt: number 47 - updatedAt: number 48 - _all: number 49 - } 50 - 44 + id: number; 45 + userDid: number; 46 + sessionData: number; 47 + createdAt: number; 48 + updatedAt: number; 49 + _all: number; 50 + }; 51 51 52 52 export type AuthSessionMinAggregateInputType = { 53 - id?: true 54 - userDid?: true 55 - sessionData?: true 56 - createdAt?: true 57 - updatedAt?: true 58 - } 53 + id?: true; 54 + userDid?: true; 55 + sessionData?: true; 56 + createdAt?: true; 57 + updatedAt?: true; 58 + }; 59 59 60 60 export type AuthSessionMaxAggregateInputType = { 61 - id?: true 62 - userDid?: true 63 - sessionData?: true 64 - createdAt?: true 65 - updatedAt?: true 66 - } 61 + id?: true; 62 + userDid?: true; 63 + sessionData?: true; 64 + createdAt?: true; 65 + updatedAt?: true; 66 + }; 67 67 68 68 export type AuthSessionCountAggregateInputType = { 69 - id?: true 70 - userDid?: true 71 - sessionData?: true 72 - createdAt?: true 73 - updatedAt?: true 74 - _all?: true 75 - } 69 + id?: true; 70 + userDid?: true; 71 + sessionData?: true; 72 + createdAt?: true; 73 + updatedAt?: true; 74 + _all?: true; 75 + }; 76 76 77 - export type AuthSessionAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = { 77 + export type AuthSessionAggregateArgs< 78 + ExtArgs extends runtime.Types.Extensions.InternalArgs = 79 + runtime.Types.Extensions.DefaultArgs, 80 + > = { 78 81 /** 79 82 * Filter which AuthSession to aggregate. 80 83 */ 81 - where?: Prisma.AuthSessionWhereInput 84 + where?: Prisma.AuthSessionWhereInput; 82 85 /** 83 86 * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} 84 - * 87 + * 85 88 * Determine the order of AuthSessions to fetch. 86 89 */ 87 - orderBy?: Prisma.AuthSessionOrderByWithRelationInput | Prisma.AuthSessionOrderByWithRelationInput[] 90 + orderBy?: 91 + | Prisma.AuthSessionOrderByWithRelationInput 92 + | Prisma.AuthSessionOrderByWithRelationInput[]; 88 93 /** 89 94 * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} 90 - * 95 + * 91 96 * Sets the start position 92 97 */ 93 - cursor?: Prisma.AuthSessionWhereUniqueInput 98 + cursor?: Prisma.AuthSessionWhereUniqueInput; 94 99 /** 95 100 * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} 96 - * 101 + * 97 102 * Take `±n` AuthSessions from the position of the cursor. 98 103 */ 99 - take?: number 104 + take?: number; 100 105 /** 101 106 * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} 102 - * 107 + * 103 108 * Skip the first `n` AuthSessions. 104 109 */ 105 - skip?: number 110 + skip?: number; 106 111 /** 107 112 * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} 108 - * 113 + * 109 114 * Count returned AuthSessions 110 - **/ 111 - _count?: true | AuthSessionCountAggregateInputType 115 + **/ 116 + _count?: true | AuthSessionCountAggregateInputType; 112 117 /** 113 118 * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} 114 - * 119 + * 115 120 * Select which fields to find the minimum value 116 - **/ 117 - _min?: AuthSessionMinAggregateInputType 121 + **/ 122 + _min?: AuthSessionMinAggregateInputType; 118 123 /** 119 124 * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} 120 - * 125 + * 121 126 * Select which fields to find the maximum value 122 - **/ 123 - _max?: AuthSessionMaxAggregateInputType 124 - } 127 + **/ 128 + _max?: AuthSessionMaxAggregateInputType; 129 + }; 125 130 126 131 export type GetAuthSessionAggregateType<T extends AuthSessionAggregateArgs> = { 127 - [P in keyof T & keyof AggregateAuthSession]: P extends '_count' | 'count' 132 + [P in keyof T & keyof AggregateAuthSession]: P extends '_count' | 'count' 128 133 ? T[P] extends true 129 134 ? number 130 135 : Prisma.GetScalarType<T[P], AggregateAuthSession[P]> 131 - : Prisma.GetScalarType<T[P], AggregateAuthSession[P]> 132 - } 136 + : Prisma.GetScalarType<T[P], AggregateAuthSession[P]>; 137 + }; 133 138 134 - 135 - 136 - 137 - export type AuthSessionGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = { 138 - where?: Prisma.AuthSessionWhereInput 139 - orderBy?: Prisma.AuthSessionOrderByWithAggregationInput | Prisma.AuthSessionOrderByWithAggregationInput[] 140 - by: Prisma.AuthSessionScalarFieldEnum[] | Prisma.AuthSessionScalarFieldEnum 141 - having?: Prisma.AuthSessionScalarWhereWithAggregatesInput 142 - take?: number 143 - skip?: number 144 - _count?: AuthSessionCountAggregateInputType | true 145 - _min?: AuthSessionMinAggregateInputType 146 - _max?: AuthSessionMaxAggregateInputType 147 - } 139 + export type AuthSessionGroupByArgs< 140 + ExtArgs extends runtime.Types.Extensions.InternalArgs = 141 + runtime.Types.Extensions.DefaultArgs, 142 + > = { 143 + where?: Prisma.AuthSessionWhereInput; 144 + orderBy?: 145 + | Prisma.AuthSessionOrderByWithAggregationInput 146 + | Prisma.AuthSessionOrderByWithAggregationInput[]; 147 + by: Prisma.AuthSessionScalarFieldEnum[] | Prisma.AuthSessionScalarFieldEnum; 148 + having?: Prisma.AuthSessionScalarWhereWithAggregatesInput; 149 + take?: number; 150 + skip?: number; 151 + _count?: AuthSessionCountAggregateInputType | true; 152 + _min?: AuthSessionMinAggregateInputType; 153 + _max?: AuthSessionMaxAggregateInputType; 154 + }; 148 155 149 156 export type AuthSessionGroupByOutputType = { 150 - id: string 151 - userDid: string 152 - sessionData: string 153 - createdAt: Date 154 - updatedAt: Date 155 - _count: AuthSessionCountAggregateOutputType | null 156 - _min: AuthSessionMinAggregateOutputType | null 157 - _max: AuthSessionMaxAggregateOutputType | null 158 - } 157 + id: string; 158 + userDid: string; 159 + sessionData: string; 160 + createdAt: Date; 161 + updatedAt: Date; 162 + _count: AuthSessionCountAggregateOutputType | null; 163 + _min: AuthSessionMinAggregateOutputType | null; 164 + _max: AuthSessionMaxAggregateOutputType | null; 165 + }; 159 166 160 - type GetAuthSessionGroupByPayload<T extends AuthSessionGroupByArgs> = Prisma.PrismaPromise< 161 - Array< 162 - Prisma.PickEnumerable<AuthSessionGroupByOutputType, T['by']> & 163 - { 164 - [P in ((keyof T) & (keyof AuthSessionGroupByOutputType))]: P extends '_count' 167 + type GetAuthSessionGroupByPayload<T extends AuthSessionGroupByArgs> = 168 + Prisma.PrismaPromise< 169 + Array< 170 + Prisma.PickEnumerable<AuthSessionGroupByOutputType, T['by']> & { 171 + [P in keyof T & keyof AuthSessionGroupByOutputType]: P extends '_count' 165 172 ? T[P] extends boolean 166 173 ? number 167 174 : Prisma.GetScalarType<T[P], AuthSessionGroupByOutputType[P]> 168 - : Prisma.GetScalarType<T[P], AuthSessionGroupByOutputType[P]> 175 + : Prisma.GetScalarType<T[P], AuthSessionGroupByOutputType[P]>; 169 176 } 170 177 > 171 - > 172 - 173 - 178 + >; 174 179 175 180 export type AuthSessionWhereInput = { 176 - AND?: Prisma.AuthSessionWhereInput | Prisma.AuthSessionWhereInput[] 177 - OR?: Prisma.AuthSessionWhereInput[] 178 - NOT?: Prisma.AuthSessionWhereInput | Prisma.AuthSessionWhereInput[] 179 - id?: Prisma.StringFilter<"AuthSession"> | string 180 - userDid?: Prisma.StringFilter<"AuthSession"> | string 181 - sessionData?: Prisma.StringFilter<"AuthSession"> | string 182 - createdAt?: Prisma.DateTimeFilter<"AuthSession"> | Date | string 183 - updatedAt?: Prisma.DateTimeFilter<"AuthSession"> | Date | string 184 - } 181 + AND?: Prisma.AuthSessionWhereInput | Prisma.AuthSessionWhereInput[]; 182 + OR?: Prisma.AuthSessionWhereInput[]; 183 + NOT?: Prisma.AuthSessionWhereInput | Prisma.AuthSessionWhereInput[]; 184 + id?: Prisma.StringFilter<'AuthSession'> | string; 185 + userDid?: Prisma.StringFilter<'AuthSession'> | string; 186 + sessionData?: Prisma.StringFilter<'AuthSession'> | string; 187 + createdAt?: Prisma.DateTimeFilter<'AuthSession'> | Date | string; 188 + updatedAt?: Prisma.DateTimeFilter<'AuthSession'> | Date | string; 189 + }; 185 190 186 191 export type AuthSessionOrderByWithRelationInput = { 187 - id?: Prisma.SortOrder 188 - userDid?: Prisma.SortOrder 189 - sessionData?: Prisma.SortOrder 190 - createdAt?: Prisma.SortOrder 191 - updatedAt?: Prisma.SortOrder 192 - } 192 + id?: Prisma.SortOrder; 193 + userDid?: Prisma.SortOrder; 194 + sessionData?: Prisma.SortOrder; 195 + createdAt?: Prisma.SortOrder; 196 + updatedAt?: Prisma.SortOrder; 197 + }; 193 198 194 - export type AuthSessionWhereUniqueInput = Prisma.AtLeast<{ 195 - id?: string 196 - userDid?: string 197 - AND?: Prisma.AuthSessionWhereInput | Prisma.AuthSessionWhereInput[] 198 - OR?: Prisma.AuthSessionWhereInput[] 199 - NOT?: Prisma.AuthSessionWhereInput | Prisma.AuthSessionWhereInput[] 200 - sessionData?: Prisma.StringFilter<"AuthSession"> | string 201 - createdAt?: Prisma.DateTimeFilter<"AuthSession"> | Date | string 202 - updatedAt?: Prisma.DateTimeFilter<"AuthSession"> | Date | string 203 - }, "id" | "userDid"> 199 + export type AuthSessionWhereUniqueInput = Prisma.AtLeast< 200 + { 201 + id?: string; 202 + userDid?: string; 203 + AND?: Prisma.AuthSessionWhereInput | Prisma.AuthSessionWhereInput[]; 204 + OR?: Prisma.AuthSessionWhereInput[]; 205 + NOT?: Prisma.AuthSessionWhereInput | Prisma.AuthSessionWhereInput[]; 206 + sessionData?: Prisma.StringFilter<'AuthSession'> | string; 207 + createdAt?: Prisma.DateTimeFilter<'AuthSession'> | Date | string; 208 + updatedAt?: Prisma.DateTimeFilter<'AuthSession'> | Date | string; 209 + }, 210 + 'id' | 'userDid' 211 + >; 204 212 205 213 export type AuthSessionOrderByWithAggregationInput = { 206 - id?: Prisma.SortOrder 207 - userDid?: Prisma.SortOrder 208 - sessionData?: Prisma.SortOrder 209 - createdAt?: Prisma.SortOrder 210 - updatedAt?: Prisma.SortOrder 211 - _count?: Prisma.AuthSessionCountOrderByAggregateInput 212 - _max?: Prisma.AuthSessionMaxOrderByAggregateInput 213 - _min?: Prisma.AuthSessionMinOrderByAggregateInput 214 - } 214 + id?: Prisma.SortOrder; 215 + userDid?: Prisma.SortOrder; 216 + sessionData?: Prisma.SortOrder; 217 + createdAt?: Prisma.SortOrder; 218 + updatedAt?: Prisma.SortOrder; 219 + _count?: Prisma.AuthSessionCountOrderByAggregateInput; 220 + _max?: Prisma.AuthSessionMaxOrderByAggregateInput; 221 + _min?: Prisma.AuthSessionMinOrderByAggregateInput; 222 + }; 215 223 216 224 export type AuthSessionScalarWhereWithAggregatesInput = { 217 - AND?: Prisma.AuthSessionScalarWhereWithAggregatesInput | Prisma.AuthSessionScalarWhereWithAggregatesInput[] 218 - OR?: Prisma.AuthSessionScalarWhereWithAggregatesInput[] 219 - NOT?: Prisma.AuthSessionScalarWhereWithAggregatesInput | Prisma.AuthSessionScalarWhereWithAggregatesInput[] 220 - id?: Prisma.StringWithAggregatesFilter<"AuthSession"> | string 221 - userDid?: Prisma.StringWithAggregatesFilter<"AuthSession"> | string 222 - sessionData?: Prisma.StringWithAggregatesFilter<"AuthSession"> | string 223 - createdAt?: Prisma.DateTimeWithAggregatesFilter<"AuthSession"> | Date | string 224 - updatedAt?: Prisma.DateTimeWithAggregatesFilter<"AuthSession"> | Date | string 225 - } 225 + AND?: 226 + | Prisma.AuthSessionScalarWhereWithAggregatesInput 227 + | Prisma.AuthSessionScalarWhereWithAggregatesInput[]; 228 + OR?: Prisma.AuthSessionScalarWhereWithAggregatesInput[]; 229 + NOT?: 230 + | Prisma.AuthSessionScalarWhereWithAggregatesInput 231 + | Prisma.AuthSessionScalarWhereWithAggregatesInput[]; 232 + id?: Prisma.StringWithAggregatesFilter<'AuthSession'> | string; 233 + userDid?: Prisma.StringWithAggregatesFilter<'AuthSession'> | string; 234 + sessionData?: Prisma.StringWithAggregatesFilter<'AuthSession'> | string; 235 + createdAt?: 236 + | Prisma.DateTimeWithAggregatesFilter<'AuthSession'> 237 + | Date 238 + | string; 239 + updatedAt?: 240 + | Prisma.DateTimeWithAggregatesFilter<'AuthSession'> 241 + | Date 242 + | string; 243 + }; 226 244 227 245 export type AuthSessionCreateInput = { 228 - id?: string 229 - userDid: string 230 - sessionData: string 231 - createdAt?: Date | string 232 - updatedAt?: Date | string 233 - } 246 + id?: string; 247 + userDid: string; 248 + sessionData: string; 249 + createdAt?: Date | string; 250 + updatedAt?: Date | string; 251 + }; 234 252 235 253 export type AuthSessionUncheckedCreateInput = { 236 - id?: string 237 - userDid: string 238 - sessionData: string 239 - createdAt?: Date | string 240 - updatedAt?: Date | string 241 - } 254 + id?: string; 255 + userDid: string; 256 + sessionData: string; 257 + createdAt?: Date | string; 258 + updatedAt?: Date | string; 259 + }; 242 260 243 261 export type AuthSessionUpdateInput = { 244 - id?: Prisma.StringFieldUpdateOperationsInput | string 245 - userDid?: Prisma.StringFieldUpdateOperationsInput | string 246 - sessionData?: Prisma.StringFieldUpdateOperationsInput | string 247 - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string 248 - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string 249 - } 262 + id?: Prisma.StringFieldUpdateOperationsInput | string; 263 + userDid?: Prisma.StringFieldUpdateOperationsInput | string; 264 + sessionData?: Prisma.StringFieldUpdateOperationsInput | string; 265 + createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string; 266 + updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string; 267 + }; 250 268 251 269 export type AuthSessionUncheckedUpdateInput = { 252 - id?: Prisma.StringFieldUpdateOperationsInput | string 253 - userDid?: Prisma.StringFieldUpdateOperationsInput | string 254 - sessionData?: Prisma.StringFieldUpdateOperationsInput | string 255 - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string 256 - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string 257 - } 270 + id?: Prisma.StringFieldUpdateOperationsInput | string; 271 + userDid?: Prisma.StringFieldUpdateOperationsInput | string; 272 + sessionData?: Prisma.StringFieldUpdateOperationsInput | string; 273 + createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string; 274 + updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string; 275 + }; 258 276 259 277 export type AuthSessionCreateManyInput = { 260 - id?: string 261 - userDid: string 262 - sessionData: string 263 - createdAt?: Date | string 264 - updatedAt?: Date | string 265 - } 278 + id?: string; 279 + userDid: string; 280 + sessionData: string; 281 + createdAt?: Date | string; 282 + updatedAt?: Date | string; 283 + }; 266 284 267 285 export type AuthSessionUpdateManyMutationInput = { 268 - id?: Prisma.StringFieldUpdateOperationsInput | string 269 - userDid?: Prisma.StringFieldUpdateOperationsInput | string 270 - sessionData?: Prisma.StringFieldUpdateOperationsInput | string 271 - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string 272 - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string 273 - } 286 + id?: Prisma.StringFieldUpdateOperationsInput | string; 287 + userDid?: Prisma.StringFieldUpdateOperationsInput | string; 288 + sessionData?: Prisma.StringFieldUpdateOperationsInput | string; 289 + createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string; 290 + updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string; 291 + }; 274 292 275 293 export type AuthSessionUncheckedUpdateManyInput = { 276 - id?: Prisma.StringFieldUpdateOperationsInput | string 277 - userDid?: Prisma.StringFieldUpdateOperationsInput | string 278 - sessionData?: Prisma.StringFieldUpdateOperationsInput | string 279 - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string 280 - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string 281 - } 294 + id?: Prisma.StringFieldUpdateOperationsInput | string; 295 + userDid?: Prisma.StringFieldUpdateOperationsInput | string; 296 + sessionData?: Prisma.StringFieldUpdateOperationsInput | string; 297 + createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string; 298 + updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string; 299 + }; 282 300 283 301 export type AuthSessionCountOrderByAggregateInput = { 284 - id?: Prisma.SortOrder 285 - userDid?: Prisma.SortOrder 286 - sessionData?: Prisma.SortOrder 287 - createdAt?: Prisma.SortOrder 288 - updatedAt?: Prisma.SortOrder 289 - } 302 + id?: Prisma.SortOrder; 303 + userDid?: Prisma.SortOrder; 304 + sessionData?: Prisma.SortOrder; 305 + createdAt?: Prisma.SortOrder; 306 + updatedAt?: Prisma.SortOrder; 307 + }; 290 308 291 309 export type AuthSessionMaxOrderByAggregateInput = { 292 - id?: Prisma.SortOrder 293 - userDid?: Prisma.SortOrder 294 - sessionData?: Prisma.SortOrder 295 - createdAt?: Prisma.SortOrder 296 - updatedAt?: Prisma.SortOrder 297 - } 310 + id?: Prisma.SortOrder; 311 + userDid?: Prisma.SortOrder; 312 + sessionData?: Prisma.SortOrder; 313 + createdAt?: Prisma.SortOrder; 314 + updatedAt?: Prisma.SortOrder; 315 + }; 298 316 299 317 export type AuthSessionMinOrderByAggregateInput = { 300 - id?: Prisma.SortOrder 301 - userDid?: Prisma.SortOrder 302 - sessionData?: Prisma.SortOrder 303 - createdAt?: Prisma.SortOrder 304 - updatedAt?: Prisma.SortOrder 305 - } 318 + id?: Prisma.SortOrder; 319 + userDid?: Prisma.SortOrder; 320 + sessionData?: Prisma.SortOrder; 321 + createdAt?: Prisma.SortOrder; 322 + updatedAt?: Prisma.SortOrder; 323 + }; 306 324 325 + export type AuthSessionSelect< 326 + ExtArgs extends runtime.Types.Extensions.InternalArgs = 327 + runtime.Types.Extensions.DefaultArgs, 328 + > = runtime.Types.Extensions.GetSelect< 329 + { 330 + id?: boolean; 331 + userDid?: boolean; 332 + sessionData?: boolean; 333 + createdAt?: boolean; 334 + updatedAt?: boolean; 335 + }, 336 + ExtArgs['result']['authSession'] 337 + >; 307 338 339 + export type AuthSessionSelectCreateManyAndReturn< 340 + ExtArgs extends runtime.Types.Extensions.InternalArgs = 341 + runtime.Types.Extensions.DefaultArgs, 342 + > = runtime.Types.Extensions.GetSelect< 343 + { 344 + id?: boolean; 345 + userDid?: boolean; 346 + sessionData?: boolean; 347 + createdAt?: boolean; 348 + updatedAt?: boolean; 349 + }, 350 + ExtArgs['result']['authSession'] 351 + >; 308 352 309 - export type AuthSessionSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{ 310 - id?: boolean 311 - userDid?: boolean 312 - sessionData?: boolean 313 - createdAt?: boolean 314 - updatedAt?: boolean 315 - }, ExtArgs["result"]["authSession"]> 316 - 317 - export type AuthSessionSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{ 318 - id?: boolean 319 - userDid?: boolean 320 - sessionData?: boolean 321 - createdAt?: boolean 322 - updatedAt?: boolean 323 - }, ExtArgs["result"]["authSession"]> 324 - 325 - export type AuthSessionSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{ 326 - id?: boolean 327 - userDid?: boolean 328 - sessionData?: boolean 329 - createdAt?: boolean 330 - updatedAt?: boolean 331 - }, ExtArgs["result"]["authSession"]> 353 + export type AuthSessionSelectUpdateManyAndReturn< 354 + ExtArgs extends runtime.Types.Extensions.InternalArgs = 355 + runtime.Types.Extensions.DefaultArgs, 356 + > = runtime.Types.Extensions.GetSelect< 357 + { 358 + id?: boolean; 359 + userDid?: boolean; 360 + sessionData?: boolean; 361 + createdAt?: boolean; 362 + updatedAt?: boolean; 363 + }, 364 + ExtArgs['result']['authSession'] 365 + >; 332 366 333 367 export type AuthSessionSelectScalar = { 334 - id?: boolean 335 - userDid?: boolean 336 - sessionData?: boolean 337 - createdAt?: boolean 338 - updatedAt?: boolean 339 - } 368 + id?: boolean; 369 + userDid?: boolean; 370 + sessionData?: boolean; 371 + createdAt?: boolean; 372 + updatedAt?: boolean; 373 + }; 340 374 341 - 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"]> 375 + export type AuthSessionOmit< 376 + ExtArgs extends runtime.Types.Extensions.InternalArgs = 377 + runtime.Types.Extensions.DefaultArgs, 378 + > = runtime.Types.Extensions.GetOmit< 379 + 'id' | 'userDid' | 'sessionData' | 'createdAt' | 'updatedAt', 380 + ExtArgs['result']['authSession'] 381 + >; 342 382 343 - export type $AuthSessionPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = { 344 - name: "AuthSession" 345 - objects: {} 346 - scalars: runtime.Types.Extensions.GetPayloadResult<{ 347 - id: string 348 - userDid: string 349 - sessionData: string 350 - createdAt: Date 351 - updatedAt: Date 352 - }, ExtArgs["result"]["authSession"]> 353 - composites: {} 354 - } 383 + export type $AuthSessionPayload< 384 + ExtArgs extends runtime.Types.Extensions.InternalArgs = 385 + runtime.Types.Extensions.DefaultArgs, 386 + > = { 387 + name: 'AuthSession'; 388 + objects: {}; 389 + scalars: runtime.Types.Extensions.GetPayloadResult< 390 + { 391 + id: string; 392 + userDid: string; 393 + sessionData: string; 394 + createdAt: Date; 395 + updatedAt: Date; 396 + }, 397 + ExtArgs['result']['authSession'] 398 + >; 399 + composites: {}; 400 + }; 355 401 356 - export type AuthSessionGetPayload<S extends boolean | null | undefined | AuthSessionDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$AuthSessionPayload, S> 402 + export type AuthSessionGetPayload< 403 + S extends boolean | null | undefined | AuthSessionDefaultArgs, 404 + > = runtime.Types.Result.GetResult<Prisma.$AuthSessionPayload, S>; 357 405 358 - export type AuthSessionCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = 359 - Omit<AuthSessionFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & { 360 - select?: AuthSessionCountAggregateInputType | true 361 - } 406 + export type AuthSessionCountArgs< 407 + ExtArgs extends runtime.Types.Extensions.InternalArgs = 408 + runtime.Types.Extensions.DefaultArgs, 409 + > = Omit< 410 + AuthSessionFindManyArgs, 411 + 'select' | 'include' | 'distinct' | 'omit' 412 + > & { 413 + select?: AuthSessionCountAggregateInputType | true; 414 + }; 362 415 363 - export interface AuthSessionDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> { 364 - [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['AuthSession'], meta: { name: 'AuthSession' } } 416 + export interface AuthSessionDelegate< 417 + ExtArgs extends runtime.Types.Extensions.InternalArgs = 418 + runtime.Types.Extensions.DefaultArgs, 419 + GlobalOmitOptions = {}, 420 + > { 421 + [K: symbol]: { 422 + types: Prisma.TypeMap<ExtArgs>['model']['AuthSession']; 423 + meta: { name: 'AuthSession' }; 424 + }; 365 425 /** 366 426 * Find zero or one AuthSession that matches the filter. 367 427 * @param {AuthSessionFindUniqueArgs} args - Arguments to find a AuthSession ··· 373 433 * } 374 434 * }) 375 435 */ 376 - 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> 436 + findUnique<T extends AuthSessionFindUniqueArgs>( 437 + args: Prisma.SelectSubset<T, AuthSessionFindUniqueArgs<ExtArgs>>, 438 + ): Prisma.Prisma__AuthSessionClient< 439 + runtime.Types.Result.GetResult< 440 + Prisma.$AuthSessionPayload<ExtArgs>, 441 + T, 442 + 'findUnique', 443 + GlobalOmitOptions 444 + > | null, 445 + null, 446 + ExtArgs, 447 + GlobalOmitOptions 448 + >; 377 449 378 450 /** 379 451 * Find one AuthSession that matches the filter or throw an error with `error.code='P2025'` ··· 387 459 * } 388 460 * }) 389 461 */ 390 - 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> 462 + findUniqueOrThrow<T extends AuthSessionFindUniqueOrThrowArgs>( 463 + args: Prisma.SelectSubset<T, AuthSessionFindUniqueOrThrowArgs<ExtArgs>>, 464 + ): Prisma.Prisma__AuthSessionClient< 465 + runtime.Types.Result.GetResult< 466 + Prisma.$AuthSessionPayload<ExtArgs>, 467 + T, 468 + 'findUniqueOrThrow', 469 + GlobalOmitOptions 470 + >, 471 + never, 472 + ExtArgs, 473 + GlobalOmitOptions 474 + >; 391 475 392 476 /** 393 477 * Find the first AuthSession that matches the filter. ··· 402 486 * } 403 487 * }) 404 488 */ 405 - 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> 489 + findFirst<T extends AuthSessionFindFirstArgs>( 490 + args?: Prisma.SelectSubset<T, AuthSessionFindFirstArgs<ExtArgs>>, 491 + ): Prisma.Prisma__AuthSessionClient< 492 + runtime.Types.Result.GetResult< 493 + Prisma.$AuthSessionPayload<ExtArgs>, 494 + T, 495 + 'findFirst', 496 + GlobalOmitOptions 497 + > | null, 498 + null, 499 + ExtArgs, 500 + GlobalOmitOptions 501 + >; 406 502 407 503 /** 408 504 * Find the first AuthSession that matches the filter or ··· 418 514 * } 419 515 * }) 420 516 */ 421 - 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> 517 + findFirstOrThrow<T extends AuthSessionFindFirstOrThrowArgs>( 518 + args?: Prisma.SelectSubset<T, AuthSessionFindFirstOrThrowArgs<ExtArgs>>, 519 + ): Prisma.Prisma__AuthSessionClient< 520 + runtime.Types.Result.GetResult< 521 + Prisma.$AuthSessionPayload<ExtArgs>, 522 + T, 523 + 'findFirstOrThrow', 524 + GlobalOmitOptions 525 + >, 526 + never, 527 + ExtArgs, 528 + GlobalOmitOptions 529 + >; 422 530 423 531 /** 424 532 * Find zero or more AuthSessions that matches the filter. ··· 428 536 * @example 429 537 * // Get all AuthSessions 430 538 * const authSessions = await prisma.authSession.findMany() 431 - * 539 + * 432 540 * // Get first 10 AuthSessions 433 541 * const authSessions = await prisma.authSession.findMany({ take: 10 }) 434 - * 542 + * 435 543 * // Only select the `id` 436 544 * const authSessionWithIdOnly = await prisma.authSession.findMany({ select: { id: true } }) 437 - * 545 + * 438 546 */ 439 - findMany<T extends AuthSessionFindManyArgs>(args?: Prisma.SelectSubset<T, AuthSessionFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AuthSessionPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>> 547 + findMany<T extends AuthSessionFindManyArgs>( 548 + args?: Prisma.SelectSubset<T, AuthSessionFindManyArgs<ExtArgs>>, 549 + ): Prisma.PrismaPromise< 550 + runtime.Types.Result.GetResult< 551 + Prisma.$AuthSessionPayload<ExtArgs>, 552 + T, 553 + 'findMany', 554 + GlobalOmitOptions 555 + > 556 + >; 440 557 441 558 /** 442 559 * Create a AuthSession. ··· 448 565 * // ... data to create a AuthSession 449 566 * } 450 567 * }) 451 - * 568 + * 452 569 */ 453 - 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> 570 + create<T extends AuthSessionCreateArgs>( 571 + args: Prisma.SelectSubset<T, AuthSessionCreateArgs<ExtArgs>>, 572 + ): Prisma.Prisma__AuthSessionClient< 573 + runtime.Types.Result.GetResult< 574 + Prisma.$AuthSessionPayload<ExtArgs>, 575 + T, 576 + 'create', 577 + GlobalOmitOptions 578 + >, 579 + never, 580 + ExtArgs, 581 + GlobalOmitOptions 582 + >; 454 583 455 584 /** 456 585 * Create many AuthSessions. ··· 462 591 * // ... provide data here 463 592 * ] 464 593 * }) 465 - * 594 + * 466 595 */ 467 - createMany<T extends AuthSessionCreateManyArgs>(args?: Prisma.SelectSubset<T, AuthSessionCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload> 596 + createMany<T extends AuthSessionCreateManyArgs>( 597 + args?: Prisma.SelectSubset<T, AuthSessionCreateManyArgs<ExtArgs>>, 598 + ): Prisma.PrismaPromise<Prisma.BatchPayload>; 468 599 469 600 /** 470 601 * Create many AuthSessions and returns the data saved in the database. ··· 476 607 * // ... provide data here 477 608 * ] 478 609 * }) 479 - * 610 + * 480 611 * // Create many AuthSessions and only return the `id` 481 612 * const authSessionWithIdOnly = await prisma.authSession.createManyAndReturn({ 482 613 * select: { id: true }, ··· 486 617 * }) 487 618 * Note, that providing `undefined` is treated as the value not being there. 488 619 * Read more here: https://pris.ly/d/null-undefined 489 - * 620 + * 490 621 */ 491 - createManyAndReturn<T extends AuthSessionCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, AuthSessionCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AuthSessionPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>> 622 + createManyAndReturn<T extends AuthSessionCreateManyAndReturnArgs>( 623 + args?: Prisma.SelectSubset<T, AuthSessionCreateManyAndReturnArgs<ExtArgs>>, 624 + ): Prisma.PrismaPromise< 625 + runtime.Types.Result.GetResult< 626 + Prisma.$AuthSessionPayload<ExtArgs>, 627 + T, 628 + 'createManyAndReturn', 629 + GlobalOmitOptions 630 + > 631 + >; 492 632 493 633 /** 494 634 * Delete a AuthSession. ··· 500 640 * // ... filter to delete one AuthSession 501 641 * } 502 642 * }) 503 - * 643 + * 504 644 */ 505 - 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> 645 + delete<T extends AuthSessionDeleteArgs>( 646 + args: Prisma.SelectSubset<T, AuthSessionDeleteArgs<ExtArgs>>, 647 + ): Prisma.Prisma__AuthSessionClient< 648 + runtime.Types.Result.GetResult< 649 + Prisma.$AuthSessionPayload<ExtArgs>, 650 + T, 651 + 'delete', 652 + GlobalOmitOptions 653 + >, 654 + never, 655 + ExtArgs, 656 + GlobalOmitOptions 657 + >; 506 658 507 659 /** 508 660 * Update one AuthSession. ··· 517 669 * // ... provide data here 518 670 * } 519 671 * }) 520 - * 672 + * 521 673 */ 522 - 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> 674 + update<T extends AuthSessionUpdateArgs>( 675 + args: Prisma.SelectSubset<T, AuthSessionUpdateArgs<ExtArgs>>, 676 + ): Prisma.Prisma__AuthSessionClient< 677 + runtime.Types.Result.GetResult< 678 + Prisma.$AuthSessionPayload<ExtArgs>, 679 + T, 680 + 'update', 681 + GlobalOmitOptions 682 + >, 683 + never, 684 + ExtArgs, 685 + GlobalOmitOptions 686 + >; 523 687 524 688 /** 525 689 * Delete zero or more AuthSessions. ··· 531 695 * // ... provide filter here 532 696 * } 533 697 * }) 534 - * 698 + * 535 699 */ 536 - deleteMany<T extends AuthSessionDeleteManyArgs>(args?: Prisma.SelectSubset<T, AuthSessionDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload> 700 + deleteMany<T extends AuthSessionDeleteManyArgs>( 701 + args?: Prisma.SelectSubset<T, AuthSessionDeleteManyArgs<ExtArgs>>, 702 + ): Prisma.PrismaPromise<Prisma.BatchPayload>; 537 703 538 704 /** 539 705 * Update zero or more AuthSessions. ··· 550 716 * // ... provide data here 551 717 * } 552 718 * }) 553 - * 719 + * 554 720 */ 555 - updateMany<T extends AuthSessionUpdateManyArgs>(args: Prisma.SelectSubset<T, AuthSessionUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload> 721 + updateMany<T extends AuthSessionUpdateManyArgs>( 722 + args: Prisma.SelectSubset<T, AuthSessionUpdateManyArgs<ExtArgs>>, 723 + ): Prisma.PrismaPromise<Prisma.BatchPayload>; 556 724 557 725 /** 558 726 * Update zero or more AuthSessions and returns the data updated in the database. ··· 567 735 * // ... provide data here 568 736 * ] 569 737 * }) 570 - * 738 + * 571 739 * // Update zero or more AuthSessions and only return the `id` 572 740 * const authSessionWithIdOnly = await prisma.authSession.updateManyAndReturn({ 573 741 * select: { id: true }, ··· 580 748 * }) 581 749 * Note, that providing `undefined` is treated as the value not being there. 582 750 * Read more here: https://pris.ly/d/null-undefined 583 - * 751 + * 584 752 */ 585 - updateManyAndReturn<T extends AuthSessionUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, AuthSessionUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AuthSessionPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>> 753 + updateManyAndReturn<T extends AuthSessionUpdateManyAndReturnArgs>( 754 + args: Prisma.SelectSubset<T, AuthSessionUpdateManyAndReturnArgs<ExtArgs>>, 755 + ): Prisma.PrismaPromise< 756 + runtime.Types.Result.GetResult< 757 + Prisma.$AuthSessionPayload<ExtArgs>, 758 + T, 759 + 'updateManyAndReturn', 760 + GlobalOmitOptions 761 + > 762 + >; 586 763 587 764 /** 588 765 * Create or update one AuthSession. ··· 601 778 * } 602 779 * }) 603 780 */ 604 - 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> 605 - 781 + upsert<T extends AuthSessionUpsertArgs>( 782 + args: Prisma.SelectSubset<T, AuthSessionUpsertArgs<ExtArgs>>, 783 + ): Prisma.Prisma__AuthSessionClient< 784 + runtime.Types.Result.GetResult< 785 + Prisma.$AuthSessionPayload<ExtArgs>, 786 + T, 787 + 'upsert', 788 + GlobalOmitOptions 789 + >, 790 + never, 791 + ExtArgs, 792 + GlobalOmitOptions 793 + >; 606 794 607 795 /** 608 796 * Count the number of AuthSessions. ··· 616 804 * // ... the filter for the AuthSessions we want to count 617 805 * } 618 806 * }) 619 - **/ 807 + **/ 620 808 count<T extends AuthSessionCountArgs>( 621 809 args?: Prisma.Subset<T, AuthSessionCountArgs>, 622 810 ): Prisma.PrismaPromise< ··· 625 813 ? number 626 814 : Prisma.GetScalarType<T['select'], AuthSessionCountAggregateOutputType> 627 815 : number 628 - > 816 + >; 629 817 630 818 /** 631 819 * Allows you to perform aggregations operations on a AuthSession. ··· 650 838 * }, 651 839 * take: 10, 652 840 * }) 653 - **/ 654 - aggregate<T extends AuthSessionAggregateArgs>(args: Prisma.Subset<T, AuthSessionAggregateArgs>): Prisma.PrismaPromise<GetAuthSessionAggregateType<T>> 841 + **/ 842 + aggregate<T extends AuthSessionAggregateArgs>( 843 + args: Prisma.Subset<T, AuthSessionAggregateArgs>, 844 + ): Prisma.PrismaPromise<GetAuthSessionAggregateType<T>>; 655 845 656 846 /** 657 847 * Group by AuthSession. ··· 669 859 * _all: true 670 860 * }, 671 861 * }) 672 - * 673 - **/ 862 + * 863 + **/ 674 864 groupBy< 675 865 T extends AuthSessionGroupByArgs, 676 866 HasSelectOrTake extends Prisma.Or< ··· 680 870 OrderByArg extends Prisma.True extends HasSelectOrTake 681 871 ? { orderBy: AuthSessionGroupByArgs['orderBy'] } 682 872 : { orderBy?: AuthSessionGroupByArgs['orderBy'] }, 683 - OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>, 873 + OrderFields extends Prisma.ExcludeUnderscoreKeys< 874 + Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>> 875 + >, 684 876 ByFields extends Prisma.MaybeTupleToUnion<T['by']>, 685 877 ByValid extends Prisma.Has<ByFields, OrderFields>, 686 878 HavingFields extends Prisma.GetHavingFields<T['having']>, 687 879 HavingValid extends Prisma.Has<ByFields, HavingFields>, 688 880 ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False, 689 881 InputErrors extends ByEmpty extends Prisma.True 690 - ? `Error: "by" must not be empty.` 691 - : HavingValid extends Prisma.False 692 - ? { 693 - [P in HavingFields]: P extends ByFields 694 - ? never 695 - : P extends string 696 - ? `Error: Field "${P}" used in "having" needs to be provided in "by".` 697 - : [ 698 - Error, 699 - 'Field ', 700 - P, 701 - ` in "having" needs to be provided in "by"`, 702 - ] 703 - }[HavingFields] 704 - : 'take' extends Prisma.Keys<T> 705 - ? 'orderBy' extends Prisma.Keys<T> 706 - ? ByValid extends Prisma.True 707 - ? {} 708 - : { 709 - [P in OrderFields]: P extends ByFields 882 + ? `Error: "by" must not be empty.` 883 + : HavingValid extends Prisma.False 884 + ? { 885 + [P in HavingFields]: P extends ByFields 710 886 ? never 711 - : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` 712 - }[OrderFields] 713 - : 'Error: If you provide "take", you also need to provide "orderBy"' 714 - : 'skip' extends Prisma.Keys<T> 715 - ? 'orderBy' extends Prisma.Keys<T> 716 - ? ByValid extends Prisma.True 717 - ? {} 718 - : { 719 - [P in OrderFields]: P extends ByFields 720 - ? never 721 - : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` 722 - }[OrderFields] 723 - : 'Error: If you provide "skip", you also need to provide "orderBy"' 724 - : ByValid extends Prisma.True 725 - ? {} 726 - : { 727 - [P in OrderFields]: P extends ByFields 728 - ? never 729 - : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` 730 - }[OrderFields] 731 - >(args: Prisma.SubsetIntersection<T, AuthSessionGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetAuthSessionGroupByPayload<T> : Prisma.PrismaPromise<InputErrors> 732 - /** 733 - * Fields of the AuthSession model 734 - */ 735 - readonly fields: AuthSessionFieldRefs; 887 + : P extends string 888 + ? `Error: Field "${P}" used in "having" needs to be provided in "by".` 889 + : [ 890 + Error, 891 + 'Field ', 892 + P, 893 + ` in "having" needs to be provided in "by"`, 894 + ]; 895 + }[HavingFields] 896 + : 'take' extends Prisma.Keys<T> 897 + ? 'orderBy' extends Prisma.Keys<T> 898 + ? ByValid extends Prisma.True 899 + ? {} 900 + : { 901 + [P in OrderFields]: P extends ByFields 902 + ? never 903 + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`; 904 + }[OrderFields] 905 + : 'Error: If you provide "take", you also need to provide "orderBy"' 906 + : 'skip' extends Prisma.Keys<T> 907 + ? 'orderBy' extends Prisma.Keys<T> 908 + ? ByValid extends Prisma.True 909 + ? {} 910 + : { 911 + [P in OrderFields]: P extends ByFields 912 + ? never 913 + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`; 914 + }[OrderFields] 915 + : 'Error: If you provide "skip", you also need to provide "orderBy"' 916 + : ByValid extends Prisma.True 917 + ? {} 918 + : { 919 + [P in OrderFields]: P extends ByFields 920 + ? never 921 + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`; 922 + }[OrderFields], 923 + >( 924 + args: Prisma.SubsetIntersection<T, AuthSessionGroupByArgs, OrderByArg> & 925 + InputErrors, 926 + ): {} extends InputErrors 927 + ? GetAuthSessionGroupByPayload<T> 928 + : Prisma.PrismaPromise<InputErrors>; 929 + /** 930 + * Fields of the AuthSession model 931 + */ 932 + readonly fields: AuthSessionFieldRefs; 736 933 } 737 934 738 935 /** ··· 741 938 * Because we want to prevent naming conflicts as mentioned in 742 939 * https://github.com/prisma/prisma-client-js/issues/707 743 940 */ 744 - export interface Prisma__AuthSessionClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> { 745 - readonly [Symbol.toStringTag]: "PrismaPromise" 941 + export interface Prisma__AuthSessionClient< 942 + T, 943 + Null = never, 944 + ExtArgs extends runtime.Types.Extensions.InternalArgs = 945 + runtime.Types.Extensions.DefaultArgs, 946 + GlobalOmitOptions = {}, 947 + > extends Prisma.PrismaPromise<T> { 948 + readonly [Symbol.toStringTag]: 'PrismaPromise'; 746 949 /** 747 950 * Attaches callbacks for the resolution and/or rejection of the Promise. 748 951 * @param onfulfilled The callback to execute when the Promise is resolved. 749 952 * @param onrejected The callback to execute when the Promise is rejected. 750 953 * @returns A Promise for the completion of which ever callback is executed. 751 954 */ 752 - 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> 955 + then<TResult1 = T, TResult2 = never>( 956 + onfulfilled?: 957 + | ((value: T) => TResult1 | PromiseLike<TResult1>) 958 + | undefined 959 + | null, 960 + onrejected?: 961 + | ((reason: any) => TResult2 | PromiseLike<TResult2>) 962 + | undefined 963 + | null, 964 + ): runtime.Types.Utils.JsPromise<TResult1 | TResult2>; 753 965 /** 754 966 * Attaches a callback for only the rejection of the Promise. 755 967 * @param onrejected The callback to execute when the Promise is rejected. 756 968 * @returns A Promise for the completion of the callback. 757 969 */ 758 - catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult> 970 + catch<TResult = never>( 971 + onrejected?: 972 + | ((reason: any) => TResult | PromiseLike<TResult>) 973 + | undefined 974 + | null, 975 + ): runtime.Types.Utils.JsPromise<T | TResult>; 759 976 /** 760 977 * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The 761 978 * resolved value cannot be modified from the callback. 762 979 * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected). 763 980 * @returns A Promise for the completion of the callback. 764 981 */ 765 - finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T> 982 + finally( 983 + onfinally?: (() => void) | undefined | null, 984 + ): runtime.Types.Utils.JsPromise<T>; 766 985 } 767 986 768 - 769 - 770 - 771 987 /** 772 988 * Fields of the AuthSession model 773 989 */ 774 990 export interface AuthSessionFieldRefs { 775 - readonly id: Prisma.FieldRef<"AuthSession", 'String'> 776 - readonly userDid: Prisma.FieldRef<"AuthSession", 'String'> 777 - readonly sessionData: Prisma.FieldRef<"AuthSession", 'String'> 778 - readonly createdAt: Prisma.FieldRef<"AuthSession", 'DateTime'> 779 - readonly updatedAt: Prisma.FieldRef<"AuthSession", 'DateTime'> 991 + readonly id: Prisma.FieldRef<'AuthSession', 'String'>; 992 + readonly userDid: Prisma.FieldRef<'AuthSession', 'String'>; 993 + readonly sessionData: Prisma.FieldRef<'AuthSession', 'String'>; 994 + readonly createdAt: Prisma.FieldRef<'AuthSession', 'DateTime'>; 995 + readonly updatedAt: Prisma.FieldRef<'AuthSession', 'DateTime'>; 780 996 } 781 - 782 997 783 998 // Custom InputTypes 784 999 /** 785 1000 * AuthSession findUnique 786 1001 */ 787 - export type AuthSessionFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = { 1002 + export type AuthSessionFindUniqueArgs< 1003 + ExtArgs extends runtime.Types.Extensions.InternalArgs = 1004 + runtime.Types.Extensions.DefaultArgs, 1005 + > = { 788 1006 /** 789 1007 * Select specific fields to fetch from the AuthSession 790 1008 */ 791 - select?: Prisma.AuthSessionSelect<ExtArgs> | null 1009 + select?: Prisma.AuthSessionSelect<ExtArgs> | null; 792 1010 /** 793 1011 * Omit specific fields from the AuthSession 794 1012 */ 795 - omit?: Prisma.AuthSessionOmit<ExtArgs> | null 1013 + omit?: Prisma.AuthSessionOmit<ExtArgs> | null; 796 1014 /** 797 1015 * Filter, which AuthSession to fetch. 798 1016 */ 799 - where: Prisma.AuthSessionWhereUniqueInput 800 - } 1017 + where: Prisma.AuthSessionWhereUniqueInput; 1018 + }; 801 1019 802 1020 /** 803 1021 * AuthSession findUniqueOrThrow 804 1022 */ 805 - export type AuthSessionFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = { 1023 + export type AuthSessionFindUniqueOrThrowArgs< 1024 + ExtArgs extends runtime.Types.Extensions.InternalArgs = 1025 + runtime.Types.Extensions.DefaultArgs, 1026 + > = { 806 1027 /** 807 1028 * Select specific fields to fetch from the AuthSession 808 1029 */ 809 - select?: Prisma.AuthSessionSelect<ExtArgs> | null 1030 + select?: Prisma.AuthSessionSelect<ExtArgs> | null; 810 1031 /** 811 1032 * Omit specific fields from the AuthSession 812 1033 */ 813 - omit?: Prisma.AuthSessionOmit<ExtArgs> | null 1034 + omit?: Prisma.AuthSessionOmit<ExtArgs> | null; 814 1035 /** 815 1036 * Filter, which AuthSession to fetch. 816 1037 */ 817 - where: Prisma.AuthSessionWhereUniqueInput 818 - } 1038 + where: Prisma.AuthSessionWhereUniqueInput; 1039 + }; 819 1040 820 1041 /** 821 1042 * AuthSession findFirst 822 1043 */ 823 - export type AuthSessionFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = { 1044 + export type AuthSessionFindFirstArgs< 1045 + ExtArgs extends runtime.Types.Extensions.InternalArgs = 1046 + runtime.Types.Extensions.DefaultArgs, 1047 + > = { 824 1048 /** 825 1049 * Select specific fields to fetch from the AuthSession 826 1050 */ 827 - select?: Prisma.AuthSessionSelect<ExtArgs> | null 1051 + select?: Prisma.AuthSessionSelect<ExtArgs> | null; 828 1052 /** 829 1053 * Omit specific fields from the AuthSession 830 1054 */ 831 - omit?: Prisma.AuthSessionOmit<ExtArgs> | null 1055 + omit?: Prisma.AuthSessionOmit<ExtArgs> | null; 832 1056 /** 833 1057 * Filter, which AuthSession to fetch. 834 1058 */ 835 - where?: Prisma.AuthSessionWhereInput 1059 + where?: Prisma.AuthSessionWhereInput; 836 1060 /** 837 1061 * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} 838 - * 1062 + * 839 1063 * Determine the order of AuthSessions to fetch. 840 1064 */ 841 - orderBy?: Prisma.AuthSessionOrderByWithRelationInput | Prisma.AuthSessionOrderByWithRelationInput[] 1065 + orderBy?: 1066 + | Prisma.AuthSessionOrderByWithRelationInput 1067 + | Prisma.AuthSessionOrderByWithRelationInput[]; 842 1068 /** 843 1069 * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} 844 - * 1070 + * 845 1071 * Sets the position for searching for AuthSessions. 846 1072 */ 847 - cursor?: Prisma.AuthSessionWhereUniqueInput 1073 + cursor?: Prisma.AuthSessionWhereUniqueInput; 848 1074 /** 849 1075 * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} 850 - * 1076 + * 851 1077 * Take `±n` AuthSessions from the position of the cursor. 852 1078 */ 853 - take?: number 1079 + take?: number; 854 1080 /** 855 1081 * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} 856 - * 1082 + * 857 1083 * Skip the first `n` AuthSessions. 858 1084 */ 859 - skip?: number 1085 + skip?: number; 860 1086 /** 861 1087 * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} 862 - * 1088 + * 863 1089 * Filter by unique combinations of AuthSessions. 864 1090 */ 865 - distinct?: Prisma.AuthSessionScalarFieldEnum | Prisma.AuthSessionScalarFieldEnum[] 866 - } 1091 + distinct?: 1092 + | Prisma.AuthSessionScalarFieldEnum 1093 + | Prisma.AuthSessionScalarFieldEnum[]; 1094 + }; 867 1095 868 1096 /** 869 1097 * AuthSession findFirstOrThrow 870 1098 */ 871 - export type AuthSessionFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = { 1099 + export type AuthSessionFindFirstOrThrowArgs< 1100 + ExtArgs extends runtime.Types.Extensions.InternalArgs = 1101 + runtime.Types.Extensions.DefaultArgs, 1102 + > = { 872 1103 /** 873 1104 * Select specific fields to fetch from the AuthSession 874 1105 */ 875 - select?: Prisma.AuthSessionSelect<ExtArgs> | null 1106 + select?: Prisma.AuthSessionSelect<ExtArgs> | null; 876 1107 /** 877 1108 * Omit specific fields from the AuthSession 878 1109 */ 879 - omit?: Prisma.AuthSessionOmit<ExtArgs> | null 1110 + omit?: Prisma.AuthSessionOmit<ExtArgs> | null; 880 1111 /** 881 1112 * Filter, which AuthSession to fetch. 882 1113 */ 883 - where?: Prisma.AuthSessionWhereInput 1114 + where?: Prisma.AuthSessionWhereInput; 884 1115 /** 885 1116 * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} 886 - * 1117 + * 887 1118 * Determine the order of AuthSessions to fetch. 888 1119 */ 889 - orderBy?: Prisma.AuthSessionOrderByWithRelationInput | Prisma.AuthSessionOrderByWithRelationInput[] 1120 + orderBy?: 1121 + | Prisma.AuthSessionOrderByWithRelationInput 1122 + | Prisma.AuthSessionOrderByWithRelationInput[]; 890 1123 /** 891 1124 * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} 892 - * 1125 + * 893 1126 * Sets the position for searching for AuthSessions. 894 1127 */ 895 - cursor?: Prisma.AuthSessionWhereUniqueInput 1128 + cursor?: Prisma.AuthSessionWhereUniqueInput; 896 1129 /** 897 1130 * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} 898 - * 1131 + * 899 1132 * Take `±n` AuthSessions from the position of the cursor. 900 1133 */ 901 - take?: number 1134 + take?: number; 902 1135 /** 903 1136 * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} 904 - * 1137 + * 905 1138 * Skip the first `n` AuthSessions. 906 1139 */ 907 - skip?: number 1140 + skip?: number; 908 1141 /** 909 1142 * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} 910 - * 1143 + * 911 1144 * Filter by unique combinations of AuthSessions. 912 1145 */ 913 - distinct?: Prisma.AuthSessionScalarFieldEnum | Prisma.AuthSessionScalarFieldEnum[] 914 - } 1146 + distinct?: 1147 + | Prisma.AuthSessionScalarFieldEnum 1148 + | Prisma.AuthSessionScalarFieldEnum[]; 1149 + }; 915 1150 916 1151 /** 917 1152 * AuthSession findMany 918 1153 */ 919 - export type AuthSessionFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = { 1154 + export type AuthSessionFindManyArgs< 1155 + ExtArgs extends runtime.Types.Extensions.InternalArgs = 1156 + runtime.Types.Extensions.DefaultArgs, 1157 + > = { 920 1158 /** 921 1159 * Select specific fields to fetch from the AuthSession 922 1160 */ 923 - select?: Prisma.AuthSessionSelect<ExtArgs> | null 1161 + select?: Prisma.AuthSessionSelect<ExtArgs> | null; 924 1162 /** 925 1163 * Omit specific fields from the AuthSession 926 1164 */ 927 - omit?: Prisma.AuthSessionOmit<ExtArgs> | null 1165 + omit?: Prisma.AuthSessionOmit<ExtArgs> | null; 928 1166 /** 929 1167 * Filter, which AuthSessions to fetch. 930 1168 */ 931 - where?: Prisma.AuthSessionWhereInput 1169 + where?: Prisma.AuthSessionWhereInput; 932 1170 /** 933 1171 * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} 934 - * 1172 + * 935 1173 * Determine the order of AuthSessions to fetch. 936 1174 */ 937 - orderBy?: Prisma.AuthSessionOrderByWithRelationInput | Prisma.AuthSessionOrderByWithRelationInput[] 1175 + orderBy?: 1176 + | Prisma.AuthSessionOrderByWithRelationInput 1177 + | Prisma.AuthSessionOrderByWithRelationInput[]; 938 1178 /** 939 1179 * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} 940 - * 1180 + * 941 1181 * Sets the position for listing AuthSessions. 942 1182 */ 943 - cursor?: Prisma.AuthSessionWhereUniqueInput 1183 + cursor?: Prisma.AuthSessionWhereUniqueInput; 944 1184 /** 945 1185 * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} 946 - * 1186 + * 947 1187 * Take `±n` AuthSessions from the position of the cursor. 948 1188 */ 949 - take?: number 1189 + take?: number; 950 1190 /** 951 1191 * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} 952 - * 1192 + * 953 1193 * Skip the first `n` AuthSessions. 954 1194 */ 955 - skip?: number 956 - distinct?: Prisma.AuthSessionScalarFieldEnum | Prisma.AuthSessionScalarFieldEnum[] 957 - } 1195 + skip?: number; 1196 + distinct?: 1197 + | Prisma.AuthSessionScalarFieldEnum 1198 + | Prisma.AuthSessionScalarFieldEnum[]; 1199 + }; 958 1200 959 1201 /** 960 1202 * AuthSession create 961 1203 */ 962 - export type AuthSessionCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = { 1204 + export type AuthSessionCreateArgs< 1205 + ExtArgs extends runtime.Types.Extensions.InternalArgs = 1206 + runtime.Types.Extensions.DefaultArgs, 1207 + > = { 963 1208 /** 964 1209 * Select specific fields to fetch from the AuthSession 965 1210 */ 966 - select?: Prisma.AuthSessionSelect<ExtArgs> | null 1211 + select?: Prisma.AuthSessionSelect<ExtArgs> | null; 967 1212 /** 968 1213 * Omit specific fields from the AuthSession 969 1214 */ 970 - omit?: Prisma.AuthSessionOmit<ExtArgs> | null 1215 + omit?: Prisma.AuthSessionOmit<ExtArgs> | null; 971 1216 /** 972 1217 * The data needed to create a AuthSession. 973 1218 */ 974 - data: Prisma.XOR<Prisma.AuthSessionCreateInput, Prisma.AuthSessionUncheckedCreateInput> 975 - } 1219 + data: Prisma.XOR< 1220 + Prisma.AuthSessionCreateInput, 1221 + Prisma.AuthSessionUncheckedCreateInput 1222 + >; 1223 + }; 976 1224 977 1225 /** 978 1226 * AuthSession createMany 979 1227 */ 980 - export type AuthSessionCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = { 1228 + export type AuthSessionCreateManyArgs< 1229 + ExtArgs extends runtime.Types.Extensions.InternalArgs = 1230 + runtime.Types.Extensions.DefaultArgs, 1231 + > = { 981 1232 /** 982 1233 * The data used to create many AuthSessions. 983 1234 */ 984 - data: Prisma.AuthSessionCreateManyInput | Prisma.AuthSessionCreateManyInput[] 985 - skipDuplicates?: boolean 986 - } 1235 + data: Prisma.AuthSessionCreateManyInput | Prisma.AuthSessionCreateManyInput[]; 1236 + skipDuplicates?: boolean; 1237 + }; 987 1238 988 1239 /** 989 1240 * AuthSession createManyAndReturn 990 1241 */ 991 - export type AuthSessionCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = { 1242 + export type AuthSessionCreateManyAndReturnArgs< 1243 + ExtArgs extends runtime.Types.Extensions.InternalArgs = 1244 + runtime.Types.Extensions.DefaultArgs, 1245 + > = { 992 1246 /** 993 1247 * Select specific fields to fetch from the AuthSession 994 1248 */ 995 - select?: Prisma.AuthSessionSelectCreateManyAndReturn<ExtArgs> | null 1249 + select?: Prisma.AuthSessionSelectCreateManyAndReturn<ExtArgs> | null; 996 1250 /** 997 1251 * Omit specific fields from the AuthSession 998 1252 */ 999 - omit?: Prisma.AuthSessionOmit<ExtArgs> | null 1253 + omit?: Prisma.AuthSessionOmit<ExtArgs> | null; 1000 1254 /** 1001 1255 * The data used to create many AuthSessions. 1002 1256 */ 1003 - data: Prisma.AuthSessionCreateManyInput | Prisma.AuthSessionCreateManyInput[] 1004 - skipDuplicates?: boolean 1005 - } 1257 + data: Prisma.AuthSessionCreateManyInput | Prisma.AuthSessionCreateManyInput[]; 1258 + skipDuplicates?: boolean; 1259 + }; 1006 1260 1007 1261 /** 1008 1262 * AuthSession update 1009 1263 */ 1010 - export type AuthSessionUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = { 1264 + export type AuthSessionUpdateArgs< 1265 + ExtArgs extends runtime.Types.Extensions.InternalArgs = 1266 + runtime.Types.Extensions.DefaultArgs, 1267 + > = { 1011 1268 /** 1012 1269 * Select specific fields to fetch from the AuthSession 1013 1270 */ 1014 - select?: Prisma.AuthSessionSelect<ExtArgs> | null 1271 + select?: Prisma.AuthSessionSelect<ExtArgs> | null; 1015 1272 /** 1016 1273 * Omit specific fields from the AuthSession 1017 1274 */ 1018 - omit?: Prisma.AuthSessionOmit<ExtArgs> | null 1275 + omit?: Prisma.AuthSessionOmit<ExtArgs> | null; 1019 1276 /** 1020 1277 * The data needed to update a AuthSession. 1021 1278 */ 1022 - data: Prisma.XOR<Prisma.AuthSessionUpdateInput, Prisma.AuthSessionUncheckedUpdateInput> 1279 + data: Prisma.XOR< 1280 + Prisma.AuthSessionUpdateInput, 1281 + Prisma.AuthSessionUncheckedUpdateInput 1282 + >; 1023 1283 /** 1024 1284 * Choose, which AuthSession to update. 1025 1285 */ 1026 - where: Prisma.AuthSessionWhereUniqueInput 1027 - } 1286 + where: Prisma.AuthSessionWhereUniqueInput; 1287 + }; 1028 1288 1029 1289 /** 1030 1290 * AuthSession updateMany 1031 1291 */ 1032 - export type AuthSessionUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = { 1292 + export type AuthSessionUpdateManyArgs< 1293 + ExtArgs extends runtime.Types.Extensions.InternalArgs = 1294 + runtime.Types.Extensions.DefaultArgs, 1295 + > = { 1033 1296 /** 1034 1297 * The data used to update AuthSessions. 1035 1298 */ 1036 - data: Prisma.XOR<Prisma.AuthSessionUpdateManyMutationInput, Prisma.AuthSessionUncheckedUpdateManyInput> 1299 + data: Prisma.XOR< 1300 + Prisma.AuthSessionUpdateManyMutationInput, 1301 + Prisma.AuthSessionUncheckedUpdateManyInput 1302 + >; 1037 1303 /** 1038 1304 * Filter which AuthSessions to update 1039 1305 */ 1040 - where?: Prisma.AuthSessionWhereInput 1306 + where?: Prisma.AuthSessionWhereInput; 1041 1307 /** 1042 1308 * Limit how many AuthSessions to update. 1043 1309 */ 1044 - limit?: number 1045 - } 1310 + limit?: number; 1311 + }; 1046 1312 1047 1313 /** 1048 1314 * AuthSession updateManyAndReturn 1049 1315 */ 1050 - export type AuthSessionUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = { 1316 + export type AuthSessionUpdateManyAndReturnArgs< 1317 + ExtArgs extends runtime.Types.Extensions.InternalArgs = 1318 + runtime.Types.Extensions.DefaultArgs, 1319 + > = { 1051 1320 /** 1052 1321 * Select specific fields to fetch from the AuthSession 1053 1322 */ 1054 - select?: Prisma.AuthSessionSelectUpdateManyAndReturn<ExtArgs> | null 1323 + select?: Prisma.AuthSessionSelectUpdateManyAndReturn<ExtArgs> | null; 1055 1324 /** 1056 1325 * Omit specific fields from the AuthSession 1057 1326 */ 1058 - omit?: Prisma.AuthSessionOmit<ExtArgs> | null 1327 + omit?: Prisma.AuthSessionOmit<ExtArgs> | null; 1059 1328 /** 1060 1329 * The data used to update AuthSessions. 1061 1330 */ 1062 - data: Prisma.XOR<Prisma.AuthSessionUpdateManyMutationInput, Prisma.AuthSessionUncheckedUpdateManyInput> 1331 + data: Prisma.XOR< 1332 + Prisma.AuthSessionUpdateManyMutationInput, 1333 + Prisma.AuthSessionUncheckedUpdateManyInput 1334 + >; 1063 1335 /** 1064 1336 * Filter which AuthSessions to update 1065 1337 */ 1066 - where?: Prisma.AuthSessionWhereInput 1338 + where?: Prisma.AuthSessionWhereInput; 1067 1339 /** 1068 1340 * Limit how many AuthSessions to update. 1069 1341 */ 1070 - limit?: number 1071 - } 1342 + limit?: number; 1343 + }; 1072 1344 1073 1345 /** 1074 1346 * AuthSession upsert 1075 1347 */ 1076 - export type AuthSessionUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = { 1348 + export type AuthSessionUpsertArgs< 1349 + ExtArgs extends runtime.Types.Extensions.InternalArgs = 1350 + runtime.Types.Extensions.DefaultArgs, 1351 + > = { 1077 1352 /** 1078 1353 * Select specific fields to fetch from the AuthSession 1079 1354 */ 1080 - select?: Prisma.AuthSessionSelect<ExtArgs> | null 1355 + select?: Prisma.AuthSessionSelect<ExtArgs> | null; 1081 1356 /** 1082 1357 * Omit specific fields from the AuthSession 1083 1358 */ 1084 - omit?: Prisma.AuthSessionOmit<ExtArgs> | null 1359 + omit?: Prisma.AuthSessionOmit<ExtArgs> | null; 1085 1360 /** 1086 1361 * The filter to search for the AuthSession to update in case it exists. 1087 1362 */ 1088 - where: Prisma.AuthSessionWhereUniqueInput 1363 + where: Prisma.AuthSessionWhereUniqueInput; 1089 1364 /** 1090 1365 * In case the AuthSession found by the `where` argument doesn't exist, create a new AuthSession with this data. 1091 1366 */ 1092 - create: Prisma.XOR<Prisma.AuthSessionCreateInput, Prisma.AuthSessionUncheckedCreateInput> 1367 + create: Prisma.XOR< 1368 + Prisma.AuthSessionCreateInput, 1369 + Prisma.AuthSessionUncheckedCreateInput 1370 + >; 1093 1371 /** 1094 1372 * In case the AuthSession was found with the provided `where` argument, update it with this data. 1095 1373 */ 1096 - update: Prisma.XOR<Prisma.AuthSessionUpdateInput, Prisma.AuthSessionUncheckedUpdateInput> 1097 - } 1374 + update: Prisma.XOR< 1375 + Prisma.AuthSessionUpdateInput, 1376 + Prisma.AuthSessionUncheckedUpdateInput 1377 + >; 1378 + }; 1098 1379 1099 1380 /** 1100 1381 * AuthSession delete 1101 1382 */ 1102 - export type AuthSessionDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = { 1383 + export type AuthSessionDeleteArgs< 1384 + ExtArgs extends runtime.Types.Extensions.InternalArgs = 1385 + runtime.Types.Extensions.DefaultArgs, 1386 + > = { 1103 1387 /** 1104 1388 * Select specific fields to fetch from the AuthSession 1105 1389 */ 1106 - select?: Prisma.AuthSessionSelect<ExtArgs> | null 1390 + select?: Prisma.AuthSessionSelect<ExtArgs> | null; 1107 1391 /** 1108 1392 * Omit specific fields from the AuthSession 1109 1393 */ 1110 - omit?: Prisma.AuthSessionOmit<ExtArgs> | null 1394 + omit?: Prisma.AuthSessionOmit<ExtArgs> | null; 1111 1395 /** 1112 1396 * Filter which AuthSession to delete. 1113 1397 */ 1114 - where: Prisma.AuthSessionWhereUniqueInput 1115 - } 1398 + where: Prisma.AuthSessionWhereUniqueInput; 1399 + }; 1116 1400 1117 1401 /** 1118 1402 * AuthSession deleteMany 1119 1403 */ 1120 - export type AuthSessionDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = { 1404 + export type AuthSessionDeleteManyArgs< 1405 + ExtArgs extends runtime.Types.Extensions.InternalArgs = 1406 + runtime.Types.Extensions.DefaultArgs, 1407 + > = { 1121 1408 /** 1122 1409 * Filter which AuthSessions to delete 1123 1410 */ 1124 - where?: Prisma.AuthSessionWhereInput 1411 + where?: Prisma.AuthSessionWhereInput; 1125 1412 /** 1126 1413 * Limit how many AuthSessions to delete. 1127 1414 */ 1128 - limit?: number 1129 - } 1415 + limit?: number; 1416 + }; 1130 1417 1131 1418 /** 1132 1419 * AuthSession without action 1133 1420 */ 1134 - export type AuthSessionDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = { 1421 + export type AuthSessionDefaultArgs< 1422 + ExtArgs extends runtime.Types.Extensions.InternalArgs = 1423 + runtime.Types.Extensions.DefaultArgs, 1424 + > = { 1135 1425 /** 1136 1426 * Select specific fields to fetch from the AuthSession 1137 1427 */ 1138 - select?: Prisma.AuthSessionSelect<ExtArgs> | null 1428 + select?: Prisma.AuthSessionSelect<ExtArgs> | null; 1139 1429 /** 1140 1430 * Omit specific fields from the AuthSession 1141 1431 */ 1142 - omit?: Prisma.AuthSessionOmit<ExtArgs> | null 1143 - } 1432 + omit?: Prisma.AuthSessionOmit<ExtArgs> | null; 1433 + };
+710 -429
backend/src/generated/models/AuthState.ts
··· 1 1 /* !!! This is code generated by Prisma. Do not edit directly. !!! */ 2 2 /* eslint-disable */ 3 3 // biome-ignore-all lint: generated file 4 - // @ts-nocheck 4 + // @ts-nocheck 5 5 /* 6 6 * This file exports the `AuthState` model and its related types. 7 7 * 8 8 * 🟢 You can import this file directly. 9 9 */ 10 - import type * as runtime from "@prisma/client/runtime/client" 11 - import type * as $Enums from "../enums.js" 12 - import type * as Prisma from "../internal/prismaNamespace.js" 10 + import type * as runtime from '@prisma/client/runtime/client'; 11 + import type * as $Enums from '../enums.js'; 12 + import type * as Prisma from '../internal/prismaNamespace.js'; 13 13 14 14 /** 15 15 * Model AuthState 16 - * 16 + * 17 17 */ 18 - export type AuthStateModel = runtime.Types.Result.DefaultSelection<Prisma.$AuthStatePayload> 18 + export type AuthStateModel = 19 + runtime.Types.Result.DefaultSelection<Prisma.$AuthStatePayload>; 19 20 20 21 export type AggregateAuthState = { 21 - _count: AuthStateCountAggregateOutputType | null 22 - _min: AuthStateMinAggregateOutputType | null 23 - _max: AuthStateMaxAggregateOutputType | null 24 - } 22 + _count: AuthStateCountAggregateOutputType | null; 23 + _min: AuthStateMinAggregateOutputType | null; 24 + _max: AuthStateMaxAggregateOutputType | null; 25 + }; 25 26 26 27 export type AuthStateMinAggregateOutputType = { 27 - key: string | null 28 - stateData: string | null 29 - expiresAt: Date | null 30 - createdAt: Date | null 31 - } 28 + key: string | null; 29 + stateData: string | null; 30 + expiresAt: Date | null; 31 + createdAt: Date | null; 32 + }; 32 33 33 34 export type AuthStateMaxAggregateOutputType = { 34 - key: string | null 35 - stateData: string | null 36 - expiresAt: Date | null 37 - createdAt: Date | null 38 - } 35 + key: string | null; 36 + stateData: string | null; 37 + expiresAt: Date | null; 38 + createdAt: Date | null; 39 + }; 39 40 40 41 export type AuthStateCountAggregateOutputType = { 41 - key: number 42 - stateData: number 43 - expiresAt: number 44 - createdAt: number 45 - _all: number 46 - } 47 - 42 + key: number; 43 + stateData: number; 44 + expiresAt: number; 45 + createdAt: number; 46 + _all: number; 47 + }; 48 48 49 49 export type AuthStateMinAggregateInputType = { 50 - key?: true 51 - stateData?: true 52 - expiresAt?: true 53 - createdAt?: true 54 - } 50 + key?: true; 51 + stateData?: true; 52 + expiresAt?: true; 53 + createdAt?: true; 54 + }; 55 55 56 56 export type AuthStateMaxAggregateInputType = { 57 - key?: true 58 - stateData?: true 59 - expiresAt?: true 60 - createdAt?: true 61 - } 57 + key?: true; 58 + stateData?: true; 59 + expiresAt?: true; 60 + createdAt?: true; 61 + }; 62 62 63 63 export type AuthStateCountAggregateInputType = { 64 - key?: true 65 - stateData?: true 66 - expiresAt?: true 67 - createdAt?: true 68 - _all?: true 69 - } 64 + key?: true; 65 + stateData?: true; 66 + expiresAt?: true; 67 + createdAt?: true; 68 + _all?: true; 69 + }; 70 70 71 - export type AuthStateAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = { 71 + export type AuthStateAggregateArgs< 72 + ExtArgs extends runtime.Types.Extensions.InternalArgs = 73 + runtime.Types.Extensions.DefaultArgs, 74 + > = { 72 75 /** 73 76 * Filter which AuthState to aggregate. 74 77 */ 75 - where?: Prisma.AuthStateWhereInput 78 + where?: Prisma.AuthStateWhereInput; 76 79 /** 77 80 * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} 78 - * 81 + * 79 82 * Determine the order of AuthStates to fetch. 80 83 */ 81 - orderBy?: Prisma.AuthStateOrderByWithRelationInput | Prisma.AuthStateOrderByWithRelationInput[] 84 + orderBy?: 85 + | Prisma.AuthStateOrderByWithRelationInput 86 + | Prisma.AuthStateOrderByWithRelationInput[]; 82 87 /** 83 88 * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} 84 - * 89 + * 85 90 * Sets the start position 86 91 */ 87 - cursor?: Prisma.AuthStateWhereUniqueInput 92 + cursor?: Prisma.AuthStateWhereUniqueInput; 88 93 /** 89 94 * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} 90 - * 95 + * 91 96 * Take `±n` AuthStates from the position of the cursor. 92 97 */ 93 - take?: number 98 + take?: number; 94 99 /** 95 100 * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} 96 - * 101 + * 97 102 * Skip the first `n` AuthStates. 98 103 */ 99 - skip?: number 104 + skip?: number; 100 105 /** 101 106 * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} 102 - * 107 + * 103 108 * Count returned AuthStates 104 - **/ 105 - _count?: true | AuthStateCountAggregateInputType 109 + **/ 110 + _count?: true | AuthStateCountAggregateInputType; 106 111 /** 107 112 * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} 108 - * 113 + * 109 114 * Select which fields to find the minimum value 110 - **/ 111 - _min?: AuthStateMinAggregateInputType 115 + **/ 116 + _min?: AuthStateMinAggregateInputType; 112 117 /** 113 118 * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} 114 - * 119 + * 115 120 * Select which fields to find the maximum value 116 - **/ 117 - _max?: AuthStateMaxAggregateInputType 118 - } 121 + **/ 122 + _max?: AuthStateMaxAggregateInputType; 123 + }; 119 124 120 125 export type GetAuthStateAggregateType<T extends AuthStateAggregateArgs> = { 121 - [P in keyof T & keyof AggregateAuthState]: P extends '_count' | 'count' 126 + [P in keyof T & keyof AggregateAuthState]: P extends '_count' | 'count' 122 127 ? T[P] extends true 123 128 ? number 124 129 : Prisma.GetScalarType<T[P], AggregateAuthState[P]> 125 - : Prisma.GetScalarType<T[P], AggregateAuthState[P]> 126 - } 130 + : Prisma.GetScalarType<T[P], AggregateAuthState[P]>; 131 + }; 127 132 128 - 129 - 130 - 131 - export type AuthStateGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = { 132 - where?: Prisma.AuthStateWhereInput 133 - orderBy?: Prisma.AuthStateOrderByWithAggregationInput | Prisma.AuthStateOrderByWithAggregationInput[] 134 - by: Prisma.AuthStateScalarFieldEnum[] | Prisma.AuthStateScalarFieldEnum 135 - having?: Prisma.AuthStateScalarWhereWithAggregatesInput 136 - take?: number 137 - skip?: number 138 - _count?: AuthStateCountAggregateInputType | true 139 - _min?: AuthStateMinAggregateInputType 140 - _max?: AuthStateMaxAggregateInputType 141 - } 133 + export type AuthStateGroupByArgs< 134 + ExtArgs extends runtime.Types.Extensions.InternalArgs = 135 + runtime.Types.Extensions.DefaultArgs, 136 + > = { 137 + where?: Prisma.AuthStateWhereInput; 138 + orderBy?: 139 + | Prisma.AuthStateOrderByWithAggregationInput 140 + | Prisma.AuthStateOrderByWithAggregationInput[]; 141 + by: Prisma.AuthStateScalarFieldEnum[] | Prisma.AuthStateScalarFieldEnum; 142 + having?: Prisma.AuthStateScalarWhereWithAggregatesInput; 143 + take?: number; 144 + skip?: number; 145 + _count?: AuthStateCountAggregateInputType | true; 146 + _min?: AuthStateMinAggregateInputType; 147 + _max?: AuthStateMaxAggregateInputType; 148 + }; 142 149 143 150 export type AuthStateGroupByOutputType = { 144 - key: string 145 - stateData: string 146 - expiresAt: Date 147 - createdAt: Date 148 - _count: AuthStateCountAggregateOutputType | null 149 - _min: AuthStateMinAggregateOutputType | null 150 - _max: AuthStateMaxAggregateOutputType | null 151 - } 151 + key: string; 152 + stateData: string; 153 + expiresAt: Date; 154 + createdAt: Date; 155 + _count: AuthStateCountAggregateOutputType | null; 156 + _min: AuthStateMinAggregateOutputType | null; 157 + _max: AuthStateMaxAggregateOutputType | null; 158 + }; 152 159 153 - type GetAuthStateGroupByPayload<T extends AuthStateGroupByArgs> = Prisma.PrismaPromise< 154 - Array< 155 - Prisma.PickEnumerable<AuthStateGroupByOutputType, T['by']> & 156 - { 157 - [P in ((keyof T) & (keyof AuthStateGroupByOutputType))]: P extends '_count' 160 + type GetAuthStateGroupByPayload<T extends AuthStateGroupByArgs> = 161 + Prisma.PrismaPromise< 162 + Array< 163 + Prisma.PickEnumerable<AuthStateGroupByOutputType, T['by']> & { 164 + [P in keyof T & keyof AuthStateGroupByOutputType]: P extends '_count' 158 165 ? T[P] extends boolean 159 166 ? number 160 167 : Prisma.GetScalarType<T[P], AuthStateGroupByOutputType[P]> 161 - : Prisma.GetScalarType<T[P], AuthStateGroupByOutputType[P]> 168 + : Prisma.GetScalarType<T[P], AuthStateGroupByOutputType[P]>; 162 169 } 163 170 > 164 - > 165 - 166 - 171 + >; 167 172 168 173 export type AuthStateWhereInput = { 169 - AND?: Prisma.AuthStateWhereInput | Prisma.AuthStateWhereInput[] 170 - OR?: Prisma.AuthStateWhereInput[] 171 - NOT?: Prisma.AuthStateWhereInput | Prisma.AuthStateWhereInput[] 172 - key?: Prisma.StringFilter<"AuthState"> | string 173 - stateData?: Prisma.StringFilter<"AuthState"> | string 174 - expiresAt?: Prisma.DateTimeFilter<"AuthState"> | Date | string 175 - createdAt?: Prisma.DateTimeFilter<"AuthState"> | Date | string 176 - } 174 + AND?: Prisma.AuthStateWhereInput | Prisma.AuthStateWhereInput[]; 175 + OR?: Prisma.AuthStateWhereInput[]; 176 + NOT?: Prisma.AuthStateWhereInput | Prisma.AuthStateWhereInput[]; 177 + key?: Prisma.StringFilter<'AuthState'> | string; 178 + stateData?: Prisma.StringFilter<'AuthState'> | string; 179 + expiresAt?: Prisma.DateTimeFilter<'AuthState'> | Date | string; 180 + createdAt?: Prisma.DateTimeFilter<'AuthState'> | Date | string; 181 + }; 177 182 178 183 export type AuthStateOrderByWithRelationInput = { 179 - key?: Prisma.SortOrder 180 - stateData?: Prisma.SortOrder 181 - expiresAt?: Prisma.SortOrder 182 - createdAt?: Prisma.SortOrder 183 - } 184 + key?: Prisma.SortOrder; 185 + stateData?: Prisma.SortOrder; 186 + expiresAt?: Prisma.SortOrder; 187 + createdAt?: Prisma.SortOrder; 188 + }; 184 189 185 - export type AuthStateWhereUniqueInput = Prisma.AtLeast<{ 186 - key?: string 187 - AND?: Prisma.AuthStateWhereInput | Prisma.AuthStateWhereInput[] 188 - OR?: Prisma.AuthStateWhereInput[] 189 - NOT?: Prisma.AuthStateWhereInput | Prisma.AuthStateWhereInput[] 190 - stateData?: Prisma.StringFilter<"AuthState"> | string 191 - expiresAt?: Prisma.DateTimeFilter<"AuthState"> | Date | string 192 - createdAt?: Prisma.DateTimeFilter<"AuthState"> | Date | string 193 - }, "key"> 190 + export type AuthStateWhereUniqueInput = Prisma.AtLeast< 191 + { 192 + key?: string; 193 + AND?: Prisma.AuthStateWhereInput | Prisma.AuthStateWhereInput[]; 194 + OR?: Prisma.AuthStateWhereInput[]; 195 + NOT?: Prisma.AuthStateWhereInput | Prisma.AuthStateWhereInput[]; 196 + stateData?: Prisma.StringFilter<'AuthState'> | string; 197 + expiresAt?: Prisma.DateTimeFilter<'AuthState'> | Date | string; 198 + createdAt?: Prisma.DateTimeFilter<'AuthState'> | Date | string; 199 + }, 200 + 'key' 201 + >; 194 202 195 203 export type AuthStateOrderByWithAggregationInput = { 196 - key?: Prisma.SortOrder 197 - stateData?: Prisma.SortOrder 198 - expiresAt?: Prisma.SortOrder 199 - createdAt?: Prisma.SortOrder 200 - _count?: Prisma.AuthStateCountOrderByAggregateInput 201 - _max?: Prisma.AuthStateMaxOrderByAggregateInput 202 - _min?: Prisma.AuthStateMinOrderByAggregateInput 203 - } 204 + key?: Prisma.SortOrder; 205 + stateData?: Prisma.SortOrder; 206 + expiresAt?: Prisma.SortOrder; 207 + createdAt?: Prisma.SortOrder; 208 + _count?: Prisma.AuthStateCountOrderByAggregateInput; 209 + _max?: Prisma.AuthStateMaxOrderByAggregateInput; 210 + _min?: Prisma.AuthStateMinOrderByAggregateInput; 211 + }; 204 212 205 213 export type AuthStateScalarWhereWithAggregatesInput = { 206 - AND?: Prisma.AuthStateScalarWhereWithAggregatesInput | Prisma.AuthStateScalarWhereWithAggregatesInput[] 207 - OR?: Prisma.AuthStateScalarWhereWithAggregatesInput[] 208 - NOT?: Prisma.AuthStateScalarWhereWithAggregatesInput | Prisma.AuthStateScalarWhereWithAggregatesInput[] 209 - key?: Prisma.StringWithAggregatesFilter<"AuthState"> | string 210 - stateData?: Prisma.StringWithAggregatesFilter<"AuthState"> | string 211 - expiresAt?: Prisma.DateTimeWithAggregatesFilter<"AuthState"> | Date | string 212 - createdAt?: Prisma.DateTimeWithAggregatesFilter<"AuthState"> | Date | string 213 - } 214 + AND?: 215 + | Prisma.AuthStateScalarWhereWithAggregatesInput 216 + | Prisma.AuthStateScalarWhereWithAggregatesInput[]; 217 + OR?: Prisma.AuthStateScalarWhereWithAggregatesInput[]; 218 + NOT?: 219 + | Prisma.AuthStateScalarWhereWithAggregatesInput 220 + | Prisma.AuthStateScalarWhereWithAggregatesInput[]; 221 + key?: Prisma.StringWithAggregatesFilter<'AuthState'> | string; 222 + stateData?: Prisma.StringWithAggregatesFilter<'AuthState'> | string; 223 + expiresAt?: Prisma.DateTimeWithAggregatesFilter<'AuthState'> | Date | string; 224 + createdAt?: Prisma.DateTimeWithAggregatesFilter<'AuthState'> | Date | string; 225 + }; 214 226 215 227 export type AuthStateCreateInput = { 216 - key: string 217 - stateData: string 218 - expiresAt: Date | string 219 - createdAt?: Date | string 220 - } 228 + key: string; 229 + stateData: string; 230 + expiresAt: Date | string; 231 + createdAt?: Date | string; 232 + }; 221 233 222 234 export type AuthStateUncheckedCreateInput = { 223 - key: string 224 - stateData: string 225 - expiresAt: Date | string 226 - createdAt?: Date | string 227 - } 235 + key: string; 236 + stateData: string; 237 + expiresAt: Date | string; 238 + createdAt?: Date | string; 239 + }; 228 240 229 241 export type AuthStateUpdateInput = { 230 - key?: Prisma.StringFieldUpdateOperationsInput | string 231 - stateData?: Prisma.StringFieldUpdateOperationsInput | string 232 - expiresAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string 233 - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string 234 - } 242 + key?: Prisma.StringFieldUpdateOperationsInput | string; 243 + stateData?: Prisma.StringFieldUpdateOperationsInput | string; 244 + expiresAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string; 245 + createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string; 246 + }; 235 247 236 248 export type AuthStateUncheckedUpdateInput = { 237 - key?: Prisma.StringFieldUpdateOperationsInput | string 238 - stateData?: Prisma.StringFieldUpdateOperationsInput | string 239 - expiresAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string 240 - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string 241 - } 249 + key?: Prisma.StringFieldUpdateOperationsInput | string; 250 + stateData?: Prisma.StringFieldUpdateOperationsInput | string; 251 + expiresAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string; 252 + createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string; 253 + }; 242 254 243 255 export type AuthStateCreateManyInput = { 244 - key: string 245 - stateData: string 246 - expiresAt: Date | string 247 - createdAt?: Date | string 248 - } 256 + key: string; 257 + stateData: string; 258 + expiresAt: Date | string; 259 + createdAt?: Date | string; 260 + }; 249 261 250 262 export type AuthStateUpdateManyMutationInput = { 251 - key?: Prisma.StringFieldUpdateOperationsInput | string 252 - stateData?: Prisma.StringFieldUpdateOperationsInput | string 253 - expiresAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string 254 - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string 255 - } 263 + key?: Prisma.StringFieldUpdateOperationsInput | string; 264 + stateData?: Prisma.StringFieldUpdateOperationsInput | string; 265 + expiresAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string; 266 + createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string; 267 + }; 256 268 257 269 export type AuthStateUncheckedUpdateManyInput = { 258 - key?: Prisma.StringFieldUpdateOperationsInput | string 259 - stateData?: Prisma.StringFieldUpdateOperationsInput | string 260 - expiresAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string 261 - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string 262 - } 270 + key?: Prisma.StringFieldUpdateOperationsInput | string; 271 + stateData?: Prisma.StringFieldUpdateOperationsInput | string; 272 + expiresAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string; 273 + createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string; 274 + }; 263 275 264 276 export type AuthStateCountOrderByAggregateInput = { 265 - key?: Prisma.SortOrder 266 - stateData?: Prisma.SortOrder 267 - expiresAt?: Prisma.SortOrder 268 - createdAt?: Prisma.SortOrder 269 - } 277 + key?: Prisma.SortOrder; 278 + stateData?: Prisma.SortOrder; 279 + expiresAt?: Prisma.SortOrder; 280 + createdAt?: Prisma.SortOrder; 281 + }; 270 282 271 283 export type AuthStateMaxOrderByAggregateInput = { 272 - key?: Prisma.SortOrder 273 - stateData?: Prisma.SortOrder 274 - expiresAt?: Prisma.SortOrder 275 - createdAt?: Prisma.SortOrder 276 - } 284 + key?: Prisma.SortOrder; 285 + stateData?: Prisma.SortOrder; 286 + expiresAt?: Prisma.SortOrder; 287 + createdAt?: Prisma.SortOrder; 288 + }; 277 289 278 290 export type AuthStateMinOrderByAggregateInput = { 279 - key?: Prisma.SortOrder 280 - stateData?: Prisma.SortOrder 281 - expiresAt?: Prisma.SortOrder 282 - createdAt?: Prisma.SortOrder 283 - } 291 + key?: Prisma.SortOrder; 292 + stateData?: Prisma.SortOrder; 293 + expiresAt?: Prisma.SortOrder; 294 + createdAt?: Prisma.SortOrder; 295 + }; 284 296 297 + export type AuthStateSelect< 298 + ExtArgs extends runtime.Types.Extensions.InternalArgs = 299 + runtime.Types.Extensions.DefaultArgs, 300 + > = runtime.Types.Extensions.GetSelect< 301 + { 302 + key?: boolean; 303 + stateData?: boolean; 304 + expiresAt?: boolean; 305 + createdAt?: boolean; 306 + }, 307 + ExtArgs['result']['authState'] 308 + >; 285 309 310 + export type AuthStateSelectCreateManyAndReturn< 311 + ExtArgs extends runtime.Types.Extensions.InternalArgs = 312 + runtime.Types.Extensions.DefaultArgs, 313 + > = runtime.Types.Extensions.GetSelect< 314 + { 315 + key?: boolean; 316 + stateData?: boolean; 317 + expiresAt?: boolean; 318 + createdAt?: boolean; 319 + }, 320 + ExtArgs['result']['authState'] 321 + >; 286 322 287 - export type AuthStateSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{ 288 - key?: boolean 289 - stateData?: boolean 290 - expiresAt?: boolean 291 - createdAt?: boolean 292 - }, ExtArgs["result"]["authState"]> 293 - 294 - export type AuthStateSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{ 295 - key?: boolean 296 - stateData?: boolean 297 - expiresAt?: boolean 298 - createdAt?: boolean 299 - }, ExtArgs["result"]["authState"]> 300 - 301 - export type AuthStateSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{ 302 - key?: boolean 303 - stateData?: boolean 304 - expiresAt?: boolean 305 - createdAt?: boolean 306 - }, ExtArgs["result"]["authState"]> 323 + export type AuthStateSelectUpdateManyAndReturn< 324 + ExtArgs extends runtime.Types.Extensions.InternalArgs = 325 + runtime.Types.Extensions.DefaultArgs, 326 + > = runtime.Types.Extensions.GetSelect< 327 + { 328 + key?: boolean; 329 + stateData?: boolean; 330 + expiresAt?: boolean; 331 + createdAt?: boolean; 332 + }, 333 + ExtArgs['result']['authState'] 334 + >; 307 335 308 336 export type AuthStateSelectScalar = { 309 - key?: boolean 310 - stateData?: boolean 311 - expiresAt?: boolean 312 - createdAt?: boolean 313 - } 337 + key?: boolean; 338 + stateData?: boolean; 339 + expiresAt?: boolean; 340 + createdAt?: boolean; 341 + }; 314 342 315 - export type AuthStateOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"key" | "stateData" | "expiresAt" | "createdAt", ExtArgs["result"]["authState"]> 343 + export type AuthStateOmit< 344 + ExtArgs extends runtime.Types.Extensions.InternalArgs = 345 + runtime.Types.Extensions.DefaultArgs, 346 + > = runtime.Types.Extensions.GetOmit< 347 + 'key' | 'stateData' | 'expiresAt' | 'createdAt', 348 + ExtArgs['result']['authState'] 349 + >; 316 350 317 - export type $AuthStatePayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = { 318 - name: "AuthState" 319 - objects: {} 320 - scalars: runtime.Types.Extensions.GetPayloadResult<{ 321 - key: string 322 - stateData: string 323 - expiresAt: Date 324 - createdAt: Date 325 - }, ExtArgs["result"]["authState"]> 326 - composites: {} 327 - } 351 + export type $AuthStatePayload< 352 + ExtArgs extends runtime.Types.Extensions.InternalArgs = 353 + runtime.Types.Extensions.DefaultArgs, 354 + > = { 355 + name: 'AuthState'; 356 + objects: {}; 357 + scalars: runtime.Types.Extensions.GetPayloadResult< 358 + { 359 + key: string; 360 + stateData: string; 361 + expiresAt: Date; 362 + createdAt: Date; 363 + }, 364 + ExtArgs['result']['authState'] 365 + >; 366 + composites: {}; 367 + }; 328 368 329 - export type AuthStateGetPayload<S extends boolean | null | undefined | AuthStateDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$AuthStatePayload, S> 369 + export type AuthStateGetPayload< 370 + S extends boolean | null | undefined | AuthStateDefaultArgs, 371 + > = runtime.Types.Result.GetResult<Prisma.$AuthStatePayload, S>; 330 372 331 - export type AuthStateCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = 332 - Omit<AuthStateFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & { 333 - select?: AuthStateCountAggregateInputType | true 334 - } 373 + export type AuthStateCountArgs< 374 + ExtArgs extends runtime.Types.Extensions.InternalArgs = 375 + runtime.Types.Extensions.DefaultArgs, 376 + > = Omit<AuthStateFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & { 377 + select?: AuthStateCountAggregateInputType | true; 378 + }; 335 379 336 - export interface AuthStateDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> { 337 - [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['AuthState'], meta: { name: 'AuthState' } } 380 + export interface AuthStateDelegate< 381 + ExtArgs extends runtime.Types.Extensions.InternalArgs = 382 + runtime.Types.Extensions.DefaultArgs, 383 + GlobalOmitOptions = {}, 384 + > { 385 + [K: symbol]: { 386 + types: Prisma.TypeMap<ExtArgs>['model']['AuthState']; 387 + meta: { name: 'AuthState' }; 388 + }; 338 389 /** 339 390 * Find zero or one AuthState that matches the filter. 340 391 * @param {AuthStateFindUniqueArgs} args - Arguments to find a AuthState ··· 346 397 * } 347 398 * }) 348 399 */ 349 - 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> 400 + findUnique<T extends AuthStateFindUniqueArgs>( 401 + args: Prisma.SelectSubset<T, AuthStateFindUniqueArgs<ExtArgs>>, 402 + ): Prisma.Prisma__AuthStateClient< 403 + runtime.Types.Result.GetResult< 404 + Prisma.$AuthStatePayload<ExtArgs>, 405 + T, 406 + 'findUnique', 407 + GlobalOmitOptions 408 + > | null, 409 + null, 410 + ExtArgs, 411 + GlobalOmitOptions 412 + >; 350 413 351 414 /** 352 415 * Find one AuthState that matches the filter or throw an error with `error.code='P2025'` ··· 360 423 * } 361 424 * }) 362 425 */ 363 - 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> 426 + findUniqueOrThrow<T extends AuthStateFindUniqueOrThrowArgs>( 427 + args: Prisma.SelectSubset<T, AuthStateFindUniqueOrThrowArgs<ExtArgs>>, 428 + ): Prisma.Prisma__AuthStateClient< 429 + runtime.Types.Result.GetResult< 430 + Prisma.$AuthStatePayload<ExtArgs>, 431 + T, 432 + 'findUniqueOrThrow', 433 + GlobalOmitOptions 434 + >, 435 + never, 436 + ExtArgs, 437 + GlobalOmitOptions 438 + >; 364 439 365 440 /** 366 441 * Find the first AuthState that matches the filter. ··· 375 450 * } 376 451 * }) 377 452 */ 378 - 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> 453 + findFirst<T extends AuthStateFindFirstArgs>( 454 + args?: Prisma.SelectSubset<T, AuthStateFindFirstArgs<ExtArgs>>, 455 + ): Prisma.Prisma__AuthStateClient< 456 + runtime.Types.Result.GetResult< 457 + Prisma.$AuthStatePayload<ExtArgs>, 458 + T, 459 + 'findFirst', 460 + GlobalOmitOptions 461 + > | null, 462 + null, 463 + ExtArgs, 464 + GlobalOmitOptions 465 + >; 379 466 380 467 /** 381 468 * Find the first AuthState that matches the filter or ··· 391 478 * } 392 479 * }) 393 480 */ 394 - 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> 481 + findFirstOrThrow<T extends AuthStateFindFirstOrThrowArgs>( 482 + args?: Prisma.SelectSubset<T, AuthStateFindFirstOrThrowArgs<ExtArgs>>, 483 + ): Prisma.Prisma__AuthStateClient< 484 + runtime.Types.Result.GetResult< 485 + Prisma.$AuthStatePayload<ExtArgs>, 486 + T, 487 + 'findFirstOrThrow', 488 + GlobalOmitOptions 489 + >, 490 + never, 491 + ExtArgs, 492 + GlobalOmitOptions 493 + >; 395 494 396 495 /** 397 496 * Find zero or more AuthStates that matches the filter. ··· 401 500 * @example 402 501 * // Get all AuthStates 403 502 * const authStates = await prisma.authState.findMany() 404 - * 503 + * 405 504 * // Get first 10 AuthStates 406 505 * const authStates = await prisma.authState.findMany({ take: 10 }) 407 - * 506 + * 408 507 * // Only select the `key` 409 508 * const authStateWithKeyOnly = await prisma.authState.findMany({ select: { key: true } }) 410 - * 509 + * 411 510 */ 412 - findMany<T extends AuthStateFindManyArgs>(args?: Prisma.SelectSubset<T, AuthStateFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AuthStatePayload<ExtArgs>, T, "findMany", GlobalOmitOptions>> 511 + findMany<T extends AuthStateFindManyArgs>( 512 + args?: Prisma.SelectSubset<T, AuthStateFindManyArgs<ExtArgs>>, 513 + ): Prisma.PrismaPromise< 514 + runtime.Types.Result.GetResult< 515 + Prisma.$AuthStatePayload<ExtArgs>, 516 + T, 517 + 'findMany', 518 + GlobalOmitOptions 519 + > 520 + >; 413 521 414 522 /** 415 523 * Create a AuthState. ··· 421 529 * // ... data to create a AuthState 422 530 * } 423 531 * }) 424 - * 532 + * 425 533 */ 426 - 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> 534 + create<T extends AuthStateCreateArgs>( 535 + args: Prisma.SelectSubset<T, AuthStateCreateArgs<ExtArgs>>, 536 + ): Prisma.Prisma__AuthStateClient< 537 + runtime.Types.Result.GetResult< 538 + Prisma.$AuthStatePayload<ExtArgs>, 539 + T, 540 + 'create', 541 + GlobalOmitOptions 542 + >, 543 + never, 544 + ExtArgs, 545 + GlobalOmitOptions 546 + >; 427 547 428 548 /** 429 549 * Create many AuthStates. ··· 435 555 * // ... provide data here 436 556 * ] 437 557 * }) 438 - * 558 + * 439 559 */ 440 - createMany<T extends AuthStateCreateManyArgs>(args?: Prisma.SelectSubset<T, AuthStateCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload> 560 + createMany<T extends AuthStateCreateManyArgs>( 561 + args?: Prisma.SelectSubset<T, AuthStateCreateManyArgs<ExtArgs>>, 562 + ): Prisma.PrismaPromise<Prisma.BatchPayload>; 441 563 442 564 /** 443 565 * Create many AuthStates and returns the data saved in the database. ··· 449 571 * // ... provide data here 450 572 * ] 451 573 * }) 452 - * 574 + * 453 575 * // Create many AuthStates and only return the `key` 454 576 * const authStateWithKeyOnly = await prisma.authState.createManyAndReturn({ 455 577 * select: { key: true }, ··· 459 581 * }) 460 582 * Note, that providing `undefined` is treated as the value not being there. 461 583 * Read more here: https://pris.ly/d/null-undefined 462 - * 584 + * 463 585 */ 464 - createManyAndReturn<T extends AuthStateCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, AuthStateCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AuthStatePayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>> 586 + createManyAndReturn<T extends AuthStateCreateManyAndReturnArgs>( 587 + args?: Prisma.SelectSubset<T, AuthStateCreateManyAndReturnArgs<ExtArgs>>, 588 + ): Prisma.PrismaPromise< 589 + runtime.Types.Result.GetResult< 590 + Prisma.$AuthStatePayload<ExtArgs>, 591 + T, 592 + 'createManyAndReturn', 593 + GlobalOmitOptions 594 + > 595 + >; 465 596 466 597 /** 467 598 * Delete a AuthState. ··· 473 604 * // ... filter to delete one AuthState 474 605 * } 475 606 * }) 476 - * 607 + * 477 608 */ 478 - 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> 609 + delete<T extends AuthStateDeleteArgs>( 610 + args: Prisma.SelectSubset<T, AuthStateDeleteArgs<ExtArgs>>, 611 + ): Prisma.Prisma__AuthStateClient< 612 + runtime.Types.Result.GetResult< 613 + Prisma.$AuthStatePayload<ExtArgs>, 614 + T, 615 + 'delete', 616 + GlobalOmitOptions 617 + >, 618 + never, 619 + ExtArgs, 620 + GlobalOmitOptions 621 + >; 479 622 480 623 /** 481 624 * Update one AuthState. ··· 490 633 * // ... provide data here 491 634 * } 492 635 * }) 493 - * 636 + * 494 637 */ 495 - 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> 638 + update<T extends AuthStateUpdateArgs>( 639 + args: Prisma.SelectSubset<T, AuthStateUpdateArgs<ExtArgs>>, 640 + ): Prisma.Prisma__AuthStateClient< 641 + runtime.Types.Result.GetResult< 642 + Prisma.$AuthStatePayload<ExtArgs>, 643 + T, 644 + 'update', 645 + GlobalOmitOptions 646 + >, 647 + never, 648 + ExtArgs, 649 + GlobalOmitOptions 650 + >; 496 651 497 652 /** 498 653 * Delete zero or more AuthStates. ··· 504 659 * // ... provide filter here 505 660 * } 506 661 * }) 507 - * 662 + * 508 663 */ 509 - deleteMany<T extends AuthStateDeleteManyArgs>(args?: Prisma.SelectSubset<T, AuthStateDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload> 664 + deleteMany<T extends AuthStateDeleteManyArgs>( 665 + args?: Prisma.SelectSubset<T, AuthStateDeleteManyArgs<ExtArgs>>, 666 + ): Prisma.PrismaPromise<Prisma.BatchPayload>; 510 667 511 668 /** 512 669 * Update zero or more AuthStates. ··· 523 680 * // ... provide data here 524 681 * } 525 682 * }) 526 - * 683 + * 527 684 */ 528 - updateMany<T extends AuthStateUpdateManyArgs>(args: Prisma.SelectSubset<T, AuthStateUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload> 685 + updateMany<T extends AuthStateUpdateManyArgs>( 686 + args: Prisma.SelectSubset<T, AuthStateUpdateManyArgs<ExtArgs>>, 687 + ): Prisma.PrismaPromise<Prisma.BatchPayload>; 529 688 530 689 /** 531 690 * Update zero or more AuthStates and returns the data updated in the database. ··· 540 699 * // ... provide data here 541 700 * ] 542 701 * }) 543 - * 702 + * 544 703 * // Update zero or more AuthStates and only return the `key` 545 704 * const authStateWithKeyOnly = await prisma.authState.updateManyAndReturn({ 546 705 * select: { key: true }, ··· 553 712 * }) 554 713 * Note, that providing `undefined` is treated as the value not being there. 555 714 * Read more here: https://pris.ly/d/null-undefined 556 - * 715 + * 557 716 */ 558 - updateManyAndReturn<T extends AuthStateUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, AuthStateUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AuthStatePayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>> 717 + updateManyAndReturn<T extends AuthStateUpdateManyAndReturnArgs>( 718 + args: Prisma.SelectSubset<T, AuthStateUpdateManyAndReturnArgs<ExtArgs>>, 719 + ): Prisma.PrismaPromise< 720 + runtime.Types.Result.GetResult< 721 + Prisma.$AuthStatePayload<ExtArgs>, 722 + T, 723 + 'updateManyAndReturn', 724 + GlobalOmitOptions 725 + > 726 + >; 559 727 560 728 /** 561 729 * Create or update one AuthState. ··· 574 742 * } 575 743 * }) 576 744 */ 577 - 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> 578 - 745 + upsert<T extends AuthStateUpsertArgs>( 746 + args: Prisma.SelectSubset<T, AuthStateUpsertArgs<ExtArgs>>, 747 + ): Prisma.Prisma__AuthStateClient< 748 + runtime.Types.Result.GetResult< 749 + Prisma.$AuthStatePayload<ExtArgs>, 750 + T, 751 + 'upsert', 752 + GlobalOmitOptions 753 + >, 754 + never, 755 + ExtArgs, 756 + GlobalOmitOptions 757 + >; 579 758 580 759 /** 581 760 * Count the number of AuthStates. ··· 589 768 * // ... the filter for the AuthStates we want to count 590 769 * } 591 770 * }) 592 - **/ 771 + **/ 593 772 count<T extends AuthStateCountArgs>( 594 773 args?: Prisma.Subset<T, AuthStateCountArgs>, 595 774 ): Prisma.PrismaPromise< ··· 598 777 ? number 599 778 : Prisma.GetScalarType<T['select'], AuthStateCountAggregateOutputType> 600 779 : number 601 - > 780 + >; 602 781 603 782 /** 604 783 * Allows you to perform aggregations operations on a AuthState. ··· 623 802 * }, 624 803 * take: 10, 625 804 * }) 626 - **/ 627 - aggregate<T extends AuthStateAggregateArgs>(args: Prisma.Subset<T, AuthStateAggregateArgs>): Prisma.PrismaPromise<GetAuthStateAggregateType<T>> 805 + **/ 806 + aggregate<T extends AuthStateAggregateArgs>( 807 + args: Prisma.Subset<T, AuthStateAggregateArgs>, 808 + ): Prisma.PrismaPromise<GetAuthStateAggregateType<T>>; 628 809 629 810 /** 630 811 * Group by AuthState. ··· 642 823 * _all: true 643 824 * }, 644 825 * }) 645 - * 646 - **/ 826 + * 827 + **/ 647 828 groupBy< 648 829 T extends AuthStateGroupByArgs, 649 830 HasSelectOrTake extends Prisma.Or< ··· 653 834 OrderByArg extends Prisma.True extends HasSelectOrTake 654 835 ? { orderBy: AuthStateGroupByArgs['orderBy'] } 655 836 : { orderBy?: AuthStateGroupByArgs['orderBy'] }, 656 - OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>, 837 + OrderFields extends Prisma.ExcludeUnderscoreKeys< 838 + Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>> 839 + >, 657 840 ByFields extends Prisma.MaybeTupleToUnion<T['by']>, 658 841 ByValid extends Prisma.Has<ByFields, OrderFields>, 659 842 HavingFields extends Prisma.GetHavingFields<T['having']>, 660 843 HavingValid extends Prisma.Has<ByFields, HavingFields>, 661 844 ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False, 662 845 InputErrors extends ByEmpty extends Prisma.True 663 - ? `Error: "by" must not be empty.` 664 - : HavingValid extends Prisma.False 665 - ? { 666 - [P in HavingFields]: P extends ByFields 667 - ? never 668 - : P extends string 669 - ? `Error: Field "${P}" used in "having" needs to be provided in "by".` 670 - : [ 671 - Error, 672 - 'Field ', 673 - P, 674 - ` in "having" needs to be provided in "by"`, 675 - ] 676 - }[HavingFields] 677 - : 'take' extends Prisma.Keys<T> 678 - ? 'orderBy' extends Prisma.Keys<T> 679 - ? ByValid extends Prisma.True 680 - ? {} 681 - : { 682 - [P in OrderFields]: P extends ByFields 846 + ? `Error: "by" must not be empty.` 847 + : HavingValid extends Prisma.False 848 + ? { 849 + [P in HavingFields]: P extends ByFields 683 850 ? never 684 - : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` 685 - }[OrderFields] 686 - : 'Error: If you provide "take", you also need to provide "orderBy"' 687 - : 'skip' extends Prisma.Keys<T> 688 - ? 'orderBy' extends Prisma.Keys<T> 689 - ? ByValid extends Prisma.True 690 - ? {} 691 - : { 692 - [P in OrderFields]: P extends ByFields 693 - ? never 694 - : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` 695 - }[OrderFields] 696 - : 'Error: If you provide "skip", you also need to provide "orderBy"' 697 - : ByValid extends Prisma.True 698 - ? {} 699 - : { 700 - [P in OrderFields]: P extends ByFields 701 - ? never 702 - : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` 703 - }[OrderFields] 704 - >(args: Prisma.SubsetIntersection<T, AuthStateGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetAuthStateGroupByPayload<T> : Prisma.PrismaPromise<InputErrors> 705 - /** 706 - * Fields of the AuthState model 707 - */ 708 - readonly fields: AuthStateFieldRefs; 851 + : P extends string 852 + ? `Error: Field "${P}" used in "having" needs to be provided in "by".` 853 + : [ 854 + Error, 855 + 'Field ', 856 + P, 857 + ` in "having" needs to be provided in "by"`, 858 + ]; 859 + }[HavingFields] 860 + : 'take' extends Prisma.Keys<T> 861 + ? 'orderBy' extends Prisma.Keys<T> 862 + ? ByValid extends Prisma.True 863 + ? {} 864 + : { 865 + [P in OrderFields]: P extends ByFields 866 + ? never 867 + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`; 868 + }[OrderFields] 869 + : 'Error: If you provide "take", you also need to provide "orderBy"' 870 + : 'skip' extends Prisma.Keys<T> 871 + ? 'orderBy' extends Prisma.Keys<T> 872 + ? ByValid extends Prisma.True 873 + ? {} 874 + : { 875 + [P in OrderFields]: P extends ByFields 876 + ? never 877 + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`; 878 + }[OrderFields] 879 + : 'Error: If you provide "skip", you also need to provide "orderBy"' 880 + : ByValid extends Prisma.True 881 + ? {} 882 + : { 883 + [P in OrderFields]: P extends ByFields 884 + ? never 885 + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`; 886 + }[OrderFields], 887 + >( 888 + args: Prisma.SubsetIntersection<T, AuthStateGroupByArgs, OrderByArg> & 889 + InputErrors, 890 + ): {} extends InputErrors 891 + ? GetAuthStateGroupByPayload<T> 892 + : Prisma.PrismaPromise<InputErrors>; 893 + /** 894 + * Fields of the AuthState model 895 + */ 896 + readonly fields: AuthStateFieldRefs; 709 897 } 710 898 711 899 /** ··· 714 902 * Because we want to prevent naming conflicts as mentioned in 715 903 * https://github.com/prisma/prisma-client-js/issues/707 716 904 */ 717 - export interface Prisma__AuthStateClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> { 718 - readonly [Symbol.toStringTag]: "PrismaPromise" 905 + export interface Prisma__AuthStateClient< 906 + T, 907 + Null = never, 908 + ExtArgs extends runtime.Types.Extensions.InternalArgs = 909 + runtime.Types.Extensions.DefaultArgs, 910 + GlobalOmitOptions = {}, 911 + > extends Prisma.PrismaPromise<T> { 912 + readonly [Symbol.toStringTag]: 'PrismaPromise'; 719 913 /** 720 914 * Attaches callbacks for the resolution and/or rejection of the Promise. 721 915 * @param onfulfilled The callback to execute when the Promise is resolved. 722 916 * @param onrejected The callback to execute when the Promise is rejected. 723 917 * @returns A Promise for the completion of which ever callback is executed. 724 918 */ 725 - 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> 919 + then<TResult1 = T, TResult2 = never>( 920 + onfulfilled?: 921 + | ((value: T) => TResult1 | PromiseLike<TResult1>) 922 + | undefined 923 + | null, 924 + onrejected?: 925 + | ((reason: any) => TResult2 | PromiseLike<TResult2>) 926 + | undefined 927 + | null, 928 + ): runtime.Types.Utils.JsPromise<TResult1 | TResult2>; 726 929 /** 727 930 * Attaches a callback for only the rejection of the Promise. 728 931 * @param onrejected The callback to execute when the Promise is rejected. 729 932 * @returns A Promise for the completion of the callback. 730 933 */ 731 - catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult> 934 + catch<TResult = never>( 935 + onrejected?: 936 + | ((reason: any) => TResult | PromiseLike<TResult>) 937 + | undefined 938 + | null, 939 + ): runtime.Types.Utils.JsPromise<T | TResult>; 732 940 /** 733 941 * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The 734 942 * resolved value cannot be modified from the callback. 735 943 * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected). 736 944 * @returns A Promise for the completion of the callback. 737 945 */ 738 - finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T> 946 + finally( 947 + onfinally?: (() => void) | undefined | null, 948 + ): runtime.Types.Utils.JsPromise<T>; 739 949 } 740 950 741 - 742 - 743 - 744 951 /** 745 952 * Fields of the AuthState model 746 953 */ 747 954 export interface AuthStateFieldRefs { 748 - readonly key: Prisma.FieldRef<"AuthState", 'String'> 749 - readonly stateData: Prisma.FieldRef<"AuthState", 'String'> 750 - readonly expiresAt: Prisma.FieldRef<"AuthState", 'DateTime'> 751 - readonly createdAt: Prisma.FieldRef<"AuthState", 'DateTime'> 955 + readonly key: Prisma.FieldRef<'AuthState', 'String'>; 956 + readonly stateData: Prisma.FieldRef<'AuthState', 'String'>; 957 + readonly expiresAt: Prisma.FieldRef<'AuthState', 'DateTime'>; 958 + readonly createdAt: Prisma.FieldRef<'AuthState', 'DateTime'>; 752 959 } 753 - 754 960 755 961 // Custom InputTypes 756 962 /** 757 963 * AuthState findUnique 758 964 */ 759 - export type AuthStateFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = { 965 + export type AuthStateFindUniqueArgs< 966 + ExtArgs extends runtime.Types.Extensions.InternalArgs = 967 + runtime.Types.Extensions.DefaultArgs, 968 + > = { 760 969 /** 761 970 * Select specific fields to fetch from the AuthState 762 971 */ 763 - select?: Prisma.AuthStateSelect<ExtArgs> | null 972 + select?: Prisma.AuthStateSelect<ExtArgs> | null; 764 973 /** 765 974 * Omit specific fields from the AuthState 766 975 */ 767 - omit?: Prisma.AuthStateOmit<ExtArgs> | null 976 + omit?: Prisma.AuthStateOmit<ExtArgs> | null; 768 977 /** 769 978 * Filter, which AuthState to fetch. 770 979 */ 771 - where: Prisma.AuthStateWhereUniqueInput 772 - } 980 + where: Prisma.AuthStateWhereUniqueInput; 981 + }; 773 982 774 983 /** 775 984 * AuthState findUniqueOrThrow 776 985 */ 777 - export type AuthStateFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = { 986 + export type AuthStateFindUniqueOrThrowArgs< 987 + ExtArgs extends runtime.Types.Extensions.InternalArgs = 988 + runtime.Types.Extensions.DefaultArgs, 989 + > = { 778 990 /** 779 991 * Select specific fields to fetch from the AuthState 780 992 */ 781 - select?: Prisma.AuthStateSelect<ExtArgs> | null 993 + select?: Prisma.AuthStateSelect<ExtArgs> | null; 782 994 /** 783 995 * Omit specific fields from the AuthState 784 996 */ 785 - omit?: Prisma.AuthStateOmit<ExtArgs> | null 997 + omit?: Prisma.AuthStateOmit<ExtArgs> | null; 786 998 /** 787 999 * Filter, which AuthState to fetch. 788 1000 */ 789 - where: Prisma.AuthStateWhereUniqueInput 790 - } 1001 + where: Prisma.AuthStateWhereUniqueInput; 1002 + }; 791 1003 792 1004 /** 793 1005 * AuthState findFirst 794 1006 */ 795 - export type AuthStateFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = { 1007 + export type AuthStateFindFirstArgs< 1008 + ExtArgs extends runtime.Types.Extensions.InternalArgs = 1009 + runtime.Types.Extensions.DefaultArgs, 1010 + > = { 796 1011 /** 797 1012 * Select specific fields to fetch from the AuthState 798 1013 */ 799 - select?: Prisma.AuthStateSelect<ExtArgs> | null 1014 + select?: Prisma.AuthStateSelect<ExtArgs> | null; 800 1015 /** 801 1016 * Omit specific fields from the AuthState 802 1017 */ 803 - omit?: Prisma.AuthStateOmit<ExtArgs> | null 1018 + omit?: Prisma.AuthStateOmit<ExtArgs> | null; 804 1019 /** 805 1020 * Filter, which AuthState to fetch. 806 1021 */ 807 - where?: Prisma.AuthStateWhereInput 1022 + where?: Prisma.AuthStateWhereInput; 808 1023 /** 809 1024 * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} 810 - * 1025 + * 811 1026 * Determine the order of AuthStates to fetch. 812 1027 */ 813 - orderBy?: Prisma.AuthStateOrderByWithRelationInput | Prisma.AuthStateOrderByWithRelationInput[] 1028 + orderBy?: 1029 + | Prisma.AuthStateOrderByWithRelationInput 1030 + | Prisma.AuthStateOrderByWithRelationInput[]; 814 1031 /** 815 1032 * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} 816 - * 1033 + * 817 1034 * Sets the position for searching for AuthStates. 818 1035 */ 819 - cursor?: Prisma.AuthStateWhereUniqueInput 1036 + cursor?: Prisma.AuthStateWhereUniqueInput; 820 1037 /** 821 1038 * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} 822 - * 1039 + * 823 1040 * Take `±n` AuthStates from the position of the cursor. 824 1041 */ 825 - take?: number 1042 + take?: number; 826 1043 /** 827 1044 * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} 828 - * 1045 + * 829 1046 * Skip the first `n` AuthStates. 830 1047 */ 831 - skip?: number 1048 + skip?: number; 832 1049 /** 833 1050 * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} 834 - * 1051 + * 835 1052 * Filter by unique combinations of AuthStates. 836 1053 */ 837 - distinct?: Prisma.AuthStateScalarFieldEnum | Prisma.AuthStateScalarFieldEnum[] 838 - } 1054 + distinct?: 1055 + | Prisma.AuthStateScalarFieldEnum 1056 + | Prisma.AuthStateScalarFieldEnum[]; 1057 + }; 839 1058 840 1059 /** 841 1060 * AuthState findFirstOrThrow 842 1061 */ 843 - export type AuthStateFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = { 1062 + export type AuthStateFindFirstOrThrowArgs< 1063 + ExtArgs extends runtime.Types.Extensions.InternalArgs = 1064 + runtime.Types.Extensions.DefaultArgs, 1065 + > = { 844 1066 /** 845 1067 * Select specific fields to fetch from the AuthState 846 1068 */ 847 - select?: Prisma.AuthStateSelect<ExtArgs> | null 1069 + select?: Prisma.AuthStateSelect<ExtArgs> | null; 848 1070 /** 849 1071 * Omit specific fields from the AuthState 850 1072 */ 851 - omit?: Prisma.AuthStateOmit<ExtArgs> | null 1073 + omit?: Prisma.AuthStateOmit<ExtArgs> | null; 852 1074 /** 853 1075 * Filter, which AuthState to fetch. 854 1076 */ 855 - where?: Prisma.AuthStateWhereInput 1077 + where?: Prisma.AuthStateWhereInput; 856 1078 /** 857 1079 * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} 858 - * 1080 + * 859 1081 * Determine the order of AuthStates to fetch. 860 1082 */ 861 - orderBy?: Prisma.AuthStateOrderByWithRelationInput | Prisma.AuthStateOrderByWithRelationInput[] 1083 + orderBy?: 1084 + | Prisma.AuthStateOrderByWithRelationInput 1085 + | Prisma.AuthStateOrderByWithRelationInput[]; 862 1086 /** 863 1087 * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} 864 - * 1088 + * 865 1089 * Sets the position for searching for AuthStates. 866 1090 */ 867 - cursor?: Prisma.AuthStateWhereUniqueInput 1091 + cursor?: Prisma.AuthStateWhereUniqueInput; 868 1092 /** 869 1093 * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} 870 - * 1094 + * 871 1095 * Take `±n` AuthStates from the position of the cursor. 872 1096 */ 873 - take?: number 1097 + take?: number; 874 1098 /** 875 1099 * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} 876 - * 1100 + * 877 1101 * Skip the first `n` AuthStates. 878 1102 */ 879 - skip?: number 1103 + skip?: number; 880 1104 /** 881 1105 * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} 882 - * 1106 + * 883 1107 * Filter by unique combinations of AuthStates. 884 1108 */ 885 - distinct?: Prisma.AuthStateScalarFieldEnum | Prisma.AuthStateScalarFieldEnum[] 886 - } 1109 + distinct?: 1110 + | Prisma.AuthStateScalarFieldEnum 1111 + | Prisma.AuthStateScalarFieldEnum[]; 1112 + }; 887 1113 888 1114 /** 889 1115 * AuthState findMany 890 1116 */ 891 - export type AuthStateFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = { 1117 + export type AuthStateFindManyArgs< 1118 + ExtArgs extends runtime.Types.Extensions.InternalArgs = 1119 + runtime.Types.Extensions.DefaultArgs, 1120 + > = { 892 1121 /** 893 1122 * Select specific fields to fetch from the AuthState 894 1123 */ 895 - select?: Prisma.AuthStateSelect<ExtArgs> | null 1124 + select?: Prisma.AuthStateSelect<ExtArgs> | null; 896 1125 /** 897 1126 * Omit specific fields from the AuthState 898 1127 */ 899 - omit?: Prisma.AuthStateOmit<ExtArgs> | null 1128 + omit?: Prisma.AuthStateOmit<ExtArgs> | null; 900 1129 /** 901 1130 * Filter, which AuthStates to fetch. 902 1131 */ 903 - where?: Prisma.AuthStateWhereInput 1132 + where?: Prisma.AuthStateWhereInput; 904 1133 /** 905 1134 * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} 906 - * 1135 + * 907 1136 * Determine the order of AuthStates to fetch. 908 1137 */ 909 - orderBy?: Prisma.AuthStateOrderByWithRelationInput | Prisma.AuthStateOrderByWithRelationInput[] 1138 + orderBy?: 1139 + | Prisma.AuthStateOrderByWithRelationInput 1140 + | Prisma.AuthStateOrderByWithRelationInput[]; 910 1141 /** 911 1142 * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} 912 - * 1143 + * 913 1144 * Sets the position for listing AuthStates. 914 1145 */ 915 - cursor?: Prisma.AuthStateWhereUniqueInput 1146 + cursor?: Prisma.AuthStateWhereUniqueInput; 916 1147 /** 917 1148 * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} 918 - * 1149 + * 919 1150 * Take `±n` AuthStates from the position of the cursor. 920 1151 */ 921 - take?: number 1152 + take?: number; 922 1153 /** 923 1154 * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} 924 - * 1155 + * 925 1156 * Skip the first `n` AuthStates. 926 1157 */ 927 - skip?: number 928 - distinct?: Prisma.AuthStateScalarFieldEnum | Prisma.AuthStateScalarFieldEnum[] 929 - } 1158 + skip?: number; 1159 + distinct?: 1160 + | Prisma.AuthStateScalarFieldEnum 1161 + | Prisma.AuthStateScalarFieldEnum[]; 1162 + }; 930 1163 931 1164 /** 932 1165 * AuthState create 933 1166 */ 934 - export type AuthStateCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = { 1167 + export type AuthStateCreateArgs< 1168 + ExtArgs extends runtime.Types.Extensions.InternalArgs = 1169 + runtime.Types.Extensions.DefaultArgs, 1170 + > = { 935 1171 /** 936 1172 * Select specific fields to fetch from the AuthState 937 1173 */ 938 - select?: Prisma.AuthStateSelect<ExtArgs> | null 1174 + select?: Prisma.AuthStateSelect<ExtArgs> | null; 939 1175 /** 940 1176 * Omit specific fields from the AuthState 941 1177 */ 942 - omit?: Prisma.AuthStateOmit<ExtArgs> | null 1178 + omit?: Prisma.AuthStateOmit<ExtArgs> | null; 943 1179 /** 944 1180 * The data needed to create a AuthState. 945 1181 */ 946 - data: Prisma.XOR<Prisma.AuthStateCreateInput, Prisma.AuthStateUncheckedCreateInput> 947 - } 1182 + data: Prisma.XOR< 1183 + Prisma.AuthStateCreateInput, 1184 + Prisma.AuthStateUncheckedCreateInput 1185 + >; 1186 + }; 948 1187 949 1188 /** 950 1189 * AuthState createMany 951 1190 */ 952 - export type AuthStateCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = { 1191 + export type AuthStateCreateManyArgs< 1192 + ExtArgs extends runtime.Types.Extensions.InternalArgs = 1193 + runtime.Types.Extensions.DefaultArgs, 1194 + > = { 953 1195 /** 954 1196 * The data used to create many AuthStates. 955 1197 */ 956 - data: Prisma.AuthStateCreateManyInput | Prisma.AuthStateCreateManyInput[] 957 - skipDuplicates?: boolean 958 - } 1198 + data: Prisma.AuthStateCreateManyInput | Prisma.AuthStateCreateManyInput[]; 1199 + skipDuplicates?: boolean; 1200 + }; 959 1201 960 1202 /** 961 1203 * AuthState createManyAndReturn 962 1204 */ 963 - export type AuthStateCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = { 1205 + export type AuthStateCreateManyAndReturnArgs< 1206 + ExtArgs extends runtime.Types.Extensions.InternalArgs = 1207 + runtime.Types.Extensions.DefaultArgs, 1208 + > = { 964 1209 /** 965 1210 * Select specific fields to fetch from the AuthState 966 1211 */ 967 - select?: Prisma.AuthStateSelectCreateManyAndReturn<ExtArgs> | null 1212 + select?: Prisma.AuthStateSelectCreateManyAndReturn<ExtArgs> | null; 968 1213 /** 969 1214 * Omit specific fields from the AuthState 970 1215 */ 971 - omit?: Prisma.AuthStateOmit<ExtArgs> | null 1216 + omit?: Prisma.AuthStateOmit<ExtArgs> | null; 972 1217 /** 973 1218 * The data used to create many AuthStates. 974 1219 */ 975 - data: Prisma.AuthStateCreateManyInput | Prisma.AuthStateCreateManyInput[] 976 - skipDuplicates?: boolean 977 - } 1220 + data: Prisma.AuthStateCreateManyInput | Prisma.AuthStateCreateManyInput[]; 1221 + skipDuplicates?: boolean; 1222 + }; 978 1223 979 1224 /** 980 1225 * AuthState update 981 1226 */ 982 - export type AuthStateUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = { 1227 + export type AuthStateUpdateArgs< 1228 + ExtArgs extends runtime.Types.Extensions.InternalArgs = 1229 + runtime.Types.Extensions.DefaultArgs, 1230 + > = { 983 1231 /** 984 1232 * Select specific fields to fetch from the AuthState 985 1233 */ 986 - select?: Prisma.AuthStateSelect<ExtArgs> | null 1234 + select?: Prisma.AuthStateSelect<ExtArgs> | null; 987 1235 /** 988 1236 * Omit specific fields from the AuthState 989 1237 */ 990 - omit?: Prisma.AuthStateOmit<ExtArgs> | null 1238 + omit?: Prisma.AuthStateOmit<ExtArgs> | null; 991 1239 /** 992 1240 * The data needed to update a AuthState. 993 1241 */ 994 - data: Prisma.XOR<Prisma.AuthStateUpdateInput, Prisma.AuthStateUncheckedUpdateInput> 1242 + data: Prisma.XOR< 1243 + Prisma.AuthStateUpdateInput, 1244 + Prisma.AuthStateUncheckedUpdateInput 1245 + >; 995 1246 /** 996 1247 * Choose, which AuthState to update. 997 1248 */ 998 - where: Prisma.AuthStateWhereUniqueInput 999 - } 1249 + where: Prisma.AuthStateWhereUniqueInput; 1250 + }; 1000 1251 1001 1252 /** 1002 1253 * AuthState updateMany 1003 1254 */ 1004 - export type AuthStateUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = { 1255 + export type AuthStateUpdateManyArgs< 1256 + ExtArgs extends runtime.Types.Extensions.InternalArgs = 1257 + runtime.Types.Extensions.DefaultArgs, 1258 + > = { 1005 1259 /** 1006 1260 * The data used to update AuthStates. 1007 1261 */ 1008 - data: Prisma.XOR<Prisma.AuthStateUpdateManyMutationInput, Prisma.AuthStateUncheckedUpdateManyInput> 1262 + data: Prisma.XOR< 1263 + Prisma.AuthStateUpdateManyMutationInput, 1264 + Prisma.AuthStateUncheckedUpdateManyInput 1265 + >; 1009 1266 /** 1010 1267 * Filter which AuthStates to update 1011 1268 */ 1012 - where?: Prisma.AuthStateWhereInput 1269 + where?: Prisma.AuthStateWhereInput; 1013 1270 /** 1014 1271 * Limit how many AuthStates to update. 1015 1272 */ 1016 - limit?: number 1017 - } 1273 + limit?: number; 1274 + }; 1018 1275 1019 1276 /** 1020 1277 * AuthState updateManyAndReturn 1021 1278 */ 1022 - export type AuthStateUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = { 1279 + export type AuthStateUpdateManyAndReturnArgs< 1280 + ExtArgs extends runtime.Types.Extensions.InternalArgs = 1281 + runtime.Types.Extensions.DefaultArgs, 1282 + > = { 1023 1283 /** 1024 1284 * Select specific fields to fetch from the AuthState 1025 1285 */ 1026 - select?: Prisma.AuthStateSelectUpdateManyAndReturn<ExtArgs> | null 1286 + select?: Prisma.AuthStateSelectUpdateManyAndReturn<ExtArgs> | null; 1027 1287 /** 1028 1288 * Omit specific fields from the AuthState 1029 1289 */ 1030 - omit?: Prisma.AuthStateOmit<ExtArgs> | null 1290 + omit?: Prisma.AuthStateOmit<ExtArgs> | null; 1031 1291 /** 1032 1292 * The data used to update AuthStates. 1033 1293 */ 1034 - data: Prisma.XOR<Prisma.AuthStateUpdateManyMutationInput, Prisma.AuthStateUncheckedUpdateManyInput> 1294 + data: Prisma.XOR< 1295 + Prisma.AuthStateUpdateManyMutationInput, 1296 + Prisma.AuthStateUncheckedUpdateManyInput 1297 + >; 1035 1298 /** 1036 1299 * Filter which AuthStates to update 1037 1300 */ 1038 - where?: Prisma.AuthStateWhereInput 1301 + where?: Prisma.AuthStateWhereInput; 1039 1302 /** 1040 1303 * Limit how many AuthStates to update. 1041 1304 */ 1042 - limit?: number 1043 - } 1305 + limit?: number; 1306 + }; 1044 1307 1045 1308 /** 1046 1309 * AuthState upsert 1047 1310 */ 1048 - export type AuthStateUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = { 1311 + export type AuthStateUpsertArgs< 1312 + ExtArgs extends runtime.Types.Extensions.InternalArgs = 1313 + runtime.Types.Extensions.DefaultArgs, 1314 + > = { 1049 1315 /** 1050 1316 * Select specific fields to fetch from the AuthState 1051 1317 */ 1052 - select?: Prisma.AuthStateSelect<ExtArgs> | null 1318 + select?: Prisma.AuthStateSelect<ExtArgs> | null; 1053 1319 /** 1054 1320 * Omit specific fields from the AuthState 1055 1321 */ 1056 - omit?: Prisma.AuthStateOmit<ExtArgs> | null 1322 + omit?: Prisma.AuthStateOmit<ExtArgs> | null; 1057 1323 /** 1058 1324 * The filter to search for the AuthState to update in case it exists. 1059 1325 */ 1060 - where: Prisma.AuthStateWhereUniqueInput 1326 + where: Prisma.AuthStateWhereUniqueInput; 1061 1327 /** 1062 1328 * In case the AuthState found by the `where` argument doesn't exist, create a new AuthState with this data. 1063 1329 */ 1064 - create: Prisma.XOR<Prisma.AuthStateCreateInput, Prisma.AuthStateUncheckedCreateInput> 1330 + create: Prisma.XOR< 1331 + Prisma.AuthStateCreateInput, 1332 + Prisma.AuthStateUncheckedCreateInput 1333 + >; 1065 1334 /** 1066 1335 * In case the AuthState was found with the provided `where` argument, update it with this data. 1067 1336 */ 1068 - update: Prisma.XOR<Prisma.AuthStateUpdateInput, Prisma.AuthStateUncheckedUpdateInput> 1069 - } 1337 + update: Prisma.XOR< 1338 + Prisma.AuthStateUpdateInput, 1339 + Prisma.AuthStateUncheckedUpdateInput 1340 + >; 1341 + }; 1070 1342 1071 1343 /** 1072 1344 * AuthState delete 1073 1345 */ 1074 - export type AuthStateDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = { 1346 + export type AuthStateDeleteArgs< 1347 + ExtArgs extends runtime.Types.Extensions.InternalArgs = 1348 + runtime.Types.Extensions.DefaultArgs, 1349 + > = { 1075 1350 /** 1076 1351 * Select specific fields to fetch from the AuthState 1077 1352 */ 1078 - select?: Prisma.AuthStateSelect<ExtArgs> | null 1353 + select?: Prisma.AuthStateSelect<ExtArgs> | null; 1079 1354 /** 1080 1355 * Omit specific fields from the AuthState 1081 1356 */ 1082 - omit?: Prisma.AuthStateOmit<ExtArgs> | null 1357 + omit?: Prisma.AuthStateOmit<ExtArgs> | null; 1083 1358 /** 1084 1359 * Filter which AuthState to delete. 1085 1360 */ 1086 - where: Prisma.AuthStateWhereUniqueInput 1087 - } 1361 + where: Prisma.AuthStateWhereUniqueInput; 1362 + }; 1088 1363 1089 1364 /** 1090 1365 * AuthState deleteMany 1091 1366 */ 1092 - export type AuthStateDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = { 1367 + export type AuthStateDeleteManyArgs< 1368 + ExtArgs extends runtime.Types.Extensions.InternalArgs = 1369 + runtime.Types.Extensions.DefaultArgs, 1370 + > = { 1093 1371 /** 1094 1372 * Filter which AuthStates to delete 1095 1373 */ 1096 - where?: Prisma.AuthStateWhereInput 1374 + where?: Prisma.AuthStateWhereInput; 1097 1375 /** 1098 1376 * Limit how many AuthStates to delete. 1099 1377 */ 1100 - limit?: number 1101 - } 1378 + limit?: number; 1379 + }; 1102 1380 1103 1381 /** 1104 1382 * AuthState without action 1105 1383 */ 1106 - export type AuthStateDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = { 1384 + export type AuthStateDefaultArgs< 1385 + ExtArgs extends runtime.Types.Extensions.InternalArgs = 1386 + runtime.Types.Extensions.DefaultArgs, 1387 + > = { 1107 1388 /** 1108 1389 * Select specific fields to fetch from the AuthState 1109 1390 */ 1110 - select?: Prisma.AuthStateSelect<ExtArgs> | null 1391 + select?: Prisma.AuthStateSelect<ExtArgs> | null; 1111 1392 /** 1112 1393 * Omit specific fields from the AuthState 1113 1394 */ 1114 - omit?: Prisma.AuthStateOmit<ExtArgs> | null 1115 - } 1395 + omit?: Prisma.AuthStateOmit<ExtArgs> | null; 1396 + };
+1097 -716
backend/src/generated/models/Movie.ts
··· 1 1 /* !!! This is code generated by Prisma. Do not edit directly. !!! */ 2 2 /* eslint-disable */ 3 3 // biome-ignore-all lint: generated file 4 - // @ts-nocheck 4 + // @ts-nocheck 5 5 /* 6 6 * This file exports the `Movie` model and its related types. 7 7 * 8 8 * 🟢 You can import this file directly. 9 9 */ 10 - import type * as runtime from "@prisma/client/runtime/client" 11 - import type * as $Enums from "../enums.js" 12 - import type * as Prisma from "../internal/prismaNamespace.js" 10 + import type * as runtime from '@prisma/client/runtime/client'; 11 + import type * as $Enums from '../enums.js'; 12 + import type * as Prisma from '../internal/prismaNamespace.js'; 13 13 14 14 /** 15 15 * Model Movie 16 - * 16 + * 17 17 */ 18 - export type MovieModel = runtime.Types.Result.DefaultSelection<Prisma.$MoviePayload> 18 + export type MovieModel = 19 + runtime.Types.Result.DefaultSelection<Prisma.$MoviePayload>; 19 20 20 21 export type AggregateMovie = { 21 - _count: MovieCountAggregateOutputType | null 22 - _avg: MovieAvgAggregateOutputType | null 23 - _sum: MovieSumAggregateOutputType | null 24 - _min: MovieMinAggregateOutputType | null 25 - _max: MovieMaxAggregateOutputType | null 26 - } 22 + _count: MovieCountAggregateOutputType | null; 23 + _avg: MovieAvgAggregateOutputType | null; 24 + _sum: MovieSumAggregateOutputType | null; 25 + _min: MovieMinAggregateOutputType | null; 26 + _max: MovieMaxAggregateOutputType | null; 27 + }; 27 28 28 29 export type MovieAvgAggregateOutputType = { 29 - releaseYear: number | null 30 - } 30 + releaseYear: number | null; 31 + }; 31 32 32 33 export type MovieSumAggregateOutputType = { 33 - releaseYear: number | null 34 - } 34 + releaseYear: number | null; 35 + }; 35 36 36 37 export type MovieMinAggregateOutputType = { 37 - movieId: string | null 38 - title: string | null 39 - posterPath: string | null 40 - backdropPath: string | null 41 - releaseYear: number | null 42 - releaseDate: Date | null 43 - overview: string | null 44 - createdAt: Date | null 45 - updatedAt: Date | null 46 - } 38 + movieId: string | null; 39 + title: string | null; 40 + posterPath: string | null; 41 + backdropPath: string | null; 42 + releaseYear: number | null; 43 + releaseDate: Date | null; 44 + overview: string | null; 45 + createdAt: Date | null; 46 + updatedAt: Date | null; 47 + }; 47 48 48 49 export type MovieMaxAggregateOutputType = { 49 - movieId: string | null 50 - title: string | null 51 - posterPath: string | null 52 - backdropPath: string | null 53 - releaseYear: number | null 54 - releaseDate: Date | null 55 - overview: string | null 56 - createdAt: Date | null 57 - updatedAt: Date | null 58 - } 50 + movieId: string | null; 51 + title: string | null; 52 + posterPath: string | null; 53 + backdropPath: string | null; 54 + releaseYear: number | null; 55 + releaseDate: Date | null; 56 + overview: string | null; 57 + createdAt: Date | null; 58 + updatedAt: Date | null; 59 + }; 59 60 60 61 export type MovieCountAggregateOutputType = { 61 - movieId: number 62 - title: number 63 - posterPath: number 64 - backdropPath: number 65 - releaseYear: number 66 - releaseDate: number 67 - overview: number 68 - createdAt: number 69 - updatedAt: number 70 - _all: number 71 - } 72 - 62 + movieId: number; 63 + title: number; 64 + posterPath: number; 65 + backdropPath: number; 66 + releaseYear: number; 67 + releaseDate: number; 68 + overview: number; 69 + createdAt: number; 70 + updatedAt: number; 71 + _all: number; 72 + }; 73 73 74 74 export type MovieAvgAggregateInputType = { 75 - releaseYear?: true 76 - } 75 + releaseYear?: true; 76 + }; 77 77 78 78 export type MovieSumAggregateInputType = { 79 - releaseYear?: true 80 - } 79 + releaseYear?: true; 80 + }; 81 81 82 82 export type MovieMinAggregateInputType = { 83 - movieId?: true 84 - title?: true 85 - posterPath?: true 86 - backdropPath?: true 87 - releaseYear?: true 88 - releaseDate?: true 89 - overview?: true 90 - createdAt?: true 91 - updatedAt?: true 92 - } 83 + movieId?: true; 84 + title?: true; 85 + posterPath?: true; 86 + backdropPath?: true; 87 + releaseYear?: true; 88 + releaseDate?: true; 89 + overview?: true; 90 + createdAt?: true; 91 + updatedAt?: true; 92 + }; 93 93 94 94 export type MovieMaxAggregateInputType = { 95 - movieId?: true 96 - title?: true 97 - posterPath?: true 98 - backdropPath?: true 99 - releaseYear?: true 100 - releaseDate?: true 101 - overview?: true 102 - createdAt?: true 103 - updatedAt?: true 104 - } 95 + movieId?: true; 96 + title?: true; 97 + posterPath?: true; 98 + backdropPath?: true; 99 + releaseYear?: true; 100 + releaseDate?: true; 101 + overview?: true; 102 + createdAt?: true; 103 + updatedAt?: true; 104 + }; 105 105 106 106 export type MovieCountAggregateInputType = { 107 - movieId?: true 108 - title?: true 109 - posterPath?: true 110 - backdropPath?: true 111 - releaseYear?: true 112 - releaseDate?: true 113 - overview?: true 114 - createdAt?: true 115 - updatedAt?: true 116 - _all?: true 117 - } 107 + movieId?: true; 108 + title?: true; 109 + posterPath?: true; 110 + backdropPath?: true; 111 + releaseYear?: true; 112 + releaseDate?: true; 113 + overview?: true; 114 + createdAt?: true; 115 + updatedAt?: true; 116 + _all?: true; 117 + }; 118 118 119 - export type MovieAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = { 119 + export type MovieAggregateArgs< 120 + ExtArgs extends runtime.Types.Extensions.InternalArgs = 121 + runtime.Types.Extensions.DefaultArgs, 122 + > = { 120 123 /** 121 124 * Filter which Movie to aggregate. 122 125 */ 123 - where?: Prisma.MovieWhereInput 126 + where?: Prisma.MovieWhereInput; 124 127 /** 125 128 * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} 126 - * 129 + * 127 130 * Determine the order of Movies to fetch. 128 131 */ 129 - orderBy?: Prisma.MovieOrderByWithRelationInput | Prisma.MovieOrderByWithRelationInput[] 132 + orderBy?: 133 + | Prisma.MovieOrderByWithRelationInput 134 + | Prisma.MovieOrderByWithRelationInput[]; 130 135 /** 131 136 * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} 132 - * 137 + * 133 138 * Sets the start position 134 139 */ 135 - cursor?: Prisma.MovieWhereUniqueInput 140 + cursor?: Prisma.MovieWhereUniqueInput; 136 141 /** 137 142 * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} 138 - * 143 + * 139 144 * Take `±n` Movies from the position of the cursor. 140 145 */ 141 - take?: number 146 + take?: number; 142 147 /** 143 148 * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} 144 - * 149 + * 145 150 * Skip the first `n` Movies. 146 151 */ 147 - skip?: number 152 + skip?: number; 148 153 /** 149 154 * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} 150 - * 155 + * 151 156 * Count returned Movies 152 - **/ 153 - _count?: true | MovieCountAggregateInputType 157 + **/ 158 + _count?: true | MovieCountAggregateInputType; 154 159 /** 155 160 * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} 156 - * 161 + * 157 162 * Select which fields to average 158 - **/ 159 - _avg?: MovieAvgAggregateInputType 163 + **/ 164 + _avg?: MovieAvgAggregateInputType; 160 165 /** 161 166 * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} 162 - * 167 + * 163 168 * Select which fields to sum 164 - **/ 165 - _sum?: MovieSumAggregateInputType 169 + **/ 170 + _sum?: MovieSumAggregateInputType; 166 171 /** 167 172 * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} 168 - * 173 + * 169 174 * Select which fields to find the minimum value 170 - **/ 171 - _min?: MovieMinAggregateInputType 175 + **/ 176 + _min?: MovieMinAggregateInputType; 172 177 /** 173 178 * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} 174 - * 179 + * 175 180 * Select which fields to find the maximum value 176 - **/ 177 - _max?: MovieMaxAggregateInputType 178 - } 181 + **/ 182 + _max?: MovieMaxAggregateInputType; 183 + }; 179 184 180 185 export type GetMovieAggregateType<T extends MovieAggregateArgs> = { 181 - [P in keyof T & keyof AggregateMovie]: P extends '_count' | 'count' 186 + [P in keyof T & keyof AggregateMovie]: P extends '_count' | 'count' 182 187 ? T[P] extends true 183 188 ? number 184 189 : Prisma.GetScalarType<T[P], AggregateMovie[P]> 185 - : Prisma.GetScalarType<T[P], AggregateMovie[P]> 186 - } 190 + : Prisma.GetScalarType<T[P], AggregateMovie[P]>; 191 + }; 187 192 188 - 189 - 190 - 191 - export type MovieGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = { 192 - where?: Prisma.MovieWhereInput 193 - orderBy?: Prisma.MovieOrderByWithAggregationInput | Prisma.MovieOrderByWithAggregationInput[] 194 - by: Prisma.MovieScalarFieldEnum[] | Prisma.MovieScalarFieldEnum 195 - having?: Prisma.MovieScalarWhereWithAggregatesInput 196 - take?: number 197 - skip?: number 198 - _count?: MovieCountAggregateInputType | true 199 - _avg?: MovieAvgAggregateInputType 200 - _sum?: MovieSumAggregateInputType 201 - _min?: MovieMinAggregateInputType 202 - _max?: MovieMaxAggregateInputType 203 - } 193 + export type MovieGroupByArgs< 194 + ExtArgs extends runtime.Types.Extensions.InternalArgs = 195 + runtime.Types.Extensions.DefaultArgs, 196 + > = { 197 + where?: Prisma.MovieWhereInput; 198 + orderBy?: 199 + | Prisma.MovieOrderByWithAggregationInput 200 + | Prisma.MovieOrderByWithAggregationInput[]; 201 + by: Prisma.MovieScalarFieldEnum[] | Prisma.MovieScalarFieldEnum; 202 + having?: Prisma.MovieScalarWhereWithAggregatesInput; 203 + take?: number; 204 + skip?: number; 205 + _count?: MovieCountAggregateInputType | true; 206 + _avg?: MovieAvgAggregateInputType; 207 + _sum?: MovieSumAggregateInputType; 208 + _min?: MovieMinAggregateInputType; 209 + _max?: MovieMaxAggregateInputType; 210 + }; 204 211 205 212 export type MovieGroupByOutputType = { 206 - movieId: string 207 - title: string 208 - posterPath: string | null 209 - backdropPath: string | null 210 - releaseYear: number | null 211 - releaseDate: Date | null 212 - overview: string | null 213 - createdAt: Date 214 - updatedAt: Date 215 - _count: MovieCountAggregateOutputType | null 216 - _avg: MovieAvgAggregateOutputType | null 217 - _sum: MovieSumAggregateOutputType | null 218 - _min: MovieMinAggregateOutputType | null 219 - _max: MovieMaxAggregateOutputType | null 220 - } 213 + movieId: string; 214 + title: string; 215 + posterPath: string | null; 216 + backdropPath: string | null; 217 + releaseYear: number | null; 218 + releaseDate: Date | null; 219 + overview: string | null; 220 + createdAt: Date; 221 + updatedAt: Date; 222 + _count: MovieCountAggregateOutputType | null; 223 + _avg: MovieAvgAggregateOutputType | null; 224 + _sum: MovieSumAggregateOutputType | null; 225 + _min: MovieMinAggregateOutputType | null; 226 + _max: MovieMaxAggregateOutputType | null; 227 + }; 221 228 222 229 type GetMovieGroupByPayload<T extends MovieGroupByArgs> = Prisma.PrismaPromise< 223 230 Array< 224 - Prisma.PickEnumerable<MovieGroupByOutputType, T['by']> & 225 - { 226 - [P in ((keyof T) & (keyof MovieGroupByOutputType))]: P extends '_count' 227 - ? T[P] extends boolean 228 - ? number 229 - : Prisma.GetScalarType<T[P], MovieGroupByOutputType[P]> 231 + Prisma.PickEnumerable<MovieGroupByOutputType, T['by']> & { 232 + [P in keyof T & keyof MovieGroupByOutputType]: P extends '_count' 233 + ? T[P] extends boolean 234 + ? number 230 235 : Prisma.GetScalarType<T[P], MovieGroupByOutputType[P]> 231 - } 232 - > 236 + : Prisma.GetScalarType<T[P], MovieGroupByOutputType[P]>; 237 + } 233 238 > 234 - 235 - 239 + >; 236 240 237 241 export type MovieWhereInput = { 238 - AND?: Prisma.MovieWhereInput | Prisma.MovieWhereInput[] 239 - OR?: Prisma.MovieWhereInput[] 240 - NOT?: Prisma.MovieWhereInput | Prisma.MovieWhereInput[] 241 - movieId?: Prisma.StringFilter<"Movie"> | string 242 - title?: Prisma.StringFilter<"Movie"> | string 243 - posterPath?: Prisma.StringNullableFilter<"Movie"> | string | null 244 - backdropPath?: Prisma.StringNullableFilter<"Movie"> | string | null 245 - releaseYear?: Prisma.IntNullableFilter<"Movie"> | number | null 246 - releaseDate?: Prisma.DateTimeNullableFilter<"Movie"> | Date | string | null 247 - overview?: Prisma.StringNullableFilter<"Movie"> | string | null 248 - createdAt?: Prisma.DateTimeFilter<"Movie"> | Date | string 249 - updatedAt?: Prisma.DateTimeFilter<"Movie"> | Date | string 250 - trackedBy?: Prisma.TrackedMovieListRelationFilter 251 - } 242 + AND?: Prisma.MovieWhereInput | Prisma.MovieWhereInput[]; 243 + OR?: Prisma.MovieWhereInput[]; 244 + NOT?: Prisma.MovieWhereInput | Prisma.MovieWhereInput[]; 245 + movieId?: Prisma.StringFilter<'Movie'> | string; 246 + title?: Prisma.StringFilter<'Movie'> | string; 247 + posterPath?: Prisma.StringNullableFilter<'Movie'> | string | null; 248 + backdropPath?: Prisma.StringNullableFilter<'Movie'> | string | null; 249 + releaseYear?: Prisma.IntNullableFilter<'Movie'> | number | null; 250 + releaseDate?: Prisma.DateTimeNullableFilter<'Movie'> | Date | string | null; 251 + overview?: Prisma.StringNullableFilter<'Movie'> | string | null; 252 + createdAt?: Prisma.DateTimeFilter<'Movie'> | Date | string; 253 + updatedAt?: Prisma.DateTimeFilter<'Movie'> | Date | string; 254 + trackedBy?: Prisma.TrackedMovieListRelationFilter; 255 + }; 252 256 253 257 export type MovieOrderByWithRelationInput = { 254 - movieId?: Prisma.SortOrder 255 - title?: Prisma.SortOrder 256 - posterPath?: Prisma.SortOrderInput | Prisma.SortOrder 257 - backdropPath?: Prisma.SortOrderInput | Prisma.SortOrder 258 - releaseYear?: Prisma.SortOrderInput | Prisma.SortOrder 259 - releaseDate?: Prisma.SortOrderInput | Prisma.SortOrder 260 - overview?: Prisma.SortOrderInput | Prisma.SortOrder 261 - createdAt?: Prisma.SortOrder 262 - updatedAt?: Prisma.SortOrder 263 - trackedBy?: Prisma.TrackedMovieOrderByRelationAggregateInput 264 - } 258 + movieId?: Prisma.SortOrder; 259 + title?: Prisma.SortOrder; 260 + posterPath?: Prisma.SortOrderInput | Prisma.SortOrder; 261 + backdropPath?: Prisma.SortOrderInput | Prisma.SortOrder; 262 + releaseYear?: Prisma.SortOrderInput | Prisma.SortOrder; 263 + releaseDate?: Prisma.SortOrderInput | Prisma.SortOrder; 264 + overview?: Prisma.SortOrderInput | Prisma.SortOrder; 265 + createdAt?: Prisma.SortOrder; 266 + updatedAt?: Prisma.SortOrder; 267 + trackedBy?: Prisma.TrackedMovieOrderByRelationAggregateInput; 268 + }; 265 269 266 - export type MovieWhereUniqueInput = Prisma.AtLeast<{ 267 - movieId?: string 268 - AND?: Prisma.MovieWhereInput | Prisma.MovieWhereInput[] 269 - OR?: Prisma.MovieWhereInput[] 270 - NOT?: Prisma.MovieWhereInput | Prisma.MovieWhereInput[] 271 - title?: Prisma.StringFilter<"Movie"> | string 272 - posterPath?: Prisma.StringNullableFilter<"Movie"> | string | null 273 - backdropPath?: Prisma.StringNullableFilter<"Movie"> | string | null 274 - releaseYear?: Prisma.IntNullableFilter<"Movie"> | number | null 275 - releaseDate?: Prisma.DateTimeNullableFilter<"Movie"> | Date | string | null 276 - overview?: Prisma.StringNullableFilter<"Movie"> | string | null 277 - createdAt?: Prisma.DateTimeFilter<"Movie"> | Date | string 278 - updatedAt?: Prisma.DateTimeFilter<"Movie"> | Date | string 279 - trackedBy?: Prisma.TrackedMovieListRelationFilter 280 - }, "movieId"> 270 + export type MovieWhereUniqueInput = Prisma.AtLeast< 271 + { 272 + movieId?: string; 273 + AND?: Prisma.MovieWhereInput | Prisma.MovieWhereInput[]; 274 + OR?: Prisma.MovieWhereInput[]; 275 + NOT?: Prisma.MovieWhereInput | Prisma.MovieWhereInput[]; 276 + title?: Prisma.StringFilter<'Movie'> | string; 277 + posterPath?: Prisma.StringNullableFilter<'Movie'> | string | null; 278 + backdropPath?: Prisma.StringNullableFilter<'Movie'> | string | null; 279 + releaseYear?: Prisma.IntNullableFilter<'Movie'> | number | null; 280 + releaseDate?: Prisma.DateTimeNullableFilter<'Movie'> | Date | string | null; 281 + overview?: Prisma.StringNullableFilter<'Movie'> | string | null; 282 + createdAt?: Prisma.DateTimeFilter<'Movie'> | Date | string; 283 + updatedAt?: Prisma.DateTimeFilter<'Movie'> | Date | string; 284 + trackedBy?: Prisma.TrackedMovieListRelationFilter; 285 + }, 286 + 'movieId' 287 + >; 281 288 282 289 export type MovieOrderByWithAggregationInput = { 283 - movieId?: Prisma.SortOrder 284 - title?: Prisma.SortOrder 285 - posterPath?: Prisma.SortOrderInput | Prisma.SortOrder 286 - backdropPath?: Prisma.SortOrderInput | Prisma.SortOrder 287 - releaseYear?: Prisma.SortOrderInput | Prisma.SortOrder 288 - releaseDate?: Prisma.SortOrderInput | Prisma.SortOrder 289 - overview?: Prisma.SortOrderInput | Prisma.SortOrder 290 - createdAt?: Prisma.SortOrder 291 - updatedAt?: Prisma.SortOrder 292 - _count?: Prisma.MovieCountOrderByAggregateInput 293 - _avg?: Prisma.MovieAvgOrderByAggregateInput 294 - _max?: Prisma.MovieMaxOrderByAggregateInput 295 - _min?: Prisma.MovieMinOrderByAggregateInput 296 - _sum?: Prisma.MovieSumOrderByAggregateInput 297 - } 290 + movieId?: Prisma.SortOrder; 291 + title?: Prisma.SortOrder; 292 + posterPath?: Prisma.SortOrderInput | Prisma.SortOrder; 293 + backdropPath?: Prisma.SortOrderInput | Prisma.SortOrder; 294 + releaseYear?: Prisma.SortOrderInput | Prisma.SortOrder; 295 + releaseDate?: Prisma.SortOrderInput | Prisma.SortOrder; 296 + overview?: Prisma.SortOrderInput | Prisma.SortOrder; 297 + createdAt?: Prisma.SortOrder; 298 + updatedAt?: Prisma.SortOrder; 299 + _count?: Prisma.MovieCountOrderByAggregateInput; 300 + _avg?: Prisma.MovieAvgOrderByAggregateInput; 301 + _max?: Prisma.MovieMaxOrderByAggregateInput; 302 + _min?: Prisma.MovieMinOrderByAggregateInput; 303 + _sum?: Prisma.MovieSumOrderByAggregateInput; 304 + }; 298 305 299 306 export type MovieScalarWhereWithAggregatesInput = { 300 - AND?: Prisma.MovieScalarWhereWithAggregatesInput | Prisma.MovieScalarWhereWithAggregatesInput[] 301 - OR?: Prisma.MovieScalarWhereWithAggregatesInput[] 302 - NOT?: Prisma.MovieScalarWhereWithAggregatesInput | Prisma.MovieScalarWhereWithAggregatesInput[] 303 - movieId?: Prisma.StringWithAggregatesFilter<"Movie"> | string 304 - title?: Prisma.StringWithAggregatesFilter<"Movie"> | string 305 - posterPath?: Prisma.StringNullableWithAggregatesFilter<"Movie"> | string | null 306 - backdropPath?: Prisma.StringNullableWithAggregatesFilter<"Movie"> | string | null 307 - releaseYear?: Prisma.IntNullableWithAggregatesFilter<"Movie"> | number | null 308 - releaseDate?: Prisma.DateTimeNullableWithAggregatesFilter<"Movie"> | Date | string | null 309 - overview?: Prisma.StringNullableWithAggregatesFilter<"Movie"> | string | null 310 - createdAt?: Prisma.DateTimeWithAggregatesFilter<"Movie"> | Date | string 311 - updatedAt?: Prisma.DateTimeWithAggregatesFilter<"Movie"> | Date | string 312 - } 307 + AND?: 308 + | Prisma.MovieScalarWhereWithAggregatesInput 309 + | Prisma.MovieScalarWhereWithAggregatesInput[]; 310 + OR?: Prisma.MovieScalarWhereWithAggregatesInput[]; 311 + NOT?: 312 + | Prisma.MovieScalarWhereWithAggregatesInput 313 + | Prisma.MovieScalarWhereWithAggregatesInput[]; 314 + movieId?: Prisma.StringWithAggregatesFilter<'Movie'> | string; 315 + title?: Prisma.StringWithAggregatesFilter<'Movie'> | string; 316 + posterPath?: 317 + | Prisma.StringNullableWithAggregatesFilter<'Movie'> 318 + | string 319 + | null; 320 + backdropPath?: 321 + | Prisma.StringNullableWithAggregatesFilter<'Movie'> 322 + | string 323 + | null; 324 + releaseYear?: Prisma.IntNullableWithAggregatesFilter<'Movie'> | number | null; 325 + releaseDate?: 326 + | Prisma.DateTimeNullableWithAggregatesFilter<'Movie'> 327 + | Date 328 + | string 329 + | null; 330 + overview?: Prisma.StringNullableWithAggregatesFilter<'Movie'> | string | null; 331 + createdAt?: Prisma.DateTimeWithAggregatesFilter<'Movie'> | Date | string; 332 + updatedAt?: Prisma.DateTimeWithAggregatesFilter<'Movie'> | Date | string; 333 + }; 313 334 314 335 export type MovieCreateInput = { 315 - movieId: string 316 - title: string 317 - posterPath?: string | null 318 - backdropPath?: string | null 319 - releaseYear?: number | null 320 - releaseDate?: Date | string | null 321 - overview?: string | null 322 - createdAt?: Date | string 323 - updatedAt?: Date | string 324 - trackedBy?: Prisma.TrackedMovieCreateNestedManyWithoutMovieInput 325 - } 336 + movieId: string; 337 + title: string; 338 + posterPath?: string | null; 339 + backdropPath?: string | null; 340 + releaseYear?: number | null; 341 + releaseDate?: Date | string | null; 342 + overview?: string | null; 343 + createdAt?: Date | string; 344 + updatedAt?: Date | string; 345 + trackedBy?: Prisma.TrackedMovieCreateNestedManyWithoutMovieInput; 346 + }; 326 347 327 348 export type MovieUncheckedCreateInput = { 328 - movieId: string 329 - title: string 330 - posterPath?: string | null 331 - backdropPath?: string | null 332 - releaseYear?: number | null 333 - releaseDate?: Date | string | null 334 - overview?: string | null 335 - createdAt?: Date | string 336 - updatedAt?: Date | string 337 - trackedBy?: Prisma.TrackedMovieUncheckedCreateNestedManyWithoutMovieInput 338 - } 349 + movieId: string; 350 + title: string; 351 + posterPath?: string | null; 352 + backdropPath?: string | null; 353 + releaseYear?: number | null; 354 + releaseDate?: Date | string | null; 355 + overview?: string | null; 356 + createdAt?: Date | string; 357 + updatedAt?: Date | string; 358 + trackedBy?: Prisma.TrackedMovieUncheckedCreateNestedManyWithoutMovieInput; 359 + }; 339 360 340 361 export type MovieUpdateInput = { 341 - movieId?: Prisma.StringFieldUpdateOperationsInput | string 342 - title?: Prisma.StringFieldUpdateOperationsInput | string 343 - posterPath?: Prisma.NullableStringFieldUpdateOperationsInput | string | null 344 - backdropPath?: Prisma.NullableStringFieldUpdateOperationsInput | string | null 345 - releaseYear?: Prisma.NullableIntFieldUpdateOperationsInput | number | null 346 - releaseDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null 347 - overview?: Prisma.NullableStringFieldUpdateOperationsInput | string | null 348 - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string 349 - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string 350 - trackedBy?: Prisma.TrackedMovieUpdateManyWithoutMovieNestedInput 351 - } 362 + movieId?: Prisma.StringFieldUpdateOperationsInput | string; 363 + title?: Prisma.StringFieldUpdateOperationsInput | string; 364 + posterPath?: Prisma.NullableStringFieldUpdateOperationsInput | string | null; 365 + backdropPath?: 366 + | Prisma.NullableStringFieldUpdateOperationsInput 367 + | string 368 + | null; 369 + releaseYear?: Prisma.NullableIntFieldUpdateOperationsInput | number | null; 370 + releaseDate?: 371 + | Prisma.NullableDateTimeFieldUpdateOperationsInput 372 + | Date 373 + | string 374 + | null; 375 + overview?: Prisma.NullableStringFieldUpdateOperationsInput | string | null; 376 + createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string; 377 + updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string; 378 + trackedBy?: Prisma.TrackedMovieUpdateManyWithoutMovieNestedInput; 379 + }; 352 380 353 381 export type MovieUncheckedUpdateInput = { 354 - movieId?: Prisma.StringFieldUpdateOperationsInput | string 355 - title?: Prisma.StringFieldUpdateOperationsInput | string 356 - posterPath?: Prisma.NullableStringFieldUpdateOperationsInput | string | null 357 - backdropPath?: Prisma.NullableStringFieldUpdateOperationsInput | string | null 358 - releaseYear?: Prisma.NullableIntFieldUpdateOperationsInput | number | null 359 - releaseDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null 360 - overview?: Prisma.NullableStringFieldUpdateOperationsInput | string | null 361 - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string 362 - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string 363 - trackedBy?: Prisma.TrackedMovieUncheckedUpdateManyWithoutMovieNestedInput 364 - } 382 + movieId?: Prisma.StringFieldUpdateOperationsInput | string; 383 + title?: Prisma.StringFieldUpdateOperationsInput | string; 384 + posterPath?: Prisma.NullableStringFieldUpdateOperationsInput | string | null; 385 + backdropPath?: 386 + | Prisma.NullableStringFieldUpdateOperationsInput 387 + | string 388 + | null; 389 + releaseYear?: Prisma.NullableIntFieldUpdateOperationsInput | number | null; 390 + releaseDate?: 391 + | Prisma.NullableDateTimeFieldUpdateOperationsInput 392 + | Date 393 + | string 394 + | null; 395 + overview?: Prisma.NullableStringFieldUpdateOperationsInput | string | null; 396 + createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string; 397 + updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string; 398 + trackedBy?: Prisma.TrackedMovieUncheckedUpdateManyWithoutMovieNestedInput; 399 + }; 365 400 366 401 export type MovieCreateManyInput = { 367 - movieId: string 368 - title: string 369 - posterPath?: string | null 370 - backdropPath?: string | null 371 - releaseYear?: number | null 372 - releaseDate?: Date | string | null 373 - overview?: string | null 374 - createdAt?: Date | string 375 - updatedAt?: Date | string 376 - } 402 + movieId: string; 403 + title: string; 404 + posterPath?: string | null; 405 + backdropPath?: string | null; 406 + releaseYear?: number | null; 407 + releaseDate?: Date | string | null; 408 + overview?: string | null; 409 + createdAt?: Date | string; 410 + updatedAt?: Date | string; 411 + }; 377 412 378 413 export type MovieUpdateManyMutationInput = { 379 - movieId?: Prisma.StringFieldUpdateOperationsInput | string 380 - title?: Prisma.StringFieldUpdateOperationsInput | string 381 - posterPath?: Prisma.NullableStringFieldUpdateOperationsInput | string | null 382 - backdropPath?: Prisma.NullableStringFieldUpdateOperationsInput | string | null 383 - releaseYear?: Prisma.NullableIntFieldUpdateOperationsInput | number | null 384 - releaseDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null 385 - overview?: Prisma.NullableStringFieldUpdateOperationsInput | string | null 386 - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string 387 - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string 388 - } 414 + movieId?: Prisma.StringFieldUpdateOperationsInput | string; 415 + title?: Prisma.StringFieldUpdateOperationsInput | string; 416 + posterPath?: Prisma.NullableStringFieldUpdateOperationsInput | string | null; 417 + backdropPath?: 418 + | Prisma.NullableStringFieldUpdateOperationsInput 419 + | string 420 + | null; 421 + releaseYear?: Prisma.NullableIntFieldUpdateOperationsInput | number | null; 422 + releaseDate?: 423 + | Prisma.NullableDateTimeFieldUpdateOperationsInput 424 + | Date 425 + | string 426 + | null; 427 + overview?: Prisma.NullableStringFieldUpdateOperationsInput | string | null; 428 + createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string; 429 + updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string; 430 + }; 389 431 390 432 export type MovieUncheckedUpdateManyInput = { 391 - movieId?: Prisma.StringFieldUpdateOperationsInput | string 392 - title?: Prisma.StringFieldUpdateOperationsInput | string 393 - posterPath?: Prisma.NullableStringFieldUpdateOperationsInput | string | null 394 - backdropPath?: Prisma.NullableStringFieldUpdateOperationsInput | string | null 395 - releaseYear?: Prisma.NullableIntFieldUpdateOperationsInput | number | null 396 - releaseDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null 397 - overview?: Prisma.NullableStringFieldUpdateOperationsInput | string | null 398 - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string 399 - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string 400 - } 433 + movieId?: Prisma.StringFieldUpdateOperationsInput | string; 434 + title?: Prisma.StringFieldUpdateOperationsInput | string; 435 + posterPath?: Prisma.NullableStringFieldUpdateOperationsInput | string | null; 436 + backdropPath?: 437 + | Prisma.NullableStringFieldUpdateOperationsInput 438 + | string 439 + | null; 440 + releaseYear?: Prisma.NullableIntFieldUpdateOperationsInput | number | null; 441 + releaseDate?: 442 + | Prisma.NullableDateTimeFieldUpdateOperationsInput 443 + | Date 444 + | string 445 + | null; 446 + overview?: Prisma.NullableStringFieldUpdateOperationsInput | string | null; 447 + createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string; 448 + updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string; 449 + }; 401 450 402 451 export type MovieCountOrderByAggregateInput = { 403 - movieId?: Prisma.SortOrder 404 - title?: Prisma.SortOrder 405 - posterPath?: Prisma.SortOrder 406 - backdropPath?: Prisma.SortOrder 407 - releaseYear?: Prisma.SortOrder 408 - releaseDate?: Prisma.SortOrder 409 - overview?: Prisma.SortOrder 410 - createdAt?: Prisma.SortOrder 411 - updatedAt?: Prisma.SortOrder 412 - } 452 + movieId?: Prisma.SortOrder; 453 + title?: Prisma.SortOrder; 454 + posterPath?: Prisma.SortOrder; 455 + backdropPath?: Prisma.SortOrder; 456 + releaseYear?: Prisma.SortOrder; 457 + releaseDate?: Prisma.SortOrder; 458 + overview?: Prisma.SortOrder; 459 + createdAt?: Prisma.SortOrder; 460 + updatedAt?: Prisma.SortOrder; 461 + }; 413 462 414 463 export type MovieAvgOrderByAggregateInput = { 415 - releaseYear?: Prisma.SortOrder 416 - } 464 + releaseYear?: Prisma.SortOrder; 465 + }; 417 466 418 467 export type MovieMaxOrderByAggregateInput = { 419 - movieId?: Prisma.SortOrder 420 - title?: Prisma.SortOrder 421 - posterPath?: Prisma.SortOrder 422 - backdropPath?: Prisma.SortOrder 423 - releaseYear?: Prisma.SortOrder 424 - releaseDate?: Prisma.SortOrder 425 - overview?: Prisma.SortOrder 426 - createdAt?: Prisma.SortOrder 427 - updatedAt?: Prisma.SortOrder 428 - } 468 + movieId?: Prisma.SortOrder; 469 + title?: Prisma.SortOrder; 470 + posterPath?: Prisma.SortOrder; 471 + backdropPath?: Prisma.SortOrder; 472 + releaseYear?: Prisma.SortOrder; 473 + releaseDate?: Prisma.SortOrder; 474 + overview?: Prisma.SortOrder; 475 + createdAt?: Prisma.SortOrder; 476 + updatedAt?: Prisma.SortOrder; 477 + }; 429 478 430 479 export type MovieMinOrderByAggregateInput = { 431 - movieId?: Prisma.SortOrder 432 - title?: Prisma.SortOrder 433 - posterPath?: Prisma.SortOrder 434 - backdropPath?: Prisma.SortOrder 435 - releaseYear?: Prisma.SortOrder 436 - releaseDate?: Prisma.SortOrder 437 - overview?: Prisma.SortOrder 438 - createdAt?: Prisma.SortOrder 439 - updatedAt?: Prisma.SortOrder 440 - } 480 + movieId?: Prisma.SortOrder; 481 + title?: Prisma.SortOrder; 482 + posterPath?: Prisma.SortOrder; 483 + backdropPath?: Prisma.SortOrder; 484 + releaseYear?: Prisma.SortOrder; 485 + releaseDate?: Prisma.SortOrder; 486 + overview?: Prisma.SortOrder; 487 + createdAt?: Prisma.SortOrder; 488 + updatedAt?: Prisma.SortOrder; 489 + }; 441 490 442 491 export type MovieSumOrderByAggregateInput = { 443 - releaseYear?: Prisma.SortOrder 444 - } 492 + releaseYear?: Prisma.SortOrder; 493 + }; 445 494 446 495 export type MovieScalarRelationFilter = { 447 - is?: Prisma.MovieWhereInput 448 - isNot?: Prisma.MovieWhereInput 449 - } 496 + is?: Prisma.MovieWhereInput; 497 + isNot?: Prisma.MovieWhereInput; 498 + }; 450 499 451 500 export type NullableIntFieldUpdateOperationsInput = { 452 - set?: number | null 453 - increment?: number 454 - decrement?: number 455 - multiply?: number 456 - divide?: number 457 - } 501 + set?: number | null; 502 + increment?: number; 503 + decrement?: number; 504 + multiply?: number; 505 + divide?: number; 506 + }; 458 507 459 508 export type NullableDateTimeFieldUpdateOperationsInput = { 460 - set?: Date | string | null 461 - } 509 + set?: Date | string | null; 510 + }; 462 511 463 512 export type MovieCreateNestedOneWithoutTrackedByInput = { 464 - create?: Prisma.XOR<Prisma.MovieCreateWithoutTrackedByInput, Prisma.MovieUncheckedCreateWithoutTrackedByInput> 465 - connectOrCreate?: Prisma.MovieCreateOrConnectWithoutTrackedByInput 466 - connect?: Prisma.MovieWhereUniqueInput 467 - } 513 + create?: Prisma.XOR< 514 + Prisma.MovieCreateWithoutTrackedByInput, 515 + Prisma.MovieUncheckedCreateWithoutTrackedByInput 516 + >; 517 + connectOrCreate?: Prisma.MovieCreateOrConnectWithoutTrackedByInput; 518 + connect?: Prisma.MovieWhereUniqueInput; 519 + }; 468 520 469 521 export type MovieUpdateOneRequiredWithoutTrackedByNestedInput = { 470 - create?: Prisma.XOR<Prisma.MovieCreateWithoutTrackedByInput, Prisma.MovieUncheckedCreateWithoutTrackedByInput> 471 - connectOrCreate?: Prisma.MovieCreateOrConnectWithoutTrackedByInput 472 - upsert?: Prisma.MovieUpsertWithoutTrackedByInput 473 - connect?: Prisma.MovieWhereUniqueInput 474 - update?: Prisma.XOR<Prisma.XOR<Prisma.MovieUpdateToOneWithWhereWithoutTrackedByInput, Prisma.MovieUpdateWithoutTrackedByInput>, Prisma.MovieUncheckedUpdateWithoutTrackedByInput> 475 - } 522 + create?: Prisma.XOR< 523 + Prisma.MovieCreateWithoutTrackedByInput, 524 + Prisma.MovieUncheckedCreateWithoutTrackedByInput 525 + >; 526 + connectOrCreate?: Prisma.MovieCreateOrConnectWithoutTrackedByInput; 527 + upsert?: Prisma.MovieUpsertWithoutTrackedByInput; 528 + connect?: Prisma.MovieWhereUniqueInput; 529 + update?: Prisma.XOR< 530 + Prisma.XOR< 531 + Prisma.MovieUpdateToOneWithWhereWithoutTrackedByInput, 532 + Prisma.MovieUpdateWithoutTrackedByInput 533 + >, 534 + Prisma.MovieUncheckedUpdateWithoutTrackedByInput 535 + >; 536 + }; 476 537 477 538 export type MovieCreateWithoutTrackedByInput = { 478 - movieId: string 479 - title: string 480 - posterPath?: string | null 481 - backdropPath?: string | null 482 - releaseYear?: number | null 483 - releaseDate?: Date | string | null 484 - overview?: string | null 485 - createdAt?: Date | string 486 - updatedAt?: Date | string 487 - } 539 + movieId: string; 540 + title: string; 541 + posterPath?: string | null; 542 + backdropPath?: string | null; 543 + releaseYear?: number | null; 544 + releaseDate?: Date | string | null; 545 + overview?: string | null; 546 + createdAt?: Date | string; 547 + updatedAt?: Date | string; 548 + }; 488 549 489 550 export type MovieUncheckedCreateWithoutTrackedByInput = { 490 - movieId: string 491 - title: string 492 - posterPath?: string | null 493 - backdropPath?: string | null 494 - releaseYear?: number | null 495 - releaseDate?: Date | string | null 496 - overview?: string | null 497 - createdAt?: Date | string 498 - updatedAt?: Date | string 499 - } 551 + movieId: string; 552 + title: string; 553 + posterPath?: string | null; 554 + backdropPath?: string | null; 555 + releaseYear?: number | null; 556 + releaseDate?: Date | string | null; 557 + overview?: string | null; 558 + createdAt?: Date | string; 559 + updatedAt?: Date | string; 560 + }; 500 561 501 562 export type MovieCreateOrConnectWithoutTrackedByInput = { 502 - where: Prisma.MovieWhereUniqueInput 503 - create: Prisma.XOR<Prisma.MovieCreateWithoutTrackedByInput, Prisma.MovieUncheckedCreateWithoutTrackedByInput> 504 - } 563 + where: Prisma.MovieWhereUniqueInput; 564 + create: Prisma.XOR< 565 + Prisma.MovieCreateWithoutTrackedByInput, 566 + Prisma.MovieUncheckedCreateWithoutTrackedByInput 567 + >; 568 + }; 505 569 506 570 export type MovieUpsertWithoutTrackedByInput = { 507 - update: Prisma.XOR<Prisma.MovieUpdateWithoutTrackedByInput, Prisma.MovieUncheckedUpdateWithoutTrackedByInput> 508 - create: Prisma.XOR<Prisma.MovieCreateWithoutTrackedByInput, Prisma.MovieUncheckedCreateWithoutTrackedByInput> 509 - where?: Prisma.MovieWhereInput 510 - } 571 + update: Prisma.XOR< 572 + Prisma.MovieUpdateWithoutTrackedByInput, 573 + Prisma.MovieUncheckedUpdateWithoutTrackedByInput 574 + >; 575 + create: Prisma.XOR< 576 + Prisma.MovieCreateWithoutTrackedByInput, 577 + Prisma.MovieUncheckedCreateWithoutTrackedByInput 578 + >; 579 + where?: Prisma.MovieWhereInput; 580 + }; 511 581 512 582 export type MovieUpdateToOneWithWhereWithoutTrackedByInput = { 513 - where?: Prisma.MovieWhereInput 514 - data: Prisma.XOR<Prisma.MovieUpdateWithoutTrackedByInput, Prisma.MovieUncheckedUpdateWithoutTrackedByInput> 515 - } 583 + where?: Prisma.MovieWhereInput; 584 + data: Prisma.XOR< 585 + Prisma.MovieUpdateWithoutTrackedByInput, 586 + Prisma.MovieUncheckedUpdateWithoutTrackedByInput 587 + >; 588 + }; 516 589 517 590 export type MovieUpdateWithoutTrackedByInput = { 518 - movieId?: Prisma.StringFieldUpdateOperationsInput | string 519 - title?: Prisma.StringFieldUpdateOperationsInput | string 520 - posterPath?: Prisma.NullableStringFieldUpdateOperationsInput | string | null 521 - backdropPath?: Prisma.NullableStringFieldUpdateOperationsInput | string | null 522 - releaseYear?: Prisma.NullableIntFieldUpdateOperationsInput | number | null 523 - releaseDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null 524 - overview?: Prisma.NullableStringFieldUpdateOperationsInput | string | null 525 - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string 526 - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string 527 - } 591 + movieId?: Prisma.StringFieldUpdateOperationsInput | string; 592 + title?: Prisma.StringFieldUpdateOperationsInput | string; 593 + posterPath?: Prisma.NullableStringFieldUpdateOperationsInput | string | null; 594 + backdropPath?: 595 + | Prisma.NullableStringFieldUpdateOperationsInput 596 + | string 597 + | null; 598 + releaseYear?: Prisma.NullableIntFieldUpdateOperationsInput | number | null; 599 + releaseDate?: 600 + | Prisma.NullableDateTimeFieldUpdateOperationsInput 601 + | Date 602 + | string 603 + | null; 604 + overview?: Prisma.NullableStringFieldUpdateOperationsInput | string | null; 605 + createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string; 606 + updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string; 607 + }; 528 608 529 609 export type MovieUncheckedUpdateWithoutTrackedByInput = { 530 - movieId?: Prisma.StringFieldUpdateOperationsInput | string 531 - title?: Prisma.StringFieldUpdateOperationsInput | string 532 - posterPath?: Prisma.NullableStringFieldUpdateOperationsInput | string | null 533 - backdropPath?: Prisma.NullableStringFieldUpdateOperationsInput | string | null 534 - releaseYear?: Prisma.NullableIntFieldUpdateOperationsInput | number | null 535 - releaseDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null 536 - overview?: Prisma.NullableStringFieldUpdateOperationsInput | string | null 537 - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string 538 - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string 539 - } 540 - 610 + movieId?: Prisma.StringFieldUpdateOperationsInput | string; 611 + title?: Prisma.StringFieldUpdateOperationsInput | string; 612 + posterPath?: Prisma.NullableStringFieldUpdateOperationsInput | string | null; 613 + backdropPath?: 614 + | Prisma.NullableStringFieldUpdateOperationsInput 615 + | string 616 + | null; 617 + releaseYear?: Prisma.NullableIntFieldUpdateOperationsInput | number | null; 618 + releaseDate?: 619 + | Prisma.NullableDateTimeFieldUpdateOperationsInput 620 + | Date 621 + | string 622 + | null; 623 + overview?: Prisma.NullableStringFieldUpdateOperationsInput | string | null; 624 + createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string; 625 + updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string; 626 + }; 541 627 542 628 /** 543 629 * Count Type MovieCountOutputType 544 630 */ 545 631 546 632 export type MovieCountOutputType = { 547 - trackedBy: number 548 - } 633 + trackedBy: number; 634 + }; 549 635 550 - export type MovieCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = { 551 - trackedBy?: boolean | MovieCountOutputTypeCountTrackedByArgs 552 - } 636 + export type MovieCountOutputTypeSelect< 637 + ExtArgs extends runtime.Types.Extensions.InternalArgs = 638 + runtime.Types.Extensions.DefaultArgs, 639 + > = { 640 + trackedBy?: boolean | MovieCountOutputTypeCountTrackedByArgs; 641 + }; 553 642 554 643 /** 555 644 * MovieCountOutputType without action 556 645 */ 557 - export type MovieCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = { 646 + export type MovieCountOutputTypeDefaultArgs< 647 + ExtArgs extends runtime.Types.Extensions.InternalArgs = 648 + runtime.Types.Extensions.DefaultArgs, 649 + > = { 558 650 /** 559 651 * Select specific fields to fetch from the MovieCountOutputType 560 652 */ 561 - select?: Prisma.MovieCountOutputTypeSelect<ExtArgs> | null 562 - } 653 + select?: Prisma.MovieCountOutputTypeSelect<ExtArgs> | null; 654 + }; 563 655 564 656 /** 565 657 * MovieCountOutputType without action 566 658 */ 567 - export type MovieCountOutputTypeCountTrackedByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = { 568 - where?: Prisma.TrackedMovieWhereInput 569 - } 659 + export type MovieCountOutputTypeCountTrackedByArgs< 660 + ExtArgs extends runtime.Types.Extensions.InternalArgs = 661 + runtime.Types.Extensions.DefaultArgs, 662 + > = { 663 + where?: Prisma.TrackedMovieWhereInput; 664 + }; 570 665 571 - 572 - export type MovieSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{ 573 - movieId?: boolean 574 - title?: boolean 575 - posterPath?: boolean 576 - backdropPath?: boolean 577 - releaseYear?: boolean 578 - releaseDate?: boolean 579 - overview?: boolean 580 - createdAt?: boolean 581 - updatedAt?: boolean 582 - trackedBy?: boolean | Prisma.Movie$trackedByArgs<ExtArgs> 583 - _count?: boolean | Prisma.MovieCountOutputTypeDefaultArgs<ExtArgs> 584 - }, ExtArgs["result"]["movie"]> 666 + export type MovieSelect< 667 + ExtArgs extends runtime.Types.Extensions.InternalArgs = 668 + runtime.Types.Extensions.DefaultArgs, 669 + > = runtime.Types.Extensions.GetSelect< 670 + { 671 + movieId?: boolean; 672 + title?: boolean; 673 + posterPath?: boolean; 674 + backdropPath?: boolean; 675 + releaseYear?: boolean; 676 + releaseDate?: boolean; 677 + overview?: boolean; 678 + createdAt?: boolean; 679 + updatedAt?: boolean; 680 + trackedBy?: boolean | Prisma.Movie$trackedByArgs<ExtArgs>; 681 + _count?: boolean | Prisma.MovieCountOutputTypeDefaultArgs<ExtArgs>; 682 + }, 683 + ExtArgs['result']['movie'] 684 + >; 585 685 586 - export type MovieSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{ 587 - movieId?: boolean 588 - title?: boolean 589 - posterPath?: boolean 590 - backdropPath?: boolean 591 - releaseYear?: boolean 592 - releaseDate?: boolean 593 - overview?: boolean 594 - createdAt?: boolean 595 - updatedAt?: boolean 596 - }, ExtArgs["result"]["movie"]> 686 + export type MovieSelectCreateManyAndReturn< 687 + ExtArgs extends runtime.Types.Extensions.InternalArgs = 688 + runtime.Types.Extensions.DefaultArgs, 689 + > = runtime.Types.Extensions.GetSelect< 690 + { 691 + movieId?: boolean; 692 + title?: boolean; 693 + posterPath?: boolean; 694 + backdropPath?: boolean; 695 + releaseYear?: boolean; 696 + releaseDate?: boolean; 697 + overview?: boolean; 698 + createdAt?: boolean; 699 + updatedAt?: boolean; 700 + }, 701 + ExtArgs['result']['movie'] 702 + >; 597 703 598 - export type MovieSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{ 599 - movieId?: boolean 600 - title?: boolean 601 - posterPath?: boolean 602 - backdropPath?: boolean 603 - releaseYear?: boolean 604 - releaseDate?: boolean 605 - overview?: boolean 606 - createdAt?: boolean 607 - updatedAt?: boolean 608 - }, ExtArgs["result"]["movie"]> 704 + export type MovieSelectUpdateManyAndReturn< 705 + ExtArgs extends runtime.Types.Extensions.InternalArgs = 706 + runtime.Types.Extensions.DefaultArgs, 707 + > = runtime.Types.Extensions.GetSelect< 708 + { 709 + movieId?: boolean; 710 + title?: boolean; 711 + posterPath?: boolean; 712 + backdropPath?: boolean; 713 + releaseYear?: boolean; 714 + releaseDate?: boolean; 715 + overview?: boolean; 716 + createdAt?: boolean; 717 + updatedAt?: boolean; 718 + }, 719 + ExtArgs['result']['movie'] 720 + >; 609 721 610 722 export type MovieSelectScalar = { 611 - movieId?: boolean 612 - title?: boolean 613 - posterPath?: boolean 614 - backdropPath?: boolean 615 - releaseYear?: boolean 616 - releaseDate?: boolean 617 - overview?: boolean 618 - createdAt?: boolean 619 - updatedAt?: boolean 620 - } 723 + movieId?: boolean; 724 + title?: boolean; 725 + posterPath?: boolean; 726 + backdropPath?: boolean; 727 + releaseYear?: boolean; 728 + releaseDate?: boolean; 729 + overview?: boolean; 730 + createdAt?: boolean; 731 + updatedAt?: boolean; 732 + }; 621 733 622 - 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"]> 623 - export type MovieInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = { 624 - trackedBy?: boolean | Prisma.Movie$trackedByArgs<ExtArgs> 625 - _count?: boolean | Prisma.MovieCountOutputTypeDefaultArgs<ExtArgs> 626 - } 627 - export type MovieIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {} 628 - export type MovieIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {} 734 + export type MovieOmit< 735 + ExtArgs extends runtime.Types.Extensions.InternalArgs = 736 + runtime.Types.Extensions.DefaultArgs, 737 + > = runtime.Types.Extensions.GetOmit< 738 + | 'movieId' 739 + | 'title' 740 + | 'posterPath' 741 + | 'backdropPath' 742 + | 'releaseYear' 743 + | 'releaseDate' 744 + | 'overview' 745 + | 'createdAt' 746 + | 'updatedAt', 747 + ExtArgs['result']['movie'] 748 + >; 749 + export type MovieInclude< 750 + ExtArgs extends runtime.Types.Extensions.InternalArgs = 751 + runtime.Types.Extensions.DefaultArgs, 752 + > = { 753 + trackedBy?: boolean | Prisma.Movie$trackedByArgs<ExtArgs>; 754 + _count?: boolean | Prisma.MovieCountOutputTypeDefaultArgs<ExtArgs>; 755 + }; 756 + export type MovieIncludeCreateManyAndReturn< 757 + ExtArgs extends runtime.Types.Extensions.InternalArgs = 758 + runtime.Types.Extensions.DefaultArgs, 759 + > = {}; 760 + export type MovieIncludeUpdateManyAndReturn< 761 + ExtArgs extends runtime.Types.Extensions.InternalArgs = 762 + runtime.Types.Extensions.DefaultArgs, 763 + > = {}; 629 764 630 - export type $MoviePayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = { 631 - name: "Movie" 765 + export type $MoviePayload< 766 + ExtArgs extends runtime.Types.Extensions.InternalArgs = 767 + runtime.Types.Extensions.DefaultArgs, 768 + > = { 769 + name: 'Movie'; 632 770 objects: { 633 - trackedBy: Prisma.$TrackedMoviePayload<ExtArgs>[] 634 - } 635 - scalars: runtime.Types.Extensions.GetPayloadResult<{ 636 - movieId: string 637 - title: string 638 - posterPath: string | null 639 - backdropPath: string | null 640 - releaseYear: number | null 641 - releaseDate: Date | null 642 - overview: string | null 643 - createdAt: Date 644 - updatedAt: Date 645 - }, ExtArgs["result"]["movie"]> 646 - composites: {} 647 - } 771 + trackedBy: Prisma.$TrackedMoviePayload<ExtArgs>[]; 772 + }; 773 + scalars: runtime.Types.Extensions.GetPayloadResult< 774 + { 775 + movieId: string; 776 + title: string; 777 + posterPath: string | null; 778 + backdropPath: string | null; 779 + releaseYear: number | null; 780 + releaseDate: Date | null; 781 + overview: string | null; 782 + createdAt: Date; 783 + updatedAt: Date; 784 + }, 785 + ExtArgs['result']['movie'] 786 + >; 787 + composites: {}; 788 + }; 648 789 649 - export type MovieGetPayload<S extends boolean | null | undefined | MovieDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$MoviePayload, S> 790 + export type MovieGetPayload< 791 + S extends boolean | null | undefined | MovieDefaultArgs, 792 + > = runtime.Types.Result.GetResult<Prisma.$MoviePayload, S>; 650 793 651 - export type MovieCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = 652 - Omit<MovieFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & { 653 - select?: MovieCountAggregateInputType | true 654 - } 794 + export type MovieCountArgs< 795 + ExtArgs extends runtime.Types.Extensions.InternalArgs = 796 + runtime.Types.Extensions.DefaultArgs, 797 + > = Omit<MovieFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & { 798 + select?: MovieCountAggregateInputType | true; 799 + }; 655 800 656 - export interface MovieDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> { 657 - [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['Movie'], meta: { name: 'Movie' } } 801 + export interface MovieDelegate< 802 + ExtArgs extends runtime.Types.Extensions.InternalArgs = 803 + runtime.Types.Extensions.DefaultArgs, 804 + GlobalOmitOptions = {}, 805 + > { 806 + [K: symbol]: { 807 + types: Prisma.TypeMap<ExtArgs>['model']['Movie']; 808 + meta: { name: 'Movie' }; 809 + }; 658 810 /** 659 811 * Find zero or one Movie that matches the filter. 660 812 * @param {MovieFindUniqueArgs} args - Arguments to find a Movie ··· 666 818 * } 667 819 * }) 668 820 */ 669 - 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> 821 + findUnique<T extends MovieFindUniqueArgs>( 822 + args: Prisma.SelectSubset<T, MovieFindUniqueArgs<ExtArgs>>, 823 + ): Prisma.Prisma__MovieClient< 824 + runtime.Types.Result.GetResult< 825 + Prisma.$MoviePayload<ExtArgs>, 826 + T, 827 + 'findUnique', 828 + GlobalOmitOptions 829 + > | null, 830 + null, 831 + ExtArgs, 832 + GlobalOmitOptions 833 + >; 670 834 671 835 /** 672 836 * Find one Movie that matches the filter or throw an error with `error.code='P2025'` ··· 680 844 * } 681 845 * }) 682 846 */ 683 - 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> 847 + findUniqueOrThrow<T extends MovieFindUniqueOrThrowArgs>( 848 + args: Prisma.SelectSubset<T, MovieFindUniqueOrThrowArgs<ExtArgs>>, 849 + ): Prisma.Prisma__MovieClient< 850 + runtime.Types.Result.GetResult< 851 + Prisma.$MoviePayload<ExtArgs>, 852 + T, 853 + 'findUniqueOrThrow', 854 + GlobalOmitOptions 855 + >, 856 + never, 857 + ExtArgs, 858 + GlobalOmitOptions 859 + >; 684 860 685 861 /** 686 862 * Find the first Movie that matches the filter. ··· 695 871 * } 696 872 * }) 697 873 */ 698 - 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> 874 + findFirst<T extends MovieFindFirstArgs>( 875 + args?: Prisma.SelectSubset<T, MovieFindFirstArgs<ExtArgs>>, 876 + ): Prisma.Prisma__MovieClient< 877 + runtime.Types.Result.GetResult< 878 + Prisma.$MoviePayload<ExtArgs>, 879 + T, 880 + 'findFirst', 881 + GlobalOmitOptions 882 + > | null, 883 + null, 884 + ExtArgs, 885 + GlobalOmitOptions 886 + >; 699 887 700 888 /** 701 889 * Find the first Movie that matches the filter or ··· 711 899 * } 712 900 * }) 713 901 */ 714 - 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> 902 + findFirstOrThrow<T extends MovieFindFirstOrThrowArgs>( 903 + args?: Prisma.SelectSubset<T, MovieFindFirstOrThrowArgs<ExtArgs>>, 904 + ): Prisma.Prisma__MovieClient< 905 + runtime.Types.Result.GetResult< 906 + Prisma.$MoviePayload<ExtArgs>, 907 + T, 908 + 'findFirstOrThrow', 909 + GlobalOmitOptions 910 + >, 911 + never, 912 + ExtArgs, 913 + GlobalOmitOptions 914 + >; 715 915 716 916 /** 717 917 * Find zero or more Movies that matches the filter. ··· 721 921 * @example 722 922 * // Get all Movies 723 923 * const movies = await prisma.movie.findMany() 724 - * 924 + * 725 925 * // Get first 10 Movies 726 926 * const movies = await prisma.movie.findMany({ take: 10 }) 727 - * 927 + * 728 928 * // Only select the `movieId` 729 929 * const movieWithMovieIdOnly = await prisma.movie.findMany({ select: { movieId: true } }) 730 - * 930 + * 731 931 */ 732 - findMany<T extends MovieFindManyArgs>(args?: Prisma.SelectSubset<T, MovieFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$MoviePayload<ExtArgs>, T, "findMany", GlobalOmitOptions>> 932 + findMany<T extends MovieFindManyArgs>( 933 + args?: Prisma.SelectSubset<T, MovieFindManyArgs<ExtArgs>>, 934 + ): Prisma.PrismaPromise< 935 + runtime.Types.Result.GetResult< 936 + Prisma.$MoviePayload<ExtArgs>, 937 + T, 938 + 'findMany', 939 + GlobalOmitOptions 940 + > 941 + >; 733 942 734 943 /** 735 944 * Create a Movie. ··· 741 950 * // ... data to create a Movie 742 951 * } 743 952 * }) 744 - * 953 + * 745 954 */ 746 - 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> 955 + create<T extends MovieCreateArgs>( 956 + args: Prisma.SelectSubset<T, MovieCreateArgs<ExtArgs>>, 957 + ): Prisma.Prisma__MovieClient< 958 + runtime.Types.Result.GetResult< 959 + Prisma.$MoviePayload<ExtArgs>, 960 + T, 961 + 'create', 962 + GlobalOmitOptions 963 + >, 964 + never, 965 + ExtArgs, 966 + GlobalOmitOptions 967 + >; 747 968 748 969 /** 749 970 * Create many Movies. ··· 755 976 * // ... provide data here 756 977 * ] 757 978 * }) 758 - * 979 + * 759 980 */ 760 - createMany<T extends MovieCreateManyArgs>(args?: Prisma.SelectSubset<T, MovieCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload> 981 + createMany<T extends MovieCreateManyArgs>( 982 + args?: Prisma.SelectSubset<T, MovieCreateManyArgs<ExtArgs>>, 983 + ): Prisma.PrismaPromise<Prisma.BatchPayload>; 761 984 762 985 /** 763 986 * Create many Movies and returns the data saved in the database. ··· 769 992 * // ... provide data here 770 993 * ] 771 994 * }) 772 - * 995 + * 773 996 * // Create many Movies and only return the `movieId` 774 997 * const movieWithMovieIdOnly = await prisma.movie.createManyAndReturn({ 775 998 * select: { movieId: true }, ··· 779 1002 * }) 780 1003 * Note, that providing `undefined` is treated as the value not being there. 781 1004 * Read more here: https://pris.ly/d/null-undefined 782 - * 1005 + * 783 1006 */ 784 - createManyAndReturn<T extends MovieCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, MovieCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$MoviePayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>> 1007 + createManyAndReturn<T extends MovieCreateManyAndReturnArgs>( 1008 + args?: Prisma.SelectSubset<T, MovieCreateManyAndReturnArgs<ExtArgs>>, 1009 + ): Prisma.PrismaPromise< 1010 + runtime.Types.Result.GetResult< 1011 + Prisma.$MoviePayload<ExtArgs>, 1012 + T, 1013 + 'createManyAndReturn', 1014 + GlobalOmitOptions 1015 + > 1016 + >; 785 1017 786 1018 /** 787 1019 * Delete a Movie. ··· 793 1025 * // ... filter to delete one Movie 794 1026 * } 795 1027 * }) 796 - * 1028 + * 797 1029 */ 798 - 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> 1030 + delete<T extends MovieDeleteArgs>( 1031 + args: Prisma.SelectSubset<T, MovieDeleteArgs<ExtArgs>>, 1032 + ): Prisma.Prisma__MovieClient< 1033 + runtime.Types.Result.GetResult< 1034 + Prisma.$MoviePayload<ExtArgs>, 1035 + T, 1036 + 'delete', 1037 + GlobalOmitOptions 1038 + >, 1039 + never, 1040 + ExtArgs, 1041 + GlobalOmitOptions 1042 + >; 799 1043 800 1044 /** 801 1045 * Update one Movie. ··· 810 1054 * // ... provide data here 811 1055 * } 812 1056 * }) 813 - * 1057 + * 814 1058 */ 815 - 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> 1059 + update<T extends MovieUpdateArgs>( 1060 + args: Prisma.SelectSubset<T, MovieUpdateArgs<ExtArgs>>, 1061 + ): Prisma.Prisma__MovieClient< 1062 + runtime.Types.Result.GetResult< 1063 + Prisma.$MoviePayload<ExtArgs>, 1064 + T, 1065 + 'update', 1066 + GlobalOmitOptions 1067 + >, 1068 + never, 1069 + ExtArgs, 1070 + GlobalOmitOptions 1071 + >; 816 1072 817 1073 /** 818 1074 * Delete zero or more Movies. ··· 824 1080 * // ... provide filter here 825 1081 * } 826 1082 * }) 827 - * 1083 + * 828 1084 */ 829 - deleteMany<T extends MovieDeleteManyArgs>(args?: Prisma.SelectSubset<T, MovieDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload> 1085 + deleteMany<T extends MovieDeleteManyArgs>( 1086 + args?: Prisma.SelectSubset<T, MovieDeleteManyArgs<ExtArgs>>, 1087 + ): Prisma.PrismaPromise<Prisma.BatchPayload>; 830 1088 831 1089 /** 832 1090 * Update zero or more Movies. ··· 843 1101 * // ... provide data here 844 1102 * } 845 1103 * }) 846 - * 1104 + * 847 1105 */ 848 - updateMany<T extends MovieUpdateManyArgs>(args: Prisma.SelectSubset<T, MovieUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload> 1106 + updateMany<T extends MovieUpdateManyArgs>( 1107 + args: Prisma.SelectSubset<T, MovieUpdateManyArgs<ExtArgs>>, 1108 + ): Prisma.PrismaPromise<Prisma.BatchPayload>; 849 1109 850 1110 /** 851 1111 * Update zero or more Movies and returns the data updated in the database. ··· 860 1120 * // ... provide data here 861 1121 * ] 862 1122 * }) 863 - * 1123 + * 864 1124 * // Update zero or more Movies and only return the `movieId` 865 1125 * const movieWithMovieIdOnly = await prisma.movie.updateManyAndReturn({ 866 1126 * select: { movieId: true }, ··· 873 1133 * }) 874 1134 * Note, that providing `undefined` is treated as the value not being there. 875 1135 * Read more here: https://pris.ly/d/null-undefined 876 - * 1136 + * 877 1137 */ 878 - updateManyAndReturn<T extends MovieUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, MovieUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$MoviePayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>> 1138 + updateManyAndReturn<T extends MovieUpdateManyAndReturnArgs>( 1139 + args: Prisma.SelectSubset<T, MovieUpdateManyAndReturnArgs<ExtArgs>>, 1140 + ): Prisma.PrismaPromise< 1141 + runtime.Types.Result.GetResult< 1142 + Prisma.$MoviePayload<ExtArgs>, 1143 + T, 1144 + 'updateManyAndReturn', 1145 + GlobalOmitOptions 1146 + > 1147 + >; 879 1148 880 1149 /** 881 1150 * Create or update one Movie. ··· 894 1163 * } 895 1164 * }) 896 1165 */ 897 - 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> 898 - 1166 + upsert<T extends MovieUpsertArgs>( 1167 + args: Prisma.SelectSubset<T, MovieUpsertArgs<ExtArgs>>, 1168 + ): Prisma.Prisma__MovieClient< 1169 + runtime.Types.Result.GetResult< 1170 + Prisma.$MoviePayload<ExtArgs>, 1171 + T, 1172 + 'upsert', 1173 + GlobalOmitOptions 1174 + >, 1175 + never, 1176 + ExtArgs, 1177 + GlobalOmitOptions 1178 + >; 899 1179 900 1180 /** 901 1181 * Count the number of Movies. ··· 909 1189 * // ... the filter for the Movies we want to count 910 1190 * } 911 1191 * }) 912 - **/ 1192 + **/ 913 1193 count<T extends MovieCountArgs>( 914 1194 args?: Prisma.Subset<T, MovieCountArgs>, 915 1195 ): Prisma.PrismaPromise< ··· 918 1198 ? number 919 1199 : Prisma.GetScalarType<T['select'], MovieCountAggregateOutputType> 920 1200 : number 921 - > 1201 + >; 922 1202 923 1203 /** 924 1204 * Allows you to perform aggregations operations on a Movie. ··· 943 1223 * }, 944 1224 * take: 10, 945 1225 * }) 946 - **/ 947 - aggregate<T extends MovieAggregateArgs>(args: Prisma.Subset<T, MovieAggregateArgs>): Prisma.PrismaPromise<GetMovieAggregateType<T>> 1226 + **/ 1227 + aggregate<T extends MovieAggregateArgs>( 1228 + args: Prisma.Subset<T, MovieAggregateArgs>, 1229 + ): Prisma.PrismaPromise<GetMovieAggregateType<T>>; 948 1230 949 1231 /** 950 1232 * Group by Movie. ··· 962 1244 * _all: true 963 1245 * }, 964 1246 * }) 965 - * 966 - **/ 1247 + * 1248 + **/ 967 1249 groupBy< 968 1250 T extends MovieGroupByArgs, 969 1251 HasSelectOrTake extends Prisma.Or< ··· 973 1255 OrderByArg extends Prisma.True extends HasSelectOrTake 974 1256 ? { orderBy: MovieGroupByArgs['orderBy'] } 975 1257 : { orderBy?: MovieGroupByArgs['orderBy'] }, 976 - OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>, 1258 + OrderFields extends Prisma.ExcludeUnderscoreKeys< 1259 + Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>> 1260 + >, 977 1261 ByFields extends Prisma.MaybeTupleToUnion<T['by']>, 978 1262 ByValid extends Prisma.Has<ByFields, OrderFields>, 979 1263 HavingFields extends Prisma.GetHavingFields<T['having']>, 980 1264 HavingValid extends Prisma.Has<ByFields, HavingFields>, 981 1265 ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False, 982 1266 InputErrors extends ByEmpty extends Prisma.True 983 - ? `Error: "by" must not be empty.` 984 - : HavingValid extends Prisma.False 985 - ? { 986 - [P in HavingFields]: P extends ByFields 987 - ? never 988 - : P extends string 989 - ? `Error: Field "${P}" used in "having" needs to be provided in "by".` 990 - : [ 991 - Error, 992 - 'Field ', 993 - P, 994 - ` in "having" needs to be provided in "by"`, 995 - ] 996 - }[HavingFields] 997 - : 'take' extends Prisma.Keys<T> 998 - ? 'orderBy' extends Prisma.Keys<T> 999 - ? ByValid extends Prisma.True 1000 - ? {} 1001 - : { 1002 - [P in OrderFields]: P extends ByFields 1003 - ? never 1004 - : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` 1005 - }[OrderFields] 1006 - : 'Error: If you provide "take", you also need to provide "orderBy"' 1007 - : 'skip' extends Prisma.Keys<T> 1008 - ? 'orderBy' extends Prisma.Keys<T> 1009 - ? ByValid extends Prisma.True 1010 - ? {} 1011 - : { 1012 - [P in OrderFields]: P extends ByFields 1267 + ? `Error: "by" must not be empty.` 1268 + : HavingValid extends Prisma.False 1269 + ? { 1270 + [P in HavingFields]: P extends ByFields 1013 1271 ? never 1014 - : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` 1015 - }[OrderFields] 1016 - : 'Error: If you provide "skip", you also need to provide "orderBy"' 1017 - : ByValid extends Prisma.True 1018 - ? {} 1019 - : { 1020 - [P in OrderFields]: P extends ByFields 1021 - ? never 1022 - : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` 1023 - }[OrderFields] 1024 - >(args: Prisma.SubsetIntersection<T, MovieGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetMovieGroupByPayload<T> : Prisma.PrismaPromise<InputErrors> 1025 - /** 1026 - * Fields of the Movie model 1027 - */ 1028 - readonly fields: MovieFieldRefs; 1272 + : P extends string 1273 + ? `Error: Field "${P}" used in "having" needs to be provided in "by".` 1274 + : [ 1275 + Error, 1276 + 'Field ', 1277 + P, 1278 + ` in "having" needs to be provided in "by"`, 1279 + ]; 1280 + }[HavingFields] 1281 + : 'take' extends Prisma.Keys<T> 1282 + ? 'orderBy' extends Prisma.Keys<T> 1283 + ? ByValid extends Prisma.True 1284 + ? {} 1285 + : { 1286 + [P in OrderFields]: P extends ByFields 1287 + ? never 1288 + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`; 1289 + }[OrderFields] 1290 + : 'Error: If you provide "take", you also need to provide "orderBy"' 1291 + : 'skip' extends Prisma.Keys<T> 1292 + ? 'orderBy' extends Prisma.Keys<T> 1293 + ? ByValid extends Prisma.True 1294 + ? {} 1295 + : { 1296 + [P in OrderFields]: P extends ByFields 1297 + ? never 1298 + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`; 1299 + }[OrderFields] 1300 + : 'Error: If you provide "skip", you also need to provide "orderBy"' 1301 + : ByValid extends Prisma.True 1302 + ? {} 1303 + : { 1304 + [P in OrderFields]: P extends ByFields 1305 + ? never 1306 + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`; 1307 + }[OrderFields], 1308 + >( 1309 + args: Prisma.SubsetIntersection<T, MovieGroupByArgs, OrderByArg> & 1310 + InputErrors, 1311 + ): {} extends InputErrors 1312 + ? GetMovieGroupByPayload<T> 1313 + : Prisma.PrismaPromise<InputErrors>; 1314 + /** 1315 + * Fields of the Movie model 1316 + */ 1317 + readonly fields: MovieFieldRefs; 1029 1318 } 1030 1319 1031 1320 /** ··· 1034 1323 * Because we want to prevent naming conflicts as mentioned in 1035 1324 * https://github.com/prisma/prisma-client-js/issues/707 1036 1325 */ 1037 - export interface Prisma__MovieClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> { 1038 - readonly [Symbol.toStringTag]: "PrismaPromise" 1039 - 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> 1326 + export interface Prisma__MovieClient< 1327 + T, 1328 + Null = never, 1329 + ExtArgs extends runtime.Types.Extensions.InternalArgs = 1330 + runtime.Types.Extensions.DefaultArgs, 1331 + GlobalOmitOptions = {}, 1332 + > extends Prisma.PrismaPromise<T> { 1333 + readonly [Symbol.toStringTag]: 'PrismaPromise'; 1334 + trackedBy<T extends Prisma.Movie$trackedByArgs<ExtArgs> = {}>( 1335 + args?: Prisma.Subset<T, Prisma.Movie$trackedByArgs<ExtArgs>>, 1336 + ): Prisma.PrismaPromise< 1337 + | runtime.Types.Result.GetResult< 1338 + Prisma.$TrackedMoviePayload<ExtArgs>, 1339 + T, 1340 + 'findMany', 1341 + GlobalOmitOptions 1342 + > 1343 + | Null 1344 + >; 1040 1345 /** 1041 1346 * Attaches callbacks for the resolution and/or rejection of the Promise. 1042 1347 * @param onfulfilled The callback to execute when the Promise is resolved. 1043 1348 * @param onrejected The callback to execute when the Promise is rejected. 1044 1349 * @returns A Promise for the completion of which ever callback is executed. 1045 1350 */ 1046 - 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> 1351 + then<TResult1 = T, TResult2 = never>( 1352 + onfulfilled?: 1353 + | ((value: T) => TResult1 | PromiseLike<TResult1>) 1354 + | undefined 1355 + | null, 1356 + onrejected?: 1357 + | ((reason: any) => TResult2 | PromiseLike<TResult2>) 1358 + | undefined 1359 + | null, 1360 + ): runtime.Types.Utils.JsPromise<TResult1 | TResult2>; 1047 1361 /** 1048 1362 * Attaches a callback for only the rejection of the Promise. 1049 1363 * @param onrejected The callback to execute when the Promise is rejected. 1050 1364 * @returns A Promise for the completion of the callback. 1051 1365 */ 1052 - catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult> 1366 + catch<TResult = never>( 1367 + onrejected?: 1368 + | ((reason: any) => TResult | PromiseLike<TResult>) 1369 + | undefined 1370 + | null, 1371 + ): runtime.Types.Utils.JsPromise<T | TResult>; 1053 1372 /** 1054 1373 * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The 1055 1374 * resolved value cannot be modified from the callback. 1056 1375 * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected). 1057 1376 * @returns A Promise for the completion of the callback. 1058 1377 */ 1059 - finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T> 1378 + finally( 1379 + onfinally?: (() => void) | undefined | null, 1380 + ): runtime.Types.Utils.JsPromise<T>; 1060 1381 } 1061 - 1062 - 1063 - 1064 1382 1065 1383 /** 1066 1384 * Fields of the Movie model 1067 1385 */ 1068 1386 export interface MovieFieldRefs { 1069 - readonly movieId: Prisma.FieldRef<"Movie", 'String'> 1070 - readonly title: Prisma.FieldRef<"Movie", 'String'> 1071 - readonly posterPath: Prisma.FieldRef<"Movie", 'String'> 1072 - readonly backdropPath: Prisma.FieldRef<"Movie", 'String'> 1073 - readonly releaseYear: Prisma.FieldRef<"Movie", 'Int'> 1074 - readonly releaseDate: Prisma.FieldRef<"Movie", 'DateTime'> 1075 - readonly overview: Prisma.FieldRef<"Movie", 'String'> 1076 - readonly createdAt: Prisma.FieldRef<"Movie", 'DateTime'> 1077 - readonly updatedAt: Prisma.FieldRef<"Movie", 'DateTime'> 1387 + readonly movieId: Prisma.FieldRef<'Movie', 'String'>; 1388 + readonly title: Prisma.FieldRef<'Movie', 'String'>; 1389 + readonly posterPath: Prisma.FieldRef<'Movie', 'String'>; 1390 + readonly backdropPath: Prisma.FieldRef<'Movie', 'String'>; 1391 + readonly releaseYear: Prisma.FieldRef<'Movie', 'Int'>; 1392 + readonly releaseDate: Prisma.FieldRef<'Movie', 'DateTime'>; 1393 + readonly overview: Prisma.FieldRef<'Movie', 'String'>; 1394 + readonly createdAt: Prisma.FieldRef<'Movie', 'DateTime'>; 1395 + readonly updatedAt: Prisma.FieldRef<'Movie', 'DateTime'>; 1078 1396 } 1079 - 1080 1397 1081 1398 // Custom InputTypes 1082 1399 /** 1083 1400 * Movie findUnique 1084 1401 */ 1085 - export type MovieFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = { 1402 + export type MovieFindUniqueArgs< 1403 + ExtArgs extends runtime.Types.Extensions.InternalArgs = 1404 + runtime.Types.Extensions.DefaultArgs, 1405 + > = { 1086 1406 /** 1087 1407 * Select specific fields to fetch from the Movie 1088 1408 */ 1089 - select?: Prisma.MovieSelect<ExtArgs> | null 1409 + select?: Prisma.MovieSelect<ExtArgs> | null; 1090 1410 /** 1091 1411 * Omit specific fields from the Movie 1092 1412 */ 1093 - omit?: Prisma.MovieOmit<ExtArgs> | null 1413 + omit?: Prisma.MovieOmit<ExtArgs> | null; 1094 1414 /** 1095 1415 * Choose, which related nodes to fetch as well 1096 1416 */ 1097 - include?: Prisma.MovieInclude<ExtArgs> | null 1417 + include?: Prisma.MovieInclude<ExtArgs> | null; 1098 1418 /** 1099 1419 * Filter, which Movie to fetch. 1100 1420 */ 1101 - where: Prisma.MovieWhereUniqueInput 1102 - } 1421 + where: Prisma.MovieWhereUniqueInput; 1422 + }; 1103 1423 1104 1424 /** 1105 1425 * Movie findUniqueOrThrow 1106 1426 */ 1107 - export type MovieFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = { 1427 + export type MovieFindUniqueOrThrowArgs< 1428 + ExtArgs extends runtime.Types.Extensions.InternalArgs = 1429 + runtime.Types.Extensions.DefaultArgs, 1430 + > = { 1108 1431 /** 1109 1432 * Select specific fields to fetch from the Movie 1110 1433 */ 1111 - select?: Prisma.MovieSelect<ExtArgs> | null 1434 + select?: Prisma.MovieSelect<ExtArgs> | null; 1112 1435 /** 1113 1436 * Omit specific fields from the Movie 1114 1437 */ 1115 - omit?: Prisma.MovieOmit<ExtArgs> | null 1438 + omit?: Prisma.MovieOmit<ExtArgs> | null; 1116 1439 /** 1117 1440 * Choose, which related nodes to fetch as well 1118 1441 */ 1119 - include?: Prisma.MovieInclude<ExtArgs> | null 1442 + include?: Prisma.MovieInclude<ExtArgs> | null; 1120 1443 /** 1121 1444 * Filter, which Movie to fetch. 1122 1445 */ 1123 - where: Prisma.MovieWhereUniqueInput 1124 - } 1446 + where: Prisma.MovieWhereUniqueInput; 1447 + }; 1125 1448 1126 1449 /** 1127 1450 * Movie findFirst 1128 1451 */ 1129 - export type MovieFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = { 1452 + export type MovieFindFirstArgs< 1453 + ExtArgs extends runtime.Types.Extensions.InternalArgs = 1454 + runtime.Types.Extensions.DefaultArgs, 1455 + > = { 1130 1456 /** 1131 1457 * Select specific fields to fetch from the Movie 1132 1458 */ 1133 - select?: Prisma.MovieSelect<ExtArgs> | null 1459 + select?: Prisma.MovieSelect<ExtArgs> | null; 1134 1460 /** 1135 1461 * Omit specific fields from the Movie 1136 1462 */ 1137 - omit?: Prisma.MovieOmit<ExtArgs> | null 1463 + omit?: Prisma.MovieOmit<ExtArgs> | null; 1138 1464 /** 1139 1465 * Choose, which related nodes to fetch as well 1140 1466 */ 1141 - include?: Prisma.MovieInclude<ExtArgs> | null 1467 + include?: Prisma.MovieInclude<ExtArgs> | null; 1142 1468 /** 1143 1469 * Filter, which Movie to fetch. 1144 1470 */ 1145 - where?: Prisma.MovieWhereInput 1471 + where?: Prisma.MovieWhereInput; 1146 1472 /** 1147 1473 * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} 1148 - * 1474 + * 1149 1475 * Determine the order of Movies to fetch. 1150 1476 */ 1151 - orderBy?: Prisma.MovieOrderByWithRelationInput | Prisma.MovieOrderByWithRelationInput[] 1477 + orderBy?: 1478 + | Prisma.MovieOrderByWithRelationInput 1479 + | Prisma.MovieOrderByWithRelationInput[]; 1152 1480 /** 1153 1481 * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} 1154 - * 1482 + * 1155 1483 * Sets the position for searching for Movies. 1156 1484 */ 1157 - cursor?: Prisma.MovieWhereUniqueInput 1485 + cursor?: Prisma.MovieWhereUniqueInput; 1158 1486 /** 1159 1487 * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} 1160 - * 1488 + * 1161 1489 * Take `±n` Movies from the position of the cursor. 1162 1490 */ 1163 - take?: number 1491 + take?: number; 1164 1492 /** 1165 1493 * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} 1166 - * 1494 + * 1167 1495 * Skip the first `n` Movies. 1168 1496 */ 1169 - skip?: number 1497 + skip?: number; 1170 1498 /** 1171 1499 * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} 1172 - * 1500 + * 1173 1501 * Filter by unique combinations of Movies. 1174 1502 */ 1175 - distinct?: Prisma.MovieScalarFieldEnum | Prisma.MovieScalarFieldEnum[] 1176 - } 1503 + distinct?: Prisma.MovieScalarFieldEnum | Prisma.MovieScalarFieldEnum[]; 1504 + }; 1177 1505 1178 1506 /** 1179 1507 * Movie findFirstOrThrow 1180 1508 */ 1181 - export type MovieFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = { 1509 + export type MovieFindFirstOrThrowArgs< 1510 + ExtArgs extends runtime.Types.Extensions.InternalArgs = 1511 + runtime.Types.Extensions.DefaultArgs, 1512 + > = { 1182 1513 /** 1183 1514 * Select specific fields to fetch from the Movie 1184 1515 */ 1185 - select?: Prisma.MovieSelect<ExtArgs> | null 1516 + select?: Prisma.MovieSelect<ExtArgs> | null; 1186 1517 /** 1187 1518 * Omit specific fields from the Movie 1188 1519 */ 1189 - omit?: Prisma.MovieOmit<ExtArgs> | null 1520 + omit?: Prisma.MovieOmit<ExtArgs> | null; 1190 1521 /** 1191 1522 * Choose, which related nodes to fetch as well 1192 1523 */ 1193 - include?: Prisma.MovieInclude<ExtArgs> | null 1524 + include?: Prisma.MovieInclude<ExtArgs> | null; 1194 1525 /** 1195 1526 * Filter, which Movie to fetch. 1196 1527 */ 1197 - where?: Prisma.MovieWhereInput 1528 + where?: Prisma.MovieWhereInput; 1198 1529 /** 1199 1530 * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} 1200 - * 1531 + * 1201 1532 * Determine the order of Movies to fetch. 1202 1533 */ 1203 - orderBy?: Prisma.MovieOrderByWithRelationInput | Prisma.MovieOrderByWithRelationInput[] 1534 + orderBy?: 1535 + | Prisma.MovieOrderByWithRelationInput 1536 + | Prisma.MovieOrderByWithRelationInput[]; 1204 1537 /** 1205 1538 * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} 1206 - * 1539 + * 1207 1540 * Sets the position for searching for Movies. 1208 1541 */ 1209 - cursor?: Prisma.MovieWhereUniqueInput 1542 + cursor?: Prisma.MovieWhereUniqueInput; 1210 1543 /** 1211 1544 * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} 1212 - * 1545 + * 1213 1546 * Take `±n` Movies from the position of the cursor. 1214 1547 */ 1215 - take?: number 1548 + take?: number; 1216 1549 /** 1217 1550 * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} 1218 - * 1551 + * 1219 1552 * Skip the first `n` Movies. 1220 1553 */ 1221 - skip?: number 1554 + skip?: number; 1222 1555 /** 1223 1556 * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} 1224 - * 1557 + * 1225 1558 * Filter by unique combinations of Movies. 1226 1559 */ 1227 - distinct?: Prisma.MovieScalarFieldEnum | Prisma.MovieScalarFieldEnum[] 1228 - } 1560 + distinct?: Prisma.MovieScalarFieldEnum | Prisma.MovieScalarFieldEnum[]; 1561 + }; 1229 1562 1230 1563 /** 1231 1564 * Movie findMany 1232 1565 */ 1233 - export type MovieFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = { 1566 + export type MovieFindManyArgs< 1567 + ExtArgs extends runtime.Types.Extensions.InternalArgs = 1568 + runtime.Types.Extensions.DefaultArgs, 1569 + > = { 1234 1570 /** 1235 1571 * Select specific fields to fetch from the Movie 1236 1572 */ 1237 - select?: Prisma.MovieSelect<ExtArgs> | null 1573 + select?: Prisma.MovieSelect<ExtArgs> | null; 1238 1574 /** 1239 1575 * Omit specific fields from the Movie 1240 1576 */ 1241 - omit?: Prisma.MovieOmit<ExtArgs> | null 1577 + omit?: Prisma.MovieOmit<ExtArgs> | null; 1242 1578 /** 1243 1579 * Choose, which related nodes to fetch as well 1244 1580 */ 1245 - include?: Prisma.MovieInclude<ExtArgs> | null 1581 + include?: Prisma.MovieInclude<ExtArgs> | null; 1246 1582 /** 1247 1583 * Filter, which Movies to fetch. 1248 1584 */ 1249 - where?: Prisma.MovieWhereInput 1585 + where?: Prisma.MovieWhereInput; 1250 1586 /** 1251 1587 * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} 1252 - * 1588 + * 1253 1589 * Determine the order of Movies to fetch. 1254 1590 */ 1255 - orderBy?: Prisma.MovieOrderByWithRelationInput | Prisma.MovieOrderByWithRelationInput[] 1591 + orderBy?: 1592 + | Prisma.MovieOrderByWithRelationInput 1593 + | Prisma.MovieOrderByWithRelationInput[]; 1256 1594 /** 1257 1595 * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} 1258 - * 1596 + * 1259 1597 * Sets the position for listing Movies. 1260 1598 */ 1261 - cursor?: Prisma.MovieWhereUniqueInput 1599 + cursor?: Prisma.MovieWhereUniqueInput; 1262 1600 /** 1263 1601 * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} 1264 - * 1602 + * 1265 1603 * Take `±n` Movies from the position of the cursor. 1266 1604 */ 1267 - take?: number 1605 + take?: number; 1268 1606 /** 1269 1607 * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} 1270 - * 1608 + * 1271 1609 * Skip the first `n` Movies. 1272 1610 */ 1273 - skip?: number 1274 - distinct?: Prisma.MovieScalarFieldEnum | Prisma.MovieScalarFieldEnum[] 1275 - } 1611 + skip?: number; 1612 + distinct?: Prisma.MovieScalarFieldEnum | Prisma.MovieScalarFieldEnum[]; 1613 + }; 1276 1614 1277 1615 /** 1278 1616 * Movie create 1279 1617 */ 1280 - export type MovieCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = { 1618 + export type MovieCreateArgs< 1619 + ExtArgs extends runtime.Types.Extensions.InternalArgs = 1620 + runtime.Types.Extensions.DefaultArgs, 1621 + > = { 1281 1622 /** 1282 1623 * Select specific fields to fetch from the Movie 1283 1624 */ 1284 - select?: Prisma.MovieSelect<ExtArgs> | null 1625 + select?: Prisma.MovieSelect<ExtArgs> | null; 1285 1626 /** 1286 1627 * Omit specific fields from the Movie 1287 1628 */ 1288 - omit?: Prisma.MovieOmit<ExtArgs> | null 1629 + omit?: Prisma.MovieOmit<ExtArgs> | null; 1289 1630 /** 1290 1631 * Choose, which related nodes to fetch as well 1291 1632 */ 1292 - include?: Prisma.MovieInclude<ExtArgs> | null 1633 + include?: Prisma.MovieInclude<ExtArgs> | null; 1293 1634 /** 1294 1635 * The data needed to create a Movie. 1295 1636 */ 1296 - data: Prisma.XOR<Prisma.MovieCreateInput, Prisma.MovieUncheckedCreateInput> 1297 - } 1637 + data: Prisma.XOR<Prisma.MovieCreateInput, Prisma.MovieUncheckedCreateInput>; 1638 + }; 1298 1639 1299 1640 /** 1300 1641 * Movie createMany 1301 1642 */ 1302 - export type MovieCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = { 1643 + export type MovieCreateManyArgs< 1644 + ExtArgs extends runtime.Types.Extensions.InternalArgs = 1645 + runtime.Types.Extensions.DefaultArgs, 1646 + > = { 1303 1647 /** 1304 1648 * The data used to create many Movies. 1305 1649 */ 1306 - data: Prisma.MovieCreateManyInput | Prisma.MovieCreateManyInput[] 1307 - skipDuplicates?: boolean 1308 - } 1650 + data: Prisma.MovieCreateManyInput | Prisma.MovieCreateManyInput[]; 1651 + skipDuplicates?: boolean; 1652 + }; 1309 1653 1310 1654 /** 1311 1655 * Movie createManyAndReturn 1312 1656 */ 1313 - export type MovieCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = { 1657 + export type MovieCreateManyAndReturnArgs< 1658 + ExtArgs extends runtime.Types.Extensions.InternalArgs = 1659 + runtime.Types.Extensions.DefaultArgs, 1660 + > = { 1314 1661 /** 1315 1662 * Select specific fields to fetch from the Movie 1316 1663 */ 1317 - select?: Prisma.MovieSelectCreateManyAndReturn<ExtArgs> | null 1664 + select?: Prisma.MovieSelectCreateManyAndReturn<ExtArgs> | null; 1318 1665 /** 1319 1666 * Omit specific fields from the Movie 1320 1667 */ 1321 - omit?: Prisma.MovieOmit<ExtArgs> | null 1668 + omit?: Prisma.MovieOmit<ExtArgs> | null; 1322 1669 /** 1323 1670 * The data used to create many Movies. 1324 1671 */ 1325 - data: Prisma.MovieCreateManyInput | Prisma.MovieCreateManyInput[] 1326 - skipDuplicates?: boolean 1327 - } 1672 + data: Prisma.MovieCreateManyInput | Prisma.MovieCreateManyInput[]; 1673 + skipDuplicates?: boolean; 1674 + }; 1328 1675 1329 1676 /** 1330 1677 * Movie update 1331 1678 */ 1332 - export type MovieUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = { 1679 + export type MovieUpdateArgs< 1680 + ExtArgs extends runtime.Types.Extensions.InternalArgs = 1681 + runtime.Types.Extensions.DefaultArgs, 1682 + > = { 1333 1683 /** 1334 1684 * Select specific fields to fetch from the Movie 1335 1685 */ 1336 - select?: Prisma.MovieSelect<ExtArgs> | null 1686 + select?: Prisma.MovieSelect<ExtArgs> | null; 1337 1687 /** 1338 1688 * Omit specific fields from the Movie 1339 1689 */ 1340 - omit?: Prisma.MovieOmit<ExtArgs> | null 1690 + omit?: Prisma.MovieOmit<ExtArgs> | null; 1341 1691 /** 1342 1692 * Choose, which related nodes to fetch as well 1343 1693 */ 1344 - include?: Prisma.MovieInclude<ExtArgs> | null 1694 + include?: Prisma.MovieInclude<ExtArgs> | null; 1345 1695 /** 1346 1696 * The data needed to update a Movie. 1347 1697 */ 1348 - data: Prisma.XOR<Prisma.MovieUpdateInput, Prisma.MovieUncheckedUpdateInput> 1698 + data: Prisma.XOR<Prisma.MovieUpdateInput, Prisma.MovieUncheckedUpdateInput>; 1349 1699 /** 1350 1700 * Choose, which Movie to update. 1351 1701 */ 1352 - where: Prisma.MovieWhereUniqueInput 1353 - } 1702 + where: Prisma.MovieWhereUniqueInput; 1703 + }; 1354 1704 1355 1705 /** 1356 1706 * Movie updateMany 1357 1707 */ 1358 - export type MovieUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = { 1708 + export type MovieUpdateManyArgs< 1709 + ExtArgs extends runtime.Types.Extensions.InternalArgs = 1710 + runtime.Types.Extensions.DefaultArgs, 1711 + > = { 1359 1712 /** 1360 1713 * The data used to update Movies. 1361 1714 */ 1362 - data: Prisma.XOR<Prisma.MovieUpdateManyMutationInput, Prisma.MovieUncheckedUpdateManyInput> 1715 + data: Prisma.XOR< 1716 + Prisma.MovieUpdateManyMutationInput, 1717 + Prisma.MovieUncheckedUpdateManyInput 1718 + >; 1363 1719 /** 1364 1720 * Filter which Movies to update 1365 1721 */ 1366 - where?: Prisma.MovieWhereInput 1722 + where?: Prisma.MovieWhereInput; 1367 1723 /** 1368 1724 * Limit how many Movies to update. 1369 1725 */ 1370 - limit?: number 1371 - } 1726 + limit?: number; 1727 + }; 1372 1728 1373 1729 /** 1374 1730 * Movie updateManyAndReturn 1375 1731 */ 1376 - export type MovieUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = { 1732 + export type MovieUpdateManyAndReturnArgs< 1733 + ExtArgs extends runtime.Types.Extensions.InternalArgs = 1734 + runtime.Types.Extensions.DefaultArgs, 1735 + > = { 1377 1736 /** 1378 1737 * Select specific fields to fetch from the Movie 1379 1738 */ 1380 - select?: Prisma.MovieSelectUpdateManyAndReturn<ExtArgs> | null 1739 + select?: Prisma.MovieSelectUpdateManyAndReturn<ExtArgs> | null; 1381 1740 /** 1382 1741 * Omit specific fields from the Movie 1383 1742 */ 1384 - omit?: Prisma.MovieOmit<ExtArgs> | null 1743 + omit?: Prisma.MovieOmit<ExtArgs> | null; 1385 1744 /** 1386 1745 * The data used to update Movies. 1387 1746 */ 1388 - data: Prisma.XOR<Prisma.MovieUpdateManyMutationInput, Prisma.MovieUncheckedUpdateManyInput> 1747 + data: Prisma.XOR< 1748 + Prisma.MovieUpdateManyMutationInput, 1749 + Prisma.MovieUncheckedUpdateManyInput 1750 + >; 1389 1751 /** 1390 1752 * Filter which Movies to update 1391 1753 */ 1392 - where?: Prisma.MovieWhereInput 1754 + where?: Prisma.MovieWhereInput; 1393 1755 /** 1394 1756 * Limit how many Movies to update. 1395 1757 */ 1396 - limit?: number 1397 - } 1758 + limit?: number; 1759 + }; 1398 1760 1399 1761 /** 1400 1762 * Movie upsert 1401 1763 */ 1402 - export type MovieUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = { 1764 + export type MovieUpsertArgs< 1765 + ExtArgs extends runtime.Types.Extensions.InternalArgs = 1766 + runtime.Types.Extensions.DefaultArgs, 1767 + > = { 1403 1768 /** 1404 1769 * Select specific fields to fetch from the Movie 1405 1770 */ 1406 - select?: Prisma.MovieSelect<ExtArgs> | null 1771 + select?: Prisma.MovieSelect<ExtArgs> | null; 1407 1772 /** 1408 1773 * Omit specific fields from the Movie 1409 1774 */ 1410 - omit?: Prisma.MovieOmit<ExtArgs> | null 1775 + omit?: Prisma.MovieOmit<ExtArgs> | null; 1411 1776 /** 1412 1777 * Choose, which related nodes to fetch as well 1413 1778 */ 1414 - include?: Prisma.MovieInclude<ExtArgs> | null 1779 + include?: Prisma.MovieInclude<ExtArgs> | null; 1415 1780 /** 1416 1781 * The filter to search for the Movie to update in case it exists. 1417 1782 */ 1418 - where: Prisma.MovieWhereUniqueInput 1783 + where: Prisma.MovieWhereUniqueInput; 1419 1784 /** 1420 1785 * In case the Movie found by the `where` argument doesn't exist, create a new Movie with this data. 1421 1786 */ 1422 - create: Prisma.XOR<Prisma.MovieCreateInput, Prisma.MovieUncheckedCreateInput> 1787 + create: Prisma.XOR<Prisma.MovieCreateInput, Prisma.MovieUncheckedCreateInput>; 1423 1788 /** 1424 1789 * In case the Movie was found with the provided `where` argument, update it with this data. 1425 1790 */ 1426 - update: Prisma.XOR<Prisma.MovieUpdateInput, Prisma.MovieUncheckedUpdateInput> 1427 - } 1791 + update: Prisma.XOR<Prisma.MovieUpdateInput, Prisma.MovieUncheckedUpdateInput>; 1792 + }; 1428 1793 1429 1794 /** 1430 1795 * Movie delete 1431 1796 */ 1432 - export type MovieDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = { 1797 + export type MovieDeleteArgs< 1798 + ExtArgs extends runtime.Types.Extensions.InternalArgs = 1799 + runtime.Types.Extensions.DefaultArgs, 1800 + > = { 1433 1801 /** 1434 1802 * Select specific fields to fetch from the Movie 1435 1803 */ 1436 - select?: Prisma.MovieSelect<ExtArgs> | null 1804 + select?: Prisma.MovieSelect<ExtArgs> | null; 1437 1805 /** 1438 1806 * Omit specific fields from the Movie 1439 1807 */ 1440 - omit?: Prisma.MovieOmit<ExtArgs> | null 1808 + omit?: Prisma.MovieOmit<ExtArgs> | null; 1441 1809 /** 1442 1810 * Choose, which related nodes to fetch as well 1443 1811 */ 1444 - include?: Prisma.MovieInclude<ExtArgs> | null 1812 + include?: Prisma.MovieInclude<ExtArgs> | null; 1445 1813 /** 1446 1814 * Filter which Movie to delete. 1447 1815 */ 1448 - where: Prisma.MovieWhereUniqueInput 1449 - } 1816 + where: Prisma.MovieWhereUniqueInput; 1817 + }; 1450 1818 1451 1819 /** 1452 1820 * Movie deleteMany 1453 1821 */ 1454 - export type MovieDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = { 1822 + export type MovieDeleteManyArgs< 1823 + ExtArgs extends runtime.Types.Extensions.InternalArgs = 1824 + runtime.Types.Extensions.DefaultArgs, 1825 + > = { 1455 1826 /** 1456 1827 * Filter which Movies to delete 1457 1828 */ 1458 - where?: Prisma.MovieWhereInput 1829 + where?: Prisma.MovieWhereInput; 1459 1830 /** 1460 1831 * Limit how many Movies to delete. 1461 1832 */ 1462 - limit?: number 1463 - } 1833 + limit?: number; 1834 + }; 1464 1835 1465 1836 /** 1466 1837 * Movie.trackedBy 1467 1838 */ 1468 - export type Movie$trackedByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = { 1839 + export type Movie$trackedByArgs< 1840 + ExtArgs extends runtime.Types.Extensions.InternalArgs = 1841 + runtime.Types.Extensions.DefaultArgs, 1842 + > = { 1469 1843 /** 1470 1844 * Select specific fields to fetch from the TrackedMovie 1471 1845 */ 1472 - select?: Prisma.TrackedMovieSelect<ExtArgs> | null 1846 + select?: Prisma.TrackedMovieSelect<ExtArgs> | null; 1473 1847 /** 1474 1848 * Omit specific fields from the TrackedMovie 1475 1849 */ 1476 - omit?: Prisma.TrackedMovieOmit<ExtArgs> | null 1850 + omit?: Prisma.TrackedMovieOmit<ExtArgs> | null; 1477 1851 /** 1478 1852 * Choose, which related nodes to fetch as well 1479 1853 */ 1480 - include?: Prisma.TrackedMovieInclude<ExtArgs> | null 1481 - where?: Prisma.TrackedMovieWhereInput 1482 - orderBy?: Prisma.TrackedMovieOrderByWithRelationInput | Prisma.TrackedMovieOrderByWithRelationInput[] 1483 - cursor?: Prisma.TrackedMovieWhereUniqueInput 1484 - take?: number 1485 - skip?: number 1486 - distinct?: Prisma.TrackedMovieScalarFieldEnum | Prisma.TrackedMovieScalarFieldEnum[] 1487 - } 1854 + include?: Prisma.TrackedMovieInclude<ExtArgs> | null; 1855 + where?: Prisma.TrackedMovieWhereInput; 1856 + orderBy?: 1857 + | Prisma.TrackedMovieOrderByWithRelationInput 1858 + | Prisma.TrackedMovieOrderByWithRelationInput[]; 1859 + cursor?: Prisma.TrackedMovieWhereUniqueInput; 1860 + take?: number; 1861 + skip?: number; 1862 + distinct?: 1863 + | Prisma.TrackedMovieScalarFieldEnum 1864 + | Prisma.TrackedMovieScalarFieldEnum[]; 1865 + }; 1488 1866 1489 1867 /** 1490 1868 * Movie without action 1491 1869 */ 1492 - export type MovieDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = { 1870 + export type MovieDefaultArgs< 1871 + ExtArgs extends runtime.Types.Extensions.InternalArgs = 1872 + runtime.Types.Extensions.DefaultArgs, 1873 + > = { 1493 1874 /** 1494 1875 * Select specific fields to fetch from the Movie 1495 1876 */ 1496 - select?: Prisma.MovieSelect<ExtArgs> | null 1877 + select?: Prisma.MovieSelect<ExtArgs> | null; 1497 1878 /** 1498 1879 * Omit specific fields from the Movie 1499 1880 */ 1500 - omit?: Prisma.MovieOmit<ExtArgs> | null 1881 + omit?: Prisma.MovieOmit<ExtArgs> | null; 1501 1882 /** 1502 1883 * Choose, which related nodes to fetch as well 1503 1884 */ 1504 - include?: Prisma.MovieInclude<ExtArgs> | null 1505 - } 1885 + include?: Prisma.MovieInclude<ExtArgs> | null; 1886 + };
+1455 -880
backend/src/generated/models/TrackedMovie.ts
··· 1 1 /* !!! This is code generated by Prisma. Do not edit directly. !!! */ 2 2 /* eslint-disable */ 3 3 // biome-ignore-all lint: generated file 4 - // @ts-nocheck 4 + // @ts-nocheck 5 5 /* 6 6 * This file exports the `TrackedMovie` model and its related types. 7 7 * 8 8 * 🟢 You can import this file directly. 9 9 */ 10 - import type * as runtime from "@prisma/client/runtime/client" 11 - import type * as $Enums from "../enums.js" 12 - import type * as Prisma from "../internal/prismaNamespace.js" 10 + import type * as runtime from '@prisma/client/runtime/client'; 11 + import type * as $Enums from '../enums.js'; 12 + import type * as Prisma from '../internal/prismaNamespace.js'; 13 13 14 14 /** 15 15 * Model TrackedMovie 16 - * 16 + * 17 17 */ 18 - export type TrackedMovieModel = runtime.Types.Result.DefaultSelection<Prisma.$TrackedMoviePayload> 18 + export type TrackedMovieModel = 19 + runtime.Types.Result.DefaultSelection<Prisma.$TrackedMoviePayload>; 19 20 20 21 export type AggregateTrackedMovie = { 21 - _count: TrackedMovieCountAggregateOutputType | null 22 - _min: TrackedMovieMinAggregateOutputType | null 23 - _max: TrackedMovieMaxAggregateOutputType | null 24 - } 22 + _count: TrackedMovieCountAggregateOutputType | null; 23 + _min: TrackedMovieMinAggregateOutputType | null; 24 + _max: TrackedMovieMaxAggregateOutputType | null; 25 + }; 25 26 26 27 export type TrackedMovieMinAggregateOutputType = { 27 - id: string | null 28 - rkey: string | null 29 - uri: string | null 30 - cid: string | null 31 - userDid: string | null 32 - movieId: string | null 33 - status: string | null 34 - watchedDate: Date | null 35 - createdAt: Date | null 36 - updatedAt: Date | null 37 - } 28 + id: string | null; 29 + rkey: string | null; 30 + uri: string | null; 31 + cid: string | null; 32 + userDid: string | null; 33 + movieId: string | null; 34 + status: string | null; 35 + watchedDate: Date | null; 36 + createdAt: Date | null; 37 + updatedAt: Date | null; 38 + }; 38 39 39 40 export type TrackedMovieMaxAggregateOutputType = { 40 - id: string | null 41 - rkey: string | null 42 - uri: string | null 43 - cid: string | null 44 - userDid: string | null 45 - movieId: string | null 46 - status: string | null 47 - watchedDate: Date | null 48 - createdAt: Date | null 49 - updatedAt: Date | null 50 - } 41 + id: string | null; 42 + rkey: string | null; 43 + uri: string | null; 44 + cid: string | null; 45 + userDid: string | null; 46 + movieId: string | null; 47 + status: string | null; 48 + watchedDate: Date | null; 49 + createdAt: Date | null; 50 + updatedAt: Date | null; 51 + }; 51 52 52 53 export type TrackedMovieCountAggregateOutputType = { 53 - id: number 54 - rkey: number 55 - uri: number 56 - cid: number 57 - userDid: number 58 - movieId: number 59 - status: number 60 - watchedDate: number 61 - createdAt: number 62 - updatedAt: number 63 - _all: number 64 - } 65 - 54 + id: number; 55 + rkey: number; 56 + uri: number; 57 + cid: number; 58 + userDid: number; 59 + movieId: number; 60 + status: number; 61 + watchedDate: number; 62 + createdAt: number; 63 + updatedAt: number; 64 + _all: number; 65 + }; 66 66 67 67 export type TrackedMovieMinAggregateInputType = { 68 - id?: true 69 - rkey?: true 70 - uri?: true 71 - cid?: true 72 - userDid?: true 73 - movieId?: true 74 - status?: true 75 - watchedDate?: true 76 - createdAt?: true 77 - updatedAt?: true 78 - } 68 + id?: true; 69 + rkey?: true; 70 + uri?: true; 71 + cid?: true; 72 + userDid?: true; 73 + movieId?: true; 74 + status?: true; 75 + watchedDate?: true; 76 + createdAt?: true; 77 + updatedAt?: true; 78 + }; 79 79 80 80 export type TrackedMovieMaxAggregateInputType = { 81 - id?: true 82 - rkey?: true 83 - uri?: true 84 - cid?: true 85 - userDid?: true 86 - movieId?: true 87 - status?: true 88 - watchedDate?: true 89 - createdAt?: true 90 - updatedAt?: true 91 - } 81 + id?: true; 82 + rkey?: true; 83 + uri?: true; 84 + cid?: true; 85 + userDid?: true; 86 + movieId?: true; 87 + status?: true; 88 + watchedDate?: true; 89 + createdAt?: true; 90 + updatedAt?: true; 91 + }; 92 92 93 93 export type TrackedMovieCountAggregateInputType = { 94 - id?: true 95 - rkey?: true 96 - uri?: true 97 - cid?: true 98 - userDid?: true 99 - movieId?: true 100 - status?: true 101 - watchedDate?: true 102 - createdAt?: true 103 - updatedAt?: true 104 - _all?: true 105 - } 94 + id?: true; 95 + rkey?: true; 96 + uri?: true; 97 + cid?: true; 98 + userDid?: true; 99 + movieId?: true; 100 + status?: true; 101 + watchedDate?: true; 102 + createdAt?: true; 103 + updatedAt?: true; 104 + _all?: true; 105 + }; 106 106 107 - export type TrackedMovieAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = { 107 + export type TrackedMovieAggregateArgs< 108 + ExtArgs extends runtime.Types.Extensions.InternalArgs = 109 + runtime.Types.Extensions.DefaultArgs, 110 + > = { 108 111 /** 109 112 * Filter which TrackedMovie to aggregate. 110 113 */ 111 - where?: Prisma.TrackedMovieWhereInput 114 + where?: Prisma.TrackedMovieWhereInput; 112 115 /** 113 116 * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} 114 - * 117 + * 115 118 * Determine the order of TrackedMovies to fetch. 116 119 */ 117 - orderBy?: Prisma.TrackedMovieOrderByWithRelationInput | Prisma.TrackedMovieOrderByWithRelationInput[] 120 + orderBy?: 121 + | Prisma.TrackedMovieOrderByWithRelationInput 122 + | Prisma.TrackedMovieOrderByWithRelationInput[]; 118 123 /** 119 124 * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} 120 - * 125 + * 121 126 * Sets the start position 122 127 */ 123 - cursor?: Prisma.TrackedMovieWhereUniqueInput 128 + cursor?: Prisma.TrackedMovieWhereUniqueInput; 124 129 /** 125 130 * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} 126 - * 131 + * 127 132 * Take `±n` TrackedMovies from the position of the cursor. 128 133 */ 129 - take?: number 134 + take?: number; 130 135 /** 131 136 * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} 132 - * 137 + * 133 138 * Skip the first `n` TrackedMovies. 134 139 */ 135 - skip?: number 140 + skip?: number; 136 141 /** 137 142 * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} 138 - * 143 + * 139 144 * Count returned TrackedMovies 140 - **/ 141 - _count?: true | TrackedMovieCountAggregateInputType 145 + **/ 146 + _count?: true | TrackedMovieCountAggregateInputType; 142 147 /** 143 148 * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} 144 - * 149 + * 145 150 * Select which fields to find the minimum value 146 - **/ 147 - _min?: TrackedMovieMinAggregateInputType 151 + **/ 152 + _min?: TrackedMovieMinAggregateInputType; 148 153 /** 149 154 * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} 150 - * 155 + * 151 156 * Select which fields to find the maximum value 152 - **/ 153 - _max?: TrackedMovieMaxAggregateInputType 154 - } 155 - 156 - export type GetTrackedMovieAggregateType<T extends TrackedMovieAggregateArgs> = { 157 - [P in keyof T & keyof AggregateTrackedMovie]: P extends '_count' | 'count' 158 - ? T[P] extends true 159 - ? number 160 - : Prisma.GetScalarType<T[P], AggregateTrackedMovie[P]> 161 - : Prisma.GetScalarType<T[P], AggregateTrackedMovie[P]> 162 - } 163 - 164 - 157 + **/ 158 + _max?: TrackedMovieMaxAggregateInputType; 159 + }; 165 160 161 + export type GetTrackedMovieAggregateType<T extends TrackedMovieAggregateArgs> = 162 + { 163 + [P in keyof T & keyof AggregateTrackedMovie]: P extends '_count' | 'count' 164 + ? T[P] extends true 165 + ? number 166 + : Prisma.GetScalarType<T[P], AggregateTrackedMovie[P]> 167 + : Prisma.GetScalarType<T[P], AggregateTrackedMovie[P]>; 168 + }; 166 169 167 - export type TrackedMovieGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = { 168 - where?: Prisma.TrackedMovieWhereInput 169 - orderBy?: Prisma.TrackedMovieOrderByWithAggregationInput | Prisma.TrackedMovieOrderByWithAggregationInput[] 170 - by: Prisma.TrackedMovieScalarFieldEnum[] | Prisma.TrackedMovieScalarFieldEnum 171 - having?: Prisma.TrackedMovieScalarWhereWithAggregatesInput 172 - take?: number 173 - skip?: number 174 - _count?: TrackedMovieCountAggregateInputType | true 175 - _min?: TrackedMovieMinAggregateInputType 176 - _max?: TrackedMovieMaxAggregateInputType 177 - } 170 + export type TrackedMovieGroupByArgs< 171 + ExtArgs extends runtime.Types.Extensions.InternalArgs = 172 + runtime.Types.Extensions.DefaultArgs, 173 + > = { 174 + where?: Prisma.TrackedMovieWhereInput; 175 + orderBy?: 176 + | Prisma.TrackedMovieOrderByWithAggregationInput 177 + | Prisma.TrackedMovieOrderByWithAggregationInput[]; 178 + by: Prisma.TrackedMovieScalarFieldEnum[] | Prisma.TrackedMovieScalarFieldEnum; 179 + having?: Prisma.TrackedMovieScalarWhereWithAggregatesInput; 180 + take?: number; 181 + skip?: number; 182 + _count?: TrackedMovieCountAggregateInputType | true; 183 + _min?: TrackedMovieMinAggregateInputType; 184 + _max?: TrackedMovieMaxAggregateInputType; 185 + }; 178 186 179 187 export type TrackedMovieGroupByOutputType = { 180 - id: string 181 - rkey: string 182 - uri: string 183 - cid: string 184 - userDid: string 185 - movieId: string 186 - status: string 187 - watchedDate: Date | null 188 - createdAt: Date 189 - updatedAt: Date 190 - _count: TrackedMovieCountAggregateOutputType | null 191 - _min: TrackedMovieMinAggregateOutputType | null 192 - _max: TrackedMovieMaxAggregateOutputType | null 193 - } 188 + id: string; 189 + rkey: string; 190 + uri: string; 191 + cid: string; 192 + userDid: string; 193 + movieId: string; 194 + status: string; 195 + watchedDate: Date | null; 196 + createdAt: Date; 197 + updatedAt: Date; 198 + _count: TrackedMovieCountAggregateOutputType | null; 199 + _min: TrackedMovieMinAggregateOutputType | null; 200 + _max: TrackedMovieMaxAggregateOutputType | null; 201 + }; 194 202 195 - type GetTrackedMovieGroupByPayload<T extends TrackedMovieGroupByArgs> = Prisma.PrismaPromise< 196 - Array< 197 - Prisma.PickEnumerable<TrackedMovieGroupByOutputType, T['by']> & 198 - { 199 - [P in ((keyof T) & (keyof TrackedMovieGroupByOutputType))]: P extends '_count' 203 + type GetTrackedMovieGroupByPayload<T extends TrackedMovieGroupByArgs> = 204 + Prisma.PrismaPromise< 205 + Array< 206 + Prisma.PickEnumerable<TrackedMovieGroupByOutputType, T['by']> & { 207 + [P in keyof T & keyof TrackedMovieGroupByOutputType]: P extends '_count' 200 208 ? T[P] extends boolean 201 209 ? number 202 210 : Prisma.GetScalarType<T[P], TrackedMovieGroupByOutputType[P]> 203 - : Prisma.GetScalarType<T[P], TrackedMovieGroupByOutputType[P]> 211 + : Prisma.GetScalarType<T[P], TrackedMovieGroupByOutputType[P]>; 204 212 } 205 213 > 206 - > 207 - 208 - 214 + >; 209 215 210 216 export type TrackedMovieWhereInput = { 211 - AND?: Prisma.TrackedMovieWhereInput | Prisma.TrackedMovieWhereInput[] 212 - OR?: Prisma.TrackedMovieWhereInput[] 213 - NOT?: Prisma.TrackedMovieWhereInput | Prisma.TrackedMovieWhereInput[] 214 - id?: Prisma.StringFilter<"TrackedMovie"> | string 215 - rkey?: Prisma.StringFilter<"TrackedMovie"> | string 216 - uri?: Prisma.StringFilter<"TrackedMovie"> | string 217 - cid?: Prisma.StringFilter<"TrackedMovie"> | string 218 - userDid?: Prisma.StringFilter<"TrackedMovie"> | string 219 - movieId?: Prisma.StringFilter<"TrackedMovie"> | string 220 - status?: Prisma.StringFilter<"TrackedMovie"> | string 221 - watchedDate?: Prisma.DateTimeNullableFilter<"TrackedMovie"> | Date | string | null 222 - createdAt?: Prisma.DateTimeFilter<"TrackedMovie"> | Date | string 223 - updatedAt?: Prisma.DateTimeFilter<"TrackedMovie"> | Date | string 224 - user?: Prisma.XOR<Prisma.UserScalarRelationFilter, Prisma.UserWhereInput> 225 - movie?: Prisma.XOR<Prisma.MovieScalarRelationFilter, Prisma.MovieWhereInput> 226 - } 217 + AND?: Prisma.TrackedMovieWhereInput | Prisma.TrackedMovieWhereInput[]; 218 + OR?: Prisma.TrackedMovieWhereInput[]; 219 + NOT?: Prisma.TrackedMovieWhereInput | Prisma.TrackedMovieWhereInput[]; 220 + id?: Prisma.StringFilter<'TrackedMovie'> | string; 221 + rkey?: Prisma.StringFilter<'TrackedMovie'> | string; 222 + uri?: Prisma.StringFilter<'TrackedMovie'> | string; 223 + cid?: Prisma.StringFilter<'TrackedMovie'> | string; 224 + userDid?: Prisma.StringFilter<'TrackedMovie'> | string; 225 + movieId?: Prisma.StringFilter<'TrackedMovie'> | string; 226 + status?: Prisma.StringFilter<'TrackedMovie'> | string; 227 + watchedDate?: 228 + | Prisma.DateTimeNullableFilter<'TrackedMovie'> 229 + | Date 230 + | string 231 + | null; 232 + createdAt?: Prisma.DateTimeFilter<'TrackedMovie'> | Date | string; 233 + updatedAt?: Prisma.DateTimeFilter<'TrackedMovie'> | Date | string; 234 + user?: Prisma.XOR<Prisma.UserScalarRelationFilter, Prisma.UserWhereInput>; 235 + movie?: Prisma.XOR<Prisma.MovieScalarRelationFilter, Prisma.MovieWhereInput>; 236 + }; 227 237 228 238 export type TrackedMovieOrderByWithRelationInput = { 229 - id?: Prisma.SortOrder 230 - rkey?: Prisma.SortOrder 231 - uri?: Prisma.SortOrder 232 - cid?: Prisma.SortOrder 233 - userDid?: Prisma.SortOrder 234 - movieId?: Prisma.SortOrder 235 - status?: Prisma.SortOrder 236 - watchedDate?: Prisma.SortOrderInput | Prisma.SortOrder 237 - createdAt?: Prisma.SortOrder 238 - updatedAt?: Prisma.SortOrder 239 - user?: Prisma.UserOrderByWithRelationInput 240 - movie?: Prisma.MovieOrderByWithRelationInput 241 - } 239 + id?: Prisma.SortOrder; 240 + rkey?: Prisma.SortOrder; 241 + uri?: Prisma.SortOrder; 242 + cid?: Prisma.SortOrder; 243 + userDid?: Prisma.SortOrder; 244 + movieId?: Prisma.SortOrder; 245 + status?: Prisma.SortOrder; 246 + watchedDate?: Prisma.SortOrderInput | Prisma.SortOrder; 247 + createdAt?: Prisma.SortOrder; 248 + updatedAt?: Prisma.SortOrder; 249 + user?: Prisma.UserOrderByWithRelationInput; 250 + movie?: Prisma.MovieOrderByWithRelationInput; 251 + }; 242 252 243 - export type TrackedMovieWhereUniqueInput = Prisma.AtLeast<{ 244 - id?: string 245 - uri?: string 246 - AND?: Prisma.TrackedMovieWhereInput | Prisma.TrackedMovieWhereInput[] 247 - OR?: Prisma.TrackedMovieWhereInput[] 248 - NOT?: Prisma.TrackedMovieWhereInput | Prisma.TrackedMovieWhereInput[] 249 - rkey?: Prisma.StringFilter<"TrackedMovie"> | string 250 - cid?: Prisma.StringFilter<"TrackedMovie"> | string 251 - userDid?: Prisma.StringFilter<"TrackedMovie"> | string 252 - movieId?: Prisma.StringFilter<"TrackedMovie"> | string 253 - status?: Prisma.StringFilter<"TrackedMovie"> | string 254 - watchedDate?: Prisma.DateTimeNullableFilter<"TrackedMovie"> | Date | string | null 255 - createdAt?: Prisma.DateTimeFilter<"TrackedMovie"> | Date | string 256 - updatedAt?: Prisma.DateTimeFilter<"TrackedMovie"> | Date | string 257 - user?: Prisma.XOR<Prisma.UserScalarRelationFilter, Prisma.UserWhereInput> 258 - movie?: Prisma.XOR<Prisma.MovieScalarRelationFilter, Prisma.MovieWhereInput> 259 - }, "id" | "uri"> 253 + export type TrackedMovieWhereUniqueInput = Prisma.AtLeast< 254 + { 255 + id?: string; 256 + uri?: string; 257 + AND?: Prisma.TrackedMovieWhereInput | Prisma.TrackedMovieWhereInput[]; 258 + OR?: Prisma.TrackedMovieWhereInput[]; 259 + NOT?: Prisma.TrackedMovieWhereInput | Prisma.TrackedMovieWhereInput[]; 260 + rkey?: Prisma.StringFilter<'TrackedMovie'> | string; 261 + cid?: Prisma.StringFilter<'TrackedMovie'> | string; 262 + userDid?: Prisma.StringFilter<'TrackedMovie'> | string; 263 + movieId?: Prisma.StringFilter<'TrackedMovie'> | string; 264 + status?: Prisma.StringFilter<'TrackedMovie'> | string; 265 + watchedDate?: 266 + | Prisma.DateTimeNullableFilter<'TrackedMovie'> 267 + | Date 268 + | string 269 + | null; 270 + createdAt?: Prisma.DateTimeFilter<'TrackedMovie'> | Date | string; 271 + updatedAt?: Prisma.DateTimeFilter<'TrackedMovie'> | Date | string; 272 + user?: Prisma.XOR<Prisma.UserScalarRelationFilter, Prisma.UserWhereInput>; 273 + movie?: Prisma.XOR< 274 + Prisma.MovieScalarRelationFilter, 275 + Prisma.MovieWhereInput 276 + >; 277 + }, 278 + 'id' | 'uri' 279 + >; 260 280 261 281 export type TrackedMovieOrderByWithAggregationInput = { 262 - id?: Prisma.SortOrder 263 - rkey?: Prisma.SortOrder 264 - uri?: Prisma.SortOrder 265 - cid?: Prisma.SortOrder 266 - userDid?: Prisma.SortOrder 267 - movieId?: Prisma.SortOrder 268 - status?: Prisma.SortOrder 269 - watchedDate?: Prisma.SortOrderInput | Prisma.SortOrder 270 - createdAt?: Prisma.SortOrder 271 - updatedAt?: Prisma.SortOrder 272 - _count?: Prisma.TrackedMovieCountOrderByAggregateInput 273 - _max?: Prisma.TrackedMovieMaxOrderByAggregateInput 274 - _min?: Prisma.TrackedMovieMinOrderByAggregateInput 275 - } 282 + id?: Prisma.SortOrder; 283 + rkey?: Prisma.SortOrder; 284 + uri?: Prisma.SortOrder; 285 + cid?: Prisma.SortOrder; 286 + userDid?: Prisma.SortOrder; 287 + movieId?: Prisma.SortOrder; 288 + status?: Prisma.SortOrder; 289 + watchedDate?: Prisma.SortOrderInput | Prisma.SortOrder; 290 + createdAt?: Prisma.SortOrder; 291 + updatedAt?: Prisma.SortOrder; 292 + _count?: Prisma.TrackedMovieCountOrderByAggregateInput; 293 + _max?: Prisma.TrackedMovieMaxOrderByAggregateInput; 294 + _min?: Prisma.TrackedMovieMinOrderByAggregateInput; 295 + }; 276 296 277 297 export type TrackedMovieScalarWhereWithAggregatesInput = { 278 - AND?: Prisma.TrackedMovieScalarWhereWithAggregatesInput | Prisma.TrackedMovieScalarWhereWithAggregatesInput[] 279 - OR?: Prisma.TrackedMovieScalarWhereWithAggregatesInput[] 280 - NOT?: Prisma.TrackedMovieScalarWhereWithAggregatesInput | Prisma.TrackedMovieScalarWhereWithAggregatesInput[] 281 - id?: Prisma.StringWithAggregatesFilter<"TrackedMovie"> | string 282 - rkey?: Prisma.StringWithAggregatesFilter<"TrackedMovie"> | string 283 - uri?: Prisma.StringWithAggregatesFilter<"TrackedMovie"> | string 284 - cid?: Prisma.StringWithAggregatesFilter<"TrackedMovie"> | string 285 - userDid?: Prisma.StringWithAggregatesFilter<"TrackedMovie"> | string 286 - movieId?: Prisma.StringWithAggregatesFilter<"TrackedMovie"> | string 287 - status?: Prisma.StringWithAggregatesFilter<"TrackedMovie"> | string 288 - watchedDate?: Prisma.DateTimeNullableWithAggregatesFilter<"TrackedMovie"> | Date | string | null 289 - createdAt?: Prisma.DateTimeWithAggregatesFilter<"TrackedMovie"> | Date | string 290 - updatedAt?: Prisma.DateTimeWithAggregatesFilter<"TrackedMovie"> | Date | string 291 - } 298 + AND?: 299 + | Prisma.TrackedMovieScalarWhereWithAggregatesInput 300 + | Prisma.TrackedMovieScalarWhereWithAggregatesInput[]; 301 + OR?: Prisma.TrackedMovieScalarWhereWithAggregatesInput[]; 302 + NOT?: 303 + | Prisma.TrackedMovieScalarWhereWithAggregatesInput 304 + | Prisma.TrackedMovieScalarWhereWithAggregatesInput[]; 305 + id?: Prisma.StringWithAggregatesFilter<'TrackedMovie'> | string; 306 + rkey?: Prisma.StringWithAggregatesFilter<'TrackedMovie'> | string; 307 + uri?: Prisma.StringWithAggregatesFilter<'TrackedMovie'> | string; 308 + cid?: Prisma.StringWithAggregatesFilter<'TrackedMovie'> | string; 309 + userDid?: Prisma.StringWithAggregatesFilter<'TrackedMovie'> | string; 310 + movieId?: Prisma.StringWithAggregatesFilter<'TrackedMovie'> | string; 311 + status?: Prisma.StringWithAggregatesFilter<'TrackedMovie'> | string; 312 + watchedDate?: 313 + | Prisma.DateTimeNullableWithAggregatesFilter<'TrackedMovie'> 314 + | Date 315 + | string 316 + | null; 317 + createdAt?: 318 + | Prisma.DateTimeWithAggregatesFilter<'TrackedMovie'> 319 + | Date 320 + | string; 321 + updatedAt?: 322 + | Prisma.DateTimeWithAggregatesFilter<'TrackedMovie'> 323 + | Date 324 + | string; 325 + }; 292 326 293 327 export type TrackedMovieCreateInput = { 294 - id?: string 295 - rkey: string 296 - uri: string 297 - cid: string 298 - status?: string 299 - watchedDate?: Date | string | null 300 - createdAt?: Date | string 301 - updatedAt?: Date | string 302 - user: Prisma.UserCreateNestedOneWithoutTrackedMoviesInput 303 - movie: Prisma.MovieCreateNestedOneWithoutTrackedByInput 304 - } 328 + id?: string; 329 + rkey: string; 330 + uri: string; 331 + cid: string; 332 + status?: string; 333 + watchedDate?: Date | string | null; 334 + createdAt?: Date | string; 335 + updatedAt?: Date | string; 336 + user: Prisma.UserCreateNestedOneWithoutTrackedMoviesInput; 337 + movie: Prisma.MovieCreateNestedOneWithoutTrackedByInput; 338 + }; 305 339 306 340 export type TrackedMovieUncheckedCreateInput = { 307 - id?: string 308 - rkey: string 309 - uri: string 310 - cid: string 311 - userDid: string 312 - movieId: string 313 - status?: string 314 - watchedDate?: Date | string | null 315 - createdAt?: Date | string 316 - updatedAt?: Date | string 317 - } 341 + id?: string; 342 + rkey: string; 343 + uri: string; 344 + cid: string; 345 + userDid: string; 346 + movieId: string; 347 + status?: string; 348 + watchedDate?: Date | string | null; 349 + createdAt?: Date | string; 350 + updatedAt?: Date | string; 351 + }; 318 352 319 353 export type TrackedMovieUpdateInput = { 320 - id?: Prisma.StringFieldUpdateOperationsInput | string 321 - rkey?: Prisma.StringFieldUpdateOperationsInput | string 322 - uri?: Prisma.StringFieldUpdateOperationsInput | string 323 - cid?: Prisma.StringFieldUpdateOperationsInput | string 324 - status?: Prisma.StringFieldUpdateOperationsInput | string 325 - watchedDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null 326 - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string 327 - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string 328 - user?: Prisma.UserUpdateOneRequiredWithoutTrackedMoviesNestedInput 329 - movie?: Prisma.MovieUpdateOneRequiredWithoutTrackedByNestedInput 330 - } 354 + id?: Prisma.StringFieldUpdateOperationsInput | string; 355 + rkey?: Prisma.StringFieldUpdateOperationsInput | string; 356 + uri?: Prisma.StringFieldUpdateOperationsInput | string; 357 + cid?: Prisma.StringFieldUpdateOperationsInput | string; 358 + status?: Prisma.StringFieldUpdateOperationsInput | string; 359 + watchedDate?: 360 + | Prisma.NullableDateTimeFieldUpdateOperationsInput 361 + | Date 362 + | string 363 + | null; 364 + createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string; 365 + updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string; 366 + user?: Prisma.UserUpdateOneRequiredWithoutTrackedMoviesNestedInput; 367 + movie?: Prisma.MovieUpdateOneRequiredWithoutTrackedByNestedInput; 368 + }; 331 369 332 370 export type TrackedMovieUncheckedUpdateInput = { 333 - id?: Prisma.StringFieldUpdateOperationsInput | string 334 - rkey?: Prisma.StringFieldUpdateOperationsInput | string 335 - uri?: Prisma.StringFieldUpdateOperationsInput | string 336 - cid?: Prisma.StringFieldUpdateOperationsInput | string 337 - userDid?: Prisma.StringFieldUpdateOperationsInput | string 338 - movieId?: Prisma.StringFieldUpdateOperationsInput | string 339 - status?: Prisma.StringFieldUpdateOperationsInput | string 340 - watchedDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null 341 - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string 342 - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string 343 - } 371 + id?: Prisma.StringFieldUpdateOperationsInput | string; 372 + rkey?: Prisma.StringFieldUpdateOperationsInput | string; 373 + uri?: Prisma.StringFieldUpdateOperationsInput | string; 374 + cid?: Prisma.StringFieldUpdateOperationsInput | string; 375 + userDid?: Prisma.StringFieldUpdateOperationsInput | string; 376 + movieId?: Prisma.StringFieldUpdateOperationsInput | string; 377 + status?: Prisma.StringFieldUpdateOperationsInput | string; 378 + watchedDate?: 379 + | Prisma.NullableDateTimeFieldUpdateOperationsInput 380 + | Date 381 + | string 382 + | null; 383 + createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string; 384 + updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string; 385 + }; 344 386 345 387 export type TrackedMovieCreateManyInput = { 346 - id?: string 347 - rkey: string 348 - uri: string 349 - cid: string 350 - userDid: string 351 - movieId: string 352 - status?: string 353 - watchedDate?: Date | string | null 354 - createdAt?: Date | string 355 - updatedAt?: Date | string 356 - } 388 + id?: string; 389 + rkey: string; 390 + uri: string; 391 + cid: string; 392 + userDid: string; 393 + movieId: string; 394 + status?: string; 395 + watchedDate?: Date | string | null; 396 + createdAt?: Date | string; 397 + updatedAt?: Date | string; 398 + }; 357 399 358 400 export type TrackedMovieUpdateManyMutationInput = { 359 - id?: Prisma.StringFieldUpdateOperationsInput | string 360 - rkey?: Prisma.StringFieldUpdateOperationsInput | string 361 - uri?: Prisma.StringFieldUpdateOperationsInput | string 362 - cid?: Prisma.StringFieldUpdateOperationsInput | string 363 - status?: Prisma.StringFieldUpdateOperationsInput | string 364 - watchedDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null 365 - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string 366 - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string 367 - } 401 + id?: Prisma.StringFieldUpdateOperationsInput | string; 402 + rkey?: Prisma.StringFieldUpdateOperationsInput | string; 403 + uri?: Prisma.StringFieldUpdateOperationsInput | string; 404 + cid?: Prisma.StringFieldUpdateOperationsInput | string; 405 + status?: Prisma.StringFieldUpdateOperationsInput | string; 406 + watchedDate?: 407 + | Prisma.NullableDateTimeFieldUpdateOperationsInput 408 + | Date 409 + | string 410 + | null; 411 + createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string; 412 + updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string; 413 + }; 368 414 369 415 export type TrackedMovieUncheckedUpdateManyInput = { 370 - id?: Prisma.StringFieldUpdateOperationsInput | string 371 - rkey?: Prisma.StringFieldUpdateOperationsInput | string 372 - uri?: Prisma.StringFieldUpdateOperationsInput | string 373 - cid?: Prisma.StringFieldUpdateOperationsInput | string 374 - userDid?: Prisma.StringFieldUpdateOperationsInput | string 375 - movieId?: Prisma.StringFieldUpdateOperationsInput | string 376 - status?: Prisma.StringFieldUpdateOperationsInput | string 377 - watchedDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null 378 - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string 379 - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string 380 - } 416 + id?: Prisma.StringFieldUpdateOperationsInput | string; 417 + rkey?: Prisma.StringFieldUpdateOperationsInput | string; 418 + uri?: Prisma.StringFieldUpdateOperationsInput | string; 419 + cid?: Prisma.StringFieldUpdateOperationsInput | string; 420 + userDid?: Prisma.StringFieldUpdateOperationsInput | string; 421 + movieId?: Prisma.StringFieldUpdateOperationsInput | string; 422 + status?: Prisma.StringFieldUpdateOperationsInput | string; 423 + watchedDate?: 424 + | Prisma.NullableDateTimeFieldUpdateOperationsInput 425 + | Date 426 + | string 427 + | null; 428 + createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string; 429 + updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string; 430 + }; 381 431 382 432 export type TrackedMovieListRelationFilter = { 383 - every?: Prisma.TrackedMovieWhereInput 384 - some?: Prisma.TrackedMovieWhereInput 385 - none?: Prisma.TrackedMovieWhereInput 386 - } 433 + every?: Prisma.TrackedMovieWhereInput; 434 + some?: Prisma.TrackedMovieWhereInput; 435 + none?: Prisma.TrackedMovieWhereInput; 436 + }; 387 437 388 438 export type TrackedMovieOrderByRelationAggregateInput = { 389 - _count?: Prisma.SortOrder 390 - } 439 + _count?: Prisma.SortOrder; 440 + }; 391 441 392 442 export type TrackedMovieCountOrderByAggregateInput = { 393 - id?: Prisma.SortOrder 394 - rkey?: Prisma.SortOrder 395 - uri?: Prisma.SortOrder 396 - cid?: Prisma.SortOrder 397 - userDid?: Prisma.SortOrder 398 - movieId?: Prisma.SortOrder 399 - status?: Prisma.SortOrder 400 - watchedDate?: Prisma.SortOrder 401 - createdAt?: Prisma.SortOrder 402 - updatedAt?: Prisma.SortOrder 403 - } 443 + id?: Prisma.SortOrder; 444 + rkey?: Prisma.SortOrder; 445 + uri?: Prisma.SortOrder; 446 + cid?: Prisma.SortOrder; 447 + userDid?: Prisma.SortOrder; 448 + movieId?: Prisma.SortOrder; 449 + status?: Prisma.SortOrder; 450 + watchedDate?: Prisma.SortOrder; 451 + createdAt?: Prisma.SortOrder; 452 + updatedAt?: Prisma.SortOrder; 453 + }; 404 454 405 455 export type TrackedMovieMaxOrderByAggregateInput = { 406 - id?: Prisma.SortOrder 407 - rkey?: Prisma.SortOrder 408 - uri?: Prisma.SortOrder 409 - cid?: Prisma.SortOrder 410 - userDid?: Prisma.SortOrder 411 - movieId?: Prisma.SortOrder 412 - status?: Prisma.SortOrder 413 - watchedDate?: Prisma.SortOrder 414 - createdAt?: Prisma.SortOrder 415 - updatedAt?: Prisma.SortOrder 416 - } 456 + id?: Prisma.SortOrder; 457 + rkey?: Prisma.SortOrder; 458 + uri?: Prisma.SortOrder; 459 + cid?: Prisma.SortOrder; 460 + userDid?: Prisma.SortOrder; 461 + movieId?: Prisma.SortOrder; 462 + status?: Prisma.SortOrder; 463 + watchedDate?: Prisma.SortOrder; 464 + createdAt?: Prisma.SortOrder; 465 + updatedAt?: Prisma.SortOrder; 466 + }; 417 467 418 468 export type TrackedMovieMinOrderByAggregateInput = { 419 - id?: Prisma.SortOrder 420 - rkey?: Prisma.SortOrder 421 - uri?: Prisma.SortOrder 422 - cid?: Prisma.SortOrder 423 - userDid?: Prisma.SortOrder 424 - movieId?: Prisma.SortOrder 425 - status?: Prisma.SortOrder 426 - watchedDate?: Prisma.SortOrder 427 - createdAt?: Prisma.SortOrder 428 - updatedAt?: Prisma.SortOrder 429 - } 469 + id?: Prisma.SortOrder; 470 + rkey?: Prisma.SortOrder; 471 + uri?: Prisma.SortOrder; 472 + cid?: Prisma.SortOrder; 473 + userDid?: Prisma.SortOrder; 474 + movieId?: Prisma.SortOrder; 475 + status?: Prisma.SortOrder; 476 + watchedDate?: Prisma.SortOrder; 477 + createdAt?: Prisma.SortOrder; 478 + updatedAt?: Prisma.SortOrder; 479 + }; 430 480 431 481 export type TrackedMovieCreateNestedManyWithoutUserInput = { 432 - create?: Prisma.XOR<Prisma.TrackedMovieCreateWithoutUserInput, Prisma.TrackedMovieUncheckedCreateWithoutUserInput> | Prisma.TrackedMovieCreateWithoutUserInput[] | Prisma.TrackedMovieUncheckedCreateWithoutUserInput[] 433 - connectOrCreate?: Prisma.TrackedMovieCreateOrConnectWithoutUserInput | Prisma.TrackedMovieCreateOrConnectWithoutUserInput[] 434 - createMany?: Prisma.TrackedMovieCreateManyUserInputEnvelope 435 - connect?: Prisma.TrackedMovieWhereUniqueInput | Prisma.TrackedMovieWhereUniqueInput[] 436 - } 482 + create?: 483 + | Prisma.XOR< 484 + Prisma.TrackedMovieCreateWithoutUserInput, 485 + Prisma.TrackedMovieUncheckedCreateWithoutUserInput 486 + > 487 + | Prisma.TrackedMovieCreateWithoutUserInput[] 488 + | Prisma.TrackedMovieUncheckedCreateWithoutUserInput[]; 489 + connectOrCreate?: 490 + | Prisma.TrackedMovieCreateOrConnectWithoutUserInput 491 + | Prisma.TrackedMovieCreateOrConnectWithoutUserInput[]; 492 + createMany?: Prisma.TrackedMovieCreateManyUserInputEnvelope; 493 + connect?: 494 + | Prisma.TrackedMovieWhereUniqueInput 495 + | Prisma.TrackedMovieWhereUniqueInput[]; 496 + }; 437 497 438 498 export type TrackedMovieUncheckedCreateNestedManyWithoutUserInput = { 439 - create?: Prisma.XOR<Prisma.TrackedMovieCreateWithoutUserInput, Prisma.TrackedMovieUncheckedCreateWithoutUserInput> | Prisma.TrackedMovieCreateWithoutUserInput[] | Prisma.TrackedMovieUncheckedCreateWithoutUserInput[] 440 - connectOrCreate?: Prisma.TrackedMovieCreateOrConnectWithoutUserInput | Prisma.TrackedMovieCreateOrConnectWithoutUserInput[] 441 - createMany?: Prisma.TrackedMovieCreateManyUserInputEnvelope 442 - connect?: Prisma.TrackedMovieWhereUniqueInput | Prisma.TrackedMovieWhereUniqueInput[] 443 - } 499 + create?: 500 + | Prisma.XOR< 501 + Prisma.TrackedMovieCreateWithoutUserInput, 502 + Prisma.TrackedMovieUncheckedCreateWithoutUserInput 503 + > 504 + | Prisma.TrackedMovieCreateWithoutUserInput[] 505 + | Prisma.TrackedMovieUncheckedCreateWithoutUserInput[]; 506 + connectOrCreate?: 507 + | Prisma.TrackedMovieCreateOrConnectWithoutUserInput 508 + | Prisma.TrackedMovieCreateOrConnectWithoutUserInput[]; 509 + createMany?: Prisma.TrackedMovieCreateManyUserInputEnvelope; 510 + connect?: 511 + | Prisma.TrackedMovieWhereUniqueInput 512 + | Prisma.TrackedMovieWhereUniqueInput[]; 513 + }; 444 514 445 515 export type TrackedMovieUpdateManyWithoutUserNestedInput = { 446 - create?: Prisma.XOR<Prisma.TrackedMovieCreateWithoutUserInput, Prisma.TrackedMovieUncheckedCreateWithoutUserInput> | Prisma.TrackedMovieCreateWithoutUserInput[] | Prisma.TrackedMovieUncheckedCreateWithoutUserInput[] 447 - connectOrCreate?: Prisma.TrackedMovieCreateOrConnectWithoutUserInput | Prisma.TrackedMovieCreateOrConnectWithoutUserInput[] 448 - upsert?: Prisma.TrackedMovieUpsertWithWhereUniqueWithoutUserInput | Prisma.TrackedMovieUpsertWithWhereUniqueWithoutUserInput[] 449 - createMany?: Prisma.TrackedMovieCreateManyUserInputEnvelope 450 - set?: Prisma.TrackedMovieWhereUniqueInput | Prisma.TrackedMovieWhereUniqueInput[] 451 - disconnect?: Prisma.TrackedMovieWhereUniqueInput | Prisma.TrackedMovieWhereUniqueInput[] 452 - delete?: Prisma.TrackedMovieWhereUniqueInput | Prisma.TrackedMovieWhereUniqueInput[] 453 - connect?: Prisma.TrackedMovieWhereUniqueInput | Prisma.TrackedMovieWhereUniqueInput[] 454 - update?: Prisma.TrackedMovieUpdateWithWhereUniqueWithoutUserInput | Prisma.TrackedMovieUpdateWithWhereUniqueWithoutUserInput[] 455 - updateMany?: Prisma.TrackedMovieUpdateManyWithWhereWithoutUserInput | Prisma.TrackedMovieUpdateManyWithWhereWithoutUserInput[] 456 - deleteMany?: Prisma.TrackedMovieScalarWhereInput | Prisma.TrackedMovieScalarWhereInput[] 457 - } 516 + create?: 517 + | Prisma.XOR< 518 + Prisma.TrackedMovieCreateWithoutUserInput, 519 + Prisma.TrackedMovieUncheckedCreateWithoutUserInput 520 + > 521 + | Prisma.TrackedMovieCreateWithoutUserInput[] 522 + | Prisma.TrackedMovieUncheckedCreateWithoutUserInput[]; 523 + connectOrCreate?: 524 + | Prisma.TrackedMovieCreateOrConnectWithoutUserInput 525 + | Prisma.TrackedMovieCreateOrConnectWithoutUserInput[]; 526 + upsert?: 527 + | Prisma.TrackedMovieUpsertWithWhereUniqueWithoutUserInput 528 + | Prisma.TrackedMovieUpsertWithWhereUniqueWithoutUserInput[]; 529 + createMany?: Prisma.TrackedMovieCreateManyUserInputEnvelope; 530 + set?: 531 + | Prisma.TrackedMovieWhereUniqueInput 532 + | Prisma.TrackedMovieWhereUniqueInput[]; 533 + disconnect?: 534 + | Prisma.TrackedMovieWhereUniqueInput 535 + | Prisma.TrackedMovieWhereUniqueInput[]; 536 + delete?: 537 + | Prisma.TrackedMovieWhereUniqueInput 538 + | Prisma.TrackedMovieWhereUniqueInput[]; 539 + connect?: 540 + | Prisma.TrackedMovieWhereUniqueInput 541 + | Prisma.TrackedMovieWhereUniqueInput[]; 542 + update?: 543 + | Prisma.TrackedMovieUpdateWithWhereUniqueWithoutUserInput 544 + | Prisma.TrackedMovieUpdateWithWhereUniqueWithoutUserInput[]; 545 + updateMany?: 546 + | Prisma.TrackedMovieUpdateManyWithWhereWithoutUserInput 547 + | Prisma.TrackedMovieUpdateManyWithWhereWithoutUserInput[]; 548 + deleteMany?: 549 + | Prisma.TrackedMovieScalarWhereInput 550 + | Prisma.TrackedMovieScalarWhereInput[]; 551 + }; 458 552 459 553 export type TrackedMovieUncheckedUpdateManyWithoutUserNestedInput = { 460 - create?: Prisma.XOR<Prisma.TrackedMovieCreateWithoutUserInput, Prisma.TrackedMovieUncheckedCreateWithoutUserInput> | Prisma.TrackedMovieCreateWithoutUserInput[] | Prisma.TrackedMovieUncheckedCreateWithoutUserInput[] 461 - connectOrCreate?: Prisma.TrackedMovieCreateOrConnectWithoutUserInput | Prisma.TrackedMovieCreateOrConnectWithoutUserInput[] 462 - upsert?: Prisma.TrackedMovieUpsertWithWhereUniqueWithoutUserInput | Prisma.TrackedMovieUpsertWithWhereUniqueWithoutUserInput[] 463 - createMany?: Prisma.TrackedMovieCreateManyUserInputEnvelope 464 - set?: Prisma.TrackedMovieWhereUniqueInput | Prisma.TrackedMovieWhereUniqueInput[] 465 - disconnect?: Prisma.TrackedMovieWhereUniqueInput | Prisma.TrackedMovieWhereUniqueInput[] 466 - delete?: Prisma.TrackedMovieWhereUniqueInput | Prisma.TrackedMovieWhereUniqueInput[] 467 - connect?: Prisma.TrackedMovieWhereUniqueInput | Prisma.TrackedMovieWhereUniqueInput[] 468 - update?: Prisma.TrackedMovieUpdateWithWhereUniqueWithoutUserInput | Prisma.TrackedMovieUpdateWithWhereUniqueWithoutUserInput[] 469 - updateMany?: Prisma.TrackedMovieUpdateManyWithWhereWithoutUserInput | Prisma.TrackedMovieUpdateManyWithWhereWithoutUserInput[] 470 - deleteMany?: Prisma.TrackedMovieScalarWhereInput | Prisma.TrackedMovieScalarWhereInput[] 471 - } 554 + create?: 555 + | Prisma.XOR< 556 + Prisma.TrackedMovieCreateWithoutUserInput, 557 + Prisma.TrackedMovieUncheckedCreateWithoutUserInput 558 + > 559 + | Prisma.TrackedMovieCreateWithoutUserInput[] 560 + | Prisma.TrackedMovieUncheckedCreateWithoutUserInput[]; 561 + connectOrCreate?: 562 + | Prisma.TrackedMovieCreateOrConnectWithoutUserInput 563 + | Prisma.TrackedMovieCreateOrConnectWithoutUserInput[]; 564 + upsert?: 565 + | Prisma.TrackedMovieUpsertWithWhereUniqueWithoutUserInput 566 + | Prisma.TrackedMovieUpsertWithWhereUniqueWithoutUserInput[]; 567 + createMany?: Prisma.TrackedMovieCreateManyUserInputEnvelope; 568 + set?: 569 + | Prisma.TrackedMovieWhereUniqueInput 570 + | Prisma.TrackedMovieWhereUniqueInput[]; 571 + disconnect?: 572 + | Prisma.TrackedMovieWhereUniqueInput 573 + | Prisma.TrackedMovieWhereUniqueInput[]; 574 + delete?: 575 + | Prisma.TrackedMovieWhereUniqueInput 576 + | Prisma.TrackedMovieWhereUniqueInput[]; 577 + connect?: 578 + | Prisma.TrackedMovieWhereUniqueInput 579 + | Prisma.TrackedMovieWhereUniqueInput[]; 580 + update?: 581 + | Prisma.TrackedMovieUpdateWithWhereUniqueWithoutUserInput 582 + | Prisma.TrackedMovieUpdateWithWhereUniqueWithoutUserInput[]; 583 + updateMany?: 584 + | Prisma.TrackedMovieUpdateManyWithWhereWithoutUserInput 585 + | Prisma.TrackedMovieUpdateManyWithWhereWithoutUserInput[]; 586 + deleteMany?: 587 + | Prisma.TrackedMovieScalarWhereInput 588 + | Prisma.TrackedMovieScalarWhereInput[]; 589 + }; 472 590 473 591 export type TrackedMovieCreateNestedManyWithoutMovieInput = { 474 - create?: Prisma.XOR<Prisma.TrackedMovieCreateWithoutMovieInput, Prisma.TrackedMovieUncheckedCreateWithoutMovieInput> | Prisma.TrackedMovieCreateWithoutMovieInput[] | Prisma.TrackedMovieUncheckedCreateWithoutMovieInput[] 475 - connectOrCreate?: Prisma.TrackedMovieCreateOrConnectWithoutMovieInput | Prisma.TrackedMovieCreateOrConnectWithoutMovieInput[] 476 - createMany?: Prisma.TrackedMovieCreateManyMovieInputEnvelope 477 - connect?: Prisma.TrackedMovieWhereUniqueInput | Prisma.TrackedMovieWhereUniqueInput[] 478 - } 592 + create?: 593 + | Prisma.XOR< 594 + Prisma.TrackedMovieCreateWithoutMovieInput, 595 + Prisma.TrackedMovieUncheckedCreateWithoutMovieInput 596 + > 597 + | Prisma.TrackedMovieCreateWithoutMovieInput[] 598 + | Prisma.TrackedMovieUncheckedCreateWithoutMovieInput[]; 599 + connectOrCreate?: 600 + | Prisma.TrackedMovieCreateOrConnectWithoutMovieInput 601 + | Prisma.TrackedMovieCreateOrConnectWithoutMovieInput[]; 602 + createMany?: Prisma.TrackedMovieCreateManyMovieInputEnvelope; 603 + connect?: 604 + | Prisma.TrackedMovieWhereUniqueInput 605 + | Prisma.TrackedMovieWhereUniqueInput[]; 606 + }; 479 607 480 608 export type TrackedMovieUncheckedCreateNestedManyWithoutMovieInput = { 481 - create?: Prisma.XOR<Prisma.TrackedMovieCreateWithoutMovieInput, Prisma.TrackedMovieUncheckedCreateWithoutMovieInput> | Prisma.TrackedMovieCreateWithoutMovieInput[] | Prisma.TrackedMovieUncheckedCreateWithoutMovieInput[] 482 - connectOrCreate?: Prisma.TrackedMovieCreateOrConnectWithoutMovieInput | Prisma.TrackedMovieCreateOrConnectWithoutMovieInput[] 483 - createMany?: Prisma.TrackedMovieCreateManyMovieInputEnvelope 484 - connect?: Prisma.TrackedMovieWhereUniqueInput | Prisma.TrackedMovieWhereUniqueInput[] 485 - } 609 + create?: 610 + | Prisma.XOR< 611 + Prisma.TrackedMovieCreateWithoutMovieInput, 612 + Prisma.TrackedMovieUncheckedCreateWithoutMovieInput 613 + > 614 + | Prisma.TrackedMovieCreateWithoutMovieInput[] 615 + | Prisma.TrackedMovieUncheckedCreateWithoutMovieInput[]; 616 + connectOrCreate?: 617 + | Prisma.TrackedMovieCreateOrConnectWithoutMovieInput 618 + | Prisma.TrackedMovieCreateOrConnectWithoutMovieInput[]; 619 + createMany?: Prisma.TrackedMovieCreateManyMovieInputEnvelope; 620 + connect?: 621 + | Prisma.TrackedMovieWhereUniqueInput 622 + | Prisma.TrackedMovieWhereUniqueInput[]; 623 + }; 486 624 487 625 export type TrackedMovieUpdateManyWithoutMovieNestedInput = { 488 - create?: Prisma.XOR<Prisma.TrackedMovieCreateWithoutMovieInput, Prisma.TrackedMovieUncheckedCreateWithoutMovieInput> | Prisma.TrackedMovieCreateWithoutMovieInput[] | Prisma.TrackedMovieUncheckedCreateWithoutMovieInput[] 489 - connectOrCreate?: Prisma.TrackedMovieCreateOrConnectWithoutMovieInput | Prisma.TrackedMovieCreateOrConnectWithoutMovieInput[] 490 - upsert?: Prisma.TrackedMovieUpsertWithWhereUniqueWithoutMovieInput | Prisma.TrackedMovieUpsertWithWhereUniqueWithoutMovieInput[] 491 - createMany?: Prisma.TrackedMovieCreateManyMovieInputEnvelope 492 - set?: Prisma.TrackedMovieWhereUniqueInput | Prisma.TrackedMovieWhereUniqueInput[] 493 - disconnect?: Prisma.TrackedMovieWhereUniqueInput | Prisma.TrackedMovieWhereUniqueInput[] 494 - delete?: Prisma.TrackedMovieWhereUniqueInput | Prisma.TrackedMovieWhereUniqueInput[] 495 - connect?: Prisma.TrackedMovieWhereUniqueInput | Prisma.TrackedMovieWhereUniqueInput[] 496 - update?: Prisma.TrackedMovieUpdateWithWhereUniqueWithoutMovieInput | Prisma.TrackedMovieUpdateWithWhereUniqueWithoutMovieInput[] 497 - updateMany?: Prisma.TrackedMovieUpdateManyWithWhereWithoutMovieInput | Prisma.TrackedMovieUpdateManyWithWhereWithoutMovieInput[] 498 - deleteMany?: Prisma.TrackedMovieScalarWhereInput | Prisma.TrackedMovieScalarWhereInput[] 499 - } 626 + create?: 627 + | Prisma.XOR< 628 + Prisma.TrackedMovieCreateWithoutMovieInput, 629 + Prisma.TrackedMovieUncheckedCreateWithoutMovieInput 630 + > 631 + | Prisma.TrackedMovieCreateWithoutMovieInput[] 632 + | Prisma.TrackedMovieUncheckedCreateWithoutMovieInput[]; 633 + connectOrCreate?: 634 + | Prisma.TrackedMovieCreateOrConnectWithoutMovieInput 635 + | Prisma.TrackedMovieCreateOrConnectWithoutMovieInput[]; 636 + upsert?: 637 + | Prisma.TrackedMovieUpsertWithWhereUniqueWithoutMovieInput 638 + | Prisma.TrackedMovieUpsertWithWhereUniqueWithoutMovieInput[]; 639 + createMany?: Prisma.TrackedMovieCreateManyMovieInputEnvelope; 640 + set?: 641 + | Prisma.TrackedMovieWhereUniqueInput 642 + | Prisma.TrackedMovieWhereUniqueInput[]; 643 + disconnect?: 644 + | Prisma.TrackedMovieWhereUniqueInput 645 + | Prisma.TrackedMovieWhereUniqueInput[]; 646 + delete?: 647 + | Prisma.TrackedMovieWhereUniqueInput 648 + | Prisma.TrackedMovieWhereUniqueInput[]; 649 + connect?: 650 + | Prisma.TrackedMovieWhereUniqueInput 651 + | Prisma.TrackedMovieWhereUniqueInput[]; 652 + update?: 653 + | Prisma.TrackedMovieUpdateWithWhereUniqueWithoutMovieInput 654 + | Prisma.TrackedMovieUpdateWithWhereUniqueWithoutMovieInput[]; 655 + updateMany?: 656 + | Prisma.TrackedMovieUpdateManyWithWhereWithoutMovieInput 657 + | Prisma.TrackedMovieUpdateManyWithWhereWithoutMovieInput[]; 658 + deleteMany?: 659 + | Prisma.TrackedMovieScalarWhereInput 660 + | Prisma.TrackedMovieScalarWhereInput[]; 661 + }; 500 662 501 663 export type TrackedMovieUncheckedUpdateManyWithoutMovieNestedInput = { 502 - create?: Prisma.XOR<Prisma.TrackedMovieCreateWithoutMovieInput, Prisma.TrackedMovieUncheckedCreateWithoutMovieInput> | Prisma.TrackedMovieCreateWithoutMovieInput[] | Prisma.TrackedMovieUncheckedCreateWithoutMovieInput[] 503 - connectOrCreate?: Prisma.TrackedMovieCreateOrConnectWithoutMovieInput | Prisma.TrackedMovieCreateOrConnectWithoutMovieInput[] 504 - upsert?: Prisma.TrackedMovieUpsertWithWhereUniqueWithoutMovieInput | Prisma.TrackedMovieUpsertWithWhereUniqueWithoutMovieInput[] 505 - createMany?: Prisma.TrackedMovieCreateManyMovieInputEnvelope 506 - set?: Prisma.TrackedMovieWhereUniqueInput | Prisma.TrackedMovieWhereUniqueInput[] 507 - disconnect?: Prisma.TrackedMovieWhereUniqueInput | Prisma.TrackedMovieWhereUniqueInput[] 508 - delete?: Prisma.TrackedMovieWhereUniqueInput | Prisma.TrackedMovieWhereUniqueInput[] 509 - connect?: Prisma.TrackedMovieWhereUniqueInput | Prisma.TrackedMovieWhereUniqueInput[] 510 - update?: Prisma.TrackedMovieUpdateWithWhereUniqueWithoutMovieInput | Prisma.TrackedMovieUpdateWithWhereUniqueWithoutMovieInput[] 511 - updateMany?: Prisma.TrackedMovieUpdateManyWithWhereWithoutMovieInput | Prisma.TrackedMovieUpdateManyWithWhereWithoutMovieInput[] 512 - deleteMany?: Prisma.TrackedMovieScalarWhereInput | Prisma.TrackedMovieScalarWhereInput[] 513 - } 664 + create?: 665 + | Prisma.XOR< 666 + Prisma.TrackedMovieCreateWithoutMovieInput, 667 + Prisma.TrackedMovieUncheckedCreateWithoutMovieInput 668 + > 669 + | Prisma.TrackedMovieCreateWithoutMovieInput[] 670 + | Prisma.TrackedMovieUncheckedCreateWithoutMovieInput[]; 671 + connectOrCreate?: 672 + | Prisma.TrackedMovieCreateOrConnectWithoutMovieInput 673 + | Prisma.TrackedMovieCreateOrConnectWithoutMovieInput[]; 674 + upsert?: 675 + | Prisma.TrackedMovieUpsertWithWhereUniqueWithoutMovieInput 676 + | Prisma.TrackedMovieUpsertWithWhereUniqueWithoutMovieInput[]; 677 + createMany?: Prisma.TrackedMovieCreateManyMovieInputEnvelope; 678 + set?: 679 + | Prisma.TrackedMovieWhereUniqueInput 680 + | Prisma.TrackedMovieWhereUniqueInput[]; 681 + disconnect?: 682 + | Prisma.TrackedMovieWhereUniqueInput 683 + | Prisma.TrackedMovieWhereUniqueInput[]; 684 + delete?: 685 + | Prisma.TrackedMovieWhereUniqueInput 686 + | Prisma.TrackedMovieWhereUniqueInput[]; 687 + connect?: 688 + | Prisma.TrackedMovieWhereUniqueInput 689 + | Prisma.TrackedMovieWhereUniqueInput[]; 690 + update?: 691 + | Prisma.TrackedMovieUpdateWithWhereUniqueWithoutMovieInput 692 + | Prisma.TrackedMovieUpdateWithWhereUniqueWithoutMovieInput[]; 693 + updateMany?: 694 + | Prisma.TrackedMovieUpdateManyWithWhereWithoutMovieInput 695 + | Prisma.TrackedMovieUpdateManyWithWhereWithoutMovieInput[]; 696 + deleteMany?: 697 + | Prisma.TrackedMovieScalarWhereInput 698 + | Prisma.TrackedMovieScalarWhereInput[]; 699 + }; 514 700 515 701 export type TrackedMovieCreateWithoutUserInput = { 516 - id?: string 517 - rkey: string 518 - uri: string 519 - cid: string 520 - status?: string 521 - watchedDate?: Date | string | null 522 - createdAt?: Date | string 523 - updatedAt?: Date | string 524 - movie: Prisma.MovieCreateNestedOneWithoutTrackedByInput 525 - } 702 + id?: string; 703 + rkey: string; 704 + uri: string; 705 + cid: string; 706 + status?: string; 707 + watchedDate?: Date | string | null; 708 + createdAt?: Date | string; 709 + updatedAt?: Date | string; 710 + movie: Prisma.MovieCreateNestedOneWithoutTrackedByInput; 711 + }; 526 712 527 713 export type TrackedMovieUncheckedCreateWithoutUserInput = { 528 - id?: string 529 - rkey: string 530 - uri: string 531 - cid: string 532 - movieId: string 533 - status?: string 534 - watchedDate?: Date | string | null 535 - createdAt?: Date | string 536 - updatedAt?: Date | string 537 - } 714 + id?: string; 715 + rkey: string; 716 + uri: string; 717 + cid: string; 718 + movieId: string; 719 + status?: string; 720 + watchedDate?: Date | string | null; 721 + createdAt?: Date | string; 722 + updatedAt?: Date | string; 723 + }; 538 724 539 725 export type TrackedMovieCreateOrConnectWithoutUserInput = { 540 - where: Prisma.TrackedMovieWhereUniqueInput 541 - create: Prisma.XOR<Prisma.TrackedMovieCreateWithoutUserInput, Prisma.TrackedMovieUncheckedCreateWithoutUserInput> 542 - } 726 + where: Prisma.TrackedMovieWhereUniqueInput; 727 + create: Prisma.XOR< 728 + Prisma.TrackedMovieCreateWithoutUserInput, 729 + Prisma.TrackedMovieUncheckedCreateWithoutUserInput 730 + >; 731 + }; 543 732 544 733 export type TrackedMovieCreateManyUserInputEnvelope = { 545 - data: Prisma.TrackedMovieCreateManyUserInput | Prisma.TrackedMovieCreateManyUserInput[] 546 - skipDuplicates?: boolean 547 - } 734 + data: 735 + | Prisma.TrackedMovieCreateManyUserInput 736 + | Prisma.TrackedMovieCreateManyUserInput[]; 737 + skipDuplicates?: boolean; 738 + }; 548 739 549 740 export type TrackedMovieUpsertWithWhereUniqueWithoutUserInput = { 550 - where: Prisma.TrackedMovieWhereUniqueInput 551 - update: Prisma.XOR<Prisma.TrackedMovieUpdateWithoutUserInput, Prisma.TrackedMovieUncheckedUpdateWithoutUserInput> 552 - create: Prisma.XOR<Prisma.TrackedMovieCreateWithoutUserInput, Prisma.TrackedMovieUncheckedCreateWithoutUserInput> 553 - } 741 + where: Prisma.TrackedMovieWhereUniqueInput; 742 + update: Prisma.XOR< 743 + Prisma.TrackedMovieUpdateWithoutUserInput, 744 + Prisma.TrackedMovieUncheckedUpdateWithoutUserInput 745 + >; 746 + create: Prisma.XOR< 747 + Prisma.TrackedMovieCreateWithoutUserInput, 748 + Prisma.TrackedMovieUncheckedCreateWithoutUserInput 749 + >; 750 + }; 554 751 555 752 export type TrackedMovieUpdateWithWhereUniqueWithoutUserInput = { 556 - where: Prisma.TrackedMovieWhereUniqueInput 557 - data: Prisma.XOR<Prisma.TrackedMovieUpdateWithoutUserInput, Prisma.TrackedMovieUncheckedUpdateWithoutUserInput> 558 - } 753 + where: Prisma.TrackedMovieWhereUniqueInput; 754 + data: Prisma.XOR< 755 + Prisma.TrackedMovieUpdateWithoutUserInput, 756 + Prisma.TrackedMovieUncheckedUpdateWithoutUserInput 757 + >; 758 + }; 559 759 560 760 export type TrackedMovieUpdateManyWithWhereWithoutUserInput = { 561 - where: Prisma.TrackedMovieScalarWhereInput 562 - data: Prisma.XOR<Prisma.TrackedMovieUpdateManyMutationInput, Prisma.TrackedMovieUncheckedUpdateManyWithoutUserInput> 563 - } 761 + where: Prisma.TrackedMovieScalarWhereInput; 762 + data: Prisma.XOR< 763 + Prisma.TrackedMovieUpdateManyMutationInput, 764 + Prisma.TrackedMovieUncheckedUpdateManyWithoutUserInput 765 + >; 766 + }; 564 767 565 768 export type TrackedMovieScalarWhereInput = { 566 - AND?: Prisma.TrackedMovieScalarWhereInput | Prisma.TrackedMovieScalarWhereInput[] 567 - OR?: Prisma.TrackedMovieScalarWhereInput[] 568 - NOT?: Prisma.TrackedMovieScalarWhereInput | Prisma.TrackedMovieScalarWhereInput[] 569 - id?: Prisma.StringFilter<"TrackedMovie"> | string 570 - rkey?: Prisma.StringFilter<"TrackedMovie"> | string 571 - uri?: Prisma.StringFilter<"TrackedMovie"> | string 572 - cid?: Prisma.StringFilter<"TrackedMovie"> | string 573 - userDid?: Prisma.StringFilter<"TrackedMovie"> | string 574 - movieId?: Prisma.StringFilter<"TrackedMovie"> | string 575 - status?: Prisma.StringFilter<"TrackedMovie"> | string 576 - watchedDate?: Prisma.DateTimeNullableFilter<"TrackedMovie"> | Date | string | null 577 - createdAt?: Prisma.DateTimeFilter<"TrackedMovie"> | Date | string 578 - updatedAt?: Prisma.DateTimeFilter<"TrackedMovie"> | Date | string 579 - } 769 + AND?: 770 + | Prisma.TrackedMovieScalarWhereInput 771 + | Prisma.TrackedMovieScalarWhereInput[]; 772 + OR?: Prisma.TrackedMovieScalarWhereInput[]; 773 + NOT?: 774 + | Prisma.TrackedMovieScalarWhereInput 775 + | Prisma.TrackedMovieScalarWhereInput[]; 776 + id?: Prisma.StringFilter<'TrackedMovie'> | string; 777 + rkey?: Prisma.StringFilter<'TrackedMovie'> | string; 778 + uri?: Prisma.StringFilter<'TrackedMovie'> | string; 779 + cid?: Prisma.StringFilter<'TrackedMovie'> | string; 780 + userDid?: Prisma.StringFilter<'TrackedMovie'> | string; 781 + movieId?: Prisma.StringFilter<'TrackedMovie'> | string; 782 + status?: Prisma.StringFilter<'TrackedMovie'> | string; 783 + watchedDate?: 784 + | Prisma.DateTimeNullableFilter<'TrackedMovie'> 785 + | Date 786 + | string 787 + | null; 788 + createdAt?: Prisma.DateTimeFilter<'TrackedMovie'> | Date | string; 789 + updatedAt?: Prisma.DateTimeFilter<'TrackedMovie'> | Date | string; 790 + }; 580 791 581 792 export type TrackedMovieCreateWithoutMovieInput = { 582 - id?: string 583 - rkey: string 584 - uri: string 585 - cid: string 586 - status?: string 587 - watchedDate?: Date | string | null 588 - createdAt?: Date | string 589 - updatedAt?: Date | string 590 - user: Prisma.UserCreateNestedOneWithoutTrackedMoviesInput 591 - } 793 + id?: string; 794 + rkey: string; 795 + uri: string; 796 + cid: string; 797 + status?: string; 798 + watchedDate?: Date | string | null; 799 + createdAt?: Date | string; 800 + updatedAt?: Date | string; 801 + user: Prisma.UserCreateNestedOneWithoutTrackedMoviesInput; 802 + }; 592 803 593 804 export type TrackedMovieUncheckedCreateWithoutMovieInput = { 594 - id?: string 595 - rkey: string 596 - uri: string 597 - cid: string 598 - userDid: string 599 - status?: string 600 - watchedDate?: Date | string | null 601 - createdAt?: Date | string 602 - updatedAt?: Date | string 603 - } 805 + id?: string; 806 + rkey: string; 807 + uri: string; 808 + cid: string; 809 + userDid: string; 810 + status?: string; 811 + watchedDate?: Date | string | null; 812 + createdAt?: Date | string; 813 + updatedAt?: Date | string; 814 + }; 604 815 605 816 export type TrackedMovieCreateOrConnectWithoutMovieInput = { 606 - where: Prisma.TrackedMovieWhereUniqueInput 607 - create: Prisma.XOR<Prisma.TrackedMovieCreateWithoutMovieInput, Prisma.TrackedMovieUncheckedCreateWithoutMovieInput> 608 - } 817 + where: Prisma.TrackedMovieWhereUniqueInput; 818 + create: Prisma.XOR< 819 + Prisma.TrackedMovieCreateWithoutMovieInput, 820 + Prisma.TrackedMovieUncheckedCreateWithoutMovieInput 821 + >; 822 + }; 609 823 610 824 export type TrackedMovieCreateManyMovieInputEnvelope = { 611 - data: Prisma.TrackedMovieCreateManyMovieInput | Prisma.TrackedMovieCreateManyMovieInput[] 612 - skipDuplicates?: boolean 613 - } 825 + data: 826 + | Prisma.TrackedMovieCreateManyMovieInput 827 + | Prisma.TrackedMovieCreateManyMovieInput[]; 828 + skipDuplicates?: boolean; 829 + }; 614 830 615 831 export type TrackedMovieUpsertWithWhereUniqueWithoutMovieInput = { 616 - where: Prisma.TrackedMovieWhereUniqueInput 617 - update: Prisma.XOR<Prisma.TrackedMovieUpdateWithoutMovieInput, Prisma.TrackedMovieUncheckedUpdateWithoutMovieInput> 618 - create: Prisma.XOR<Prisma.TrackedMovieCreateWithoutMovieInput, Prisma.TrackedMovieUncheckedCreateWithoutMovieInput> 619 - } 832 + where: Prisma.TrackedMovieWhereUniqueInput; 833 + update: Prisma.XOR< 834 + Prisma.TrackedMovieUpdateWithoutMovieInput, 835 + Prisma.TrackedMovieUncheckedUpdateWithoutMovieInput 836 + >; 837 + create: Prisma.XOR< 838 + Prisma.TrackedMovieCreateWithoutMovieInput, 839 + Prisma.TrackedMovieUncheckedCreateWithoutMovieInput 840 + >; 841 + }; 620 842 621 843 export type TrackedMovieUpdateWithWhereUniqueWithoutMovieInput = { 622 - where: Prisma.TrackedMovieWhereUniqueInput 623 - data: Prisma.XOR<Prisma.TrackedMovieUpdateWithoutMovieInput, Prisma.TrackedMovieUncheckedUpdateWithoutMovieInput> 624 - } 844 + where: Prisma.TrackedMovieWhereUniqueInput; 845 + data: Prisma.XOR< 846 + Prisma.TrackedMovieUpdateWithoutMovieInput, 847 + Prisma.TrackedMovieUncheckedUpdateWithoutMovieInput 848 + >; 849 + }; 625 850 626 851 export type TrackedMovieUpdateManyWithWhereWithoutMovieInput = { 627 - where: Prisma.TrackedMovieScalarWhereInput 628 - data: Prisma.XOR<Prisma.TrackedMovieUpdateManyMutationInput, Prisma.TrackedMovieUncheckedUpdateManyWithoutMovieInput> 629 - } 852 + where: Prisma.TrackedMovieScalarWhereInput; 853 + data: Prisma.XOR< 854 + Prisma.TrackedMovieUpdateManyMutationInput, 855 + Prisma.TrackedMovieUncheckedUpdateManyWithoutMovieInput 856 + >; 857 + }; 630 858 631 859 export type TrackedMovieCreateManyUserInput = { 632 - id?: string 633 - rkey: string 634 - uri: string 635 - cid: string 636 - movieId: string 637 - status?: string 638 - watchedDate?: Date | string | null 639 - createdAt?: Date | string 640 - updatedAt?: Date | string 641 - } 860 + id?: string; 861 + rkey: string; 862 + uri: string; 863 + cid: string; 864 + movieId: string; 865 + status?: string; 866 + watchedDate?: Date | string | null; 867 + createdAt?: Date | string; 868 + updatedAt?: Date | string; 869 + }; 642 870 643 871 export type TrackedMovieUpdateWithoutUserInput = { 644 - id?: Prisma.StringFieldUpdateOperationsInput | string 645 - rkey?: Prisma.StringFieldUpdateOperationsInput | string 646 - uri?: Prisma.StringFieldUpdateOperationsInput | string 647 - cid?: Prisma.StringFieldUpdateOperationsInput | string 648 - status?: Prisma.StringFieldUpdateOperationsInput | string 649 - watchedDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null 650 - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string 651 - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string 652 - movie?: Prisma.MovieUpdateOneRequiredWithoutTrackedByNestedInput 653 - } 872 + id?: Prisma.StringFieldUpdateOperationsInput | string; 873 + rkey?: Prisma.StringFieldUpdateOperationsInput | string; 874 + uri?: Prisma.StringFieldUpdateOperationsInput | string; 875 + cid?: Prisma.StringFieldUpdateOperationsInput | string; 876 + status?: Prisma.StringFieldUpdateOperationsInput | string; 877 + watchedDate?: 878 + | Prisma.NullableDateTimeFieldUpdateOperationsInput 879 + | Date 880 + | string 881 + | null; 882 + createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string; 883 + updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string; 884 + movie?: Prisma.MovieUpdateOneRequiredWithoutTrackedByNestedInput; 885 + }; 654 886 655 887 export type TrackedMovieUncheckedUpdateWithoutUserInput = { 656 - id?: Prisma.StringFieldUpdateOperationsInput | string 657 - rkey?: Prisma.StringFieldUpdateOperationsInput | string 658 - uri?: Prisma.StringFieldUpdateOperationsInput | string 659 - cid?: Prisma.StringFieldUpdateOperationsInput | string 660 - movieId?: Prisma.StringFieldUpdateOperationsInput | string 661 - status?: Prisma.StringFieldUpdateOperationsInput | string 662 - watchedDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null 663 - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string 664 - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string 665 - } 888 + id?: Prisma.StringFieldUpdateOperationsInput | string; 889 + rkey?: Prisma.StringFieldUpdateOperationsInput | string; 890 + uri?: Prisma.StringFieldUpdateOperationsInput | string; 891 + cid?: Prisma.StringFieldUpdateOperationsInput | string; 892 + movieId?: Prisma.StringFieldUpdateOperationsInput | string; 893 + status?: Prisma.StringFieldUpdateOperationsInput | string; 894 + watchedDate?: 895 + | Prisma.NullableDateTimeFieldUpdateOperationsInput 896 + | Date 897 + | string 898 + | null; 899 + createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string; 900 + updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string; 901 + }; 666 902 667 903 export type TrackedMovieUncheckedUpdateManyWithoutUserInput = { 668 - id?: Prisma.StringFieldUpdateOperationsInput | string 669 - rkey?: Prisma.StringFieldUpdateOperationsInput | string 670 - uri?: Prisma.StringFieldUpdateOperationsInput | string 671 - cid?: Prisma.StringFieldUpdateOperationsInput | string 672 - movieId?: Prisma.StringFieldUpdateOperationsInput | string 673 - status?: Prisma.StringFieldUpdateOperationsInput | string 674 - watchedDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null 675 - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string 676 - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string 677 - } 904 + id?: Prisma.StringFieldUpdateOperationsInput | string; 905 + rkey?: Prisma.StringFieldUpdateOperationsInput | string; 906 + uri?: Prisma.StringFieldUpdateOperationsInput | string; 907 + cid?: Prisma.StringFieldUpdateOperationsInput | string; 908 + movieId?: Prisma.StringFieldUpdateOperationsInput | string; 909 + status?: Prisma.StringFieldUpdateOperationsInput | string; 910 + watchedDate?: 911 + | Prisma.NullableDateTimeFieldUpdateOperationsInput 912 + | Date 913 + | string 914 + | null; 915 + createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string; 916 + updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string; 917 + }; 678 918 679 919 export type TrackedMovieCreateManyMovieInput = { 680 - id?: string 681 - rkey: string 682 - uri: string 683 - cid: string 684 - userDid: string 685 - status?: string 686 - watchedDate?: Date | string | null 687 - createdAt?: Date | string 688 - updatedAt?: Date | string 689 - } 920 + id?: string; 921 + rkey: string; 922 + uri: string; 923 + cid: string; 924 + userDid: string; 925 + status?: string; 926 + watchedDate?: Date | string | null; 927 + createdAt?: Date | string; 928 + updatedAt?: Date | string; 929 + }; 690 930 691 931 export type TrackedMovieUpdateWithoutMovieInput = { 692 - id?: Prisma.StringFieldUpdateOperationsInput | string 693 - rkey?: Prisma.StringFieldUpdateOperationsInput | string 694 - uri?: Prisma.StringFieldUpdateOperationsInput | string 695 - cid?: Prisma.StringFieldUpdateOperationsInput | string 696 - status?: Prisma.StringFieldUpdateOperationsInput | string 697 - watchedDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null 698 - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string 699 - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string 700 - user?: Prisma.UserUpdateOneRequiredWithoutTrackedMoviesNestedInput 701 - } 932 + id?: Prisma.StringFieldUpdateOperationsInput | string; 933 + rkey?: Prisma.StringFieldUpdateOperationsInput | string; 934 + uri?: Prisma.StringFieldUpdateOperationsInput | string; 935 + cid?: Prisma.StringFieldUpdateOperationsInput | string; 936 + status?: Prisma.StringFieldUpdateOperationsInput | string; 937 + watchedDate?: 938 + | Prisma.NullableDateTimeFieldUpdateOperationsInput 939 + | Date 940 + | string 941 + | null; 942 + createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string; 943 + updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string; 944 + user?: Prisma.UserUpdateOneRequiredWithoutTrackedMoviesNestedInput; 945 + }; 702 946 703 947 export type TrackedMovieUncheckedUpdateWithoutMovieInput = { 704 - id?: Prisma.StringFieldUpdateOperationsInput | string 705 - rkey?: Prisma.StringFieldUpdateOperationsInput | string 706 - uri?: Prisma.StringFieldUpdateOperationsInput | string 707 - cid?: Prisma.StringFieldUpdateOperationsInput | string 708 - userDid?: Prisma.StringFieldUpdateOperationsInput | string 709 - status?: Prisma.StringFieldUpdateOperationsInput | string 710 - watchedDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null 711 - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string 712 - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string 713 - } 948 + id?: Prisma.StringFieldUpdateOperationsInput | string; 949 + rkey?: Prisma.StringFieldUpdateOperationsInput | string; 950 + uri?: Prisma.StringFieldUpdateOperationsInput | string; 951 + cid?: Prisma.StringFieldUpdateOperationsInput | string; 952 + userDid?: Prisma.StringFieldUpdateOperationsInput | string; 953 + status?: Prisma.StringFieldUpdateOperationsInput | string; 954 + watchedDate?: 955 + | Prisma.NullableDateTimeFieldUpdateOperationsInput 956 + | Date 957 + | string 958 + | null; 959 + createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string; 960 + updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string; 961 + }; 714 962 715 963 export type TrackedMovieUncheckedUpdateManyWithoutMovieInput = { 716 - id?: Prisma.StringFieldUpdateOperationsInput | string 717 - rkey?: Prisma.StringFieldUpdateOperationsInput | string 718 - uri?: Prisma.StringFieldUpdateOperationsInput | string 719 - cid?: Prisma.StringFieldUpdateOperationsInput | string 720 - userDid?: Prisma.StringFieldUpdateOperationsInput | string 721 - status?: Prisma.StringFieldUpdateOperationsInput | string 722 - watchedDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null 723 - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string 724 - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string 725 - } 726 - 727 - 964 + id?: Prisma.StringFieldUpdateOperationsInput | string; 965 + rkey?: Prisma.StringFieldUpdateOperationsInput | string; 966 + uri?: Prisma.StringFieldUpdateOperationsInput | string; 967 + cid?: Prisma.StringFieldUpdateOperationsInput | string; 968 + userDid?: Prisma.StringFieldUpdateOperationsInput | string; 969 + status?: Prisma.StringFieldUpdateOperationsInput | string; 970 + watchedDate?: 971 + | Prisma.NullableDateTimeFieldUpdateOperationsInput 972 + | Date 973 + | string 974 + | null; 975 + createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string; 976 + updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string; 977 + }; 728 978 729 - export type TrackedMovieSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{ 730 - id?: boolean 731 - rkey?: boolean 732 - uri?: boolean 733 - cid?: boolean 734 - userDid?: boolean 735 - movieId?: boolean 736 - status?: boolean 737 - watchedDate?: boolean 738 - createdAt?: boolean 739 - updatedAt?: boolean 740 - user?: boolean | Prisma.UserDefaultArgs<ExtArgs> 741 - movie?: boolean | Prisma.MovieDefaultArgs<ExtArgs> 742 - }, ExtArgs["result"]["trackedMovie"]> 979 + export type TrackedMovieSelect< 980 + ExtArgs extends runtime.Types.Extensions.InternalArgs = 981 + runtime.Types.Extensions.DefaultArgs, 982 + > = runtime.Types.Extensions.GetSelect< 983 + { 984 + id?: boolean; 985 + rkey?: boolean; 986 + uri?: boolean; 987 + cid?: boolean; 988 + userDid?: boolean; 989 + movieId?: boolean; 990 + status?: boolean; 991 + watchedDate?: boolean; 992 + createdAt?: boolean; 993 + updatedAt?: boolean; 994 + user?: boolean | Prisma.UserDefaultArgs<ExtArgs>; 995 + movie?: boolean | Prisma.MovieDefaultArgs<ExtArgs>; 996 + }, 997 + ExtArgs['result']['trackedMovie'] 998 + >; 743 999 744 - export type TrackedMovieSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{ 745 - id?: boolean 746 - rkey?: boolean 747 - uri?: boolean 748 - cid?: boolean 749 - userDid?: boolean 750 - movieId?: boolean 751 - status?: boolean 752 - watchedDate?: boolean 753 - createdAt?: boolean 754 - updatedAt?: boolean 755 - user?: boolean | Prisma.UserDefaultArgs<ExtArgs> 756 - movie?: boolean | Prisma.MovieDefaultArgs<ExtArgs> 757 - }, ExtArgs["result"]["trackedMovie"]> 1000 + export type TrackedMovieSelectCreateManyAndReturn< 1001 + ExtArgs extends runtime.Types.Extensions.InternalArgs = 1002 + runtime.Types.Extensions.DefaultArgs, 1003 + > = runtime.Types.Extensions.GetSelect< 1004 + { 1005 + id?: boolean; 1006 + rkey?: boolean; 1007 + uri?: boolean; 1008 + cid?: boolean; 1009 + userDid?: boolean; 1010 + movieId?: boolean; 1011 + status?: boolean; 1012 + watchedDate?: boolean; 1013 + createdAt?: boolean; 1014 + updatedAt?: boolean; 1015 + user?: boolean | Prisma.UserDefaultArgs<ExtArgs>; 1016 + movie?: boolean | Prisma.MovieDefaultArgs<ExtArgs>; 1017 + }, 1018 + ExtArgs['result']['trackedMovie'] 1019 + >; 758 1020 759 - export type TrackedMovieSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{ 760 - id?: boolean 761 - rkey?: boolean 762 - uri?: boolean 763 - cid?: boolean 764 - userDid?: boolean 765 - movieId?: boolean 766 - status?: boolean 767 - watchedDate?: boolean 768 - createdAt?: boolean 769 - updatedAt?: boolean 770 - user?: boolean | Prisma.UserDefaultArgs<ExtArgs> 771 - movie?: boolean | Prisma.MovieDefaultArgs<ExtArgs> 772 - }, ExtArgs["result"]["trackedMovie"]> 1021 + export type TrackedMovieSelectUpdateManyAndReturn< 1022 + ExtArgs extends runtime.Types.Extensions.InternalArgs = 1023 + runtime.Types.Extensions.DefaultArgs, 1024 + > = runtime.Types.Extensions.GetSelect< 1025 + { 1026 + id?: boolean; 1027 + rkey?: boolean; 1028 + uri?: boolean; 1029 + cid?: boolean; 1030 + userDid?: boolean; 1031 + movieId?: boolean; 1032 + status?: boolean; 1033 + watchedDate?: boolean; 1034 + createdAt?: boolean; 1035 + updatedAt?: boolean; 1036 + user?: boolean | Prisma.UserDefaultArgs<ExtArgs>; 1037 + movie?: boolean | Prisma.MovieDefaultArgs<ExtArgs>; 1038 + }, 1039 + ExtArgs['result']['trackedMovie'] 1040 + >; 773 1041 774 1042 export type TrackedMovieSelectScalar = { 775 - id?: boolean 776 - rkey?: boolean 777 - uri?: boolean 778 - cid?: boolean 779 - userDid?: boolean 780 - movieId?: boolean 781 - status?: boolean 782 - watchedDate?: boolean 783 - createdAt?: boolean 784 - updatedAt?: boolean 785 - } 1043 + id?: boolean; 1044 + rkey?: boolean; 1045 + uri?: boolean; 1046 + cid?: boolean; 1047 + userDid?: boolean; 1048 + movieId?: boolean; 1049 + status?: boolean; 1050 + watchedDate?: boolean; 1051 + createdAt?: boolean; 1052 + updatedAt?: boolean; 1053 + }; 786 1054 787 - export type TrackedMovieOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "rkey" | "uri" | "cid" | "userDid" | "movieId" | "status" | "watchedDate" | "createdAt" | "updatedAt", ExtArgs["result"]["trackedMovie"]> 788 - export type TrackedMovieInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = { 789 - user?: boolean | Prisma.UserDefaultArgs<ExtArgs> 790 - movie?: boolean | Prisma.MovieDefaultArgs<ExtArgs> 791 - } 792 - export type TrackedMovieIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = { 793 - user?: boolean | Prisma.UserDefaultArgs<ExtArgs> 794 - movie?: boolean | Prisma.MovieDefaultArgs<ExtArgs> 795 - } 796 - export type TrackedMovieIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = { 797 - user?: boolean | Prisma.UserDefaultArgs<ExtArgs> 798 - movie?: boolean | Prisma.MovieDefaultArgs<ExtArgs> 799 - } 1055 + export type TrackedMovieOmit< 1056 + ExtArgs extends runtime.Types.Extensions.InternalArgs = 1057 + runtime.Types.Extensions.DefaultArgs, 1058 + > = runtime.Types.Extensions.GetOmit< 1059 + | 'id' 1060 + | 'rkey' 1061 + | 'uri' 1062 + | 'cid' 1063 + | 'userDid' 1064 + | 'movieId' 1065 + | 'status' 1066 + | 'watchedDate' 1067 + | 'createdAt' 1068 + | 'updatedAt', 1069 + ExtArgs['result']['trackedMovie'] 1070 + >; 1071 + export type TrackedMovieInclude< 1072 + ExtArgs extends runtime.Types.Extensions.InternalArgs = 1073 + runtime.Types.Extensions.DefaultArgs, 1074 + > = { 1075 + user?: boolean | Prisma.UserDefaultArgs<ExtArgs>; 1076 + movie?: boolean | Prisma.MovieDefaultArgs<ExtArgs>; 1077 + }; 1078 + export type TrackedMovieIncludeCreateManyAndReturn< 1079 + ExtArgs extends runtime.Types.Extensions.InternalArgs = 1080 + runtime.Types.Extensions.DefaultArgs, 1081 + > = { 1082 + user?: boolean | Prisma.UserDefaultArgs<ExtArgs>; 1083 + movie?: boolean | Prisma.MovieDefaultArgs<ExtArgs>; 1084 + }; 1085 + export type TrackedMovieIncludeUpdateManyAndReturn< 1086 + ExtArgs extends runtime.Types.Extensions.InternalArgs = 1087 + runtime.Types.Extensions.DefaultArgs, 1088 + > = { 1089 + user?: boolean | Prisma.UserDefaultArgs<ExtArgs>; 1090 + movie?: boolean | Prisma.MovieDefaultArgs<ExtArgs>; 1091 + }; 800 1092 801 - export type $TrackedMoviePayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = { 802 - name: "TrackedMovie" 1093 + export type $TrackedMoviePayload< 1094 + ExtArgs extends runtime.Types.Extensions.InternalArgs = 1095 + runtime.Types.Extensions.DefaultArgs, 1096 + > = { 1097 + name: 'TrackedMovie'; 803 1098 objects: { 804 - user: Prisma.$UserPayload<ExtArgs> 805 - movie: Prisma.$MoviePayload<ExtArgs> 806 - } 807 - scalars: runtime.Types.Extensions.GetPayloadResult<{ 808 - id: string 809 - rkey: string 810 - uri: string 811 - cid: string 812 - userDid: string 813 - movieId: string 814 - status: string 815 - watchedDate: Date | null 816 - createdAt: Date 817 - updatedAt: Date 818 - }, ExtArgs["result"]["trackedMovie"]> 819 - composites: {} 820 - } 1099 + user: Prisma.$UserPayload<ExtArgs>; 1100 + movie: Prisma.$MoviePayload<ExtArgs>; 1101 + }; 1102 + scalars: runtime.Types.Extensions.GetPayloadResult< 1103 + { 1104 + id: string; 1105 + rkey: string; 1106 + uri: string; 1107 + cid: string; 1108 + userDid: string; 1109 + movieId: string; 1110 + status: string; 1111 + watchedDate: Date | null; 1112 + createdAt: Date; 1113 + updatedAt: Date; 1114 + }, 1115 + ExtArgs['result']['trackedMovie'] 1116 + >; 1117 + composites: {}; 1118 + }; 821 1119 822 - export type TrackedMovieGetPayload<S extends boolean | null | undefined | TrackedMovieDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$TrackedMoviePayload, S> 1120 + export type TrackedMovieGetPayload< 1121 + S extends boolean | null | undefined | TrackedMovieDefaultArgs, 1122 + > = runtime.Types.Result.GetResult<Prisma.$TrackedMoviePayload, S>; 823 1123 824 - export type TrackedMovieCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = 825 - Omit<TrackedMovieFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & { 826 - select?: TrackedMovieCountAggregateInputType | true 827 - } 1124 + export type TrackedMovieCountArgs< 1125 + ExtArgs extends runtime.Types.Extensions.InternalArgs = 1126 + runtime.Types.Extensions.DefaultArgs, 1127 + > = Omit< 1128 + TrackedMovieFindManyArgs, 1129 + 'select' | 'include' | 'distinct' | 'omit' 1130 + > & { 1131 + select?: TrackedMovieCountAggregateInputType | true; 1132 + }; 828 1133 829 - export interface TrackedMovieDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> { 830 - [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['TrackedMovie'], meta: { name: 'TrackedMovie' } } 1134 + export interface TrackedMovieDelegate< 1135 + ExtArgs extends runtime.Types.Extensions.InternalArgs = 1136 + runtime.Types.Extensions.DefaultArgs, 1137 + GlobalOmitOptions = {}, 1138 + > { 1139 + [K: symbol]: { 1140 + types: Prisma.TypeMap<ExtArgs>['model']['TrackedMovie']; 1141 + meta: { name: 'TrackedMovie' }; 1142 + }; 831 1143 /** 832 1144 * Find zero or one TrackedMovie that matches the filter. 833 1145 * @param {TrackedMovieFindUniqueArgs} args - Arguments to find a TrackedMovie ··· 839 1151 * } 840 1152 * }) 841 1153 */ 842 - findUnique<T extends TrackedMovieFindUniqueArgs>(args: Prisma.SelectSubset<T, TrackedMovieFindUniqueArgs<ExtArgs>>): Prisma.Prisma__TrackedMovieClient<runtime.Types.Result.GetResult<Prisma.$TrackedMoviePayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> 1154 + findUnique<T extends TrackedMovieFindUniqueArgs>( 1155 + args: Prisma.SelectSubset<T, TrackedMovieFindUniqueArgs<ExtArgs>>, 1156 + ): Prisma.Prisma__TrackedMovieClient< 1157 + runtime.Types.Result.GetResult< 1158 + Prisma.$TrackedMoviePayload<ExtArgs>, 1159 + T, 1160 + 'findUnique', 1161 + GlobalOmitOptions 1162 + > | null, 1163 + null, 1164 + ExtArgs, 1165 + GlobalOmitOptions 1166 + >; 843 1167 844 1168 /** 845 1169 * Find one TrackedMovie that matches the filter or throw an error with `error.code='P2025'` ··· 853 1177 * } 854 1178 * }) 855 1179 */ 856 - findUniqueOrThrow<T extends TrackedMovieFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, TrackedMovieFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__TrackedMovieClient<runtime.Types.Result.GetResult<Prisma.$TrackedMoviePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> 1180 + findUniqueOrThrow<T extends TrackedMovieFindUniqueOrThrowArgs>( 1181 + args: Prisma.SelectSubset<T, TrackedMovieFindUniqueOrThrowArgs<ExtArgs>>, 1182 + ): Prisma.Prisma__TrackedMovieClient< 1183 + runtime.Types.Result.GetResult< 1184 + Prisma.$TrackedMoviePayload<ExtArgs>, 1185 + T, 1186 + 'findUniqueOrThrow', 1187 + GlobalOmitOptions 1188 + >, 1189 + never, 1190 + ExtArgs, 1191 + GlobalOmitOptions 1192 + >; 857 1193 858 1194 /** 859 1195 * Find the first TrackedMovie that matches the filter. ··· 868 1204 * } 869 1205 * }) 870 1206 */ 871 - findFirst<T extends TrackedMovieFindFirstArgs>(args?: Prisma.SelectSubset<T, TrackedMovieFindFirstArgs<ExtArgs>>): Prisma.Prisma__TrackedMovieClient<runtime.Types.Result.GetResult<Prisma.$TrackedMoviePayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> 1207 + findFirst<T extends TrackedMovieFindFirstArgs>( 1208 + args?: Prisma.SelectSubset<T, TrackedMovieFindFirstArgs<ExtArgs>>, 1209 + ): Prisma.Prisma__TrackedMovieClient< 1210 + runtime.Types.Result.GetResult< 1211 + Prisma.$TrackedMoviePayload<ExtArgs>, 1212 + T, 1213 + 'findFirst', 1214 + GlobalOmitOptions 1215 + > | null, 1216 + null, 1217 + ExtArgs, 1218 + GlobalOmitOptions 1219 + >; 872 1220 873 1221 /** 874 1222 * Find the first TrackedMovie that matches the filter or ··· 884 1232 * } 885 1233 * }) 886 1234 */ 887 - findFirstOrThrow<T extends TrackedMovieFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, TrackedMovieFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__TrackedMovieClient<runtime.Types.Result.GetResult<Prisma.$TrackedMoviePayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> 1235 + findFirstOrThrow<T extends TrackedMovieFindFirstOrThrowArgs>( 1236 + args?: Prisma.SelectSubset<T, TrackedMovieFindFirstOrThrowArgs<ExtArgs>>, 1237 + ): Prisma.Prisma__TrackedMovieClient< 1238 + runtime.Types.Result.GetResult< 1239 + Prisma.$TrackedMoviePayload<ExtArgs>, 1240 + T, 1241 + 'findFirstOrThrow', 1242 + GlobalOmitOptions 1243 + >, 1244 + never, 1245 + ExtArgs, 1246 + GlobalOmitOptions 1247 + >; 888 1248 889 1249 /** 890 1250 * Find zero or more TrackedMovies that matches the filter. ··· 894 1254 * @example 895 1255 * // Get all TrackedMovies 896 1256 * const trackedMovies = await prisma.trackedMovie.findMany() 897 - * 1257 + * 898 1258 * // Get first 10 TrackedMovies 899 1259 * const trackedMovies = await prisma.trackedMovie.findMany({ take: 10 }) 900 - * 1260 + * 901 1261 * // Only select the `id` 902 1262 * const trackedMovieWithIdOnly = await prisma.trackedMovie.findMany({ select: { id: true } }) 903 - * 1263 + * 904 1264 */ 905 - findMany<T extends TrackedMovieFindManyArgs>(args?: Prisma.SelectSubset<T, TrackedMovieFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$TrackedMoviePayload<ExtArgs>, T, "findMany", GlobalOmitOptions>> 1265 + findMany<T extends TrackedMovieFindManyArgs>( 1266 + args?: Prisma.SelectSubset<T, TrackedMovieFindManyArgs<ExtArgs>>, 1267 + ): Prisma.PrismaPromise< 1268 + runtime.Types.Result.GetResult< 1269 + Prisma.$TrackedMoviePayload<ExtArgs>, 1270 + T, 1271 + 'findMany', 1272 + GlobalOmitOptions 1273 + > 1274 + >; 906 1275 907 1276 /** 908 1277 * Create a TrackedMovie. ··· 914 1283 * // ... data to create a TrackedMovie 915 1284 * } 916 1285 * }) 917 - * 1286 + * 918 1287 */ 919 - create<T extends TrackedMovieCreateArgs>(args: Prisma.SelectSubset<T, TrackedMovieCreateArgs<ExtArgs>>): Prisma.Prisma__TrackedMovieClient<runtime.Types.Result.GetResult<Prisma.$TrackedMoviePayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> 1288 + create<T extends TrackedMovieCreateArgs>( 1289 + args: Prisma.SelectSubset<T, TrackedMovieCreateArgs<ExtArgs>>, 1290 + ): Prisma.Prisma__TrackedMovieClient< 1291 + runtime.Types.Result.GetResult< 1292 + Prisma.$TrackedMoviePayload<ExtArgs>, 1293 + T, 1294 + 'create', 1295 + GlobalOmitOptions 1296 + >, 1297 + never, 1298 + ExtArgs, 1299 + GlobalOmitOptions 1300 + >; 920 1301 921 1302 /** 922 1303 * Create many TrackedMovies. ··· 928 1309 * // ... provide data here 929 1310 * ] 930 1311 * }) 931 - * 1312 + * 932 1313 */ 933 - createMany<T extends TrackedMovieCreateManyArgs>(args?: Prisma.SelectSubset<T, TrackedMovieCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload> 1314 + createMany<T extends TrackedMovieCreateManyArgs>( 1315 + args?: Prisma.SelectSubset<T, TrackedMovieCreateManyArgs<ExtArgs>>, 1316 + ): Prisma.PrismaPromise<Prisma.BatchPayload>; 934 1317 935 1318 /** 936 1319 * Create many TrackedMovies and returns the data saved in the database. ··· 942 1325 * // ... provide data here 943 1326 * ] 944 1327 * }) 945 - * 1328 + * 946 1329 * // Create many TrackedMovies and only return the `id` 947 1330 * const trackedMovieWithIdOnly = await prisma.trackedMovie.createManyAndReturn({ 948 1331 * select: { id: true }, ··· 952 1335 * }) 953 1336 * Note, that providing `undefined` is treated as the value not being there. 954 1337 * Read more here: https://pris.ly/d/null-undefined 955 - * 1338 + * 956 1339 */ 957 - createManyAndReturn<T extends TrackedMovieCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, TrackedMovieCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$TrackedMoviePayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>> 1340 + createManyAndReturn<T extends TrackedMovieCreateManyAndReturnArgs>( 1341 + args?: Prisma.SelectSubset<T, TrackedMovieCreateManyAndReturnArgs<ExtArgs>>, 1342 + ): Prisma.PrismaPromise< 1343 + runtime.Types.Result.GetResult< 1344 + Prisma.$TrackedMoviePayload<ExtArgs>, 1345 + T, 1346 + 'createManyAndReturn', 1347 + GlobalOmitOptions 1348 + > 1349 + >; 958 1350 959 1351 /** 960 1352 * Delete a TrackedMovie. ··· 966 1358 * // ... filter to delete one TrackedMovie 967 1359 * } 968 1360 * }) 969 - * 1361 + * 970 1362 */ 971 - delete<T extends TrackedMovieDeleteArgs>(args: Prisma.SelectSubset<T, TrackedMovieDeleteArgs<ExtArgs>>): Prisma.Prisma__TrackedMovieClient<runtime.Types.Result.GetResult<Prisma.$TrackedMoviePayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> 1363 + delete<T extends TrackedMovieDeleteArgs>( 1364 + args: Prisma.SelectSubset<T, TrackedMovieDeleteArgs<ExtArgs>>, 1365 + ): Prisma.Prisma__TrackedMovieClient< 1366 + runtime.Types.Result.GetResult< 1367 + Prisma.$TrackedMoviePayload<ExtArgs>, 1368 + T, 1369 + 'delete', 1370 + GlobalOmitOptions 1371 + >, 1372 + never, 1373 + ExtArgs, 1374 + GlobalOmitOptions 1375 + >; 972 1376 973 1377 /** 974 1378 * Update one TrackedMovie. ··· 983 1387 * // ... provide data here 984 1388 * } 985 1389 * }) 986 - * 1390 + * 987 1391 */ 988 - update<T extends TrackedMovieUpdateArgs>(args: Prisma.SelectSubset<T, TrackedMovieUpdateArgs<ExtArgs>>): Prisma.Prisma__TrackedMovieClient<runtime.Types.Result.GetResult<Prisma.$TrackedMoviePayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> 1392 + update<T extends TrackedMovieUpdateArgs>( 1393 + args: Prisma.SelectSubset<T, TrackedMovieUpdateArgs<ExtArgs>>, 1394 + ): Prisma.Prisma__TrackedMovieClient< 1395 + runtime.Types.Result.GetResult< 1396 + Prisma.$TrackedMoviePayload<ExtArgs>, 1397 + T, 1398 + 'update', 1399 + GlobalOmitOptions 1400 + >, 1401 + never, 1402 + ExtArgs, 1403 + GlobalOmitOptions 1404 + >; 989 1405 990 1406 /** 991 1407 * Delete zero or more TrackedMovies. ··· 997 1413 * // ... provide filter here 998 1414 * } 999 1415 * }) 1000 - * 1416 + * 1001 1417 */ 1002 - deleteMany<T extends TrackedMovieDeleteManyArgs>(args?: Prisma.SelectSubset<T, TrackedMovieDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload> 1418 + deleteMany<T extends TrackedMovieDeleteManyArgs>( 1419 + args?: Prisma.SelectSubset<T, TrackedMovieDeleteManyArgs<ExtArgs>>, 1420 + ): Prisma.PrismaPromise<Prisma.BatchPayload>; 1003 1421 1004 1422 /** 1005 1423 * Update zero or more TrackedMovies. ··· 1016 1434 * // ... provide data here 1017 1435 * } 1018 1436 * }) 1019 - * 1437 + * 1020 1438 */ 1021 - updateMany<T extends TrackedMovieUpdateManyArgs>(args: Prisma.SelectSubset<T, TrackedMovieUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload> 1439 + updateMany<T extends TrackedMovieUpdateManyArgs>( 1440 + args: Prisma.SelectSubset<T, TrackedMovieUpdateManyArgs<ExtArgs>>, 1441 + ): Prisma.PrismaPromise<Prisma.BatchPayload>; 1022 1442 1023 1443 /** 1024 1444 * Update zero or more TrackedMovies and returns the data updated in the database. ··· 1033 1453 * // ... provide data here 1034 1454 * ] 1035 1455 * }) 1036 - * 1456 + * 1037 1457 * // Update zero or more TrackedMovies and only return the `id` 1038 1458 * const trackedMovieWithIdOnly = await prisma.trackedMovie.updateManyAndReturn({ 1039 1459 * select: { id: true }, ··· 1046 1466 * }) 1047 1467 * Note, that providing `undefined` is treated as the value not being there. 1048 1468 * Read more here: https://pris.ly/d/null-undefined 1049 - * 1469 + * 1050 1470 */ 1051 - updateManyAndReturn<T extends TrackedMovieUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, TrackedMovieUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$TrackedMoviePayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>> 1471 + updateManyAndReturn<T extends TrackedMovieUpdateManyAndReturnArgs>( 1472 + args: Prisma.SelectSubset<T, TrackedMovieUpdateManyAndReturnArgs<ExtArgs>>, 1473 + ): Prisma.PrismaPromise< 1474 + runtime.Types.Result.GetResult< 1475 + Prisma.$TrackedMoviePayload<ExtArgs>, 1476 + T, 1477 + 'updateManyAndReturn', 1478 + GlobalOmitOptions 1479 + > 1480 + >; 1052 1481 1053 1482 /** 1054 1483 * Create or update one TrackedMovie. ··· 1067 1496 * } 1068 1497 * }) 1069 1498 */ 1070 - upsert<T extends TrackedMovieUpsertArgs>(args: Prisma.SelectSubset<T, TrackedMovieUpsertArgs<ExtArgs>>): Prisma.Prisma__TrackedMovieClient<runtime.Types.Result.GetResult<Prisma.$TrackedMoviePayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> 1071 - 1499 + upsert<T extends TrackedMovieUpsertArgs>( 1500 + args: Prisma.SelectSubset<T, TrackedMovieUpsertArgs<ExtArgs>>, 1501 + ): Prisma.Prisma__TrackedMovieClient< 1502 + runtime.Types.Result.GetResult< 1503 + Prisma.$TrackedMoviePayload<ExtArgs>, 1504 + T, 1505 + 'upsert', 1506 + GlobalOmitOptions 1507 + >, 1508 + never, 1509 + ExtArgs, 1510 + GlobalOmitOptions 1511 + >; 1072 1512 1073 1513 /** 1074 1514 * Count the number of TrackedMovies. ··· 1082 1522 * // ... the filter for the TrackedMovies we want to count 1083 1523 * } 1084 1524 * }) 1085 - **/ 1525 + **/ 1086 1526 count<T extends TrackedMovieCountArgs>( 1087 1527 args?: Prisma.Subset<T, TrackedMovieCountArgs>, 1088 1528 ): Prisma.PrismaPromise< 1089 1529 T extends runtime.Types.Utils.Record<'select', any> 1090 1530 ? T['select'] extends true 1091 1531 ? number 1092 - : Prisma.GetScalarType<T['select'], TrackedMovieCountAggregateOutputType> 1532 + : Prisma.GetScalarType< 1533 + T['select'], 1534 + TrackedMovieCountAggregateOutputType 1535 + > 1093 1536 : number 1094 - > 1537 + >; 1095 1538 1096 1539 /** 1097 1540 * Allows you to perform aggregations operations on a TrackedMovie. ··· 1116 1559 * }, 1117 1560 * take: 10, 1118 1561 * }) 1119 - **/ 1120 - aggregate<T extends TrackedMovieAggregateArgs>(args: Prisma.Subset<T, TrackedMovieAggregateArgs>): Prisma.PrismaPromise<GetTrackedMovieAggregateType<T>> 1562 + **/ 1563 + aggregate<T extends TrackedMovieAggregateArgs>( 1564 + args: Prisma.Subset<T, TrackedMovieAggregateArgs>, 1565 + ): Prisma.PrismaPromise<GetTrackedMovieAggregateType<T>>; 1121 1566 1122 1567 /** 1123 1568 * Group by TrackedMovie. ··· 1135 1580 * _all: true 1136 1581 * }, 1137 1582 * }) 1138 - * 1139 - **/ 1583 + * 1584 + **/ 1140 1585 groupBy< 1141 1586 T extends TrackedMovieGroupByArgs, 1142 1587 HasSelectOrTake extends Prisma.Or< ··· 1146 1591 OrderByArg extends Prisma.True extends HasSelectOrTake 1147 1592 ? { orderBy: TrackedMovieGroupByArgs['orderBy'] } 1148 1593 : { orderBy?: TrackedMovieGroupByArgs['orderBy'] }, 1149 - OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>, 1594 + OrderFields extends Prisma.ExcludeUnderscoreKeys< 1595 + Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>> 1596 + >, 1150 1597 ByFields extends Prisma.MaybeTupleToUnion<T['by']>, 1151 1598 ByValid extends Prisma.Has<ByFields, OrderFields>, 1152 1599 HavingFields extends Prisma.GetHavingFields<T['having']>, 1153 1600 HavingValid extends Prisma.Has<ByFields, HavingFields>, 1154 1601 ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False, 1155 1602 InputErrors extends ByEmpty extends Prisma.True 1156 - ? `Error: "by" must not be empty.` 1157 - : HavingValid extends Prisma.False 1158 - ? { 1159 - [P in HavingFields]: P extends ByFields 1160 - ? never 1161 - : P extends string 1162 - ? `Error: Field "${P}" used in "having" needs to be provided in "by".` 1163 - : [ 1164 - Error, 1165 - 'Field ', 1166 - P, 1167 - ` in "having" needs to be provided in "by"`, 1168 - ] 1169 - }[HavingFields] 1170 - : 'take' extends Prisma.Keys<T> 1171 - ? 'orderBy' extends Prisma.Keys<T> 1172 - ? ByValid extends Prisma.True 1173 - ? {} 1174 - : { 1175 - [P in OrderFields]: P extends ByFields 1603 + ? `Error: "by" must not be empty.` 1604 + : HavingValid extends Prisma.False 1605 + ? { 1606 + [P in HavingFields]: P extends ByFields 1176 1607 ? never 1177 - : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` 1178 - }[OrderFields] 1179 - : 'Error: If you provide "take", you also need to provide "orderBy"' 1180 - : 'skip' extends Prisma.Keys<T> 1181 - ? 'orderBy' extends Prisma.Keys<T> 1182 - ? ByValid extends Prisma.True 1183 - ? {} 1184 - : { 1185 - [P in OrderFields]: P extends ByFields 1186 - ? never 1187 - : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` 1188 - }[OrderFields] 1189 - : 'Error: If you provide "skip", you also need to provide "orderBy"' 1190 - : ByValid extends Prisma.True 1191 - ? {} 1192 - : { 1193 - [P in OrderFields]: P extends ByFields 1194 - ? never 1195 - : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` 1196 - }[OrderFields] 1197 - >(args: Prisma.SubsetIntersection<T, TrackedMovieGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetTrackedMovieGroupByPayload<T> : Prisma.PrismaPromise<InputErrors> 1198 - /** 1199 - * Fields of the TrackedMovie model 1200 - */ 1201 - readonly fields: TrackedMovieFieldRefs; 1608 + : P extends string 1609 + ? `Error: Field "${P}" used in "having" needs to be provided in "by".` 1610 + : [ 1611 + Error, 1612 + 'Field ', 1613 + P, 1614 + ` in "having" needs to be provided in "by"`, 1615 + ]; 1616 + }[HavingFields] 1617 + : 'take' extends Prisma.Keys<T> 1618 + ? 'orderBy' extends Prisma.Keys<T> 1619 + ? ByValid extends Prisma.True 1620 + ? {} 1621 + : { 1622 + [P in OrderFields]: P extends ByFields 1623 + ? never 1624 + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`; 1625 + }[OrderFields] 1626 + : 'Error: If you provide "take", you also need to provide "orderBy"' 1627 + : 'skip' extends Prisma.Keys<T> 1628 + ? 'orderBy' extends Prisma.Keys<T> 1629 + ? ByValid extends Prisma.True 1630 + ? {} 1631 + : { 1632 + [P in OrderFields]: P extends ByFields 1633 + ? never 1634 + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`; 1635 + }[OrderFields] 1636 + : 'Error: If you provide "skip", you also need to provide "orderBy"' 1637 + : ByValid extends Prisma.True 1638 + ? {} 1639 + : { 1640 + [P in OrderFields]: P extends ByFields 1641 + ? never 1642 + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`; 1643 + }[OrderFields], 1644 + >( 1645 + args: Prisma.SubsetIntersection<T, TrackedMovieGroupByArgs, OrderByArg> & 1646 + InputErrors, 1647 + ): {} extends InputErrors 1648 + ? GetTrackedMovieGroupByPayload<T> 1649 + : Prisma.PrismaPromise<InputErrors>; 1650 + /** 1651 + * Fields of the TrackedMovie model 1652 + */ 1653 + readonly fields: TrackedMovieFieldRefs; 1202 1654 } 1203 1655 1204 1656 /** ··· 1207 1659 * Because we want to prevent naming conflicts as mentioned in 1208 1660 * https://github.com/prisma/prisma-client-js/issues/707 1209 1661 */ 1210 - export interface Prisma__TrackedMovieClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> { 1211 - readonly [Symbol.toStringTag]: "PrismaPromise" 1212 - user<T extends Prisma.UserDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.UserDefaultArgs<ExtArgs>>): Prisma.Prisma__UserClient<runtime.Types.Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> 1213 - movie<T extends Prisma.MovieDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.MovieDefaultArgs<ExtArgs>>): Prisma.Prisma__MovieClient<runtime.Types.Result.GetResult<Prisma.$MoviePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> 1662 + export interface Prisma__TrackedMovieClient< 1663 + T, 1664 + Null = never, 1665 + ExtArgs extends runtime.Types.Extensions.InternalArgs = 1666 + runtime.Types.Extensions.DefaultArgs, 1667 + GlobalOmitOptions = {}, 1668 + > extends Prisma.PrismaPromise<T> { 1669 + readonly [Symbol.toStringTag]: 'PrismaPromise'; 1670 + user<T extends Prisma.UserDefaultArgs<ExtArgs> = {}>( 1671 + args?: Prisma.Subset<T, Prisma.UserDefaultArgs<ExtArgs>>, 1672 + ): Prisma.Prisma__UserClient< 1673 + | runtime.Types.Result.GetResult< 1674 + Prisma.$UserPayload<ExtArgs>, 1675 + T, 1676 + 'findUniqueOrThrow', 1677 + GlobalOmitOptions 1678 + > 1679 + | Null, 1680 + Null, 1681 + ExtArgs, 1682 + GlobalOmitOptions 1683 + >; 1684 + movie<T extends Prisma.MovieDefaultArgs<ExtArgs> = {}>( 1685 + args?: Prisma.Subset<T, Prisma.MovieDefaultArgs<ExtArgs>>, 1686 + ): Prisma.Prisma__MovieClient< 1687 + | runtime.Types.Result.GetResult< 1688 + Prisma.$MoviePayload<ExtArgs>, 1689 + T, 1690 + 'findUniqueOrThrow', 1691 + GlobalOmitOptions 1692 + > 1693 + | Null, 1694 + Null, 1695 + ExtArgs, 1696 + GlobalOmitOptions 1697 + >; 1214 1698 /** 1215 1699 * Attaches callbacks for the resolution and/or rejection of the Promise. 1216 1700 * @param onfulfilled The callback to execute when the Promise is resolved. 1217 1701 * @param onrejected The callback to execute when the Promise is rejected. 1218 1702 * @returns A Promise for the completion of which ever callback is executed. 1219 1703 */ 1220 - 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> 1704 + then<TResult1 = T, TResult2 = never>( 1705 + onfulfilled?: 1706 + | ((value: T) => TResult1 | PromiseLike<TResult1>) 1707 + | undefined 1708 + | null, 1709 + onrejected?: 1710 + | ((reason: any) => TResult2 | PromiseLike<TResult2>) 1711 + | undefined 1712 + | null, 1713 + ): runtime.Types.Utils.JsPromise<TResult1 | TResult2>; 1221 1714 /** 1222 1715 * Attaches a callback for only the rejection of the Promise. 1223 1716 * @param onrejected The callback to execute when the Promise is rejected. 1224 1717 * @returns A Promise for the completion of the callback. 1225 1718 */ 1226 - catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult> 1719 + catch<TResult = never>( 1720 + onrejected?: 1721 + | ((reason: any) => TResult | PromiseLike<TResult>) 1722 + | undefined 1723 + | null, 1724 + ): runtime.Types.Utils.JsPromise<T | TResult>; 1227 1725 /** 1228 1726 * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The 1229 1727 * resolved value cannot be modified from the callback. 1230 1728 * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected). 1231 1729 * @returns A Promise for the completion of the callback. 1232 1730 */ 1233 - finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T> 1731 + finally( 1732 + onfinally?: (() => void) | undefined | null, 1733 + ): runtime.Types.Utils.JsPromise<T>; 1234 1734 } 1235 1735 1236 - 1237 - 1238 - 1239 1736 /** 1240 1737 * Fields of the TrackedMovie model 1241 1738 */ 1242 1739 export interface TrackedMovieFieldRefs { 1243 - readonly id: Prisma.FieldRef<"TrackedMovie", 'String'> 1244 - readonly rkey: Prisma.FieldRef<"TrackedMovie", 'String'> 1245 - readonly uri: Prisma.FieldRef<"TrackedMovie", 'String'> 1246 - readonly cid: Prisma.FieldRef<"TrackedMovie", 'String'> 1247 - readonly userDid: Prisma.FieldRef<"TrackedMovie", 'String'> 1248 - readonly movieId: Prisma.FieldRef<"TrackedMovie", 'String'> 1249 - readonly status: Prisma.FieldRef<"TrackedMovie", 'String'> 1250 - readonly watchedDate: Prisma.FieldRef<"TrackedMovie", 'DateTime'> 1251 - readonly createdAt: Prisma.FieldRef<"TrackedMovie", 'DateTime'> 1252 - readonly updatedAt: Prisma.FieldRef<"TrackedMovie", 'DateTime'> 1740 + readonly id: Prisma.FieldRef<'TrackedMovie', 'String'>; 1741 + readonly rkey: Prisma.FieldRef<'TrackedMovie', 'String'>; 1742 + readonly uri: Prisma.FieldRef<'TrackedMovie', 'String'>; 1743 + readonly cid: Prisma.FieldRef<'TrackedMovie', 'String'>; 1744 + readonly userDid: Prisma.FieldRef<'TrackedMovie', 'String'>; 1745 + readonly movieId: Prisma.FieldRef<'TrackedMovie', 'String'>; 1746 + readonly status: Prisma.FieldRef<'TrackedMovie', 'String'>; 1747 + readonly watchedDate: Prisma.FieldRef<'TrackedMovie', 'DateTime'>; 1748 + readonly createdAt: Prisma.FieldRef<'TrackedMovie', 'DateTime'>; 1749 + readonly updatedAt: Prisma.FieldRef<'TrackedMovie', 'DateTime'>; 1253 1750 } 1254 - 1255 1751 1256 1752 // Custom InputTypes 1257 1753 /** 1258 1754 * TrackedMovie findUnique 1259 1755 */ 1260 - export type TrackedMovieFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = { 1756 + export type TrackedMovieFindUniqueArgs< 1757 + ExtArgs extends runtime.Types.Extensions.InternalArgs = 1758 + runtime.Types.Extensions.DefaultArgs, 1759 + > = { 1261 1760 /** 1262 1761 * Select specific fields to fetch from the TrackedMovie 1263 1762 */ 1264 - select?: Prisma.TrackedMovieSelect<ExtArgs> | null 1763 + select?: Prisma.TrackedMovieSelect<ExtArgs> | null; 1265 1764 /** 1266 1765 * Omit specific fields from the TrackedMovie 1267 1766 */ 1268 - omit?: Prisma.TrackedMovieOmit<ExtArgs> | null 1767 + omit?: Prisma.TrackedMovieOmit<ExtArgs> | null; 1269 1768 /** 1270 1769 * Choose, which related nodes to fetch as well 1271 1770 */ 1272 - include?: Prisma.TrackedMovieInclude<ExtArgs> | null 1771 + include?: Prisma.TrackedMovieInclude<ExtArgs> | null; 1273 1772 /** 1274 1773 * Filter, which TrackedMovie to fetch. 1275 1774 */ 1276 - where: Prisma.TrackedMovieWhereUniqueInput 1277 - } 1775 + where: Prisma.TrackedMovieWhereUniqueInput; 1776 + }; 1278 1777 1279 1778 /** 1280 1779 * TrackedMovie findUniqueOrThrow 1281 1780 */ 1282 - export type TrackedMovieFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = { 1781 + export type TrackedMovieFindUniqueOrThrowArgs< 1782 + ExtArgs extends runtime.Types.Extensions.InternalArgs = 1783 + runtime.Types.Extensions.DefaultArgs, 1784 + > = { 1283 1785 /** 1284 1786 * Select specific fields to fetch from the TrackedMovie 1285 1787 */ 1286 - select?: Prisma.TrackedMovieSelect<ExtArgs> | null 1788 + select?: Prisma.TrackedMovieSelect<ExtArgs> | null; 1287 1789 /** 1288 1790 * Omit specific fields from the TrackedMovie 1289 1791 */ 1290 - omit?: Prisma.TrackedMovieOmit<ExtArgs> | null 1792 + omit?: Prisma.TrackedMovieOmit<ExtArgs> | null; 1291 1793 /** 1292 1794 * Choose, which related nodes to fetch as well 1293 1795 */ 1294 - include?: Prisma.TrackedMovieInclude<ExtArgs> | null 1796 + include?: Prisma.TrackedMovieInclude<ExtArgs> | null; 1295 1797 /** 1296 1798 * Filter, which TrackedMovie to fetch. 1297 1799 */ 1298 - where: Prisma.TrackedMovieWhereUniqueInput 1299 - } 1800 + where: Prisma.TrackedMovieWhereUniqueInput; 1801 + }; 1300 1802 1301 1803 /** 1302 1804 * TrackedMovie findFirst 1303 1805 */ 1304 - export type TrackedMovieFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = { 1806 + export type TrackedMovieFindFirstArgs< 1807 + ExtArgs extends runtime.Types.Extensions.InternalArgs = 1808 + runtime.Types.Extensions.DefaultArgs, 1809 + > = { 1305 1810 /** 1306 1811 * Select specific fields to fetch from the TrackedMovie 1307 1812 */ 1308 - select?: Prisma.TrackedMovieSelect<ExtArgs> | null 1813 + select?: Prisma.TrackedMovieSelect<ExtArgs> | null; 1309 1814 /** 1310 1815 * Omit specific fields from the TrackedMovie 1311 1816 */ 1312 - omit?: Prisma.TrackedMovieOmit<ExtArgs> | null 1817 + omit?: Prisma.TrackedMovieOmit<ExtArgs> | null; 1313 1818 /** 1314 1819 * Choose, which related nodes to fetch as well 1315 1820 */ 1316 - include?: Prisma.TrackedMovieInclude<ExtArgs> | null 1821 + include?: Prisma.TrackedMovieInclude<ExtArgs> | null; 1317 1822 /** 1318 1823 * Filter, which TrackedMovie to fetch. 1319 1824 */ 1320 - where?: Prisma.TrackedMovieWhereInput 1825 + where?: Prisma.TrackedMovieWhereInput; 1321 1826 /** 1322 1827 * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} 1323 - * 1828 + * 1324 1829 * Determine the order of TrackedMovies to fetch. 1325 1830 */ 1326 - orderBy?: Prisma.TrackedMovieOrderByWithRelationInput | Prisma.TrackedMovieOrderByWithRelationInput[] 1831 + orderBy?: 1832 + | Prisma.TrackedMovieOrderByWithRelationInput 1833 + | Prisma.TrackedMovieOrderByWithRelationInput[]; 1327 1834 /** 1328 1835 * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} 1329 - * 1836 + * 1330 1837 * Sets the position for searching for TrackedMovies. 1331 1838 */ 1332 - cursor?: Prisma.TrackedMovieWhereUniqueInput 1839 + cursor?: Prisma.TrackedMovieWhereUniqueInput; 1333 1840 /** 1334 1841 * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} 1335 - * 1842 + * 1336 1843 * Take `±n` TrackedMovies from the position of the cursor. 1337 1844 */ 1338 - take?: number 1845 + take?: number; 1339 1846 /** 1340 1847 * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} 1341 - * 1848 + * 1342 1849 * Skip the first `n` TrackedMovies. 1343 1850 */ 1344 - skip?: number 1851 + skip?: number; 1345 1852 /** 1346 1853 * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} 1347 - * 1854 + * 1348 1855 * Filter by unique combinations of TrackedMovies. 1349 1856 */ 1350 - distinct?: Prisma.TrackedMovieScalarFieldEnum | Prisma.TrackedMovieScalarFieldEnum[] 1351 - } 1857 + distinct?: 1858 + | Prisma.TrackedMovieScalarFieldEnum 1859 + | Prisma.TrackedMovieScalarFieldEnum[]; 1860 + }; 1352 1861 1353 1862 /** 1354 1863 * TrackedMovie findFirstOrThrow 1355 1864 */ 1356 - export type TrackedMovieFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = { 1865 + export type TrackedMovieFindFirstOrThrowArgs< 1866 + ExtArgs extends runtime.Types.Extensions.InternalArgs = 1867 + runtime.Types.Extensions.DefaultArgs, 1868 + > = { 1357 1869 /** 1358 1870 * Select specific fields to fetch from the TrackedMovie 1359 1871 */ 1360 - select?: Prisma.TrackedMovieSelect<ExtArgs> | null 1872 + select?: Prisma.TrackedMovieSelect<ExtArgs> | null; 1361 1873 /** 1362 1874 * Omit specific fields from the TrackedMovie 1363 1875 */ 1364 - omit?: Prisma.TrackedMovieOmit<ExtArgs> | null 1876 + omit?: Prisma.TrackedMovieOmit<ExtArgs> | null; 1365 1877 /** 1366 1878 * Choose, which related nodes to fetch as well 1367 1879 */ 1368 - include?: Prisma.TrackedMovieInclude<ExtArgs> | null 1880 + include?: Prisma.TrackedMovieInclude<ExtArgs> | null; 1369 1881 /** 1370 1882 * Filter, which TrackedMovie to fetch. 1371 1883 */ 1372 - where?: Prisma.TrackedMovieWhereInput 1884 + where?: Prisma.TrackedMovieWhereInput; 1373 1885 /** 1374 1886 * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} 1375 - * 1887 + * 1376 1888 * Determine the order of TrackedMovies to fetch. 1377 1889 */ 1378 - orderBy?: Prisma.TrackedMovieOrderByWithRelationInput | Prisma.TrackedMovieOrderByWithRelationInput[] 1890 + orderBy?: 1891 + | Prisma.TrackedMovieOrderByWithRelationInput 1892 + | Prisma.TrackedMovieOrderByWithRelationInput[]; 1379 1893 /** 1380 1894 * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} 1381 - * 1895 + * 1382 1896 * Sets the position for searching for TrackedMovies. 1383 1897 */ 1384 - cursor?: Prisma.TrackedMovieWhereUniqueInput 1898 + cursor?: Prisma.TrackedMovieWhereUniqueInput; 1385 1899 /** 1386 1900 * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} 1387 - * 1901 + * 1388 1902 * Take `±n` TrackedMovies from the position of the cursor. 1389 1903 */ 1390 - take?: number 1904 + take?: number; 1391 1905 /** 1392 1906 * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} 1393 - * 1907 + * 1394 1908 * Skip the first `n` TrackedMovies. 1395 1909 */ 1396 - skip?: number 1910 + skip?: number; 1397 1911 /** 1398 1912 * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} 1399 - * 1913 + * 1400 1914 * Filter by unique combinations of TrackedMovies. 1401 1915 */ 1402 - distinct?: Prisma.TrackedMovieScalarFieldEnum | Prisma.TrackedMovieScalarFieldEnum[] 1403 - } 1916 + distinct?: 1917 + | Prisma.TrackedMovieScalarFieldEnum 1918 + | Prisma.TrackedMovieScalarFieldEnum[]; 1919 + }; 1404 1920 1405 1921 /** 1406 1922 * TrackedMovie findMany 1407 1923 */ 1408 - export type TrackedMovieFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = { 1924 + export type TrackedMovieFindManyArgs< 1925 + ExtArgs extends runtime.Types.Extensions.InternalArgs = 1926 + runtime.Types.Extensions.DefaultArgs, 1927 + > = { 1409 1928 /** 1410 1929 * Select specific fields to fetch from the TrackedMovie 1411 1930 */ 1412 - select?: Prisma.TrackedMovieSelect<ExtArgs> | null 1931 + select?: Prisma.TrackedMovieSelect<ExtArgs> | null; 1413 1932 /** 1414 1933 * Omit specific fields from the TrackedMovie 1415 1934 */ 1416 - omit?: Prisma.TrackedMovieOmit<ExtArgs> | null 1935 + omit?: Prisma.TrackedMovieOmit<ExtArgs> | null; 1417 1936 /** 1418 1937 * Choose, which related nodes to fetch as well 1419 1938 */ 1420 - include?: Prisma.TrackedMovieInclude<ExtArgs> | null 1939 + include?: Prisma.TrackedMovieInclude<ExtArgs> | null; 1421 1940 /** 1422 1941 * Filter, which TrackedMovies to fetch. 1423 1942 */ 1424 - where?: Prisma.TrackedMovieWhereInput 1943 + where?: Prisma.TrackedMovieWhereInput; 1425 1944 /** 1426 1945 * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} 1427 - * 1946 + * 1428 1947 * Determine the order of TrackedMovies to fetch. 1429 1948 */ 1430 - orderBy?: Prisma.TrackedMovieOrderByWithRelationInput | Prisma.TrackedMovieOrderByWithRelationInput[] 1949 + orderBy?: 1950 + | Prisma.TrackedMovieOrderByWithRelationInput 1951 + | Prisma.TrackedMovieOrderByWithRelationInput[]; 1431 1952 /** 1432 1953 * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} 1433 - * 1954 + * 1434 1955 * Sets the position for listing TrackedMovies. 1435 1956 */ 1436 - cursor?: Prisma.TrackedMovieWhereUniqueInput 1957 + cursor?: Prisma.TrackedMovieWhereUniqueInput; 1437 1958 /** 1438 1959 * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} 1439 - * 1960 + * 1440 1961 * Take `±n` TrackedMovies from the position of the cursor. 1441 1962 */ 1442 - take?: number 1963 + take?: number; 1443 1964 /** 1444 1965 * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} 1445 - * 1966 + * 1446 1967 * Skip the first `n` TrackedMovies. 1447 1968 */ 1448 - skip?: number 1449 - distinct?: Prisma.TrackedMovieScalarFieldEnum | Prisma.TrackedMovieScalarFieldEnum[] 1450 - } 1969 + skip?: number; 1970 + distinct?: 1971 + | Prisma.TrackedMovieScalarFieldEnum 1972 + | Prisma.TrackedMovieScalarFieldEnum[]; 1973 + }; 1451 1974 1452 1975 /** 1453 1976 * TrackedMovie create 1454 1977 */ 1455 - export type TrackedMovieCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = { 1978 + export type TrackedMovieCreateArgs< 1979 + ExtArgs extends runtime.Types.Extensions.InternalArgs = 1980 + runtime.Types.Extensions.DefaultArgs, 1981 + > = { 1456 1982 /** 1457 1983 * Select specific fields to fetch from the TrackedMovie 1458 1984 */ 1459 - select?: Prisma.TrackedMovieSelect<ExtArgs> | null 1985 + select?: Prisma.TrackedMovieSelect<ExtArgs> | null; 1460 1986 /** 1461 1987 * Omit specific fields from the TrackedMovie 1462 1988 */ 1463 - omit?: Prisma.TrackedMovieOmit<ExtArgs> | null 1989 + omit?: Prisma.TrackedMovieOmit<ExtArgs> | null; 1464 1990 /** 1465 1991 * Choose, which related nodes to fetch as well 1466 1992 */ 1467 - include?: Prisma.TrackedMovieInclude<ExtArgs> | null 1993 + include?: Prisma.TrackedMovieInclude<ExtArgs> | null; 1468 1994 /** 1469 1995 * The data needed to create a TrackedMovie. 1470 1996 */ 1471 - data: Prisma.XOR<Prisma.TrackedMovieCreateInput, Prisma.TrackedMovieUncheckedCreateInput> 1472 - } 1997 + data: Prisma.XOR< 1998 + Prisma.TrackedMovieCreateInput, 1999 + Prisma.TrackedMovieUncheckedCreateInput 2000 + >; 2001 + }; 1473 2002 1474 2003 /** 1475 2004 * TrackedMovie createMany 1476 2005 */ 1477 - export type TrackedMovieCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = { 2006 + export type TrackedMovieCreateManyArgs< 2007 + ExtArgs extends runtime.Types.Extensions.InternalArgs = 2008 + runtime.Types.Extensions.DefaultArgs, 2009 + > = { 1478 2010 /** 1479 2011 * The data used to create many TrackedMovies. 1480 2012 */ 1481 - data: Prisma.TrackedMovieCreateManyInput | Prisma.TrackedMovieCreateManyInput[] 1482 - skipDuplicates?: boolean 1483 - } 2013 + data: 2014 + | Prisma.TrackedMovieCreateManyInput 2015 + | Prisma.TrackedMovieCreateManyInput[]; 2016 + skipDuplicates?: boolean; 2017 + }; 1484 2018 1485 2019 /** 1486 2020 * TrackedMovie createManyAndReturn 1487 2021 */ 1488 - export type TrackedMovieCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = { 2022 + export type TrackedMovieCreateManyAndReturnArgs< 2023 + ExtArgs extends runtime.Types.Extensions.InternalArgs = 2024 + runtime.Types.Extensions.DefaultArgs, 2025 + > = { 1489 2026 /** 1490 2027 * Select specific fields to fetch from the TrackedMovie 1491 2028 */ 1492 - select?: Prisma.TrackedMovieSelectCreateManyAndReturn<ExtArgs> | null 2029 + select?: Prisma.TrackedMovieSelectCreateManyAndReturn<ExtArgs> | null; 1493 2030 /** 1494 2031 * Omit specific fields from the TrackedMovie 1495 2032 */ 1496 - omit?: Prisma.TrackedMovieOmit<ExtArgs> | null 2033 + omit?: Prisma.TrackedMovieOmit<ExtArgs> | null; 1497 2034 /** 1498 2035 * The data used to create many TrackedMovies. 1499 2036 */ 1500 - data: Prisma.TrackedMovieCreateManyInput | Prisma.TrackedMovieCreateManyInput[] 1501 - skipDuplicates?: boolean 2037 + data: 2038 + | Prisma.TrackedMovieCreateManyInput 2039 + | Prisma.TrackedMovieCreateManyInput[]; 2040 + skipDuplicates?: boolean; 1502 2041 /** 1503 2042 * Choose, which related nodes to fetch as well 1504 2043 */ 1505 - include?: Prisma.TrackedMovieIncludeCreateManyAndReturn<ExtArgs> | null 1506 - } 2044 + include?: Prisma.TrackedMovieIncludeCreateManyAndReturn<ExtArgs> | null; 2045 + }; 1507 2046 1508 2047 /** 1509 2048 * TrackedMovie update 1510 2049 */ 1511 - export type TrackedMovieUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = { 2050 + export type TrackedMovieUpdateArgs< 2051 + ExtArgs extends runtime.Types.Extensions.InternalArgs = 2052 + runtime.Types.Extensions.DefaultArgs, 2053 + > = { 1512 2054 /** 1513 2055 * Select specific fields to fetch from the TrackedMovie 1514 2056 */ 1515 - select?: Prisma.TrackedMovieSelect<ExtArgs> | null 2057 + select?: Prisma.TrackedMovieSelect<ExtArgs> | null; 1516 2058 /** 1517 2059 * Omit specific fields from the TrackedMovie 1518 2060 */ 1519 - omit?: Prisma.TrackedMovieOmit<ExtArgs> | null 2061 + omit?: Prisma.TrackedMovieOmit<ExtArgs> | null; 1520 2062 /** 1521 2063 * Choose, which related nodes to fetch as well 1522 2064 */ 1523 - include?: Prisma.TrackedMovieInclude<ExtArgs> | null 2065 + include?: Prisma.TrackedMovieInclude<ExtArgs> | null; 1524 2066 /** 1525 2067 * The data needed to update a TrackedMovie. 1526 2068 */ 1527 - data: Prisma.XOR<Prisma.TrackedMovieUpdateInput, Prisma.TrackedMovieUncheckedUpdateInput> 2069 + data: Prisma.XOR< 2070 + Prisma.TrackedMovieUpdateInput, 2071 + Prisma.TrackedMovieUncheckedUpdateInput 2072 + >; 1528 2073 /** 1529 2074 * Choose, which TrackedMovie to update. 1530 2075 */ 1531 - where: Prisma.TrackedMovieWhereUniqueInput 1532 - } 2076 + where: Prisma.TrackedMovieWhereUniqueInput; 2077 + }; 1533 2078 1534 2079 /** 1535 2080 * TrackedMovie updateMany 1536 2081 */ 1537 - export type TrackedMovieUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = { 2082 + export type TrackedMovieUpdateManyArgs< 2083 + ExtArgs extends runtime.Types.Extensions.InternalArgs = 2084 + runtime.Types.Extensions.DefaultArgs, 2085 + > = { 1538 2086 /** 1539 2087 * The data used to update TrackedMovies. 1540 2088 */ 1541 - data: Prisma.XOR<Prisma.TrackedMovieUpdateManyMutationInput, Prisma.TrackedMovieUncheckedUpdateManyInput> 2089 + data: Prisma.XOR< 2090 + Prisma.TrackedMovieUpdateManyMutationInput, 2091 + Prisma.TrackedMovieUncheckedUpdateManyInput 2092 + >; 1542 2093 /** 1543 2094 * Filter which TrackedMovies to update 1544 2095 */ 1545 - where?: Prisma.TrackedMovieWhereInput 2096 + where?: Prisma.TrackedMovieWhereInput; 1546 2097 /** 1547 2098 * Limit how many TrackedMovies to update. 1548 2099 */ 1549 - limit?: number 1550 - } 2100 + limit?: number; 2101 + }; 1551 2102 1552 2103 /** 1553 2104 * TrackedMovie updateManyAndReturn 1554 2105 */ 1555 - export type TrackedMovieUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = { 2106 + export type TrackedMovieUpdateManyAndReturnArgs< 2107 + ExtArgs extends runtime.Types.Extensions.InternalArgs = 2108 + runtime.Types.Extensions.DefaultArgs, 2109 + > = { 1556 2110 /** 1557 2111 * Select specific fields to fetch from the TrackedMovie 1558 2112 */ 1559 - select?: Prisma.TrackedMovieSelectUpdateManyAndReturn<ExtArgs> | null 2113 + select?: Prisma.TrackedMovieSelectUpdateManyAndReturn<ExtArgs> | null; 1560 2114 /** 1561 2115 * Omit specific fields from the TrackedMovie 1562 2116 */ 1563 - omit?: Prisma.TrackedMovieOmit<ExtArgs> | null 2117 + omit?: Prisma.TrackedMovieOmit<ExtArgs> | null; 1564 2118 /** 1565 2119 * The data used to update TrackedMovies. 1566 2120 */ 1567 - data: Prisma.XOR<Prisma.TrackedMovieUpdateManyMutationInput, Prisma.TrackedMovieUncheckedUpdateManyInput> 2121 + data: Prisma.XOR< 2122 + Prisma.TrackedMovieUpdateManyMutationInput, 2123 + Prisma.TrackedMovieUncheckedUpdateManyInput 2124 + >; 1568 2125 /** 1569 2126 * Filter which TrackedMovies to update 1570 2127 */ 1571 - where?: Prisma.TrackedMovieWhereInput 2128 + where?: Prisma.TrackedMovieWhereInput; 1572 2129 /** 1573 2130 * Limit how many TrackedMovies to update. 1574 2131 */ 1575 - limit?: number 2132 + limit?: number; 1576 2133 /** 1577 2134 * Choose, which related nodes to fetch as well 1578 2135 */ 1579 - include?: Prisma.TrackedMovieIncludeUpdateManyAndReturn<ExtArgs> | null 1580 - } 2136 + include?: Prisma.TrackedMovieIncludeUpdateManyAndReturn<ExtArgs> | null; 2137 + }; 1581 2138 1582 2139 /** 1583 2140 * TrackedMovie upsert 1584 2141 */ 1585 - export type TrackedMovieUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = { 2142 + export type TrackedMovieUpsertArgs< 2143 + ExtArgs extends runtime.Types.Extensions.InternalArgs = 2144 + runtime.Types.Extensions.DefaultArgs, 2145 + > = { 1586 2146 /** 1587 2147 * Select specific fields to fetch from the TrackedMovie 1588 2148 */ 1589 - select?: Prisma.TrackedMovieSelect<ExtArgs> | null 2149 + select?: Prisma.TrackedMovieSelect<ExtArgs> | null; 1590 2150 /** 1591 2151 * Omit specific fields from the TrackedMovie 1592 2152 */ 1593 - omit?: Prisma.TrackedMovieOmit<ExtArgs> | null 2153 + omit?: Prisma.TrackedMovieOmit<ExtArgs> | null; 1594 2154 /** 1595 2155 * Choose, which related nodes to fetch as well 1596 2156 */ 1597 - include?: Prisma.TrackedMovieInclude<ExtArgs> | null 2157 + include?: Prisma.TrackedMovieInclude<ExtArgs> | null; 1598 2158 /** 1599 2159 * The filter to search for the TrackedMovie to update in case it exists. 1600 2160 */ 1601 - where: Prisma.TrackedMovieWhereUniqueInput 2161 + where: Prisma.TrackedMovieWhereUniqueInput; 1602 2162 /** 1603 2163 * In case the TrackedMovie found by the `where` argument doesn't exist, create a new TrackedMovie with this data. 1604 2164 */ 1605 - create: Prisma.XOR<Prisma.TrackedMovieCreateInput, Prisma.TrackedMovieUncheckedCreateInput> 2165 + create: Prisma.XOR< 2166 + Prisma.TrackedMovieCreateInput, 2167 + Prisma.TrackedMovieUncheckedCreateInput 2168 + >; 1606 2169 /** 1607 2170 * In case the TrackedMovie was found with the provided `where` argument, update it with this data. 1608 2171 */ 1609 - update: Prisma.XOR<Prisma.TrackedMovieUpdateInput, Prisma.TrackedMovieUncheckedUpdateInput> 1610 - } 2172 + update: Prisma.XOR< 2173 + Prisma.TrackedMovieUpdateInput, 2174 + Prisma.TrackedMovieUncheckedUpdateInput 2175 + >; 2176 + }; 1611 2177 1612 2178 /** 1613 2179 * TrackedMovie delete 1614 2180 */ 1615 - export type TrackedMovieDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = { 2181 + export type TrackedMovieDeleteArgs< 2182 + ExtArgs extends runtime.Types.Extensions.InternalArgs = 2183 + runtime.Types.Extensions.DefaultArgs, 2184 + > = { 1616 2185 /** 1617 2186 * Select specific fields to fetch from the TrackedMovie 1618 2187 */ 1619 - select?: Prisma.TrackedMovieSelect<ExtArgs> | null 2188 + select?: Prisma.TrackedMovieSelect<ExtArgs> | null; 1620 2189 /** 1621 2190 * Omit specific fields from the TrackedMovie 1622 2191 */ 1623 - omit?: Prisma.TrackedMovieOmit<ExtArgs> | null 2192 + omit?: Prisma.TrackedMovieOmit<ExtArgs> | null; 1624 2193 /** 1625 2194 * Choose, which related nodes to fetch as well 1626 2195 */ 1627 - include?: Prisma.TrackedMovieInclude<ExtArgs> | null 2196 + include?: Prisma.TrackedMovieInclude<ExtArgs> | null; 1628 2197 /** 1629 2198 * Filter which TrackedMovie to delete. 1630 2199 */ 1631 - where: Prisma.TrackedMovieWhereUniqueInput 1632 - } 2200 + where: Prisma.TrackedMovieWhereUniqueInput; 2201 + }; 1633 2202 1634 2203 /** 1635 2204 * TrackedMovie deleteMany 1636 2205 */ 1637 - export type TrackedMovieDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = { 2206 + export type TrackedMovieDeleteManyArgs< 2207 + ExtArgs extends runtime.Types.Extensions.InternalArgs = 2208 + runtime.Types.Extensions.DefaultArgs, 2209 + > = { 1638 2210 /** 1639 2211 * Filter which TrackedMovies to delete 1640 2212 */ 1641 - where?: Prisma.TrackedMovieWhereInput 2213 + where?: Prisma.TrackedMovieWhereInput; 1642 2214 /** 1643 2215 * Limit how many TrackedMovies to delete. 1644 2216 */ 1645 - limit?: number 1646 - } 2217 + limit?: number; 2218 + }; 1647 2219 1648 2220 /** 1649 2221 * TrackedMovie without action 1650 2222 */ 1651 - export type TrackedMovieDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = { 2223 + export type TrackedMovieDefaultArgs< 2224 + ExtArgs extends runtime.Types.Extensions.InternalArgs = 2225 + runtime.Types.Extensions.DefaultArgs, 2226 + > = { 1652 2227 /** 1653 2228 * Select specific fields to fetch from the TrackedMovie 1654 2229 */ 1655 - select?: Prisma.TrackedMovieSelect<ExtArgs> | null 2230 + select?: Prisma.TrackedMovieSelect<ExtArgs> | null; 1656 2231 /** 1657 2232 * Omit specific fields from the TrackedMovie 1658 2233 */ 1659 - omit?: Prisma.TrackedMovieOmit<ExtArgs> | null 2234 + omit?: Prisma.TrackedMovieOmit<ExtArgs> | null; 1660 2235 /** 1661 2236 * Choose, which related nodes to fetch as well 1662 2237 */ 1663 - include?: Prisma.TrackedMovieInclude<ExtArgs> | null 1664 - } 2238 + include?: Prisma.TrackedMovieInclude<ExtArgs> | null; 2239 + };
+916 -592
backend/src/generated/models/User.ts
··· 1 1 /* !!! This is code generated by Prisma. Do not edit directly. !!! */ 2 2 /* eslint-disable */ 3 3 // biome-ignore-all lint: generated file 4 - // @ts-nocheck 4 + // @ts-nocheck 5 5 /* 6 6 * This file exports the `User` model and its related types. 7 7 * 8 8 * 🟢 You can import this file directly. 9 9 */ 10 - import type * as runtime from "@prisma/client/runtime/client" 11 - import type * as $Enums from "../enums.js" 12 - import type * as Prisma from "../internal/prismaNamespace.js" 10 + import type * as runtime from '@prisma/client/runtime/client'; 11 + import type * as $Enums from '../enums.js'; 12 + import type * as Prisma from '../internal/prismaNamespace.js'; 13 13 14 14 /** 15 15 * Model User 16 - * 16 + * 17 17 */ 18 - export type UserModel = runtime.Types.Result.DefaultSelection<Prisma.$UserPayload> 18 + export type UserModel = 19 + runtime.Types.Result.DefaultSelection<Prisma.$UserPayload>; 19 20 20 21 export type AggregateUser = { 21 - _count: UserCountAggregateOutputType | null 22 - _min: UserMinAggregateOutputType | null 23 - _max: UserMaxAggregateOutputType | null 24 - } 22 + _count: UserCountAggregateOutputType | null; 23 + _min: UserMinAggregateOutputType | null; 24 + _max: UserMaxAggregateOutputType | null; 25 + }; 25 26 26 27 export type UserMinAggregateOutputType = { 27 - did: string | null 28 - handle: string | null 29 - displayName: string | null 30 - avatar: string | null 31 - createdAt: Date | null 32 - updatedAt: Date | null 33 - } 28 + did: string | null; 29 + handle: string | null; 30 + displayName: string | null; 31 + avatar: string | null; 32 + createdAt: Date | null; 33 + updatedAt: Date | null; 34 + }; 34 35 35 36 export type UserMaxAggregateOutputType = { 36 - did: string | null 37 - handle: string | null 38 - displayName: string | null 39 - avatar: string | null 40 - createdAt: Date | null 41 - updatedAt: Date | null 42 - } 37 + did: string | null; 38 + handle: string | null; 39 + displayName: string | null; 40 + avatar: string | null; 41 + createdAt: Date | null; 42 + updatedAt: Date | null; 43 + }; 43 44 44 45 export type UserCountAggregateOutputType = { 45 - did: number 46 - handle: number 47 - displayName: number 48 - avatar: number 49 - createdAt: number 50 - updatedAt: number 51 - _all: number 52 - } 53 - 46 + did: number; 47 + handle: number; 48 + displayName: number; 49 + avatar: number; 50 + createdAt: number; 51 + updatedAt: number; 52 + _all: number; 53 + }; 54 54 55 55 export type UserMinAggregateInputType = { 56 - did?: true 57 - handle?: true 58 - displayName?: true 59 - avatar?: true 60 - createdAt?: true 61 - updatedAt?: true 62 - } 56 + did?: true; 57 + handle?: true; 58 + displayName?: true; 59 + avatar?: true; 60 + createdAt?: true; 61 + updatedAt?: true; 62 + }; 63 63 64 64 export type UserMaxAggregateInputType = { 65 - did?: true 66 - handle?: true 67 - displayName?: true 68 - avatar?: true 69 - createdAt?: true 70 - updatedAt?: true 71 - } 65 + did?: true; 66 + handle?: true; 67 + displayName?: true; 68 + avatar?: true; 69 + createdAt?: true; 70 + updatedAt?: true; 71 + }; 72 72 73 73 export type UserCountAggregateInputType = { 74 - did?: true 75 - handle?: true 76 - displayName?: true 77 - avatar?: true 78 - createdAt?: true 79 - updatedAt?: true 80 - _all?: true 81 - } 74 + did?: true; 75 + handle?: true; 76 + displayName?: true; 77 + avatar?: true; 78 + createdAt?: true; 79 + updatedAt?: true; 80 + _all?: true; 81 + }; 82 82 83 - export type UserAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = { 83 + export type UserAggregateArgs< 84 + ExtArgs extends runtime.Types.Extensions.InternalArgs = 85 + runtime.Types.Extensions.DefaultArgs, 86 + > = { 84 87 /** 85 88 * Filter which User to aggregate. 86 89 */ 87 - where?: Prisma.UserWhereInput 90 + where?: Prisma.UserWhereInput; 88 91 /** 89 92 * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} 90 - * 93 + * 91 94 * Determine the order of Users to fetch. 92 95 */ 93 - orderBy?: Prisma.UserOrderByWithRelationInput | Prisma.UserOrderByWithRelationInput[] 96 + orderBy?: 97 + | Prisma.UserOrderByWithRelationInput 98 + | Prisma.UserOrderByWithRelationInput[]; 94 99 /** 95 100 * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} 96 - * 101 + * 97 102 * Sets the start position 98 103 */ 99 - cursor?: Prisma.UserWhereUniqueInput 104 + cursor?: Prisma.UserWhereUniqueInput; 100 105 /** 101 106 * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} 102 - * 107 + * 103 108 * Take `±n` Users from the position of the cursor. 104 109 */ 105 - take?: number 110 + take?: number; 106 111 /** 107 112 * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} 108 - * 113 + * 109 114 * Skip the first `n` Users. 110 115 */ 111 - skip?: number 116 + skip?: number; 112 117 /** 113 118 * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} 114 - * 119 + * 115 120 * Count returned Users 116 - **/ 117 - _count?: true | UserCountAggregateInputType 121 + **/ 122 + _count?: true | UserCountAggregateInputType; 118 123 /** 119 124 * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} 120 - * 125 + * 121 126 * Select which fields to find the minimum value 122 - **/ 123 - _min?: UserMinAggregateInputType 127 + **/ 128 + _min?: UserMinAggregateInputType; 124 129 /** 125 130 * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} 126 - * 131 + * 127 132 * Select which fields to find the maximum value 128 - **/ 129 - _max?: UserMaxAggregateInputType 130 - } 133 + **/ 134 + _max?: UserMaxAggregateInputType; 135 + }; 131 136 132 137 export type GetUserAggregateType<T extends UserAggregateArgs> = { 133 - [P in keyof T & keyof AggregateUser]: P extends '_count' | 'count' 138 + [P in keyof T & keyof AggregateUser]: P extends '_count' | 'count' 134 139 ? T[P] extends true 135 140 ? number 136 141 : Prisma.GetScalarType<T[P], AggregateUser[P]> 137 - : Prisma.GetScalarType<T[P], AggregateUser[P]> 138 - } 142 + : Prisma.GetScalarType<T[P], AggregateUser[P]>; 143 + }; 139 144 140 - 141 - 142 - 143 - export type UserGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = { 144 - where?: Prisma.UserWhereInput 145 - orderBy?: Prisma.UserOrderByWithAggregationInput | Prisma.UserOrderByWithAggregationInput[] 146 - by: Prisma.UserScalarFieldEnum[] | Prisma.UserScalarFieldEnum 147 - having?: Prisma.UserScalarWhereWithAggregatesInput 148 - take?: number 149 - skip?: number 150 - _count?: UserCountAggregateInputType | true 151 - _min?: UserMinAggregateInputType 152 - _max?: UserMaxAggregateInputType 153 - } 145 + export type UserGroupByArgs< 146 + ExtArgs extends runtime.Types.Extensions.InternalArgs = 147 + runtime.Types.Extensions.DefaultArgs, 148 + > = { 149 + where?: Prisma.UserWhereInput; 150 + orderBy?: 151 + | Prisma.UserOrderByWithAggregationInput 152 + | Prisma.UserOrderByWithAggregationInput[]; 153 + by: Prisma.UserScalarFieldEnum[] | Prisma.UserScalarFieldEnum; 154 + having?: Prisma.UserScalarWhereWithAggregatesInput; 155 + take?: number; 156 + skip?: number; 157 + _count?: UserCountAggregateInputType | true; 158 + _min?: UserMinAggregateInputType; 159 + _max?: UserMaxAggregateInputType; 160 + }; 154 161 155 162 export type UserGroupByOutputType = { 156 - did: string 157 - handle: string 158 - displayName: string | null 159 - avatar: string | null 160 - createdAt: Date 161 - updatedAt: Date 162 - _count: UserCountAggregateOutputType | null 163 - _min: UserMinAggregateOutputType | null 164 - _max: UserMaxAggregateOutputType | null 165 - } 163 + did: string; 164 + handle: string; 165 + displayName: string | null; 166 + avatar: string | null; 167 + createdAt: Date; 168 + updatedAt: Date; 169 + _count: UserCountAggregateOutputType | null; 170 + _min: UserMinAggregateOutputType | null; 171 + _max: UserMaxAggregateOutputType | null; 172 + }; 166 173 167 174 type GetUserGroupByPayload<T extends UserGroupByArgs> = Prisma.PrismaPromise< 168 175 Array< 169 - Prisma.PickEnumerable<UserGroupByOutputType, T['by']> & 170 - { 171 - [P in ((keyof T) & (keyof UserGroupByOutputType))]: P extends '_count' 172 - ? T[P] extends boolean 173 - ? number 174 - : Prisma.GetScalarType<T[P], UserGroupByOutputType[P]> 176 + Prisma.PickEnumerable<UserGroupByOutputType, T['by']> & { 177 + [P in keyof T & keyof UserGroupByOutputType]: P extends '_count' 178 + ? T[P] extends boolean 179 + ? number 175 180 : Prisma.GetScalarType<T[P], UserGroupByOutputType[P]> 176 - } 177 - > 181 + : Prisma.GetScalarType<T[P], UserGroupByOutputType[P]>; 182 + } 178 183 > 179 - 180 - 184 + >; 181 185 182 186 export type UserWhereInput = { 183 - AND?: Prisma.UserWhereInput | Prisma.UserWhereInput[] 184 - OR?: Prisma.UserWhereInput[] 185 - NOT?: Prisma.UserWhereInput | Prisma.UserWhereInput[] 186 - did?: Prisma.StringFilter<"User"> | string 187 - handle?: Prisma.StringFilter<"User"> | string 188 - displayName?: Prisma.StringNullableFilter<"User"> | string | null 189 - avatar?: Prisma.StringNullableFilter<"User"> | string | null 190 - createdAt?: Prisma.DateTimeFilter<"User"> | Date | string 191 - updatedAt?: Prisma.DateTimeFilter<"User"> | Date | string 192 - trackedMovies?: Prisma.TrackedMovieListRelationFilter 193 - } 187 + AND?: Prisma.UserWhereInput | Prisma.UserWhereInput[]; 188 + OR?: Prisma.UserWhereInput[]; 189 + NOT?: Prisma.UserWhereInput | Prisma.UserWhereInput[]; 190 + did?: Prisma.StringFilter<'User'> | string; 191 + handle?: Prisma.StringFilter<'User'> | string; 192 + displayName?: Prisma.StringNullableFilter<'User'> | string | null; 193 + avatar?: Prisma.StringNullableFilter<'User'> | string | null; 194 + createdAt?: Prisma.DateTimeFilter<'User'> | Date | string; 195 + updatedAt?: Prisma.DateTimeFilter<'User'> | Date | string; 196 + trackedMovies?: Prisma.TrackedMovieListRelationFilter; 197 + }; 194 198 195 199 export type UserOrderByWithRelationInput = { 196 - did?: Prisma.SortOrder 197 - handle?: Prisma.SortOrder 198 - displayName?: Prisma.SortOrderInput | Prisma.SortOrder 199 - avatar?: Prisma.SortOrderInput | Prisma.SortOrder 200 - createdAt?: Prisma.SortOrder 201 - updatedAt?: Prisma.SortOrder 202 - trackedMovies?: Prisma.TrackedMovieOrderByRelationAggregateInput 203 - } 200 + did?: Prisma.SortOrder; 201 + handle?: Prisma.SortOrder; 202 + displayName?: Prisma.SortOrderInput | Prisma.SortOrder; 203 + avatar?: Prisma.SortOrderInput | Prisma.SortOrder; 204 + createdAt?: Prisma.SortOrder; 205 + updatedAt?: Prisma.SortOrder; 206 + trackedMovies?: Prisma.TrackedMovieOrderByRelationAggregateInput; 207 + }; 204 208 205 - export type UserWhereUniqueInput = Prisma.AtLeast<{ 206 - did?: string 207 - handle?: string 208 - AND?: Prisma.UserWhereInput | Prisma.UserWhereInput[] 209 - OR?: Prisma.UserWhereInput[] 210 - NOT?: Prisma.UserWhereInput | Prisma.UserWhereInput[] 211 - displayName?: Prisma.StringNullableFilter<"User"> | string | null 212 - avatar?: Prisma.StringNullableFilter<"User"> | string | null 213 - createdAt?: Prisma.DateTimeFilter<"User"> | Date | string 214 - updatedAt?: Prisma.DateTimeFilter<"User"> | Date | string 215 - trackedMovies?: Prisma.TrackedMovieListRelationFilter 216 - }, "did" | "handle"> 209 + export type UserWhereUniqueInput = Prisma.AtLeast< 210 + { 211 + did?: string; 212 + handle?: string; 213 + AND?: Prisma.UserWhereInput | Prisma.UserWhereInput[]; 214 + OR?: Prisma.UserWhereInput[]; 215 + NOT?: Prisma.UserWhereInput | Prisma.UserWhereInput[]; 216 + displayName?: Prisma.StringNullableFilter<'User'> | string | null; 217 + avatar?: Prisma.StringNullableFilter<'User'> | string | null; 218 + createdAt?: Prisma.DateTimeFilter<'User'> | Date | string; 219 + updatedAt?: Prisma.DateTimeFilter<'User'> | Date | string; 220 + trackedMovies?: Prisma.TrackedMovieListRelationFilter; 221 + }, 222 + 'did' | 'handle' 223 + >; 217 224 218 225 export type UserOrderByWithAggregationInput = { 219 - did?: Prisma.SortOrder 220 - handle?: Prisma.SortOrder 221 - displayName?: Prisma.SortOrderInput | Prisma.SortOrder 222 - avatar?: Prisma.SortOrderInput | Prisma.SortOrder 223 - createdAt?: Prisma.SortOrder 224 - updatedAt?: Prisma.SortOrder 225 - _count?: Prisma.UserCountOrderByAggregateInput 226 - _max?: Prisma.UserMaxOrderByAggregateInput 227 - _min?: Prisma.UserMinOrderByAggregateInput 228 - } 226 + did?: Prisma.SortOrder; 227 + handle?: Prisma.SortOrder; 228 + displayName?: Prisma.SortOrderInput | Prisma.SortOrder; 229 + avatar?: Prisma.SortOrderInput | Prisma.SortOrder; 230 + createdAt?: Prisma.SortOrder; 231 + updatedAt?: Prisma.SortOrder; 232 + _count?: Prisma.UserCountOrderByAggregateInput; 233 + _max?: Prisma.UserMaxOrderByAggregateInput; 234 + _min?: Prisma.UserMinOrderByAggregateInput; 235 + }; 229 236 230 237 export type UserScalarWhereWithAggregatesInput = { 231 - AND?: Prisma.UserScalarWhereWithAggregatesInput | Prisma.UserScalarWhereWithAggregatesInput[] 232 - OR?: Prisma.UserScalarWhereWithAggregatesInput[] 233 - NOT?: Prisma.UserScalarWhereWithAggregatesInput | Prisma.UserScalarWhereWithAggregatesInput[] 234 - did?: Prisma.StringWithAggregatesFilter<"User"> | string 235 - handle?: Prisma.StringWithAggregatesFilter<"User"> | string 236 - displayName?: Prisma.StringNullableWithAggregatesFilter<"User"> | string | null 237 - avatar?: Prisma.StringNullableWithAggregatesFilter<"User"> | string | null 238 - createdAt?: Prisma.DateTimeWithAggregatesFilter<"User"> | Date | string 239 - updatedAt?: Prisma.DateTimeWithAggregatesFilter<"User"> | Date | string 240 - } 238 + AND?: 239 + | Prisma.UserScalarWhereWithAggregatesInput 240 + | Prisma.UserScalarWhereWithAggregatesInput[]; 241 + OR?: Prisma.UserScalarWhereWithAggregatesInput[]; 242 + NOT?: 243 + | Prisma.UserScalarWhereWithAggregatesInput 244 + | Prisma.UserScalarWhereWithAggregatesInput[]; 245 + did?: Prisma.StringWithAggregatesFilter<'User'> | string; 246 + handle?: Prisma.StringWithAggregatesFilter<'User'> | string; 247 + displayName?: 248 + | Prisma.StringNullableWithAggregatesFilter<'User'> 249 + | string 250 + | null; 251 + avatar?: Prisma.StringNullableWithAggregatesFilter<'User'> | string | null; 252 + createdAt?: Prisma.DateTimeWithAggregatesFilter<'User'> | Date | string; 253 + updatedAt?: Prisma.DateTimeWithAggregatesFilter<'User'> | Date | string; 254 + }; 241 255 242 256 export type UserCreateInput = { 243 - did: string 244 - handle: string 245 - displayName?: string | null 246 - avatar?: string | null 247 - createdAt?: Date | string 248 - updatedAt?: Date | string 249 - trackedMovies?: Prisma.TrackedMovieCreateNestedManyWithoutUserInput 250 - } 257 + did: string; 258 + handle: string; 259 + displayName?: string | null; 260 + avatar?: string | null; 261 + createdAt?: Date | string; 262 + updatedAt?: Date | string; 263 + trackedMovies?: Prisma.TrackedMovieCreateNestedManyWithoutUserInput; 264 + }; 251 265 252 266 export type UserUncheckedCreateInput = { 253 - did: string 254 - handle: string 255 - displayName?: string | null 256 - avatar?: string | null 257 - createdAt?: Date | string 258 - updatedAt?: Date | string 259 - trackedMovies?: Prisma.TrackedMovieUncheckedCreateNestedManyWithoutUserInput 260 - } 267 + did: string; 268 + handle: string; 269 + displayName?: string | null; 270 + avatar?: string | null; 271 + createdAt?: Date | string; 272 + updatedAt?: Date | string; 273 + trackedMovies?: Prisma.TrackedMovieUncheckedCreateNestedManyWithoutUserInput; 274 + }; 261 275 262 276 export type UserUpdateInput = { 263 - did?: Prisma.StringFieldUpdateOperationsInput | string 264 - handle?: Prisma.StringFieldUpdateOperationsInput | string 265 - displayName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null 266 - avatar?: Prisma.NullableStringFieldUpdateOperationsInput | string | null 267 - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string 268 - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string 269 - trackedMovies?: Prisma.TrackedMovieUpdateManyWithoutUserNestedInput 270 - } 277 + did?: Prisma.StringFieldUpdateOperationsInput | string; 278 + handle?: Prisma.StringFieldUpdateOperationsInput | string; 279 + displayName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null; 280 + avatar?: Prisma.NullableStringFieldUpdateOperationsInput | string | null; 281 + createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string; 282 + updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string; 283 + trackedMovies?: Prisma.TrackedMovieUpdateManyWithoutUserNestedInput; 284 + }; 271 285 272 286 export type UserUncheckedUpdateInput = { 273 - did?: Prisma.StringFieldUpdateOperationsInput | string 274 - handle?: Prisma.StringFieldUpdateOperationsInput | string 275 - displayName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null 276 - avatar?: Prisma.NullableStringFieldUpdateOperationsInput | string | null 277 - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string 278 - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string 279 - trackedMovies?: Prisma.TrackedMovieUncheckedUpdateManyWithoutUserNestedInput 280 - } 287 + did?: Prisma.StringFieldUpdateOperationsInput | string; 288 + handle?: Prisma.StringFieldUpdateOperationsInput | string; 289 + displayName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null; 290 + avatar?: Prisma.NullableStringFieldUpdateOperationsInput | string | null; 291 + createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string; 292 + updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string; 293 + trackedMovies?: Prisma.TrackedMovieUncheckedUpdateManyWithoutUserNestedInput; 294 + }; 281 295 282 296 export type UserCreateManyInput = { 283 - did: string 284 - handle: string 285 - displayName?: string | null 286 - avatar?: string | null 287 - createdAt?: Date | string 288 - updatedAt?: Date | string 289 - } 297 + did: string; 298 + handle: string; 299 + displayName?: string | null; 300 + avatar?: string | null; 301 + createdAt?: Date | string; 302 + updatedAt?: Date | string; 303 + }; 290 304 291 305 export type UserUpdateManyMutationInput = { 292 - did?: Prisma.StringFieldUpdateOperationsInput | string 293 - handle?: Prisma.StringFieldUpdateOperationsInput | string 294 - displayName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null 295 - avatar?: Prisma.NullableStringFieldUpdateOperationsInput | string | null 296 - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string 297 - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string 298 - } 306 + did?: Prisma.StringFieldUpdateOperationsInput | string; 307 + handle?: Prisma.StringFieldUpdateOperationsInput | string; 308 + displayName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null; 309 + avatar?: Prisma.NullableStringFieldUpdateOperationsInput | string | null; 310 + createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string; 311 + updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string; 312 + }; 299 313 300 314 export type UserUncheckedUpdateManyInput = { 301 - did?: Prisma.StringFieldUpdateOperationsInput | string 302 - handle?: Prisma.StringFieldUpdateOperationsInput | string 303 - displayName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null 304 - avatar?: Prisma.NullableStringFieldUpdateOperationsInput | string | null 305 - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string 306 - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string 307 - } 315 + did?: Prisma.StringFieldUpdateOperationsInput | string; 316 + handle?: Prisma.StringFieldUpdateOperationsInput | string; 317 + displayName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null; 318 + avatar?: Prisma.NullableStringFieldUpdateOperationsInput | string | null; 319 + createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string; 320 + updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string; 321 + }; 308 322 309 323 export type UserCountOrderByAggregateInput = { 310 - did?: Prisma.SortOrder 311 - handle?: Prisma.SortOrder 312 - displayName?: Prisma.SortOrder 313 - avatar?: Prisma.SortOrder 314 - createdAt?: Prisma.SortOrder 315 - updatedAt?: Prisma.SortOrder 316 - } 324 + did?: Prisma.SortOrder; 325 + handle?: Prisma.SortOrder; 326 + displayName?: Prisma.SortOrder; 327 + avatar?: Prisma.SortOrder; 328 + createdAt?: Prisma.SortOrder; 329 + updatedAt?: Prisma.SortOrder; 330 + }; 317 331 318 332 export type UserMaxOrderByAggregateInput = { 319 - did?: Prisma.SortOrder 320 - handle?: Prisma.SortOrder 321 - displayName?: Prisma.SortOrder 322 - avatar?: Prisma.SortOrder 323 - createdAt?: Prisma.SortOrder 324 - updatedAt?: Prisma.SortOrder 325 - } 333 + did?: Prisma.SortOrder; 334 + handle?: Prisma.SortOrder; 335 + displayName?: Prisma.SortOrder; 336 + avatar?: Prisma.SortOrder; 337 + createdAt?: Prisma.SortOrder; 338 + updatedAt?: Prisma.SortOrder; 339 + }; 326 340 327 341 export type UserMinOrderByAggregateInput = { 328 - did?: Prisma.SortOrder 329 - handle?: Prisma.SortOrder 330 - displayName?: Prisma.SortOrder 331 - avatar?: Prisma.SortOrder 332 - createdAt?: Prisma.SortOrder 333 - updatedAt?: Prisma.SortOrder 334 - } 342 + did?: Prisma.SortOrder; 343 + handle?: Prisma.SortOrder; 344 + displayName?: Prisma.SortOrder; 345 + avatar?: Prisma.SortOrder; 346 + createdAt?: Prisma.SortOrder; 347 + updatedAt?: Prisma.SortOrder; 348 + }; 335 349 336 350 export type UserScalarRelationFilter = { 337 - is?: Prisma.UserWhereInput 338 - isNot?: Prisma.UserWhereInput 339 - } 351 + is?: Prisma.UserWhereInput; 352 + isNot?: Prisma.UserWhereInput; 353 + }; 340 354 341 355 export type StringFieldUpdateOperationsInput = { 342 - set?: string 343 - } 356 + set?: string; 357 + }; 344 358 345 359 export type NullableStringFieldUpdateOperationsInput = { 346 - set?: string | null 347 - } 360 + set?: string | null; 361 + }; 348 362 349 363 export type DateTimeFieldUpdateOperationsInput = { 350 - set?: Date | string 351 - } 364 + set?: Date | string; 365 + }; 352 366 353 367 export type UserCreateNestedOneWithoutTrackedMoviesInput = { 354 - create?: Prisma.XOR<Prisma.UserCreateWithoutTrackedMoviesInput, Prisma.UserUncheckedCreateWithoutTrackedMoviesInput> 355 - connectOrCreate?: Prisma.UserCreateOrConnectWithoutTrackedMoviesInput 356 - connect?: Prisma.UserWhereUniqueInput 357 - } 368 + create?: Prisma.XOR< 369 + Prisma.UserCreateWithoutTrackedMoviesInput, 370 + Prisma.UserUncheckedCreateWithoutTrackedMoviesInput 371 + >; 372 + connectOrCreate?: Prisma.UserCreateOrConnectWithoutTrackedMoviesInput; 373 + connect?: Prisma.UserWhereUniqueInput; 374 + }; 358 375 359 376 export type UserUpdateOneRequiredWithoutTrackedMoviesNestedInput = { 360 - create?: Prisma.XOR<Prisma.UserCreateWithoutTrackedMoviesInput, Prisma.UserUncheckedCreateWithoutTrackedMoviesInput> 361 - connectOrCreate?: Prisma.UserCreateOrConnectWithoutTrackedMoviesInput 362 - upsert?: Prisma.UserUpsertWithoutTrackedMoviesInput 363 - connect?: Prisma.UserWhereUniqueInput 364 - update?: Prisma.XOR<Prisma.XOR<Prisma.UserUpdateToOneWithWhereWithoutTrackedMoviesInput, Prisma.UserUpdateWithoutTrackedMoviesInput>, Prisma.UserUncheckedUpdateWithoutTrackedMoviesInput> 365 - } 377 + create?: Prisma.XOR< 378 + Prisma.UserCreateWithoutTrackedMoviesInput, 379 + Prisma.UserUncheckedCreateWithoutTrackedMoviesInput 380 + >; 381 + connectOrCreate?: Prisma.UserCreateOrConnectWithoutTrackedMoviesInput; 382 + upsert?: Prisma.UserUpsertWithoutTrackedMoviesInput; 383 + connect?: Prisma.UserWhereUniqueInput; 384 + update?: Prisma.XOR< 385 + Prisma.XOR< 386 + Prisma.UserUpdateToOneWithWhereWithoutTrackedMoviesInput, 387 + Prisma.UserUpdateWithoutTrackedMoviesInput 388 + >, 389 + Prisma.UserUncheckedUpdateWithoutTrackedMoviesInput 390 + >; 391 + }; 366 392 367 393 export type UserCreateWithoutTrackedMoviesInput = { 368 - did: string 369 - handle: string 370 - displayName?: string | null 371 - avatar?: string | null 372 - createdAt?: Date | string 373 - updatedAt?: Date | string 374 - } 394 + did: string; 395 + handle: string; 396 + displayName?: string | null; 397 + avatar?: string | null; 398 + createdAt?: Date | string; 399 + updatedAt?: Date | string; 400 + }; 375 401 376 402 export type UserUncheckedCreateWithoutTrackedMoviesInput = { 377 - did: string 378 - handle: string 379 - displayName?: string | null 380 - avatar?: string | null 381 - createdAt?: Date | string 382 - updatedAt?: Date | string 383 - } 403 + did: string; 404 + handle: string; 405 + displayName?: string | null; 406 + avatar?: string | null; 407 + createdAt?: Date | string; 408 + updatedAt?: Date | string; 409 + }; 384 410 385 411 export type UserCreateOrConnectWithoutTrackedMoviesInput = { 386 - where: Prisma.UserWhereUniqueInput 387 - create: Prisma.XOR<Prisma.UserCreateWithoutTrackedMoviesInput, Prisma.UserUncheckedCreateWithoutTrackedMoviesInput> 388 - } 412 + where: Prisma.UserWhereUniqueInput; 413 + create: Prisma.XOR< 414 + Prisma.UserCreateWithoutTrackedMoviesInput, 415 + Prisma.UserUncheckedCreateWithoutTrackedMoviesInput 416 + >; 417 + }; 389 418 390 419 export type UserUpsertWithoutTrackedMoviesInput = { 391 - update: Prisma.XOR<Prisma.UserUpdateWithoutTrackedMoviesInput, Prisma.UserUncheckedUpdateWithoutTrackedMoviesInput> 392 - create: Prisma.XOR<Prisma.UserCreateWithoutTrackedMoviesInput, Prisma.UserUncheckedCreateWithoutTrackedMoviesInput> 393 - where?: Prisma.UserWhereInput 394 - } 420 + update: Prisma.XOR< 421 + Prisma.UserUpdateWithoutTrackedMoviesInput, 422 + Prisma.UserUncheckedUpdateWithoutTrackedMoviesInput 423 + >; 424 + create: Prisma.XOR< 425 + Prisma.UserCreateWithoutTrackedMoviesInput, 426 + Prisma.UserUncheckedCreateWithoutTrackedMoviesInput 427 + >; 428 + where?: Prisma.UserWhereInput; 429 + }; 395 430 396 431 export type UserUpdateToOneWithWhereWithoutTrackedMoviesInput = { 397 - where?: Prisma.UserWhereInput 398 - data: Prisma.XOR<Prisma.UserUpdateWithoutTrackedMoviesInput, Prisma.UserUncheckedUpdateWithoutTrackedMoviesInput> 399 - } 432 + where?: Prisma.UserWhereInput; 433 + data: Prisma.XOR< 434 + Prisma.UserUpdateWithoutTrackedMoviesInput, 435 + Prisma.UserUncheckedUpdateWithoutTrackedMoviesInput 436 + >; 437 + }; 400 438 401 439 export type UserUpdateWithoutTrackedMoviesInput = { 402 - did?: Prisma.StringFieldUpdateOperationsInput | string 403 - handle?: Prisma.StringFieldUpdateOperationsInput | string 404 - displayName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null 405 - avatar?: Prisma.NullableStringFieldUpdateOperationsInput | string | null 406 - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string 407 - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string 408 - } 440 + did?: Prisma.StringFieldUpdateOperationsInput | string; 441 + handle?: Prisma.StringFieldUpdateOperationsInput | string; 442 + displayName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null; 443 + avatar?: Prisma.NullableStringFieldUpdateOperationsInput | string | null; 444 + createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string; 445 + updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string; 446 + }; 409 447 410 448 export type UserUncheckedUpdateWithoutTrackedMoviesInput = { 411 - did?: Prisma.StringFieldUpdateOperationsInput | string 412 - handle?: Prisma.StringFieldUpdateOperationsInput | string 413 - displayName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null 414 - avatar?: Prisma.NullableStringFieldUpdateOperationsInput | string | null 415 - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string 416 - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string 417 - } 418 - 449 + did?: Prisma.StringFieldUpdateOperationsInput | string; 450 + handle?: Prisma.StringFieldUpdateOperationsInput | string; 451 + displayName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null; 452 + avatar?: Prisma.NullableStringFieldUpdateOperationsInput | string | null; 453 + createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string; 454 + updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string; 455 + }; 419 456 420 457 /** 421 458 * Count Type UserCountOutputType 422 459 */ 423 460 424 461 export type UserCountOutputType = { 425 - trackedMovies: number 426 - } 462 + trackedMovies: number; 463 + }; 427 464 428 - export type UserCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = { 429 - trackedMovies?: boolean | UserCountOutputTypeCountTrackedMoviesArgs 430 - } 465 + export type UserCountOutputTypeSelect< 466 + ExtArgs extends runtime.Types.Extensions.InternalArgs = 467 + runtime.Types.Extensions.DefaultArgs, 468 + > = { 469 + trackedMovies?: boolean | UserCountOutputTypeCountTrackedMoviesArgs; 470 + }; 431 471 432 472 /** 433 473 * UserCountOutputType without action 434 474 */ 435 - export type UserCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = { 475 + export type UserCountOutputTypeDefaultArgs< 476 + ExtArgs extends runtime.Types.Extensions.InternalArgs = 477 + runtime.Types.Extensions.DefaultArgs, 478 + > = { 436 479 /** 437 480 * Select specific fields to fetch from the UserCountOutputType 438 481 */ 439 - select?: Prisma.UserCountOutputTypeSelect<ExtArgs> | null 440 - } 482 + select?: Prisma.UserCountOutputTypeSelect<ExtArgs> | null; 483 + }; 441 484 442 485 /** 443 486 * UserCountOutputType without action 444 487 */ 445 - export type UserCountOutputTypeCountTrackedMoviesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = { 446 - where?: Prisma.TrackedMovieWhereInput 447 - } 488 + export type UserCountOutputTypeCountTrackedMoviesArgs< 489 + ExtArgs extends runtime.Types.Extensions.InternalArgs = 490 + runtime.Types.Extensions.DefaultArgs, 491 + > = { 492 + where?: Prisma.TrackedMovieWhereInput; 493 + }; 448 494 449 - 450 - export type UserSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{ 451 - did?: boolean 452 - handle?: boolean 453 - displayName?: boolean 454 - avatar?: boolean 455 - createdAt?: boolean 456 - updatedAt?: boolean 457 - trackedMovies?: boolean | Prisma.User$trackedMoviesArgs<ExtArgs> 458 - _count?: boolean | Prisma.UserCountOutputTypeDefaultArgs<ExtArgs> 459 - }, ExtArgs["result"]["user"]> 495 + export type UserSelect< 496 + ExtArgs extends runtime.Types.Extensions.InternalArgs = 497 + runtime.Types.Extensions.DefaultArgs, 498 + > = runtime.Types.Extensions.GetSelect< 499 + { 500 + did?: boolean; 501 + handle?: boolean; 502 + displayName?: boolean; 503 + avatar?: boolean; 504 + createdAt?: boolean; 505 + updatedAt?: boolean; 506 + trackedMovies?: boolean | Prisma.User$trackedMoviesArgs<ExtArgs>; 507 + _count?: boolean | Prisma.UserCountOutputTypeDefaultArgs<ExtArgs>; 508 + }, 509 + ExtArgs['result']['user'] 510 + >; 460 511 461 - export type UserSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{ 462 - did?: boolean 463 - handle?: boolean 464 - displayName?: boolean 465 - avatar?: boolean 466 - createdAt?: boolean 467 - updatedAt?: boolean 468 - }, ExtArgs["result"]["user"]> 512 + export type UserSelectCreateManyAndReturn< 513 + ExtArgs extends runtime.Types.Extensions.InternalArgs = 514 + runtime.Types.Extensions.DefaultArgs, 515 + > = runtime.Types.Extensions.GetSelect< 516 + { 517 + did?: boolean; 518 + handle?: boolean; 519 + displayName?: boolean; 520 + avatar?: boolean; 521 + createdAt?: boolean; 522 + updatedAt?: boolean; 523 + }, 524 + ExtArgs['result']['user'] 525 + >; 469 526 470 - export type UserSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{ 471 - did?: boolean 472 - handle?: boolean 473 - displayName?: boolean 474 - avatar?: boolean 475 - createdAt?: boolean 476 - updatedAt?: boolean 477 - }, ExtArgs["result"]["user"]> 527 + export type UserSelectUpdateManyAndReturn< 528 + ExtArgs extends runtime.Types.Extensions.InternalArgs = 529 + runtime.Types.Extensions.DefaultArgs, 530 + > = runtime.Types.Extensions.GetSelect< 531 + { 532 + did?: boolean; 533 + handle?: boolean; 534 + displayName?: boolean; 535 + avatar?: boolean; 536 + createdAt?: boolean; 537 + updatedAt?: boolean; 538 + }, 539 + ExtArgs['result']['user'] 540 + >; 478 541 479 542 export type UserSelectScalar = { 480 - did?: boolean 481 - handle?: boolean 482 - displayName?: boolean 483 - avatar?: boolean 484 - createdAt?: boolean 485 - updatedAt?: boolean 486 - } 543 + did?: boolean; 544 + handle?: boolean; 545 + displayName?: boolean; 546 + avatar?: boolean; 547 + createdAt?: boolean; 548 + updatedAt?: boolean; 549 + }; 487 550 488 - export type UserOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"did" | "handle" | "displayName" | "avatar" | "createdAt" | "updatedAt", ExtArgs["result"]["user"]> 489 - export type UserInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = { 490 - trackedMovies?: boolean | Prisma.User$trackedMoviesArgs<ExtArgs> 491 - _count?: boolean | Prisma.UserCountOutputTypeDefaultArgs<ExtArgs> 492 - } 493 - export type UserIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {} 494 - export type UserIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {} 551 + export type UserOmit< 552 + ExtArgs extends runtime.Types.Extensions.InternalArgs = 553 + runtime.Types.Extensions.DefaultArgs, 554 + > = runtime.Types.Extensions.GetOmit< 555 + 'did' | 'handle' | 'displayName' | 'avatar' | 'createdAt' | 'updatedAt', 556 + ExtArgs['result']['user'] 557 + >; 558 + export type UserInclude< 559 + ExtArgs extends runtime.Types.Extensions.InternalArgs = 560 + runtime.Types.Extensions.DefaultArgs, 561 + > = { 562 + trackedMovies?: boolean | Prisma.User$trackedMoviesArgs<ExtArgs>; 563 + _count?: boolean | Prisma.UserCountOutputTypeDefaultArgs<ExtArgs>; 564 + }; 565 + export type UserIncludeCreateManyAndReturn< 566 + ExtArgs extends runtime.Types.Extensions.InternalArgs = 567 + runtime.Types.Extensions.DefaultArgs, 568 + > = {}; 569 + export type UserIncludeUpdateManyAndReturn< 570 + ExtArgs extends runtime.Types.Extensions.InternalArgs = 571 + runtime.Types.Extensions.DefaultArgs, 572 + > = {}; 495 573 496 - export type $UserPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = { 497 - name: "User" 574 + export type $UserPayload< 575 + ExtArgs extends runtime.Types.Extensions.InternalArgs = 576 + runtime.Types.Extensions.DefaultArgs, 577 + > = { 578 + name: 'User'; 498 579 objects: { 499 - trackedMovies: Prisma.$TrackedMoviePayload<ExtArgs>[] 500 - } 501 - scalars: runtime.Types.Extensions.GetPayloadResult<{ 502 - did: string 503 - handle: string 504 - displayName: string | null 505 - avatar: string | null 506 - createdAt: Date 507 - updatedAt: Date 508 - }, ExtArgs["result"]["user"]> 509 - composites: {} 510 - } 580 + trackedMovies: Prisma.$TrackedMoviePayload<ExtArgs>[]; 581 + }; 582 + scalars: runtime.Types.Extensions.GetPayloadResult< 583 + { 584 + did: string; 585 + handle: string; 586 + displayName: string | null; 587 + avatar: string | null; 588 + createdAt: Date; 589 + updatedAt: Date; 590 + }, 591 + ExtArgs['result']['user'] 592 + >; 593 + composites: {}; 594 + }; 511 595 512 - export type UserGetPayload<S extends boolean | null | undefined | UserDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$UserPayload, S> 596 + export type UserGetPayload< 597 + S extends boolean | null | undefined | UserDefaultArgs, 598 + > = runtime.Types.Result.GetResult<Prisma.$UserPayload, S>; 513 599 514 - export type UserCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = 515 - Omit<UserFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & { 516 - select?: UserCountAggregateInputType | true 517 - } 600 + export type UserCountArgs< 601 + ExtArgs extends runtime.Types.Extensions.InternalArgs = 602 + runtime.Types.Extensions.DefaultArgs, 603 + > = Omit<UserFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & { 604 + select?: UserCountAggregateInputType | true; 605 + }; 518 606 519 - export interface UserDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> { 520 - [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['User'], meta: { name: 'User' } } 607 + export interface UserDelegate< 608 + ExtArgs extends runtime.Types.Extensions.InternalArgs = 609 + runtime.Types.Extensions.DefaultArgs, 610 + GlobalOmitOptions = {}, 611 + > { 612 + [K: symbol]: { 613 + types: Prisma.TypeMap<ExtArgs>['model']['User']; 614 + meta: { name: 'User' }; 615 + }; 521 616 /** 522 617 * Find zero or one User that matches the filter. 523 618 * @param {UserFindUniqueArgs} args - Arguments to find a User ··· 529 624 * } 530 625 * }) 531 626 */ 532 - findUnique<T extends UserFindUniqueArgs>(args: Prisma.SelectSubset<T, UserFindUniqueArgs<ExtArgs>>): Prisma.Prisma__UserClient<runtime.Types.Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> 627 + findUnique<T extends UserFindUniqueArgs>( 628 + args: Prisma.SelectSubset<T, UserFindUniqueArgs<ExtArgs>>, 629 + ): Prisma.Prisma__UserClient< 630 + runtime.Types.Result.GetResult< 631 + Prisma.$UserPayload<ExtArgs>, 632 + T, 633 + 'findUnique', 634 + GlobalOmitOptions 635 + > | null, 636 + null, 637 + ExtArgs, 638 + GlobalOmitOptions 639 + >; 533 640 534 641 /** 535 642 * Find one User that matches the filter or throw an error with `error.code='P2025'` ··· 543 650 * } 544 651 * }) 545 652 */ 546 - findUniqueOrThrow<T extends UserFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, UserFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__UserClient<runtime.Types.Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> 653 + findUniqueOrThrow<T extends UserFindUniqueOrThrowArgs>( 654 + args: Prisma.SelectSubset<T, UserFindUniqueOrThrowArgs<ExtArgs>>, 655 + ): Prisma.Prisma__UserClient< 656 + runtime.Types.Result.GetResult< 657 + Prisma.$UserPayload<ExtArgs>, 658 + T, 659 + 'findUniqueOrThrow', 660 + GlobalOmitOptions 661 + >, 662 + never, 663 + ExtArgs, 664 + GlobalOmitOptions 665 + >; 547 666 548 667 /** 549 668 * Find the first User that matches the filter. ··· 558 677 * } 559 678 * }) 560 679 */ 561 - findFirst<T extends UserFindFirstArgs>(args?: Prisma.SelectSubset<T, UserFindFirstArgs<ExtArgs>>): Prisma.Prisma__UserClient<runtime.Types.Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> 680 + findFirst<T extends UserFindFirstArgs>( 681 + args?: Prisma.SelectSubset<T, UserFindFirstArgs<ExtArgs>>, 682 + ): Prisma.Prisma__UserClient< 683 + runtime.Types.Result.GetResult< 684 + Prisma.$UserPayload<ExtArgs>, 685 + T, 686 + 'findFirst', 687 + GlobalOmitOptions 688 + > | null, 689 + null, 690 + ExtArgs, 691 + GlobalOmitOptions 692 + >; 562 693 563 694 /** 564 695 * Find the first User that matches the filter or ··· 574 705 * } 575 706 * }) 576 707 */ 577 - findFirstOrThrow<T extends UserFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, UserFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__UserClient<runtime.Types.Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> 708 + findFirstOrThrow<T extends UserFindFirstOrThrowArgs>( 709 + args?: Prisma.SelectSubset<T, UserFindFirstOrThrowArgs<ExtArgs>>, 710 + ): Prisma.Prisma__UserClient< 711 + runtime.Types.Result.GetResult< 712 + Prisma.$UserPayload<ExtArgs>, 713 + T, 714 + 'findFirstOrThrow', 715 + GlobalOmitOptions 716 + >, 717 + never, 718 + ExtArgs, 719 + GlobalOmitOptions 720 + >; 578 721 579 722 /** 580 723 * Find zero or more Users that matches the filter. ··· 584 727 * @example 585 728 * // Get all Users 586 729 * const users = await prisma.user.findMany() 587 - * 730 + * 588 731 * // Get first 10 Users 589 732 * const users = await prisma.user.findMany({ take: 10 }) 590 - * 733 + * 591 734 * // Only select the `did` 592 735 * const userWithDidOnly = await prisma.user.findMany({ select: { did: true } }) 593 - * 736 + * 594 737 */ 595 - findMany<T extends UserFindManyArgs>(args?: Prisma.SelectSubset<T, UserFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>> 738 + findMany<T extends UserFindManyArgs>( 739 + args?: Prisma.SelectSubset<T, UserFindManyArgs<ExtArgs>>, 740 + ): Prisma.PrismaPromise< 741 + runtime.Types.Result.GetResult< 742 + Prisma.$UserPayload<ExtArgs>, 743 + T, 744 + 'findMany', 745 + GlobalOmitOptions 746 + > 747 + >; 596 748 597 749 /** 598 750 * Create a User. ··· 604 756 * // ... data to create a User 605 757 * } 606 758 * }) 607 - * 759 + * 608 760 */ 609 - create<T extends UserCreateArgs>(args: Prisma.SelectSubset<T, UserCreateArgs<ExtArgs>>): Prisma.Prisma__UserClient<runtime.Types.Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> 761 + create<T extends UserCreateArgs>( 762 + args: Prisma.SelectSubset<T, UserCreateArgs<ExtArgs>>, 763 + ): Prisma.Prisma__UserClient< 764 + runtime.Types.Result.GetResult< 765 + Prisma.$UserPayload<ExtArgs>, 766 + T, 767 + 'create', 768 + GlobalOmitOptions 769 + >, 770 + never, 771 + ExtArgs, 772 + GlobalOmitOptions 773 + >; 610 774 611 775 /** 612 776 * Create many Users. ··· 618 782 * // ... provide data here 619 783 * ] 620 784 * }) 621 - * 785 + * 622 786 */ 623 - createMany<T extends UserCreateManyArgs>(args?: Prisma.SelectSubset<T, UserCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload> 787 + createMany<T extends UserCreateManyArgs>( 788 + args?: Prisma.SelectSubset<T, UserCreateManyArgs<ExtArgs>>, 789 + ): Prisma.PrismaPromise<Prisma.BatchPayload>; 624 790 625 791 /** 626 792 * Create many Users and returns the data saved in the database. ··· 632 798 * // ... provide data here 633 799 * ] 634 800 * }) 635 - * 801 + * 636 802 * // Create many Users and only return the `did` 637 803 * const userWithDidOnly = await prisma.user.createManyAndReturn({ 638 804 * select: { did: true }, ··· 642 808 * }) 643 809 * Note, that providing `undefined` is treated as the value not being there. 644 810 * Read more here: https://pris.ly/d/null-undefined 645 - * 811 + * 646 812 */ 647 - createManyAndReturn<T extends UserCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, UserCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>> 813 + createManyAndReturn<T extends UserCreateManyAndReturnArgs>( 814 + args?: Prisma.SelectSubset<T, UserCreateManyAndReturnArgs<ExtArgs>>, 815 + ): Prisma.PrismaPromise< 816 + runtime.Types.Result.GetResult< 817 + Prisma.$UserPayload<ExtArgs>, 818 + T, 819 + 'createManyAndReturn', 820 + GlobalOmitOptions 821 + > 822 + >; 648 823 649 824 /** 650 825 * Delete a User. ··· 656 831 * // ... filter to delete one User 657 832 * } 658 833 * }) 659 - * 834 + * 660 835 */ 661 - delete<T extends UserDeleteArgs>(args: Prisma.SelectSubset<T, UserDeleteArgs<ExtArgs>>): Prisma.Prisma__UserClient<runtime.Types.Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> 836 + delete<T extends UserDeleteArgs>( 837 + args: Prisma.SelectSubset<T, UserDeleteArgs<ExtArgs>>, 838 + ): Prisma.Prisma__UserClient< 839 + runtime.Types.Result.GetResult< 840 + Prisma.$UserPayload<ExtArgs>, 841 + T, 842 + 'delete', 843 + GlobalOmitOptions 844 + >, 845 + never, 846 + ExtArgs, 847 + GlobalOmitOptions 848 + >; 662 849 663 850 /** 664 851 * Update one User. ··· 673 860 * // ... provide data here 674 861 * } 675 862 * }) 676 - * 863 + * 677 864 */ 678 - update<T extends UserUpdateArgs>(args: Prisma.SelectSubset<T, UserUpdateArgs<ExtArgs>>): Prisma.Prisma__UserClient<runtime.Types.Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> 865 + update<T extends UserUpdateArgs>( 866 + args: Prisma.SelectSubset<T, UserUpdateArgs<ExtArgs>>, 867 + ): Prisma.Prisma__UserClient< 868 + runtime.Types.Result.GetResult< 869 + Prisma.$UserPayload<ExtArgs>, 870 + T, 871 + 'update', 872 + GlobalOmitOptions 873 + >, 874 + never, 875 + ExtArgs, 876 + GlobalOmitOptions 877 + >; 679 878 680 879 /** 681 880 * Delete zero or more Users. ··· 687 886 * // ... provide filter here 688 887 * } 689 888 * }) 690 - * 889 + * 691 890 */ 692 - deleteMany<T extends UserDeleteManyArgs>(args?: Prisma.SelectSubset<T, UserDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload> 891 + deleteMany<T extends UserDeleteManyArgs>( 892 + args?: Prisma.SelectSubset<T, UserDeleteManyArgs<ExtArgs>>, 893 + ): Prisma.PrismaPromise<Prisma.BatchPayload>; 693 894 694 895 /** 695 896 * Update zero or more Users. ··· 706 907 * // ... provide data here 707 908 * } 708 909 * }) 709 - * 910 + * 710 911 */ 711 - updateMany<T extends UserUpdateManyArgs>(args: Prisma.SelectSubset<T, UserUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload> 912 + updateMany<T extends UserUpdateManyArgs>( 913 + args: Prisma.SelectSubset<T, UserUpdateManyArgs<ExtArgs>>, 914 + ): Prisma.PrismaPromise<Prisma.BatchPayload>; 712 915 713 916 /** 714 917 * Update zero or more Users and returns the data updated in the database. ··· 723 926 * // ... provide data here 724 927 * ] 725 928 * }) 726 - * 929 + * 727 930 * // Update zero or more Users and only return the `did` 728 931 * const userWithDidOnly = await prisma.user.updateManyAndReturn({ 729 932 * select: { did: true }, ··· 736 939 * }) 737 940 * Note, that providing `undefined` is treated as the value not being there. 738 941 * Read more here: https://pris.ly/d/null-undefined 739 - * 942 + * 740 943 */ 741 - updateManyAndReturn<T extends UserUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, UserUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>> 944 + updateManyAndReturn<T extends UserUpdateManyAndReturnArgs>( 945 + args: Prisma.SelectSubset<T, UserUpdateManyAndReturnArgs<ExtArgs>>, 946 + ): Prisma.PrismaPromise< 947 + runtime.Types.Result.GetResult< 948 + Prisma.$UserPayload<ExtArgs>, 949 + T, 950 + 'updateManyAndReturn', 951 + GlobalOmitOptions 952 + > 953 + >; 742 954 743 955 /** 744 956 * Create or update one User. ··· 757 969 * } 758 970 * }) 759 971 */ 760 - upsert<T extends UserUpsertArgs>(args: Prisma.SelectSubset<T, UserUpsertArgs<ExtArgs>>): Prisma.Prisma__UserClient<runtime.Types.Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> 761 - 972 + upsert<T extends UserUpsertArgs>( 973 + args: Prisma.SelectSubset<T, UserUpsertArgs<ExtArgs>>, 974 + ): Prisma.Prisma__UserClient< 975 + runtime.Types.Result.GetResult< 976 + Prisma.$UserPayload<ExtArgs>, 977 + T, 978 + 'upsert', 979 + GlobalOmitOptions 980 + >, 981 + never, 982 + ExtArgs, 983 + GlobalOmitOptions 984 + >; 762 985 763 986 /** 764 987 * Count the number of Users. ··· 772 995 * // ... the filter for the Users we want to count 773 996 * } 774 997 * }) 775 - **/ 998 + **/ 776 999 count<T extends UserCountArgs>( 777 1000 args?: Prisma.Subset<T, UserCountArgs>, 778 1001 ): Prisma.PrismaPromise< ··· 781 1004 ? number 782 1005 : Prisma.GetScalarType<T['select'], UserCountAggregateOutputType> 783 1006 : number 784 - > 1007 + >; 785 1008 786 1009 /** 787 1010 * Allows you to perform aggregations operations on a User. ··· 806 1029 * }, 807 1030 * take: 10, 808 1031 * }) 809 - **/ 810 - aggregate<T extends UserAggregateArgs>(args: Prisma.Subset<T, UserAggregateArgs>): Prisma.PrismaPromise<GetUserAggregateType<T>> 1032 + **/ 1033 + aggregate<T extends UserAggregateArgs>( 1034 + args: Prisma.Subset<T, UserAggregateArgs>, 1035 + ): Prisma.PrismaPromise<GetUserAggregateType<T>>; 811 1036 812 1037 /** 813 1038 * Group by User. ··· 825 1050 * _all: true 826 1051 * }, 827 1052 * }) 828 - * 829 - **/ 1053 + * 1054 + **/ 830 1055 groupBy< 831 1056 T extends UserGroupByArgs, 832 1057 HasSelectOrTake extends Prisma.Or< ··· 836 1061 OrderByArg extends Prisma.True extends HasSelectOrTake 837 1062 ? { orderBy: UserGroupByArgs['orderBy'] } 838 1063 : { orderBy?: UserGroupByArgs['orderBy'] }, 839 - OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>, 1064 + OrderFields extends Prisma.ExcludeUnderscoreKeys< 1065 + Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>> 1066 + >, 840 1067 ByFields extends Prisma.MaybeTupleToUnion<T['by']>, 841 1068 ByValid extends Prisma.Has<ByFields, OrderFields>, 842 1069 HavingFields extends Prisma.GetHavingFields<T['having']>, 843 1070 HavingValid extends Prisma.Has<ByFields, HavingFields>, 844 1071 ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False, 845 1072 InputErrors extends ByEmpty extends Prisma.True 846 - ? `Error: "by" must not be empty.` 847 - : HavingValid extends Prisma.False 848 - ? { 849 - [P in HavingFields]: P extends ByFields 850 - ? never 851 - : P extends string 852 - ? `Error: Field "${P}" used in "having" needs to be provided in "by".` 853 - : [ 854 - Error, 855 - 'Field ', 856 - P, 857 - ` in "having" needs to be provided in "by"`, 858 - ] 859 - }[HavingFields] 860 - : 'take' extends Prisma.Keys<T> 861 - ? 'orderBy' extends Prisma.Keys<T> 862 - ? ByValid extends Prisma.True 863 - ? {} 864 - : { 865 - [P in OrderFields]: P extends ByFields 1073 + ? `Error: "by" must not be empty.` 1074 + : HavingValid extends Prisma.False 1075 + ? { 1076 + [P in HavingFields]: P extends ByFields 866 1077 ? never 867 - : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` 868 - }[OrderFields] 869 - : 'Error: If you provide "take", you also need to provide "orderBy"' 870 - : 'skip' extends Prisma.Keys<T> 871 - ? 'orderBy' extends Prisma.Keys<T> 872 - ? ByValid extends Prisma.True 873 - ? {} 874 - : { 875 - [P in OrderFields]: P extends ByFields 876 - ? never 877 - : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` 878 - }[OrderFields] 879 - : 'Error: If you provide "skip", you also need to provide "orderBy"' 880 - : ByValid extends Prisma.True 881 - ? {} 882 - : { 883 - [P in OrderFields]: P extends ByFields 884 - ? never 885 - : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` 886 - }[OrderFields] 887 - >(args: Prisma.SubsetIntersection<T, UserGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetUserGroupByPayload<T> : Prisma.PrismaPromise<InputErrors> 888 - /** 889 - * Fields of the User model 890 - */ 891 - readonly fields: UserFieldRefs; 1078 + : P extends string 1079 + ? `Error: Field "${P}" used in "having" needs to be provided in "by".` 1080 + : [ 1081 + Error, 1082 + 'Field ', 1083 + P, 1084 + ` in "having" needs to be provided in "by"`, 1085 + ]; 1086 + }[HavingFields] 1087 + : 'take' extends Prisma.Keys<T> 1088 + ? 'orderBy' extends Prisma.Keys<T> 1089 + ? ByValid extends Prisma.True 1090 + ? {} 1091 + : { 1092 + [P in OrderFields]: P extends ByFields 1093 + ? never 1094 + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`; 1095 + }[OrderFields] 1096 + : 'Error: If you provide "take", you also need to provide "orderBy"' 1097 + : 'skip' extends Prisma.Keys<T> 1098 + ? 'orderBy' extends Prisma.Keys<T> 1099 + ? ByValid extends Prisma.True 1100 + ? {} 1101 + : { 1102 + [P in OrderFields]: P extends ByFields 1103 + ? never 1104 + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`; 1105 + }[OrderFields] 1106 + : 'Error: If you provide "skip", you also need to provide "orderBy"' 1107 + : ByValid extends Prisma.True 1108 + ? {} 1109 + : { 1110 + [P in OrderFields]: P extends ByFields 1111 + ? never 1112 + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`; 1113 + }[OrderFields], 1114 + >( 1115 + args: Prisma.SubsetIntersection<T, UserGroupByArgs, OrderByArg> & 1116 + InputErrors, 1117 + ): {} extends InputErrors 1118 + ? GetUserGroupByPayload<T> 1119 + : Prisma.PrismaPromise<InputErrors>; 1120 + /** 1121 + * Fields of the User model 1122 + */ 1123 + readonly fields: UserFieldRefs; 892 1124 } 893 1125 894 1126 /** ··· 897 1129 * Because we want to prevent naming conflicts as mentioned in 898 1130 * https://github.com/prisma/prisma-client-js/issues/707 899 1131 */ 900 - export interface Prisma__UserClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> { 901 - readonly [Symbol.toStringTag]: "PrismaPromise" 902 - trackedMovies<T extends Prisma.User$trackedMoviesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.User$trackedMoviesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$TrackedMoviePayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null> 1132 + export interface Prisma__UserClient< 1133 + T, 1134 + Null = never, 1135 + ExtArgs extends runtime.Types.Extensions.InternalArgs = 1136 + runtime.Types.Extensions.DefaultArgs, 1137 + GlobalOmitOptions = {}, 1138 + > extends Prisma.PrismaPromise<T> { 1139 + readonly [Symbol.toStringTag]: 'PrismaPromise'; 1140 + trackedMovies<T extends Prisma.User$trackedMoviesArgs<ExtArgs> = {}>( 1141 + args?: Prisma.Subset<T, Prisma.User$trackedMoviesArgs<ExtArgs>>, 1142 + ): Prisma.PrismaPromise< 1143 + | runtime.Types.Result.GetResult< 1144 + Prisma.$TrackedMoviePayload<ExtArgs>, 1145 + T, 1146 + 'findMany', 1147 + GlobalOmitOptions 1148 + > 1149 + | Null 1150 + >; 903 1151 /** 904 1152 * Attaches callbacks for the resolution and/or rejection of the Promise. 905 1153 * @param onfulfilled The callback to execute when the Promise is resolved. 906 1154 * @param onrejected The callback to execute when the Promise is rejected. 907 1155 * @returns A Promise for the completion of which ever callback is executed. 908 1156 */ 909 - 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> 1157 + then<TResult1 = T, TResult2 = never>( 1158 + onfulfilled?: 1159 + | ((value: T) => TResult1 | PromiseLike<TResult1>) 1160 + | undefined 1161 + | null, 1162 + onrejected?: 1163 + | ((reason: any) => TResult2 | PromiseLike<TResult2>) 1164 + | undefined 1165 + | null, 1166 + ): runtime.Types.Utils.JsPromise<TResult1 | TResult2>; 910 1167 /** 911 1168 * Attaches a callback for only the rejection of the Promise. 912 1169 * @param onrejected The callback to execute when the Promise is rejected. 913 1170 * @returns A Promise for the completion of the callback. 914 1171 */ 915 - catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult> 1172 + catch<TResult = never>( 1173 + onrejected?: 1174 + | ((reason: any) => TResult | PromiseLike<TResult>) 1175 + | undefined 1176 + | null, 1177 + ): runtime.Types.Utils.JsPromise<T | TResult>; 916 1178 /** 917 1179 * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The 918 1180 * resolved value cannot be modified from the callback. 919 1181 * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected). 920 1182 * @returns A Promise for the completion of the callback. 921 1183 */ 922 - finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T> 1184 + finally( 1185 + onfinally?: (() => void) | undefined | null, 1186 + ): runtime.Types.Utils.JsPromise<T>; 923 1187 } 924 1188 925 - 926 - 927 - 928 1189 /** 929 1190 * Fields of the User model 930 1191 */ 931 1192 export interface UserFieldRefs { 932 - readonly did: Prisma.FieldRef<"User", 'String'> 933 - readonly handle: Prisma.FieldRef<"User", 'String'> 934 - readonly displayName: Prisma.FieldRef<"User", 'String'> 935 - readonly avatar: Prisma.FieldRef<"User", 'String'> 936 - readonly createdAt: Prisma.FieldRef<"User", 'DateTime'> 937 - readonly updatedAt: Prisma.FieldRef<"User", 'DateTime'> 1193 + readonly did: Prisma.FieldRef<'User', 'String'>; 1194 + readonly handle: Prisma.FieldRef<'User', 'String'>; 1195 + readonly displayName: Prisma.FieldRef<'User', 'String'>; 1196 + readonly avatar: Prisma.FieldRef<'User', 'String'>; 1197 + readonly createdAt: Prisma.FieldRef<'User', 'DateTime'>; 1198 + readonly updatedAt: Prisma.FieldRef<'User', 'DateTime'>; 938 1199 } 939 - 940 1200 941 1201 // Custom InputTypes 942 1202 /** 943 1203 * User findUnique 944 1204 */ 945 - export type UserFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = { 1205 + export type UserFindUniqueArgs< 1206 + ExtArgs extends runtime.Types.Extensions.InternalArgs = 1207 + runtime.Types.Extensions.DefaultArgs, 1208 + > = { 946 1209 /** 947 1210 * Select specific fields to fetch from the User 948 1211 */ 949 - select?: Prisma.UserSelect<ExtArgs> | null 1212 + select?: Prisma.UserSelect<ExtArgs> | null; 950 1213 /** 951 1214 * Omit specific fields from the User 952 1215 */ 953 - omit?: Prisma.UserOmit<ExtArgs> | null 1216 + omit?: Prisma.UserOmit<ExtArgs> | null; 954 1217 /** 955 1218 * Choose, which related nodes to fetch as well 956 1219 */ 957 - include?: Prisma.UserInclude<ExtArgs> | null 1220 + include?: Prisma.UserInclude<ExtArgs> | null; 958 1221 /** 959 1222 * Filter, which User to fetch. 960 1223 */ 961 - where: Prisma.UserWhereUniqueInput 962 - } 1224 + where: Prisma.UserWhereUniqueInput; 1225 + }; 963 1226 964 1227 /** 965 1228 * User findUniqueOrThrow 966 1229 */ 967 - export type UserFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = { 1230 + export type UserFindUniqueOrThrowArgs< 1231 + ExtArgs extends runtime.Types.Extensions.InternalArgs = 1232 + runtime.Types.Extensions.DefaultArgs, 1233 + > = { 968 1234 /** 969 1235 * Select specific fields to fetch from the User 970 1236 */ 971 - select?: Prisma.UserSelect<ExtArgs> | null 1237 + select?: Prisma.UserSelect<ExtArgs> | null; 972 1238 /** 973 1239 * Omit specific fields from the User 974 1240 */ 975 - omit?: Prisma.UserOmit<ExtArgs> | null 1241 + omit?: Prisma.UserOmit<ExtArgs> | null; 976 1242 /** 977 1243 * Choose, which related nodes to fetch as well 978 1244 */ 979 - include?: Prisma.UserInclude<ExtArgs> | null 1245 + include?: Prisma.UserInclude<ExtArgs> | null; 980 1246 /** 981 1247 * Filter, which User to fetch. 982 1248 */ 983 - where: Prisma.UserWhereUniqueInput 984 - } 1249 + where: Prisma.UserWhereUniqueInput; 1250 + }; 985 1251 986 1252 /** 987 1253 * User findFirst 988 1254 */ 989 - export type UserFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = { 1255 + export type UserFindFirstArgs< 1256 + ExtArgs extends runtime.Types.Extensions.InternalArgs = 1257 + runtime.Types.Extensions.DefaultArgs, 1258 + > = { 990 1259 /** 991 1260 * Select specific fields to fetch from the User 992 1261 */ 993 - select?: Prisma.UserSelect<ExtArgs> | null 1262 + select?: Prisma.UserSelect<ExtArgs> | null; 994 1263 /** 995 1264 * Omit specific fields from the User 996 1265 */ 997 - omit?: Prisma.UserOmit<ExtArgs> | null 1266 + omit?: Prisma.UserOmit<ExtArgs> | null; 998 1267 /** 999 1268 * Choose, which related nodes to fetch as well 1000 1269 */ 1001 - include?: Prisma.UserInclude<ExtArgs> | null 1270 + include?: Prisma.UserInclude<ExtArgs> | null; 1002 1271 /** 1003 1272 * Filter, which User to fetch. 1004 1273 */ 1005 - where?: Prisma.UserWhereInput 1274 + where?: Prisma.UserWhereInput; 1006 1275 /** 1007 1276 * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} 1008 - * 1277 + * 1009 1278 * Determine the order of Users to fetch. 1010 1279 */ 1011 - orderBy?: Prisma.UserOrderByWithRelationInput | Prisma.UserOrderByWithRelationInput[] 1280 + orderBy?: 1281 + | Prisma.UserOrderByWithRelationInput 1282 + | Prisma.UserOrderByWithRelationInput[]; 1012 1283 /** 1013 1284 * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} 1014 - * 1285 + * 1015 1286 * Sets the position for searching for Users. 1016 1287 */ 1017 - cursor?: Prisma.UserWhereUniqueInput 1288 + cursor?: Prisma.UserWhereUniqueInput; 1018 1289 /** 1019 1290 * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} 1020 - * 1291 + * 1021 1292 * Take `±n` Users from the position of the cursor. 1022 1293 */ 1023 - take?: number 1294 + take?: number; 1024 1295 /** 1025 1296 * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} 1026 - * 1297 + * 1027 1298 * Skip the first `n` Users. 1028 1299 */ 1029 - skip?: number 1300 + skip?: number; 1030 1301 /** 1031 1302 * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} 1032 - * 1303 + * 1033 1304 * Filter by unique combinations of Users. 1034 1305 */ 1035 - distinct?: Prisma.UserScalarFieldEnum | Prisma.UserScalarFieldEnum[] 1036 - } 1306 + distinct?: Prisma.UserScalarFieldEnum | Prisma.UserScalarFieldEnum[]; 1307 + }; 1037 1308 1038 1309 /** 1039 1310 * User findFirstOrThrow 1040 1311 */ 1041 - export type UserFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = { 1312 + export type UserFindFirstOrThrowArgs< 1313 + ExtArgs extends runtime.Types.Extensions.InternalArgs = 1314 + runtime.Types.Extensions.DefaultArgs, 1315 + > = { 1042 1316 /** 1043 1317 * Select specific fields to fetch from the User 1044 1318 */ 1045 - select?: Prisma.UserSelect<ExtArgs> | null 1319 + select?: Prisma.UserSelect<ExtArgs> | null; 1046 1320 /** 1047 1321 * Omit specific fields from the User 1048 1322 */ 1049 - omit?: Prisma.UserOmit<ExtArgs> | null 1323 + omit?: Prisma.UserOmit<ExtArgs> | null; 1050 1324 /** 1051 1325 * Choose, which related nodes to fetch as well 1052 1326 */ 1053 - include?: Prisma.UserInclude<ExtArgs> | null 1327 + include?: Prisma.UserInclude<ExtArgs> | null; 1054 1328 /** 1055 1329 * Filter, which User to fetch. 1056 1330 */ 1057 - where?: Prisma.UserWhereInput 1331 + where?: Prisma.UserWhereInput; 1058 1332 /** 1059 1333 * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} 1060 - * 1334 + * 1061 1335 * Determine the order of Users to fetch. 1062 1336 */ 1063 - orderBy?: Prisma.UserOrderByWithRelationInput | Prisma.UserOrderByWithRelationInput[] 1337 + orderBy?: 1338 + | Prisma.UserOrderByWithRelationInput 1339 + | Prisma.UserOrderByWithRelationInput[]; 1064 1340 /** 1065 1341 * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} 1066 - * 1342 + * 1067 1343 * Sets the position for searching for Users. 1068 1344 */ 1069 - cursor?: Prisma.UserWhereUniqueInput 1345 + cursor?: Prisma.UserWhereUniqueInput; 1070 1346 /** 1071 1347 * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} 1072 - * 1348 + * 1073 1349 * Take `±n` Users from the position of the cursor. 1074 1350 */ 1075 - take?: number 1351 + take?: number; 1076 1352 /** 1077 1353 * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} 1078 - * 1354 + * 1079 1355 * Skip the first `n` Users. 1080 1356 */ 1081 - skip?: number 1357 + skip?: number; 1082 1358 /** 1083 1359 * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} 1084 - * 1360 + * 1085 1361 * Filter by unique combinations of Users. 1086 1362 */ 1087 - distinct?: Prisma.UserScalarFieldEnum | Prisma.UserScalarFieldEnum[] 1088 - } 1363 + distinct?: Prisma.UserScalarFieldEnum | Prisma.UserScalarFieldEnum[]; 1364 + }; 1089 1365 1090 1366 /** 1091 1367 * User findMany 1092 1368 */ 1093 - export type UserFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = { 1369 + export type UserFindManyArgs< 1370 + ExtArgs extends runtime.Types.Extensions.InternalArgs = 1371 + runtime.Types.Extensions.DefaultArgs, 1372 + > = { 1094 1373 /** 1095 1374 * Select specific fields to fetch from the User 1096 1375 */ 1097 - select?: Prisma.UserSelect<ExtArgs> | null 1376 + select?: Prisma.UserSelect<ExtArgs> | null; 1098 1377 /** 1099 1378 * Omit specific fields from the User 1100 1379 */ 1101 - omit?: Prisma.UserOmit<ExtArgs> | null 1380 + omit?: Prisma.UserOmit<ExtArgs> | null; 1102 1381 /** 1103 1382 * Choose, which related nodes to fetch as well 1104 1383 */ 1105 - include?: Prisma.UserInclude<ExtArgs> | null 1384 + include?: Prisma.UserInclude<ExtArgs> | null; 1106 1385 /** 1107 1386 * Filter, which Users to fetch. 1108 1387 */ 1109 - where?: Prisma.UserWhereInput 1388 + where?: Prisma.UserWhereInput; 1110 1389 /** 1111 1390 * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} 1112 - * 1391 + * 1113 1392 * Determine the order of Users to fetch. 1114 1393 */ 1115 - orderBy?: Prisma.UserOrderByWithRelationInput | Prisma.UserOrderByWithRelationInput[] 1394 + orderBy?: 1395 + | Prisma.UserOrderByWithRelationInput 1396 + | Prisma.UserOrderByWithRelationInput[]; 1116 1397 /** 1117 1398 * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} 1118 - * 1399 + * 1119 1400 * Sets the position for listing Users. 1120 1401 */ 1121 - cursor?: Prisma.UserWhereUniqueInput 1402 + cursor?: Prisma.UserWhereUniqueInput; 1122 1403 /** 1123 1404 * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} 1124 - * 1405 + * 1125 1406 * Take `±n` Users from the position of the cursor. 1126 1407 */ 1127 - take?: number 1408 + take?: number; 1128 1409 /** 1129 1410 * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} 1130 - * 1411 + * 1131 1412 * Skip the first `n` Users. 1132 1413 */ 1133 - skip?: number 1134 - distinct?: Prisma.UserScalarFieldEnum | Prisma.UserScalarFieldEnum[] 1135 - } 1414 + skip?: number; 1415 + distinct?: Prisma.UserScalarFieldEnum | Prisma.UserScalarFieldEnum[]; 1416 + }; 1136 1417 1137 1418 /** 1138 1419 * User create 1139 1420 */ 1140 - export type UserCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = { 1421 + export type UserCreateArgs< 1422 + ExtArgs extends runtime.Types.Extensions.InternalArgs = 1423 + runtime.Types.Extensions.DefaultArgs, 1424 + > = { 1141 1425 /** 1142 1426 * Select specific fields to fetch from the User 1143 1427 */ 1144 - select?: Prisma.UserSelect<ExtArgs> | null 1428 + select?: Prisma.UserSelect<ExtArgs> | null; 1145 1429 /** 1146 1430 * Omit specific fields from the User 1147 1431 */ 1148 - omit?: Prisma.UserOmit<ExtArgs> | null 1432 + omit?: Prisma.UserOmit<ExtArgs> | null; 1149 1433 /** 1150 1434 * Choose, which related nodes to fetch as well 1151 1435 */ 1152 - include?: Prisma.UserInclude<ExtArgs> | null 1436 + include?: Prisma.UserInclude<ExtArgs> | null; 1153 1437 /** 1154 1438 * The data needed to create a User. 1155 1439 */ 1156 - data: Prisma.XOR<Prisma.UserCreateInput, Prisma.UserUncheckedCreateInput> 1157 - } 1440 + data: Prisma.XOR<Prisma.UserCreateInput, Prisma.UserUncheckedCreateInput>; 1441 + }; 1158 1442 1159 1443 /** 1160 1444 * User createMany 1161 1445 */ 1162 - export type UserCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = { 1446 + export type UserCreateManyArgs< 1447 + ExtArgs extends runtime.Types.Extensions.InternalArgs = 1448 + runtime.Types.Extensions.DefaultArgs, 1449 + > = { 1163 1450 /** 1164 1451 * The data used to create many Users. 1165 1452 */ 1166 - data: Prisma.UserCreateManyInput | Prisma.UserCreateManyInput[] 1167 - skipDuplicates?: boolean 1168 - } 1453 + data: Prisma.UserCreateManyInput | Prisma.UserCreateManyInput[]; 1454 + skipDuplicates?: boolean; 1455 + }; 1169 1456 1170 1457 /** 1171 1458 * User createManyAndReturn 1172 1459 */ 1173 - export type UserCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = { 1460 + export type UserCreateManyAndReturnArgs< 1461 + ExtArgs extends runtime.Types.Extensions.InternalArgs = 1462 + runtime.Types.Extensions.DefaultArgs, 1463 + > = { 1174 1464 /** 1175 1465 * Select specific fields to fetch from the User 1176 1466 */ 1177 - select?: Prisma.UserSelectCreateManyAndReturn<ExtArgs> | null 1467 + select?: Prisma.UserSelectCreateManyAndReturn<ExtArgs> | null; 1178 1468 /** 1179 1469 * Omit specific fields from the User 1180 1470 */ 1181 - omit?: Prisma.UserOmit<ExtArgs> | null 1471 + omit?: Prisma.UserOmit<ExtArgs> | null; 1182 1472 /** 1183 1473 * The data used to create many Users. 1184 1474 */ 1185 - data: Prisma.UserCreateManyInput | Prisma.UserCreateManyInput[] 1186 - skipDuplicates?: boolean 1187 - } 1475 + data: Prisma.UserCreateManyInput | Prisma.UserCreateManyInput[]; 1476 + skipDuplicates?: boolean; 1477 + }; 1188 1478 1189 1479 /** 1190 1480 * User update 1191 1481 */ 1192 - export type UserUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = { 1482 + export type UserUpdateArgs< 1483 + ExtArgs extends runtime.Types.Extensions.InternalArgs = 1484 + runtime.Types.Extensions.DefaultArgs, 1485 + > = { 1193 1486 /** 1194 1487 * Select specific fields to fetch from the User 1195 1488 */ 1196 - select?: Prisma.UserSelect<ExtArgs> | null 1489 + select?: Prisma.UserSelect<ExtArgs> | null; 1197 1490 /** 1198 1491 * Omit specific fields from the User 1199 1492 */ 1200 - omit?: Prisma.UserOmit<ExtArgs> | null 1493 + omit?: Prisma.UserOmit<ExtArgs> | null; 1201 1494 /** 1202 1495 * Choose, which related nodes to fetch as well 1203 1496 */ 1204 - include?: Prisma.UserInclude<ExtArgs> | null 1497 + include?: Prisma.UserInclude<ExtArgs> | null; 1205 1498 /** 1206 1499 * The data needed to update a User. 1207 1500 */ 1208 - data: Prisma.XOR<Prisma.UserUpdateInput, Prisma.UserUncheckedUpdateInput> 1501 + data: Prisma.XOR<Prisma.UserUpdateInput, Prisma.UserUncheckedUpdateInput>; 1209 1502 /** 1210 1503 * Choose, which User to update. 1211 1504 */ 1212 - where: Prisma.UserWhereUniqueInput 1213 - } 1505 + where: Prisma.UserWhereUniqueInput; 1506 + }; 1214 1507 1215 1508 /** 1216 1509 * User updateMany 1217 1510 */ 1218 - export type UserUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = { 1511 + export type UserUpdateManyArgs< 1512 + ExtArgs extends runtime.Types.Extensions.InternalArgs = 1513 + runtime.Types.Extensions.DefaultArgs, 1514 + > = { 1219 1515 /** 1220 1516 * The data used to update Users. 1221 1517 */ 1222 - data: Prisma.XOR<Prisma.UserUpdateManyMutationInput, Prisma.UserUncheckedUpdateManyInput> 1518 + data: Prisma.XOR< 1519 + Prisma.UserUpdateManyMutationInput, 1520 + Prisma.UserUncheckedUpdateManyInput 1521 + >; 1223 1522 /** 1224 1523 * Filter which Users to update 1225 1524 */ 1226 - where?: Prisma.UserWhereInput 1525 + where?: Prisma.UserWhereInput; 1227 1526 /** 1228 1527 * Limit how many Users to update. 1229 1528 */ 1230 - limit?: number 1231 - } 1529 + limit?: number; 1530 + }; 1232 1531 1233 1532 /** 1234 1533 * User updateManyAndReturn 1235 1534 */ 1236 - export type UserUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = { 1535 + export type UserUpdateManyAndReturnArgs< 1536 + ExtArgs extends runtime.Types.Extensions.InternalArgs = 1537 + runtime.Types.Extensions.DefaultArgs, 1538 + > = { 1237 1539 /** 1238 1540 * Select specific fields to fetch from the User 1239 1541 */ 1240 - select?: Prisma.UserSelectUpdateManyAndReturn<ExtArgs> | null 1542 + select?: Prisma.UserSelectUpdateManyAndReturn<ExtArgs> | null; 1241 1543 /** 1242 1544 * Omit specific fields from the User 1243 1545 */ 1244 - omit?: Prisma.UserOmit<ExtArgs> | null 1546 + omit?: Prisma.UserOmit<ExtArgs> | null; 1245 1547 /** 1246 1548 * The data used to update Users. 1247 1549 */ 1248 - data: Prisma.XOR<Prisma.UserUpdateManyMutationInput, Prisma.UserUncheckedUpdateManyInput> 1550 + data: Prisma.XOR< 1551 + Prisma.UserUpdateManyMutationInput, 1552 + Prisma.UserUncheckedUpdateManyInput 1553 + >; 1249 1554 /** 1250 1555 * Filter which Users to update 1251 1556 */ 1252 - where?: Prisma.UserWhereInput 1557 + where?: Prisma.UserWhereInput; 1253 1558 /** 1254 1559 * Limit how many Users to update. 1255 1560 */ 1256 - limit?: number 1257 - } 1561 + limit?: number; 1562 + }; 1258 1563 1259 1564 /** 1260 1565 * User upsert 1261 1566 */ 1262 - export type UserUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = { 1567 + export type UserUpsertArgs< 1568 + ExtArgs extends runtime.Types.Extensions.InternalArgs = 1569 + runtime.Types.Extensions.DefaultArgs, 1570 + > = { 1263 1571 /** 1264 1572 * Select specific fields to fetch from the User 1265 1573 */ 1266 - select?: Prisma.UserSelect<ExtArgs> | null 1574 + select?: Prisma.UserSelect<ExtArgs> | null; 1267 1575 /** 1268 1576 * Omit specific fields from the User 1269 1577 */ 1270 - omit?: Prisma.UserOmit<ExtArgs> | null 1578 + omit?: Prisma.UserOmit<ExtArgs> | null; 1271 1579 /** 1272 1580 * Choose, which related nodes to fetch as well 1273 1581 */ 1274 - include?: Prisma.UserInclude<ExtArgs> | null 1582 + include?: Prisma.UserInclude<ExtArgs> | null; 1275 1583 /** 1276 1584 * The filter to search for the User to update in case it exists. 1277 1585 */ 1278 - where: Prisma.UserWhereUniqueInput 1586 + where: Prisma.UserWhereUniqueInput; 1279 1587 /** 1280 1588 * In case the User found by the `where` argument doesn't exist, create a new User with this data. 1281 1589 */ 1282 - create: Prisma.XOR<Prisma.UserCreateInput, Prisma.UserUncheckedCreateInput> 1590 + create: Prisma.XOR<Prisma.UserCreateInput, Prisma.UserUncheckedCreateInput>; 1283 1591 /** 1284 1592 * In case the User was found with the provided `where` argument, update it with this data. 1285 1593 */ 1286 - update: Prisma.XOR<Prisma.UserUpdateInput, Prisma.UserUncheckedUpdateInput> 1287 - } 1594 + update: Prisma.XOR<Prisma.UserUpdateInput, Prisma.UserUncheckedUpdateInput>; 1595 + }; 1288 1596 1289 1597 /** 1290 1598 * User delete 1291 1599 */ 1292 - export type UserDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = { 1600 + export type UserDeleteArgs< 1601 + ExtArgs extends runtime.Types.Extensions.InternalArgs = 1602 + runtime.Types.Extensions.DefaultArgs, 1603 + > = { 1293 1604 /** 1294 1605 * Select specific fields to fetch from the User 1295 1606 */ 1296 - select?: Prisma.UserSelect<ExtArgs> | null 1607 + select?: Prisma.UserSelect<ExtArgs> | null; 1297 1608 /** 1298 1609 * Omit specific fields from the User 1299 1610 */ 1300 - omit?: Prisma.UserOmit<ExtArgs> | null 1611 + omit?: Prisma.UserOmit<ExtArgs> | null; 1301 1612 /** 1302 1613 * Choose, which related nodes to fetch as well 1303 1614 */ 1304 - include?: Prisma.UserInclude<ExtArgs> | null 1615 + include?: Prisma.UserInclude<ExtArgs> | null; 1305 1616 /** 1306 1617 * Filter which User to delete. 1307 1618 */ 1308 - where: Prisma.UserWhereUniqueInput 1309 - } 1619 + where: Prisma.UserWhereUniqueInput; 1620 + }; 1310 1621 1311 1622 /** 1312 1623 * User deleteMany 1313 1624 */ 1314 - export type UserDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = { 1625 + export type UserDeleteManyArgs< 1626 + ExtArgs extends runtime.Types.Extensions.InternalArgs = 1627 + runtime.Types.Extensions.DefaultArgs, 1628 + > = { 1315 1629 /** 1316 1630 * Filter which Users to delete 1317 1631 */ 1318 - where?: Prisma.UserWhereInput 1632 + where?: Prisma.UserWhereInput; 1319 1633 /** 1320 1634 * Limit how many Users to delete. 1321 1635 */ 1322 - limit?: number 1323 - } 1636 + limit?: number; 1637 + }; 1324 1638 1325 1639 /** 1326 1640 * User.trackedMovies 1327 1641 */ 1328 - export type User$trackedMoviesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = { 1642 + export type User$trackedMoviesArgs< 1643 + ExtArgs extends runtime.Types.Extensions.InternalArgs = 1644 + runtime.Types.Extensions.DefaultArgs, 1645 + > = { 1329 1646 /** 1330 1647 * Select specific fields to fetch from the TrackedMovie 1331 1648 */ 1332 - select?: Prisma.TrackedMovieSelect<ExtArgs> | null 1649 + select?: Prisma.TrackedMovieSelect<ExtArgs> | null; 1333 1650 /** 1334 1651 * Omit specific fields from the TrackedMovie 1335 1652 */ 1336 - omit?: Prisma.TrackedMovieOmit<ExtArgs> | null 1653 + omit?: Prisma.TrackedMovieOmit<ExtArgs> | null; 1337 1654 /** 1338 1655 * Choose, which related nodes to fetch as well 1339 1656 */ 1340 - include?: Prisma.TrackedMovieInclude<ExtArgs> | null 1341 - where?: Prisma.TrackedMovieWhereInput 1342 - orderBy?: Prisma.TrackedMovieOrderByWithRelationInput | Prisma.TrackedMovieOrderByWithRelationInput[] 1343 - cursor?: Prisma.TrackedMovieWhereUniqueInput 1344 - take?: number 1345 - skip?: number 1346 - distinct?: Prisma.TrackedMovieScalarFieldEnum | Prisma.TrackedMovieScalarFieldEnum[] 1347 - } 1657 + include?: Prisma.TrackedMovieInclude<ExtArgs> | null; 1658 + where?: Prisma.TrackedMovieWhereInput; 1659 + orderBy?: 1660 + | Prisma.TrackedMovieOrderByWithRelationInput 1661 + | Prisma.TrackedMovieOrderByWithRelationInput[]; 1662 + cursor?: Prisma.TrackedMovieWhereUniqueInput; 1663 + take?: number; 1664 + skip?: number; 1665 + distinct?: 1666 + | Prisma.TrackedMovieScalarFieldEnum 1667 + | Prisma.TrackedMovieScalarFieldEnum[]; 1668 + }; 1348 1669 1349 1670 /** 1350 1671 * User without action 1351 1672 */ 1352 - export type UserDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = { 1673 + export type UserDefaultArgs< 1674 + ExtArgs extends runtime.Types.Extensions.InternalArgs = 1675 + runtime.Types.Extensions.DefaultArgs, 1676 + > = { 1353 1677 /** 1354 1678 * Select specific fields to fetch from the User 1355 1679 */ 1356 - select?: Prisma.UserSelect<ExtArgs> | null 1680 + select?: Prisma.UserSelect<ExtArgs> | null; 1357 1681 /** 1358 1682 * Omit specific fields from the User 1359 1683 */ 1360 - omit?: Prisma.UserOmit<ExtArgs> | null 1684 + omit?: Prisma.UserOmit<ExtArgs> | null; 1361 1685 /** 1362 1686 * Choose, which related nodes to fetch as well 1363 1687 */ 1364 - include?: Prisma.UserInclude<ExtArgs> | null 1365 - } 1688 + include?: Prisma.UserInclude<ExtArgs> | null; 1689 + };