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.

feat: integrate Prisma with PostgreSQL and update project structure

+6645 -32
+5 -1
backend/package.json
··· 7 7 "license": "UNLICENSED", 8 8 "scripts": { 9 9 "build": "nest build", 10 + "prebuild": "prisma generate", 10 11 "format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"", 11 12 "start": "nest start", 12 13 "start:dev": "nest start --watch", 13 14 "start:debug": "nest start --debug --watch", 14 - "start:prod": "node dist/main", 15 + "start:prod": "node dist/src/main.js", 15 16 "lint": "eslint \"{src,apps,libs,test}/**/*.ts\" --fix", 16 17 "test": "jest", 17 18 "test:watch": "jest --watch", ··· 26 27 "@nestjs/core": "^11.0.1", 27 28 "@nestjs/platform-express": "^11.0.1", 28 29 "@nestjs/swagger": "^11.2.5", 30 + "@prisma/adapter-pg": "^7.3.0", 29 31 "@prisma/client": "^7.3.0", 32 + "class-transformer": "^0.5.1", 33 + "class-validator": "^0.14.3", 30 34 "reflect-metadata": "^0.2.2", 31 35 "rxjs": "^7.8.1", 32 36 "swagger-ui-express": "^5.0.1"
+81
backend/prisma/migrations/20260128202115_init/migration.sql
··· 1 + -- CreateTable 2 + CREATE TABLE "User" ( 3 + "did" TEXT NOT NULL, 4 + "handle" TEXT NOT NULL, 5 + "displayName" TEXT, 6 + "avatar" TEXT, 7 + "createdAt" TIMESTAMP(3) NOT NULL DEFAULT CURRENT_TIMESTAMP, 8 + "updatedAt" TIMESTAMP(3) NOT NULL, 9 + 10 + CONSTRAINT "User_pkey" PRIMARY KEY ("did") 11 + ); 12 + 13 + -- CreateTable 14 + CREATE TABLE "Movie" ( 15 + "movieId" TEXT NOT NULL, 16 + "title" TEXT NOT NULL, 17 + "posterPath" TEXT, 18 + "backdropPath" TEXT, 19 + "releaseYear" INTEGER, 20 + "releaseDate" TIMESTAMP(3), 21 + "overview" TEXT, 22 + "createdAt" TIMESTAMP(3) NOT NULL DEFAULT CURRENT_TIMESTAMP, 23 + "updatedAt" TIMESTAMP(3) NOT NULL, 24 + 25 + CONSTRAINT "Movie_pkey" PRIMARY KEY ("movieId") 26 + ); 27 + 28 + -- CreateTable 29 + CREATE TABLE "TrackedMovie" ( 30 + "id" TEXT NOT NULL, 31 + "rkey" TEXT NOT NULL, 32 + "uri" TEXT NOT NULL, 33 + "cid" TEXT NOT NULL, 34 + "userDid" TEXT NOT NULL, 35 + "movieId" TEXT NOT NULL, 36 + "status" TEXT NOT NULL DEFAULT 'watched', 37 + "watchedDate" TIMESTAMP(3), 38 + "createdAt" TIMESTAMP(3) NOT NULL DEFAULT CURRENT_TIMESTAMP, 39 + "updatedAt" TIMESTAMP(3) NOT NULL, 40 + 41 + CONSTRAINT "TrackedMovie_pkey" PRIMARY KEY ("id") 42 + ); 43 + 44 + -- CreateIndex 45 + CREATE UNIQUE INDEX "User_handle_key" ON "User"("handle"); 46 + 47 + -- CreateIndex 48 + CREATE INDEX "User_handle_idx" ON "User"("handle"); 49 + 50 + -- CreateIndex 51 + CREATE INDEX "Movie_title_idx" ON "Movie"("title"); 52 + 53 + -- CreateIndex 54 + CREATE UNIQUE INDEX "TrackedMovie_uri_key" ON "TrackedMovie"("uri"); 55 + 56 + -- CreateIndex 57 + CREATE INDEX "TrackedMovie_userDid_idx" ON "TrackedMovie"("userDid"); 58 + 59 + -- CreateIndex 60 + CREATE INDEX "TrackedMovie_movieId_idx" ON "TrackedMovie"("movieId"); 61 + 62 + -- CreateIndex 63 + CREATE INDEX "TrackedMovie_status_idx" ON "TrackedMovie"("status"); 64 + 65 + -- CreateIndex 66 + CREATE INDEX "TrackedMovie_createdAt_idx" ON "TrackedMovie"("createdAt"); 67 + 68 + -- CreateIndex 69 + CREATE INDEX "TrackedMovie_watchedDate_idx" ON "TrackedMovie"("watchedDate"); 70 + 71 + -- CreateIndex 72 + CREATE INDEX "TrackedMovie_uri_idx" ON "TrackedMovie"("uri"); 73 + 74 + -- CreateIndex 75 + CREATE INDEX "TrackedMovie_cid_idx" ON "TrackedMovie"("cid"); 76 + 77 + -- AddForeignKey 78 + ALTER TABLE "TrackedMovie" ADD CONSTRAINT "TrackedMovie_userDid_fkey" FOREIGN KEY ("userDid") REFERENCES "User"("did") ON DELETE CASCADE ON UPDATE CASCADE; 79 + 80 + -- AddForeignKey 81 + ALTER TABLE "TrackedMovie" ADD CONSTRAINT "TrackedMovie_movieId_fkey" FOREIGN KEY ("movieId") REFERENCES "Movie"("movieId") ON DELETE CASCADE ON UPDATE CASCADE;
+3
backend/prisma/migrations/migration_lock.toml
··· 1 + # Please do not edit this file manually 2 + # It should be added in your version-control system (e.g., Git) 3 + provider = "postgresql"
+3 -2
backend/prisma/schema.prisma
··· 1 1 generator client { 2 - provider = "prisma-client-js" 3 - output = "../generated/prisma" 2 + provider = "prisma-client" 3 + output = "../src/generated" 4 + moduleFormat = "cjs" 4 5 } 5 6 6 7 datasource db {
+2 -1
backend/src/app.module.ts
··· 1 1 import { Module } from '@nestjs/common'; 2 2 import { AppController } from './app.controller'; 3 3 import { AppService } from './app.service'; 4 + import { PrismaModule } from './prisma/prisma.module'; 4 5 5 6 @Module({ 6 - imports: [], 7 + imports: [PrismaModule], 7 8 controllers: [AppController], 8 9 providers: [AppService], 9 10 })
+34
backend/src/generated/browser.ts
··· 1 + 2 + /* !!! This is code generated by Prisma. Do not edit directly. !!! */ 3 + /* eslint-disable */ 4 + // biome-ignore-all lint: generated file 5 + // @ts-nocheck 6 + /* 7 + * This file should be your main import to use Prisma-related types and utilities in a browser. 8 + * Use it to get access to models, enums, and input types. 9 + * 10 + * This file does not contain a `PrismaClient` class, nor several other helpers that are intended as server-side only. 11 + * See `client.ts` for the standard, server-side entry point. 12 + * 13 + * 🟢 You can import this file directly. 14 + */ 15 + 16 + import * as Prisma from './internal/prismaNamespaceBrowser.js' 17 + export { Prisma } 18 + export * as $Enums from './enums.js' 19 + export * from './enums.js'; 20 + /** 21 + * Model User 22 + * 23 + */ 24 + export type User = Prisma.UserModel 25 + /** 26 + * Model Movie 27 + * 28 + */ 29 + export type Movie = Prisma.MovieModel 30 + /** 31 + * Model TrackedMovie 32 + * 33 + */ 34 + export type TrackedMovie = Prisma.TrackedMovieModel
+54
backend/src/generated/client.ts
··· 1 + 2 + /* !!! This is code generated by Prisma. Do not edit directly. !!! */ 3 + /* eslint-disable */ 4 + // biome-ignore-all lint: generated file 5 + // @ts-nocheck 6 + /* 7 + * This file should be your main import to use Prisma. Through it you get access to all the models, enums, and input types. 8 + * 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 + * 10 + * 🟢 You can import this file directly. 11 + */ 12 + 13 + import * as process from 'node:process' 14 + import * as path from 'node:path' 15 + 16 + import * as runtime from "@prisma/client/runtime/client" 17 + import * as $Enums from "./enums.js" 18 + import * as $Class from "./internal/class.js" 19 + import * as Prisma from "./internal/prismaNamespace.js" 20 + 21 + export * as $Enums from './enums.js' 22 + export * from "./enums.js" 23 + /** 24 + * ## Prisma Client 25 + * 26 + * Type-safe database client for TypeScript 27 + * @example 28 + * ``` 29 + * const prisma = new PrismaClient() 30 + * // Fetch zero or more Users 31 + * const users = await prisma.user.findMany() 32 + * ``` 33 + * 34 + * Read more in our [docs](https://pris.ly/d/client). 35 + */ 36 + export const PrismaClient = $Class.getPrismaClientClass() 37 + 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> 38 + export { Prisma } 39 + 40 + /** 41 + * Model User 42 + * 43 + */ 44 + export type User = Prisma.UserModel 45 + /** 46 + * Model Movie 47 + * 48 + */ 49 + export type Movie = Prisma.MovieModel 50 + /** 51 + * Model TrackedMovie 52 + * 53 + */ 54 + export type TrackedMovie = Prisma.TrackedMovieModel
+326
backend/src/generated/commonInputTypes.ts
··· 1 + 2 + /* !!! This is code generated by Prisma. Do not edit directly. !!! */ 3 + /* eslint-disable */ 4 + // biome-ignore-all lint: generated file 5 + // @ts-nocheck 6 + /* 7 + * This file exports various common sort, input & filter types that are not directly linked to a particular model. 8 + * 9 + * 🟢 You can import this file directly. 10 + */ 11 + 12 + import type * as runtime from "@prisma/client/runtime/client" 13 + import * as $Enums from "./enums.js" 14 + import type * as Prisma from "./internal/prismaNamespace.js" 15 + 16 + 17 + export type StringFilter<$PrismaModel = never> = { 18 + equals?: string | Prisma.StringFieldRefInput<$PrismaModel> 19 + in?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel> 20 + notIn?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel> 21 + lt?: string | Prisma.StringFieldRefInput<$PrismaModel> 22 + lte?: string | Prisma.StringFieldRefInput<$PrismaModel> 23 + gt?: string | Prisma.StringFieldRefInput<$PrismaModel> 24 + gte?: string | Prisma.StringFieldRefInput<$PrismaModel> 25 + contains?: string | Prisma.StringFieldRefInput<$PrismaModel> 26 + startsWith?: string | Prisma.StringFieldRefInput<$PrismaModel> 27 + endsWith?: string | Prisma.StringFieldRefInput<$PrismaModel> 28 + mode?: Prisma.QueryMode 29 + not?: Prisma.NestedStringFilter<$PrismaModel> | string 30 + } 31 + 32 + export type StringNullableFilter<$PrismaModel = never> = { 33 + equals?: string | Prisma.StringFieldRefInput<$PrismaModel> | null 34 + in?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel> | null 35 + notIn?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel> | null 36 + lt?: string | Prisma.StringFieldRefInput<$PrismaModel> 37 + lte?: string | Prisma.StringFieldRefInput<$PrismaModel> 38 + gt?: string | Prisma.StringFieldRefInput<$PrismaModel> 39 + gte?: string | Prisma.StringFieldRefInput<$PrismaModel> 40 + contains?: string | Prisma.StringFieldRefInput<$PrismaModel> 41 + startsWith?: string | Prisma.StringFieldRefInput<$PrismaModel> 42 + endsWith?: string | Prisma.StringFieldRefInput<$PrismaModel> 43 + mode?: Prisma.QueryMode 44 + not?: Prisma.NestedStringNullableFilter<$PrismaModel> | string | null 45 + } 46 + 47 + export type DateTimeFilter<$PrismaModel = never> = { 48 + equals?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> 49 + in?: Date[] | string[] | Prisma.ListDateTimeFieldRefInput<$PrismaModel> 50 + notIn?: Date[] | string[] | Prisma.ListDateTimeFieldRefInput<$PrismaModel> 51 + lt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> 52 + lte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> 53 + gt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> 54 + gte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> 55 + not?: Prisma.NestedDateTimeFilter<$PrismaModel> | Date | string 56 + } 57 + 58 + export type SortOrderInput = { 59 + sort: Prisma.SortOrder 60 + nulls?: Prisma.NullsOrder 61 + } 62 + 63 + export type StringWithAggregatesFilter<$PrismaModel = never> = { 64 + equals?: string | Prisma.StringFieldRefInput<$PrismaModel> 65 + in?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel> 66 + notIn?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel> 67 + lt?: string | Prisma.StringFieldRefInput<$PrismaModel> 68 + lte?: string | Prisma.StringFieldRefInput<$PrismaModel> 69 + gt?: string | Prisma.StringFieldRefInput<$PrismaModel> 70 + gte?: string | Prisma.StringFieldRefInput<$PrismaModel> 71 + contains?: string | Prisma.StringFieldRefInput<$PrismaModel> 72 + startsWith?: string | Prisma.StringFieldRefInput<$PrismaModel> 73 + endsWith?: string | Prisma.StringFieldRefInput<$PrismaModel> 74 + mode?: Prisma.QueryMode 75 + not?: Prisma.NestedStringWithAggregatesFilter<$PrismaModel> | string 76 + _count?: Prisma.NestedIntFilter<$PrismaModel> 77 + _min?: Prisma.NestedStringFilter<$PrismaModel> 78 + _max?: Prisma.NestedStringFilter<$PrismaModel> 79 + } 80 + 81 + export type StringNullableWithAggregatesFilter<$PrismaModel = never> = { 82 + equals?: string | Prisma.StringFieldRefInput<$PrismaModel> | null 83 + in?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel> | null 84 + notIn?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel> | null 85 + lt?: string | Prisma.StringFieldRefInput<$PrismaModel> 86 + lte?: string | Prisma.StringFieldRefInput<$PrismaModel> 87 + gt?: string | Prisma.StringFieldRefInput<$PrismaModel> 88 + gte?: string | Prisma.StringFieldRefInput<$PrismaModel> 89 + contains?: string | Prisma.StringFieldRefInput<$PrismaModel> 90 + startsWith?: string | Prisma.StringFieldRefInput<$PrismaModel> 91 + endsWith?: string | Prisma.StringFieldRefInput<$PrismaModel> 92 + mode?: Prisma.QueryMode 93 + not?: Prisma.NestedStringNullableWithAggregatesFilter<$PrismaModel> | string | null 94 + _count?: Prisma.NestedIntNullableFilter<$PrismaModel> 95 + _min?: Prisma.NestedStringNullableFilter<$PrismaModel> 96 + _max?: Prisma.NestedStringNullableFilter<$PrismaModel> 97 + } 98 + 99 + export type DateTimeWithAggregatesFilter<$PrismaModel = never> = { 100 + equals?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> 101 + in?: Date[] | string[] | Prisma.ListDateTimeFieldRefInput<$PrismaModel> 102 + notIn?: Date[] | string[] | Prisma.ListDateTimeFieldRefInput<$PrismaModel> 103 + lt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> 104 + lte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> 105 + gt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> 106 + gte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> 107 + not?: Prisma.NestedDateTimeWithAggregatesFilter<$PrismaModel> | Date | string 108 + _count?: Prisma.NestedIntFilter<$PrismaModel> 109 + _min?: Prisma.NestedDateTimeFilter<$PrismaModel> 110 + _max?: Prisma.NestedDateTimeFilter<$PrismaModel> 111 + } 112 + 113 + export type IntNullableFilter<$PrismaModel = never> = { 114 + equals?: number | Prisma.IntFieldRefInput<$PrismaModel> | null 115 + in?: number[] | Prisma.ListIntFieldRefInput<$PrismaModel> | null 116 + notIn?: number[] | Prisma.ListIntFieldRefInput<$PrismaModel> | null 117 + lt?: number | Prisma.IntFieldRefInput<$PrismaModel> 118 + lte?: number | Prisma.IntFieldRefInput<$PrismaModel> 119 + gt?: number | Prisma.IntFieldRefInput<$PrismaModel> 120 + gte?: number | Prisma.IntFieldRefInput<$PrismaModel> 121 + not?: Prisma.NestedIntNullableFilter<$PrismaModel> | number | null 122 + } 123 + 124 + export type DateTimeNullableFilter<$PrismaModel = never> = { 125 + equals?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> | null 126 + in?: Date[] | string[] | Prisma.ListDateTimeFieldRefInput<$PrismaModel> | null 127 + notIn?: Date[] | string[] | Prisma.ListDateTimeFieldRefInput<$PrismaModel> | null 128 + lt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> 129 + lte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> 130 + gt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> 131 + gte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> 132 + not?: Prisma.NestedDateTimeNullableFilter<$PrismaModel> | Date | string | null 133 + } 134 + 135 + export type IntNullableWithAggregatesFilter<$PrismaModel = never> = { 136 + equals?: number | Prisma.IntFieldRefInput<$PrismaModel> | null 137 + in?: number[] | Prisma.ListIntFieldRefInput<$PrismaModel> | null 138 + notIn?: number[] | Prisma.ListIntFieldRefInput<$PrismaModel> | null 139 + lt?: number | Prisma.IntFieldRefInput<$PrismaModel> 140 + lte?: number | Prisma.IntFieldRefInput<$PrismaModel> 141 + gt?: number | Prisma.IntFieldRefInput<$PrismaModel> 142 + gte?: number | Prisma.IntFieldRefInput<$PrismaModel> 143 + not?: Prisma.NestedIntNullableWithAggregatesFilter<$PrismaModel> | number | null 144 + _count?: Prisma.NestedIntNullableFilter<$PrismaModel> 145 + _avg?: Prisma.NestedFloatNullableFilter<$PrismaModel> 146 + _sum?: Prisma.NestedIntNullableFilter<$PrismaModel> 147 + _min?: Prisma.NestedIntNullableFilter<$PrismaModel> 148 + _max?: Prisma.NestedIntNullableFilter<$PrismaModel> 149 + } 150 + 151 + export type DateTimeNullableWithAggregatesFilter<$PrismaModel = never> = { 152 + equals?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> | null 153 + in?: Date[] | string[] | Prisma.ListDateTimeFieldRefInput<$PrismaModel> | null 154 + notIn?: Date[] | string[] | Prisma.ListDateTimeFieldRefInput<$PrismaModel> | null 155 + lt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> 156 + lte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> 157 + gt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> 158 + gte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> 159 + not?: Prisma.NestedDateTimeNullableWithAggregatesFilter<$PrismaModel> | Date | string | null 160 + _count?: Prisma.NestedIntNullableFilter<$PrismaModel> 161 + _min?: Prisma.NestedDateTimeNullableFilter<$PrismaModel> 162 + _max?: Prisma.NestedDateTimeNullableFilter<$PrismaModel> 163 + } 164 + 165 + export type NestedStringFilter<$PrismaModel = never> = { 166 + equals?: string | Prisma.StringFieldRefInput<$PrismaModel> 167 + in?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel> 168 + notIn?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel> 169 + lt?: string | Prisma.StringFieldRefInput<$PrismaModel> 170 + lte?: string | Prisma.StringFieldRefInput<$PrismaModel> 171 + gt?: string | Prisma.StringFieldRefInput<$PrismaModel> 172 + gte?: string | Prisma.StringFieldRefInput<$PrismaModel> 173 + contains?: string | Prisma.StringFieldRefInput<$PrismaModel> 174 + startsWith?: string | Prisma.StringFieldRefInput<$PrismaModel> 175 + endsWith?: string | Prisma.StringFieldRefInput<$PrismaModel> 176 + not?: Prisma.NestedStringFilter<$PrismaModel> | string 177 + } 178 + 179 + export type NestedStringNullableFilter<$PrismaModel = never> = { 180 + equals?: string | Prisma.StringFieldRefInput<$PrismaModel> | null 181 + in?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel> | null 182 + notIn?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel> | null 183 + lt?: string | Prisma.StringFieldRefInput<$PrismaModel> 184 + lte?: string | Prisma.StringFieldRefInput<$PrismaModel> 185 + gt?: string | Prisma.StringFieldRefInput<$PrismaModel> 186 + gte?: string | Prisma.StringFieldRefInput<$PrismaModel> 187 + contains?: string | Prisma.StringFieldRefInput<$PrismaModel> 188 + startsWith?: string | Prisma.StringFieldRefInput<$PrismaModel> 189 + endsWith?: string | Prisma.StringFieldRefInput<$PrismaModel> 190 + not?: Prisma.NestedStringNullableFilter<$PrismaModel> | string | null 191 + } 192 + 193 + export type NestedDateTimeFilter<$PrismaModel = never> = { 194 + equals?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> 195 + in?: Date[] | string[] | Prisma.ListDateTimeFieldRefInput<$PrismaModel> 196 + notIn?: Date[] | string[] | Prisma.ListDateTimeFieldRefInput<$PrismaModel> 197 + lt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> 198 + lte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> 199 + gt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> 200 + gte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> 201 + not?: Prisma.NestedDateTimeFilter<$PrismaModel> | Date | string 202 + } 203 + 204 + export type NestedStringWithAggregatesFilter<$PrismaModel = never> = { 205 + equals?: string | Prisma.StringFieldRefInput<$PrismaModel> 206 + in?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel> 207 + notIn?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel> 208 + lt?: string | Prisma.StringFieldRefInput<$PrismaModel> 209 + lte?: string | Prisma.StringFieldRefInput<$PrismaModel> 210 + gt?: string | Prisma.StringFieldRefInput<$PrismaModel> 211 + gte?: string | Prisma.StringFieldRefInput<$PrismaModel> 212 + contains?: string | Prisma.StringFieldRefInput<$PrismaModel> 213 + startsWith?: string | Prisma.StringFieldRefInput<$PrismaModel> 214 + endsWith?: string | Prisma.StringFieldRefInput<$PrismaModel> 215 + not?: Prisma.NestedStringWithAggregatesFilter<$PrismaModel> | string 216 + _count?: Prisma.NestedIntFilter<$PrismaModel> 217 + _min?: Prisma.NestedStringFilter<$PrismaModel> 218 + _max?: Prisma.NestedStringFilter<$PrismaModel> 219 + } 220 + 221 + export type NestedIntFilter<$PrismaModel = never> = { 222 + equals?: number | Prisma.IntFieldRefInput<$PrismaModel> 223 + in?: number[] | Prisma.ListIntFieldRefInput<$PrismaModel> 224 + notIn?: number[] | Prisma.ListIntFieldRefInput<$PrismaModel> 225 + lt?: number | Prisma.IntFieldRefInput<$PrismaModel> 226 + lte?: number | Prisma.IntFieldRefInput<$PrismaModel> 227 + gt?: number | Prisma.IntFieldRefInput<$PrismaModel> 228 + gte?: number | Prisma.IntFieldRefInput<$PrismaModel> 229 + not?: Prisma.NestedIntFilter<$PrismaModel> | number 230 + } 231 + 232 + export type NestedStringNullableWithAggregatesFilter<$PrismaModel = never> = { 233 + equals?: string | Prisma.StringFieldRefInput<$PrismaModel> | null 234 + in?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel> | null 235 + notIn?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel> | null 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.NestedStringNullableWithAggregatesFilter<$PrismaModel> | string | null 244 + _count?: Prisma.NestedIntNullableFilter<$PrismaModel> 245 + _min?: Prisma.NestedStringNullableFilter<$PrismaModel> 246 + _max?: Prisma.NestedStringNullableFilter<$PrismaModel> 247 + } 248 + 249 + export type NestedIntNullableFilter<$PrismaModel = never> = { 250 + equals?: number | Prisma.IntFieldRefInput<$PrismaModel> | null 251 + in?: number[] | Prisma.ListIntFieldRefInput<$PrismaModel> | null 252 + notIn?: number[] | Prisma.ListIntFieldRefInput<$PrismaModel> | null 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.NestedIntNullableFilter<$PrismaModel> | number | null 258 + } 259 + 260 + export type NestedDateTimeWithAggregatesFilter<$PrismaModel = never> = { 261 + equals?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> 262 + in?: Date[] | string[] | Prisma.ListDateTimeFieldRefInput<$PrismaModel> 263 + notIn?: Date[] | string[] | Prisma.ListDateTimeFieldRefInput<$PrismaModel> 264 + lt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> 265 + lte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> 266 + gt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> 267 + gte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> 268 + not?: Prisma.NestedDateTimeWithAggregatesFilter<$PrismaModel> | Date | string 269 + _count?: Prisma.NestedIntFilter<$PrismaModel> 270 + _min?: Prisma.NestedDateTimeFilter<$PrismaModel> 271 + _max?: Prisma.NestedDateTimeFilter<$PrismaModel> 272 + } 273 + 274 + export type NestedDateTimeNullableFilter<$PrismaModel = never> = { 275 + equals?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> | null 276 + in?: Date[] | string[] | Prisma.ListDateTimeFieldRefInput<$PrismaModel> | null 277 + notIn?: Date[] | string[] | Prisma.ListDateTimeFieldRefInput<$PrismaModel> | null 278 + lt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> 279 + lte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> 280 + gt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> 281 + gte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> 282 + not?: Prisma.NestedDateTimeNullableFilter<$PrismaModel> | Date | string | null 283 + } 284 + 285 + export type NestedIntNullableWithAggregatesFilter<$PrismaModel = never> = { 286 + equals?: number | Prisma.IntFieldRefInput<$PrismaModel> | null 287 + in?: number[] | Prisma.ListIntFieldRefInput<$PrismaModel> | null 288 + notIn?: number[] | Prisma.ListIntFieldRefInput<$PrismaModel> | null 289 + lt?: number | Prisma.IntFieldRefInput<$PrismaModel> 290 + lte?: number | Prisma.IntFieldRefInput<$PrismaModel> 291 + gt?: number | Prisma.IntFieldRefInput<$PrismaModel> 292 + gte?: number | Prisma.IntFieldRefInput<$PrismaModel> 293 + not?: Prisma.NestedIntNullableWithAggregatesFilter<$PrismaModel> | number | null 294 + _count?: Prisma.NestedIntNullableFilter<$PrismaModel> 295 + _avg?: Prisma.NestedFloatNullableFilter<$PrismaModel> 296 + _sum?: Prisma.NestedIntNullableFilter<$PrismaModel> 297 + _min?: Prisma.NestedIntNullableFilter<$PrismaModel> 298 + _max?: Prisma.NestedIntNullableFilter<$PrismaModel> 299 + } 300 + 301 + export type NestedFloatNullableFilter<$PrismaModel = never> = { 302 + equals?: number | Prisma.FloatFieldRefInput<$PrismaModel> | null 303 + in?: number[] | Prisma.ListFloatFieldRefInput<$PrismaModel> | null 304 + notIn?: number[] | Prisma.ListFloatFieldRefInput<$PrismaModel> | null 305 + lt?: number | Prisma.FloatFieldRefInput<$PrismaModel> 306 + lte?: number | Prisma.FloatFieldRefInput<$PrismaModel> 307 + gt?: number | Prisma.FloatFieldRefInput<$PrismaModel> 308 + gte?: number | Prisma.FloatFieldRefInput<$PrismaModel> 309 + not?: Prisma.NestedFloatNullableFilter<$PrismaModel> | number | null 310 + } 311 + 312 + export type NestedDateTimeNullableWithAggregatesFilter<$PrismaModel = never> = { 313 + equals?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> | null 314 + in?: Date[] | string[] | Prisma.ListDateTimeFieldRefInput<$PrismaModel> | null 315 + notIn?: Date[] | string[] | Prisma.ListDateTimeFieldRefInput<$PrismaModel> | null 316 + lt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> 317 + lte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> 318 + gt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> 319 + gte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> 320 + not?: Prisma.NestedDateTimeNullableWithAggregatesFilter<$PrismaModel> | Date | string | null 321 + _count?: Prisma.NestedIntNullableFilter<$PrismaModel> 322 + _min?: Prisma.NestedDateTimeNullableFilter<$PrismaModel> 323 + _max?: Prisma.NestedDateTimeNullableFilter<$PrismaModel> 324 + } 325 + 326 +
+15
backend/src/generated/enums.ts
··· 1 + 2 + /* !!! This is code generated by Prisma. Do not edit directly. !!! */ 3 + /* eslint-disable */ 4 + // biome-ignore-all lint: generated file 5 + // @ts-nocheck 6 + /* 7 + * This file exports all enum related types from the schema. 8 + * 9 + * 🟢 You can import this file directly. 10 + */ 11 + 12 + 13 + 14 + // This file is empty because there are no enums in the schema. 15 + export {}
+212
backend/src/generated/internal/class.ts
··· 1 + 2 + /* !!! This is code generated by Prisma. Do not edit directly. !!! */ 3 + /* eslint-disable */ 4 + // biome-ignore-all lint: generated file 5 + // @ts-nocheck 6 + /* 7 + * WARNING: This is an internal file that is subject to change! 8 + * 9 + * 🛑 Under no circumstances should you import this file directly! 🛑 10 + * 11 + * Please import the `PrismaClient` class from the `client.ts` file instead. 12 + */ 13 + 14 + import * as runtime from "@prisma/client/runtime/client" 15 + import type * as Prisma from "./prismaNamespace.js" 16 + 17 + 18 + const config: runtime.GetPrismaClientConfig = { 19 + "previewFeatures": [], 20 + "clientVersion": "7.3.0", 21 + "engineVersion": "9d6ad21cbbceab97458517b147a6a09ff43aa735", 22 + "activeProvider": "postgresql", 23 + "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\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", 24 + "runtimeDataModel": { 25 + "models": {}, 26 + "enums": {}, 27 + "types": {} 28 + } 29 + } 30 + 31 + 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},\"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 + 33 + async function decodeBase64AsWasm(wasmBase64: string): Promise<WebAssembly.Module> { 34 + const { Buffer } = await import('node:buffer') 35 + const wasmArray = Buffer.from(wasmBase64, 'base64') 36 + return new WebAssembly.Module(wasmArray) 37 + } 38 + 39 + config.compilerWasm = { 40 + getRuntime: async () => await import("@prisma/client/runtime/query_compiler_fast_bg.postgresql.js"), 41 + 42 + getQueryCompilerWasmModule: async () => { 43 + const { wasm } = await import("@prisma/client/runtime/query_compiler_fast_bg.postgresql.wasm-base64.js") 44 + return await decodeBase64AsWasm(wasm) 45 + }, 46 + 47 + importName: "./query_compiler_fast_bg.js" 48 + } 49 + 50 + 51 + 52 + export type LogOptions<ClientOptions extends Prisma.PrismaClientOptions> = 53 + 'log' extends keyof ClientOptions ? ClientOptions['log'] extends Array<Prisma.LogLevel | Prisma.LogDefinition> ? Prisma.GetEvents<ClientOptions['log']> : never : never 54 + 55 + export interface PrismaClientConstructor { 56 + /** 57 + * ## Prisma Client 58 + * 59 + * Type-safe database client for TypeScript 60 + * @example 61 + * ``` 62 + * const prisma = new PrismaClient() 63 + * // Fetch zero or more Users 64 + * const users = await prisma.user.findMany() 65 + * ``` 66 + * 67 + * Read more in our [docs](https://pris.ly/d/client). 68 + */ 69 + 70 + new < 71 + Options extends Prisma.PrismaClientOptions = Prisma.PrismaClientOptions, 72 + LogOpts extends LogOptions<Options> = LogOptions<Options>, 73 + OmitOpts extends Prisma.PrismaClientOptions['omit'] = Options extends { omit: infer U } ? U : Prisma.PrismaClientOptions['omit'], 74 + ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs 75 + >(options: Prisma.Subset<Options, Prisma.PrismaClientOptions> ): PrismaClient<LogOpts, OmitOpts, ExtArgs> 76 + } 77 + 78 + /** 79 + * ## Prisma Client 80 + * 81 + * Type-safe database client for TypeScript 82 + * @example 83 + * ``` 84 + * const prisma = new PrismaClient() 85 + * // Fetch zero or more Users 86 + * const users = await prisma.user.findMany() 87 + * ``` 88 + * 89 + * Read more in our [docs](https://pris.ly/d/client). 90 + */ 91 + 92 + export interface PrismaClient< 93 + in LogOpts extends Prisma.LogLevel = never, 94 + in out OmitOpts extends Prisma.PrismaClientOptions['omit'] = undefined, 95 + in out ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs 96 + > { 97 + [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['other'] } 98 + 99 + $on<V extends LogOpts>(eventType: V, callback: (event: V extends 'query' ? Prisma.QueryEvent : Prisma.LogEvent) => void): PrismaClient; 100 + 101 + /** 102 + * Connect with the database 103 + */ 104 + $connect(): runtime.Types.Utils.JsPromise<void>; 105 + 106 + /** 107 + * Disconnect from the database 108 + */ 109 + $disconnect(): runtime.Types.Utils.JsPromise<void>; 110 + 111 + /** 112 + * Executes a prepared raw query and returns the number of affected rows. 113 + * @example 114 + * ``` 115 + * const result = await prisma.$executeRaw`UPDATE User SET cool = ${true} WHERE email = ${'user@email.com'};` 116 + * ``` 117 + * 118 + * Read more in our [docs](https://pris.ly/d/raw-queries). 119 + */ 120 + $executeRaw<T = unknown>(query: TemplateStringsArray | Prisma.Sql, ...values: any[]): Prisma.PrismaPromise<number>; 121 + 122 + /** 123 + * Executes a raw query and returns the number of affected rows. 124 + * Susceptible to SQL injections, see documentation. 125 + * @example 126 + * ``` 127 + * const result = await prisma.$executeRawUnsafe('UPDATE User SET cool = $1 WHERE email = $2 ;', true, 'user@email.com') 128 + * ``` 129 + * 130 + * Read more in our [docs](https://pris.ly/d/raw-queries). 131 + */ 132 + $executeRawUnsafe<T = unknown>(query: string, ...values: any[]): Prisma.PrismaPromise<number>; 133 + 134 + /** 135 + * Performs a prepared raw query and returns the `SELECT` data. 136 + * @example 137 + * ``` 138 + * const result = await prisma.$queryRaw`SELECT * FROM User WHERE id = ${1} OR email = ${'user@email.com'};` 139 + * ``` 140 + * 141 + * Read more in our [docs](https://pris.ly/d/raw-queries). 142 + */ 143 + $queryRaw<T = unknown>(query: TemplateStringsArray | Prisma.Sql, ...values: any[]): Prisma.PrismaPromise<T>; 144 + 145 + /** 146 + * Performs a raw query and returns the `SELECT` data. 147 + * Susceptible to SQL injections, see documentation. 148 + * @example 149 + * ``` 150 + * const result = await prisma.$queryRawUnsafe('SELECT * FROM User WHERE id = $1 OR email = $2;', 1, 'user@email.com') 151 + * ``` 152 + * 153 + * Read more in our [docs](https://pris.ly/d/raw-queries). 154 + */ 155 + $queryRawUnsafe<T = unknown>(query: string, ...values: any[]): Prisma.PrismaPromise<T>; 156 + 157 + 158 + /** 159 + * Allows the running of a sequence of read/write operations that are guaranteed to either succeed or fail as a whole. 160 + * @example 161 + * ``` 162 + * const [george, bob, alice] = await prisma.$transaction([ 163 + * prisma.user.create({ data: { name: 'George' } }), 164 + * prisma.user.create({ data: { name: 'Bob' } }), 165 + * prisma.user.create({ data: { name: 'Alice' } }), 166 + * ]) 167 + * ``` 168 + * 169 + * Read more in our [docs](https://www.prisma.io/docs/concepts/components/prisma-client/transactions). 170 + */ 171 + $transaction<P extends Prisma.PrismaPromise<any>[]>(arg: [...P], options?: { isolationLevel?: Prisma.TransactionIsolationLevel }): runtime.Types.Utils.JsPromise<runtime.Types.Utils.UnwrapTuple<P>> 172 + 173 + $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> 174 + 175 + $extends: runtime.Types.Extensions.ExtendsHook<"extends", Prisma.TypeMapCb<OmitOpts>, ExtArgs, runtime.Types.Utils.Call<Prisma.TypeMapCb<OmitOpts>, { 176 + extArgs: ExtArgs 177 + }>> 178 + 179 + /** 180 + * `prisma.user`: Exposes CRUD operations for the **User** model. 181 + * Example usage: 182 + * ```ts 183 + * // Fetch zero or more Users 184 + * const users = await prisma.user.findMany() 185 + * ``` 186 + */ 187 + get user(): Prisma.UserDelegate<ExtArgs, { omit: OmitOpts }>; 188 + 189 + /** 190 + * `prisma.movie`: Exposes CRUD operations for the **Movie** model. 191 + * Example usage: 192 + * ```ts 193 + * // Fetch zero or more Movies 194 + * const movies = await prisma.movie.findMany() 195 + * ``` 196 + */ 197 + get movie(): Prisma.MovieDelegate<ExtArgs, { omit: OmitOpts }>; 198 + 199 + /** 200 + * `prisma.trackedMovie`: Exposes CRUD operations for the **TrackedMovie** model. 201 + * Example usage: 202 + * ```ts 203 + * // Fetch zero or more TrackedMovies 204 + * const trackedMovies = await prisma.trackedMovie.findMany() 205 + * ``` 206 + */ 207 + get trackedMovie(): Prisma.TrackedMovieDelegate<ExtArgs, { omit: OmitOpts }>; 208 + } 209 + 210 + export function getPrismaClientClass(): PrismaClientConstructor { 211 + return runtime.getPrismaClient(config) as unknown as PrismaClientConstructor 212 + }
+958
backend/src/generated/internal/prismaNamespace.ts
··· 1 + 2 + /* !!! This is code generated by Prisma. Do not edit directly. !!! */ 3 + /* eslint-disable */ 4 + // biome-ignore-all lint: generated file 5 + // @ts-nocheck 6 + /* 7 + * WARNING: This is an internal file that is subject to change! 8 + * 9 + * 🛑 Under no circumstances should you import this file directly! 🛑 10 + * 11 + * All exports from this file are wrapped under a `Prisma` namespace object in the client.ts file. 12 + * While this enables partial backward compatibility, it is not part of the stable public API. 13 + * 14 + * If you are looking for your Models, Enums, and Input Types, please import them from the respective 15 + * model files in the `model` directory! 16 + */ 17 + 18 + import * as runtime from "@prisma/client/runtime/client" 19 + import type * as Prisma from "../models.js" 20 + import { type PrismaClient } from "./class.js" 21 + 22 + export type * from '../models.js' 23 + 24 + export type DMMF = typeof runtime.DMMF 25 + 26 + export type PrismaPromise<T> = runtime.Types.Public.PrismaPromise<T> 27 + 28 + /** 29 + * Prisma Errors 30 + */ 31 + 32 + export const PrismaClientKnownRequestError = runtime.PrismaClientKnownRequestError 33 + export type PrismaClientKnownRequestError = runtime.PrismaClientKnownRequestError 34 + 35 + export const PrismaClientUnknownRequestError = runtime.PrismaClientUnknownRequestError 36 + export type PrismaClientUnknownRequestError = runtime.PrismaClientUnknownRequestError 37 + 38 + export const PrismaClientRustPanicError = runtime.PrismaClientRustPanicError 39 + export type PrismaClientRustPanicError = runtime.PrismaClientRustPanicError 40 + 41 + export const PrismaClientInitializationError = runtime.PrismaClientInitializationError 42 + export type PrismaClientInitializationError = runtime.PrismaClientInitializationError 43 + 44 + export const PrismaClientValidationError = runtime.PrismaClientValidationError 45 + export type PrismaClientValidationError = runtime.PrismaClientValidationError 46 + 47 + /** 48 + * Re-export of sql-template-tag 49 + */ 50 + export const sql = runtime.sqltag 51 + export const empty = runtime.empty 52 + export const join = runtime.join 53 + export const raw = runtime.raw 54 + export const Sql = runtime.Sql 55 + export type Sql = runtime.Sql 56 + 57 + 58 + 59 + /** 60 + * Decimal.js 61 + */ 62 + export const Decimal = runtime.Decimal 63 + export type Decimal = runtime.Decimal 64 + 65 + export type DecimalJsLike = runtime.DecimalJsLike 66 + 67 + /** 68 + * Extensions 69 + */ 70 + export type Extension = runtime.Types.Extensions.UserArgs 71 + export const getExtensionContext = runtime.Extensions.getExtensionContext 72 + export type Args<T, F extends runtime.Operation> = runtime.Types.Public.Args<T, F> 73 + export type Payload<T, F extends runtime.Operation = never> = runtime.Types.Public.Payload<T, F> 74 + export type Result<T, A, F extends runtime.Operation> = runtime.Types.Public.Result<T, A, F> 75 + export type Exact<A, W> = runtime.Types.Public.Exact<A, W> 76 + 77 + export type PrismaVersion = { 78 + client: string 79 + engine: string 80 + } 81 + 82 + /** 83 + * Prisma Client JS version: 7.3.0 84 + * Query Engine version: 9d6ad21cbbceab97458517b147a6a09ff43aa735 85 + */ 86 + export const prismaVersion: PrismaVersion = { 87 + client: "7.3.0", 88 + engine: "9d6ad21cbbceab97458517b147a6a09ff43aa735" 89 + } 90 + 91 + /** 92 + * Utility Types 93 + */ 94 + 95 + export type Bytes = runtime.Bytes 96 + export type JsonObject = runtime.JsonObject 97 + export type JsonArray = runtime.JsonArray 98 + export type JsonValue = runtime.JsonValue 99 + export type InputJsonObject = runtime.InputJsonObject 100 + export type InputJsonArray = runtime.InputJsonArray 101 + export type InputJsonValue = runtime.InputJsonValue 102 + 103 + 104 + export const NullTypes = { 105 + DbNull: runtime.NullTypes.DbNull as (new (secret: never) => typeof runtime.DbNull), 106 + JsonNull: runtime.NullTypes.JsonNull as (new (secret: never) => typeof runtime.JsonNull), 107 + AnyNull: runtime.NullTypes.AnyNull as (new (secret: never) => typeof runtime.AnyNull), 108 + } 109 + /** 110 + * Helper for filtering JSON entries that have `null` on the database (empty on the db) 111 + * 112 + * @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field 113 + */ 114 + export const DbNull = runtime.DbNull 115 + 116 + /** 117 + * Helper for filtering JSON entries that have JSON `null` values (not empty on the db) 118 + * 119 + * @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field 120 + */ 121 + export const JsonNull = runtime.JsonNull 122 + 123 + /** 124 + * Helper for filtering JSON entries that are `Prisma.DbNull` or `Prisma.JsonNull` 125 + * 126 + * @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field 127 + */ 128 + export const AnyNull = runtime.AnyNull 129 + 130 + 131 + type SelectAndInclude = { 132 + select: any 133 + include: any 134 + } 135 + 136 + type SelectAndOmit = { 137 + select: any 138 + omit: any 139 + } 140 + 141 + /** 142 + * From T, pick a set of properties whose keys are in the union K 143 + */ 144 + type Prisma__Pick<T, K extends keyof T> = { 145 + [P in K]: T[P]; 146 + }; 147 + 148 + export type Enumerable<T> = T | Array<T>; 149 + 150 + /** 151 + * Subset 152 + * @desc From `T` pick properties that exist in `U`. Simple version of Intersection 153 + */ 154 + export type Subset<T, U> = { 155 + [key in keyof T]: key extends keyof U ? T[key] : never; 156 + }; 157 + 158 + /** 159 + * SelectSubset 160 + * @desc From `T` pick properties that exist in `U`. Simple version of Intersection. 161 + * Additionally, it validates, if both select and include are present. If the case, it errors. 162 + */ 163 + export type SelectSubset<T, U> = { 164 + [key in keyof T]: key extends keyof U ? T[key] : never 165 + } & 166 + (T extends SelectAndInclude 167 + ? 'Please either choose `select` or `include`.' 168 + : T extends SelectAndOmit 169 + ? 'Please either choose `select` or `omit`.' 170 + : {}) 171 + 172 + /** 173 + * Subset + Intersection 174 + * @desc From `T` pick properties that exist in `U` and intersect `K` 175 + */ 176 + export type SubsetIntersection<T, U, K> = { 177 + [key in keyof T]: key extends keyof U ? T[key] : never 178 + } & 179 + K 180 + 181 + type Without<T, U> = { [P in Exclude<keyof T, keyof U>]?: never }; 182 + 183 + /** 184 + * XOR is needed to have a real mutually exclusive union type 185 + * https://stackoverflow.com/questions/42123407/does-typescript-support-mutually-exclusive-types 186 + */ 187 + export type XOR<T, U> = 188 + T extends object ? 189 + U extends object ? 190 + (Without<T, U> & U) | (Without<U, T> & T) 191 + : U : T 192 + 193 + 194 + /** 195 + * Is T a Record? 196 + */ 197 + type IsObject<T extends any> = T extends Array<any> 198 + ? False 199 + : T extends Date 200 + ? False 201 + : T extends Uint8Array 202 + ? False 203 + : T extends BigInt 204 + ? False 205 + : T extends object 206 + ? True 207 + : False 208 + 209 + 210 + /** 211 + * If it's T[], return T 212 + */ 213 + export type UnEnumerate<T extends unknown> = T extends Array<infer U> ? U : T 214 + 215 + /** 216 + * From ts-toolbelt 217 + */ 218 + 219 + type __Either<O extends object, K extends Key> = Omit<O, K> & 220 + { 221 + // Merge all but K 222 + [P in K]: Prisma__Pick<O, P & keyof O> // With K possibilities 223 + }[K] 224 + 225 + type EitherStrict<O extends object, K extends Key> = Strict<__Either<O, K>> 226 + 227 + type EitherLoose<O extends object, K extends Key> = ComputeRaw<__Either<O, K>> 228 + 229 + type _Either< 230 + O extends object, 231 + K extends Key, 232 + strict extends Boolean 233 + > = { 234 + 1: EitherStrict<O, K> 235 + 0: EitherLoose<O, K> 236 + }[strict] 237 + 238 + export type Either< 239 + O extends object, 240 + K extends Key, 241 + strict extends Boolean = 1 242 + > = O extends unknown ? _Either<O, K, strict> : never 243 + 244 + export type Union = any 245 + 246 + export type PatchUndefined<O extends object, O1 extends object> = { 247 + [K in keyof O]: O[K] extends undefined ? At<O1, K> : O[K] 248 + } & {} 249 + 250 + /** Helper Types for "Merge" **/ 251 + export type IntersectOf<U extends Union> = ( 252 + U extends unknown ? (k: U) => void : never 253 + ) extends (k: infer I) => void 254 + ? I 255 + : never 256 + 257 + export type Overwrite<O extends object, O1 extends object> = { 258 + [K in keyof O]: K extends keyof O1 ? O1[K] : O[K]; 259 + } & {}; 260 + 261 + type _Merge<U extends object> = IntersectOf<Overwrite<U, { 262 + [K in keyof U]-?: At<U, K>; 263 + }>>; 264 + 265 + type Key = string | number | symbol; 266 + type AtStrict<O extends object, K extends Key> = O[K & keyof O]; 267 + type AtLoose<O extends object, K extends Key> = O extends unknown ? AtStrict<O, K> : never; 268 + export type At<O extends object, K extends Key, strict extends Boolean = 1> = { 269 + 1: AtStrict<O, K>; 270 + 0: AtLoose<O, K>; 271 + }[strict]; 272 + 273 + export type ComputeRaw<A extends any> = A extends Function ? A : { 274 + [K in keyof A]: A[K]; 275 + } & {}; 276 + 277 + export type OptionalFlat<O> = { 278 + [K in keyof O]?: O[K]; 279 + } & {}; 280 + 281 + type _Record<K extends keyof any, T> = { 282 + [P in K]: T; 283 + }; 284 + 285 + // cause typescript not to expand types and preserve names 286 + type NoExpand<T> = T extends unknown ? T : never; 287 + 288 + // this type assumes the passed object is entirely optional 289 + export type AtLeast<O extends object, K extends string> = NoExpand< 290 + O extends unknown 291 + ? | (K extends keyof O ? { [P in K]: O[P] } & O : O) 292 + | {[P in keyof O as P extends K ? P : never]-?: O[P]} & O 293 + : never>; 294 + 295 + type _Strict<U, _U = U> = U extends unknown ? U & OptionalFlat<_Record<Exclude<Keys<_U>, keyof U>, never>> : never; 296 + 297 + export type Strict<U extends object> = ComputeRaw<_Strict<U>>; 298 + /** End Helper Types for "Merge" **/ 299 + 300 + export type Merge<U extends object> = ComputeRaw<_Merge<Strict<U>>>; 301 + 302 + export type Boolean = True | False 303 + 304 + export type True = 1 305 + 306 + export type False = 0 307 + 308 + export type Not<B extends Boolean> = { 309 + 0: 1 310 + 1: 0 311 + }[B] 312 + 313 + export type Extends<A1 extends any, A2 extends any> = [A1] extends [never] 314 + ? 0 // anything `never` is false 315 + : A1 extends A2 316 + ? 1 317 + : 0 318 + 319 + export type Has<U extends Union, U1 extends Union> = Not< 320 + Extends<Exclude<U1, U>, U1> 321 + > 322 + 323 + export type Or<B1 extends Boolean, B2 extends Boolean> = { 324 + 0: { 325 + 0: 0 326 + 1: 1 327 + } 328 + 1: { 329 + 0: 1 330 + 1: 1 331 + } 332 + }[B1][B2] 333 + 334 + export type Keys<U extends Union> = U extends unknown ? keyof U : never 335 + 336 + export type GetScalarType<T, O> = O extends object ? { 337 + [P in keyof T]: P extends keyof O 338 + ? O[P] 339 + : never 340 + } : never 341 + 342 + type FieldPaths< 343 + T, 344 + U = Omit<T, '_avg' | '_sum' | '_count' | '_min' | '_max'> 345 + > = IsObject<T> extends True ? U : T 346 + 347 + export type GetHavingFields<T> = { 348 + [K in keyof T]: Or< 349 + Or<Extends<'OR', K>, Extends<'AND', K>>, 350 + Extends<'NOT', K> 351 + > extends True 352 + ? // infer is only needed to not hit TS limit 353 + // based on the brilliant idea of Pierre-Antoine Mills 354 + // https://github.com/microsoft/TypeScript/issues/30188#issuecomment-478938437 355 + T[K] extends infer TK 356 + ? GetHavingFields<UnEnumerate<TK> extends object ? Merge<UnEnumerate<TK>> : never> 357 + : never 358 + : {} extends FieldPaths<T[K]> 359 + ? never 360 + : K 361 + }[keyof T] 362 + 363 + /** 364 + * Convert tuple to union 365 + */ 366 + type _TupleToUnion<T> = T extends (infer E)[] ? E : never 367 + type TupleToUnion<K extends readonly any[]> = _TupleToUnion<K> 368 + export type MaybeTupleToUnion<T> = T extends any[] ? TupleToUnion<T> : T 369 + 370 + /** 371 + * Like `Pick`, but additionally can also accept an array of keys 372 + */ 373 + export type PickEnumerable<T, K extends Enumerable<keyof T> | keyof T> = Prisma__Pick<T, MaybeTupleToUnion<K>> 374 + 375 + /** 376 + * Exclude all keys with underscores 377 + */ 378 + export type ExcludeUnderscoreKeys<T extends string> = T extends `_${string}` ? never : T 379 + 380 + 381 + export type FieldRef<Model, FieldType> = runtime.FieldRef<Model, FieldType> 382 + 383 + type FieldRefInputType<Model, FieldType> = Model extends never ? never : FieldRef<Model, FieldType> 384 + 385 + 386 + export const ModelName = { 387 + User: 'User', 388 + Movie: 'Movie', 389 + TrackedMovie: 'TrackedMovie' 390 + } as const 391 + 392 + export type ModelName = (typeof ModelName)[keyof typeof ModelName] 393 + 394 + 395 + 396 + export interface TypeMapCb<GlobalOmitOptions = {}> extends runtime.Types.Utils.Fn<{extArgs: runtime.Types.Extensions.InternalArgs }, runtime.Types.Utils.Record<string, any>> { 397 + returns: TypeMap<this['params']['extArgs'], GlobalOmitOptions> 398 + } 399 + 400 + export type TypeMap<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> = { 401 + globalOmitOptions: { 402 + omit: GlobalOmitOptions 403 + } 404 + meta: { 405 + modelProps: "user" | "movie" | "trackedMovie" 406 + txIsolationLevel: TransactionIsolationLevel 407 + } 408 + model: { 409 + User: { 410 + payload: Prisma.$UserPayload<ExtArgs> 411 + fields: Prisma.UserFieldRefs 412 + operations: { 413 + findUnique: { 414 + args: Prisma.UserFindUniqueArgs<ExtArgs> 415 + result: runtime.Types.Utils.PayloadToResult<Prisma.$UserPayload> | null 416 + } 417 + findUniqueOrThrow: { 418 + args: Prisma.UserFindUniqueOrThrowArgs<ExtArgs> 419 + result: runtime.Types.Utils.PayloadToResult<Prisma.$UserPayload> 420 + } 421 + findFirst: { 422 + args: Prisma.UserFindFirstArgs<ExtArgs> 423 + result: runtime.Types.Utils.PayloadToResult<Prisma.$UserPayload> | null 424 + } 425 + findFirstOrThrow: { 426 + args: Prisma.UserFindFirstOrThrowArgs<ExtArgs> 427 + result: runtime.Types.Utils.PayloadToResult<Prisma.$UserPayload> 428 + } 429 + findMany: { 430 + args: Prisma.UserFindManyArgs<ExtArgs> 431 + result: runtime.Types.Utils.PayloadToResult<Prisma.$UserPayload>[] 432 + } 433 + create: { 434 + args: Prisma.UserCreateArgs<ExtArgs> 435 + result: runtime.Types.Utils.PayloadToResult<Prisma.$UserPayload> 436 + } 437 + createMany: { 438 + args: Prisma.UserCreateManyArgs<ExtArgs> 439 + result: BatchPayload 440 + } 441 + createManyAndReturn: { 442 + args: Prisma.UserCreateManyAndReturnArgs<ExtArgs> 443 + result: runtime.Types.Utils.PayloadToResult<Prisma.$UserPayload>[] 444 + } 445 + delete: { 446 + args: Prisma.UserDeleteArgs<ExtArgs> 447 + result: runtime.Types.Utils.PayloadToResult<Prisma.$UserPayload> 448 + } 449 + update: { 450 + args: Prisma.UserUpdateArgs<ExtArgs> 451 + result: runtime.Types.Utils.PayloadToResult<Prisma.$UserPayload> 452 + } 453 + deleteMany: { 454 + args: Prisma.UserDeleteManyArgs<ExtArgs> 455 + result: BatchPayload 456 + } 457 + updateMany: { 458 + args: Prisma.UserUpdateManyArgs<ExtArgs> 459 + result: BatchPayload 460 + } 461 + updateManyAndReturn: { 462 + args: Prisma.UserUpdateManyAndReturnArgs<ExtArgs> 463 + result: runtime.Types.Utils.PayloadToResult<Prisma.$UserPayload>[] 464 + } 465 + upsert: { 466 + args: Prisma.UserUpsertArgs<ExtArgs> 467 + result: runtime.Types.Utils.PayloadToResult<Prisma.$UserPayload> 468 + } 469 + aggregate: { 470 + args: Prisma.UserAggregateArgs<ExtArgs> 471 + result: runtime.Types.Utils.Optional<Prisma.AggregateUser> 472 + } 473 + groupBy: { 474 + args: Prisma.UserGroupByArgs<ExtArgs> 475 + result: runtime.Types.Utils.Optional<Prisma.UserGroupByOutputType>[] 476 + } 477 + count: { 478 + args: Prisma.UserCountArgs<ExtArgs> 479 + result: runtime.Types.Utils.Optional<Prisma.UserCountAggregateOutputType> | number 480 + } 481 + } 482 + } 483 + Movie: { 484 + payload: Prisma.$MoviePayload<ExtArgs> 485 + fields: Prisma.MovieFieldRefs 486 + operations: { 487 + findUnique: { 488 + args: Prisma.MovieFindUniqueArgs<ExtArgs> 489 + result: runtime.Types.Utils.PayloadToResult<Prisma.$MoviePayload> | null 490 + } 491 + findUniqueOrThrow: { 492 + args: Prisma.MovieFindUniqueOrThrowArgs<ExtArgs> 493 + result: runtime.Types.Utils.PayloadToResult<Prisma.$MoviePayload> 494 + } 495 + findFirst: { 496 + args: Prisma.MovieFindFirstArgs<ExtArgs> 497 + result: runtime.Types.Utils.PayloadToResult<Prisma.$MoviePayload> | null 498 + } 499 + findFirstOrThrow: { 500 + args: Prisma.MovieFindFirstOrThrowArgs<ExtArgs> 501 + result: runtime.Types.Utils.PayloadToResult<Prisma.$MoviePayload> 502 + } 503 + findMany: { 504 + args: Prisma.MovieFindManyArgs<ExtArgs> 505 + result: runtime.Types.Utils.PayloadToResult<Prisma.$MoviePayload>[] 506 + } 507 + create: { 508 + args: Prisma.MovieCreateArgs<ExtArgs> 509 + result: runtime.Types.Utils.PayloadToResult<Prisma.$MoviePayload> 510 + } 511 + createMany: { 512 + args: Prisma.MovieCreateManyArgs<ExtArgs> 513 + result: BatchPayload 514 + } 515 + createManyAndReturn: { 516 + args: Prisma.MovieCreateManyAndReturnArgs<ExtArgs> 517 + result: runtime.Types.Utils.PayloadToResult<Prisma.$MoviePayload>[] 518 + } 519 + delete: { 520 + args: Prisma.MovieDeleteArgs<ExtArgs> 521 + result: runtime.Types.Utils.PayloadToResult<Prisma.$MoviePayload> 522 + } 523 + update: { 524 + args: Prisma.MovieUpdateArgs<ExtArgs> 525 + result: runtime.Types.Utils.PayloadToResult<Prisma.$MoviePayload> 526 + } 527 + deleteMany: { 528 + args: Prisma.MovieDeleteManyArgs<ExtArgs> 529 + result: BatchPayload 530 + } 531 + updateMany: { 532 + args: Prisma.MovieUpdateManyArgs<ExtArgs> 533 + result: BatchPayload 534 + } 535 + updateManyAndReturn: { 536 + args: Prisma.MovieUpdateManyAndReturnArgs<ExtArgs> 537 + result: runtime.Types.Utils.PayloadToResult<Prisma.$MoviePayload>[] 538 + } 539 + upsert: { 540 + args: Prisma.MovieUpsertArgs<ExtArgs> 541 + result: runtime.Types.Utils.PayloadToResult<Prisma.$MoviePayload> 542 + } 543 + aggregate: { 544 + args: Prisma.MovieAggregateArgs<ExtArgs> 545 + result: runtime.Types.Utils.Optional<Prisma.AggregateMovie> 546 + } 547 + groupBy: { 548 + args: Prisma.MovieGroupByArgs<ExtArgs> 549 + result: runtime.Types.Utils.Optional<Prisma.MovieGroupByOutputType>[] 550 + } 551 + count: { 552 + args: Prisma.MovieCountArgs<ExtArgs> 553 + result: runtime.Types.Utils.Optional<Prisma.MovieCountAggregateOutputType> | number 554 + } 555 + } 556 + } 557 + TrackedMovie: { 558 + payload: Prisma.$TrackedMoviePayload<ExtArgs> 559 + fields: Prisma.TrackedMovieFieldRefs 560 + operations: { 561 + findUnique: { 562 + args: Prisma.TrackedMovieFindUniqueArgs<ExtArgs> 563 + result: runtime.Types.Utils.PayloadToResult<Prisma.$TrackedMoviePayload> | null 564 + } 565 + findUniqueOrThrow: { 566 + args: Prisma.TrackedMovieFindUniqueOrThrowArgs<ExtArgs> 567 + result: runtime.Types.Utils.PayloadToResult<Prisma.$TrackedMoviePayload> 568 + } 569 + findFirst: { 570 + args: Prisma.TrackedMovieFindFirstArgs<ExtArgs> 571 + result: runtime.Types.Utils.PayloadToResult<Prisma.$TrackedMoviePayload> | null 572 + } 573 + findFirstOrThrow: { 574 + args: Prisma.TrackedMovieFindFirstOrThrowArgs<ExtArgs> 575 + result: runtime.Types.Utils.PayloadToResult<Prisma.$TrackedMoviePayload> 576 + } 577 + findMany: { 578 + args: Prisma.TrackedMovieFindManyArgs<ExtArgs> 579 + result: runtime.Types.Utils.PayloadToResult<Prisma.$TrackedMoviePayload>[] 580 + } 581 + create: { 582 + args: Prisma.TrackedMovieCreateArgs<ExtArgs> 583 + result: runtime.Types.Utils.PayloadToResult<Prisma.$TrackedMoviePayload> 584 + } 585 + createMany: { 586 + args: Prisma.TrackedMovieCreateManyArgs<ExtArgs> 587 + result: BatchPayload 588 + } 589 + createManyAndReturn: { 590 + args: Prisma.TrackedMovieCreateManyAndReturnArgs<ExtArgs> 591 + result: runtime.Types.Utils.PayloadToResult<Prisma.$TrackedMoviePayload>[] 592 + } 593 + delete: { 594 + args: Prisma.TrackedMovieDeleteArgs<ExtArgs> 595 + result: runtime.Types.Utils.PayloadToResult<Prisma.$TrackedMoviePayload> 596 + } 597 + update: { 598 + args: Prisma.TrackedMovieUpdateArgs<ExtArgs> 599 + result: runtime.Types.Utils.PayloadToResult<Prisma.$TrackedMoviePayload> 600 + } 601 + deleteMany: { 602 + args: Prisma.TrackedMovieDeleteManyArgs<ExtArgs> 603 + result: BatchPayload 604 + } 605 + updateMany: { 606 + args: Prisma.TrackedMovieUpdateManyArgs<ExtArgs> 607 + result: BatchPayload 608 + } 609 + updateManyAndReturn: { 610 + args: Prisma.TrackedMovieUpdateManyAndReturnArgs<ExtArgs> 611 + result: runtime.Types.Utils.PayloadToResult<Prisma.$TrackedMoviePayload>[] 612 + } 613 + upsert: { 614 + args: Prisma.TrackedMovieUpsertArgs<ExtArgs> 615 + result: runtime.Types.Utils.PayloadToResult<Prisma.$TrackedMoviePayload> 616 + } 617 + aggregate: { 618 + args: Prisma.TrackedMovieAggregateArgs<ExtArgs> 619 + result: runtime.Types.Utils.Optional<Prisma.AggregateTrackedMovie> 620 + } 621 + groupBy: { 622 + args: Prisma.TrackedMovieGroupByArgs<ExtArgs> 623 + result: runtime.Types.Utils.Optional<Prisma.TrackedMovieGroupByOutputType>[] 624 + } 625 + count: { 626 + args: Prisma.TrackedMovieCountArgs<ExtArgs> 627 + result: runtime.Types.Utils.Optional<Prisma.TrackedMovieCountAggregateOutputType> | number 628 + } 629 + } 630 + } 631 + } 632 + } & { 633 + other: { 634 + payload: any 635 + operations: { 636 + $executeRaw: { 637 + args: [query: TemplateStringsArray | Sql, ...values: any[]], 638 + result: any 639 + } 640 + $executeRawUnsafe: { 641 + args: [query: string, ...values: any[]], 642 + result: any 643 + } 644 + $queryRaw: { 645 + args: [query: TemplateStringsArray | Sql, ...values: any[]], 646 + result: any 647 + } 648 + $queryRawUnsafe: { 649 + args: [query: string, ...values: any[]], 650 + result: any 651 + } 652 + } 653 + } 654 + } 655 + 656 + /** 657 + * Enums 658 + */ 659 + 660 + export const TransactionIsolationLevel = runtime.makeStrictEnum({ 661 + ReadUncommitted: 'ReadUncommitted', 662 + ReadCommitted: 'ReadCommitted', 663 + RepeatableRead: 'RepeatableRead', 664 + Serializable: 'Serializable' 665 + } as const) 666 + 667 + export type TransactionIsolationLevel = (typeof TransactionIsolationLevel)[keyof typeof TransactionIsolationLevel] 668 + 669 + 670 + export const UserScalarFieldEnum = { 671 + did: 'did', 672 + handle: 'handle', 673 + displayName: 'displayName', 674 + avatar: 'avatar', 675 + createdAt: 'createdAt', 676 + updatedAt: 'updatedAt' 677 + } as const 678 + 679 + export type UserScalarFieldEnum = (typeof UserScalarFieldEnum)[keyof typeof UserScalarFieldEnum] 680 + 681 + 682 + export const MovieScalarFieldEnum = { 683 + movieId: 'movieId', 684 + title: 'title', 685 + posterPath: 'posterPath', 686 + backdropPath: 'backdropPath', 687 + releaseYear: 'releaseYear', 688 + releaseDate: 'releaseDate', 689 + overview: 'overview', 690 + createdAt: 'createdAt', 691 + updatedAt: 'updatedAt' 692 + } as const 693 + 694 + export type MovieScalarFieldEnum = (typeof MovieScalarFieldEnum)[keyof typeof MovieScalarFieldEnum] 695 + 696 + 697 + export const TrackedMovieScalarFieldEnum = { 698 + id: 'id', 699 + rkey: 'rkey', 700 + uri: 'uri', 701 + cid: 'cid', 702 + userDid: 'userDid', 703 + movieId: 'movieId', 704 + status: 'status', 705 + watchedDate: 'watchedDate', 706 + createdAt: 'createdAt', 707 + updatedAt: 'updatedAt' 708 + } as const 709 + 710 + export type TrackedMovieScalarFieldEnum = (typeof TrackedMovieScalarFieldEnum)[keyof typeof TrackedMovieScalarFieldEnum] 711 + 712 + 713 + export const SortOrder = { 714 + asc: 'asc', 715 + desc: 'desc' 716 + } as const 717 + 718 + export type SortOrder = (typeof SortOrder)[keyof typeof SortOrder] 719 + 720 + 721 + export const QueryMode = { 722 + default: 'default', 723 + insensitive: 'insensitive' 724 + } as const 725 + 726 + export type QueryMode = (typeof QueryMode)[keyof typeof QueryMode] 727 + 728 + 729 + export const NullsOrder = { 730 + first: 'first', 731 + last: 'last' 732 + } as const 733 + 734 + export type NullsOrder = (typeof NullsOrder)[keyof typeof NullsOrder] 735 + 736 + 737 + 738 + /** 739 + * Field references 740 + */ 741 + 742 + 743 + /** 744 + * Reference to a field of type 'String' 745 + */ 746 + export type StringFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'String'> 747 + 748 + 749 + 750 + /** 751 + * Reference to a field of type 'String[]' 752 + */ 753 + export type ListStringFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'String[]'> 754 + 755 + 756 + 757 + /** 758 + * Reference to a field of type 'DateTime' 759 + */ 760 + export type DateTimeFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'DateTime'> 761 + 762 + 763 + 764 + /** 765 + * Reference to a field of type 'DateTime[]' 766 + */ 767 + export type ListDateTimeFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'DateTime[]'> 768 + 769 + 770 + 771 + /** 772 + * Reference to a field of type 'Int' 773 + */ 774 + export type IntFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'Int'> 775 + 776 + 777 + 778 + /** 779 + * Reference to a field of type 'Int[]' 780 + */ 781 + export type ListIntFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'Int[]'> 782 + 783 + 784 + 785 + /** 786 + * Reference to a field of type 'Float' 787 + */ 788 + export type FloatFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'Float'> 789 + 790 + 791 + 792 + /** 793 + * Reference to a field of type 'Float[]' 794 + */ 795 + export type ListFloatFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'Float[]'> 796 + 797 + 798 + /** 799 + * Batch Payload for updateMany & deleteMany & createMany 800 + */ 801 + export type BatchPayload = { 802 + count: number 803 + } 804 + 805 + export const defineExtension = runtime.Extensions.defineExtension as unknown as runtime.Types.Extensions.ExtendsHook<"define", TypeMapCb, runtime.Types.Extensions.DefaultArgs> 806 + export type DefaultPrismaClient = PrismaClient 807 + export type ErrorFormat = 'pretty' | 'colorless' | 'minimal' 808 + export type PrismaClientOptions = ({ 809 + /** 810 + * Instance of a Driver Adapter, e.g., like one provided by `@prisma/adapter-pg`. 811 + */ 812 + adapter: runtime.SqlDriverAdapterFactory 813 + accelerateUrl?: never 814 + } | { 815 + /** 816 + * Prisma Accelerate URL allowing the client to connect through Accelerate instead of a direct database. 817 + */ 818 + accelerateUrl: string 819 + adapter?: never 820 + }) & { 821 + /** 822 + * @default "colorless" 823 + */ 824 + errorFormat?: ErrorFormat 825 + /** 826 + * @example 827 + * ``` 828 + * // Shorthand for `emit: 'stdout'` 829 + * log: ['query', 'info', 'warn', 'error'] 830 + * 831 + * // Emit as events only 832 + * log: [ 833 + * { emit: 'event', level: 'query' }, 834 + * { emit: 'event', level: 'info' }, 835 + * { emit: 'event', level: 'warn' } 836 + * { emit: 'event', level: 'error' } 837 + * ] 838 + * 839 + * / Emit as events and log to stdout 840 + * og: [ 841 + * { emit: 'stdout', level: 'query' }, 842 + * { emit: 'stdout', level: 'info' }, 843 + * { emit: 'stdout', level: 'warn' } 844 + * { emit: 'stdout', level: 'error' } 845 + * 846 + * ``` 847 + * Read more in our [docs](https://pris.ly/d/logging). 848 + */ 849 + log?: (LogLevel | LogDefinition)[] 850 + /** 851 + * The default values for transactionOptions 852 + * maxWait ?= 2000 853 + * timeout ?= 5000 854 + */ 855 + transactionOptions?: { 856 + maxWait?: number 857 + timeout?: number 858 + isolationLevel?: TransactionIsolationLevel 859 + } 860 + /** 861 + * Global configuration for omitting model fields by default. 862 + * 863 + * @example 864 + * ``` 865 + * const prisma = new PrismaClient({ 866 + * omit: { 867 + * user: { 868 + * password: true 869 + * } 870 + * } 871 + * }) 872 + * ``` 873 + */ 874 + omit?: GlobalOmitConfig 875 + /** 876 + * SQL commenter plugins that add metadata to SQL queries as comments. 877 + * Comments follow the sqlcommenter format: https://google.github.io/sqlcommenter/ 878 + * 879 + * @example 880 + * ``` 881 + * const prisma = new PrismaClient({ 882 + * adapter, 883 + * comments: [ 884 + * traceContext(), 885 + * queryInsights(), 886 + * ], 887 + * }) 888 + * ``` 889 + */ 890 + comments?: runtime.SqlCommenterPlugin[] 891 + } 892 + export type GlobalOmitConfig = { 893 + user?: Prisma.UserOmit 894 + movie?: Prisma.MovieOmit 895 + trackedMovie?: Prisma.TrackedMovieOmit 896 + } 897 + 898 + /* Types for Logging */ 899 + export type LogLevel = 'info' | 'query' | 'warn' | 'error' 900 + export type LogDefinition = { 901 + level: LogLevel 902 + emit: 'stdout' | 'event' 903 + } 904 + 905 + export type CheckIsLogLevel<T> = T extends LogLevel ? T : never; 906 + 907 + export type GetLogType<T> = CheckIsLogLevel< 908 + T extends LogDefinition ? T['level'] : T 909 + >; 910 + 911 + export type GetEvents<T extends any[]> = T extends Array<LogLevel | LogDefinition> 912 + ? GetLogType<T[number]> 913 + : never; 914 + 915 + export type QueryEvent = { 916 + timestamp: Date 917 + query: string 918 + params: string 919 + duration: number 920 + target: string 921 + } 922 + 923 + export type LogEvent = { 924 + timestamp: Date 925 + message: string 926 + target: string 927 + } 928 + /* End Types for Logging */ 929 + 930 + 931 + export type PrismaAction = 932 + | 'findUnique' 933 + | 'findUniqueOrThrow' 934 + | 'findMany' 935 + | 'findFirst' 936 + | 'findFirstOrThrow' 937 + | 'create' 938 + | 'createMany' 939 + | 'createManyAndReturn' 940 + | 'update' 941 + | 'updateMany' 942 + | 'updateManyAndReturn' 943 + | 'upsert' 944 + | 'delete' 945 + | 'deleteMany' 946 + | 'executeRaw' 947 + | 'queryRaw' 948 + | 'aggregate' 949 + | 'count' 950 + | 'runCommandRaw' 951 + | 'findRaw' 952 + | 'groupBy' 953 + 954 + /** 955 + * `PrismaClient` proxy available in interactive transactions. 956 + */ 957 + export type TransactionClient = Omit<DefaultPrismaClient, runtime.ITXClientDenyList> 958 +
+140
backend/src/generated/internal/prismaNamespaceBrowser.ts
··· 1 + 2 + /* !!! This is code generated by Prisma. Do not edit directly. !!! */ 3 + /* eslint-disable */ 4 + // biome-ignore-all lint: generated file 5 + // @ts-nocheck 6 + /* 7 + * WARNING: This is an internal file that is subject to change! 8 + * 9 + * 🛑 Under no circumstances should you import this file directly! 🛑 10 + * 11 + * All exports from this file are wrapped under a `Prisma` namespace object in the browser.ts file. 12 + * While this enables partial backward compatibility, it is not part of the stable public API. 13 + * 14 + * If you are looking for your Models, Enums, and Input Types, please import them from the respective 15 + * model files in the `model` directory! 16 + */ 17 + 18 + import * as runtime from "@prisma/client/runtime/index-browser" 19 + 20 + export type * from '../models.js' 21 + export type * from './prismaNamespace.js' 22 + 23 + export const Decimal = runtime.Decimal 24 + 25 + 26 + export const NullTypes = { 27 + DbNull: runtime.NullTypes.DbNull as (new (secret: never) => typeof runtime.DbNull), 28 + JsonNull: runtime.NullTypes.JsonNull as (new (secret: never) => typeof runtime.JsonNull), 29 + AnyNull: runtime.NullTypes.AnyNull as (new (secret: never) => typeof runtime.AnyNull), 30 + } 31 + /** 32 + * Helper for filtering JSON entries that have `null` on the database (empty on the db) 33 + * 34 + * @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field 35 + */ 36 + export const DbNull = runtime.DbNull 37 + 38 + /** 39 + * Helper for filtering JSON entries that have JSON `null` values (not empty on the db) 40 + * 41 + * @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field 42 + */ 43 + export const JsonNull = runtime.JsonNull 44 + 45 + /** 46 + * Helper for filtering JSON entries that are `Prisma.DbNull` or `Prisma.JsonNull` 47 + * 48 + * @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field 49 + */ 50 + export const AnyNull = runtime.AnyNull 51 + 52 + 53 + export const ModelName = { 54 + User: 'User', 55 + Movie: 'Movie', 56 + TrackedMovie: 'TrackedMovie' 57 + } as const 58 + 59 + export type ModelName = (typeof ModelName)[keyof typeof ModelName] 60 + 61 + /* 62 + * Enums 63 + */ 64 + 65 + export const TransactionIsolationLevel = runtime.makeStrictEnum({ 66 + ReadUncommitted: 'ReadUncommitted', 67 + ReadCommitted: 'ReadCommitted', 68 + RepeatableRead: 'RepeatableRead', 69 + Serializable: 'Serializable' 70 + } as const) 71 + 72 + export type TransactionIsolationLevel = (typeof TransactionIsolationLevel)[keyof typeof TransactionIsolationLevel] 73 + 74 + 75 + export const UserScalarFieldEnum = { 76 + did: 'did', 77 + handle: 'handle', 78 + displayName: 'displayName', 79 + avatar: 'avatar', 80 + createdAt: 'createdAt', 81 + updatedAt: 'updatedAt' 82 + } as const 83 + 84 + export type UserScalarFieldEnum = (typeof UserScalarFieldEnum)[keyof typeof UserScalarFieldEnum] 85 + 86 + 87 + export const MovieScalarFieldEnum = { 88 + movieId: 'movieId', 89 + title: 'title', 90 + posterPath: 'posterPath', 91 + backdropPath: 'backdropPath', 92 + releaseYear: 'releaseYear', 93 + releaseDate: 'releaseDate', 94 + overview: 'overview', 95 + createdAt: 'createdAt', 96 + updatedAt: 'updatedAt' 97 + } as const 98 + 99 + export type MovieScalarFieldEnum = (typeof MovieScalarFieldEnum)[keyof typeof MovieScalarFieldEnum] 100 + 101 + 102 + export const TrackedMovieScalarFieldEnum = { 103 + id: 'id', 104 + rkey: 'rkey', 105 + uri: 'uri', 106 + cid: 'cid', 107 + userDid: 'userDid', 108 + movieId: 'movieId', 109 + status: 'status', 110 + watchedDate: 'watchedDate', 111 + createdAt: 'createdAt', 112 + updatedAt: 'updatedAt' 113 + } as const 114 + 115 + export type TrackedMovieScalarFieldEnum = (typeof TrackedMovieScalarFieldEnum)[keyof typeof TrackedMovieScalarFieldEnum] 116 + 117 + 118 + export const SortOrder = { 119 + asc: 'asc', 120 + desc: 'desc' 121 + } as const 122 + 123 + export type SortOrder = (typeof SortOrder)[keyof typeof SortOrder] 124 + 125 + 126 + export const QueryMode = { 127 + default: 'default', 128 + insensitive: 'insensitive' 129 + } as const 130 + 131 + export type QueryMode = (typeof QueryMode)[keyof typeof QueryMode] 132 + 133 + 134 + export const NullsOrder = { 135 + first: 'first', 136 + last: 'last' 137 + } as const 138 + 139 + export type NullsOrder = (typeof NullsOrder)[keyof typeof NullsOrder] 140 +
+14
backend/src/generated/models.ts
··· 1 + 2 + /* !!! This is code generated by Prisma. Do not edit directly. !!! */ 3 + /* eslint-disable */ 4 + // biome-ignore-all lint: generated file 5 + // @ts-nocheck 6 + /* 7 + * This is a barrel export file for all models and their related types. 8 + * 9 + * 🟢 You can import this file directly. 10 + */ 11 + export type * from './models/User.js' 12 + export type * from './models/Movie.js' 13 + export type * from './models/TrackedMovie.js' 14 + export type * from './commonInputTypes.js'
+1506
backend/src/generated/models/Movie.ts
··· 1 + 2 + /* !!! This is code generated by Prisma. Do not edit directly. !!! */ 3 + /* eslint-disable */ 4 + // biome-ignore-all lint: generated file 5 + // @ts-nocheck 6 + /* 7 + * This file exports the `Movie` model and its related types. 8 + * 9 + * 🟢 You can import this file directly. 10 + */ 11 + import type * as runtime from "@prisma/client/runtime/client" 12 + import type * as $Enums from "../enums.js" 13 + import type * as Prisma from "../internal/prismaNamespace.js" 14 + 15 + /** 16 + * Model Movie 17 + * 18 + */ 19 + export type MovieModel = runtime.Types.Result.DefaultSelection<Prisma.$MoviePayload> 20 + 21 + export type AggregateMovie = { 22 + _count: MovieCountAggregateOutputType | null 23 + _avg: MovieAvgAggregateOutputType | null 24 + _sum: MovieSumAggregateOutputType | null 25 + _min: MovieMinAggregateOutputType | null 26 + _max: MovieMaxAggregateOutputType | null 27 + } 28 + 29 + export type MovieAvgAggregateOutputType = { 30 + releaseYear: number | null 31 + } 32 + 33 + export type MovieSumAggregateOutputType = { 34 + releaseYear: number | null 35 + } 36 + 37 + export type MovieMinAggregateOutputType = { 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 + } 48 + 49 + export type MovieMaxAggregateOutputType = { 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 + } 60 + 61 + export type MovieCountAggregateOutputType = { 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 + 74 + 75 + export type MovieAvgAggregateInputType = { 76 + releaseYear?: true 77 + } 78 + 79 + export type MovieSumAggregateInputType = { 80 + releaseYear?: true 81 + } 82 + 83 + export type MovieMinAggregateInputType = { 84 + movieId?: true 85 + title?: true 86 + posterPath?: true 87 + backdropPath?: true 88 + releaseYear?: true 89 + releaseDate?: true 90 + overview?: true 91 + createdAt?: true 92 + updatedAt?: true 93 + } 94 + 95 + export type MovieMaxAggregateInputType = { 96 + movieId?: true 97 + title?: true 98 + posterPath?: true 99 + backdropPath?: true 100 + releaseYear?: true 101 + releaseDate?: true 102 + overview?: true 103 + createdAt?: true 104 + updatedAt?: true 105 + } 106 + 107 + export type MovieCountAggregateInputType = { 108 + movieId?: true 109 + title?: true 110 + posterPath?: true 111 + backdropPath?: true 112 + releaseYear?: true 113 + releaseDate?: true 114 + overview?: true 115 + createdAt?: true 116 + updatedAt?: true 117 + _all?: true 118 + } 119 + 120 + export type MovieAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = { 121 + /** 122 + * Filter which Movie to aggregate. 123 + */ 124 + where?: Prisma.MovieWhereInput 125 + /** 126 + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} 127 + * 128 + * Determine the order of Movies to fetch. 129 + */ 130 + orderBy?: Prisma.MovieOrderByWithRelationInput | Prisma.MovieOrderByWithRelationInput[] 131 + /** 132 + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} 133 + * 134 + * Sets the start position 135 + */ 136 + cursor?: Prisma.MovieWhereUniqueInput 137 + /** 138 + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} 139 + * 140 + * Take `±n` Movies from the position of the cursor. 141 + */ 142 + take?: number 143 + /** 144 + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} 145 + * 146 + * Skip the first `n` Movies. 147 + */ 148 + skip?: number 149 + /** 150 + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} 151 + * 152 + * Count returned Movies 153 + **/ 154 + _count?: true | MovieCountAggregateInputType 155 + /** 156 + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} 157 + * 158 + * Select which fields to average 159 + **/ 160 + _avg?: MovieAvgAggregateInputType 161 + /** 162 + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} 163 + * 164 + * Select which fields to sum 165 + **/ 166 + _sum?: MovieSumAggregateInputType 167 + /** 168 + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} 169 + * 170 + * Select which fields to find the minimum value 171 + **/ 172 + _min?: MovieMinAggregateInputType 173 + /** 174 + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} 175 + * 176 + * Select which fields to find the maximum value 177 + **/ 178 + _max?: MovieMaxAggregateInputType 179 + } 180 + 181 + export type GetMovieAggregateType<T extends MovieAggregateArgs> = { 182 + [P in keyof T & keyof AggregateMovie]: P extends '_count' | 'count' 183 + ? T[P] extends true 184 + ? number 185 + : Prisma.GetScalarType<T[P], AggregateMovie[P]> 186 + : Prisma.GetScalarType<T[P], AggregateMovie[P]> 187 + } 188 + 189 + 190 + 191 + 192 + export type MovieGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = { 193 + where?: Prisma.MovieWhereInput 194 + orderBy?: Prisma.MovieOrderByWithAggregationInput | Prisma.MovieOrderByWithAggregationInput[] 195 + by: Prisma.MovieScalarFieldEnum[] | Prisma.MovieScalarFieldEnum 196 + having?: Prisma.MovieScalarWhereWithAggregatesInput 197 + take?: number 198 + skip?: number 199 + _count?: MovieCountAggregateInputType | true 200 + _avg?: MovieAvgAggregateInputType 201 + _sum?: MovieSumAggregateInputType 202 + _min?: MovieMinAggregateInputType 203 + _max?: MovieMaxAggregateInputType 204 + } 205 + 206 + export type MovieGroupByOutputType = { 207 + movieId: string 208 + title: string 209 + posterPath: string | null 210 + backdropPath: string | null 211 + releaseYear: number | null 212 + releaseDate: Date | null 213 + overview: string | null 214 + createdAt: Date 215 + updatedAt: Date 216 + _count: MovieCountAggregateOutputType | null 217 + _avg: MovieAvgAggregateOutputType | null 218 + _sum: MovieSumAggregateOutputType | null 219 + _min: MovieMinAggregateOutputType | null 220 + _max: MovieMaxAggregateOutputType | null 221 + } 222 + 223 + type GetMovieGroupByPayload<T extends MovieGroupByArgs> = Prisma.PrismaPromise< 224 + Array< 225 + Prisma.PickEnumerable<MovieGroupByOutputType, T['by']> & 226 + { 227 + [P in ((keyof T) & (keyof MovieGroupByOutputType))]: P extends '_count' 228 + ? T[P] extends boolean 229 + ? number 230 + : Prisma.GetScalarType<T[P], MovieGroupByOutputType[P]> 231 + : Prisma.GetScalarType<T[P], MovieGroupByOutputType[P]> 232 + } 233 + > 234 + > 235 + 236 + 237 + 238 + export type MovieWhereInput = { 239 + AND?: Prisma.MovieWhereInput | Prisma.MovieWhereInput[] 240 + OR?: Prisma.MovieWhereInput[] 241 + NOT?: Prisma.MovieWhereInput | Prisma.MovieWhereInput[] 242 + movieId?: Prisma.StringFilter<"Movie"> | string 243 + title?: Prisma.StringFilter<"Movie"> | string 244 + posterPath?: Prisma.StringNullableFilter<"Movie"> | string | null 245 + backdropPath?: Prisma.StringNullableFilter<"Movie"> | string | null 246 + releaseYear?: Prisma.IntNullableFilter<"Movie"> | number | null 247 + releaseDate?: Prisma.DateTimeNullableFilter<"Movie"> | Date | string | null 248 + overview?: Prisma.StringNullableFilter<"Movie"> | string | null 249 + createdAt?: Prisma.DateTimeFilter<"Movie"> | Date | string 250 + updatedAt?: Prisma.DateTimeFilter<"Movie"> | Date | string 251 + trackedBy?: Prisma.TrackedMovieListRelationFilter 252 + } 253 + 254 + export type MovieOrderByWithRelationInput = { 255 + movieId?: Prisma.SortOrder 256 + title?: Prisma.SortOrder 257 + posterPath?: Prisma.SortOrderInput | Prisma.SortOrder 258 + backdropPath?: Prisma.SortOrderInput | Prisma.SortOrder 259 + releaseYear?: Prisma.SortOrderInput | Prisma.SortOrder 260 + releaseDate?: Prisma.SortOrderInput | Prisma.SortOrder 261 + overview?: Prisma.SortOrderInput | Prisma.SortOrder 262 + createdAt?: Prisma.SortOrder 263 + updatedAt?: Prisma.SortOrder 264 + trackedBy?: Prisma.TrackedMovieOrderByRelationAggregateInput 265 + } 266 + 267 + export type MovieWhereUniqueInput = Prisma.AtLeast<{ 268 + movieId?: string 269 + AND?: Prisma.MovieWhereInput | Prisma.MovieWhereInput[] 270 + OR?: Prisma.MovieWhereInput[] 271 + NOT?: Prisma.MovieWhereInput | Prisma.MovieWhereInput[] 272 + title?: Prisma.StringFilter<"Movie"> | string 273 + posterPath?: Prisma.StringNullableFilter<"Movie"> | string | null 274 + backdropPath?: Prisma.StringNullableFilter<"Movie"> | string | null 275 + releaseYear?: Prisma.IntNullableFilter<"Movie"> | number | null 276 + releaseDate?: Prisma.DateTimeNullableFilter<"Movie"> | Date | string | null 277 + overview?: Prisma.StringNullableFilter<"Movie"> | string | null 278 + createdAt?: Prisma.DateTimeFilter<"Movie"> | Date | string 279 + updatedAt?: Prisma.DateTimeFilter<"Movie"> | Date | string 280 + trackedBy?: Prisma.TrackedMovieListRelationFilter 281 + }, "movieId"> 282 + 283 + export type MovieOrderByWithAggregationInput = { 284 + movieId?: Prisma.SortOrder 285 + title?: Prisma.SortOrder 286 + posterPath?: Prisma.SortOrderInput | Prisma.SortOrder 287 + backdropPath?: Prisma.SortOrderInput | Prisma.SortOrder 288 + releaseYear?: Prisma.SortOrderInput | Prisma.SortOrder 289 + releaseDate?: Prisma.SortOrderInput | Prisma.SortOrder 290 + overview?: Prisma.SortOrderInput | Prisma.SortOrder 291 + createdAt?: Prisma.SortOrder 292 + updatedAt?: Prisma.SortOrder 293 + _count?: Prisma.MovieCountOrderByAggregateInput 294 + _avg?: Prisma.MovieAvgOrderByAggregateInput 295 + _max?: Prisma.MovieMaxOrderByAggregateInput 296 + _min?: Prisma.MovieMinOrderByAggregateInput 297 + _sum?: Prisma.MovieSumOrderByAggregateInput 298 + } 299 + 300 + export type MovieScalarWhereWithAggregatesInput = { 301 + AND?: Prisma.MovieScalarWhereWithAggregatesInput | Prisma.MovieScalarWhereWithAggregatesInput[] 302 + OR?: Prisma.MovieScalarWhereWithAggregatesInput[] 303 + NOT?: Prisma.MovieScalarWhereWithAggregatesInput | Prisma.MovieScalarWhereWithAggregatesInput[] 304 + movieId?: Prisma.StringWithAggregatesFilter<"Movie"> | string 305 + title?: Prisma.StringWithAggregatesFilter<"Movie"> | string 306 + posterPath?: Prisma.StringNullableWithAggregatesFilter<"Movie"> | string | null 307 + backdropPath?: Prisma.StringNullableWithAggregatesFilter<"Movie"> | string | null 308 + releaseYear?: Prisma.IntNullableWithAggregatesFilter<"Movie"> | number | null 309 + releaseDate?: Prisma.DateTimeNullableWithAggregatesFilter<"Movie"> | Date | string | null 310 + overview?: Prisma.StringNullableWithAggregatesFilter<"Movie"> | string | null 311 + createdAt?: Prisma.DateTimeWithAggregatesFilter<"Movie"> | Date | string 312 + updatedAt?: Prisma.DateTimeWithAggregatesFilter<"Movie"> | Date | string 313 + } 314 + 315 + export type MovieCreateInput = { 316 + movieId: string 317 + title: string 318 + posterPath?: string | null 319 + backdropPath?: string | null 320 + releaseYear?: number | null 321 + releaseDate?: Date | string | null 322 + overview?: string | null 323 + createdAt?: Date | string 324 + updatedAt?: Date | string 325 + trackedBy?: Prisma.TrackedMovieCreateNestedManyWithoutMovieInput 326 + } 327 + 328 + export type MovieUncheckedCreateInput = { 329 + movieId: string 330 + title: string 331 + posterPath?: string | null 332 + backdropPath?: string | null 333 + releaseYear?: number | null 334 + releaseDate?: Date | string | null 335 + overview?: string | null 336 + createdAt?: Date | string 337 + updatedAt?: Date | string 338 + trackedBy?: Prisma.TrackedMovieUncheckedCreateNestedManyWithoutMovieInput 339 + } 340 + 341 + export type MovieUpdateInput = { 342 + movieId?: Prisma.StringFieldUpdateOperationsInput | string 343 + title?: Prisma.StringFieldUpdateOperationsInput | string 344 + posterPath?: Prisma.NullableStringFieldUpdateOperationsInput | string | null 345 + backdropPath?: Prisma.NullableStringFieldUpdateOperationsInput | string | null 346 + releaseYear?: Prisma.NullableIntFieldUpdateOperationsInput | number | null 347 + releaseDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null 348 + overview?: Prisma.NullableStringFieldUpdateOperationsInput | string | null 349 + createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string 350 + updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string 351 + trackedBy?: Prisma.TrackedMovieUpdateManyWithoutMovieNestedInput 352 + } 353 + 354 + export type MovieUncheckedUpdateInput = { 355 + movieId?: Prisma.StringFieldUpdateOperationsInput | string 356 + title?: Prisma.StringFieldUpdateOperationsInput | string 357 + posterPath?: Prisma.NullableStringFieldUpdateOperationsInput | string | null 358 + backdropPath?: Prisma.NullableStringFieldUpdateOperationsInput | string | null 359 + releaseYear?: Prisma.NullableIntFieldUpdateOperationsInput | number | null 360 + releaseDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null 361 + overview?: Prisma.NullableStringFieldUpdateOperationsInput | string | null 362 + createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string 363 + updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string 364 + trackedBy?: Prisma.TrackedMovieUncheckedUpdateManyWithoutMovieNestedInput 365 + } 366 + 367 + export type MovieCreateManyInput = { 368 + movieId: string 369 + title: string 370 + posterPath?: string | null 371 + backdropPath?: string | null 372 + releaseYear?: number | null 373 + releaseDate?: Date | string | null 374 + overview?: string | null 375 + createdAt?: Date | string 376 + updatedAt?: Date | string 377 + } 378 + 379 + export type MovieUpdateManyMutationInput = { 380 + movieId?: Prisma.StringFieldUpdateOperationsInput | string 381 + title?: Prisma.StringFieldUpdateOperationsInput | string 382 + posterPath?: Prisma.NullableStringFieldUpdateOperationsInput | string | null 383 + backdropPath?: Prisma.NullableStringFieldUpdateOperationsInput | string | null 384 + releaseYear?: Prisma.NullableIntFieldUpdateOperationsInput | number | null 385 + releaseDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null 386 + overview?: Prisma.NullableStringFieldUpdateOperationsInput | string | null 387 + createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string 388 + updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string 389 + } 390 + 391 + export type MovieUncheckedUpdateManyInput = { 392 + movieId?: Prisma.StringFieldUpdateOperationsInput | string 393 + title?: Prisma.StringFieldUpdateOperationsInput | string 394 + posterPath?: Prisma.NullableStringFieldUpdateOperationsInput | string | null 395 + backdropPath?: Prisma.NullableStringFieldUpdateOperationsInput | string | null 396 + releaseYear?: Prisma.NullableIntFieldUpdateOperationsInput | number | null 397 + releaseDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null 398 + overview?: Prisma.NullableStringFieldUpdateOperationsInput | string | null 399 + createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string 400 + updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string 401 + } 402 + 403 + export type MovieCountOrderByAggregateInput = { 404 + movieId?: Prisma.SortOrder 405 + title?: Prisma.SortOrder 406 + posterPath?: Prisma.SortOrder 407 + backdropPath?: Prisma.SortOrder 408 + releaseYear?: Prisma.SortOrder 409 + releaseDate?: Prisma.SortOrder 410 + overview?: Prisma.SortOrder 411 + createdAt?: Prisma.SortOrder 412 + updatedAt?: Prisma.SortOrder 413 + } 414 + 415 + export type MovieAvgOrderByAggregateInput = { 416 + releaseYear?: Prisma.SortOrder 417 + } 418 + 419 + export type MovieMaxOrderByAggregateInput = { 420 + movieId?: Prisma.SortOrder 421 + title?: Prisma.SortOrder 422 + posterPath?: Prisma.SortOrder 423 + backdropPath?: Prisma.SortOrder 424 + releaseYear?: Prisma.SortOrder 425 + releaseDate?: Prisma.SortOrder 426 + overview?: Prisma.SortOrder 427 + createdAt?: Prisma.SortOrder 428 + updatedAt?: Prisma.SortOrder 429 + } 430 + 431 + export type MovieMinOrderByAggregateInput = { 432 + movieId?: Prisma.SortOrder 433 + title?: Prisma.SortOrder 434 + posterPath?: Prisma.SortOrder 435 + backdropPath?: Prisma.SortOrder 436 + releaseYear?: Prisma.SortOrder 437 + releaseDate?: Prisma.SortOrder 438 + overview?: Prisma.SortOrder 439 + createdAt?: Prisma.SortOrder 440 + updatedAt?: Prisma.SortOrder 441 + } 442 + 443 + export type MovieSumOrderByAggregateInput = { 444 + releaseYear?: Prisma.SortOrder 445 + } 446 + 447 + export type MovieScalarRelationFilter = { 448 + is?: Prisma.MovieWhereInput 449 + isNot?: Prisma.MovieWhereInput 450 + } 451 + 452 + export type NullableIntFieldUpdateOperationsInput = { 453 + set?: number | null 454 + increment?: number 455 + decrement?: number 456 + multiply?: number 457 + divide?: number 458 + } 459 + 460 + export type NullableDateTimeFieldUpdateOperationsInput = { 461 + set?: Date | string | null 462 + } 463 + 464 + export type MovieCreateNestedOneWithoutTrackedByInput = { 465 + create?: Prisma.XOR<Prisma.MovieCreateWithoutTrackedByInput, Prisma.MovieUncheckedCreateWithoutTrackedByInput> 466 + connectOrCreate?: Prisma.MovieCreateOrConnectWithoutTrackedByInput 467 + connect?: Prisma.MovieWhereUniqueInput 468 + } 469 + 470 + export type MovieUpdateOneRequiredWithoutTrackedByNestedInput = { 471 + create?: Prisma.XOR<Prisma.MovieCreateWithoutTrackedByInput, Prisma.MovieUncheckedCreateWithoutTrackedByInput> 472 + connectOrCreate?: Prisma.MovieCreateOrConnectWithoutTrackedByInput 473 + upsert?: Prisma.MovieUpsertWithoutTrackedByInput 474 + connect?: Prisma.MovieWhereUniqueInput 475 + update?: Prisma.XOR<Prisma.XOR<Prisma.MovieUpdateToOneWithWhereWithoutTrackedByInput, Prisma.MovieUpdateWithoutTrackedByInput>, Prisma.MovieUncheckedUpdateWithoutTrackedByInput> 476 + } 477 + 478 + export type MovieCreateWithoutTrackedByInput = { 479 + movieId: string 480 + title: string 481 + posterPath?: string | null 482 + backdropPath?: string | null 483 + releaseYear?: number | null 484 + releaseDate?: Date | string | null 485 + overview?: string | null 486 + createdAt?: Date | string 487 + updatedAt?: Date | string 488 + } 489 + 490 + export type MovieUncheckedCreateWithoutTrackedByInput = { 491 + movieId: string 492 + title: string 493 + posterPath?: string | null 494 + backdropPath?: string | null 495 + releaseYear?: number | null 496 + releaseDate?: Date | string | null 497 + overview?: string | null 498 + createdAt?: Date | string 499 + updatedAt?: Date | string 500 + } 501 + 502 + export type MovieCreateOrConnectWithoutTrackedByInput = { 503 + where: Prisma.MovieWhereUniqueInput 504 + create: Prisma.XOR<Prisma.MovieCreateWithoutTrackedByInput, Prisma.MovieUncheckedCreateWithoutTrackedByInput> 505 + } 506 + 507 + export type MovieUpsertWithoutTrackedByInput = { 508 + update: Prisma.XOR<Prisma.MovieUpdateWithoutTrackedByInput, Prisma.MovieUncheckedUpdateWithoutTrackedByInput> 509 + create: Prisma.XOR<Prisma.MovieCreateWithoutTrackedByInput, Prisma.MovieUncheckedCreateWithoutTrackedByInput> 510 + where?: Prisma.MovieWhereInput 511 + } 512 + 513 + export type MovieUpdateToOneWithWhereWithoutTrackedByInput = { 514 + where?: Prisma.MovieWhereInput 515 + data: Prisma.XOR<Prisma.MovieUpdateWithoutTrackedByInput, Prisma.MovieUncheckedUpdateWithoutTrackedByInput> 516 + } 517 + 518 + export type MovieUpdateWithoutTrackedByInput = { 519 + movieId?: Prisma.StringFieldUpdateOperationsInput | string 520 + title?: Prisma.StringFieldUpdateOperationsInput | string 521 + posterPath?: Prisma.NullableStringFieldUpdateOperationsInput | string | null 522 + backdropPath?: Prisma.NullableStringFieldUpdateOperationsInput | string | null 523 + releaseYear?: Prisma.NullableIntFieldUpdateOperationsInput | number | null 524 + releaseDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null 525 + overview?: Prisma.NullableStringFieldUpdateOperationsInput | string | null 526 + createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string 527 + updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string 528 + } 529 + 530 + export type MovieUncheckedUpdateWithoutTrackedByInput = { 531 + movieId?: Prisma.StringFieldUpdateOperationsInput | string 532 + title?: Prisma.StringFieldUpdateOperationsInput | string 533 + posterPath?: Prisma.NullableStringFieldUpdateOperationsInput | string | null 534 + backdropPath?: Prisma.NullableStringFieldUpdateOperationsInput | string | null 535 + releaseYear?: Prisma.NullableIntFieldUpdateOperationsInput | number | null 536 + releaseDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null 537 + overview?: Prisma.NullableStringFieldUpdateOperationsInput | string | null 538 + createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string 539 + updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string 540 + } 541 + 542 + 543 + /** 544 + * Count Type MovieCountOutputType 545 + */ 546 + 547 + export type MovieCountOutputType = { 548 + trackedBy: number 549 + } 550 + 551 + export type MovieCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = { 552 + trackedBy?: boolean | MovieCountOutputTypeCountTrackedByArgs 553 + } 554 + 555 + /** 556 + * MovieCountOutputType without action 557 + */ 558 + export type MovieCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = { 559 + /** 560 + * Select specific fields to fetch from the MovieCountOutputType 561 + */ 562 + select?: Prisma.MovieCountOutputTypeSelect<ExtArgs> | null 563 + } 564 + 565 + /** 566 + * MovieCountOutputType without action 567 + */ 568 + export type MovieCountOutputTypeCountTrackedByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = { 569 + where?: Prisma.TrackedMovieWhereInput 570 + } 571 + 572 + 573 + export type MovieSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{ 574 + movieId?: boolean 575 + title?: boolean 576 + posterPath?: boolean 577 + backdropPath?: boolean 578 + releaseYear?: boolean 579 + releaseDate?: boolean 580 + overview?: boolean 581 + createdAt?: boolean 582 + updatedAt?: boolean 583 + trackedBy?: boolean | Prisma.Movie$trackedByArgs<ExtArgs> 584 + _count?: boolean | Prisma.MovieCountOutputTypeDefaultArgs<ExtArgs> 585 + }, ExtArgs["result"]["movie"]> 586 + 587 + export type MovieSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{ 588 + movieId?: boolean 589 + title?: boolean 590 + posterPath?: boolean 591 + backdropPath?: boolean 592 + releaseYear?: boolean 593 + releaseDate?: boolean 594 + overview?: boolean 595 + createdAt?: boolean 596 + updatedAt?: boolean 597 + }, ExtArgs["result"]["movie"]> 598 + 599 + export type MovieSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{ 600 + movieId?: boolean 601 + title?: boolean 602 + posterPath?: boolean 603 + backdropPath?: boolean 604 + releaseYear?: boolean 605 + releaseDate?: boolean 606 + overview?: boolean 607 + createdAt?: boolean 608 + updatedAt?: boolean 609 + }, ExtArgs["result"]["movie"]> 610 + 611 + export type MovieSelectScalar = { 612 + movieId?: boolean 613 + title?: boolean 614 + posterPath?: boolean 615 + backdropPath?: boolean 616 + releaseYear?: boolean 617 + releaseDate?: boolean 618 + overview?: boolean 619 + createdAt?: boolean 620 + updatedAt?: boolean 621 + } 622 + 623 + 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"]> 624 + export type MovieInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = { 625 + trackedBy?: boolean | Prisma.Movie$trackedByArgs<ExtArgs> 626 + _count?: boolean | Prisma.MovieCountOutputTypeDefaultArgs<ExtArgs> 627 + } 628 + export type MovieIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {} 629 + export type MovieIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {} 630 + 631 + export type $MoviePayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = { 632 + name: "Movie" 633 + objects: { 634 + trackedBy: Prisma.$TrackedMoviePayload<ExtArgs>[] 635 + } 636 + scalars: runtime.Types.Extensions.GetPayloadResult<{ 637 + movieId: string 638 + title: string 639 + posterPath: string | null 640 + backdropPath: string | null 641 + releaseYear: number | null 642 + releaseDate: Date | null 643 + overview: string | null 644 + createdAt: Date 645 + updatedAt: Date 646 + }, ExtArgs["result"]["movie"]> 647 + composites: {} 648 + } 649 + 650 + export type MovieGetPayload<S extends boolean | null | undefined | MovieDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$MoviePayload, S> 651 + 652 + export type MovieCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = 653 + Omit<MovieFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & { 654 + select?: MovieCountAggregateInputType | true 655 + } 656 + 657 + export interface MovieDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> { 658 + [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['Movie'], meta: { name: 'Movie' } } 659 + /** 660 + * Find zero or one Movie that matches the filter. 661 + * @param {MovieFindUniqueArgs} args - Arguments to find a Movie 662 + * @example 663 + * // Get one Movie 664 + * const movie = await prisma.movie.findUnique({ 665 + * where: { 666 + * // ... provide filter here 667 + * } 668 + * }) 669 + */ 670 + 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> 671 + 672 + /** 673 + * Find one Movie that matches the filter or throw an error with `error.code='P2025'` 674 + * if no matches were found. 675 + * @param {MovieFindUniqueOrThrowArgs} args - Arguments to find a Movie 676 + * @example 677 + * // Get one Movie 678 + * const movie = await prisma.movie.findUniqueOrThrow({ 679 + * where: { 680 + * // ... provide filter here 681 + * } 682 + * }) 683 + */ 684 + 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> 685 + 686 + /** 687 + * Find the first Movie that matches the filter. 688 + * Note, that providing `undefined` is treated as the value not being there. 689 + * Read more here: https://pris.ly/d/null-undefined 690 + * @param {MovieFindFirstArgs} args - Arguments to find a Movie 691 + * @example 692 + * // Get one Movie 693 + * const movie = await prisma.movie.findFirst({ 694 + * where: { 695 + * // ... provide filter here 696 + * } 697 + * }) 698 + */ 699 + 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> 700 + 701 + /** 702 + * Find the first Movie that matches the filter or 703 + * throw `PrismaKnownClientError` with `P2025` code if no matches were found. 704 + * Note, that providing `undefined` is treated as the value not being there. 705 + * Read more here: https://pris.ly/d/null-undefined 706 + * @param {MovieFindFirstOrThrowArgs} args - Arguments to find a Movie 707 + * @example 708 + * // Get one Movie 709 + * const movie = await prisma.movie.findFirstOrThrow({ 710 + * where: { 711 + * // ... provide filter here 712 + * } 713 + * }) 714 + */ 715 + 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> 716 + 717 + /** 718 + * Find zero or more Movies that matches the filter. 719 + * Note, that providing `undefined` is treated as the value not being there. 720 + * Read more here: https://pris.ly/d/null-undefined 721 + * @param {MovieFindManyArgs} args - Arguments to filter and select certain fields only. 722 + * @example 723 + * // Get all Movies 724 + * const movies = await prisma.movie.findMany() 725 + * 726 + * // Get first 10 Movies 727 + * const movies = await prisma.movie.findMany({ take: 10 }) 728 + * 729 + * // Only select the `movieId` 730 + * const movieWithMovieIdOnly = await prisma.movie.findMany({ select: { movieId: true } }) 731 + * 732 + */ 733 + findMany<T extends MovieFindManyArgs>(args?: Prisma.SelectSubset<T, MovieFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$MoviePayload<ExtArgs>, T, "findMany", GlobalOmitOptions>> 734 + 735 + /** 736 + * Create a Movie. 737 + * @param {MovieCreateArgs} args - Arguments to create a Movie. 738 + * @example 739 + * // Create one Movie 740 + * const Movie = await prisma.movie.create({ 741 + * data: { 742 + * // ... data to create a Movie 743 + * } 744 + * }) 745 + * 746 + */ 747 + 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> 748 + 749 + /** 750 + * Create many Movies. 751 + * @param {MovieCreateManyArgs} args - Arguments to create many Movies. 752 + * @example 753 + * // Create many Movies 754 + * const movie = await prisma.movie.createMany({ 755 + * data: [ 756 + * // ... provide data here 757 + * ] 758 + * }) 759 + * 760 + */ 761 + createMany<T extends MovieCreateManyArgs>(args?: Prisma.SelectSubset<T, MovieCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload> 762 + 763 + /** 764 + * Create many Movies and returns the data saved in the database. 765 + * @param {MovieCreateManyAndReturnArgs} args - Arguments to create many Movies. 766 + * @example 767 + * // Create many Movies 768 + * const movie = await prisma.movie.createManyAndReturn({ 769 + * data: [ 770 + * // ... provide data here 771 + * ] 772 + * }) 773 + * 774 + * // Create many Movies and only return the `movieId` 775 + * const movieWithMovieIdOnly = await prisma.movie.createManyAndReturn({ 776 + * select: { movieId: true }, 777 + * data: [ 778 + * // ... provide data here 779 + * ] 780 + * }) 781 + * Note, that providing `undefined` is treated as the value not being there. 782 + * Read more here: https://pris.ly/d/null-undefined 783 + * 784 + */ 785 + createManyAndReturn<T extends MovieCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, MovieCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$MoviePayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>> 786 + 787 + /** 788 + * Delete a Movie. 789 + * @param {MovieDeleteArgs} args - Arguments to delete one Movie. 790 + * @example 791 + * // Delete one Movie 792 + * const Movie = await prisma.movie.delete({ 793 + * where: { 794 + * // ... filter to delete one Movie 795 + * } 796 + * }) 797 + * 798 + */ 799 + 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> 800 + 801 + /** 802 + * Update one Movie. 803 + * @param {MovieUpdateArgs} args - Arguments to update one Movie. 804 + * @example 805 + * // Update one Movie 806 + * const movie = await prisma.movie.update({ 807 + * where: { 808 + * // ... provide filter here 809 + * }, 810 + * data: { 811 + * // ... provide data here 812 + * } 813 + * }) 814 + * 815 + */ 816 + 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> 817 + 818 + /** 819 + * Delete zero or more Movies. 820 + * @param {MovieDeleteManyArgs} args - Arguments to filter Movies to delete. 821 + * @example 822 + * // Delete a few Movies 823 + * const { count } = await prisma.movie.deleteMany({ 824 + * where: { 825 + * // ... provide filter here 826 + * } 827 + * }) 828 + * 829 + */ 830 + deleteMany<T extends MovieDeleteManyArgs>(args?: Prisma.SelectSubset<T, MovieDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload> 831 + 832 + /** 833 + * Update zero or more Movies. 834 + * Note, that providing `undefined` is treated as the value not being there. 835 + * Read more here: https://pris.ly/d/null-undefined 836 + * @param {MovieUpdateManyArgs} args - Arguments to update one or more rows. 837 + * @example 838 + * // Update many Movies 839 + * const movie = await prisma.movie.updateMany({ 840 + * where: { 841 + * // ... provide filter here 842 + * }, 843 + * data: { 844 + * // ... provide data here 845 + * } 846 + * }) 847 + * 848 + */ 849 + updateMany<T extends MovieUpdateManyArgs>(args: Prisma.SelectSubset<T, MovieUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload> 850 + 851 + /** 852 + * Update zero or more Movies and returns the data updated in the database. 853 + * @param {MovieUpdateManyAndReturnArgs} args - Arguments to update many Movies. 854 + * @example 855 + * // Update many Movies 856 + * const movie = await prisma.movie.updateManyAndReturn({ 857 + * where: { 858 + * // ... provide filter here 859 + * }, 860 + * data: [ 861 + * // ... provide data here 862 + * ] 863 + * }) 864 + * 865 + * // Update zero or more Movies and only return the `movieId` 866 + * const movieWithMovieIdOnly = await prisma.movie.updateManyAndReturn({ 867 + * select: { movieId: true }, 868 + * where: { 869 + * // ... provide filter here 870 + * }, 871 + * data: [ 872 + * // ... provide data here 873 + * ] 874 + * }) 875 + * Note, that providing `undefined` is treated as the value not being there. 876 + * Read more here: https://pris.ly/d/null-undefined 877 + * 878 + */ 879 + updateManyAndReturn<T extends MovieUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, MovieUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$MoviePayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>> 880 + 881 + /** 882 + * Create or update one Movie. 883 + * @param {MovieUpsertArgs} args - Arguments to update or create a Movie. 884 + * @example 885 + * // Update or create a Movie 886 + * const movie = await prisma.movie.upsert({ 887 + * create: { 888 + * // ... data to create a Movie 889 + * }, 890 + * update: { 891 + * // ... in case it already exists, update 892 + * }, 893 + * where: { 894 + * // ... the filter for the Movie we want to update 895 + * } 896 + * }) 897 + */ 898 + 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> 899 + 900 + 901 + /** 902 + * Count the number of Movies. 903 + * Note, that providing `undefined` is treated as the value not being there. 904 + * Read more here: https://pris.ly/d/null-undefined 905 + * @param {MovieCountArgs} args - Arguments to filter Movies to count. 906 + * @example 907 + * // Count the number of Movies 908 + * const count = await prisma.movie.count({ 909 + * where: { 910 + * // ... the filter for the Movies we want to count 911 + * } 912 + * }) 913 + **/ 914 + count<T extends MovieCountArgs>( 915 + args?: Prisma.Subset<T, MovieCountArgs>, 916 + ): Prisma.PrismaPromise< 917 + T extends runtime.Types.Utils.Record<'select', any> 918 + ? T['select'] extends true 919 + ? number 920 + : Prisma.GetScalarType<T['select'], MovieCountAggregateOutputType> 921 + : number 922 + > 923 + 924 + /** 925 + * Allows you to perform aggregations operations on a Movie. 926 + * Note, that providing `undefined` is treated as the value not being there. 927 + * Read more here: https://pris.ly/d/null-undefined 928 + * @param {MovieAggregateArgs} args - Select which aggregations you would like to apply and on what fields. 929 + * @example 930 + * // Ordered by age ascending 931 + * // Where email contains prisma.io 932 + * // Limited to the 10 users 933 + * const aggregations = await prisma.user.aggregate({ 934 + * _avg: { 935 + * age: true, 936 + * }, 937 + * where: { 938 + * email: { 939 + * contains: "prisma.io", 940 + * }, 941 + * }, 942 + * orderBy: { 943 + * age: "asc", 944 + * }, 945 + * take: 10, 946 + * }) 947 + **/ 948 + aggregate<T extends MovieAggregateArgs>(args: Prisma.Subset<T, MovieAggregateArgs>): Prisma.PrismaPromise<GetMovieAggregateType<T>> 949 + 950 + /** 951 + * Group by Movie. 952 + * Note, that providing `undefined` is treated as the value not being there. 953 + * Read more here: https://pris.ly/d/null-undefined 954 + * @param {MovieGroupByArgs} args - Group by arguments. 955 + * @example 956 + * // Group by city, order by createdAt, get count 957 + * const result = await prisma.user.groupBy({ 958 + * by: ['city', 'createdAt'], 959 + * orderBy: { 960 + * createdAt: true 961 + * }, 962 + * _count: { 963 + * _all: true 964 + * }, 965 + * }) 966 + * 967 + **/ 968 + groupBy< 969 + T extends MovieGroupByArgs, 970 + HasSelectOrTake extends Prisma.Or< 971 + Prisma.Extends<'skip', Prisma.Keys<T>>, 972 + Prisma.Extends<'take', Prisma.Keys<T>> 973 + >, 974 + OrderByArg extends Prisma.True extends HasSelectOrTake 975 + ? { orderBy: MovieGroupByArgs['orderBy'] } 976 + : { orderBy?: MovieGroupByArgs['orderBy'] }, 977 + OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>, 978 + ByFields extends Prisma.MaybeTupleToUnion<T['by']>, 979 + ByValid extends Prisma.Has<ByFields, OrderFields>, 980 + HavingFields extends Prisma.GetHavingFields<T['having']>, 981 + HavingValid extends Prisma.Has<ByFields, HavingFields>, 982 + ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False, 983 + InputErrors extends ByEmpty extends Prisma.True 984 + ? `Error: "by" must not be empty.` 985 + : HavingValid extends Prisma.False 986 + ? { 987 + [P in HavingFields]: P extends ByFields 988 + ? never 989 + : P extends string 990 + ? `Error: Field "${P}" used in "having" needs to be provided in "by".` 991 + : [ 992 + Error, 993 + 'Field ', 994 + P, 995 + ` in "having" needs to be provided in "by"`, 996 + ] 997 + }[HavingFields] 998 + : 'take' extends Prisma.Keys<T> 999 + ? 'orderBy' extends Prisma.Keys<T> 1000 + ? ByValid extends Prisma.True 1001 + ? {} 1002 + : { 1003 + [P in OrderFields]: P extends ByFields 1004 + ? never 1005 + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` 1006 + }[OrderFields] 1007 + : 'Error: If you provide "take", you also need to provide "orderBy"' 1008 + : 'skip' extends Prisma.Keys<T> 1009 + ? 'orderBy' extends Prisma.Keys<T> 1010 + ? ByValid extends Prisma.True 1011 + ? {} 1012 + : { 1013 + [P in OrderFields]: P extends ByFields 1014 + ? never 1015 + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` 1016 + }[OrderFields] 1017 + : 'Error: If you provide "skip", you also need to provide "orderBy"' 1018 + : ByValid extends Prisma.True 1019 + ? {} 1020 + : { 1021 + [P in OrderFields]: P extends ByFields 1022 + ? never 1023 + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` 1024 + }[OrderFields] 1025 + >(args: Prisma.SubsetIntersection<T, MovieGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetMovieGroupByPayload<T> : Prisma.PrismaPromise<InputErrors> 1026 + /** 1027 + * Fields of the Movie model 1028 + */ 1029 + readonly fields: MovieFieldRefs; 1030 + } 1031 + 1032 + /** 1033 + * The delegate class that acts as a "Promise-like" for Movie. 1034 + * Why is this prefixed with `Prisma__`? 1035 + * Because we want to prevent naming conflicts as mentioned in 1036 + * https://github.com/prisma/prisma-client-js/issues/707 1037 + */ 1038 + export interface Prisma__MovieClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> { 1039 + readonly [Symbol.toStringTag]: "PrismaPromise" 1040 + 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> 1041 + /** 1042 + * Attaches callbacks for the resolution and/or rejection of the Promise. 1043 + * @param onfulfilled The callback to execute when the Promise is resolved. 1044 + * @param onrejected The callback to execute when the Promise is rejected. 1045 + * @returns A Promise for the completion of which ever callback is executed. 1046 + */ 1047 + 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> 1048 + /** 1049 + * Attaches a callback for only the rejection of the Promise. 1050 + * @param onrejected The callback to execute when the Promise is rejected. 1051 + * @returns A Promise for the completion of the callback. 1052 + */ 1053 + catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult> 1054 + /** 1055 + * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The 1056 + * resolved value cannot be modified from the callback. 1057 + * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected). 1058 + * @returns A Promise for the completion of the callback. 1059 + */ 1060 + finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T> 1061 + } 1062 + 1063 + 1064 + 1065 + 1066 + /** 1067 + * Fields of the Movie model 1068 + */ 1069 + export interface MovieFieldRefs { 1070 + readonly movieId: Prisma.FieldRef<"Movie", 'String'> 1071 + readonly title: Prisma.FieldRef<"Movie", 'String'> 1072 + readonly posterPath: Prisma.FieldRef<"Movie", 'String'> 1073 + readonly backdropPath: Prisma.FieldRef<"Movie", 'String'> 1074 + readonly releaseYear: Prisma.FieldRef<"Movie", 'Int'> 1075 + readonly releaseDate: Prisma.FieldRef<"Movie", 'DateTime'> 1076 + readonly overview: Prisma.FieldRef<"Movie", 'String'> 1077 + readonly createdAt: Prisma.FieldRef<"Movie", 'DateTime'> 1078 + readonly updatedAt: Prisma.FieldRef<"Movie", 'DateTime'> 1079 + } 1080 + 1081 + 1082 + // Custom InputTypes 1083 + /** 1084 + * Movie findUnique 1085 + */ 1086 + export type MovieFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = { 1087 + /** 1088 + * Select specific fields to fetch from the Movie 1089 + */ 1090 + select?: Prisma.MovieSelect<ExtArgs> | null 1091 + /** 1092 + * Omit specific fields from the Movie 1093 + */ 1094 + omit?: Prisma.MovieOmit<ExtArgs> | null 1095 + /** 1096 + * Choose, which related nodes to fetch as well 1097 + */ 1098 + include?: Prisma.MovieInclude<ExtArgs> | null 1099 + /** 1100 + * Filter, which Movie to fetch. 1101 + */ 1102 + where: Prisma.MovieWhereUniqueInput 1103 + } 1104 + 1105 + /** 1106 + * Movie findUniqueOrThrow 1107 + */ 1108 + export type MovieFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = { 1109 + /** 1110 + * Select specific fields to fetch from the Movie 1111 + */ 1112 + select?: Prisma.MovieSelect<ExtArgs> | null 1113 + /** 1114 + * Omit specific fields from the Movie 1115 + */ 1116 + omit?: Prisma.MovieOmit<ExtArgs> | null 1117 + /** 1118 + * Choose, which related nodes to fetch as well 1119 + */ 1120 + include?: Prisma.MovieInclude<ExtArgs> | null 1121 + /** 1122 + * Filter, which Movie to fetch. 1123 + */ 1124 + where: Prisma.MovieWhereUniqueInput 1125 + } 1126 + 1127 + /** 1128 + * Movie findFirst 1129 + */ 1130 + export type MovieFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = { 1131 + /** 1132 + * Select specific fields to fetch from the Movie 1133 + */ 1134 + select?: Prisma.MovieSelect<ExtArgs> | null 1135 + /** 1136 + * Omit specific fields from the Movie 1137 + */ 1138 + omit?: Prisma.MovieOmit<ExtArgs> | null 1139 + /** 1140 + * Choose, which related nodes to fetch as well 1141 + */ 1142 + include?: Prisma.MovieInclude<ExtArgs> | null 1143 + /** 1144 + * Filter, which Movie to fetch. 1145 + */ 1146 + where?: Prisma.MovieWhereInput 1147 + /** 1148 + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} 1149 + * 1150 + * Determine the order of Movies to fetch. 1151 + */ 1152 + orderBy?: Prisma.MovieOrderByWithRelationInput | Prisma.MovieOrderByWithRelationInput[] 1153 + /** 1154 + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} 1155 + * 1156 + * Sets the position for searching for Movies. 1157 + */ 1158 + cursor?: Prisma.MovieWhereUniqueInput 1159 + /** 1160 + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} 1161 + * 1162 + * Take `±n` Movies from the position of the cursor. 1163 + */ 1164 + take?: number 1165 + /** 1166 + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} 1167 + * 1168 + * Skip the first `n` Movies. 1169 + */ 1170 + skip?: number 1171 + /** 1172 + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} 1173 + * 1174 + * Filter by unique combinations of Movies. 1175 + */ 1176 + distinct?: Prisma.MovieScalarFieldEnum | Prisma.MovieScalarFieldEnum[] 1177 + } 1178 + 1179 + /** 1180 + * Movie findFirstOrThrow 1181 + */ 1182 + export type MovieFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = { 1183 + /** 1184 + * Select specific fields to fetch from the Movie 1185 + */ 1186 + select?: Prisma.MovieSelect<ExtArgs> | null 1187 + /** 1188 + * Omit specific fields from the Movie 1189 + */ 1190 + omit?: Prisma.MovieOmit<ExtArgs> | null 1191 + /** 1192 + * Choose, which related nodes to fetch as well 1193 + */ 1194 + include?: Prisma.MovieInclude<ExtArgs> | null 1195 + /** 1196 + * Filter, which Movie to fetch. 1197 + */ 1198 + where?: Prisma.MovieWhereInput 1199 + /** 1200 + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} 1201 + * 1202 + * Determine the order of Movies to fetch. 1203 + */ 1204 + orderBy?: Prisma.MovieOrderByWithRelationInput | Prisma.MovieOrderByWithRelationInput[] 1205 + /** 1206 + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} 1207 + * 1208 + * Sets the position for searching for Movies. 1209 + */ 1210 + cursor?: Prisma.MovieWhereUniqueInput 1211 + /** 1212 + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} 1213 + * 1214 + * Take `±n` Movies from the position of the cursor. 1215 + */ 1216 + take?: number 1217 + /** 1218 + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} 1219 + * 1220 + * Skip the first `n` Movies. 1221 + */ 1222 + skip?: number 1223 + /** 1224 + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} 1225 + * 1226 + * Filter by unique combinations of Movies. 1227 + */ 1228 + distinct?: Prisma.MovieScalarFieldEnum | Prisma.MovieScalarFieldEnum[] 1229 + } 1230 + 1231 + /** 1232 + * Movie findMany 1233 + */ 1234 + export type MovieFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = { 1235 + /** 1236 + * Select specific fields to fetch from the Movie 1237 + */ 1238 + select?: Prisma.MovieSelect<ExtArgs> | null 1239 + /** 1240 + * Omit specific fields from the Movie 1241 + */ 1242 + omit?: Prisma.MovieOmit<ExtArgs> | null 1243 + /** 1244 + * Choose, which related nodes to fetch as well 1245 + */ 1246 + include?: Prisma.MovieInclude<ExtArgs> | null 1247 + /** 1248 + * Filter, which Movies to fetch. 1249 + */ 1250 + where?: Prisma.MovieWhereInput 1251 + /** 1252 + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} 1253 + * 1254 + * Determine the order of Movies to fetch. 1255 + */ 1256 + orderBy?: Prisma.MovieOrderByWithRelationInput | Prisma.MovieOrderByWithRelationInput[] 1257 + /** 1258 + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} 1259 + * 1260 + * Sets the position for listing Movies. 1261 + */ 1262 + cursor?: Prisma.MovieWhereUniqueInput 1263 + /** 1264 + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} 1265 + * 1266 + * Take `±n` Movies from the position of the cursor. 1267 + */ 1268 + take?: number 1269 + /** 1270 + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} 1271 + * 1272 + * Skip the first `n` Movies. 1273 + */ 1274 + skip?: number 1275 + distinct?: Prisma.MovieScalarFieldEnum | Prisma.MovieScalarFieldEnum[] 1276 + } 1277 + 1278 + /** 1279 + * Movie create 1280 + */ 1281 + export type MovieCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = { 1282 + /** 1283 + * Select specific fields to fetch from the Movie 1284 + */ 1285 + select?: Prisma.MovieSelect<ExtArgs> | null 1286 + /** 1287 + * Omit specific fields from the Movie 1288 + */ 1289 + omit?: Prisma.MovieOmit<ExtArgs> | null 1290 + /** 1291 + * Choose, which related nodes to fetch as well 1292 + */ 1293 + include?: Prisma.MovieInclude<ExtArgs> | null 1294 + /** 1295 + * The data needed to create a Movie. 1296 + */ 1297 + data: Prisma.XOR<Prisma.MovieCreateInput, Prisma.MovieUncheckedCreateInput> 1298 + } 1299 + 1300 + /** 1301 + * Movie createMany 1302 + */ 1303 + export type MovieCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = { 1304 + /** 1305 + * The data used to create many Movies. 1306 + */ 1307 + data: Prisma.MovieCreateManyInput | Prisma.MovieCreateManyInput[] 1308 + skipDuplicates?: boolean 1309 + } 1310 + 1311 + /** 1312 + * Movie createManyAndReturn 1313 + */ 1314 + export type MovieCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = { 1315 + /** 1316 + * Select specific fields to fetch from the Movie 1317 + */ 1318 + select?: Prisma.MovieSelectCreateManyAndReturn<ExtArgs> | null 1319 + /** 1320 + * Omit specific fields from the Movie 1321 + */ 1322 + omit?: Prisma.MovieOmit<ExtArgs> | null 1323 + /** 1324 + * The data used to create many Movies. 1325 + */ 1326 + data: Prisma.MovieCreateManyInput | Prisma.MovieCreateManyInput[] 1327 + skipDuplicates?: boolean 1328 + } 1329 + 1330 + /** 1331 + * Movie update 1332 + */ 1333 + export type MovieUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = { 1334 + /** 1335 + * Select specific fields to fetch from the Movie 1336 + */ 1337 + select?: Prisma.MovieSelect<ExtArgs> | null 1338 + /** 1339 + * Omit specific fields from the Movie 1340 + */ 1341 + omit?: Prisma.MovieOmit<ExtArgs> | null 1342 + /** 1343 + * Choose, which related nodes to fetch as well 1344 + */ 1345 + include?: Prisma.MovieInclude<ExtArgs> | null 1346 + /** 1347 + * The data needed to update a Movie. 1348 + */ 1349 + data: Prisma.XOR<Prisma.MovieUpdateInput, Prisma.MovieUncheckedUpdateInput> 1350 + /** 1351 + * Choose, which Movie to update. 1352 + */ 1353 + where: Prisma.MovieWhereUniqueInput 1354 + } 1355 + 1356 + /** 1357 + * Movie updateMany 1358 + */ 1359 + export type MovieUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = { 1360 + /** 1361 + * The data used to update Movies. 1362 + */ 1363 + data: Prisma.XOR<Prisma.MovieUpdateManyMutationInput, Prisma.MovieUncheckedUpdateManyInput> 1364 + /** 1365 + * Filter which Movies to update 1366 + */ 1367 + where?: Prisma.MovieWhereInput 1368 + /** 1369 + * Limit how many Movies to update. 1370 + */ 1371 + limit?: number 1372 + } 1373 + 1374 + /** 1375 + * Movie updateManyAndReturn 1376 + */ 1377 + export type MovieUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = { 1378 + /** 1379 + * Select specific fields to fetch from the Movie 1380 + */ 1381 + select?: Prisma.MovieSelectUpdateManyAndReturn<ExtArgs> | null 1382 + /** 1383 + * Omit specific fields from the Movie 1384 + */ 1385 + omit?: Prisma.MovieOmit<ExtArgs> | null 1386 + /** 1387 + * The data used to update Movies. 1388 + */ 1389 + data: Prisma.XOR<Prisma.MovieUpdateManyMutationInput, Prisma.MovieUncheckedUpdateManyInput> 1390 + /** 1391 + * Filter which Movies to update 1392 + */ 1393 + where?: Prisma.MovieWhereInput 1394 + /** 1395 + * Limit how many Movies to update. 1396 + */ 1397 + limit?: number 1398 + } 1399 + 1400 + /** 1401 + * Movie upsert 1402 + */ 1403 + export type MovieUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = { 1404 + /** 1405 + * Select specific fields to fetch from the Movie 1406 + */ 1407 + select?: Prisma.MovieSelect<ExtArgs> | null 1408 + /** 1409 + * Omit specific fields from the Movie 1410 + */ 1411 + omit?: Prisma.MovieOmit<ExtArgs> | null 1412 + /** 1413 + * Choose, which related nodes to fetch as well 1414 + */ 1415 + include?: Prisma.MovieInclude<ExtArgs> | null 1416 + /** 1417 + * The filter to search for the Movie to update in case it exists. 1418 + */ 1419 + where: Prisma.MovieWhereUniqueInput 1420 + /** 1421 + * In case the Movie found by the `where` argument doesn't exist, create a new Movie with this data. 1422 + */ 1423 + create: Prisma.XOR<Prisma.MovieCreateInput, Prisma.MovieUncheckedCreateInput> 1424 + /** 1425 + * In case the Movie was found with the provided `where` argument, update it with this data. 1426 + */ 1427 + update: Prisma.XOR<Prisma.MovieUpdateInput, Prisma.MovieUncheckedUpdateInput> 1428 + } 1429 + 1430 + /** 1431 + * Movie delete 1432 + */ 1433 + export type MovieDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = { 1434 + /** 1435 + * Select specific fields to fetch from the Movie 1436 + */ 1437 + select?: Prisma.MovieSelect<ExtArgs> | null 1438 + /** 1439 + * Omit specific fields from the Movie 1440 + */ 1441 + omit?: Prisma.MovieOmit<ExtArgs> | null 1442 + /** 1443 + * Choose, which related nodes to fetch as well 1444 + */ 1445 + include?: Prisma.MovieInclude<ExtArgs> | null 1446 + /** 1447 + * Filter which Movie to delete. 1448 + */ 1449 + where: Prisma.MovieWhereUniqueInput 1450 + } 1451 + 1452 + /** 1453 + * Movie deleteMany 1454 + */ 1455 + export type MovieDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = { 1456 + /** 1457 + * Filter which Movies to delete 1458 + */ 1459 + where?: Prisma.MovieWhereInput 1460 + /** 1461 + * Limit how many Movies to delete. 1462 + */ 1463 + limit?: number 1464 + } 1465 + 1466 + /** 1467 + * Movie.trackedBy 1468 + */ 1469 + export type Movie$trackedByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = { 1470 + /** 1471 + * Select specific fields to fetch from the TrackedMovie 1472 + */ 1473 + select?: Prisma.TrackedMovieSelect<ExtArgs> | null 1474 + /** 1475 + * Omit specific fields from the TrackedMovie 1476 + */ 1477 + omit?: Prisma.TrackedMovieOmit<ExtArgs> | null 1478 + /** 1479 + * Choose, which related nodes to fetch as well 1480 + */ 1481 + include?: Prisma.TrackedMovieInclude<ExtArgs> | null 1482 + where?: Prisma.TrackedMovieWhereInput 1483 + orderBy?: Prisma.TrackedMovieOrderByWithRelationInput | Prisma.TrackedMovieOrderByWithRelationInput[] 1484 + cursor?: Prisma.TrackedMovieWhereUniqueInput 1485 + take?: number 1486 + skip?: number 1487 + distinct?: Prisma.TrackedMovieScalarFieldEnum | Prisma.TrackedMovieScalarFieldEnum[] 1488 + } 1489 + 1490 + /** 1491 + * Movie without action 1492 + */ 1493 + export type MovieDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = { 1494 + /** 1495 + * Select specific fields to fetch from the Movie 1496 + */ 1497 + select?: Prisma.MovieSelect<ExtArgs> | null 1498 + /** 1499 + * Omit specific fields from the Movie 1500 + */ 1501 + omit?: Prisma.MovieOmit<ExtArgs> | null 1502 + /** 1503 + * Choose, which related nodes to fetch as well 1504 + */ 1505 + include?: Prisma.MovieInclude<ExtArgs> | null 1506 + }
+1665
backend/src/generated/models/TrackedMovie.ts
··· 1 + 2 + /* !!! This is code generated by Prisma. Do not edit directly. !!! */ 3 + /* eslint-disable */ 4 + // biome-ignore-all lint: generated file 5 + // @ts-nocheck 6 + /* 7 + * This file exports the `TrackedMovie` model and its related types. 8 + * 9 + * 🟢 You can import this file directly. 10 + */ 11 + import type * as runtime from "@prisma/client/runtime/client" 12 + import type * as $Enums from "../enums.js" 13 + import type * as Prisma from "../internal/prismaNamespace.js" 14 + 15 + /** 16 + * Model TrackedMovie 17 + * 18 + */ 19 + export type TrackedMovieModel = runtime.Types.Result.DefaultSelection<Prisma.$TrackedMoviePayload> 20 + 21 + export type AggregateTrackedMovie = { 22 + _count: TrackedMovieCountAggregateOutputType | null 23 + _min: TrackedMovieMinAggregateOutputType | null 24 + _max: TrackedMovieMaxAggregateOutputType | null 25 + } 26 + 27 + export type TrackedMovieMinAggregateOutputType = { 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 + } 39 + 40 + export type TrackedMovieMaxAggregateOutputType = { 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 + } 52 + 53 + export type TrackedMovieCountAggregateOutputType = { 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 + 67 + 68 + export type TrackedMovieMinAggregateInputType = { 69 + id?: true 70 + rkey?: true 71 + uri?: true 72 + cid?: true 73 + userDid?: true 74 + movieId?: true 75 + status?: true 76 + watchedDate?: true 77 + createdAt?: true 78 + updatedAt?: true 79 + } 80 + 81 + export type TrackedMovieMaxAggregateInputType = { 82 + id?: true 83 + rkey?: true 84 + uri?: true 85 + cid?: true 86 + userDid?: true 87 + movieId?: true 88 + status?: true 89 + watchedDate?: true 90 + createdAt?: true 91 + updatedAt?: true 92 + } 93 + 94 + export type TrackedMovieCountAggregateInputType = { 95 + id?: true 96 + rkey?: true 97 + uri?: true 98 + cid?: true 99 + userDid?: true 100 + movieId?: true 101 + status?: true 102 + watchedDate?: true 103 + createdAt?: true 104 + updatedAt?: true 105 + _all?: true 106 + } 107 + 108 + export type TrackedMovieAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = { 109 + /** 110 + * Filter which TrackedMovie to aggregate. 111 + */ 112 + where?: Prisma.TrackedMovieWhereInput 113 + /** 114 + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} 115 + * 116 + * Determine the order of TrackedMovies to fetch. 117 + */ 118 + orderBy?: Prisma.TrackedMovieOrderByWithRelationInput | Prisma.TrackedMovieOrderByWithRelationInput[] 119 + /** 120 + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} 121 + * 122 + * Sets the start position 123 + */ 124 + cursor?: Prisma.TrackedMovieWhereUniqueInput 125 + /** 126 + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} 127 + * 128 + * Take `±n` TrackedMovies from the position of the cursor. 129 + */ 130 + take?: number 131 + /** 132 + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} 133 + * 134 + * Skip the first `n` TrackedMovies. 135 + */ 136 + skip?: number 137 + /** 138 + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} 139 + * 140 + * Count returned TrackedMovies 141 + **/ 142 + _count?: true | TrackedMovieCountAggregateInputType 143 + /** 144 + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} 145 + * 146 + * Select which fields to find the minimum value 147 + **/ 148 + _min?: TrackedMovieMinAggregateInputType 149 + /** 150 + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} 151 + * 152 + * Select which fields to find the maximum value 153 + **/ 154 + _max?: TrackedMovieMaxAggregateInputType 155 + } 156 + 157 + export type GetTrackedMovieAggregateType<T extends TrackedMovieAggregateArgs> = { 158 + [P in keyof T & keyof AggregateTrackedMovie]: P extends '_count' | 'count' 159 + ? T[P] extends true 160 + ? number 161 + : Prisma.GetScalarType<T[P], AggregateTrackedMovie[P]> 162 + : Prisma.GetScalarType<T[P], AggregateTrackedMovie[P]> 163 + } 164 + 165 + 166 + 167 + 168 + export type TrackedMovieGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = { 169 + where?: Prisma.TrackedMovieWhereInput 170 + orderBy?: Prisma.TrackedMovieOrderByWithAggregationInput | Prisma.TrackedMovieOrderByWithAggregationInput[] 171 + by: Prisma.TrackedMovieScalarFieldEnum[] | Prisma.TrackedMovieScalarFieldEnum 172 + having?: Prisma.TrackedMovieScalarWhereWithAggregatesInput 173 + take?: number 174 + skip?: number 175 + _count?: TrackedMovieCountAggregateInputType | true 176 + _min?: TrackedMovieMinAggregateInputType 177 + _max?: TrackedMovieMaxAggregateInputType 178 + } 179 + 180 + export type TrackedMovieGroupByOutputType = { 181 + id: string 182 + rkey: string 183 + uri: string 184 + cid: string 185 + userDid: string 186 + movieId: string 187 + status: string 188 + watchedDate: Date | null 189 + createdAt: Date 190 + updatedAt: Date 191 + _count: TrackedMovieCountAggregateOutputType | null 192 + _min: TrackedMovieMinAggregateOutputType | null 193 + _max: TrackedMovieMaxAggregateOutputType | null 194 + } 195 + 196 + type GetTrackedMovieGroupByPayload<T extends TrackedMovieGroupByArgs> = Prisma.PrismaPromise< 197 + Array< 198 + Prisma.PickEnumerable<TrackedMovieGroupByOutputType, T['by']> & 199 + { 200 + [P in ((keyof T) & (keyof TrackedMovieGroupByOutputType))]: P extends '_count' 201 + ? T[P] extends boolean 202 + ? number 203 + : Prisma.GetScalarType<T[P], TrackedMovieGroupByOutputType[P]> 204 + : Prisma.GetScalarType<T[P], TrackedMovieGroupByOutputType[P]> 205 + } 206 + > 207 + > 208 + 209 + 210 + 211 + export type TrackedMovieWhereInput = { 212 + AND?: Prisma.TrackedMovieWhereInput | Prisma.TrackedMovieWhereInput[] 213 + OR?: Prisma.TrackedMovieWhereInput[] 214 + NOT?: Prisma.TrackedMovieWhereInput | Prisma.TrackedMovieWhereInput[] 215 + id?: Prisma.StringFilter<"TrackedMovie"> | string 216 + rkey?: Prisma.StringFilter<"TrackedMovie"> | string 217 + uri?: Prisma.StringFilter<"TrackedMovie"> | string 218 + cid?: Prisma.StringFilter<"TrackedMovie"> | string 219 + userDid?: Prisma.StringFilter<"TrackedMovie"> | string 220 + movieId?: Prisma.StringFilter<"TrackedMovie"> | string 221 + status?: Prisma.StringFilter<"TrackedMovie"> | string 222 + watchedDate?: Prisma.DateTimeNullableFilter<"TrackedMovie"> | Date | string | null 223 + createdAt?: Prisma.DateTimeFilter<"TrackedMovie"> | Date | string 224 + updatedAt?: Prisma.DateTimeFilter<"TrackedMovie"> | Date | string 225 + user?: Prisma.XOR<Prisma.UserScalarRelationFilter, Prisma.UserWhereInput> 226 + movie?: Prisma.XOR<Prisma.MovieScalarRelationFilter, Prisma.MovieWhereInput> 227 + } 228 + 229 + export type TrackedMovieOrderByWithRelationInput = { 230 + id?: Prisma.SortOrder 231 + rkey?: Prisma.SortOrder 232 + uri?: Prisma.SortOrder 233 + cid?: Prisma.SortOrder 234 + userDid?: Prisma.SortOrder 235 + movieId?: Prisma.SortOrder 236 + status?: Prisma.SortOrder 237 + watchedDate?: Prisma.SortOrderInput | Prisma.SortOrder 238 + createdAt?: Prisma.SortOrder 239 + updatedAt?: Prisma.SortOrder 240 + user?: Prisma.UserOrderByWithRelationInput 241 + movie?: Prisma.MovieOrderByWithRelationInput 242 + } 243 + 244 + export type TrackedMovieWhereUniqueInput = Prisma.AtLeast<{ 245 + id?: string 246 + uri?: string 247 + AND?: Prisma.TrackedMovieWhereInput | Prisma.TrackedMovieWhereInput[] 248 + OR?: Prisma.TrackedMovieWhereInput[] 249 + NOT?: Prisma.TrackedMovieWhereInput | Prisma.TrackedMovieWhereInput[] 250 + rkey?: Prisma.StringFilter<"TrackedMovie"> | string 251 + cid?: Prisma.StringFilter<"TrackedMovie"> | string 252 + userDid?: Prisma.StringFilter<"TrackedMovie"> | string 253 + movieId?: Prisma.StringFilter<"TrackedMovie"> | string 254 + status?: Prisma.StringFilter<"TrackedMovie"> | string 255 + watchedDate?: Prisma.DateTimeNullableFilter<"TrackedMovie"> | Date | string | null 256 + createdAt?: Prisma.DateTimeFilter<"TrackedMovie"> | Date | string 257 + updatedAt?: Prisma.DateTimeFilter<"TrackedMovie"> | Date | string 258 + user?: Prisma.XOR<Prisma.UserScalarRelationFilter, Prisma.UserWhereInput> 259 + movie?: Prisma.XOR<Prisma.MovieScalarRelationFilter, Prisma.MovieWhereInput> 260 + }, "id" | "uri"> 261 + 262 + export type TrackedMovieOrderByWithAggregationInput = { 263 + id?: Prisma.SortOrder 264 + rkey?: Prisma.SortOrder 265 + uri?: Prisma.SortOrder 266 + cid?: Prisma.SortOrder 267 + userDid?: Prisma.SortOrder 268 + movieId?: Prisma.SortOrder 269 + status?: Prisma.SortOrder 270 + watchedDate?: Prisma.SortOrderInput | Prisma.SortOrder 271 + createdAt?: Prisma.SortOrder 272 + updatedAt?: Prisma.SortOrder 273 + _count?: Prisma.TrackedMovieCountOrderByAggregateInput 274 + _max?: Prisma.TrackedMovieMaxOrderByAggregateInput 275 + _min?: Prisma.TrackedMovieMinOrderByAggregateInput 276 + } 277 + 278 + export type TrackedMovieScalarWhereWithAggregatesInput = { 279 + AND?: Prisma.TrackedMovieScalarWhereWithAggregatesInput | Prisma.TrackedMovieScalarWhereWithAggregatesInput[] 280 + OR?: Prisma.TrackedMovieScalarWhereWithAggregatesInput[] 281 + NOT?: Prisma.TrackedMovieScalarWhereWithAggregatesInput | Prisma.TrackedMovieScalarWhereWithAggregatesInput[] 282 + id?: Prisma.StringWithAggregatesFilter<"TrackedMovie"> | string 283 + rkey?: Prisma.StringWithAggregatesFilter<"TrackedMovie"> | string 284 + uri?: Prisma.StringWithAggregatesFilter<"TrackedMovie"> | string 285 + cid?: Prisma.StringWithAggregatesFilter<"TrackedMovie"> | string 286 + userDid?: Prisma.StringWithAggregatesFilter<"TrackedMovie"> | string 287 + movieId?: Prisma.StringWithAggregatesFilter<"TrackedMovie"> | string 288 + status?: Prisma.StringWithAggregatesFilter<"TrackedMovie"> | string 289 + watchedDate?: Prisma.DateTimeNullableWithAggregatesFilter<"TrackedMovie"> | Date | string | null 290 + createdAt?: Prisma.DateTimeWithAggregatesFilter<"TrackedMovie"> | Date | string 291 + updatedAt?: Prisma.DateTimeWithAggregatesFilter<"TrackedMovie"> | Date | string 292 + } 293 + 294 + export type TrackedMovieCreateInput = { 295 + id?: string 296 + rkey: string 297 + uri: string 298 + cid: string 299 + status?: string 300 + watchedDate?: Date | string | null 301 + createdAt?: Date | string 302 + updatedAt?: Date | string 303 + user: Prisma.UserCreateNestedOneWithoutTrackedMoviesInput 304 + movie: Prisma.MovieCreateNestedOneWithoutTrackedByInput 305 + } 306 + 307 + export type TrackedMovieUncheckedCreateInput = { 308 + id?: string 309 + rkey: string 310 + uri: string 311 + cid: string 312 + userDid: string 313 + movieId: string 314 + status?: string 315 + watchedDate?: Date | string | null 316 + createdAt?: Date | string 317 + updatedAt?: Date | string 318 + } 319 + 320 + export type TrackedMovieUpdateInput = { 321 + id?: Prisma.StringFieldUpdateOperationsInput | string 322 + rkey?: Prisma.StringFieldUpdateOperationsInput | string 323 + uri?: Prisma.StringFieldUpdateOperationsInput | string 324 + cid?: Prisma.StringFieldUpdateOperationsInput | string 325 + status?: Prisma.StringFieldUpdateOperationsInput | string 326 + watchedDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null 327 + createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string 328 + updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string 329 + user?: Prisma.UserUpdateOneRequiredWithoutTrackedMoviesNestedInput 330 + movie?: Prisma.MovieUpdateOneRequiredWithoutTrackedByNestedInput 331 + } 332 + 333 + export type TrackedMovieUncheckedUpdateInput = { 334 + id?: Prisma.StringFieldUpdateOperationsInput | string 335 + rkey?: Prisma.StringFieldUpdateOperationsInput | string 336 + uri?: Prisma.StringFieldUpdateOperationsInput | string 337 + cid?: Prisma.StringFieldUpdateOperationsInput | string 338 + userDid?: Prisma.StringFieldUpdateOperationsInput | string 339 + movieId?: Prisma.StringFieldUpdateOperationsInput | string 340 + status?: Prisma.StringFieldUpdateOperationsInput | string 341 + watchedDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null 342 + createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string 343 + updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string 344 + } 345 + 346 + export type TrackedMovieCreateManyInput = { 347 + id?: string 348 + rkey: string 349 + uri: string 350 + cid: string 351 + userDid: string 352 + movieId: string 353 + status?: string 354 + watchedDate?: Date | string | null 355 + createdAt?: Date | string 356 + updatedAt?: Date | string 357 + } 358 + 359 + export type TrackedMovieUpdateManyMutationInput = { 360 + id?: Prisma.StringFieldUpdateOperationsInput | string 361 + rkey?: Prisma.StringFieldUpdateOperationsInput | string 362 + uri?: Prisma.StringFieldUpdateOperationsInput | string 363 + cid?: Prisma.StringFieldUpdateOperationsInput | string 364 + status?: Prisma.StringFieldUpdateOperationsInput | string 365 + watchedDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null 366 + createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string 367 + updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string 368 + } 369 + 370 + export type TrackedMovieUncheckedUpdateManyInput = { 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?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null 379 + createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string 380 + updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string 381 + } 382 + 383 + export type TrackedMovieListRelationFilter = { 384 + every?: Prisma.TrackedMovieWhereInput 385 + some?: Prisma.TrackedMovieWhereInput 386 + none?: Prisma.TrackedMovieWhereInput 387 + } 388 + 389 + export type TrackedMovieOrderByRelationAggregateInput = { 390 + _count?: Prisma.SortOrder 391 + } 392 + 393 + export type TrackedMovieCountOrderByAggregateInput = { 394 + id?: Prisma.SortOrder 395 + rkey?: Prisma.SortOrder 396 + uri?: Prisma.SortOrder 397 + cid?: Prisma.SortOrder 398 + userDid?: Prisma.SortOrder 399 + movieId?: Prisma.SortOrder 400 + status?: Prisma.SortOrder 401 + watchedDate?: Prisma.SortOrder 402 + createdAt?: Prisma.SortOrder 403 + updatedAt?: Prisma.SortOrder 404 + } 405 + 406 + export type TrackedMovieMaxOrderByAggregateInput = { 407 + id?: Prisma.SortOrder 408 + rkey?: Prisma.SortOrder 409 + uri?: Prisma.SortOrder 410 + cid?: Prisma.SortOrder 411 + userDid?: Prisma.SortOrder 412 + movieId?: Prisma.SortOrder 413 + status?: Prisma.SortOrder 414 + watchedDate?: Prisma.SortOrder 415 + createdAt?: Prisma.SortOrder 416 + updatedAt?: Prisma.SortOrder 417 + } 418 + 419 + export type TrackedMovieMinOrderByAggregateInput = { 420 + id?: Prisma.SortOrder 421 + rkey?: Prisma.SortOrder 422 + uri?: Prisma.SortOrder 423 + cid?: Prisma.SortOrder 424 + userDid?: Prisma.SortOrder 425 + movieId?: Prisma.SortOrder 426 + status?: Prisma.SortOrder 427 + watchedDate?: Prisma.SortOrder 428 + createdAt?: Prisma.SortOrder 429 + updatedAt?: Prisma.SortOrder 430 + } 431 + 432 + export type TrackedMovieCreateNestedManyWithoutUserInput = { 433 + create?: Prisma.XOR<Prisma.TrackedMovieCreateWithoutUserInput, Prisma.TrackedMovieUncheckedCreateWithoutUserInput> | Prisma.TrackedMovieCreateWithoutUserInput[] | Prisma.TrackedMovieUncheckedCreateWithoutUserInput[] 434 + connectOrCreate?: Prisma.TrackedMovieCreateOrConnectWithoutUserInput | Prisma.TrackedMovieCreateOrConnectWithoutUserInput[] 435 + createMany?: Prisma.TrackedMovieCreateManyUserInputEnvelope 436 + connect?: Prisma.TrackedMovieWhereUniqueInput | Prisma.TrackedMovieWhereUniqueInput[] 437 + } 438 + 439 + export type TrackedMovieUncheckedCreateNestedManyWithoutUserInput = { 440 + create?: Prisma.XOR<Prisma.TrackedMovieCreateWithoutUserInput, Prisma.TrackedMovieUncheckedCreateWithoutUserInput> | Prisma.TrackedMovieCreateWithoutUserInput[] | Prisma.TrackedMovieUncheckedCreateWithoutUserInput[] 441 + connectOrCreate?: Prisma.TrackedMovieCreateOrConnectWithoutUserInput | Prisma.TrackedMovieCreateOrConnectWithoutUserInput[] 442 + createMany?: Prisma.TrackedMovieCreateManyUserInputEnvelope 443 + connect?: Prisma.TrackedMovieWhereUniqueInput | Prisma.TrackedMovieWhereUniqueInput[] 444 + } 445 + 446 + export type TrackedMovieUpdateManyWithoutUserNestedInput = { 447 + create?: Prisma.XOR<Prisma.TrackedMovieCreateWithoutUserInput, Prisma.TrackedMovieUncheckedCreateWithoutUserInput> | Prisma.TrackedMovieCreateWithoutUserInput[] | Prisma.TrackedMovieUncheckedCreateWithoutUserInput[] 448 + connectOrCreate?: Prisma.TrackedMovieCreateOrConnectWithoutUserInput | Prisma.TrackedMovieCreateOrConnectWithoutUserInput[] 449 + upsert?: Prisma.TrackedMovieUpsertWithWhereUniqueWithoutUserInput | Prisma.TrackedMovieUpsertWithWhereUniqueWithoutUserInput[] 450 + createMany?: Prisma.TrackedMovieCreateManyUserInputEnvelope 451 + set?: Prisma.TrackedMovieWhereUniqueInput | Prisma.TrackedMovieWhereUniqueInput[] 452 + disconnect?: Prisma.TrackedMovieWhereUniqueInput | Prisma.TrackedMovieWhereUniqueInput[] 453 + delete?: Prisma.TrackedMovieWhereUniqueInput | Prisma.TrackedMovieWhereUniqueInput[] 454 + connect?: Prisma.TrackedMovieWhereUniqueInput | Prisma.TrackedMovieWhereUniqueInput[] 455 + update?: Prisma.TrackedMovieUpdateWithWhereUniqueWithoutUserInput | Prisma.TrackedMovieUpdateWithWhereUniqueWithoutUserInput[] 456 + updateMany?: Prisma.TrackedMovieUpdateManyWithWhereWithoutUserInput | Prisma.TrackedMovieUpdateManyWithWhereWithoutUserInput[] 457 + deleteMany?: Prisma.TrackedMovieScalarWhereInput | Prisma.TrackedMovieScalarWhereInput[] 458 + } 459 + 460 + export type TrackedMovieUncheckedUpdateManyWithoutUserNestedInput = { 461 + create?: Prisma.XOR<Prisma.TrackedMovieCreateWithoutUserInput, Prisma.TrackedMovieUncheckedCreateWithoutUserInput> | Prisma.TrackedMovieCreateWithoutUserInput[] | Prisma.TrackedMovieUncheckedCreateWithoutUserInput[] 462 + connectOrCreate?: Prisma.TrackedMovieCreateOrConnectWithoutUserInput | Prisma.TrackedMovieCreateOrConnectWithoutUserInput[] 463 + upsert?: Prisma.TrackedMovieUpsertWithWhereUniqueWithoutUserInput | Prisma.TrackedMovieUpsertWithWhereUniqueWithoutUserInput[] 464 + createMany?: Prisma.TrackedMovieCreateManyUserInputEnvelope 465 + set?: Prisma.TrackedMovieWhereUniqueInput | Prisma.TrackedMovieWhereUniqueInput[] 466 + disconnect?: Prisma.TrackedMovieWhereUniqueInput | Prisma.TrackedMovieWhereUniqueInput[] 467 + delete?: Prisma.TrackedMovieWhereUniqueInput | Prisma.TrackedMovieWhereUniqueInput[] 468 + connect?: Prisma.TrackedMovieWhereUniqueInput | Prisma.TrackedMovieWhereUniqueInput[] 469 + update?: Prisma.TrackedMovieUpdateWithWhereUniqueWithoutUserInput | Prisma.TrackedMovieUpdateWithWhereUniqueWithoutUserInput[] 470 + updateMany?: Prisma.TrackedMovieUpdateManyWithWhereWithoutUserInput | Prisma.TrackedMovieUpdateManyWithWhereWithoutUserInput[] 471 + deleteMany?: Prisma.TrackedMovieScalarWhereInput | Prisma.TrackedMovieScalarWhereInput[] 472 + } 473 + 474 + export type TrackedMovieCreateNestedManyWithoutMovieInput = { 475 + create?: Prisma.XOR<Prisma.TrackedMovieCreateWithoutMovieInput, Prisma.TrackedMovieUncheckedCreateWithoutMovieInput> | Prisma.TrackedMovieCreateWithoutMovieInput[] | Prisma.TrackedMovieUncheckedCreateWithoutMovieInput[] 476 + connectOrCreate?: Prisma.TrackedMovieCreateOrConnectWithoutMovieInput | Prisma.TrackedMovieCreateOrConnectWithoutMovieInput[] 477 + createMany?: Prisma.TrackedMovieCreateManyMovieInputEnvelope 478 + connect?: Prisma.TrackedMovieWhereUniqueInput | Prisma.TrackedMovieWhereUniqueInput[] 479 + } 480 + 481 + export type TrackedMovieUncheckedCreateNestedManyWithoutMovieInput = { 482 + create?: Prisma.XOR<Prisma.TrackedMovieCreateWithoutMovieInput, Prisma.TrackedMovieUncheckedCreateWithoutMovieInput> | Prisma.TrackedMovieCreateWithoutMovieInput[] | Prisma.TrackedMovieUncheckedCreateWithoutMovieInput[] 483 + connectOrCreate?: Prisma.TrackedMovieCreateOrConnectWithoutMovieInput | Prisma.TrackedMovieCreateOrConnectWithoutMovieInput[] 484 + createMany?: Prisma.TrackedMovieCreateManyMovieInputEnvelope 485 + connect?: Prisma.TrackedMovieWhereUniqueInput | Prisma.TrackedMovieWhereUniqueInput[] 486 + } 487 + 488 + export type TrackedMovieUpdateManyWithoutMovieNestedInput = { 489 + create?: Prisma.XOR<Prisma.TrackedMovieCreateWithoutMovieInput, Prisma.TrackedMovieUncheckedCreateWithoutMovieInput> | Prisma.TrackedMovieCreateWithoutMovieInput[] | Prisma.TrackedMovieUncheckedCreateWithoutMovieInput[] 490 + connectOrCreate?: Prisma.TrackedMovieCreateOrConnectWithoutMovieInput | Prisma.TrackedMovieCreateOrConnectWithoutMovieInput[] 491 + upsert?: Prisma.TrackedMovieUpsertWithWhereUniqueWithoutMovieInput | Prisma.TrackedMovieUpsertWithWhereUniqueWithoutMovieInput[] 492 + createMany?: Prisma.TrackedMovieCreateManyMovieInputEnvelope 493 + set?: Prisma.TrackedMovieWhereUniqueInput | Prisma.TrackedMovieWhereUniqueInput[] 494 + disconnect?: Prisma.TrackedMovieWhereUniqueInput | Prisma.TrackedMovieWhereUniqueInput[] 495 + delete?: Prisma.TrackedMovieWhereUniqueInput | Prisma.TrackedMovieWhereUniqueInput[] 496 + connect?: Prisma.TrackedMovieWhereUniqueInput | Prisma.TrackedMovieWhereUniqueInput[] 497 + update?: Prisma.TrackedMovieUpdateWithWhereUniqueWithoutMovieInput | Prisma.TrackedMovieUpdateWithWhereUniqueWithoutMovieInput[] 498 + updateMany?: Prisma.TrackedMovieUpdateManyWithWhereWithoutMovieInput | Prisma.TrackedMovieUpdateManyWithWhereWithoutMovieInput[] 499 + deleteMany?: Prisma.TrackedMovieScalarWhereInput | Prisma.TrackedMovieScalarWhereInput[] 500 + } 501 + 502 + export type TrackedMovieUncheckedUpdateManyWithoutMovieNestedInput = { 503 + create?: Prisma.XOR<Prisma.TrackedMovieCreateWithoutMovieInput, Prisma.TrackedMovieUncheckedCreateWithoutMovieInput> | Prisma.TrackedMovieCreateWithoutMovieInput[] | Prisma.TrackedMovieUncheckedCreateWithoutMovieInput[] 504 + connectOrCreate?: Prisma.TrackedMovieCreateOrConnectWithoutMovieInput | Prisma.TrackedMovieCreateOrConnectWithoutMovieInput[] 505 + upsert?: Prisma.TrackedMovieUpsertWithWhereUniqueWithoutMovieInput | Prisma.TrackedMovieUpsertWithWhereUniqueWithoutMovieInput[] 506 + createMany?: Prisma.TrackedMovieCreateManyMovieInputEnvelope 507 + set?: Prisma.TrackedMovieWhereUniqueInput | Prisma.TrackedMovieWhereUniqueInput[] 508 + disconnect?: Prisma.TrackedMovieWhereUniqueInput | Prisma.TrackedMovieWhereUniqueInput[] 509 + delete?: Prisma.TrackedMovieWhereUniqueInput | Prisma.TrackedMovieWhereUniqueInput[] 510 + connect?: Prisma.TrackedMovieWhereUniqueInput | Prisma.TrackedMovieWhereUniqueInput[] 511 + update?: Prisma.TrackedMovieUpdateWithWhereUniqueWithoutMovieInput | Prisma.TrackedMovieUpdateWithWhereUniqueWithoutMovieInput[] 512 + updateMany?: Prisma.TrackedMovieUpdateManyWithWhereWithoutMovieInput | Prisma.TrackedMovieUpdateManyWithWhereWithoutMovieInput[] 513 + deleteMany?: Prisma.TrackedMovieScalarWhereInput | Prisma.TrackedMovieScalarWhereInput[] 514 + } 515 + 516 + export type TrackedMovieCreateWithoutUserInput = { 517 + id?: string 518 + rkey: string 519 + uri: string 520 + cid: string 521 + status?: string 522 + watchedDate?: Date | string | null 523 + createdAt?: Date | string 524 + updatedAt?: Date | string 525 + movie: Prisma.MovieCreateNestedOneWithoutTrackedByInput 526 + } 527 + 528 + export type TrackedMovieUncheckedCreateWithoutUserInput = { 529 + id?: string 530 + rkey: string 531 + uri: string 532 + cid: string 533 + movieId: string 534 + status?: string 535 + watchedDate?: Date | string | null 536 + createdAt?: Date | string 537 + updatedAt?: Date | string 538 + } 539 + 540 + export type TrackedMovieCreateOrConnectWithoutUserInput = { 541 + where: Prisma.TrackedMovieWhereUniqueInput 542 + create: Prisma.XOR<Prisma.TrackedMovieCreateWithoutUserInput, Prisma.TrackedMovieUncheckedCreateWithoutUserInput> 543 + } 544 + 545 + export type TrackedMovieCreateManyUserInputEnvelope = { 546 + data: Prisma.TrackedMovieCreateManyUserInput | Prisma.TrackedMovieCreateManyUserInput[] 547 + skipDuplicates?: boolean 548 + } 549 + 550 + export type TrackedMovieUpsertWithWhereUniqueWithoutUserInput = { 551 + where: Prisma.TrackedMovieWhereUniqueInput 552 + update: Prisma.XOR<Prisma.TrackedMovieUpdateWithoutUserInput, Prisma.TrackedMovieUncheckedUpdateWithoutUserInput> 553 + create: Prisma.XOR<Prisma.TrackedMovieCreateWithoutUserInput, Prisma.TrackedMovieUncheckedCreateWithoutUserInput> 554 + } 555 + 556 + export type TrackedMovieUpdateWithWhereUniqueWithoutUserInput = { 557 + where: Prisma.TrackedMovieWhereUniqueInput 558 + data: Prisma.XOR<Prisma.TrackedMovieUpdateWithoutUserInput, Prisma.TrackedMovieUncheckedUpdateWithoutUserInput> 559 + } 560 + 561 + export type TrackedMovieUpdateManyWithWhereWithoutUserInput = { 562 + where: Prisma.TrackedMovieScalarWhereInput 563 + data: Prisma.XOR<Prisma.TrackedMovieUpdateManyMutationInput, Prisma.TrackedMovieUncheckedUpdateManyWithoutUserInput> 564 + } 565 + 566 + export type TrackedMovieScalarWhereInput = { 567 + AND?: Prisma.TrackedMovieScalarWhereInput | Prisma.TrackedMovieScalarWhereInput[] 568 + OR?: Prisma.TrackedMovieScalarWhereInput[] 569 + NOT?: Prisma.TrackedMovieScalarWhereInput | Prisma.TrackedMovieScalarWhereInput[] 570 + id?: Prisma.StringFilter<"TrackedMovie"> | string 571 + rkey?: Prisma.StringFilter<"TrackedMovie"> | string 572 + uri?: Prisma.StringFilter<"TrackedMovie"> | string 573 + cid?: Prisma.StringFilter<"TrackedMovie"> | string 574 + userDid?: Prisma.StringFilter<"TrackedMovie"> | string 575 + movieId?: Prisma.StringFilter<"TrackedMovie"> | string 576 + status?: Prisma.StringFilter<"TrackedMovie"> | string 577 + watchedDate?: Prisma.DateTimeNullableFilter<"TrackedMovie"> | Date | string | null 578 + createdAt?: Prisma.DateTimeFilter<"TrackedMovie"> | Date | string 579 + updatedAt?: Prisma.DateTimeFilter<"TrackedMovie"> | Date | string 580 + } 581 + 582 + export type TrackedMovieCreateWithoutMovieInput = { 583 + id?: string 584 + rkey: string 585 + uri: string 586 + cid: string 587 + status?: string 588 + watchedDate?: Date | string | null 589 + createdAt?: Date | string 590 + updatedAt?: Date | string 591 + user: Prisma.UserCreateNestedOneWithoutTrackedMoviesInput 592 + } 593 + 594 + export type TrackedMovieUncheckedCreateWithoutMovieInput = { 595 + id?: string 596 + rkey: string 597 + uri: string 598 + cid: string 599 + userDid: string 600 + status?: string 601 + watchedDate?: Date | string | null 602 + createdAt?: Date | string 603 + updatedAt?: Date | string 604 + } 605 + 606 + export type TrackedMovieCreateOrConnectWithoutMovieInput = { 607 + where: Prisma.TrackedMovieWhereUniqueInput 608 + create: Prisma.XOR<Prisma.TrackedMovieCreateWithoutMovieInput, Prisma.TrackedMovieUncheckedCreateWithoutMovieInput> 609 + } 610 + 611 + export type TrackedMovieCreateManyMovieInputEnvelope = { 612 + data: Prisma.TrackedMovieCreateManyMovieInput | Prisma.TrackedMovieCreateManyMovieInput[] 613 + skipDuplicates?: boolean 614 + } 615 + 616 + export type TrackedMovieUpsertWithWhereUniqueWithoutMovieInput = { 617 + where: Prisma.TrackedMovieWhereUniqueInput 618 + update: Prisma.XOR<Prisma.TrackedMovieUpdateWithoutMovieInput, Prisma.TrackedMovieUncheckedUpdateWithoutMovieInput> 619 + create: Prisma.XOR<Prisma.TrackedMovieCreateWithoutMovieInput, Prisma.TrackedMovieUncheckedCreateWithoutMovieInput> 620 + } 621 + 622 + export type TrackedMovieUpdateWithWhereUniqueWithoutMovieInput = { 623 + where: Prisma.TrackedMovieWhereUniqueInput 624 + data: Prisma.XOR<Prisma.TrackedMovieUpdateWithoutMovieInput, Prisma.TrackedMovieUncheckedUpdateWithoutMovieInput> 625 + } 626 + 627 + export type TrackedMovieUpdateManyWithWhereWithoutMovieInput = { 628 + where: Prisma.TrackedMovieScalarWhereInput 629 + data: Prisma.XOR<Prisma.TrackedMovieUpdateManyMutationInput, Prisma.TrackedMovieUncheckedUpdateManyWithoutMovieInput> 630 + } 631 + 632 + export type TrackedMovieCreateManyUserInput = { 633 + id?: string 634 + rkey: string 635 + uri: string 636 + cid: string 637 + movieId: string 638 + status?: string 639 + watchedDate?: Date | string | null 640 + createdAt?: Date | string 641 + updatedAt?: Date | string 642 + } 643 + 644 + export type TrackedMovieUpdateWithoutUserInput = { 645 + id?: Prisma.StringFieldUpdateOperationsInput | string 646 + rkey?: Prisma.StringFieldUpdateOperationsInput | string 647 + uri?: Prisma.StringFieldUpdateOperationsInput | string 648 + cid?: Prisma.StringFieldUpdateOperationsInput | string 649 + status?: Prisma.StringFieldUpdateOperationsInput | string 650 + watchedDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null 651 + createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string 652 + updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string 653 + movie?: Prisma.MovieUpdateOneRequiredWithoutTrackedByNestedInput 654 + } 655 + 656 + export type TrackedMovieUncheckedUpdateWithoutUserInput = { 657 + id?: Prisma.StringFieldUpdateOperationsInput | string 658 + rkey?: Prisma.StringFieldUpdateOperationsInput | string 659 + uri?: Prisma.StringFieldUpdateOperationsInput | string 660 + cid?: Prisma.StringFieldUpdateOperationsInput | string 661 + movieId?: Prisma.StringFieldUpdateOperationsInput | string 662 + status?: Prisma.StringFieldUpdateOperationsInput | string 663 + watchedDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null 664 + createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string 665 + updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string 666 + } 667 + 668 + export type TrackedMovieUncheckedUpdateManyWithoutUserInput = { 669 + id?: Prisma.StringFieldUpdateOperationsInput | string 670 + rkey?: Prisma.StringFieldUpdateOperationsInput | string 671 + uri?: Prisma.StringFieldUpdateOperationsInput | string 672 + cid?: Prisma.StringFieldUpdateOperationsInput | string 673 + movieId?: Prisma.StringFieldUpdateOperationsInput | string 674 + status?: Prisma.StringFieldUpdateOperationsInput | string 675 + watchedDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null 676 + createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string 677 + updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string 678 + } 679 + 680 + export type TrackedMovieCreateManyMovieInput = { 681 + id?: string 682 + rkey: string 683 + uri: string 684 + cid: string 685 + userDid: string 686 + status?: string 687 + watchedDate?: Date | string | null 688 + createdAt?: Date | string 689 + updatedAt?: Date | string 690 + } 691 + 692 + export type TrackedMovieUpdateWithoutMovieInput = { 693 + id?: Prisma.StringFieldUpdateOperationsInput | string 694 + rkey?: Prisma.StringFieldUpdateOperationsInput | string 695 + uri?: Prisma.StringFieldUpdateOperationsInput | string 696 + cid?: Prisma.StringFieldUpdateOperationsInput | string 697 + status?: Prisma.StringFieldUpdateOperationsInput | string 698 + watchedDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null 699 + createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string 700 + updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string 701 + user?: Prisma.UserUpdateOneRequiredWithoutTrackedMoviesNestedInput 702 + } 703 + 704 + export type TrackedMovieUncheckedUpdateWithoutMovieInput = { 705 + id?: Prisma.StringFieldUpdateOperationsInput | string 706 + rkey?: Prisma.StringFieldUpdateOperationsInput | string 707 + uri?: Prisma.StringFieldUpdateOperationsInput | string 708 + cid?: Prisma.StringFieldUpdateOperationsInput | string 709 + userDid?: Prisma.StringFieldUpdateOperationsInput | string 710 + status?: Prisma.StringFieldUpdateOperationsInput | string 711 + watchedDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null 712 + createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string 713 + updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string 714 + } 715 + 716 + export type TrackedMovieUncheckedUpdateManyWithoutMovieInput = { 717 + id?: Prisma.StringFieldUpdateOperationsInput | string 718 + rkey?: Prisma.StringFieldUpdateOperationsInput | string 719 + uri?: Prisma.StringFieldUpdateOperationsInput | string 720 + cid?: Prisma.StringFieldUpdateOperationsInput | string 721 + userDid?: Prisma.StringFieldUpdateOperationsInput | string 722 + status?: Prisma.StringFieldUpdateOperationsInput | string 723 + watchedDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null 724 + createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string 725 + updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string 726 + } 727 + 728 + 729 + 730 + export type TrackedMovieSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{ 731 + id?: boolean 732 + rkey?: boolean 733 + uri?: boolean 734 + cid?: boolean 735 + userDid?: boolean 736 + movieId?: boolean 737 + status?: boolean 738 + watchedDate?: boolean 739 + createdAt?: boolean 740 + updatedAt?: boolean 741 + user?: boolean | Prisma.UserDefaultArgs<ExtArgs> 742 + movie?: boolean | Prisma.MovieDefaultArgs<ExtArgs> 743 + }, ExtArgs["result"]["trackedMovie"]> 744 + 745 + export type TrackedMovieSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{ 746 + id?: boolean 747 + rkey?: boolean 748 + uri?: boolean 749 + cid?: boolean 750 + userDid?: boolean 751 + movieId?: boolean 752 + status?: boolean 753 + watchedDate?: boolean 754 + createdAt?: boolean 755 + updatedAt?: boolean 756 + user?: boolean | Prisma.UserDefaultArgs<ExtArgs> 757 + movie?: boolean | Prisma.MovieDefaultArgs<ExtArgs> 758 + }, ExtArgs["result"]["trackedMovie"]> 759 + 760 + export type TrackedMovieSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{ 761 + id?: boolean 762 + rkey?: boolean 763 + uri?: boolean 764 + cid?: boolean 765 + userDid?: boolean 766 + movieId?: boolean 767 + status?: boolean 768 + watchedDate?: boolean 769 + createdAt?: boolean 770 + updatedAt?: boolean 771 + user?: boolean | Prisma.UserDefaultArgs<ExtArgs> 772 + movie?: boolean | Prisma.MovieDefaultArgs<ExtArgs> 773 + }, ExtArgs["result"]["trackedMovie"]> 774 + 775 + export type TrackedMovieSelectScalar = { 776 + id?: boolean 777 + rkey?: boolean 778 + uri?: boolean 779 + cid?: boolean 780 + userDid?: boolean 781 + movieId?: boolean 782 + status?: boolean 783 + watchedDate?: boolean 784 + createdAt?: boolean 785 + updatedAt?: boolean 786 + } 787 + 788 + 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"]> 789 + export type TrackedMovieInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = { 790 + user?: boolean | Prisma.UserDefaultArgs<ExtArgs> 791 + movie?: boolean | Prisma.MovieDefaultArgs<ExtArgs> 792 + } 793 + export type TrackedMovieIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = { 794 + user?: boolean | Prisma.UserDefaultArgs<ExtArgs> 795 + movie?: boolean | Prisma.MovieDefaultArgs<ExtArgs> 796 + } 797 + export type TrackedMovieIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = { 798 + user?: boolean | Prisma.UserDefaultArgs<ExtArgs> 799 + movie?: boolean | Prisma.MovieDefaultArgs<ExtArgs> 800 + } 801 + 802 + export type $TrackedMoviePayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = { 803 + name: "TrackedMovie" 804 + objects: { 805 + user: Prisma.$UserPayload<ExtArgs> 806 + movie: Prisma.$MoviePayload<ExtArgs> 807 + } 808 + scalars: runtime.Types.Extensions.GetPayloadResult<{ 809 + id: string 810 + rkey: string 811 + uri: string 812 + cid: string 813 + userDid: string 814 + movieId: string 815 + status: string 816 + watchedDate: Date | null 817 + createdAt: Date 818 + updatedAt: Date 819 + }, ExtArgs["result"]["trackedMovie"]> 820 + composites: {} 821 + } 822 + 823 + export type TrackedMovieGetPayload<S extends boolean | null | undefined | TrackedMovieDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$TrackedMoviePayload, S> 824 + 825 + export type TrackedMovieCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = 826 + Omit<TrackedMovieFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & { 827 + select?: TrackedMovieCountAggregateInputType | true 828 + } 829 + 830 + export interface TrackedMovieDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> { 831 + [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['TrackedMovie'], meta: { name: 'TrackedMovie' } } 832 + /** 833 + * Find zero or one TrackedMovie that matches the filter. 834 + * @param {TrackedMovieFindUniqueArgs} args - Arguments to find a TrackedMovie 835 + * @example 836 + * // Get one TrackedMovie 837 + * const trackedMovie = await prisma.trackedMovie.findUnique({ 838 + * where: { 839 + * // ... provide filter here 840 + * } 841 + * }) 842 + */ 843 + 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> 844 + 845 + /** 846 + * Find one TrackedMovie that matches the filter or throw an error with `error.code='P2025'` 847 + * if no matches were found. 848 + * @param {TrackedMovieFindUniqueOrThrowArgs} args - Arguments to find a TrackedMovie 849 + * @example 850 + * // Get one TrackedMovie 851 + * const trackedMovie = await prisma.trackedMovie.findUniqueOrThrow({ 852 + * where: { 853 + * // ... provide filter here 854 + * } 855 + * }) 856 + */ 857 + 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> 858 + 859 + /** 860 + * Find the first TrackedMovie that matches the filter. 861 + * Note, that providing `undefined` is treated as the value not being there. 862 + * Read more here: https://pris.ly/d/null-undefined 863 + * @param {TrackedMovieFindFirstArgs} args - Arguments to find a TrackedMovie 864 + * @example 865 + * // Get one TrackedMovie 866 + * const trackedMovie = await prisma.trackedMovie.findFirst({ 867 + * where: { 868 + * // ... provide filter here 869 + * } 870 + * }) 871 + */ 872 + 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> 873 + 874 + /** 875 + * Find the first TrackedMovie that matches the filter or 876 + * throw `PrismaKnownClientError` with `P2025` code if no matches were found. 877 + * Note, that providing `undefined` is treated as the value not being there. 878 + * Read more here: https://pris.ly/d/null-undefined 879 + * @param {TrackedMovieFindFirstOrThrowArgs} args - Arguments to find a TrackedMovie 880 + * @example 881 + * // Get one TrackedMovie 882 + * const trackedMovie = await prisma.trackedMovie.findFirstOrThrow({ 883 + * where: { 884 + * // ... provide filter here 885 + * } 886 + * }) 887 + */ 888 + 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> 889 + 890 + /** 891 + * Find zero or more TrackedMovies that matches the filter. 892 + * Note, that providing `undefined` is treated as the value not being there. 893 + * Read more here: https://pris.ly/d/null-undefined 894 + * @param {TrackedMovieFindManyArgs} args - Arguments to filter and select certain fields only. 895 + * @example 896 + * // Get all TrackedMovies 897 + * const trackedMovies = await prisma.trackedMovie.findMany() 898 + * 899 + * // Get first 10 TrackedMovies 900 + * const trackedMovies = await prisma.trackedMovie.findMany({ take: 10 }) 901 + * 902 + * // Only select the `id` 903 + * const trackedMovieWithIdOnly = await prisma.trackedMovie.findMany({ select: { id: true } }) 904 + * 905 + */ 906 + findMany<T extends TrackedMovieFindManyArgs>(args?: Prisma.SelectSubset<T, TrackedMovieFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$TrackedMoviePayload<ExtArgs>, T, "findMany", GlobalOmitOptions>> 907 + 908 + /** 909 + * Create a TrackedMovie. 910 + * @param {TrackedMovieCreateArgs} args - Arguments to create a TrackedMovie. 911 + * @example 912 + * // Create one TrackedMovie 913 + * const TrackedMovie = await prisma.trackedMovie.create({ 914 + * data: { 915 + * // ... data to create a TrackedMovie 916 + * } 917 + * }) 918 + * 919 + */ 920 + 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> 921 + 922 + /** 923 + * Create many TrackedMovies. 924 + * @param {TrackedMovieCreateManyArgs} args - Arguments to create many TrackedMovies. 925 + * @example 926 + * // Create many TrackedMovies 927 + * const trackedMovie = await prisma.trackedMovie.createMany({ 928 + * data: [ 929 + * // ... provide data here 930 + * ] 931 + * }) 932 + * 933 + */ 934 + createMany<T extends TrackedMovieCreateManyArgs>(args?: Prisma.SelectSubset<T, TrackedMovieCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload> 935 + 936 + /** 937 + * Create many TrackedMovies and returns the data saved in the database. 938 + * @param {TrackedMovieCreateManyAndReturnArgs} args - Arguments to create many TrackedMovies. 939 + * @example 940 + * // Create many TrackedMovies 941 + * const trackedMovie = await prisma.trackedMovie.createManyAndReturn({ 942 + * data: [ 943 + * // ... provide data here 944 + * ] 945 + * }) 946 + * 947 + * // Create many TrackedMovies and only return the `id` 948 + * const trackedMovieWithIdOnly = await prisma.trackedMovie.createManyAndReturn({ 949 + * select: { id: true }, 950 + * data: [ 951 + * // ... provide data here 952 + * ] 953 + * }) 954 + * Note, that providing `undefined` is treated as the value not being there. 955 + * Read more here: https://pris.ly/d/null-undefined 956 + * 957 + */ 958 + createManyAndReturn<T extends TrackedMovieCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, TrackedMovieCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$TrackedMoviePayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>> 959 + 960 + /** 961 + * Delete a TrackedMovie. 962 + * @param {TrackedMovieDeleteArgs} args - Arguments to delete one TrackedMovie. 963 + * @example 964 + * // Delete one TrackedMovie 965 + * const TrackedMovie = await prisma.trackedMovie.delete({ 966 + * where: { 967 + * // ... filter to delete one TrackedMovie 968 + * } 969 + * }) 970 + * 971 + */ 972 + 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> 973 + 974 + /** 975 + * Update one TrackedMovie. 976 + * @param {TrackedMovieUpdateArgs} args - Arguments to update one TrackedMovie. 977 + * @example 978 + * // Update one TrackedMovie 979 + * const trackedMovie = await prisma.trackedMovie.update({ 980 + * where: { 981 + * // ... provide filter here 982 + * }, 983 + * data: { 984 + * // ... provide data here 985 + * } 986 + * }) 987 + * 988 + */ 989 + 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> 990 + 991 + /** 992 + * Delete zero or more TrackedMovies. 993 + * @param {TrackedMovieDeleteManyArgs} args - Arguments to filter TrackedMovies to delete. 994 + * @example 995 + * // Delete a few TrackedMovies 996 + * const { count } = await prisma.trackedMovie.deleteMany({ 997 + * where: { 998 + * // ... provide filter here 999 + * } 1000 + * }) 1001 + * 1002 + */ 1003 + deleteMany<T extends TrackedMovieDeleteManyArgs>(args?: Prisma.SelectSubset<T, TrackedMovieDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload> 1004 + 1005 + /** 1006 + * Update zero or more TrackedMovies. 1007 + * Note, that providing `undefined` is treated as the value not being there. 1008 + * Read more here: https://pris.ly/d/null-undefined 1009 + * @param {TrackedMovieUpdateManyArgs} args - Arguments to update one or more rows. 1010 + * @example 1011 + * // Update many TrackedMovies 1012 + * const trackedMovie = await prisma.trackedMovie.updateMany({ 1013 + * where: { 1014 + * // ... provide filter here 1015 + * }, 1016 + * data: { 1017 + * // ... provide data here 1018 + * } 1019 + * }) 1020 + * 1021 + */ 1022 + updateMany<T extends TrackedMovieUpdateManyArgs>(args: Prisma.SelectSubset<T, TrackedMovieUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload> 1023 + 1024 + /** 1025 + * Update zero or more TrackedMovies and returns the data updated in the database. 1026 + * @param {TrackedMovieUpdateManyAndReturnArgs} args - Arguments to update many TrackedMovies. 1027 + * @example 1028 + * // Update many TrackedMovies 1029 + * const trackedMovie = await prisma.trackedMovie.updateManyAndReturn({ 1030 + * where: { 1031 + * // ... provide filter here 1032 + * }, 1033 + * data: [ 1034 + * // ... provide data here 1035 + * ] 1036 + * }) 1037 + * 1038 + * // Update zero or more TrackedMovies and only return the `id` 1039 + * const trackedMovieWithIdOnly = await prisma.trackedMovie.updateManyAndReturn({ 1040 + * select: { id: true }, 1041 + * where: { 1042 + * // ... provide filter here 1043 + * }, 1044 + * data: [ 1045 + * // ... provide data here 1046 + * ] 1047 + * }) 1048 + * Note, that providing `undefined` is treated as the value not being there. 1049 + * Read more here: https://pris.ly/d/null-undefined 1050 + * 1051 + */ 1052 + updateManyAndReturn<T extends TrackedMovieUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, TrackedMovieUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$TrackedMoviePayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>> 1053 + 1054 + /** 1055 + * Create or update one TrackedMovie. 1056 + * @param {TrackedMovieUpsertArgs} args - Arguments to update or create a TrackedMovie. 1057 + * @example 1058 + * // Update or create a TrackedMovie 1059 + * const trackedMovie = await prisma.trackedMovie.upsert({ 1060 + * create: { 1061 + * // ... data to create a TrackedMovie 1062 + * }, 1063 + * update: { 1064 + * // ... in case it already exists, update 1065 + * }, 1066 + * where: { 1067 + * // ... the filter for the TrackedMovie we want to update 1068 + * } 1069 + * }) 1070 + */ 1071 + 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> 1072 + 1073 + 1074 + /** 1075 + * Count the number of TrackedMovies. 1076 + * Note, that providing `undefined` is treated as the value not being there. 1077 + * Read more here: https://pris.ly/d/null-undefined 1078 + * @param {TrackedMovieCountArgs} args - Arguments to filter TrackedMovies to count. 1079 + * @example 1080 + * // Count the number of TrackedMovies 1081 + * const count = await prisma.trackedMovie.count({ 1082 + * where: { 1083 + * // ... the filter for the TrackedMovies we want to count 1084 + * } 1085 + * }) 1086 + **/ 1087 + count<T extends TrackedMovieCountArgs>( 1088 + args?: Prisma.Subset<T, TrackedMovieCountArgs>, 1089 + ): Prisma.PrismaPromise< 1090 + T extends runtime.Types.Utils.Record<'select', any> 1091 + ? T['select'] extends true 1092 + ? number 1093 + : Prisma.GetScalarType<T['select'], TrackedMovieCountAggregateOutputType> 1094 + : number 1095 + > 1096 + 1097 + /** 1098 + * Allows you to perform aggregations operations on a TrackedMovie. 1099 + * Note, that providing `undefined` is treated as the value not being there. 1100 + * Read more here: https://pris.ly/d/null-undefined 1101 + * @param {TrackedMovieAggregateArgs} args - Select which aggregations you would like to apply and on what fields. 1102 + * @example 1103 + * // Ordered by age ascending 1104 + * // Where email contains prisma.io 1105 + * // Limited to the 10 users 1106 + * const aggregations = await prisma.user.aggregate({ 1107 + * _avg: { 1108 + * age: true, 1109 + * }, 1110 + * where: { 1111 + * email: { 1112 + * contains: "prisma.io", 1113 + * }, 1114 + * }, 1115 + * orderBy: { 1116 + * age: "asc", 1117 + * }, 1118 + * take: 10, 1119 + * }) 1120 + **/ 1121 + aggregate<T extends TrackedMovieAggregateArgs>(args: Prisma.Subset<T, TrackedMovieAggregateArgs>): Prisma.PrismaPromise<GetTrackedMovieAggregateType<T>> 1122 + 1123 + /** 1124 + * Group by TrackedMovie. 1125 + * Note, that providing `undefined` is treated as the value not being there. 1126 + * Read more here: https://pris.ly/d/null-undefined 1127 + * @param {TrackedMovieGroupByArgs} args - Group by arguments. 1128 + * @example 1129 + * // Group by city, order by createdAt, get count 1130 + * const result = await prisma.user.groupBy({ 1131 + * by: ['city', 'createdAt'], 1132 + * orderBy: { 1133 + * createdAt: true 1134 + * }, 1135 + * _count: { 1136 + * _all: true 1137 + * }, 1138 + * }) 1139 + * 1140 + **/ 1141 + groupBy< 1142 + T extends TrackedMovieGroupByArgs, 1143 + HasSelectOrTake extends Prisma.Or< 1144 + Prisma.Extends<'skip', Prisma.Keys<T>>, 1145 + Prisma.Extends<'take', Prisma.Keys<T>> 1146 + >, 1147 + OrderByArg extends Prisma.True extends HasSelectOrTake 1148 + ? { orderBy: TrackedMovieGroupByArgs['orderBy'] } 1149 + : { orderBy?: TrackedMovieGroupByArgs['orderBy'] }, 1150 + OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>, 1151 + ByFields extends Prisma.MaybeTupleToUnion<T['by']>, 1152 + ByValid extends Prisma.Has<ByFields, OrderFields>, 1153 + HavingFields extends Prisma.GetHavingFields<T['having']>, 1154 + HavingValid extends Prisma.Has<ByFields, HavingFields>, 1155 + ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False, 1156 + InputErrors extends ByEmpty extends Prisma.True 1157 + ? `Error: "by" must not be empty.` 1158 + : HavingValid extends Prisma.False 1159 + ? { 1160 + [P in HavingFields]: P extends ByFields 1161 + ? never 1162 + : P extends string 1163 + ? `Error: Field "${P}" used in "having" needs to be provided in "by".` 1164 + : [ 1165 + Error, 1166 + 'Field ', 1167 + P, 1168 + ` in "having" needs to be provided in "by"`, 1169 + ] 1170 + }[HavingFields] 1171 + : 'take' extends Prisma.Keys<T> 1172 + ? 'orderBy' extends Prisma.Keys<T> 1173 + ? ByValid extends Prisma.True 1174 + ? {} 1175 + : { 1176 + [P in OrderFields]: P extends ByFields 1177 + ? never 1178 + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` 1179 + }[OrderFields] 1180 + : 'Error: If you provide "take", you also need to provide "orderBy"' 1181 + : 'skip' extends Prisma.Keys<T> 1182 + ? 'orderBy' extends Prisma.Keys<T> 1183 + ? ByValid extends Prisma.True 1184 + ? {} 1185 + : { 1186 + [P in OrderFields]: P extends ByFields 1187 + ? never 1188 + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` 1189 + }[OrderFields] 1190 + : 'Error: If you provide "skip", you also need to provide "orderBy"' 1191 + : ByValid extends Prisma.True 1192 + ? {} 1193 + : { 1194 + [P in OrderFields]: P extends ByFields 1195 + ? never 1196 + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` 1197 + }[OrderFields] 1198 + >(args: Prisma.SubsetIntersection<T, TrackedMovieGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetTrackedMovieGroupByPayload<T> : Prisma.PrismaPromise<InputErrors> 1199 + /** 1200 + * Fields of the TrackedMovie model 1201 + */ 1202 + readonly fields: TrackedMovieFieldRefs; 1203 + } 1204 + 1205 + /** 1206 + * The delegate class that acts as a "Promise-like" for TrackedMovie. 1207 + * Why is this prefixed with `Prisma__`? 1208 + * Because we want to prevent naming conflicts as mentioned in 1209 + * https://github.com/prisma/prisma-client-js/issues/707 1210 + */ 1211 + export interface Prisma__TrackedMovieClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> { 1212 + readonly [Symbol.toStringTag]: "PrismaPromise" 1213 + 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> 1214 + 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> 1215 + /** 1216 + * Attaches callbacks for the resolution and/or rejection of the Promise. 1217 + * @param onfulfilled The callback to execute when the Promise is resolved. 1218 + * @param onrejected The callback to execute when the Promise is rejected. 1219 + * @returns A Promise for the completion of which ever callback is executed. 1220 + */ 1221 + 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> 1222 + /** 1223 + * Attaches a callback for only the rejection of the Promise. 1224 + * @param onrejected The callback to execute when the Promise is rejected. 1225 + * @returns A Promise for the completion of the callback. 1226 + */ 1227 + catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult> 1228 + /** 1229 + * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The 1230 + * resolved value cannot be modified from the callback. 1231 + * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected). 1232 + * @returns A Promise for the completion of the callback. 1233 + */ 1234 + finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T> 1235 + } 1236 + 1237 + 1238 + 1239 + 1240 + /** 1241 + * Fields of the TrackedMovie model 1242 + */ 1243 + export interface TrackedMovieFieldRefs { 1244 + readonly id: Prisma.FieldRef<"TrackedMovie", 'String'> 1245 + readonly rkey: Prisma.FieldRef<"TrackedMovie", 'String'> 1246 + readonly uri: Prisma.FieldRef<"TrackedMovie", 'String'> 1247 + readonly cid: Prisma.FieldRef<"TrackedMovie", 'String'> 1248 + readonly userDid: Prisma.FieldRef<"TrackedMovie", 'String'> 1249 + readonly movieId: Prisma.FieldRef<"TrackedMovie", 'String'> 1250 + readonly status: Prisma.FieldRef<"TrackedMovie", 'String'> 1251 + readonly watchedDate: Prisma.FieldRef<"TrackedMovie", 'DateTime'> 1252 + readonly createdAt: Prisma.FieldRef<"TrackedMovie", 'DateTime'> 1253 + readonly updatedAt: Prisma.FieldRef<"TrackedMovie", 'DateTime'> 1254 + } 1255 + 1256 + 1257 + // Custom InputTypes 1258 + /** 1259 + * TrackedMovie findUnique 1260 + */ 1261 + export type TrackedMovieFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = { 1262 + /** 1263 + * Select specific fields to fetch from the TrackedMovie 1264 + */ 1265 + select?: Prisma.TrackedMovieSelect<ExtArgs> | null 1266 + /** 1267 + * Omit specific fields from the TrackedMovie 1268 + */ 1269 + omit?: Prisma.TrackedMovieOmit<ExtArgs> | null 1270 + /** 1271 + * Choose, which related nodes to fetch as well 1272 + */ 1273 + include?: Prisma.TrackedMovieInclude<ExtArgs> | null 1274 + /** 1275 + * Filter, which TrackedMovie to fetch. 1276 + */ 1277 + where: Prisma.TrackedMovieWhereUniqueInput 1278 + } 1279 + 1280 + /** 1281 + * TrackedMovie findUniqueOrThrow 1282 + */ 1283 + export type TrackedMovieFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = { 1284 + /** 1285 + * Select specific fields to fetch from the TrackedMovie 1286 + */ 1287 + select?: Prisma.TrackedMovieSelect<ExtArgs> | null 1288 + /** 1289 + * Omit specific fields from the TrackedMovie 1290 + */ 1291 + omit?: Prisma.TrackedMovieOmit<ExtArgs> | null 1292 + /** 1293 + * Choose, which related nodes to fetch as well 1294 + */ 1295 + include?: Prisma.TrackedMovieInclude<ExtArgs> | null 1296 + /** 1297 + * Filter, which TrackedMovie to fetch. 1298 + */ 1299 + where: Prisma.TrackedMovieWhereUniqueInput 1300 + } 1301 + 1302 + /** 1303 + * TrackedMovie findFirst 1304 + */ 1305 + export type TrackedMovieFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = { 1306 + /** 1307 + * Select specific fields to fetch from the TrackedMovie 1308 + */ 1309 + select?: Prisma.TrackedMovieSelect<ExtArgs> | null 1310 + /** 1311 + * Omit specific fields from the TrackedMovie 1312 + */ 1313 + omit?: Prisma.TrackedMovieOmit<ExtArgs> | null 1314 + /** 1315 + * Choose, which related nodes to fetch as well 1316 + */ 1317 + include?: Prisma.TrackedMovieInclude<ExtArgs> | null 1318 + /** 1319 + * Filter, which TrackedMovie to fetch. 1320 + */ 1321 + where?: Prisma.TrackedMovieWhereInput 1322 + /** 1323 + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} 1324 + * 1325 + * Determine the order of TrackedMovies to fetch. 1326 + */ 1327 + orderBy?: Prisma.TrackedMovieOrderByWithRelationInput | Prisma.TrackedMovieOrderByWithRelationInput[] 1328 + /** 1329 + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} 1330 + * 1331 + * Sets the position for searching for TrackedMovies. 1332 + */ 1333 + cursor?: Prisma.TrackedMovieWhereUniqueInput 1334 + /** 1335 + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} 1336 + * 1337 + * Take `±n` TrackedMovies from the position of the cursor. 1338 + */ 1339 + take?: number 1340 + /** 1341 + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} 1342 + * 1343 + * Skip the first `n` TrackedMovies. 1344 + */ 1345 + skip?: number 1346 + /** 1347 + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} 1348 + * 1349 + * Filter by unique combinations of TrackedMovies. 1350 + */ 1351 + distinct?: Prisma.TrackedMovieScalarFieldEnum | Prisma.TrackedMovieScalarFieldEnum[] 1352 + } 1353 + 1354 + /** 1355 + * TrackedMovie findFirstOrThrow 1356 + */ 1357 + export type TrackedMovieFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = { 1358 + /** 1359 + * Select specific fields to fetch from the TrackedMovie 1360 + */ 1361 + select?: Prisma.TrackedMovieSelect<ExtArgs> | null 1362 + /** 1363 + * Omit specific fields from the TrackedMovie 1364 + */ 1365 + omit?: Prisma.TrackedMovieOmit<ExtArgs> | null 1366 + /** 1367 + * Choose, which related nodes to fetch as well 1368 + */ 1369 + include?: Prisma.TrackedMovieInclude<ExtArgs> | null 1370 + /** 1371 + * Filter, which TrackedMovie to fetch. 1372 + */ 1373 + where?: Prisma.TrackedMovieWhereInput 1374 + /** 1375 + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} 1376 + * 1377 + * Determine the order of TrackedMovies to fetch. 1378 + */ 1379 + orderBy?: Prisma.TrackedMovieOrderByWithRelationInput | Prisma.TrackedMovieOrderByWithRelationInput[] 1380 + /** 1381 + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} 1382 + * 1383 + * Sets the position for searching for TrackedMovies. 1384 + */ 1385 + cursor?: Prisma.TrackedMovieWhereUniqueInput 1386 + /** 1387 + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} 1388 + * 1389 + * Take `±n` TrackedMovies from the position of the cursor. 1390 + */ 1391 + take?: number 1392 + /** 1393 + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} 1394 + * 1395 + * Skip the first `n` TrackedMovies. 1396 + */ 1397 + skip?: number 1398 + /** 1399 + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} 1400 + * 1401 + * Filter by unique combinations of TrackedMovies. 1402 + */ 1403 + distinct?: Prisma.TrackedMovieScalarFieldEnum | Prisma.TrackedMovieScalarFieldEnum[] 1404 + } 1405 + 1406 + /** 1407 + * TrackedMovie findMany 1408 + */ 1409 + export type TrackedMovieFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = { 1410 + /** 1411 + * Select specific fields to fetch from the TrackedMovie 1412 + */ 1413 + select?: Prisma.TrackedMovieSelect<ExtArgs> | null 1414 + /** 1415 + * Omit specific fields from the TrackedMovie 1416 + */ 1417 + omit?: Prisma.TrackedMovieOmit<ExtArgs> | null 1418 + /** 1419 + * Choose, which related nodes to fetch as well 1420 + */ 1421 + include?: Prisma.TrackedMovieInclude<ExtArgs> | null 1422 + /** 1423 + * Filter, which TrackedMovies to fetch. 1424 + */ 1425 + where?: Prisma.TrackedMovieWhereInput 1426 + /** 1427 + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} 1428 + * 1429 + * Determine the order of TrackedMovies to fetch. 1430 + */ 1431 + orderBy?: Prisma.TrackedMovieOrderByWithRelationInput | Prisma.TrackedMovieOrderByWithRelationInput[] 1432 + /** 1433 + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} 1434 + * 1435 + * Sets the position for listing TrackedMovies. 1436 + */ 1437 + cursor?: Prisma.TrackedMovieWhereUniqueInput 1438 + /** 1439 + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} 1440 + * 1441 + * Take `±n` TrackedMovies from the position of the cursor. 1442 + */ 1443 + take?: number 1444 + /** 1445 + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} 1446 + * 1447 + * Skip the first `n` TrackedMovies. 1448 + */ 1449 + skip?: number 1450 + distinct?: Prisma.TrackedMovieScalarFieldEnum | Prisma.TrackedMovieScalarFieldEnum[] 1451 + } 1452 + 1453 + /** 1454 + * TrackedMovie create 1455 + */ 1456 + export type TrackedMovieCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = { 1457 + /** 1458 + * Select specific fields to fetch from the TrackedMovie 1459 + */ 1460 + select?: Prisma.TrackedMovieSelect<ExtArgs> | null 1461 + /** 1462 + * Omit specific fields from the TrackedMovie 1463 + */ 1464 + omit?: Prisma.TrackedMovieOmit<ExtArgs> | null 1465 + /** 1466 + * Choose, which related nodes to fetch as well 1467 + */ 1468 + include?: Prisma.TrackedMovieInclude<ExtArgs> | null 1469 + /** 1470 + * The data needed to create a TrackedMovie. 1471 + */ 1472 + data: Prisma.XOR<Prisma.TrackedMovieCreateInput, Prisma.TrackedMovieUncheckedCreateInput> 1473 + } 1474 + 1475 + /** 1476 + * TrackedMovie createMany 1477 + */ 1478 + export type TrackedMovieCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = { 1479 + /** 1480 + * The data used to create many TrackedMovies. 1481 + */ 1482 + data: Prisma.TrackedMovieCreateManyInput | Prisma.TrackedMovieCreateManyInput[] 1483 + skipDuplicates?: boolean 1484 + } 1485 + 1486 + /** 1487 + * TrackedMovie createManyAndReturn 1488 + */ 1489 + export type TrackedMovieCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = { 1490 + /** 1491 + * Select specific fields to fetch from the TrackedMovie 1492 + */ 1493 + select?: Prisma.TrackedMovieSelectCreateManyAndReturn<ExtArgs> | null 1494 + /** 1495 + * Omit specific fields from the TrackedMovie 1496 + */ 1497 + omit?: Prisma.TrackedMovieOmit<ExtArgs> | null 1498 + /** 1499 + * The data used to create many TrackedMovies. 1500 + */ 1501 + data: Prisma.TrackedMovieCreateManyInput | Prisma.TrackedMovieCreateManyInput[] 1502 + skipDuplicates?: boolean 1503 + /** 1504 + * Choose, which related nodes to fetch as well 1505 + */ 1506 + include?: Prisma.TrackedMovieIncludeCreateManyAndReturn<ExtArgs> | null 1507 + } 1508 + 1509 + /** 1510 + * TrackedMovie update 1511 + */ 1512 + export type TrackedMovieUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = { 1513 + /** 1514 + * Select specific fields to fetch from the TrackedMovie 1515 + */ 1516 + select?: Prisma.TrackedMovieSelect<ExtArgs> | null 1517 + /** 1518 + * Omit specific fields from the TrackedMovie 1519 + */ 1520 + omit?: Prisma.TrackedMovieOmit<ExtArgs> | null 1521 + /** 1522 + * Choose, which related nodes to fetch as well 1523 + */ 1524 + include?: Prisma.TrackedMovieInclude<ExtArgs> | null 1525 + /** 1526 + * The data needed to update a TrackedMovie. 1527 + */ 1528 + data: Prisma.XOR<Prisma.TrackedMovieUpdateInput, Prisma.TrackedMovieUncheckedUpdateInput> 1529 + /** 1530 + * Choose, which TrackedMovie to update. 1531 + */ 1532 + where: Prisma.TrackedMovieWhereUniqueInput 1533 + } 1534 + 1535 + /** 1536 + * TrackedMovie updateMany 1537 + */ 1538 + export type TrackedMovieUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = { 1539 + /** 1540 + * The data used to update TrackedMovies. 1541 + */ 1542 + data: Prisma.XOR<Prisma.TrackedMovieUpdateManyMutationInput, Prisma.TrackedMovieUncheckedUpdateManyInput> 1543 + /** 1544 + * Filter which TrackedMovies to update 1545 + */ 1546 + where?: Prisma.TrackedMovieWhereInput 1547 + /** 1548 + * Limit how many TrackedMovies to update. 1549 + */ 1550 + limit?: number 1551 + } 1552 + 1553 + /** 1554 + * TrackedMovie updateManyAndReturn 1555 + */ 1556 + export type TrackedMovieUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = { 1557 + /** 1558 + * Select specific fields to fetch from the TrackedMovie 1559 + */ 1560 + select?: Prisma.TrackedMovieSelectUpdateManyAndReturn<ExtArgs> | null 1561 + /** 1562 + * Omit specific fields from the TrackedMovie 1563 + */ 1564 + omit?: Prisma.TrackedMovieOmit<ExtArgs> | null 1565 + /** 1566 + * The data used to update TrackedMovies. 1567 + */ 1568 + data: Prisma.XOR<Prisma.TrackedMovieUpdateManyMutationInput, Prisma.TrackedMovieUncheckedUpdateManyInput> 1569 + /** 1570 + * Filter which TrackedMovies to update 1571 + */ 1572 + where?: Prisma.TrackedMovieWhereInput 1573 + /** 1574 + * Limit how many TrackedMovies to update. 1575 + */ 1576 + limit?: number 1577 + /** 1578 + * Choose, which related nodes to fetch as well 1579 + */ 1580 + include?: Prisma.TrackedMovieIncludeUpdateManyAndReturn<ExtArgs> | null 1581 + } 1582 + 1583 + /** 1584 + * TrackedMovie upsert 1585 + */ 1586 + export type TrackedMovieUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = { 1587 + /** 1588 + * Select specific fields to fetch from the TrackedMovie 1589 + */ 1590 + select?: Prisma.TrackedMovieSelect<ExtArgs> | null 1591 + /** 1592 + * Omit specific fields from the TrackedMovie 1593 + */ 1594 + omit?: Prisma.TrackedMovieOmit<ExtArgs> | null 1595 + /** 1596 + * Choose, which related nodes to fetch as well 1597 + */ 1598 + include?: Prisma.TrackedMovieInclude<ExtArgs> | null 1599 + /** 1600 + * The filter to search for the TrackedMovie to update in case it exists. 1601 + */ 1602 + where: Prisma.TrackedMovieWhereUniqueInput 1603 + /** 1604 + * In case the TrackedMovie found by the `where` argument doesn't exist, create a new TrackedMovie with this data. 1605 + */ 1606 + create: Prisma.XOR<Prisma.TrackedMovieCreateInput, Prisma.TrackedMovieUncheckedCreateInput> 1607 + /** 1608 + * In case the TrackedMovie was found with the provided `where` argument, update it with this data. 1609 + */ 1610 + update: Prisma.XOR<Prisma.TrackedMovieUpdateInput, Prisma.TrackedMovieUncheckedUpdateInput> 1611 + } 1612 + 1613 + /** 1614 + * TrackedMovie delete 1615 + */ 1616 + export type TrackedMovieDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = { 1617 + /** 1618 + * Select specific fields to fetch from the TrackedMovie 1619 + */ 1620 + select?: Prisma.TrackedMovieSelect<ExtArgs> | null 1621 + /** 1622 + * Omit specific fields from the TrackedMovie 1623 + */ 1624 + omit?: Prisma.TrackedMovieOmit<ExtArgs> | null 1625 + /** 1626 + * Choose, which related nodes to fetch as well 1627 + */ 1628 + include?: Prisma.TrackedMovieInclude<ExtArgs> | null 1629 + /** 1630 + * Filter which TrackedMovie to delete. 1631 + */ 1632 + where: Prisma.TrackedMovieWhereUniqueInput 1633 + } 1634 + 1635 + /** 1636 + * TrackedMovie deleteMany 1637 + */ 1638 + export type TrackedMovieDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = { 1639 + /** 1640 + * Filter which TrackedMovies to delete 1641 + */ 1642 + where?: Prisma.TrackedMovieWhereInput 1643 + /** 1644 + * Limit how many TrackedMovies to delete. 1645 + */ 1646 + limit?: number 1647 + } 1648 + 1649 + /** 1650 + * TrackedMovie without action 1651 + */ 1652 + export type TrackedMovieDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = { 1653 + /** 1654 + * Select specific fields to fetch from the TrackedMovie 1655 + */ 1656 + select?: Prisma.TrackedMovieSelect<ExtArgs> | null 1657 + /** 1658 + * Omit specific fields from the TrackedMovie 1659 + */ 1660 + omit?: Prisma.TrackedMovieOmit<ExtArgs> | null 1661 + /** 1662 + * Choose, which related nodes to fetch as well 1663 + */ 1664 + include?: Prisma.TrackedMovieInclude<ExtArgs> | null 1665 + }
+1366
backend/src/generated/models/User.ts
··· 1 + 2 + /* !!! This is code generated by Prisma. Do not edit directly. !!! */ 3 + /* eslint-disable */ 4 + // biome-ignore-all lint: generated file 5 + // @ts-nocheck 6 + /* 7 + * This file exports the `User` model and its related types. 8 + * 9 + * 🟢 You can import this file directly. 10 + */ 11 + import type * as runtime from "@prisma/client/runtime/client" 12 + import type * as $Enums from "../enums.js" 13 + import type * as Prisma from "../internal/prismaNamespace.js" 14 + 15 + /** 16 + * Model User 17 + * 18 + */ 19 + export type UserModel = runtime.Types.Result.DefaultSelection<Prisma.$UserPayload> 20 + 21 + export type AggregateUser = { 22 + _count: UserCountAggregateOutputType | null 23 + _min: UserMinAggregateOutputType | null 24 + _max: UserMaxAggregateOutputType | null 25 + } 26 + 27 + export type UserMinAggregateOutputType = { 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 + } 35 + 36 + export type UserMaxAggregateOutputType = { 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 + } 44 + 45 + export type UserCountAggregateOutputType = { 46 + did: number 47 + handle: number 48 + displayName: number 49 + avatar: number 50 + createdAt: number 51 + updatedAt: number 52 + _all: number 53 + } 54 + 55 + 56 + export type UserMinAggregateInputType = { 57 + did?: true 58 + handle?: true 59 + displayName?: true 60 + avatar?: true 61 + createdAt?: true 62 + updatedAt?: true 63 + } 64 + 65 + export type UserMaxAggregateInputType = { 66 + did?: true 67 + handle?: true 68 + displayName?: true 69 + avatar?: true 70 + createdAt?: true 71 + updatedAt?: true 72 + } 73 + 74 + export type UserCountAggregateInputType = { 75 + did?: true 76 + handle?: true 77 + displayName?: true 78 + avatar?: true 79 + createdAt?: true 80 + updatedAt?: true 81 + _all?: true 82 + } 83 + 84 + export type UserAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = { 85 + /** 86 + * Filter which User to aggregate. 87 + */ 88 + where?: Prisma.UserWhereInput 89 + /** 90 + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} 91 + * 92 + * Determine the order of Users to fetch. 93 + */ 94 + orderBy?: Prisma.UserOrderByWithRelationInput | Prisma.UserOrderByWithRelationInput[] 95 + /** 96 + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} 97 + * 98 + * Sets the start position 99 + */ 100 + cursor?: Prisma.UserWhereUniqueInput 101 + /** 102 + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} 103 + * 104 + * Take `±n` Users from the position of the cursor. 105 + */ 106 + take?: number 107 + /** 108 + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} 109 + * 110 + * Skip the first `n` Users. 111 + */ 112 + skip?: number 113 + /** 114 + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} 115 + * 116 + * Count returned Users 117 + **/ 118 + _count?: true | UserCountAggregateInputType 119 + /** 120 + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} 121 + * 122 + * Select which fields to find the minimum value 123 + **/ 124 + _min?: UserMinAggregateInputType 125 + /** 126 + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} 127 + * 128 + * Select which fields to find the maximum value 129 + **/ 130 + _max?: UserMaxAggregateInputType 131 + } 132 + 133 + export type GetUserAggregateType<T extends UserAggregateArgs> = { 134 + [P in keyof T & keyof AggregateUser]: P extends '_count' | 'count' 135 + ? T[P] extends true 136 + ? number 137 + : Prisma.GetScalarType<T[P], AggregateUser[P]> 138 + : Prisma.GetScalarType<T[P], AggregateUser[P]> 139 + } 140 + 141 + 142 + 143 + 144 + export type UserGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = { 145 + where?: Prisma.UserWhereInput 146 + orderBy?: Prisma.UserOrderByWithAggregationInput | Prisma.UserOrderByWithAggregationInput[] 147 + by: Prisma.UserScalarFieldEnum[] | Prisma.UserScalarFieldEnum 148 + having?: Prisma.UserScalarWhereWithAggregatesInput 149 + take?: number 150 + skip?: number 151 + _count?: UserCountAggregateInputType | true 152 + _min?: UserMinAggregateInputType 153 + _max?: UserMaxAggregateInputType 154 + } 155 + 156 + export type UserGroupByOutputType = { 157 + did: string 158 + handle: string 159 + displayName: string | null 160 + avatar: string | null 161 + createdAt: Date 162 + updatedAt: Date 163 + _count: UserCountAggregateOutputType | null 164 + _min: UserMinAggregateOutputType | null 165 + _max: UserMaxAggregateOutputType | null 166 + } 167 + 168 + type GetUserGroupByPayload<T extends UserGroupByArgs> = Prisma.PrismaPromise< 169 + Array< 170 + Prisma.PickEnumerable<UserGroupByOutputType, T['by']> & 171 + { 172 + [P in ((keyof T) & (keyof UserGroupByOutputType))]: P extends '_count' 173 + ? T[P] extends boolean 174 + ? number 175 + : Prisma.GetScalarType<T[P], UserGroupByOutputType[P]> 176 + : Prisma.GetScalarType<T[P], UserGroupByOutputType[P]> 177 + } 178 + > 179 + > 180 + 181 + 182 + 183 + export type UserWhereInput = { 184 + AND?: Prisma.UserWhereInput | Prisma.UserWhereInput[] 185 + OR?: Prisma.UserWhereInput[] 186 + NOT?: Prisma.UserWhereInput | Prisma.UserWhereInput[] 187 + did?: Prisma.StringFilter<"User"> | string 188 + handle?: Prisma.StringFilter<"User"> | string 189 + displayName?: Prisma.StringNullableFilter<"User"> | string | null 190 + avatar?: Prisma.StringNullableFilter<"User"> | string | null 191 + createdAt?: Prisma.DateTimeFilter<"User"> | Date | string 192 + updatedAt?: Prisma.DateTimeFilter<"User"> | Date | string 193 + trackedMovies?: Prisma.TrackedMovieListRelationFilter 194 + } 195 + 196 + export type UserOrderByWithRelationInput = { 197 + did?: Prisma.SortOrder 198 + handle?: Prisma.SortOrder 199 + displayName?: Prisma.SortOrderInput | Prisma.SortOrder 200 + avatar?: Prisma.SortOrderInput | Prisma.SortOrder 201 + createdAt?: Prisma.SortOrder 202 + updatedAt?: Prisma.SortOrder 203 + trackedMovies?: Prisma.TrackedMovieOrderByRelationAggregateInput 204 + } 205 + 206 + export type UserWhereUniqueInput = Prisma.AtLeast<{ 207 + did?: string 208 + handle?: string 209 + AND?: Prisma.UserWhereInput | Prisma.UserWhereInput[] 210 + OR?: Prisma.UserWhereInput[] 211 + NOT?: Prisma.UserWhereInput | Prisma.UserWhereInput[] 212 + displayName?: Prisma.StringNullableFilter<"User"> | string | null 213 + avatar?: Prisma.StringNullableFilter<"User"> | string | null 214 + createdAt?: Prisma.DateTimeFilter<"User"> | Date | string 215 + updatedAt?: Prisma.DateTimeFilter<"User"> | Date | string 216 + trackedMovies?: Prisma.TrackedMovieListRelationFilter 217 + }, "did" | "handle"> 218 + 219 + export type UserOrderByWithAggregationInput = { 220 + did?: Prisma.SortOrder 221 + handle?: Prisma.SortOrder 222 + displayName?: Prisma.SortOrderInput | Prisma.SortOrder 223 + avatar?: Prisma.SortOrderInput | Prisma.SortOrder 224 + createdAt?: Prisma.SortOrder 225 + updatedAt?: Prisma.SortOrder 226 + _count?: Prisma.UserCountOrderByAggregateInput 227 + _max?: Prisma.UserMaxOrderByAggregateInput 228 + _min?: Prisma.UserMinOrderByAggregateInput 229 + } 230 + 231 + export type UserScalarWhereWithAggregatesInput = { 232 + AND?: Prisma.UserScalarWhereWithAggregatesInput | Prisma.UserScalarWhereWithAggregatesInput[] 233 + OR?: Prisma.UserScalarWhereWithAggregatesInput[] 234 + NOT?: Prisma.UserScalarWhereWithAggregatesInput | Prisma.UserScalarWhereWithAggregatesInput[] 235 + did?: Prisma.StringWithAggregatesFilter<"User"> | string 236 + handle?: Prisma.StringWithAggregatesFilter<"User"> | string 237 + displayName?: Prisma.StringNullableWithAggregatesFilter<"User"> | string | null 238 + avatar?: Prisma.StringNullableWithAggregatesFilter<"User"> | string | null 239 + createdAt?: Prisma.DateTimeWithAggregatesFilter<"User"> | Date | string 240 + updatedAt?: Prisma.DateTimeWithAggregatesFilter<"User"> | Date | string 241 + } 242 + 243 + export type UserCreateInput = { 244 + did: string 245 + handle: string 246 + displayName?: string | null 247 + avatar?: string | null 248 + createdAt?: Date | string 249 + updatedAt?: Date | string 250 + trackedMovies?: Prisma.TrackedMovieCreateNestedManyWithoutUserInput 251 + } 252 + 253 + export type UserUncheckedCreateInput = { 254 + did: string 255 + handle: string 256 + displayName?: string | null 257 + avatar?: string | null 258 + createdAt?: Date | string 259 + updatedAt?: Date | string 260 + trackedMovies?: Prisma.TrackedMovieUncheckedCreateNestedManyWithoutUserInput 261 + } 262 + 263 + export type UserUpdateInput = { 264 + did?: Prisma.StringFieldUpdateOperationsInput | string 265 + handle?: Prisma.StringFieldUpdateOperationsInput | string 266 + displayName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null 267 + avatar?: Prisma.NullableStringFieldUpdateOperationsInput | string | null 268 + createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string 269 + updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string 270 + trackedMovies?: Prisma.TrackedMovieUpdateManyWithoutUserNestedInput 271 + } 272 + 273 + export type UserUncheckedUpdateInput = { 274 + did?: Prisma.StringFieldUpdateOperationsInput | string 275 + handle?: Prisma.StringFieldUpdateOperationsInput | string 276 + displayName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null 277 + avatar?: Prisma.NullableStringFieldUpdateOperationsInput | string | null 278 + createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string 279 + updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string 280 + trackedMovies?: Prisma.TrackedMovieUncheckedUpdateManyWithoutUserNestedInput 281 + } 282 + 283 + export type UserCreateManyInput = { 284 + did: string 285 + handle: string 286 + displayName?: string | null 287 + avatar?: string | null 288 + createdAt?: Date | string 289 + updatedAt?: Date | string 290 + } 291 + 292 + export type UserUpdateManyMutationInput = { 293 + did?: Prisma.StringFieldUpdateOperationsInput | string 294 + handle?: Prisma.StringFieldUpdateOperationsInput | string 295 + displayName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null 296 + avatar?: Prisma.NullableStringFieldUpdateOperationsInput | string | null 297 + createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string 298 + updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string 299 + } 300 + 301 + export type UserUncheckedUpdateManyInput = { 302 + did?: Prisma.StringFieldUpdateOperationsInput | string 303 + handle?: Prisma.StringFieldUpdateOperationsInput | string 304 + displayName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null 305 + avatar?: Prisma.NullableStringFieldUpdateOperationsInput | string | null 306 + createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string 307 + updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string 308 + } 309 + 310 + export type UserCountOrderByAggregateInput = { 311 + did?: Prisma.SortOrder 312 + handle?: Prisma.SortOrder 313 + displayName?: Prisma.SortOrder 314 + avatar?: Prisma.SortOrder 315 + createdAt?: Prisma.SortOrder 316 + updatedAt?: Prisma.SortOrder 317 + } 318 + 319 + export type UserMaxOrderByAggregateInput = { 320 + did?: Prisma.SortOrder 321 + handle?: Prisma.SortOrder 322 + displayName?: Prisma.SortOrder 323 + avatar?: Prisma.SortOrder 324 + createdAt?: Prisma.SortOrder 325 + updatedAt?: Prisma.SortOrder 326 + } 327 + 328 + export type UserMinOrderByAggregateInput = { 329 + did?: Prisma.SortOrder 330 + handle?: Prisma.SortOrder 331 + displayName?: Prisma.SortOrder 332 + avatar?: Prisma.SortOrder 333 + createdAt?: Prisma.SortOrder 334 + updatedAt?: Prisma.SortOrder 335 + } 336 + 337 + export type UserScalarRelationFilter = { 338 + is?: Prisma.UserWhereInput 339 + isNot?: Prisma.UserWhereInput 340 + } 341 + 342 + export type StringFieldUpdateOperationsInput = { 343 + set?: string 344 + } 345 + 346 + export type NullableStringFieldUpdateOperationsInput = { 347 + set?: string | null 348 + } 349 + 350 + export type DateTimeFieldUpdateOperationsInput = { 351 + set?: Date | string 352 + } 353 + 354 + export type UserCreateNestedOneWithoutTrackedMoviesInput = { 355 + create?: Prisma.XOR<Prisma.UserCreateWithoutTrackedMoviesInput, Prisma.UserUncheckedCreateWithoutTrackedMoviesInput> 356 + connectOrCreate?: Prisma.UserCreateOrConnectWithoutTrackedMoviesInput 357 + connect?: Prisma.UserWhereUniqueInput 358 + } 359 + 360 + export type UserUpdateOneRequiredWithoutTrackedMoviesNestedInput = { 361 + create?: Prisma.XOR<Prisma.UserCreateWithoutTrackedMoviesInput, Prisma.UserUncheckedCreateWithoutTrackedMoviesInput> 362 + connectOrCreate?: Prisma.UserCreateOrConnectWithoutTrackedMoviesInput 363 + upsert?: Prisma.UserUpsertWithoutTrackedMoviesInput 364 + connect?: Prisma.UserWhereUniqueInput 365 + update?: Prisma.XOR<Prisma.XOR<Prisma.UserUpdateToOneWithWhereWithoutTrackedMoviesInput, Prisma.UserUpdateWithoutTrackedMoviesInput>, Prisma.UserUncheckedUpdateWithoutTrackedMoviesInput> 366 + } 367 + 368 + export type UserCreateWithoutTrackedMoviesInput = { 369 + did: string 370 + handle: string 371 + displayName?: string | null 372 + avatar?: string | null 373 + createdAt?: Date | string 374 + updatedAt?: Date | string 375 + } 376 + 377 + export type UserUncheckedCreateWithoutTrackedMoviesInput = { 378 + did: string 379 + handle: string 380 + displayName?: string | null 381 + avatar?: string | null 382 + createdAt?: Date | string 383 + updatedAt?: Date | string 384 + } 385 + 386 + export type UserCreateOrConnectWithoutTrackedMoviesInput = { 387 + where: Prisma.UserWhereUniqueInput 388 + create: Prisma.XOR<Prisma.UserCreateWithoutTrackedMoviesInput, Prisma.UserUncheckedCreateWithoutTrackedMoviesInput> 389 + } 390 + 391 + export type UserUpsertWithoutTrackedMoviesInput = { 392 + update: Prisma.XOR<Prisma.UserUpdateWithoutTrackedMoviesInput, Prisma.UserUncheckedUpdateWithoutTrackedMoviesInput> 393 + create: Prisma.XOR<Prisma.UserCreateWithoutTrackedMoviesInput, Prisma.UserUncheckedCreateWithoutTrackedMoviesInput> 394 + where?: Prisma.UserWhereInput 395 + } 396 + 397 + export type UserUpdateToOneWithWhereWithoutTrackedMoviesInput = { 398 + where?: Prisma.UserWhereInput 399 + data: Prisma.XOR<Prisma.UserUpdateWithoutTrackedMoviesInput, Prisma.UserUncheckedUpdateWithoutTrackedMoviesInput> 400 + } 401 + 402 + export type UserUpdateWithoutTrackedMoviesInput = { 403 + did?: Prisma.StringFieldUpdateOperationsInput | string 404 + handle?: Prisma.StringFieldUpdateOperationsInput | string 405 + displayName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null 406 + avatar?: Prisma.NullableStringFieldUpdateOperationsInput | string | null 407 + createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string 408 + updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string 409 + } 410 + 411 + export type UserUncheckedUpdateWithoutTrackedMoviesInput = { 412 + did?: Prisma.StringFieldUpdateOperationsInput | string 413 + handle?: Prisma.StringFieldUpdateOperationsInput | string 414 + displayName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null 415 + avatar?: Prisma.NullableStringFieldUpdateOperationsInput | string | null 416 + createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string 417 + updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string 418 + } 419 + 420 + 421 + /** 422 + * Count Type UserCountOutputType 423 + */ 424 + 425 + export type UserCountOutputType = { 426 + trackedMovies: number 427 + } 428 + 429 + export type UserCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = { 430 + trackedMovies?: boolean | UserCountOutputTypeCountTrackedMoviesArgs 431 + } 432 + 433 + /** 434 + * UserCountOutputType without action 435 + */ 436 + export type UserCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = { 437 + /** 438 + * Select specific fields to fetch from the UserCountOutputType 439 + */ 440 + select?: Prisma.UserCountOutputTypeSelect<ExtArgs> | null 441 + } 442 + 443 + /** 444 + * UserCountOutputType without action 445 + */ 446 + export type UserCountOutputTypeCountTrackedMoviesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = { 447 + where?: Prisma.TrackedMovieWhereInput 448 + } 449 + 450 + 451 + export type UserSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{ 452 + did?: boolean 453 + handle?: boolean 454 + displayName?: boolean 455 + avatar?: boolean 456 + createdAt?: boolean 457 + updatedAt?: boolean 458 + trackedMovies?: boolean | Prisma.User$trackedMoviesArgs<ExtArgs> 459 + _count?: boolean | Prisma.UserCountOutputTypeDefaultArgs<ExtArgs> 460 + }, ExtArgs["result"]["user"]> 461 + 462 + export type UserSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{ 463 + did?: boolean 464 + handle?: boolean 465 + displayName?: boolean 466 + avatar?: boolean 467 + createdAt?: boolean 468 + updatedAt?: boolean 469 + }, ExtArgs["result"]["user"]> 470 + 471 + export type UserSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{ 472 + did?: boolean 473 + handle?: boolean 474 + displayName?: boolean 475 + avatar?: boolean 476 + createdAt?: boolean 477 + updatedAt?: boolean 478 + }, ExtArgs["result"]["user"]> 479 + 480 + export type UserSelectScalar = { 481 + did?: boolean 482 + handle?: boolean 483 + displayName?: boolean 484 + avatar?: boolean 485 + createdAt?: boolean 486 + updatedAt?: boolean 487 + } 488 + 489 + 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"]> 490 + export type UserInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = { 491 + trackedMovies?: boolean | Prisma.User$trackedMoviesArgs<ExtArgs> 492 + _count?: boolean | Prisma.UserCountOutputTypeDefaultArgs<ExtArgs> 493 + } 494 + export type UserIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {} 495 + export type UserIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {} 496 + 497 + export type $UserPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = { 498 + name: "User" 499 + objects: { 500 + trackedMovies: Prisma.$TrackedMoviePayload<ExtArgs>[] 501 + } 502 + scalars: runtime.Types.Extensions.GetPayloadResult<{ 503 + did: string 504 + handle: string 505 + displayName: string | null 506 + avatar: string | null 507 + createdAt: Date 508 + updatedAt: Date 509 + }, ExtArgs["result"]["user"]> 510 + composites: {} 511 + } 512 + 513 + export type UserGetPayload<S extends boolean | null | undefined | UserDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$UserPayload, S> 514 + 515 + export type UserCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = 516 + Omit<UserFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & { 517 + select?: UserCountAggregateInputType | true 518 + } 519 + 520 + export interface UserDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> { 521 + [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['User'], meta: { name: 'User' } } 522 + /** 523 + * Find zero or one User that matches the filter. 524 + * @param {UserFindUniqueArgs} args - Arguments to find a User 525 + * @example 526 + * // Get one User 527 + * const user = await prisma.user.findUnique({ 528 + * where: { 529 + * // ... provide filter here 530 + * } 531 + * }) 532 + */ 533 + 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> 534 + 535 + /** 536 + * Find one User that matches the filter or throw an error with `error.code='P2025'` 537 + * if no matches were found. 538 + * @param {UserFindUniqueOrThrowArgs} args - Arguments to find a User 539 + * @example 540 + * // Get one User 541 + * const user = await prisma.user.findUniqueOrThrow({ 542 + * where: { 543 + * // ... provide filter here 544 + * } 545 + * }) 546 + */ 547 + 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> 548 + 549 + /** 550 + * Find the first User that matches the filter. 551 + * Note, that providing `undefined` is treated as the value not being there. 552 + * Read more here: https://pris.ly/d/null-undefined 553 + * @param {UserFindFirstArgs} args - Arguments to find a User 554 + * @example 555 + * // Get one User 556 + * const user = await prisma.user.findFirst({ 557 + * where: { 558 + * // ... provide filter here 559 + * } 560 + * }) 561 + */ 562 + 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> 563 + 564 + /** 565 + * Find the first User that matches the filter or 566 + * throw `PrismaKnownClientError` with `P2025` code if no matches were found. 567 + * Note, that providing `undefined` is treated as the value not being there. 568 + * Read more here: https://pris.ly/d/null-undefined 569 + * @param {UserFindFirstOrThrowArgs} args - Arguments to find a User 570 + * @example 571 + * // Get one User 572 + * const user = await prisma.user.findFirstOrThrow({ 573 + * where: { 574 + * // ... provide filter here 575 + * } 576 + * }) 577 + */ 578 + 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> 579 + 580 + /** 581 + * Find zero or more Users that matches the filter. 582 + * Note, that providing `undefined` is treated as the value not being there. 583 + * Read more here: https://pris.ly/d/null-undefined 584 + * @param {UserFindManyArgs} args - Arguments to filter and select certain fields only. 585 + * @example 586 + * // Get all Users 587 + * const users = await prisma.user.findMany() 588 + * 589 + * // Get first 10 Users 590 + * const users = await prisma.user.findMany({ take: 10 }) 591 + * 592 + * // Only select the `did` 593 + * const userWithDidOnly = await prisma.user.findMany({ select: { did: true } }) 594 + * 595 + */ 596 + findMany<T extends UserFindManyArgs>(args?: Prisma.SelectSubset<T, UserFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>> 597 + 598 + /** 599 + * Create a User. 600 + * @param {UserCreateArgs} args - Arguments to create a User. 601 + * @example 602 + * // Create one User 603 + * const User = await prisma.user.create({ 604 + * data: { 605 + * // ... data to create a User 606 + * } 607 + * }) 608 + * 609 + */ 610 + 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> 611 + 612 + /** 613 + * Create many Users. 614 + * @param {UserCreateManyArgs} args - Arguments to create many Users. 615 + * @example 616 + * // Create many Users 617 + * const user = await prisma.user.createMany({ 618 + * data: [ 619 + * // ... provide data here 620 + * ] 621 + * }) 622 + * 623 + */ 624 + createMany<T extends UserCreateManyArgs>(args?: Prisma.SelectSubset<T, UserCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload> 625 + 626 + /** 627 + * Create many Users and returns the data saved in the database. 628 + * @param {UserCreateManyAndReturnArgs} args - Arguments to create many Users. 629 + * @example 630 + * // Create many Users 631 + * const user = await prisma.user.createManyAndReturn({ 632 + * data: [ 633 + * // ... provide data here 634 + * ] 635 + * }) 636 + * 637 + * // Create many Users and only return the `did` 638 + * const userWithDidOnly = await prisma.user.createManyAndReturn({ 639 + * select: { did: true }, 640 + * data: [ 641 + * // ... provide data here 642 + * ] 643 + * }) 644 + * Note, that providing `undefined` is treated as the value not being there. 645 + * Read more here: https://pris.ly/d/null-undefined 646 + * 647 + */ 648 + createManyAndReturn<T extends UserCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, UserCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>> 649 + 650 + /** 651 + * Delete a User. 652 + * @param {UserDeleteArgs} args - Arguments to delete one User. 653 + * @example 654 + * // Delete one User 655 + * const User = await prisma.user.delete({ 656 + * where: { 657 + * // ... filter to delete one User 658 + * } 659 + * }) 660 + * 661 + */ 662 + 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> 663 + 664 + /** 665 + * Update one User. 666 + * @param {UserUpdateArgs} args - Arguments to update one User. 667 + * @example 668 + * // Update one User 669 + * const user = await prisma.user.update({ 670 + * where: { 671 + * // ... provide filter here 672 + * }, 673 + * data: { 674 + * // ... provide data here 675 + * } 676 + * }) 677 + * 678 + */ 679 + 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> 680 + 681 + /** 682 + * Delete zero or more Users. 683 + * @param {UserDeleteManyArgs} args - Arguments to filter Users to delete. 684 + * @example 685 + * // Delete a few Users 686 + * const { count } = await prisma.user.deleteMany({ 687 + * where: { 688 + * // ... provide filter here 689 + * } 690 + * }) 691 + * 692 + */ 693 + deleteMany<T extends UserDeleteManyArgs>(args?: Prisma.SelectSubset<T, UserDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload> 694 + 695 + /** 696 + * Update zero or more Users. 697 + * Note, that providing `undefined` is treated as the value not being there. 698 + * Read more here: https://pris.ly/d/null-undefined 699 + * @param {UserUpdateManyArgs} args - Arguments to update one or more rows. 700 + * @example 701 + * // Update many Users 702 + * const user = await prisma.user.updateMany({ 703 + * where: { 704 + * // ... provide filter here 705 + * }, 706 + * data: { 707 + * // ... provide data here 708 + * } 709 + * }) 710 + * 711 + */ 712 + updateMany<T extends UserUpdateManyArgs>(args: Prisma.SelectSubset<T, UserUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload> 713 + 714 + /** 715 + * Update zero or more Users and returns the data updated in the database. 716 + * @param {UserUpdateManyAndReturnArgs} args - Arguments to update many Users. 717 + * @example 718 + * // Update many Users 719 + * const user = await prisma.user.updateManyAndReturn({ 720 + * where: { 721 + * // ... provide filter here 722 + * }, 723 + * data: [ 724 + * // ... provide data here 725 + * ] 726 + * }) 727 + * 728 + * // Update zero or more Users and only return the `did` 729 + * const userWithDidOnly = await prisma.user.updateManyAndReturn({ 730 + * select: { did: true }, 731 + * where: { 732 + * // ... provide filter here 733 + * }, 734 + * data: [ 735 + * // ... provide data here 736 + * ] 737 + * }) 738 + * Note, that providing `undefined` is treated as the value not being there. 739 + * Read more here: https://pris.ly/d/null-undefined 740 + * 741 + */ 742 + updateManyAndReturn<T extends UserUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, UserUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>> 743 + 744 + /** 745 + * Create or update one User. 746 + * @param {UserUpsertArgs} args - Arguments to update or create a User. 747 + * @example 748 + * // Update or create a User 749 + * const user = await prisma.user.upsert({ 750 + * create: { 751 + * // ... data to create a User 752 + * }, 753 + * update: { 754 + * // ... in case it already exists, update 755 + * }, 756 + * where: { 757 + * // ... the filter for the User we want to update 758 + * } 759 + * }) 760 + */ 761 + 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> 762 + 763 + 764 + /** 765 + * Count the number of Users. 766 + * Note, that providing `undefined` is treated as the value not being there. 767 + * Read more here: https://pris.ly/d/null-undefined 768 + * @param {UserCountArgs} args - Arguments to filter Users to count. 769 + * @example 770 + * // Count the number of Users 771 + * const count = await prisma.user.count({ 772 + * where: { 773 + * // ... the filter for the Users we want to count 774 + * } 775 + * }) 776 + **/ 777 + count<T extends UserCountArgs>( 778 + args?: Prisma.Subset<T, UserCountArgs>, 779 + ): Prisma.PrismaPromise< 780 + T extends runtime.Types.Utils.Record<'select', any> 781 + ? T['select'] extends true 782 + ? number 783 + : Prisma.GetScalarType<T['select'], UserCountAggregateOutputType> 784 + : number 785 + > 786 + 787 + /** 788 + * Allows you to perform aggregations operations on a User. 789 + * Note, that providing `undefined` is treated as the value not being there. 790 + * Read more here: https://pris.ly/d/null-undefined 791 + * @param {UserAggregateArgs} args - Select which aggregations you would like to apply and on what fields. 792 + * @example 793 + * // Ordered by age ascending 794 + * // Where email contains prisma.io 795 + * // Limited to the 10 users 796 + * const aggregations = await prisma.user.aggregate({ 797 + * _avg: { 798 + * age: true, 799 + * }, 800 + * where: { 801 + * email: { 802 + * contains: "prisma.io", 803 + * }, 804 + * }, 805 + * orderBy: { 806 + * age: "asc", 807 + * }, 808 + * take: 10, 809 + * }) 810 + **/ 811 + aggregate<T extends UserAggregateArgs>(args: Prisma.Subset<T, UserAggregateArgs>): Prisma.PrismaPromise<GetUserAggregateType<T>> 812 + 813 + /** 814 + * Group by User. 815 + * Note, that providing `undefined` is treated as the value not being there. 816 + * Read more here: https://pris.ly/d/null-undefined 817 + * @param {UserGroupByArgs} args - Group by arguments. 818 + * @example 819 + * // Group by city, order by createdAt, get count 820 + * const result = await prisma.user.groupBy({ 821 + * by: ['city', 'createdAt'], 822 + * orderBy: { 823 + * createdAt: true 824 + * }, 825 + * _count: { 826 + * _all: true 827 + * }, 828 + * }) 829 + * 830 + **/ 831 + groupBy< 832 + T extends UserGroupByArgs, 833 + HasSelectOrTake extends Prisma.Or< 834 + Prisma.Extends<'skip', Prisma.Keys<T>>, 835 + Prisma.Extends<'take', Prisma.Keys<T>> 836 + >, 837 + OrderByArg extends Prisma.True extends HasSelectOrTake 838 + ? { orderBy: UserGroupByArgs['orderBy'] } 839 + : { orderBy?: UserGroupByArgs['orderBy'] }, 840 + OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>, 841 + ByFields extends Prisma.MaybeTupleToUnion<T['by']>, 842 + ByValid extends Prisma.Has<ByFields, OrderFields>, 843 + HavingFields extends Prisma.GetHavingFields<T['having']>, 844 + HavingValid extends Prisma.Has<ByFields, HavingFields>, 845 + ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False, 846 + InputErrors extends ByEmpty extends Prisma.True 847 + ? `Error: "by" must not be empty.` 848 + : HavingValid extends Prisma.False 849 + ? { 850 + [P in HavingFields]: P extends ByFields 851 + ? never 852 + : P extends string 853 + ? `Error: Field "${P}" used in "having" needs to be provided in "by".` 854 + : [ 855 + Error, 856 + 'Field ', 857 + P, 858 + ` in "having" needs to be provided in "by"`, 859 + ] 860 + }[HavingFields] 861 + : 'take' extends Prisma.Keys<T> 862 + ? 'orderBy' extends Prisma.Keys<T> 863 + ? ByValid extends Prisma.True 864 + ? {} 865 + : { 866 + [P in OrderFields]: P extends ByFields 867 + ? never 868 + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` 869 + }[OrderFields] 870 + : 'Error: If you provide "take", you also need to provide "orderBy"' 871 + : 'skip' extends Prisma.Keys<T> 872 + ? 'orderBy' extends Prisma.Keys<T> 873 + ? ByValid extends Prisma.True 874 + ? {} 875 + : { 876 + [P in OrderFields]: P extends ByFields 877 + ? never 878 + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` 879 + }[OrderFields] 880 + : 'Error: If you provide "skip", you also need to provide "orderBy"' 881 + : ByValid extends Prisma.True 882 + ? {} 883 + : { 884 + [P in OrderFields]: P extends ByFields 885 + ? never 886 + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` 887 + }[OrderFields] 888 + >(args: Prisma.SubsetIntersection<T, UserGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetUserGroupByPayload<T> : Prisma.PrismaPromise<InputErrors> 889 + /** 890 + * Fields of the User model 891 + */ 892 + readonly fields: UserFieldRefs; 893 + } 894 + 895 + /** 896 + * The delegate class that acts as a "Promise-like" for User. 897 + * Why is this prefixed with `Prisma__`? 898 + * Because we want to prevent naming conflicts as mentioned in 899 + * https://github.com/prisma/prisma-client-js/issues/707 900 + */ 901 + export interface Prisma__UserClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> { 902 + readonly [Symbol.toStringTag]: "PrismaPromise" 903 + 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> 904 + /** 905 + * Attaches callbacks for the resolution and/or rejection of the Promise. 906 + * @param onfulfilled The callback to execute when the Promise is resolved. 907 + * @param onrejected The callback to execute when the Promise is rejected. 908 + * @returns A Promise for the completion of which ever callback is executed. 909 + */ 910 + 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> 911 + /** 912 + * Attaches a callback for only the rejection of the Promise. 913 + * @param onrejected The callback to execute when the Promise is rejected. 914 + * @returns A Promise for the completion of the callback. 915 + */ 916 + catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult> 917 + /** 918 + * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The 919 + * resolved value cannot be modified from the callback. 920 + * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected). 921 + * @returns A Promise for the completion of the callback. 922 + */ 923 + finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T> 924 + } 925 + 926 + 927 + 928 + 929 + /** 930 + * Fields of the User model 931 + */ 932 + export interface UserFieldRefs { 933 + readonly did: Prisma.FieldRef<"User", 'String'> 934 + readonly handle: Prisma.FieldRef<"User", 'String'> 935 + readonly displayName: Prisma.FieldRef<"User", 'String'> 936 + readonly avatar: Prisma.FieldRef<"User", 'String'> 937 + readonly createdAt: Prisma.FieldRef<"User", 'DateTime'> 938 + readonly updatedAt: Prisma.FieldRef<"User", 'DateTime'> 939 + } 940 + 941 + 942 + // Custom InputTypes 943 + /** 944 + * User findUnique 945 + */ 946 + export type UserFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = { 947 + /** 948 + * Select specific fields to fetch from the User 949 + */ 950 + select?: Prisma.UserSelect<ExtArgs> | null 951 + /** 952 + * Omit specific fields from the User 953 + */ 954 + omit?: Prisma.UserOmit<ExtArgs> | null 955 + /** 956 + * Choose, which related nodes to fetch as well 957 + */ 958 + include?: Prisma.UserInclude<ExtArgs> | null 959 + /** 960 + * Filter, which User to fetch. 961 + */ 962 + where: Prisma.UserWhereUniqueInput 963 + } 964 + 965 + /** 966 + * User findUniqueOrThrow 967 + */ 968 + export type UserFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = { 969 + /** 970 + * Select specific fields to fetch from the User 971 + */ 972 + select?: Prisma.UserSelect<ExtArgs> | null 973 + /** 974 + * Omit specific fields from the User 975 + */ 976 + omit?: Prisma.UserOmit<ExtArgs> | null 977 + /** 978 + * Choose, which related nodes to fetch as well 979 + */ 980 + include?: Prisma.UserInclude<ExtArgs> | null 981 + /** 982 + * Filter, which User to fetch. 983 + */ 984 + where: Prisma.UserWhereUniqueInput 985 + } 986 + 987 + /** 988 + * User findFirst 989 + */ 990 + export type UserFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = { 991 + /** 992 + * Select specific fields to fetch from the User 993 + */ 994 + select?: Prisma.UserSelect<ExtArgs> | null 995 + /** 996 + * Omit specific fields from the User 997 + */ 998 + omit?: Prisma.UserOmit<ExtArgs> | null 999 + /** 1000 + * Choose, which related nodes to fetch as well 1001 + */ 1002 + include?: Prisma.UserInclude<ExtArgs> | null 1003 + /** 1004 + * Filter, which User to fetch. 1005 + */ 1006 + where?: Prisma.UserWhereInput 1007 + /** 1008 + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} 1009 + * 1010 + * Determine the order of Users to fetch. 1011 + */ 1012 + orderBy?: Prisma.UserOrderByWithRelationInput | Prisma.UserOrderByWithRelationInput[] 1013 + /** 1014 + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} 1015 + * 1016 + * Sets the position for searching for Users. 1017 + */ 1018 + cursor?: Prisma.UserWhereUniqueInput 1019 + /** 1020 + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} 1021 + * 1022 + * Take `±n` Users from the position of the cursor. 1023 + */ 1024 + take?: number 1025 + /** 1026 + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} 1027 + * 1028 + * Skip the first `n` Users. 1029 + */ 1030 + skip?: number 1031 + /** 1032 + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} 1033 + * 1034 + * Filter by unique combinations of Users. 1035 + */ 1036 + distinct?: Prisma.UserScalarFieldEnum | Prisma.UserScalarFieldEnum[] 1037 + } 1038 + 1039 + /** 1040 + * User findFirstOrThrow 1041 + */ 1042 + export type UserFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = { 1043 + /** 1044 + * Select specific fields to fetch from the User 1045 + */ 1046 + select?: Prisma.UserSelect<ExtArgs> | null 1047 + /** 1048 + * Omit specific fields from the User 1049 + */ 1050 + omit?: Prisma.UserOmit<ExtArgs> | null 1051 + /** 1052 + * Choose, which related nodes to fetch as well 1053 + */ 1054 + include?: Prisma.UserInclude<ExtArgs> | null 1055 + /** 1056 + * Filter, which User to fetch. 1057 + */ 1058 + where?: Prisma.UserWhereInput 1059 + /** 1060 + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} 1061 + * 1062 + * Determine the order of Users to fetch. 1063 + */ 1064 + orderBy?: Prisma.UserOrderByWithRelationInput | Prisma.UserOrderByWithRelationInput[] 1065 + /** 1066 + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} 1067 + * 1068 + * Sets the position for searching for Users. 1069 + */ 1070 + cursor?: Prisma.UserWhereUniqueInput 1071 + /** 1072 + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} 1073 + * 1074 + * Take `±n` Users from the position of the cursor. 1075 + */ 1076 + take?: number 1077 + /** 1078 + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} 1079 + * 1080 + * Skip the first `n` Users. 1081 + */ 1082 + skip?: number 1083 + /** 1084 + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} 1085 + * 1086 + * Filter by unique combinations of Users. 1087 + */ 1088 + distinct?: Prisma.UserScalarFieldEnum | Prisma.UserScalarFieldEnum[] 1089 + } 1090 + 1091 + /** 1092 + * User findMany 1093 + */ 1094 + export type UserFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = { 1095 + /** 1096 + * Select specific fields to fetch from the User 1097 + */ 1098 + select?: Prisma.UserSelect<ExtArgs> | null 1099 + /** 1100 + * Omit specific fields from the User 1101 + */ 1102 + omit?: Prisma.UserOmit<ExtArgs> | null 1103 + /** 1104 + * Choose, which related nodes to fetch as well 1105 + */ 1106 + include?: Prisma.UserInclude<ExtArgs> | null 1107 + /** 1108 + * Filter, which Users to fetch. 1109 + */ 1110 + where?: Prisma.UserWhereInput 1111 + /** 1112 + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} 1113 + * 1114 + * Determine the order of Users to fetch. 1115 + */ 1116 + orderBy?: Prisma.UserOrderByWithRelationInput | Prisma.UserOrderByWithRelationInput[] 1117 + /** 1118 + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} 1119 + * 1120 + * Sets the position for listing Users. 1121 + */ 1122 + cursor?: Prisma.UserWhereUniqueInput 1123 + /** 1124 + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} 1125 + * 1126 + * Take `±n` Users from the position of the cursor. 1127 + */ 1128 + take?: number 1129 + /** 1130 + * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} 1131 + * 1132 + * Skip the first `n` Users. 1133 + */ 1134 + skip?: number 1135 + distinct?: Prisma.UserScalarFieldEnum | Prisma.UserScalarFieldEnum[] 1136 + } 1137 + 1138 + /** 1139 + * User create 1140 + */ 1141 + export type UserCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = { 1142 + /** 1143 + * Select specific fields to fetch from the User 1144 + */ 1145 + select?: Prisma.UserSelect<ExtArgs> | null 1146 + /** 1147 + * Omit specific fields from the User 1148 + */ 1149 + omit?: Prisma.UserOmit<ExtArgs> | null 1150 + /** 1151 + * Choose, which related nodes to fetch as well 1152 + */ 1153 + include?: Prisma.UserInclude<ExtArgs> | null 1154 + /** 1155 + * The data needed to create a User. 1156 + */ 1157 + data: Prisma.XOR<Prisma.UserCreateInput, Prisma.UserUncheckedCreateInput> 1158 + } 1159 + 1160 + /** 1161 + * User createMany 1162 + */ 1163 + export type UserCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = { 1164 + /** 1165 + * The data used to create many Users. 1166 + */ 1167 + data: Prisma.UserCreateManyInput | Prisma.UserCreateManyInput[] 1168 + skipDuplicates?: boolean 1169 + } 1170 + 1171 + /** 1172 + * User createManyAndReturn 1173 + */ 1174 + export type UserCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = { 1175 + /** 1176 + * Select specific fields to fetch from the User 1177 + */ 1178 + select?: Prisma.UserSelectCreateManyAndReturn<ExtArgs> | null 1179 + /** 1180 + * Omit specific fields from the User 1181 + */ 1182 + omit?: Prisma.UserOmit<ExtArgs> | null 1183 + /** 1184 + * The data used to create many Users. 1185 + */ 1186 + data: Prisma.UserCreateManyInput | Prisma.UserCreateManyInput[] 1187 + skipDuplicates?: boolean 1188 + } 1189 + 1190 + /** 1191 + * User update 1192 + */ 1193 + export type UserUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = { 1194 + /** 1195 + * Select specific fields to fetch from the User 1196 + */ 1197 + select?: Prisma.UserSelect<ExtArgs> | null 1198 + /** 1199 + * Omit specific fields from the User 1200 + */ 1201 + omit?: Prisma.UserOmit<ExtArgs> | null 1202 + /** 1203 + * Choose, which related nodes to fetch as well 1204 + */ 1205 + include?: Prisma.UserInclude<ExtArgs> | null 1206 + /** 1207 + * The data needed to update a User. 1208 + */ 1209 + data: Prisma.XOR<Prisma.UserUpdateInput, Prisma.UserUncheckedUpdateInput> 1210 + /** 1211 + * Choose, which User to update. 1212 + */ 1213 + where: Prisma.UserWhereUniqueInput 1214 + } 1215 + 1216 + /** 1217 + * User updateMany 1218 + */ 1219 + export type UserUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = { 1220 + /** 1221 + * The data used to update Users. 1222 + */ 1223 + data: Prisma.XOR<Prisma.UserUpdateManyMutationInput, Prisma.UserUncheckedUpdateManyInput> 1224 + /** 1225 + * Filter which Users to update 1226 + */ 1227 + where?: Prisma.UserWhereInput 1228 + /** 1229 + * Limit how many Users to update. 1230 + */ 1231 + limit?: number 1232 + } 1233 + 1234 + /** 1235 + * User updateManyAndReturn 1236 + */ 1237 + export type UserUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = { 1238 + /** 1239 + * Select specific fields to fetch from the User 1240 + */ 1241 + select?: Prisma.UserSelectUpdateManyAndReturn<ExtArgs> | null 1242 + /** 1243 + * Omit specific fields from the User 1244 + */ 1245 + omit?: Prisma.UserOmit<ExtArgs> | null 1246 + /** 1247 + * The data used to update Users. 1248 + */ 1249 + data: Prisma.XOR<Prisma.UserUpdateManyMutationInput, Prisma.UserUncheckedUpdateManyInput> 1250 + /** 1251 + * Filter which Users to update 1252 + */ 1253 + where?: Prisma.UserWhereInput 1254 + /** 1255 + * Limit how many Users to update. 1256 + */ 1257 + limit?: number 1258 + } 1259 + 1260 + /** 1261 + * User upsert 1262 + */ 1263 + export type UserUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = { 1264 + /** 1265 + * Select specific fields to fetch from the User 1266 + */ 1267 + select?: Prisma.UserSelect<ExtArgs> | null 1268 + /** 1269 + * Omit specific fields from the User 1270 + */ 1271 + omit?: Prisma.UserOmit<ExtArgs> | null 1272 + /** 1273 + * Choose, which related nodes to fetch as well 1274 + */ 1275 + include?: Prisma.UserInclude<ExtArgs> | null 1276 + /** 1277 + * The filter to search for the User to update in case it exists. 1278 + */ 1279 + where: Prisma.UserWhereUniqueInput 1280 + /** 1281 + * In case the User found by the `where` argument doesn't exist, create a new User with this data. 1282 + */ 1283 + create: Prisma.XOR<Prisma.UserCreateInput, Prisma.UserUncheckedCreateInput> 1284 + /** 1285 + * In case the User was found with the provided `where` argument, update it with this data. 1286 + */ 1287 + update: Prisma.XOR<Prisma.UserUpdateInput, Prisma.UserUncheckedUpdateInput> 1288 + } 1289 + 1290 + /** 1291 + * User delete 1292 + */ 1293 + export type UserDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = { 1294 + /** 1295 + * Select specific fields to fetch from the User 1296 + */ 1297 + select?: Prisma.UserSelect<ExtArgs> | null 1298 + /** 1299 + * Omit specific fields from the User 1300 + */ 1301 + omit?: Prisma.UserOmit<ExtArgs> | null 1302 + /** 1303 + * Choose, which related nodes to fetch as well 1304 + */ 1305 + include?: Prisma.UserInclude<ExtArgs> | null 1306 + /** 1307 + * Filter which User to delete. 1308 + */ 1309 + where: Prisma.UserWhereUniqueInput 1310 + } 1311 + 1312 + /** 1313 + * User deleteMany 1314 + */ 1315 + export type UserDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = { 1316 + /** 1317 + * Filter which Users to delete 1318 + */ 1319 + where?: Prisma.UserWhereInput 1320 + /** 1321 + * Limit how many Users to delete. 1322 + */ 1323 + limit?: number 1324 + } 1325 + 1326 + /** 1327 + * User.trackedMovies 1328 + */ 1329 + export type User$trackedMoviesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = { 1330 + /** 1331 + * Select specific fields to fetch from the TrackedMovie 1332 + */ 1333 + select?: Prisma.TrackedMovieSelect<ExtArgs> | null 1334 + /** 1335 + * Omit specific fields from the TrackedMovie 1336 + */ 1337 + omit?: Prisma.TrackedMovieOmit<ExtArgs> | null 1338 + /** 1339 + * Choose, which related nodes to fetch as well 1340 + */ 1341 + include?: Prisma.TrackedMovieInclude<ExtArgs> | null 1342 + where?: Prisma.TrackedMovieWhereInput 1343 + orderBy?: Prisma.TrackedMovieOrderByWithRelationInput | Prisma.TrackedMovieOrderByWithRelationInput[] 1344 + cursor?: Prisma.TrackedMovieWhereUniqueInput 1345 + take?: number 1346 + skip?: number 1347 + distinct?: Prisma.TrackedMovieScalarFieldEnum | Prisma.TrackedMovieScalarFieldEnum[] 1348 + } 1349 + 1350 + /** 1351 + * User without action 1352 + */ 1353 + export type UserDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = { 1354 + /** 1355 + * Select specific fields to fetch from the User 1356 + */ 1357 + select?: Prisma.UserSelect<ExtArgs> | null 1358 + /** 1359 + * Omit specific fields from the User 1360 + */ 1361 + omit?: Prisma.UserOmit<ExtArgs> | null 1362 + /** 1363 + * Choose, which related nodes to fetch as well 1364 + */ 1365 + include?: Prisma.UserInclude<ExtArgs> | null 1366 + }
+31 -2
backend/src/main.ts
··· 1 1 import { NestFactory } from '@nestjs/core'; 2 + import { ValidationPipe } from '@nestjs/common'; 3 + import { SwaggerModule, DocumentBuilder } from '@nestjs/swagger'; 2 4 import { AppModule } from './app.module'; 3 5 4 6 async function bootstrap() { 5 7 const app = await NestFactory.create(AppModule); 6 - await app.listen(process.env.PORT ?? 3000); 8 + 9 + app.enableCors({ 10 + origin: [ 11 + 'http://localhost:3000', 12 + 'http://localhost:8081', 13 + ], 14 + }); 15 + 16 + app.useGlobalPipes(new ValidationPipe({ 17 + whitelist: true, 18 + transform: true, 19 + })); 20 + 21 + const config = new DocumentBuilder() 22 + .setTitle('OpnShelf API') 23 + .setDescription('Personal media tracker powered by AT Protocol') 24 + .setVersion('1.0') 25 + .addBearerAuth() 26 + .build(); 27 + 28 + const document = SwaggerModule.createDocument(app, config); 29 + SwaggerModule.setup('api', app, document); 30 + 31 + const port = process.env.PORT || 3001; 32 + await app.listen(port); 33 + 34 + console.log(`🚀 API running on http://localhost:${port}`); 35 + console.log(`📚 API docs at http://localhost:${port}/api`); 7 36 } 8 - bootstrap(); 37 + bootstrap();
+7
backend/src/prisma/prisma.module.ts
··· 1 + import { Module } from '@nestjs/common'; 2 + import { PrismaService } from './prisma.service'; 3 + 4 + @Module({ 5 + providers: [PrismaService] 6 + }) 7 + export class PrismaModule {}
+18
backend/src/prisma/prisma.service.ts
··· 1 + import { Injectable, OnModuleInit } from '@nestjs/common'; 2 + import { PrismaClient } from '../generated/client'; 3 + import { PrismaPg } from '@prisma/adapter-pg' 4 + 5 + @Injectable() 6 + export class PrismaService extends PrismaClient implements OnModuleInit { 7 + constructor() { 8 + super({ 9 + adapter: new PrismaPg({ 10 + connectionString: process.env.DATABASE_URL, 11 + }), 12 + }); 13 + } 14 + 15 + async onModuleInit() { 16 + await this.$connect(); 17 + } 18 + }
+2 -2
package.json
··· 8 8 "dev:backend": "pnpm --filter backend start:dev", 9 9 "build": "turbo run build", 10 10 "generate:api": "openapi-typescript http://localhost:3001/api-json -o packages/api/src/generated/schema.ts", 11 - "prisma:generate": "pnpm --filter backend prisma generate", 12 - "prisma:migrate": "pnpm --filter backend prisma migrate dev" 11 + "prisma:generate": "pnpm --filter backend exec prisma generate", 12 + "prisma:migrate": "pnpm --filter backend exec prisma migrate dev" 13 13 }, 14 14 "workspaces": [ 15 15 "apps/*",
+1 -1
packages/api/package.json
··· 1 1 { 2 - "name": "api", 2 + "name": "@opnshelf/api", 3 3 "version": "1.0.0", 4 4 "description": "", 5 5 "main": "index.js",
+1 -1
packages/types/package.json
··· 1 1 { 2 - "name": "types", 2 + "name": "@opnshelf/types", 3 3 "version": "1.0.0", 4 4 "description": "", 5 5 "main": "index.js",
+201 -22
pnpm-lock.yaml
··· 10 10 11 11 apps/mobile: 12 12 dependencies: 13 + '@opnshelf/api': 14 + specifier: workspace:* 15 + version: link:../../packages/api 16 + '@opnshelf/types': 17 + specifier: workspace:* 18 + version: link:../../packages/types 13 19 expo: 14 20 specifier: ~54.0.32 15 21 version: 54.0.32(@babel/core@7.28.6)(react-native@0.81.5(@babel/core@7.28.6)(@types/react@19.1.17)(react@19.1.0))(react@19.1.0) ··· 32 38 33 39 apps/web: 34 40 dependencies: 41 + '@opnshelf/api': 42 + specifier: workspace:* 43 + version: link:../../packages/api 44 + '@opnshelf/types': 45 + specifier: workspace:* 46 + version: link:../../packages/types 35 47 '@t3-oss/env-core': 36 48 specifier: ^0.13.8 37 49 version: 0.13.10(typescript@5.9.3)(valibot@1.2.0(typescript@5.9.3))(zod@4.3.6) ··· 146 158 version: 0.1.39 147 159 '@nestjs/common': 148 160 specifier: ^11.0.1 149 - version: 11.1.12(reflect-metadata@0.2.2)(rxjs@7.8.2) 161 + version: 11.1.12(class-transformer@0.5.1)(class-validator@0.14.3)(reflect-metadata@0.2.2)(rxjs@7.8.2) 150 162 '@nestjs/core': 151 163 specifier: ^11.0.1 152 - version: 11.1.12(@nestjs/common@11.1.12(reflect-metadata@0.2.2)(rxjs@7.8.2))(@nestjs/platform-express@11.1.12)(reflect-metadata@0.2.2)(rxjs@7.8.2) 164 + version: 11.1.12(@nestjs/common@11.1.12(class-transformer@0.5.1)(class-validator@0.14.3)(reflect-metadata@0.2.2)(rxjs@7.8.2))(@nestjs/platform-express@11.1.12)(reflect-metadata@0.2.2)(rxjs@7.8.2) 153 165 '@nestjs/platform-express': 154 166 specifier: ^11.0.1 155 - version: 11.1.12(@nestjs/common@11.1.12(reflect-metadata@0.2.2)(rxjs@7.8.2))(@nestjs/core@11.1.12) 167 + version: 11.1.12(@nestjs/common@11.1.12(class-transformer@0.5.1)(class-validator@0.14.3)(reflect-metadata@0.2.2)(rxjs@7.8.2))(@nestjs/core@11.1.12) 156 168 '@nestjs/swagger': 157 169 specifier: ^11.2.5 158 - version: 11.2.5(@nestjs/common@11.1.12(reflect-metadata@0.2.2)(rxjs@7.8.2))(@nestjs/core@11.1.12)(reflect-metadata@0.2.2) 170 + version: 11.2.5(@nestjs/common@11.1.12(class-transformer@0.5.1)(class-validator@0.14.3)(reflect-metadata@0.2.2)(rxjs@7.8.2))(@nestjs/core@11.1.12)(class-transformer@0.5.1)(class-validator@0.14.3)(reflect-metadata@0.2.2) 171 + '@prisma/adapter-pg': 172 + specifier: ^7.3.0 173 + version: 7.3.0 159 174 '@prisma/client': 160 175 specifier: ^7.3.0 161 176 version: 7.3.0(prisma@7.3.0(@types/react@19.2.10)(react-dom@19.2.4(react@19.2.4))(react@19.2.4)(typescript@5.9.3))(typescript@5.9.3) 177 + class-transformer: 178 + specifier: ^0.5.1 179 + version: 0.5.1 180 + class-validator: 181 + specifier: ^0.14.3 182 + version: 0.14.3 162 183 reflect-metadata: 163 184 specifier: ^0.2.2 164 185 version: 0.2.2 ··· 183 204 version: 11.0.9(chokidar@4.0.3)(typescript@5.9.3) 184 205 '@nestjs/testing': 185 206 specifier: ^11.0.1 186 - version: 11.1.12(@nestjs/common@11.1.12(reflect-metadata@0.2.2)(rxjs@7.8.2))(@nestjs/core@11.1.12)(@nestjs/platform-express@11.1.12) 207 + version: 11.1.12(@nestjs/common@11.1.12(class-transformer@0.5.1)(class-validator@0.14.3)(reflect-metadata@0.2.2)(rxjs@7.8.2))(@nestjs/core@11.1.12)(@nestjs/platform-express@11.1.12) 187 208 '@types/express': 188 209 specifier: ^5.0.0 189 210 version: 5.0.6 ··· 2048 2069 resolution: {integrity: sha512-QNqXyfVS2wm9hweSYD2O7F0G06uurj9kZ96TRQE5Y9hU7+tgdZwIkbAKc5Ocy1HxEY2kuDQa6cQ1WRs/O5LFKA==} 2049 2070 engines: {node: ^12.20.0 || ^14.18.0 || >=16.0.0} 2050 2071 2072 + '@prisma/adapter-pg@7.3.0': 2073 + resolution: {integrity: sha512-iuYQMbIPO6i9O45Fv8TB7vWu00BXhCaNAShenqF7gLExGDbnGp5BfFB4yz1K59zQ59jF6tQ9YHrg0P6/J3OoLg==} 2074 + 2051 2075 '@prisma/client-runtime-utils@7.3.0': 2052 2076 resolution: {integrity: sha512-dG/ceD9c+tnXATPk8G+USxxYM9E6UdMTnQeQ+1SZUDxTz7SgQcfxEqafqIQHcjdlcNK/pvmmLfSwAs3s2gYwUw==} 2053 2077 ··· 2074 2098 2075 2099 '@prisma/dev@0.20.0': 2076 2100 resolution: {integrity: sha512-ovlBYwWor0OzG+yH4J3Ot+AneD818BttLA+Ii7wjbcLHUrnC4tbUPVGyNd3c/+71KETPKZfjhkTSpdS15dmXNQ==} 2101 + 2102 + '@prisma/driver-adapter-utils@7.3.0': 2103 + resolution: {integrity: sha512-Wdlezh1ck0Rq2dDINkfSkwbR53q53//Eo1vVqVLwtiZ0I6fuWDGNPxwq+SNAIHnsU+FD/m3aIJKevH3vF13U3w==} 2077 2104 2078 2105 '@prisma/engines-version@7.3.0-16.9d6ad21cbbceab97458517b147a6a09ff43aa735': 2079 2106 resolution: {integrity: sha512-IH2va2ouUHihyiTTRW889LjKAl1CusZOvFfZxCDNpjSENt7g2ndFsK0vdIw/72v7+jCN6YgkHmdAP/BI7SDgyg==} ··· 2827 2854 '@types/supertest@6.0.3': 2828 2855 resolution: {integrity: sha512-8WzXq62EXFhJ7QsH3Ocb/iKQ/Ty9ZVWnVzoTKc9tyyFRRF3a74Tk2+TLFgaFFw364Ere+npzHKEJ6ga2LzIL7w==} 2829 2856 2857 + '@types/validator@13.15.10': 2858 + resolution: {integrity: sha512-T8L6i7wCuyoK8A/ZeLYt1+q0ty3Zb9+qbSSvrIVitzT3YjZqkTZ40IbRsPanlB4h1QB3JVL1SYCdR6ngtFYcuA==} 2859 + 2830 2860 '@types/yargs-parser@21.0.3': 2831 2861 resolution: {integrity: sha512-I4q9QU9MQv4oEOz4tAHJtNz1cwuLxn2F3xcc2iV5WdqLPpUnj30aUuxt1mAxYTG+oe8CZMV/+6rU4S4gRDzqtQ==} 2832 2862 ··· 3565 3595 cjs-module-lexer@2.2.0: 3566 3596 resolution: {integrity: sha512-4bHTS2YuzUvtoLjdy+98ykbNB5jS0+07EvFNXerqZQJ89F7DI6ET7OQo/HJuW6K0aVsKA9hj9/RVb2kQVOrPDQ==} 3567 3597 3598 + class-transformer@0.5.1: 3599 + resolution: {integrity: sha512-SQa1Ws6hUbfC98vKGxZH3KFY0Y1lm5Zm0SY8XX9zbK7FJCyVEac3ATW0RIpwzW+oOfmHE5PMPufDG9hCfoEOMw==} 3600 + 3601 + class-validator@0.14.3: 3602 + resolution: {integrity: sha512-rXXekcjofVN1LTOSw+u4u9WXVEUvNBVjORW154q/IdmYWy1nMbOU9aNtZB0t8m+FJQ9q91jlr2f9CwwUFdFMRA==} 3603 + 3568 3604 class-variance-authority@0.7.1: 3569 3605 resolution: {integrity: sha512-Ka+9Trutv7G8M6WT6SeiRWz792K5qEqIGEGzXKhAE6xOWAY6pPH8U+9IY3oCMv6kqTmLsv7Xh/2w2RigkePMsg==} 3570 3606 ··· 4975 5011 resolution: {integrity: sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==} 4976 5012 engines: {node: '>= 0.8.0'} 4977 5013 5014 + libphonenumber-js@1.12.35: 5015 + resolution: {integrity: sha512-T/Cz6iLcsZdb5jDncDcUNhSAJ0VlSC9TnsqtBNdpkaAmy24/R1RhErtNWVWBrcUZKs9hSgaVsBkc7HxYnazIfw==} 5016 + 4978 5017 lighthouse-logger@1.4.2: 4979 5018 resolution: {integrity: sha512-gPWxznF6TKmUHrOQjlVo2UbaL2EJ71mb2CCeRs/2qBpi4L/g4LUVc9+3lKQ6DTUZwJswfM7ainGrLO1+fOqa2g==} 4980 5019 ··· 5709 5748 perfect-debounce@1.0.0: 5710 5749 resolution: {integrity: sha512-xCy9V055GLEqoFaHoC1SoLIaLmWctgCUaBaWxDZ7/Zx4CTyX7cJQLJOok/orfjZAh9kEYpjJa4d0KcJmCbctZA==} 5711 5750 5751 + pg-cloudflare@1.3.0: 5752 + resolution: {integrity: sha512-6lswVVSztmHiRtD6I8hw4qP/nDm1EJbKMRhf3HCYaqud7frGysPv7FYJ5noZQdhQtN2xJnimfMtvQq21pdbzyQ==} 5753 + 5754 + pg-connection-string@2.10.1: 5755 + resolution: {integrity: sha512-iNzslsoeSH2/gmDDKiyMqF64DATUCWj3YJ0wP14kqcsf2TUklwimd+66yYojKwZCA7h2yRNLGug71hCBA2a4sw==} 5756 + 5757 + pg-int8@1.0.1: 5758 + resolution: {integrity: sha512-WCtabS6t3c8SkpDBUlb1kjOs7l66xsGdKpIPZsg4wR+B3+u9UAum2odSsF9tnvxg80h4ZxLWMy4pRjOsFIqQpw==} 5759 + engines: {node: '>=4.0.0'} 5760 + 5761 + pg-pool@3.11.0: 5762 + resolution: {integrity: sha512-MJYfvHwtGp870aeusDh+hg9apvOe2zmpZJpyt+BMtzUWlVqbhFmMK6bOBXLBUPd7iRtIF9fZplDc7KrPN3PN7w==} 5763 + peerDependencies: 5764 + pg: '>=8.0' 5765 + 5766 + pg-protocol@1.11.0: 5767 + resolution: {integrity: sha512-pfsxk2M9M3BuGgDOfuy37VNRRX3jmKgMjcvAcWqNDpZSf4cUmv8HSOl5ViRQFsfARFn0KuUQTgLxVMbNq5NW3g==} 5768 + 5769 + pg-types@2.2.0: 5770 + resolution: {integrity: sha512-qTAAlrEsl8s4OiEQY69wDvcMIdQN6wdz5ojQiOy6YRMuynxenON0O5oCpJI6lshc6scgAY8qvJ2On/p+CXY0GA==} 5771 + engines: {node: '>=4'} 5772 + 5773 + pg@8.17.2: 5774 + resolution: {integrity: sha512-vjbKdiBJRqzcYw1fNU5KuHyYvdJ1qpcQg1CeBrHFqV1pWgHeVR6j/+kX0E1AAXfyuLUGY1ICrN2ELKA/z2HWzw==} 5775 + engines: {node: '>= 16.0.0'} 5776 + peerDependencies: 5777 + pg-native: '>=3.0.1' 5778 + peerDependenciesMeta: 5779 + pg-native: 5780 + optional: true 5781 + 5782 + pgpass@1.0.5: 5783 + resolution: {integrity: sha512-FdW9r/jQZhSeohs1Z3sI1yxFQNFvMcnmfuj4WBMUTxOrAyLMaTcE1aAMBiTlbMNaXvBCQuVi0R7hd8udDSP7ug==} 5784 + 5712 5785 picocolors@1.1.1: 5713 5786 resolution: {integrity: sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==} 5714 5787 ··· 5768 5841 postcss@8.5.6: 5769 5842 resolution: {integrity: sha512-3Ybi1tAuwAP9s0r1UQ2J4n5Y0G05bJkpUIO0/bI9MhwmD70S5aTWbXGBwxHrelT+XM1k6dM0pk+SwNkpTRN7Pg==} 5770 5843 engines: {node: ^10 || ^12 || >=14} 5844 + 5845 + postgres-array@2.0.0: 5846 + resolution: {integrity: sha512-VpZrUqU5A69eQyW2c5CA1jtLecCsN2U/bD6VilrFDWq5+5UIEVO7nazS3TEcHf1zuPYO/sqGvUvW62g86RXZuA==} 5847 + engines: {node: '>=4'} 5848 + 5849 + postgres-array@3.0.4: 5850 + resolution: {integrity: sha512-nAUSGfSDGOaOAEGwqsRY27GPOea7CNipJPOA7lPbdEpx5Kg3qzdP0AaWC5MlhTWV9s4hFX39nomVZ+C4tnGOJQ==} 5851 + engines: {node: '>=12'} 5852 + 5853 + postgres-bytea@1.0.1: 5854 + resolution: {integrity: sha512-5+5HqXnsZPE65IJZSMkZtURARZelel2oXUEO8rH83VS/hxH5vv1uHquPg5wZs8yMAfdv971IU+kcPUczi7NVBQ==} 5855 + engines: {node: '>=0.10.0'} 5856 + 5857 + postgres-date@1.0.7: 5858 + resolution: {integrity: sha512-suDmjLVQg78nMK2UZ454hAG+OAW+HQPZ6n++TNDUX+L0+uUlLywnoxJKDou51Zm+zTCjrCl0Nq6J9C5hP9vK/Q==} 5859 + engines: {node: '>=0.10.0'} 5860 + 5861 + postgres-interval@1.2.0: 5862 + resolution: {integrity: sha512-9ZhXKM/rw350N1ovuWHbGxnGh/SNJ4cnxHiM0rxE4VN41wsg8P8zWn9hv/buK00RP4WvlOyr/RBDiptyxVbkZQ==} 5863 + engines: {node: '>=0.10.0'} 5771 5864 5772 5865 postgres@3.4.7: 5773 5866 resolution: {integrity: sha512-Jtc2612XINuBjIl/QTWsV5UvE8UHuNblcO3vVADSrKsrc6RqGX6lOW1cEo3CM2v0XG4Nat8nI+YM7/f26VxXLw==} ··· 6841 6934 validate-npm-package-name@5.0.1: 6842 6935 resolution: {integrity: sha512-OljLrQ9SQdOUqTaQxqL5dEfZWrXExyyWsozYlAWFawPVNuD83igl7uJD2RTkNMbniIYgt8l81eCJGIdQF7avLQ==} 6843 6936 engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0} 6937 + 6938 + validator@13.15.26: 6939 + resolution: {integrity: sha512-spH26xU080ydGggxRyR1Yhcbgx+j3y5jbNXk/8L+iRvdIEQ4uTRH2Sgf2dokud6Q4oAtsbNvJ1Ft+9xmm6IZcA==} 6940 + engines: {node: '>= 0.10'} 6844 6941 6845 6942 varint@6.0.0: 6846 6943 resolution: {integrity: sha512-cXEIW6cfr15lFv563k4GuVuW/fiwjknytD37jIOLSdSWuOI6WnO/oKwmP2FQTU2l01LP8/M5TSAJpzUaGe3uWg==} ··· 9006 9103 - uglify-js 9007 9104 - webpack-cli 9008 9105 9009 - '@nestjs/common@11.1.12(reflect-metadata@0.2.2)(rxjs@7.8.2)': 9106 + '@nestjs/common@11.1.12(class-transformer@0.5.1)(class-validator@0.14.3)(reflect-metadata@0.2.2)(rxjs@7.8.2)': 9010 9107 dependencies: 9011 9108 file-type: 21.3.0 9012 9109 iterare: 1.2.1 ··· 9015 9112 rxjs: 7.8.2 9016 9113 tslib: 2.8.1 9017 9114 uid: 2.0.2 9115 + optionalDependencies: 9116 + class-transformer: 0.5.1 9117 + class-validator: 0.14.3 9018 9118 transitivePeerDependencies: 9019 9119 - supports-color 9020 9120 9021 - '@nestjs/core@11.1.12(@nestjs/common@11.1.12(reflect-metadata@0.2.2)(rxjs@7.8.2))(@nestjs/platform-express@11.1.12)(reflect-metadata@0.2.2)(rxjs@7.8.2)': 9121 + '@nestjs/core@11.1.12(@nestjs/common@11.1.12(class-transformer@0.5.1)(class-validator@0.14.3)(reflect-metadata@0.2.2)(rxjs@7.8.2))(@nestjs/platform-express@11.1.12)(reflect-metadata@0.2.2)(rxjs@7.8.2)': 9022 9122 dependencies: 9023 - '@nestjs/common': 11.1.12(reflect-metadata@0.2.2)(rxjs@7.8.2) 9123 + '@nestjs/common': 11.1.12(class-transformer@0.5.1)(class-validator@0.14.3)(reflect-metadata@0.2.2)(rxjs@7.8.2) 9024 9124 '@nuxt/opencollective': 0.4.1 9025 9125 fast-safe-stringify: 2.1.1 9026 9126 iterare: 1.2.1 ··· 9030 9130 tslib: 2.8.1 9031 9131 uid: 2.0.2 9032 9132 optionalDependencies: 9033 - '@nestjs/platform-express': 11.1.12(@nestjs/common@11.1.12(reflect-metadata@0.2.2)(rxjs@7.8.2))(@nestjs/core@11.1.12) 9133 + '@nestjs/platform-express': 11.1.12(@nestjs/common@11.1.12(class-transformer@0.5.1)(class-validator@0.14.3)(reflect-metadata@0.2.2)(rxjs@7.8.2))(@nestjs/core@11.1.12) 9034 9134 9035 - '@nestjs/mapped-types@2.1.0(@nestjs/common@11.1.12(reflect-metadata@0.2.2)(rxjs@7.8.2))(reflect-metadata@0.2.2)': 9135 + '@nestjs/mapped-types@2.1.0(@nestjs/common@11.1.12(class-transformer@0.5.1)(class-validator@0.14.3)(reflect-metadata@0.2.2)(rxjs@7.8.2))(class-transformer@0.5.1)(class-validator@0.14.3)(reflect-metadata@0.2.2)': 9036 9136 dependencies: 9037 - '@nestjs/common': 11.1.12(reflect-metadata@0.2.2)(rxjs@7.8.2) 9137 + '@nestjs/common': 11.1.12(class-transformer@0.5.1)(class-validator@0.14.3)(reflect-metadata@0.2.2)(rxjs@7.8.2) 9038 9138 reflect-metadata: 0.2.2 9139 + optionalDependencies: 9140 + class-transformer: 0.5.1 9141 + class-validator: 0.14.3 9039 9142 9040 - '@nestjs/platform-express@11.1.12(@nestjs/common@11.1.12(reflect-metadata@0.2.2)(rxjs@7.8.2))(@nestjs/core@11.1.12)': 9143 + '@nestjs/platform-express@11.1.12(@nestjs/common@11.1.12(class-transformer@0.5.1)(class-validator@0.14.3)(reflect-metadata@0.2.2)(rxjs@7.8.2))(@nestjs/core@11.1.12)': 9041 9144 dependencies: 9042 - '@nestjs/common': 11.1.12(reflect-metadata@0.2.2)(rxjs@7.8.2) 9043 - '@nestjs/core': 11.1.12(@nestjs/common@11.1.12(reflect-metadata@0.2.2)(rxjs@7.8.2))(@nestjs/platform-express@11.1.12)(reflect-metadata@0.2.2)(rxjs@7.8.2) 9145 + '@nestjs/common': 11.1.12(class-transformer@0.5.1)(class-validator@0.14.3)(reflect-metadata@0.2.2)(rxjs@7.8.2) 9146 + '@nestjs/core': 11.1.12(@nestjs/common@11.1.12(class-transformer@0.5.1)(class-validator@0.14.3)(reflect-metadata@0.2.2)(rxjs@7.8.2))(@nestjs/platform-express@11.1.12)(reflect-metadata@0.2.2)(rxjs@7.8.2) 9044 9147 cors: 2.8.5 9045 9148 express: 5.2.1 9046 9149 multer: 2.0.2 ··· 9060 9163 transitivePeerDependencies: 9061 9164 - chokidar 9062 9165 9063 - '@nestjs/swagger@11.2.5(@nestjs/common@11.1.12(reflect-metadata@0.2.2)(rxjs@7.8.2))(@nestjs/core@11.1.12)(reflect-metadata@0.2.2)': 9166 + '@nestjs/swagger@11.2.5(@nestjs/common@11.1.12(class-transformer@0.5.1)(class-validator@0.14.3)(reflect-metadata@0.2.2)(rxjs@7.8.2))(@nestjs/core@11.1.12)(class-transformer@0.5.1)(class-validator@0.14.3)(reflect-metadata@0.2.2)': 9064 9167 dependencies: 9065 9168 '@microsoft/tsdoc': 0.16.0 9066 - '@nestjs/common': 11.1.12(reflect-metadata@0.2.2)(rxjs@7.8.2) 9067 - '@nestjs/core': 11.1.12(@nestjs/common@11.1.12(reflect-metadata@0.2.2)(rxjs@7.8.2))(@nestjs/platform-express@11.1.12)(reflect-metadata@0.2.2)(rxjs@7.8.2) 9068 - '@nestjs/mapped-types': 2.1.0(@nestjs/common@11.1.12(reflect-metadata@0.2.2)(rxjs@7.8.2))(reflect-metadata@0.2.2) 9169 + '@nestjs/common': 11.1.12(class-transformer@0.5.1)(class-validator@0.14.3)(reflect-metadata@0.2.2)(rxjs@7.8.2) 9170 + '@nestjs/core': 11.1.12(@nestjs/common@11.1.12(class-transformer@0.5.1)(class-validator@0.14.3)(reflect-metadata@0.2.2)(rxjs@7.8.2))(@nestjs/platform-express@11.1.12)(reflect-metadata@0.2.2)(rxjs@7.8.2) 9171 + '@nestjs/mapped-types': 2.1.0(@nestjs/common@11.1.12(class-transformer@0.5.1)(class-validator@0.14.3)(reflect-metadata@0.2.2)(rxjs@7.8.2))(class-transformer@0.5.1)(class-validator@0.14.3)(reflect-metadata@0.2.2) 9069 9172 js-yaml: 4.1.1 9070 9173 lodash: 4.17.21 9071 9174 path-to-regexp: 8.3.0 9072 9175 reflect-metadata: 0.2.2 9073 9176 swagger-ui-dist: 5.31.0 9177 + optionalDependencies: 9178 + class-transformer: 0.5.1 9179 + class-validator: 0.14.3 9074 9180 9075 - '@nestjs/testing@11.1.12(@nestjs/common@11.1.12(reflect-metadata@0.2.2)(rxjs@7.8.2))(@nestjs/core@11.1.12)(@nestjs/platform-express@11.1.12)': 9181 + '@nestjs/testing@11.1.12(@nestjs/common@11.1.12(class-transformer@0.5.1)(class-validator@0.14.3)(reflect-metadata@0.2.2)(rxjs@7.8.2))(@nestjs/core@11.1.12)(@nestjs/platform-express@11.1.12)': 9076 9182 dependencies: 9077 - '@nestjs/common': 11.1.12(reflect-metadata@0.2.2)(rxjs@7.8.2) 9078 - '@nestjs/core': 11.1.12(@nestjs/common@11.1.12(reflect-metadata@0.2.2)(rxjs@7.8.2))(@nestjs/platform-express@11.1.12)(reflect-metadata@0.2.2)(rxjs@7.8.2) 9183 + '@nestjs/common': 11.1.12(class-transformer@0.5.1)(class-validator@0.14.3)(reflect-metadata@0.2.2)(rxjs@7.8.2) 9184 + '@nestjs/core': 11.1.12(@nestjs/common@11.1.12(class-transformer@0.5.1)(class-validator@0.14.3)(reflect-metadata@0.2.2)(rxjs@7.8.2))(@nestjs/platform-express@11.1.12)(reflect-metadata@0.2.2)(rxjs@7.8.2) 9079 9185 tslib: 2.8.1 9080 9186 optionalDependencies: 9081 - '@nestjs/platform-express': 11.1.12(@nestjs/common@11.1.12(reflect-metadata@0.2.2)(rxjs@7.8.2))(@nestjs/core@11.1.12) 9187 + '@nestjs/platform-express': 11.1.12(@nestjs/common@11.1.12(class-transformer@0.5.1)(class-validator@0.14.3)(reflect-metadata@0.2.2)(rxjs@7.8.2))(@nestjs/core@11.1.12) 9082 9188 9083 9189 '@noble/curves@1.9.7': 9084 9190 dependencies: ··· 9240 9346 9241 9347 '@pkgr/core@0.2.9': {} 9242 9348 9349 + '@prisma/adapter-pg@7.3.0': 9350 + dependencies: 9351 + '@prisma/driver-adapter-utils': 7.3.0 9352 + pg: 8.17.2 9353 + postgres-array: 3.0.4 9354 + transitivePeerDependencies: 9355 + - pg-native 9356 + 9243 9357 '@prisma/client-runtime-utils@7.3.0': {} 9244 9358 9245 9359 '@prisma/client@7.3.0(prisma@7.3.0(@types/react@19.2.10)(react-dom@19.2.4(react@19.2.4))(react@19.2.4)(typescript@5.9.3))(typescript@5.9.3)': ··· 9284 9398 transitivePeerDependencies: 9285 9399 - typescript 9286 9400 9401 + '@prisma/driver-adapter-utils@7.3.0': 9402 + dependencies: 9403 + '@prisma/debug': 7.3.0 9404 + 9287 9405 '@prisma/engines-version@7.3.0-16.9d6ad21cbbceab97458517b147a6a09ff43aa735': {} 9288 9406 9289 9407 '@prisma/engines@7.3.0': ··· 10147 10265 dependencies: 10148 10266 '@types/methods': 1.1.4 10149 10267 '@types/superagent': 8.1.9 10268 + 10269 + '@types/validator@13.15.10': {} 10150 10270 10151 10271 '@types/yargs-parser@21.0.3': {} 10152 10272 ··· 11025 11145 11026 11146 cjs-module-lexer@2.2.0: {} 11027 11147 11148 + class-transformer@0.5.1: {} 11149 + 11150 + class-validator@0.14.3: 11151 + dependencies: 11152 + '@types/validator': 13.15.10 11153 + libphonenumber-js: 1.12.35 11154 + validator: 13.15.26 11155 + 11028 11156 class-variance-authority@0.7.1: 11029 11157 dependencies: 11030 11158 clsx: 2.1.1 ··· 12696 12824 prelude-ls: 1.2.1 12697 12825 type-check: 0.4.0 12698 12826 12827 + libphonenumber-js@1.12.35: {} 12828 + 12699 12829 lighthouse-logger@1.4.2: 12700 12830 dependencies: 12701 12831 debug: 2.6.9 ··· 13517 13647 13518 13648 perfect-debounce@1.0.0: {} 13519 13649 13650 + pg-cloudflare@1.3.0: 13651 + optional: true 13652 + 13653 + pg-connection-string@2.10.1: {} 13654 + 13655 + pg-int8@1.0.1: {} 13656 + 13657 + pg-pool@3.11.0(pg@8.17.2): 13658 + dependencies: 13659 + pg: 8.17.2 13660 + 13661 + pg-protocol@1.11.0: {} 13662 + 13663 + pg-types@2.2.0: 13664 + dependencies: 13665 + pg-int8: 1.0.1 13666 + postgres-array: 2.0.0 13667 + postgres-bytea: 1.0.1 13668 + postgres-date: 1.0.7 13669 + postgres-interval: 1.2.0 13670 + 13671 + pg@8.17.2: 13672 + dependencies: 13673 + pg-connection-string: 2.10.1 13674 + pg-pool: 3.11.0(pg@8.17.2) 13675 + pg-protocol: 1.11.0 13676 + pg-types: 2.2.0 13677 + pgpass: 1.0.5 13678 + optionalDependencies: 13679 + pg-cloudflare: 1.3.0 13680 + 13681 + pgpass@1.0.5: 13682 + dependencies: 13683 + split2: 4.2.0 13684 + 13520 13685 picocolors@1.1.1: {} 13521 13686 13522 13687 picomatch@2.3.1: {} ··· 13581 13746 nanoid: 3.3.11 13582 13747 picocolors: 1.1.1 13583 13748 source-map-js: 1.2.1 13749 + 13750 + postgres-array@2.0.0: {} 13751 + 13752 + postgres-array@3.0.4: {} 13753 + 13754 + postgres-bytea@1.0.1: {} 13755 + 13756 + postgres-date@1.0.7: {} 13757 + 13758 + postgres-interval@1.2.0: 13759 + dependencies: 13760 + xtend: 4.0.2 13584 13761 13585 13762 postgres@3.4.7: {} 13586 13763 ··· 14630 14807 typescript: 5.9.3 14631 14808 14632 14809 validate-npm-package-name@5.0.1: {} 14810 + 14811 + validator@13.15.26: {} 14633 14812 14634 14813 varint@6.0.0: {} 14635 14814