diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 4be4b9ac..524e4372 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -7,6 +7,20 @@ on: branches: ["main"] jobs: + yarn-duplicates: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - name: Use Node.js 18.x + uses: actions/setup-node@v3 + with: + node-version: 18.x + cache: "yarn" + cache-dependency-path: "yarn.lock" + - run: yarn install --immutable --inline-builds + + - run: yarn dedupe --check + prettier: runs-on: ubuntu-latest steps: diff --git a/desktop/.eslintrc.js b/desktop/.eslintrc.cjs similarity index 100% rename from desktop/.eslintrc.js rename to desktop/.eslintrc.cjs diff --git a/desktop/e2e/example.spec.ts b/desktop/e2e/example.spec.ts index 817efeb1..0e6f5f50 100644 --- a/desktop/e2e/example.spec.ts +++ b/desktop/e2e/example.spec.ts @@ -1,24 +1,48 @@ -import { test, expect, _electron as electron } from "@playwright/test"; +import { + test as base, + expect, + _electron as electron, + ElectronApplication, + Page, +} from "@playwright/test"; -test("starts", async () => { - const app = await electron.launch({ args: [".vite/build/main.js"] }); - const window = await app.firstWindow(); - await window.waitForLoadState("domcontentloaded"); - await expect(window.getByRole("heading", { name: "Bowser" })).toBeVisible(); +const test = base.extend<{ + app: [ElectronApplication, Page]; +}>({ + app: async ({}, use) => { + process.env.E2E_TEST = "true"; + const app = await electron.launch({ args: [".vite/build/main.cjs"] }); + const win = await app.firstWindow(); + + await win.waitForLoadState("domcontentloaded"); + + await use([app, win]); + + await expect( + await app.evaluate(({ ipcMain }) => ipcMain.emit("resetTestSettings")), + ).not.toBe(false); + + await win.close(); + await app.close(); + }, +}); + +test("starts", async ({ app: [app, win] }) => { + await expect(win.getByRole("heading", { name: "Bowser" })).toBeVisible(); }); -test("can connect to server", async () => { - const app = await electron.launch({ args: [".vite/build/main.js"] }); - const window = await app.firstWindow(); - window.on("console", console.log); - await window.waitForLoadState("domcontentloaded"); +test("can connect to server", async ({ app: [app, win] }) => { + await win.waitForLoadState("load"); + if (await win.getByRole("heading", { name: "Select a show" }).isVisible()) { + return; + } - await window.getByLabel("Server address").fill("http://localhost:3000"); - await window.getByLabel("Server Password").fill("aaa"); + await win.getByLabel("Server address").fill("http://localhost:3000"); + await win.getByLabel("Server Password").fill("aaa"); - await window.getByRole("button", { name: "Connect" }).click(); + await win.getByRole("button", { name: "Connect" }).click(); await expect( - window.getByRole("heading", { name: "Select a show" }), + win.getByRole("heading", { name: "Select a show" }), ).toBeVisible(); }); diff --git a/desktop/e2e/obs.spec.ts b/desktop/e2e/obs.spec.ts new file mode 100644 index 00000000..1ac44998 --- /dev/null +++ b/desktop/e2e/obs.spec.ts @@ -0,0 +1,107 @@ +import { + ElectronApplication, + Page, + test as base, + _electron as electron, + expect, +} from "@playwright/test"; +import { createTRPCProxyClient, httpBatchLink, loggerLink } from "@trpc/client"; +import type { AppRouter } from "bowser-server/app/api/_router"; +import MockOBSWebSocket from "@bowser/testing/MockOBSWebSocket.ts"; +import SuperJSON from "superjson"; +import { fetch } from "undici"; + +const api = createTRPCProxyClient({ + links: [ + httpBatchLink({ + url: "http://localhost:3000/api/trpc", + headers: () => ({ + Authorization: "Bearer aaa", + }), + // @ts-expect-error the undici types don't match what TRPC is expecting, but they're close enough + fetch, + }), + ], + transformer: SuperJSON, +}); + +const test = base.extend<{ + app: [ElectronApplication, Page]; +}>({ + app: async ({}, use) => { + const app = await electron.launch({ args: [".vite/build/main.cjs"] }); + const win = await app.firstWindow(); + + await win.waitForLoadState("domcontentloaded"); + + await win.getByLabel("Server address").fill("http://localhost:3000"); + await win.getByLabel("Server Password").fill("aaa"); + + await win.getByRole("button", { name: "Connect" }).click(); + + await expect( + win.getByRole("heading", { name: "Select a show" }), + ).toBeVisible(); + + await use([app, win]); + + await expect( + app.evaluate(({ ipcMain }) => ipcMain.emit("resetTestSettings")), + ).not.toBe(false); + + await win.close(); + await app.close(); + }, +}); + +test.beforeEach(async ({ request }) => { + await request.post( + "http://localhost:3000/api/resetDBInTestsDoNotUseOrYouWillBeFired", + ); + await api.shows.create.mutate({ + name: "Test Show", + start: new Date("2026-01-01T19:00:00Z"), + continuityItems: { + create: { + name: "Test Continuity", + durationSeconds: 0, + order: 0, + }, + }, + }); +}); + +test("can connect to OBS", async ({ app: [app, win] }) => { + const obs = await MockOBSWebSocket.create(expect, async (obs) => { + obs.alwaysRespond("GetVersion", () => ({ + success: true, + code: 100, + data: { + obsVersion: "1", + obsWebSocketVersion: "1", + availableRequests: [], + supportedImageFormats: [], + platform: "test", + platformDescription: "", + rpcVersion: 1, + }, + })); + await obs.waitUntilClosed; + }); + + await win.getByRole("button", { name: "Select" }).click(); + + await expect(win.getByLabel("Settings")).toBeVisible(); + await win.getByLabel("Settings").click(); + + await win.getByRole("tab", { name: "OBS" }).click(); + + await win.getByLabel("OBS Host").fill("localhost"); + await win.getByLabel("OBS WebSocket Port").fill(obs.port.toString(10)); + await win.getByLabel("OBS WebSocket Password").fill("there is no password"); + + await win.getByRole("button", { name: "Connect" }).click(); + await obs.waitForConnection; + await expect(win.getByTestId("OBSSettings.error")).not.toBeVisible(); + await expect(win.getByTestId("OBSSettings.success")).toBeVisible(); +}); diff --git a/desktop/forge.config.js b/desktop/forge.config.cjs similarity index 98% rename from desktop/forge.config.js rename to desktop/forge.config.cjs index f0c82eac..729df75f 100644 --- a/desktop/forge.config.js +++ b/desktop/forge.config.cjs @@ -8,7 +8,7 @@ module.exports = { ? "mac/icon" : "png/64x64.png" }`, - prune: true, + prune: false, // TODO }, rebuildConfig: {}, makers: [ diff --git a/desktop/package.json b/desktop/package.json index f7a579f4..fbf6fc0a 100644 --- a/desktop/package.json +++ b/desktop/package.json @@ -3,7 +3,7 @@ "productName": "Bowser Desktop", "version": "0.4.11", "description": "My Electron application description", - "main": ".vite/build/main.js", + "main": ".vite/build/main.cjs", "scripts": { "start": "electron-forge start", "package": "electron-forge package", @@ -20,6 +20,7 @@ "email": "marks@markspolakovs.me" }, "license": "MIT", + "type": "module", "devDependencies": { "@electron-forge/cli": "^6.4.1", "@electron-forge/maker-deb": "^6.4.1", @@ -44,23 +45,28 @@ "eslint": "^8.45.0", "eslint-plugin-react": "latest", "eslint-plugin-react-hooks": "^4.6.0", + "p-event": "^6.0.0", "postcss": "^8.4.27", "prettier": "^3.0.0", "prettier-plugin-tailwindcss": "^0.4.1", "tailwindcss": "^3.3.3", + "undici": "^5.23.0", "vite": "^4.4.6", "vitest": "^0.33.0" }, "dependencies": { + "@bowser/components": "workspace:*", + "@bowser/prisma": "workspace:*", "@bowser/testing": "workspace:*", "@headlessui/react": "^1.7.15", "@popperjs/core": "^2.11.8", "@radix-ui/react-alert-dialog": "^1.0.4", + "@radix-ui/react-dropdown-menu": "^2.0.5", "@sentry/electron": "^4.10.0", "@sentry/react": "^7.64.0", "@tailwindcss/forms": "^0.5.4", "@tanstack/react-query": "^4.32.6", - "@trpc/client": "^10.35.0", + "@trpc/client": "^10.38.1", "@trpc/react-query": "^10.35.0", "@trpc/server": "^10.35.0", "@types/progress-stream": "^2.0.2", @@ -76,6 +82,7 @@ "electron-squirrel-startup": "^1.0.0", "electron-trpc": "^0.5.2", "fast-xml-parser": "^4.2.7", + "got": "^13.0.0", "loglevel": "^1.8.1", "loglevel-plugin-prefix": "^0.8.4", "obs-websocket-js": "^5.0.3", diff --git a/desktop/postcss.config.js b/desktop/postcss.config.cjs similarity index 100% rename from desktop/postcss.config.js rename to desktop/postcss.config.cjs diff --git a/desktop/src/main/main.ts b/desktop/src/main/main.ts index ad6336f3..5a4836f9 100644 --- a/desktop/src/main/main.ts +++ b/desktop/src/main/main.ts @@ -1,4 +1,4 @@ -import { app, BrowserWindow } from "electron"; +import { app, BrowserWindow, ipcMain } from "electron"; import * as path from "path"; import { createIPCHandler } from "electron-trpc/main"; import { emitObservable, setSender } from "./ipcEventBus"; diff --git a/desktop/src/main/settings.ts b/desktop/src/main/settings.ts index cea3f540..6be9926d 100644 --- a/desktop/src/main/settings.ts +++ b/desktop/src/main/settings.ts @@ -1,9 +1,37 @@ -import settings from "electron-settings"; +import electronSettings from "electron-settings"; import { safeStorage } from "./safeStorage"; import { z } from "zod"; import * as fsp from "fs/promises"; import { AssetTypeSchema } from "@bowser/prisma/types"; import { IPCEvents } from "./ipcEventBus"; +import { app, ipcMain } from "electron"; + +// All the functionality of `electron-settings` that we need +interface Settings { + get(key: string): Promise; + set(key: string, value: unknown): Promise; +} + +// In E2E tests, to ensure that we start with a fresh instance (with no persisted data) on +// each test, we don't use electron-settings. Instead we store settings in-memory, so that +// they are lost when the application restarts between tests. +const testSettingsStore = new Map(); +const testSettings: Settings = { + async get(k) { + return testSettingsStore.get(k); + }, + async set(k, v) { + testSettingsStore.set(k, v); + }, +}; +app.on("ready", () => { + ipcMain.on("resetTestSettings", () => { + testSettingsStore.clear(); + }); +}); + +const settings: Settings = + process.env.E2E_TEST === "true" ? testSettings : electronSettings; /** * Since settings are stored as JSON files on disk, we pass them through zod as a sanity check. diff --git a/desktop/src/main/vmix.test.ts b/desktop/src/main/vmix.test.ts index d943ae98..9abd2959 100644 --- a/desktop/src/main/vmix.test.ts +++ b/desktop/src/main/vmix.test.ts @@ -33,6 +33,7 @@ describe("VMixConnection", () => { }); describe("send/receive", () => { test("request and response", async () => { + // vmix["send"] lets us access vmix.send even though it's private const res = vmix["send"]("FUNCTION", "test"); expect(sock.write).toHaveBeenCalledWith( "FUNCTION test\r\n", diff --git a/desktop/src/main/vmix.ts b/desktop/src/main/vmix.ts index 24df352b..894ceeb3 100644 --- a/desktop/src/main/vmix.ts +++ b/desktop/src/main/vmix.ts @@ -45,14 +45,8 @@ interface ReqQueueItem { */ export default class VMixConnection { private sock!: Socket; - // When replying to a TCP request, vMix includes the name of the command - // in its response, but nothing else that would allow us to identify the sender - // (unlike e.g. the OBS WebSocket API, where requests can have an ID). - // Therefore, we only allow one request per command type to be in flight at - // a time. If a caller makes another request while one is in flight, we push it - // to the request queue and dispatch it after the first one comes back. - // This map is used to hang onto the response handler for the currently - // in-flight request - if the command has an entry, one is in flight. + + // See the comment on doNextRequest for an explanation of this. private replyAwaiting: Map< VMixCommand, { @@ -61,6 +55,7 @@ export default class VMixConnection { } >; private requestQueue: Array = []; + private buffer: string = ""; private xmlParser = new XMLParser({ ignoreAttributes: false, @@ -263,6 +258,25 @@ export default class VMixConnection { return reply; } + // When replying to a TCP request, vMix includes the name of the command + // in its response, but nothing else that would allow us to identify the sender + // (unlike e.g. the OBS WebSocket API, where requests can have an ID). + // Therefore, we only allow one request per command type to be in flight at + // a time. + // + // The replyAwaiting map tracks whether we have sent a request for a given command, + // and therefore we can't send another until we've received a response to the first. + // If a request of type X is added to the queue when there is already one in flight, + // doNextRequest will skip processing it. Then, once a compelte response is received + // by onData(), it will call doNextRequest again to process the next request. + // + // This implementation is a bit simplistic - if the first request in the queue + // is blocked we won't process any others, even if they would not be blocked. + // However, this is unlikely to be a problem in practice. + // + // TODO: With that in mind, this could be simplified even further - instead of a + // replyAwaiting map, we could just have a single boolean flag indicating whether + // a request is in flight. private async doNextRequest() { const req = this.requestQueue[0]; if (!req) { @@ -288,13 +302,18 @@ export default class VMixConnection { private onData(data: Buffer) { this.buffer += data.toString(); // Replies will be in one of the following forms: + // //MYCOMMAND OK This is the response to MYCOMMAND\r\n + // //MYCOMMAND ER This is an error message in response to MYCOMMAND\r\n + // //MYCOMMAND 28\r\n //This is optional binary data + // //MYCOMMAND 28 This is a message in addition to the binary data\r\n //This is optional binary data // + // The 28 in the last two examples is the length of the binary data. // NB: binary data doesn't necessarily end with \r\n! if (!this.buffer.includes("\r\n")) { @@ -317,8 +336,10 @@ export default class VMixConnection { process.nextTick(this.doNextRequest.bind(this)); return; } + // This is a binary response and "status" is actually its length invariant(status.match(/^\d+$/), "Invalid status: " + status); const payloadLength = parseInt(status, 10); + // +2 for the \r\n if (this.buffer.length < payloadLength + firstLine.length + 2) { // still need more data return; diff --git a/desktop/src/renderer/.eslintrc.js b/desktop/src/renderer/.eslintrc.cjs similarity index 100% rename from desktop/src/renderer/.eslintrc.js rename to desktop/src/renderer/.eslintrc.cjs diff --git a/desktop/src/renderer/MainScreen.tsx b/desktop/src/renderer/MainScreen.tsx index 6c09a9e3..43db7b30 100644 --- a/desktop/src/renderer/MainScreen.tsx +++ b/desktop/src/renderer/MainScreen.tsx @@ -146,7 +146,7 @@ export default function MainScreen() { open={isSettingsOpen} onOpenChange={(v) => setIsSettingsOpen(v)} > - + diff --git a/desktop/src/renderer/screens/OBS.tsx b/desktop/src/renderer/screens/OBS.tsx index ab0b648a..eb48c7bb 100644 --- a/desktop/src/renderer/screens/OBS.tsx +++ b/desktop/src/renderer/screens/OBS.tsx @@ -91,12 +91,16 @@ export function OBSSettings() { Connect {state.data?.connected && ( - + Successfully connected to OBS version {state.data.version} on{" "} {state.data.platform} )} - {error && {error}} + {error && ( + + {error} + + )} ); diff --git a/desktop/tailwind.config.js b/desktop/tailwind.config.cjs similarity index 100% rename from desktop/tailwind.config.js rename to desktop/tailwind.config.cjs diff --git a/desktop/tsconfig.json b/desktop/tsconfig.json index 736d8e86..64a27697 100644 --- a/desktop/tsconfig.json +++ b/desktop/tsconfig.json @@ -1,6 +1,8 @@ { "extends": "@tsconfig/vite-react/tsconfig.json", "compilerOptions": { + "moduleResolution": "bundler", + "allowImportingTsExtensions": true, "paths": { "@/*": ["../server/*"] } diff --git a/desktop/vite.base.config.mjs b/desktop/vite.base.config.mjs index 20f57a81..17855f87 100644 --- a/desktop/vite.base.config.mjs +++ b/desktop/vite.base.config.mjs @@ -27,4 +27,10 @@ export default defineConfig({ "global.__GIT_COMMIT__": JSON.stringify(gitCommit), "global.__SENTRY_RELEASE__": JSON.stringify(sentryRelease), }, + build: { + rollupOptions: { + // This shouldn't even be making it into the build if tree shaking is working properly + external: ["@aws-sdk/client-s3"], + }, + }, }); diff --git a/desktop/vite.main.config.mjs b/desktop/vite.main.config.mjs index baaf8b9f..ce1510f6 100644 --- a/desktop/vite.main.config.mjs +++ b/desktop/vite.main.config.mjs @@ -1,24 +1,35 @@ /* eslint-disable @typescript-eslint/no-var-requires */ -import { mergeConfig } from "vite"; +import { mergeConfig, defineConfig } from "vite"; import base from "./vite.base.config.mjs"; // https://vitejs.dev/config -export default mergeConfig(base, { - resolve: { - // Some libs that can run in both Web and Node.js, such as `axios`, we need to tell Vite to build them in Node.js. - browserField: false, - mainFields: ["module", "jsnext:main", "jsnext"], - // Ensure that things we import from server will still work if they use Next's @-imports - alias: { - "@": "../server", +export default mergeConfig( + base, + defineConfig({ + resolve: { + // Some libs that can run in both Web and Node.js, such as `axios`, we need to tell Vite to build them in Node.js. + browserField: false, + mainFields: ["module", "jsnext:main", "jsnext"], + // Ensure that things we import from server will still work if they use Next's @-imports + alias: { + "@": "../server", + }, + conditions: ["node"], }, - conditions: ["node"], - }, - build: { - minify: process.env.NODE_ENV === "development" ? false : "esbuild", - sourcemap: true, - }, - esbuild: { - minifyIdentifiers: process.env.NODE_ENV !== "development", - }, -}); + build: { + minify: process.env.NODE_ENV === "development" ? false : "esbuild", + sourcemap: true, + rollupOptions: { + output: { + format: "commonjs", + entryFileNames: "[name].cjs", + chunkFileNames: "chunks/[name].[hash].cjs", + assetFileNames: "assets/[name].[hash].[ext]", + }, + }, + }, + esbuild: { + minifyIdentifiers: process.env.NODE_ENV !== "development", + }, + }), +); diff --git a/jobrunner/package.json b/jobrunner/package.json index 40d841cf..ad871a62 100644 --- a/jobrunner/package.json +++ b/jobrunner/package.json @@ -7,6 +7,7 @@ "@tsconfig/node18": "^18.2.0", "@typescript-eslint/eslint-plugin": "latest", "@typescript-eslint/parser": "latest", + "dotenv": "^16.3.1", "esbuild": "^0.18.16", "eslint": "latest", "glob": "^10.3.3", @@ -20,7 +21,8 @@ "prettify": "prettier --write .", "typecheck": "tsc --noEmit", "build": "node esbuild.config.mjs", - "lint": "eslint src/**/*.ts" + "lint": "eslint src/**/*.ts", + "test:integration": "TEST_INTEGRATION=true ../node_modules/.bin/dotenv -e .env.test ../node_modules/.bin/vitest run --config ./vitest.config-integration.ts" }, "dependencies": { "@aws-sdk/client-s3": "^3.374.0", diff --git a/jobrunner/vitest.config-integration.ts b/jobrunner/vitest.config-integration.ts new file mode 100644 index 00000000..00ec7325 --- /dev/null +++ b/jobrunner/vitest.config-integration.ts @@ -0,0 +1,5 @@ +import { defineConfig } from "vitest/config"; +import integration from "@bowser/testing/vitest-config-integration-base"; +import { merge } from "lodash"; + +export default merge(defineConfig({}), integration); diff --git a/package.json b/package.json index 0a45fa40..b992b0ff 100644 --- a/package.json +++ b/package.json @@ -13,10 +13,14 @@ "lint-staged": "^14.0.1", "prettier": "^3.0.0" }, + "resolutions": { + "zod": "<=3.21.1" + }, "scripts": { "lint": "yarn workspaces foreach run lint", "prettify": "yarn workspaces foreach run prettify", "test": "yarn workspaces foreach run test", + "test:integration": "yarn workspaces foreach run test:integration", "prepare": "husky install" }, "lint-staged": { diff --git a/server/app/api/_base.ts b/server/app/api/_base.ts index db2f6413..6f60c016 100644 --- a/server/app/api/_base.ts +++ b/server/app/api/_base.ts @@ -1,4 +1,4 @@ -import { initTRPC } from "@trpc/server"; +import { TRPCError, initTRPC } from "@trpc/server"; import superjson from "superjson"; const t = initTRPC.create({ @@ -6,4 +6,13 @@ const t = initTRPC.create({ }); export const publicProcedure = t.procedure; +export const testOnlyProcedure = publicProcedure.use(async ({ next }) => { + if (process.env.E2E_TEST === "true") { + return await next(); + } + throw new TRPCError({ + code: "UNAUTHORIZED", + message: "This procedure is only available in end-to-end tests.", + }); +}); export const router = t.router; diff --git a/server/app/api/_router.ts b/server/app/api/_router.ts index 36155047..27e2c5da 100644 --- a/server/app/api/_router.ts +++ b/server/app/api/_router.ts @@ -1,4 +1,4 @@ -import { publicProcedure, router } from "./_base"; +import { publicProcedure, router, testOnlyProcedure } from "./_base"; import { z } from "zod"; import { db } from "@/lib/db"; import { @@ -8,7 +8,14 @@ import { PartialShowModel, } from "@bowser/prisma/utilityTypes"; import { getPresignedURL } from "@/lib/s3"; -import { ContinuityItemSchema, RundownItemSchema } from "@bowser/prisma/types"; +import { + ContinuityItemSchema, + MediaCreateInputSchema, + MediaFileSourceTypeSchema, + RundownItemSchema, + ShowCreateInputSchema, +} from "@bowser/prisma/types"; +import { dispatchJobForJobrunner } from "@/lib/jobs"; const ExtendedMediaModelWithDownloadURL = CompleteMediaModel.extend({ continuityItem: ContinuityItemSchema.nullable(), @@ -80,6 +87,35 @@ export const appRouter = router({ }); return obj; }), + create: testOnlyProcedure + .input(ShowCreateInputSchema) + .output(CompleteShowModel) + .mutation(async ({ input }) => { + return await db.show.create({ + data: input, + include: { + continuityItems: { + include: { + media: true, + }, + }, + rundowns: { + include: { + items: { + include: { + media: true, + }, + }, + assets: { + include: { + media: true, + }, + }, + }, + }, + }, + }); + }), }), media: router({ get: publicProcedure @@ -103,6 +139,45 @@ export const appRouter = router({ } return obj as z.infer; }), + create: testOnlyProcedure + .input( + z.object({ + media: MediaCreateInputSchema, + sourceType: MediaFileSourceTypeSchema, + source: z.string(), + }), + ) + .output(ExtendedMediaModelWithDownloadURL) + .mutation(async ({ input }) => { + const [media, job] = await db.$transaction(async ($db) => { + const media = await $db.media.create({ + data: input.media, + include: { + rundownItem: true, + continuityItem: true, + tasks: true, + }, + }); + const job = await $db.processMediaJob.create({ + data: { + sourceType: input.sourceType, + source: input.source, + media: { + connect: { + id: media.id, + }, + }, + base_job: { create: {} }, + }, + }); + return [media, job] as const; + }); + await dispatchJobForJobrunner(job.base_job_id); + return { + ...media, + downloadURL: null, + }; + }), }), rundowns: router({ get: publicProcedure diff --git a/server/package.json b/server/package.json index 065cde2b..e0466517 100644 --- a/server/package.json +++ b/server/package.json @@ -8,6 +8,7 @@ "start": "next start", "lint": "next lint", "test": "dotenv -e .env.test ../node_modules/.bin/vitest run --config ./vitest.config.ts", + "test:integration": "TEST_INTEGRATION=true dotenv -e .env.test ../node_modules/.bin/vitest run --config ./vitest.config-integration.ts", "test:e2e": "NODE_ENV=test E2E_TEST=true yarn playwright test", "test:e2e:ui": "NODE_ENV=test E2E_TEST=true yarn playwright test --ui --project=chromium", "prettify": "prettier --write .", diff --git a/server/postcss.config.js b/server/postcss.config.cjs similarity index 100% rename from server/postcss.config.js rename to server/postcss.config.cjs diff --git a/server/tailwind.config.js b/server/tailwind.config.cjs similarity index 100% rename from server/tailwind.config.js rename to server/tailwind.config.cjs diff --git a/server/tsconfig.json b/server/tsconfig.json index f9782b0b..1014b5b9 100644 --- a/server/tsconfig.json +++ b/server/tsconfig.json @@ -28,7 +28,8 @@ "**/*.ts", "**/*.tsx", ".next/types/**/*.ts", - "../utility/testing/scripts/run-integration-tests.mts" + "../utility/testing/scripts/run-integration-tests.mts", + "../utility/testing/vitest-config-integration-base.ts" ], "exclude": ["node_modules"] } diff --git a/server/vitest.config-integration.ts b/server/vitest.config-integration.ts index 5e607e98..13ae9475 100644 --- a/server/vitest.config-integration.ts +++ b/server/vitest.config-integration.ts @@ -1,14 +1,5 @@ -import { defineConfig } from "vitest/config"; import base from "./vitest.config"; +import integration from "@bowser/testing/vitest-config-integration-base"; import { merge } from "lodash"; -export default merge( - base, - defineConfig({ - test: { - environment: "node", - include: ["**/*.integration.{test,spec}.?(c|m)[jt]s?(x)"], - exclude: ["e2e/**/*", "node_modules/**/*"], - }, - }), -); +export default merge(base, integration); diff --git a/utility/components/package.json b/utility/components/package.json index d89321d2..ba813ed6 100644 --- a/utility/components/package.json +++ b/utility/components/package.json @@ -2,6 +2,7 @@ "name": "@bowser/components", "private": true, "dependencies": { + "@radix-ui/react-alert-dialog": "^1.0.4", "@radix-ui/react-dialog": "^1.0.4", "@radix-ui/react-dropdown-menu": "^2.0.5", "@radix-ui/react-label": "^2.0.2", diff --git a/utility/prisma/schema.prisma b/utility/prisma/schema.prisma index 4df627bf..ba44edd2 100644 --- a/utility/prisma/schema.prisma +++ b/utility/prisma/schema.prisma @@ -11,7 +11,7 @@ generator zod { output = "./types" useMultipleFiles = true writeBarrelFiles = true - createInputTypes = false + createInputTypes = true addIncludeType = false addSelectType = false } diff --git a/utility/prisma/types/index.ts b/utility/prisma/types/index.ts index 17b9080b..f80d871e 100644 --- a/utility/prisma/types/index.ts +++ b/utility/prisma/types/index.ts @@ -1,2 +1,3 @@ -export * from './modelSchema'; -export * from './inputTypeSchemas'; +export * from "./modelSchema"; +export * from "./inputTypeSchemas"; +export * from "./outputTypeSchemas"; diff --git a/utility/prisma/types/inputTypeSchemas/AssetAvgOrderByAggregateInputSchema.ts b/utility/prisma/types/inputTypeSchemas/AssetAvgOrderByAggregateInputSchema.ts new file mode 100644 index 00000000..715fa0ca --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/AssetAvgOrderByAggregateInputSchema.ts @@ -0,0 +1,14 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { SortOrderSchema } from "./SortOrderSchema"; + +export const AssetAvgOrderByAggregateInputSchema: z.ZodType = + z + .object({ + id: z.lazy(() => SortOrderSchema).optional(), + rundownId: z.lazy(() => SortOrderSchema).optional(), + mediaId: z.lazy(() => SortOrderSchema).optional(), + }) + .strict(); + +export default AssetAvgOrderByAggregateInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/AssetCountOrderByAggregateInputSchema.ts b/utility/prisma/types/inputTypeSchemas/AssetCountOrderByAggregateInputSchema.ts new file mode 100644 index 00000000..50bacf6d --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/AssetCountOrderByAggregateInputSchema.ts @@ -0,0 +1,16 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { SortOrderSchema } from "./SortOrderSchema"; + +export const AssetCountOrderByAggregateInputSchema: z.ZodType = + z + .object({ + id: z.lazy(() => SortOrderSchema).optional(), + name: z.lazy(() => SortOrderSchema).optional(), + type: z.lazy(() => SortOrderSchema).optional(), + rundownId: z.lazy(() => SortOrderSchema).optional(), + mediaId: z.lazy(() => SortOrderSchema).optional(), + }) + .strict(); + +export default AssetCountOrderByAggregateInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/AssetCreateInputSchema.ts b/utility/prisma/types/inputTypeSchemas/AssetCreateInputSchema.ts new file mode 100644 index 00000000..7e4e25ee --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/AssetCreateInputSchema.ts @@ -0,0 +1,20 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { AssetTypeSchema } from "./AssetTypeSchema"; +import { MediaCreateNestedOneWithoutAssetInputSchema } from "./MediaCreateNestedOneWithoutAssetInputSchema"; +import { RundownCreateNestedOneWithoutAssetsInputSchema } from "./RundownCreateNestedOneWithoutAssetsInputSchema"; +import { LoadAssetJobCreateNestedManyWithoutAssetInputSchema } from "./LoadAssetJobCreateNestedManyWithoutAssetInputSchema"; + +export const AssetCreateInputSchema: z.ZodType = z + .object({ + name: z.string(), + type: z.lazy(() => AssetTypeSchema), + media: z.lazy(() => MediaCreateNestedOneWithoutAssetInputSchema), + rundown: z.lazy(() => RundownCreateNestedOneWithoutAssetsInputSchema), + loadJobs: z + .lazy(() => LoadAssetJobCreateNestedManyWithoutAssetInputSchema) + .optional(), + }) + .strict(); + +export default AssetCreateInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/AssetCreateManyInputSchema.ts b/utility/prisma/types/inputTypeSchemas/AssetCreateManyInputSchema.ts new file mode 100644 index 00000000..afea2abd --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/AssetCreateManyInputSchema.ts @@ -0,0 +1,16 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { AssetTypeSchema } from "./AssetTypeSchema"; + +export const AssetCreateManyInputSchema: z.ZodType = + z + .object({ + id: z.number().int().optional(), + name: z.string(), + type: z.lazy(() => AssetTypeSchema), + rundownId: z.number().int(), + mediaId: z.number().int(), + }) + .strict(); + +export default AssetCreateManyInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/AssetCreateManyRundownInputEnvelopeSchema.ts b/utility/prisma/types/inputTypeSchemas/AssetCreateManyRundownInputEnvelopeSchema.ts new file mode 100644 index 00000000..96118ea4 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/AssetCreateManyRundownInputEnvelopeSchema.ts @@ -0,0 +1,16 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { AssetCreateManyRundownInputSchema } from "./AssetCreateManyRundownInputSchema"; + +export const AssetCreateManyRundownInputEnvelopeSchema: z.ZodType = + z + .object({ + data: z.union([ + z.lazy(() => AssetCreateManyRundownInputSchema), + z.lazy(() => AssetCreateManyRundownInputSchema).array(), + ]), + skipDuplicates: z.boolean().optional(), + }) + .strict(); + +export default AssetCreateManyRundownInputEnvelopeSchema; diff --git a/utility/prisma/types/inputTypeSchemas/AssetCreateManyRundownInputSchema.ts b/utility/prisma/types/inputTypeSchemas/AssetCreateManyRundownInputSchema.ts new file mode 100644 index 00000000..af60a9f0 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/AssetCreateManyRundownInputSchema.ts @@ -0,0 +1,15 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { AssetTypeSchema } from "./AssetTypeSchema"; + +export const AssetCreateManyRundownInputSchema: z.ZodType = + z + .object({ + id: z.number().int().optional(), + name: z.string(), + type: z.lazy(() => AssetTypeSchema), + mediaId: z.number().int(), + }) + .strict(); + +export default AssetCreateManyRundownInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/AssetCreateNestedManyWithoutRundownInputSchema.ts b/utility/prisma/types/inputTypeSchemas/AssetCreateNestedManyWithoutRundownInputSchema.ts new file mode 100644 index 00000000..1c74727d --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/AssetCreateNestedManyWithoutRundownInputSchema.ts @@ -0,0 +1,38 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { AssetCreateWithoutRundownInputSchema } from "./AssetCreateWithoutRundownInputSchema"; +import { AssetUncheckedCreateWithoutRundownInputSchema } from "./AssetUncheckedCreateWithoutRundownInputSchema"; +import { AssetCreateOrConnectWithoutRundownInputSchema } from "./AssetCreateOrConnectWithoutRundownInputSchema"; +import { AssetCreateManyRundownInputEnvelopeSchema } from "./AssetCreateManyRundownInputEnvelopeSchema"; +import { AssetWhereUniqueInputSchema } from "./AssetWhereUniqueInputSchema"; + +export const AssetCreateNestedManyWithoutRundownInputSchema: z.ZodType = + z + .object({ + create: z + .union([ + z.lazy(() => AssetCreateWithoutRundownInputSchema), + z.lazy(() => AssetCreateWithoutRundownInputSchema).array(), + z.lazy(() => AssetUncheckedCreateWithoutRundownInputSchema), + z.lazy(() => AssetUncheckedCreateWithoutRundownInputSchema).array(), + ]) + .optional(), + connectOrCreate: z + .union([ + z.lazy(() => AssetCreateOrConnectWithoutRundownInputSchema), + z.lazy(() => AssetCreateOrConnectWithoutRundownInputSchema).array(), + ]) + .optional(), + createMany: z + .lazy(() => AssetCreateManyRundownInputEnvelopeSchema) + .optional(), + connect: z + .union([ + z.lazy(() => AssetWhereUniqueInputSchema), + z.lazy(() => AssetWhereUniqueInputSchema).array(), + ]) + .optional(), + }) + .strict(); + +export default AssetCreateNestedManyWithoutRundownInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/AssetCreateNestedOneWithoutLoadJobsInputSchema.ts b/utility/prisma/types/inputTypeSchemas/AssetCreateNestedOneWithoutLoadJobsInputSchema.ts new file mode 100644 index 00000000..d9cd9fe6 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/AssetCreateNestedOneWithoutLoadJobsInputSchema.ts @@ -0,0 +1,24 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { AssetCreateWithoutLoadJobsInputSchema } from "./AssetCreateWithoutLoadJobsInputSchema"; +import { AssetUncheckedCreateWithoutLoadJobsInputSchema } from "./AssetUncheckedCreateWithoutLoadJobsInputSchema"; +import { AssetCreateOrConnectWithoutLoadJobsInputSchema } from "./AssetCreateOrConnectWithoutLoadJobsInputSchema"; +import { AssetWhereUniqueInputSchema } from "./AssetWhereUniqueInputSchema"; + +export const AssetCreateNestedOneWithoutLoadJobsInputSchema: z.ZodType = + z + .object({ + create: z + .union([ + z.lazy(() => AssetCreateWithoutLoadJobsInputSchema), + z.lazy(() => AssetUncheckedCreateWithoutLoadJobsInputSchema), + ]) + .optional(), + connectOrCreate: z + .lazy(() => AssetCreateOrConnectWithoutLoadJobsInputSchema) + .optional(), + connect: z.lazy(() => AssetWhereUniqueInputSchema).optional(), + }) + .strict(); + +export default AssetCreateNestedOneWithoutLoadJobsInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/AssetCreateNestedOneWithoutMediaInputSchema.ts b/utility/prisma/types/inputTypeSchemas/AssetCreateNestedOneWithoutMediaInputSchema.ts new file mode 100644 index 00000000..72eeb9ea --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/AssetCreateNestedOneWithoutMediaInputSchema.ts @@ -0,0 +1,24 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { AssetCreateWithoutMediaInputSchema } from "./AssetCreateWithoutMediaInputSchema"; +import { AssetUncheckedCreateWithoutMediaInputSchema } from "./AssetUncheckedCreateWithoutMediaInputSchema"; +import { AssetCreateOrConnectWithoutMediaInputSchema } from "./AssetCreateOrConnectWithoutMediaInputSchema"; +import { AssetWhereUniqueInputSchema } from "./AssetWhereUniqueInputSchema"; + +export const AssetCreateNestedOneWithoutMediaInputSchema: z.ZodType = + z + .object({ + create: z + .union([ + z.lazy(() => AssetCreateWithoutMediaInputSchema), + z.lazy(() => AssetUncheckedCreateWithoutMediaInputSchema), + ]) + .optional(), + connectOrCreate: z + .lazy(() => AssetCreateOrConnectWithoutMediaInputSchema) + .optional(), + connect: z.lazy(() => AssetWhereUniqueInputSchema).optional(), + }) + .strict(); + +export default AssetCreateNestedOneWithoutMediaInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/AssetCreateOrConnectWithoutLoadJobsInputSchema.ts b/utility/prisma/types/inputTypeSchemas/AssetCreateOrConnectWithoutLoadJobsInputSchema.ts new file mode 100644 index 00000000..74dca27f --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/AssetCreateOrConnectWithoutLoadJobsInputSchema.ts @@ -0,0 +1,18 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { AssetWhereUniqueInputSchema } from "./AssetWhereUniqueInputSchema"; +import { AssetCreateWithoutLoadJobsInputSchema } from "./AssetCreateWithoutLoadJobsInputSchema"; +import { AssetUncheckedCreateWithoutLoadJobsInputSchema } from "./AssetUncheckedCreateWithoutLoadJobsInputSchema"; + +export const AssetCreateOrConnectWithoutLoadJobsInputSchema: z.ZodType = + z + .object({ + where: z.lazy(() => AssetWhereUniqueInputSchema), + create: z.union([ + z.lazy(() => AssetCreateWithoutLoadJobsInputSchema), + z.lazy(() => AssetUncheckedCreateWithoutLoadJobsInputSchema), + ]), + }) + .strict(); + +export default AssetCreateOrConnectWithoutLoadJobsInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/AssetCreateOrConnectWithoutMediaInputSchema.ts b/utility/prisma/types/inputTypeSchemas/AssetCreateOrConnectWithoutMediaInputSchema.ts new file mode 100644 index 00000000..8834cf30 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/AssetCreateOrConnectWithoutMediaInputSchema.ts @@ -0,0 +1,18 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { AssetWhereUniqueInputSchema } from "./AssetWhereUniqueInputSchema"; +import { AssetCreateWithoutMediaInputSchema } from "./AssetCreateWithoutMediaInputSchema"; +import { AssetUncheckedCreateWithoutMediaInputSchema } from "./AssetUncheckedCreateWithoutMediaInputSchema"; + +export const AssetCreateOrConnectWithoutMediaInputSchema: z.ZodType = + z + .object({ + where: z.lazy(() => AssetWhereUniqueInputSchema), + create: z.union([ + z.lazy(() => AssetCreateWithoutMediaInputSchema), + z.lazy(() => AssetUncheckedCreateWithoutMediaInputSchema), + ]), + }) + .strict(); + +export default AssetCreateOrConnectWithoutMediaInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/AssetCreateOrConnectWithoutRundownInputSchema.ts b/utility/prisma/types/inputTypeSchemas/AssetCreateOrConnectWithoutRundownInputSchema.ts new file mode 100644 index 00000000..d5f7938e --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/AssetCreateOrConnectWithoutRundownInputSchema.ts @@ -0,0 +1,18 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { AssetWhereUniqueInputSchema } from "./AssetWhereUniqueInputSchema"; +import { AssetCreateWithoutRundownInputSchema } from "./AssetCreateWithoutRundownInputSchema"; +import { AssetUncheckedCreateWithoutRundownInputSchema } from "./AssetUncheckedCreateWithoutRundownInputSchema"; + +export const AssetCreateOrConnectWithoutRundownInputSchema: z.ZodType = + z + .object({ + where: z.lazy(() => AssetWhereUniqueInputSchema), + create: z.union([ + z.lazy(() => AssetCreateWithoutRundownInputSchema), + z.lazy(() => AssetUncheckedCreateWithoutRundownInputSchema), + ]), + }) + .strict(); + +export default AssetCreateOrConnectWithoutRundownInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/AssetCreateWithoutLoadJobsInputSchema.ts b/utility/prisma/types/inputTypeSchemas/AssetCreateWithoutLoadJobsInputSchema.ts new file mode 100644 index 00000000..b1b58a0d --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/AssetCreateWithoutLoadJobsInputSchema.ts @@ -0,0 +1,17 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { AssetTypeSchema } from "./AssetTypeSchema"; +import { MediaCreateNestedOneWithoutAssetInputSchema } from "./MediaCreateNestedOneWithoutAssetInputSchema"; +import { RundownCreateNestedOneWithoutAssetsInputSchema } from "./RundownCreateNestedOneWithoutAssetsInputSchema"; + +export const AssetCreateWithoutLoadJobsInputSchema: z.ZodType = + z + .object({ + name: z.string(), + type: z.lazy(() => AssetTypeSchema), + media: z.lazy(() => MediaCreateNestedOneWithoutAssetInputSchema), + rundown: z.lazy(() => RundownCreateNestedOneWithoutAssetsInputSchema), + }) + .strict(); + +export default AssetCreateWithoutLoadJobsInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/AssetCreateWithoutMediaInputSchema.ts b/utility/prisma/types/inputTypeSchemas/AssetCreateWithoutMediaInputSchema.ts new file mode 100644 index 00000000..57662869 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/AssetCreateWithoutMediaInputSchema.ts @@ -0,0 +1,19 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { AssetTypeSchema } from "./AssetTypeSchema"; +import { RundownCreateNestedOneWithoutAssetsInputSchema } from "./RundownCreateNestedOneWithoutAssetsInputSchema"; +import { LoadAssetJobCreateNestedManyWithoutAssetInputSchema } from "./LoadAssetJobCreateNestedManyWithoutAssetInputSchema"; + +export const AssetCreateWithoutMediaInputSchema: z.ZodType = + z + .object({ + name: z.string(), + type: z.lazy(() => AssetTypeSchema), + rundown: z.lazy(() => RundownCreateNestedOneWithoutAssetsInputSchema), + loadJobs: z + .lazy(() => LoadAssetJobCreateNestedManyWithoutAssetInputSchema) + .optional(), + }) + .strict(); + +export default AssetCreateWithoutMediaInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/AssetCreateWithoutRundownInputSchema.ts b/utility/prisma/types/inputTypeSchemas/AssetCreateWithoutRundownInputSchema.ts new file mode 100644 index 00000000..fdb229f5 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/AssetCreateWithoutRundownInputSchema.ts @@ -0,0 +1,19 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { AssetTypeSchema } from "./AssetTypeSchema"; +import { MediaCreateNestedOneWithoutAssetInputSchema } from "./MediaCreateNestedOneWithoutAssetInputSchema"; +import { LoadAssetJobCreateNestedManyWithoutAssetInputSchema } from "./LoadAssetJobCreateNestedManyWithoutAssetInputSchema"; + +export const AssetCreateWithoutRundownInputSchema: z.ZodType = + z + .object({ + name: z.string(), + type: z.lazy(() => AssetTypeSchema), + media: z.lazy(() => MediaCreateNestedOneWithoutAssetInputSchema), + loadJobs: z + .lazy(() => LoadAssetJobCreateNestedManyWithoutAssetInputSchema) + .optional(), + }) + .strict(); + +export default AssetCreateWithoutRundownInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/AssetIncludeSchema.ts b/utility/prisma/types/inputTypeSchemas/AssetIncludeSchema.ts new file mode 100644 index 00000000..1f69aff5 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/AssetIncludeSchema.ts @@ -0,0 +1,21 @@ +import { z } from "zod"; +import type { Prisma } from "../../client"; +import { MediaArgsSchema } from "../outputTypeSchemas/MediaArgsSchema"; +import { RundownArgsSchema } from "../outputTypeSchemas/RundownArgsSchema"; +import { LoadAssetJobFindManyArgsSchema } from "../outputTypeSchemas/LoadAssetJobFindManyArgsSchema"; +import { AssetCountOutputTypeArgsSchema } from "../outputTypeSchemas/AssetCountOutputTypeArgsSchema"; + +export const AssetIncludeSchema: z.ZodType = z + .object({ + media: z.union([z.boolean(), z.lazy(() => MediaArgsSchema)]).optional(), + rundown: z.union([z.boolean(), z.lazy(() => RundownArgsSchema)]).optional(), + loadJobs: z + .union([z.boolean(), z.lazy(() => LoadAssetJobFindManyArgsSchema)]) + .optional(), + _count: z + .union([z.boolean(), z.lazy(() => AssetCountOutputTypeArgsSchema)]) + .optional(), + }) + .strict(); + +export default AssetIncludeSchema; diff --git a/utility/prisma/types/inputTypeSchemas/AssetListRelationFilterSchema.ts b/utility/prisma/types/inputTypeSchemas/AssetListRelationFilterSchema.ts new file mode 100644 index 00000000..e77df7b6 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/AssetListRelationFilterSchema.ts @@ -0,0 +1,14 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { AssetWhereInputSchema } from "./AssetWhereInputSchema"; + +export const AssetListRelationFilterSchema: z.ZodType = + z + .object({ + every: z.lazy(() => AssetWhereInputSchema).optional(), + some: z.lazy(() => AssetWhereInputSchema).optional(), + none: z.lazy(() => AssetWhereInputSchema).optional(), + }) + .strict(); + +export default AssetListRelationFilterSchema; diff --git a/utility/prisma/types/inputTypeSchemas/AssetMaxOrderByAggregateInputSchema.ts b/utility/prisma/types/inputTypeSchemas/AssetMaxOrderByAggregateInputSchema.ts new file mode 100644 index 00000000..7ab16006 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/AssetMaxOrderByAggregateInputSchema.ts @@ -0,0 +1,16 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { SortOrderSchema } from "./SortOrderSchema"; + +export const AssetMaxOrderByAggregateInputSchema: z.ZodType = + z + .object({ + id: z.lazy(() => SortOrderSchema).optional(), + name: z.lazy(() => SortOrderSchema).optional(), + type: z.lazy(() => SortOrderSchema).optional(), + rundownId: z.lazy(() => SortOrderSchema).optional(), + mediaId: z.lazy(() => SortOrderSchema).optional(), + }) + .strict(); + +export default AssetMaxOrderByAggregateInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/AssetMinOrderByAggregateInputSchema.ts b/utility/prisma/types/inputTypeSchemas/AssetMinOrderByAggregateInputSchema.ts new file mode 100644 index 00000000..32636bd4 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/AssetMinOrderByAggregateInputSchema.ts @@ -0,0 +1,16 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { SortOrderSchema } from "./SortOrderSchema"; + +export const AssetMinOrderByAggregateInputSchema: z.ZodType = + z + .object({ + id: z.lazy(() => SortOrderSchema).optional(), + name: z.lazy(() => SortOrderSchema).optional(), + type: z.lazy(() => SortOrderSchema).optional(), + rundownId: z.lazy(() => SortOrderSchema).optional(), + mediaId: z.lazy(() => SortOrderSchema).optional(), + }) + .strict(); + +export default AssetMinOrderByAggregateInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/AssetNullableRelationFilterSchema.ts b/utility/prisma/types/inputTypeSchemas/AssetNullableRelationFilterSchema.ts new file mode 100644 index 00000000..3bc88b99 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/AssetNullableRelationFilterSchema.ts @@ -0,0 +1,19 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { AssetWhereInputSchema } from "./AssetWhereInputSchema"; + +export const AssetNullableRelationFilterSchema: z.ZodType = + z + .object({ + is: z + .lazy(() => AssetWhereInputSchema) + .optional() + .nullable(), + isNot: z + .lazy(() => AssetWhereInputSchema) + .optional() + .nullable(), + }) + .strict(); + +export default AssetNullableRelationFilterSchema; diff --git a/utility/prisma/types/inputTypeSchemas/AssetOrderByRelationAggregateInputSchema.ts b/utility/prisma/types/inputTypeSchemas/AssetOrderByRelationAggregateInputSchema.ts new file mode 100644 index 00000000..1381c0a0 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/AssetOrderByRelationAggregateInputSchema.ts @@ -0,0 +1,12 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { SortOrderSchema } from "./SortOrderSchema"; + +export const AssetOrderByRelationAggregateInputSchema: z.ZodType = + z + .object({ + _count: z.lazy(() => SortOrderSchema).optional(), + }) + .strict(); + +export default AssetOrderByRelationAggregateInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/AssetOrderByWithAggregationInputSchema.ts b/utility/prisma/types/inputTypeSchemas/AssetOrderByWithAggregationInputSchema.ts new file mode 100644 index 00000000..6e620d0c --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/AssetOrderByWithAggregationInputSchema.ts @@ -0,0 +1,26 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { SortOrderSchema } from "./SortOrderSchema"; +import { AssetCountOrderByAggregateInputSchema } from "./AssetCountOrderByAggregateInputSchema"; +import { AssetAvgOrderByAggregateInputSchema } from "./AssetAvgOrderByAggregateInputSchema"; +import { AssetMaxOrderByAggregateInputSchema } from "./AssetMaxOrderByAggregateInputSchema"; +import { AssetMinOrderByAggregateInputSchema } from "./AssetMinOrderByAggregateInputSchema"; +import { AssetSumOrderByAggregateInputSchema } from "./AssetSumOrderByAggregateInputSchema"; + +export const AssetOrderByWithAggregationInputSchema: z.ZodType = + z + .object({ + id: z.lazy(() => SortOrderSchema).optional(), + name: z.lazy(() => SortOrderSchema).optional(), + type: z.lazy(() => SortOrderSchema).optional(), + rundownId: z.lazy(() => SortOrderSchema).optional(), + mediaId: z.lazy(() => SortOrderSchema).optional(), + _count: z.lazy(() => AssetCountOrderByAggregateInputSchema).optional(), + _avg: z.lazy(() => AssetAvgOrderByAggregateInputSchema).optional(), + _max: z.lazy(() => AssetMaxOrderByAggregateInputSchema).optional(), + _min: z.lazy(() => AssetMinOrderByAggregateInputSchema).optional(), + _sum: z.lazy(() => AssetSumOrderByAggregateInputSchema).optional(), + }) + .strict(); + +export default AssetOrderByWithAggregationInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/AssetOrderByWithRelationInputSchema.ts b/utility/prisma/types/inputTypeSchemas/AssetOrderByWithRelationInputSchema.ts new file mode 100644 index 00000000..a8536a22 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/AssetOrderByWithRelationInputSchema.ts @@ -0,0 +1,24 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { SortOrderSchema } from "./SortOrderSchema"; +import { MediaOrderByWithRelationInputSchema } from "./MediaOrderByWithRelationInputSchema"; +import { RundownOrderByWithRelationInputSchema } from "./RundownOrderByWithRelationInputSchema"; +import { LoadAssetJobOrderByRelationAggregateInputSchema } from "./LoadAssetJobOrderByRelationAggregateInputSchema"; + +export const AssetOrderByWithRelationInputSchema: z.ZodType = + z + .object({ + id: z.lazy(() => SortOrderSchema).optional(), + name: z.lazy(() => SortOrderSchema).optional(), + type: z.lazy(() => SortOrderSchema).optional(), + rundownId: z.lazy(() => SortOrderSchema).optional(), + mediaId: z.lazy(() => SortOrderSchema).optional(), + media: z.lazy(() => MediaOrderByWithRelationInputSchema).optional(), + rundown: z.lazy(() => RundownOrderByWithRelationInputSchema).optional(), + loadJobs: z + .lazy(() => LoadAssetJobOrderByRelationAggregateInputSchema) + .optional(), + }) + .strict(); + +export default AssetOrderByWithRelationInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/AssetRelationFilterSchema.ts b/utility/prisma/types/inputTypeSchemas/AssetRelationFilterSchema.ts new file mode 100644 index 00000000..98e13bee --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/AssetRelationFilterSchema.ts @@ -0,0 +1,13 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { AssetWhereInputSchema } from "./AssetWhereInputSchema"; + +export const AssetRelationFilterSchema: z.ZodType = + z + .object({ + is: z.lazy(() => AssetWhereInputSchema).optional(), + isNot: z.lazy(() => AssetWhereInputSchema).optional(), + }) + .strict(); + +export default AssetRelationFilterSchema; diff --git a/utility/prisma/types/inputTypeSchemas/AssetScalarWhereInputSchema.ts b/utility/prisma/types/inputTypeSchemas/AssetScalarWhereInputSchema.ts new file mode 100644 index 00000000..25e96112 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/AssetScalarWhereInputSchema.ts @@ -0,0 +1,42 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { IntFilterSchema } from "./IntFilterSchema"; +import { StringFilterSchema } from "./StringFilterSchema"; +import { EnumAssetTypeFilterSchema } from "./EnumAssetTypeFilterSchema"; +import { AssetTypeSchema } from "./AssetTypeSchema"; + +export const AssetScalarWhereInputSchema: z.ZodType = + z + .object({ + AND: z + .union([ + z.lazy(() => AssetScalarWhereInputSchema), + z.lazy(() => AssetScalarWhereInputSchema).array(), + ]) + .optional(), + OR: z + .lazy(() => AssetScalarWhereInputSchema) + .array() + .optional(), + NOT: z + .union([ + z.lazy(() => AssetScalarWhereInputSchema), + z.lazy(() => AssetScalarWhereInputSchema).array(), + ]) + .optional(), + id: z.union([z.lazy(() => IntFilterSchema), z.number()]).optional(), + name: z.union([z.lazy(() => StringFilterSchema), z.string()]).optional(), + type: z + .union([ + z.lazy(() => EnumAssetTypeFilterSchema), + z.lazy(() => AssetTypeSchema), + ]) + .optional(), + rundownId: z + .union([z.lazy(() => IntFilterSchema), z.number()]) + .optional(), + mediaId: z.union([z.lazy(() => IntFilterSchema), z.number()]).optional(), + }) + .strict(); + +export default AssetScalarWhereInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/AssetScalarWhereWithAggregatesInputSchema.ts b/utility/prisma/types/inputTypeSchemas/AssetScalarWhereWithAggregatesInputSchema.ts new file mode 100644 index 00000000..12755d30 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/AssetScalarWhereWithAggregatesInputSchema.ts @@ -0,0 +1,48 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { IntWithAggregatesFilterSchema } from "./IntWithAggregatesFilterSchema"; +import { StringWithAggregatesFilterSchema } from "./StringWithAggregatesFilterSchema"; +import { EnumAssetTypeWithAggregatesFilterSchema } from "./EnumAssetTypeWithAggregatesFilterSchema"; +import { AssetTypeSchema } from "./AssetTypeSchema"; + +export const AssetScalarWhereWithAggregatesInputSchema: z.ZodType = + z + .object({ + AND: z + .union([ + z.lazy(() => AssetScalarWhereWithAggregatesInputSchema), + z.lazy(() => AssetScalarWhereWithAggregatesInputSchema).array(), + ]) + .optional(), + OR: z + .lazy(() => AssetScalarWhereWithAggregatesInputSchema) + .array() + .optional(), + NOT: z + .union([ + z.lazy(() => AssetScalarWhereWithAggregatesInputSchema), + z.lazy(() => AssetScalarWhereWithAggregatesInputSchema).array(), + ]) + .optional(), + id: z + .union([z.lazy(() => IntWithAggregatesFilterSchema), z.number()]) + .optional(), + name: z + .union([z.lazy(() => StringWithAggregatesFilterSchema), z.string()]) + .optional(), + type: z + .union([ + z.lazy(() => EnumAssetTypeWithAggregatesFilterSchema), + z.lazy(() => AssetTypeSchema), + ]) + .optional(), + rundownId: z + .union([z.lazy(() => IntWithAggregatesFilterSchema), z.number()]) + .optional(), + mediaId: z + .union([z.lazy(() => IntWithAggregatesFilterSchema), z.number()]) + .optional(), + }) + .strict(); + +export default AssetScalarWhereWithAggregatesInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/AssetSelectSchema.ts b/utility/prisma/types/inputTypeSchemas/AssetSelectSchema.ts new file mode 100644 index 00000000..334a80f3 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/AssetSelectSchema.ts @@ -0,0 +1,26 @@ +import { z } from "zod"; +import type { Prisma } from "../../client"; +import { MediaArgsSchema } from "../outputTypeSchemas/MediaArgsSchema"; +import { RundownArgsSchema } from "../outputTypeSchemas/RundownArgsSchema"; +import { LoadAssetJobFindManyArgsSchema } from "../outputTypeSchemas/LoadAssetJobFindManyArgsSchema"; +import { AssetCountOutputTypeArgsSchema } from "../outputTypeSchemas/AssetCountOutputTypeArgsSchema"; + +export const AssetSelectSchema: z.ZodType = z + .object({ + id: z.boolean().optional(), + name: z.boolean().optional(), + type: z.boolean().optional(), + rundownId: z.boolean().optional(), + mediaId: z.boolean().optional(), + media: z.union([z.boolean(), z.lazy(() => MediaArgsSchema)]).optional(), + rundown: z.union([z.boolean(), z.lazy(() => RundownArgsSchema)]).optional(), + loadJobs: z + .union([z.boolean(), z.lazy(() => LoadAssetJobFindManyArgsSchema)]) + .optional(), + _count: z + .union([z.boolean(), z.lazy(() => AssetCountOutputTypeArgsSchema)]) + .optional(), + }) + .strict(); + +export default AssetSelectSchema; diff --git a/utility/prisma/types/inputTypeSchemas/AssetSumOrderByAggregateInputSchema.ts b/utility/prisma/types/inputTypeSchemas/AssetSumOrderByAggregateInputSchema.ts new file mode 100644 index 00000000..468d0fd4 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/AssetSumOrderByAggregateInputSchema.ts @@ -0,0 +1,14 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { SortOrderSchema } from "./SortOrderSchema"; + +export const AssetSumOrderByAggregateInputSchema: z.ZodType = + z + .object({ + id: z.lazy(() => SortOrderSchema).optional(), + rundownId: z.lazy(() => SortOrderSchema).optional(), + mediaId: z.lazy(() => SortOrderSchema).optional(), + }) + .strict(); + +export default AssetSumOrderByAggregateInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/AssetUncheckedCreateInputSchema.ts b/utility/prisma/types/inputTypeSchemas/AssetUncheckedCreateInputSchema.ts new file mode 100644 index 00000000..dbbc0417 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/AssetUncheckedCreateInputSchema.ts @@ -0,0 +1,22 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { AssetTypeSchema } from "./AssetTypeSchema"; +import { LoadAssetJobUncheckedCreateNestedManyWithoutAssetInputSchema } from "./LoadAssetJobUncheckedCreateNestedManyWithoutAssetInputSchema"; + +export const AssetUncheckedCreateInputSchema: z.ZodType = + z + .object({ + id: z.number().int().optional(), + name: z.string(), + type: z.lazy(() => AssetTypeSchema), + rundownId: z.number().int(), + mediaId: z.number().int(), + loadJobs: z + .lazy( + () => LoadAssetJobUncheckedCreateNestedManyWithoutAssetInputSchema, + ) + .optional(), + }) + .strict(); + +export default AssetUncheckedCreateInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/AssetUncheckedCreateNestedManyWithoutRundownInputSchema.ts b/utility/prisma/types/inputTypeSchemas/AssetUncheckedCreateNestedManyWithoutRundownInputSchema.ts new file mode 100644 index 00000000..e71a334a --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/AssetUncheckedCreateNestedManyWithoutRundownInputSchema.ts @@ -0,0 +1,38 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { AssetCreateWithoutRundownInputSchema } from "./AssetCreateWithoutRundownInputSchema"; +import { AssetUncheckedCreateWithoutRundownInputSchema } from "./AssetUncheckedCreateWithoutRundownInputSchema"; +import { AssetCreateOrConnectWithoutRundownInputSchema } from "./AssetCreateOrConnectWithoutRundownInputSchema"; +import { AssetCreateManyRundownInputEnvelopeSchema } from "./AssetCreateManyRundownInputEnvelopeSchema"; +import { AssetWhereUniqueInputSchema } from "./AssetWhereUniqueInputSchema"; + +export const AssetUncheckedCreateNestedManyWithoutRundownInputSchema: z.ZodType = + z + .object({ + create: z + .union([ + z.lazy(() => AssetCreateWithoutRundownInputSchema), + z.lazy(() => AssetCreateWithoutRundownInputSchema).array(), + z.lazy(() => AssetUncheckedCreateWithoutRundownInputSchema), + z.lazy(() => AssetUncheckedCreateWithoutRundownInputSchema).array(), + ]) + .optional(), + connectOrCreate: z + .union([ + z.lazy(() => AssetCreateOrConnectWithoutRundownInputSchema), + z.lazy(() => AssetCreateOrConnectWithoutRundownInputSchema).array(), + ]) + .optional(), + createMany: z + .lazy(() => AssetCreateManyRundownInputEnvelopeSchema) + .optional(), + connect: z + .union([ + z.lazy(() => AssetWhereUniqueInputSchema), + z.lazy(() => AssetWhereUniqueInputSchema).array(), + ]) + .optional(), + }) + .strict(); + +export default AssetUncheckedCreateNestedManyWithoutRundownInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/AssetUncheckedCreateNestedOneWithoutMediaInputSchema.ts b/utility/prisma/types/inputTypeSchemas/AssetUncheckedCreateNestedOneWithoutMediaInputSchema.ts new file mode 100644 index 00000000..375c8b16 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/AssetUncheckedCreateNestedOneWithoutMediaInputSchema.ts @@ -0,0 +1,24 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { AssetCreateWithoutMediaInputSchema } from "./AssetCreateWithoutMediaInputSchema"; +import { AssetUncheckedCreateWithoutMediaInputSchema } from "./AssetUncheckedCreateWithoutMediaInputSchema"; +import { AssetCreateOrConnectWithoutMediaInputSchema } from "./AssetCreateOrConnectWithoutMediaInputSchema"; +import { AssetWhereUniqueInputSchema } from "./AssetWhereUniqueInputSchema"; + +export const AssetUncheckedCreateNestedOneWithoutMediaInputSchema: z.ZodType = + z + .object({ + create: z + .union([ + z.lazy(() => AssetCreateWithoutMediaInputSchema), + z.lazy(() => AssetUncheckedCreateWithoutMediaInputSchema), + ]) + .optional(), + connectOrCreate: z + .lazy(() => AssetCreateOrConnectWithoutMediaInputSchema) + .optional(), + connect: z.lazy(() => AssetWhereUniqueInputSchema).optional(), + }) + .strict(); + +export default AssetUncheckedCreateNestedOneWithoutMediaInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/AssetUncheckedCreateWithoutLoadJobsInputSchema.ts b/utility/prisma/types/inputTypeSchemas/AssetUncheckedCreateWithoutLoadJobsInputSchema.ts new file mode 100644 index 00000000..8094d337 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/AssetUncheckedCreateWithoutLoadJobsInputSchema.ts @@ -0,0 +1,16 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { AssetTypeSchema } from "./AssetTypeSchema"; + +export const AssetUncheckedCreateWithoutLoadJobsInputSchema: z.ZodType = + z + .object({ + id: z.number().int().optional(), + name: z.string(), + type: z.lazy(() => AssetTypeSchema), + rundownId: z.number().int(), + mediaId: z.number().int(), + }) + .strict(); + +export default AssetUncheckedCreateWithoutLoadJobsInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/AssetUncheckedCreateWithoutMediaInputSchema.ts b/utility/prisma/types/inputTypeSchemas/AssetUncheckedCreateWithoutMediaInputSchema.ts new file mode 100644 index 00000000..d2c676fe --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/AssetUncheckedCreateWithoutMediaInputSchema.ts @@ -0,0 +1,21 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { AssetTypeSchema } from "./AssetTypeSchema"; +import { LoadAssetJobUncheckedCreateNestedManyWithoutAssetInputSchema } from "./LoadAssetJobUncheckedCreateNestedManyWithoutAssetInputSchema"; + +export const AssetUncheckedCreateWithoutMediaInputSchema: z.ZodType = + z + .object({ + id: z.number().int().optional(), + name: z.string(), + type: z.lazy(() => AssetTypeSchema), + rundownId: z.number().int(), + loadJobs: z + .lazy( + () => LoadAssetJobUncheckedCreateNestedManyWithoutAssetInputSchema, + ) + .optional(), + }) + .strict(); + +export default AssetUncheckedCreateWithoutMediaInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/AssetUncheckedCreateWithoutRundownInputSchema.ts b/utility/prisma/types/inputTypeSchemas/AssetUncheckedCreateWithoutRundownInputSchema.ts new file mode 100644 index 00000000..0305e4ae --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/AssetUncheckedCreateWithoutRundownInputSchema.ts @@ -0,0 +1,21 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { AssetTypeSchema } from "./AssetTypeSchema"; +import { LoadAssetJobUncheckedCreateNestedManyWithoutAssetInputSchema } from "./LoadAssetJobUncheckedCreateNestedManyWithoutAssetInputSchema"; + +export const AssetUncheckedCreateWithoutRundownInputSchema: z.ZodType = + z + .object({ + id: z.number().int().optional(), + name: z.string(), + type: z.lazy(() => AssetTypeSchema), + mediaId: z.number().int(), + loadJobs: z + .lazy( + () => LoadAssetJobUncheckedCreateNestedManyWithoutAssetInputSchema, + ) + .optional(), + }) + .strict(); + +export default AssetUncheckedCreateWithoutRundownInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/AssetUncheckedUpdateInputSchema.ts b/utility/prisma/types/inputTypeSchemas/AssetUncheckedUpdateInputSchema.ts new file mode 100644 index 00000000..c4dc6ba8 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/AssetUncheckedUpdateInputSchema.ts @@ -0,0 +1,50 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { IntFieldUpdateOperationsInputSchema } from "./IntFieldUpdateOperationsInputSchema"; +import { StringFieldUpdateOperationsInputSchema } from "./StringFieldUpdateOperationsInputSchema"; +import { AssetTypeSchema } from "./AssetTypeSchema"; +import { EnumAssetTypeFieldUpdateOperationsInputSchema } from "./EnumAssetTypeFieldUpdateOperationsInputSchema"; +import { LoadAssetJobUncheckedUpdateManyWithoutAssetNestedInputSchema } from "./LoadAssetJobUncheckedUpdateManyWithoutAssetNestedInputSchema"; + +export const AssetUncheckedUpdateInputSchema: z.ZodType = + z + .object({ + id: z + .union([ + z.number().int(), + z.lazy(() => IntFieldUpdateOperationsInputSchema), + ]) + .optional(), + name: z + .union([ + z.string(), + z.lazy(() => StringFieldUpdateOperationsInputSchema), + ]) + .optional(), + type: z + .union([ + z.lazy(() => AssetTypeSchema), + z.lazy(() => EnumAssetTypeFieldUpdateOperationsInputSchema), + ]) + .optional(), + rundownId: z + .union([ + z.number().int(), + z.lazy(() => IntFieldUpdateOperationsInputSchema), + ]) + .optional(), + mediaId: z + .union([ + z.number().int(), + z.lazy(() => IntFieldUpdateOperationsInputSchema), + ]) + .optional(), + loadJobs: z + .lazy( + () => LoadAssetJobUncheckedUpdateManyWithoutAssetNestedInputSchema, + ) + .optional(), + }) + .strict(); + +export default AssetUncheckedUpdateInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/AssetUncheckedUpdateManyInputSchema.ts b/utility/prisma/types/inputTypeSchemas/AssetUncheckedUpdateManyInputSchema.ts new file mode 100644 index 00000000..955aae27 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/AssetUncheckedUpdateManyInputSchema.ts @@ -0,0 +1,44 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { IntFieldUpdateOperationsInputSchema } from "./IntFieldUpdateOperationsInputSchema"; +import { StringFieldUpdateOperationsInputSchema } from "./StringFieldUpdateOperationsInputSchema"; +import { AssetTypeSchema } from "./AssetTypeSchema"; +import { EnumAssetTypeFieldUpdateOperationsInputSchema } from "./EnumAssetTypeFieldUpdateOperationsInputSchema"; + +export const AssetUncheckedUpdateManyInputSchema: z.ZodType = + z + .object({ + id: z + .union([ + z.number().int(), + z.lazy(() => IntFieldUpdateOperationsInputSchema), + ]) + .optional(), + name: z + .union([ + z.string(), + z.lazy(() => StringFieldUpdateOperationsInputSchema), + ]) + .optional(), + type: z + .union([ + z.lazy(() => AssetTypeSchema), + z.lazy(() => EnumAssetTypeFieldUpdateOperationsInputSchema), + ]) + .optional(), + rundownId: z + .union([ + z.number().int(), + z.lazy(() => IntFieldUpdateOperationsInputSchema), + ]) + .optional(), + mediaId: z + .union([ + z.number().int(), + z.lazy(() => IntFieldUpdateOperationsInputSchema), + ]) + .optional(), + }) + .strict(); + +export default AssetUncheckedUpdateManyInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/AssetUncheckedUpdateManyWithoutRundownInputSchema.ts b/utility/prisma/types/inputTypeSchemas/AssetUncheckedUpdateManyWithoutRundownInputSchema.ts new file mode 100644 index 00000000..8ebc55f9 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/AssetUncheckedUpdateManyWithoutRundownInputSchema.ts @@ -0,0 +1,38 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { IntFieldUpdateOperationsInputSchema } from "./IntFieldUpdateOperationsInputSchema"; +import { StringFieldUpdateOperationsInputSchema } from "./StringFieldUpdateOperationsInputSchema"; +import { AssetTypeSchema } from "./AssetTypeSchema"; +import { EnumAssetTypeFieldUpdateOperationsInputSchema } from "./EnumAssetTypeFieldUpdateOperationsInputSchema"; + +export const AssetUncheckedUpdateManyWithoutRundownInputSchema: z.ZodType = + z + .object({ + id: z + .union([ + z.number().int(), + z.lazy(() => IntFieldUpdateOperationsInputSchema), + ]) + .optional(), + name: z + .union([ + z.string(), + z.lazy(() => StringFieldUpdateOperationsInputSchema), + ]) + .optional(), + type: z + .union([ + z.lazy(() => AssetTypeSchema), + z.lazy(() => EnumAssetTypeFieldUpdateOperationsInputSchema), + ]) + .optional(), + mediaId: z + .union([ + z.number().int(), + z.lazy(() => IntFieldUpdateOperationsInputSchema), + ]) + .optional(), + }) + .strict(); + +export default AssetUncheckedUpdateManyWithoutRundownInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/AssetUncheckedUpdateManyWithoutRundownNestedInputSchema.ts b/utility/prisma/types/inputTypeSchemas/AssetUncheckedUpdateManyWithoutRundownNestedInputSchema.ts new file mode 100644 index 00000000..d323d4a5 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/AssetUncheckedUpdateManyWithoutRundownNestedInputSchema.ts @@ -0,0 +1,90 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { AssetCreateWithoutRundownInputSchema } from "./AssetCreateWithoutRundownInputSchema"; +import { AssetUncheckedCreateWithoutRundownInputSchema } from "./AssetUncheckedCreateWithoutRundownInputSchema"; +import { AssetCreateOrConnectWithoutRundownInputSchema } from "./AssetCreateOrConnectWithoutRundownInputSchema"; +import { AssetUpsertWithWhereUniqueWithoutRundownInputSchema } from "./AssetUpsertWithWhereUniqueWithoutRundownInputSchema"; +import { AssetCreateManyRundownInputEnvelopeSchema } from "./AssetCreateManyRundownInputEnvelopeSchema"; +import { AssetWhereUniqueInputSchema } from "./AssetWhereUniqueInputSchema"; +import { AssetUpdateWithWhereUniqueWithoutRundownInputSchema } from "./AssetUpdateWithWhereUniqueWithoutRundownInputSchema"; +import { AssetUpdateManyWithWhereWithoutRundownInputSchema } from "./AssetUpdateManyWithWhereWithoutRundownInputSchema"; +import { AssetScalarWhereInputSchema } from "./AssetScalarWhereInputSchema"; + +export const AssetUncheckedUpdateManyWithoutRundownNestedInputSchema: z.ZodType = + z + .object({ + create: z + .union([ + z.lazy(() => AssetCreateWithoutRundownInputSchema), + z.lazy(() => AssetCreateWithoutRundownInputSchema).array(), + z.lazy(() => AssetUncheckedCreateWithoutRundownInputSchema), + z.lazy(() => AssetUncheckedCreateWithoutRundownInputSchema).array(), + ]) + .optional(), + connectOrCreate: z + .union([ + z.lazy(() => AssetCreateOrConnectWithoutRundownInputSchema), + z.lazy(() => AssetCreateOrConnectWithoutRundownInputSchema).array(), + ]) + .optional(), + upsert: z + .union([ + z.lazy(() => AssetUpsertWithWhereUniqueWithoutRundownInputSchema), + z + .lazy(() => AssetUpsertWithWhereUniqueWithoutRundownInputSchema) + .array(), + ]) + .optional(), + createMany: z + .lazy(() => AssetCreateManyRundownInputEnvelopeSchema) + .optional(), + set: z + .union([ + z.lazy(() => AssetWhereUniqueInputSchema), + z.lazy(() => AssetWhereUniqueInputSchema).array(), + ]) + .optional(), + disconnect: z + .union([ + z.lazy(() => AssetWhereUniqueInputSchema), + z.lazy(() => AssetWhereUniqueInputSchema).array(), + ]) + .optional(), + delete: z + .union([ + z.lazy(() => AssetWhereUniqueInputSchema), + z.lazy(() => AssetWhereUniqueInputSchema).array(), + ]) + .optional(), + connect: z + .union([ + z.lazy(() => AssetWhereUniqueInputSchema), + z.lazy(() => AssetWhereUniqueInputSchema).array(), + ]) + .optional(), + update: z + .union([ + z.lazy(() => AssetUpdateWithWhereUniqueWithoutRundownInputSchema), + z + .lazy(() => AssetUpdateWithWhereUniqueWithoutRundownInputSchema) + .array(), + ]) + .optional(), + updateMany: z + .union([ + z.lazy(() => AssetUpdateManyWithWhereWithoutRundownInputSchema), + z + .lazy(() => AssetUpdateManyWithWhereWithoutRundownInputSchema) + .array(), + ]) + .optional(), + deleteMany: z + .union([ + z.lazy(() => AssetScalarWhereInputSchema), + z.lazy(() => AssetScalarWhereInputSchema).array(), + ]) + .optional(), + }) + .strict(); + +export default AssetUncheckedUpdateManyWithoutRundownNestedInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/AssetUncheckedUpdateOneWithoutMediaNestedInputSchema.ts b/utility/prisma/types/inputTypeSchemas/AssetUncheckedUpdateOneWithoutMediaNestedInputSchema.ts new file mode 100644 index 00000000..11dd77ea --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/AssetUncheckedUpdateOneWithoutMediaNestedInputSchema.ts @@ -0,0 +1,43 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { AssetCreateWithoutMediaInputSchema } from "./AssetCreateWithoutMediaInputSchema"; +import { AssetUncheckedCreateWithoutMediaInputSchema } from "./AssetUncheckedCreateWithoutMediaInputSchema"; +import { AssetCreateOrConnectWithoutMediaInputSchema } from "./AssetCreateOrConnectWithoutMediaInputSchema"; +import { AssetUpsertWithoutMediaInputSchema } from "./AssetUpsertWithoutMediaInputSchema"; +import { AssetWhereInputSchema } from "./AssetWhereInputSchema"; +import { AssetWhereUniqueInputSchema } from "./AssetWhereUniqueInputSchema"; +import { AssetUpdateToOneWithWhereWithoutMediaInputSchema } from "./AssetUpdateToOneWithWhereWithoutMediaInputSchema"; +import { AssetUpdateWithoutMediaInputSchema } from "./AssetUpdateWithoutMediaInputSchema"; +import { AssetUncheckedUpdateWithoutMediaInputSchema } from "./AssetUncheckedUpdateWithoutMediaInputSchema"; + +export const AssetUncheckedUpdateOneWithoutMediaNestedInputSchema: z.ZodType = + z + .object({ + create: z + .union([ + z.lazy(() => AssetCreateWithoutMediaInputSchema), + z.lazy(() => AssetUncheckedCreateWithoutMediaInputSchema), + ]) + .optional(), + connectOrCreate: z + .lazy(() => AssetCreateOrConnectWithoutMediaInputSchema) + .optional(), + upsert: z.lazy(() => AssetUpsertWithoutMediaInputSchema).optional(), + disconnect: z + .union([z.boolean(), z.lazy(() => AssetWhereInputSchema)]) + .optional(), + delete: z + .union([z.boolean(), z.lazy(() => AssetWhereInputSchema)]) + .optional(), + connect: z.lazy(() => AssetWhereUniqueInputSchema).optional(), + update: z + .union([ + z.lazy(() => AssetUpdateToOneWithWhereWithoutMediaInputSchema), + z.lazy(() => AssetUpdateWithoutMediaInputSchema), + z.lazy(() => AssetUncheckedUpdateWithoutMediaInputSchema), + ]) + .optional(), + }) + .strict(); + +export default AssetUncheckedUpdateOneWithoutMediaNestedInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/AssetUncheckedUpdateWithoutLoadJobsInputSchema.ts b/utility/prisma/types/inputTypeSchemas/AssetUncheckedUpdateWithoutLoadJobsInputSchema.ts new file mode 100644 index 00000000..745cae8d --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/AssetUncheckedUpdateWithoutLoadJobsInputSchema.ts @@ -0,0 +1,44 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { IntFieldUpdateOperationsInputSchema } from "./IntFieldUpdateOperationsInputSchema"; +import { StringFieldUpdateOperationsInputSchema } from "./StringFieldUpdateOperationsInputSchema"; +import { AssetTypeSchema } from "./AssetTypeSchema"; +import { EnumAssetTypeFieldUpdateOperationsInputSchema } from "./EnumAssetTypeFieldUpdateOperationsInputSchema"; + +export const AssetUncheckedUpdateWithoutLoadJobsInputSchema: z.ZodType = + z + .object({ + id: z + .union([ + z.number().int(), + z.lazy(() => IntFieldUpdateOperationsInputSchema), + ]) + .optional(), + name: z + .union([ + z.string(), + z.lazy(() => StringFieldUpdateOperationsInputSchema), + ]) + .optional(), + type: z + .union([ + z.lazy(() => AssetTypeSchema), + z.lazy(() => EnumAssetTypeFieldUpdateOperationsInputSchema), + ]) + .optional(), + rundownId: z + .union([ + z.number().int(), + z.lazy(() => IntFieldUpdateOperationsInputSchema), + ]) + .optional(), + mediaId: z + .union([ + z.number().int(), + z.lazy(() => IntFieldUpdateOperationsInputSchema), + ]) + .optional(), + }) + .strict(); + +export default AssetUncheckedUpdateWithoutLoadJobsInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/AssetUncheckedUpdateWithoutMediaInputSchema.ts b/utility/prisma/types/inputTypeSchemas/AssetUncheckedUpdateWithoutMediaInputSchema.ts new file mode 100644 index 00000000..a159de31 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/AssetUncheckedUpdateWithoutMediaInputSchema.ts @@ -0,0 +1,44 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { IntFieldUpdateOperationsInputSchema } from "./IntFieldUpdateOperationsInputSchema"; +import { StringFieldUpdateOperationsInputSchema } from "./StringFieldUpdateOperationsInputSchema"; +import { AssetTypeSchema } from "./AssetTypeSchema"; +import { EnumAssetTypeFieldUpdateOperationsInputSchema } from "./EnumAssetTypeFieldUpdateOperationsInputSchema"; +import { LoadAssetJobUncheckedUpdateManyWithoutAssetNestedInputSchema } from "./LoadAssetJobUncheckedUpdateManyWithoutAssetNestedInputSchema"; + +export const AssetUncheckedUpdateWithoutMediaInputSchema: z.ZodType = + z + .object({ + id: z + .union([ + z.number().int(), + z.lazy(() => IntFieldUpdateOperationsInputSchema), + ]) + .optional(), + name: z + .union([ + z.string(), + z.lazy(() => StringFieldUpdateOperationsInputSchema), + ]) + .optional(), + type: z + .union([ + z.lazy(() => AssetTypeSchema), + z.lazy(() => EnumAssetTypeFieldUpdateOperationsInputSchema), + ]) + .optional(), + rundownId: z + .union([ + z.number().int(), + z.lazy(() => IntFieldUpdateOperationsInputSchema), + ]) + .optional(), + loadJobs: z + .lazy( + () => LoadAssetJobUncheckedUpdateManyWithoutAssetNestedInputSchema, + ) + .optional(), + }) + .strict(); + +export default AssetUncheckedUpdateWithoutMediaInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/AssetUncheckedUpdateWithoutRundownInputSchema.ts b/utility/prisma/types/inputTypeSchemas/AssetUncheckedUpdateWithoutRundownInputSchema.ts new file mode 100644 index 00000000..471c83e5 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/AssetUncheckedUpdateWithoutRundownInputSchema.ts @@ -0,0 +1,44 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { IntFieldUpdateOperationsInputSchema } from "./IntFieldUpdateOperationsInputSchema"; +import { StringFieldUpdateOperationsInputSchema } from "./StringFieldUpdateOperationsInputSchema"; +import { AssetTypeSchema } from "./AssetTypeSchema"; +import { EnumAssetTypeFieldUpdateOperationsInputSchema } from "./EnumAssetTypeFieldUpdateOperationsInputSchema"; +import { LoadAssetJobUncheckedUpdateManyWithoutAssetNestedInputSchema } from "./LoadAssetJobUncheckedUpdateManyWithoutAssetNestedInputSchema"; + +export const AssetUncheckedUpdateWithoutRundownInputSchema: z.ZodType = + z + .object({ + id: z + .union([ + z.number().int(), + z.lazy(() => IntFieldUpdateOperationsInputSchema), + ]) + .optional(), + name: z + .union([ + z.string(), + z.lazy(() => StringFieldUpdateOperationsInputSchema), + ]) + .optional(), + type: z + .union([ + z.lazy(() => AssetTypeSchema), + z.lazy(() => EnumAssetTypeFieldUpdateOperationsInputSchema), + ]) + .optional(), + mediaId: z + .union([ + z.number().int(), + z.lazy(() => IntFieldUpdateOperationsInputSchema), + ]) + .optional(), + loadJobs: z + .lazy( + () => LoadAssetJobUncheckedUpdateManyWithoutAssetNestedInputSchema, + ) + .optional(), + }) + .strict(); + +export default AssetUncheckedUpdateWithoutRundownInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/AssetUpdateInputSchema.ts b/utility/prisma/types/inputTypeSchemas/AssetUpdateInputSchema.ts new file mode 100644 index 00000000..d8900e48 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/AssetUpdateInputSchema.ts @@ -0,0 +1,33 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { StringFieldUpdateOperationsInputSchema } from "./StringFieldUpdateOperationsInputSchema"; +import { AssetTypeSchema } from "./AssetTypeSchema"; +import { EnumAssetTypeFieldUpdateOperationsInputSchema } from "./EnumAssetTypeFieldUpdateOperationsInputSchema"; +import { MediaUpdateOneRequiredWithoutAssetNestedInputSchema } from "./MediaUpdateOneRequiredWithoutAssetNestedInputSchema"; +import { RundownUpdateOneRequiredWithoutAssetsNestedInputSchema } from "./RundownUpdateOneRequiredWithoutAssetsNestedInputSchema"; +import { LoadAssetJobUpdateManyWithoutAssetNestedInputSchema } from "./LoadAssetJobUpdateManyWithoutAssetNestedInputSchema"; + +export const AssetUpdateInputSchema: z.ZodType = z + .object({ + name: z + .union([z.string(), z.lazy(() => StringFieldUpdateOperationsInputSchema)]) + .optional(), + type: z + .union([ + z.lazy(() => AssetTypeSchema), + z.lazy(() => EnumAssetTypeFieldUpdateOperationsInputSchema), + ]) + .optional(), + media: z + .lazy(() => MediaUpdateOneRequiredWithoutAssetNestedInputSchema) + .optional(), + rundown: z + .lazy(() => RundownUpdateOneRequiredWithoutAssetsNestedInputSchema) + .optional(), + loadJobs: z + .lazy(() => LoadAssetJobUpdateManyWithoutAssetNestedInputSchema) + .optional(), + }) + .strict(); + +export default AssetUpdateInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/AssetUpdateManyMutationInputSchema.ts b/utility/prisma/types/inputTypeSchemas/AssetUpdateManyMutationInputSchema.ts new file mode 100644 index 00000000..f124e4b9 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/AssetUpdateManyMutationInputSchema.ts @@ -0,0 +1,25 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { StringFieldUpdateOperationsInputSchema } from "./StringFieldUpdateOperationsInputSchema"; +import { AssetTypeSchema } from "./AssetTypeSchema"; +import { EnumAssetTypeFieldUpdateOperationsInputSchema } from "./EnumAssetTypeFieldUpdateOperationsInputSchema"; + +export const AssetUpdateManyMutationInputSchema: z.ZodType = + z + .object({ + name: z + .union([ + z.string(), + z.lazy(() => StringFieldUpdateOperationsInputSchema), + ]) + .optional(), + type: z + .union([ + z.lazy(() => AssetTypeSchema), + z.lazy(() => EnumAssetTypeFieldUpdateOperationsInputSchema), + ]) + .optional(), + }) + .strict(); + +export default AssetUpdateManyMutationInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/AssetUpdateManyWithWhereWithoutRundownInputSchema.ts b/utility/prisma/types/inputTypeSchemas/AssetUpdateManyWithWhereWithoutRundownInputSchema.ts new file mode 100644 index 00000000..09a460f2 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/AssetUpdateManyWithWhereWithoutRundownInputSchema.ts @@ -0,0 +1,18 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { AssetScalarWhereInputSchema } from "./AssetScalarWhereInputSchema"; +import { AssetUpdateManyMutationInputSchema } from "./AssetUpdateManyMutationInputSchema"; +import { AssetUncheckedUpdateManyWithoutRundownInputSchema } from "./AssetUncheckedUpdateManyWithoutRundownInputSchema"; + +export const AssetUpdateManyWithWhereWithoutRundownInputSchema: z.ZodType = + z + .object({ + where: z.lazy(() => AssetScalarWhereInputSchema), + data: z.union([ + z.lazy(() => AssetUpdateManyMutationInputSchema), + z.lazy(() => AssetUncheckedUpdateManyWithoutRundownInputSchema), + ]), + }) + .strict(); + +export default AssetUpdateManyWithWhereWithoutRundownInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/AssetUpdateManyWithoutRundownNestedInputSchema.ts b/utility/prisma/types/inputTypeSchemas/AssetUpdateManyWithoutRundownNestedInputSchema.ts new file mode 100644 index 00000000..30d23537 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/AssetUpdateManyWithoutRundownNestedInputSchema.ts @@ -0,0 +1,90 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { AssetCreateWithoutRundownInputSchema } from "./AssetCreateWithoutRundownInputSchema"; +import { AssetUncheckedCreateWithoutRundownInputSchema } from "./AssetUncheckedCreateWithoutRundownInputSchema"; +import { AssetCreateOrConnectWithoutRundownInputSchema } from "./AssetCreateOrConnectWithoutRundownInputSchema"; +import { AssetUpsertWithWhereUniqueWithoutRundownInputSchema } from "./AssetUpsertWithWhereUniqueWithoutRundownInputSchema"; +import { AssetCreateManyRundownInputEnvelopeSchema } from "./AssetCreateManyRundownInputEnvelopeSchema"; +import { AssetWhereUniqueInputSchema } from "./AssetWhereUniqueInputSchema"; +import { AssetUpdateWithWhereUniqueWithoutRundownInputSchema } from "./AssetUpdateWithWhereUniqueWithoutRundownInputSchema"; +import { AssetUpdateManyWithWhereWithoutRundownInputSchema } from "./AssetUpdateManyWithWhereWithoutRundownInputSchema"; +import { AssetScalarWhereInputSchema } from "./AssetScalarWhereInputSchema"; + +export const AssetUpdateManyWithoutRundownNestedInputSchema: z.ZodType = + z + .object({ + create: z + .union([ + z.lazy(() => AssetCreateWithoutRundownInputSchema), + z.lazy(() => AssetCreateWithoutRundownInputSchema).array(), + z.lazy(() => AssetUncheckedCreateWithoutRundownInputSchema), + z.lazy(() => AssetUncheckedCreateWithoutRundownInputSchema).array(), + ]) + .optional(), + connectOrCreate: z + .union([ + z.lazy(() => AssetCreateOrConnectWithoutRundownInputSchema), + z.lazy(() => AssetCreateOrConnectWithoutRundownInputSchema).array(), + ]) + .optional(), + upsert: z + .union([ + z.lazy(() => AssetUpsertWithWhereUniqueWithoutRundownInputSchema), + z + .lazy(() => AssetUpsertWithWhereUniqueWithoutRundownInputSchema) + .array(), + ]) + .optional(), + createMany: z + .lazy(() => AssetCreateManyRundownInputEnvelopeSchema) + .optional(), + set: z + .union([ + z.lazy(() => AssetWhereUniqueInputSchema), + z.lazy(() => AssetWhereUniqueInputSchema).array(), + ]) + .optional(), + disconnect: z + .union([ + z.lazy(() => AssetWhereUniqueInputSchema), + z.lazy(() => AssetWhereUniqueInputSchema).array(), + ]) + .optional(), + delete: z + .union([ + z.lazy(() => AssetWhereUniqueInputSchema), + z.lazy(() => AssetWhereUniqueInputSchema).array(), + ]) + .optional(), + connect: z + .union([ + z.lazy(() => AssetWhereUniqueInputSchema), + z.lazy(() => AssetWhereUniqueInputSchema).array(), + ]) + .optional(), + update: z + .union([ + z.lazy(() => AssetUpdateWithWhereUniqueWithoutRundownInputSchema), + z + .lazy(() => AssetUpdateWithWhereUniqueWithoutRundownInputSchema) + .array(), + ]) + .optional(), + updateMany: z + .union([ + z.lazy(() => AssetUpdateManyWithWhereWithoutRundownInputSchema), + z + .lazy(() => AssetUpdateManyWithWhereWithoutRundownInputSchema) + .array(), + ]) + .optional(), + deleteMany: z + .union([ + z.lazy(() => AssetScalarWhereInputSchema), + z.lazy(() => AssetScalarWhereInputSchema).array(), + ]) + .optional(), + }) + .strict(); + +export default AssetUpdateManyWithoutRundownNestedInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/AssetUpdateOneRequiredWithoutLoadJobsNestedInputSchema.ts b/utility/prisma/types/inputTypeSchemas/AssetUpdateOneRequiredWithoutLoadJobsNestedInputSchema.ts new file mode 100644 index 00000000..b29124f6 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/AssetUpdateOneRequiredWithoutLoadJobsNestedInputSchema.ts @@ -0,0 +1,36 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { AssetCreateWithoutLoadJobsInputSchema } from "./AssetCreateWithoutLoadJobsInputSchema"; +import { AssetUncheckedCreateWithoutLoadJobsInputSchema } from "./AssetUncheckedCreateWithoutLoadJobsInputSchema"; +import { AssetCreateOrConnectWithoutLoadJobsInputSchema } from "./AssetCreateOrConnectWithoutLoadJobsInputSchema"; +import { AssetUpsertWithoutLoadJobsInputSchema } from "./AssetUpsertWithoutLoadJobsInputSchema"; +import { AssetWhereUniqueInputSchema } from "./AssetWhereUniqueInputSchema"; +import { AssetUpdateToOneWithWhereWithoutLoadJobsInputSchema } from "./AssetUpdateToOneWithWhereWithoutLoadJobsInputSchema"; +import { AssetUpdateWithoutLoadJobsInputSchema } from "./AssetUpdateWithoutLoadJobsInputSchema"; +import { AssetUncheckedUpdateWithoutLoadJobsInputSchema } from "./AssetUncheckedUpdateWithoutLoadJobsInputSchema"; + +export const AssetUpdateOneRequiredWithoutLoadJobsNestedInputSchema: z.ZodType = + z + .object({ + create: z + .union([ + z.lazy(() => AssetCreateWithoutLoadJobsInputSchema), + z.lazy(() => AssetUncheckedCreateWithoutLoadJobsInputSchema), + ]) + .optional(), + connectOrCreate: z + .lazy(() => AssetCreateOrConnectWithoutLoadJobsInputSchema) + .optional(), + upsert: z.lazy(() => AssetUpsertWithoutLoadJobsInputSchema).optional(), + connect: z.lazy(() => AssetWhereUniqueInputSchema).optional(), + update: z + .union([ + z.lazy(() => AssetUpdateToOneWithWhereWithoutLoadJobsInputSchema), + z.lazy(() => AssetUpdateWithoutLoadJobsInputSchema), + z.lazy(() => AssetUncheckedUpdateWithoutLoadJobsInputSchema), + ]) + .optional(), + }) + .strict(); + +export default AssetUpdateOneRequiredWithoutLoadJobsNestedInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/AssetUpdateOneWithoutMediaNestedInputSchema.ts b/utility/prisma/types/inputTypeSchemas/AssetUpdateOneWithoutMediaNestedInputSchema.ts new file mode 100644 index 00000000..5ac664c5 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/AssetUpdateOneWithoutMediaNestedInputSchema.ts @@ -0,0 +1,43 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { AssetCreateWithoutMediaInputSchema } from "./AssetCreateWithoutMediaInputSchema"; +import { AssetUncheckedCreateWithoutMediaInputSchema } from "./AssetUncheckedCreateWithoutMediaInputSchema"; +import { AssetCreateOrConnectWithoutMediaInputSchema } from "./AssetCreateOrConnectWithoutMediaInputSchema"; +import { AssetUpsertWithoutMediaInputSchema } from "./AssetUpsertWithoutMediaInputSchema"; +import { AssetWhereInputSchema } from "./AssetWhereInputSchema"; +import { AssetWhereUniqueInputSchema } from "./AssetWhereUniqueInputSchema"; +import { AssetUpdateToOneWithWhereWithoutMediaInputSchema } from "./AssetUpdateToOneWithWhereWithoutMediaInputSchema"; +import { AssetUpdateWithoutMediaInputSchema } from "./AssetUpdateWithoutMediaInputSchema"; +import { AssetUncheckedUpdateWithoutMediaInputSchema } from "./AssetUncheckedUpdateWithoutMediaInputSchema"; + +export const AssetUpdateOneWithoutMediaNestedInputSchema: z.ZodType = + z + .object({ + create: z + .union([ + z.lazy(() => AssetCreateWithoutMediaInputSchema), + z.lazy(() => AssetUncheckedCreateWithoutMediaInputSchema), + ]) + .optional(), + connectOrCreate: z + .lazy(() => AssetCreateOrConnectWithoutMediaInputSchema) + .optional(), + upsert: z.lazy(() => AssetUpsertWithoutMediaInputSchema).optional(), + disconnect: z + .union([z.boolean(), z.lazy(() => AssetWhereInputSchema)]) + .optional(), + delete: z + .union([z.boolean(), z.lazy(() => AssetWhereInputSchema)]) + .optional(), + connect: z.lazy(() => AssetWhereUniqueInputSchema).optional(), + update: z + .union([ + z.lazy(() => AssetUpdateToOneWithWhereWithoutMediaInputSchema), + z.lazy(() => AssetUpdateWithoutMediaInputSchema), + z.lazy(() => AssetUncheckedUpdateWithoutMediaInputSchema), + ]) + .optional(), + }) + .strict(); + +export default AssetUpdateOneWithoutMediaNestedInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/AssetUpdateToOneWithWhereWithoutLoadJobsInputSchema.ts b/utility/prisma/types/inputTypeSchemas/AssetUpdateToOneWithWhereWithoutLoadJobsInputSchema.ts new file mode 100644 index 00000000..8fdcf230 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/AssetUpdateToOneWithWhereWithoutLoadJobsInputSchema.ts @@ -0,0 +1,18 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { AssetWhereInputSchema } from "./AssetWhereInputSchema"; +import { AssetUpdateWithoutLoadJobsInputSchema } from "./AssetUpdateWithoutLoadJobsInputSchema"; +import { AssetUncheckedUpdateWithoutLoadJobsInputSchema } from "./AssetUncheckedUpdateWithoutLoadJobsInputSchema"; + +export const AssetUpdateToOneWithWhereWithoutLoadJobsInputSchema: z.ZodType = + z + .object({ + where: z.lazy(() => AssetWhereInputSchema).optional(), + data: z.union([ + z.lazy(() => AssetUpdateWithoutLoadJobsInputSchema), + z.lazy(() => AssetUncheckedUpdateWithoutLoadJobsInputSchema), + ]), + }) + .strict(); + +export default AssetUpdateToOneWithWhereWithoutLoadJobsInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/AssetUpdateToOneWithWhereWithoutMediaInputSchema.ts b/utility/prisma/types/inputTypeSchemas/AssetUpdateToOneWithWhereWithoutMediaInputSchema.ts new file mode 100644 index 00000000..b804dc66 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/AssetUpdateToOneWithWhereWithoutMediaInputSchema.ts @@ -0,0 +1,18 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { AssetWhereInputSchema } from "./AssetWhereInputSchema"; +import { AssetUpdateWithoutMediaInputSchema } from "./AssetUpdateWithoutMediaInputSchema"; +import { AssetUncheckedUpdateWithoutMediaInputSchema } from "./AssetUncheckedUpdateWithoutMediaInputSchema"; + +export const AssetUpdateToOneWithWhereWithoutMediaInputSchema: z.ZodType = + z + .object({ + where: z.lazy(() => AssetWhereInputSchema).optional(), + data: z.union([ + z.lazy(() => AssetUpdateWithoutMediaInputSchema), + z.lazy(() => AssetUncheckedUpdateWithoutMediaInputSchema), + ]), + }) + .strict(); + +export default AssetUpdateToOneWithWhereWithoutMediaInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/AssetUpdateWithWhereUniqueWithoutRundownInputSchema.ts b/utility/prisma/types/inputTypeSchemas/AssetUpdateWithWhereUniqueWithoutRundownInputSchema.ts new file mode 100644 index 00000000..36b4cea1 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/AssetUpdateWithWhereUniqueWithoutRundownInputSchema.ts @@ -0,0 +1,18 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { AssetWhereUniqueInputSchema } from "./AssetWhereUniqueInputSchema"; +import { AssetUpdateWithoutRundownInputSchema } from "./AssetUpdateWithoutRundownInputSchema"; +import { AssetUncheckedUpdateWithoutRundownInputSchema } from "./AssetUncheckedUpdateWithoutRundownInputSchema"; + +export const AssetUpdateWithWhereUniqueWithoutRundownInputSchema: z.ZodType = + z + .object({ + where: z.lazy(() => AssetWhereUniqueInputSchema), + data: z.union([ + z.lazy(() => AssetUpdateWithoutRundownInputSchema), + z.lazy(() => AssetUncheckedUpdateWithoutRundownInputSchema), + ]), + }) + .strict(); + +export default AssetUpdateWithWhereUniqueWithoutRundownInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/AssetUpdateWithoutLoadJobsInputSchema.ts b/utility/prisma/types/inputTypeSchemas/AssetUpdateWithoutLoadJobsInputSchema.ts new file mode 100644 index 00000000..fdb3fa14 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/AssetUpdateWithoutLoadJobsInputSchema.ts @@ -0,0 +1,33 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { StringFieldUpdateOperationsInputSchema } from "./StringFieldUpdateOperationsInputSchema"; +import { AssetTypeSchema } from "./AssetTypeSchema"; +import { EnumAssetTypeFieldUpdateOperationsInputSchema } from "./EnumAssetTypeFieldUpdateOperationsInputSchema"; +import { MediaUpdateOneRequiredWithoutAssetNestedInputSchema } from "./MediaUpdateOneRequiredWithoutAssetNestedInputSchema"; +import { RundownUpdateOneRequiredWithoutAssetsNestedInputSchema } from "./RundownUpdateOneRequiredWithoutAssetsNestedInputSchema"; + +export const AssetUpdateWithoutLoadJobsInputSchema: z.ZodType = + z + .object({ + name: z + .union([ + z.string(), + z.lazy(() => StringFieldUpdateOperationsInputSchema), + ]) + .optional(), + type: z + .union([ + z.lazy(() => AssetTypeSchema), + z.lazy(() => EnumAssetTypeFieldUpdateOperationsInputSchema), + ]) + .optional(), + media: z + .lazy(() => MediaUpdateOneRequiredWithoutAssetNestedInputSchema) + .optional(), + rundown: z + .lazy(() => RundownUpdateOneRequiredWithoutAssetsNestedInputSchema) + .optional(), + }) + .strict(); + +export default AssetUpdateWithoutLoadJobsInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/AssetUpdateWithoutMediaInputSchema.ts b/utility/prisma/types/inputTypeSchemas/AssetUpdateWithoutMediaInputSchema.ts new file mode 100644 index 00000000..862b3f8e --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/AssetUpdateWithoutMediaInputSchema.ts @@ -0,0 +1,33 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { StringFieldUpdateOperationsInputSchema } from "./StringFieldUpdateOperationsInputSchema"; +import { AssetTypeSchema } from "./AssetTypeSchema"; +import { EnumAssetTypeFieldUpdateOperationsInputSchema } from "./EnumAssetTypeFieldUpdateOperationsInputSchema"; +import { RundownUpdateOneRequiredWithoutAssetsNestedInputSchema } from "./RundownUpdateOneRequiredWithoutAssetsNestedInputSchema"; +import { LoadAssetJobUpdateManyWithoutAssetNestedInputSchema } from "./LoadAssetJobUpdateManyWithoutAssetNestedInputSchema"; + +export const AssetUpdateWithoutMediaInputSchema: z.ZodType = + z + .object({ + name: z + .union([ + z.string(), + z.lazy(() => StringFieldUpdateOperationsInputSchema), + ]) + .optional(), + type: z + .union([ + z.lazy(() => AssetTypeSchema), + z.lazy(() => EnumAssetTypeFieldUpdateOperationsInputSchema), + ]) + .optional(), + rundown: z + .lazy(() => RundownUpdateOneRequiredWithoutAssetsNestedInputSchema) + .optional(), + loadJobs: z + .lazy(() => LoadAssetJobUpdateManyWithoutAssetNestedInputSchema) + .optional(), + }) + .strict(); + +export default AssetUpdateWithoutMediaInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/AssetUpdateWithoutRundownInputSchema.ts b/utility/prisma/types/inputTypeSchemas/AssetUpdateWithoutRundownInputSchema.ts new file mode 100644 index 00000000..5b55d113 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/AssetUpdateWithoutRundownInputSchema.ts @@ -0,0 +1,33 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { StringFieldUpdateOperationsInputSchema } from "./StringFieldUpdateOperationsInputSchema"; +import { AssetTypeSchema } from "./AssetTypeSchema"; +import { EnumAssetTypeFieldUpdateOperationsInputSchema } from "./EnumAssetTypeFieldUpdateOperationsInputSchema"; +import { MediaUpdateOneRequiredWithoutAssetNestedInputSchema } from "./MediaUpdateOneRequiredWithoutAssetNestedInputSchema"; +import { LoadAssetJobUpdateManyWithoutAssetNestedInputSchema } from "./LoadAssetJobUpdateManyWithoutAssetNestedInputSchema"; + +export const AssetUpdateWithoutRundownInputSchema: z.ZodType = + z + .object({ + name: z + .union([ + z.string(), + z.lazy(() => StringFieldUpdateOperationsInputSchema), + ]) + .optional(), + type: z + .union([ + z.lazy(() => AssetTypeSchema), + z.lazy(() => EnumAssetTypeFieldUpdateOperationsInputSchema), + ]) + .optional(), + media: z + .lazy(() => MediaUpdateOneRequiredWithoutAssetNestedInputSchema) + .optional(), + loadJobs: z + .lazy(() => LoadAssetJobUpdateManyWithoutAssetNestedInputSchema) + .optional(), + }) + .strict(); + +export default AssetUpdateWithoutRundownInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/AssetUpsertWithWhereUniqueWithoutRundownInputSchema.ts b/utility/prisma/types/inputTypeSchemas/AssetUpsertWithWhereUniqueWithoutRundownInputSchema.ts new file mode 100644 index 00000000..5214a88a --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/AssetUpsertWithWhereUniqueWithoutRundownInputSchema.ts @@ -0,0 +1,24 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { AssetWhereUniqueInputSchema } from "./AssetWhereUniqueInputSchema"; +import { AssetUpdateWithoutRundownInputSchema } from "./AssetUpdateWithoutRundownInputSchema"; +import { AssetUncheckedUpdateWithoutRundownInputSchema } from "./AssetUncheckedUpdateWithoutRundownInputSchema"; +import { AssetCreateWithoutRundownInputSchema } from "./AssetCreateWithoutRundownInputSchema"; +import { AssetUncheckedCreateWithoutRundownInputSchema } from "./AssetUncheckedCreateWithoutRundownInputSchema"; + +export const AssetUpsertWithWhereUniqueWithoutRundownInputSchema: z.ZodType = + z + .object({ + where: z.lazy(() => AssetWhereUniqueInputSchema), + update: z.union([ + z.lazy(() => AssetUpdateWithoutRundownInputSchema), + z.lazy(() => AssetUncheckedUpdateWithoutRundownInputSchema), + ]), + create: z.union([ + z.lazy(() => AssetCreateWithoutRundownInputSchema), + z.lazy(() => AssetUncheckedCreateWithoutRundownInputSchema), + ]), + }) + .strict(); + +export default AssetUpsertWithWhereUniqueWithoutRundownInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/AssetUpsertWithoutLoadJobsInputSchema.ts b/utility/prisma/types/inputTypeSchemas/AssetUpsertWithoutLoadJobsInputSchema.ts new file mode 100644 index 00000000..abbecae3 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/AssetUpsertWithoutLoadJobsInputSchema.ts @@ -0,0 +1,24 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { AssetUpdateWithoutLoadJobsInputSchema } from "./AssetUpdateWithoutLoadJobsInputSchema"; +import { AssetUncheckedUpdateWithoutLoadJobsInputSchema } from "./AssetUncheckedUpdateWithoutLoadJobsInputSchema"; +import { AssetCreateWithoutLoadJobsInputSchema } from "./AssetCreateWithoutLoadJobsInputSchema"; +import { AssetUncheckedCreateWithoutLoadJobsInputSchema } from "./AssetUncheckedCreateWithoutLoadJobsInputSchema"; +import { AssetWhereInputSchema } from "./AssetWhereInputSchema"; + +export const AssetUpsertWithoutLoadJobsInputSchema: z.ZodType = + z + .object({ + update: z.union([ + z.lazy(() => AssetUpdateWithoutLoadJobsInputSchema), + z.lazy(() => AssetUncheckedUpdateWithoutLoadJobsInputSchema), + ]), + create: z.union([ + z.lazy(() => AssetCreateWithoutLoadJobsInputSchema), + z.lazy(() => AssetUncheckedCreateWithoutLoadJobsInputSchema), + ]), + where: z.lazy(() => AssetWhereInputSchema).optional(), + }) + .strict(); + +export default AssetUpsertWithoutLoadJobsInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/AssetUpsertWithoutMediaInputSchema.ts b/utility/prisma/types/inputTypeSchemas/AssetUpsertWithoutMediaInputSchema.ts new file mode 100644 index 00000000..a72c1515 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/AssetUpsertWithoutMediaInputSchema.ts @@ -0,0 +1,24 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { AssetUpdateWithoutMediaInputSchema } from "./AssetUpdateWithoutMediaInputSchema"; +import { AssetUncheckedUpdateWithoutMediaInputSchema } from "./AssetUncheckedUpdateWithoutMediaInputSchema"; +import { AssetCreateWithoutMediaInputSchema } from "./AssetCreateWithoutMediaInputSchema"; +import { AssetUncheckedCreateWithoutMediaInputSchema } from "./AssetUncheckedCreateWithoutMediaInputSchema"; +import { AssetWhereInputSchema } from "./AssetWhereInputSchema"; + +export const AssetUpsertWithoutMediaInputSchema: z.ZodType = + z + .object({ + update: z.union([ + z.lazy(() => AssetUpdateWithoutMediaInputSchema), + z.lazy(() => AssetUncheckedUpdateWithoutMediaInputSchema), + ]), + create: z.union([ + z.lazy(() => AssetCreateWithoutMediaInputSchema), + z.lazy(() => AssetUncheckedCreateWithoutMediaInputSchema), + ]), + where: z.lazy(() => AssetWhereInputSchema).optional(), + }) + .strict(); + +export default AssetUpsertWithoutMediaInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/AssetWhereInputSchema.ts b/utility/prisma/types/inputTypeSchemas/AssetWhereInputSchema.ts new file mode 100644 index 00000000..578633eb --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/AssetWhereInputSchema.ts @@ -0,0 +1,57 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { IntFilterSchema } from "./IntFilterSchema"; +import { StringFilterSchema } from "./StringFilterSchema"; +import { EnumAssetTypeFilterSchema } from "./EnumAssetTypeFilterSchema"; +import { AssetTypeSchema } from "./AssetTypeSchema"; +import { MediaRelationFilterSchema } from "./MediaRelationFilterSchema"; +import { MediaWhereInputSchema } from "./MediaWhereInputSchema"; +import { RundownRelationFilterSchema } from "./RundownRelationFilterSchema"; +import { RundownWhereInputSchema } from "./RundownWhereInputSchema"; +import { LoadAssetJobListRelationFilterSchema } from "./LoadAssetJobListRelationFilterSchema"; + +export const AssetWhereInputSchema: z.ZodType = z + .object({ + AND: z + .union([ + z.lazy(() => AssetWhereInputSchema), + z.lazy(() => AssetWhereInputSchema).array(), + ]) + .optional(), + OR: z + .lazy(() => AssetWhereInputSchema) + .array() + .optional(), + NOT: z + .union([ + z.lazy(() => AssetWhereInputSchema), + z.lazy(() => AssetWhereInputSchema).array(), + ]) + .optional(), + id: z.union([z.lazy(() => IntFilterSchema), z.number()]).optional(), + name: z.union([z.lazy(() => StringFilterSchema), z.string()]).optional(), + type: z + .union([ + z.lazy(() => EnumAssetTypeFilterSchema), + z.lazy(() => AssetTypeSchema), + ]) + .optional(), + rundownId: z.union([z.lazy(() => IntFilterSchema), z.number()]).optional(), + mediaId: z.union([z.lazy(() => IntFilterSchema), z.number()]).optional(), + media: z + .union([ + z.lazy(() => MediaRelationFilterSchema), + z.lazy(() => MediaWhereInputSchema), + ]) + .optional(), + rundown: z + .union([ + z.lazy(() => RundownRelationFilterSchema), + z.lazy(() => RundownWhereInputSchema), + ]) + .optional(), + loadJobs: z.lazy(() => LoadAssetJobListRelationFilterSchema).optional(), + }) + .strict(); + +export default AssetWhereInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/AssetWhereUniqueInputSchema.ts b/utility/prisma/types/inputTypeSchemas/AssetWhereUniqueInputSchema.ts new file mode 100644 index 00000000..0692cba9 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/AssetWhereUniqueInputSchema.ts @@ -0,0 +1,80 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { AssetWhereInputSchema } from "./AssetWhereInputSchema"; +import { StringFilterSchema } from "./StringFilterSchema"; +import { EnumAssetTypeFilterSchema } from "./EnumAssetTypeFilterSchema"; +import { AssetTypeSchema } from "./AssetTypeSchema"; +import { IntFilterSchema } from "./IntFilterSchema"; +import { MediaRelationFilterSchema } from "./MediaRelationFilterSchema"; +import { MediaWhereInputSchema } from "./MediaWhereInputSchema"; +import { RundownRelationFilterSchema } from "./RundownRelationFilterSchema"; +import { RundownWhereInputSchema } from "./RundownWhereInputSchema"; +import { LoadAssetJobListRelationFilterSchema } from "./LoadAssetJobListRelationFilterSchema"; + +export const AssetWhereUniqueInputSchema: z.ZodType = + z + .union([ + z.object({ + id: z.number(), + mediaId: z.number(), + }), + z.object({ + id: z.number(), + }), + z.object({ + mediaId: z.number(), + }), + ]) + .and( + z + .object({ + id: z.number().optional(), + mediaId: z.number().optional(), + AND: z + .union([ + z.lazy(() => AssetWhereInputSchema), + z.lazy(() => AssetWhereInputSchema).array(), + ]) + .optional(), + OR: z + .lazy(() => AssetWhereInputSchema) + .array() + .optional(), + NOT: z + .union([ + z.lazy(() => AssetWhereInputSchema), + z.lazy(() => AssetWhereInputSchema).array(), + ]) + .optional(), + name: z + .union([z.lazy(() => StringFilterSchema), z.string()]) + .optional(), + type: z + .union([ + z.lazy(() => EnumAssetTypeFilterSchema), + z.lazy(() => AssetTypeSchema), + ]) + .optional(), + rundownId: z + .union([z.lazy(() => IntFilterSchema), z.number()]) + .optional(), + media: z + .union([ + z.lazy(() => MediaRelationFilterSchema), + z.lazy(() => MediaWhereInputSchema), + ]) + .optional(), + rundown: z + .union([ + z.lazy(() => RundownRelationFilterSchema), + z.lazy(() => RundownWhereInputSchema), + ]) + .optional(), + loadJobs: z + .lazy(() => LoadAssetJobListRelationFilterSchema) + .optional(), + }) + .strict(), + ); + +export default AssetWhereUniqueInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/BaseJobAvgOrderByAggregateInputSchema.ts b/utility/prisma/types/inputTypeSchemas/BaseJobAvgOrderByAggregateInputSchema.ts new file mode 100644 index 00000000..f30780c9 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/BaseJobAvgOrderByAggregateInputSchema.ts @@ -0,0 +1,12 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { SortOrderSchema } from "./SortOrderSchema"; + +export const BaseJobAvgOrderByAggregateInputSchema: z.ZodType = + z + .object({ + id: z.lazy(() => SortOrderSchema).optional(), + }) + .strict(); + +export default BaseJobAvgOrderByAggregateInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/BaseJobCountOrderByAggregateInputSchema.ts b/utility/prisma/types/inputTypeSchemas/BaseJobCountOrderByAggregateInputSchema.ts new file mode 100644 index 00000000..7425285b --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/BaseJobCountOrderByAggregateInputSchema.ts @@ -0,0 +1,19 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { SortOrderSchema } from "./SortOrderSchema"; + +export const BaseJobCountOrderByAggregateInputSchema: z.ZodType = + z + .object({ + id: z.lazy(() => SortOrderSchema).optional(), + workerId: z.lazy(() => SortOrderSchema).optional(), + state: z.lazy(() => SortOrderSchema).optional(), + createdAt: z.lazy(() => SortOrderSchema).optional(), + startedAt: z.lazy(() => SortOrderSchema).optional(), + completedAt: z.lazy(() => SortOrderSchema).optional(), + externalJobProvider: z.lazy(() => SortOrderSchema).optional(), + externalJobID: z.lazy(() => SortOrderSchema).optional(), + }) + .strict(); + +export default BaseJobCountOrderByAggregateInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/BaseJobCreateInputSchema.ts b/utility/prisma/types/inputTypeSchemas/BaseJobCreateInputSchema.ts new file mode 100644 index 00000000..fede16a5 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/BaseJobCreateInputSchema.ts @@ -0,0 +1,29 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { JobStateSchema } from "./JobStateSchema"; +import { ProcessMediaJobCreateNestedOneWithoutBase_jobInputSchema } from "./ProcessMediaJobCreateNestedOneWithoutBase_jobInputSchema"; +import { LoadAssetJobCreateNestedOneWithoutBase_jobInputSchema } from "./LoadAssetJobCreateNestedOneWithoutBase_jobInputSchema"; +import { DummyTestJobCreateNestedManyWithoutBase_jobInputSchema } from "./DummyTestJobCreateNestedManyWithoutBase_jobInputSchema"; + +export const BaseJobCreateInputSchema: z.ZodType = z + .object({ + workerId: z.string().optional().nullable(), + state: z.lazy(() => JobStateSchema).optional(), + createdAt: z.coerce.date().optional(), + startedAt: z.coerce.date().optional().nullable(), + completedAt: z.coerce.date().optional().nullable(), + externalJobProvider: z.string().optional().nullable(), + externalJobID: z.string().optional().nullable(), + ProcessMediaJob: z + .lazy(() => ProcessMediaJobCreateNestedOneWithoutBase_jobInputSchema) + .optional(), + LoadAssetJob: z + .lazy(() => LoadAssetJobCreateNestedOneWithoutBase_jobInputSchema) + .optional(), + DummyTestJob: z + .lazy(() => DummyTestJobCreateNestedManyWithoutBase_jobInputSchema) + .optional(), + }) + .strict(); + +export default BaseJobCreateInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/BaseJobCreateManyInputSchema.ts b/utility/prisma/types/inputTypeSchemas/BaseJobCreateManyInputSchema.ts new file mode 100644 index 00000000..891588e7 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/BaseJobCreateManyInputSchema.ts @@ -0,0 +1,19 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { JobStateSchema } from "./JobStateSchema"; + +export const BaseJobCreateManyInputSchema: z.ZodType = + z + .object({ + id: z.number().int().optional(), + workerId: z.string().optional().nullable(), + state: z.lazy(() => JobStateSchema).optional(), + createdAt: z.coerce.date().optional(), + startedAt: z.coerce.date().optional().nullable(), + completedAt: z.coerce.date().optional().nullable(), + externalJobProvider: z.string().optional().nullable(), + externalJobID: z.string().optional().nullable(), + }) + .strict(); + +export default BaseJobCreateManyInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/BaseJobCreateNestedOneWithoutDummyTestJobInputSchema.ts b/utility/prisma/types/inputTypeSchemas/BaseJobCreateNestedOneWithoutDummyTestJobInputSchema.ts new file mode 100644 index 00000000..a19e6a52 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/BaseJobCreateNestedOneWithoutDummyTestJobInputSchema.ts @@ -0,0 +1,24 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { BaseJobCreateWithoutDummyTestJobInputSchema } from "./BaseJobCreateWithoutDummyTestJobInputSchema"; +import { BaseJobUncheckedCreateWithoutDummyTestJobInputSchema } from "./BaseJobUncheckedCreateWithoutDummyTestJobInputSchema"; +import { BaseJobCreateOrConnectWithoutDummyTestJobInputSchema } from "./BaseJobCreateOrConnectWithoutDummyTestJobInputSchema"; +import { BaseJobWhereUniqueInputSchema } from "./BaseJobWhereUniqueInputSchema"; + +export const BaseJobCreateNestedOneWithoutDummyTestJobInputSchema: z.ZodType = + z + .object({ + create: z + .union([ + z.lazy(() => BaseJobCreateWithoutDummyTestJobInputSchema), + z.lazy(() => BaseJobUncheckedCreateWithoutDummyTestJobInputSchema), + ]) + .optional(), + connectOrCreate: z + .lazy(() => BaseJobCreateOrConnectWithoutDummyTestJobInputSchema) + .optional(), + connect: z.lazy(() => BaseJobWhereUniqueInputSchema).optional(), + }) + .strict(); + +export default BaseJobCreateNestedOneWithoutDummyTestJobInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/BaseJobCreateNestedOneWithoutLoadAssetJobInputSchema.ts b/utility/prisma/types/inputTypeSchemas/BaseJobCreateNestedOneWithoutLoadAssetJobInputSchema.ts new file mode 100644 index 00000000..1a7bc651 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/BaseJobCreateNestedOneWithoutLoadAssetJobInputSchema.ts @@ -0,0 +1,24 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { BaseJobCreateWithoutLoadAssetJobInputSchema } from "./BaseJobCreateWithoutLoadAssetJobInputSchema"; +import { BaseJobUncheckedCreateWithoutLoadAssetJobInputSchema } from "./BaseJobUncheckedCreateWithoutLoadAssetJobInputSchema"; +import { BaseJobCreateOrConnectWithoutLoadAssetJobInputSchema } from "./BaseJobCreateOrConnectWithoutLoadAssetJobInputSchema"; +import { BaseJobWhereUniqueInputSchema } from "./BaseJobWhereUniqueInputSchema"; + +export const BaseJobCreateNestedOneWithoutLoadAssetJobInputSchema: z.ZodType = + z + .object({ + create: z + .union([ + z.lazy(() => BaseJobCreateWithoutLoadAssetJobInputSchema), + z.lazy(() => BaseJobUncheckedCreateWithoutLoadAssetJobInputSchema), + ]) + .optional(), + connectOrCreate: z + .lazy(() => BaseJobCreateOrConnectWithoutLoadAssetJobInputSchema) + .optional(), + connect: z.lazy(() => BaseJobWhereUniqueInputSchema).optional(), + }) + .strict(); + +export default BaseJobCreateNestedOneWithoutLoadAssetJobInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/BaseJobCreateNestedOneWithoutProcessMediaJobInputSchema.ts b/utility/prisma/types/inputTypeSchemas/BaseJobCreateNestedOneWithoutProcessMediaJobInputSchema.ts new file mode 100644 index 00000000..18eb17a3 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/BaseJobCreateNestedOneWithoutProcessMediaJobInputSchema.ts @@ -0,0 +1,24 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { BaseJobCreateWithoutProcessMediaJobInputSchema } from "./BaseJobCreateWithoutProcessMediaJobInputSchema"; +import { BaseJobUncheckedCreateWithoutProcessMediaJobInputSchema } from "./BaseJobUncheckedCreateWithoutProcessMediaJobInputSchema"; +import { BaseJobCreateOrConnectWithoutProcessMediaJobInputSchema } from "./BaseJobCreateOrConnectWithoutProcessMediaJobInputSchema"; +import { BaseJobWhereUniqueInputSchema } from "./BaseJobWhereUniqueInputSchema"; + +export const BaseJobCreateNestedOneWithoutProcessMediaJobInputSchema: z.ZodType = + z + .object({ + create: z + .union([ + z.lazy(() => BaseJobCreateWithoutProcessMediaJobInputSchema), + z.lazy(() => BaseJobUncheckedCreateWithoutProcessMediaJobInputSchema), + ]) + .optional(), + connectOrCreate: z + .lazy(() => BaseJobCreateOrConnectWithoutProcessMediaJobInputSchema) + .optional(), + connect: z.lazy(() => BaseJobWhereUniqueInputSchema).optional(), + }) + .strict(); + +export default BaseJobCreateNestedOneWithoutProcessMediaJobInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/BaseJobCreateOrConnectWithoutDummyTestJobInputSchema.ts b/utility/prisma/types/inputTypeSchemas/BaseJobCreateOrConnectWithoutDummyTestJobInputSchema.ts new file mode 100644 index 00000000..07908be2 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/BaseJobCreateOrConnectWithoutDummyTestJobInputSchema.ts @@ -0,0 +1,18 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { BaseJobWhereUniqueInputSchema } from "./BaseJobWhereUniqueInputSchema"; +import { BaseJobCreateWithoutDummyTestJobInputSchema } from "./BaseJobCreateWithoutDummyTestJobInputSchema"; +import { BaseJobUncheckedCreateWithoutDummyTestJobInputSchema } from "./BaseJobUncheckedCreateWithoutDummyTestJobInputSchema"; + +export const BaseJobCreateOrConnectWithoutDummyTestJobInputSchema: z.ZodType = + z + .object({ + where: z.lazy(() => BaseJobWhereUniqueInputSchema), + create: z.union([ + z.lazy(() => BaseJobCreateWithoutDummyTestJobInputSchema), + z.lazy(() => BaseJobUncheckedCreateWithoutDummyTestJobInputSchema), + ]), + }) + .strict(); + +export default BaseJobCreateOrConnectWithoutDummyTestJobInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/BaseJobCreateOrConnectWithoutLoadAssetJobInputSchema.ts b/utility/prisma/types/inputTypeSchemas/BaseJobCreateOrConnectWithoutLoadAssetJobInputSchema.ts new file mode 100644 index 00000000..e8fc0b15 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/BaseJobCreateOrConnectWithoutLoadAssetJobInputSchema.ts @@ -0,0 +1,18 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { BaseJobWhereUniqueInputSchema } from "./BaseJobWhereUniqueInputSchema"; +import { BaseJobCreateWithoutLoadAssetJobInputSchema } from "./BaseJobCreateWithoutLoadAssetJobInputSchema"; +import { BaseJobUncheckedCreateWithoutLoadAssetJobInputSchema } from "./BaseJobUncheckedCreateWithoutLoadAssetJobInputSchema"; + +export const BaseJobCreateOrConnectWithoutLoadAssetJobInputSchema: z.ZodType = + z + .object({ + where: z.lazy(() => BaseJobWhereUniqueInputSchema), + create: z.union([ + z.lazy(() => BaseJobCreateWithoutLoadAssetJobInputSchema), + z.lazy(() => BaseJobUncheckedCreateWithoutLoadAssetJobInputSchema), + ]), + }) + .strict(); + +export default BaseJobCreateOrConnectWithoutLoadAssetJobInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/BaseJobCreateOrConnectWithoutProcessMediaJobInputSchema.ts b/utility/prisma/types/inputTypeSchemas/BaseJobCreateOrConnectWithoutProcessMediaJobInputSchema.ts new file mode 100644 index 00000000..ec361126 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/BaseJobCreateOrConnectWithoutProcessMediaJobInputSchema.ts @@ -0,0 +1,18 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { BaseJobWhereUniqueInputSchema } from "./BaseJobWhereUniqueInputSchema"; +import { BaseJobCreateWithoutProcessMediaJobInputSchema } from "./BaseJobCreateWithoutProcessMediaJobInputSchema"; +import { BaseJobUncheckedCreateWithoutProcessMediaJobInputSchema } from "./BaseJobUncheckedCreateWithoutProcessMediaJobInputSchema"; + +export const BaseJobCreateOrConnectWithoutProcessMediaJobInputSchema: z.ZodType = + z + .object({ + where: z.lazy(() => BaseJobWhereUniqueInputSchema), + create: z.union([ + z.lazy(() => BaseJobCreateWithoutProcessMediaJobInputSchema), + z.lazy(() => BaseJobUncheckedCreateWithoutProcessMediaJobInputSchema), + ]), + }) + .strict(); + +export default BaseJobCreateOrConnectWithoutProcessMediaJobInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/BaseJobCreateWithoutDummyTestJobInputSchema.ts b/utility/prisma/types/inputTypeSchemas/BaseJobCreateWithoutDummyTestJobInputSchema.ts new file mode 100644 index 00000000..2ad64ee2 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/BaseJobCreateWithoutDummyTestJobInputSchema.ts @@ -0,0 +1,26 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { JobStateSchema } from "./JobStateSchema"; +import { ProcessMediaJobCreateNestedOneWithoutBase_jobInputSchema } from "./ProcessMediaJobCreateNestedOneWithoutBase_jobInputSchema"; +import { LoadAssetJobCreateNestedOneWithoutBase_jobInputSchema } from "./LoadAssetJobCreateNestedOneWithoutBase_jobInputSchema"; + +export const BaseJobCreateWithoutDummyTestJobInputSchema: z.ZodType = + z + .object({ + workerId: z.string().optional().nullable(), + state: z.lazy(() => JobStateSchema).optional(), + createdAt: z.coerce.date().optional(), + startedAt: z.coerce.date().optional().nullable(), + completedAt: z.coerce.date().optional().nullable(), + externalJobProvider: z.string().optional().nullable(), + externalJobID: z.string().optional().nullable(), + ProcessMediaJob: z + .lazy(() => ProcessMediaJobCreateNestedOneWithoutBase_jobInputSchema) + .optional(), + LoadAssetJob: z + .lazy(() => LoadAssetJobCreateNestedOneWithoutBase_jobInputSchema) + .optional(), + }) + .strict(); + +export default BaseJobCreateWithoutDummyTestJobInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/BaseJobCreateWithoutLoadAssetJobInputSchema.ts b/utility/prisma/types/inputTypeSchemas/BaseJobCreateWithoutLoadAssetJobInputSchema.ts new file mode 100644 index 00000000..87e20633 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/BaseJobCreateWithoutLoadAssetJobInputSchema.ts @@ -0,0 +1,26 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { JobStateSchema } from "./JobStateSchema"; +import { ProcessMediaJobCreateNestedOneWithoutBase_jobInputSchema } from "./ProcessMediaJobCreateNestedOneWithoutBase_jobInputSchema"; +import { DummyTestJobCreateNestedManyWithoutBase_jobInputSchema } from "./DummyTestJobCreateNestedManyWithoutBase_jobInputSchema"; + +export const BaseJobCreateWithoutLoadAssetJobInputSchema: z.ZodType = + z + .object({ + workerId: z.string().optional().nullable(), + state: z.lazy(() => JobStateSchema).optional(), + createdAt: z.coerce.date().optional(), + startedAt: z.coerce.date().optional().nullable(), + completedAt: z.coerce.date().optional().nullable(), + externalJobProvider: z.string().optional().nullable(), + externalJobID: z.string().optional().nullable(), + ProcessMediaJob: z + .lazy(() => ProcessMediaJobCreateNestedOneWithoutBase_jobInputSchema) + .optional(), + DummyTestJob: z + .lazy(() => DummyTestJobCreateNestedManyWithoutBase_jobInputSchema) + .optional(), + }) + .strict(); + +export default BaseJobCreateWithoutLoadAssetJobInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/BaseJobCreateWithoutProcessMediaJobInputSchema.ts b/utility/prisma/types/inputTypeSchemas/BaseJobCreateWithoutProcessMediaJobInputSchema.ts new file mode 100644 index 00000000..46389698 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/BaseJobCreateWithoutProcessMediaJobInputSchema.ts @@ -0,0 +1,26 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { JobStateSchema } from "./JobStateSchema"; +import { LoadAssetJobCreateNestedOneWithoutBase_jobInputSchema } from "./LoadAssetJobCreateNestedOneWithoutBase_jobInputSchema"; +import { DummyTestJobCreateNestedManyWithoutBase_jobInputSchema } from "./DummyTestJobCreateNestedManyWithoutBase_jobInputSchema"; + +export const BaseJobCreateWithoutProcessMediaJobInputSchema: z.ZodType = + z + .object({ + workerId: z.string().optional().nullable(), + state: z.lazy(() => JobStateSchema).optional(), + createdAt: z.coerce.date().optional(), + startedAt: z.coerce.date().optional().nullable(), + completedAt: z.coerce.date().optional().nullable(), + externalJobProvider: z.string().optional().nullable(), + externalJobID: z.string().optional().nullable(), + LoadAssetJob: z + .lazy(() => LoadAssetJobCreateNestedOneWithoutBase_jobInputSchema) + .optional(), + DummyTestJob: z + .lazy(() => DummyTestJobCreateNestedManyWithoutBase_jobInputSchema) + .optional(), + }) + .strict(); + +export default BaseJobCreateWithoutProcessMediaJobInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/BaseJobIncludeSchema.ts b/utility/prisma/types/inputTypeSchemas/BaseJobIncludeSchema.ts new file mode 100644 index 00000000..14cf6a7f --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/BaseJobIncludeSchema.ts @@ -0,0 +1,25 @@ +import { z } from "zod"; +import type { Prisma } from "../../client"; +import { ProcessMediaJobArgsSchema } from "../outputTypeSchemas/ProcessMediaJobArgsSchema"; +import { LoadAssetJobArgsSchema } from "../outputTypeSchemas/LoadAssetJobArgsSchema"; +import { DummyTestJobFindManyArgsSchema } from "../outputTypeSchemas/DummyTestJobFindManyArgsSchema"; +import { BaseJobCountOutputTypeArgsSchema } from "../outputTypeSchemas/BaseJobCountOutputTypeArgsSchema"; + +export const BaseJobIncludeSchema: z.ZodType = z + .object({ + ProcessMediaJob: z + .union([z.boolean(), z.lazy(() => ProcessMediaJobArgsSchema)]) + .optional(), + LoadAssetJob: z + .union([z.boolean(), z.lazy(() => LoadAssetJobArgsSchema)]) + .optional(), + DummyTestJob: z + .union([z.boolean(), z.lazy(() => DummyTestJobFindManyArgsSchema)]) + .optional(), + _count: z + .union([z.boolean(), z.lazy(() => BaseJobCountOutputTypeArgsSchema)]) + .optional(), + }) + .strict(); + +export default BaseJobIncludeSchema; diff --git a/utility/prisma/types/inputTypeSchemas/BaseJobMaxOrderByAggregateInputSchema.ts b/utility/prisma/types/inputTypeSchemas/BaseJobMaxOrderByAggregateInputSchema.ts new file mode 100644 index 00000000..349c1cf0 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/BaseJobMaxOrderByAggregateInputSchema.ts @@ -0,0 +1,19 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { SortOrderSchema } from "./SortOrderSchema"; + +export const BaseJobMaxOrderByAggregateInputSchema: z.ZodType = + z + .object({ + id: z.lazy(() => SortOrderSchema).optional(), + workerId: z.lazy(() => SortOrderSchema).optional(), + state: z.lazy(() => SortOrderSchema).optional(), + createdAt: z.lazy(() => SortOrderSchema).optional(), + startedAt: z.lazy(() => SortOrderSchema).optional(), + completedAt: z.lazy(() => SortOrderSchema).optional(), + externalJobProvider: z.lazy(() => SortOrderSchema).optional(), + externalJobID: z.lazy(() => SortOrderSchema).optional(), + }) + .strict(); + +export default BaseJobMaxOrderByAggregateInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/BaseJobMinOrderByAggregateInputSchema.ts b/utility/prisma/types/inputTypeSchemas/BaseJobMinOrderByAggregateInputSchema.ts new file mode 100644 index 00000000..c795d3aa --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/BaseJobMinOrderByAggregateInputSchema.ts @@ -0,0 +1,19 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { SortOrderSchema } from "./SortOrderSchema"; + +export const BaseJobMinOrderByAggregateInputSchema: z.ZodType = + z + .object({ + id: z.lazy(() => SortOrderSchema).optional(), + workerId: z.lazy(() => SortOrderSchema).optional(), + state: z.lazy(() => SortOrderSchema).optional(), + createdAt: z.lazy(() => SortOrderSchema).optional(), + startedAt: z.lazy(() => SortOrderSchema).optional(), + completedAt: z.lazy(() => SortOrderSchema).optional(), + externalJobProvider: z.lazy(() => SortOrderSchema).optional(), + externalJobID: z.lazy(() => SortOrderSchema).optional(), + }) + .strict(); + +export default BaseJobMinOrderByAggregateInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/BaseJobOrderByWithAggregationInputSchema.ts b/utility/prisma/types/inputTypeSchemas/BaseJobOrderByWithAggregationInputSchema.ts new file mode 100644 index 00000000..a46fcd4e --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/BaseJobOrderByWithAggregationInputSchema.ts @@ -0,0 +1,55 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { SortOrderSchema } from "./SortOrderSchema"; +import { SortOrderInputSchema } from "./SortOrderInputSchema"; +import { BaseJobCountOrderByAggregateInputSchema } from "./BaseJobCountOrderByAggregateInputSchema"; +import { BaseJobAvgOrderByAggregateInputSchema } from "./BaseJobAvgOrderByAggregateInputSchema"; +import { BaseJobMaxOrderByAggregateInputSchema } from "./BaseJobMaxOrderByAggregateInputSchema"; +import { BaseJobMinOrderByAggregateInputSchema } from "./BaseJobMinOrderByAggregateInputSchema"; +import { BaseJobSumOrderByAggregateInputSchema } from "./BaseJobSumOrderByAggregateInputSchema"; + +export const BaseJobOrderByWithAggregationInputSchema: z.ZodType = + z + .object({ + id: z.lazy(() => SortOrderSchema).optional(), + workerId: z + .union([ + z.lazy(() => SortOrderSchema), + z.lazy(() => SortOrderInputSchema), + ]) + .optional(), + state: z.lazy(() => SortOrderSchema).optional(), + createdAt: z.lazy(() => SortOrderSchema).optional(), + startedAt: z + .union([ + z.lazy(() => SortOrderSchema), + z.lazy(() => SortOrderInputSchema), + ]) + .optional(), + completedAt: z + .union([ + z.lazy(() => SortOrderSchema), + z.lazy(() => SortOrderInputSchema), + ]) + .optional(), + externalJobProvider: z + .union([ + z.lazy(() => SortOrderSchema), + z.lazy(() => SortOrderInputSchema), + ]) + .optional(), + externalJobID: z + .union([ + z.lazy(() => SortOrderSchema), + z.lazy(() => SortOrderInputSchema), + ]) + .optional(), + _count: z.lazy(() => BaseJobCountOrderByAggregateInputSchema).optional(), + _avg: z.lazy(() => BaseJobAvgOrderByAggregateInputSchema).optional(), + _max: z.lazy(() => BaseJobMaxOrderByAggregateInputSchema).optional(), + _min: z.lazy(() => BaseJobMinOrderByAggregateInputSchema).optional(), + _sum: z.lazy(() => BaseJobSumOrderByAggregateInputSchema).optional(), + }) + .strict(); + +export default BaseJobOrderByWithAggregationInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/BaseJobOrderByWithRelationInputSchema.ts b/utility/prisma/types/inputTypeSchemas/BaseJobOrderByWithRelationInputSchema.ts new file mode 100644 index 00000000..bedc9636 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/BaseJobOrderByWithRelationInputSchema.ts @@ -0,0 +1,57 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { SortOrderSchema } from "./SortOrderSchema"; +import { SortOrderInputSchema } from "./SortOrderInputSchema"; +import { ProcessMediaJobOrderByWithRelationInputSchema } from "./ProcessMediaJobOrderByWithRelationInputSchema"; +import { LoadAssetJobOrderByWithRelationInputSchema } from "./LoadAssetJobOrderByWithRelationInputSchema"; +import { DummyTestJobOrderByRelationAggregateInputSchema } from "./DummyTestJobOrderByRelationAggregateInputSchema"; + +export const BaseJobOrderByWithRelationInputSchema: z.ZodType = + z + .object({ + id: z.lazy(() => SortOrderSchema).optional(), + workerId: z + .union([ + z.lazy(() => SortOrderSchema), + z.lazy(() => SortOrderInputSchema), + ]) + .optional(), + state: z.lazy(() => SortOrderSchema).optional(), + createdAt: z.lazy(() => SortOrderSchema).optional(), + startedAt: z + .union([ + z.lazy(() => SortOrderSchema), + z.lazy(() => SortOrderInputSchema), + ]) + .optional(), + completedAt: z + .union([ + z.lazy(() => SortOrderSchema), + z.lazy(() => SortOrderInputSchema), + ]) + .optional(), + externalJobProvider: z + .union([ + z.lazy(() => SortOrderSchema), + z.lazy(() => SortOrderInputSchema), + ]) + .optional(), + externalJobID: z + .union([ + z.lazy(() => SortOrderSchema), + z.lazy(() => SortOrderInputSchema), + ]) + .optional(), + ProcessMediaJob: z + .lazy(() => ProcessMediaJobOrderByWithRelationInputSchema) + .optional(), + LoadAssetJob: z + .lazy(() => LoadAssetJobOrderByWithRelationInputSchema) + .optional(), + DummyTestJob: z + .lazy(() => DummyTestJobOrderByRelationAggregateInputSchema) + .optional(), + }) + .strict(); + +export default BaseJobOrderByWithRelationInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/BaseJobRelationFilterSchema.ts b/utility/prisma/types/inputTypeSchemas/BaseJobRelationFilterSchema.ts new file mode 100644 index 00000000..cd69de80 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/BaseJobRelationFilterSchema.ts @@ -0,0 +1,13 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { BaseJobWhereInputSchema } from "./BaseJobWhereInputSchema"; + +export const BaseJobRelationFilterSchema: z.ZodType = + z + .object({ + is: z.lazy(() => BaseJobWhereInputSchema).optional(), + isNot: z.lazy(() => BaseJobWhereInputSchema).optional(), + }) + .strict(); + +export default BaseJobRelationFilterSchema; diff --git a/utility/prisma/types/inputTypeSchemas/BaseJobScalarWhereWithAggregatesInputSchema.ts b/utility/prisma/types/inputTypeSchemas/BaseJobScalarWhereWithAggregatesInputSchema.ts new file mode 100644 index 00000000..44754b31 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/BaseJobScalarWhereWithAggregatesInputSchema.ts @@ -0,0 +1,82 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { IntWithAggregatesFilterSchema } from "./IntWithAggregatesFilterSchema"; +import { StringNullableWithAggregatesFilterSchema } from "./StringNullableWithAggregatesFilterSchema"; +import { EnumJobStateWithAggregatesFilterSchema } from "./EnumJobStateWithAggregatesFilterSchema"; +import { JobStateSchema } from "./JobStateSchema"; +import { DateTimeWithAggregatesFilterSchema } from "./DateTimeWithAggregatesFilterSchema"; +import { DateTimeNullableWithAggregatesFilterSchema } from "./DateTimeNullableWithAggregatesFilterSchema"; + +export const BaseJobScalarWhereWithAggregatesInputSchema: z.ZodType = + z + .object({ + AND: z + .union([ + z.lazy(() => BaseJobScalarWhereWithAggregatesInputSchema), + z.lazy(() => BaseJobScalarWhereWithAggregatesInputSchema).array(), + ]) + .optional(), + OR: z + .lazy(() => BaseJobScalarWhereWithAggregatesInputSchema) + .array() + .optional(), + NOT: z + .union([ + z.lazy(() => BaseJobScalarWhereWithAggregatesInputSchema), + z.lazy(() => BaseJobScalarWhereWithAggregatesInputSchema).array(), + ]) + .optional(), + id: z + .union([z.lazy(() => IntWithAggregatesFilterSchema), z.number()]) + .optional(), + workerId: z + .union([ + z.lazy(() => StringNullableWithAggregatesFilterSchema), + z.string(), + ]) + .optional() + .nullable(), + state: z + .union([ + z.lazy(() => EnumJobStateWithAggregatesFilterSchema), + z.lazy(() => JobStateSchema), + ]) + .optional(), + createdAt: z + .union([ + z.lazy(() => DateTimeWithAggregatesFilterSchema), + z.coerce.date(), + ]) + .optional(), + startedAt: z + .union([ + z.lazy(() => DateTimeNullableWithAggregatesFilterSchema), + z.coerce.date(), + ]) + .optional() + .nullable(), + completedAt: z + .union([ + z.lazy(() => DateTimeNullableWithAggregatesFilterSchema), + z.coerce.date(), + ]) + .optional() + .nullable(), + externalJobProvider: z + .union([ + z.lazy(() => StringNullableWithAggregatesFilterSchema), + z.string(), + ]) + .optional() + .nullable(), + externalJobID: z + .union([ + z.lazy(() => StringNullableWithAggregatesFilterSchema), + z.string(), + ]) + .optional() + .nullable(), + }) + .strict(); + +export default BaseJobScalarWhereWithAggregatesInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/BaseJobSelectSchema.ts b/utility/prisma/types/inputTypeSchemas/BaseJobSelectSchema.ts new file mode 100644 index 00000000..c0e6c350 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/BaseJobSelectSchema.ts @@ -0,0 +1,33 @@ +import { z } from "zod"; +import type { Prisma } from "../../client"; +import { ProcessMediaJobArgsSchema } from "../outputTypeSchemas/ProcessMediaJobArgsSchema"; +import { LoadAssetJobArgsSchema } from "../outputTypeSchemas/LoadAssetJobArgsSchema"; +import { DummyTestJobFindManyArgsSchema } from "../outputTypeSchemas/DummyTestJobFindManyArgsSchema"; +import { BaseJobCountOutputTypeArgsSchema } from "../outputTypeSchemas/BaseJobCountOutputTypeArgsSchema"; + +export const BaseJobSelectSchema: z.ZodType = z + .object({ + id: z.boolean().optional(), + workerId: z.boolean().optional(), + state: z.boolean().optional(), + createdAt: z.boolean().optional(), + startedAt: z.boolean().optional(), + completedAt: z.boolean().optional(), + externalJobProvider: z.boolean().optional(), + externalJobID: z.boolean().optional(), + ProcessMediaJob: z + .union([z.boolean(), z.lazy(() => ProcessMediaJobArgsSchema)]) + .optional(), + LoadAssetJob: z + .union([z.boolean(), z.lazy(() => LoadAssetJobArgsSchema)]) + .optional(), + DummyTestJob: z + .union([z.boolean(), z.lazy(() => DummyTestJobFindManyArgsSchema)]) + .optional(), + _count: z + .union([z.boolean(), z.lazy(() => BaseJobCountOutputTypeArgsSchema)]) + .optional(), + }) + .strict(); + +export default BaseJobSelectSchema; diff --git a/utility/prisma/types/inputTypeSchemas/BaseJobSumOrderByAggregateInputSchema.ts b/utility/prisma/types/inputTypeSchemas/BaseJobSumOrderByAggregateInputSchema.ts new file mode 100644 index 00000000..fd015a45 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/BaseJobSumOrderByAggregateInputSchema.ts @@ -0,0 +1,12 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { SortOrderSchema } from "./SortOrderSchema"; + +export const BaseJobSumOrderByAggregateInputSchema: z.ZodType = + z + .object({ + id: z.lazy(() => SortOrderSchema).optional(), + }) + .strict(); + +export default BaseJobSumOrderByAggregateInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/BaseJobUncheckedCreateInputSchema.ts b/utility/prisma/types/inputTypeSchemas/BaseJobUncheckedCreateInputSchema.ts new file mode 100644 index 00000000..91eaec01 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/BaseJobUncheckedCreateInputSchema.ts @@ -0,0 +1,38 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { JobStateSchema } from "./JobStateSchema"; +import { ProcessMediaJobUncheckedCreateNestedOneWithoutBase_jobInputSchema } from "./ProcessMediaJobUncheckedCreateNestedOneWithoutBase_jobInputSchema"; +import { LoadAssetJobUncheckedCreateNestedOneWithoutBase_jobInputSchema } from "./LoadAssetJobUncheckedCreateNestedOneWithoutBase_jobInputSchema"; +import { DummyTestJobUncheckedCreateNestedManyWithoutBase_jobInputSchema } from "./DummyTestJobUncheckedCreateNestedManyWithoutBase_jobInputSchema"; + +export const BaseJobUncheckedCreateInputSchema: z.ZodType = + z + .object({ + id: z.number().int().optional(), + workerId: z.string().optional().nullable(), + state: z.lazy(() => JobStateSchema).optional(), + createdAt: z.coerce.date().optional(), + startedAt: z.coerce.date().optional().nullable(), + completedAt: z.coerce.date().optional().nullable(), + externalJobProvider: z.string().optional().nullable(), + externalJobID: z.string().optional().nullable(), + ProcessMediaJob: z + .lazy( + () => + ProcessMediaJobUncheckedCreateNestedOneWithoutBase_jobInputSchema, + ) + .optional(), + LoadAssetJob: z + .lazy( + () => LoadAssetJobUncheckedCreateNestedOneWithoutBase_jobInputSchema, + ) + .optional(), + DummyTestJob: z + .lazy( + () => DummyTestJobUncheckedCreateNestedManyWithoutBase_jobInputSchema, + ) + .optional(), + }) + .strict(); + +export default BaseJobUncheckedCreateInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/BaseJobUncheckedCreateWithoutDummyTestJobInputSchema.ts b/utility/prisma/types/inputTypeSchemas/BaseJobUncheckedCreateWithoutDummyTestJobInputSchema.ts new file mode 100644 index 00000000..a9bf3200 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/BaseJobUncheckedCreateWithoutDummyTestJobInputSchema.ts @@ -0,0 +1,32 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { JobStateSchema } from "./JobStateSchema"; +import { ProcessMediaJobUncheckedCreateNestedOneWithoutBase_jobInputSchema } from "./ProcessMediaJobUncheckedCreateNestedOneWithoutBase_jobInputSchema"; +import { LoadAssetJobUncheckedCreateNestedOneWithoutBase_jobInputSchema } from "./LoadAssetJobUncheckedCreateNestedOneWithoutBase_jobInputSchema"; + +export const BaseJobUncheckedCreateWithoutDummyTestJobInputSchema: z.ZodType = + z + .object({ + id: z.number().int().optional(), + workerId: z.string().optional().nullable(), + state: z.lazy(() => JobStateSchema).optional(), + createdAt: z.coerce.date().optional(), + startedAt: z.coerce.date().optional().nullable(), + completedAt: z.coerce.date().optional().nullable(), + externalJobProvider: z.string().optional().nullable(), + externalJobID: z.string().optional().nullable(), + ProcessMediaJob: z + .lazy( + () => + ProcessMediaJobUncheckedCreateNestedOneWithoutBase_jobInputSchema, + ) + .optional(), + LoadAssetJob: z + .lazy( + () => LoadAssetJobUncheckedCreateNestedOneWithoutBase_jobInputSchema, + ) + .optional(), + }) + .strict(); + +export default BaseJobUncheckedCreateWithoutDummyTestJobInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/BaseJobUncheckedCreateWithoutLoadAssetJobInputSchema.ts b/utility/prisma/types/inputTypeSchemas/BaseJobUncheckedCreateWithoutLoadAssetJobInputSchema.ts new file mode 100644 index 00000000..56799eab --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/BaseJobUncheckedCreateWithoutLoadAssetJobInputSchema.ts @@ -0,0 +1,32 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { JobStateSchema } from "./JobStateSchema"; +import { ProcessMediaJobUncheckedCreateNestedOneWithoutBase_jobInputSchema } from "./ProcessMediaJobUncheckedCreateNestedOneWithoutBase_jobInputSchema"; +import { DummyTestJobUncheckedCreateNestedManyWithoutBase_jobInputSchema } from "./DummyTestJobUncheckedCreateNestedManyWithoutBase_jobInputSchema"; + +export const BaseJobUncheckedCreateWithoutLoadAssetJobInputSchema: z.ZodType = + z + .object({ + id: z.number().int().optional(), + workerId: z.string().optional().nullable(), + state: z.lazy(() => JobStateSchema).optional(), + createdAt: z.coerce.date().optional(), + startedAt: z.coerce.date().optional().nullable(), + completedAt: z.coerce.date().optional().nullable(), + externalJobProvider: z.string().optional().nullable(), + externalJobID: z.string().optional().nullable(), + ProcessMediaJob: z + .lazy( + () => + ProcessMediaJobUncheckedCreateNestedOneWithoutBase_jobInputSchema, + ) + .optional(), + DummyTestJob: z + .lazy( + () => DummyTestJobUncheckedCreateNestedManyWithoutBase_jobInputSchema, + ) + .optional(), + }) + .strict(); + +export default BaseJobUncheckedCreateWithoutLoadAssetJobInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/BaseJobUncheckedCreateWithoutProcessMediaJobInputSchema.ts b/utility/prisma/types/inputTypeSchemas/BaseJobUncheckedCreateWithoutProcessMediaJobInputSchema.ts new file mode 100644 index 00000000..5415ec56 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/BaseJobUncheckedCreateWithoutProcessMediaJobInputSchema.ts @@ -0,0 +1,31 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { JobStateSchema } from "./JobStateSchema"; +import { LoadAssetJobUncheckedCreateNestedOneWithoutBase_jobInputSchema } from "./LoadAssetJobUncheckedCreateNestedOneWithoutBase_jobInputSchema"; +import { DummyTestJobUncheckedCreateNestedManyWithoutBase_jobInputSchema } from "./DummyTestJobUncheckedCreateNestedManyWithoutBase_jobInputSchema"; + +export const BaseJobUncheckedCreateWithoutProcessMediaJobInputSchema: z.ZodType = + z + .object({ + id: z.number().int().optional(), + workerId: z.string().optional().nullable(), + state: z.lazy(() => JobStateSchema).optional(), + createdAt: z.coerce.date().optional(), + startedAt: z.coerce.date().optional().nullable(), + completedAt: z.coerce.date().optional().nullable(), + externalJobProvider: z.string().optional().nullable(), + externalJobID: z.string().optional().nullable(), + LoadAssetJob: z + .lazy( + () => LoadAssetJobUncheckedCreateNestedOneWithoutBase_jobInputSchema, + ) + .optional(), + DummyTestJob: z + .lazy( + () => DummyTestJobUncheckedCreateNestedManyWithoutBase_jobInputSchema, + ) + .optional(), + }) + .strict(); + +export default BaseJobUncheckedCreateWithoutProcessMediaJobInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/BaseJobUncheckedUpdateInputSchema.ts b/utility/prisma/types/inputTypeSchemas/BaseJobUncheckedUpdateInputSchema.ts new file mode 100644 index 00000000..5cfa51dc --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/BaseJobUncheckedUpdateInputSchema.ts @@ -0,0 +1,88 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { IntFieldUpdateOperationsInputSchema } from "./IntFieldUpdateOperationsInputSchema"; +import { NullableStringFieldUpdateOperationsInputSchema } from "./NullableStringFieldUpdateOperationsInputSchema"; +import { JobStateSchema } from "./JobStateSchema"; +import { EnumJobStateFieldUpdateOperationsInputSchema } from "./EnumJobStateFieldUpdateOperationsInputSchema"; +import { DateTimeFieldUpdateOperationsInputSchema } from "./DateTimeFieldUpdateOperationsInputSchema"; +import { NullableDateTimeFieldUpdateOperationsInputSchema } from "./NullableDateTimeFieldUpdateOperationsInputSchema"; +import { ProcessMediaJobUncheckedUpdateOneWithoutBase_jobNestedInputSchema } from "./ProcessMediaJobUncheckedUpdateOneWithoutBase_jobNestedInputSchema"; +import { LoadAssetJobUncheckedUpdateOneWithoutBase_jobNestedInputSchema } from "./LoadAssetJobUncheckedUpdateOneWithoutBase_jobNestedInputSchema"; +import { DummyTestJobUncheckedUpdateManyWithoutBase_jobNestedInputSchema } from "./DummyTestJobUncheckedUpdateManyWithoutBase_jobNestedInputSchema"; + +export const BaseJobUncheckedUpdateInputSchema: z.ZodType = + z + .object({ + id: z + .union([ + z.number().int(), + z.lazy(() => IntFieldUpdateOperationsInputSchema), + ]) + .optional(), + workerId: z + .union([ + z.string(), + z.lazy(() => NullableStringFieldUpdateOperationsInputSchema), + ]) + .optional() + .nullable(), + state: z + .union([ + z.lazy(() => JobStateSchema), + z.lazy(() => EnumJobStateFieldUpdateOperationsInputSchema), + ]) + .optional(), + createdAt: z + .union([ + z.coerce.date(), + z.lazy(() => DateTimeFieldUpdateOperationsInputSchema), + ]) + .optional(), + startedAt: z + .union([ + z.coerce.date(), + z.lazy(() => NullableDateTimeFieldUpdateOperationsInputSchema), + ]) + .optional() + .nullable(), + completedAt: z + .union([ + z.coerce.date(), + z.lazy(() => NullableDateTimeFieldUpdateOperationsInputSchema), + ]) + .optional() + .nullable(), + externalJobProvider: z + .union([ + z.string(), + z.lazy(() => NullableStringFieldUpdateOperationsInputSchema), + ]) + .optional() + .nullable(), + externalJobID: z + .union([ + z.string(), + z.lazy(() => NullableStringFieldUpdateOperationsInputSchema), + ]) + .optional() + .nullable(), + ProcessMediaJob: z + .lazy( + () => + ProcessMediaJobUncheckedUpdateOneWithoutBase_jobNestedInputSchema, + ) + .optional(), + LoadAssetJob: z + .lazy( + () => LoadAssetJobUncheckedUpdateOneWithoutBase_jobNestedInputSchema, + ) + .optional(), + DummyTestJob: z + .lazy( + () => DummyTestJobUncheckedUpdateManyWithoutBase_jobNestedInputSchema, + ) + .optional(), + }) + .strict(); + +export default BaseJobUncheckedUpdateInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/BaseJobUncheckedUpdateManyInputSchema.ts b/utility/prisma/types/inputTypeSchemas/BaseJobUncheckedUpdateManyInputSchema.ts new file mode 100644 index 00000000..b53d7a11 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/BaseJobUncheckedUpdateManyInputSchema.ts @@ -0,0 +1,69 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { IntFieldUpdateOperationsInputSchema } from "./IntFieldUpdateOperationsInputSchema"; +import { NullableStringFieldUpdateOperationsInputSchema } from "./NullableStringFieldUpdateOperationsInputSchema"; +import { JobStateSchema } from "./JobStateSchema"; +import { EnumJobStateFieldUpdateOperationsInputSchema } from "./EnumJobStateFieldUpdateOperationsInputSchema"; +import { DateTimeFieldUpdateOperationsInputSchema } from "./DateTimeFieldUpdateOperationsInputSchema"; +import { NullableDateTimeFieldUpdateOperationsInputSchema } from "./NullableDateTimeFieldUpdateOperationsInputSchema"; + +export const BaseJobUncheckedUpdateManyInputSchema: z.ZodType = + z + .object({ + id: z + .union([ + z.number().int(), + z.lazy(() => IntFieldUpdateOperationsInputSchema), + ]) + .optional(), + workerId: z + .union([ + z.string(), + z.lazy(() => NullableStringFieldUpdateOperationsInputSchema), + ]) + .optional() + .nullable(), + state: z + .union([ + z.lazy(() => JobStateSchema), + z.lazy(() => EnumJobStateFieldUpdateOperationsInputSchema), + ]) + .optional(), + createdAt: z + .union([ + z.coerce.date(), + z.lazy(() => DateTimeFieldUpdateOperationsInputSchema), + ]) + .optional(), + startedAt: z + .union([ + z.coerce.date(), + z.lazy(() => NullableDateTimeFieldUpdateOperationsInputSchema), + ]) + .optional() + .nullable(), + completedAt: z + .union([ + z.coerce.date(), + z.lazy(() => NullableDateTimeFieldUpdateOperationsInputSchema), + ]) + .optional() + .nullable(), + externalJobProvider: z + .union([ + z.string(), + z.lazy(() => NullableStringFieldUpdateOperationsInputSchema), + ]) + .optional() + .nullable(), + externalJobID: z + .union([ + z.string(), + z.lazy(() => NullableStringFieldUpdateOperationsInputSchema), + ]) + .optional() + .nullable(), + }) + .strict(); + +export default BaseJobUncheckedUpdateManyInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/BaseJobUncheckedUpdateWithoutDummyTestJobInputSchema.ts b/utility/prisma/types/inputTypeSchemas/BaseJobUncheckedUpdateWithoutDummyTestJobInputSchema.ts new file mode 100644 index 00000000..deb916f0 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/BaseJobUncheckedUpdateWithoutDummyTestJobInputSchema.ts @@ -0,0 +1,82 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { IntFieldUpdateOperationsInputSchema } from "./IntFieldUpdateOperationsInputSchema"; +import { NullableStringFieldUpdateOperationsInputSchema } from "./NullableStringFieldUpdateOperationsInputSchema"; +import { JobStateSchema } from "./JobStateSchema"; +import { EnumJobStateFieldUpdateOperationsInputSchema } from "./EnumJobStateFieldUpdateOperationsInputSchema"; +import { DateTimeFieldUpdateOperationsInputSchema } from "./DateTimeFieldUpdateOperationsInputSchema"; +import { NullableDateTimeFieldUpdateOperationsInputSchema } from "./NullableDateTimeFieldUpdateOperationsInputSchema"; +import { ProcessMediaJobUncheckedUpdateOneWithoutBase_jobNestedInputSchema } from "./ProcessMediaJobUncheckedUpdateOneWithoutBase_jobNestedInputSchema"; +import { LoadAssetJobUncheckedUpdateOneWithoutBase_jobNestedInputSchema } from "./LoadAssetJobUncheckedUpdateOneWithoutBase_jobNestedInputSchema"; + +export const BaseJobUncheckedUpdateWithoutDummyTestJobInputSchema: z.ZodType = + z + .object({ + id: z + .union([ + z.number().int(), + z.lazy(() => IntFieldUpdateOperationsInputSchema), + ]) + .optional(), + workerId: z + .union([ + z.string(), + z.lazy(() => NullableStringFieldUpdateOperationsInputSchema), + ]) + .optional() + .nullable(), + state: z + .union([ + z.lazy(() => JobStateSchema), + z.lazy(() => EnumJobStateFieldUpdateOperationsInputSchema), + ]) + .optional(), + createdAt: z + .union([ + z.coerce.date(), + z.lazy(() => DateTimeFieldUpdateOperationsInputSchema), + ]) + .optional(), + startedAt: z + .union([ + z.coerce.date(), + z.lazy(() => NullableDateTimeFieldUpdateOperationsInputSchema), + ]) + .optional() + .nullable(), + completedAt: z + .union([ + z.coerce.date(), + z.lazy(() => NullableDateTimeFieldUpdateOperationsInputSchema), + ]) + .optional() + .nullable(), + externalJobProvider: z + .union([ + z.string(), + z.lazy(() => NullableStringFieldUpdateOperationsInputSchema), + ]) + .optional() + .nullable(), + externalJobID: z + .union([ + z.string(), + z.lazy(() => NullableStringFieldUpdateOperationsInputSchema), + ]) + .optional() + .nullable(), + ProcessMediaJob: z + .lazy( + () => + ProcessMediaJobUncheckedUpdateOneWithoutBase_jobNestedInputSchema, + ) + .optional(), + LoadAssetJob: z + .lazy( + () => LoadAssetJobUncheckedUpdateOneWithoutBase_jobNestedInputSchema, + ) + .optional(), + }) + .strict(); + +export default BaseJobUncheckedUpdateWithoutDummyTestJobInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/BaseJobUncheckedUpdateWithoutLoadAssetJobInputSchema.ts b/utility/prisma/types/inputTypeSchemas/BaseJobUncheckedUpdateWithoutLoadAssetJobInputSchema.ts new file mode 100644 index 00000000..f0964317 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/BaseJobUncheckedUpdateWithoutLoadAssetJobInputSchema.ts @@ -0,0 +1,82 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { IntFieldUpdateOperationsInputSchema } from "./IntFieldUpdateOperationsInputSchema"; +import { NullableStringFieldUpdateOperationsInputSchema } from "./NullableStringFieldUpdateOperationsInputSchema"; +import { JobStateSchema } from "./JobStateSchema"; +import { EnumJobStateFieldUpdateOperationsInputSchema } from "./EnumJobStateFieldUpdateOperationsInputSchema"; +import { DateTimeFieldUpdateOperationsInputSchema } from "./DateTimeFieldUpdateOperationsInputSchema"; +import { NullableDateTimeFieldUpdateOperationsInputSchema } from "./NullableDateTimeFieldUpdateOperationsInputSchema"; +import { ProcessMediaJobUncheckedUpdateOneWithoutBase_jobNestedInputSchema } from "./ProcessMediaJobUncheckedUpdateOneWithoutBase_jobNestedInputSchema"; +import { DummyTestJobUncheckedUpdateManyWithoutBase_jobNestedInputSchema } from "./DummyTestJobUncheckedUpdateManyWithoutBase_jobNestedInputSchema"; + +export const BaseJobUncheckedUpdateWithoutLoadAssetJobInputSchema: z.ZodType = + z + .object({ + id: z + .union([ + z.number().int(), + z.lazy(() => IntFieldUpdateOperationsInputSchema), + ]) + .optional(), + workerId: z + .union([ + z.string(), + z.lazy(() => NullableStringFieldUpdateOperationsInputSchema), + ]) + .optional() + .nullable(), + state: z + .union([ + z.lazy(() => JobStateSchema), + z.lazy(() => EnumJobStateFieldUpdateOperationsInputSchema), + ]) + .optional(), + createdAt: z + .union([ + z.coerce.date(), + z.lazy(() => DateTimeFieldUpdateOperationsInputSchema), + ]) + .optional(), + startedAt: z + .union([ + z.coerce.date(), + z.lazy(() => NullableDateTimeFieldUpdateOperationsInputSchema), + ]) + .optional() + .nullable(), + completedAt: z + .union([ + z.coerce.date(), + z.lazy(() => NullableDateTimeFieldUpdateOperationsInputSchema), + ]) + .optional() + .nullable(), + externalJobProvider: z + .union([ + z.string(), + z.lazy(() => NullableStringFieldUpdateOperationsInputSchema), + ]) + .optional() + .nullable(), + externalJobID: z + .union([ + z.string(), + z.lazy(() => NullableStringFieldUpdateOperationsInputSchema), + ]) + .optional() + .nullable(), + ProcessMediaJob: z + .lazy( + () => + ProcessMediaJobUncheckedUpdateOneWithoutBase_jobNestedInputSchema, + ) + .optional(), + DummyTestJob: z + .lazy( + () => DummyTestJobUncheckedUpdateManyWithoutBase_jobNestedInputSchema, + ) + .optional(), + }) + .strict(); + +export default BaseJobUncheckedUpdateWithoutLoadAssetJobInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/BaseJobUncheckedUpdateWithoutProcessMediaJobInputSchema.ts b/utility/prisma/types/inputTypeSchemas/BaseJobUncheckedUpdateWithoutProcessMediaJobInputSchema.ts new file mode 100644 index 00000000..f4794201 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/BaseJobUncheckedUpdateWithoutProcessMediaJobInputSchema.ts @@ -0,0 +1,81 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { IntFieldUpdateOperationsInputSchema } from "./IntFieldUpdateOperationsInputSchema"; +import { NullableStringFieldUpdateOperationsInputSchema } from "./NullableStringFieldUpdateOperationsInputSchema"; +import { JobStateSchema } from "./JobStateSchema"; +import { EnumJobStateFieldUpdateOperationsInputSchema } from "./EnumJobStateFieldUpdateOperationsInputSchema"; +import { DateTimeFieldUpdateOperationsInputSchema } from "./DateTimeFieldUpdateOperationsInputSchema"; +import { NullableDateTimeFieldUpdateOperationsInputSchema } from "./NullableDateTimeFieldUpdateOperationsInputSchema"; +import { LoadAssetJobUncheckedUpdateOneWithoutBase_jobNestedInputSchema } from "./LoadAssetJobUncheckedUpdateOneWithoutBase_jobNestedInputSchema"; +import { DummyTestJobUncheckedUpdateManyWithoutBase_jobNestedInputSchema } from "./DummyTestJobUncheckedUpdateManyWithoutBase_jobNestedInputSchema"; + +export const BaseJobUncheckedUpdateWithoutProcessMediaJobInputSchema: z.ZodType = + z + .object({ + id: z + .union([ + z.number().int(), + z.lazy(() => IntFieldUpdateOperationsInputSchema), + ]) + .optional(), + workerId: z + .union([ + z.string(), + z.lazy(() => NullableStringFieldUpdateOperationsInputSchema), + ]) + .optional() + .nullable(), + state: z + .union([ + z.lazy(() => JobStateSchema), + z.lazy(() => EnumJobStateFieldUpdateOperationsInputSchema), + ]) + .optional(), + createdAt: z + .union([ + z.coerce.date(), + z.lazy(() => DateTimeFieldUpdateOperationsInputSchema), + ]) + .optional(), + startedAt: z + .union([ + z.coerce.date(), + z.lazy(() => NullableDateTimeFieldUpdateOperationsInputSchema), + ]) + .optional() + .nullable(), + completedAt: z + .union([ + z.coerce.date(), + z.lazy(() => NullableDateTimeFieldUpdateOperationsInputSchema), + ]) + .optional() + .nullable(), + externalJobProvider: z + .union([ + z.string(), + z.lazy(() => NullableStringFieldUpdateOperationsInputSchema), + ]) + .optional() + .nullable(), + externalJobID: z + .union([ + z.string(), + z.lazy(() => NullableStringFieldUpdateOperationsInputSchema), + ]) + .optional() + .nullable(), + LoadAssetJob: z + .lazy( + () => LoadAssetJobUncheckedUpdateOneWithoutBase_jobNestedInputSchema, + ) + .optional(), + DummyTestJob: z + .lazy( + () => DummyTestJobUncheckedUpdateManyWithoutBase_jobNestedInputSchema, + ) + .optional(), + }) + .strict(); + +export default BaseJobUncheckedUpdateWithoutProcessMediaJobInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/BaseJobUpdateInputSchema.ts b/utility/prisma/types/inputTypeSchemas/BaseJobUpdateInputSchema.ts new file mode 100644 index 00000000..d054dcc9 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/BaseJobUpdateInputSchema.ts @@ -0,0 +1,73 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { NullableStringFieldUpdateOperationsInputSchema } from "./NullableStringFieldUpdateOperationsInputSchema"; +import { JobStateSchema } from "./JobStateSchema"; +import { EnumJobStateFieldUpdateOperationsInputSchema } from "./EnumJobStateFieldUpdateOperationsInputSchema"; +import { DateTimeFieldUpdateOperationsInputSchema } from "./DateTimeFieldUpdateOperationsInputSchema"; +import { NullableDateTimeFieldUpdateOperationsInputSchema } from "./NullableDateTimeFieldUpdateOperationsInputSchema"; +import { ProcessMediaJobUpdateOneWithoutBase_jobNestedInputSchema } from "./ProcessMediaJobUpdateOneWithoutBase_jobNestedInputSchema"; +import { LoadAssetJobUpdateOneWithoutBase_jobNestedInputSchema } from "./LoadAssetJobUpdateOneWithoutBase_jobNestedInputSchema"; +import { DummyTestJobUpdateManyWithoutBase_jobNestedInputSchema } from "./DummyTestJobUpdateManyWithoutBase_jobNestedInputSchema"; + +export const BaseJobUpdateInputSchema: z.ZodType = z + .object({ + workerId: z + .union([ + z.string(), + z.lazy(() => NullableStringFieldUpdateOperationsInputSchema), + ]) + .optional() + .nullable(), + state: z + .union([ + z.lazy(() => JobStateSchema), + z.lazy(() => EnumJobStateFieldUpdateOperationsInputSchema), + ]) + .optional(), + createdAt: z + .union([ + z.coerce.date(), + z.lazy(() => DateTimeFieldUpdateOperationsInputSchema), + ]) + .optional(), + startedAt: z + .union([ + z.coerce.date(), + z.lazy(() => NullableDateTimeFieldUpdateOperationsInputSchema), + ]) + .optional() + .nullable(), + completedAt: z + .union([ + z.coerce.date(), + z.lazy(() => NullableDateTimeFieldUpdateOperationsInputSchema), + ]) + .optional() + .nullable(), + externalJobProvider: z + .union([ + z.string(), + z.lazy(() => NullableStringFieldUpdateOperationsInputSchema), + ]) + .optional() + .nullable(), + externalJobID: z + .union([ + z.string(), + z.lazy(() => NullableStringFieldUpdateOperationsInputSchema), + ]) + .optional() + .nullable(), + ProcessMediaJob: z + .lazy(() => ProcessMediaJobUpdateOneWithoutBase_jobNestedInputSchema) + .optional(), + LoadAssetJob: z + .lazy(() => LoadAssetJobUpdateOneWithoutBase_jobNestedInputSchema) + .optional(), + DummyTestJob: z + .lazy(() => DummyTestJobUpdateManyWithoutBase_jobNestedInputSchema) + .optional(), + }) + .strict(); + +export default BaseJobUpdateInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/BaseJobUpdateManyMutationInputSchema.ts b/utility/prisma/types/inputTypeSchemas/BaseJobUpdateManyMutationInputSchema.ts new file mode 100644 index 00000000..ee16e0b0 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/BaseJobUpdateManyMutationInputSchema.ts @@ -0,0 +1,62 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { NullableStringFieldUpdateOperationsInputSchema } from "./NullableStringFieldUpdateOperationsInputSchema"; +import { JobStateSchema } from "./JobStateSchema"; +import { EnumJobStateFieldUpdateOperationsInputSchema } from "./EnumJobStateFieldUpdateOperationsInputSchema"; +import { DateTimeFieldUpdateOperationsInputSchema } from "./DateTimeFieldUpdateOperationsInputSchema"; +import { NullableDateTimeFieldUpdateOperationsInputSchema } from "./NullableDateTimeFieldUpdateOperationsInputSchema"; + +export const BaseJobUpdateManyMutationInputSchema: z.ZodType = + z + .object({ + workerId: z + .union([ + z.string(), + z.lazy(() => NullableStringFieldUpdateOperationsInputSchema), + ]) + .optional() + .nullable(), + state: z + .union([ + z.lazy(() => JobStateSchema), + z.lazy(() => EnumJobStateFieldUpdateOperationsInputSchema), + ]) + .optional(), + createdAt: z + .union([ + z.coerce.date(), + z.lazy(() => DateTimeFieldUpdateOperationsInputSchema), + ]) + .optional(), + startedAt: z + .union([ + z.coerce.date(), + z.lazy(() => NullableDateTimeFieldUpdateOperationsInputSchema), + ]) + .optional() + .nullable(), + completedAt: z + .union([ + z.coerce.date(), + z.lazy(() => NullableDateTimeFieldUpdateOperationsInputSchema), + ]) + .optional() + .nullable(), + externalJobProvider: z + .union([ + z.string(), + z.lazy(() => NullableStringFieldUpdateOperationsInputSchema), + ]) + .optional() + .nullable(), + externalJobID: z + .union([ + z.string(), + z.lazy(() => NullableStringFieldUpdateOperationsInputSchema), + ]) + .optional() + .nullable(), + }) + .strict(); + +export default BaseJobUpdateManyMutationInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/BaseJobUpdateOneRequiredWithoutDummyTestJobNestedInputSchema.ts b/utility/prisma/types/inputTypeSchemas/BaseJobUpdateOneRequiredWithoutDummyTestJobNestedInputSchema.ts new file mode 100644 index 00000000..319aa7e2 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/BaseJobUpdateOneRequiredWithoutDummyTestJobNestedInputSchema.ts @@ -0,0 +1,40 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { BaseJobCreateWithoutDummyTestJobInputSchema } from "./BaseJobCreateWithoutDummyTestJobInputSchema"; +import { BaseJobUncheckedCreateWithoutDummyTestJobInputSchema } from "./BaseJobUncheckedCreateWithoutDummyTestJobInputSchema"; +import { BaseJobCreateOrConnectWithoutDummyTestJobInputSchema } from "./BaseJobCreateOrConnectWithoutDummyTestJobInputSchema"; +import { BaseJobUpsertWithoutDummyTestJobInputSchema } from "./BaseJobUpsertWithoutDummyTestJobInputSchema"; +import { BaseJobWhereUniqueInputSchema } from "./BaseJobWhereUniqueInputSchema"; +import { BaseJobUpdateToOneWithWhereWithoutDummyTestJobInputSchema } from "./BaseJobUpdateToOneWithWhereWithoutDummyTestJobInputSchema"; +import { BaseJobUpdateWithoutDummyTestJobInputSchema } from "./BaseJobUpdateWithoutDummyTestJobInputSchema"; +import { BaseJobUncheckedUpdateWithoutDummyTestJobInputSchema } from "./BaseJobUncheckedUpdateWithoutDummyTestJobInputSchema"; + +export const BaseJobUpdateOneRequiredWithoutDummyTestJobNestedInputSchema: z.ZodType = + z + .object({ + create: z + .union([ + z.lazy(() => BaseJobCreateWithoutDummyTestJobInputSchema), + z.lazy(() => BaseJobUncheckedCreateWithoutDummyTestJobInputSchema), + ]) + .optional(), + connectOrCreate: z + .lazy(() => BaseJobCreateOrConnectWithoutDummyTestJobInputSchema) + .optional(), + upsert: z + .lazy(() => BaseJobUpsertWithoutDummyTestJobInputSchema) + .optional(), + connect: z.lazy(() => BaseJobWhereUniqueInputSchema).optional(), + update: z + .union([ + z.lazy( + () => BaseJobUpdateToOneWithWhereWithoutDummyTestJobInputSchema, + ), + z.lazy(() => BaseJobUpdateWithoutDummyTestJobInputSchema), + z.lazy(() => BaseJobUncheckedUpdateWithoutDummyTestJobInputSchema), + ]) + .optional(), + }) + .strict(); + +export default BaseJobUpdateOneRequiredWithoutDummyTestJobNestedInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/BaseJobUpdateOneRequiredWithoutLoadAssetJobNestedInputSchema.ts b/utility/prisma/types/inputTypeSchemas/BaseJobUpdateOneRequiredWithoutLoadAssetJobNestedInputSchema.ts new file mode 100644 index 00000000..37e1f371 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/BaseJobUpdateOneRequiredWithoutLoadAssetJobNestedInputSchema.ts @@ -0,0 +1,40 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { BaseJobCreateWithoutLoadAssetJobInputSchema } from "./BaseJobCreateWithoutLoadAssetJobInputSchema"; +import { BaseJobUncheckedCreateWithoutLoadAssetJobInputSchema } from "./BaseJobUncheckedCreateWithoutLoadAssetJobInputSchema"; +import { BaseJobCreateOrConnectWithoutLoadAssetJobInputSchema } from "./BaseJobCreateOrConnectWithoutLoadAssetJobInputSchema"; +import { BaseJobUpsertWithoutLoadAssetJobInputSchema } from "./BaseJobUpsertWithoutLoadAssetJobInputSchema"; +import { BaseJobWhereUniqueInputSchema } from "./BaseJobWhereUniqueInputSchema"; +import { BaseJobUpdateToOneWithWhereWithoutLoadAssetJobInputSchema } from "./BaseJobUpdateToOneWithWhereWithoutLoadAssetJobInputSchema"; +import { BaseJobUpdateWithoutLoadAssetJobInputSchema } from "./BaseJobUpdateWithoutLoadAssetJobInputSchema"; +import { BaseJobUncheckedUpdateWithoutLoadAssetJobInputSchema } from "./BaseJobUncheckedUpdateWithoutLoadAssetJobInputSchema"; + +export const BaseJobUpdateOneRequiredWithoutLoadAssetJobNestedInputSchema: z.ZodType = + z + .object({ + create: z + .union([ + z.lazy(() => BaseJobCreateWithoutLoadAssetJobInputSchema), + z.lazy(() => BaseJobUncheckedCreateWithoutLoadAssetJobInputSchema), + ]) + .optional(), + connectOrCreate: z + .lazy(() => BaseJobCreateOrConnectWithoutLoadAssetJobInputSchema) + .optional(), + upsert: z + .lazy(() => BaseJobUpsertWithoutLoadAssetJobInputSchema) + .optional(), + connect: z.lazy(() => BaseJobWhereUniqueInputSchema).optional(), + update: z + .union([ + z.lazy( + () => BaseJobUpdateToOneWithWhereWithoutLoadAssetJobInputSchema, + ), + z.lazy(() => BaseJobUpdateWithoutLoadAssetJobInputSchema), + z.lazy(() => BaseJobUncheckedUpdateWithoutLoadAssetJobInputSchema), + ]) + .optional(), + }) + .strict(); + +export default BaseJobUpdateOneRequiredWithoutLoadAssetJobNestedInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/BaseJobUpdateOneRequiredWithoutProcessMediaJobNestedInputSchema.ts b/utility/prisma/types/inputTypeSchemas/BaseJobUpdateOneRequiredWithoutProcessMediaJobNestedInputSchema.ts new file mode 100644 index 00000000..f0305145 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/BaseJobUpdateOneRequiredWithoutProcessMediaJobNestedInputSchema.ts @@ -0,0 +1,40 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { BaseJobCreateWithoutProcessMediaJobInputSchema } from "./BaseJobCreateWithoutProcessMediaJobInputSchema"; +import { BaseJobUncheckedCreateWithoutProcessMediaJobInputSchema } from "./BaseJobUncheckedCreateWithoutProcessMediaJobInputSchema"; +import { BaseJobCreateOrConnectWithoutProcessMediaJobInputSchema } from "./BaseJobCreateOrConnectWithoutProcessMediaJobInputSchema"; +import { BaseJobUpsertWithoutProcessMediaJobInputSchema } from "./BaseJobUpsertWithoutProcessMediaJobInputSchema"; +import { BaseJobWhereUniqueInputSchema } from "./BaseJobWhereUniqueInputSchema"; +import { BaseJobUpdateToOneWithWhereWithoutProcessMediaJobInputSchema } from "./BaseJobUpdateToOneWithWhereWithoutProcessMediaJobInputSchema"; +import { BaseJobUpdateWithoutProcessMediaJobInputSchema } from "./BaseJobUpdateWithoutProcessMediaJobInputSchema"; +import { BaseJobUncheckedUpdateWithoutProcessMediaJobInputSchema } from "./BaseJobUncheckedUpdateWithoutProcessMediaJobInputSchema"; + +export const BaseJobUpdateOneRequiredWithoutProcessMediaJobNestedInputSchema: z.ZodType = + z + .object({ + create: z + .union([ + z.lazy(() => BaseJobCreateWithoutProcessMediaJobInputSchema), + z.lazy(() => BaseJobUncheckedCreateWithoutProcessMediaJobInputSchema), + ]) + .optional(), + connectOrCreate: z + .lazy(() => BaseJobCreateOrConnectWithoutProcessMediaJobInputSchema) + .optional(), + upsert: z + .lazy(() => BaseJobUpsertWithoutProcessMediaJobInputSchema) + .optional(), + connect: z.lazy(() => BaseJobWhereUniqueInputSchema).optional(), + update: z + .union([ + z.lazy( + () => BaseJobUpdateToOneWithWhereWithoutProcessMediaJobInputSchema, + ), + z.lazy(() => BaseJobUpdateWithoutProcessMediaJobInputSchema), + z.lazy(() => BaseJobUncheckedUpdateWithoutProcessMediaJobInputSchema), + ]) + .optional(), + }) + .strict(); + +export default BaseJobUpdateOneRequiredWithoutProcessMediaJobNestedInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/BaseJobUpdateToOneWithWhereWithoutDummyTestJobInputSchema.ts b/utility/prisma/types/inputTypeSchemas/BaseJobUpdateToOneWithWhereWithoutDummyTestJobInputSchema.ts new file mode 100644 index 00000000..cda9e918 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/BaseJobUpdateToOneWithWhereWithoutDummyTestJobInputSchema.ts @@ -0,0 +1,18 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { BaseJobWhereInputSchema } from "./BaseJobWhereInputSchema"; +import { BaseJobUpdateWithoutDummyTestJobInputSchema } from "./BaseJobUpdateWithoutDummyTestJobInputSchema"; +import { BaseJobUncheckedUpdateWithoutDummyTestJobInputSchema } from "./BaseJobUncheckedUpdateWithoutDummyTestJobInputSchema"; + +export const BaseJobUpdateToOneWithWhereWithoutDummyTestJobInputSchema: z.ZodType = + z + .object({ + where: z.lazy(() => BaseJobWhereInputSchema).optional(), + data: z.union([ + z.lazy(() => BaseJobUpdateWithoutDummyTestJobInputSchema), + z.lazy(() => BaseJobUncheckedUpdateWithoutDummyTestJobInputSchema), + ]), + }) + .strict(); + +export default BaseJobUpdateToOneWithWhereWithoutDummyTestJobInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/BaseJobUpdateToOneWithWhereWithoutLoadAssetJobInputSchema.ts b/utility/prisma/types/inputTypeSchemas/BaseJobUpdateToOneWithWhereWithoutLoadAssetJobInputSchema.ts new file mode 100644 index 00000000..b858e857 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/BaseJobUpdateToOneWithWhereWithoutLoadAssetJobInputSchema.ts @@ -0,0 +1,18 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { BaseJobWhereInputSchema } from "./BaseJobWhereInputSchema"; +import { BaseJobUpdateWithoutLoadAssetJobInputSchema } from "./BaseJobUpdateWithoutLoadAssetJobInputSchema"; +import { BaseJobUncheckedUpdateWithoutLoadAssetJobInputSchema } from "./BaseJobUncheckedUpdateWithoutLoadAssetJobInputSchema"; + +export const BaseJobUpdateToOneWithWhereWithoutLoadAssetJobInputSchema: z.ZodType = + z + .object({ + where: z.lazy(() => BaseJobWhereInputSchema).optional(), + data: z.union([ + z.lazy(() => BaseJobUpdateWithoutLoadAssetJobInputSchema), + z.lazy(() => BaseJobUncheckedUpdateWithoutLoadAssetJobInputSchema), + ]), + }) + .strict(); + +export default BaseJobUpdateToOneWithWhereWithoutLoadAssetJobInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/BaseJobUpdateToOneWithWhereWithoutProcessMediaJobInputSchema.ts b/utility/prisma/types/inputTypeSchemas/BaseJobUpdateToOneWithWhereWithoutProcessMediaJobInputSchema.ts new file mode 100644 index 00000000..5048d531 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/BaseJobUpdateToOneWithWhereWithoutProcessMediaJobInputSchema.ts @@ -0,0 +1,18 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { BaseJobWhereInputSchema } from "./BaseJobWhereInputSchema"; +import { BaseJobUpdateWithoutProcessMediaJobInputSchema } from "./BaseJobUpdateWithoutProcessMediaJobInputSchema"; +import { BaseJobUncheckedUpdateWithoutProcessMediaJobInputSchema } from "./BaseJobUncheckedUpdateWithoutProcessMediaJobInputSchema"; + +export const BaseJobUpdateToOneWithWhereWithoutProcessMediaJobInputSchema: z.ZodType = + z + .object({ + where: z.lazy(() => BaseJobWhereInputSchema).optional(), + data: z.union([ + z.lazy(() => BaseJobUpdateWithoutProcessMediaJobInputSchema), + z.lazy(() => BaseJobUncheckedUpdateWithoutProcessMediaJobInputSchema), + ]), + }) + .strict(); + +export default BaseJobUpdateToOneWithWhereWithoutProcessMediaJobInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/BaseJobUpdateWithoutDummyTestJobInputSchema.ts b/utility/prisma/types/inputTypeSchemas/BaseJobUpdateWithoutDummyTestJobInputSchema.ts new file mode 100644 index 00000000..c648f5ec --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/BaseJobUpdateWithoutDummyTestJobInputSchema.ts @@ -0,0 +1,70 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { NullableStringFieldUpdateOperationsInputSchema } from "./NullableStringFieldUpdateOperationsInputSchema"; +import { JobStateSchema } from "./JobStateSchema"; +import { EnumJobStateFieldUpdateOperationsInputSchema } from "./EnumJobStateFieldUpdateOperationsInputSchema"; +import { DateTimeFieldUpdateOperationsInputSchema } from "./DateTimeFieldUpdateOperationsInputSchema"; +import { NullableDateTimeFieldUpdateOperationsInputSchema } from "./NullableDateTimeFieldUpdateOperationsInputSchema"; +import { ProcessMediaJobUpdateOneWithoutBase_jobNestedInputSchema } from "./ProcessMediaJobUpdateOneWithoutBase_jobNestedInputSchema"; +import { LoadAssetJobUpdateOneWithoutBase_jobNestedInputSchema } from "./LoadAssetJobUpdateOneWithoutBase_jobNestedInputSchema"; + +export const BaseJobUpdateWithoutDummyTestJobInputSchema: z.ZodType = + z + .object({ + workerId: z + .union([ + z.string(), + z.lazy(() => NullableStringFieldUpdateOperationsInputSchema), + ]) + .optional() + .nullable(), + state: z + .union([ + z.lazy(() => JobStateSchema), + z.lazy(() => EnumJobStateFieldUpdateOperationsInputSchema), + ]) + .optional(), + createdAt: z + .union([ + z.coerce.date(), + z.lazy(() => DateTimeFieldUpdateOperationsInputSchema), + ]) + .optional(), + startedAt: z + .union([ + z.coerce.date(), + z.lazy(() => NullableDateTimeFieldUpdateOperationsInputSchema), + ]) + .optional() + .nullable(), + completedAt: z + .union([ + z.coerce.date(), + z.lazy(() => NullableDateTimeFieldUpdateOperationsInputSchema), + ]) + .optional() + .nullable(), + externalJobProvider: z + .union([ + z.string(), + z.lazy(() => NullableStringFieldUpdateOperationsInputSchema), + ]) + .optional() + .nullable(), + externalJobID: z + .union([ + z.string(), + z.lazy(() => NullableStringFieldUpdateOperationsInputSchema), + ]) + .optional() + .nullable(), + ProcessMediaJob: z + .lazy(() => ProcessMediaJobUpdateOneWithoutBase_jobNestedInputSchema) + .optional(), + LoadAssetJob: z + .lazy(() => LoadAssetJobUpdateOneWithoutBase_jobNestedInputSchema) + .optional(), + }) + .strict(); + +export default BaseJobUpdateWithoutDummyTestJobInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/BaseJobUpdateWithoutLoadAssetJobInputSchema.ts b/utility/prisma/types/inputTypeSchemas/BaseJobUpdateWithoutLoadAssetJobInputSchema.ts new file mode 100644 index 00000000..b9a4a02a --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/BaseJobUpdateWithoutLoadAssetJobInputSchema.ts @@ -0,0 +1,70 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { NullableStringFieldUpdateOperationsInputSchema } from "./NullableStringFieldUpdateOperationsInputSchema"; +import { JobStateSchema } from "./JobStateSchema"; +import { EnumJobStateFieldUpdateOperationsInputSchema } from "./EnumJobStateFieldUpdateOperationsInputSchema"; +import { DateTimeFieldUpdateOperationsInputSchema } from "./DateTimeFieldUpdateOperationsInputSchema"; +import { NullableDateTimeFieldUpdateOperationsInputSchema } from "./NullableDateTimeFieldUpdateOperationsInputSchema"; +import { ProcessMediaJobUpdateOneWithoutBase_jobNestedInputSchema } from "./ProcessMediaJobUpdateOneWithoutBase_jobNestedInputSchema"; +import { DummyTestJobUpdateManyWithoutBase_jobNestedInputSchema } from "./DummyTestJobUpdateManyWithoutBase_jobNestedInputSchema"; + +export const BaseJobUpdateWithoutLoadAssetJobInputSchema: z.ZodType = + z + .object({ + workerId: z + .union([ + z.string(), + z.lazy(() => NullableStringFieldUpdateOperationsInputSchema), + ]) + .optional() + .nullable(), + state: z + .union([ + z.lazy(() => JobStateSchema), + z.lazy(() => EnumJobStateFieldUpdateOperationsInputSchema), + ]) + .optional(), + createdAt: z + .union([ + z.coerce.date(), + z.lazy(() => DateTimeFieldUpdateOperationsInputSchema), + ]) + .optional(), + startedAt: z + .union([ + z.coerce.date(), + z.lazy(() => NullableDateTimeFieldUpdateOperationsInputSchema), + ]) + .optional() + .nullable(), + completedAt: z + .union([ + z.coerce.date(), + z.lazy(() => NullableDateTimeFieldUpdateOperationsInputSchema), + ]) + .optional() + .nullable(), + externalJobProvider: z + .union([ + z.string(), + z.lazy(() => NullableStringFieldUpdateOperationsInputSchema), + ]) + .optional() + .nullable(), + externalJobID: z + .union([ + z.string(), + z.lazy(() => NullableStringFieldUpdateOperationsInputSchema), + ]) + .optional() + .nullable(), + ProcessMediaJob: z + .lazy(() => ProcessMediaJobUpdateOneWithoutBase_jobNestedInputSchema) + .optional(), + DummyTestJob: z + .lazy(() => DummyTestJobUpdateManyWithoutBase_jobNestedInputSchema) + .optional(), + }) + .strict(); + +export default BaseJobUpdateWithoutLoadAssetJobInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/BaseJobUpdateWithoutProcessMediaJobInputSchema.ts b/utility/prisma/types/inputTypeSchemas/BaseJobUpdateWithoutProcessMediaJobInputSchema.ts new file mode 100644 index 00000000..053d50b2 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/BaseJobUpdateWithoutProcessMediaJobInputSchema.ts @@ -0,0 +1,70 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { NullableStringFieldUpdateOperationsInputSchema } from "./NullableStringFieldUpdateOperationsInputSchema"; +import { JobStateSchema } from "./JobStateSchema"; +import { EnumJobStateFieldUpdateOperationsInputSchema } from "./EnumJobStateFieldUpdateOperationsInputSchema"; +import { DateTimeFieldUpdateOperationsInputSchema } from "./DateTimeFieldUpdateOperationsInputSchema"; +import { NullableDateTimeFieldUpdateOperationsInputSchema } from "./NullableDateTimeFieldUpdateOperationsInputSchema"; +import { LoadAssetJobUpdateOneWithoutBase_jobNestedInputSchema } from "./LoadAssetJobUpdateOneWithoutBase_jobNestedInputSchema"; +import { DummyTestJobUpdateManyWithoutBase_jobNestedInputSchema } from "./DummyTestJobUpdateManyWithoutBase_jobNestedInputSchema"; + +export const BaseJobUpdateWithoutProcessMediaJobInputSchema: z.ZodType = + z + .object({ + workerId: z + .union([ + z.string(), + z.lazy(() => NullableStringFieldUpdateOperationsInputSchema), + ]) + .optional() + .nullable(), + state: z + .union([ + z.lazy(() => JobStateSchema), + z.lazy(() => EnumJobStateFieldUpdateOperationsInputSchema), + ]) + .optional(), + createdAt: z + .union([ + z.coerce.date(), + z.lazy(() => DateTimeFieldUpdateOperationsInputSchema), + ]) + .optional(), + startedAt: z + .union([ + z.coerce.date(), + z.lazy(() => NullableDateTimeFieldUpdateOperationsInputSchema), + ]) + .optional() + .nullable(), + completedAt: z + .union([ + z.coerce.date(), + z.lazy(() => NullableDateTimeFieldUpdateOperationsInputSchema), + ]) + .optional() + .nullable(), + externalJobProvider: z + .union([ + z.string(), + z.lazy(() => NullableStringFieldUpdateOperationsInputSchema), + ]) + .optional() + .nullable(), + externalJobID: z + .union([ + z.string(), + z.lazy(() => NullableStringFieldUpdateOperationsInputSchema), + ]) + .optional() + .nullable(), + LoadAssetJob: z + .lazy(() => LoadAssetJobUpdateOneWithoutBase_jobNestedInputSchema) + .optional(), + DummyTestJob: z + .lazy(() => DummyTestJobUpdateManyWithoutBase_jobNestedInputSchema) + .optional(), + }) + .strict(); + +export default BaseJobUpdateWithoutProcessMediaJobInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/BaseJobUpsertWithoutDummyTestJobInputSchema.ts b/utility/prisma/types/inputTypeSchemas/BaseJobUpsertWithoutDummyTestJobInputSchema.ts new file mode 100644 index 00000000..774a4705 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/BaseJobUpsertWithoutDummyTestJobInputSchema.ts @@ -0,0 +1,24 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { BaseJobUpdateWithoutDummyTestJobInputSchema } from "./BaseJobUpdateWithoutDummyTestJobInputSchema"; +import { BaseJobUncheckedUpdateWithoutDummyTestJobInputSchema } from "./BaseJobUncheckedUpdateWithoutDummyTestJobInputSchema"; +import { BaseJobCreateWithoutDummyTestJobInputSchema } from "./BaseJobCreateWithoutDummyTestJobInputSchema"; +import { BaseJobUncheckedCreateWithoutDummyTestJobInputSchema } from "./BaseJobUncheckedCreateWithoutDummyTestJobInputSchema"; +import { BaseJobWhereInputSchema } from "./BaseJobWhereInputSchema"; + +export const BaseJobUpsertWithoutDummyTestJobInputSchema: z.ZodType = + z + .object({ + update: z.union([ + z.lazy(() => BaseJobUpdateWithoutDummyTestJobInputSchema), + z.lazy(() => BaseJobUncheckedUpdateWithoutDummyTestJobInputSchema), + ]), + create: z.union([ + z.lazy(() => BaseJobCreateWithoutDummyTestJobInputSchema), + z.lazy(() => BaseJobUncheckedCreateWithoutDummyTestJobInputSchema), + ]), + where: z.lazy(() => BaseJobWhereInputSchema).optional(), + }) + .strict(); + +export default BaseJobUpsertWithoutDummyTestJobInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/BaseJobUpsertWithoutLoadAssetJobInputSchema.ts b/utility/prisma/types/inputTypeSchemas/BaseJobUpsertWithoutLoadAssetJobInputSchema.ts new file mode 100644 index 00000000..b0ef123e --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/BaseJobUpsertWithoutLoadAssetJobInputSchema.ts @@ -0,0 +1,24 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { BaseJobUpdateWithoutLoadAssetJobInputSchema } from "./BaseJobUpdateWithoutLoadAssetJobInputSchema"; +import { BaseJobUncheckedUpdateWithoutLoadAssetJobInputSchema } from "./BaseJobUncheckedUpdateWithoutLoadAssetJobInputSchema"; +import { BaseJobCreateWithoutLoadAssetJobInputSchema } from "./BaseJobCreateWithoutLoadAssetJobInputSchema"; +import { BaseJobUncheckedCreateWithoutLoadAssetJobInputSchema } from "./BaseJobUncheckedCreateWithoutLoadAssetJobInputSchema"; +import { BaseJobWhereInputSchema } from "./BaseJobWhereInputSchema"; + +export const BaseJobUpsertWithoutLoadAssetJobInputSchema: z.ZodType = + z + .object({ + update: z.union([ + z.lazy(() => BaseJobUpdateWithoutLoadAssetJobInputSchema), + z.lazy(() => BaseJobUncheckedUpdateWithoutLoadAssetJobInputSchema), + ]), + create: z.union([ + z.lazy(() => BaseJobCreateWithoutLoadAssetJobInputSchema), + z.lazy(() => BaseJobUncheckedCreateWithoutLoadAssetJobInputSchema), + ]), + where: z.lazy(() => BaseJobWhereInputSchema).optional(), + }) + .strict(); + +export default BaseJobUpsertWithoutLoadAssetJobInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/BaseJobUpsertWithoutProcessMediaJobInputSchema.ts b/utility/prisma/types/inputTypeSchemas/BaseJobUpsertWithoutProcessMediaJobInputSchema.ts new file mode 100644 index 00000000..e04a59c1 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/BaseJobUpsertWithoutProcessMediaJobInputSchema.ts @@ -0,0 +1,24 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { BaseJobUpdateWithoutProcessMediaJobInputSchema } from "./BaseJobUpdateWithoutProcessMediaJobInputSchema"; +import { BaseJobUncheckedUpdateWithoutProcessMediaJobInputSchema } from "./BaseJobUncheckedUpdateWithoutProcessMediaJobInputSchema"; +import { BaseJobCreateWithoutProcessMediaJobInputSchema } from "./BaseJobCreateWithoutProcessMediaJobInputSchema"; +import { BaseJobUncheckedCreateWithoutProcessMediaJobInputSchema } from "./BaseJobUncheckedCreateWithoutProcessMediaJobInputSchema"; +import { BaseJobWhereInputSchema } from "./BaseJobWhereInputSchema"; + +export const BaseJobUpsertWithoutProcessMediaJobInputSchema: z.ZodType = + z + .object({ + update: z.union([ + z.lazy(() => BaseJobUpdateWithoutProcessMediaJobInputSchema), + z.lazy(() => BaseJobUncheckedUpdateWithoutProcessMediaJobInputSchema), + ]), + create: z.union([ + z.lazy(() => BaseJobCreateWithoutProcessMediaJobInputSchema), + z.lazy(() => BaseJobUncheckedCreateWithoutProcessMediaJobInputSchema), + ]), + where: z.lazy(() => BaseJobWhereInputSchema).optional(), + }) + .strict(); + +export default BaseJobUpsertWithoutProcessMediaJobInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/BaseJobWhereInputSchema.ts b/utility/prisma/types/inputTypeSchemas/BaseJobWhereInputSchema.ts new file mode 100644 index 00000000..f847917d --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/BaseJobWhereInputSchema.ts @@ -0,0 +1,81 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { IntFilterSchema } from "./IntFilterSchema"; +import { StringNullableFilterSchema } from "./StringNullableFilterSchema"; +import { EnumJobStateFilterSchema } from "./EnumJobStateFilterSchema"; +import { JobStateSchema } from "./JobStateSchema"; +import { DateTimeFilterSchema } from "./DateTimeFilterSchema"; +import { DateTimeNullableFilterSchema } from "./DateTimeNullableFilterSchema"; +import { ProcessMediaJobNullableRelationFilterSchema } from "./ProcessMediaJobNullableRelationFilterSchema"; +import { ProcessMediaJobWhereInputSchema } from "./ProcessMediaJobWhereInputSchema"; +import { LoadAssetJobNullableRelationFilterSchema } from "./LoadAssetJobNullableRelationFilterSchema"; +import { LoadAssetJobWhereInputSchema } from "./LoadAssetJobWhereInputSchema"; +import { DummyTestJobListRelationFilterSchema } from "./DummyTestJobListRelationFilterSchema"; + +export const BaseJobWhereInputSchema: z.ZodType = z + .object({ + AND: z + .union([ + z.lazy(() => BaseJobWhereInputSchema), + z.lazy(() => BaseJobWhereInputSchema).array(), + ]) + .optional(), + OR: z + .lazy(() => BaseJobWhereInputSchema) + .array() + .optional(), + NOT: z + .union([ + z.lazy(() => BaseJobWhereInputSchema), + z.lazy(() => BaseJobWhereInputSchema).array(), + ]) + .optional(), + id: z.union([z.lazy(() => IntFilterSchema), z.number()]).optional(), + workerId: z + .union([z.lazy(() => StringNullableFilterSchema), z.string()]) + .optional() + .nullable(), + state: z + .union([ + z.lazy(() => EnumJobStateFilterSchema), + z.lazy(() => JobStateSchema), + ]) + .optional(), + createdAt: z + .union([z.lazy(() => DateTimeFilterSchema), z.coerce.date()]) + .optional(), + startedAt: z + .union([z.lazy(() => DateTimeNullableFilterSchema), z.coerce.date()]) + .optional() + .nullable(), + completedAt: z + .union([z.lazy(() => DateTimeNullableFilterSchema), z.coerce.date()]) + .optional() + .nullable(), + externalJobProvider: z + .union([z.lazy(() => StringNullableFilterSchema), z.string()]) + .optional() + .nullable(), + externalJobID: z + .union([z.lazy(() => StringNullableFilterSchema), z.string()]) + .optional() + .nullable(), + ProcessMediaJob: z + .union([ + z.lazy(() => ProcessMediaJobNullableRelationFilterSchema), + z.lazy(() => ProcessMediaJobWhereInputSchema), + ]) + .optional() + .nullable(), + LoadAssetJob: z + .union([ + z.lazy(() => LoadAssetJobNullableRelationFilterSchema), + z.lazy(() => LoadAssetJobWhereInputSchema), + ]) + .optional() + .nullable(), + DummyTestJob: z.lazy(() => DummyTestJobListRelationFilterSchema).optional(), + }) + .strict(); + +export default BaseJobWhereInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/BaseJobWhereUniqueInputSchema.ts b/utility/prisma/types/inputTypeSchemas/BaseJobWhereUniqueInputSchema.ts new file mode 100644 index 00000000..68bc1cd3 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/BaseJobWhereUniqueInputSchema.ts @@ -0,0 +1,96 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { BaseJobWhereInputSchema } from "./BaseJobWhereInputSchema"; +import { StringNullableFilterSchema } from "./StringNullableFilterSchema"; +import { EnumJobStateFilterSchema } from "./EnumJobStateFilterSchema"; +import { JobStateSchema } from "./JobStateSchema"; +import { DateTimeFilterSchema } from "./DateTimeFilterSchema"; +import { DateTimeNullableFilterSchema } from "./DateTimeNullableFilterSchema"; +import { ProcessMediaJobNullableRelationFilterSchema } from "./ProcessMediaJobNullableRelationFilterSchema"; +import { ProcessMediaJobWhereInputSchema } from "./ProcessMediaJobWhereInputSchema"; +import { LoadAssetJobNullableRelationFilterSchema } from "./LoadAssetJobNullableRelationFilterSchema"; +import { LoadAssetJobWhereInputSchema } from "./LoadAssetJobWhereInputSchema"; +import { DummyTestJobListRelationFilterSchema } from "./DummyTestJobListRelationFilterSchema"; + +export const BaseJobWhereUniqueInputSchema: z.ZodType = + z + .object({ + id: z.number(), + }) + .and( + z + .object({ + id: z.number().optional(), + AND: z + .union([ + z.lazy(() => BaseJobWhereInputSchema), + z.lazy(() => BaseJobWhereInputSchema).array(), + ]) + .optional(), + OR: z + .lazy(() => BaseJobWhereInputSchema) + .array() + .optional(), + NOT: z + .union([ + z.lazy(() => BaseJobWhereInputSchema), + z.lazy(() => BaseJobWhereInputSchema).array(), + ]) + .optional(), + workerId: z + .union([z.lazy(() => StringNullableFilterSchema), z.string()]) + .optional() + .nullable(), + state: z + .union([ + z.lazy(() => EnumJobStateFilterSchema), + z.lazy(() => JobStateSchema), + ]) + .optional(), + createdAt: z + .union([z.lazy(() => DateTimeFilterSchema), z.coerce.date()]) + .optional(), + startedAt: z + .union([ + z.lazy(() => DateTimeNullableFilterSchema), + z.coerce.date(), + ]) + .optional() + .nullable(), + completedAt: z + .union([ + z.lazy(() => DateTimeNullableFilterSchema), + z.coerce.date(), + ]) + .optional() + .nullable(), + externalJobProvider: z + .union([z.lazy(() => StringNullableFilterSchema), z.string()]) + .optional() + .nullable(), + externalJobID: z + .union([z.lazy(() => StringNullableFilterSchema), z.string()]) + .optional() + .nullable(), + ProcessMediaJob: z + .union([ + z.lazy(() => ProcessMediaJobNullableRelationFilterSchema), + z.lazy(() => ProcessMediaJobWhereInputSchema), + ]) + .optional() + .nullable(), + LoadAssetJob: z + .union([ + z.lazy(() => LoadAssetJobNullableRelationFilterSchema), + z.lazy(() => LoadAssetJobWhereInputSchema), + ]) + .optional() + .nullable(), + DummyTestJob: z + .lazy(() => DummyTestJobListRelationFilterSchema) + .optional(), + }) + .strict(), + ); + +export default BaseJobWhereUniqueInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/ContinuityItemAvgOrderByAggregateInputSchema.ts b/utility/prisma/types/inputTypeSchemas/ContinuityItemAvgOrderByAggregateInputSchema.ts new file mode 100644 index 00000000..94d5b9cf --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/ContinuityItemAvgOrderByAggregateInputSchema.ts @@ -0,0 +1,15 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { SortOrderSchema } from "./SortOrderSchema"; + +export const ContinuityItemAvgOrderByAggregateInputSchema: z.ZodType = + z + .object({ + id: z.lazy(() => SortOrderSchema).optional(), + order: z.lazy(() => SortOrderSchema).optional(), + showId: z.lazy(() => SortOrderSchema).optional(), + durationSeconds: z.lazy(() => SortOrderSchema).optional(), + }) + .strict(); + +export default ContinuityItemAvgOrderByAggregateInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/ContinuityItemCountOrderByAggregateInputSchema.ts b/utility/prisma/types/inputTypeSchemas/ContinuityItemCountOrderByAggregateInputSchema.ts new file mode 100644 index 00000000..04a08cce --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/ContinuityItemCountOrderByAggregateInputSchema.ts @@ -0,0 +1,16 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { SortOrderSchema } from "./SortOrderSchema"; + +export const ContinuityItemCountOrderByAggregateInputSchema: z.ZodType = + z + .object({ + id: z.lazy(() => SortOrderSchema).optional(), + name: z.lazy(() => SortOrderSchema).optional(), + order: z.lazy(() => SortOrderSchema).optional(), + showId: z.lazy(() => SortOrderSchema).optional(), + durationSeconds: z.lazy(() => SortOrderSchema).optional(), + }) + .strict(); + +export default ContinuityItemCountOrderByAggregateInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/ContinuityItemCreateInputSchema.ts b/utility/prisma/types/inputTypeSchemas/ContinuityItemCreateInputSchema.ts new file mode 100644 index 00000000..925c5b83 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/ContinuityItemCreateInputSchema.ts @@ -0,0 +1,19 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { MediaCreateNestedOneWithoutContinuityItemInputSchema } from "./MediaCreateNestedOneWithoutContinuityItemInputSchema"; +import { ShowCreateNestedOneWithoutContinuityItemsInputSchema } from "./ShowCreateNestedOneWithoutContinuityItemsInputSchema"; + +export const ContinuityItemCreateInputSchema: z.ZodType = + z + .object({ + name: z.string(), + order: z.number().int(), + durationSeconds: z.number().int(), + media: z + .lazy(() => MediaCreateNestedOneWithoutContinuityItemInputSchema) + .optional(), + show: z.lazy(() => ShowCreateNestedOneWithoutContinuityItemsInputSchema), + }) + .strict(); + +export default ContinuityItemCreateInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/ContinuityItemCreateManyInputSchema.ts b/utility/prisma/types/inputTypeSchemas/ContinuityItemCreateManyInputSchema.ts new file mode 100644 index 00000000..29417912 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/ContinuityItemCreateManyInputSchema.ts @@ -0,0 +1,15 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; + +export const ContinuityItemCreateManyInputSchema: z.ZodType = + z + .object({ + id: z.number().int().optional(), + name: z.string(), + order: z.number().int(), + showId: z.number().int(), + durationSeconds: z.number().int(), + }) + .strict(); + +export default ContinuityItemCreateManyInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/ContinuityItemCreateManyShowInputEnvelopeSchema.ts b/utility/prisma/types/inputTypeSchemas/ContinuityItemCreateManyShowInputEnvelopeSchema.ts new file mode 100644 index 00000000..15efac8a --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/ContinuityItemCreateManyShowInputEnvelopeSchema.ts @@ -0,0 +1,16 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { ContinuityItemCreateManyShowInputSchema } from "./ContinuityItemCreateManyShowInputSchema"; + +export const ContinuityItemCreateManyShowInputEnvelopeSchema: z.ZodType = + z + .object({ + data: z.union([ + z.lazy(() => ContinuityItemCreateManyShowInputSchema), + z.lazy(() => ContinuityItemCreateManyShowInputSchema).array(), + ]), + skipDuplicates: z.boolean().optional(), + }) + .strict(); + +export default ContinuityItemCreateManyShowInputEnvelopeSchema; diff --git a/utility/prisma/types/inputTypeSchemas/ContinuityItemCreateManyShowInputSchema.ts b/utility/prisma/types/inputTypeSchemas/ContinuityItemCreateManyShowInputSchema.ts new file mode 100644 index 00000000..3ca9585b --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/ContinuityItemCreateManyShowInputSchema.ts @@ -0,0 +1,14 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; + +export const ContinuityItemCreateManyShowInputSchema: z.ZodType = + z + .object({ + id: z.number().int().optional(), + name: z.string(), + order: z.number().int(), + durationSeconds: z.number().int(), + }) + .strict(); + +export default ContinuityItemCreateManyShowInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/ContinuityItemCreateNestedManyWithoutShowInputSchema.ts b/utility/prisma/types/inputTypeSchemas/ContinuityItemCreateNestedManyWithoutShowInputSchema.ts new file mode 100644 index 00000000..e215058a --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/ContinuityItemCreateNestedManyWithoutShowInputSchema.ts @@ -0,0 +1,42 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { ContinuityItemCreateWithoutShowInputSchema } from "./ContinuityItemCreateWithoutShowInputSchema"; +import { ContinuityItemUncheckedCreateWithoutShowInputSchema } from "./ContinuityItemUncheckedCreateWithoutShowInputSchema"; +import { ContinuityItemCreateOrConnectWithoutShowInputSchema } from "./ContinuityItemCreateOrConnectWithoutShowInputSchema"; +import { ContinuityItemCreateManyShowInputEnvelopeSchema } from "./ContinuityItemCreateManyShowInputEnvelopeSchema"; +import { ContinuityItemWhereUniqueInputSchema } from "./ContinuityItemWhereUniqueInputSchema"; + +export const ContinuityItemCreateNestedManyWithoutShowInputSchema: z.ZodType = + z + .object({ + create: z + .union([ + z.lazy(() => ContinuityItemCreateWithoutShowInputSchema), + z.lazy(() => ContinuityItemCreateWithoutShowInputSchema).array(), + z.lazy(() => ContinuityItemUncheckedCreateWithoutShowInputSchema), + z + .lazy(() => ContinuityItemUncheckedCreateWithoutShowInputSchema) + .array(), + ]) + .optional(), + connectOrCreate: z + .union([ + z.lazy(() => ContinuityItemCreateOrConnectWithoutShowInputSchema), + z + .lazy(() => ContinuityItemCreateOrConnectWithoutShowInputSchema) + .array(), + ]) + .optional(), + createMany: z + .lazy(() => ContinuityItemCreateManyShowInputEnvelopeSchema) + .optional(), + connect: z + .union([ + z.lazy(() => ContinuityItemWhereUniqueInputSchema), + z.lazy(() => ContinuityItemWhereUniqueInputSchema).array(), + ]) + .optional(), + }) + .strict(); + +export default ContinuityItemCreateNestedManyWithoutShowInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/ContinuityItemCreateNestedOneWithoutMediaInputSchema.ts b/utility/prisma/types/inputTypeSchemas/ContinuityItemCreateNestedOneWithoutMediaInputSchema.ts new file mode 100644 index 00000000..d2ffef2c --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/ContinuityItemCreateNestedOneWithoutMediaInputSchema.ts @@ -0,0 +1,24 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { ContinuityItemCreateWithoutMediaInputSchema } from "./ContinuityItemCreateWithoutMediaInputSchema"; +import { ContinuityItemUncheckedCreateWithoutMediaInputSchema } from "./ContinuityItemUncheckedCreateWithoutMediaInputSchema"; +import { ContinuityItemCreateOrConnectWithoutMediaInputSchema } from "./ContinuityItemCreateOrConnectWithoutMediaInputSchema"; +import { ContinuityItemWhereUniqueInputSchema } from "./ContinuityItemWhereUniqueInputSchema"; + +export const ContinuityItemCreateNestedOneWithoutMediaInputSchema: z.ZodType = + z + .object({ + create: z + .union([ + z.lazy(() => ContinuityItemCreateWithoutMediaInputSchema), + z.lazy(() => ContinuityItemUncheckedCreateWithoutMediaInputSchema), + ]) + .optional(), + connectOrCreate: z + .lazy(() => ContinuityItemCreateOrConnectWithoutMediaInputSchema) + .optional(), + connect: z.lazy(() => ContinuityItemWhereUniqueInputSchema).optional(), + }) + .strict(); + +export default ContinuityItemCreateNestedOneWithoutMediaInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/ContinuityItemCreateOrConnectWithoutMediaInputSchema.ts b/utility/prisma/types/inputTypeSchemas/ContinuityItemCreateOrConnectWithoutMediaInputSchema.ts new file mode 100644 index 00000000..8e48f67c --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/ContinuityItemCreateOrConnectWithoutMediaInputSchema.ts @@ -0,0 +1,18 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { ContinuityItemWhereUniqueInputSchema } from "./ContinuityItemWhereUniqueInputSchema"; +import { ContinuityItemCreateWithoutMediaInputSchema } from "./ContinuityItemCreateWithoutMediaInputSchema"; +import { ContinuityItemUncheckedCreateWithoutMediaInputSchema } from "./ContinuityItemUncheckedCreateWithoutMediaInputSchema"; + +export const ContinuityItemCreateOrConnectWithoutMediaInputSchema: z.ZodType = + z + .object({ + where: z.lazy(() => ContinuityItemWhereUniqueInputSchema), + create: z.union([ + z.lazy(() => ContinuityItemCreateWithoutMediaInputSchema), + z.lazy(() => ContinuityItemUncheckedCreateWithoutMediaInputSchema), + ]), + }) + .strict(); + +export default ContinuityItemCreateOrConnectWithoutMediaInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/ContinuityItemCreateOrConnectWithoutShowInputSchema.ts b/utility/prisma/types/inputTypeSchemas/ContinuityItemCreateOrConnectWithoutShowInputSchema.ts new file mode 100644 index 00000000..ffa074a6 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/ContinuityItemCreateOrConnectWithoutShowInputSchema.ts @@ -0,0 +1,18 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { ContinuityItemWhereUniqueInputSchema } from "./ContinuityItemWhereUniqueInputSchema"; +import { ContinuityItemCreateWithoutShowInputSchema } from "./ContinuityItemCreateWithoutShowInputSchema"; +import { ContinuityItemUncheckedCreateWithoutShowInputSchema } from "./ContinuityItemUncheckedCreateWithoutShowInputSchema"; + +export const ContinuityItemCreateOrConnectWithoutShowInputSchema: z.ZodType = + z + .object({ + where: z.lazy(() => ContinuityItemWhereUniqueInputSchema), + create: z.union([ + z.lazy(() => ContinuityItemCreateWithoutShowInputSchema), + z.lazy(() => ContinuityItemUncheckedCreateWithoutShowInputSchema), + ]), + }) + .strict(); + +export default ContinuityItemCreateOrConnectWithoutShowInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/ContinuityItemCreateWithoutMediaInputSchema.ts b/utility/prisma/types/inputTypeSchemas/ContinuityItemCreateWithoutMediaInputSchema.ts new file mode 100644 index 00000000..53bf8cde --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/ContinuityItemCreateWithoutMediaInputSchema.ts @@ -0,0 +1,15 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { ShowCreateNestedOneWithoutContinuityItemsInputSchema } from "./ShowCreateNestedOneWithoutContinuityItemsInputSchema"; + +export const ContinuityItemCreateWithoutMediaInputSchema: z.ZodType = + z + .object({ + name: z.string(), + order: z.number().int(), + durationSeconds: z.number().int(), + show: z.lazy(() => ShowCreateNestedOneWithoutContinuityItemsInputSchema), + }) + .strict(); + +export default ContinuityItemCreateWithoutMediaInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/ContinuityItemCreateWithoutShowInputSchema.ts b/utility/prisma/types/inputTypeSchemas/ContinuityItemCreateWithoutShowInputSchema.ts new file mode 100644 index 00000000..b21310c1 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/ContinuityItemCreateWithoutShowInputSchema.ts @@ -0,0 +1,17 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { MediaCreateNestedOneWithoutContinuityItemInputSchema } from "./MediaCreateNestedOneWithoutContinuityItemInputSchema"; + +export const ContinuityItemCreateWithoutShowInputSchema: z.ZodType = + z + .object({ + name: z.string(), + order: z.number().int(), + durationSeconds: z.number().int(), + media: z + .lazy(() => MediaCreateNestedOneWithoutContinuityItemInputSchema) + .optional(), + }) + .strict(); + +export default ContinuityItemCreateWithoutShowInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/ContinuityItemIncludeSchema.ts b/utility/prisma/types/inputTypeSchemas/ContinuityItemIncludeSchema.ts new file mode 100644 index 00000000..1a218ea4 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/ContinuityItemIncludeSchema.ts @@ -0,0 +1,14 @@ +import { z } from "zod"; +import type { Prisma } from "../../client"; +import { MediaArgsSchema } from "../outputTypeSchemas/MediaArgsSchema"; +import { ShowArgsSchema } from "../outputTypeSchemas/ShowArgsSchema"; + +export const ContinuityItemIncludeSchema: z.ZodType = + z + .object({ + media: z.union([z.boolean(), z.lazy(() => MediaArgsSchema)]).optional(), + show: z.union([z.boolean(), z.lazy(() => ShowArgsSchema)]).optional(), + }) + .strict(); + +export default ContinuityItemIncludeSchema; diff --git a/utility/prisma/types/inputTypeSchemas/ContinuityItemListRelationFilterSchema.ts b/utility/prisma/types/inputTypeSchemas/ContinuityItemListRelationFilterSchema.ts new file mode 100644 index 00000000..47974f0c --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/ContinuityItemListRelationFilterSchema.ts @@ -0,0 +1,14 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { ContinuityItemWhereInputSchema } from "./ContinuityItemWhereInputSchema"; + +export const ContinuityItemListRelationFilterSchema: z.ZodType = + z + .object({ + every: z.lazy(() => ContinuityItemWhereInputSchema).optional(), + some: z.lazy(() => ContinuityItemWhereInputSchema).optional(), + none: z.lazy(() => ContinuityItemWhereInputSchema).optional(), + }) + .strict(); + +export default ContinuityItemListRelationFilterSchema; diff --git a/utility/prisma/types/inputTypeSchemas/ContinuityItemMaxOrderByAggregateInputSchema.ts b/utility/prisma/types/inputTypeSchemas/ContinuityItemMaxOrderByAggregateInputSchema.ts new file mode 100644 index 00000000..595edcd8 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/ContinuityItemMaxOrderByAggregateInputSchema.ts @@ -0,0 +1,16 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { SortOrderSchema } from "./SortOrderSchema"; + +export const ContinuityItemMaxOrderByAggregateInputSchema: z.ZodType = + z + .object({ + id: z.lazy(() => SortOrderSchema).optional(), + name: z.lazy(() => SortOrderSchema).optional(), + order: z.lazy(() => SortOrderSchema).optional(), + showId: z.lazy(() => SortOrderSchema).optional(), + durationSeconds: z.lazy(() => SortOrderSchema).optional(), + }) + .strict(); + +export default ContinuityItemMaxOrderByAggregateInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/ContinuityItemMinOrderByAggregateInputSchema.ts b/utility/prisma/types/inputTypeSchemas/ContinuityItemMinOrderByAggregateInputSchema.ts new file mode 100644 index 00000000..5dfb41f9 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/ContinuityItemMinOrderByAggregateInputSchema.ts @@ -0,0 +1,16 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { SortOrderSchema } from "./SortOrderSchema"; + +export const ContinuityItemMinOrderByAggregateInputSchema: z.ZodType = + z + .object({ + id: z.lazy(() => SortOrderSchema).optional(), + name: z.lazy(() => SortOrderSchema).optional(), + order: z.lazy(() => SortOrderSchema).optional(), + showId: z.lazy(() => SortOrderSchema).optional(), + durationSeconds: z.lazy(() => SortOrderSchema).optional(), + }) + .strict(); + +export default ContinuityItemMinOrderByAggregateInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/ContinuityItemNullableRelationFilterSchema.ts b/utility/prisma/types/inputTypeSchemas/ContinuityItemNullableRelationFilterSchema.ts new file mode 100644 index 00000000..27ff078a --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/ContinuityItemNullableRelationFilterSchema.ts @@ -0,0 +1,19 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { ContinuityItemWhereInputSchema } from "./ContinuityItemWhereInputSchema"; + +export const ContinuityItemNullableRelationFilterSchema: z.ZodType = + z + .object({ + is: z + .lazy(() => ContinuityItemWhereInputSchema) + .optional() + .nullable(), + isNot: z + .lazy(() => ContinuityItemWhereInputSchema) + .optional() + .nullable(), + }) + .strict(); + +export default ContinuityItemNullableRelationFilterSchema; diff --git a/utility/prisma/types/inputTypeSchemas/ContinuityItemOrderByRelationAggregateInputSchema.ts b/utility/prisma/types/inputTypeSchemas/ContinuityItemOrderByRelationAggregateInputSchema.ts new file mode 100644 index 00000000..a75a2d60 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/ContinuityItemOrderByRelationAggregateInputSchema.ts @@ -0,0 +1,12 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { SortOrderSchema } from "./SortOrderSchema"; + +export const ContinuityItemOrderByRelationAggregateInputSchema: z.ZodType = + z + .object({ + _count: z.lazy(() => SortOrderSchema).optional(), + }) + .strict(); + +export default ContinuityItemOrderByRelationAggregateInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/ContinuityItemOrderByWithAggregationInputSchema.ts b/utility/prisma/types/inputTypeSchemas/ContinuityItemOrderByWithAggregationInputSchema.ts new file mode 100644 index 00000000..856e1c97 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/ContinuityItemOrderByWithAggregationInputSchema.ts @@ -0,0 +1,36 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { SortOrderSchema } from "./SortOrderSchema"; +import { ContinuityItemCountOrderByAggregateInputSchema } from "./ContinuityItemCountOrderByAggregateInputSchema"; +import { ContinuityItemAvgOrderByAggregateInputSchema } from "./ContinuityItemAvgOrderByAggregateInputSchema"; +import { ContinuityItemMaxOrderByAggregateInputSchema } from "./ContinuityItemMaxOrderByAggregateInputSchema"; +import { ContinuityItemMinOrderByAggregateInputSchema } from "./ContinuityItemMinOrderByAggregateInputSchema"; +import { ContinuityItemSumOrderByAggregateInputSchema } from "./ContinuityItemSumOrderByAggregateInputSchema"; + +export const ContinuityItemOrderByWithAggregationInputSchema: z.ZodType = + z + .object({ + id: z.lazy(() => SortOrderSchema).optional(), + name: z.lazy(() => SortOrderSchema).optional(), + order: z.lazy(() => SortOrderSchema).optional(), + showId: z.lazy(() => SortOrderSchema).optional(), + durationSeconds: z.lazy(() => SortOrderSchema).optional(), + _count: z + .lazy(() => ContinuityItemCountOrderByAggregateInputSchema) + .optional(), + _avg: z + .lazy(() => ContinuityItemAvgOrderByAggregateInputSchema) + .optional(), + _max: z + .lazy(() => ContinuityItemMaxOrderByAggregateInputSchema) + .optional(), + _min: z + .lazy(() => ContinuityItemMinOrderByAggregateInputSchema) + .optional(), + _sum: z + .lazy(() => ContinuityItemSumOrderByAggregateInputSchema) + .optional(), + }) + .strict(); + +export default ContinuityItemOrderByWithAggregationInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/ContinuityItemOrderByWithRelationInputSchema.ts b/utility/prisma/types/inputTypeSchemas/ContinuityItemOrderByWithRelationInputSchema.ts new file mode 100644 index 00000000..64e3b9ed --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/ContinuityItemOrderByWithRelationInputSchema.ts @@ -0,0 +1,20 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { SortOrderSchema } from "./SortOrderSchema"; +import { MediaOrderByWithRelationInputSchema } from "./MediaOrderByWithRelationInputSchema"; +import { ShowOrderByWithRelationInputSchema } from "./ShowOrderByWithRelationInputSchema"; + +export const ContinuityItemOrderByWithRelationInputSchema: z.ZodType = + z + .object({ + id: z.lazy(() => SortOrderSchema).optional(), + name: z.lazy(() => SortOrderSchema).optional(), + order: z.lazy(() => SortOrderSchema).optional(), + showId: z.lazy(() => SortOrderSchema).optional(), + durationSeconds: z.lazy(() => SortOrderSchema).optional(), + media: z.lazy(() => MediaOrderByWithRelationInputSchema).optional(), + show: z.lazy(() => ShowOrderByWithRelationInputSchema).optional(), + }) + .strict(); + +export default ContinuityItemOrderByWithRelationInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/ContinuityItemScalarWhereInputSchema.ts b/utility/prisma/types/inputTypeSchemas/ContinuityItemScalarWhereInputSchema.ts new file mode 100644 index 00000000..35a46ab2 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/ContinuityItemScalarWhereInputSchema.ts @@ -0,0 +1,35 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { IntFilterSchema } from "./IntFilterSchema"; +import { StringFilterSchema } from "./StringFilterSchema"; + +export const ContinuityItemScalarWhereInputSchema: z.ZodType = + z + .object({ + AND: z + .union([ + z.lazy(() => ContinuityItemScalarWhereInputSchema), + z.lazy(() => ContinuityItemScalarWhereInputSchema).array(), + ]) + .optional(), + OR: z + .lazy(() => ContinuityItemScalarWhereInputSchema) + .array() + .optional(), + NOT: z + .union([ + z.lazy(() => ContinuityItemScalarWhereInputSchema), + z.lazy(() => ContinuityItemScalarWhereInputSchema).array(), + ]) + .optional(), + id: z.union([z.lazy(() => IntFilterSchema), z.number()]).optional(), + name: z.union([z.lazy(() => StringFilterSchema), z.string()]).optional(), + order: z.union([z.lazy(() => IntFilterSchema), z.number()]).optional(), + showId: z.union([z.lazy(() => IntFilterSchema), z.number()]).optional(), + durationSeconds: z + .union([z.lazy(() => IntFilterSchema), z.number()]) + .optional(), + }) + .strict(); + +export default ContinuityItemScalarWhereInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/ContinuityItemScalarWhereWithAggregatesInputSchema.ts b/utility/prisma/types/inputTypeSchemas/ContinuityItemScalarWhereWithAggregatesInputSchema.ts new file mode 100644 index 00000000..f196656d --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/ContinuityItemScalarWhereWithAggregatesInputSchema.ts @@ -0,0 +1,47 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { IntWithAggregatesFilterSchema } from "./IntWithAggregatesFilterSchema"; +import { StringWithAggregatesFilterSchema } from "./StringWithAggregatesFilterSchema"; + +export const ContinuityItemScalarWhereWithAggregatesInputSchema: z.ZodType = + z + .object({ + AND: z + .union([ + z.lazy(() => ContinuityItemScalarWhereWithAggregatesInputSchema), + z + .lazy(() => ContinuityItemScalarWhereWithAggregatesInputSchema) + .array(), + ]) + .optional(), + OR: z + .lazy(() => ContinuityItemScalarWhereWithAggregatesInputSchema) + .array() + .optional(), + NOT: z + .union([ + z.lazy(() => ContinuityItemScalarWhereWithAggregatesInputSchema), + z + .lazy(() => ContinuityItemScalarWhereWithAggregatesInputSchema) + .array(), + ]) + .optional(), + id: z + .union([z.lazy(() => IntWithAggregatesFilterSchema), z.number()]) + .optional(), + name: z + .union([z.lazy(() => StringWithAggregatesFilterSchema), z.string()]) + .optional(), + order: z + .union([z.lazy(() => IntWithAggregatesFilterSchema), z.number()]) + .optional(), + showId: z + .union([z.lazy(() => IntWithAggregatesFilterSchema), z.number()]) + .optional(), + durationSeconds: z + .union([z.lazy(() => IntWithAggregatesFilterSchema), z.number()]) + .optional(), + }) + .strict(); + +export default ContinuityItemScalarWhereWithAggregatesInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/ContinuityItemSelectSchema.ts b/utility/prisma/types/inputTypeSchemas/ContinuityItemSelectSchema.ts new file mode 100644 index 00000000..ef348662 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/ContinuityItemSelectSchema.ts @@ -0,0 +1,19 @@ +import { z } from "zod"; +import type { Prisma } from "../../client"; +import { MediaArgsSchema } from "../outputTypeSchemas/MediaArgsSchema"; +import { ShowArgsSchema } from "../outputTypeSchemas/ShowArgsSchema"; + +export const ContinuityItemSelectSchema: z.ZodType = + z + .object({ + id: z.boolean().optional(), + name: z.boolean().optional(), + order: z.boolean().optional(), + showId: z.boolean().optional(), + durationSeconds: z.boolean().optional(), + media: z.union([z.boolean(), z.lazy(() => MediaArgsSchema)]).optional(), + show: z.union([z.boolean(), z.lazy(() => ShowArgsSchema)]).optional(), + }) + .strict(); + +export default ContinuityItemSelectSchema; diff --git a/utility/prisma/types/inputTypeSchemas/ContinuityItemSumOrderByAggregateInputSchema.ts b/utility/prisma/types/inputTypeSchemas/ContinuityItemSumOrderByAggregateInputSchema.ts new file mode 100644 index 00000000..6ea233f1 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/ContinuityItemSumOrderByAggregateInputSchema.ts @@ -0,0 +1,15 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { SortOrderSchema } from "./SortOrderSchema"; + +export const ContinuityItemSumOrderByAggregateInputSchema: z.ZodType = + z + .object({ + id: z.lazy(() => SortOrderSchema).optional(), + order: z.lazy(() => SortOrderSchema).optional(), + showId: z.lazy(() => SortOrderSchema).optional(), + durationSeconds: z.lazy(() => SortOrderSchema).optional(), + }) + .strict(); + +export default ContinuityItemSumOrderByAggregateInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/ContinuityItemUncheckedCreateInputSchema.ts b/utility/prisma/types/inputTypeSchemas/ContinuityItemUncheckedCreateInputSchema.ts new file mode 100644 index 00000000..79868b78 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/ContinuityItemUncheckedCreateInputSchema.ts @@ -0,0 +1,21 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { MediaUncheckedCreateNestedOneWithoutContinuityItemInputSchema } from "./MediaUncheckedCreateNestedOneWithoutContinuityItemInputSchema"; + +export const ContinuityItemUncheckedCreateInputSchema: z.ZodType = + z + .object({ + id: z.number().int().optional(), + name: z.string(), + order: z.number().int(), + showId: z.number().int(), + durationSeconds: z.number().int(), + media: z + .lazy( + () => MediaUncheckedCreateNestedOneWithoutContinuityItemInputSchema, + ) + .optional(), + }) + .strict(); + +export default ContinuityItemUncheckedCreateInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/ContinuityItemUncheckedCreateNestedManyWithoutShowInputSchema.ts b/utility/prisma/types/inputTypeSchemas/ContinuityItemUncheckedCreateNestedManyWithoutShowInputSchema.ts new file mode 100644 index 00000000..e48ecc5d --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/ContinuityItemUncheckedCreateNestedManyWithoutShowInputSchema.ts @@ -0,0 +1,42 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { ContinuityItemCreateWithoutShowInputSchema } from "./ContinuityItemCreateWithoutShowInputSchema"; +import { ContinuityItemUncheckedCreateWithoutShowInputSchema } from "./ContinuityItemUncheckedCreateWithoutShowInputSchema"; +import { ContinuityItemCreateOrConnectWithoutShowInputSchema } from "./ContinuityItemCreateOrConnectWithoutShowInputSchema"; +import { ContinuityItemCreateManyShowInputEnvelopeSchema } from "./ContinuityItemCreateManyShowInputEnvelopeSchema"; +import { ContinuityItemWhereUniqueInputSchema } from "./ContinuityItemWhereUniqueInputSchema"; + +export const ContinuityItemUncheckedCreateNestedManyWithoutShowInputSchema: z.ZodType = + z + .object({ + create: z + .union([ + z.lazy(() => ContinuityItemCreateWithoutShowInputSchema), + z.lazy(() => ContinuityItemCreateWithoutShowInputSchema).array(), + z.lazy(() => ContinuityItemUncheckedCreateWithoutShowInputSchema), + z + .lazy(() => ContinuityItemUncheckedCreateWithoutShowInputSchema) + .array(), + ]) + .optional(), + connectOrCreate: z + .union([ + z.lazy(() => ContinuityItemCreateOrConnectWithoutShowInputSchema), + z + .lazy(() => ContinuityItemCreateOrConnectWithoutShowInputSchema) + .array(), + ]) + .optional(), + createMany: z + .lazy(() => ContinuityItemCreateManyShowInputEnvelopeSchema) + .optional(), + connect: z + .union([ + z.lazy(() => ContinuityItemWhereUniqueInputSchema), + z.lazy(() => ContinuityItemWhereUniqueInputSchema).array(), + ]) + .optional(), + }) + .strict(); + +export default ContinuityItemUncheckedCreateNestedManyWithoutShowInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/ContinuityItemUncheckedCreateWithoutMediaInputSchema.ts b/utility/prisma/types/inputTypeSchemas/ContinuityItemUncheckedCreateWithoutMediaInputSchema.ts new file mode 100644 index 00000000..80283286 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/ContinuityItemUncheckedCreateWithoutMediaInputSchema.ts @@ -0,0 +1,15 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; + +export const ContinuityItemUncheckedCreateWithoutMediaInputSchema: z.ZodType = + z + .object({ + id: z.number().int().optional(), + name: z.string(), + order: z.number().int(), + showId: z.number().int(), + durationSeconds: z.number().int(), + }) + .strict(); + +export default ContinuityItemUncheckedCreateWithoutMediaInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/ContinuityItemUncheckedCreateWithoutShowInputSchema.ts b/utility/prisma/types/inputTypeSchemas/ContinuityItemUncheckedCreateWithoutShowInputSchema.ts new file mode 100644 index 00000000..4a0caf22 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/ContinuityItemUncheckedCreateWithoutShowInputSchema.ts @@ -0,0 +1,20 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { MediaUncheckedCreateNestedOneWithoutContinuityItemInputSchema } from "./MediaUncheckedCreateNestedOneWithoutContinuityItemInputSchema"; + +export const ContinuityItemUncheckedCreateWithoutShowInputSchema: z.ZodType = + z + .object({ + id: z.number().int().optional(), + name: z.string(), + order: z.number().int(), + durationSeconds: z.number().int(), + media: z + .lazy( + () => MediaUncheckedCreateNestedOneWithoutContinuityItemInputSchema, + ) + .optional(), + }) + .strict(); + +export default ContinuityItemUncheckedCreateWithoutShowInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/ContinuityItemUncheckedUpdateInputSchema.ts b/utility/prisma/types/inputTypeSchemas/ContinuityItemUncheckedUpdateInputSchema.ts new file mode 100644 index 00000000..fde23dbf --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/ContinuityItemUncheckedUpdateInputSchema.ts @@ -0,0 +1,48 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { IntFieldUpdateOperationsInputSchema } from "./IntFieldUpdateOperationsInputSchema"; +import { StringFieldUpdateOperationsInputSchema } from "./StringFieldUpdateOperationsInputSchema"; +import { MediaUncheckedUpdateOneWithoutContinuityItemNestedInputSchema } from "./MediaUncheckedUpdateOneWithoutContinuityItemNestedInputSchema"; + +export const ContinuityItemUncheckedUpdateInputSchema: z.ZodType = + z + .object({ + id: z + .union([ + z.number().int(), + z.lazy(() => IntFieldUpdateOperationsInputSchema), + ]) + .optional(), + name: z + .union([ + z.string(), + z.lazy(() => StringFieldUpdateOperationsInputSchema), + ]) + .optional(), + order: z + .union([ + z.number().int(), + z.lazy(() => IntFieldUpdateOperationsInputSchema), + ]) + .optional(), + showId: z + .union([ + z.number().int(), + z.lazy(() => IntFieldUpdateOperationsInputSchema), + ]) + .optional(), + durationSeconds: z + .union([ + z.number().int(), + z.lazy(() => IntFieldUpdateOperationsInputSchema), + ]) + .optional(), + media: z + .lazy( + () => MediaUncheckedUpdateOneWithoutContinuityItemNestedInputSchema, + ) + .optional(), + }) + .strict(); + +export default ContinuityItemUncheckedUpdateInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/ContinuityItemUncheckedUpdateManyInputSchema.ts b/utility/prisma/types/inputTypeSchemas/ContinuityItemUncheckedUpdateManyInputSchema.ts new file mode 100644 index 00000000..482c4a50 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/ContinuityItemUncheckedUpdateManyInputSchema.ts @@ -0,0 +1,42 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { IntFieldUpdateOperationsInputSchema } from "./IntFieldUpdateOperationsInputSchema"; +import { StringFieldUpdateOperationsInputSchema } from "./StringFieldUpdateOperationsInputSchema"; + +export const ContinuityItemUncheckedUpdateManyInputSchema: z.ZodType = + z + .object({ + id: z + .union([ + z.number().int(), + z.lazy(() => IntFieldUpdateOperationsInputSchema), + ]) + .optional(), + name: z + .union([ + z.string(), + z.lazy(() => StringFieldUpdateOperationsInputSchema), + ]) + .optional(), + order: z + .union([ + z.number().int(), + z.lazy(() => IntFieldUpdateOperationsInputSchema), + ]) + .optional(), + showId: z + .union([ + z.number().int(), + z.lazy(() => IntFieldUpdateOperationsInputSchema), + ]) + .optional(), + durationSeconds: z + .union([ + z.number().int(), + z.lazy(() => IntFieldUpdateOperationsInputSchema), + ]) + .optional(), + }) + .strict(); + +export default ContinuityItemUncheckedUpdateManyInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/ContinuityItemUncheckedUpdateManyWithoutShowInputSchema.ts b/utility/prisma/types/inputTypeSchemas/ContinuityItemUncheckedUpdateManyWithoutShowInputSchema.ts new file mode 100644 index 00000000..665144ab --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/ContinuityItemUncheckedUpdateManyWithoutShowInputSchema.ts @@ -0,0 +1,36 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { IntFieldUpdateOperationsInputSchema } from "./IntFieldUpdateOperationsInputSchema"; +import { StringFieldUpdateOperationsInputSchema } from "./StringFieldUpdateOperationsInputSchema"; + +export const ContinuityItemUncheckedUpdateManyWithoutShowInputSchema: z.ZodType = + z + .object({ + id: z + .union([ + z.number().int(), + z.lazy(() => IntFieldUpdateOperationsInputSchema), + ]) + .optional(), + name: z + .union([ + z.string(), + z.lazy(() => StringFieldUpdateOperationsInputSchema), + ]) + .optional(), + order: z + .union([ + z.number().int(), + z.lazy(() => IntFieldUpdateOperationsInputSchema), + ]) + .optional(), + durationSeconds: z + .union([ + z.number().int(), + z.lazy(() => IntFieldUpdateOperationsInputSchema), + ]) + .optional(), + }) + .strict(); + +export default ContinuityItemUncheckedUpdateManyWithoutShowInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/ContinuityItemUncheckedUpdateManyWithoutShowNestedInputSchema.ts b/utility/prisma/types/inputTypeSchemas/ContinuityItemUncheckedUpdateManyWithoutShowNestedInputSchema.ts new file mode 100644 index 00000000..39f8f2f4 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/ContinuityItemUncheckedUpdateManyWithoutShowNestedInputSchema.ts @@ -0,0 +1,102 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { ContinuityItemCreateWithoutShowInputSchema } from "./ContinuityItemCreateWithoutShowInputSchema"; +import { ContinuityItemUncheckedCreateWithoutShowInputSchema } from "./ContinuityItemUncheckedCreateWithoutShowInputSchema"; +import { ContinuityItemCreateOrConnectWithoutShowInputSchema } from "./ContinuityItemCreateOrConnectWithoutShowInputSchema"; +import { ContinuityItemUpsertWithWhereUniqueWithoutShowInputSchema } from "./ContinuityItemUpsertWithWhereUniqueWithoutShowInputSchema"; +import { ContinuityItemCreateManyShowInputEnvelopeSchema } from "./ContinuityItemCreateManyShowInputEnvelopeSchema"; +import { ContinuityItemWhereUniqueInputSchema } from "./ContinuityItemWhereUniqueInputSchema"; +import { ContinuityItemUpdateWithWhereUniqueWithoutShowInputSchema } from "./ContinuityItemUpdateWithWhereUniqueWithoutShowInputSchema"; +import { ContinuityItemUpdateManyWithWhereWithoutShowInputSchema } from "./ContinuityItemUpdateManyWithWhereWithoutShowInputSchema"; +import { ContinuityItemScalarWhereInputSchema } from "./ContinuityItemScalarWhereInputSchema"; + +export const ContinuityItemUncheckedUpdateManyWithoutShowNestedInputSchema: z.ZodType = + z + .object({ + create: z + .union([ + z.lazy(() => ContinuityItemCreateWithoutShowInputSchema), + z.lazy(() => ContinuityItemCreateWithoutShowInputSchema).array(), + z.lazy(() => ContinuityItemUncheckedCreateWithoutShowInputSchema), + z + .lazy(() => ContinuityItemUncheckedCreateWithoutShowInputSchema) + .array(), + ]) + .optional(), + connectOrCreate: z + .union([ + z.lazy(() => ContinuityItemCreateOrConnectWithoutShowInputSchema), + z + .lazy(() => ContinuityItemCreateOrConnectWithoutShowInputSchema) + .array(), + ]) + .optional(), + upsert: z + .union([ + z.lazy( + () => ContinuityItemUpsertWithWhereUniqueWithoutShowInputSchema, + ), + z + .lazy( + () => ContinuityItemUpsertWithWhereUniqueWithoutShowInputSchema, + ) + .array(), + ]) + .optional(), + createMany: z + .lazy(() => ContinuityItemCreateManyShowInputEnvelopeSchema) + .optional(), + set: z + .union([ + z.lazy(() => ContinuityItemWhereUniqueInputSchema), + z.lazy(() => ContinuityItemWhereUniqueInputSchema).array(), + ]) + .optional(), + disconnect: z + .union([ + z.lazy(() => ContinuityItemWhereUniqueInputSchema), + z.lazy(() => ContinuityItemWhereUniqueInputSchema).array(), + ]) + .optional(), + delete: z + .union([ + z.lazy(() => ContinuityItemWhereUniqueInputSchema), + z.lazy(() => ContinuityItemWhereUniqueInputSchema).array(), + ]) + .optional(), + connect: z + .union([ + z.lazy(() => ContinuityItemWhereUniqueInputSchema), + z.lazy(() => ContinuityItemWhereUniqueInputSchema).array(), + ]) + .optional(), + update: z + .union([ + z.lazy( + () => ContinuityItemUpdateWithWhereUniqueWithoutShowInputSchema, + ), + z + .lazy( + () => ContinuityItemUpdateWithWhereUniqueWithoutShowInputSchema, + ) + .array(), + ]) + .optional(), + updateMany: z + .union([ + z.lazy(() => ContinuityItemUpdateManyWithWhereWithoutShowInputSchema), + z + .lazy(() => ContinuityItemUpdateManyWithWhereWithoutShowInputSchema) + .array(), + ]) + .optional(), + deleteMany: z + .union([ + z.lazy(() => ContinuityItemScalarWhereInputSchema), + z.lazy(() => ContinuityItemScalarWhereInputSchema).array(), + ]) + .optional(), + }) + .strict(); + +export default ContinuityItemUncheckedUpdateManyWithoutShowNestedInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/ContinuityItemUncheckedUpdateWithoutMediaInputSchema.ts b/utility/prisma/types/inputTypeSchemas/ContinuityItemUncheckedUpdateWithoutMediaInputSchema.ts new file mode 100644 index 00000000..9a3de48c --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/ContinuityItemUncheckedUpdateWithoutMediaInputSchema.ts @@ -0,0 +1,42 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { IntFieldUpdateOperationsInputSchema } from "./IntFieldUpdateOperationsInputSchema"; +import { StringFieldUpdateOperationsInputSchema } from "./StringFieldUpdateOperationsInputSchema"; + +export const ContinuityItemUncheckedUpdateWithoutMediaInputSchema: z.ZodType = + z + .object({ + id: z + .union([ + z.number().int(), + z.lazy(() => IntFieldUpdateOperationsInputSchema), + ]) + .optional(), + name: z + .union([ + z.string(), + z.lazy(() => StringFieldUpdateOperationsInputSchema), + ]) + .optional(), + order: z + .union([ + z.number().int(), + z.lazy(() => IntFieldUpdateOperationsInputSchema), + ]) + .optional(), + showId: z + .union([ + z.number().int(), + z.lazy(() => IntFieldUpdateOperationsInputSchema), + ]) + .optional(), + durationSeconds: z + .union([ + z.number().int(), + z.lazy(() => IntFieldUpdateOperationsInputSchema), + ]) + .optional(), + }) + .strict(); + +export default ContinuityItemUncheckedUpdateWithoutMediaInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/ContinuityItemUncheckedUpdateWithoutShowInputSchema.ts b/utility/prisma/types/inputTypeSchemas/ContinuityItemUncheckedUpdateWithoutShowInputSchema.ts new file mode 100644 index 00000000..2dbf901d --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/ContinuityItemUncheckedUpdateWithoutShowInputSchema.ts @@ -0,0 +1,42 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { IntFieldUpdateOperationsInputSchema } from "./IntFieldUpdateOperationsInputSchema"; +import { StringFieldUpdateOperationsInputSchema } from "./StringFieldUpdateOperationsInputSchema"; +import { MediaUncheckedUpdateOneWithoutContinuityItemNestedInputSchema } from "./MediaUncheckedUpdateOneWithoutContinuityItemNestedInputSchema"; + +export const ContinuityItemUncheckedUpdateWithoutShowInputSchema: z.ZodType = + z + .object({ + id: z + .union([ + z.number().int(), + z.lazy(() => IntFieldUpdateOperationsInputSchema), + ]) + .optional(), + name: z + .union([ + z.string(), + z.lazy(() => StringFieldUpdateOperationsInputSchema), + ]) + .optional(), + order: z + .union([ + z.number().int(), + z.lazy(() => IntFieldUpdateOperationsInputSchema), + ]) + .optional(), + durationSeconds: z + .union([ + z.number().int(), + z.lazy(() => IntFieldUpdateOperationsInputSchema), + ]) + .optional(), + media: z + .lazy( + () => MediaUncheckedUpdateOneWithoutContinuityItemNestedInputSchema, + ) + .optional(), + }) + .strict(); + +export default ContinuityItemUncheckedUpdateWithoutShowInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/ContinuityItemUpdateInputSchema.ts b/utility/prisma/types/inputTypeSchemas/ContinuityItemUpdateInputSchema.ts new file mode 100644 index 00000000..bed3bfae --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/ContinuityItemUpdateInputSchema.ts @@ -0,0 +1,40 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { StringFieldUpdateOperationsInputSchema } from "./StringFieldUpdateOperationsInputSchema"; +import { IntFieldUpdateOperationsInputSchema } from "./IntFieldUpdateOperationsInputSchema"; +import { MediaUpdateOneWithoutContinuityItemNestedInputSchema } from "./MediaUpdateOneWithoutContinuityItemNestedInputSchema"; +import { ShowUpdateOneRequiredWithoutContinuityItemsNestedInputSchema } from "./ShowUpdateOneRequiredWithoutContinuityItemsNestedInputSchema"; + +export const ContinuityItemUpdateInputSchema: z.ZodType = + z + .object({ + name: z + .union([ + z.string(), + z.lazy(() => StringFieldUpdateOperationsInputSchema), + ]) + .optional(), + order: z + .union([ + z.number().int(), + z.lazy(() => IntFieldUpdateOperationsInputSchema), + ]) + .optional(), + durationSeconds: z + .union([ + z.number().int(), + z.lazy(() => IntFieldUpdateOperationsInputSchema), + ]) + .optional(), + media: z + .lazy(() => MediaUpdateOneWithoutContinuityItemNestedInputSchema) + .optional(), + show: z + .lazy( + () => ShowUpdateOneRequiredWithoutContinuityItemsNestedInputSchema, + ) + .optional(), + }) + .strict(); + +export default ContinuityItemUpdateInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/ContinuityItemUpdateManyMutationInputSchema.ts b/utility/prisma/types/inputTypeSchemas/ContinuityItemUpdateManyMutationInputSchema.ts new file mode 100644 index 00000000..f4b339ac --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/ContinuityItemUpdateManyMutationInputSchema.ts @@ -0,0 +1,30 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { StringFieldUpdateOperationsInputSchema } from "./StringFieldUpdateOperationsInputSchema"; +import { IntFieldUpdateOperationsInputSchema } from "./IntFieldUpdateOperationsInputSchema"; + +export const ContinuityItemUpdateManyMutationInputSchema: z.ZodType = + z + .object({ + name: z + .union([ + z.string(), + z.lazy(() => StringFieldUpdateOperationsInputSchema), + ]) + .optional(), + order: z + .union([ + z.number().int(), + z.lazy(() => IntFieldUpdateOperationsInputSchema), + ]) + .optional(), + durationSeconds: z + .union([ + z.number().int(), + z.lazy(() => IntFieldUpdateOperationsInputSchema), + ]) + .optional(), + }) + .strict(); + +export default ContinuityItemUpdateManyMutationInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/ContinuityItemUpdateManyWithWhereWithoutShowInputSchema.ts b/utility/prisma/types/inputTypeSchemas/ContinuityItemUpdateManyWithWhereWithoutShowInputSchema.ts new file mode 100644 index 00000000..25151036 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/ContinuityItemUpdateManyWithWhereWithoutShowInputSchema.ts @@ -0,0 +1,18 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { ContinuityItemScalarWhereInputSchema } from "./ContinuityItemScalarWhereInputSchema"; +import { ContinuityItemUpdateManyMutationInputSchema } from "./ContinuityItemUpdateManyMutationInputSchema"; +import { ContinuityItemUncheckedUpdateManyWithoutShowInputSchema } from "./ContinuityItemUncheckedUpdateManyWithoutShowInputSchema"; + +export const ContinuityItemUpdateManyWithWhereWithoutShowInputSchema: z.ZodType = + z + .object({ + where: z.lazy(() => ContinuityItemScalarWhereInputSchema), + data: z.union([ + z.lazy(() => ContinuityItemUpdateManyMutationInputSchema), + z.lazy(() => ContinuityItemUncheckedUpdateManyWithoutShowInputSchema), + ]), + }) + .strict(); + +export default ContinuityItemUpdateManyWithWhereWithoutShowInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/ContinuityItemUpdateManyWithoutShowNestedInputSchema.ts b/utility/prisma/types/inputTypeSchemas/ContinuityItemUpdateManyWithoutShowNestedInputSchema.ts new file mode 100644 index 00000000..3d52a38e --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/ContinuityItemUpdateManyWithoutShowNestedInputSchema.ts @@ -0,0 +1,102 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { ContinuityItemCreateWithoutShowInputSchema } from "./ContinuityItemCreateWithoutShowInputSchema"; +import { ContinuityItemUncheckedCreateWithoutShowInputSchema } from "./ContinuityItemUncheckedCreateWithoutShowInputSchema"; +import { ContinuityItemCreateOrConnectWithoutShowInputSchema } from "./ContinuityItemCreateOrConnectWithoutShowInputSchema"; +import { ContinuityItemUpsertWithWhereUniqueWithoutShowInputSchema } from "./ContinuityItemUpsertWithWhereUniqueWithoutShowInputSchema"; +import { ContinuityItemCreateManyShowInputEnvelopeSchema } from "./ContinuityItemCreateManyShowInputEnvelopeSchema"; +import { ContinuityItemWhereUniqueInputSchema } from "./ContinuityItemWhereUniqueInputSchema"; +import { ContinuityItemUpdateWithWhereUniqueWithoutShowInputSchema } from "./ContinuityItemUpdateWithWhereUniqueWithoutShowInputSchema"; +import { ContinuityItemUpdateManyWithWhereWithoutShowInputSchema } from "./ContinuityItemUpdateManyWithWhereWithoutShowInputSchema"; +import { ContinuityItemScalarWhereInputSchema } from "./ContinuityItemScalarWhereInputSchema"; + +export const ContinuityItemUpdateManyWithoutShowNestedInputSchema: z.ZodType = + z + .object({ + create: z + .union([ + z.lazy(() => ContinuityItemCreateWithoutShowInputSchema), + z.lazy(() => ContinuityItemCreateWithoutShowInputSchema).array(), + z.lazy(() => ContinuityItemUncheckedCreateWithoutShowInputSchema), + z + .lazy(() => ContinuityItemUncheckedCreateWithoutShowInputSchema) + .array(), + ]) + .optional(), + connectOrCreate: z + .union([ + z.lazy(() => ContinuityItemCreateOrConnectWithoutShowInputSchema), + z + .lazy(() => ContinuityItemCreateOrConnectWithoutShowInputSchema) + .array(), + ]) + .optional(), + upsert: z + .union([ + z.lazy( + () => ContinuityItemUpsertWithWhereUniqueWithoutShowInputSchema, + ), + z + .lazy( + () => ContinuityItemUpsertWithWhereUniqueWithoutShowInputSchema, + ) + .array(), + ]) + .optional(), + createMany: z + .lazy(() => ContinuityItemCreateManyShowInputEnvelopeSchema) + .optional(), + set: z + .union([ + z.lazy(() => ContinuityItemWhereUniqueInputSchema), + z.lazy(() => ContinuityItemWhereUniqueInputSchema).array(), + ]) + .optional(), + disconnect: z + .union([ + z.lazy(() => ContinuityItemWhereUniqueInputSchema), + z.lazy(() => ContinuityItemWhereUniqueInputSchema).array(), + ]) + .optional(), + delete: z + .union([ + z.lazy(() => ContinuityItemWhereUniqueInputSchema), + z.lazy(() => ContinuityItemWhereUniqueInputSchema).array(), + ]) + .optional(), + connect: z + .union([ + z.lazy(() => ContinuityItemWhereUniqueInputSchema), + z.lazy(() => ContinuityItemWhereUniqueInputSchema).array(), + ]) + .optional(), + update: z + .union([ + z.lazy( + () => ContinuityItemUpdateWithWhereUniqueWithoutShowInputSchema, + ), + z + .lazy( + () => ContinuityItemUpdateWithWhereUniqueWithoutShowInputSchema, + ) + .array(), + ]) + .optional(), + updateMany: z + .union([ + z.lazy(() => ContinuityItemUpdateManyWithWhereWithoutShowInputSchema), + z + .lazy(() => ContinuityItemUpdateManyWithWhereWithoutShowInputSchema) + .array(), + ]) + .optional(), + deleteMany: z + .union([ + z.lazy(() => ContinuityItemScalarWhereInputSchema), + z.lazy(() => ContinuityItemScalarWhereInputSchema).array(), + ]) + .optional(), + }) + .strict(); + +export default ContinuityItemUpdateManyWithoutShowNestedInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/ContinuityItemUpdateOneWithoutMediaNestedInputSchema.ts b/utility/prisma/types/inputTypeSchemas/ContinuityItemUpdateOneWithoutMediaNestedInputSchema.ts new file mode 100644 index 00000000..8ae21e59 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/ContinuityItemUpdateOneWithoutMediaNestedInputSchema.ts @@ -0,0 +1,47 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { ContinuityItemCreateWithoutMediaInputSchema } from "./ContinuityItemCreateWithoutMediaInputSchema"; +import { ContinuityItemUncheckedCreateWithoutMediaInputSchema } from "./ContinuityItemUncheckedCreateWithoutMediaInputSchema"; +import { ContinuityItemCreateOrConnectWithoutMediaInputSchema } from "./ContinuityItemCreateOrConnectWithoutMediaInputSchema"; +import { ContinuityItemUpsertWithoutMediaInputSchema } from "./ContinuityItemUpsertWithoutMediaInputSchema"; +import { ContinuityItemWhereInputSchema } from "./ContinuityItemWhereInputSchema"; +import { ContinuityItemWhereUniqueInputSchema } from "./ContinuityItemWhereUniqueInputSchema"; +import { ContinuityItemUpdateToOneWithWhereWithoutMediaInputSchema } from "./ContinuityItemUpdateToOneWithWhereWithoutMediaInputSchema"; +import { ContinuityItemUpdateWithoutMediaInputSchema } from "./ContinuityItemUpdateWithoutMediaInputSchema"; +import { ContinuityItemUncheckedUpdateWithoutMediaInputSchema } from "./ContinuityItemUncheckedUpdateWithoutMediaInputSchema"; + +export const ContinuityItemUpdateOneWithoutMediaNestedInputSchema: z.ZodType = + z + .object({ + create: z + .union([ + z.lazy(() => ContinuityItemCreateWithoutMediaInputSchema), + z.lazy(() => ContinuityItemUncheckedCreateWithoutMediaInputSchema), + ]) + .optional(), + connectOrCreate: z + .lazy(() => ContinuityItemCreateOrConnectWithoutMediaInputSchema) + .optional(), + upsert: z + .lazy(() => ContinuityItemUpsertWithoutMediaInputSchema) + .optional(), + disconnect: z + .union([z.boolean(), z.lazy(() => ContinuityItemWhereInputSchema)]) + .optional(), + delete: z + .union([z.boolean(), z.lazy(() => ContinuityItemWhereInputSchema)]) + .optional(), + connect: z.lazy(() => ContinuityItemWhereUniqueInputSchema).optional(), + update: z + .union([ + z.lazy( + () => ContinuityItemUpdateToOneWithWhereWithoutMediaInputSchema, + ), + z.lazy(() => ContinuityItemUpdateWithoutMediaInputSchema), + z.lazy(() => ContinuityItemUncheckedUpdateWithoutMediaInputSchema), + ]) + .optional(), + }) + .strict(); + +export default ContinuityItemUpdateOneWithoutMediaNestedInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/ContinuityItemUpdateToOneWithWhereWithoutMediaInputSchema.ts b/utility/prisma/types/inputTypeSchemas/ContinuityItemUpdateToOneWithWhereWithoutMediaInputSchema.ts new file mode 100644 index 00000000..c6d444e4 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/ContinuityItemUpdateToOneWithWhereWithoutMediaInputSchema.ts @@ -0,0 +1,18 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { ContinuityItemWhereInputSchema } from "./ContinuityItemWhereInputSchema"; +import { ContinuityItemUpdateWithoutMediaInputSchema } from "./ContinuityItemUpdateWithoutMediaInputSchema"; +import { ContinuityItemUncheckedUpdateWithoutMediaInputSchema } from "./ContinuityItemUncheckedUpdateWithoutMediaInputSchema"; + +export const ContinuityItemUpdateToOneWithWhereWithoutMediaInputSchema: z.ZodType = + z + .object({ + where: z.lazy(() => ContinuityItemWhereInputSchema).optional(), + data: z.union([ + z.lazy(() => ContinuityItemUpdateWithoutMediaInputSchema), + z.lazy(() => ContinuityItemUncheckedUpdateWithoutMediaInputSchema), + ]), + }) + .strict(); + +export default ContinuityItemUpdateToOneWithWhereWithoutMediaInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/ContinuityItemUpdateWithWhereUniqueWithoutShowInputSchema.ts b/utility/prisma/types/inputTypeSchemas/ContinuityItemUpdateWithWhereUniqueWithoutShowInputSchema.ts new file mode 100644 index 00000000..f438995e --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/ContinuityItemUpdateWithWhereUniqueWithoutShowInputSchema.ts @@ -0,0 +1,18 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { ContinuityItemWhereUniqueInputSchema } from "./ContinuityItemWhereUniqueInputSchema"; +import { ContinuityItemUpdateWithoutShowInputSchema } from "./ContinuityItemUpdateWithoutShowInputSchema"; +import { ContinuityItemUncheckedUpdateWithoutShowInputSchema } from "./ContinuityItemUncheckedUpdateWithoutShowInputSchema"; + +export const ContinuityItemUpdateWithWhereUniqueWithoutShowInputSchema: z.ZodType = + z + .object({ + where: z.lazy(() => ContinuityItemWhereUniqueInputSchema), + data: z.union([ + z.lazy(() => ContinuityItemUpdateWithoutShowInputSchema), + z.lazy(() => ContinuityItemUncheckedUpdateWithoutShowInputSchema), + ]), + }) + .strict(); + +export default ContinuityItemUpdateWithWhereUniqueWithoutShowInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/ContinuityItemUpdateWithoutMediaInputSchema.ts b/utility/prisma/types/inputTypeSchemas/ContinuityItemUpdateWithoutMediaInputSchema.ts new file mode 100644 index 00000000..7f2c31d9 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/ContinuityItemUpdateWithoutMediaInputSchema.ts @@ -0,0 +1,36 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { StringFieldUpdateOperationsInputSchema } from "./StringFieldUpdateOperationsInputSchema"; +import { IntFieldUpdateOperationsInputSchema } from "./IntFieldUpdateOperationsInputSchema"; +import { ShowUpdateOneRequiredWithoutContinuityItemsNestedInputSchema } from "./ShowUpdateOneRequiredWithoutContinuityItemsNestedInputSchema"; + +export const ContinuityItemUpdateWithoutMediaInputSchema: z.ZodType = + z + .object({ + name: z + .union([ + z.string(), + z.lazy(() => StringFieldUpdateOperationsInputSchema), + ]) + .optional(), + order: z + .union([ + z.number().int(), + z.lazy(() => IntFieldUpdateOperationsInputSchema), + ]) + .optional(), + durationSeconds: z + .union([ + z.number().int(), + z.lazy(() => IntFieldUpdateOperationsInputSchema), + ]) + .optional(), + show: z + .lazy( + () => ShowUpdateOneRequiredWithoutContinuityItemsNestedInputSchema, + ) + .optional(), + }) + .strict(); + +export default ContinuityItemUpdateWithoutMediaInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/ContinuityItemUpdateWithoutShowInputSchema.ts b/utility/prisma/types/inputTypeSchemas/ContinuityItemUpdateWithoutShowInputSchema.ts new file mode 100644 index 00000000..67494c09 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/ContinuityItemUpdateWithoutShowInputSchema.ts @@ -0,0 +1,34 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { StringFieldUpdateOperationsInputSchema } from "./StringFieldUpdateOperationsInputSchema"; +import { IntFieldUpdateOperationsInputSchema } from "./IntFieldUpdateOperationsInputSchema"; +import { MediaUpdateOneWithoutContinuityItemNestedInputSchema } from "./MediaUpdateOneWithoutContinuityItemNestedInputSchema"; + +export const ContinuityItemUpdateWithoutShowInputSchema: z.ZodType = + z + .object({ + name: z + .union([ + z.string(), + z.lazy(() => StringFieldUpdateOperationsInputSchema), + ]) + .optional(), + order: z + .union([ + z.number().int(), + z.lazy(() => IntFieldUpdateOperationsInputSchema), + ]) + .optional(), + durationSeconds: z + .union([ + z.number().int(), + z.lazy(() => IntFieldUpdateOperationsInputSchema), + ]) + .optional(), + media: z + .lazy(() => MediaUpdateOneWithoutContinuityItemNestedInputSchema) + .optional(), + }) + .strict(); + +export default ContinuityItemUpdateWithoutShowInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/ContinuityItemUpsertWithWhereUniqueWithoutShowInputSchema.ts b/utility/prisma/types/inputTypeSchemas/ContinuityItemUpsertWithWhereUniqueWithoutShowInputSchema.ts new file mode 100644 index 00000000..36606c2a --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/ContinuityItemUpsertWithWhereUniqueWithoutShowInputSchema.ts @@ -0,0 +1,24 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { ContinuityItemWhereUniqueInputSchema } from "./ContinuityItemWhereUniqueInputSchema"; +import { ContinuityItemUpdateWithoutShowInputSchema } from "./ContinuityItemUpdateWithoutShowInputSchema"; +import { ContinuityItemUncheckedUpdateWithoutShowInputSchema } from "./ContinuityItemUncheckedUpdateWithoutShowInputSchema"; +import { ContinuityItemCreateWithoutShowInputSchema } from "./ContinuityItemCreateWithoutShowInputSchema"; +import { ContinuityItemUncheckedCreateWithoutShowInputSchema } from "./ContinuityItemUncheckedCreateWithoutShowInputSchema"; + +export const ContinuityItemUpsertWithWhereUniqueWithoutShowInputSchema: z.ZodType = + z + .object({ + where: z.lazy(() => ContinuityItemWhereUniqueInputSchema), + update: z.union([ + z.lazy(() => ContinuityItemUpdateWithoutShowInputSchema), + z.lazy(() => ContinuityItemUncheckedUpdateWithoutShowInputSchema), + ]), + create: z.union([ + z.lazy(() => ContinuityItemCreateWithoutShowInputSchema), + z.lazy(() => ContinuityItemUncheckedCreateWithoutShowInputSchema), + ]), + }) + .strict(); + +export default ContinuityItemUpsertWithWhereUniqueWithoutShowInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/ContinuityItemUpsertWithoutMediaInputSchema.ts b/utility/prisma/types/inputTypeSchemas/ContinuityItemUpsertWithoutMediaInputSchema.ts new file mode 100644 index 00000000..b9295132 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/ContinuityItemUpsertWithoutMediaInputSchema.ts @@ -0,0 +1,24 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { ContinuityItemUpdateWithoutMediaInputSchema } from "./ContinuityItemUpdateWithoutMediaInputSchema"; +import { ContinuityItemUncheckedUpdateWithoutMediaInputSchema } from "./ContinuityItemUncheckedUpdateWithoutMediaInputSchema"; +import { ContinuityItemCreateWithoutMediaInputSchema } from "./ContinuityItemCreateWithoutMediaInputSchema"; +import { ContinuityItemUncheckedCreateWithoutMediaInputSchema } from "./ContinuityItemUncheckedCreateWithoutMediaInputSchema"; +import { ContinuityItemWhereInputSchema } from "./ContinuityItemWhereInputSchema"; + +export const ContinuityItemUpsertWithoutMediaInputSchema: z.ZodType = + z + .object({ + update: z.union([ + z.lazy(() => ContinuityItemUpdateWithoutMediaInputSchema), + z.lazy(() => ContinuityItemUncheckedUpdateWithoutMediaInputSchema), + ]), + create: z.union([ + z.lazy(() => ContinuityItemCreateWithoutMediaInputSchema), + z.lazy(() => ContinuityItemUncheckedCreateWithoutMediaInputSchema), + ]), + where: z.lazy(() => ContinuityItemWhereInputSchema).optional(), + }) + .strict(); + +export default ContinuityItemUpsertWithoutMediaInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/ContinuityItemWhereInputSchema.ts b/utility/prisma/types/inputTypeSchemas/ContinuityItemWhereInputSchema.ts new file mode 100644 index 00000000..d234c63e --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/ContinuityItemWhereInputSchema.ts @@ -0,0 +1,52 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { IntFilterSchema } from "./IntFilterSchema"; +import { StringFilterSchema } from "./StringFilterSchema"; +import { MediaNullableRelationFilterSchema } from "./MediaNullableRelationFilterSchema"; +import { MediaWhereInputSchema } from "./MediaWhereInputSchema"; +import { ShowRelationFilterSchema } from "./ShowRelationFilterSchema"; +import { ShowWhereInputSchema } from "./ShowWhereInputSchema"; + +export const ContinuityItemWhereInputSchema: z.ZodType = + z + .object({ + AND: z + .union([ + z.lazy(() => ContinuityItemWhereInputSchema), + z.lazy(() => ContinuityItemWhereInputSchema).array(), + ]) + .optional(), + OR: z + .lazy(() => ContinuityItemWhereInputSchema) + .array() + .optional(), + NOT: z + .union([ + z.lazy(() => ContinuityItemWhereInputSchema), + z.lazy(() => ContinuityItemWhereInputSchema).array(), + ]) + .optional(), + id: z.union([z.lazy(() => IntFilterSchema), z.number()]).optional(), + name: z.union([z.lazy(() => StringFilterSchema), z.string()]).optional(), + order: z.union([z.lazy(() => IntFilterSchema), z.number()]).optional(), + showId: z.union([z.lazy(() => IntFilterSchema), z.number()]).optional(), + durationSeconds: z + .union([z.lazy(() => IntFilterSchema), z.number()]) + .optional(), + media: z + .union([ + z.lazy(() => MediaNullableRelationFilterSchema), + z.lazy(() => MediaWhereInputSchema), + ]) + .optional() + .nullable(), + show: z + .union([ + z.lazy(() => ShowRelationFilterSchema), + z.lazy(() => ShowWhereInputSchema), + ]) + .optional(), + }) + .strict(); + +export default ContinuityItemWhereInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/ContinuityItemWhereUniqueInputSchema.ts b/utility/prisma/types/inputTypeSchemas/ContinuityItemWhereUniqueInputSchema.ts new file mode 100644 index 00000000..0d6d5a14 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/ContinuityItemWhereUniqueInputSchema.ts @@ -0,0 +1,65 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { ContinuityItemWhereInputSchema } from "./ContinuityItemWhereInputSchema"; +import { StringFilterSchema } from "./StringFilterSchema"; +import { IntFilterSchema } from "./IntFilterSchema"; +import { MediaNullableRelationFilterSchema } from "./MediaNullableRelationFilterSchema"; +import { MediaWhereInputSchema } from "./MediaWhereInputSchema"; +import { ShowRelationFilterSchema } from "./ShowRelationFilterSchema"; +import { ShowWhereInputSchema } from "./ShowWhereInputSchema"; + +export const ContinuityItemWhereUniqueInputSchema: z.ZodType = + z + .object({ + id: z.number(), + }) + .and( + z + .object({ + id: z.number().optional(), + AND: z + .union([ + z.lazy(() => ContinuityItemWhereInputSchema), + z.lazy(() => ContinuityItemWhereInputSchema).array(), + ]) + .optional(), + OR: z + .lazy(() => ContinuityItemWhereInputSchema) + .array() + .optional(), + NOT: z + .union([ + z.lazy(() => ContinuityItemWhereInputSchema), + z.lazy(() => ContinuityItemWhereInputSchema).array(), + ]) + .optional(), + name: z + .union([z.lazy(() => StringFilterSchema), z.string()]) + .optional(), + order: z + .union([z.lazy(() => IntFilterSchema), z.number()]) + .optional(), + showId: z + .union([z.lazy(() => IntFilterSchema), z.number()]) + .optional(), + durationSeconds: z + .union([z.lazy(() => IntFilterSchema), z.number()]) + .optional(), + media: z + .union([ + z.lazy(() => MediaNullableRelationFilterSchema), + z.lazy(() => MediaWhereInputSchema), + ]) + .optional() + .nullable(), + show: z + .union([ + z.lazy(() => ShowRelationFilterSchema), + z.lazy(() => ShowWhereInputSchema), + ]) + .optional(), + }) + .strict(), + ); + +export default ContinuityItemWhereUniqueInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/DateTimeFieldUpdateOperationsInputSchema.ts b/utility/prisma/types/inputTypeSchemas/DateTimeFieldUpdateOperationsInputSchema.ts new file mode 100644 index 00000000..3194eda6 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/DateTimeFieldUpdateOperationsInputSchema.ts @@ -0,0 +1,11 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; + +export const DateTimeFieldUpdateOperationsInputSchema: z.ZodType = + z + .object({ + set: z.coerce.date().optional(), + }) + .strict(); + +export default DateTimeFieldUpdateOperationsInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/DateTimeFilterSchema.ts b/utility/prisma/types/inputTypeSchemas/DateTimeFilterSchema.ts new file mode 100644 index 00000000..30ba384b --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/DateTimeFilterSchema.ts @@ -0,0 +1,20 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { NestedDateTimeFilterSchema } from "./NestedDateTimeFilterSchema"; + +export const DateTimeFilterSchema: z.ZodType = z + .object({ + equals: z.coerce.date().optional(), + in: z.coerce.date().array().optional(), + notIn: z.coerce.date().array().optional(), + lt: z.coerce.date().optional(), + lte: z.coerce.date().optional(), + gt: z.coerce.date().optional(), + gte: z.coerce.date().optional(), + not: z + .union([z.coerce.date(), z.lazy(() => NestedDateTimeFilterSchema)]) + .optional(), + }) + .strict(); + +export default DateTimeFilterSchema; diff --git a/utility/prisma/types/inputTypeSchemas/DateTimeNullableFilterSchema.ts b/utility/prisma/types/inputTypeSchemas/DateTimeNullableFilterSchema.ts new file mode 100644 index 00000000..f7eee2fa --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/DateTimeNullableFilterSchema.ts @@ -0,0 +1,25 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { NestedDateTimeNullableFilterSchema } from "./NestedDateTimeNullableFilterSchema"; + +export const DateTimeNullableFilterSchema: z.ZodType = + z + .object({ + equals: z.coerce.date().optional().nullable(), + in: z.coerce.date().array().optional().nullable(), + notIn: z.coerce.date().array().optional().nullable(), + lt: z.coerce.date().optional(), + lte: z.coerce.date().optional(), + gt: z.coerce.date().optional(), + gte: z.coerce.date().optional(), + not: z + .union([ + z.coerce.date(), + z.lazy(() => NestedDateTimeNullableFilterSchema), + ]) + .optional() + .nullable(), + }) + .strict(); + +export default DateTimeNullableFilterSchema; diff --git a/utility/prisma/types/inputTypeSchemas/DateTimeNullableWithAggregatesFilterSchema.ts b/utility/prisma/types/inputTypeSchemas/DateTimeNullableWithAggregatesFilterSchema.ts new file mode 100644 index 00000000..7d519978 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/DateTimeNullableWithAggregatesFilterSchema.ts @@ -0,0 +1,30 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { NestedDateTimeNullableWithAggregatesFilterSchema } from "./NestedDateTimeNullableWithAggregatesFilterSchema"; +import { NestedIntNullableFilterSchema } from "./NestedIntNullableFilterSchema"; +import { NestedDateTimeNullableFilterSchema } from "./NestedDateTimeNullableFilterSchema"; + +export const DateTimeNullableWithAggregatesFilterSchema: z.ZodType = + z + .object({ + equals: z.coerce.date().optional().nullable(), + in: z.coerce.date().array().optional().nullable(), + notIn: z.coerce.date().array().optional().nullable(), + lt: z.coerce.date().optional(), + lte: z.coerce.date().optional(), + gt: z.coerce.date().optional(), + gte: z.coerce.date().optional(), + not: z + .union([ + z.coerce.date(), + z.lazy(() => NestedDateTimeNullableWithAggregatesFilterSchema), + ]) + .optional() + .nullable(), + _count: z.lazy(() => NestedIntNullableFilterSchema).optional(), + _min: z.lazy(() => NestedDateTimeNullableFilterSchema).optional(), + _max: z.lazy(() => NestedDateTimeNullableFilterSchema).optional(), + }) + .strict(); + +export default DateTimeNullableWithAggregatesFilterSchema; diff --git a/utility/prisma/types/inputTypeSchemas/DateTimeWithAggregatesFilterSchema.ts b/utility/prisma/types/inputTypeSchemas/DateTimeWithAggregatesFilterSchema.ts new file mode 100644 index 00000000..28d47d68 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/DateTimeWithAggregatesFilterSchema.ts @@ -0,0 +1,29 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { NestedDateTimeWithAggregatesFilterSchema } from "./NestedDateTimeWithAggregatesFilterSchema"; +import { NestedIntFilterSchema } from "./NestedIntFilterSchema"; +import { NestedDateTimeFilterSchema } from "./NestedDateTimeFilterSchema"; + +export const DateTimeWithAggregatesFilterSchema: z.ZodType = + z + .object({ + equals: z.coerce.date().optional(), + in: z.coerce.date().array().optional(), + notIn: z.coerce.date().array().optional(), + lt: z.coerce.date().optional(), + lte: z.coerce.date().optional(), + gt: z.coerce.date().optional(), + gte: z.coerce.date().optional(), + not: z + .union([ + z.coerce.date(), + z.lazy(() => NestedDateTimeWithAggregatesFilterSchema), + ]) + .optional(), + _count: z.lazy(() => NestedIntFilterSchema).optional(), + _min: z.lazy(() => NestedDateTimeFilterSchema).optional(), + _max: z.lazy(() => NestedDateTimeFilterSchema).optional(), + }) + .strict(); + +export default DateTimeWithAggregatesFilterSchema; diff --git a/utility/prisma/types/inputTypeSchemas/DummyTestJobAvgOrderByAggregateInputSchema.ts b/utility/prisma/types/inputTypeSchemas/DummyTestJobAvgOrderByAggregateInputSchema.ts new file mode 100644 index 00000000..bb32770e --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/DummyTestJobAvgOrderByAggregateInputSchema.ts @@ -0,0 +1,13 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { SortOrderSchema } from "./SortOrderSchema"; + +export const DummyTestJobAvgOrderByAggregateInputSchema: z.ZodType = + z + .object({ + id: z.lazy(() => SortOrderSchema).optional(), + baseJobId: z.lazy(() => SortOrderSchema).optional(), + }) + .strict(); + +export default DummyTestJobAvgOrderByAggregateInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/DummyTestJobCountOrderByAggregateInputSchema.ts b/utility/prisma/types/inputTypeSchemas/DummyTestJobCountOrderByAggregateInputSchema.ts new file mode 100644 index 00000000..778bd24a --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/DummyTestJobCountOrderByAggregateInputSchema.ts @@ -0,0 +1,13 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { SortOrderSchema } from "./SortOrderSchema"; + +export const DummyTestJobCountOrderByAggregateInputSchema: z.ZodType = + z + .object({ + id: z.lazy(() => SortOrderSchema).optional(), + baseJobId: z.lazy(() => SortOrderSchema).optional(), + }) + .strict(); + +export default DummyTestJobCountOrderByAggregateInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/DummyTestJobCreateInputSchema.ts b/utility/prisma/types/inputTypeSchemas/DummyTestJobCreateInputSchema.ts new file mode 100644 index 00000000..01b0ceb4 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/DummyTestJobCreateInputSchema.ts @@ -0,0 +1,14 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { BaseJobCreateNestedOneWithoutDummyTestJobInputSchema } from "./BaseJobCreateNestedOneWithoutDummyTestJobInputSchema"; + +export const DummyTestJobCreateInputSchema: z.ZodType = + z + .object({ + base_job: z.lazy( + () => BaseJobCreateNestedOneWithoutDummyTestJobInputSchema, + ), + }) + .strict(); + +export default DummyTestJobCreateInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/DummyTestJobCreateManyBase_jobInputEnvelopeSchema.ts b/utility/prisma/types/inputTypeSchemas/DummyTestJobCreateManyBase_jobInputEnvelopeSchema.ts new file mode 100644 index 00000000..b77de25e --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/DummyTestJobCreateManyBase_jobInputEnvelopeSchema.ts @@ -0,0 +1,16 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { DummyTestJobCreateManyBase_jobInputSchema } from "./DummyTestJobCreateManyBase_jobInputSchema"; + +export const DummyTestJobCreateManyBase_jobInputEnvelopeSchema: z.ZodType = + z + .object({ + data: z.union([ + z.lazy(() => DummyTestJobCreateManyBase_jobInputSchema), + z.lazy(() => DummyTestJobCreateManyBase_jobInputSchema).array(), + ]), + skipDuplicates: z.boolean().optional(), + }) + .strict(); + +export default DummyTestJobCreateManyBase_jobInputEnvelopeSchema; diff --git a/utility/prisma/types/inputTypeSchemas/DummyTestJobCreateManyBase_jobInputSchema.ts b/utility/prisma/types/inputTypeSchemas/DummyTestJobCreateManyBase_jobInputSchema.ts new file mode 100644 index 00000000..b0927aee --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/DummyTestJobCreateManyBase_jobInputSchema.ts @@ -0,0 +1,11 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; + +export const DummyTestJobCreateManyBase_jobInputSchema: z.ZodType = + z + .object({ + id: z.number().int().optional(), + }) + .strict(); + +export default DummyTestJobCreateManyBase_jobInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/DummyTestJobCreateManyInputSchema.ts b/utility/prisma/types/inputTypeSchemas/DummyTestJobCreateManyInputSchema.ts new file mode 100644 index 00000000..0395ef62 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/DummyTestJobCreateManyInputSchema.ts @@ -0,0 +1,12 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; + +export const DummyTestJobCreateManyInputSchema: z.ZodType = + z + .object({ + id: z.number().int().optional(), + baseJobId: z.number().int(), + }) + .strict(); + +export default DummyTestJobCreateManyInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/DummyTestJobCreateNestedManyWithoutBase_jobInputSchema.ts b/utility/prisma/types/inputTypeSchemas/DummyTestJobCreateNestedManyWithoutBase_jobInputSchema.ts new file mode 100644 index 00000000..b2aa76a5 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/DummyTestJobCreateNestedManyWithoutBase_jobInputSchema.ts @@ -0,0 +1,42 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { DummyTestJobCreateWithoutBase_jobInputSchema } from "./DummyTestJobCreateWithoutBase_jobInputSchema"; +import { DummyTestJobUncheckedCreateWithoutBase_jobInputSchema } from "./DummyTestJobUncheckedCreateWithoutBase_jobInputSchema"; +import { DummyTestJobCreateOrConnectWithoutBase_jobInputSchema } from "./DummyTestJobCreateOrConnectWithoutBase_jobInputSchema"; +import { DummyTestJobCreateManyBase_jobInputEnvelopeSchema } from "./DummyTestJobCreateManyBase_jobInputEnvelopeSchema"; +import { DummyTestJobWhereUniqueInputSchema } from "./DummyTestJobWhereUniqueInputSchema"; + +export const DummyTestJobCreateNestedManyWithoutBase_jobInputSchema: z.ZodType = + z + .object({ + create: z + .union([ + z.lazy(() => DummyTestJobCreateWithoutBase_jobInputSchema), + z.lazy(() => DummyTestJobCreateWithoutBase_jobInputSchema).array(), + z.lazy(() => DummyTestJobUncheckedCreateWithoutBase_jobInputSchema), + z + .lazy(() => DummyTestJobUncheckedCreateWithoutBase_jobInputSchema) + .array(), + ]) + .optional(), + connectOrCreate: z + .union([ + z.lazy(() => DummyTestJobCreateOrConnectWithoutBase_jobInputSchema), + z + .lazy(() => DummyTestJobCreateOrConnectWithoutBase_jobInputSchema) + .array(), + ]) + .optional(), + createMany: z + .lazy(() => DummyTestJobCreateManyBase_jobInputEnvelopeSchema) + .optional(), + connect: z + .union([ + z.lazy(() => DummyTestJobWhereUniqueInputSchema), + z.lazy(() => DummyTestJobWhereUniqueInputSchema).array(), + ]) + .optional(), + }) + .strict(); + +export default DummyTestJobCreateNestedManyWithoutBase_jobInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/DummyTestJobCreateOrConnectWithoutBase_jobInputSchema.ts b/utility/prisma/types/inputTypeSchemas/DummyTestJobCreateOrConnectWithoutBase_jobInputSchema.ts new file mode 100644 index 00000000..295ce9eb --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/DummyTestJobCreateOrConnectWithoutBase_jobInputSchema.ts @@ -0,0 +1,18 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { DummyTestJobWhereUniqueInputSchema } from "./DummyTestJobWhereUniqueInputSchema"; +import { DummyTestJobCreateWithoutBase_jobInputSchema } from "./DummyTestJobCreateWithoutBase_jobInputSchema"; +import { DummyTestJobUncheckedCreateWithoutBase_jobInputSchema } from "./DummyTestJobUncheckedCreateWithoutBase_jobInputSchema"; + +export const DummyTestJobCreateOrConnectWithoutBase_jobInputSchema: z.ZodType = + z + .object({ + where: z.lazy(() => DummyTestJobWhereUniqueInputSchema), + create: z.union([ + z.lazy(() => DummyTestJobCreateWithoutBase_jobInputSchema), + z.lazy(() => DummyTestJobUncheckedCreateWithoutBase_jobInputSchema), + ]), + }) + .strict(); + +export default DummyTestJobCreateOrConnectWithoutBase_jobInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/DummyTestJobCreateWithoutBase_jobInputSchema.ts b/utility/prisma/types/inputTypeSchemas/DummyTestJobCreateWithoutBase_jobInputSchema.ts new file mode 100644 index 00000000..59355ce8 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/DummyTestJobCreateWithoutBase_jobInputSchema.ts @@ -0,0 +1,7 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; + +export const DummyTestJobCreateWithoutBase_jobInputSchema: z.ZodType = + z.object({}).strict(); + +export default DummyTestJobCreateWithoutBase_jobInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/DummyTestJobIncludeSchema.ts b/utility/prisma/types/inputTypeSchemas/DummyTestJobIncludeSchema.ts new file mode 100644 index 00000000..732a600d --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/DummyTestJobIncludeSchema.ts @@ -0,0 +1,14 @@ +import { z } from "zod"; +import type { Prisma } from "../../client"; +import { BaseJobArgsSchema } from "../outputTypeSchemas/BaseJobArgsSchema"; + +export const DummyTestJobIncludeSchema: z.ZodType = + z + .object({ + base_job: z + .union([z.boolean(), z.lazy(() => BaseJobArgsSchema)]) + .optional(), + }) + .strict(); + +export default DummyTestJobIncludeSchema; diff --git a/utility/prisma/types/inputTypeSchemas/DummyTestJobListRelationFilterSchema.ts b/utility/prisma/types/inputTypeSchemas/DummyTestJobListRelationFilterSchema.ts new file mode 100644 index 00000000..23a0bbfc --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/DummyTestJobListRelationFilterSchema.ts @@ -0,0 +1,14 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { DummyTestJobWhereInputSchema } from "./DummyTestJobWhereInputSchema"; + +export const DummyTestJobListRelationFilterSchema: z.ZodType = + z + .object({ + every: z.lazy(() => DummyTestJobWhereInputSchema).optional(), + some: z.lazy(() => DummyTestJobWhereInputSchema).optional(), + none: z.lazy(() => DummyTestJobWhereInputSchema).optional(), + }) + .strict(); + +export default DummyTestJobListRelationFilterSchema; diff --git a/utility/prisma/types/inputTypeSchemas/DummyTestJobMaxOrderByAggregateInputSchema.ts b/utility/prisma/types/inputTypeSchemas/DummyTestJobMaxOrderByAggregateInputSchema.ts new file mode 100644 index 00000000..2279c923 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/DummyTestJobMaxOrderByAggregateInputSchema.ts @@ -0,0 +1,13 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { SortOrderSchema } from "./SortOrderSchema"; + +export const DummyTestJobMaxOrderByAggregateInputSchema: z.ZodType = + z + .object({ + id: z.lazy(() => SortOrderSchema).optional(), + baseJobId: z.lazy(() => SortOrderSchema).optional(), + }) + .strict(); + +export default DummyTestJobMaxOrderByAggregateInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/DummyTestJobMinOrderByAggregateInputSchema.ts b/utility/prisma/types/inputTypeSchemas/DummyTestJobMinOrderByAggregateInputSchema.ts new file mode 100644 index 00000000..e22ef6a3 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/DummyTestJobMinOrderByAggregateInputSchema.ts @@ -0,0 +1,13 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { SortOrderSchema } from "./SortOrderSchema"; + +export const DummyTestJobMinOrderByAggregateInputSchema: z.ZodType = + z + .object({ + id: z.lazy(() => SortOrderSchema).optional(), + baseJobId: z.lazy(() => SortOrderSchema).optional(), + }) + .strict(); + +export default DummyTestJobMinOrderByAggregateInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/DummyTestJobOrderByRelationAggregateInputSchema.ts b/utility/prisma/types/inputTypeSchemas/DummyTestJobOrderByRelationAggregateInputSchema.ts new file mode 100644 index 00000000..708ee44e --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/DummyTestJobOrderByRelationAggregateInputSchema.ts @@ -0,0 +1,12 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { SortOrderSchema } from "./SortOrderSchema"; + +export const DummyTestJobOrderByRelationAggregateInputSchema: z.ZodType = + z + .object({ + _count: z.lazy(() => SortOrderSchema).optional(), + }) + .strict(); + +export default DummyTestJobOrderByRelationAggregateInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/DummyTestJobOrderByWithAggregationInputSchema.ts b/utility/prisma/types/inputTypeSchemas/DummyTestJobOrderByWithAggregationInputSchema.ts new file mode 100644 index 00000000..54ef2a51 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/DummyTestJobOrderByWithAggregationInputSchema.ts @@ -0,0 +1,25 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { SortOrderSchema } from "./SortOrderSchema"; +import { DummyTestJobCountOrderByAggregateInputSchema } from "./DummyTestJobCountOrderByAggregateInputSchema"; +import { DummyTestJobAvgOrderByAggregateInputSchema } from "./DummyTestJobAvgOrderByAggregateInputSchema"; +import { DummyTestJobMaxOrderByAggregateInputSchema } from "./DummyTestJobMaxOrderByAggregateInputSchema"; +import { DummyTestJobMinOrderByAggregateInputSchema } from "./DummyTestJobMinOrderByAggregateInputSchema"; +import { DummyTestJobSumOrderByAggregateInputSchema } from "./DummyTestJobSumOrderByAggregateInputSchema"; + +export const DummyTestJobOrderByWithAggregationInputSchema: z.ZodType = + z + .object({ + id: z.lazy(() => SortOrderSchema).optional(), + baseJobId: z.lazy(() => SortOrderSchema).optional(), + _count: z + .lazy(() => DummyTestJobCountOrderByAggregateInputSchema) + .optional(), + _avg: z.lazy(() => DummyTestJobAvgOrderByAggregateInputSchema).optional(), + _max: z.lazy(() => DummyTestJobMaxOrderByAggregateInputSchema).optional(), + _min: z.lazy(() => DummyTestJobMinOrderByAggregateInputSchema).optional(), + _sum: z.lazy(() => DummyTestJobSumOrderByAggregateInputSchema).optional(), + }) + .strict(); + +export default DummyTestJobOrderByWithAggregationInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/DummyTestJobOrderByWithRelationInputSchema.ts b/utility/prisma/types/inputTypeSchemas/DummyTestJobOrderByWithRelationInputSchema.ts new file mode 100644 index 00000000..44ccafd2 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/DummyTestJobOrderByWithRelationInputSchema.ts @@ -0,0 +1,15 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { SortOrderSchema } from "./SortOrderSchema"; +import { BaseJobOrderByWithRelationInputSchema } from "./BaseJobOrderByWithRelationInputSchema"; + +export const DummyTestJobOrderByWithRelationInputSchema: z.ZodType = + z + .object({ + id: z.lazy(() => SortOrderSchema).optional(), + baseJobId: z.lazy(() => SortOrderSchema).optional(), + base_job: z.lazy(() => BaseJobOrderByWithRelationInputSchema).optional(), + }) + .strict(); + +export default DummyTestJobOrderByWithRelationInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/DummyTestJobScalarWhereInputSchema.ts b/utility/prisma/types/inputTypeSchemas/DummyTestJobScalarWhereInputSchema.ts new file mode 100644 index 00000000..441f3fcc --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/DummyTestJobScalarWhereInputSchema.ts @@ -0,0 +1,31 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { IntFilterSchema } from "./IntFilterSchema"; + +export const DummyTestJobScalarWhereInputSchema: z.ZodType = + z + .object({ + AND: z + .union([ + z.lazy(() => DummyTestJobScalarWhereInputSchema), + z.lazy(() => DummyTestJobScalarWhereInputSchema).array(), + ]) + .optional(), + OR: z + .lazy(() => DummyTestJobScalarWhereInputSchema) + .array() + .optional(), + NOT: z + .union([ + z.lazy(() => DummyTestJobScalarWhereInputSchema), + z.lazy(() => DummyTestJobScalarWhereInputSchema).array(), + ]) + .optional(), + id: z.union([z.lazy(() => IntFilterSchema), z.number()]).optional(), + baseJobId: z + .union([z.lazy(() => IntFilterSchema), z.number()]) + .optional(), + }) + .strict(); + +export default DummyTestJobScalarWhereInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/DummyTestJobScalarWhereWithAggregatesInputSchema.ts b/utility/prisma/types/inputTypeSchemas/DummyTestJobScalarWhereWithAggregatesInputSchema.ts new file mode 100644 index 00000000..2db5a869 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/DummyTestJobScalarWhereWithAggregatesInputSchema.ts @@ -0,0 +1,37 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { IntWithAggregatesFilterSchema } from "./IntWithAggregatesFilterSchema"; + +export const DummyTestJobScalarWhereWithAggregatesInputSchema: z.ZodType = + z + .object({ + AND: z + .union([ + z.lazy(() => DummyTestJobScalarWhereWithAggregatesInputSchema), + z + .lazy(() => DummyTestJobScalarWhereWithAggregatesInputSchema) + .array(), + ]) + .optional(), + OR: z + .lazy(() => DummyTestJobScalarWhereWithAggregatesInputSchema) + .array() + .optional(), + NOT: z + .union([ + z.lazy(() => DummyTestJobScalarWhereWithAggregatesInputSchema), + z + .lazy(() => DummyTestJobScalarWhereWithAggregatesInputSchema) + .array(), + ]) + .optional(), + id: z + .union([z.lazy(() => IntWithAggregatesFilterSchema), z.number()]) + .optional(), + baseJobId: z + .union([z.lazy(() => IntWithAggregatesFilterSchema), z.number()]) + .optional(), + }) + .strict(); + +export default DummyTestJobScalarWhereWithAggregatesInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/DummyTestJobSelectSchema.ts b/utility/prisma/types/inputTypeSchemas/DummyTestJobSelectSchema.ts new file mode 100644 index 00000000..9f1aa179 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/DummyTestJobSelectSchema.ts @@ -0,0 +1,15 @@ +import { z } from "zod"; +import type { Prisma } from "../../client"; +import { BaseJobArgsSchema } from "../outputTypeSchemas/BaseJobArgsSchema"; + +export const DummyTestJobSelectSchema: z.ZodType = z + .object({ + id: z.boolean().optional(), + baseJobId: z.boolean().optional(), + base_job: z + .union([z.boolean(), z.lazy(() => BaseJobArgsSchema)]) + .optional(), + }) + .strict(); + +export default DummyTestJobSelectSchema; diff --git a/utility/prisma/types/inputTypeSchemas/DummyTestJobSumOrderByAggregateInputSchema.ts b/utility/prisma/types/inputTypeSchemas/DummyTestJobSumOrderByAggregateInputSchema.ts new file mode 100644 index 00000000..9fa02753 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/DummyTestJobSumOrderByAggregateInputSchema.ts @@ -0,0 +1,13 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { SortOrderSchema } from "./SortOrderSchema"; + +export const DummyTestJobSumOrderByAggregateInputSchema: z.ZodType = + z + .object({ + id: z.lazy(() => SortOrderSchema).optional(), + baseJobId: z.lazy(() => SortOrderSchema).optional(), + }) + .strict(); + +export default DummyTestJobSumOrderByAggregateInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/DummyTestJobUncheckedCreateInputSchema.ts b/utility/prisma/types/inputTypeSchemas/DummyTestJobUncheckedCreateInputSchema.ts new file mode 100644 index 00000000..5dc6cebb --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/DummyTestJobUncheckedCreateInputSchema.ts @@ -0,0 +1,12 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; + +export const DummyTestJobUncheckedCreateInputSchema: z.ZodType = + z + .object({ + id: z.number().int().optional(), + baseJobId: z.number().int(), + }) + .strict(); + +export default DummyTestJobUncheckedCreateInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/DummyTestJobUncheckedCreateNestedManyWithoutBase_jobInputSchema.ts b/utility/prisma/types/inputTypeSchemas/DummyTestJobUncheckedCreateNestedManyWithoutBase_jobInputSchema.ts new file mode 100644 index 00000000..966fbdcd --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/DummyTestJobUncheckedCreateNestedManyWithoutBase_jobInputSchema.ts @@ -0,0 +1,42 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { DummyTestJobCreateWithoutBase_jobInputSchema } from "./DummyTestJobCreateWithoutBase_jobInputSchema"; +import { DummyTestJobUncheckedCreateWithoutBase_jobInputSchema } from "./DummyTestJobUncheckedCreateWithoutBase_jobInputSchema"; +import { DummyTestJobCreateOrConnectWithoutBase_jobInputSchema } from "./DummyTestJobCreateOrConnectWithoutBase_jobInputSchema"; +import { DummyTestJobCreateManyBase_jobInputEnvelopeSchema } from "./DummyTestJobCreateManyBase_jobInputEnvelopeSchema"; +import { DummyTestJobWhereUniqueInputSchema } from "./DummyTestJobWhereUniqueInputSchema"; + +export const DummyTestJobUncheckedCreateNestedManyWithoutBase_jobInputSchema: z.ZodType = + z + .object({ + create: z + .union([ + z.lazy(() => DummyTestJobCreateWithoutBase_jobInputSchema), + z.lazy(() => DummyTestJobCreateWithoutBase_jobInputSchema).array(), + z.lazy(() => DummyTestJobUncheckedCreateWithoutBase_jobInputSchema), + z + .lazy(() => DummyTestJobUncheckedCreateWithoutBase_jobInputSchema) + .array(), + ]) + .optional(), + connectOrCreate: z + .union([ + z.lazy(() => DummyTestJobCreateOrConnectWithoutBase_jobInputSchema), + z + .lazy(() => DummyTestJobCreateOrConnectWithoutBase_jobInputSchema) + .array(), + ]) + .optional(), + createMany: z + .lazy(() => DummyTestJobCreateManyBase_jobInputEnvelopeSchema) + .optional(), + connect: z + .union([ + z.lazy(() => DummyTestJobWhereUniqueInputSchema), + z.lazy(() => DummyTestJobWhereUniqueInputSchema).array(), + ]) + .optional(), + }) + .strict(); + +export default DummyTestJobUncheckedCreateNestedManyWithoutBase_jobInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/DummyTestJobUncheckedCreateWithoutBase_jobInputSchema.ts b/utility/prisma/types/inputTypeSchemas/DummyTestJobUncheckedCreateWithoutBase_jobInputSchema.ts new file mode 100644 index 00000000..c264e579 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/DummyTestJobUncheckedCreateWithoutBase_jobInputSchema.ts @@ -0,0 +1,11 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; + +export const DummyTestJobUncheckedCreateWithoutBase_jobInputSchema: z.ZodType = + z + .object({ + id: z.number().int().optional(), + }) + .strict(); + +export default DummyTestJobUncheckedCreateWithoutBase_jobInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/DummyTestJobUncheckedUpdateInputSchema.ts b/utility/prisma/types/inputTypeSchemas/DummyTestJobUncheckedUpdateInputSchema.ts new file mode 100644 index 00000000..1f3dc35e --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/DummyTestJobUncheckedUpdateInputSchema.ts @@ -0,0 +1,23 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { IntFieldUpdateOperationsInputSchema } from "./IntFieldUpdateOperationsInputSchema"; + +export const DummyTestJobUncheckedUpdateInputSchema: z.ZodType = + z + .object({ + id: z + .union([ + z.number().int(), + z.lazy(() => IntFieldUpdateOperationsInputSchema), + ]) + .optional(), + baseJobId: z + .union([ + z.number().int(), + z.lazy(() => IntFieldUpdateOperationsInputSchema), + ]) + .optional(), + }) + .strict(); + +export default DummyTestJobUncheckedUpdateInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/DummyTestJobUncheckedUpdateManyInputSchema.ts b/utility/prisma/types/inputTypeSchemas/DummyTestJobUncheckedUpdateManyInputSchema.ts new file mode 100644 index 00000000..d3d5b104 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/DummyTestJobUncheckedUpdateManyInputSchema.ts @@ -0,0 +1,23 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { IntFieldUpdateOperationsInputSchema } from "./IntFieldUpdateOperationsInputSchema"; + +export const DummyTestJobUncheckedUpdateManyInputSchema: z.ZodType = + z + .object({ + id: z + .union([ + z.number().int(), + z.lazy(() => IntFieldUpdateOperationsInputSchema), + ]) + .optional(), + baseJobId: z + .union([ + z.number().int(), + z.lazy(() => IntFieldUpdateOperationsInputSchema), + ]) + .optional(), + }) + .strict(); + +export default DummyTestJobUncheckedUpdateManyInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/DummyTestJobUncheckedUpdateManyWithoutBase_jobInputSchema.ts b/utility/prisma/types/inputTypeSchemas/DummyTestJobUncheckedUpdateManyWithoutBase_jobInputSchema.ts new file mode 100644 index 00000000..c75e7a8c --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/DummyTestJobUncheckedUpdateManyWithoutBase_jobInputSchema.ts @@ -0,0 +1,17 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { IntFieldUpdateOperationsInputSchema } from "./IntFieldUpdateOperationsInputSchema"; + +export const DummyTestJobUncheckedUpdateManyWithoutBase_jobInputSchema: z.ZodType = + z + .object({ + id: z + .union([ + z.number().int(), + z.lazy(() => IntFieldUpdateOperationsInputSchema), + ]) + .optional(), + }) + .strict(); + +export default DummyTestJobUncheckedUpdateManyWithoutBase_jobInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/DummyTestJobUncheckedUpdateManyWithoutBase_jobNestedInputSchema.ts b/utility/prisma/types/inputTypeSchemas/DummyTestJobUncheckedUpdateManyWithoutBase_jobNestedInputSchema.ts new file mode 100644 index 00000000..90a653c2 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/DummyTestJobUncheckedUpdateManyWithoutBase_jobNestedInputSchema.ts @@ -0,0 +1,106 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { DummyTestJobCreateWithoutBase_jobInputSchema } from "./DummyTestJobCreateWithoutBase_jobInputSchema"; +import { DummyTestJobUncheckedCreateWithoutBase_jobInputSchema } from "./DummyTestJobUncheckedCreateWithoutBase_jobInputSchema"; +import { DummyTestJobCreateOrConnectWithoutBase_jobInputSchema } from "./DummyTestJobCreateOrConnectWithoutBase_jobInputSchema"; +import { DummyTestJobUpsertWithWhereUniqueWithoutBase_jobInputSchema } from "./DummyTestJobUpsertWithWhereUniqueWithoutBase_jobInputSchema"; +import { DummyTestJobCreateManyBase_jobInputEnvelopeSchema } from "./DummyTestJobCreateManyBase_jobInputEnvelopeSchema"; +import { DummyTestJobWhereUniqueInputSchema } from "./DummyTestJobWhereUniqueInputSchema"; +import { DummyTestJobUpdateWithWhereUniqueWithoutBase_jobInputSchema } from "./DummyTestJobUpdateWithWhereUniqueWithoutBase_jobInputSchema"; +import { DummyTestJobUpdateManyWithWhereWithoutBase_jobInputSchema } from "./DummyTestJobUpdateManyWithWhereWithoutBase_jobInputSchema"; +import { DummyTestJobScalarWhereInputSchema } from "./DummyTestJobScalarWhereInputSchema"; + +export const DummyTestJobUncheckedUpdateManyWithoutBase_jobNestedInputSchema: z.ZodType = + z + .object({ + create: z + .union([ + z.lazy(() => DummyTestJobCreateWithoutBase_jobInputSchema), + z.lazy(() => DummyTestJobCreateWithoutBase_jobInputSchema).array(), + z.lazy(() => DummyTestJobUncheckedCreateWithoutBase_jobInputSchema), + z + .lazy(() => DummyTestJobUncheckedCreateWithoutBase_jobInputSchema) + .array(), + ]) + .optional(), + connectOrCreate: z + .union([ + z.lazy(() => DummyTestJobCreateOrConnectWithoutBase_jobInputSchema), + z + .lazy(() => DummyTestJobCreateOrConnectWithoutBase_jobInputSchema) + .array(), + ]) + .optional(), + upsert: z + .union([ + z.lazy( + () => DummyTestJobUpsertWithWhereUniqueWithoutBase_jobInputSchema, + ), + z + .lazy( + () => DummyTestJobUpsertWithWhereUniqueWithoutBase_jobInputSchema, + ) + .array(), + ]) + .optional(), + createMany: z + .lazy(() => DummyTestJobCreateManyBase_jobInputEnvelopeSchema) + .optional(), + set: z + .union([ + z.lazy(() => DummyTestJobWhereUniqueInputSchema), + z.lazy(() => DummyTestJobWhereUniqueInputSchema).array(), + ]) + .optional(), + disconnect: z + .union([ + z.lazy(() => DummyTestJobWhereUniqueInputSchema), + z.lazy(() => DummyTestJobWhereUniqueInputSchema).array(), + ]) + .optional(), + delete: z + .union([ + z.lazy(() => DummyTestJobWhereUniqueInputSchema), + z.lazy(() => DummyTestJobWhereUniqueInputSchema).array(), + ]) + .optional(), + connect: z + .union([ + z.lazy(() => DummyTestJobWhereUniqueInputSchema), + z.lazy(() => DummyTestJobWhereUniqueInputSchema).array(), + ]) + .optional(), + update: z + .union([ + z.lazy( + () => DummyTestJobUpdateWithWhereUniqueWithoutBase_jobInputSchema, + ), + z + .lazy( + () => DummyTestJobUpdateWithWhereUniqueWithoutBase_jobInputSchema, + ) + .array(), + ]) + .optional(), + updateMany: z + .union([ + z.lazy( + () => DummyTestJobUpdateManyWithWhereWithoutBase_jobInputSchema, + ), + z + .lazy( + () => DummyTestJobUpdateManyWithWhereWithoutBase_jobInputSchema, + ) + .array(), + ]) + .optional(), + deleteMany: z + .union([ + z.lazy(() => DummyTestJobScalarWhereInputSchema), + z.lazy(() => DummyTestJobScalarWhereInputSchema).array(), + ]) + .optional(), + }) + .strict(); + +export default DummyTestJobUncheckedUpdateManyWithoutBase_jobNestedInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/DummyTestJobUncheckedUpdateWithoutBase_jobInputSchema.ts b/utility/prisma/types/inputTypeSchemas/DummyTestJobUncheckedUpdateWithoutBase_jobInputSchema.ts new file mode 100644 index 00000000..a4351383 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/DummyTestJobUncheckedUpdateWithoutBase_jobInputSchema.ts @@ -0,0 +1,17 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { IntFieldUpdateOperationsInputSchema } from "./IntFieldUpdateOperationsInputSchema"; + +export const DummyTestJobUncheckedUpdateWithoutBase_jobInputSchema: z.ZodType = + z + .object({ + id: z + .union([ + z.number().int(), + z.lazy(() => IntFieldUpdateOperationsInputSchema), + ]) + .optional(), + }) + .strict(); + +export default DummyTestJobUncheckedUpdateWithoutBase_jobInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/DummyTestJobUpdateInputSchema.ts b/utility/prisma/types/inputTypeSchemas/DummyTestJobUpdateInputSchema.ts new file mode 100644 index 00000000..dc460c34 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/DummyTestJobUpdateInputSchema.ts @@ -0,0 +1,16 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { BaseJobUpdateOneRequiredWithoutDummyTestJobNestedInputSchema } from "./BaseJobUpdateOneRequiredWithoutDummyTestJobNestedInputSchema"; + +export const DummyTestJobUpdateInputSchema: z.ZodType = + z + .object({ + base_job: z + .lazy( + () => BaseJobUpdateOneRequiredWithoutDummyTestJobNestedInputSchema, + ) + .optional(), + }) + .strict(); + +export default DummyTestJobUpdateInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/DummyTestJobUpdateManyMutationInputSchema.ts b/utility/prisma/types/inputTypeSchemas/DummyTestJobUpdateManyMutationInputSchema.ts new file mode 100644 index 00000000..00c33450 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/DummyTestJobUpdateManyMutationInputSchema.ts @@ -0,0 +1,7 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; + +export const DummyTestJobUpdateManyMutationInputSchema: z.ZodType = + z.object({}).strict(); + +export default DummyTestJobUpdateManyMutationInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/DummyTestJobUpdateManyWithWhereWithoutBase_jobInputSchema.ts b/utility/prisma/types/inputTypeSchemas/DummyTestJobUpdateManyWithWhereWithoutBase_jobInputSchema.ts new file mode 100644 index 00000000..9aa0b7e0 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/DummyTestJobUpdateManyWithWhereWithoutBase_jobInputSchema.ts @@ -0,0 +1,18 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { DummyTestJobScalarWhereInputSchema } from "./DummyTestJobScalarWhereInputSchema"; +import { DummyTestJobUpdateManyMutationInputSchema } from "./DummyTestJobUpdateManyMutationInputSchema"; +import { DummyTestJobUncheckedUpdateManyWithoutBase_jobInputSchema } from "./DummyTestJobUncheckedUpdateManyWithoutBase_jobInputSchema"; + +export const DummyTestJobUpdateManyWithWhereWithoutBase_jobInputSchema: z.ZodType = + z + .object({ + where: z.lazy(() => DummyTestJobScalarWhereInputSchema), + data: z.union([ + z.lazy(() => DummyTestJobUpdateManyMutationInputSchema), + z.lazy(() => DummyTestJobUncheckedUpdateManyWithoutBase_jobInputSchema), + ]), + }) + .strict(); + +export default DummyTestJobUpdateManyWithWhereWithoutBase_jobInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/DummyTestJobUpdateManyWithoutBase_jobNestedInputSchema.ts b/utility/prisma/types/inputTypeSchemas/DummyTestJobUpdateManyWithoutBase_jobNestedInputSchema.ts new file mode 100644 index 00000000..c2159a64 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/DummyTestJobUpdateManyWithoutBase_jobNestedInputSchema.ts @@ -0,0 +1,106 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { DummyTestJobCreateWithoutBase_jobInputSchema } from "./DummyTestJobCreateWithoutBase_jobInputSchema"; +import { DummyTestJobUncheckedCreateWithoutBase_jobInputSchema } from "./DummyTestJobUncheckedCreateWithoutBase_jobInputSchema"; +import { DummyTestJobCreateOrConnectWithoutBase_jobInputSchema } from "./DummyTestJobCreateOrConnectWithoutBase_jobInputSchema"; +import { DummyTestJobUpsertWithWhereUniqueWithoutBase_jobInputSchema } from "./DummyTestJobUpsertWithWhereUniqueWithoutBase_jobInputSchema"; +import { DummyTestJobCreateManyBase_jobInputEnvelopeSchema } from "./DummyTestJobCreateManyBase_jobInputEnvelopeSchema"; +import { DummyTestJobWhereUniqueInputSchema } from "./DummyTestJobWhereUniqueInputSchema"; +import { DummyTestJobUpdateWithWhereUniqueWithoutBase_jobInputSchema } from "./DummyTestJobUpdateWithWhereUniqueWithoutBase_jobInputSchema"; +import { DummyTestJobUpdateManyWithWhereWithoutBase_jobInputSchema } from "./DummyTestJobUpdateManyWithWhereWithoutBase_jobInputSchema"; +import { DummyTestJobScalarWhereInputSchema } from "./DummyTestJobScalarWhereInputSchema"; + +export const DummyTestJobUpdateManyWithoutBase_jobNestedInputSchema: z.ZodType = + z + .object({ + create: z + .union([ + z.lazy(() => DummyTestJobCreateWithoutBase_jobInputSchema), + z.lazy(() => DummyTestJobCreateWithoutBase_jobInputSchema).array(), + z.lazy(() => DummyTestJobUncheckedCreateWithoutBase_jobInputSchema), + z + .lazy(() => DummyTestJobUncheckedCreateWithoutBase_jobInputSchema) + .array(), + ]) + .optional(), + connectOrCreate: z + .union([ + z.lazy(() => DummyTestJobCreateOrConnectWithoutBase_jobInputSchema), + z + .lazy(() => DummyTestJobCreateOrConnectWithoutBase_jobInputSchema) + .array(), + ]) + .optional(), + upsert: z + .union([ + z.lazy( + () => DummyTestJobUpsertWithWhereUniqueWithoutBase_jobInputSchema, + ), + z + .lazy( + () => DummyTestJobUpsertWithWhereUniqueWithoutBase_jobInputSchema, + ) + .array(), + ]) + .optional(), + createMany: z + .lazy(() => DummyTestJobCreateManyBase_jobInputEnvelopeSchema) + .optional(), + set: z + .union([ + z.lazy(() => DummyTestJobWhereUniqueInputSchema), + z.lazy(() => DummyTestJobWhereUniqueInputSchema).array(), + ]) + .optional(), + disconnect: z + .union([ + z.lazy(() => DummyTestJobWhereUniqueInputSchema), + z.lazy(() => DummyTestJobWhereUniqueInputSchema).array(), + ]) + .optional(), + delete: z + .union([ + z.lazy(() => DummyTestJobWhereUniqueInputSchema), + z.lazy(() => DummyTestJobWhereUniqueInputSchema).array(), + ]) + .optional(), + connect: z + .union([ + z.lazy(() => DummyTestJobWhereUniqueInputSchema), + z.lazy(() => DummyTestJobWhereUniqueInputSchema).array(), + ]) + .optional(), + update: z + .union([ + z.lazy( + () => DummyTestJobUpdateWithWhereUniqueWithoutBase_jobInputSchema, + ), + z + .lazy( + () => DummyTestJobUpdateWithWhereUniqueWithoutBase_jobInputSchema, + ) + .array(), + ]) + .optional(), + updateMany: z + .union([ + z.lazy( + () => DummyTestJobUpdateManyWithWhereWithoutBase_jobInputSchema, + ), + z + .lazy( + () => DummyTestJobUpdateManyWithWhereWithoutBase_jobInputSchema, + ) + .array(), + ]) + .optional(), + deleteMany: z + .union([ + z.lazy(() => DummyTestJobScalarWhereInputSchema), + z.lazy(() => DummyTestJobScalarWhereInputSchema).array(), + ]) + .optional(), + }) + .strict(); + +export default DummyTestJobUpdateManyWithoutBase_jobNestedInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/DummyTestJobUpdateWithWhereUniqueWithoutBase_jobInputSchema.ts b/utility/prisma/types/inputTypeSchemas/DummyTestJobUpdateWithWhereUniqueWithoutBase_jobInputSchema.ts new file mode 100644 index 00000000..2e3e3cb5 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/DummyTestJobUpdateWithWhereUniqueWithoutBase_jobInputSchema.ts @@ -0,0 +1,18 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { DummyTestJobWhereUniqueInputSchema } from "./DummyTestJobWhereUniqueInputSchema"; +import { DummyTestJobUpdateWithoutBase_jobInputSchema } from "./DummyTestJobUpdateWithoutBase_jobInputSchema"; +import { DummyTestJobUncheckedUpdateWithoutBase_jobInputSchema } from "./DummyTestJobUncheckedUpdateWithoutBase_jobInputSchema"; + +export const DummyTestJobUpdateWithWhereUniqueWithoutBase_jobInputSchema: z.ZodType = + z + .object({ + where: z.lazy(() => DummyTestJobWhereUniqueInputSchema), + data: z.union([ + z.lazy(() => DummyTestJobUpdateWithoutBase_jobInputSchema), + z.lazy(() => DummyTestJobUncheckedUpdateWithoutBase_jobInputSchema), + ]), + }) + .strict(); + +export default DummyTestJobUpdateWithWhereUniqueWithoutBase_jobInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/DummyTestJobUpdateWithoutBase_jobInputSchema.ts b/utility/prisma/types/inputTypeSchemas/DummyTestJobUpdateWithoutBase_jobInputSchema.ts new file mode 100644 index 00000000..52fd8928 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/DummyTestJobUpdateWithoutBase_jobInputSchema.ts @@ -0,0 +1,7 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; + +export const DummyTestJobUpdateWithoutBase_jobInputSchema: z.ZodType = + z.object({}).strict(); + +export default DummyTestJobUpdateWithoutBase_jobInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/DummyTestJobUpsertWithWhereUniqueWithoutBase_jobInputSchema.ts b/utility/prisma/types/inputTypeSchemas/DummyTestJobUpsertWithWhereUniqueWithoutBase_jobInputSchema.ts new file mode 100644 index 00000000..e82cecc1 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/DummyTestJobUpsertWithWhereUniqueWithoutBase_jobInputSchema.ts @@ -0,0 +1,24 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { DummyTestJobWhereUniqueInputSchema } from "./DummyTestJobWhereUniqueInputSchema"; +import { DummyTestJobUpdateWithoutBase_jobInputSchema } from "./DummyTestJobUpdateWithoutBase_jobInputSchema"; +import { DummyTestJobUncheckedUpdateWithoutBase_jobInputSchema } from "./DummyTestJobUncheckedUpdateWithoutBase_jobInputSchema"; +import { DummyTestJobCreateWithoutBase_jobInputSchema } from "./DummyTestJobCreateWithoutBase_jobInputSchema"; +import { DummyTestJobUncheckedCreateWithoutBase_jobInputSchema } from "./DummyTestJobUncheckedCreateWithoutBase_jobInputSchema"; + +export const DummyTestJobUpsertWithWhereUniqueWithoutBase_jobInputSchema: z.ZodType = + z + .object({ + where: z.lazy(() => DummyTestJobWhereUniqueInputSchema), + update: z.union([ + z.lazy(() => DummyTestJobUpdateWithoutBase_jobInputSchema), + z.lazy(() => DummyTestJobUncheckedUpdateWithoutBase_jobInputSchema), + ]), + create: z.union([ + z.lazy(() => DummyTestJobCreateWithoutBase_jobInputSchema), + z.lazy(() => DummyTestJobUncheckedCreateWithoutBase_jobInputSchema), + ]), + }) + .strict(); + +export default DummyTestJobUpsertWithWhereUniqueWithoutBase_jobInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/DummyTestJobWhereInputSchema.ts b/utility/prisma/types/inputTypeSchemas/DummyTestJobWhereInputSchema.ts new file mode 100644 index 00000000..899d76ea --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/DummyTestJobWhereInputSchema.ts @@ -0,0 +1,39 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { IntFilterSchema } from "./IntFilterSchema"; +import { BaseJobRelationFilterSchema } from "./BaseJobRelationFilterSchema"; +import { BaseJobWhereInputSchema } from "./BaseJobWhereInputSchema"; + +export const DummyTestJobWhereInputSchema: z.ZodType = + z + .object({ + AND: z + .union([ + z.lazy(() => DummyTestJobWhereInputSchema), + z.lazy(() => DummyTestJobWhereInputSchema).array(), + ]) + .optional(), + OR: z + .lazy(() => DummyTestJobWhereInputSchema) + .array() + .optional(), + NOT: z + .union([ + z.lazy(() => DummyTestJobWhereInputSchema), + z.lazy(() => DummyTestJobWhereInputSchema).array(), + ]) + .optional(), + id: z.union([z.lazy(() => IntFilterSchema), z.number()]).optional(), + baseJobId: z + .union([z.lazy(() => IntFilterSchema), z.number()]) + .optional(), + base_job: z + .union([ + z.lazy(() => BaseJobRelationFilterSchema), + z.lazy(() => BaseJobWhereInputSchema), + ]) + .optional(), + }) + .strict(); + +export default DummyTestJobWhereInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/DummyTestJobWhereUniqueInputSchema.ts b/utility/prisma/types/inputTypeSchemas/DummyTestJobWhereUniqueInputSchema.ts new file mode 100644 index 00000000..d11a8472 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/DummyTestJobWhereUniqueInputSchema.ts @@ -0,0 +1,46 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { DummyTestJobWhereInputSchema } from "./DummyTestJobWhereInputSchema"; +import { IntFilterSchema } from "./IntFilterSchema"; +import { BaseJobRelationFilterSchema } from "./BaseJobRelationFilterSchema"; +import { BaseJobWhereInputSchema } from "./BaseJobWhereInputSchema"; + +export const DummyTestJobWhereUniqueInputSchema: z.ZodType = + z + .object({ + id: z.number(), + }) + .and( + z + .object({ + id: z.number().optional(), + AND: z + .union([ + z.lazy(() => DummyTestJobWhereInputSchema), + z.lazy(() => DummyTestJobWhereInputSchema).array(), + ]) + .optional(), + OR: z + .lazy(() => DummyTestJobWhereInputSchema) + .array() + .optional(), + NOT: z + .union([ + z.lazy(() => DummyTestJobWhereInputSchema), + z.lazy(() => DummyTestJobWhereInputSchema).array(), + ]) + .optional(), + baseJobId: z + .union([z.lazy(() => IntFilterSchema), z.number()]) + .optional(), + base_job: z + .union([ + z.lazy(() => BaseJobRelationFilterSchema), + z.lazy(() => BaseJobWhereInputSchema), + ]) + .optional(), + }) + .strict(), + ); + +export default DummyTestJobWhereUniqueInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/EnumAssetTypeFieldUpdateOperationsInputSchema.ts b/utility/prisma/types/inputTypeSchemas/EnumAssetTypeFieldUpdateOperationsInputSchema.ts new file mode 100644 index 00000000..b03af594 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/EnumAssetTypeFieldUpdateOperationsInputSchema.ts @@ -0,0 +1,12 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { AssetTypeSchema } from "./AssetTypeSchema"; + +export const EnumAssetTypeFieldUpdateOperationsInputSchema: z.ZodType = + z + .object({ + set: z.lazy(() => AssetTypeSchema).optional(), + }) + .strict(); + +export default EnumAssetTypeFieldUpdateOperationsInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/EnumAssetTypeFilterSchema.ts b/utility/prisma/types/inputTypeSchemas/EnumAssetTypeFilterSchema.ts new file mode 100644 index 00000000..091e9c1c --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/EnumAssetTypeFilterSchema.ts @@ -0,0 +1,27 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { AssetTypeSchema } from "./AssetTypeSchema"; +import { NestedEnumAssetTypeFilterSchema } from "./NestedEnumAssetTypeFilterSchema"; + +export const EnumAssetTypeFilterSchema: z.ZodType = + z + .object({ + equals: z.lazy(() => AssetTypeSchema).optional(), + in: z + .lazy(() => AssetTypeSchema) + .array() + .optional(), + notIn: z + .lazy(() => AssetTypeSchema) + .array() + .optional(), + not: z + .union([ + z.lazy(() => AssetTypeSchema), + z.lazy(() => NestedEnumAssetTypeFilterSchema), + ]) + .optional(), + }) + .strict(); + +export default EnumAssetTypeFilterSchema; diff --git a/utility/prisma/types/inputTypeSchemas/EnumAssetTypeWithAggregatesFilterSchema.ts b/utility/prisma/types/inputTypeSchemas/EnumAssetTypeWithAggregatesFilterSchema.ts new file mode 100644 index 00000000..6260860b --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/EnumAssetTypeWithAggregatesFilterSchema.ts @@ -0,0 +1,32 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { AssetTypeSchema } from "./AssetTypeSchema"; +import { NestedEnumAssetTypeWithAggregatesFilterSchema } from "./NestedEnumAssetTypeWithAggregatesFilterSchema"; +import { NestedIntFilterSchema } from "./NestedIntFilterSchema"; +import { NestedEnumAssetTypeFilterSchema } from "./NestedEnumAssetTypeFilterSchema"; + +export const EnumAssetTypeWithAggregatesFilterSchema: z.ZodType = + z + .object({ + equals: z.lazy(() => AssetTypeSchema).optional(), + in: z + .lazy(() => AssetTypeSchema) + .array() + .optional(), + notIn: z + .lazy(() => AssetTypeSchema) + .array() + .optional(), + not: z + .union([ + z.lazy(() => AssetTypeSchema), + z.lazy(() => NestedEnumAssetTypeWithAggregatesFilterSchema), + ]) + .optional(), + _count: z.lazy(() => NestedIntFilterSchema).optional(), + _min: z.lazy(() => NestedEnumAssetTypeFilterSchema).optional(), + _max: z.lazy(() => NestedEnumAssetTypeFilterSchema).optional(), + }) + .strict(); + +export default EnumAssetTypeWithAggregatesFilterSchema; diff --git a/utility/prisma/types/inputTypeSchemas/EnumJobStateFieldUpdateOperationsInputSchema.ts b/utility/prisma/types/inputTypeSchemas/EnumJobStateFieldUpdateOperationsInputSchema.ts new file mode 100644 index 00000000..2eec3274 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/EnumJobStateFieldUpdateOperationsInputSchema.ts @@ -0,0 +1,12 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { JobStateSchema } from "./JobStateSchema"; + +export const EnumJobStateFieldUpdateOperationsInputSchema: z.ZodType = + z + .object({ + set: z.lazy(() => JobStateSchema).optional(), + }) + .strict(); + +export default EnumJobStateFieldUpdateOperationsInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/EnumJobStateFilterSchema.ts b/utility/prisma/types/inputTypeSchemas/EnumJobStateFilterSchema.ts new file mode 100644 index 00000000..1f019cb3 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/EnumJobStateFilterSchema.ts @@ -0,0 +1,26 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { JobStateSchema } from "./JobStateSchema"; +import { NestedEnumJobStateFilterSchema } from "./NestedEnumJobStateFilterSchema"; + +export const EnumJobStateFilterSchema: z.ZodType = z + .object({ + equals: z.lazy(() => JobStateSchema).optional(), + in: z + .lazy(() => JobStateSchema) + .array() + .optional(), + notIn: z + .lazy(() => JobStateSchema) + .array() + .optional(), + not: z + .union([ + z.lazy(() => JobStateSchema), + z.lazy(() => NestedEnumJobStateFilterSchema), + ]) + .optional(), + }) + .strict(); + +export default EnumJobStateFilterSchema; diff --git a/utility/prisma/types/inputTypeSchemas/EnumJobStateWithAggregatesFilterSchema.ts b/utility/prisma/types/inputTypeSchemas/EnumJobStateWithAggregatesFilterSchema.ts new file mode 100644 index 00000000..7f7e852c --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/EnumJobStateWithAggregatesFilterSchema.ts @@ -0,0 +1,32 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { JobStateSchema } from "./JobStateSchema"; +import { NestedEnumJobStateWithAggregatesFilterSchema } from "./NestedEnumJobStateWithAggregatesFilterSchema"; +import { NestedIntFilterSchema } from "./NestedIntFilterSchema"; +import { NestedEnumJobStateFilterSchema } from "./NestedEnumJobStateFilterSchema"; + +export const EnumJobStateWithAggregatesFilterSchema: z.ZodType = + z + .object({ + equals: z.lazy(() => JobStateSchema).optional(), + in: z + .lazy(() => JobStateSchema) + .array() + .optional(), + notIn: z + .lazy(() => JobStateSchema) + .array() + .optional(), + not: z + .union([ + z.lazy(() => JobStateSchema), + z.lazy(() => NestedEnumJobStateWithAggregatesFilterSchema), + ]) + .optional(), + _count: z.lazy(() => NestedIntFilterSchema).optional(), + _min: z.lazy(() => NestedEnumJobStateFilterSchema).optional(), + _max: z.lazy(() => NestedEnumJobStateFilterSchema).optional(), + }) + .strict(); + +export default EnumJobStateWithAggregatesFilterSchema; diff --git a/utility/prisma/types/inputTypeSchemas/EnumMediaFileSourceTypeFieldUpdateOperationsInputSchema.ts b/utility/prisma/types/inputTypeSchemas/EnumMediaFileSourceTypeFieldUpdateOperationsInputSchema.ts new file mode 100644 index 00000000..1494ac96 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/EnumMediaFileSourceTypeFieldUpdateOperationsInputSchema.ts @@ -0,0 +1,12 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { MediaFileSourceTypeSchema } from "./MediaFileSourceTypeSchema"; + +export const EnumMediaFileSourceTypeFieldUpdateOperationsInputSchema: z.ZodType = + z + .object({ + set: z.lazy(() => MediaFileSourceTypeSchema).optional(), + }) + .strict(); + +export default EnumMediaFileSourceTypeFieldUpdateOperationsInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/EnumMediaFileSourceTypeFilterSchema.ts b/utility/prisma/types/inputTypeSchemas/EnumMediaFileSourceTypeFilterSchema.ts new file mode 100644 index 00000000..f4f5c67c --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/EnumMediaFileSourceTypeFilterSchema.ts @@ -0,0 +1,27 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { MediaFileSourceTypeSchema } from "./MediaFileSourceTypeSchema"; +import { NestedEnumMediaFileSourceTypeFilterSchema } from "./NestedEnumMediaFileSourceTypeFilterSchema"; + +export const EnumMediaFileSourceTypeFilterSchema: z.ZodType = + z + .object({ + equals: z.lazy(() => MediaFileSourceTypeSchema).optional(), + in: z + .lazy(() => MediaFileSourceTypeSchema) + .array() + .optional(), + notIn: z + .lazy(() => MediaFileSourceTypeSchema) + .array() + .optional(), + not: z + .union([ + z.lazy(() => MediaFileSourceTypeSchema), + z.lazy(() => NestedEnumMediaFileSourceTypeFilterSchema), + ]) + .optional(), + }) + .strict(); + +export default EnumMediaFileSourceTypeFilterSchema; diff --git a/utility/prisma/types/inputTypeSchemas/EnumMediaFileSourceTypeWithAggregatesFilterSchema.ts b/utility/prisma/types/inputTypeSchemas/EnumMediaFileSourceTypeWithAggregatesFilterSchema.ts new file mode 100644 index 00000000..237b4a73 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/EnumMediaFileSourceTypeWithAggregatesFilterSchema.ts @@ -0,0 +1,32 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { MediaFileSourceTypeSchema } from "./MediaFileSourceTypeSchema"; +import { NestedEnumMediaFileSourceTypeWithAggregatesFilterSchema } from "./NestedEnumMediaFileSourceTypeWithAggregatesFilterSchema"; +import { NestedIntFilterSchema } from "./NestedIntFilterSchema"; +import { NestedEnumMediaFileSourceTypeFilterSchema } from "./NestedEnumMediaFileSourceTypeFilterSchema"; + +export const EnumMediaFileSourceTypeWithAggregatesFilterSchema: z.ZodType = + z + .object({ + equals: z.lazy(() => MediaFileSourceTypeSchema).optional(), + in: z + .lazy(() => MediaFileSourceTypeSchema) + .array() + .optional(), + notIn: z + .lazy(() => MediaFileSourceTypeSchema) + .array() + .optional(), + not: z + .union([ + z.lazy(() => MediaFileSourceTypeSchema), + z.lazy(() => NestedEnumMediaFileSourceTypeWithAggregatesFilterSchema), + ]) + .optional(), + _count: z.lazy(() => NestedIntFilterSchema).optional(), + _min: z.lazy(() => NestedEnumMediaFileSourceTypeFilterSchema).optional(), + _max: z.lazy(() => NestedEnumMediaFileSourceTypeFilterSchema).optional(), + }) + .strict(); + +export default EnumMediaFileSourceTypeWithAggregatesFilterSchema; diff --git a/utility/prisma/types/inputTypeSchemas/EnumMediaProcessingTaskStateFieldUpdateOperationsInputSchema.ts b/utility/prisma/types/inputTypeSchemas/EnumMediaProcessingTaskStateFieldUpdateOperationsInputSchema.ts new file mode 100644 index 00000000..b74fd213 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/EnumMediaProcessingTaskStateFieldUpdateOperationsInputSchema.ts @@ -0,0 +1,12 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { MediaProcessingTaskStateSchema } from "./MediaProcessingTaskStateSchema"; + +export const EnumMediaProcessingTaskStateFieldUpdateOperationsInputSchema: z.ZodType = + z + .object({ + set: z.lazy(() => MediaProcessingTaskStateSchema).optional(), + }) + .strict(); + +export default EnumMediaProcessingTaskStateFieldUpdateOperationsInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/EnumMediaProcessingTaskStateFilterSchema.ts b/utility/prisma/types/inputTypeSchemas/EnumMediaProcessingTaskStateFilterSchema.ts new file mode 100644 index 00000000..fb4c10d3 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/EnumMediaProcessingTaskStateFilterSchema.ts @@ -0,0 +1,27 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { MediaProcessingTaskStateSchema } from "./MediaProcessingTaskStateSchema"; +import { NestedEnumMediaProcessingTaskStateFilterSchema } from "./NestedEnumMediaProcessingTaskStateFilterSchema"; + +export const EnumMediaProcessingTaskStateFilterSchema: z.ZodType = + z + .object({ + equals: z.lazy(() => MediaProcessingTaskStateSchema).optional(), + in: z + .lazy(() => MediaProcessingTaskStateSchema) + .array() + .optional(), + notIn: z + .lazy(() => MediaProcessingTaskStateSchema) + .array() + .optional(), + not: z + .union([ + z.lazy(() => MediaProcessingTaskStateSchema), + z.lazy(() => NestedEnumMediaProcessingTaskStateFilterSchema), + ]) + .optional(), + }) + .strict(); + +export default EnumMediaProcessingTaskStateFilterSchema; diff --git a/utility/prisma/types/inputTypeSchemas/EnumMediaProcessingTaskStateWithAggregatesFilterSchema.ts b/utility/prisma/types/inputTypeSchemas/EnumMediaProcessingTaskStateWithAggregatesFilterSchema.ts new file mode 100644 index 00000000..70f02238 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/EnumMediaProcessingTaskStateWithAggregatesFilterSchema.ts @@ -0,0 +1,38 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { MediaProcessingTaskStateSchema } from "./MediaProcessingTaskStateSchema"; +import { NestedEnumMediaProcessingTaskStateWithAggregatesFilterSchema } from "./NestedEnumMediaProcessingTaskStateWithAggregatesFilterSchema"; +import { NestedIntFilterSchema } from "./NestedIntFilterSchema"; +import { NestedEnumMediaProcessingTaskStateFilterSchema } from "./NestedEnumMediaProcessingTaskStateFilterSchema"; + +export const EnumMediaProcessingTaskStateWithAggregatesFilterSchema: z.ZodType = + z + .object({ + equals: z.lazy(() => MediaProcessingTaskStateSchema).optional(), + in: z + .lazy(() => MediaProcessingTaskStateSchema) + .array() + .optional(), + notIn: z + .lazy(() => MediaProcessingTaskStateSchema) + .array() + .optional(), + not: z + .union([ + z.lazy(() => MediaProcessingTaskStateSchema), + z.lazy( + () => NestedEnumMediaProcessingTaskStateWithAggregatesFilterSchema, + ), + ]) + .optional(), + _count: z.lazy(() => NestedIntFilterSchema).optional(), + _min: z + .lazy(() => NestedEnumMediaProcessingTaskStateFilterSchema) + .optional(), + _max: z + .lazy(() => NestedEnumMediaProcessingTaskStateFilterSchema) + .optional(), + }) + .strict(); + +export default EnumMediaProcessingTaskStateWithAggregatesFilterSchema; diff --git a/utility/prisma/types/inputTypeSchemas/EnumMediaStateFieldUpdateOperationsInputSchema.ts b/utility/prisma/types/inputTypeSchemas/EnumMediaStateFieldUpdateOperationsInputSchema.ts new file mode 100644 index 00000000..ba5f7204 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/EnumMediaStateFieldUpdateOperationsInputSchema.ts @@ -0,0 +1,12 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { MediaStateSchema } from "./MediaStateSchema"; + +export const EnumMediaStateFieldUpdateOperationsInputSchema: z.ZodType = + z + .object({ + set: z.lazy(() => MediaStateSchema).optional(), + }) + .strict(); + +export default EnumMediaStateFieldUpdateOperationsInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/EnumMediaStateFilterSchema.ts b/utility/prisma/types/inputTypeSchemas/EnumMediaStateFilterSchema.ts new file mode 100644 index 00000000..d09a5324 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/EnumMediaStateFilterSchema.ts @@ -0,0 +1,27 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { MediaStateSchema } from "./MediaStateSchema"; +import { NestedEnumMediaStateFilterSchema } from "./NestedEnumMediaStateFilterSchema"; + +export const EnumMediaStateFilterSchema: z.ZodType = + z + .object({ + equals: z.lazy(() => MediaStateSchema).optional(), + in: z + .lazy(() => MediaStateSchema) + .array() + .optional(), + notIn: z + .lazy(() => MediaStateSchema) + .array() + .optional(), + not: z + .union([ + z.lazy(() => MediaStateSchema), + z.lazy(() => NestedEnumMediaStateFilterSchema), + ]) + .optional(), + }) + .strict(); + +export default EnumMediaStateFilterSchema; diff --git a/utility/prisma/types/inputTypeSchemas/EnumMediaStateWithAggregatesFilterSchema.ts b/utility/prisma/types/inputTypeSchemas/EnumMediaStateWithAggregatesFilterSchema.ts new file mode 100644 index 00000000..bb34ec28 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/EnumMediaStateWithAggregatesFilterSchema.ts @@ -0,0 +1,32 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { MediaStateSchema } from "./MediaStateSchema"; +import { NestedEnumMediaStateWithAggregatesFilterSchema } from "./NestedEnumMediaStateWithAggregatesFilterSchema"; +import { NestedIntFilterSchema } from "./NestedIntFilterSchema"; +import { NestedEnumMediaStateFilterSchema } from "./NestedEnumMediaStateFilterSchema"; + +export const EnumMediaStateWithAggregatesFilterSchema: z.ZodType = + z + .object({ + equals: z.lazy(() => MediaStateSchema).optional(), + in: z + .lazy(() => MediaStateSchema) + .array() + .optional(), + notIn: z + .lazy(() => MediaStateSchema) + .array() + .optional(), + not: z + .union([ + z.lazy(() => MediaStateSchema), + z.lazy(() => NestedEnumMediaStateWithAggregatesFilterSchema), + ]) + .optional(), + _count: z.lazy(() => NestedIntFilterSchema).optional(), + _min: z.lazy(() => NestedEnumMediaStateFilterSchema).optional(), + _max: z.lazy(() => NestedEnumMediaStateFilterSchema).optional(), + }) + .strict(); + +export default EnumMediaStateWithAggregatesFilterSchema; diff --git a/utility/prisma/types/inputTypeSchemas/EnumRundownItemTypeFieldUpdateOperationsInputSchema.ts b/utility/prisma/types/inputTypeSchemas/EnumRundownItemTypeFieldUpdateOperationsInputSchema.ts new file mode 100644 index 00000000..fe902617 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/EnumRundownItemTypeFieldUpdateOperationsInputSchema.ts @@ -0,0 +1,12 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { RundownItemTypeSchema } from "./RundownItemTypeSchema"; + +export const EnumRundownItemTypeFieldUpdateOperationsInputSchema: z.ZodType = + z + .object({ + set: z.lazy(() => RundownItemTypeSchema).optional(), + }) + .strict(); + +export default EnumRundownItemTypeFieldUpdateOperationsInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/EnumRundownItemTypeFilterSchema.ts b/utility/prisma/types/inputTypeSchemas/EnumRundownItemTypeFilterSchema.ts new file mode 100644 index 00000000..17ad7385 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/EnumRundownItemTypeFilterSchema.ts @@ -0,0 +1,27 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { RundownItemTypeSchema } from "./RundownItemTypeSchema"; +import { NestedEnumRundownItemTypeFilterSchema } from "./NestedEnumRundownItemTypeFilterSchema"; + +export const EnumRundownItemTypeFilterSchema: z.ZodType = + z + .object({ + equals: z.lazy(() => RundownItemTypeSchema).optional(), + in: z + .lazy(() => RundownItemTypeSchema) + .array() + .optional(), + notIn: z + .lazy(() => RundownItemTypeSchema) + .array() + .optional(), + not: z + .union([ + z.lazy(() => RundownItemTypeSchema), + z.lazy(() => NestedEnumRundownItemTypeFilterSchema), + ]) + .optional(), + }) + .strict(); + +export default EnumRundownItemTypeFilterSchema; diff --git a/utility/prisma/types/inputTypeSchemas/EnumRundownItemTypeWithAggregatesFilterSchema.ts b/utility/prisma/types/inputTypeSchemas/EnumRundownItemTypeWithAggregatesFilterSchema.ts new file mode 100644 index 00000000..4634c860 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/EnumRundownItemTypeWithAggregatesFilterSchema.ts @@ -0,0 +1,32 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { RundownItemTypeSchema } from "./RundownItemTypeSchema"; +import { NestedEnumRundownItemTypeWithAggregatesFilterSchema } from "./NestedEnumRundownItemTypeWithAggregatesFilterSchema"; +import { NestedIntFilterSchema } from "./NestedIntFilterSchema"; +import { NestedEnumRundownItemTypeFilterSchema } from "./NestedEnumRundownItemTypeFilterSchema"; + +export const EnumRundownItemTypeWithAggregatesFilterSchema: z.ZodType = + z + .object({ + equals: z.lazy(() => RundownItemTypeSchema).optional(), + in: z + .lazy(() => RundownItemTypeSchema) + .array() + .optional(), + notIn: z + .lazy(() => RundownItemTypeSchema) + .array() + .optional(), + not: z + .union([ + z.lazy(() => RundownItemTypeSchema), + z.lazy(() => NestedEnumRundownItemTypeWithAggregatesFilterSchema), + ]) + .optional(), + _count: z.lazy(() => NestedIntFilterSchema).optional(), + _min: z.lazy(() => NestedEnumRundownItemTypeFilterSchema).optional(), + _max: z.lazy(() => NestedEnumRundownItemTypeFilterSchema).optional(), + }) + .strict(); + +export default EnumRundownItemTypeWithAggregatesFilterSchema; diff --git a/utility/prisma/types/inputTypeSchemas/IntFieldUpdateOperationsInputSchema.ts b/utility/prisma/types/inputTypeSchemas/IntFieldUpdateOperationsInputSchema.ts new file mode 100644 index 00000000..f0637e0c --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/IntFieldUpdateOperationsInputSchema.ts @@ -0,0 +1,15 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; + +export const IntFieldUpdateOperationsInputSchema: z.ZodType = + z + .object({ + set: z.number().optional(), + increment: z.number().optional(), + decrement: z.number().optional(), + multiply: z.number().optional(), + divide: z.number().optional(), + }) + .strict(); + +export default IntFieldUpdateOperationsInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/IntFilterSchema.ts b/utility/prisma/types/inputTypeSchemas/IntFilterSchema.ts new file mode 100644 index 00000000..e837a8af --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/IntFilterSchema.ts @@ -0,0 +1,18 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { NestedIntFilterSchema } from "./NestedIntFilterSchema"; + +export const IntFilterSchema: z.ZodType = z + .object({ + equals: z.number().optional(), + in: z.number().array().optional(), + notIn: z.number().array().optional(), + lt: z.number().optional(), + lte: z.number().optional(), + gt: z.number().optional(), + gte: z.number().optional(), + not: z.union([z.number(), z.lazy(() => NestedIntFilterSchema)]).optional(), + }) + .strict(); + +export default IntFilterSchema; diff --git a/utility/prisma/types/inputTypeSchemas/IntNullableFilterSchema.ts b/utility/prisma/types/inputTypeSchemas/IntNullableFilterSchema.ts new file mode 100644 index 00000000..fe32f84e --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/IntNullableFilterSchema.ts @@ -0,0 +1,21 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { NestedIntNullableFilterSchema } from "./NestedIntNullableFilterSchema"; + +export const IntNullableFilterSchema: z.ZodType = z + .object({ + equals: z.number().optional().nullable(), + in: z.number().array().optional().nullable(), + notIn: z.number().array().optional().nullable(), + lt: z.number().optional(), + lte: z.number().optional(), + gt: z.number().optional(), + gte: z.number().optional(), + not: z + .union([z.number(), z.lazy(() => NestedIntNullableFilterSchema)]) + .optional() + .nullable(), + }) + .strict(); + +export default IntNullableFilterSchema; diff --git a/utility/prisma/types/inputTypeSchemas/IntNullableWithAggregatesFilterSchema.ts b/utility/prisma/types/inputTypeSchemas/IntNullableWithAggregatesFilterSchema.ts new file mode 100644 index 00000000..987c02d9 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/IntNullableWithAggregatesFilterSchema.ts @@ -0,0 +1,32 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { NestedIntNullableWithAggregatesFilterSchema } from "./NestedIntNullableWithAggregatesFilterSchema"; +import { NestedIntNullableFilterSchema } from "./NestedIntNullableFilterSchema"; +import { NestedFloatNullableFilterSchema } from "./NestedFloatNullableFilterSchema"; + +export const IntNullableWithAggregatesFilterSchema: z.ZodType = + z + .object({ + equals: z.number().optional().nullable(), + in: z.number().array().optional().nullable(), + notIn: z.number().array().optional().nullable(), + lt: z.number().optional(), + lte: z.number().optional(), + gt: z.number().optional(), + gte: z.number().optional(), + not: z + .union([ + z.number(), + z.lazy(() => NestedIntNullableWithAggregatesFilterSchema), + ]) + .optional() + .nullable(), + _count: z.lazy(() => NestedIntNullableFilterSchema).optional(), + _avg: z.lazy(() => NestedFloatNullableFilterSchema).optional(), + _sum: z.lazy(() => NestedIntNullableFilterSchema).optional(), + _min: z.lazy(() => NestedIntNullableFilterSchema).optional(), + _max: z.lazy(() => NestedIntNullableFilterSchema).optional(), + }) + .strict(); + +export default IntNullableWithAggregatesFilterSchema; diff --git a/utility/prisma/types/inputTypeSchemas/IntWithAggregatesFilterSchema.ts b/utility/prisma/types/inputTypeSchemas/IntWithAggregatesFilterSchema.ts new file mode 100644 index 00000000..0b1b570b --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/IntWithAggregatesFilterSchema.ts @@ -0,0 +1,28 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { NestedIntWithAggregatesFilterSchema } from "./NestedIntWithAggregatesFilterSchema"; +import { NestedIntFilterSchema } from "./NestedIntFilterSchema"; +import { NestedFloatFilterSchema } from "./NestedFloatFilterSchema"; + +export const IntWithAggregatesFilterSchema: z.ZodType = + z + .object({ + equals: z.number().optional(), + in: z.number().array().optional(), + notIn: z.number().array().optional(), + lt: z.number().optional(), + lte: z.number().optional(), + gt: z.number().optional(), + gte: z.number().optional(), + not: z + .union([z.number(), z.lazy(() => NestedIntWithAggregatesFilterSchema)]) + .optional(), + _count: z.lazy(() => NestedIntFilterSchema).optional(), + _avg: z.lazy(() => NestedFloatFilterSchema).optional(), + _sum: z.lazy(() => NestedIntFilterSchema).optional(), + _min: z.lazy(() => NestedIntFilterSchema).optional(), + _max: z.lazy(() => NestedIntFilterSchema).optional(), + }) + .strict(); + +export default IntWithAggregatesFilterSchema; diff --git a/utility/prisma/types/inputTypeSchemas/LoadAssetJobAvgOrderByAggregateInputSchema.ts b/utility/prisma/types/inputTypeSchemas/LoadAssetJobAvgOrderByAggregateInputSchema.ts new file mode 100644 index 00000000..efab8ecc --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/LoadAssetJobAvgOrderByAggregateInputSchema.ts @@ -0,0 +1,14 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { SortOrderSchema } from "./SortOrderSchema"; + +export const LoadAssetJobAvgOrderByAggregateInputSchema: z.ZodType = + z + .object({ + id: z.lazy(() => SortOrderSchema).optional(), + asset_id: z.lazy(() => SortOrderSchema).optional(), + base_job_id: z.lazy(() => SortOrderSchema).optional(), + }) + .strict(); + +export default LoadAssetJobAvgOrderByAggregateInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/LoadAssetJobCountOrderByAggregateInputSchema.ts b/utility/prisma/types/inputTypeSchemas/LoadAssetJobCountOrderByAggregateInputSchema.ts new file mode 100644 index 00000000..6f7b1a22 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/LoadAssetJobCountOrderByAggregateInputSchema.ts @@ -0,0 +1,16 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { SortOrderSchema } from "./SortOrderSchema"; + +export const LoadAssetJobCountOrderByAggregateInputSchema: z.ZodType = + z + .object({ + id: z.lazy(() => SortOrderSchema).optional(), + sourceType: z.lazy(() => SortOrderSchema).optional(), + source: z.lazy(() => SortOrderSchema).optional(), + asset_id: z.lazy(() => SortOrderSchema).optional(), + base_job_id: z.lazy(() => SortOrderSchema).optional(), + }) + .strict(); + +export default LoadAssetJobCountOrderByAggregateInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/LoadAssetJobCreateInputSchema.ts b/utility/prisma/types/inputTypeSchemas/LoadAssetJobCreateInputSchema.ts new file mode 100644 index 00000000..ab0b5e0c --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/LoadAssetJobCreateInputSchema.ts @@ -0,0 +1,19 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { MediaFileSourceTypeSchema } from "./MediaFileSourceTypeSchema"; +import { AssetCreateNestedOneWithoutLoadJobsInputSchema } from "./AssetCreateNestedOneWithoutLoadJobsInputSchema"; +import { BaseJobCreateNestedOneWithoutLoadAssetJobInputSchema } from "./BaseJobCreateNestedOneWithoutLoadAssetJobInputSchema"; + +export const LoadAssetJobCreateInputSchema: z.ZodType = + z + .object({ + sourceType: z.lazy(() => MediaFileSourceTypeSchema), + source: z.string(), + asset: z.lazy(() => AssetCreateNestedOneWithoutLoadJobsInputSchema), + base_job: z.lazy( + () => BaseJobCreateNestedOneWithoutLoadAssetJobInputSchema, + ), + }) + .strict(); + +export default LoadAssetJobCreateInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/LoadAssetJobCreateManyAssetInputEnvelopeSchema.ts b/utility/prisma/types/inputTypeSchemas/LoadAssetJobCreateManyAssetInputEnvelopeSchema.ts new file mode 100644 index 00000000..4b00c61f --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/LoadAssetJobCreateManyAssetInputEnvelopeSchema.ts @@ -0,0 +1,16 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { LoadAssetJobCreateManyAssetInputSchema } from "./LoadAssetJobCreateManyAssetInputSchema"; + +export const LoadAssetJobCreateManyAssetInputEnvelopeSchema: z.ZodType = + z + .object({ + data: z.union([ + z.lazy(() => LoadAssetJobCreateManyAssetInputSchema), + z.lazy(() => LoadAssetJobCreateManyAssetInputSchema).array(), + ]), + skipDuplicates: z.boolean().optional(), + }) + .strict(); + +export default LoadAssetJobCreateManyAssetInputEnvelopeSchema; diff --git a/utility/prisma/types/inputTypeSchemas/LoadAssetJobCreateManyAssetInputSchema.ts b/utility/prisma/types/inputTypeSchemas/LoadAssetJobCreateManyAssetInputSchema.ts new file mode 100644 index 00000000..d3d13ba1 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/LoadAssetJobCreateManyAssetInputSchema.ts @@ -0,0 +1,15 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { MediaFileSourceTypeSchema } from "./MediaFileSourceTypeSchema"; + +export const LoadAssetJobCreateManyAssetInputSchema: z.ZodType = + z + .object({ + id: z.number().int().optional(), + sourceType: z.lazy(() => MediaFileSourceTypeSchema), + source: z.string(), + base_job_id: z.number().int(), + }) + .strict(); + +export default LoadAssetJobCreateManyAssetInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/LoadAssetJobCreateManyInputSchema.ts b/utility/prisma/types/inputTypeSchemas/LoadAssetJobCreateManyInputSchema.ts new file mode 100644 index 00000000..d7bbdc50 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/LoadAssetJobCreateManyInputSchema.ts @@ -0,0 +1,16 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { MediaFileSourceTypeSchema } from "./MediaFileSourceTypeSchema"; + +export const LoadAssetJobCreateManyInputSchema: z.ZodType = + z + .object({ + id: z.number().int().optional(), + sourceType: z.lazy(() => MediaFileSourceTypeSchema), + source: z.string(), + asset_id: z.number().int(), + base_job_id: z.number().int(), + }) + .strict(); + +export default LoadAssetJobCreateManyInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/LoadAssetJobCreateNestedManyWithoutAssetInputSchema.ts b/utility/prisma/types/inputTypeSchemas/LoadAssetJobCreateNestedManyWithoutAssetInputSchema.ts new file mode 100644 index 00000000..d3e276b4 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/LoadAssetJobCreateNestedManyWithoutAssetInputSchema.ts @@ -0,0 +1,42 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { LoadAssetJobCreateWithoutAssetInputSchema } from "./LoadAssetJobCreateWithoutAssetInputSchema"; +import { LoadAssetJobUncheckedCreateWithoutAssetInputSchema } from "./LoadAssetJobUncheckedCreateWithoutAssetInputSchema"; +import { LoadAssetJobCreateOrConnectWithoutAssetInputSchema } from "./LoadAssetJobCreateOrConnectWithoutAssetInputSchema"; +import { LoadAssetJobCreateManyAssetInputEnvelopeSchema } from "./LoadAssetJobCreateManyAssetInputEnvelopeSchema"; +import { LoadAssetJobWhereUniqueInputSchema } from "./LoadAssetJobWhereUniqueInputSchema"; + +export const LoadAssetJobCreateNestedManyWithoutAssetInputSchema: z.ZodType = + z + .object({ + create: z + .union([ + z.lazy(() => LoadAssetJobCreateWithoutAssetInputSchema), + z.lazy(() => LoadAssetJobCreateWithoutAssetInputSchema).array(), + z.lazy(() => LoadAssetJobUncheckedCreateWithoutAssetInputSchema), + z + .lazy(() => LoadAssetJobUncheckedCreateWithoutAssetInputSchema) + .array(), + ]) + .optional(), + connectOrCreate: z + .union([ + z.lazy(() => LoadAssetJobCreateOrConnectWithoutAssetInputSchema), + z + .lazy(() => LoadAssetJobCreateOrConnectWithoutAssetInputSchema) + .array(), + ]) + .optional(), + createMany: z + .lazy(() => LoadAssetJobCreateManyAssetInputEnvelopeSchema) + .optional(), + connect: z + .union([ + z.lazy(() => LoadAssetJobWhereUniqueInputSchema), + z.lazy(() => LoadAssetJobWhereUniqueInputSchema).array(), + ]) + .optional(), + }) + .strict(); + +export default LoadAssetJobCreateNestedManyWithoutAssetInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/LoadAssetJobCreateNestedOneWithoutBase_jobInputSchema.ts b/utility/prisma/types/inputTypeSchemas/LoadAssetJobCreateNestedOneWithoutBase_jobInputSchema.ts new file mode 100644 index 00000000..5430d7b9 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/LoadAssetJobCreateNestedOneWithoutBase_jobInputSchema.ts @@ -0,0 +1,24 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { LoadAssetJobCreateWithoutBase_jobInputSchema } from "./LoadAssetJobCreateWithoutBase_jobInputSchema"; +import { LoadAssetJobUncheckedCreateWithoutBase_jobInputSchema } from "./LoadAssetJobUncheckedCreateWithoutBase_jobInputSchema"; +import { LoadAssetJobCreateOrConnectWithoutBase_jobInputSchema } from "./LoadAssetJobCreateOrConnectWithoutBase_jobInputSchema"; +import { LoadAssetJobWhereUniqueInputSchema } from "./LoadAssetJobWhereUniqueInputSchema"; + +export const LoadAssetJobCreateNestedOneWithoutBase_jobInputSchema: z.ZodType = + z + .object({ + create: z + .union([ + z.lazy(() => LoadAssetJobCreateWithoutBase_jobInputSchema), + z.lazy(() => LoadAssetJobUncheckedCreateWithoutBase_jobInputSchema), + ]) + .optional(), + connectOrCreate: z + .lazy(() => LoadAssetJobCreateOrConnectWithoutBase_jobInputSchema) + .optional(), + connect: z.lazy(() => LoadAssetJobWhereUniqueInputSchema).optional(), + }) + .strict(); + +export default LoadAssetJobCreateNestedOneWithoutBase_jobInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/LoadAssetJobCreateOrConnectWithoutAssetInputSchema.ts b/utility/prisma/types/inputTypeSchemas/LoadAssetJobCreateOrConnectWithoutAssetInputSchema.ts new file mode 100644 index 00000000..6ebaedd1 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/LoadAssetJobCreateOrConnectWithoutAssetInputSchema.ts @@ -0,0 +1,18 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { LoadAssetJobWhereUniqueInputSchema } from "./LoadAssetJobWhereUniqueInputSchema"; +import { LoadAssetJobCreateWithoutAssetInputSchema } from "./LoadAssetJobCreateWithoutAssetInputSchema"; +import { LoadAssetJobUncheckedCreateWithoutAssetInputSchema } from "./LoadAssetJobUncheckedCreateWithoutAssetInputSchema"; + +export const LoadAssetJobCreateOrConnectWithoutAssetInputSchema: z.ZodType = + z + .object({ + where: z.lazy(() => LoadAssetJobWhereUniqueInputSchema), + create: z.union([ + z.lazy(() => LoadAssetJobCreateWithoutAssetInputSchema), + z.lazy(() => LoadAssetJobUncheckedCreateWithoutAssetInputSchema), + ]), + }) + .strict(); + +export default LoadAssetJobCreateOrConnectWithoutAssetInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/LoadAssetJobCreateOrConnectWithoutBase_jobInputSchema.ts b/utility/prisma/types/inputTypeSchemas/LoadAssetJobCreateOrConnectWithoutBase_jobInputSchema.ts new file mode 100644 index 00000000..6b810252 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/LoadAssetJobCreateOrConnectWithoutBase_jobInputSchema.ts @@ -0,0 +1,18 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { LoadAssetJobWhereUniqueInputSchema } from "./LoadAssetJobWhereUniqueInputSchema"; +import { LoadAssetJobCreateWithoutBase_jobInputSchema } from "./LoadAssetJobCreateWithoutBase_jobInputSchema"; +import { LoadAssetJobUncheckedCreateWithoutBase_jobInputSchema } from "./LoadAssetJobUncheckedCreateWithoutBase_jobInputSchema"; + +export const LoadAssetJobCreateOrConnectWithoutBase_jobInputSchema: z.ZodType = + z + .object({ + where: z.lazy(() => LoadAssetJobWhereUniqueInputSchema), + create: z.union([ + z.lazy(() => LoadAssetJobCreateWithoutBase_jobInputSchema), + z.lazy(() => LoadAssetJobUncheckedCreateWithoutBase_jobInputSchema), + ]), + }) + .strict(); + +export default LoadAssetJobCreateOrConnectWithoutBase_jobInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/LoadAssetJobCreateWithoutAssetInputSchema.ts b/utility/prisma/types/inputTypeSchemas/LoadAssetJobCreateWithoutAssetInputSchema.ts new file mode 100644 index 00000000..f056c3b1 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/LoadAssetJobCreateWithoutAssetInputSchema.ts @@ -0,0 +1,17 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { MediaFileSourceTypeSchema } from "./MediaFileSourceTypeSchema"; +import { BaseJobCreateNestedOneWithoutLoadAssetJobInputSchema } from "./BaseJobCreateNestedOneWithoutLoadAssetJobInputSchema"; + +export const LoadAssetJobCreateWithoutAssetInputSchema: z.ZodType = + z + .object({ + sourceType: z.lazy(() => MediaFileSourceTypeSchema), + source: z.string(), + base_job: z.lazy( + () => BaseJobCreateNestedOneWithoutLoadAssetJobInputSchema, + ), + }) + .strict(); + +export default LoadAssetJobCreateWithoutAssetInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/LoadAssetJobCreateWithoutBase_jobInputSchema.ts b/utility/prisma/types/inputTypeSchemas/LoadAssetJobCreateWithoutBase_jobInputSchema.ts new file mode 100644 index 00000000..8328a34b --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/LoadAssetJobCreateWithoutBase_jobInputSchema.ts @@ -0,0 +1,15 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { MediaFileSourceTypeSchema } from "./MediaFileSourceTypeSchema"; +import { AssetCreateNestedOneWithoutLoadJobsInputSchema } from "./AssetCreateNestedOneWithoutLoadJobsInputSchema"; + +export const LoadAssetJobCreateWithoutBase_jobInputSchema: z.ZodType = + z + .object({ + sourceType: z.lazy(() => MediaFileSourceTypeSchema), + source: z.string(), + asset: z.lazy(() => AssetCreateNestedOneWithoutLoadJobsInputSchema), + }) + .strict(); + +export default LoadAssetJobCreateWithoutBase_jobInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/LoadAssetJobIncludeSchema.ts b/utility/prisma/types/inputTypeSchemas/LoadAssetJobIncludeSchema.ts new file mode 100644 index 00000000..0653e68c --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/LoadAssetJobIncludeSchema.ts @@ -0,0 +1,16 @@ +import { z } from "zod"; +import type { Prisma } from "../../client"; +import { AssetArgsSchema } from "../outputTypeSchemas/AssetArgsSchema"; +import { BaseJobArgsSchema } from "../outputTypeSchemas/BaseJobArgsSchema"; + +export const LoadAssetJobIncludeSchema: z.ZodType = + z + .object({ + asset: z.union([z.boolean(), z.lazy(() => AssetArgsSchema)]).optional(), + base_job: z + .union([z.boolean(), z.lazy(() => BaseJobArgsSchema)]) + .optional(), + }) + .strict(); + +export default LoadAssetJobIncludeSchema; diff --git a/utility/prisma/types/inputTypeSchemas/LoadAssetJobListRelationFilterSchema.ts b/utility/prisma/types/inputTypeSchemas/LoadAssetJobListRelationFilterSchema.ts new file mode 100644 index 00000000..546a7b71 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/LoadAssetJobListRelationFilterSchema.ts @@ -0,0 +1,14 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { LoadAssetJobWhereInputSchema } from "./LoadAssetJobWhereInputSchema"; + +export const LoadAssetJobListRelationFilterSchema: z.ZodType = + z + .object({ + every: z.lazy(() => LoadAssetJobWhereInputSchema).optional(), + some: z.lazy(() => LoadAssetJobWhereInputSchema).optional(), + none: z.lazy(() => LoadAssetJobWhereInputSchema).optional(), + }) + .strict(); + +export default LoadAssetJobListRelationFilterSchema; diff --git a/utility/prisma/types/inputTypeSchemas/LoadAssetJobMaxOrderByAggregateInputSchema.ts b/utility/prisma/types/inputTypeSchemas/LoadAssetJobMaxOrderByAggregateInputSchema.ts new file mode 100644 index 00000000..d0fac0de --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/LoadAssetJobMaxOrderByAggregateInputSchema.ts @@ -0,0 +1,16 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { SortOrderSchema } from "./SortOrderSchema"; + +export const LoadAssetJobMaxOrderByAggregateInputSchema: z.ZodType = + z + .object({ + id: z.lazy(() => SortOrderSchema).optional(), + sourceType: z.lazy(() => SortOrderSchema).optional(), + source: z.lazy(() => SortOrderSchema).optional(), + asset_id: z.lazy(() => SortOrderSchema).optional(), + base_job_id: z.lazy(() => SortOrderSchema).optional(), + }) + .strict(); + +export default LoadAssetJobMaxOrderByAggregateInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/LoadAssetJobMinOrderByAggregateInputSchema.ts b/utility/prisma/types/inputTypeSchemas/LoadAssetJobMinOrderByAggregateInputSchema.ts new file mode 100644 index 00000000..f1bde0d3 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/LoadAssetJobMinOrderByAggregateInputSchema.ts @@ -0,0 +1,16 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { SortOrderSchema } from "./SortOrderSchema"; + +export const LoadAssetJobMinOrderByAggregateInputSchema: z.ZodType = + z + .object({ + id: z.lazy(() => SortOrderSchema).optional(), + sourceType: z.lazy(() => SortOrderSchema).optional(), + source: z.lazy(() => SortOrderSchema).optional(), + asset_id: z.lazy(() => SortOrderSchema).optional(), + base_job_id: z.lazy(() => SortOrderSchema).optional(), + }) + .strict(); + +export default LoadAssetJobMinOrderByAggregateInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/LoadAssetJobNullableRelationFilterSchema.ts b/utility/prisma/types/inputTypeSchemas/LoadAssetJobNullableRelationFilterSchema.ts new file mode 100644 index 00000000..46222f3c --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/LoadAssetJobNullableRelationFilterSchema.ts @@ -0,0 +1,19 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { LoadAssetJobWhereInputSchema } from "./LoadAssetJobWhereInputSchema"; + +export const LoadAssetJobNullableRelationFilterSchema: z.ZodType = + z + .object({ + is: z + .lazy(() => LoadAssetJobWhereInputSchema) + .optional() + .nullable(), + isNot: z + .lazy(() => LoadAssetJobWhereInputSchema) + .optional() + .nullable(), + }) + .strict(); + +export default LoadAssetJobNullableRelationFilterSchema; diff --git a/utility/prisma/types/inputTypeSchemas/LoadAssetJobOrderByRelationAggregateInputSchema.ts b/utility/prisma/types/inputTypeSchemas/LoadAssetJobOrderByRelationAggregateInputSchema.ts new file mode 100644 index 00000000..ea3b30c1 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/LoadAssetJobOrderByRelationAggregateInputSchema.ts @@ -0,0 +1,12 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { SortOrderSchema } from "./SortOrderSchema"; + +export const LoadAssetJobOrderByRelationAggregateInputSchema: z.ZodType = + z + .object({ + _count: z.lazy(() => SortOrderSchema).optional(), + }) + .strict(); + +export default LoadAssetJobOrderByRelationAggregateInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/LoadAssetJobOrderByWithAggregationInputSchema.ts b/utility/prisma/types/inputTypeSchemas/LoadAssetJobOrderByWithAggregationInputSchema.ts new file mode 100644 index 00000000..5a346a3b --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/LoadAssetJobOrderByWithAggregationInputSchema.ts @@ -0,0 +1,28 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { SortOrderSchema } from "./SortOrderSchema"; +import { LoadAssetJobCountOrderByAggregateInputSchema } from "./LoadAssetJobCountOrderByAggregateInputSchema"; +import { LoadAssetJobAvgOrderByAggregateInputSchema } from "./LoadAssetJobAvgOrderByAggregateInputSchema"; +import { LoadAssetJobMaxOrderByAggregateInputSchema } from "./LoadAssetJobMaxOrderByAggregateInputSchema"; +import { LoadAssetJobMinOrderByAggregateInputSchema } from "./LoadAssetJobMinOrderByAggregateInputSchema"; +import { LoadAssetJobSumOrderByAggregateInputSchema } from "./LoadAssetJobSumOrderByAggregateInputSchema"; + +export const LoadAssetJobOrderByWithAggregationInputSchema: z.ZodType = + z + .object({ + id: z.lazy(() => SortOrderSchema).optional(), + sourceType: z.lazy(() => SortOrderSchema).optional(), + source: z.lazy(() => SortOrderSchema).optional(), + asset_id: z.lazy(() => SortOrderSchema).optional(), + base_job_id: z.lazy(() => SortOrderSchema).optional(), + _count: z + .lazy(() => LoadAssetJobCountOrderByAggregateInputSchema) + .optional(), + _avg: z.lazy(() => LoadAssetJobAvgOrderByAggregateInputSchema).optional(), + _max: z.lazy(() => LoadAssetJobMaxOrderByAggregateInputSchema).optional(), + _min: z.lazy(() => LoadAssetJobMinOrderByAggregateInputSchema).optional(), + _sum: z.lazy(() => LoadAssetJobSumOrderByAggregateInputSchema).optional(), + }) + .strict(); + +export default LoadAssetJobOrderByWithAggregationInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/LoadAssetJobOrderByWithRelationInputSchema.ts b/utility/prisma/types/inputTypeSchemas/LoadAssetJobOrderByWithRelationInputSchema.ts new file mode 100644 index 00000000..ad9c7f8d --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/LoadAssetJobOrderByWithRelationInputSchema.ts @@ -0,0 +1,20 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { SortOrderSchema } from "./SortOrderSchema"; +import { AssetOrderByWithRelationInputSchema } from "./AssetOrderByWithRelationInputSchema"; +import { BaseJobOrderByWithRelationInputSchema } from "./BaseJobOrderByWithRelationInputSchema"; + +export const LoadAssetJobOrderByWithRelationInputSchema: z.ZodType = + z + .object({ + id: z.lazy(() => SortOrderSchema).optional(), + sourceType: z.lazy(() => SortOrderSchema).optional(), + source: z.lazy(() => SortOrderSchema).optional(), + asset_id: z.lazy(() => SortOrderSchema).optional(), + base_job_id: z.lazy(() => SortOrderSchema).optional(), + asset: z.lazy(() => AssetOrderByWithRelationInputSchema).optional(), + base_job: z.lazy(() => BaseJobOrderByWithRelationInputSchema).optional(), + }) + .strict(); + +export default LoadAssetJobOrderByWithRelationInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/LoadAssetJobScalarWhereInputSchema.ts b/utility/prisma/types/inputTypeSchemas/LoadAssetJobScalarWhereInputSchema.ts new file mode 100644 index 00000000..bb88dff2 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/LoadAssetJobScalarWhereInputSchema.ts @@ -0,0 +1,44 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { IntFilterSchema } from "./IntFilterSchema"; +import { EnumMediaFileSourceTypeFilterSchema } from "./EnumMediaFileSourceTypeFilterSchema"; +import { MediaFileSourceTypeSchema } from "./MediaFileSourceTypeSchema"; +import { StringFilterSchema } from "./StringFilterSchema"; + +export const LoadAssetJobScalarWhereInputSchema: z.ZodType = + z + .object({ + AND: z + .union([ + z.lazy(() => LoadAssetJobScalarWhereInputSchema), + z.lazy(() => LoadAssetJobScalarWhereInputSchema).array(), + ]) + .optional(), + OR: z + .lazy(() => LoadAssetJobScalarWhereInputSchema) + .array() + .optional(), + NOT: z + .union([ + z.lazy(() => LoadAssetJobScalarWhereInputSchema), + z.lazy(() => LoadAssetJobScalarWhereInputSchema).array(), + ]) + .optional(), + id: z.union([z.lazy(() => IntFilterSchema), z.number()]).optional(), + sourceType: z + .union([ + z.lazy(() => EnumMediaFileSourceTypeFilterSchema), + z.lazy(() => MediaFileSourceTypeSchema), + ]) + .optional(), + source: z + .union([z.lazy(() => StringFilterSchema), z.string()]) + .optional(), + asset_id: z.union([z.lazy(() => IntFilterSchema), z.number()]).optional(), + base_job_id: z + .union([z.lazy(() => IntFilterSchema), z.number()]) + .optional(), + }) + .strict(); + +export default LoadAssetJobScalarWhereInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/LoadAssetJobScalarWhereWithAggregatesInputSchema.ts b/utility/prisma/types/inputTypeSchemas/LoadAssetJobScalarWhereWithAggregatesInputSchema.ts new file mode 100644 index 00000000..c34094d9 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/LoadAssetJobScalarWhereWithAggregatesInputSchema.ts @@ -0,0 +1,52 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { IntWithAggregatesFilterSchema } from "./IntWithAggregatesFilterSchema"; +import { EnumMediaFileSourceTypeWithAggregatesFilterSchema } from "./EnumMediaFileSourceTypeWithAggregatesFilterSchema"; +import { MediaFileSourceTypeSchema } from "./MediaFileSourceTypeSchema"; +import { StringWithAggregatesFilterSchema } from "./StringWithAggregatesFilterSchema"; + +export const LoadAssetJobScalarWhereWithAggregatesInputSchema: z.ZodType = + z + .object({ + AND: z + .union([ + z.lazy(() => LoadAssetJobScalarWhereWithAggregatesInputSchema), + z + .lazy(() => LoadAssetJobScalarWhereWithAggregatesInputSchema) + .array(), + ]) + .optional(), + OR: z + .lazy(() => LoadAssetJobScalarWhereWithAggregatesInputSchema) + .array() + .optional(), + NOT: z + .union([ + z.lazy(() => LoadAssetJobScalarWhereWithAggregatesInputSchema), + z + .lazy(() => LoadAssetJobScalarWhereWithAggregatesInputSchema) + .array(), + ]) + .optional(), + id: z + .union([z.lazy(() => IntWithAggregatesFilterSchema), z.number()]) + .optional(), + sourceType: z + .union([ + z.lazy(() => EnumMediaFileSourceTypeWithAggregatesFilterSchema), + z.lazy(() => MediaFileSourceTypeSchema), + ]) + .optional(), + source: z + .union([z.lazy(() => StringWithAggregatesFilterSchema), z.string()]) + .optional(), + asset_id: z + .union([z.lazy(() => IntWithAggregatesFilterSchema), z.number()]) + .optional(), + base_job_id: z + .union([z.lazy(() => IntWithAggregatesFilterSchema), z.number()]) + .optional(), + }) + .strict(); + +export default LoadAssetJobScalarWhereWithAggregatesInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/LoadAssetJobSelectSchema.ts b/utility/prisma/types/inputTypeSchemas/LoadAssetJobSelectSchema.ts new file mode 100644 index 00000000..a327c461 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/LoadAssetJobSelectSchema.ts @@ -0,0 +1,20 @@ +import { z } from "zod"; +import type { Prisma } from "../../client"; +import { AssetArgsSchema } from "../outputTypeSchemas/AssetArgsSchema"; +import { BaseJobArgsSchema } from "../outputTypeSchemas/BaseJobArgsSchema"; + +export const LoadAssetJobSelectSchema: z.ZodType = z + .object({ + id: z.boolean().optional(), + sourceType: z.boolean().optional(), + source: z.boolean().optional(), + asset_id: z.boolean().optional(), + base_job_id: z.boolean().optional(), + asset: z.union([z.boolean(), z.lazy(() => AssetArgsSchema)]).optional(), + base_job: z + .union([z.boolean(), z.lazy(() => BaseJobArgsSchema)]) + .optional(), + }) + .strict(); + +export default LoadAssetJobSelectSchema; diff --git a/utility/prisma/types/inputTypeSchemas/LoadAssetJobSumOrderByAggregateInputSchema.ts b/utility/prisma/types/inputTypeSchemas/LoadAssetJobSumOrderByAggregateInputSchema.ts new file mode 100644 index 00000000..e55a8cff --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/LoadAssetJobSumOrderByAggregateInputSchema.ts @@ -0,0 +1,14 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { SortOrderSchema } from "./SortOrderSchema"; + +export const LoadAssetJobSumOrderByAggregateInputSchema: z.ZodType = + z + .object({ + id: z.lazy(() => SortOrderSchema).optional(), + asset_id: z.lazy(() => SortOrderSchema).optional(), + base_job_id: z.lazy(() => SortOrderSchema).optional(), + }) + .strict(); + +export default LoadAssetJobSumOrderByAggregateInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/LoadAssetJobUncheckedCreateInputSchema.ts b/utility/prisma/types/inputTypeSchemas/LoadAssetJobUncheckedCreateInputSchema.ts new file mode 100644 index 00000000..08bacee3 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/LoadAssetJobUncheckedCreateInputSchema.ts @@ -0,0 +1,16 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { MediaFileSourceTypeSchema } from "./MediaFileSourceTypeSchema"; + +export const LoadAssetJobUncheckedCreateInputSchema: z.ZodType = + z + .object({ + id: z.number().int().optional(), + sourceType: z.lazy(() => MediaFileSourceTypeSchema), + source: z.string(), + asset_id: z.number().int(), + base_job_id: z.number().int(), + }) + .strict(); + +export default LoadAssetJobUncheckedCreateInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/LoadAssetJobUncheckedCreateNestedManyWithoutAssetInputSchema.ts b/utility/prisma/types/inputTypeSchemas/LoadAssetJobUncheckedCreateNestedManyWithoutAssetInputSchema.ts new file mode 100644 index 00000000..da6d0257 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/LoadAssetJobUncheckedCreateNestedManyWithoutAssetInputSchema.ts @@ -0,0 +1,42 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { LoadAssetJobCreateWithoutAssetInputSchema } from "./LoadAssetJobCreateWithoutAssetInputSchema"; +import { LoadAssetJobUncheckedCreateWithoutAssetInputSchema } from "./LoadAssetJobUncheckedCreateWithoutAssetInputSchema"; +import { LoadAssetJobCreateOrConnectWithoutAssetInputSchema } from "./LoadAssetJobCreateOrConnectWithoutAssetInputSchema"; +import { LoadAssetJobCreateManyAssetInputEnvelopeSchema } from "./LoadAssetJobCreateManyAssetInputEnvelopeSchema"; +import { LoadAssetJobWhereUniqueInputSchema } from "./LoadAssetJobWhereUniqueInputSchema"; + +export const LoadAssetJobUncheckedCreateNestedManyWithoutAssetInputSchema: z.ZodType = + z + .object({ + create: z + .union([ + z.lazy(() => LoadAssetJobCreateWithoutAssetInputSchema), + z.lazy(() => LoadAssetJobCreateWithoutAssetInputSchema).array(), + z.lazy(() => LoadAssetJobUncheckedCreateWithoutAssetInputSchema), + z + .lazy(() => LoadAssetJobUncheckedCreateWithoutAssetInputSchema) + .array(), + ]) + .optional(), + connectOrCreate: z + .union([ + z.lazy(() => LoadAssetJobCreateOrConnectWithoutAssetInputSchema), + z + .lazy(() => LoadAssetJobCreateOrConnectWithoutAssetInputSchema) + .array(), + ]) + .optional(), + createMany: z + .lazy(() => LoadAssetJobCreateManyAssetInputEnvelopeSchema) + .optional(), + connect: z + .union([ + z.lazy(() => LoadAssetJobWhereUniqueInputSchema), + z.lazy(() => LoadAssetJobWhereUniqueInputSchema).array(), + ]) + .optional(), + }) + .strict(); + +export default LoadAssetJobUncheckedCreateNestedManyWithoutAssetInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/LoadAssetJobUncheckedCreateNestedOneWithoutBase_jobInputSchema.ts b/utility/prisma/types/inputTypeSchemas/LoadAssetJobUncheckedCreateNestedOneWithoutBase_jobInputSchema.ts new file mode 100644 index 00000000..83372c70 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/LoadAssetJobUncheckedCreateNestedOneWithoutBase_jobInputSchema.ts @@ -0,0 +1,24 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { LoadAssetJobCreateWithoutBase_jobInputSchema } from "./LoadAssetJobCreateWithoutBase_jobInputSchema"; +import { LoadAssetJobUncheckedCreateWithoutBase_jobInputSchema } from "./LoadAssetJobUncheckedCreateWithoutBase_jobInputSchema"; +import { LoadAssetJobCreateOrConnectWithoutBase_jobInputSchema } from "./LoadAssetJobCreateOrConnectWithoutBase_jobInputSchema"; +import { LoadAssetJobWhereUniqueInputSchema } from "./LoadAssetJobWhereUniqueInputSchema"; + +export const LoadAssetJobUncheckedCreateNestedOneWithoutBase_jobInputSchema: z.ZodType = + z + .object({ + create: z + .union([ + z.lazy(() => LoadAssetJobCreateWithoutBase_jobInputSchema), + z.lazy(() => LoadAssetJobUncheckedCreateWithoutBase_jobInputSchema), + ]) + .optional(), + connectOrCreate: z + .lazy(() => LoadAssetJobCreateOrConnectWithoutBase_jobInputSchema) + .optional(), + connect: z.lazy(() => LoadAssetJobWhereUniqueInputSchema).optional(), + }) + .strict(); + +export default LoadAssetJobUncheckedCreateNestedOneWithoutBase_jobInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/LoadAssetJobUncheckedCreateWithoutAssetInputSchema.ts b/utility/prisma/types/inputTypeSchemas/LoadAssetJobUncheckedCreateWithoutAssetInputSchema.ts new file mode 100644 index 00000000..6520594a --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/LoadAssetJobUncheckedCreateWithoutAssetInputSchema.ts @@ -0,0 +1,15 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { MediaFileSourceTypeSchema } from "./MediaFileSourceTypeSchema"; + +export const LoadAssetJobUncheckedCreateWithoutAssetInputSchema: z.ZodType = + z + .object({ + id: z.number().int().optional(), + sourceType: z.lazy(() => MediaFileSourceTypeSchema), + source: z.string(), + base_job_id: z.number().int(), + }) + .strict(); + +export default LoadAssetJobUncheckedCreateWithoutAssetInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/LoadAssetJobUncheckedCreateWithoutBase_jobInputSchema.ts b/utility/prisma/types/inputTypeSchemas/LoadAssetJobUncheckedCreateWithoutBase_jobInputSchema.ts new file mode 100644 index 00000000..6637f542 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/LoadAssetJobUncheckedCreateWithoutBase_jobInputSchema.ts @@ -0,0 +1,15 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { MediaFileSourceTypeSchema } from "./MediaFileSourceTypeSchema"; + +export const LoadAssetJobUncheckedCreateWithoutBase_jobInputSchema: z.ZodType = + z + .object({ + id: z.number().int().optional(), + sourceType: z.lazy(() => MediaFileSourceTypeSchema), + source: z.string(), + asset_id: z.number().int(), + }) + .strict(); + +export default LoadAssetJobUncheckedCreateWithoutBase_jobInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/LoadAssetJobUncheckedUpdateInputSchema.ts b/utility/prisma/types/inputTypeSchemas/LoadAssetJobUncheckedUpdateInputSchema.ts new file mode 100644 index 00000000..42d9e86b --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/LoadAssetJobUncheckedUpdateInputSchema.ts @@ -0,0 +1,44 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { IntFieldUpdateOperationsInputSchema } from "./IntFieldUpdateOperationsInputSchema"; +import { MediaFileSourceTypeSchema } from "./MediaFileSourceTypeSchema"; +import { EnumMediaFileSourceTypeFieldUpdateOperationsInputSchema } from "./EnumMediaFileSourceTypeFieldUpdateOperationsInputSchema"; +import { StringFieldUpdateOperationsInputSchema } from "./StringFieldUpdateOperationsInputSchema"; + +export const LoadAssetJobUncheckedUpdateInputSchema: z.ZodType = + z + .object({ + id: z + .union([ + z.number().int(), + z.lazy(() => IntFieldUpdateOperationsInputSchema), + ]) + .optional(), + sourceType: z + .union([ + z.lazy(() => MediaFileSourceTypeSchema), + z.lazy(() => EnumMediaFileSourceTypeFieldUpdateOperationsInputSchema), + ]) + .optional(), + source: z + .union([ + z.string(), + z.lazy(() => StringFieldUpdateOperationsInputSchema), + ]) + .optional(), + asset_id: z + .union([ + z.number().int(), + z.lazy(() => IntFieldUpdateOperationsInputSchema), + ]) + .optional(), + base_job_id: z + .union([ + z.number().int(), + z.lazy(() => IntFieldUpdateOperationsInputSchema), + ]) + .optional(), + }) + .strict(); + +export default LoadAssetJobUncheckedUpdateInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/LoadAssetJobUncheckedUpdateManyInputSchema.ts b/utility/prisma/types/inputTypeSchemas/LoadAssetJobUncheckedUpdateManyInputSchema.ts new file mode 100644 index 00000000..d894849a --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/LoadAssetJobUncheckedUpdateManyInputSchema.ts @@ -0,0 +1,44 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { IntFieldUpdateOperationsInputSchema } from "./IntFieldUpdateOperationsInputSchema"; +import { MediaFileSourceTypeSchema } from "./MediaFileSourceTypeSchema"; +import { EnumMediaFileSourceTypeFieldUpdateOperationsInputSchema } from "./EnumMediaFileSourceTypeFieldUpdateOperationsInputSchema"; +import { StringFieldUpdateOperationsInputSchema } from "./StringFieldUpdateOperationsInputSchema"; + +export const LoadAssetJobUncheckedUpdateManyInputSchema: z.ZodType = + z + .object({ + id: z + .union([ + z.number().int(), + z.lazy(() => IntFieldUpdateOperationsInputSchema), + ]) + .optional(), + sourceType: z + .union([ + z.lazy(() => MediaFileSourceTypeSchema), + z.lazy(() => EnumMediaFileSourceTypeFieldUpdateOperationsInputSchema), + ]) + .optional(), + source: z + .union([ + z.string(), + z.lazy(() => StringFieldUpdateOperationsInputSchema), + ]) + .optional(), + asset_id: z + .union([ + z.number().int(), + z.lazy(() => IntFieldUpdateOperationsInputSchema), + ]) + .optional(), + base_job_id: z + .union([ + z.number().int(), + z.lazy(() => IntFieldUpdateOperationsInputSchema), + ]) + .optional(), + }) + .strict(); + +export default LoadAssetJobUncheckedUpdateManyInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/LoadAssetJobUncheckedUpdateManyWithoutAssetInputSchema.ts b/utility/prisma/types/inputTypeSchemas/LoadAssetJobUncheckedUpdateManyWithoutAssetInputSchema.ts new file mode 100644 index 00000000..69fbb737 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/LoadAssetJobUncheckedUpdateManyWithoutAssetInputSchema.ts @@ -0,0 +1,38 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { IntFieldUpdateOperationsInputSchema } from "./IntFieldUpdateOperationsInputSchema"; +import { MediaFileSourceTypeSchema } from "./MediaFileSourceTypeSchema"; +import { EnumMediaFileSourceTypeFieldUpdateOperationsInputSchema } from "./EnumMediaFileSourceTypeFieldUpdateOperationsInputSchema"; +import { StringFieldUpdateOperationsInputSchema } from "./StringFieldUpdateOperationsInputSchema"; + +export const LoadAssetJobUncheckedUpdateManyWithoutAssetInputSchema: z.ZodType = + z + .object({ + id: z + .union([ + z.number().int(), + z.lazy(() => IntFieldUpdateOperationsInputSchema), + ]) + .optional(), + sourceType: z + .union([ + z.lazy(() => MediaFileSourceTypeSchema), + z.lazy(() => EnumMediaFileSourceTypeFieldUpdateOperationsInputSchema), + ]) + .optional(), + source: z + .union([ + z.string(), + z.lazy(() => StringFieldUpdateOperationsInputSchema), + ]) + .optional(), + base_job_id: z + .union([ + z.number().int(), + z.lazy(() => IntFieldUpdateOperationsInputSchema), + ]) + .optional(), + }) + .strict(); + +export default LoadAssetJobUncheckedUpdateManyWithoutAssetInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/LoadAssetJobUncheckedUpdateManyWithoutAssetNestedInputSchema.ts b/utility/prisma/types/inputTypeSchemas/LoadAssetJobUncheckedUpdateManyWithoutAssetNestedInputSchema.ts new file mode 100644 index 00000000..24eb37ef --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/LoadAssetJobUncheckedUpdateManyWithoutAssetNestedInputSchema.ts @@ -0,0 +1,102 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { LoadAssetJobCreateWithoutAssetInputSchema } from "./LoadAssetJobCreateWithoutAssetInputSchema"; +import { LoadAssetJobUncheckedCreateWithoutAssetInputSchema } from "./LoadAssetJobUncheckedCreateWithoutAssetInputSchema"; +import { LoadAssetJobCreateOrConnectWithoutAssetInputSchema } from "./LoadAssetJobCreateOrConnectWithoutAssetInputSchema"; +import { LoadAssetJobUpsertWithWhereUniqueWithoutAssetInputSchema } from "./LoadAssetJobUpsertWithWhereUniqueWithoutAssetInputSchema"; +import { LoadAssetJobCreateManyAssetInputEnvelopeSchema } from "./LoadAssetJobCreateManyAssetInputEnvelopeSchema"; +import { LoadAssetJobWhereUniqueInputSchema } from "./LoadAssetJobWhereUniqueInputSchema"; +import { LoadAssetJobUpdateWithWhereUniqueWithoutAssetInputSchema } from "./LoadAssetJobUpdateWithWhereUniqueWithoutAssetInputSchema"; +import { LoadAssetJobUpdateManyWithWhereWithoutAssetInputSchema } from "./LoadAssetJobUpdateManyWithWhereWithoutAssetInputSchema"; +import { LoadAssetJobScalarWhereInputSchema } from "./LoadAssetJobScalarWhereInputSchema"; + +export const LoadAssetJobUncheckedUpdateManyWithoutAssetNestedInputSchema: z.ZodType = + z + .object({ + create: z + .union([ + z.lazy(() => LoadAssetJobCreateWithoutAssetInputSchema), + z.lazy(() => LoadAssetJobCreateWithoutAssetInputSchema).array(), + z.lazy(() => LoadAssetJobUncheckedCreateWithoutAssetInputSchema), + z + .lazy(() => LoadAssetJobUncheckedCreateWithoutAssetInputSchema) + .array(), + ]) + .optional(), + connectOrCreate: z + .union([ + z.lazy(() => LoadAssetJobCreateOrConnectWithoutAssetInputSchema), + z + .lazy(() => LoadAssetJobCreateOrConnectWithoutAssetInputSchema) + .array(), + ]) + .optional(), + upsert: z + .union([ + z.lazy( + () => LoadAssetJobUpsertWithWhereUniqueWithoutAssetInputSchema, + ), + z + .lazy( + () => LoadAssetJobUpsertWithWhereUniqueWithoutAssetInputSchema, + ) + .array(), + ]) + .optional(), + createMany: z + .lazy(() => LoadAssetJobCreateManyAssetInputEnvelopeSchema) + .optional(), + set: z + .union([ + z.lazy(() => LoadAssetJobWhereUniqueInputSchema), + z.lazy(() => LoadAssetJobWhereUniqueInputSchema).array(), + ]) + .optional(), + disconnect: z + .union([ + z.lazy(() => LoadAssetJobWhereUniqueInputSchema), + z.lazy(() => LoadAssetJobWhereUniqueInputSchema).array(), + ]) + .optional(), + delete: z + .union([ + z.lazy(() => LoadAssetJobWhereUniqueInputSchema), + z.lazy(() => LoadAssetJobWhereUniqueInputSchema).array(), + ]) + .optional(), + connect: z + .union([ + z.lazy(() => LoadAssetJobWhereUniqueInputSchema), + z.lazy(() => LoadAssetJobWhereUniqueInputSchema).array(), + ]) + .optional(), + update: z + .union([ + z.lazy( + () => LoadAssetJobUpdateWithWhereUniqueWithoutAssetInputSchema, + ), + z + .lazy( + () => LoadAssetJobUpdateWithWhereUniqueWithoutAssetInputSchema, + ) + .array(), + ]) + .optional(), + updateMany: z + .union([ + z.lazy(() => LoadAssetJobUpdateManyWithWhereWithoutAssetInputSchema), + z + .lazy(() => LoadAssetJobUpdateManyWithWhereWithoutAssetInputSchema) + .array(), + ]) + .optional(), + deleteMany: z + .union([ + z.lazy(() => LoadAssetJobScalarWhereInputSchema), + z.lazy(() => LoadAssetJobScalarWhereInputSchema).array(), + ]) + .optional(), + }) + .strict(); + +export default LoadAssetJobUncheckedUpdateManyWithoutAssetNestedInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/LoadAssetJobUncheckedUpdateOneWithoutBase_jobNestedInputSchema.ts b/utility/prisma/types/inputTypeSchemas/LoadAssetJobUncheckedUpdateOneWithoutBase_jobNestedInputSchema.ts new file mode 100644 index 00000000..f9aaba61 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/LoadAssetJobUncheckedUpdateOneWithoutBase_jobNestedInputSchema.ts @@ -0,0 +1,47 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { LoadAssetJobCreateWithoutBase_jobInputSchema } from "./LoadAssetJobCreateWithoutBase_jobInputSchema"; +import { LoadAssetJobUncheckedCreateWithoutBase_jobInputSchema } from "./LoadAssetJobUncheckedCreateWithoutBase_jobInputSchema"; +import { LoadAssetJobCreateOrConnectWithoutBase_jobInputSchema } from "./LoadAssetJobCreateOrConnectWithoutBase_jobInputSchema"; +import { LoadAssetJobUpsertWithoutBase_jobInputSchema } from "./LoadAssetJobUpsertWithoutBase_jobInputSchema"; +import { LoadAssetJobWhereInputSchema } from "./LoadAssetJobWhereInputSchema"; +import { LoadAssetJobWhereUniqueInputSchema } from "./LoadAssetJobWhereUniqueInputSchema"; +import { LoadAssetJobUpdateToOneWithWhereWithoutBase_jobInputSchema } from "./LoadAssetJobUpdateToOneWithWhereWithoutBase_jobInputSchema"; +import { LoadAssetJobUpdateWithoutBase_jobInputSchema } from "./LoadAssetJobUpdateWithoutBase_jobInputSchema"; +import { LoadAssetJobUncheckedUpdateWithoutBase_jobInputSchema } from "./LoadAssetJobUncheckedUpdateWithoutBase_jobInputSchema"; + +export const LoadAssetJobUncheckedUpdateOneWithoutBase_jobNestedInputSchema: z.ZodType = + z + .object({ + create: z + .union([ + z.lazy(() => LoadAssetJobCreateWithoutBase_jobInputSchema), + z.lazy(() => LoadAssetJobUncheckedCreateWithoutBase_jobInputSchema), + ]) + .optional(), + connectOrCreate: z + .lazy(() => LoadAssetJobCreateOrConnectWithoutBase_jobInputSchema) + .optional(), + upsert: z + .lazy(() => LoadAssetJobUpsertWithoutBase_jobInputSchema) + .optional(), + disconnect: z + .union([z.boolean(), z.lazy(() => LoadAssetJobWhereInputSchema)]) + .optional(), + delete: z + .union([z.boolean(), z.lazy(() => LoadAssetJobWhereInputSchema)]) + .optional(), + connect: z.lazy(() => LoadAssetJobWhereUniqueInputSchema).optional(), + update: z + .union([ + z.lazy( + () => LoadAssetJobUpdateToOneWithWhereWithoutBase_jobInputSchema, + ), + z.lazy(() => LoadAssetJobUpdateWithoutBase_jobInputSchema), + z.lazy(() => LoadAssetJobUncheckedUpdateWithoutBase_jobInputSchema), + ]) + .optional(), + }) + .strict(); + +export default LoadAssetJobUncheckedUpdateOneWithoutBase_jobNestedInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/LoadAssetJobUncheckedUpdateWithoutAssetInputSchema.ts b/utility/prisma/types/inputTypeSchemas/LoadAssetJobUncheckedUpdateWithoutAssetInputSchema.ts new file mode 100644 index 00000000..059707ae --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/LoadAssetJobUncheckedUpdateWithoutAssetInputSchema.ts @@ -0,0 +1,38 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { IntFieldUpdateOperationsInputSchema } from "./IntFieldUpdateOperationsInputSchema"; +import { MediaFileSourceTypeSchema } from "./MediaFileSourceTypeSchema"; +import { EnumMediaFileSourceTypeFieldUpdateOperationsInputSchema } from "./EnumMediaFileSourceTypeFieldUpdateOperationsInputSchema"; +import { StringFieldUpdateOperationsInputSchema } from "./StringFieldUpdateOperationsInputSchema"; + +export const LoadAssetJobUncheckedUpdateWithoutAssetInputSchema: z.ZodType = + z + .object({ + id: z + .union([ + z.number().int(), + z.lazy(() => IntFieldUpdateOperationsInputSchema), + ]) + .optional(), + sourceType: z + .union([ + z.lazy(() => MediaFileSourceTypeSchema), + z.lazy(() => EnumMediaFileSourceTypeFieldUpdateOperationsInputSchema), + ]) + .optional(), + source: z + .union([ + z.string(), + z.lazy(() => StringFieldUpdateOperationsInputSchema), + ]) + .optional(), + base_job_id: z + .union([ + z.number().int(), + z.lazy(() => IntFieldUpdateOperationsInputSchema), + ]) + .optional(), + }) + .strict(); + +export default LoadAssetJobUncheckedUpdateWithoutAssetInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/LoadAssetJobUncheckedUpdateWithoutBase_jobInputSchema.ts b/utility/prisma/types/inputTypeSchemas/LoadAssetJobUncheckedUpdateWithoutBase_jobInputSchema.ts new file mode 100644 index 00000000..e6e45f28 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/LoadAssetJobUncheckedUpdateWithoutBase_jobInputSchema.ts @@ -0,0 +1,38 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { IntFieldUpdateOperationsInputSchema } from "./IntFieldUpdateOperationsInputSchema"; +import { MediaFileSourceTypeSchema } from "./MediaFileSourceTypeSchema"; +import { EnumMediaFileSourceTypeFieldUpdateOperationsInputSchema } from "./EnumMediaFileSourceTypeFieldUpdateOperationsInputSchema"; +import { StringFieldUpdateOperationsInputSchema } from "./StringFieldUpdateOperationsInputSchema"; + +export const LoadAssetJobUncheckedUpdateWithoutBase_jobInputSchema: z.ZodType = + z + .object({ + id: z + .union([ + z.number().int(), + z.lazy(() => IntFieldUpdateOperationsInputSchema), + ]) + .optional(), + sourceType: z + .union([ + z.lazy(() => MediaFileSourceTypeSchema), + z.lazy(() => EnumMediaFileSourceTypeFieldUpdateOperationsInputSchema), + ]) + .optional(), + source: z + .union([ + z.string(), + z.lazy(() => StringFieldUpdateOperationsInputSchema), + ]) + .optional(), + asset_id: z + .union([ + z.number().int(), + z.lazy(() => IntFieldUpdateOperationsInputSchema), + ]) + .optional(), + }) + .strict(); + +export default LoadAssetJobUncheckedUpdateWithoutBase_jobInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/LoadAssetJobUpdateInputSchema.ts b/utility/prisma/types/inputTypeSchemas/LoadAssetJobUpdateInputSchema.ts new file mode 100644 index 00000000..7367ecf7 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/LoadAssetJobUpdateInputSchema.ts @@ -0,0 +1,35 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { MediaFileSourceTypeSchema } from "./MediaFileSourceTypeSchema"; +import { EnumMediaFileSourceTypeFieldUpdateOperationsInputSchema } from "./EnumMediaFileSourceTypeFieldUpdateOperationsInputSchema"; +import { StringFieldUpdateOperationsInputSchema } from "./StringFieldUpdateOperationsInputSchema"; +import { AssetUpdateOneRequiredWithoutLoadJobsNestedInputSchema } from "./AssetUpdateOneRequiredWithoutLoadJobsNestedInputSchema"; +import { BaseJobUpdateOneRequiredWithoutLoadAssetJobNestedInputSchema } from "./BaseJobUpdateOneRequiredWithoutLoadAssetJobNestedInputSchema"; + +export const LoadAssetJobUpdateInputSchema: z.ZodType = + z + .object({ + sourceType: z + .union([ + z.lazy(() => MediaFileSourceTypeSchema), + z.lazy(() => EnumMediaFileSourceTypeFieldUpdateOperationsInputSchema), + ]) + .optional(), + source: z + .union([ + z.string(), + z.lazy(() => StringFieldUpdateOperationsInputSchema), + ]) + .optional(), + asset: z + .lazy(() => AssetUpdateOneRequiredWithoutLoadJobsNestedInputSchema) + .optional(), + base_job: z + .lazy( + () => BaseJobUpdateOneRequiredWithoutLoadAssetJobNestedInputSchema, + ) + .optional(), + }) + .strict(); + +export default LoadAssetJobUpdateInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/LoadAssetJobUpdateManyMutationInputSchema.ts b/utility/prisma/types/inputTypeSchemas/LoadAssetJobUpdateManyMutationInputSchema.ts new file mode 100644 index 00000000..cffa0d39 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/LoadAssetJobUpdateManyMutationInputSchema.ts @@ -0,0 +1,25 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { MediaFileSourceTypeSchema } from "./MediaFileSourceTypeSchema"; +import { EnumMediaFileSourceTypeFieldUpdateOperationsInputSchema } from "./EnumMediaFileSourceTypeFieldUpdateOperationsInputSchema"; +import { StringFieldUpdateOperationsInputSchema } from "./StringFieldUpdateOperationsInputSchema"; + +export const LoadAssetJobUpdateManyMutationInputSchema: z.ZodType = + z + .object({ + sourceType: z + .union([ + z.lazy(() => MediaFileSourceTypeSchema), + z.lazy(() => EnumMediaFileSourceTypeFieldUpdateOperationsInputSchema), + ]) + .optional(), + source: z + .union([ + z.string(), + z.lazy(() => StringFieldUpdateOperationsInputSchema), + ]) + .optional(), + }) + .strict(); + +export default LoadAssetJobUpdateManyMutationInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/LoadAssetJobUpdateManyWithWhereWithoutAssetInputSchema.ts b/utility/prisma/types/inputTypeSchemas/LoadAssetJobUpdateManyWithWhereWithoutAssetInputSchema.ts new file mode 100644 index 00000000..268132fe --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/LoadAssetJobUpdateManyWithWhereWithoutAssetInputSchema.ts @@ -0,0 +1,18 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { LoadAssetJobScalarWhereInputSchema } from "./LoadAssetJobScalarWhereInputSchema"; +import { LoadAssetJobUpdateManyMutationInputSchema } from "./LoadAssetJobUpdateManyMutationInputSchema"; +import { LoadAssetJobUncheckedUpdateManyWithoutAssetInputSchema } from "./LoadAssetJobUncheckedUpdateManyWithoutAssetInputSchema"; + +export const LoadAssetJobUpdateManyWithWhereWithoutAssetInputSchema: z.ZodType = + z + .object({ + where: z.lazy(() => LoadAssetJobScalarWhereInputSchema), + data: z.union([ + z.lazy(() => LoadAssetJobUpdateManyMutationInputSchema), + z.lazy(() => LoadAssetJobUncheckedUpdateManyWithoutAssetInputSchema), + ]), + }) + .strict(); + +export default LoadAssetJobUpdateManyWithWhereWithoutAssetInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/LoadAssetJobUpdateManyWithoutAssetNestedInputSchema.ts b/utility/prisma/types/inputTypeSchemas/LoadAssetJobUpdateManyWithoutAssetNestedInputSchema.ts new file mode 100644 index 00000000..3baa2bdb --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/LoadAssetJobUpdateManyWithoutAssetNestedInputSchema.ts @@ -0,0 +1,102 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { LoadAssetJobCreateWithoutAssetInputSchema } from "./LoadAssetJobCreateWithoutAssetInputSchema"; +import { LoadAssetJobUncheckedCreateWithoutAssetInputSchema } from "./LoadAssetJobUncheckedCreateWithoutAssetInputSchema"; +import { LoadAssetJobCreateOrConnectWithoutAssetInputSchema } from "./LoadAssetJobCreateOrConnectWithoutAssetInputSchema"; +import { LoadAssetJobUpsertWithWhereUniqueWithoutAssetInputSchema } from "./LoadAssetJobUpsertWithWhereUniqueWithoutAssetInputSchema"; +import { LoadAssetJobCreateManyAssetInputEnvelopeSchema } from "./LoadAssetJobCreateManyAssetInputEnvelopeSchema"; +import { LoadAssetJobWhereUniqueInputSchema } from "./LoadAssetJobWhereUniqueInputSchema"; +import { LoadAssetJobUpdateWithWhereUniqueWithoutAssetInputSchema } from "./LoadAssetJobUpdateWithWhereUniqueWithoutAssetInputSchema"; +import { LoadAssetJobUpdateManyWithWhereWithoutAssetInputSchema } from "./LoadAssetJobUpdateManyWithWhereWithoutAssetInputSchema"; +import { LoadAssetJobScalarWhereInputSchema } from "./LoadAssetJobScalarWhereInputSchema"; + +export const LoadAssetJobUpdateManyWithoutAssetNestedInputSchema: z.ZodType = + z + .object({ + create: z + .union([ + z.lazy(() => LoadAssetJobCreateWithoutAssetInputSchema), + z.lazy(() => LoadAssetJobCreateWithoutAssetInputSchema).array(), + z.lazy(() => LoadAssetJobUncheckedCreateWithoutAssetInputSchema), + z + .lazy(() => LoadAssetJobUncheckedCreateWithoutAssetInputSchema) + .array(), + ]) + .optional(), + connectOrCreate: z + .union([ + z.lazy(() => LoadAssetJobCreateOrConnectWithoutAssetInputSchema), + z + .lazy(() => LoadAssetJobCreateOrConnectWithoutAssetInputSchema) + .array(), + ]) + .optional(), + upsert: z + .union([ + z.lazy( + () => LoadAssetJobUpsertWithWhereUniqueWithoutAssetInputSchema, + ), + z + .lazy( + () => LoadAssetJobUpsertWithWhereUniqueWithoutAssetInputSchema, + ) + .array(), + ]) + .optional(), + createMany: z + .lazy(() => LoadAssetJobCreateManyAssetInputEnvelopeSchema) + .optional(), + set: z + .union([ + z.lazy(() => LoadAssetJobWhereUniqueInputSchema), + z.lazy(() => LoadAssetJobWhereUniqueInputSchema).array(), + ]) + .optional(), + disconnect: z + .union([ + z.lazy(() => LoadAssetJobWhereUniqueInputSchema), + z.lazy(() => LoadAssetJobWhereUniqueInputSchema).array(), + ]) + .optional(), + delete: z + .union([ + z.lazy(() => LoadAssetJobWhereUniqueInputSchema), + z.lazy(() => LoadAssetJobWhereUniqueInputSchema).array(), + ]) + .optional(), + connect: z + .union([ + z.lazy(() => LoadAssetJobWhereUniqueInputSchema), + z.lazy(() => LoadAssetJobWhereUniqueInputSchema).array(), + ]) + .optional(), + update: z + .union([ + z.lazy( + () => LoadAssetJobUpdateWithWhereUniqueWithoutAssetInputSchema, + ), + z + .lazy( + () => LoadAssetJobUpdateWithWhereUniqueWithoutAssetInputSchema, + ) + .array(), + ]) + .optional(), + updateMany: z + .union([ + z.lazy(() => LoadAssetJobUpdateManyWithWhereWithoutAssetInputSchema), + z + .lazy(() => LoadAssetJobUpdateManyWithWhereWithoutAssetInputSchema) + .array(), + ]) + .optional(), + deleteMany: z + .union([ + z.lazy(() => LoadAssetJobScalarWhereInputSchema), + z.lazy(() => LoadAssetJobScalarWhereInputSchema).array(), + ]) + .optional(), + }) + .strict(); + +export default LoadAssetJobUpdateManyWithoutAssetNestedInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/LoadAssetJobUpdateOneWithoutBase_jobNestedInputSchema.ts b/utility/prisma/types/inputTypeSchemas/LoadAssetJobUpdateOneWithoutBase_jobNestedInputSchema.ts new file mode 100644 index 00000000..0cb5dc29 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/LoadAssetJobUpdateOneWithoutBase_jobNestedInputSchema.ts @@ -0,0 +1,47 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { LoadAssetJobCreateWithoutBase_jobInputSchema } from "./LoadAssetJobCreateWithoutBase_jobInputSchema"; +import { LoadAssetJobUncheckedCreateWithoutBase_jobInputSchema } from "./LoadAssetJobUncheckedCreateWithoutBase_jobInputSchema"; +import { LoadAssetJobCreateOrConnectWithoutBase_jobInputSchema } from "./LoadAssetJobCreateOrConnectWithoutBase_jobInputSchema"; +import { LoadAssetJobUpsertWithoutBase_jobInputSchema } from "./LoadAssetJobUpsertWithoutBase_jobInputSchema"; +import { LoadAssetJobWhereInputSchema } from "./LoadAssetJobWhereInputSchema"; +import { LoadAssetJobWhereUniqueInputSchema } from "./LoadAssetJobWhereUniqueInputSchema"; +import { LoadAssetJobUpdateToOneWithWhereWithoutBase_jobInputSchema } from "./LoadAssetJobUpdateToOneWithWhereWithoutBase_jobInputSchema"; +import { LoadAssetJobUpdateWithoutBase_jobInputSchema } from "./LoadAssetJobUpdateWithoutBase_jobInputSchema"; +import { LoadAssetJobUncheckedUpdateWithoutBase_jobInputSchema } from "./LoadAssetJobUncheckedUpdateWithoutBase_jobInputSchema"; + +export const LoadAssetJobUpdateOneWithoutBase_jobNestedInputSchema: z.ZodType = + z + .object({ + create: z + .union([ + z.lazy(() => LoadAssetJobCreateWithoutBase_jobInputSchema), + z.lazy(() => LoadAssetJobUncheckedCreateWithoutBase_jobInputSchema), + ]) + .optional(), + connectOrCreate: z + .lazy(() => LoadAssetJobCreateOrConnectWithoutBase_jobInputSchema) + .optional(), + upsert: z + .lazy(() => LoadAssetJobUpsertWithoutBase_jobInputSchema) + .optional(), + disconnect: z + .union([z.boolean(), z.lazy(() => LoadAssetJobWhereInputSchema)]) + .optional(), + delete: z + .union([z.boolean(), z.lazy(() => LoadAssetJobWhereInputSchema)]) + .optional(), + connect: z.lazy(() => LoadAssetJobWhereUniqueInputSchema).optional(), + update: z + .union([ + z.lazy( + () => LoadAssetJobUpdateToOneWithWhereWithoutBase_jobInputSchema, + ), + z.lazy(() => LoadAssetJobUpdateWithoutBase_jobInputSchema), + z.lazy(() => LoadAssetJobUncheckedUpdateWithoutBase_jobInputSchema), + ]) + .optional(), + }) + .strict(); + +export default LoadAssetJobUpdateOneWithoutBase_jobNestedInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/LoadAssetJobUpdateToOneWithWhereWithoutBase_jobInputSchema.ts b/utility/prisma/types/inputTypeSchemas/LoadAssetJobUpdateToOneWithWhereWithoutBase_jobInputSchema.ts new file mode 100644 index 00000000..7cbb28e2 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/LoadAssetJobUpdateToOneWithWhereWithoutBase_jobInputSchema.ts @@ -0,0 +1,18 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { LoadAssetJobWhereInputSchema } from "./LoadAssetJobWhereInputSchema"; +import { LoadAssetJobUpdateWithoutBase_jobInputSchema } from "./LoadAssetJobUpdateWithoutBase_jobInputSchema"; +import { LoadAssetJobUncheckedUpdateWithoutBase_jobInputSchema } from "./LoadAssetJobUncheckedUpdateWithoutBase_jobInputSchema"; + +export const LoadAssetJobUpdateToOneWithWhereWithoutBase_jobInputSchema: z.ZodType = + z + .object({ + where: z.lazy(() => LoadAssetJobWhereInputSchema).optional(), + data: z.union([ + z.lazy(() => LoadAssetJobUpdateWithoutBase_jobInputSchema), + z.lazy(() => LoadAssetJobUncheckedUpdateWithoutBase_jobInputSchema), + ]), + }) + .strict(); + +export default LoadAssetJobUpdateToOneWithWhereWithoutBase_jobInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/LoadAssetJobUpdateWithWhereUniqueWithoutAssetInputSchema.ts b/utility/prisma/types/inputTypeSchemas/LoadAssetJobUpdateWithWhereUniqueWithoutAssetInputSchema.ts new file mode 100644 index 00000000..6049b360 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/LoadAssetJobUpdateWithWhereUniqueWithoutAssetInputSchema.ts @@ -0,0 +1,18 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { LoadAssetJobWhereUniqueInputSchema } from "./LoadAssetJobWhereUniqueInputSchema"; +import { LoadAssetJobUpdateWithoutAssetInputSchema } from "./LoadAssetJobUpdateWithoutAssetInputSchema"; +import { LoadAssetJobUncheckedUpdateWithoutAssetInputSchema } from "./LoadAssetJobUncheckedUpdateWithoutAssetInputSchema"; + +export const LoadAssetJobUpdateWithWhereUniqueWithoutAssetInputSchema: z.ZodType = + z + .object({ + where: z.lazy(() => LoadAssetJobWhereUniqueInputSchema), + data: z.union([ + z.lazy(() => LoadAssetJobUpdateWithoutAssetInputSchema), + z.lazy(() => LoadAssetJobUncheckedUpdateWithoutAssetInputSchema), + ]), + }) + .strict(); + +export default LoadAssetJobUpdateWithWhereUniqueWithoutAssetInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/LoadAssetJobUpdateWithoutAssetInputSchema.ts b/utility/prisma/types/inputTypeSchemas/LoadAssetJobUpdateWithoutAssetInputSchema.ts new file mode 100644 index 00000000..50a9e41e --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/LoadAssetJobUpdateWithoutAssetInputSchema.ts @@ -0,0 +1,31 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { MediaFileSourceTypeSchema } from "./MediaFileSourceTypeSchema"; +import { EnumMediaFileSourceTypeFieldUpdateOperationsInputSchema } from "./EnumMediaFileSourceTypeFieldUpdateOperationsInputSchema"; +import { StringFieldUpdateOperationsInputSchema } from "./StringFieldUpdateOperationsInputSchema"; +import { BaseJobUpdateOneRequiredWithoutLoadAssetJobNestedInputSchema } from "./BaseJobUpdateOneRequiredWithoutLoadAssetJobNestedInputSchema"; + +export const LoadAssetJobUpdateWithoutAssetInputSchema: z.ZodType = + z + .object({ + sourceType: z + .union([ + z.lazy(() => MediaFileSourceTypeSchema), + z.lazy(() => EnumMediaFileSourceTypeFieldUpdateOperationsInputSchema), + ]) + .optional(), + source: z + .union([ + z.string(), + z.lazy(() => StringFieldUpdateOperationsInputSchema), + ]) + .optional(), + base_job: z + .lazy( + () => BaseJobUpdateOneRequiredWithoutLoadAssetJobNestedInputSchema, + ) + .optional(), + }) + .strict(); + +export default LoadAssetJobUpdateWithoutAssetInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/LoadAssetJobUpdateWithoutBase_jobInputSchema.ts b/utility/prisma/types/inputTypeSchemas/LoadAssetJobUpdateWithoutBase_jobInputSchema.ts new file mode 100644 index 00000000..0486a0e8 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/LoadAssetJobUpdateWithoutBase_jobInputSchema.ts @@ -0,0 +1,29 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { MediaFileSourceTypeSchema } from "./MediaFileSourceTypeSchema"; +import { EnumMediaFileSourceTypeFieldUpdateOperationsInputSchema } from "./EnumMediaFileSourceTypeFieldUpdateOperationsInputSchema"; +import { StringFieldUpdateOperationsInputSchema } from "./StringFieldUpdateOperationsInputSchema"; +import { AssetUpdateOneRequiredWithoutLoadJobsNestedInputSchema } from "./AssetUpdateOneRequiredWithoutLoadJobsNestedInputSchema"; + +export const LoadAssetJobUpdateWithoutBase_jobInputSchema: z.ZodType = + z + .object({ + sourceType: z + .union([ + z.lazy(() => MediaFileSourceTypeSchema), + z.lazy(() => EnumMediaFileSourceTypeFieldUpdateOperationsInputSchema), + ]) + .optional(), + source: z + .union([ + z.string(), + z.lazy(() => StringFieldUpdateOperationsInputSchema), + ]) + .optional(), + asset: z + .lazy(() => AssetUpdateOneRequiredWithoutLoadJobsNestedInputSchema) + .optional(), + }) + .strict(); + +export default LoadAssetJobUpdateWithoutBase_jobInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/LoadAssetJobUpsertWithWhereUniqueWithoutAssetInputSchema.ts b/utility/prisma/types/inputTypeSchemas/LoadAssetJobUpsertWithWhereUniqueWithoutAssetInputSchema.ts new file mode 100644 index 00000000..d3f74a41 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/LoadAssetJobUpsertWithWhereUniqueWithoutAssetInputSchema.ts @@ -0,0 +1,24 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { LoadAssetJobWhereUniqueInputSchema } from "./LoadAssetJobWhereUniqueInputSchema"; +import { LoadAssetJobUpdateWithoutAssetInputSchema } from "./LoadAssetJobUpdateWithoutAssetInputSchema"; +import { LoadAssetJobUncheckedUpdateWithoutAssetInputSchema } from "./LoadAssetJobUncheckedUpdateWithoutAssetInputSchema"; +import { LoadAssetJobCreateWithoutAssetInputSchema } from "./LoadAssetJobCreateWithoutAssetInputSchema"; +import { LoadAssetJobUncheckedCreateWithoutAssetInputSchema } from "./LoadAssetJobUncheckedCreateWithoutAssetInputSchema"; + +export const LoadAssetJobUpsertWithWhereUniqueWithoutAssetInputSchema: z.ZodType = + z + .object({ + where: z.lazy(() => LoadAssetJobWhereUniqueInputSchema), + update: z.union([ + z.lazy(() => LoadAssetJobUpdateWithoutAssetInputSchema), + z.lazy(() => LoadAssetJobUncheckedUpdateWithoutAssetInputSchema), + ]), + create: z.union([ + z.lazy(() => LoadAssetJobCreateWithoutAssetInputSchema), + z.lazy(() => LoadAssetJobUncheckedCreateWithoutAssetInputSchema), + ]), + }) + .strict(); + +export default LoadAssetJobUpsertWithWhereUniqueWithoutAssetInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/LoadAssetJobUpsertWithoutBase_jobInputSchema.ts b/utility/prisma/types/inputTypeSchemas/LoadAssetJobUpsertWithoutBase_jobInputSchema.ts new file mode 100644 index 00000000..fb4928a3 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/LoadAssetJobUpsertWithoutBase_jobInputSchema.ts @@ -0,0 +1,24 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { LoadAssetJobUpdateWithoutBase_jobInputSchema } from "./LoadAssetJobUpdateWithoutBase_jobInputSchema"; +import { LoadAssetJobUncheckedUpdateWithoutBase_jobInputSchema } from "./LoadAssetJobUncheckedUpdateWithoutBase_jobInputSchema"; +import { LoadAssetJobCreateWithoutBase_jobInputSchema } from "./LoadAssetJobCreateWithoutBase_jobInputSchema"; +import { LoadAssetJobUncheckedCreateWithoutBase_jobInputSchema } from "./LoadAssetJobUncheckedCreateWithoutBase_jobInputSchema"; +import { LoadAssetJobWhereInputSchema } from "./LoadAssetJobWhereInputSchema"; + +export const LoadAssetJobUpsertWithoutBase_jobInputSchema: z.ZodType = + z + .object({ + update: z.union([ + z.lazy(() => LoadAssetJobUpdateWithoutBase_jobInputSchema), + z.lazy(() => LoadAssetJobUncheckedUpdateWithoutBase_jobInputSchema), + ]), + create: z.union([ + z.lazy(() => LoadAssetJobCreateWithoutBase_jobInputSchema), + z.lazy(() => LoadAssetJobUncheckedCreateWithoutBase_jobInputSchema), + ]), + where: z.lazy(() => LoadAssetJobWhereInputSchema).optional(), + }) + .strict(); + +export default LoadAssetJobUpsertWithoutBase_jobInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/LoadAssetJobWhereInputSchema.ts b/utility/prisma/types/inputTypeSchemas/LoadAssetJobWhereInputSchema.ts new file mode 100644 index 00000000..0c79c2c3 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/LoadAssetJobWhereInputSchema.ts @@ -0,0 +1,60 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { IntFilterSchema } from "./IntFilterSchema"; +import { EnumMediaFileSourceTypeFilterSchema } from "./EnumMediaFileSourceTypeFilterSchema"; +import { MediaFileSourceTypeSchema } from "./MediaFileSourceTypeSchema"; +import { StringFilterSchema } from "./StringFilterSchema"; +import { AssetRelationFilterSchema } from "./AssetRelationFilterSchema"; +import { AssetWhereInputSchema } from "./AssetWhereInputSchema"; +import { BaseJobRelationFilterSchema } from "./BaseJobRelationFilterSchema"; +import { BaseJobWhereInputSchema } from "./BaseJobWhereInputSchema"; + +export const LoadAssetJobWhereInputSchema: z.ZodType = + z + .object({ + AND: z + .union([ + z.lazy(() => LoadAssetJobWhereInputSchema), + z.lazy(() => LoadAssetJobWhereInputSchema).array(), + ]) + .optional(), + OR: z + .lazy(() => LoadAssetJobWhereInputSchema) + .array() + .optional(), + NOT: z + .union([ + z.lazy(() => LoadAssetJobWhereInputSchema), + z.lazy(() => LoadAssetJobWhereInputSchema).array(), + ]) + .optional(), + id: z.union([z.lazy(() => IntFilterSchema), z.number()]).optional(), + sourceType: z + .union([ + z.lazy(() => EnumMediaFileSourceTypeFilterSchema), + z.lazy(() => MediaFileSourceTypeSchema), + ]) + .optional(), + source: z + .union([z.lazy(() => StringFilterSchema), z.string()]) + .optional(), + asset_id: z.union([z.lazy(() => IntFilterSchema), z.number()]).optional(), + base_job_id: z + .union([z.lazy(() => IntFilterSchema), z.number()]) + .optional(), + asset: z + .union([ + z.lazy(() => AssetRelationFilterSchema), + z.lazy(() => AssetWhereInputSchema), + ]) + .optional(), + base_job: z + .union([ + z.lazy(() => BaseJobRelationFilterSchema), + z.lazy(() => BaseJobWhereInputSchema), + ]) + .optional(), + }) + .strict(); + +export default LoadAssetJobWhereInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/LoadAssetJobWhereUniqueInputSchema.ts b/utility/prisma/types/inputTypeSchemas/LoadAssetJobWhereUniqueInputSchema.ts new file mode 100644 index 00000000..f946e7fa --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/LoadAssetJobWhereUniqueInputSchema.ts @@ -0,0 +1,76 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { LoadAssetJobWhereInputSchema } from "./LoadAssetJobWhereInputSchema"; +import { EnumMediaFileSourceTypeFilterSchema } from "./EnumMediaFileSourceTypeFilterSchema"; +import { MediaFileSourceTypeSchema } from "./MediaFileSourceTypeSchema"; +import { StringFilterSchema } from "./StringFilterSchema"; +import { IntFilterSchema } from "./IntFilterSchema"; +import { AssetRelationFilterSchema } from "./AssetRelationFilterSchema"; +import { AssetWhereInputSchema } from "./AssetWhereInputSchema"; +import { BaseJobRelationFilterSchema } from "./BaseJobRelationFilterSchema"; +import { BaseJobWhereInputSchema } from "./BaseJobWhereInputSchema"; + +export const LoadAssetJobWhereUniqueInputSchema: z.ZodType = + z + .union([ + z.object({ + id: z.number(), + base_job_id: z.number(), + }), + z.object({ + id: z.number(), + }), + z.object({ + base_job_id: z.number(), + }), + ]) + .and( + z + .object({ + id: z.number().optional(), + base_job_id: z.number().optional(), + AND: z + .union([ + z.lazy(() => LoadAssetJobWhereInputSchema), + z.lazy(() => LoadAssetJobWhereInputSchema).array(), + ]) + .optional(), + OR: z + .lazy(() => LoadAssetJobWhereInputSchema) + .array() + .optional(), + NOT: z + .union([ + z.lazy(() => LoadAssetJobWhereInputSchema), + z.lazy(() => LoadAssetJobWhereInputSchema).array(), + ]) + .optional(), + sourceType: z + .union([ + z.lazy(() => EnumMediaFileSourceTypeFilterSchema), + z.lazy(() => MediaFileSourceTypeSchema), + ]) + .optional(), + source: z + .union([z.lazy(() => StringFilterSchema), z.string()]) + .optional(), + asset_id: z + .union([z.lazy(() => IntFilterSchema), z.number()]) + .optional(), + asset: z + .union([ + z.lazy(() => AssetRelationFilterSchema), + z.lazy(() => AssetWhereInputSchema), + ]) + .optional(), + base_job: z + .union([ + z.lazy(() => BaseJobRelationFilterSchema), + z.lazy(() => BaseJobWhereInputSchema), + ]) + .optional(), + }) + .strict(), + ); + +export default LoadAssetJobWhereUniqueInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/MediaAvgOrderByAggregateInputSchema.ts b/utility/prisma/types/inputTypeSchemas/MediaAvgOrderByAggregateInputSchema.ts new file mode 100644 index 00000000..5a248ba5 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/MediaAvgOrderByAggregateInputSchema.ts @@ -0,0 +1,15 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { SortOrderSchema } from "./SortOrderSchema"; + +export const MediaAvgOrderByAggregateInputSchema: z.ZodType = + z + .object({ + id: z.lazy(() => SortOrderSchema).optional(), + durationSeconds: z.lazy(() => SortOrderSchema).optional(), + rundownItemID: z.lazy(() => SortOrderSchema).optional(), + continuityItemID: z.lazy(() => SortOrderSchema).optional(), + }) + .strict(); + +export default MediaAvgOrderByAggregateInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/MediaCountOrderByAggregateInputSchema.ts b/utility/prisma/types/inputTypeSchemas/MediaCountOrderByAggregateInputSchema.ts new file mode 100644 index 00000000..a1ec70ee --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/MediaCountOrderByAggregateInputSchema.ts @@ -0,0 +1,19 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { SortOrderSchema } from "./SortOrderSchema"; + +export const MediaCountOrderByAggregateInputSchema: z.ZodType = + z + .object({ + id: z.lazy(() => SortOrderSchema).optional(), + name: z.lazy(() => SortOrderSchema).optional(), + rawPath: z.lazy(() => SortOrderSchema).optional(), + path: z.lazy(() => SortOrderSchema).optional(), + durationSeconds: z.lazy(() => SortOrderSchema).optional(), + state: z.lazy(() => SortOrderSchema).optional(), + rundownItemID: z.lazy(() => SortOrderSchema).optional(), + continuityItemID: z.lazy(() => SortOrderSchema).optional(), + }) + .strict(); + +export default MediaCountOrderByAggregateInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/MediaCreateInputSchema.ts b/utility/prisma/types/inputTypeSchemas/MediaCreateInputSchema.ts new file mode 100644 index 00000000..f71a50e3 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/MediaCreateInputSchema.ts @@ -0,0 +1,33 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { MediaStateSchema } from "./MediaStateSchema"; +import { RundownItemCreateNestedOneWithoutMediaInputSchema } from "./RundownItemCreateNestedOneWithoutMediaInputSchema"; +import { ContinuityItemCreateNestedOneWithoutMediaInputSchema } from "./ContinuityItemCreateNestedOneWithoutMediaInputSchema"; +import { MediaProcessingTaskCreateNestedManyWithoutMediaInputSchema } from "./MediaProcessingTaskCreateNestedManyWithoutMediaInputSchema"; +import { ProcessMediaJobCreateNestedManyWithoutMediaInputSchema } from "./ProcessMediaJobCreateNestedManyWithoutMediaInputSchema"; +import { AssetCreateNestedOneWithoutMediaInputSchema } from "./AssetCreateNestedOneWithoutMediaInputSchema"; + +export const MediaCreateInputSchema: z.ZodType = z + .object({ + name: z.string(), + rawPath: z.string(), + path: z.string().optional().nullable(), + durationSeconds: z.number().int(), + state: z.lazy(() => MediaStateSchema).optional(), + rundownItem: z + .lazy(() => RundownItemCreateNestedOneWithoutMediaInputSchema) + .optional(), + continuityItem: z + .lazy(() => ContinuityItemCreateNestedOneWithoutMediaInputSchema) + .optional(), + tasks: z + .lazy(() => MediaProcessingTaskCreateNestedManyWithoutMediaInputSchema) + .optional(), + process_jobs: z + .lazy(() => ProcessMediaJobCreateNestedManyWithoutMediaInputSchema) + .optional(), + asset: z.lazy(() => AssetCreateNestedOneWithoutMediaInputSchema).optional(), + }) + .strict(); + +export default MediaCreateInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/MediaCreateManyInputSchema.ts b/utility/prisma/types/inputTypeSchemas/MediaCreateManyInputSchema.ts new file mode 100644 index 00000000..3ec45b4f --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/MediaCreateManyInputSchema.ts @@ -0,0 +1,19 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { MediaStateSchema } from "./MediaStateSchema"; + +export const MediaCreateManyInputSchema: z.ZodType = + z + .object({ + id: z.number().int().optional(), + name: z.string(), + rawPath: z.string(), + path: z.string().optional().nullable(), + durationSeconds: z.number().int(), + state: z.lazy(() => MediaStateSchema).optional(), + rundownItemID: z.number().int().optional().nullable(), + continuityItemID: z.number().int().optional().nullable(), + }) + .strict(); + +export default MediaCreateManyInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/MediaCreateNestedOneWithoutAssetInputSchema.ts b/utility/prisma/types/inputTypeSchemas/MediaCreateNestedOneWithoutAssetInputSchema.ts new file mode 100644 index 00000000..373c7e07 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/MediaCreateNestedOneWithoutAssetInputSchema.ts @@ -0,0 +1,24 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { MediaCreateWithoutAssetInputSchema } from "./MediaCreateWithoutAssetInputSchema"; +import { MediaUncheckedCreateWithoutAssetInputSchema } from "./MediaUncheckedCreateWithoutAssetInputSchema"; +import { MediaCreateOrConnectWithoutAssetInputSchema } from "./MediaCreateOrConnectWithoutAssetInputSchema"; +import { MediaWhereUniqueInputSchema } from "./MediaWhereUniqueInputSchema"; + +export const MediaCreateNestedOneWithoutAssetInputSchema: z.ZodType = + z + .object({ + create: z + .union([ + z.lazy(() => MediaCreateWithoutAssetInputSchema), + z.lazy(() => MediaUncheckedCreateWithoutAssetInputSchema), + ]) + .optional(), + connectOrCreate: z + .lazy(() => MediaCreateOrConnectWithoutAssetInputSchema) + .optional(), + connect: z.lazy(() => MediaWhereUniqueInputSchema).optional(), + }) + .strict(); + +export default MediaCreateNestedOneWithoutAssetInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/MediaCreateNestedOneWithoutContinuityItemInputSchema.ts b/utility/prisma/types/inputTypeSchemas/MediaCreateNestedOneWithoutContinuityItemInputSchema.ts new file mode 100644 index 00000000..e1ed56c1 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/MediaCreateNestedOneWithoutContinuityItemInputSchema.ts @@ -0,0 +1,24 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { MediaCreateWithoutContinuityItemInputSchema } from "./MediaCreateWithoutContinuityItemInputSchema"; +import { MediaUncheckedCreateWithoutContinuityItemInputSchema } from "./MediaUncheckedCreateWithoutContinuityItemInputSchema"; +import { MediaCreateOrConnectWithoutContinuityItemInputSchema } from "./MediaCreateOrConnectWithoutContinuityItemInputSchema"; +import { MediaWhereUniqueInputSchema } from "./MediaWhereUniqueInputSchema"; + +export const MediaCreateNestedOneWithoutContinuityItemInputSchema: z.ZodType = + z + .object({ + create: z + .union([ + z.lazy(() => MediaCreateWithoutContinuityItemInputSchema), + z.lazy(() => MediaUncheckedCreateWithoutContinuityItemInputSchema), + ]) + .optional(), + connectOrCreate: z + .lazy(() => MediaCreateOrConnectWithoutContinuityItemInputSchema) + .optional(), + connect: z.lazy(() => MediaWhereUniqueInputSchema).optional(), + }) + .strict(); + +export default MediaCreateNestedOneWithoutContinuityItemInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/MediaCreateNestedOneWithoutProcess_jobsInputSchema.ts b/utility/prisma/types/inputTypeSchemas/MediaCreateNestedOneWithoutProcess_jobsInputSchema.ts new file mode 100644 index 00000000..5fbb5735 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/MediaCreateNestedOneWithoutProcess_jobsInputSchema.ts @@ -0,0 +1,24 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { MediaCreateWithoutProcess_jobsInputSchema } from "./MediaCreateWithoutProcess_jobsInputSchema"; +import { MediaUncheckedCreateWithoutProcess_jobsInputSchema } from "./MediaUncheckedCreateWithoutProcess_jobsInputSchema"; +import { MediaCreateOrConnectWithoutProcess_jobsInputSchema } from "./MediaCreateOrConnectWithoutProcess_jobsInputSchema"; +import { MediaWhereUniqueInputSchema } from "./MediaWhereUniqueInputSchema"; + +export const MediaCreateNestedOneWithoutProcess_jobsInputSchema: z.ZodType = + z + .object({ + create: z + .union([ + z.lazy(() => MediaCreateWithoutProcess_jobsInputSchema), + z.lazy(() => MediaUncheckedCreateWithoutProcess_jobsInputSchema), + ]) + .optional(), + connectOrCreate: z + .lazy(() => MediaCreateOrConnectWithoutProcess_jobsInputSchema) + .optional(), + connect: z.lazy(() => MediaWhereUniqueInputSchema).optional(), + }) + .strict(); + +export default MediaCreateNestedOneWithoutProcess_jobsInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/MediaCreateNestedOneWithoutRundownItemInputSchema.ts b/utility/prisma/types/inputTypeSchemas/MediaCreateNestedOneWithoutRundownItemInputSchema.ts new file mode 100644 index 00000000..b0e05714 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/MediaCreateNestedOneWithoutRundownItemInputSchema.ts @@ -0,0 +1,24 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { MediaCreateWithoutRundownItemInputSchema } from "./MediaCreateWithoutRundownItemInputSchema"; +import { MediaUncheckedCreateWithoutRundownItemInputSchema } from "./MediaUncheckedCreateWithoutRundownItemInputSchema"; +import { MediaCreateOrConnectWithoutRundownItemInputSchema } from "./MediaCreateOrConnectWithoutRundownItemInputSchema"; +import { MediaWhereUniqueInputSchema } from "./MediaWhereUniqueInputSchema"; + +export const MediaCreateNestedOneWithoutRundownItemInputSchema: z.ZodType = + z + .object({ + create: z + .union([ + z.lazy(() => MediaCreateWithoutRundownItemInputSchema), + z.lazy(() => MediaUncheckedCreateWithoutRundownItemInputSchema), + ]) + .optional(), + connectOrCreate: z + .lazy(() => MediaCreateOrConnectWithoutRundownItemInputSchema) + .optional(), + connect: z.lazy(() => MediaWhereUniqueInputSchema).optional(), + }) + .strict(); + +export default MediaCreateNestedOneWithoutRundownItemInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/MediaCreateNestedOneWithoutTasksInputSchema.ts b/utility/prisma/types/inputTypeSchemas/MediaCreateNestedOneWithoutTasksInputSchema.ts new file mode 100644 index 00000000..5dbeabdc --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/MediaCreateNestedOneWithoutTasksInputSchema.ts @@ -0,0 +1,24 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { MediaCreateWithoutTasksInputSchema } from "./MediaCreateWithoutTasksInputSchema"; +import { MediaUncheckedCreateWithoutTasksInputSchema } from "./MediaUncheckedCreateWithoutTasksInputSchema"; +import { MediaCreateOrConnectWithoutTasksInputSchema } from "./MediaCreateOrConnectWithoutTasksInputSchema"; +import { MediaWhereUniqueInputSchema } from "./MediaWhereUniqueInputSchema"; + +export const MediaCreateNestedOneWithoutTasksInputSchema: z.ZodType = + z + .object({ + create: z + .union([ + z.lazy(() => MediaCreateWithoutTasksInputSchema), + z.lazy(() => MediaUncheckedCreateWithoutTasksInputSchema), + ]) + .optional(), + connectOrCreate: z + .lazy(() => MediaCreateOrConnectWithoutTasksInputSchema) + .optional(), + connect: z.lazy(() => MediaWhereUniqueInputSchema).optional(), + }) + .strict(); + +export default MediaCreateNestedOneWithoutTasksInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/MediaCreateOrConnectWithoutAssetInputSchema.ts b/utility/prisma/types/inputTypeSchemas/MediaCreateOrConnectWithoutAssetInputSchema.ts new file mode 100644 index 00000000..6fc3f116 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/MediaCreateOrConnectWithoutAssetInputSchema.ts @@ -0,0 +1,18 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { MediaWhereUniqueInputSchema } from "./MediaWhereUniqueInputSchema"; +import { MediaCreateWithoutAssetInputSchema } from "./MediaCreateWithoutAssetInputSchema"; +import { MediaUncheckedCreateWithoutAssetInputSchema } from "./MediaUncheckedCreateWithoutAssetInputSchema"; + +export const MediaCreateOrConnectWithoutAssetInputSchema: z.ZodType = + z + .object({ + where: z.lazy(() => MediaWhereUniqueInputSchema), + create: z.union([ + z.lazy(() => MediaCreateWithoutAssetInputSchema), + z.lazy(() => MediaUncheckedCreateWithoutAssetInputSchema), + ]), + }) + .strict(); + +export default MediaCreateOrConnectWithoutAssetInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/MediaCreateOrConnectWithoutContinuityItemInputSchema.ts b/utility/prisma/types/inputTypeSchemas/MediaCreateOrConnectWithoutContinuityItemInputSchema.ts new file mode 100644 index 00000000..86cad120 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/MediaCreateOrConnectWithoutContinuityItemInputSchema.ts @@ -0,0 +1,18 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { MediaWhereUniqueInputSchema } from "./MediaWhereUniqueInputSchema"; +import { MediaCreateWithoutContinuityItemInputSchema } from "./MediaCreateWithoutContinuityItemInputSchema"; +import { MediaUncheckedCreateWithoutContinuityItemInputSchema } from "./MediaUncheckedCreateWithoutContinuityItemInputSchema"; + +export const MediaCreateOrConnectWithoutContinuityItemInputSchema: z.ZodType = + z + .object({ + where: z.lazy(() => MediaWhereUniqueInputSchema), + create: z.union([ + z.lazy(() => MediaCreateWithoutContinuityItemInputSchema), + z.lazy(() => MediaUncheckedCreateWithoutContinuityItemInputSchema), + ]), + }) + .strict(); + +export default MediaCreateOrConnectWithoutContinuityItemInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/MediaCreateOrConnectWithoutProcess_jobsInputSchema.ts b/utility/prisma/types/inputTypeSchemas/MediaCreateOrConnectWithoutProcess_jobsInputSchema.ts new file mode 100644 index 00000000..18dd7d9b --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/MediaCreateOrConnectWithoutProcess_jobsInputSchema.ts @@ -0,0 +1,18 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { MediaWhereUniqueInputSchema } from "./MediaWhereUniqueInputSchema"; +import { MediaCreateWithoutProcess_jobsInputSchema } from "./MediaCreateWithoutProcess_jobsInputSchema"; +import { MediaUncheckedCreateWithoutProcess_jobsInputSchema } from "./MediaUncheckedCreateWithoutProcess_jobsInputSchema"; + +export const MediaCreateOrConnectWithoutProcess_jobsInputSchema: z.ZodType = + z + .object({ + where: z.lazy(() => MediaWhereUniqueInputSchema), + create: z.union([ + z.lazy(() => MediaCreateWithoutProcess_jobsInputSchema), + z.lazy(() => MediaUncheckedCreateWithoutProcess_jobsInputSchema), + ]), + }) + .strict(); + +export default MediaCreateOrConnectWithoutProcess_jobsInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/MediaCreateOrConnectWithoutRundownItemInputSchema.ts b/utility/prisma/types/inputTypeSchemas/MediaCreateOrConnectWithoutRundownItemInputSchema.ts new file mode 100644 index 00000000..baff63a0 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/MediaCreateOrConnectWithoutRundownItemInputSchema.ts @@ -0,0 +1,18 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { MediaWhereUniqueInputSchema } from "./MediaWhereUniqueInputSchema"; +import { MediaCreateWithoutRundownItemInputSchema } from "./MediaCreateWithoutRundownItemInputSchema"; +import { MediaUncheckedCreateWithoutRundownItemInputSchema } from "./MediaUncheckedCreateWithoutRundownItemInputSchema"; + +export const MediaCreateOrConnectWithoutRundownItemInputSchema: z.ZodType = + z + .object({ + where: z.lazy(() => MediaWhereUniqueInputSchema), + create: z.union([ + z.lazy(() => MediaCreateWithoutRundownItemInputSchema), + z.lazy(() => MediaUncheckedCreateWithoutRundownItemInputSchema), + ]), + }) + .strict(); + +export default MediaCreateOrConnectWithoutRundownItemInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/MediaCreateOrConnectWithoutTasksInputSchema.ts b/utility/prisma/types/inputTypeSchemas/MediaCreateOrConnectWithoutTasksInputSchema.ts new file mode 100644 index 00000000..29131068 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/MediaCreateOrConnectWithoutTasksInputSchema.ts @@ -0,0 +1,18 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { MediaWhereUniqueInputSchema } from "./MediaWhereUniqueInputSchema"; +import { MediaCreateWithoutTasksInputSchema } from "./MediaCreateWithoutTasksInputSchema"; +import { MediaUncheckedCreateWithoutTasksInputSchema } from "./MediaUncheckedCreateWithoutTasksInputSchema"; + +export const MediaCreateOrConnectWithoutTasksInputSchema: z.ZodType = + z + .object({ + where: z.lazy(() => MediaWhereUniqueInputSchema), + create: z.union([ + z.lazy(() => MediaCreateWithoutTasksInputSchema), + z.lazy(() => MediaUncheckedCreateWithoutTasksInputSchema), + ]), + }) + .strict(); + +export default MediaCreateOrConnectWithoutTasksInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/MediaCreateWithoutAssetInputSchema.ts b/utility/prisma/types/inputTypeSchemas/MediaCreateWithoutAssetInputSchema.ts new file mode 100644 index 00000000..4cd99033 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/MediaCreateWithoutAssetInputSchema.ts @@ -0,0 +1,32 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { MediaStateSchema } from "./MediaStateSchema"; +import { RundownItemCreateNestedOneWithoutMediaInputSchema } from "./RundownItemCreateNestedOneWithoutMediaInputSchema"; +import { ContinuityItemCreateNestedOneWithoutMediaInputSchema } from "./ContinuityItemCreateNestedOneWithoutMediaInputSchema"; +import { MediaProcessingTaskCreateNestedManyWithoutMediaInputSchema } from "./MediaProcessingTaskCreateNestedManyWithoutMediaInputSchema"; +import { ProcessMediaJobCreateNestedManyWithoutMediaInputSchema } from "./ProcessMediaJobCreateNestedManyWithoutMediaInputSchema"; + +export const MediaCreateWithoutAssetInputSchema: z.ZodType = + z + .object({ + name: z.string(), + rawPath: z.string(), + path: z.string().optional().nullable(), + durationSeconds: z.number().int(), + state: z.lazy(() => MediaStateSchema).optional(), + rundownItem: z + .lazy(() => RundownItemCreateNestedOneWithoutMediaInputSchema) + .optional(), + continuityItem: z + .lazy(() => ContinuityItemCreateNestedOneWithoutMediaInputSchema) + .optional(), + tasks: z + .lazy(() => MediaProcessingTaskCreateNestedManyWithoutMediaInputSchema) + .optional(), + process_jobs: z + .lazy(() => ProcessMediaJobCreateNestedManyWithoutMediaInputSchema) + .optional(), + }) + .strict(); + +export default MediaCreateWithoutAssetInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/MediaCreateWithoutContinuityItemInputSchema.ts b/utility/prisma/types/inputTypeSchemas/MediaCreateWithoutContinuityItemInputSchema.ts new file mode 100644 index 00000000..fa38682b --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/MediaCreateWithoutContinuityItemInputSchema.ts @@ -0,0 +1,32 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { MediaStateSchema } from "./MediaStateSchema"; +import { RundownItemCreateNestedOneWithoutMediaInputSchema } from "./RundownItemCreateNestedOneWithoutMediaInputSchema"; +import { MediaProcessingTaskCreateNestedManyWithoutMediaInputSchema } from "./MediaProcessingTaskCreateNestedManyWithoutMediaInputSchema"; +import { ProcessMediaJobCreateNestedManyWithoutMediaInputSchema } from "./ProcessMediaJobCreateNestedManyWithoutMediaInputSchema"; +import { AssetCreateNestedOneWithoutMediaInputSchema } from "./AssetCreateNestedOneWithoutMediaInputSchema"; + +export const MediaCreateWithoutContinuityItemInputSchema: z.ZodType = + z + .object({ + name: z.string(), + rawPath: z.string(), + path: z.string().optional().nullable(), + durationSeconds: z.number().int(), + state: z.lazy(() => MediaStateSchema).optional(), + rundownItem: z + .lazy(() => RundownItemCreateNestedOneWithoutMediaInputSchema) + .optional(), + tasks: z + .lazy(() => MediaProcessingTaskCreateNestedManyWithoutMediaInputSchema) + .optional(), + process_jobs: z + .lazy(() => ProcessMediaJobCreateNestedManyWithoutMediaInputSchema) + .optional(), + asset: z + .lazy(() => AssetCreateNestedOneWithoutMediaInputSchema) + .optional(), + }) + .strict(); + +export default MediaCreateWithoutContinuityItemInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/MediaCreateWithoutProcess_jobsInputSchema.ts b/utility/prisma/types/inputTypeSchemas/MediaCreateWithoutProcess_jobsInputSchema.ts new file mode 100644 index 00000000..3af0503d --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/MediaCreateWithoutProcess_jobsInputSchema.ts @@ -0,0 +1,32 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { MediaStateSchema } from "./MediaStateSchema"; +import { RundownItemCreateNestedOneWithoutMediaInputSchema } from "./RundownItemCreateNestedOneWithoutMediaInputSchema"; +import { ContinuityItemCreateNestedOneWithoutMediaInputSchema } from "./ContinuityItemCreateNestedOneWithoutMediaInputSchema"; +import { MediaProcessingTaskCreateNestedManyWithoutMediaInputSchema } from "./MediaProcessingTaskCreateNestedManyWithoutMediaInputSchema"; +import { AssetCreateNestedOneWithoutMediaInputSchema } from "./AssetCreateNestedOneWithoutMediaInputSchema"; + +export const MediaCreateWithoutProcess_jobsInputSchema: z.ZodType = + z + .object({ + name: z.string(), + rawPath: z.string(), + path: z.string().optional().nullable(), + durationSeconds: z.number().int(), + state: z.lazy(() => MediaStateSchema).optional(), + rundownItem: z + .lazy(() => RundownItemCreateNestedOneWithoutMediaInputSchema) + .optional(), + continuityItem: z + .lazy(() => ContinuityItemCreateNestedOneWithoutMediaInputSchema) + .optional(), + tasks: z + .lazy(() => MediaProcessingTaskCreateNestedManyWithoutMediaInputSchema) + .optional(), + asset: z + .lazy(() => AssetCreateNestedOneWithoutMediaInputSchema) + .optional(), + }) + .strict(); + +export default MediaCreateWithoutProcess_jobsInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/MediaCreateWithoutRundownItemInputSchema.ts b/utility/prisma/types/inputTypeSchemas/MediaCreateWithoutRundownItemInputSchema.ts new file mode 100644 index 00000000..56f0429d --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/MediaCreateWithoutRundownItemInputSchema.ts @@ -0,0 +1,32 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { MediaStateSchema } from "./MediaStateSchema"; +import { ContinuityItemCreateNestedOneWithoutMediaInputSchema } from "./ContinuityItemCreateNestedOneWithoutMediaInputSchema"; +import { MediaProcessingTaskCreateNestedManyWithoutMediaInputSchema } from "./MediaProcessingTaskCreateNestedManyWithoutMediaInputSchema"; +import { ProcessMediaJobCreateNestedManyWithoutMediaInputSchema } from "./ProcessMediaJobCreateNestedManyWithoutMediaInputSchema"; +import { AssetCreateNestedOneWithoutMediaInputSchema } from "./AssetCreateNestedOneWithoutMediaInputSchema"; + +export const MediaCreateWithoutRundownItemInputSchema: z.ZodType = + z + .object({ + name: z.string(), + rawPath: z.string(), + path: z.string().optional().nullable(), + durationSeconds: z.number().int(), + state: z.lazy(() => MediaStateSchema).optional(), + continuityItem: z + .lazy(() => ContinuityItemCreateNestedOneWithoutMediaInputSchema) + .optional(), + tasks: z + .lazy(() => MediaProcessingTaskCreateNestedManyWithoutMediaInputSchema) + .optional(), + process_jobs: z + .lazy(() => ProcessMediaJobCreateNestedManyWithoutMediaInputSchema) + .optional(), + asset: z + .lazy(() => AssetCreateNestedOneWithoutMediaInputSchema) + .optional(), + }) + .strict(); + +export default MediaCreateWithoutRundownItemInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/MediaCreateWithoutTasksInputSchema.ts b/utility/prisma/types/inputTypeSchemas/MediaCreateWithoutTasksInputSchema.ts new file mode 100644 index 00000000..c189e069 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/MediaCreateWithoutTasksInputSchema.ts @@ -0,0 +1,32 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { MediaStateSchema } from "./MediaStateSchema"; +import { RundownItemCreateNestedOneWithoutMediaInputSchema } from "./RundownItemCreateNestedOneWithoutMediaInputSchema"; +import { ContinuityItemCreateNestedOneWithoutMediaInputSchema } from "./ContinuityItemCreateNestedOneWithoutMediaInputSchema"; +import { ProcessMediaJobCreateNestedManyWithoutMediaInputSchema } from "./ProcessMediaJobCreateNestedManyWithoutMediaInputSchema"; +import { AssetCreateNestedOneWithoutMediaInputSchema } from "./AssetCreateNestedOneWithoutMediaInputSchema"; + +export const MediaCreateWithoutTasksInputSchema: z.ZodType = + z + .object({ + name: z.string(), + rawPath: z.string(), + path: z.string().optional().nullable(), + durationSeconds: z.number().int(), + state: z.lazy(() => MediaStateSchema).optional(), + rundownItem: z + .lazy(() => RundownItemCreateNestedOneWithoutMediaInputSchema) + .optional(), + continuityItem: z + .lazy(() => ContinuityItemCreateNestedOneWithoutMediaInputSchema) + .optional(), + process_jobs: z + .lazy(() => ProcessMediaJobCreateNestedManyWithoutMediaInputSchema) + .optional(), + asset: z + .lazy(() => AssetCreateNestedOneWithoutMediaInputSchema) + .optional(), + }) + .strict(); + +export default MediaCreateWithoutTasksInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/MediaIncludeSchema.ts b/utility/prisma/types/inputTypeSchemas/MediaIncludeSchema.ts new file mode 100644 index 00000000..513be9c7 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/MediaIncludeSchema.ts @@ -0,0 +1,31 @@ +import { z } from "zod"; +import type { Prisma } from "../../client"; +import { RundownItemArgsSchema } from "../outputTypeSchemas/RundownItemArgsSchema"; +import { ContinuityItemArgsSchema } from "../outputTypeSchemas/ContinuityItemArgsSchema"; +import { MediaProcessingTaskFindManyArgsSchema } from "../outputTypeSchemas/MediaProcessingTaskFindManyArgsSchema"; +import { ProcessMediaJobFindManyArgsSchema } from "../outputTypeSchemas/ProcessMediaJobFindManyArgsSchema"; +import { AssetArgsSchema } from "../outputTypeSchemas/AssetArgsSchema"; +import { MediaCountOutputTypeArgsSchema } from "../outputTypeSchemas/MediaCountOutputTypeArgsSchema"; + +export const MediaIncludeSchema: z.ZodType = z + .object({ + rundownItem: z + .union([z.boolean(), z.lazy(() => RundownItemArgsSchema)]) + .optional(), + continuityItem: z + .union([z.boolean(), z.lazy(() => ContinuityItemArgsSchema)]) + .optional(), + tasks: z + .union([z.boolean(), z.lazy(() => MediaProcessingTaskFindManyArgsSchema)]) + .optional(), + process_jobs: z + .union([z.boolean(), z.lazy(() => ProcessMediaJobFindManyArgsSchema)]) + .optional(), + asset: z.union([z.boolean(), z.lazy(() => AssetArgsSchema)]).optional(), + _count: z + .union([z.boolean(), z.lazy(() => MediaCountOutputTypeArgsSchema)]) + .optional(), + }) + .strict(); + +export default MediaIncludeSchema; diff --git a/utility/prisma/types/inputTypeSchemas/MediaMaxOrderByAggregateInputSchema.ts b/utility/prisma/types/inputTypeSchemas/MediaMaxOrderByAggregateInputSchema.ts new file mode 100644 index 00000000..b4e2bf96 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/MediaMaxOrderByAggregateInputSchema.ts @@ -0,0 +1,19 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { SortOrderSchema } from "./SortOrderSchema"; + +export const MediaMaxOrderByAggregateInputSchema: z.ZodType = + z + .object({ + id: z.lazy(() => SortOrderSchema).optional(), + name: z.lazy(() => SortOrderSchema).optional(), + rawPath: z.lazy(() => SortOrderSchema).optional(), + path: z.lazy(() => SortOrderSchema).optional(), + durationSeconds: z.lazy(() => SortOrderSchema).optional(), + state: z.lazy(() => SortOrderSchema).optional(), + rundownItemID: z.lazy(() => SortOrderSchema).optional(), + continuityItemID: z.lazy(() => SortOrderSchema).optional(), + }) + .strict(); + +export default MediaMaxOrderByAggregateInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/MediaMinOrderByAggregateInputSchema.ts b/utility/prisma/types/inputTypeSchemas/MediaMinOrderByAggregateInputSchema.ts new file mode 100644 index 00000000..758cf08b --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/MediaMinOrderByAggregateInputSchema.ts @@ -0,0 +1,19 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { SortOrderSchema } from "./SortOrderSchema"; + +export const MediaMinOrderByAggregateInputSchema: z.ZodType = + z + .object({ + id: z.lazy(() => SortOrderSchema).optional(), + name: z.lazy(() => SortOrderSchema).optional(), + rawPath: z.lazy(() => SortOrderSchema).optional(), + path: z.lazy(() => SortOrderSchema).optional(), + durationSeconds: z.lazy(() => SortOrderSchema).optional(), + state: z.lazy(() => SortOrderSchema).optional(), + rundownItemID: z.lazy(() => SortOrderSchema).optional(), + continuityItemID: z.lazy(() => SortOrderSchema).optional(), + }) + .strict(); + +export default MediaMinOrderByAggregateInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/MediaNullableRelationFilterSchema.ts b/utility/prisma/types/inputTypeSchemas/MediaNullableRelationFilterSchema.ts new file mode 100644 index 00000000..400d772a --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/MediaNullableRelationFilterSchema.ts @@ -0,0 +1,19 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { MediaWhereInputSchema } from "./MediaWhereInputSchema"; + +export const MediaNullableRelationFilterSchema: z.ZodType = + z + .object({ + is: z + .lazy(() => MediaWhereInputSchema) + .optional() + .nullable(), + isNot: z + .lazy(() => MediaWhereInputSchema) + .optional() + .nullable(), + }) + .strict(); + +export default MediaNullableRelationFilterSchema; diff --git a/utility/prisma/types/inputTypeSchemas/MediaOrderByWithAggregationInputSchema.ts b/utility/prisma/types/inputTypeSchemas/MediaOrderByWithAggregationInputSchema.ts new file mode 100644 index 00000000..c1a9cda7 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/MediaOrderByWithAggregationInputSchema.ts @@ -0,0 +1,45 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { SortOrderSchema } from "./SortOrderSchema"; +import { SortOrderInputSchema } from "./SortOrderInputSchema"; +import { MediaCountOrderByAggregateInputSchema } from "./MediaCountOrderByAggregateInputSchema"; +import { MediaAvgOrderByAggregateInputSchema } from "./MediaAvgOrderByAggregateInputSchema"; +import { MediaMaxOrderByAggregateInputSchema } from "./MediaMaxOrderByAggregateInputSchema"; +import { MediaMinOrderByAggregateInputSchema } from "./MediaMinOrderByAggregateInputSchema"; +import { MediaSumOrderByAggregateInputSchema } from "./MediaSumOrderByAggregateInputSchema"; + +export const MediaOrderByWithAggregationInputSchema: z.ZodType = + z + .object({ + id: z.lazy(() => SortOrderSchema).optional(), + name: z.lazy(() => SortOrderSchema).optional(), + rawPath: z.lazy(() => SortOrderSchema).optional(), + path: z + .union([ + z.lazy(() => SortOrderSchema), + z.lazy(() => SortOrderInputSchema), + ]) + .optional(), + durationSeconds: z.lazy(() => SortOrderSchema).optional(), + state: z.lazy(() => SortOrderSchema).optional(), + rundownItemID: z + .union([ + z.lazy(() => SortOrderSchema), + z.lazy(() => SortOrderInputSchema), + ]) + .optional(), + continuityItemID: z + .union([ + z.lazy(() => SortOrderSchema), + z.lazy(() => SortOrderInputSchema), + ]) + .optional(), + _count: z.lazy(() => MediaCountOrderByAggregateInputSchema).optional(), + _avg: z.lazy(() => MediaAvgOrderByAggregateInputSchema).optional(), + _max: z.lazy(() => MediaMaxOrderByAggregateInputSchema).optional(), + _min: z.lazy(() => MediaMinOrderByAggregateInputSchema).optional(), + _sum: z.lazy(() => MediaSumOrderByAggregateInputSchema).optional(), + }) + .strict(); + +export default MediaOrderByWithAggregationInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/MediaOrderByWithRelationInputSchema.ts b/utility/prisma/types/inputTypeSchemas/MediaOrderByWithRelationInputSchema.ts new file mode 100644 index 00000000..476061a2 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/MediaOrderByWithRelationInputSchema.ts @@ -0,0 +1,53 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { SortOrderSchema } from "./SortOrderSchema"; +import { SortOrderInputSchema } from "./SortOrderInputSchema"; +import { RundownItemOrderByWithRelationInputSchema } from "./RundownItemOrderByWithRelationInputSchema"; +import { ContinuityItemOrderByWithRelationInputSchema } from "./ContinuityItemOrderByWithRelationInputSchema"; +import { MediaProcessingTaskOrderByRelationAggregateInputSchema } from "./MediaProcessingTaskOrderByRelationAggregateInputSchema"; +import { ProcessMediaJobOrderByRelationAggregateInputSchema } from "./ProcessMediaJobOrderByRelationAggregateInputSchema"; +import { AssetOrderByWithRelationInputSchema } from "./AssetOrderByWithRelationInputSchema"; + +export const MediaOrderByWithRelationInputSchema: z.ZodType = + z + .object({ + id: z.lazy(() => SortOrderSchema).optional(), + name: z.lazy(() => SortOrderSchema).optional(), + rawPath: z.lazy(() => SortOrderSchema).optional(), + path: z + .union([ + z.lazy(() => SortOrderSchema), + z.lazy(() => SortOrderInputSchema), + ]) + .optional(), + durationSeconds: z.lazy(() => SortOrderSchema).optional(), + state: z.lazy(() => SortOrderSchema).optional(), + rundownItemID: z + .union([ + z.lazy(() => SortOrderSchema), + z.lazy(() => SortOrderInputSchema), + ]) + .optional(), + continuityItemID: z + .union([ + z.lazy(() => SortOrderSchema), + z.lazy(() => SortOrderInputSchema), + ]) + .optional(), + rundownItem: z + .lazy(() => RundownItemOrderByWithRelationInputSchema) + .optional(), + continuityItem: z + .lazy(() => ContinuityItemOrderByWithRelationInputSchema) + .optional(), + tasks: z + .lazy(() => MediaProcessingTaskOrderByRelationAggregateInputSchema) + .optional(), + process_jobs: z + .lazy(() => ProcessMediaJobOrderByRelationAggregateInputSchema) + .optional(), + asset: z.lazy(() => AssetOrderByWithRelationInputSchema).optional(), + }) + .strict(); + +export default MediaOrderByWithRelationInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/MediaProcessingTaskAvgOrderByAggregateInputSchema.ts b/utility/prisma/types/inputTypeSchemas/MediaProcessingTaskAvgOrderByAggregateInputSchema.ts new file mode 100644 index 00000000..a2c045a1 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/MediaProcessingTaskAvgOrderByAggregateInputSchema.ts @@ -0,0 +1,13 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { SortOrderSchema } from "./SortOrderSchema"; + +export const MediaProcessingTaskAvgOrderByAggregateInputSchema: z.ZodType = + z + .object({ + id: z.lazy(() => SortOrderSchema).optional(), + media_id: z.lazy(() => SortOrderSchema).optional(), + }) + .strict(); + +export default MediaProcessingTaskAvgOrderByAggregateInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/MediaProcessingTaskCountOrderByAggregateInputSchema.ts b/utility/prisma/types/inputTypeSchemas/MediaProcessingTaskCountOrderByAggregateInputSchema.ts new file mode 100644 index 00000000..b65fa631 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/MediaProcessingTaskCountOrderByAggregateInputSchema.ts @@ -0,0 +1,16 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { SortOrderSchema } from "./SortOrderSchema"; + +export const MediaProcessingTaskCountOrderByAggregateInputSchema: z.ZodType = + z + .object({ + id: z.lazy(() => SortOrderSchema).optional(), + media_id: z.lazy(() => SortOrderSchema).optional(), + description: z.lazy(() => SortOrderSchema).optional(), + additionalInfo: z.lazy(() => SortOrderSchema).optional(), + state: z.lazy(() => SortOrderSchema).optional(), + }) + .strict(); + +export default MediaProcessingTaskCountOrderByAggregateInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/MediaProcessingTaskCreateInputSchema.ts b/utility/prisma/types/inputTypeSchemas/MediaProcessingTaskCreateInputSchema.ts new file mode 100644 index 00000000..8d0a29bd --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/MediaProcessingTaskCreateInputSchema.ts @@ -0,0 +1,16 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { MediaProcessingTaskStateSchema } from "./MediaProcessingTaskStateSchema"; +import { MediaCreateNestedOneWithoutTasksInputSchema } from "./MediaCreateNestedOneWithoutTasksInputSchema"; + +export const MediaProcessingTaskCreateInputSchema: z.ZodType = + z + .object({ + description: z.string(), + additionalInfo: z.string().optional(), + state: z.lazy(() => MediaProcessingTaskStateSchema).optional(), + media: z.lazy(() => MediaCreateNestedOneWithoutTasksInputSchema), + }) + .strict(); + +export default MediaProcessingTaskCreateInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/MediaProcessingTaskCreateManyInputSchema.ts b/utility/prisma/types/inputTypeSchemas/MediaProcessingTaskCreateManyInputSchema.ts new file mode 100644 index 00000000..61c7ee42 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/MediaProcessingTaskCreateManyInputSchema.ts @@ -0,0 +1,16 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { MediaProcessingTaskStateSchema } from "./MediaProcessingTaskStateSchema"; + +export const MediaProcessingTaskCreateManyInputSchema: z.ZodType = + z + .object({ + id: z.number().int().optional(), + media_id: z.number().int(), + description: z.string(), + additionalInfo: z.string().optional(), + state: z.lazy(() => MediaProcessingTaskStateSchema).optional(), + }) + .strict(); + +export default MediaProcessingTaskCreateManyInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/MediaProcessingTaskCreateManyMediaInputEnvelopeSchema.ts b/utility/prisma/types/inputTypeSchemas/MediaProcessingTaskCreateManyMediaInputEnvelopeSchema.ts new file mode 100644 index 00000000..8a4664ad --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/MediaProcessingTaskCreateManyMediaInputEnvelopeSchema.ts @@ -0,0 +1,16 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { MediaProcessingTaskCreateManyMediaInputSchema } from "./MediaProcessingTaskCreateManyMediaInputSchema"; + +export const MediaProcessingTaskCreateManyMediaInputEnvelopeSchema: z.ZodType = + z + .object({ + data: z.union([ + z.lazy(() => MediaProcessingTaskCreateManyMediaInputSchema), + z.lazy(() => MediaProcessingTaskCreateManyMediaInputSchema).array(), + ]), + skipDuplicates: z.boolean().optional(), + }) + .strict(); + +export default MediaProcessingTaskCreateManyMediaInputEnvelopeSchema; diff --git a/utility/prisma/types/inputTypeSchemas/MediaProcessingTaskCreateManyMediaInputSchema.ts b/utility/prisma/types/inputTypeSchemas/MediaProcessingTaskCreateManyMediaInputSchema.ts new file mode 100644 index 00000000..74297b33 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/MediaProcessingTaskCreateManyMediaInputSchema.ts @@ -0,0 +1,15 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { MediaProcessingTaskStateSchema } from "./MediaProcessingTaskStateSchema"; + +export const MediaProcessingTaskCreateManyMediaInputSchema: z.ZodType = + z + .object({ + id: z.number().int().optional(), + description: z.string(), + additionalInfo: z.string().optional(), + state: z.lazy(() => MediaProcessingTaskStateSchema).optional(), + }) + .strict(); + +export default MediaProcessingTaskCreateManyMediaInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/MediaProcessingTaskCreateNestedManyWithoutMediaInputSchema.ts b/utility/prisma/types/inputTypeSchemas/MediaProcessingTaskCreateNestedManyWithoutMediaInputSchema.ts new file mode 100644 index 00000000..569d80eb --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/MediaProcessingTaskCreateNestedManyWithoutMediaInputSchema.ts @@ -0,0 +1,52 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { MediaProcessingTaskCreateWithoutMediaInputSchema } from "./MediaProcessingTaskCreateWithoutMediaInputSchema"; +import { MediaProcessingTaskUncheckedCreateWithoutMediaInputSchema } from "./MediaProcessingTaskUncheckedCreateWithoutMediaInputSchema"; +import { MediaProcessingTaskCreateOrConnectWithoutMediaInputSchema } from "./MediaProcessingTaskCreateOrConnectWithoutMediaInputSchema"; +import { MediaProcessingTaskCreateManyMediaInputEnvelopeSchema } from "./MediaProcessingTaskCreateManyMediaInputEnvelopeSchema"; +import { MediaProcessingTaskWhereUniqueInputSchema } from "./MediaProcessingTaskWhereUniqueInputSchema"; + +export const MediaProcessingTaskCreateNestedManyWithoutMediaInputSchema: z.ZodType = + z + .object({ + create: z + .union([ + z.lazy(() => MediaProcessingTaskCreateWithoutMediaInputSchema), + z + .lazy(() => MediaProcessingTaskCreateWithoutMediaInputSchema) + .array(), + z.lazy( + () => MediaProcessingTaskUncheckedCreateWithoutMediaInputSchema, + ), + z + .lazy( + () => MediaProcessingTaskUncheckedCreateWithoutMediaInputSchema, + ) + .array(), + ]) + .optional(), + connectOrCreate: z + .union([ + z.lazy( + () => MediaProcessingTaskCreateOrConnectWithoutMediaInputSchema, + ), + z + .lazy( + () => MediaProcessingTaskCreateOrConnectWithoutMediaInputSchema, + ) + .array(), + ]) + .optional(), + createMany: z + .lazy(() => MediaProcessingTaskCreateManyMediaInputEnvelopeSchema) + .optional(), + connect: z + .union([ + z.lazy(() => MediaProcessingTaskWhereUniqueInputSchema), + z.lazy(() => MediaProcessingTaskWhereUniqueInputSchema).array(), + ]) + .optional(), + }) + .strict(); + +export default MediaProcessingTaskCreateNestedManyWithoutMediaInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/MediaProcessingTaskCreateOrConnectWithoutMediaInputSchema.ts b/utility/prisma/types/inputTypeSchemas/MediaProcessingTaskCreateOrConnectWithoutMediaInputSchema.ts new file mode 100644 index 00000000..6d1f9f43 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/MediaProcessingTaskCreateOrConnectWithoutMediaInputSchema.ts @@ -0,0 +1,18 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { MediaProcessingTaskWhereUniqueInputSchema } from "./MediaProcessingTaskWhereUniqueInputSchema"; +import { MediaProcessingTaskCreateWithoutMediaInputSchema } from "./MediaProcessingTaskCreateWithoutMediaInputSchema"; +import { MediaProcessingTaskUncheckedCreateWithoutMediaInputSchema } from "./MediaProcessingTaskUncheckedCreateWithoutMediaInputSchema"; + +export const MediaProcessingTaskCreateOrConnectWithoutMediaInputSchema: z.ZodType = + z + .object({ + where: z.lazy(() => MediaProcessingTaskWhereUniqueInputSchema), + create: z.union([ + z.lazy(() => MediaProcessingTaskCreateWithoutMediaInputSchema), + z.lazy(() => MediaProcessingTaskUncheckedCreateWithoutMediaInputSchema), + ]), + }) + .strict(); + +export default MediaProcessingTaskCreateOrConnectWithoutMediaInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/MediaProcessingTaskCreateWithoutMediaInputSchema.ts b/utility/prisma/types/inputTypeSchemas/MediaProcessingTaskCreateWithoutMediaInputSchema.ts new file mode 100644 index 00000000..2e091580 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/MediaProcessingTaskCreateWithoutMediaInputSchema.ts @@ -0,0 +1,14 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { MediaProcessingTaskStateSchema } from "./MediaProcessingTaskStateSchema"; + +export const MediaProcessingTaskCreateWithoutMediaInputSchema: z.ZodType = + z + .object({ + description: z.string(), + additionalInfo: z.string().optional(), + state: z.lazy(() => MediaProcessingTaskStateSchema).optional(), + }) + .strict(); + +export default MediaProcessingTaskCreateWithoutMediaInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/MediaProcessingTaskIncludeSchema.ts b/utility/prisma/types/inputTypeSchemas/MediaProcessingTaskIncludeSchema.ts new file mode 100644 index 00000000..c16859c3 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/MediaProcessingTaskIncludeSchema.ts @@ -0,0 +1,12 @@ +import { z } from "zod"; +import type { Prisma } from "../../client"; +import { MediaArgsSchema } from "../outputTypeSchemas/MediaArgsSchema"; + +export const MediaProcessingTaskIncludeSchema: z.ZodType = + z + .object({ + media: z.union([z.boolean(), z.lazy(() => MediaArgsSchema)]).optional(), + }) + .strict(); + +export default MediaProcessingTaskIncludeSchema; diff --git a/utility/prisma/types/inputTypeSchemas/MediaProcessingTaskListRelationFilterSchema.ts b/utility/prisma/types/inputTypeSchemas/MediaProcessingTaskListRelationFilterSchema.ts new file mode 100644 index 00000000..881c91f9 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/MediaProcessingTaskListRelationFilterSchema.ts @@ -0,0 +1,14 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { MediaProcessingTaskWhereInputSchema } from "./MediaProcessingTaskWhereInputSchema"; + +export const MediaProcessingTaskListRelationFilterSchema: z.ZodType = + z + .object({ + every: z.lazy(() => MediaProcessingTaskWhereInputSchema).optional(), + some: z.lazy(() => MediaProcessingTaskWhereInputSchema).optional(), + none: z.lazy(() => MediaProcessingTaskWhereInputSchema).optional(), + }) + .strict(); + +export default MediaProcessingTaskListRelationFilterSchema; diff --git a/utility/prisma/types/inputTypeSchemas/MediaProcessingTaskMaxOrderByAggregateInputSchema.ts b/utility/prisma/types/inputTypeSchemas/MediaProcessingTaskMaxOrderByAggregateInputSchema.ts new file mode 100644 index 00000000..ee715bf2 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/MediaProcessingTaskMaxOrderByAggregateInputSchema.ts @@ -0,0 +1,16 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { SortOrderSchema } from "./SortOrderSchema"; + +export const MediaProcessingTaskMaxOrderByAggregateInputSchema: z.ZodType = + z + .object({ + id: z.lazy(() => SortOrderSchema).optional(), + media_id: z.lazy(() => SortOrderSchema).optional(), + description: z.lazy(() => SortOrderSchema).optional(), + additionalInfo: z.lazy(() => SortOrderSchema).optional(), + state: z.lazy(() => SortOrderSchema).optional(), + }) + .strict(); + +export default MediaProcessingTaskMaxOrderByAggregateInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/MediaProcessingTaskMedia_idDescriptionCompoundUniqueInputSchema.ts b/utility/prisma/types/inputTypeSchemas/MediaProcessingTaskMedia_idDescriptionCompoundUniqueInputSchema.ts new file mode 100644 index 00000000..4b3661ca --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/MediaProcessingTaskMedia_idDescriptionCompoundUniqueInputSchema.ts @@ -0,0 +1,12 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; + +export const MediaProcessingTaskMedia_idDescriptionCompoundUniqueInputSchema: z.ZodType = + z + .object({ + media_id: z.number(), + description: z.string(), + }) + .strict(); + +export default MediaProcessingTaskMedia_idDescriptionCompoundUniqueInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/MediaProcessingTaskMinOrderByAggregateInputSchema.ts b/utility/prisma/types/inputTypeSchemas/MediaProcessingTaskMinOrderByAggregateInputSchema.ts new file mode 100644 index 00000000..7fcfb7b7 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/MediaProcessingTaskMinOrderByAggregateInputSchema.ts @@ -0,0 +1,16 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { SortOrderSchema } from "./SortOrderSchema"; + +export const MediaProcessingTaskMinOrderByAggregateInputSchema: z.ZodType = + z + .object({ + id: z.lazy(() => SortOrderSchema).optional(), + media_id: z.lazy(() => SortOrderSchema).optional(), + description: z.lazy(() => SortOrderSchema).optional(), + additionalInfo: z.lazy(() => SortOrderSchema).optional(), + state: z.lazy(() => SortOrderSchema).optional(), + }) + .strict(); + +export default MediaProcessingTaskMinOrderByAggregateInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/MediaProcessingTaskOrderByRelationAggregateInputSchema.ts b/utility/prisma/types/inputTypeSchemas/MediaProcessingTaskOrderByRelationAggregateInputSchema.ts new file mode 100644 index 00000000..3b6fd32f --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/MediaProcessingTaskOrderByRelationAggregateInputSchema.ts @@ -0,0 +1,12 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { SortOrderSchema } from "./SortOrderSchema"; + +export const MediaProcessingTaskOrderByRelationAggregateInputSchema: z.ZodType = + z + .object({ + _count: z.lazy(() => SortOrderSchema).optional(), + }) + .strict(); + +export default MediaProcessingTaskOrderByRelationAggregateInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/MediaProcessingTaskOrderByWithAggregationInputSchema.ts b/utility/prisma/types/inputTypeSchemas/MediaProcessingTaskOrderByWithAggregationInputSchema.ts new file mode 100644 index 00000000..b15ab69e --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/MediaProcessingTaskOrderByWithAggregationInputSchema.ts @@ -0,0 +1,36 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { SortOrderSchema } from "./SortOrderSchema"; +import { MediaProcessingTaskCountOrderByAggregateInputSchema } from "./MediaProcessingTaskCountOrderByAggregateInputSchema"; +import { MediaProcessingTaskAvgOrderByAggregateInputSchema } from "./MediaProcessingTaskAvgOrderByAggregateInputSchema"; +import { MediaProcessingTaskMaxOrderByAggregateInputSchema } from "./MediaProcessingTaskMaxOrderByAggregateInputSchema"; +import { MediaProcessingTaskMinOrderByAggregateInputSchema } from "./MediaProcessingTaskMinOrderByAggregateInputSchema"; +import { MediaProcessingTaskSumOrderByAggregateInputSchema } from "./MediaProcessingTaskSumOrderByAggregateInputSchema"; + +export const MediaProcessingTaskOrderByWithAggregationInputSchema: z.ZodType = + z + .object({ + id: z.lazy(() => SortOrderSchema).optional(), + media_id: z.lazy(() => SortOrderSchema).optional(), + description: z.lazy(() => SortOrderSchema).optional(), + additionalInfo: z.lazy(() => SortOrderSchema).optional(), + state: z.lazy(() => SortOrderSchema).optional(), + _count: z + .lazy(() => MediaProcessingTaskCountOrderByAggregateInputSchema) + .optional(), + _avg: z + .lazy(() => MediaProcessingTaskAvgOrderByAggregateInputSchema) + .optional(), + _max: z + .lazy(() => MediaProcessingTaskMaxOrderByAggregateInputSchema) + .optional(), + _min: z + .lazy(() => MediaProcessingTaskMinOrderByAggregateInputSchema) + .optional(), + _sum: z + .lazy(() => MediaProcessingTaskSumOrderByAggregateInputSchema) + .optional(), + }) + .strict(); + +export default MediaProcessingTaskOrderByWithAggregationInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/MediaProcessingTaskOrderByWithRelationInputSchema.ts b/utility/prisma/types/inputTypeSchemas/MediaProcessingTaskOrderByWithRelationInputSchema.ts new file mode 100644 index 00000000..1c5fc02e --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/MediaProcessingTaskOrderByWithRelationInputSchema.ts @@ -0,0 +1,18 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { SortOrderSchema } from "./SortOrderSchema"; +import { MediaOrderByWithRelationInputSchema } from "./MediaOrderByWithRelationInputSchema"; + +export const MediaProcessingTaskOrderByWithRelationInputSchema: z.ZodType = + z + .object({ + id: z.lazy(() => SortOrderSchema).optional(), + media_id: z.lazy(() => SortOrderSchema).optional(), + description: z.lazy(() => SortOrderSchema).optional(), + additionalInfo: z.lazy(() => SortOrderSchema).optional(), + state: z.lazy(() => SortOrderSchema).optional(), + media: z.lazy(() => MediaOrderByWithRelationInputSchema).optional(), + }) + .strict(); + +export default MediaProcessingTaskOrderByWithRelationInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/MediaProcessingTaskScalarWhereInputSchema.ts b/utility/prisma/types/inputTypeSchemas/MediaProcessingTaskScalarWhereInputSchema.ts new file mode 100644 index 00000000..251c51fe --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/MediaProcessingTaskScalarWhereInputSchema.ts @@ -0,0 +1,44 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { IntFilterSchema } from "./IntFilterSchema"; +import { StringFilterSchema } from "./StringFilterSchema"; +import { EnumMediaProcessingTaskStateFilterSchema } from "./EnumMediaProcessingTaskStateFilterSchema"; +import { MediaProcessingTaskStateSchema } from "./MediaProcessingTaskStateSchema"; + +export const MediaProcessingTaskScalarWhereInputSchema: z.ZodType = + z + .object({ + AND: z + .union([ + z.lazy(() => MediaProcessingTaskScalarWhereInputSchema), + z.lazy(() => MediaProcessingTaskScalarWhereInputSchema).array(), + ]) + .optional(), + OR: z + .lazy(() => MediaProcessingTaskScalarWhereInputSchema) + .array() + .optional(), + NOT: z + .union([ + z.lazy(() => MediaProcessingTaskScalarWhereInputSchema), + z.lazy(() => MediaProcessingTaskScalarWhereInputSchema).array(), + ]) + .optional(), + id: z.union([z.lazy(() => IntFilterSchema), z.number()]).optional(), + media_id: z.union([z.lazy(() => IntFilterSchema), z.number()]).optional(), + description: z + .union([z.lazy(() => StringFilterSchema), z.string()]) + .optional(), + additionalInfo: z + .union([z.lazy(() => StringFilterSchema), z.string()]) + .optional(), + state: z + .union([ + z.lazy(() => EnumMediaProcessingTaskStateFilterSchema), + z.lazy(() => MediaProcessingTaskStateSchema), + ]) + .optional(), + }) + .strict(); + +export default MediaProcessingTaskScalarWhereInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/MediaProcessingTaskScalarWhereWithAggregatesInputSchema.ts b/utility/prisma/types/inputTypeSchemas/MediaProcessingTaskScalarWhereWithAggregatesInputSchema.ts new file mode 100644 index 00000000..014b33a5 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/MediaProcessingTaskScalarWhereWithAggregatesInputSchema.ts @@ -0,0 +1,52 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { IntWithAggregatesFilterSchema } from "./IntWithAggregatesFilterSchema"; +import { StringWithAggregatesFilterSchema } from "./StringWithAggregatesFilterSchema"; +import { EnumMediaProcessingTaskStateWithAggregatesFilterSchema } from "./EnumMediaProcessingTaskStateWithAggregatesFilterSchema"; +import { MediaProcessingTaskStateSchema } from "./MediaProcessingTaskStateSchema"; + +export const MediaProcessingTaskScalarWhereWithAggregatesInputSchema: z.ZodType = + z + .object({ + AND: z + .union([ + z.lazy(() => MediaProcessingTaskScalarWhereWithAggregatesInputSchema), + z + .lazy(() => MediaProcessingTaskScalarWhereWithAggregatesInputSchema) + .array(), + ]) + .optional(), + OR: z + .lazy(() => MediaProcessingTaskScalarWhereWithAggregatesInputSchema) + .array() + .optional(), + NOT: z + .union([ + z.lazy(() => MediaProcessingTaskScalarWhereWithAggregatesInputSchema), + z + .lazy(() => MediaProcessingTaskScalarWhereWithAggregatesInputSchema) + .array(), + ]) + .optional(), + id: z + .union([z.lazy(() => IntWithAggregatesFilterSchema), z.number()]) + .optional(), + media_id: z + .union([z.lazy(() => IntWithAggregatesFilterSchema), z.number()]) + .optional(), + description: z + .union([z.lazy(() => StringWithAggregatesFilterSchema), z.string()]) + .optional(), + additionalInfo: z + .union([z.lazy(() => StringWithAggregatesFilterSchema), z.string()]) + .optional(), + state: z + .union([ + z.lazy(() => EnumMediaProcessingTaskStateWithAggregatesFilterSchema), + z.lazy(() => MediaProcessingTaskStateSchema), + ]) + .optional(), + }) + .strict(); + +export default MediaProcessingTaskScalarWhereWithAggregatesInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/MediaProcessingTaskSelectSchema.ts b/utility/prisma/types/inputTypeSchemas/MediaProcessingTaskSelectSchema.ts new file mode 100644 index 00000000..be16bc00 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/MediaProcessingTaskSelectSchema.ts @@ -0,0 +1,17 @@ +import { z } from "zod"; +import type { Prisma } from "../../client"; +import { MediaArgsSchema } from "../outputTypeSchemas/MediaArgsSchema"; + +export const MediaProcessingTaskSelectSchema: z.ZodType = + z + .object({ + id: z.boolean().optional(), + media_id: z.boolean().optional(), + description: z.boolean().optional(), + additionalInfo: z.boolean().optional(), + state: z.boolean().optional(), + media: z.union([z.boolean(), z.lazy(() => MediaArgsSchema)]).optional(), + }) + .strict(); + +export default MediaProcessingTaskSelectSchema; diff --git a/utility/prisma/types/inputTypeSchemas/MediaProcessingTaskSumOrderByAggregateInputSchema.ts b/utility/prisma/types/inputTypeSchemas/MediaProcessingTaskSumOrderByAggregateInputSchema.ts new file mode 100644 index 00000000..7ebe16f1 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/MediaProcessingTaskSumOrderByAggregateInputSchema.ts @@ -0,0 +1,13 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { SortOrderSchema } from "./SortOrderSchema"; + +export const MediaProcessingTaskSumOrderByAggregateInputSchema: z.ZodType = + z + .object({ + id: z.lazy(() => SortOrderSchema).optional(), + media_id: z.lazy(() => SortOrderSchema).optional(), + }) + .strict(); + +export default MediaProcessingTaskSumOrderByAggregateInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/MediaProcessingTaskUncheckedCreateInputSchema.ts b/utility/prisma/types/inputTypeSchemas/MediaProcessingTaskUncheckedCreateInputSchema.ts new file mode 100644 index 00000000..55264693 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/MediaProcessingTaskUncheckedCreateInputSchema.ts @@ -0,0 +1,16 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { MediaProcessingTaskStateSchema } from "./MediaProcessingTaskStateSchema"; + +export const MediaProcessingTaskUncheckedCreateInputSchema: z.ZodType = + z + .object({ + id: z.number().int().optional(), + media_id: z.number().int(), + description: z.string(), + additionalInfo: z.string().optional(), + state: z.lazy(() => MediaProcessingTaskStateSchema).optional(), + }) + .strict(); + +export default MediaProcessingTaskUncheckedCreateInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/MediaProcessingTaskUncheckedCreateNestedManyWithoutMediaInputSchema.ts b/utility/prisma/types/inputTypeSchemas/MediaProcessingTaskUncheckedCreateNestedManyWithoutMediaInputSchema.ts new file mode 100644 index 00000000..132d0609 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/MediaProcessingTaskUncheckedCreateNestedManyWithoutMediaInputSchema.ts @@ -0,0 +1,52 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { MediaProcessingTaskCreateWithoutMediaInputSchema } from "./MediaProcessingTaskCreateWithoutMediaInputSchema"; +import { MediaProcessingTaskUncheckedCreateWithoutMediaInputSchema } from "./MediaProcessingTaskUncheckedCreateWithoutMediaInputSchema"; +import { MediaProcessingTaskCreateOrConnectWithoutMediaInputSchema } from "./MediaProcessingTaskCreateOrConnectWithoutMediaInputSchema"; +import { MediaProcessingTaskCreateManyMediaInputEnvelopeSchema } from "./MediaProcessingTaskCreateManyMediaInputEnvelopeSchema"; +import { MediaProcessingTaskWhereUniqueInputSchema } from "./MediaProcessingTaskWhereUniqueInputSchema"; + +export const MediaProcessingTaskUncheckedCreateNestedManyWithoutMediaInputSchema: z.ZodType = + z + .object({ + create: z + .union([ + z.lazy(() => MediaProcessingTaskCreateWithoutMediaInputSchema), + z + .lazy(() => MediaProcessingTaskCreateWithoutMediaInputSchema) + .array(), + z.lazy( + () => MediaProcessingTaskUncheckedCreateWithoutMediaInputSchema, + ), + z + .lazy( + () => MediaProcessingTaskUncheckedCreateWithoutMediaInputSchema, + ) + .array(), + ]) + .optional(), + connectOrCreate: z + .union([ + z.lazy( + () => MediaProcessingTaskCreateOrConnectWithoutMediaInputSchema, + ), + z + .lazy( + () => MediaProcessingTaskCreateOrConnectWithoutMediaInputSchema, + ) + .array(), + ]) + .optional(), + createMany: z + .lazy(() => MediaProcessingTaskCreateManyMediaInputEnvelopeSchema) + .optional(), + connect: z + .union([ + z.lazy(() => MediaProcessingTaskWhereUniqueInputSchema), + z.lazy(() => MediaProcessingTaskWhereUniqueInputSchema).array(), + ]) + .optional(), + }) + .strict(); + +export default MediaProcessingTaskUncheckedCreateNestedManyWithoutMediaInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/MediaProcessingTaskUncheckedCreateWithoutMediaInputSchema.ts b/utility/prisma/types/inputTypeSchemas/MediaProcessingTaskUncheckedCreateWithoutMediaInputSchema.ts new file mode 100644 index 00000000..6c9edfdf --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/MediaProcessingTaskUncheckedCreateWithoutMediaInputSchema.ts @@ -0,0 +1,15 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { MediaProcessingTaskStateSchema } from "./MediaProcessingTaskStateSchema"; + +export const MediaProcessingTaskUncheckedCreateWithoutMediaInputSchema: z.ZodType = + z + .object({ + id: z.number().int().optional(), + description: z.string(), + additionalInfo: z.string().optional(), + state: z.lazy(() => MediaProcessingTaskStateSchema).optional(), + }) + .strict(); + +export default MediaProcessingTaskUncheckedCreateWithoutMediaInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/MediaProcessingTaskUncheckedUpdateInputSchema.ts b/utility/prisma/types/inputTypeSchemas/MediaProcessingTaskUncheckedUpdateInputSchema.ts new file mode 100644 index 00000000..89ffa232 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/MediaProcessingTaskUncheckedUpdateInputSchema.ts @@ -0,0 +1,46 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { IntFieldUpdateOperationsInputSchema } from "./IntFieldUpdateOperationsInputSchema"; +import { StringFieldUpdateOperationsInputSchema } from "./StringFieldUpdateOperationsInputSchema"; +import { MediaProcessingTaskStateSchema } from "./MediaProcessingTaskStateSchema"; +import { EnumMediaProcessingTaskStateFieldUpdateOperationsInputSchema } from "./EnumMediaProcessingTaskStateFieldUpdateOperationsInputSchema"; + +export const MediaProcessingTaskUncheckedUpdateInputSchema: z.ZodType = + z + .object({ + id: z + .union([ + z.number().int(), + z.lazy(() => IntFieldUpdateOperationsInputSchema), + ]) + .optional(), + media_id: z + .union([ + z.number().int(), + z.lazy(() => IntFieldUpdateOperationsInputSchema), + ]) + .optional(), + description: z + .union([ + z.string(), + z.lazy(() => StringFieldUpdateOperationsInputSchema), + ]) + .optional(), + additionalInfo: z + .union([ + z.string(), + z.lazy(() => StringFieldUpdateOperationsInputSchema), + ]) + .optional(), + state: z + .union([ + z.lazy(() => MediaProcessingTaskStateSchema), + z.lazy( + () => EnumMediaProcessingTaskStateFieldUpdateOperationsInputSchema, + ), + ]) + .optional(), + }) + .strict(); + +export default MediaProcessingTaskUncheckedUpdateInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/MediaProcessingTaskUncheckedUpdateManyInputSchema.ts b/utility/prisma/types/inputTypeSchemas/MediaProcessingTaskUncheckedUpdateManyInputSchema.ts new file mode 100644 index 00000000..5aa7f5c8 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/MediaProcessingTaskUncheckedUpdateManyInputSchema.ts @@ -0,0 +1,46 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { IntFieldUpdateOperationsInputSchema } from "./IntFieldUpdateOperationsInputSchema"; +import { StringFieldUpdateOperationsInputSchema } from "./StringFieldUpdateOperationsInputSchema"; +import { MediaProcessingTaskStateSchema } from "./MediaProcessingTaskStateSchema"; +import { EnumMediaProcessingTaskStateFieldUpdateOperationsInputSchema } from "./EnumMediaProcessingTaskStateFieldUpdateOperationsInputSchema"; + +export const MediaProcessingTaskUncheckedUpdateManyInputSchema: z.ZodType = + z + .object({ + id: z + .union([ + z.number().int(), + z.lazy(() => IntFieldUpdateOperationsInputSchema), + ]) + .optional(), + media_id: z + .union([ + z.number().int(), + z.lazy(() => IntFieldUpdateOperationsInputSchema), + ]) + .optional(), + description: z + .union([ + z.string(), + z.lazy(() => StringFieldUpdateOperationsInputSchema), + ]) + .optional(), + additionalInfo: z + .union([ + z.string(), + z.lazy(() => StringFieldUpdateOperationsInputSchema), + ]) + .optional(), + state: z + .union([ + z.lazy(() => MediaProcessingTaskStateSchema), + z.lazy( + () => EnumMediaProcessingTaskStateFieldUpdateOperationsInputSchema, + ), + ]) + .optional(), + }) + .strict(); + +export default MediaProcessingTaskUncheckedUpdateManyInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/MediaProcessingTaskUncheckedUpdateManyWithoutMediaInputSchema.ts b/utility/prisma/types/inputTypeSchemas/MediaProcessingTaskUncheckedUpdateManyWithoutMediaInputSchema.ts new file mode 100644 index 00000000..bb5a600a --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/MediaProcessingTaskUncheckedUpdateManyWithoutMediaInputSchema.ts @@ -0,0 +1,40 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { IntFieldUpdateOperationsInputSchema } from "./IntFieldUpdateOperationsInputSchema"; +import { StringFieldUpdateOperationsInputSchema } from "./StringFieldUpdateOperationsInputSchema"; +import { MediaProcessingTaskStateSchema } from "./MediaProcessingTaskStateSchema"; +import { EnumMediaProcessingTaskStateFieldUpdateOperationsInputSchema } from "./EnumMediaProcessingTaskStateFieldUpdateOperationsInputSchema"; + +export const MediaProcessingTaskUncheckedUpdateManyWithoutMediaInputSchema: z.ZodType = + z + .object({ + id: z + .union([ + z.number().int(), + z.lazy(() => IntFieldUpdateOperationsInputSchema), + ]) + .optional(), + description: z + .union([ + z.string(), + z.lazy(() => StringFieldUpdateOperationsInputSchema), + ]) + .optional(), + additionalInfo: z + .union([ + z.string(), + z.lazy(() => StringFieldUpdateOperationsInputSchema), + ]) + .optional(), + state: z + .union([ + z.lazy(() => MediaProcessingTaskStateSchema), + z.lazy( + () => EnumMediaProcessingTaskStateFieldUpdateOperationsInputSchema, + ), + ]) + .optional(), + }) + .strict(); + +export default MediaProcessingTaskUncheckedUpdateManyWithoutMediaInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/MediaProcessingTaskUncheckedUpdateManyWithoutMediaNestedInputSchema.ts b/utility/prisma/types/inputTypeSchemas/MediaProcessingTaskUncheckedUpdateManyWithoutMediaNestedInputSchema.ts new file mode 100644 index 00000000..abb5b84f --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/MediaProcessingTaskUncheckedUpdateManyWithoutMediaNestedInputSchema.ts @@ -0,0 +1,121 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { MediaProcessingTaskCreateWithoutMediaInputSchema } from "./MediaProcessingTaskCreateWithoutMediaInputSchema"; +import { MediaProcessingTaskUncheckedCreateWithoutMediaInputSchema } from "./MediaProcessingTaskUncheckedCreateWithoutMediaInputSchema"; +import { MediaProcessingTaskCreateOrConnectWithoutMediaInputSchema } from "./MediaProcessingTaskCreateOrConnectWithoutMediaInputSchema"; +import { MediaProcessingTaskUpsertWithWhereUniqueWithoutMediaInputSchema } from "./MediaProcessingTaskUpsertWithWhereUniqueWithoutMediaInputSchema"; +import { MediaProcessingTaskCreateManyMediaInputEnvelopeSchema } from "./MediaProcessingTaskCreateManyMediaInputEnvelopeSchema"; +import { MediaProcessingTaskWhereUniqueInputSchema } from "./MediaProcessingTaskWhereUniqueInputSchema"; +import { MediaProcessingTaskUpdateWithWhereUniqueWithoutMediaInputSchema } from "./MediaProcessingTaskUpdateWithWhereUniqueWithoutMediaInputSchema"; +import { MediaProcessingTaskUpdateManyWithWhereWithoutMediaInputSchema } from "./MediaProcessingTaskUpdateManyWithWhereWithoutMediaInputSchema"; +import { MediaProcessingTaskScalarWhereInputSchema } from "./MediaProcessingTaskScalarWhereInputSchema"; + +export const MediaProcessingTaskUncheckedUpdateManyWithoutMediaNestedInputSchema: z.ZodType = + z + .object({ + create: z + .union([ + z.lazy(() => MediaProcessingTaskCreateWithoutMediaInputSchema), + z + .lazy(() => MediaProcessingTaskCreateWithoutMediaInputSchema) + .array(), + z.lazy( + () => MediaProcessingTaskUncheckedCreateWithoutMediaInputSchema, + ), + z + .lazy( + () => MediaProcessingTaskUncheckedCreateWithoutMediaInputSchema, + ) + .array(), + ]) + .optional(), + connectOrCreate: z + .union([ + z.lazy( + () => MediaProcessingTaskCreateOrConnectWithoutMediaInputSchema, + ), + z + .lazy( + () => MediaProcessingTaskCreateOrConnectWithoutMediaInputSchema, + ) + .array(), + ]) + .optional(), + upsert: z + .union([ + z.lazy( + () => + MediaProcessingTaskUpsertWithWhereUniqueWithoutMediaInputSchema, + ), + z + .lazy( + () => + MediaProcessingTaskUpsertWithWhereUniqueWithoutMediaInputSchema, + ) + .array(), + ]) + .optional(), + createMany: z + .lazy(() => MediaProcessingTaskCreateManyMediaInputEnvelopeSchema) + .optional(), + set: z + .union([ + z.lazy(() => MediaProcessingTaskWhereUniqueInputSchema), + z.lazy(() => MediaProcessingTaskWhereUniqueInputSchema).array(), + ]) + .optional(), + disconnect: z + .union([ + z.lazy(() => MediaProcessingTaskWhereUniqueInputSchema), + z.lazy(() => MediaProcessingTaskWhereUniqueInputSchema).array(), + ]) + .optional(), + delete: z + .union([ + z.lazy(() => MediaProcessingTaskWhereUniqueInputSchema), + z.lazy(() => MediaProcessingTaskWhereUniqueInputSchema).array(), + ]) + .optional(), + connect: z + .union([ + z.lazy(() => MediaProcessingTaskWhereUniqueInputSchema), + z.lazy(() => MediaProcessingTaskWhereUniqueInputSchema).array(), + ]) + .optional(), + update: z + .union([ + z.lazy( + () => + MediaProcessingTaskUpdateWithWhereUniqueWithoutMediaInputSchema, + ), + z + .lazy( + () => + MediaProcessingTaskUpdateWithWhereUniqueWithoutMediaInputSchema, + ) + .array(), + ]) + .optional(), + updateMany: z + .union([ + z.lazy( + () => MediaProcessingTaskUpdateManyWithWhereWithoutMediaInputSchema, + ), + z + .lazy( + () => + MediaProcessingTaskUpdateManyWithWhereWithoutMediaInputSchema, + ) + .array(), + ]) + .optional(), + deleteMany: z + .union([ + z.lazy(() => MediaProcessingTaskScalarWhereInputSchema), + z.lazy(() => MediaProcessingTaskScalarWhereInputSchema).array(), + ]) + .optional(), + }) + .strict(); + +export default MediaProcessingTaskUncheckedUpdateManyWithoutMediaNestedInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/MediaProcessingTaskUncheckedUpdateWithoutMediaInputSchema.ts b/utility/prisma/types/inputTypeSchemas/MediaProcessingTaskUncheckedUpdateWithoutMediaInputSchema.ts new file mode 100644 index 00000000..e59564b0 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/MediaProcessingTaskUncheckedUpdateWithoutMediaInputSchema.ts @@ -0,0 +1,40 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { IntFieldUpdateOperationsInputSchema } from "./IntFieldUpdateOperationsInputSchema"; +import { StringFieldUpdateOperationsInputSchema } from "./StringFieldUpdateOperationsInputSchema"; +import { MediaProcessingTaskStateSchema } from "./MediaProcessingTaskStateSchema"; +import { EnumMediaProcessingTaskStateFieldUpdateOperationsInputSchema } from "./EnumMediaProcessingTaskStateFieldUpdateOperationsInputSchema"; + +export const MediaProcessingTaskUncheckedUpdateWithoutMediaInputSchema: z.ZodType = + z + .object({ + id: z + .union([ + z.number().int(), + z.lazy(() => IntFieldUpdateOperationsInputSchema), + ]) + .optional(), + description: z + .union([ + z.string(), + z.lazy(() => StringFieldUpdateOperationsInputSchema), + ]) + .optional(), + additionalInfo: z + .union([ + z.string(), + z.lazy(() => StringFieldUpdateOperationsInputSchema), + ]) + .optional(), + state: z + .union([ + z.lazy(() => MediaProcessingTaskStateSchema), + z.lazy( + () => EnumMediaProcessingTaskStateFieldUpdateOperationsInputSchema, + ), + ]) + .optional(), + }) + .strict(); + +export default MediaProcessingTaskUncheckedUpdateWithoutMediaInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/MediaProcessingTaskUpdateInputSchema.ts b/utility/prisma/types/inputTypeSchemas/MediaProcessingTaskUpdateInputSchema.ts new file mode 100644 index 00000000..6686a322 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/MediaProcessingTaskUpdateInputSchema.ts @@ -0,0 +1,37 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { StringFieldUpdateOperationsInputSchema } from "./StringFieldUpdateOperationsInputSchema"; +import { MediaProcessingTaskStateSchema } from "./MediaProcessingTaskStateSchema"; +import { EnumMediaProcessingTaskStateFieldUpdateOperationsInputSchema } from "./EnumMediaProcessingTaskStateFieldUpdateOperationsInputSchema"; +import { MediaUpdateOneRequiredWithoutTasksNestedInputSchema } from "./MediaUpdateOneRequiredWithoutTasksNestedInputSchema"; + +export const MediaProcessingTaskUpdateInputSchema: z.ZodType = + z + .object({ + description: z + .union([ + z.string(), + z.lazy(() => StringFieldUpdateOperationsInputSchema), + ]) + .optional(), + additionalInfo: z + .union([ + z.string(), + z.lazy(() => StringFieldUpdateOperationsInputSchema), + ]) + .optional(), + state: z + .union([ + z.lazy(() => MediaProcessingTaskStateSchema), + z.lazy( + () => EnumMediaProcessingTaskStateFieldUpdateOperationsInputSchema, + ), + ]) + .optional(), + media: z + .lazy(() => MediaUpdateOneRequiredWithoutTasksNestedInputSchema) + .optional(), + }) + .strict(); + +export default MediaProcessingTaskUpdateInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/MediaProcessingTaskUpdateManyMutationInputSchema.ts b/utility/prisma/types/inputTypeSchemas/MediaProcessingTaskUpdateManyMutationInputSchema.ts new file mode 100644 index 00000000..5a710abe --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/MediaProcessingTaskUpdateManyMutationInputSchema.ts @@ -0,0 +1,33 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { StringFieldUpdateOperationsInputSchema } from "./StringFieldUpdateOperationsInputSchema"; +import { MediaProcessingTaskStateSchema } from "./MediaProcessingTaskStateSchema"; +import { EnumMediaProcessingTaskStateFieldUpdateOperationsInputSchema } from "./EnumMediaProcessingTaskStateFieldUpdateOperationsInputSchema"; + +export const MediaProcessingTaskUpdateManyMutationInputSchema: z.ZodType = + z + .object({ + description: z + .union([ + z.string(), + z.lazy(() => StringFieldUpdateOperationsInputSchema), + ]) + .optional(), + additionalInfo: z + .union([ + z.string(), + z.lazy(() => StringFieldUpdateOperationsInputSchema), + ]) + .optional(), + state: z + .union([ + z.lazy(() => MediaProcessingTaskStateSchema), + z.lazy( + () => EnumMediaProcessingTaskStateFieldUpdateOperationsInputSchema, + ), + ]) + .optional(), + }) + .strict(); + +export default MediaProcessingTaskUpdateManyMutationInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/MediaProcessingTaskUpdateManyWithWhereWithoutMediaInputSchema.ts b/utility/prisma/types/inputTypeSchemas/MediaProcessingTaskUpdateManyWithWhereWithoutMediaInputSchema.ts new file mode 100644 index 00000000..fac65792 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/MediaProcessingTaskUpdateManyWithWhereWithoutMediaInputSchema.ts @@ -0,0 +1,20 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { MediaProcessingTaskScalarWhereInputSchema } from "./MediaProcessingTaskScalarWhereInputSchema"; +import { MediaProcessingTaskUpdateManyMutationInputSchema } from "./MediaProcessingTaskUpdateManyMutationInputSchema"; +import { MediaProcessingTaskUncheckedUpdateManyWithoutMediaInputSchema } from "./MediaProcessingTaskUncheckedUpdateManyWithoutMediaInputSchema"; + +export const MediaProcessingTaskUpdateManyWithWhereWithoutMediaInputSchema: z.ZodType = + z + .object({ + where: z.lazy(() => MediaProcessingTaskScalarWhereInputSchema), + data: z.union([ + z.lazy(() => MediaProcessingTaskUpdateManyMutationInputSchema), + z.lazy( + () => MediaProcessingTaskUncheckedUpdateManyWithoutMediaInputSchema, + ), + ]), + }) + .strict(); + +export default MediaProcessingTaskUpdateManyWithWhereWithoutMediaInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/MediaProcessingTaskUpdateManyWithoutMediaNestedInputSchema.ts b/utility/prisma/types/inputTypeSchemas/MediaProcessingTaskUpdateManyWithoutMediaNestedInputSchema.ts new file mode 100644 index 00000000..cdf56761 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/MediaProcessingTaskUpdateManyWithoutMediaNestedInputSchema.ts @@ -0,0 +1,121 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { MediaProcessingTaskCreateWithoutMediaInputSchema } from "./MediaProcessingTaskCreateWithoutMediaInputSchema"; +import { MediaProcessingTaskUncheckedCreateWithoutMediaInputSchema } from "./MediaProcessingTaskUncheckedCreateWithoutMediaInputSchema"; +import { MediaProcessingTaskCreateOrConnectWithoutMediaInputSchema } from "./MediaProcessingTaskCreateOrConnectWithoutMediaInputSchema"; +import { MediaProcessingTaskUpsertWithWhereUniqueWithoutMediaInputSchema } from "./MediaProcessingTaskUpsertWithWhereUniqueWithoutMediaInputSchema"; +import { MediaProcessingTaskCreateManyMediaInputEnvelopeSchema } from "./MediaProcessingTaskCreateManyMediaInputEnvelopeSchema"; +import { MediaProcessingTaskWhereUniqueInputSchema } from "./MediaProcessingTaskWhereUniqueInputSchema"; +import { MediaProcessingTaskUpdateWithWhereUniqueWithoutMediaInputSchema } from "./MediaProcessingTaskUpdateWithWhereUniqueWithoutMediaInputSchema"; +import { MediaProcessingTaskUpdateManyWithWhereWithoutMediaInputSchema } from "./MediaProcessingTaskUpdateManyWithWhereWithoutMediaInputSchema"; +import { MediaProcessingTaskScalarWhereInputSchema } from "./MediaProcessingTaskScalarWhereInputSchema"; + +export const MediaProcessingTaskUpdateManyWithoutMediaNestedInputSchema: z.ZodType = + z + .object({ + create: z + .union([ + z.lazy(() => MediaProcessingTaskCreateWithoutMediaInputSchema), + z + .lazy(() => MediaProcessingTaskCreateWithoutMediaInputSchema) + .array(), + z.lazy( + () => MediaProcessingTaskUncheckedCreateWithoutMediaInputSchema, + ), + z + .lazy( + () => MediaProcessingTaskUncheckedCreateWithoutMediaInputSchema, + ) + .array(), + ]) + .optional(), + connectOrCreate: z + .union([ + z.lazy( + () => MediaProcessingTaskCreateOrConnectWithoutMediaInputSchema, + ), + z + .lazy( + () => MediaProcessingTaskCreateOrConnectWithoutMediaInputSchema, + ) + .array(), + ]) + .optional(), + upsert: z + .union([ + z.lazy( + () => + MediaProcessingTaskUpsertWithWhereUniqueWithoutMediaInputSchema, + ), + z + .lazy( + () => + MediaProcessingTaskUpsertWithWhereUniqueWithoutMediaInputSchema, + ) + .array(), + ]) + .optional(), + createMany: z + .lazy(() => MediaProcessingTaskCreateManyMediaInputEnvelopeSchema) + .optional(), + set: z + .union([ + z.lazy(() => MediaProcessingTaskWhereUniqueInputSchema), + z.lazy(() => MediaProcessingTaskWhereUniqueInputSchema).array(), + ]) + .optional(), + disconnect: z + .union([ + z.lazy(() => MediaProcessingTaskWhereUniqueInputSchema), + z.lazy(() => MediaProcessingTaskWhereUniqueInputSchema).array(), + ]) + .optional(), + delete: z + .union([ + z.lazy(() => MediaProcessingTaskWhereUniqueInputSchema), + z.lazy(() => MediaProcessingTaskWhereUniqueInputSchema).array(), + ]) + .optional(), + connect: z + .union([ + z.lazy(() => MediaProcessingTaskWhereUniqueInputSchema), + z.lazy(() => MediaProcessingTaskWhereUniqueInputSchema).array(), + ]) + .optional(), + update: z + .union([ + z.lazy( + () => + MediaProcessingTaskUpdateWithWhereUniqueWithoutMediaInputSchema, + ), + z + .lazy( + () => + MediaProcessingTaskUpdateWithWhereUniqueWithoutMediaInputSchema, + ) + .array(), + ]) + .optional(), + updateMany: z + .union([ + z.lazy( + () => MediaProcessingTaskUpdateManyWithWhereWithoutMediaInputSchema, + ), + z + .lazy( + () => + MediaProcessingTaskUpdateManyWithWhereWithoutMediaInputSchema, + ) + .array(), + ]) + .optional(), + deleteMany: z + .union([ + z.lazy(() => MediaProcessingTaskScalarWhereInputSchema), + z.lazy(() => MediaProcessingTaskScalarWhereInputSchema).array(), + ]) + .optional(), + }) + .strict(); + +export default MediaProcessingTaskUpdateManyWithoutMediaNestedInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/MediaProcessingTaskUpdateWithWhereUniqueWithoutMediaInputSchema.ts b/utility/prisma/types/inputTypeSchemas/MediaProcessingTaskUpdateWithWhereUniqueWithoutMediaInputSchema.ts new file mode 100644 index 00000000..11d4ee83 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/MediaProcessingTaskUpdateWithWhereUniqueWithoutMediaInputSchema.ts @@ -0,0 +1,18 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { MediaProcessingTaskWhereUniqueInputSchema } from "./MediaProcessingTaskWhereUniqueInputSchema"; +import { MediaProcessingTaskUpdateWithoutMediaInputSchema } from "./MediaProcessingTaskUpdateWithoutMediaInputSchema"; +import { MediaProcessingTaskUncheckedUpdateWithoutMediaInputSchema } from "./MediaProcessingTaskUncheckedUpdateWithoutMediaInputSchema"; + +export const MediaProcessingTaskUpdateWithWhereUniqueWithoutMediaInputSchema: z.ZodType = + z + .object({ + where: z.lazy(() => MediaProcessingTaskWhereUniqueInputSchema), + data: z.union([ + z.lazy(() => MediaProcessingTaskUpdateWithoutMediaInputSchema), + z.lazy(() => MediaProcessingTaskUncheckedUpdateWithoutMediaInputSchema), + ]), + }) + .strict(); + +export default MediaProcessingTaskUpdateWithWhereUniqueWithoutMediaInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/MediaProcessingTaskUpdateWithoutMediaInputSchema.ts b/utility/prisma/types/inputTypeSchemas/MediaProcessingTaskUpdateWithoutMediaInputSchema.ts new file mode 100644 index 00000000..e77d18a9 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/MediaProcessingTaskUpdateWithoutMediaInputSchema.ts @@ -0,0 +1,33 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { StringFieldUpdateOperationsInputSchema } from "./StringFieldUpdateOperationsInputSchema"; +import { MediaProcessingTaskStateSchema } from "./MediaProcessingTaskStateSchema"; +import { EnumMediaProcessingTaskStateFieldUpdateOperationsInputSchema } from "./EnumMediaProcessingTaskStateFieldUpdateOperationsInputSchema"; + +export const MediaProcessingTaskUpdateWithoutMediaInputSchema: z.ZodType = + z + .object({ + description: z + .union([ + z.string(), + z.lazy(() => StringFieldUpdateOperationsInputSchema), + ]) + .optional(), + additionalInfo: z + .union([ + z.string(), + z.lazy(() => StringFieldUpdateOperationsInputSchema), + ]) + .optional(), + state: z + .union([ + z.lazy(() => MediaProcessingTaskStateSchema), + z.lazy( + () => EnumMediaProcessingTaskStateFieldUpdateOperationsInputSchema, + ), + ]) + .optional(), + }) + .strict(); + +export default MediaProcessingTaskUpdateWithoutMediaInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/MediaProcessingTaskUpsertWithWhereUniqueWithoutMediaInputSchema.ts b/utility/prisma/types/inputTypeSchemas/MediaProcessingTaskUpsertWithWhereUniqueWithoutMediaInputSchema.ts new file mode 100644 index 00000000..aef5f150 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/MediaProcessingTaskUpsertWithWhereUniqueWithoutMediaInputSchema.ts @@ -0,0 +1,24 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { MediaProcessingTaskWhereUniqueInputSchema } from "./MediaProcessingTaskWhereUniqueInputSchema"; +import { MediaProcessingTaskUpdateWithoutMediaInputSchema } from "./MediaProcessingTaskUpdateWithoutMediaInputSchema"; +import { MediaProcessingTaskUncheckedUpdateWithoutMediaInputSchema } from "./MediaProcessingTaskUncheckedUpdateWithoutMediaInputSchema"; +import { MediaProcessingTaskCreateWithoutMediaInputSchema } from "./MediaProcessingTaskCreateWithoutMediaInputSchema"; +import { MediaProcessingTaskUncheckedCreateWithoutMediaInputSchema } from "./MediaProcessingTaskUncheckedCreateWithoutMediaInputSchema"; + +export const MediaProcessingTaskUpsertWithWhereUniqueWithoutMediaInputSchema: z.ZodType = + z + .object({ + where: z.lazy(() => MediaProcessingTaskWhereUniqueInputSchema), + update: z.union([ + z.lazy(() => MediaProcessingTaskUpdateWithoutMediaInputSchema), + z.lazy(() => MediaProcessingTaskUncheckedUpdateWithoutMediaInputSchema), + ]), + create: z.union([ + z.lazy(() => MediaProcessingTaskCreateWithoutMediaInputSchema), + z.lazy(() => MediaProcessingTaskUncheckedCreateWithoutMediaInputSchema), + ]), + }) + .strict(); + +export default MediaProcessingTaskUpsertWithWhereUniqueWithoutMediaInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/MediaProcessingTaskWhereInputSchema.ts b/utility/prisma/types/inputTypeSchemas/MediaProcessingTaskWhereInputSchema.ts new file mode 100644 index 00000000..ef5dc8f7 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/MediaProcessingTaskWhereInputSchema.ts @@ -0,0 +1,52 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { IntFilterSchema } from "./IntFilterSchema"; +import { StringFilterSchema } from "./StringFilterSchema"; +import { EnumMediaProcessingTaskStateFilterSchema } from "./EnumMediaProcessingTaskStateFilterSchema"; +import { MediaProcessingTaskStateSchema } from "./MediaProcessingTaskStateSchema"; +import { MediaRelationFilterSchema } from "./MediaRelationFilterSchema"; +import { MediaWhereInputSchema } from "./MediaWhereInputSchema"; + +export const MediaProcessingTaskWhereInputSchema: z.ZodType = + z + .object({ + AND: z + .union([ + z.lazy(() => MediaProcessingTaskWhereInputSchema), + z.lazy(() => MediaProcessingTaskWhereInputSchema).array(), + ]) + .optional(), + OR: z + .lazy(() => MediaProcessingTaskWhereInputSchema) + .array() + .optional(), + NOT: z + .union([ + z.lazy(() => MediaProcessingTaskWhereInputSchema), + z.lazy(() => MediaProcessingTaskWhereInputSchema).array(), + ]) + .optional(), + id: z.union([z.lazy(() => IntFilterSchema), z.number()]).optional(), + media_id: z.union([z.lazy(() => IntFilterSchema), z.number()]).optional(), + description: z + .union([z.lazy(() => StringFilterSchema), z.string()]) + .optional(), + additionalInfo: z + .union([z.lazy(() => StringFilterSchema), z.string()]) + .optional(), + state: z + .union([ + z.lazy(() => EnumMediaProcessingTaskStateFilterSchema), + z.lazy(() => MediaProcessingTaskStateSchema), + ]) + .optional(), + media: z + .union([ + z.lazy(() => MediaRelationFilterSchema), + z.lazy(() => MediaWhereInputSchema), + ]) + .optional(), + }) + .strict(); + +export default MediaProcessingTaskWhereInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/MediaProcessingTaskWhereUniqueInputSchema.ts b/utility/prisma/types/inputTypeSchemas/MediaProcessingTaskWhereUniqueInputSchema.ts new file mode 100644 index 00000000..5d01db1d --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/MediaProcessingTaskWhereUniqueInputSchema.ts @@ -0,0 +1,81 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { MediaProcessingTaskMedia_idDescriptionCompoundUniqueInputSchema } from "./MediaProcessingTaskMedia_idDescriptionCompoundUniqueInputSchema"; +import { MediaProcessingTaskWhereInputSchema } from "./MediaProcessingTaskWhereInputSchema"; +import { IntFilterSchema } from "./IntFilterSchema"; +import { StringFilterSchema } from "./StringFilterSchema"; +import { EnumMediaProcessingTaskStateFilterSchema } from "./EnumMediaProcessingTaskStateFilterSchema"; +import { MediaProcessingTaskStateSchema } from "./MediaProcessingTaskStateSchema"; +import { MediaRelationFilterSchema } from "./MediaRelationFilterSchema"; +import { MediaWhereInputSchema } from "./MediaWhereInputSchema"; + +export const MediaProcessingTaskWhereUniqueInputSchema: z.ZodType = + z + .union([ + z.object({ + id: z.number(), + media_id_description: z.lazy( + () => MediaProcessingTaskMedia_idDescriptionCompoundUniqueInputSchema, + ), + }), + z.object({ + id: z.number(), + }), + z.object({ + media_id_description: z.lazy( + () => MediaProcessingTaskMedia_idDescriptionCompoundUniqueInputSchema, + ), + }), + ]) + .and( + z + .object({ + id: z.number().optional(), + media_id_description: z + .lazy( + () => + MediaProcessingTaskMedia_idDescriptionCompoundUniqueInputSchema, + ) + .optional(), + AND: z + .union([ + z.lazy(() => MediaProcessingTaskWhereInputSchema), + z.lazy(() => MediaProcessingTaskWhereInputSchema).array(), + ]) + .optional(), + OR: z + .lazy(() => MediaProcessingTaskWhereInputSchema) + .array() + .optional(), + NOT: z + .union([ + z.lazy(() => MediaProcessingTaskWhereInputSchema), + z.lazy(() => MediaProcessingTaskWhereInputSchema).array(), + ]) + .optional(), + media_id: z + .union([z.lazy(() => IntFilterSchema), z.number()]) + .optional(), + description: z + .union([z.lazy(() => StringFilterSchema), z.string()]) + .optional(), + additionalInfo: z + .union([z.lazy(() => StringFilterSchema), z.string()]) + .optional(), + state: z + .union([ + z.lazy(() => EnumMediaProcessingTaskStateFilterSchema), + z.lazy(() => MediaProcessingTaskStateSchema), + ]) + .optional(), + media: z + .union([ + z.lazy(() => MediaRelationFilterSchema), + z.lazy(() => MediaWhereInputSchema), + ]) + .optional(), + }) + .strict(), + ); + +export default MediaProcessingTaskWhereUniqueInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/MediaRelationFilterSchema.ts b/utility/prisma/types/inputTypeSchemas/MediaRelationFilterSchema.ts new file mode 100644 index 00000000..835f76cf --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/MediaRelationFilterSchema.ts @@ -0,0 +1,13 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { MediaWhereInputSchema } from "./MediaWhereInputSchema"; + +export const MediaRelationFilterSchema: z.ZodType = + z + .object({ + is: z.lazy(() => MediaWhereInputSchema).optional(), + isNot: z.lazy(() => MediaWhereInputSchema).optional(), + }) + .strict(); + +export default MediaRelationFilterSchema; diff --git a/utility/prisma/types/inputTypeSchemas/MediaScalarWhereWithAggregatesInputSchema.ts b/utility/prisma/types/inputTypeSchemas/MediaScalarWhereWithAggregatesInputSchema.ts new file mode 100644 index 00000000..40978b1c --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/MediaScalarWhereWithAggregatesInputSchema.ts @@ -0,0 +1,71 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { IntWithAggregatesFilterSchema } from "./IntWithAggregatesFilterSchema"; +import { StringWithAggregatesFilterSchema } from "./StringWithAggregatesFilterSchema"; +import { StringNullableWithAggregatesFilterSchema } from "./StringNullableWithAggregatesFilterSchema"; +import { EnumMediaStateWithAggregatesFilterSchema } from "./EnumMediaStateWithAggregatesFilterSchema"; +import { MediaStateSchema } from "./MediaStateSchema"; +import { IntNullableWithAggregatesFilterSchema } from "./IntNullableWithAggregatesFilterSchema"; + +export const MediaScalarWhereWithAggregatesInputSchema: z.ZodType = + z + .object({ + AND: z + .union([ + z.lazy(() => MediaScalarWhereWithAggregatesInputSchema), + z.lazy(() => MediaScalarWhereWithAggregatesInputSchema).array(), + ]) + .optional(), + OR: z + .lazy(() => MediaScalarWhereWithAggregatesInputSchema) + .array() + .optional(), + NOT: z + .union([ + z.lazy(() => MediaScalarWhereWithAggregatesInputSchema), + z.lazy(() => MediaScalarWhereWithAggregatesInputSchema).array(), + ]) + .optional(), + id: z + .union([z.lazy(() => IntWithAggregatesFilterSchema), z.number()]) + .optional(), + name: z + .union([z.lazy(() => StringWithAggregatesFilterSchema), z.string()]) + .optional(), + rawPath: z + .union([z.lazy(() => StringWithAggregatesFilterSchema), z.string()]) + .optional(), + path: z + .union([ + z.lazy(() => StringNullableWithAggregatesFilterSchema), + z.string(), + ]) + .optional() + .nullable(), + durationSeconds: z + .union([z.lazy(() => IntWithAggregatesFilterSchema), z.number()]) + .optional(), + state: z + .union([ + z.lazy(() => EnumMediaStateWithAggregatesFilterSchema), + z.lazy(() => MediaStateSchema), + ]) + .optional(), + rundownItemID: z + .union([ + z.lazy(() => IntNullableWithAggregatesFilterSchema), + z.number(), + ]) + .optional() + .nullable(), + continuityItemID: z + .union([ + z.lazy(() => IntNullableWithAggregatesFilterSchema), + z.number(), + ]) + .optional() + .nullable(), + }) + .strict(); + +export default MediaScalarWhereWithAggregatesInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/MediaSelectSchema.ts b/utility/prisma/types/inputTypeSchemas/MediaSelectSchema.ts new file mode 100644 index 00000000..80e7e937 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/MediaSelectSchema.ts @@ -0,0 +1,39 @@ +import { z } from "zod"; +import type { Prisma } from "../../client"; +import { RundownItemArgsSchema } from "../outputTypeSchemas/RundownItemArgsSchema"; +import { ContinuityItemArgsSchema } from "../outputTypeSchemas/ContinuityItemArgsSchema"; +import { MediaProcessingTaskFindManyArgsSchema } from "../outputTypeSchemas/MediaProcessingTaskFindManyArgsSchema"; +import { ProcessMediaJobFindManyArgsSchema } from "../outputTypeSchemas/ProcessMediaJobFindManyArgsSchema"; +import { AssetArgsSchema } from "../outputTypeSchemas/AssetArgsSchema"; +import { MediaCountOutputTypeArgsSchema } from "../outputTypeSchemas/MediaCountOutputTypeArgsSchema"; + +export const MediaSelectSchema: z.ZodType = z + .object({ + id: z.boolean().optional(), + name: z.boolean().optional(), + rawPath: z.boolean().optional(), + path: z.boolean().optional(), + durationSeconds: z.boolean().optional(), + state: z.boolean().optional(), + rundownItemID: z.boolean().optional(), + continuityItemID: z.boolean().optional(), + rundownItem: z + .union([z.boolean(), z.lazy(() => RundownItemArgsSchema)]) + .optional(), + continuityItem: z + .union([z.boolean(), z.lazy(() => ContinuityItemArgsSchema)]) + .optional(), + tasks: z + .union([z.boolean(), z.lazy(() => MediaProcessingTaskFindManyArgsSchema)]) + .optional(), + process_jobs: z + .union([z.boolean(), z.lazy(() => ProcessMediaJobFindManyArgsSchema)]) + .optional(), + asset: z.union([z.boolean(), z.lazy(() => AssetArgsSchema)]).optional(), + _count: z + .union([z.boolean(), z.lazy(() => MediaCountOutputTypeArgsSchema)]) + .optional(), + }) + .strict(); + +export default MediaSelectSchema; diff --git a/utility/prisma/types/inputTypeSchemas/MediaSumOrderByAggregateInputSchema.ts b/utility/prisma/types/inputTypeSchemas/MediaSumOrderByAggregateInputSchema.ts new file mode 100644 index 00000000..8db7488c --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/MediaSumOrderByAggregateInputSchema.ts @@ -0,0 +1,15 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { SortOrderSchema } from "./SortOrderSchema"; + +export const MediaSumOrderByAggregateInputSchema: z.ZodType = + z + .object({ + id: z.lazy(() => SortOrderSchema).optional(), + durationSeconds: z.lazy(() => SortOrderSchema).optional(), + rundownItemID: z.lazy(() => SortOrderSchema).optional(), + continuityItemID: z.lazy(() => SortOrderSchema).optional(), + }) + .strict(); + +export default MediaSumOrderByAggregateInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/MediaUncheckedCreateInputSchema.ts b/utility/prisma/types/inputTypeSchemas/MediaUncheckedCreateInputSchema.ts new file mode 100644 index 00000000..f7662a9d --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/MediaUncheckedCreateInputSchema.ts @@ -0,0 +1,36 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { MediaStateSchema } from "./MediaStateSchema"; +import { MediaProcessingTaskUncheckedCreateNestedManyWithoutMediaInputSchema } from "./MediaProcessingTaskUncheckedCreateNestedManyWithoutMediaInputSchema"; +import { ProcessMediaJobUncheckedCreateNestedManyWithoutMediaInputSchema } from "./ProcessMediaJobUncheckedCreateNestedManyWithoutMediaInputSchema"; +import { AssetUncheckedCreateNestedOneWithoutMediaInputSchema } from "./AssetUncheckedCreateNestedOneWithoutMediaInputSchema"; + +export const MediaUncheckedCreateInputSchema: z.ZodType = + z + .object({ + id: z.number().int().optional(), + name: z.string(), + rawPath: z.string(), + path: z.string().optional().nullable(), + durationSeconds: z.number().int(), + state: z.lazy(() => MediaStateSchema).optional(), + rundownItemID: z.number().int().optional().nullable(), + continuityItemID: z.number().int().optional().nullable(), + tasks: z + .lazy( + () => + MediaProcessingTaskUncheckedCreateNestedManyWithoutMediaInputSchema, + ) + .optional(), + process_jobs: z + .lazy( + () => ProcessMediaJobUncheckedCreateNestedManyWithoutMediaInputSchema, + ) + .optional(), + asset: z + .lazy(() => AssetUncheckedCreateNestedOneWithoutMediaInputSchema) + .optional(), + }) + .strict(); + +export default MediaUncheckedCreateInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/MediaUncheckedCreateNestedOneWithoutContinuityItemInputSchema.ts b/utility/prisma/types/inputTypeSchemas/MediaUncheckedCreateNestedOneWithoutContinuityItemInputSchema.ts new file mode 100644 index 00000000..2f0ee704 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/MediaUncheckedCreateNestedOneWithoutContinuityItemInputSchema.ts @@ -0,0 +1,24 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { MediaCreateWithoutContinuityItemInputSchema } from "./MediaCreateWithoutContinuityItemInputSchema"; +import { MediaUncheckedCreateWithoutContinuityItemInputSchema } from "./MediaUncheckedCreateWithoutContinuityItemInputSchema"; +import { MediaCreateOrConnectWithoutContinuityItemInputSchema } from "./MediaCreateOrConnectWithoutContinuityItemInputSchema"; +import { MediaWhereUniqueInputSchema } from "./MediaWhereUniqueInputSchema"; + +export const MediaUncheckedCreateNestedOneWithoutContinuityItemInputSchema: z.ZodType = + z + .object({ + create: z + .union([ + z.lazy(() => MediaCreateWithoutContinuityItemInputSchema), + z.lazy(() => MediaUncheckedCreateWithoutContinuityItemInputSchema), + ]) + .optional(), + connectOrCreate: z + .lazy(() => MediaCreateOrConnectWithoutContinuityItemInputSchema) + .optional(), + connect: z.lazy(() => MediaWhereUniqueInputSchema).optional(), + }) + .strict(); + +export default MediaUncheckedCreateNestedOneWithoutContinuityItemInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/MediaUncheckedCreateNestedOneWithoutRundownItemInputSchema.ts b/utility/prisma/types/inputTypeSchemas/MediaUncheckedCreateNestedOneWithoutRundownItemInputSchema.ts new file mode 100644 index 00000000..ca5f3cdd --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/MediaUncheckedCreateNestedOneWithoutRundownItemInputSchema.ts @@ -0,0 +1,24 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { MediaCreateWithoutRundownItemInputSchema } from "./MediaCreateWithoutRundownItemInputSchema"; +import { MediaUncheckedCreateWithoutRundownItemInputSchema } from "./MediaUncheckedCreateWithoutRundownItemInputSchema"; +import { MediaCreateOrConnectWithoutRundownItemInputSchema } from "./MediaCreateOrConnectWithoutRundownItemInputSchema"; +import { MediaWhereUniqueInputSchema } from "./MediaWhereUniqueInputSchema"; + +export const MediaUncheckedCreateNestedOneWithoutRundownItemInputSchema: z.ZodType = + z + .object({ + create: z + .union([ + z.lazy(() => MediaCreateWithoutRundownItemInputSchema), + z.lazy(() => MediaUncheckedCreateWithoutRundownItemInputSchema), + ]) + .optional(), + connectOrCreate: z + .lazy(() => MediaCreateOrConnectWithoutRundownItemInputSchema) + .optional(), + connect: z.lazy(() => MediaWhereUniqueInputSchema).optional(), + }) + .strict(); + +export default MediaUncheckedCreateNestedOneWithoutRundownItemInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/MediaUncheckedCreateWithoutAssetInputSchema.ts b/utility/prisma/types/inputTypeSchemas/MediaUncheckedCreateWithoutAssetInputSchema.ts new file mode 100644 index 00000000..3527600c --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/MediaUncheckedCreateWithoutAssetInputSchema.ts @@ -0,0 +1,32 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { MediaStateSchema } from "./MediaStateSchema"; +import { MediaProcessingTaskUncheckedCreateNestedManyWithoutMediaInputSchema } from "./MediaProcessingTaskUncheckedCreateNestedManyWithoutMediaInputSchema"; +import { ProcessMediaJobUncheckedCreateNestedManyWithoutMediaInputSchema } from "./ProcessMediaJobUncheckedCreateNestedManyWithoutMediaInputSchema"; + +export const MediaUncheckedCreateWithoutAssetInputSchema: z.ZodType = + z + .object({ + id: z.number().int().optional(), + name: z.string(), + rawPath: z.string(), + path: z.string().optional().nullable(), + durationSeconds: z.number().int(), + state: z.lazy(() => MediaStateSchema).optional(), + rundownItemID: z.number().int().optional().nullable(), + continuityItemID: z.number().int().optional().nullable(), + tasks: z + .lazy( + () => + MediaProcessingTaskUncheckedCreateNestedManyWithoutMediaInputSchema, + ) + .optional(), + process_jobs: z + .lazy( + () => ProcessMediaJobUncheckedCreateNestedManyWithoutMediaInputSchema, + ) + .optional(), + }) + .strict(); + +export default MediaUncheckedCreateWithoutAssetInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/MediaUncheckedCreateWithoutContinuityItemInputSchema.ts b/utility/prisma/types/inputTypeSchemas/MediaUncheckedCreateWithoutContinuityItemInputSchema.ts new file mode 100644 index 00000000..f6bf622b --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/MediaUncheckedCreateWithoutContinuityItemInputSchema.ts @@ -0,0 +1,35 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { MediaStateSchema } from "./MediaStateSchema"; +import { MediaProcessingTaskUncheckedCreateNestedManyWithoutMediaInputSchema } from "./MediaProcessingTaskUncheckedCreateNestedManyWithoutMediaInputSchema"; +import { ProcessMediaJobUncheckedCreateNestedManyWithoutMediaInputSchema } from "./ProcessMediaJobUncheckedCreateNestedManyWithoutMediaInputSchema"; +import { AssetUncheckedCreateNestedOneWithoutMediaInputSchema } from "./AssetUncheckedCreateNestedOneWithoutMediaInputSchema"; + +export const MediaUncheckedCreateWithoutContinuityItemInputSchema: z.ZodType = + z + .object({ + id: z.number().int().optional(), + name: z.string(), + rawPath: z.string(), + path: z.string().optional().nullable(), + durationSeconds: z.number().int(), + state: z.lazy(() => MediaStateSchema).optional(), + rundownItemID: z.number().int().optional().nullable(), + tasks: z + .lazy( + () => + MediaProcessingTaskUncheckedCreateNestedManyWithoutMediaInputSchema, + ) + .optional(), + process_jobs: z + .lazy( + () => ProcessMediaJobUncheckedCreateNestedManyWithoutMediaInputSchema, + ) + .optional(), + asset: z + .lazy(() => AssetUncheckedCreateNestedOneWithoutMediaInputSchema) + .optional(), + }) + .strict(); + +export default MediaUncheckedCreateWithoutContinuityItemInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/MediaUncheckedCreateWithoutProcess_jobsInputSchema.ts b/utility/prisma/types/inputTypeSchemas/MediaUncheckedCreateWithoutProcess_jobsInputSchema.ts new file mode 100644 index 00000000..579f09a4 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/MediaUncheckedCreateWithoutProcess_jobsInputSchema.ts @@ -0,0 +1,30 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { MediaStateSchema } from "./MediaStateSchema"; +import { MediaProcessingTaskUncheckedCreateNestedManyWithoutMediaInputSchema } from "./MediaProcessingTaskUncheckedCreateNestedManyWithoutMediaInputSchema"; +import { AssetUncheckedCreateNestedOneWithoutMediaInputSchema } from "./AssetUncheckedCreateNestedOneWithoutMediaInputSchema"; + +export const MediaUncheckedCreateWithoutProcess_jobsInputSchema: z.ZodType = + z + .object({ + id: z.number().int().optional(), + name: z.string(), + rawPath: z.string(), + path: z.string().optional().nullable(), + durationSeconds: z.number().int(), + state: z.lazy(() => MediaStateSchema).optional(), + rundownItemID: z.number().int().optional().nullable(), + continuityItemID: z.number().int().optional().nullable(), + tasks: z + .lazy( + () => + MediaProcessingTaskUncheckedCreateNestedManyWithoutMediaInputSchema, + ) + .optional(), + asset: z + .lazy(() => AssetUncheckedCreateNestedOneWithoutMediaInputSchema) + .optional(), + }) + .strict(); + +export default MediaUncheckedCreateWithoutProcess_jobsInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/MediaUncheckedCreateWithoutRundownItemInputSchema.ts b/utility/prisma/types/inputTypeSchemas/MediaUncheckedCreateWithoutRundownItemInputSchema.ts new file mode 100644 index 00000000..f9c45365 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/MediaUncheckedCreateWithoutRundownItemInputSchema.ts @@ -0,0 +1,35 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { MediaStateSchema } from "./MediaStateSchema"; +import { MediaProcessingTaskUncheckedCreateNestedManyWithoutMediaInputSchema } from "./MediaProcessingTaskUncheckedCreateNestedManyWithoutMediaInputSchema"; +import { ProcessMediaJobUncheckedCreateNestedManyWithoutMediaInputSchema } from "./ProcessMediaJobUncheckedCreateNestedManyWithoutMediaInputSchema"; +import { AssetUncheckedCreateNestedOneWithoutMediaInputSchema } from "./AssetUncheckedCreateNestedOneWithoutMediaInputSchema"; + +export const MediaUncheckedCreateWithoutRundownItemInputSchema: z.ZodType = + z + .object({ + id: z.number().int().optional(), + name: z.string(), + rawPath: z.string(), + path: z.string().optional().nullable(), + durationSeconds: z.number().int(), + state: z.lazy(() => MediaStateSchema).optional(), + continuityItemID: z.number().int().optional().nullable(), + tasks: z + .lazy( + () => + MediaProcessingTaskUncheckedCreateNestedManyWithoutMediaInputSchema, + ) + .optional(), + process_jobs: z + .lazy( + () => ProcessMediaJobUncheckedCreateNestedManyWithoutMediaInputSchema, + ) + .optional(), + asset: z + .lazy(() => AssetUncheckedCreateNestedOneWithoutMediaInputSchema) + .optional(), + }) + .strict(); + +export default MediaUncheckedCreateWithoutRundownItemInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/MediaUncheckedCreateWithoutTasksInputSchema.ts b/utility/prisma/types/inputTypeSchemas/MediaUncheckedCreateWithoutTasksInputSchema.ts new file mode 100644 index 00000000..7a5c2e21 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/MediaUncheckedCreateWithoutTasksInputSchema.ts @@ -0,0 +1,29 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { MediaStateSchema } from "./MediaStateSchema"; +import { ProcessMediaJobUncheckedCreateNestedManyWithoutMediaInputSchema } from "./ProcessMediaJobUncheckedCreateNestedManyWithoutMediaInputSchema"; +import { AssetUncheckedCreateNestedOneWithoutMediaInputSchema } from "./AssetUncheckedCreateNestedOneWithoutMediaInputSchema"; + +export const MediaUncheckedCreateWithoutTasksInputSchema: z.ZodType = + z + .object({ + id: z.number().int().optional(), + name: z.string(), + rawPath: z.string(), + path: z.string().optional().nullable(), + durationSeconds: z.number().int(), + state: z.lazy(() => MediaStateSchema).optional(), + rundownItemID: z.number().int().optional().nullable(), + continuityItemID: z.number().int().optional().nullable(), + process_jobs: z + .lazy( + () => ProcessMediaJobUncheckedCreateNestedManyWithoutMediaInputSchema, + ) + .optional(), + asset: z + .lazy(() => AssetUncheckedCreateNestedOneWithoutMediaInputSchema) + .optional(), + }) + .strict(); + +export default MediaUncheckedCreateWithoutTasksInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/MediaUncheckedUpdateInputSchema.ts b/utility/prisma/types/inputTypeSchemas/MediaUncheckedUpdateInputSchema.ts new file mode 100644 index 00000000..0455fbd4 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/MediaUncheckedUpdateInputSchema.ts @@ -0,0 +1,84 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { IntFieldUpdateOperationsInputSchema } from "./IntFieldUpdateOperationsInputSchema"; +import { StringFieldUpdateOperationsInputSchema } from "./StringFieldUpdateOperationsInputSchema"; +import { NullableStringFieldUpdateOperationsInputSchema } from "./NullableStringFieldUpdateOperationsInputSchema"; +import { MediaStateSchema } from "./MediaStateSchema"; +import { EnumMediaStateFieldUpdateOperationsInputSchema } from "./EnumMediaStateFieldUpdateOperationsInputSchema"; +import { NullableIntFieldUpdateOperationsInputSchema } from "./NullableIntFieldUpdateOperationsInputSchema"; +import { MediaProcessingTaskUncheckedUpdateManyWithoutMediaNestedInputSchema } from "./MediaProcessingTaskUncheckedUpdateManyWithoutMediaNestedInputSchema"; +import { ProcessMediaJobUncheckedUpdateManyWithoutMediaNestedInputSchema } from "./ProcessMediaJobUncheckedUpdateManyWithoutMediaNestedInputSchema"; +import { AssetUncheckedUpdateOneWithoutMediaNestedInputSchema } from "./AssetUncheckedUpdateOneWithoutMediaNestedInputSchema"; + +export const MediaUncheckedUpdateInputSchema: z.ZodType = + z + .object({ + id: z + .union([ + z.number().int(), + z.lazy(() => IntFieldUpdateOperationsInputSchema), + ]) + .optional(), + name: z + .union([ + z.string(), + z.lazy(() => StringFieldUpdateOperationsInputSchema), + ]) + .optional(), + rawPath: z + .union([ + z.string(), + z.lazy(() => StringFieldUpdateOperationsInputSchema), + ]) + .optional(), + path: z + .union([ + z.string(), + z.lazy(() => NullableStringFieldUpdateOperationsInputSchema), + ]) + .optional() + .nullable(), + durationSeconds: z + .union([ + z.number().int(), + z.lazy(() => IntFieldUpdateOperationsInputSchema), + ]) + .optional(), + state: z + .union([ + z.lazy(() => MediaStateSchema), + z.lazy(() => EnumMediaStateFieldUpdateOperationsInputSchema), + ]) + .optional(), + rundownItemID: z + .union([ + z.number().int(), + z.lazy(() => NullableIntFieldUpdateOperationsInputSchema), + ]) + .optional() + .nullable(), + continuityItemID: z + .union([ + z.number().int(), + z.lazy(() => NullableIntFieldUpdateOperationsInputSchema), + ]) + .optional() + .nullable(), + tasks: z + .lazy( + () => + MediaProcessingTaskUncheckedUpdateManyWithoutMediaNestedInputSchema, + ) + .optional(), + process_jobs: z + .lazy( + () => ProcessMediaJobUncheckedUpdateManyWithoutMediaNestedInputSchema, + ) + .optional(), + asset: z + .lazy(() => AssetUncheckedUpdateOneWithoutMediaNestedInputSchema) + .optional(), + }) + .strict(); + +export default MediaUncheckedUpdateInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/MediaUncheckedUpdateManyInputSchema.ts b/utility/prisma/types/inputTypeSchemas/MediaUncheckedUpdateManyInputSchema.ts new file mode 100644 index 00000000..8bc2a7a5 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/MediaUncheckedUpdateManyInputSchema.ts @@ -0,0 +1,67 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { IntFieldUpdateOperationsInputSchema } from "./IntFieldUpdateOperationsInputSchema"; +import { StringFieldUpdateOperationsInputSchema } from "./StringFieldUpdateOperationsInputSchema"; +import { NullableStringFieldUpdateOperationsInputSchema } from "./NullableStringFieldUpdateOperationsInputSchema"; +import { MediaStateSchema } from "./MediaStateSchema"; +import { EnumMediaStateFieldUpdateOperationsInputSchema } from "./EnumMediaStateFieldUpdateOperationsInputSchema"; +import { NullableIntFieldUpdateOperationsInputSchema } from "./NullableIntFieldUpdateOperationsInputSchema"; + +export const MediaUncheckedUpdateManyInputSchema: z.ZodType = + z + .object({ + id: z + .union([ + z.number().int(), + z.lazy(() => IntFieldUpdateOperationsInputSchema), + ]) + .optional(), + name: z + .union([ + z.string(), + z.lazy(() => StringFieldUpdateOperationsInputSchema), + ]) + .optional(), + rawPath: z + .union([ + z.string(), + z.lazy(() => StringFieldUpdateOperationsInputSchema), + ]) + .optional(), + path: z + .union([ + z.string(), + z.lazy(() => NullableStringFieldUpdateOperationsInputSchema), + ]) + .optional() + .nullable(), + durationSeconds: z + .union([ + z.number().int(), + z.lazy(() => IntFieldUpdateOperationsInputSchema), + ]) + .optional(), + state: z + .union([ + z.lazy(() => MediaStateSchema), + z.lazy(() => EnumMediaStateFieldUpdateOperationsInputSchema), + ]) + .optional(), + rundownItemID: z + .union([ + z.number().int(), + z.lazy(() => NullableIntFieldUpdateOperationsInputSchema), + ]) + .optional() + .nullable(), + continuityItemID: z + .union([ + z.number().int(), + z.lazy(() => NullableIntFieldUpdateOperationsInputSchema), + ]) + .optional() + .nullable(), + }) + .strict(); + +export default MediaUncheckedUpdateManyInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/MediaUncheckedUpdateOneWithoutContinuityItemNestedInputSchema.ts b/utility/prisma/types/inputTypeSchemas/MediaUncheckedUpdateOneWithoutContinuityItemNestedInputSchema.ts new file mode 100644 index 00000000..6c5a7618 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/MediaUncheckedUpdateOneWithoutContinuityItemNestedInputSchema.ts @@ -0,0 +1,47 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { MediaCreateWithoutContinuityItemInputSchema } from "./MediaCreateWithoutContinuityItemInputSchema"; +import { MediaUncheckedCreateWithoutContinuityItemInputSchema } from "./MediaUncheckedCreateWithoutContinuityItemInputSchema"; +import { MediaCreateOrConnectWithoutContinuityItemInputSchema } from "./MediaCreateOrConnectWithoutContinuityItemInputSchema"; +import { MediaUpsertWithoutContinuityItemInputSchema } from "./MediaUpsertWithoutContinuityItemInputSchema"; +import { MediaWhereInputSchema } from "./MediaWhereInputSchema"; +import { MediaWhereUniqueInputSchema } from "./MediaWhereUniqueInputSchema"; +import { MediaUpdateToOneWithWhereWithoutContinuityItemInputSchema } from "./MediaUpdateToOneWithWhereWithoutContinuityItemInputSchema"; +import { MediaUpdateWithoutContinuityItemInputSchema } from "./MediaUpdateWithoutContinuityItemInputSchema"; +import { MediaUncheckedUpdateWithoutContinuityItemInputSchema } from "./MediaUncheckedUpdateWithoutContinuityItemInputSchema"; + +export const MediaUncheckedUpdateOneWithoutContinuityItemNestedInputSchema: z.ZodType = + z + .object({ + create: z + .union([ + z.lazy(() => MediaCreateWithoutContinuityItemInputSchema), + z.lazy(() => MediaUncheckedCreateWithoutContinuityItemInputSchema), + ]) + .optional(), + connectOrCreate: z + .lazy(() => MediaCreateOrConnectWithoutContinuityItemInputSchema) + .optional(), + upsert: z + .lazy(() => MediaUpsertWithoutContinuityItemInputSchema) + .optional(), + disconnect: z + .union([z.boolean(), z.lazy(() => MediaWhereInputSchema)]) + .optional(), + delete: z + .union([z.boolean(), z.lazy(() => MediaWhereInputSchema)]) + .optional(), + connect: z.lazy(() => MediaWhereUniqueInputSchema).optional(), + update: z + .union([ + z.lazy( + () => MediaUpdateToOneWithWhereWithoutContinuityItemInputSchema, + ), + z.lazy(() => MediaUpdateWithoutContinuityItemInputSchema), + z.lazy(() => MediaUncheckedUpdateWithoutContinuityItemInputSchema), + ]) + .optional(), + }) + .strict(); + +export default MediaUncheckedUpdateOneWithoutContinuityItemNestedInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/MediaUncheckedUpdateOneWithoutRundownItemNestedInputSchema.ts b/utility/prisma/types/inputTypeSchemas/MediaUncheckedUpdateOneWithoutRundownItemNestedInputSchema.ts new file mode 100644 index 00000000..5f48f954 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/MediaUncheckedUpdateOneWithoutRundownItemNestedInputSchema.ts @@ -0,0 +1,43 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { MediaCreateWithoutRundownItemInputSchema } from "./MediaCreateWithoutRundownItemInputSchema"; +import { MediaUncheckedCreateWithoutRundownItemInputSchema } from "./MediaUncheckedCreateWithoutRundownItemInputSchema"; +import { MediaCreateOrConnectWithoutRundownItemInputSchema } from "./MediaCreateOrConnectWithoutRundownItemInputSchema"; +import { MediaUpsertWithoutRundownItemInputSchema } from "./MediaUpsertWithoutRundownItemInputSchema"; +import { MediaWhereInputSchema } from "./MediaWhereInputSchema"; +import { MediaWhereUniqueInputSchema } from "./MediaWhereUniqueInputSchema"; +import { MediaUpdateToOneWithWhereWithoutRundownItemInputSchema } from "./MediaUpdateToOneWithWhereWithoutRundownItemInputSchema"; +import { MediaUpdateWithoutRundownItemInputSchema } from "./MediaUpdateWithoutRundownItemInputSchema"; +import { MediaUncheckedUpdateWithoutRundownItemInputSchema } from "./MediaUncheckedUpdateWithoutRundownItemInputSchema"; + +export const MediaUncheckedUpdateOneWithoutRundownItemNestedInputSchema: z.ZodType = + z + .object({ + create: z + .union([ + z.lazy(() => MediaCreateWithoutRundownItemInputSchema), + z.lazy(() => MediaUncheckedCreateWithoutRundownItemInputSchema), + ]) + .optional(), + connectOrCreate: z + .lazy(() => MediaCreateOrConnectWithoutRundownItemInputSchema) + .optional(), + upsert: z.lazy(() => MediaUpsertWithoutRundownItemInputSchema).optional(), + disconnect: z + .union([z.boolean(), z.lazy(() => MediaWhereInputSchema)]) + .optional(), + delete: z + .union([z.boolean(), z.lazy(() => MediaWhereInputSchema)]) + .optional(), + connect: z.lazy(() => MediaWhereUniqueInputSchema).optional(), + update: z + .union([ + z.lazy(() => MediaUpdateToOneWithWhereWithoutRundownItemInputSchema), + z.lazy(() => MediaUpdateWithoutRundownItemInputSchema), + z.lazy(() => MediaUncheckedUpdateWithoutRundownItemInputSchema), + ]) + .optional(), + }) + .strict(); + +export default MediaUncheckedUpdateOneWithoutRundownItemNestedInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/MediaUncheckedUpdateWithoutAssetInputSchema.ts b/utility/prisma/types/inputTypeSchemas/MediaUncheckedUpdateWithoutAssetInputSchema.ts new file mode 100644 index 00000000..4481266f --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/MediaUncheckedUpdateWithoutAssetInputSchema.ts @@ -0,0 +1,80 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { IntFieldUpdateOperationsInputSchema } from "./IntFieldUpdateOperationsInputSchema"; +import { StringFieldUpdateOperationsInputSchema } from "./StringFieldUpdateOperationsInputSchema"; +import { NullableStringFieldUpdateOperationsInputSchema } from "./NullableStringFieldUpdateOperationsInputSchema"; +import { MediaStateSchema } from "./MediaStateSchema"; +import { EnumMediaStateFieldUpdateOperationsInputSchema } from "./EnumMediaStateFieldUpdateOperationsInputSchema"; +import { NullableIntFieldUpdateOperationsInputSchema } from "./NullableIntFieldUpdateOperationsInputSchema"; +import { MediaProcessingTaskUncheckedUpdateManyWithoutMediaNestedInputSchema } from "./MediaProcessingTaskUncheckedUpdateManyWithoutMediaNestedInputSchema"; +import { ProcessMediaJobUncheckedUpdateManyWithoutMediaNestedInputSchema } from "./ProcessMediaJobUncheckedUpdateManyWithoutMediaNestedInputSchema"; + +export const MediaUncheckedUpdateWithoutAssetInputSchema: z.ZodType = + z + .object({ + id: z + .union([ + z.number().int(), + z.lazy(() => IntFieldUpdateOperationsInputSchema), + ]) + .optional(), + name: z + .union([ + z.string(), + z.lazy(() => StringFieldUpdateOperationsInputSchema), + ]) + .optional(), + rawPath: z + .union([ + z.string(), + z.lazy(() => StringFieldUpdateOperationsInputSchema), + ]) + .optional(), + path: z + .union([ + z.string(), + z.lazy(() => NullableStringFieldUpdateOperationsInputSchema), + ]) + .optional() + .nullable(), + durationSeconds: z + .union([ + z.number().int(), + z.lazy(() => IntFieldUpdateOperationsInputSchema), + ]) + .optional(), + state: z + .union([ + z.lazy(() => MediaStateSchema), + z.lazy(() => EnumMediaStateFieldUpdateOperationsInputSchema), + ]) + .optional(), + rundownItemID: z + .union([ + z.number().int(), + z.lazy(() => NullableIntFieldUpdateOperationsInputSchema), + ]) + .optional() + .nullable(), + continuityItemID: z + .union([ + z.number().int(), + z.lazy(() => NullableIntFieldUpdateOperationsInputSchema), + ]) + .optional() + .nullable(), + tasks: z + .lazy( + () => + MediaProcessingTaskUncheckedUpdateManyWithoutMediaNestedInputSchema, + ) + .optional(), + process_jobs: z + .lazy( + () => ProcessMediaJobUncheckedUpdateManyWithoutMediaNestedInputSchema, + ) + .optional(), + }) + .strict(); + +export default MediaUncheckedUpdateWithoutAssetInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/MediaUncheckedUpdateWithoutContinuityItemInputSchema.ts b/utility/prisma/types/inputTypeSchemas/MediaUncheckedUpdateWithoutContinuityItemInputSchema.ts new file mode 100644 index 00000000..1cedd273 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/MediaUncheckedUpdateWithoutContinuityItemInputSchema.ts @@ -0,0 +1,77 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { IntFieldUpdateOperationsInputSchema } from "./IntFieldUpdateOperationsInputSchema"; +import { StringFieldUpdateOperationsInputSchema } from "./StringFieldUpdateOperationsInputSchema"; +import { NullableStringFieldUpdateOperationsInputSchema } from "./NullableStringFieldUpdateOperationsInputSchema"; +import { MediaStateSchema } from "./MediaStateSchema"; +import { EnumMediaStateFieldUpdateOperationsInputSchema } from "./EnumMediaStateFieldUpdateOperationsInputSchema"; +import { NullableIntFieldUpdateOperationsInputSchema } from "./NullableIntFieldUpdateOperationsInputSchema"; +import { MediaProcessingTaskUncheckedUpdateManyWithoutMediaNestedInputSchema } from "./MediaProcessingTaskUncheckedUpdateManyWithoutMediaNestedInputSchema"; +import { ProcessMediaJobUncheckedUpdateManyWithoutMediaNestedInputSchema } from "./ProcessMediaJobUncheckedUpdateManyWithoutMediaNestedInputSchema"; +import { AssetUncheckedUpdateOneWithoutMediaNestedInputSchema } from "./AssetUncheckedUpdateOneWithoutMediaNestedInputSchema"; + +export const MediaUncheckedUpdateWithoutContinuityItemInputSchema: z.ZodType = + z + .object({ + id: z + .union([ + z.number().int(), + z.lazy(() => IntFieldUpdateOperationsInputSchema), + ]) + .optional(), + name: z + .union([ + z.string(), + z.lazy(() => StringFieldUpdateOperationsInputSchema), + ]) + .optional(), + rawPath: z + .union([ + z.string(), + z.lazy(() => StringFieldUpdateOperationsInputSchema), + ]) + .optional(), + path: z + .union([ + z.string(), + z.lazy(() => NullableStringFieldUpdateOperationsInputSchema), + ]) + .optional() + .nullable(), + durationSeconds: z + .union([ + z.number().int(), + z.lazy(() => IntFieldUpdateOperationsInputSchema), + ]) + .optional(), + state: z + .union([ + z.lazy(() => MediaStateSchema), + z.lazy(() => EnumMediaStateFieldUpdateOperationsInputSchema), + ]) + .optional(), + rundownItemID: z + .union([ + z.number().int(), + z.lazy(() => NullableIntFieldUpdateOperationsInputSchema), + ]) + .optional() + .nullable(), + tasks: z + .lazy( + () => + MediaProcessingTaskUncheckedUpdateManyWithoutMediaNestedInputSchema, + ) + .optional(), + process_jobs: z + .lazy( + () => ProcessMediaJobUncheckedUpdateManyWithoutMediaNestedInputSchema, + ) + .optional(), + asset: z + .lazy(() => AssetUncheckedUpdateOneWithoutMediaNestedInputSchema) + .optional(), + }) + .strict(); + +export default MediaUncheckedUpdateWithoutContinuityItemInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/MediaUncheckedUpdateWithoutProcess_jobsInputSchema.ts b/utility/prisma/types/inputTypeSchemas/MediaUncheckedUpdateWithoutProcess_jobsInputSchema.ts new file mode 100644 index 00000000..c56e2cba --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/MediaUncheckedUpdateWithoutProcess_jobsInputSchema.ts @@ -0,0 +1,78 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { IntFieldUpdateOperationsInputSchema } from "./IntFieldUpdateOperationsInputSchema"; +import { StringFieldUpdateOperationsInputSchema } from "./StringFieldUpdateOperationsInputSchema"; +import { NullableStringFieldUpdateOperationsInputSchema } from "./NullableStringFieldUpdateOperationsInputSchema"; +import { MediaStateSchema } from "./MediaStateSchema"; +import { EnumMediaStateFieldUpdateOperationsInputSchema } from "./EnumMediaStateFieldUpdateOperationsInputSchema"; +import { NullableIntFieldUpdateOperationsInputSchema } from "./NullableIntFieldUpdateOperationsInputSchema"; +import { MediaProcessingTaskUncheckedUpdateManyWithoutMediaNestedInputSchema } from "./MediaProcessingTaskUncheckedUpdateManyWithoutMediaNestedInputSchema"; +import { AssetUncheckedUpdateOneWithoutMediaNestedInputSchema } from "./AssetUncheckedUpdateOneWithoutMediaNestedInputSchema"; + +export const MediaUncheckedUpdateWithoutProcess_jobsInputSchema: z.ZodType = + z + .object({ + id: z + .union([ + z.number().int(), + z.lazy(() => IntFieldUpdateOperationsInputSchema), + ]) + .optional(), + name: z + .union([ + z.string(), + z.lazy(() => StringFieldUpdateOperationsInputSchema), + ]) + .optional(), + rawPath: z + .union([ + z.string(), + z.lazy(() => StringFieldUpdateOperationsInputSchema), + ]) + .optional(), + path: z + .union([ + z.string(), + z.lazy(() => NullableStringFieldUpdateOperationsInputSchema), + ]) + .optional() + .nullable(), + durationSeconds: z + .union([ + z.number().int(), + z.lazy(() => IntFieldUpdateOperationsInputSchema), + ]) + .optional(), + state: z + .union([ + z.lazy(() => MediaStateSchema), + z.lazy(() => EnumMediaStateFieldUpdateOperationsInputSchema), + ]) + .optional(), + rundownItemID: z + .union([ + z.number().int(), + z.lazy(() => NullableIntFieldUpdateOperationsInputSchema), + ]) + .optional() + .nullable(), + continuityItemID: z + .union([ + z.number().int(), + z.lazy(() => NullableIntFieldUpdateOperationsInputSchema), + ]) + .optional() + .nullable(), + tasks: z + .lazy( + () => + MediaProcessingTaskUncheckedUpdateManyWithoutMediaNestedInputSchema, + ) + .optional(), + asset: z + .lazy(() => AssetUncheckedUpdateOneWithoutMediaNestedInputSchema) + .optional(), + }) + .strict(); + +export default MediaUncheckedUpdateWithoutProcess_jobsInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/MediaUncheckedUpdateWithoutRundownItemInputSchema.ts b/utility/prisma/types/inputTypeSchemas/MediaUncheckedUpdateWithoutRundownItemInputSchema.ts new file mode 100644 index 00000000..a88d372b --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/MediaUncheckedUpdateWithoutRundownItemInputSchema.ts @@ -0,0 +1,77 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { IntFieldUpdateOperationsInputSchema } from "./IntFieldUpdateOperationsInputSchema"; +import { StringFieldUpdateOperationsInputSchema } from "./StringFieldUpdateOperationsInputSchema"; +import { NullableStringFieldUpdateOperationsInputSchema } from "./NullableStringFieldUpdateOperationsInputSchema"; +import { MediaStateSchema } from "./MediaStateSchema"; +import { EnumMediaStateFieldUpdateOperationsInputSchema } from "./EnumMediaStateFieldUpdateOperationsInputSchema"; +import { NullableIntFieldUpdateOperationsInputSchema } from "./NullableIntFieldUpdateOperationsInputSchema"; +import { MediaProcessingTaskUncheckedUpdateManyWithoutMediaNestedInputSchema } from "./MediaProcessingTaskUncheckedUpdateManyWithoutMediaNestedInputSchema"; +import { ProcessMediaJobUncheckedUpdateManyWithoutMediaNestedInputSchema } from "./ProcessMediaJobUncheckedUpdateManyWithoutMediaNestedInputSchema"; +import { AssetUncheckedUpdateOneWithoutMediaNestedInputSchema } from "./AssetUncheckedUpdateOneWithoutMediaNestedInputSchema"; + +export const MediaUncheckedUpdateWithoutRundownItemInputSchema: z.ZodType = + z + .object({ + id: z + .union([ + z.number().int(), + z.lazy(() => IntFieldUpdateOperationsInputSchema), + ]) + .optional(), + name: z + .union([ + z.string(), + z.lazy(() => StringFieldUpdateOperationsInputSchema), + ]) + .optional(), + rawPath: z + .union([ + z.string(), + z.lazy(() => StringFieldUpdateOperationsInputSchema), + ]) + .optional(), + path: z + .union([ + z.string(), + z.lazy(() => NullableStringFieldUpdateOperationsInputSchema), + ]) + .optional() + .nullable(), + durationSeconds: z + .union([ + z.number().int(), + z.lazy(() => IntFieldUpdateOperationsInputSchema), + ]) + .optional(), + state: z + .union([ + z.lazy(() => MediaStateSchema), + z.lazy(() => EnumMediaStateFieldUpdateOperationsInputSchema), + ]) + .optional(), + continuityItemID: z + .union([ + z.number().int(), + z.lazy(() => NullableIntFieldUpdateOperationsInputSchema), + ]) + .optional() + .nullable(), + tasks: z + .lazy( + () => + MediaProcessingTaskUncheckedUpdateManyWithoutMediaNestedInputSchema, + ) + .optional(), + process_jobs: z + .lazy( + () => ProcessMediaJobUncheckedUpdateManyWithoutMediaNestedInputSchema, + ) + .optional(), + asset: z + .lazy(() => AssetUncheckedUpdateOneWithoutMediaNestedInputSchema) + .optional(), + }) + .strict(); + +export default MediaUncheckedUpdateWithoutRundownItemInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/MediaUncheckedUpdateWithoutTasksInputSchema.ts b/utility/prisma/types/inputTypeSchemas/MediaUncheckedUpdateWithoutTasksInputSchema.ts new file mode 100644 index 00000000..fcd78f0a --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/MediaUncheckedUpdateWithoutTasksInputSchema.ts @@ -0,0 +1,77 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { IntFieldUpdateOperationsInputSchema } from "./IntFieldUpdateOperationsInputSchema"; +import { StringFieldUpdateOperationsInputSchema } from "./StringFieldUpdateOperationsInputSchema"; +import { NullableStringFieldUpdateOperationsInputSchema } from "./NullableStringFieldUpdateOperationsInputSchema"; +import { MediaStateSchema } from "./MediaStateSchema"; +import { EnumMediaStateFieldUpdateOperationsInputSchema } from "./EnumMediaStateFieldUpdateOperationsInputSchema"; +import { NullableIntFieldUpdateOperationsInputSchema } from "./NullableIntFieldUpdateOperationsInputSchema"; +import { ProcessMediaJobUncheckedUpdateManyWithoutMediaNestedInputSchema } from "./ProcessMediaJobUncheckedUpdateManyWithoutMediaNestedInputSchema"; +import { AssetUncheckedUpdateOneWithoutMediaNestedInputSchema } from "./AssetUncheckedUpdateOneWithoutMediaNestedInputSchema"; + +export const MediaUncheckedUpdateWithoutTasksInputSchema: z.ZodType = + z + .object({ + id: z + .union([ + z.number().int(), + z.lazy(() => IntFieldUpdateOperationsInputSchema), + ]) + .optional(), + name: z + .union([ + z.string(), + z.lazy(() => StringFieldUpdateOperationsInputSchema), + ]) + .optional(), + rawPath: z + .union([ + z.string(), + z.lazy(() => StringFieldUpdateOperationsInputSchema), + ]) + .optional(), + path: z + .union([ + z.string(), + z.lazy(() => NullableStringFieldUpdateOperationsInputSchema), + ]) + .optional() + .nullable(), + durationSeconds: z + .union([ + z.number().int(), + z.lazy(() => IntFieldUpdateOperationsInputSchema), + ]) + .optional(), + state: z + .union([ + z.lazy(() => MediaStateSchema), + z.lazy(() => EnumMediaStateFieldUpdateOperationsInputSchema), + ]) + .optional(), + rundownItemID: z + .union([ + z.number().int(), + z.lazy(() => NullableIntFieldUpdateOperationsInputSchema), + ]) + .optional() + .nullable(), + continuityItemID: z + .union([ + z.number().int(), + z.lazy(() => NullableIntFieldUpdateOperationsInputSchema), + ]) + .optional() + .nullable(), + process_jobs: z + .lazy( + () => ProcessMediaJobUncheckedUpdateManyWithoutMediaNestedInputSchema, + ) + .optional(), + asset: z + .lazy(() => AssetUncheckedUpdateOneWithoutMediaNestedInputSchema) + .optional(), + }) + .strict(); + +export default MediaUncheckedUpdateWithoutTasksInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/MediaUpdateInputSchema.ts b/utility/prisma/types/inputTypeSchemas/MediaUpdateInputSchema.ts new file mode 100644 index 00000000..9219ccdb --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/MediaUpdateInputSchema.ts @@ -0,0 +1,57 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { StringFieldUpdateOperationsInputSchema } from "./StringFieldUpdateOperationsInputSchema"; +import { NullableStringFieldUpdateOperationsInputSchema } from "./NullableStringFieldUpdateOperationsInputSchema"; +import { IntFieldUpdateOperationsInputSchema } from "./IntFieldUpdateOperationsInputSchema"; +import { MediaStateSchema } from "./MediaStateSchema"; +import { EnumMediaStateFieldUpdateOperationsInputSchema } from "./EnumMediaStateFieldUpdateOperationsInputSchema"; +import { RundownItemUpdateOneWithoutMediaNestedInputSchema } from "./RundownItemUpdateOneWithoutMediaNestedInputSchema"; +import { ContinuityItemUpdateOneWithoutMediaNestedInputSchema } from "./ContinuityItemUpdateOneWithoutMediaNestedInputSchema"; +import { MediaProcessingTaskUpdateManyWithoutMediaNestedInputSchema } from "./MediaProcessingTaskUpdateManyWithoutMediaNestedInputSchema"; +import { ProcessMediaJobUpdateManyWithoutMediaNestedInputSchema } from "./ProcessMediaJobUpdateManyWithoutMediaNestedInputSchema"; +import { AssetUpdateOneWithoutMediaNestedInputSchema } from "./AssetUpdateOneWithoutMediaNestedInputSchema"; + +export const MediaUpdateInputSchema: z.ZodType = z + .object({ + name: z + .union([z.string(), z.lazy(() => StringFieldUpdateOperationsInputSchema)]) + .optional(), + rawPath: z + .union([z.string(), z.lazy(() => StringFieldUpdateOperationsInputSchema)]) + .optional(), + path: z + .union([ + z.string(), + z.lazy(() => NullableStringFieldUpdateOperationsInputSchema), + ]) + .optional() + .nullable(), + durationSeconds: z + .union([ + z.number().int(), + z.lazy(() => IntFieldUpdateOperationsInputSchema), + ]) + .optional(), + state: z + .union([ + z.lazy(() => MediaStateSchema), + z.lazy(() => EnumMediaStateFieldUpdateOperationsInputSchema), + ]) + .optional(), + rundownItem: z + .lazy(() => RundownItemUpdateOneWithoutMediaNestedInputSchema) + .optional(), + continuityItem: z + .lazy(() => ContinuityItemUpdateOneWithoutMediaNestedInputSchema) + .optional(), + tasks: z + .lazy(() => MediaProcessingTaskUpdateManyWithoutMediaNestedInputSchema) + .optional(), + process_jobs: z + .lazy(() => ProcessMediaJobUpdateManyWithoutMediaNestedInputSchema) + .optional(), + asset: z.lazy(() => AssetUpdateOneWithoutMediaNestedInputSchema).optional(), + }) + .strict(); + +export default MediaUpdateInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/MediaUpdateManyMutationInputSchema.ts b/utility/prisma/types/inputTypeSchemas/MediaUpdateManyMutationInputSchema.ts new file mode 100644 index 00000000..cd825772 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/MediaUpdateManyMutationInputSchema.ts @@ -0,0 +1,46 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { StringFieldUpdateOperationsInputSchema } from "./StringFieldUpdateOperationsInputSchema"; +import { NullableStringFieldUpdateOperationsInputSchema } from "./NullableStringFieldUpdateOperationsInputSchema"; +import { IntFieldUpdateOperationsInputSchema } from "./IntFieldUpdateOperationsInputSchema"; +import { MediaStateSchema } from "./MediaStateSchema"; +import { EnumMediaStateFieldUpdateOperationsInputSchema } from "./EnumMediaStateFieldUpdateOperationsInputSchema"; + +export const MediaUpdateManyMutationInputSchema: z.ZodType = + z + .object({ + name: z + .union([ + z.string(), + z.lazy(() => StringFieldUpdateOperationsInputSchema), + ]) + .optional(), + rawPath: z + .union([ + z.string(), + z.lazy(() => StringFieldUpdateOperationsInputSchema), + ]) + .optional(), + path: z + .union([ + z.string(), + z.lazy(() => NullableStringFieldUpdateOperationsInputSchema), + ]) + .optional() + .nullable(), + durationSeconds: z + .union([ + z.number().int(), + z.lazy(() => IntFieldUpdateOperationsInputSchema), + ]) + .optional(), + state: z + .union([ + z.lazy(() => MediaStateSchema), + z.lazy(() => EnumMediaStateFieldUpdateOperationsInputSchema), + ]) + .optional(), + }) + .strict(); + +export default MediaUpdateManyMutationInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/MediaUpdateOneRequiredWithoutAssetNestedInputSchema.ts b/utility/prisma/types/inputTypeSchemas/MediaUpdateOneRequiredWithoutAssetNestedInputSchema.ts new file mode 100644 index 00000000..87ad5830 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/MediaUpdateOneRequiredWithoutAssetNestedInputSchema.ts @@ -0,0 +1,36 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { MediaCreateWithoutAssetInputSchema } from "./MediaCreateWithoutAssetInputSchema"; +import { MediaUncheckedCreateWithoutAssetInputSchema } from "./MediaUncheckedCreateWithoutAssetInputSchema"; +import { MediaCreateOrConnectWithoutAssetInputSchema } from "./MediaCreateOrConnectWithoutAssetInputSchema"; +import { MediaUpsertWithoutAssetInputSchema } from "./MediaUpsertWithoutAssetInputSchema"; +import { MediaWhereUniqueInputSchema } from "./MediaWhereUniqueInputSchema"; +import { MediaUpdateToOneWithWhereWithoutAssetInputSchema } from "./MediaUpdateToOneWithWhereWithoutAssetInputSchema"; +import { MediaUpdateWithoutAssetInputSchema } from "./MediaUpdateWithoutAssetInputSchema"; +import { MediaUncheckedUpdateWithoutAssetInputSchema } from "./MediaUncheckedUpdateWithoutAssetInputSchema"; + +export const MediaUpdateOneRequiredWithoutAssetNestedInputSchema: z.ZodType = + z + .object({ + create: z + .union([ + z.lazy(() => MediaCreateWithoutAssetInputSchema), + z.lazy(() => MediaUncheckedCreateWithoutAssetInputSchema), + ]) + .optional(), + connectOrCreate: z + .lazy(() => MediaCreateOrConnectWithoutAssetInputSchema) + .optional(), + upsert: z.lazy(() => MediaUpsertWithoutAssetInputSchema).optional(), + connect: z.lazy(() => MediaWhereUniqueInputSchema).optional(), + update: z + .union([ + z.lazy(() => MediaUpdateToOneWithWhereWithoutAssetInputSchema), + z.lazy(() => MediaUpdateWithoutAssetInputSchema), + z.lazy(() => MediaUncheckedUpdateWithoutAssetInputSchema), + ]) + .optional(), + }) + .strict(); + +export default MediaUpdateOneRequiredWithoutAssetNestedInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/MediaUpdateOneRequiredWithoutProcess_jobsNestedInputSchema.ts b/utility/prisma/types/inputTypeSchemas/MediaUpdateOneRequiredWithoutProcess_jobsNestedInputSchema.ts new file mode 100644 index 00000000..4f853673 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/MediaUpdateOneRequiredWithoutProcess_jobsNestedInputSchema.ts @@ -0,0 +1,38 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { MediaCreateWithoutProcess_jobsInputSchema } from "./MediaCreateWithoutProcess_jobsInputSchema"; +import { MediaUncheckedCreateWithoutProcess_jobsInputSchema } from "./MediaUncheckedCreateWithoutProcess_jobsInputSchema"; +import { MediaCreateOrConnectWithoutProcess_jobsInputSchema } from "./MediaCreateOrConnectWithoutProcess_jobsInputSchema"; +import { MediaUpsertWithoutProcess_jobsInputSchema } from "./MediaUpsertWithoutProcess_jobsInputSchema"; +import { MediaWhereUniqueInputSchema } from "./MediaWhereUniqueInputSchema"; +import { MediaUpdateToOneWithWhereWithoutProcess_jobsInputSchema } from "./MediaUpdateToOneWithWhereWithoutProcess_jobsInputSchema"; +import { MediaUpdateWithoutProcess_jobsInputSchema } from "./MediaUpdateWithoutProcess_jobsInputSchema"; +import { MediaUncheckedUpdateWithoutProcess_jobsInputSchema } from "./MediaUncheckedUpdateWithoutProcess_jobsInputSchema"; + +export const MediaUpdateOneRequiredWithoutProcess_jobsNestedInputSchema: z.ZodType = + z + .object({ + create: z + .union([ + z.lazy(() => MediaCreateWithoutProcess_jobsInputSchema), + z.lazy(() => MediaUncheckedCreateWithoutProcess_jobsInputSchema), + ]) + .optional(), + connectOrCreate: z + .lazy(() => MediaCreateOrConnectWithoutProcess_jobsInputSchema) + .optional(), + upsert: z + .lazy(() => MediaUpsertWithoutProcess_jobsInputSchema) + .optional(), + connect: z.lazy(() => MediaWhereUniqueInputSchema).optional(), + update: z + .union([ + z.lazy(() => MediaUpdateToOneWithWhereWithoutProcess_jobsInputSchema), + z.lazy(() => MediaUpdateWithoutProcess_jobsInputSchema), + z.lazy(() => MediaUncheckedUpdateWithoutProcess_jobsInputSchema), + ]) + .optional(), + }) + .strict(); + +export default MediaUpdateOneRequiredWithoutProcess_jobsNestedInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/MediaUpdateOneRequiredWithoutTasksNestedInputSchema.ts b/utility/prisma/types/inputTypeSchemas/MediaUpdateOneRequiredWithoutTasksNestedInputSchema.ts new file mode 100644 index 00000000..a3d78556 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/MediaUpdateOneRequiredWithoutTasksNestedInputSchema.ts @@ -0,0 +1,36 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { MediaCreateWithoutTasksInputSchema } from "./MediaCreateWithoutTasksInputSchema"; +import { MediaUncheckedCreateWithoutTasksInputSchema } from "./MediaUncheckedCreateWithoutTasksInputSchema"; +import { MediaCreateOrConnectWithoutTasksInputSchema } from "./MediaCreateOrConnectWithoutTasksInputSchema"; +import { MediaUpsertWithoutTasksInputSchema } from "./MediaUpsertWithoutTasksInputSchema"; +import { MediaWhereUniqueInputSchema } from "./MediaWhereUniqueInputSchema"; +import { MediaUpdateToOneWithWhereWithoutTasksInputSchema } from "./MediaUpdateToOneWithWhereWithoutTasksInputSchema"; +import { MediaUpdateWithoutTasksInputSchema } from "./MediaUpdateWithoutTasksInputSchema"; +import { MediaUncheckedUpdateWithoutTasksInputSchema } from "./MediaUncheckedUpdateWithoutTasksInputSchema"; + +export const MediaUpdateOneRequiredWithoutTasksNestedInputSchema: z.ZodType = + z + .object({ + create: z + .union([ + z.lazy(() => MediaCreateWithoutTasksInputSchema), + z.lazy(() => MediaUncheckedCreateWithoutTasksInputSchema), + ]) + .optional(), + connectOrCreate: z + .lazy(() => MediaCreateOrConnectWithoutTasksInputSchema) + .optional(), + upsert: z.lazy(() => MediaUpsertWithoutTasksInputSchema).optional(), + connect: z.lazy(() => MediaWhereUniqueInputSchema).optional(), + update: z + .union([ + z.lazy(() => MediaUpdateToOneWithWhereWithoutTasksInputSchema), + z.lazy(() => MediaUpdateWithoutTasksInputSchema), + z.lazy(() => MediaUncheckedUpdateWithoutTasksInputSchema), + ]) + .optional(), + }) + .strict(); + +export default MediaUpdateOneRequiredWithoutTasksNestedInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/MediaUpdateOneWithoutContinuityItemNestedInputSchema.ts b/utility/prisma/types/inputTypeSchemas/MediaUpdateOneWithoutContinuityItemNestedInputSchema.ts new file mode 100644 index 00000000..dddd9365 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/MediaUpdateOneWithoutContinuityItemNestedInputSchema.ts @@ -0,0 +1,47 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { MediaCreateWithoutContinuityItemInputSchema } from "./MediaCreateWithoutContinuityItemInputSchema"; +import { MediaUncheckedCreateWithoutContinuityItemInputSchema } from "./MediaUncheckedCreateWithoutContinuityItemInputSchema"; +import { MediaCreateOrConnectWithoutContinuityItemInputSchema } from "./MediaCreateOrConnectWithoutContinuityItemInputSchema"; +import { MediaUpsertWithoutContinuityItemInputSchema } from "./MediaUpsertWithoutContinuityItemInputSchema"; +import { MediaWhereInputSchema } from "./MediaWhereInputSchema"; +import { MediaWhereUniqueInputSchema } from "./MediaWhereUniqueInputSchema"; +import { MediaUpdateToOneWithWhereWithoutContinuityItemInputSchema } from "./MediaUpdateToOneWithWhereWithoutContinuityItemInputSchema"; +import { MediaUpdateWithoutContinuityItemInputSchema } from "./MediaUpdateWithoutContinuityItemInputSchema"; +import { MediaUncheckedUpdateWithoutContinuityItemInputSchema } from "./MediaUncheckedUpdateWithoutContinuityItemInputSchema"; + +export const MediaUpdateOneWithoutContinuityItemNestedInputSchema: z.ZodType = + z + .object({ + create: z + .union([ + z.lazy(() => MediaCreateWithoutContinuityItemInputSchema), + z.lazy(() => MediaUncheckedCreateWithoutContinuityItemInputSchema), + ]) + .optional(), + connectOrCreate: z + .lazy(() => MediaCreateOrConnectWithoutContinuityItemInputSchema) + .optional(), + upsert: z + .lazy(() => MediaUpsertWithoutContinuityItemInputSchema) + .optional(), + disconnect: z + .union([z.boolean(), z.lazy(() => MediaWhereInputSchema)]) + .optional(), + delete: z + .union([z.boolean(), z.lazy(() => MediaWhereInputSchema)]) + .optional(), + connect: z.lazy(() => MediaWhereUniqueInputSchema).optional(), + update: z + .union([ + z.lazy( + () => MediaUpdateToOneWithWhereWithoutContinuityItemInputSchema, + ), + z.lazy(() => MediaUpdateWithoutContinuityItemInputSchema), + z.lazy(() => MediaUncheckedUpdateWithoutContinuityItemInputSchema), + ]) + .optional(), + }) + .strict(); + +export default MediaUpdateOneWithoutContinuityItemNestedInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/MediaUpdateOneWithoutRundownItemNestedInputSchema.ts b/utility/prisma/types/inputTypeSchemas/MediaUpdateOneWithoutRundownItemNestedInputSchema.ts new file mode 100644 index 00000000..5acf30ca --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/MediaUpdateOneWithoutRundownItemNestedInputSchema.ts @@ -0,0 +1,43 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { MediaCreateWithoutRundownItemInputSchema } from "./MediaCreateWithoutRundownItemInputSchema"; +import { MediaUncheckedCreateWithoutRundownItemInputSchema } from "./MediaUncheckedCreateWithoutRundownItemInputSchema"; +import { MediaCreateOrConnectWithoutRundownItemInputSchema } from "./MediaCreateOrConnectWithoutRundownItemInputSchema"; +import { MediaUpsertWithoutRundownItemInputSchema } from "./MediaUpsertWithoutRundownItemInputSchema"; +import { MediaWhereInputSchema } from "./MediaWhereInputSchema"; +import { MediaWhereUniqueInputSchema } from "./MediaWhereUniqueInputSchema"; +import { MediaUpdateToOneWithWhereWithoutRundownItemInputSchema } from "./MediaUpdateToOneWithWhereWithoutRundownItemInputSchema"; +import { MediaUpdateWithoutRundownItemInputSchema } from "./MediaUpdateWithoutRundownItemInputSchema"; +import { MediaUncheckedUpdateWithoutRundownItemInputSchema } from "./MediaUncheckedUpdateWithoutRundownItemInputSchema"; + +export const MediaUpdateOneWithoutRundownItemNestedInputSchema: z.ZodType = + z + .object({ + create: z + .union([ + z.lazy(() => MediaCreateWithoutRundownItemInputSchema), + z.lazy(() => MediaUncheckedCreateWithoutRundownItemInputSchema), + ]) + .optional(), + connectOrCreate: z + .lazy(() => MediaCreateOrConnectWithoutRundownItemInputSchema) + .optional(), + upsert: z.lazy(() => MediaUpsertWithoutRundownItemInputSchema).optional(), + disconnect: z + .union([z.boolean(), z.lazy(() => MediaWhereInputSchema)]) + .optional(), + delete: z + .union([z.boolean(), z.lazy(() => MediaWhereInputSchema)]) + .optional(), + connect: z.lazy(() => MediaWhereUniqueInputSchema).optional(), + update: z + .union([ + z.lazy(() => MediaUpdateToOneWithWhereWithoutRundownItemInputSchema), + z.lazy(() => MediaUpdateWithoutRundownItemInputSchema), + z.lazy(() => MediaUncheckedUpdateWithoutRundownItemInputSchema), + ]) + .optional(), + }) + .strict(); + +export default MediaUpdateOneWithoutRundownItemNestedInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/MediaUpdateToOneWithWhereWithoutAssetInputSchema.ts b/utility/prisma/types/inputTypeSchemas/MediaUpdateToOneWithWhereWithoutAssetInputSchema.ts new file mode 100644 index 00000000..0f388346 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/MediaUpdateToOneWithWhereWithoutAssetInputSchema.ts @@ -0,0 +1,18 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { MediaWhereInputSchema } from "./MediaWhereInputSchema"; +import { MediaUpdateWithoutAssetInputSchema } from "./MediaUpdateWithoutAssetInputSchema"; +import { MediaUncheckedUpdateWithoutAssetInputSchema } from "./MediaUncheckedUpdateWithoutAssetInputSchema"; + +export const MediaUpdateToOneWithWhereWithoutAssetInputSchema: z.ZodType = + z + .object({ + where: z.lazy(() => MediaWhereInputSchema).optional(), + data: z.union([ + z.lazy(() => MediaUpdateWithoutAssetInputSchema), + z.lazy(() => MediaUncheckedUpdateWithoutAssetInputSchema), + ]), + }) + .strict(); + +export default MediaUpdateToOneWithWhereWithoutAssetInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/MediaUpdateToOneWithWhereWithoutContinuityItemInputSchema.ts b/utility/prisma/types/inputTypeSchemas/MediaUpdateToOneWithWhereWithoutContinuityItemInputSchema.ts new file mode 100644 index 00000000..2ac4e2a4 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/MediaUpdateToOneWithWhereWithoutContinuityItemInputSchema.ts @@ -0,0 +1,18 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { MediaWhereInputSchema } from "./MediaWhereInputSchema"; +import { MediaUpdateWithoutContinuityItemInputSchema } from "./MediaUpdateWithoutContinuityItemInputSchema"; +import { MediaUncheckedUpdateWithoutContinuityItemInputSchema } from "./MediaUncheckedUpdateWithoutContinuityItemInputSchema"; + +export const MediaUpdateToOneWithWhereWithoutContinuityItemInputSchema: z.ZodType = + z + .object({ + where: z.lazy(() => MediaWhereInputSchema).optional(), + data: z.union([ + z.lazy(() => MediaUpdateWithoutContinuityItemInputSchema), + z.lazy(() => MediaUncheckedUpdateWithoutContinuityItemInputSchema), + ]), + }) + .strict(); + +export default MediaUpdateToOneWithWhereWithoutContinuityItemInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/MediaUpdateToOneWithWhereWithoutProcess_jobsInputSchema.ts b/utility/prisma/types/inputTypeSchemas/MediaUpdateToOneWithWhereWithoutProcess_jobsInputSchema.ts new file mode 100644 index 00000000..abc6dec6 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/MediaUpdateToOneWithWhereWithoutProcess_jobsInputSchema.ts @@ -0,0 +1,18 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { MediaWhereInputSchema } from "./MediaWhereInputSchema"; +import { MediaUpdateWithoutProcess_jobsInputSchema } from "./MediaUpdateWithoutProcess_jobsInputSchema"; +import { MediaUncheckedUpdateWithoutProcess_jobsInputSchema } from "./MediaUncheckedUpdateWithoutProcess_jobsInputSchema"; + +export const MediaUpdateToOneWithWhereWithoutProcess_jobsInputSchema: z.ZodType = + z + .object({ + where: z.lazy(() => MediaWhereInputSchema).optional(), + data: z.union([ + z.lazy(() => MediaUpdateWithoutProcess_jobsInputSchema), + z.lazy(() => MediaUncheckedUpdateWithoutProcess_jobsInputSchema), + ]), + }) + .strict(); + +export default MediaUpdateToOneWithWhereWithoutProcess_jobsInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/MediaUpdateToOneWithWhereWithoutRundownItemInputSchema.ts b/utility/prisma/types/inputTypeSchemas/MediaUpdateToOneWithWhereWithoutRundownItemInputSchema.ts new file mode 100644 index 00000000..bc3d818f --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/MediaUpdateToOneWithWhereWithoutRundownItemInputSchema.ts @@ -0,0 +1,18 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { MediaWhereInputSchema } from "./MediaWhereInputSchema"; +import { MediaUpdateWithoutRundownItemInputSchema } from "./MediaUpdateWithoutRundownItemInputSchema"; +import { MediaUncheckedUpdateWithoutRundownItemInputSchema } from "./MediaUncheckedUpdateWithoutRundownItemInputSchema"; + +export const MediaUpdateToOneWithWhereWithoutRundownItemInputSchema: z.ZodType = + z + .object({ + where: z.lazy(() => MediaWhereInputSchema).optional(), + data: z.union([ + z.lazy(() => MediaUpdateWithoutRundownItemInputSchema), + z.lazy(() => MediaUncheckedUpdateWithoutRundownItemInputSchema), + ]), + }) + .strict(); + +export default MediaUpdateToOneWithWhereWithoutRundownItemInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/MediaUpdateToOneWithWhereWithoutTasksInputSchema.ts b/utility/prisma/types/inputTypeSchemas/MediaUpdateToOneWithWhereWithoutTasksInputSchema.ts new file mode 100644 index 00000000..8020df42 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/MediaUpdateToOneWithWhereWithoutTasksInputSchema.ts @@ -0,0 +1,18 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { MediaWhereInputSchema } from "./MediaWhereInputSchema"; +import { MediaUpdateWithoutTasksInputSchema } from "./MediaUpdateWithoutTasksInputSchema"; +import { MediaUncheckedUpdateWithoutTasksInputSchema } from "./MediaUncheckedUpdateWithoutTasksInputSchema"; + +export const MediaUpdateToOneWithWhereWithoutTasksInputSchema: z.ZodType = + z + .object({ + where: z.lazy(() => MediaWhereInputSchema).optional(), + data: z.union([ + z.lazy(() => MediaUpdateWithoutTasksInputSchema), + z.lazy(() => MediaUncheckedUpdateWithoutTasksInputSchema), + ]), + }) + .strict(); + +export default MediaUpdateToOneWithWhereWithoutTasksInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/MediaUpdateWithoutAssetInputSchema.ts b/utility/prisma/types/inputTypeSchemas/MediaUpdateWithoutAssetInputSchema.ts new file mode 100644 index 00000000..bbae36bd --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/MediaUpdateWithoutAssetInputSchema.ts @@ -0,0 +1,62 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { StringFieldUpdateOperationsInputSchema } from "./StringFieldUpdateOperationsInputSchema"; +import { NullableStringFieldUpdateOperationsInputSchema } from "./NullableStringFieldUpdateOperationsInputSchema"; +import { IntFieldUpdateOperationsInputSchema } from "./IntFieldUpdateOperationsInputSchema"; +import { MediaStateSchema } from "./MediaStateSchema"; +import { EnumMediaStateFieldUpdateOperationsInputSchema } from "./EnumMediaStateFieldUpdateOperationsInputSchema"; +import { RundownItemUpdateOneWithoutMediaNestedInputSchema } from "./RundownItemUpdateOneWithoutMediaNestedInputSchema"; +import { ContinuityItemUpdateOneWithoutMediaNestedInputSchema } from "./ContinuityItemUpdateOneWithoutMediaNestedInputSchema"; +import { MediaProcessingTaskUpdateManyWithoutMediaNestedInputSchema } from "./MediaProcessingTaskUpdateManyWithoutMediaNestedInputSchema"; +import { ProcessMediaJobUpdateManyWithoutMediaNestedInputSchema } from "./ProcessMediaJobUpdateManyWithoutMediaNestedInputSchema"; + +export const MediaUpdateWithoutAssetInputSchema: z.ZodType = + z + .object({ + name: z + .union([ + z.string(), + z.lazy(() => StringFieldUpdateOperationsInputSchema), + ]) + .optional(), + rawPath: z + .union([ + z.string(), + z.lazy(() => StringFieldUpdateOperationsInputSchema), + ]) + .optional(), + path: z + .union([ + z.string(), + z.lazy(() => NullableStringFieldUpdateOperationsInputSchema), + ]) + .optional() + .nullable(), + durationSeconds: z + .union([ + z.number().int(), + z.lazy(() => IntFieldUpdateOperationsInputSchema), + ]) + .optional(), + state: z + .union([ + z.lazy(() => MediaStateSchema), + z.lazy(() => EnumMediaStateFieldUpdateOperationsInputSchema), + ]) + .optional(), + rundownItem: z + .lazy(() => RundownItemUpdateOneWithoutMediaNestedInputSchema) + .optional(), + continuityItem: z + .lazy(() => ContinuityItemUpdateOneWithoutMediaNestedInputSchema) + .optional(), + tasks: z + .lazy(() => MediaProcessingTaskUpdateManyWithoutMediaNestedInputSchema) + .optional(), + process_jobs: z + .lazy(() => ProcessMediaJobUpdateManyWithoutMediaNestedInputSchema) + .optional(), + }) + .strict(); + +export default MediaUpdateWithoutAssetInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/MediaUpdateWithoutContinuityItemInputSchema.ts b/utility/prisma/types/inputTypeSchemas/MediaUpdateWithoutContinuityItemInputSchema.ts new file mode 100644 index 00000000..5a7956f3 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/MediaUpdateWithoutContinuityItemInputSchema.ts @@ -0,0 +1,62 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { StringFieldUpdateOperationsInputSchema } from "./StringFieldUpdateOperationsInputSchema"; +import { NullableStringFieldUpdateOperationsInputSchema } from "./NullableStringFieldUpdateOperationsInputSchema"; +import { IntFieldUpdateOperationsInputSchema } from "./IntFieldUpdateOperationsInputSchema"; +import { MediaStateSchema } from "./MediaStateSchema"; +import { EnumMediaStateFieldUpdateOperationsInputSchema } from "./EnumMediaStateFieldUpdateOperationsInputSchema"; +import { RundownItemUpdateOneWithoutMediaNestedInputSchema } from "./RundownItemUpdateOneWithoutMediaNestedInputSchema"; +import { MediaProcessingTaskUpdateManyWithoutMediaNestedInputSchema } from "./MediaProcessingTaskUpdateManyWithoutMediaNestedInputSchema"; +import { ProcessMediaJobUpdateManyWithoutMediaNestedInputSchema } from "./ProcessMediaJobUpdateManyWithoutMediaNestedInputSchema"; +import { AssetUpdateOneWithoutMediaNestedInputSchema } from "./AssetUpdateOneWithoutMediaNestedInputSchema"; + +export const MediaUpdateWithoutContinuityItemInputSchema: z.ZodType = + z + .object({ + name: z + .union([ + z.string(), + z.lazy(() => StringFieldUpdateOperationsInputSchema), + ]) + .optional(), + rawPath: z + .union([ + z.string(), + z.lazy(() => StringFieldUpdateOperationsInputSchema), + ]) + .optional(), + path: z + .union([ + z.string(), + z.lazy(() => NullableStringFieldUpdateOperationsInputSchema), + ]) + .optional() + .nullable(), + durationSeconds: z + .union([ + z.number().int(), + z.lazy(() => IntFieldUpdateOperationsInputSchema), + ]) + .optional(), + state: z + .union([ + z.lazy(() => MediaStateSchema), + z.lazy(() => EnumMediaStateFieldUpdateOperationsInputSchema), + ]) + .optional(), + rundownItem: z + .lazy(() => RundownItemUpdateOneWithoutMediaNestedInputSchema) + .optional(), + tasks: z + .lazy(() => MediaProcessingTaskUpdateManyWithoutMediaNestedInputSchema) + .optional(), + process_jobs: z + .lazy(() => ProcessMediaJobUpdateManyWithoutMediaNestedInputSchema) + .optional(), + asset: z + .lazy(() => AssetUpdateOneWithoutMediaNestedInputSchema) + .optional(), + }) + .strict(); + +export default MediaUpdateWithoutContinuityItemInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/MediaUpdateWithoutProcess_jobsInputSchema.ts b/utility/prisma/types/inputTypeSchemas/MediaUpdateWithoutProcess_jobsInputSchema.ts new file mode 100644 index 00000000..31f794a0 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/MediaUpdateWithoutProcess_jobsInputSchema.ts @@ -0,0 +1,62 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { StringFieldUpdateOperationsInputSchema } from "./StringFieldUpdateOperationsInputSchema"; +import { NullableStringFieldUpdateOperationsInputSchema } from "./NullableStringFieldUpdateOperationsInputSchema"; +import { IntFieldUpdateOperationsInputSchema } from "./IntFieldUpdateOperationsInputSchema"; +import { MediaStateSchema } from "./MediaStateSchema"; +import { EnumMediaStateFieldUpdateOperationsInputSchema } from "./EnumMediaStateFieldUpdateOperationsInputSchema"; +import { RundownItemUpdateOneWithoutMediaNestedInputSchema } from "./RundownItemUpdateOneWithoutMediaNestedInputSchema"; +import { ContinuityItemUpdateOneWithoutMediaNestedInputSchema } from "./ContinuityItemUpdateOneWithoutMediaNestedInputSchema"; +import { MediaProcessingTaskUpdateManyWithoutMediaNestedInputSchema } from "./MediaProcessingTaskUpdateManyWithoutMediaNestedInputSchema"; +import { AssetUpdateOneWithoutMediaNestedInputSchema } from "./AssetUpdateOneWithoutMediaNestedInputSchema"; + +export const MediaUpdateWithoutProcess_jobsInputSchema: z.ZodType = + z + .object({ + name: z + .union([ + z.string(), + z.lazy(() => StringFieldUpdateOperationsInputSchema), + ]) + .optional(), + rawPath: z + .union([ + z.string(), + z.lazy(() => StringFieldUpdateOperationsInputSchema), + ]) + .optional(), + path: z + .union([ + z.string(), + z.lazy(() => NullableStringFieldUpdateOperationsInputSchema), + ]) + .optional() + .nullable(), + durationSeconds: z + .union([ + z.number().int(), + z.lazy(() => IntFieldUpdateOperationsInputSchema), + ]) + .optional(), + state: z + .union([ + z.lazy(() => MediaStateSchema), + z.lazy(() => EnumMediaStateFieldUpdateOperationsInputSchema), + ]) + .optional(), + rundownItem: z + .lazy(() => RundownItemUpdateOneWithoutMediaNestedInputSchema) + .optional(), + continuityItem: z + .lazy(() => ContinuityItemUpdateOneWithoutMediaNestedInputSchema) + .optional(), + tasks: z + .lazy(() => MediaProcessingTaskUpdateManyWithoutMediaNestedInputSchema) + .optional(), + asset: z + .lazy(() => AssetUpdateOneWithoutMediaNestedInputSchema) + .optional(), + }) + .strict(); + +export default MediaUpdateWithoutProcess_jobsInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/MediaUpdateWithoutRundownItemInputSchema.ts b/utility/prisma/types/inputTypeSchemas/MediaUpdateWithoutRundownItemInputSchema.ts new file mode 100644 index 00000000..cc6167cf --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/MediaUpdateWithoutRundownItemInputSchema.ts @@ -0,0 +1,62 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { StringFieldUpdateOperationsInputSchema } from "./StringFieldUpdateOperationsInputSchema"; +import { NullableStringFieldUpdateOperationsInputSchema } from "./NullableStringFieldUpdateOperationsInputSchema"; +import { IntFieldUpdateOperationsInputSchema } from "./IntFieldUpdateOperationsInputSchema"; +import { MediaStateSchema } from "./MediaStateSchema"; +import { EnumMediaStateFieldUpdateOperationsInputSchema } from "./EnumMediaStateFieldUpdateOperationsInputSchema"; +import { ContinuityItemUpdateOneWithoutMediaNestedInputSchema } from "./ContinuityItemUpdateOneWithoutMediaNestedInputSchema"; +import { MediaProcessingTaskUpdateManyWithoutMediaNestedInputSchema } from "./MediaProcessingTaskUpdateManyWithoutMediaNestedInputSchema"; +import { ProcessMediaJobUpdateManyWithoutMediaNestedInputSchema } from "./ProcessMediaJobUpdateManyWithoutMediaNestedInputSchema"; +import { AssetUpdateOneWithoutMediaNestedInputSchema } from "./AssetUpdateOneWithoutMediaNestedInputSchema"; + +export const MediaUpdateWithoutRundownItemInputSchema: z.ZodType = + z + .object({ + name: z + .union([ + z.string(), + z.lazy(() => StringFieldUpdateOperationsInputSchema), + ]) + .optional(), + rawPath: z + .union([ + z.string(), + z.lazy(() => StringFieldUpdateOperationsInputSchema), + ]) + .optional(), + path: z + .union([ + z.string(), + z.lazy(() => NullableStringFieldUpdateOperationsInputSchema), + ]) + .optional() + .nullable(), + durationSeconds: z + .union([ + z.number().int(), + z.lazy(() => IntFieldUpdateOperationsInputSchema), + ]) + .optional(), + state: z + .union([ + z.lazy(() => MediaStateSchema), + z.lazy(() => EnumMediaStateFieldUpdateOperationsInputSchema), + ]) + .optional(), + continuityItem: z + .lazy(() => ContinuityItemUpdateOneWithoutMediaNestedInputSchema) + .optional(), + tasks: z + .lazy(() => MediaProcessingTaskUpdateManyWithoutMediaNestedInputSchema) + .optional(), + process_jobs: z + .lazy(() => ProcessMediaJobUpdateManyWithoutMediaNestedInputSchema) + .optional(), + asset: z + .lazy(() => AssetUpdateOneWithoutMediaNestedInputSchema) + .optional(), + }) + .strict(); + +export default MediaUpdateWithoutRundownItemInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/MediaUpdateWithoutTasksInputSchema.ts b/utility/prisma/types/inputTypeSchemas/MediaUpdateWithoutTasksInputSchema.ts new file mode 100644 index 00000000..e5c90fc0 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/MediaUpdateWithoutTasksInputSchema.ts @@ -0,0 +1,62 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { StringFieldUpdateOperationsInputSchema } from "./StringFieldUpdateOperationsInputSchema"; +import { NullableStringFieldUpdateOperationsInputSchema } from "./NullableStringFieldUpdateOperationsInputSchema"; +import { IntFieldUpdateOperationsInputSchema } from "./IntFieldUpdateOperationsInputSchema"; +import { MediaStateSchema } from "./MediaStateSchema"; +import { EnumMediaStateFieldUpdateOperationsInputSchema } from "./EnumMediaStateFieldUpdateOperationsInputSchema"; +import { RundownItemUpdateOneWithoutMediaNestedInputSchema } from "./RundownItemUpdateOneWithoutMediaNestedInputSchema"; +import { ContinuityItemUpdateOneWithoutMediaNestedInputSchema } from "./ContinuityItemUpdateOneWithoutMediaNestedInputSchema"; +import { ProcessMediaJobUpdateManyWithoutMediaNestedInputSchema } from "./ProcessMediaJobUpdateManyWithoutMediaNestedInputSchema"; +import { AssetUpdateOneWithoutMediaNestedInputSchema } from "./AssetUpdateOneWithoutMediaNestedInputSchema"; + +export const MediaUpdateWithoutTasksInputSchema: z.ZodType = + z + .object({ + name: z + .union([ + z.string(), + z.lazy(() => StringFieldUpdateOperationsInputSchema), + ]) + .optional(), + rawPath: z + .union([ + z.string(), + z.lazy(() => StringFieldUpdateOperationsInputSchema), + ]) + .optional(), + path: z + .union([ + z.string(), + z.lazy(() => NullableStringFieldUpdateOperationsInputSchema), + ]) + .optional() + .nullable(), + durationSeconds: z + .union([ + z.number().int(), + z.lazy(() => IntFieldUpdateOperationsInputSchema), + ]) + .optional(), + state: z + .union([ + z.lazy(() => MediaStateSchema), + z.lazy(() => EnumMediaStateFieldUpdateOperationsInputSchema), + ]) + .optional(), + rundownItem: z + .lazy(() => RundownItemUpdateOneWithoutMediaNestedInputSchema) + .optional(), + continuityItem: z + .lazy(() => ContinuityItemUpdateOneWithoutMediaNestedInputSchema) + .optional(), + process_jobs: z + .lazy(() => ProcessMediaJobUpdateManyWithoutMediaNestedInputSchema) + .optional(), + asset: z + .lazy(() => AssetUpdateOneWithoutMediaNestedInputSchema) + .optional(), + }) + .strict(); + +export default MediaUpdateWithoutTasksInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/MediaUpsertWithoutAssetInputSchema.ts b/utility/prisma/types/inputTypeSchemas/MediaUpsertWithoutAssetInputSchema.ts new file mode 100644 index 00000000..faa3c1b6 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/MediaUpsertWithoutAssetInputSchema.ts @@ -0,0 +1,24 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { MediaUpdateWithoutAssetInputSchema } from "./MediaUpdateWithoutAssetInputSchema"; +import { MediaUncheckedUpdateWithoutAssetInputSchema } from "./MediaUncheckedUpdateWithoutAssetInputSchema"; +import { MediaCreateWithoutAssetInputSchema } from "./MediaCreateWithoutAssetInputSchema"; +import { MediaUncheckedCreateWithoutAssetInputSchema } from "./MediaUncheckedCreateWithoutAssetInputSchema"; +import { MediaWhereInputSchema } from "./MediaWhereInputSchema"; + +export const MediaUpsertWithoutAssetInputSchema: z.ZodType = + z + .object({ + update: z.union([ + z.lazy(() => MediaUpdateWithoutAssetInputSchema), + z.lazy(() => MediaUncheckedUpdateWithoutAssetInputSchema), + ]), + create: z.union([ + z.lazy(() => MediaCreateWithoutAssetInputSchema), + z.lazy(() => MediaUncheckedCreateWithoutAssetInputSchema), + ]), + where: z.lazy(() => MediaWhereInputSchema).optional(), + }) + .strict(); + +export default MediaUpsertWithoutAssetInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/MediaUpsertWithoutContinuityItemInputSchema.ts b/utility/prisma/types/inputTypeSchemas/MediaUpsertWithoutContinuityItemInputSchema.ts new file mode 100644 index 00000000..d6b7a53a --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/MediaUpsertWithoutContinuityItemInputSchema.ts @@ -0,0 +1,24 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { MediaUpdateWithoutContinuityItemInputSchema } from "./MediaUpdateWithoutContinuityItemInputSchema"; +import { MediaUncheckedUpdateWithoutContinuityItemInputSchema } from "./MediaUncheckedUpdateWithoutContinuityItemInputSchema"; +import { MediaCreateWithoutContinuityItemInputSchema } from "./MediaCreateWithoutContinuityItemInputSchema"; +import { MediaUncheckedCreateWithoutContinuityItemInputSchema } from "./MediaUncheckedCreateWithoutContinuityItemInputSchema"; +import { MediaWhereInputSchema } from "./MediaWhereInputSchema"; + +export const MediaUpsertWithoutContinuityItemInputSchema: z.ZodType = + z + .object({ + update: z.union([ + z.lazy(() => MediaUpdateWithoutContinuityItemInputSchema), + z.lazy(() => MediaUncheckedUpdateWithoutContinuityItemInputSchema), + ]), + create: z.union([ + z.lazy(() => MediaCreateWithoutContinuityItemInputSchema), + z.lazy(() => MediaUncheckedCreateWithoutContinuityItemInputSchema), + ]), + where: z.lazy(() => MediaWhereInputSchema).optional(), + }) + .strict(); + +export default MediaUpsertWithoutContinuityItemInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/MediaUpsertWithoutProcess_jobsInputSchema.ts b/utility/prisma/types/inputTypeSchemas/MediaUpsertWithoutProcess_jobsInputSchema.ts new file mode 100644 index 00000000..c57d4014 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/MediaUpsertWithoutProcess_jobsInputSchema.ts @@ -0,0 +1,24 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { MediaUpdateWithoutProcess_jobsInputSchema } from "./MediaUpdateWithoutProcess_jobsInputSchema"; +import { MediaUncheckedUpdateWithoutProcess_jobsInputSchema } from "./MediaUncheckedUpdateWithoutProcess_jobsInputSchema"; +import { MediaCreateWithoutProcess_jobsInputSchema } from "./MediaCreateWithoutProcess_jobsInputSchema"; +import { MediaUncheckedCreateWithoutProcess_jobsInputSchema } from "./MediaUncheckedCreateWithoutProcess_jobsInputSchema"; +import { MediaWhereInputSchema } from "./MediaWhereInputSchema"; + +export const MediaUpsertWithoutProcess_jobsInputSchema: z.ZodType = + z + .object({ + update: z.union([ + z.lazy(() => MediaUpdateWithoutProcess_jobsInputSchema), + z.lazy(() => MediaUncheckedUpdateWithoutProcess_jobsInputSchema), + ]), + create: z.union([ + z.lazy(() => MediaCreateWithoutProcess_jobsInputSchema), + z.lazy(() => MediaUncheckedCreateWithoutProcess_jobsInputSchema), + ]), + where: z.lazy(() => MediaWhereInputSchema).optional(), + }) + .strict(); + +export default MediaUpsertWithoutProcess_jobsInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/MediaUpsertWithoutRundownItemInputSchema.ts b/utility/prisma/types/inputTypeSchemas/MediaUpsertWithoutRundownItemInputSchema.ts new file mode 100644 index 00000000..8dcd4a45 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/MediaUpsertWithoutRundownItemInputSchema.ts @@ -0,0 +1,24 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { MediaUpdateWithoutRundownItemInputSchema } from "./MediaUpdateWithoutRundownItemInputSchema"; +import { MediaUncheckedUpdateWithoutRundownItemInputSchema } from "./MediaUncheckedUpdateWithoutRundownItemInputSchema"; +import { MediaCreateWithoutRundownItemInputSchema } from "./MediaCreateWithoutRundownItemInputSchema"; +import { MediaUncheckedCreateWithoutRundownItemInputSchema } from "./MediaUncheckedCreateWithoutRundownItemInputSchema"; +import { MediaWhereInputSchema } from "./MediaWhereInputSchema"; + +export const MediaUpsertWithoutRundownItemInputSchema: z.ZodType = + z + .object({ + update: z.union([ + z.lazy(() => MediaUpdateWithoutRundownItemInputSchema), + z.lazy(() => MediaUncheckedUpdateWithoutRundownItemInputSchema), + ]), + create: z.union([ + z.lazy(() => MediaCreateWithoutRundownItemInputSchema), + z.lazy(() => MediaUncheckedCreateWithoutRundownItemInputSchema), + ]), + where: z.lazy(() => MediaWhereInputSchema).optional(), + }) + .strict(); + +export default MediaUpsertWithoutRundownItemInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/MediaUpsertWithoutTasksInputSchema.ts b/utility/prisma/types/inputTypeSchemas/MediaUpsertWithoutTasksInputSchema.ts new file mode 100644 index 00000000..3aeee867 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/MediaUpsertWithoutTasksInputSchema.ts @@ -0,0 +1,24 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { MediaUpdateWithoutTasksInputSchema } from "./MediaUpdateWithoutTasksInputSchema"; +import { MediaUncheckedUpdateWithoutTasksInputSchema } from "./MediaUncheckedUpdateWithoutTasksInputSchema"; +import { MediaCreateWithoutTasksInputSchema } from "./MediaCreateWithoutTasksInputSchema"; +import { MediaUncheckedCreateWithoutTasksInputSchema } from "./MediaUncheckedCreateWithoutTasksInputSchema"; +import { MediaWhereInputSchema } from "./MediaWhereInputSchema"; + +export const MediaUpsertWithoutTasksInputSchema: z.ZodType = + z + .object({ + update: z.union([ + z.lazy(() => MediaUpdateWithoutTasksInputSchema), + z.lazy(() => MediaUncheckedUpdateWithoutTasksInputSchema), + ]), + create: z.union([ + z.lazy(() => MediaCreateWithoutTasksInputSchema), + z.lazy(() => MediaUncheckedCreateWithoutTasksInputSchema), + ]), + where: z.lazy(() => MediaWhereInputSchema).optional(), + }) + .strict(); + +export default MediaUpsertWithoutTasksInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/MediaWhereInputSchema.ts b/utility/prisma/types/inputTypeSchemas/MediaWhereInputSchema.ts new file mode 100644 index 00000000..cc5172c7 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/MediaWhereInputSchema.ts @@ -0,0 +1,88 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { IntFilterSchema } from "./IntFilterSchema"; +import { StringFilterSchema } from "./StringFilterSchema"; +import { StringNullableFilterSchema } from "./StringNullableFilterSchema"; +import { EnumMediaStateFilterSchema } from "./EnumMediaStateFilterSchema"; +import { MediaStateSchema } from "./MediaStateSchema"; +import { IntNullableFilterSchema } from "./IntNullableFilterSchema"; +import { RundownItemNullableRelationFilterSchema } from "./RundownItemNullableRelationFilterSchema"; +import { RundownItemWhereInputSchema } from "./RundownItemWhereInputSchema"; +import { ContinuityItemNullableRelationFilterSchema } from "./ContinuityItemNullableRelationFilterSchema"; +import { ContinuityItemWhereInputSchema } from "./ContinuityItemWhereInputSchema"; +import { MediaProcessingTaskListRelationFilterSchema } from "./MediaProcessingTaskListRelationFilterSchema"; +import { ProcessMediaJobListRelationFilterSchema } from "./ProcessMediaJobListRelationFilterSchema"; +import { AssetNullableRelationFilterSchema } from "./AssetNullableRelationFilterSchema"; +import { AssetWhereInputSchema } from "./AssetWhereInputSchema"; + +export const MediaWhereInputSchema: z.ZodType = z + .object({ + AND: z + .union([ + z.lazy(() => MediaWhereInputSchema), + z.lazy(() => MediaWhereInputSchema).array(), + ]) + .optional(), + OR: z + .lazy(() => MediaWhereInputSchema) + .array() + .optional(), + NOT: z + .union([ + z.lazy(() => MediaWhereInputSchema), + z.lazy(() => MediaWhereInputSchema).array(), + ]) + .optional(), + id: z.union([z.lazy(() => IntFilterSchema), z.number()]).optional(), + name: z.union([z.lazy(() => StringFilterSchema), z.string()]).optional(), + rawPath: z.union([z.lazy(() => StringFilterSchema), z.string()]).optional(), + path: z + .union([z.lazy(() => StringNullableFilterSchema), z.string()]) + .optional() + .nullable(), + durationSeconds: z + .union([z.lazy(() => IntFilterSchema), z.number()]) + .optional(), + state: z + .union([ + z.lazy(() => EnumMediaStateFilterSchema), + z.lazy(() => MediaStateSchema), + ]) + .optional(), + rundownItemID: z + .union([z.lazy(() => IntNullableFilterSchema), z.number()]) + .optional() + .nullable(), + continuityItemID: z + .union([z.lazy(() => IntNullableFilterSchema), z.number()]) + .optional() + .nullable(), + rundownItem: z + .union([ + z.lazy(() => RundownItemNullableRelationFilterSchema), + z.lazy(() => RundownItemWhereInputSchema), + ]) + .optional() + .nullable(), + continuityItem: z + .union([ + z.lazy(() => ContinuityItemNullableRelationFilterSchema), + z.lazy(() => ContinuityItemWhereInputSchema), + ]) + .optional() + .nullable(), + tasks: z.lazy(() => MediaProcessingTaskListRelationFilterSchema).optional(), + process_jobs: z + .lazy(() => ProcessMediaJobListRelationFilterSchema) + .optional(), + asset: z + .union([ + z.lazy(() => AssetNullableRelationFilterSchema), + z.lazy(() => AssetWhereInputSchema), + ]) + .optional() + .nullable(), + }) + .strict(); + +export default MediaWhereInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/MediaWhereUniqueInputSchema.ts b/utility/prisma/types/inputTypeSchemas/MediaWhereUniqueInputSchema.ts new file mode 100644 index 00000000..ce3d0d55 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/MediaWhereUniqueInputSchema.ts @@ -0,0 +1,120 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { MediaWhereInputSchema } from "./MediaWhereInputSchema"; +import { StringFilterSchema } from "./StringFilterSchema"; +import { StringNullableFilterSchema } from "./StringNullableFilterSchema"; +import { IntFilterSchema } from "./IntFilterSchema"; +import { EnumMediaStateFilterSchema } from "./EnumMediaStateFilterSchema"; +import { MediaStateSchema } from "./MediaStateSchema"; +import { RundownItemNullableRelationFilterSchema } from "./RundownItemNullableRelationFilterSchema"; +import { RundownItemWhereInputSchema } from "./RundownItemWhereInputSchema"; +import { ContinuityItemNullableRelationFilterSchema } from "./ContinuityItemNullableRelationFilterSchema"; +import { ContinuityItemWhereInputSchema } from "./ContinuityItemWhereInputSchema"; +import { MediaProcessingTaskListRelationFilterSchema } from "./MediaProcessingTaskListRelationFilterSchema"; +import { ProcessMediaJobListRelationFilterSchema } from "./ProcessMediaJobListRelationFilterSchema"; +import { AssetNullableRelationFilterSchema } from "./AssetNullableRelationFilterSchema"; +import { AssetWhereInputSchema } from "./AssetWhereInputSchema"; + +export const MediaWhereUniqueInputSchema: z.ZodType = + z + .union([ + z.object({ + id: z.number(), + rundownItemID: z.number(), + continuityItemID: z.number(), + }), + z.object({ + id: z.number(), + rundownItemID: z.number(), + }), + z.object({ + id: z.number(), + continuityItemID: z.number(), + }), + z.object({ + id: z.number(), + }), + z.object({ + rundownItemID: z.number(), + continuityItemID: z.number(), + }), + z.object({ + rundownItemID: z.number(), + }), + z.object({ + continuityItemID: z.number(), + }), + ]) + .and( + z + .object({ + id: z.number().optional(), + rundownItemID: z.number().optional(), + continuityItemID: z.number().optional(), + AND: z + .union([ + z.lazy(() => MediaWhereInputSchema), + z.lazy(() => MediaWhereInputSchema).array(), + ]) + .optional(), + OR: z + .lazy(() => MediaWhereInputSchema) + .array() + .optional(), + NOT: z + .union([ + z.lazy(() => MediaWhereInputSchema), + z.lazy(() => MediaWhereInputSchema).array(), + ]) + .optional(), + name: z + .union([z.lazy(() => StringFilterSchema), z.string()]) + .optional(), + rawPath: z + .union([z.lazy(() => StringFilterSchema), z.string()]) + .optional(), + path: z + .union([z.lazy(() => StringNullableFilterSchema), z.string()]) + .optional() + .nullable(), + durationSeconds: z + .union([z.lazy(() => IntFilterSchema), z.number()]) + .optional(), + state: z + .union([ + z.lazy(() => EnumMediaStateFilterSchema), + z.lazy(() => MediaStateSchema), + ]) + .optional(), + rundownItem: z + .union([ + z.lazy(() => RundownItemNullableRelationFilterSchema), + z.lazy(() => RundownItemWhereInputSchema), + ]) + .optional() + .nullable(), + continuityItem: z + .union([ + z.lazy(() => ContinuityItemNullableRelationFilterSchema), + z.lazy(() => ContinuityItemWhereInputSchema), + ]) + .optional() + .nullable(), + tasks: z + .lazy(() => MediaProcessingTaskListRelationFilterSchema) + .optional(), + process_jobs: z + .lazy(() => ProcessMediaJobListRelationFilterSchema) + .optional(), + asset: z + .union([ + z.lazy(() => AssetNullableRelationFilterSchema), + z.lazy(() => AssetWhereInputSchema), + ]) + .optional() + .nullable(), + }) + .strict(), + ); + +export default MediaWhereUniqueInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/NestedDateTimeFilterSchema.ts b/utility/prisma/types/inputTypeSchemas/NestedDateTimeFilterSchema.ts new file mode 100644 index 00000000..02ebfc98 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/NestedDateTimeFilterSchema.ts @@ -0,0 +1,20 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; + +export const NestedDateTimeFilterSchema: z.ZodType = + z + .object({ + equals: z.coerce.date().optional(), + in: z.coerce.date().array().optional(), + notIn: z.coerce.date().array().optional(), + lt: z.coerce.date().optional(), + lte: z.coerce.date().optional(), + gt: z.coerce.date().optional(), + gte: z.coerce.date().optional(), + not: z + .union([z.coerce.date(), z.lazy(() => NestedDateTimeFilterSchema)]) + .optional(), + }) + .strict(); + +export default NestedDateTimeFilterSchema; diff --git a/utility/prisma/types/inputTypeSchemas/NestedDateTimeNullableFilterSchema.ts b/utility/prisma/types/inputTypeSchemas/NestedDateTimeNullableFilterSchema.ts new file mode 100644 index 00000000..ee2d32ce --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/NestedDateTimeNullableFilterSchema.ts @@ -0,0 +1,24 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; + +export const NestedDateTimeNullableFilterSchema: z.ZodType = + z + .object({ + equals: z.coerce.date().optional().nullable(), + in: z.coerce.date().array().optional().nullable(), + notIn: z.coerce.date().array().optional().nullable(), + lt: z.coerce.date().optional(), + lte: z.coerce.date().optional(), + gt: z.coerce.date().optional(), + gte: z.coerce.date().optional(), + not: z + .union([ + z.coerce.date(), + z.lazy(() => NestedDateTimeNullableFilterSchema), + ]) + .optional() + .nullable(), + }) + .strict(); + +export default NestedDateTimeNullableFilterSchema; diff --git a/utility/prisma/types/inputTypeSchemas/NestedDateTimeNullableWithAggregatesFilterSchema.ts b/utility/prisma/types/inputTypeSchemas/NestedDateTimeNullableWithAggregatesFilterSchema.ts new file mode 100644 index 00000000..0e391527 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/NestedDateTimeNullableWithAggregatesFilterSchema.ts @@ -0,0 +1,29 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { NestedIntNullableFilterSchema } from "./NestedIntNullableFilterSchema"; +import { NestedDateTimeNullableFilterSchema } from "./NestedDateTimeNullableFilterSchema"; + +export const NestedDateTimeNullableWithAggregatesFilterSchema: z.ZodType = + z + .object({ + equals: z.coerce.date().optional().nullable(), + in: z.coerce.date().array().optional().nullable(), + notIn: z.coerce.date().array().optional().nullable(), + lt: z.coerce.date().optional(), + lte: z.coerce.date().optional(), + gt: z.coerce.date().optional(), + gte: z.coerce.date().optional(), + not: z + .union([ + z.coerce.date(), + z.lazy(() => NestedDateTimeNullableWithAggregatesFilterSchema), + ]) + .optional() + .nullable(), + _count: z.lazy(() => NestedIntNullableFilterSchema).optional(), + _min: z.lazy(() => NestedDateTimeNullableFilterSchema).optional(), + _max: z.lazy(() => NestedDateTimeNullableFilterSchema).optional(), + }) + .strict(); + +export default NestedDateTimeNullableWithAggregatesFilterSchema; diff --git a/utility/prisma/types/inputTypeSchemas/NestedDateTimeWithAggregatesFilterSchema.ts b/utility/prisma/types/inputTypeSchemas/NestedDateTimeWithAggregatesFilterSchema.ts new file mode 100644 index 00000000..286c99e6 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/NestedDateTimeWithAggregatesFilterSchema.ts @@ -0,0 +1,28 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { NestedIntFilterSchema } from "./NestedIntFilterSchema"; +import { NestedDateTimeFilterSchema } from "./NestedDateTimeFilterSchema"; + +export const NestedDateTimeWithAggregatesFilterSchema: z.ZodType = + z + .object({ + equals: z.coerce.date().optional(), + in: z.coerce.date().array().optional(), + notIn: z.coerce.date().array().optional(), + lt: z.coerce.date().optional(), + lte: z.coerce.date().optional(), + gt: z.coerce.date().optional(), + gte: z.coerce.date().optional(), + not: z + .union([ + z.coerce.date(), + z.lazy(() => NestedDateTimeWithAggregatesFilterSchema), + ]) + .optional(), + _count: z.lazy(() => NestedIntFilterSchema).optional(), + _min: z.lazy(() => NestedDateTimeFilterSchema).optional(), + _max: z.lazy(() => NestedDateTimeFilterSchema).optional(), + }) + .strict(); + +export default NestedDateTimeWithAggregatesFilterSchema; diff --git a/utility/prisma/types/inputTypeSchemas/NestedEnumAssetTypeFilterSchema.ts b/utility/prisma/types/inputTypeSchemas/NestedEnumAssetTypeFilterSchema.ts new file mode 100644 index 00000000..e96cfde2 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/NestedEnumAssetTypeFilterSchema.ts @@ -0,0 +1,26 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { AssetTypeSchema } from "./AssetTypeSchema"; + +export const NestedEnumAssetTypeFilterSchema: z.ZodType = + z + .object({ + equals: z.lazy(() => AssetTypeSchema).optional(), + in: z + .lazy(() => AssetTypeSchema) + .array() + .optional(), + notIn: z + .lazy(() => AssetTypeSchema) + .array() + .optional(), + not: z + .union([ + z.lazy(() => AssetTypeSchema), + z.lazy(() => NestedEnumAssetTypeFilterSchema), + ]) + .optional(), + }) + .strict(); + +export default NestedEnumAssetTypeFilterSchema; diff --git a/utility/prisma/types/inputTypeSchemas/NestedEnumAssetTypeWithAggregatesFilterSchema.ts b/utility/prisma/types/inputTypeSchemas/NestedEnumAssetTypeWithAggregatesFilterSchema.ts new file mode 100644 index 00000000..05e9686c --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/NestedEnumAssetTypeWithAggregatesFilterSchema.ts @@ -0,0 +1,31 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { AssetTypeSchema } from "./AssetTypeSchema"; +import { NestedIntFilterSchema } from "./NestedIntFilterSchema"; +import { NestedEnumAssetTypeFilterSchema } from "./NestedEnumAssetTypeFilterSchema"; + +export const NestedEnumAssetTypeWithAggregatesFilterSchema: z.ZodType = + z + .object({ + equals: z.lazy(() => AssetTypeSchema).optional(), + in: z + .lazy(() => AssetTypeSchema) + .array() + .optional(), + notIn: z + .lazy(() => AssetTypeSchema) + .array() + .optional(), + not: z + .union([ + z.lazy(() => AssetTypeSchema), + z.lazy(() => NestedEnumAssetTypeWithAggregatesFilterSchema), + ]) + .optional(), + _count: z.lazy(() => NestedIntFilterSchema).optional(), + _min: z.lazy(() => NestedEnumAssetTypeFilterSchema).optional(), + _max: z.lazy(() => NestedEnumAssetTypeFilterSchema).optional(), + }) + .strict(); + +export default NestedEnumAssetTypeWithAggregatesFilterSchema; diff --git a/utility/prisma/types/inputTypeSchemas/NestedEnumJobStateFilterSchema.ts b/utility/prisma/types/inputTypeSchemas/NestedEnumJobStateFilterSchema.ts new file mode 100644 index 00000000..fd091144 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/NestedEnumJobStateFilterSchema.ts @@ -0,0 +1,26 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { JobStateSchema } from "./JobStateSchema"; + +export const NestedEnumJobStateFilterSchema: z.ZodType = + z + .object({ + equals: z.lazy(() => JobStateSchema).optional(), + in: z + .lazy(() => JobStateSchema) + .array() + .optional(), + notIn: z + .lazy(() => JobStateSchema) + .array() + .optional(), + not: z + .union([ + z.lazy(() => JobStateSchema), + z.lazy(() => NestedEnumJobStateFilterSchema), + ]) + .optional(), + }) + .strict(); + +export default NestedEnumJobStateFilterSchema; diff --git a/utility/prisma/types/inputTypeSchemas/NestedEnumJobStateWithAggregatesFilterSchema.ts b/utility/prisma/types/inputTypeSchemas/NestedEnumJobStateWithAggregatesFilterSchema.ts new file mode 100644 index 00000000..ceff1e0b --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/NestedEnumJobStateWithAggregatesFilterSchema.ts @@ -0,0 +1,31 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { JobStateSchema } from "./JobStateSchema"; +import { NestedIntFilterSchema } from "./NestedIntFilterSchema"; +import { NestedEnumJobStateFilterSchema } from "./NestedEnumJobStateFilterSchema"; + +export const NestedEnumJobStateWithAggregatesFilterSchema: z.ZodType = + z + .object({ + equals: z.lazy(() => JobStateSchema).optional(), + in: z + .lazy(() => JobStateSchema) + .array() + .optional(), + notIn: z + .lazy(() => JobStateSchema) + .array() + .optional(), + not: z + .union([ + z.lazy(() => JobStateSchema), + z.lazy(() => NestedEnumJobStateWithAggregatesFilterSchema), + ]) + .optional(), + _count: z.lazy(() => NestedIntFilterSchema).optional(), + _min: z.lazy(() => NestedEnumJobStateFilterSchema).optional(), + _max: z.lazy(() => NestedEnumJobStateFilterSchema).optional(), + }) + .strict(); + +export default NestedEnumJobStateWithAggregatesFilterSchema; diff --git a/utility/prisma/types/inputTypeSchemas/NestedEnumMediaFileSourceTypeFilterSchema.ts b/utility/prisma/types/inputTypeSchemas/NestedEnumMediaFileSourceTypeFilterSchema.ts new file mode 100644 index 00000000..fbe9c2df --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/NestedEnumMediaFileSourceTypeFilterSchema.ts @@ -0,0 +1,26 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { MediaFileSourceTypeSchema } from "./MediaFileSourceTypeSchema"; + +export const NestedEnumMediaFileSourceTypeFilterSchema: z.ZodType = + z + .object({ + equals: z.lazy(() => MediaFileSourceTypeSchema).optional(), + in: z + .lazy(() => MediaFileSourceTypeSchema) + .array() + .optional(), + notIn: z + .lazy(() => MediaFileSourceTypeSchema) + .array() + .optional(), + not: z + .union([ + z.lazy(() => MediaFileSourceTypeSchema), + z.lazy(() => NestedEnumMediaFileSourceTypeFilterSchema), + ]) + .optional(), + }) + .strict(); + +export default NestedEnumMediaFileSourceTypeFilterSchema; diff --git a/utility/prisma/types/inputTypeSchemas/NestedEnumMediaFileSourceTypeWithAggregatesFilterSchema.ts b/utility/prisma/types/inputTypeSchemas/NestedEnumMediaFileSourceTypeWithAggregatesFilterSchema.ts new file mode 100644 index 00000000..9f1bdea2 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/NestedEnumMediaFileSourceTypeWithAggregatesFilterSchema.ts @@ -0,0 +1,31 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { MediaFileSourceTypeSchema } from "./MediaFileSourceTypeSchema"; +import { NestedIntFilterSchema } from "./NestedIntFilterSchema"; +import { NestedEnumMediaFileSourceTypeFilterSchema } from "./NestedEnumMediaFileSourceTypeFilterSchema"; + +export const NestedEnumMediaFileSourceTypeWithAggregatesFilterSchema: z.ZodType = + z + .object({ + equals: z.lazy(() => MediaFileSourceTypeSchema).optional(), + in: z + .lazy(() => MediaFileSourceTypeSchema) + .array() + .optional(), + notIn: z + .lazy(() => MediaFileSourceTypeSchema) + .array() + .optional(), + not: z + .union([ + z.lazy(() => MediaFileSourceTypeSchema), + z.lazy(() => NestedEnumMediaFileSourceTypeWithAggregatesFilterSchema), + ]) + .optional(), + _count: z.lazy(() => NestedIntFilterSchema).optional(), + _min: z.lazy(() => NestedEnumMediaFileSourceTypeFilterSchema).optional(), + _max: z.lazy(() => NestedEnumMediaFileSourceTypeFilterSchema).optional(), + }) + .strict(); + +export default NestedEnumMediaFileSourceTypeWithAggregatesFilterSchema; diff --git a/utility/prisma/types/inputTypeSchemas/NestedEnumMediaProcessingTaskStateFilterSchema.ts b/utility/prisma/types/inputTypeSchemas/NestedEnumMediaProcessingTaskStateFilterSchema.ts new file mode 100644 index 00000000..28588f61 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/NestedEnumMediaProcessingTaskStateFilterSchema.ts @@ -0,0 +1,26 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { MediaProcessingTaskStateSchema } from "./MediaProcessingTaskStateSchema"; + +export const NestedEnumMediaProcessingTaskStateFilterSchema: z.ZodType = + z + .object({ + equals: z.lazy(() => MediaProcessingTaskStateSchema).optional(), + in: z + .lazy(() => MediaProcessingTaskStateSchema) + .array() + .optional(), + notIn: z + .lazy(() => MediaProcessingTaskStateSchema) + .array() + .optional(), + not: z + .union([ + z.lazy(() => MediaProcessingTaskStateSchema), + z.lazy(() => NestedEnumMediaProcessingTaskStateFilterSchema), + ]) + .optional(), + }) + .strict(); + +export default NestedEnumMediaProcessingTaskStateFilterSchema; diff --git a/utility/prisma/types/inputTypeSchemas/NestedEnumMediaProcessingTaskStateWithAggregatesFilterSchema.ts b/utility/prisma/types/inputTypeSchemas/NestedEnumMediaProcessingTaskStateWithAggregatesFilterSchema.ts new file mode 100644 index 00000000..f9bc169f --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/NestedEnumMediaProcessingTaskStateWithAggregatesFilterSchema.ts @@ -0,0 +1,37 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { MediaProcessingTaskStateSchema } from "./MediaProcessingTaskStateSchema"; +import { NestedIntFilterSchema } from "./NestedIntFilterSchema"; +import { NestedEnumMediaProcessingTaskStateFilterSchema } from "./NestedEnumMediaProcessingTaskStateFilterSchema"; + +export const NestedEnumMediaProcessingTaskStateWithAggregatesFilterSchema: z.ZodType = + z + .object({ + equals: z.lazy(() => MediaProcessingTaskStateSchema).optional(), + in: z + .lazy(() => MediaProcessingTaskStateSchema) + .array() + .optional(), + notIn: z + .lazy(() => MediaProcessingTaskStateSchema) + .array() + .optional(), + not: z + .union([ + z.lazy(() => MediaProcessingTaskStateSchema), + z.lazy( + () => NestedEnumMediaProcessingTaskStateWithAggregatesFilterSchema, + ), + ]) + .optional(), + _count: z.lazy(() => NestedIntFilterSchema).optional(), + _min: z + .lazy(() => NestedEnumMediaProcessingTaskStateFilterSchema) + .optional(), + _max: z + .lazy(() => NestedEnumMediaProcessingTaskStateFilterSchema) + .optional(), + }) + .strict(); + +export default NestedEnumMediaProcessingTaskStateWithAggregatesFilterSchema; diff --git a/utility/prisma/types/inputTypeSchemas/NestedEnumMediaStateFilterSchema.ts b/utility/prisma/types/inputTypeSchemas/NestedEnumMediaStateFilterSchema.ts new file mode 100644 index 00000000..df2dd7d1 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/NestedEnumMediaStateFilterSchema.ts @@ -0,0 +1,26 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { MediaStateSchema } from "./MediaStateSchema"; + +export const NestedEnumMediaStateFilterSchema: z.ZodType = + z + .object({ + equals: z.lazy(() => MediaStateSchema).optional(), + in: z + .lazy(() => MediaStateSchema) + .array() + .optional(), + notIn: z + .lazy(() => MediaStateSchema) + .array() + .optional(), + not: z + .union([ + z.lazy(() => MediaStateSchema), + z.lazy(() => NestedEnumMediaStateFilterSchema), + ]) + .optional(), + }) + .strict(); + +export default NestedEnumMediaStateFilterSchema; diff --git a/utility/prisma/types/inputTypeSchemas/NestedEnumMediaStateWithAggregatesFilterSchema.ts b/utility/prisma/types/inputTypeSchemas/NestedEnumMediaStateWithAggregatesFilterSchema.ts new file mode 100644 index 00000000..64965584 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/NestedEnumMediaStateWithAggregatesFilterSchema.ts @@ -0,0 +1,31 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { MediaStateSchema } from "./MediaStateSchema"; +import { NestedIntFilterSchema } from "./NestedIntFilterSchema"; +import { NestedEnumMediaStateFilterSchema } from "./NestedEnumMediaStateFilterSchema"; + +export const NestedEnumMediaStateWithAggregatesFilterSchema: z.ZodType = + z + .object({ + equals: z.lazy(() => MediaStateSchema).optional(), + in: z + .lazy(() => MediaStateSchema) + .array() + .optional(), + notIn: z + .lazy(() => MediaStateSchema) + .array() + .optional(), + not: z + .union([ + z.lazy(() => MediaStateSchema), + z.lazy(() => NestedEnumMediaStateWithAggregatesFilterSchema), + ]) + .optional(), + _count: z.lazy(() => NestedIntFilterSchema).optional(), + _min: z.lazy(() => NestedEnumMediaStateFilterSchema).optional(), + _max: z.lazy(() => NestedEnumMediaStateFilterSchema).optional(), + }) + .strict(); + +export default NestedEnumMediaStateWithAggregatesFilterSchema; diff --git a/utility/prisma/types/inputTypeSchemas/NestedEnumRundownItemTypeFilterSchema.ts b/utility/prisma/types/inputTypeSchemas/NestedEnumRundownItemTypeFilterSchema.ts new file mode 100644 index 00000000..9e2a4c01 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/NestedEnumRundownItemTypeFilterSchema.ts @@ -0,0 +1,26 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { RundownItemTypeSchema } from "./RundownItemTypeSchema"; + +export const NestedEnumRundownItemTypeFilterSchema: z.ZodType = + z + .object({ + equals: z.lazy(() => RundownItemTypeSchema).optional(), + in: z + .lazy(() => RundownItemTypeSchema) + .array() + .optional(), + notIn: z + .lazy(() => RundownItemTypeSchema) + .array() + .optional(), + not: z + .union([ + z.lazy(() => RundownItemTypeSchema), + z.lazy(() => NestedEnumRundownItemTypeFilterSchema), + ]) + .optional(), + }) + .strict(); + +export default NestedEnumRundownItemTypeFilterSchema; diff --git a/utility/prisma/types/inputTypeSchemas/NestedEnumRundownItemTypeWithAggregatesFilterSchema.ts b/utility/prisma/types/inputTypeSchemas/NestedEnumRundownItemTypeWithAggregatesFilterSchema.ts new file mode 100644 index 00000000..2047e382 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/NestedEnumRundownItemTypeWithAggregatesFilterSchema.ts @@ -0,0 +1,31 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { RundownItemTypeSchema } from "./RundownItemTypeSchema"; +import { NestedIntFilterSchema } from "./NestedIntFilterSchema"; +import { NestedEnumRundownItemTypeFilterSchema } from "./NestedEnumRundownItemTypeFilterSchema"; + +export const NestedEnumRundownItemTypeWithAggregatesFilterSchema: z.ZodType = + z + .object({ + equals: z.lazy(() => RundownItemTypeSchema).optional(), + in: z + .lazy(() => RundownItemTypeSchema) + .array() + .optional(), + notIn: z + .lazy(() => RundownItemTypeSchema) + .array() + .optional(), + not: z + .union([ + z.lazy(() => RundownItemTypeSchema), + z.lazy(() => NestedEnumRundownItemTypeWithAggregatesFilterSchema), + ]) + .optional(), + _count: z.lazy(() => NestedIntFilterSchema).optional(), + _min: z.lazy(() => NestedEnumRundownItemTypeFilterSchema).optional(), + _max: z.lazy(() => NestedEnumRundownItemTypeFilterSchema).optional(), + }) + .strict(); + +export default NestedEnumRundownItemTypeWithAggregatesFilterSchema; diff --git a/utility/prisma/types/inputTypeSchemas/NestedFloatFilterSchema.ts b/utility/prisma/types/inputTypeSchemas/NestedFloatFilterSchema.ts new file mode 100644 index 00000000..8b3386ca --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/NestedFloatFilterSchema.ts @@ -0,0 +1,19 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; + +export const NestedFloatFilterSchema: z.ZodType = z + .object({ + equals: z.number().optional(), + in: z.number().array().optional(), + notIn: z.number().array().optional(), + lt: z.number().optional(), + lte: z.number().optional(), + gt: z.number().optional(), + gte: z.number().optional(), + not: z + .union([z.number(), z.lazy(() => NestedFloatFilterSchema)]) + .optional(), + }) + .strict(); + +export default NestedFloatFilterSchema; diff --git a/utility/prisma/types/inputTypeSchemas/NestedFloatNullableFilterSchema.ts b/utility/prisma/types/inputTypeSchemas/NestedFloatNullableFilterSchema.ts new file mode 100644 index 00000000..099d81a0 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/NestedFloatNullableFilterSchema.ts @@ -0,0 +1,21 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; + +export const NestedFloatNullableFilterSchema: z.ZodType = + z + .object({ + equals: z.number().optional().nullable(), + in: z.number().array().optional().nullable(), + notIn: z.number().array().optional().nullable(), + lt: z.number().optional(), + lte: z.number().optional(), + gt: z.number().optional(), + gte: z.number().optional(), + not: z + .union([z.number(), z.lazy(() => NestedFloatNullableFilterSchema)]) + .optional() + .nullable(), + }) + .strict(); + +export default NestedFloatNullableFilterSchema; diff --git a/utility/prisma/types/inputTypeSchemas/NestedIntFilterSchema.ts b/utility/prisma/types/inputTypeSchemas/NestedIntFilterSchema.ts new file mode 100644 index 00000000..abb6f0d8 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/NestedIntFilterSchema.ts @@ -0,0 +1,17 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; + +export const NestedIntFilterSchema: z.ZodType = z + .object({ + equals: z.number().optional(), + in: z.number().array().optional(), + notIn: z.number().array().optional(), + lt: z.number().optional(), + lte: z.number().optional(), + gt: z.number().optional(), + gte: z.number().optional(), + not: z.union([z.number(), z.lazy(() => NestedIntFilterSchema)]).optional(), + }) + .strict(); + +export default NestedIntFilterSchema; diff --git a/utility/prisma/types/inputTypeSchemas/NestedIntNullableFilterSchema.ts b/utility/prisma/types/inputTypeSchemas/NestedIntNullableFilterSchema.ts new file mode 100644 index 00000000..e84b7bcf --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/NestedIntNullableFilterSchema.ts @@ -0,0 +1,21 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; + +export const NestedIntNullableFilterSchema: z.ZodType = + z + .object({ + equals: z.number().optional().nullable(), + in: z.number().array().optional().nullable(), + notIn: z.number().array().optional().nullable(), + lt: z.number().optional(), + lte: z.number().optional(), + gt: z.number().optional(), + gte: z.number().optional(), + not: z + .union([z.number(), z.lazy(() => NestedIntNullableFilterSchema)]) + .optional() + .nullable(), + }) + .strict(); + +export default NestedIntNullableFilterSchema; diff --git a/utility/prisma/types/inputTypeSchemas/NestedIntNullableWithAggregatesFilterSchema.ts b/utility/prisma/types/inputTypeSchemas/NestedIntNullableWithAggregatesFilterSchema.ts new file mode 100644 index 00000000..b37f9740 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/NestedIntNullableWithAggregatesFilterSchema.ts @@ -0,0 +1,31 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { NestedIntNullableFilterSchema } from "./NestedIntNullableFilterSchema"; +import { NestedFloatNullableFilterSchema } from "./NestedFloatNullableFilterSchema"; + +export const NestedIntNullableWithAggregatesFilterSchema: z.ZodType = + z + .object({ + equals: z.number().optional().nullable(), + in: z.number().array().optional().nullable(), + notIn: z.number().array().optional().nullable(), + lt: z.number().optional(), + lte: z.number().optional(), + gt: z.number().optional(), + gte: z.number().optional(), + not: z + .union([ + z.number(), + z.lazy(() => NestedIntNullableWithAggregatesFilterSchema), + ]) + .optional() + .nullable(), + _count: z.lazy(() => NestedIntNullableFilterSchema).optional(), + _avg: z.lazy(() => NestedFloatNullableFilterSchema).optional(), + _sum: z.lazy(() => NestedIntNullableFilterSchema).optional(), + _min: z.lazy(() => NestedIntNullableFilterSchema).optional(), + _max: z.lazy(() => NestedIntNullableFilterSchema).optional(), + }) + .strict(); + +export default NestedIntNullableWithAggregatesFilterSchema; diff --git a/utility/prisma/types/inputTypeSchemas/NestedIntWithAggregatesFilterSchema.ts b/utility/prisma/types/inputTypeSchemas/NestedIntWithAggregatesFilterSchema.ts new file mode 100644 index 00000000..7deec523 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/NestedIntWithAggregatesFilterSchema.ts @@ -0,0 +1,27 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { NestedIntFilterSchema } from "./NestedIntFilterSchema"; +import { NestedFloatFilterSchema } from "./NestedFloatFilterSchema"; + +export const NestedIntWithAggregatesFilterSchema: z.ZodType = + z + .object({ + equals: z.number().optional(), + in: z.number().array().optional(), + notIn: z.number().array().optional(), + lt: z.number().optional(), + lte: z.number().optional(), + gt: z.number().optional(), + gte: z.number().optional(), + not: z + .union([z.number(), z.lazy(() => NestedIntWithAggregatesFilterSchema)]) + .optional(), + _count: z.lazy(() => NestedIntFilterSchema).optional(), + _avg: z.lazy(() => NestedFloatFilterSchema).optional(), + _sum: z.lazy(() => NestedIntFilterSchema).optional(), + _min: z.lazy(() => NestedIntFilterSchema).optional(), + _max: z.lazy(() => NestedIntFilterSchema).optional(), + }) + .strict(); + +export default NestedIntWithAggregatesFilterSchema; diff --git a/utility/prisma/types/inputTypeSchemas/NestedStringFilterSchema.ts b/utility/prisma/types/inputTypeSchemas/NestedStringFilterSchema.ts new file mode 100644 index 00000000..1bf0bb03 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/NestedStringFilterSchema.ts @@ -0,0 +1,22 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; + +export const NestedStringFilterSchema: z.ZodType = z + .object({ + equals: z.string().optional(), + in: z.string().array().optional(), + notIn: z.string().array().optional(), + lt: z.string().optional(), + lte: z.string().optional(), + gt: z.string().optional(), + gte: z.string().optional(), + contains: z.string().optional(), + startsWith: z.string().optional(), + endsWith: z.string().optional(), + not: z + .union([z.string(), z.lazy(() => NestedStringFilterSchema)]) + .optional(), + }) + .strict(); + +export default NestedStringFilterSchema; diff --git a/utility/prisma/types/inputTypeSchemas/NestedStringNullableFilterSchema.ts b/utility/prisma/types/inputTypeSchemas/NestedStringNullableFilterSchema.ts new file mode 100644 index 00000000..990725b1 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/NestedStringNullableFilterSchema.ts @@ -0,0 +1,24 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; + +export const NestedStringNullableFilterSchema: z.ZodType = + z + .object({ + equals: z.string().optional().nullable(), + in: z.string().array().optional().nullable(), + notIn: z.string().array().optional().nullable(), + lt: z.string().optional(), + lte: z.string().optional(), + gt: z.string().optional(), + gte: z.string().optional(), + contains: z.string().optional(), + startsWith: z.string().optional(), + endsWith: z.string().optional(), + not: z + .union([z.string(), z.lazy(() => NestedStringNullableFilterSchema)]) + .optional() + .nullable(), + }) + .strict(); + +export default NestedStringNullableFilterSchema; diff --git a/utility/prisma/types/inputTypeSchemas/NestedStringNullableWithAggregatesFilterSchema.ts b/utility/prisma/types/inputTypeSchemas/NestedStringNullableWithAggregatesFilterSchema.ts new file mode 100644 index 00000000..036204b0 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/NestedStringNullableWithAggregatesFilterSchema.ts @@ -0,0 +1,32 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { NestedIntNullableFilterSchema } from "./NestedIntNullableFilterSchema"; +import { NestedStringNullableFilterSchema } from "./NestedStringNullableFilterSchema"; + +export const NestedStringNullableWithAggregatesFilterSchema: z.ZodType = + z + .object({ + equals: z.string().optional().nullable(), + in: z.string().array().optional().nullable(), + notIn: z.string().array().optional().nullable(), + lt: z.string().optional(), + lte: z.string().optional(), + gt: z.string().optional(), + gte: z.string().optional(), + contains: z.string().optional(), + startsWith: z.string().optional(), + endsWith: z.string().optional(), + not: z + .union([ + z.string(), + z.lazy(() => NestedStringNullableWithAggregatesFilterSchema), + ]) + .optional() + .nullable(), + _count: z.lazy(() => NestedIntNullableFilterSchema).optional(), + _min: z.lazy(() => NestedStringNullableFilterSchema).optional(), + _max: z.lazy(() => NestedStringNullableFilterSchema).optional(), + }) + .strict(); + +export default NestedStringNullableWithAggregatesFilterSchema; diff --git a/utility/prisma/types/inputTypeSchemas/NestedStringWithAggregatesFilterSchema.ts b/utility/prisma/types/inputTypeSchemas/NestedStringWithAggregatesFilterSchema.ts new file mode 100644 index 00000000..61947b39 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/NestedStringWithAggregatesFilterSchema.ts @@ -0,0 +1,31 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { NestedIntFilterSchema } from "./NestedIntFilterSchema"; +import { NestedStringFilterSchema } from "./NestedStringFilterSchema"; + +export const NestedStringWithAggregatesFilterSchema: z.ZodType = + z + .object({ + equals: z.string().optional(), + in: z.string().array().optional(), + notIn: z.string().array().optional(), + lt: z.string().optional(), + lte: z.string().optional(), + gt: z.string().optional(), + gte: z.string().optional(), + contains: z.string().optional(), + startsWith: z.string().optional(), + endsWith: z.string().optional(), + not: z + .union([ + z.string(), + z.lazy(() => NestedStringWithAggregatesFilterSchema), + ]) + .optional(), + _count: z.lazy(() => NestedIntFilterSchema).optional(), + _min: z.lazy(() => NestedStringFilterSchema).optional(), + _max: z.lazy(() => NestedStringFilterSchema).optional(), + }) + .strict(); + +export default NestedStringWithAggregatesFilterSchema; diff --git a/utility/prisma/types/inputTypeSchemas/NullableDateTimeFieldUpdateOperationsInputSchema.ts b/utility/prisma/types/inputTypeSchemas/NullableDateTimeFieldUpdateOperationsInputSchema.ts new file mode 100644 index 00000000..4e5d2edf --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/NullableDateTimeFieldUpdateOperationsInputSchema.ts @@ -0,0 +1,11 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; + +export const NullableDateTimeFieldUpdateOperationsInputSchema: z.ZodType = + z + .object({ + set: z.coerce.date().optional().nullable(), + }) + .strict(); + +export default NullableDateTimeFieldUpdateOperationsInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/NullableIntFieldUpdateOperationsInputSchema.ts b/utility/prisma/types/inputTypeSchemas/NullableIntFieldUpdateOperationsInputSchema.ts new file mode 100644 index 00000000..fb8ebf22 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/NullableIntFieldUpdateOperationsInputSchema.ts @@ -0,0 +1,15 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; + +export const NullableIntFieldUpdateOperationsInputSchema: z.ZodType = + z + .object({ + set: z.number().optional().nullable(), + increment: z.number().optional(), + decrement: z.number().optional(), + multiply: z.number().optional(), + divide: z.number().optional(), + }) + .strict(); + +export default NullableIntFieldUpdateOperationsInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/NullableStringFieldUpdateOperationsInputSchema.ts b/utility/prisma/types/inputTypeSchemas/NullableStringFieldUpdateOperationsInputSchema.ts new file mode 100644 index 00000000..8ed3229f --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/NullableStringFieldUpdateOperationsInputSchema.ts @@ -0,0 +1,11 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; + +export const NullableStringFieldUpdateOperationsInputSchema: z.ZodType = + z + .object({ + set: z.string().optional().nullable(), + }) + .strict(); + +export default NullableStringFieldUpdateOperationsInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/ProcessMediaJobAvgOrderByAggregateInputSchema.ts b/utility/prisma/types/inputTypeSchemas/ProcessMediaJobAvgOrderByAggregateInputSchema.ts new file mode 100644 index 00000000..7c9bdc9f --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/ProcessMediaJobAvgOrderByAggregateInputSchema.ts @@ -0,0 +1,14 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { SortOrderSchema } from "./SortOrderSchema"; + +export const ProcessMediaJobAvgOrderByAggregateInputSchema: z.ZodType = + z + .object({ + id: z.lazy(() => SortOrderSchema).optional(), + mediaId: z.lazy(() => SortOrderSchema).optional(), + base_job_id: z.lazy(() => SortOrderSchema).optional(), + }) + .strict(); + +export default ProcessMediaJobAvgOrderByAggregateInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/ProcessMediaJobCountOrderByAggregateInputSchema.ts b/utility/prisma/types/inputTypeSchemas/ProcessMediaJobCountOrderByAggregateInputSchema.ts new file mode 100644 index 00000000..8b5a4aa0 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/ProcessMediaJobCountOrderByAggregateInputSchema.ts @@ -0,0 +1,16 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { SortOrderSchema } from "./SortOrderSchema"; + +export const ProcessMediaJobCountOrderByAggregateInputSchema: z.ZodType = + z + .object({ + id: z.lazy(() => SortOrderSchema).optional(), + mediaId: z.lazy(() => SortOrderSchema).optional(), + sourceType: z.lazy(() => SortOrderSchema).optional(), + source: z.lazy(() => SortOrderSchema).optional(), + base_job_id: z.lazy(() => SortOrderSchema).optional(), + }) + .strict(); + +export default ProcessMediaJobCountOrderByAggregateInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/ProcessMediaJobCreateInputSchema.ts b/utility/prisma/types/inputTypeSchemas/ProcessMediaJobCreateInputSchema.ts new file mode 100644 index 00000000..50a7b1bd --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/ProcessMediaJobCreateInputSchema.ts @@ -0,0 +1,19 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { MediaFileSourceTypeSchema } from "./MediaFileSourceTypeSchema"; +import { MediaCreateNestedOneWithoutProcess_jobsInputSchema } from "./MediaCreateNestedOneWithoutProcess_jobsInputSchema"; +import { BaseJobCreateNestedOneWithoutProcessMediaJobInputSchema } from "./BaseJobCreateNestedOneWithoutProcessMediaJobInputSchema"; + +export const ProcessMediaJobCreateInputSchema: z.ZodType = + z + .object({ + sourceType: z.lazy(() => MediaFileSourceTypeSchema), + source: z.string(), + media: z.lazy(() => MediaCreateNestedOneWithoutProcess_jobsInputSchema), + base_job: z.lazy( + () => BaseJobCreateNestedOneWithoutProcessMediaJobInputSchema, + ), + }) + .strict(); + +export default ProcessMediaJobCreateInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/ProcessMediaJobCreateManyInputSchema.ts b/utility/prisma/types/inputTypeSchemas/ProcessMediaJobCreateManyInputSchema.ts new file mode 100644 index 00000000..42ca3beb --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/ProcessMediaJobCreateManyInputSchema.ts @@ -0,0 +1,16 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { MediaFileSourceTypeSchema } from "./MediaFileSourceTypeSchema"; + +export const ProcessMediaJobCreateManyInputSchema: z.ZodType = + z + .object({ + id: z.number().int().optional(), + mediaId: z.number().int(), + sourceType: z.lazy(() => MediaFileSourceTypeSchema), + source: z.string(), + base_job_id: z.number().int(), + }) + .strict(); + +export default ProcessMediaJobCreateManyInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/ProcessMediaJobCreateManyMediaInputEnvelopeSchema.ts b/utility/prisma/types/inputTypeSchemas/ProcessMediaJobCreateManyMediaInputEnvelopeSchema.ts new file mode 100644 index 00000000..21c928f1 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/ProcessMediaJobCreateManyMediaInputEnvelopeSchema.ts @@ -0,0 +1,16 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { ProcessMediaJobCreateManyMediaInputSchema } from "./ProcessMediaJobCreateManyMediaInputSchema"; + +export const ProcessMediaJobCreateManyMediaInputEnvelopeSchema: z.ZodType = + z + .object({ + data: z.union([ + z.lazy(() => ProcessMediaJobCreateManyMediaInputSchema), + z.lazy(() => ProcessMediaJobCreateManyMediaInputSchema).array(), + ]), + skipDuplicates: z.boolean().optional(), + }) + .strict(); + +export default ProcessMediaJobCreateManyMediaInputEnvelopeSchema; diff --git a/utility/prisma/types/inputTypeSchemas/ProcessMediaJobCreateManyMediaInputSchema.ts b/utility/prisma/types/inputTypeSchemas/ProcessMediaJobCreateManyMediaInputSchema.ts new file mode 100644 index 00000000..69e2c871 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/ProcessMediaJobCreateManyMediaInputSchema.ts @@ -0,0 +1,15 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { MediaFileSourceTypeSchema } from "./MediaFileSourceTypeSchema"; + +export const ProcessMediaJobCreateManyMediaInputSchema: z.ZodType = + z + .object({ + id: z.number().int().optional(), + sourceType: z.lazy(() => MediaFileSourceTypeSchema), + source: z.string(), + base_job_id: z.number().int(), + }) + .strict(); + +export default ProcessMediaJobCreateManyMediaInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/ProcessMediaJobCreateNestedManyWithoutMediaInputSchema.ts b/utility/prisma/types/inputTypeSchemas/ProcessMediaJobCreateNestedManyWithoutMediaInputSchema.ts new file mode 100644 index 00000000..95d0c59b --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/ProcessMediaJobCreateNestedManyWithoutMediaInputSchema.ts @@ -0,0 +1,42 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { ProcessMediaJobCreateWithoutMediaInputSchema } from "./ProcessMediaJobCreateWithoutMediaInputSchema"; +import { ProcessMediaJobUncheckedCreateWithoutMediaInputSchema } from "./ProcessMediaJobUncheckedCreateWithoutMediaInputSchema"; +import { ProcessMediaJobCreateOrConnectWithoutMediaInputSchema } from "./ProcessMediaJobCreateOrConnectWithoutMediaInputSchema"; +import { ProcessMediaJobCreateManyMediaInputEnvelopeSchema } from "./ProcessMediaJobCreateManyMediaInputEnvelopeSchema"; +import { ProcessMediaJobWhereUniqueInputSchema } from "./ProcessMediaJobWhereUniqueInputSchema"; + +export const ProcessMediaJobCreateNestedManyWithoutMediaInputSchema: z.ZodType = + z + .object({ + create: z + .union([ + z.lazy(() => ProcessMediaJobCreateWithoutMediaInputSchema), + z.lazy(() => ProcessMediaJobCreateWithoutMediaInputSchema).array(), + z.lazy(() => ProcessMediaJobUncheckedCreateWithoutMediaInputSchema), + z + .lazy(() => ProcessMediaJobUncheckedCreateWithoutMediaInputSchema) + .array(), + ]) + .optional(), + connectOrCreate: z + .union([ + z.lazy(() => ProcessMediaJobCreateOrConnectWithoutMediaInputSchema), + z + .lazy(() => ProcessMediaJobCreateOrConnectWithoutMediaInputSchema) + .array(), + ]) + .optional(), + createMany: z + .lazy(() => ProcessMediaJobCreateManyMediaInputEnvelopeSchema) + .optional(), + connect: z + .union([ + z.lazy(() => ProcessMediaJobWhereUniqueInputSchema), + z.lazy(() => ProcessMediaJobWhereUniqueInputSchema).array(), + ]) + .optional(), + }) + .strict(); + +export default ProcessMediaJobCreateNestedManyWithoutMediaInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/ProcessMediaJobCreateNestedOneWithoutBase_jobInputSchema.ts b/utility/prisma/types/inputTypeSchemas/ProcessMediaJobCreateNestedOneWithoutBase_jobInputSchema.ts new file mode 100644 index 00000000..61d43807 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/ProcessMediaJobCreateNestedOneWithoutBase_jobInputSchema.ts @@ -0,0 +1,26 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { ProcessMediaJobCreateWithoutBase_jobInputSchema } from "./ProcessMediaJobCreateWithoutBase_jobInputSchema"; +import { ProcessMediaJobUncheckedCreateWithoutBase_jobInputSchema } from "./ProcessMediaJobUncheckedCreateWithoutBase_jobInputSchema"; +import { ProcessMediaJobCreateOrConnectWithoutBase_jobInputSchema } from "./ProcessMediaJobCreateOrConnectWithoutBase_jobInputSchema"; +import { ProcessMediaJobWhereUniqueInputSchema } from "./ProcessMediaJobWhereUniqueInputSchema"; + +export const ProcessMediaJobCreateNestedOneWithoutBase_jobInputSchema: z.ZodType = + z + .object({ + create: z + .union([ + z.lazy(() => ProcessMediaJobCreateWithoutBase_jobInputSchema), + z.lazy( + () => ProcessMediaJobUncheckedCreateWithoutBase_jobInputSchema, + ), + ]) + .optional(), + connectOrCreate: z + .lazy(() => ProcessMediaJobCreateOrConnectWithoutBase_jobInputSchema) + .optional(), + connect: z.lazy(() => ProcessMediaJobWhereUniqueInputSchema).optional(), + }) + .strict(); + +export default ProcessMediaJobCreateNestedOneWithoutBase_jobInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/ProcessMediaJobCreateOrConnectWithoutBase_jobInputSchema.ts b/utility/prisma/types/inputTypeSchemas/ProcessMediaJobCreateOrConnectWithoutBase_jobInputSchema.ts new file mode 100644 index 00000000..38b26fe6 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/ProcessMediaJobCreateOrConnectWithoutBase_jobInputSchema.ts @@ -0,0 +1,18 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { ProcessMediaJobWhereUniqueInputSchema } from "./ProcessMediaJobWhereUniqueInputSchema"; +import { ProcessMediaJobCreateWithoutBase_jobInputSchema } from "./ProcessMediaJobCreateWithoutBase_jobInputSchema"; +import { ProcessMediaJobUncheckedCreateWithoutBase_jobInputSchema } from "./ProcessMediaJobUncheckedCreateWithoutBase_jobInputSchema"; + +export const ProcessMediaJobCreateOrConnectWithoutBase_jobInputSchema: z.ZodType = + z + .object({ + where: z.lazy(() => ProcessMediaJobWhereUniqueInputSchema), + create: z.union([ + z.lazy(() => ProcessMediaJobCreateWithoutBase_jobInputSchema), + z.lazy(() => ProcessMediaJobUncheckedCreateWithoutBase_jobInputSchema), + ]), + }) + .strict(); + +export default ProcessMediaJobCreateOrConnectWithoutBase_jobInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/ProcessMediaJobCreateOrConnectWithoutMediaInputSchema.ts b/utility/prisma/types/inputTypeSchemas/ProcessMediaJobCreateOrConnectWithoutMediaInputSchema.ts new file mode 100644 index 00000000..a1f9f5d8 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/ProcessMediaJobCreateOrConnectWithoutMediaInputSchema.ts @@ -0,0 +1,18 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { ProcessMediaJobWhereUniqueInputSchema } from "./ProcessMediaJobWhereUniqueInputSchema"; +import { ProcessMediaJobCreateWithoutMediaInputSchema } from "./ProcessMediaJobCreateWithoutMediaInputSchema"; +import { ProcessMediaJobUncheckedCreateWithoutMediaInputSchema } from "./ProcessMediaJobUncheckedCreateWithoutMediaInputSchema"; + +export const ProcessMediaJobCreateOrConnectWithoutMediaInputSchema: z.ZodType = + z + .object({ + where: z.lazy(() => ProcessMediaJobWhereUniqueInputSchema), + create: z.union([ + z.lazy(() => ProcessMediaJobCreateWithoutMediaInputSchema), + z.lazy(() => ProcessMediaJobUncheckedCreateWithoutMediaInputSchema), + ]), + }) + .strict(); + +export default ProcessMediaJobCreateOrConnectWithoutMediaInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/ProcessMediaJobCreateWithoutBase_jobInputSchema.ts b/utility/prisma/types/inputTypeSchemas/ProcessMediaJobCreateWithoutBase_jobInputSchema.ts new file mode 100644 index 00000000..9fa34b12 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/ProcessMediaJobCreateWithoutBase_jobInputSchema.ts @@ -0,0 +1,15 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { MediaFileSourceTypeSchema } from "./MediaFileSourceTypeSchema"; +import { MediaCreateNestedOneWithoutProcess_jobsInputSchema } from "./MediaCreateNestedOneWithoutProcess_jobsInputSchema"; + +export const ProcessMediaJobCreateWithoutBase_jobInputSchema: z.ZodType = + z + .object({ + sourceType: z.lazy(() => MediaFileSourceTypeSchema), + source: z.string(), + media: z.lazy(() => MediaCreateNestedOneWithoutProcess_jobsInputSchema), + }) + .strict(); + +export default ProcessMediaJobCreateWithoutBase_jobInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/ProcessMediaJobCreateWithoutMediaInputSchema.ts b/utility/prisma/types/inputTypeSchemas/ProcessMediaJobCreateWithoutMediaInputSchema.ts new file mode 100644 index 00000000..3502b864 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/ProcessMediaJobCreateWithoutMediaInputSchema.ts @@ -0,0 +1,17 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { MediaFileSourceTypeSchema } from "./MediaFileSourceTypeSchema"; +import { BaseJobCreateNestedOneWithoutProcessMediaJobInputSchema } from "./BaseJobCreateNestedOneWithoutProcessMediaJobInputSchema"; + +export const ProcessMediaJobCreateWithoutMediaInputSchema: z.ZodType = + z + .object({ + sourceType: z.lazy(() => MediaFileSourceTypeSchema), + source: z.string(), + base_job: z.lazy( + () => BaseJobCreateNestedOneWithoutProcessMediaJobInputSchema, + ), + }) + .strict(); + +export default ProcessMediaJobCreateWithoutMediaInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/ProcessMediaJobIncludeSchema.ts b/utility/prisma/types/inputTypeSchemas/ProcessMediaJobIncludeSchema.ts new file mode 100644 index 00000000..30aa390e --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/ProcessMediaJobIncludeSchema.ts @@ -0,0 +1,16 @@ +import { z } from "zod"; +import type { Prisma } from "../../client"; +import { MediaArgsSchema } from "../outputTypeSchemas/MediaArgsSchema"; +import { BaseJobArgsSchema } from "../outputTypeSchemas/BaseJobArgsSchema"; + +export const ProcessMediaJobIncludeSchema: z.ZodType = + z + .object({ + media: z.union([z.boolean(), z.lazy(() => MediaArgsSchema)]).optional(), + base_job: z + .union([z.boolean(), z.lazy(() => BaseJobArgsSchema)]) + .optional(), + }) + .strict(); + +export default ProcessMediaJobIncludeSchema; diff --git a/utility/prisma/types/inputTypeSchemas/ProcessMediaJobListRelationFilterSchema.ts b/utility/prisma/types/inputTypeSchemas/ProcessMediaJobListRelationFilterSchema.ts new file mode 100644 index 00000000..fce88fa9 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/ProcessMediaJobListRelationFilterSchema.ts @@ -0,0 +1,14 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { ProcessMediaJobWhereInputSchema } from "./ProcessMediaJobWhereInputSchema"; + +export const ProcessMediaJobListRelationFilterSchema: z.ZodType = + z + .object({ + every: z.lazy(() => ProcessMediaJobWhereInputSchema).optional(), + some: z.lazy(() => ProcessMediaJobWhereInputSchema).optional(), + none: z.lazy(() => ProcessMediaJobWhereInputSchema).optional(), + }) + .strict(); + +export default ProcessMediaJobListRelationFilterSchema; diff --git a/utility/prisma/types/inputTypeSchemas/ProcessMediaJobMaxOrderByAggregateInputSchema.ts b/utility/prisma/types/inputTypeSchemas/ProcessMediaJobMaxOrderByAggregateInputSchema.ts new file mode 100644 index 00000000..490a92f9 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/ProcessMediaJobMaxOrderByAggregateInputSchema.ts @@ -0,0 +1,16 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { SortOrderSchema } from "./SortOrderSchema"; + +export const ProcessMediaJobMaxOrderByAggregateInputSchema: z.ZodType = + z + .object({ + id: z.lazy(() => SortOrderSchema).optional(), + mediaId: z.lazy(() => SortOrderSchema).optional(), + sourceType: z.lazy(() => SortOrderSchema).optional(), + source: z.lazy(() => SortOrderSchema).optional(), + base_job_id: z.lazy(() => SortOrderSchema).optional(), + }) + .strict(); + +export default ProcessMediaJobMaxOrderByAggregateInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/ProcessMediaJobMinOrderByAggregateInputSchema.ts b/utility/prisma/types/inputTypeSchemas/ProcessMediaJobMinOrderByAggregateInputSchema.ts new file mode 100644 index 00000000..7c90b0be --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/ProcessMediaJobMinOrderByAggregateInputSchema.ts @@ -0,0 +1,16 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { SortOrderSchema } from "./SortOrderSchema"; + +export const ProcessMediaJobMinOrderByAggregateInputSchema: z.ZodType = + z + .object({ + id: z.lazy(() => SortOrderSchema).optional(), + mediaId: z.lazy(() => SortOrderSchema).optional(), + sourceType: z.lazy(() => SortOrderSchema).optional(), + source: z.lazy(() => SortOrderSchema).optional(), + base_job_id: z.lazy(() => SortOrderSchema).optional(), + }) + .strict(); + +export default ProcessMediaJobMinOrderByAggregateInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/ProcessMediaJobNullableRelationFilterSchema.ts b/utility/prisma/types/inputTypeSchemas/ProcessMediaJobNullableRelationFilterSchema.ts new file mode 100644 index 00000000..08f83f11 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/ProcessMediaJobNullableRelationFilterSchema.ts @@ -0,0 +1,19 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { ProcessMediaJobWhereInputSchema } from "./ProcessMediaJobWhereInputSchema"; + +export const ProcessMediaJobNullableRelationFilterSchema: z.ZodType = + z + .object({ + is: z + .lazy(() => ProcessMediaJobWhereInputSchema) + .optional() + .nullable(), + isNot: z + .lazy(() => ProcessMediaJobWhereInputSchema) + .optional() + .nullable(), + }) + .strict(); + +export default ProcessMediaJobNullableRelationFilterSchema; diff --git a/utility/prisma/types/inputTypeSchemas/ProcessMediaJobOrderByRelationAggregateInputSchema.ts b/utility/prisma/types/inputTypeSchemas/ProcessMediaJobOrderByRelationAggregateInputSchema.ts new file mode 100644 index 00000000..80b02884 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/ProcessMediaJobOrderByRelationAggregateInputSchema.ts @@ -0,0 +1,12 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { SortOrderSchema } from "./SortOrderSchema"; + +export const ProcessMediaJobOrderByRelationAggregateInputSchema: z.ZodType = + z + .object({ + _count: z.lazy(() => SortOrderSchema).optional(), + }) + .strict(); + +export default ProcessMediaJobOrderByRelationAggregateInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/ProcessMediaJobOrderByWithAggregationInputSchema.ts b/utility/prisma/types/inputTypeSchemas/ProcessMediaJobOrderByWithAggregationInputSchema.ts new file mode 100644 index 00000000..c57480ac --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/ProcessMediaJobOrderByWithAggregationInputSchema.ts @@ -0,0 +1,36 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { SortOrderSchema } from "./SortOrderSchema"; +import { ProcessMediaJobCountOrderByAggregateInputSchema } from "./ProcessMediaJobCountOrderByAggregateInputSchema"; +import { ProcessMediaJobAvgOrderByAggregateInputSchema } from "./ProcessMediaJobAvgOrderByAggregateInputSchema"; +import { ProcessMediaJobMaxOrderByAggregateInputSchema } from "./ProcessMediaJobMaxOrderByAggregateInputSchema"; +import { ProcessMediaJobMinOrderByAggregateInputSchema } from "./ProcessMediaJobMinOrderByAggregateInputSchema"; +import { ProcessMediaJobSumOrderByAggregateInputSchema } from "./ProcessMediaJobSumOrderByAggregateInputSchema"; + +export const ProcessMediaJobOrderByWithAggregationInputSchema: z.ZodType = + z + .object({ + id: z.lazy(() => SortOrderSchema).optional(), + mediaId: z.lazy(() => SortOrderSchema).optional(), + sourceType: z.lazy(() => SortOrderSchema).optional(), + source: z.lazy(() => SortOrderSchema).optional(), + base_job_id: z.lazy(() => SortOrderSchema).optional(), + _count: z + .lazy(() => ProcessMediaJobCountOrderByAggregateInputSchema) + .optional(), + _avg: z + .lazy(() => ProcessMediaJobAvgOrderByAggregateInputSchema) + .optional(), + _max: z + .lazy(() => ProcessMediaJobMaxOrderByAggregateInputSchema) + .optional(), + _min: z + .lazy(() => ProcessMediaJobMinOrderByAggregateInputSchema) + .optional(), + _sum: z + .lazy(() => ProcessMediaJobSumOrderByAggregateInputSchema) + .optional(), + }) + .strict(); + +export default ProcessMediaJobOrderByWithAggregationInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/ProcessMediaJobOrderByWithRelationInputSchema.ts b/utility/prisma/types/inputTypeSchemas/ProcessMediaJobOrderByWithRelationInputSchema.ts new file mode 100644 index 00000000..b09b63d8 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/ProcessMediaJobOrderByWithRelationInputSchema.ts @@ -0,0 +1,20 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { SortOrderSchema } from "./SortOrderSchema"; +import { MediaOrderByWithRelationInputSchema } from "./MediaOrderByWithRelationInputSchema"; +import { BaseJobOrderByWithRelationInputSchema } from "./BaseJobOrderByWithRelationInputSchema"; + +export const ProcessMediaJobOrderByWithRelationInputSchema: z.ZodType = + z + .object({ + id: z.lazy(() => SortOrderSchema).optional(), + mediaId: z.lazy(() => SortOrderSchema).optional(), + sourceType: z.lazy(() => SortOrderSchema).optional(), + source: z.lazy(() => SortOrderSchema).optional(), + base_job_id: z.lazy(() => SortOrderSchema).optional(), + media: z.lazy(() => MediaOrderByWithRelationInputSchema).optional(), + base_job: z.lazy(() => BaseJobOrderByWithRelationInputSchema).optional(), + }) + .strict(); + +export default ProcessMediaJobOrderByWithRelationInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/ProcessMediaJobScalarWhereInputSchema.ts b/utility/prisma/types/inputTypeSchemas/ProcessMediaJobScalarWhereInputSchema.ts new file mode 100644 index 00000000..38978776 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/ProcessMediaJobScalarWhereInputSchema.ts @@ -0,0 +1,44 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { IntFilterSchema } from "./IntFilterSchema"; +import { EnumMediaFileSourceTypeFilterSchema } from "./EnumMediaFileSourceTypeFilterSchema"; +import { MediaFileSourceTypeSchema } from "./MediaFileSourceTypeSchema"; +import { StringFilterSchema } from "./StringFilterSchema"; + +export const ProcessMediaJobScalarWhereInputSchema: z.ZodType = + z + .object({ + AND: z + .union([ + z.lazy(() => ProcessMediaJobScalarWhereInputSchema), + z.lazy(() => ProcessMediaJobScalarWhereInputSchema).array(), + ]) + .optional(), + OR: z + .lazy(() => ProcessMediaJobScalarWhereInputSchema) + .array() + .optional(), + NOT: z + .union([ + z.lazy(() => ProcessMediaJobScalarWhereInputSchema), + z.lazy(() => ProcessMediaJobScalarWhereInputSchema).array(), + ]) + .optional(), + id: z.union([z.lazy(() => IntFilterSchema), z.number()]).optional(), + mediaId: z.union([z.lazy(() => IntFilterSchema), z.number()]).optional(), + sourceType: z + .union([ + z.lazy(() => EnumMediaFileSourceTypeFilterSchema), + z.lazy(() => MediaFileSourceTypeSchema), + ]) + .optional(), + source: z + .union([z.lazy(() => StringFilterSchema), z.string()]) + .optional(), + base_job_id: z + .union([z.lazy(() => IntFilterSchema), z.number()]) + .optional(), + }) + .strict(); + +export default ProcessMediaJobScalarWhereInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/ProcessMediaJobScalarWhereWithAggregatesInputSchema.ts b/utility/prisma/types/inputTypeSchemas/ProcessMediaJobScalarWhereWithAggregatesInputSchema.ts new file mode 100644 index 00000000..8f3fa238 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/ProcessMediaJobScalarWhereWithAggregatesInputSchema.ts @@ -0,0 +1,52 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { IntWithAggregatesFilterSchema } from "./IntWithAggregatesFilterSchema"; +import { EnumMediaFileSourceTypeWithAggregatesFilterSchema } from "./EnumMediaFileSourceTypeWithAggregatesFilterSchema"; +import { MediaFileSourceTypeSchema } from "./MediaFileSourceTypeSchema"; +import { StringWithAggregatesFilterSchema } from "./StringWithAggregatesFilterSchema"; + +export const ProcessMediaJobScalarWhereWithAggregatesInputSchema: z.ZodType = + z + .object({ + AND: z + .union([ + z.lazy(() => ProcessMediaJobScalarWhereWithAggregatesInputSchema), + z + .lazy(() => ProcessMediaJobScalarWhereWithAggregatesInputSchema) + .array(), + ]) + .optional(), + OR: z + .lazy(() => ProcessMediaJobScalarWhereWithAggregatesInputSchema) + .array() + .optional(), + NOT: z + .union([ + z.lazy(() => ProcessMediaJobScalarWhereWithAggregatesInputSchema), + z + .lazy(() => ProcessMediaJobScalarWhereWithAggregatesInputSchema) + .array(), + ]) + .optional(), + id: z + .union([z.lazy(() => IntWithAggregatesFilterSchema), z.number()]) + .optional(), + mediaId: z + .union([z.lazy(() => IntWithAggregatesFilterSchema), z.number()]) + .optional(), + sourceType: z + .union([ + z.lazy(() => EnumMediaFileSourceTypeWithAggregatesFilterSchema), + z.lazy(() => MediaFileSourceTypeSchema), + ]) + .optional(), + source: z + .union([z.lazy(() => StringWithAggregatesFilterSchema), z.string()]) + .optional(), + base_job_id: z + .union([z.lazy(() => IntWithAggregatesFilterSchema), z.number()]) + .optional(), + }) + .strict(); + +export default ProcessMediaJobScalarWhereWithAggregatesInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/ProcessMediaJobSelectSchema.ts b/utility/prisma/types/inputTypeSchemas/ProcessMediaJobSelectSchema.ts new file mode 100644 index 00000000..46493011 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/ProcessMediaJobSelectSchema.ts @@ -0,0 +1,21 @@ +import { z } from "zod"; +import type { Prisma } from "../../client"; +import { MediaArgsSchema } from "../outputTypeSchemas/MediaArgsSchema"; +import { BaseJobArgsSchema } from "../outputTypeSchemas/BaseJobArgsSchema"; + +export const ProcessMediaJobSelectSchema: z.ZodType = + z + .object({ + id: z.boolean().optional(), + mediaId: z.boolean().optional(), + sourceType: z.boolean().optional(), + source: z.boolean().optional(), + base_job_id: z.boolean().optional(), + media: z.union([z.boolean(), z.lazy(() => MediaArgsSchema)]).optional(), + base_job: z + .union([z.boolean(), z.lazy(() => BaseJobArgsSchema)]) + .optional(), + }) + .strict(); + +export default ProcessMediaJobSelectSchema; diff --git a/utility/prisma/types/inputTypeSchemas/ProcessMediaJobSumOrderByAggregateInputSchema.ts b/utility/prisma/types/inputTypeSchemas/ProcessMediaJobSumOrderByAggregateInputSchema.ts new file mode 100644 index 00000000..20ac143b --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/ProcessMediaJobSumOrderByAggregateInputSchema.ts @@ -0,0 +1,14 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { SortOrderSchema } from "./SortOrderSchema"; + +export const ProcessMediaJobSumOrderByAggregateInputSchema: z.ZodType = + z + .object({ + id: z.lazy(() => SortOrderSchema).optional(), + mediaId: z.lazy(() => SortOrderSchema).optional(), + base_job_id: z.lazy(() => SortOrderSchema).optional(), + }) + .strict(); + +export default ProcessMediaJobSumOrderByAggregateInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/ProcessMediaJobUncheckedCreateInputSchema.ts b/utility/prisma/types/inputTypeSchemas/ProcessMediaJobUncheckedCreateInputSchema.ts new file mode 100644 index 00000000..c82a5072 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/ProcessMediaJobUncheckedCreateInputSchema.ts @@ -0,0 +1,16 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { MediaFileSourceTypeSchema } from "./MediaFileSourceTypeSchema"; + +export const ProcessMediaJobUncheckedCreateInputSchema: z.ZodType = + z + .object({ + id: z.number().int().optional(), + mediaId: z.number().int(), + sourceType: z.lazy(() => MediaFileSourceTypeSchema), + source: z.string(), + base_job_id: z.number().int(), + }) + .strict(); + +export default ProcessMediaJobUncheckedCreateInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/ProcessMediaJobUncheckedCreateNestedManyWithoutMediaInputSchema.ts b/utility/prisma/types/inputTypeSchemas/ProcessMediaJobUncheckedCreateNestedManyWithoutMediaInputSchema.ts new file mode 100644 index 00000000..66d63ac1 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/ProcessMediaJobUncheckedCreateNestedManyWithoutMediaInputSchema.ts @@ -0,0 +1,42 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { ProcessMediaJobCreateWithoutMediaInputSchema } from "./ProcessMediaJobCreateWithoutMediaInputSchema"; +import { ProcessMediaJobUncheckedCreateWithoutMediaInputSchema } from "./ProcessMediaJobUncheckedCreateWithoutMediaInputSchema"; +import { ProcessMediaJobCreateOrConnectWithoutMediaInputSchema } from "./ProcessMediaJobCreateOrConnectWithoutMediaInputSchema"; +import { ProcessMediaJobCreateManyMediaInputEnvelopeSchema } from "./ProcessMediaJobCreateManyMediaInputEnvelopeSchema"; +import { ProcessMediaJobWhereUniqueInputSchema } from "./ProcessMediaJobWhereUniqueInputSchema"; + +export const ProcessMediaJobUncheckedCreateNestedManyWithoutMediaInputSchema: z.ZodType = + z + .object({ + create: z + .union([ + z.lazy(() => ProcessMediaJobCreateWithoutMediaInputSchema), + z.lazy(() => ProcessMediaJobCreateWithoutMediaInputSchema).array(), + z.lazy(() => ProcessMediaJobUncheckedCreateWithoutMediaInputSchema), + z + .lazy(() => ProcessMediaJobUncheckedCreateWithoutMediaInputSchema) + .array(), + ]) + .optional(), + connectOrCreate: z + .union([ + z.lazy(() => ProcessMediaJobCreateOrConnectWithoutMediaInputSchema), + z + .lazy(() => ProcessMediaJobCreateOrConnectWithoutMediaInputSchema) + .array(), + ]) + .optional(), + createMany: z + .lazy(() => ProcessMediaJobCreateManyMediaInputEnvelopeSchema) + .optional(), + connect: z + .union([ + z.lazy(() => ProcessMediaJobWhereUniqueInputSchema), + z.lazy(() => ProcessMediaJobWhereUniqueInputSchema).array(), + ]) + .optional(), + }) + .strict(); + +export default ProcessMediaJobUncheckedCreateNestedManyWithoutMediaInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/ProcessMediaJobUncheckedCreateNestedOneWithoutBase_jobInputSchema.ts b/utility/prisma/types/inputTypeSchemas/ProcessMediaJobUncheckedCreateNestedOneWithoutBase_jobInputSchema.ts new file mode 100644 index 00000000..d8619386 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/ProcessMediaJobUncheckedCreateNestedOneWithoutBase_jobInputSchema.ts @@ -0,0 +1,26 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { ProcessMediaJobCreateWithoutBase_jobInputSchema } from "./ProcessMediaJobCreateWithoutBase_jobInputSchema"; +import { ProcessMediaJobUncheckedCreateWithoutBase_jobInputSchema } from "./ProcessMediaJobUncheckedCreateWithoutBase_jobInputSchema"; +import { ProcessMediaJobCreateOrConnectWithoutBase_jobInputSchema } from "./ProcessMediaJobCreateOrConnectWithoutBase_jobInputSchema"; +import { ProcessMediaJobWhereUniqueInputSchema } from "./ProcessMediaJobWhereUniqueInputSchema"; + +export const ProcessMediaJobUncheckedCreateNestedOneWithoutBase_jobInputSchema: z.ZodType = + z + .object({ + create: z + .union([ + z.lazy(() => ProcessMediaJobCreateWithoutBase_jobInputSchema), + z.lazy( + () => ProcessMediaJobUncheckedCreateWithoutBase_jobInputSchema, + ), + ]) + .optional(), + connectOrCreate: z + .lazy(() => ProcessMediaJobCreateOrConnectWithoutBase_jobInputSchema) + .optional(), + connect: z.lazy(() => ProcessMediaJobWhereUniqueInputSchema).optional(), + }) + .strict(); + +export default ProcessMediaJobUncheckedCreateNestedOneWithoutBase_jobInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/ProcessMediaJobUncheckedCreateWithoutBase_jobInputSchema.ts b/utility/prisma/types/inputTypeSchemas/ProcessMediaJobUncheckedCreateWithoutBase_jobInputSchema.ts new file mode 100644 index 00000000..a2b9e54e --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/ProcessMediaJobUncheckedCreateWithoutBase_jobInputSchema.ts @@ -0,0 +1,15 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { MediaFileSourceTypeSchema } from "./MediaFileSourceTypeSchema"; + +export const ProcessMediaJobUncheckedCreateWithoutBase_jobInputSchema: z.ZodType = + z + .object({ + id: z.number().int().optional(), + mediaId: z.number().int(), + sourceType: z.lazy(() => MediaFileSourceTypeSchema), + source: z.string(), + }) + .strict(); + +export default ProcessMediaJobUncheckedCreateWithoutBase_jobInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/ProcessMediaJobUncheckedCreateWithoutMediaInputSchema.ts b/utility/prisma/types/inputTypeSchemas/ProcessMediaJobUncheckedCreateWithoutMediaInputSchema.ts new file mode 100644 index 00000000..e0eaf807 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/ProcessMediaJobUncheckedCreateWithoutMediaInputSchema.ts @@ -0,0 +1,15 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { MediaFileSourceTypeSchema } from "./MediaFileSourceTypeSchema"; + +export const ProcessMediaJobUncheckedCreateWithoutMediaInputSchema: z.ZodType = + z + .object({ + id: z.number().int().optional(), + sourceType: z.lazy(() => MediaFileSourceTypeSchema), + source: z.string(), + base_job_id: z.number().int(), + }) + .strict(); + +export default ProcessMediaJobUncheckedCreateWithoutMediaInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/ProcessMediaJobUncheckedUpdateInputSchema.ts b/utility/prisma/types/inputTypeSchemas/ProcessMediaJobUncheckedUpdateInputSchema.ts new file mode 100644 index 00000000..1835b1d9 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/ProcessMediaJobUncheckedUpdateInputSchema.ts @@ -0,0 +1,44 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { IntFieldUpdateOperationsInputSchema } from "./IntFieldUpdateOperationsInputSchema"; +import { MediaFileSourceTypeSchema } from "./MediaFileSourceTypeSchema"; +import { EnumMediaFileSourceTypeFieldUpdateOperationsInputSchema } from "./EnumMediaFileSourceTypeFieldUpdateOperationsInputSchema"; +import { StringFieldUpdateOperationsInputSchema } from "./StringFieldUpdateOperationsInputSchema"; + +export const ProcessMediaJobUncheckedUpdateInputSchema: z.ZodType = + z + .object({ + id: z + .union([ + z.number().int(), + z.lazy(() => IntFieldUpdateOperationsInputSchema), + ]) + .optional(), + mediaId: z + .union([ + z.number().int(), + z.lazy(() => IntFieldUpdateOperationsInputSchema), + ]) + .optional(), + sourceType: z + .union([ + z.lazy(() => MediaFileSourceTypeSchema), + z.lazy(() => EnumMediaFileSourceTypeFieldUpdateOperationsInputSchema), + ]) + .optional(), + source: z + .union([ + z.string(), + z.lazy(() => StringFieldUpdateOperationsInputSchema), + ]) + .optional(), + base_job_id: z + .union([ + z.number().int(), + z.lazy(() => IntFieldUpdateOperationsInputSchema), + ]) + .optional(), + }) + .strict(); + +export default ProcessMediaJobUncheckedUpdateInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/ProcessMediaJobUncheckedUpdateManyInputSchema.ts b/utility/prisma/types/inputTypeSchemas/ProcessMediaJobUncheckedUpdateManyInputSchema.ts new file mode 100644 index 00000000..b55859e8 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/ProcessMediaJobUncheckedUpdateManyInputSchema.ts @@ -0,0 +1,44 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { IntFieldUpdateOperationsInputSchema } from "./IntFieldUpdateOperationsInputSchema"; +import { MediaFileSourceTypeSchema } from "./MediaFileSourceTypeSchema"; +import { EnumMediaFileSourceTypeFieldUpdateOperationsInputSchema } from "./EnumMediaFileSourceTypeFieldUpdateOperationsInputSchema"; +import { StringFieldUpdateOperationsInputSchema } from "./StringFieldUpdateOperationsInputSchema"; + +export const ProcessMediaJobUncheckedUpdateManyInputSchema: z.ZodType = + z + .object({ + id: z + .union([ + z.number().int(), + z.lazy(() => IntFieldUpdateOperationsInputSchema), + ]) + .optional(), + mediaId: z + .union([ + z.number().int(), + z.lazy(() => IntFieldUpdateOperationsInputSchema), + ]) + .optional(), + sourceType: z + .union([ + z.lazy(() => MediaFileSourceTypeSchema), + z.lazy(() => EnumMediaFileSourceTypeFieldUpdateOperationsInputSchema), + ]) + .optional(), + source: z + .union([ + z.string(), + z.lazy(() => StringFieldUpdateOperationsInputSchema), + ]) + .optional(), + base_job_id: z + .union([ + z.number().int(), + z.lazy(() => IntFieldUpdateOperationsInputSchema), + ]) + .optional(), + }) + .strict(); + +export default ProcessMediaJobUncheckedUpdateManyInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/ProcessMediaJobUncheckedUpdateManyWithoutMediaInputSchema.ts b/utility/prisma/types/inputTypeSchemas/ProcessMediaJobUncheckedUpdateManyWithoutMediaInputSchema.ts new file mode 100644 index 00000000..7cea1e9f --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/ProcessMediaJobUncheckedUpdateManyWithoutMediaInputSchema.ts @@ -0,0 +1,38 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { IntFieldUpdateOperationsInputSchema } from "./IntFieldUpdateOperationsInputSchema"; +import { MediaFileSourceTypeSchema } from "./MediaFileSourceTypeSchema"; +import { EnumMediaFileSourceTypeFieldUpdateOperationsInputSchema } from "./EnumMediaFileSourceTypeFieldUpdateOperationsInputSchema"; +import { StringFieldUpdateOperationsInputSchema } from "./StringFieldUpdateOperationsInputSchema"; + +export const ProcessMediaJobUncheckedUpdateManyWithoutMediaInputSchema: z.ZodType = + z + .object({ + id: z + .union([ + z.number().int(), + z.lazy(() => IntFieldUpdateOperationsInputSchema), + ]) + .optional(), + sourceType: z + .union([ + z.lazy(() => MediaFileSourceTypeSchema), + z.lazy(() => EnumMediaFileSourceTypeFieldUpdateOperationsInputSchema), + ]) + .optional(), + source: z + .union([ + z.string(), + z.lazy(() => StringFieldUpdateOperationsInputSchema), + ]) + .optional(), + base_job_id: z + .union([ + z.number().int(), + z.lazy(() => IntFieldUpdateOperationsInputSchema), + ]) + .optional(), + }) + .strict(); + +export default ProcessMediaJobUncheckedUpdateManyWithoutMediaInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/ProcessMediaJobUncheckedUpdateManyWithoutMediaNestedInputSchema.ts b/utility/prisma/types/inputTypeSchemas/ProcessMediaJobUncheckedUpdateManyWithoutMediaNestedInputSchema.ts new file mode 100644 index 00000000..87889a51 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/ProcessMediaJobUncheckedUpdateManyWithoutMediaNestedInputSchema.ts @@ -0,0 +1,106 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { ProcessMediaJobCreateWithoutMediaInputSchema } from "./ProcessMediaJobCreateWithoutMediaInputSchema"; +import { ProcessMediaJobUncheckedCreateWithoutMediaInputSchema } from "./ProcessMediaJobUncheckedCreateWithoutMediaInputSchema"; +import { ProcessMediaJobCreateOrConnectWithoutMediaInputSchema } from "./ProcessMediaJobCreateOrConnectWithoutMediaInputSchema"; +import { ProcessMediaJobUpsertWithWhereUniqueWithoutMediaInputSchema } from "./ProcessMediaJobUpsertWithWhereUniqueWithoutMediaInputSchema"; +import { ProcessMediaJobCreateManyMediaInputEnvelopeSchema } from "./ProcessMediaJobCreateManyMediaInputEnvelopeSchema"; +import { ProcessMediaJobWhereUniqueInputSchema } from "./ProcessMediaJobWhereUniqueInputSchema"; +import { ProcessMediaJobUpdateWithWhereUniqueWithoutMediaInputSchema } from "./ProcessMediaJobUpdateWithWhereUniqueWithoutMediaInputSchema"; +import { ProcessMediaJobUpdateManyWithWhereWithoutMediaInputSchema } from "./ProcessMediaJobUpdateManyWithWhereWithoutMediaInputSchema"; +import { ProcessMediaJobScalarWhereInputSchema } from "./ProcessMediaJobScalarWhereInputSchema"; + +export const ProcessMediaJobUncheckedUpdateManyWithoutMediaNestedInputSchema: z.ZodType = + z + .object({ + create: z + .union([ + z.lazy(() => ProcessMediaJobCreateWithoutMediaInputSchema), + z.lazy(() => ProcessMediaJobCreateWithoutMediaInputSchema).array(), + z.lazy(() => ProcessMediaJobUncheckedCreateWithoutMediaInputSchema), + z + .lazy(() => ProcessMediaJobUncheckedCreateWithoutMediaInputSchema) + .array(), + ]) + .optional(), + connectOrCreate: z + .union([ + z.lazy(() => ProcessMediaJobCreateOrConnectWithoutMediaInputSchema), + z + .lazy(() => ProcessMediaJobCreateOrConnectWithoutMediaInputSchema) + .array(), + ]) + .optional(), + upsert: z + .union([ + z.lazy( + () => ProcessMediaJobUpsertWithWhereUniqueWithoutMediaInputSchema, + ), + z + .lazy( + () => ProcessMediaJobUpsertWithWhereUniqueWithoutMediaInputSchema, + ) + .array(), + ]) + .optional(), + createMany: z + .lazy(() => ProcessMediaJobCreateManyMediaInputEnvelopeSchema) + .optional(), + set: z + .union([ + z.lazy(() => ProcessMediaJobWhereUniqueInputSchema), + z.lazy(() => ProcessMediaJobWhereUniqueInputSchema).array(), + ]) + .optional(), + disconnect: z + .union([ + z.lazy(() => ProcessMediaJobWhereUniqueInputSchema), + z.lazy(() => ProcessMediaJobWhereUniqueInputSchema).array(), + ]) + .optional(), + delete: z + .union([ + z.lazy(() => ProcessMediaJobWhereUniqueInputSchema), + z.lazy(() => ProcessMediaJobWhereUniqueInputSchema).array(), + ]) + .optional(), + connect: z + .union([ + z.lazy(() => ProcessMediaJobWhereUniqueInputSchema), + z.lazy(() => ProcessMediaJobWhereUniqueInputSchema).array(), + ]) + .optional(), + update: z + .union([ + z.lazy( + () => ProcessMediaJobUpdateWithWhereUniqueWithoutMediaInputSchema, + ), + z + .lazy( + () => ProcessMediaJobUpdateWithWhereUniqueWithoutMediaInputSchema, + ) + .array(), + ]) + .optional(), + updateMany: z + .union([ + z.lazy( + () => ProcessMediaJobUpdateManyWithWhereWithoutMediaInputSchema, + ), + z + .lazy( + () => ProcessMediaJobUpdateManyWithWhereWithoutMediaInputSchema, + ) + .array(), + ]) + .optional(), + deleteMany: z + .union([ + z.lazy(() => ProcessMediaJobScalarWhereInputSchema), + z.lazy(() => ProcessMediaJobScalarWhereInputSchema).array(), + ]) + .optional(), + }) + .strict(); + +export default ProcessMediaJobUncheckedUpdateManyWithoutMediaNestedInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/ProcessMediaJobUncheckedUpdateOneWithoutBase_jobNestedInputSchema.ts b/utility/prisma/types/inputTypeSchemas/ProcessMediaJobUncheckedUpdateOneWithoutBase_jobNestedInputSchema.ts new file mode 100644 index 00000000..28a76688 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/ProcessMediaJobUncheckedUpdateOneWithoutBase_jobNestedInputSchema.ts @@ -0,0 +1,51 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { ProcessMediaJobCreateWithoutBase_jobInputSchema } from "./ProcessMediaJobCreateWithoutBase_jobInputSchema"; +import { ProcessMediaJobUncheckedCreateWithoutBase_jobInputSchema } from "./ProcessMediaJobUncheckedCreateWithoutBase_jobInputSchema"; +import { ProcessMediaJobCreateOrConnectWithoutBase_jobInputSchema } from "./ProcessMediaJobCreateOrConnectWithoutBase_jobInputSchema"; +import { ProcessMediaJobUpsertWithoutBase_jobInputSchema } from "./ProcessMediaJobUpsertWithoutBase_jobInputSchema"; +import { ProcessMediaJobWhereInputSchema } from "./ProcessMediaJobWhereInputSchema"; +import { ProcessMediaJobWhereUniqueInputSchema } from "./ProcessMediaJobWhereUniqueInputSchema"; +import { ProcessMediaJobUpdateToOneWithWhereWithoutBase_jobInputSchema } from "./ProcessMediaJobUpdateToOneWithWhereWithoutBase_jobInputSchema"; +import { ProcessMediaJobUpdateWithoutBase_jobInputSchema } from "./ProcessMediaJobUpdateWithoutBase_jobInputSchema"; +import { ProcessMediaJobUncheckedUpdateWithoutBase_jobInputSchema } from "./ProcessMediaJobUncheckedUpdateWithoutBase_jobInputSchema"; + +export const ProcessMediaJobUncheckedUpdateOneWithoutBase_jobNestedInputSchema: z.ZodType = + z + .object({ + create: z + .union([ + z.lazy(() => ProcessMediaJobCreateWithoutBase_jobInputSchema), + z.lazy( + () => ProcessMediaJobUncheckedCreateWithoutBase_jobInputSchema, + ), + ]) + .optional(), + connectOrCreate: z + .lazy(() => ProcessMediaJobCreateOrConnectWithoutBase_jobInputSchema) + .optional(), + upsert: z + .lazy(() => ProcessMediaJobUpsertWithoutBase_jobInputSchema) + .optional(), + disconnect: z + .union([z.boolean(), z.lazy(() => ProcessMediaJobWhereInputSchema)]) + .optional(), + delete: z + .union([z.boolean(), z.lazy(() => ProcessMediaJobWhereInputSchema)]) + .optional(), + connect: z.lazy(() => ProcessMediaJobWhereUniqueInputSchema).optional(), + update: z + .union([ + z.lazy( + () => ProcessMediaJobUpdateToOneWithWhereWithoutBase_jobInputSchema, + ), + z.lazy(() => ProcessMediaJobUpdateWithoutBase_jobInputSchema), + z.lazy( + () => ProcessMediaJobUncheckedUpdateWithoutBase_jobInputSchema, + ), + ]) + .optional(), + }) + .strict(); + +export default ProcessMediaJobUncheckedUpdateOneWithoutBase_jobNestedInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/ProcessMediaJobUncheckedUpdateWithoutBase_jobInputSchema.ts b/utility/prisma/types/inputTypeSchemas/ProcessMediaJobUncheckedUpdateWithoutBase_jobInputSchema.ts new file mode 100644 index 00000000..ab0e14d8 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/ProcessMediaJobUncheckedUpdateWithoutBase_jobInputSchema.ts @@ -0,0 +1,38 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { IntFieldUpdateOperationsInputSchema } from "./IntFieldUpdateOperationsInputSchema"; +import { MediaFileSourceTypeSchema } from "./MediaFileSourceTypeSchema"; +import { EnumMediaFileSourceTypeFieldUpdateOperationsInputSchema } from "./EnumMediaFileSourceTypeFieldUpdateOperationsInputSchema"; +import { StringFieldUpdateOperationsInputSchema } from "./StringFieldUpdateOperationsInputSchema"; + +export const ProcessMediaJobUncheckedUpdateWithoutBase_jobInputSchema: z.ZodType = + z + .object({ + id: z + .union([ + z.number().int(), + z.lazy(() => IntFieldUpdateOperationsInputSchema), + ]) + .optional(), + mediaId: z + .union([ + z.number().int(), + z.lazy(() => IntFieldUpdateOperationsInputSchema), + ]) + .optional(), + sourceType: z + .union([ + z.lazy(() => MediaFileSourceTypeSchema), + z.lazy(() => EnumMediaFileSourceTypeFieldUpdateOperationsInputSchema), + ]) + .optional(), + source: z + .union([ + z.string(), + z.lazy(() => StringFieldUpdateOperationsInputSchema), + ]) + .optional(), + }) + .strict(); + +export default ProcessMediaJobUncheckedUpdateWithoutBase_jobInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/ProcessMediaJobUncheckedUpdateWithoutMediaInputSchema.ts b/utility/prisma/types/inputTypeSchemas/ProcessMediaJobUncheckedUpdateWithoutMediaInputSchema.ts new file mode 100644 index 00000000..263d8a0e --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/ProcessMediaJobUncheckedUpdateWithoutMediaInputSchema.ts @@ -0,0 +1,38 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { IntFieldUpdateOperationsInputSchema } from "./IntFieldUpdateOperationsInputSchema"; +import { MediaFileSourceTypeSchema } from "./MediaFileSourceTypeSchema"; +import { EnumMediaFileSourceTypeFieldUpdateOperationsInputSchema } from "./EnumMediaFileSourceTypeFieldUpdateOperationsInputSchema"; +import { StringFieldUpdateOperationsInputSchema } from "./StringFieldUpdateOperationsInputSchema"; + +export const ProcessMediaJobUncheckedUpdateWithoutMediaInputSchema: z.ZodType = + z + .object({ + id: z + .union([ + z.number().int(), + z.lazy(() => IntFieldUpdateOperationsInputSchema), + ]) + .optional(), + sourceType: z + .union([ + z.lazy(() => MediaFileSourceTypeSchema), + z.lazy(() => EnumMediaFileSourceTypeFieldUpdateOperationsInputSchema), + ]) + .optional(), + source: z + .union([ + z.string(), + z.lazy(() => StringFieldUpdateOperationsInputSchema), + ]) + .optional(), + base_job_id: z + .union([ + z.number().int(), + z.lazy(() => IntFieldUpdateOperationsInputSchema), + ]) + .optional(), + }) + .strict(); + +export default ProcessMediaJobUncheckedUpdateWithoutMediaInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/ProcessMediaJobUpdateInputSchema.ts b/utility/prisma/types/inputTypeSchemas/ProcessMediaJobUpdateInputSchema.ts new file mode 100644 index 00000000..5e4a087a --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/ProcessMediaJobUpdateInputSchema.ts @@ -0,0 +1,35 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { MediaFileSourceTypeSchema } from "./MediaFileSourceTypeSchema"; +import { EnumMediaFileSourceTypeFieldUpdateOperationsInputSchema } from "./EnumMediaFileSourceTypeFieldUpdateOperationsInputSchema"; +import { StringFieldUpdateOperationsInputSchema } from "./StringFieldUpdateOperationsInputSchema"; +import { MediaUpdateOneRequiredWithoutProcess_jobsNestedInputSchema } from "./MediaUpdateOneRequiredWithoutProcess_jobsNestedInputSchema"; +import { BaseJobUpdateOneRequiredWithoutProcessMediaJobNestedInputSchema } from "./BaseJobUpdateOneRequiredWithoutProcessMediaJobNestedInputSchema"; + +export const ProcessMediaJobUpdateInputSchema: z.ZodType = + z + .object({ + sourceType: z + .union([ + z.lazy(() => MediaFileSourceTypeSchema), + z.lazy(() => EnumMediaFileSourceTypeFieldUpdateOperationsInputSchema), + ]) + .optional(), + source: z + .union([ + z.string(), + z.lazy(() => StringFieldUpdateOperationsInputSchema), + ]) + .optional(), + media: z + .lazy(() => MediaUpdateOneRequiredWithoutProcess_jobsNestedInputSchema) + .optional(), + base_job: z + .lazy( + () => BaseJobUpdateOneRequiredWithoutProcessMediaJobNestedInputSchema, + ) + .optional(), + }) + .strict(); + +export default ProcessMediaJobUpdateInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/ProcessMediaJobUpdateManyMutationInputSchema.ts b/utility/prisma/types/inputTypeSchemas/ProcessMediaJobUpdateManyMutationInputSchema.ts new file mode 100644 index 00000000..42d47e47 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/ProcessMediaJobUpdateManyMutationInputSchema.ts @@ -0,0 +1,25 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { MediaFileSourceTypeSchema } from "./MediaFileSourceTypeSchema"; +import { EnumMediaFileSourceTypeFieldUpdateOperationsInputSchema } from "./EnumMediaFileSourceTypeFieldUpdateOperationsInputSchema"; +import { StringFieldUpdateOperationsInputSchema } from "./StringFieldUpdateOperationsInputSchema"; + +export const ProcessMediaJobUpdateManyMutationInputSchema: z.ZodType = + z + .object({ + sourceType: z + .union([ + z.lazy(() => MediaFileSourceTypeSchema), + z.lazy(() => EnumMediaFileSourceTypeFieldUpdateOperationsInputSchema), + ]) + .optional(), + source: z + .union([ + z.string(), + z.lazy(() => StringFieldUpdateOperationsInputSchema), + ]) + .optional(), + }) + .strict(); + +export default ProcessMediaJobUpdateManyMutationInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/ProcessMediaJobUpdateManyWithWhereWithoutMediaInputSchema.ts b/utility/prisma/types/inputTypeSchemas/ProcessMediaJobUpdateManyWithWhereWithoutMediaInputSchema.ts new file mode 100644 index 00000000..b91a5ec0 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/ProcessMediaJobUpdateManyWithWhereWithoutMediaInputSchema.ts @@ -0,0 +1,18 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { ProcessMediaJobScalarWhereInputSchema } from "./ProcessMediaJobScalarWhereInputSchema"; +import { ProcessMediaJobUpdateManyMutationInputSchema } from "./ProcessMediaJobUpdateManyMutationInputSchema"; +import { ProcessMediaJobUncheckedUpdateManyWithoutMediaInputSchema } from "./ProcessMediaJobUncheckedUpdateManyWithoutMediaInputSchema"; + +export const ProcessMediaJobUpdateManyWithWhereWithoutMediaInputSchema: z.ZodType = + z + .object({ + where: z.lazy(() => ProcessMediaJobScalarWhereInputSchema), + data: z.union([ + z.lazy(() => ProcessMediaJobUpdateManyMutationInputSchema), + z.lazy(() => ProcessMediaJobUncheckedUpdateManyWithoutMediaInputSchema), + ]), + }) + .strict(); + +export default ProcessMediaJobUpdateManyWithWhereWithoutMediaInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/ProcessMediaJobUpdateManyWithoutMediaNestedInputSchema.ts b/utility/prisma/types/inputTypeSchemas/ProcessMediaJobUpdateManyWithoutMediaNestedInputSchema.ts new file mode 100644 index 00000000..70a222c5 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/ProcessMediaJobUpdateManyWithoutMediaNestedInputSchema.ts @@ -0,0 +1,106 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { ProcessMediaJobCreateWithoutMediaInputSchema } from "./ProcessMediaJobCreateWithoutMediaInputSchema"; +import { ProcessMediaJobUncheckedCreateWithoutMediaInputSchema } from "./ProcessMediaJobUncheckedCreateWithoutMediaInputSchema"; +import { ProcessMediaJobCreateOrConnectWithoutMediaInputSchema } from "./ProcessMediaJobCreateOrConnectWithoutMediaInputSchema"; +import { ProcessMediaJobUpsertWithWhereUniqueWithoutMediaInputSchema } from "./ProcessMediaJobUpsertWithWhereUniqueWithoutMediaInputSchema"; +import { ProcessMediaJobCreateManyMediaInputEnvelopeSchema } from "./ProcessMediaJobCreateManyMediaInputEnvelopeSchema"; +import { ProcessMediaJobWhereUniqueInputSchema } from "./ProcessMediaJobWhereUniqueInputSchema"; +import { ProcessMediaJobUpdateWithWhereUniqueWithoutMediaInputSchema } from "./ProcessMediaJobUpdateWithWhereUniqueWithoutMediaInputSchema"; +import { ProcessMediaJobUpdateManyWithWhereWithoutMediaInputSchema } from "./ProcessMediaJobUpdateManyWithWhereWithoutMediaInputSchema"; +import { ProcessMediaJobScalarWhereInputSchema } from "./ProcessMediaJobScalarWhereInputSchema"; + +export const ProcessMediaJobUpdateManyWithoutMediaNestedInputSchema: z.ZodType = + z + .object({ + create: z + .union([ + z.lazy(() => ProcessMediaJobCreateWithoutMediaInputSchema), + z.lazy(() => ProcessMediaJobCreateWithoutMediaInputSchema).array(), + z.lazy(() => ProcessMediaJobUncheckedCreateWithoutMediaInputSchema), + z + .lazy(() => ProcessMediaJobUncheckedCreateWithoutMediaInputSchema) + .array(), + ]) + .optional(), + connectOrCreate: z + .union([ + z.lazy(() => ProcessMediaJobCreateOrConnectWithoutMediaInputSchema), + z + .lazy(() => ProcessMediaJobCreateOrConnectWithoutMediaInputSchema) + .array(), + ]) + .optional(), + upsert: z + .union([ + z.lazy( + () => ProcessMediaJobUpsertWithWhereUniqueWithoutMediaInputSchema, + ), + z + .lazy( + () => ProcessMediaJobUpsertWithWhereUniqueWithoutMediaInputSchema, + ) + .array(), + ]) + .optional(), + createMany: z + .lazy(() => ProcessMediaJobCreateManyMediaInputEnvelopeSchema) + .optional(), + set: z + .union([ + z.lazy(() => ProcessMediaJobWhereUniqueInputSchema), + z.lazy(() => ProcessMediaJobWhereUniqueInputSchema).array(), + ]) + .optional(), + disconnect: z + .union([ + z.lazy(() => ProcessMediaJobWhereUniqueInputSchema), + z.lazy(() => ProcessMediaJobWhereUniqueInputSchema).array(), + ]) + .optional(), + delete: z + .union([ + z.lazy(() => ProcessMediaJobWhereUniqueInputSchema), + z.lazy(() => ProcessMediaJobWhereUniqueInputSchema).array(), + ]) + .optional(), + connect: z + .union([ + z.lazy(() => ProcessMediaJobWhereUniqueInputSchema), + z.lazy(() => ProcessMediaJobWhereUniqueInputSchema).array(), + ]) + .optional(), + update: z + .union([ + z.lazy( + () => ProcessMediaJobUpdateWithWhereUniqueWithoutMediaInputSchema, + ), + z + .lazy( + () => ProcessMediaJobUpdateWithWhereUniqueWithoutMediaInputSchema, + ) + .array(), + ]) + .optional(), + updateMany: z + .union([ + z.lazy( + () => ProcessMediaJobUpdateManyWithWhereWithoutMediaInputSchema, + ), + z + .lazy( + () => ProcessMediaJobUpdateManyWithWhereWithoutMediaInputSchema, + ) + .array(), + ]) + .optional(), + deleteMany: z + .union([ + z.lazy(() => ProcessMediaJobScalarWhereInputSchema), + z.lazy(() => ProcessMediaJobScalarWhereInputSchema).array(), + ]) + .optional(), + }) + .strict(); + +export default ProcessMediaJobUpdateManyWithoutMediaNestedInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/ProcessMediaJobUpdateOneWithoutBase_jobNestedInputSchema.ts b/utility/prisma/types/inputTypeSchemas/ProcessMediaJobUpdateOneWithoutBase_jobNestedInputSchema.ts new file mode 100644 index 00000000..1a876cb2 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/ProcessMediaJobUpdateOneWithoutBase_jobNestedInputSchema.ts @@ -0,0 +1,51 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { ProcessMediaJobCreateWithoutBase_jobInputSchema } from "./ProcessMediaJobCreateWithoutBase_jobInputSchema"; +import { ProcessMediaJobUncheckedCreateWithoutBase_jobInputSchema } from "./ProcessMediaJobUncheckedCreateWithoutBase_jobInputSchema"; +import { ProcessMediaJobCreateOrConnectWithoutBase_jobInputSchema } from "./ProcessMediaJobCreateOrConnectWithoutBase_jobInputSchema"; +import { ProcessMediaJobUpsertWithoutBase_jobInputSchema } from "./ProcessMediaJobUpsertWithoutBase_jobInputSchema"; +import { ProcessMediaJobWhereInputSchema } from "./ProcessMediaJobWhereInputSchema"; +import { ProcessMediaJobWhereUniqueInputSchema } from "./ProcessMediaJobWhereUniqueInputSchema"; +import { ProcessMediaJobUpdateToOneWithWhereWithoutBase_jobInputSchema } from "./ProcessMediaJobUpdateToOneWithWhereWithoutBase_jobInputSchema"; +import { ProcessMediaJobUpdateWithoutBase_jobInputSchema } from "./ProcessMediaJobUpdateWithoutBase_jobInputSchema"; +import { ProcessMediaJobUncheckedUpdateWithoutBase_jobInputSchema } from "./ProcessMediaJobUncheckedUpdateWithoutBase_jobInputSchema"; + +export const ProcessMediaJobUpdateOneWithoutBase_jobNestedInputSchema: z.ZodType = + z + .object({ + create: z + .union([ + z.lazy(() => ProcessMediaJobCreateWithoutBase_jobInputSchema), + z.lazy( + () => ProcessMediaJobUncheckedCreateWithoutBase_jobInputSchema, + ), + ]) + .optional(), + connectOrCreate: z + .lazy(() => ProcessMediaJobCreateOrConnectWithoutBase_jobInputSchema) + .optional(), + upsert: z + .lazy(() => ProcessMediaJobUpsertWithoutBase_jobInputSchema) + .optional(), + disconnect: z + .union([z.boolean(), z.lazy(() => ProcessMediaJobWhereInputSchema)]) + .optional(), + delete: z + .union([z.boolean(), z.lazy(() => ProcessMediaJobWhereInputSchema)]) + .optional(), + connect: z.lazy(() => ProcessMediaJobWhereUniqueInputSchema).optional(), + update: z + .union([ + z.lazy( + () => ProcessMediaJobUpdateToOneWithWhereWithoutBase_jobInputSchema, + ), + z.lazy(() => ProcessMediaJobUpdateWithoutBase_jobInputSchema), + z.lazy( + () => ProcessMediaJobUncheckedUpdateWithoutBase_jobInputSchema, + ), + ]) + .optional(), + }) + .strict(); + +export default ProcessMediaJobUpdateOneWithoutBase_jobNestedInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/ProcessMediaJobUpdateToOneWithWhereWithoutBase_jobInputSchema.ts b/utility/prisma/types/inputTypeSchemas/ProcessMediaJobUpdateToOneWithWhereWithoutBase_jobInputSchema.ts new file mode 100644 index 00000000..9e722692 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/ProcessMediaJobUpdateToOneWithWhereWithoutBase_jobInputSchema.ts @@ -0,0 +1,18 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { ProcessMediaJobWhereInputSchema } from "./ProcessMediaJobWhereInputSchema"; +import { ProcessMediaJobUpdateWithoutBase_jobInputSchema } from "./ProcessMediaJobUpdateWithoutBase_jobInputSchema"; +import { ProcessMediaJobUncheckedUpdateWithoutBase_jobInputSchema } from "./ProcessMediaJobUncheckedUpdateWithoutBase_jobInputSchema"; + +export const ProcessMediaJobUpdateToOneWithWhereWithoutBase_jobInputSchema: z.ZodType = + z + .object({ + where: z.lazy(() => ProcessMediaJobWhereInputSchema).optional(), + data: z.union([ + z.lazy(() => ProcessMediaJobUpdateWithoutBase_jobInputSchema), + z.lazy(() => ProcessMediaJobUncheckedUpdateWithoutBase_jobInputSchema), + ]), + }) + .strict(); + +export default ProcessMediaJobUpdateToOneWithWhereWithoutBase_jobInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/ProcessMediaJobUpdateWithWhereUniqueWithoutMediaInputSchema.ts b/utility/prisma/types/inputTypeSchemas/ProcessMediaJobUpdateWithWhereUniqueWithoutMediaInputSchema.ts new file mode 100644 index 00000000..bc31f025 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/ProcessMediaJobUpdateWithWhereUniqueWithoutMediaInputSchema.ts @@ -0,0 +1,18 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { ProcessMediaJobWhereUniqueInputSchema } from "./ProcessMediaJobWhereUniqueInputSchema"; +import { ProcessMediaJobUpdateWithoutMediaInputSchema } from "./ProcessMediaJobUpdateWithoutMediaInputSchema"; +import { ProcessMediaJobUncheckedUpdateWithoutMediaInputSchema } from "./ProcessMediaJobUncheckedUpdateWithoutMediaInputSchema"; + +export const ProcessMediaJobUpdateWithWhereUniqueWithoutMediaInputSchema: z.ZodType = + z + .object({ + where: z.lazy(() => ProcessMediaJobWhereUniqueInputSchema), + data: z.union([ + z.lazy(() => ProcessMediaJobUpdateWithoutMediaInputSchema), + z.lazy(() => ProcessMediaJobUncheckedUpdateWithoutMediaInputSchema), + ]), + }) + .strict(); + +export default ProcessMediaJobUpdateWithWhereUniqueWithoutMediaInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/ProcessMediaJobUpdateWithoutBase_jobInputSchema.ts b/utility/prisma/types/inputTypeSchemas/ProcessMediaJobUpdateWithoutBase_jobInputSchema.ts new file mode 100644 index 00000000..5f012731 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/ProcessMediaJobUpdateWithoutBase_jobInputSchema.ts @@ -0,0 +1,29 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { MediaFileSourceTypeSchema } from "./MediaFileSourceTypeSchema"; +import { EnumMediaFileSourceTypeFieldUpdateOperationsInputSchema } from "./EnumMediaFileSourceTypeFieldUpdateOperationsInputSchema"; +import { StringFieldUpdateOperationsInputSchema } from "./StringFieldUpdateOperationsInputSchema"; +import { MediaUpdateOneRequiredWithoutProcess_jobsNestedInputSchema } from "./MediaUpdateOneRequiredWithoutProcess_jobsNestedInputSchema"; + +export const ProcessMediaJobUpdateWithoutBase_jobInputSchema: z.ZodType = + z + .object({ + sourceType: z + .union([ + z.lazy(() => MediaFileSourceTypeSchema), + z.lazy(() => EnumMediaFileSourceTypeFieldUpdateOperationsInputSchema), + ]) + .optional(), + source: z + .union([ + z.string(), + z.lazy(() => StringFieldUpdateOperationsInputSchema), + ]) + .optional(), + media: z + .lazy(() => MediaUpdateOneRequiredWithoutProcess_jobsNestedInputSchema) + .optional(), + }) + .strict(); + +export default ProcessMediaJobUpdateWithoutBase_jobInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/ProcessMediaJobUpdateWithoutMediaInputSchema.ts b/utility/prisma/types/inputTypeSchemas/ProcessMediaJobUpdateWithoutMediaInputSchema.ts new file mode 100644 index 00000000..ecc4437b --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/ProcessMediaJobUpdateWithoutMediaInputSchema.ts @@ -0,0 +1,31 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { MediaFileSourceTypeSchema } from "./MediaFileSourceTypeSchema"; +import { EnumMediaFileSourceTypeFieldUpdateOperationsInputSchema } from "./EnumMediaFileSourceTypeFieldUpdateOperationsInputSchema"; +import { StringFieldUpdateOperationsInputSchema } from "./StringFieldUpdateOperationsInputSchema"; +import { BaseJobUpdateOneRequiredWithoutProcessMediaJobNestedInputSchema } from "./BaseJobUpdateOneRequiredWithoutProcessMediaJobNestedInputSchema"; + +export const ProcessMediaJobUpdateWithoutMediaInputSchema: z.ZodType = + z + .object({ + sourceType: z + .union([ + z.lazy(() => MediaFileSourceTypeSchema), + z.lazy(() => EnumMediaFileSourceTypeFieldUpdateOperationsInputSchema), + ]) + .optional(), + source: z + .union([ + z.string(), + z.lazy(() => StringFieldUpdateOperationsInputSchema), + ]) + .optional(), + base_job: z + .lazy( + () => BaseJobUpdateOneRequiredWithoutProcessMediaJobNestedInputSchema, + ) + .optional(), + }) + .strict(); + +export default ProcessMediaJobUpdateWithoutMediaInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/ProcessMediaJobUpsertWithWhereUniqueWithoutMediaInputSchema.ts b/utility/prisma/types/inputTypeSchemas/ProcessMediaJobUpsertWithWhereUniqueWithoutMediaInputSchema.ts new file mode 100644 index 00000000..825b2b97 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/ProcessMediaJobUpsertWithWhereUniqueWithoutMediaInputSchema.ts @@ -0,0 +1,24 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { ProcessMediaJobWhereUniqueInputSchema } from "./ProcessMediaJobWhereUniqueInputSchema"; +import { ProcessMediaJobUpdateWithoutMediaInputSchema } from "./ProcessMediaJobUpdateWithoutMediaInputSchema"; +import { ProcessMediaJobUncheckedUpdateWithoutMediaInputSchema } from "./ProcessMediaJobUncheckedUpdateWithoutMediaInputSchema"; +import { ProcessMediaJobCreateWithoutMediaInputSchema } from "./ProcessMediaJobCreateWithoutMediaInputSchema"; +import { ProcessMediaJobUncheckedCreateWithoutMediaInputSchema } from "./ProcessMediaJobUncheckedCreateWithoutMediaInputSchema"; + +export const ProcessMediaJobUpsertWithWhereUniqueWithoutMediaInputSchema: z.ZodType = + z + .object({ + where: z.lazy(() => ProcessMediaJobWhereUniqueInputSchema), + update: z.union([ + z.lazy(() => ProcessMediaJobUpdateWithoutMediaInputSchema), + z.lazy(() => ProcessMediaJobUncheckedUpdateWithoutMediaInputSchema), + ]), + create: z.union([ + z.lazy(() => ProcessMediaJobCreateWithoutMediaInputSchema), + z.lazy(() => ProcessMediaJobUncheckedCreateWithoutMediaInputSchema), + ]), + }) + .strict(); + +export default ProcessMediaJobUpsertWithWhereUniqueWithoutMediaInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/ProcessMediaJobUpsertWithoutBase_jobInputSchema.ts b/utility/prisma/types/inputTypeSchemas/ProcessMediaJobUpsertWithoutBase_jobInputSchema.ts new file mode 100644 index 00000000..c8ac417c --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/ProcessMediaJobUpsertWithoutBase_jobInputSchema.ts @@ -0,0 +1,24 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { ProcessMediaJobUpdateWithoutBase_jobInputSchema } from "./ProcessMediaJobUpdateWithoutBase_jobInputSchema"; +import { ProcessMediaJobUncheckedUpdateWithoutBase_jobInputSchema } from "./ProcessMediaJobUncheckedUpdateWithoutBase_jobInputSchema"; +import { ProcessMediaJobCreateWithoutBase_jobInputSchema } from "./ProcessMediaJobCreateWithoutBase_jobInputSchema"; +import { ProcessMediaJobUncheckedCreateWithoutBase_jobInputSchema } from "./ProcessMediaJobUncheckedCreateWithoutBase_jobInputSchema"; +import { ProcessMediaJobWhereInputSchema } from "./ProcessMediaJobWhereInputSchema"; + +export const ProcessMediaJobUpsertWithoutBase_jobInputSchema: z.ZodType = + z + .object({ + update: z.union([ + z.lazy(() => ProcessMediaJobUpdateWithoutBase_jobInputSchema), + z.lazy(() => ProcessMediaJobUncheckedUpdateWithoutBase_jobInputSchema), + ]), + create: z.union([ + z.lazy(() => ProcessMediaJobCreateWithoutBase_jobInputSchema), + z.lazy(() => ProcessMediaJobUncheckedCreateWithoutBase_jobInputSchema), + ]), + where: z.lazy(() => ProcessMediaJobWhereInputSchema).optional(), + }) + .strict(); + +export default ProcessMediaJobUpsertWithoutBase_jobInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/ProcessMediaJobWhereInputSchema.ts b/utility/prisma/types/inputTypeSchemas/ProcessMediaJobWhereInputSchema.ts new file mode 100644 index 00000000..fd24a93d --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/ProcessMediaJobWhereInputSchema.ts @@ -0,0 +1,60 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { IntFilterSchema } from "./IntFilterSchema"; +import { EnumMediaFileSourceTypeFilterSchema } from "./EnumMediaFileSourceTypeFilterSchema"; +import { MediaFileSourceTypeSchema } from "./MediaFileSourceTypeSchema"; +import { StringFilterSchema } from "./StringFilterSchema"; +import { MediaRelationFilterSchema } from "./MediaRelationFilterSchema"; +import { MediaWhereInputSchema } from "./MediaWhereInputSchema"; +import { BaseJobRelationFilterSchema } from "./BaseJobRelationFilterSchema"; +import { BaseJobWhereInputSchema } from "./BaseJobWhereInputSchema"; + +export const ProcessMediaJobWhereInputSchema: z.ZodType = + z + .object({ + AND: z + .union([ + z.lazy(() => ProcessMediaJobWhereInputSchema), + z.lazy(() => ProcessMediaJobWhereInputSchema).array(), + ]) + .optional(), + OR: z + .lazy(() => ProcessMediaJobWhereInputSchema) + .array() + .optional(), + NOT: z + .union([ + z.lazy(() => ProcessMediaJobWhereInputSchema), + z.lazy(() => ProcessMediaJobWhereInputSchema).array(), + ]) + .optional(), + id: z.union([z.lazy(() => IntFilterSchema), z.number()]).optional(), + mediaId: z.union([z.lazy(() => IntFilterSchema), z.number()]).optional(), + sourceType: z + .union([ + z.lazy(() => EnumMediaFileSourceTypeFilterSchema), + z.lazy(() => MediaFileSourceTypeSchema), + ]) + .optional(), + source: z + .union([z.lazy(() => StringFilterSchema), z.string()]) + .optional(), + base_job_id: z + .union([z.lazy(() => IntFilterSchema), z.number()]) + .optional(), + media: z + .union([ + z.lazy(() => MediaRelationFilterSchema), + z.lazy(() => MediaWhereInputSchema), + ]) + .optional(), + base_job: z + .union([ + z.lazy(() => BaseJobRelationFilterSchema), + z.lazy(() => BaseJobWhereInputSchema), + ]) + .optional(), + }) + .strict(); + +export default ProcessMediaJobWhereInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/ProcessMediaJobWhereUniqueInputSchema.ts b/utility/prisma/types/inputTypeSchemas/ProcessMediaJobWhereUniqueInputSchema.ts new file mode 100644 index 00000000..9977a226 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/ProcessMediaJobWhereUniqueInputSchema.ts @@ -0,0 +1,76 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { ProcessMediaJobWhereInputSchema } from "./ProcessMediaJobWhereInputSchema"; +import { IntFilterSchema } from "./IntFilterSchema"; +import { EnumMediaFileSourceTypeFilterSchema } from "./EnumMediaFileSourceTypeFilterSchema"; +import { MediaFileSourceTypeSchema } from "./MediaFileSourceTypeSchema"; +import { StringFilterSchema } from "./StringFilterSchema"; +import { MediaRelationFilterSchema } from "./MediaRelationFilterSchema"; +import { MediaWhereInputSchema } from "./MediaWhereInputSchema"; +import { BaseJobRelationFilterSchema } from "./BaseJobRelationFilterSchema"; +import { BaseJobWhereInputSchema } from "./BaseJobWhereInputSchema"; + +export const ProcessMediaJobWhereUniqueInputSchema: z.ZodType = + z + .union([ + z.object({ + id: z.number(), + base_job_id: z.number(), + }), + z.object({ + id: z.number(), + }), + z.object({ + base_job_id: z.number(), + }), + ]) + .and( + z + .object({ + id: z.number().optional(), + base_job_id: z.number().optional(), + AND: z + .union([ + z.lazy(() => ProcessMediaJobWhereInputSchema), + z.lazy(() => ProcessMediaJobWhereInputSchema).array(), + ]) + .optional(), + OR: z + .lazy(() => ProcessMediaJobWhereInputSchema) + .array() + .optional(), + NOT: z + .union([ + z.lazy(() => ProcessMediaJobWhereInputSchema), + z.lazy(() => ProcessMediaJobWhereInputSchema).array(), + ]) + .optional(), + mediaId: z + .union([z.lazy(() => IntFilterSchema), z.number()]) + .optional(), + sourceType: z + .union([ + z.lazy(() => EnumMediaFileSourceTypeFilterSchema), + z.lazy(() => MediaFileSourceTypeSchema), + ]) + .optional(), + source: z + .union([z.lazy(() => StringFilterSchema), z.string()]) + .optional(), + media: z + .union([ + z.lazy(() => MediaRelationFilterSchema), + z.lazy(() => MediaWhereInputSchema), + ]) + .optional(), + base_job: z + .union([ + z.lazy(() => BaseJobRelationFilterSchema), + z.lazy(() => BaseJobWhereInputSchema), + ]) + .optional(), + }) + .strict(), + ); + +export default ProcessMediaJobWhereUniqueInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/RundownAvgOrderByAggregateInputSchema.ts b/utility/prisma/types/inputTypeSchemas/RundownAvgOrderByAggregateInputSchema.ts new file mode 100644 index 00000000..eee3a705 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/RundownAvgOrderByAggregateInputSchema.ts @@ -0,0 +1,14 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { SortOrderSchema } from "./SortOrderSchema"; + +export const RundownAvgOrderByAggregateInputSchema: z.ZodType = + z + .object({ + id: z.lazy(() => SortOrderSchema).optional(), + showId: z.lazy(() => SortOrderSchema).optional(), + order: z.lazy(() => SortOrderSchema).optional(), + }) + .strict(); + +export default RundownAvgOrderByAggregateInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/RundownCountOrderByAggregateInputSchema.ts b/utility/prisma/types/inputTypeSchemas/RundownCountOrderByAggregateInputSchema.ts new file mode 100644 index 00000000..10af5ab7 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/RundownCountOrderByAggregateInputSchema.ts @@ -0,0 +1,15 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { SortOrderSchema } from "./SortOrderSchema"; + +export const RundownCountOrderByAggregateInputSchema: z.ZodType = + z + .object({ + id: z.lazy(() => SortOrderSchema).optional(), + name: z.lazy(() => SortOrderSchema).optional(), + showId: z.lazy(() => SortOrderSchema).optional(), + order: z.lazy(() => SortOrderSchema).optional(), + }) + .strict(); + +export default RundownCountOrderByAggregateInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/RundownCreateInputSchema.ts b/utility/prisma/types/inputTypeSchemas/RundownCreateInputSchema.ts new file mode 100644 index 00000000..53c0b7ec --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/RundownCreateInputSchema.ts @@ -0,0 +1,21 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { ShowCreateNestedOneWithoutRundownsInputSchema } from "./ShowCreateNestedOneWithoutRundownsInputSchema"; +import { RundownItemCreateNestedManyWithoutRundownInputSchema } from "./RundownItemCreateNestedManyWithoutRundownInputSchema"; +import { AssetCreateNestedManyWithoutRundownInputSchema } from "./AssetCreateNestedManyWithoutRundownInputSchema"; + +export const RundownCreateInputSchema: z.ZodType = z + .object({ + name: z.string(), + order: z.number().int(), + show: z.lazy(() => ShowCreateNestedOneWithoutRundownsInputSchema), + items: z + .lazy(() => RundownItemCreateNestedManyWithoutRundownInputSchema) + .optional(), + assets: z + .lazy(() => AssetCreateNestedManyWithoutRundownInputSchema) + .optional(), + }) + .strict(); + +export default RundownCreateInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/RundownCreateManyInputSchema.ts b/utility/prisma/types/inputTypeSchemas/RundownCreateManyInputSchema.ts new file mode 100644 index 00000000..cecd8532 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/RundownCreateManyInputSchema.ts @@ -0,0 +1,14 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; + +export const RundownCreateManyInputSchema: z.ZodType = + z + .object({ + id: z.number().int().optional(), + name: z.string(), + showId: z.number().int(), + order: z.number().int(), + }) + .strict(); + +export default RundownCreateManyInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/RundownCreateManyShowInputEnvelopeSchema.ts b/utility/prisma/types/inputTypeSchemas/RundownCreateManyShowInputEnvelopeSchema.ts new file mode 100644 index 00000000..3ac770de --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/RundownCreateManyShowInputEnvelopeSchema.ts @@ -0,0 +1,16 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { RundownCreateManyShowInputSchema } from "./RundownCreateManyShowInputSchema"; + +export const RundownCreateManyShowInputEnvelopeSchema: z.ZodType = + z + .object({ + data: z.union([ + z.lazy(() => RundownCreateManyShowInputSchema), + z.lazy(() => RundownCreateManyShowInputSchema).array(), + ]), + skipDuplicates: z.boolean().optional(), + }) + .strict(); + +export default RundownCreateManyShowInputEnvelopeSchema; diff --git a/utility/prisma/types/inputTypeSchemas/RundownCreateManyShowInputSchema.ts b/utility/prisma/types/inputTypeSchemas/RundownCreateManyShowInputSchema.ts new file mode 100644 index 00000000..5a3f0093 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/RundownCreateManyShowInputSchema.ts @@ -0,0 +1,13 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; + +export const RundownCreateManyShowInputSchema: z.ZodType = + z + .object({ + id: z.number().int().optional(), + name: z.string(), + order: z.number().int(), + }) + .strict(); + +export default RundownCreateManyShowInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/RundownCreateNestedManyWithoutShowInputSchema.ts b/utility/prisma/types/inputTypeSchemas/RundownCreateNestedManyWithoutShowInputSchema.ts new file mode 100644 index 00000000..4d8c0120 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/RundownCreateNestedManyWithoutShowInputSchema.ts @@ -0,0 +1,38 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { RundownCreateWithoutShowInputSchema } from "./RundownCreateWithoutShowInputSchema"; +import { RundownUncheckedCreateWithoutShowInputSchema } from "./RundownUncheckedCreateWithoutShowInputSchema"; +import { RundownCreateOrConnectWithoutShowInputSchema } from "./RundownCreateOrConnectWithoutShowInputSchema"; +import { RundownCreateManyShowInputEnvelopeSchema } from "./RundownCreateManyShowInputEnvelopeSchema"; +import { RundownWhereUniqueInputSchema } from "./RundownWhereUniqueInputSchema"; + +export const RundownCreateNestedManyWithoutShowInputSchema: z.ZodType = + z + .object({ + create: z + .union([ + z.lazy(() => RundownCreateWithoutShowInputSchema), + z.lazy(() => RundownCreateWithoutShowInputSchema).array(), + z.lazy(() => RundownUncheckedCreateWithoutShowInputSchema), + z.lazy(() => RundownUncheckedCreateWithoutShowInputSchema).array(), + ]) + .optional(), + connectOrCreate: z + .union([ + z.lazy(() => RundownCreateOrConnectWithoutShowInputSchema), + z.lazy(() => RundownCreateOrConnectWithoutShowInputSchema).array(), + ]) + .optional(), + createMany: z + .lazy(() => RundownCreateManyShowInputEnvelopeSchema) + .optional(), + connect: z + .union([ + z.lazy(() => RundownWhereUniqueInputSchema), + z.lazy(() => RundownWhereUniqueInputSchema).array(), + ]) + .optional(), + }) + .strict(); + +export default RundownCreateNestedManyWithoutShowInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/RundownCreateNestedOneWithoutAssetsInputSchema.ts b/utility/prisma/types/inputTypeSchemas/RundownCreateNestedOneWithoutAssetsInputSchema.ts new file mode 100644 index 00000000..157e3f8a --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/RundownCreateNestedOneWithoutAssetsInputSchema.ts @@ -0,0 +1,24 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { RundownCreateWithoutAssetsInputSchema } from "./RundownCreateWithoutAssetsInputSchema"; +import { RundownUncheckedCreateWithoutAssetsInputSchema } from "./RundownUncheckedCreateWithoutAssetsInputSchema"; +import { RundownCreateOrConnectWithoutAssetsInputSchema } from "./RundownCreateOrConnectWithoutAssetsInputSchema"; +import { RundownWhereUniqueInputSchema } from "./RundownWhereUniqueInputSchema"; + +export const RundownCreateNestedOneWithoutAssetsInputSchema: z.ZodType = + z + .object({ + create: z + .union([ + z.lazy(() => RundownCreateWithoutAssetsInputSchema), + z.lazy(() => RundownUncheckedCreateWithoutAssetsInputSchema), + ]) + .optional(), + connectOrCreate: z + .lazy(() => RundownCreateOrConnectWithoutAssetsInputSchema) + .optional(), + connect: z.lazy(() => RundownWhereUniqueInputSchema).optional(), + }) + .strict(); + +export default RundownCreateNestedOneWithoutAssetsInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/RundownCreateNestedOneWithoutItemsInputSchema.ts b/utility/prisma/types/inputTypeSchemas/RundownCreateNestedOneWithoutItemsInputSchema.ts new file mode 100644 index 00000000..bb2ff7fb --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/RundownCreateNestedOneWithoutItemsInputSchema.ts @@ -0,0 +1,24 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { RundownCreateWithoutItemsInputSchema } from "./RundownCreateWithoutItemsInputSchema"; +import { RundownUncheckedCreateWithoutItemsInputSchema } from "./RundownUncheckedCreateWithoutItemsInputSchema"; +import { RundownCreateOrConnectWithoutItemsInputSchema } from "./RundownCreateOrConnectWithoutItemsInputSchema"; +import { RundownWhereUniqueInputSchema } from "./RundownWhereUniqueInputSchema"; + +export const RundownCreateNestedOneWithoutItemsInputSchema: z.ZodType = + z + .object({ + create: z + .union([ + z.lazy(() => RundownCreateWithoutItemsInputSchema), + z.lazy(() => RundownUncheckedCreateWithoutItemsInputSchema), + ]) + .optional(), + connectOrCreate: z + .lazy(() => RundownCreateOrConnectWithoutItemsInputSchema) + .optional(), + connect: z.lazy(() => RundownWhereUniqueInputSchema).optional(), + }) + .strict(); + +export default RundownCreateNestedOneWithoutItemsInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/RundownCreateOrConnectWithoutAssetsInputSchema.ts b/utility/prisma/types/inputTypeSchemas/RundownCreateOrConnectWithoutAssetsInputSchema.ts new file mode 100644 index 00000000..c81f5105 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/RundownCreateOrConnectWithoutAssetsInputSchema.ts @@ -0,0 +1,18 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { RundownWhereUniqueInputSchema } from "./RundownWhereUniqueInputSchema"; +import { RundownCreateWithoutAssetsInputSchema } from "./RundownCreateWithoutAssetsInputSchema"; +import { RundownUncheckedCreateWithoutAssetsInputSchema } from "./RundownUncheckedCreateWithoutAssetsInputSchema"; + +export const RundownCreateOrConnectWithoutAssetsInputSchema: z.ZodType = + z + .object({ + where: z.lazy(() => RundownWhereUniqueInputSchema), + create: z.union([ + z.lazy(() => RundownCreateWithoutAssetsInputSchema), + z.lazy(() => RundownUncheckedCreateWithoutAssetsInputSchema), + ]), + }) + .strict(); + +export default RundownCreateOrConnectWithoutAssetsInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/RundownCreateOrConnectWithoutItemsInputSchema.ts b/utility/prisma/types/inputTypeSchemas/RundownCreateOrConnectWithoutItemsInputSchema.ts new file mode 100644 index 00000000..b87bc74a --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/RundownCreateOrConnectWithoutItemsInputSchema.ts @@ -0,0 +1,18 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { RundownWhereUniqueInputSchema } from "./RundownWhereUniqueInputSchema"; +import { RundownCreateWithoutItemsInputSchema } from "./RundownCreateWithoutItemsInputSchema"; +import { RundownUncheckedCreateWithoutItemsInputSchema } from "./RundownUncheckedCreateWithoutItemsInputSchema"; + +export const RundownCreateOrConnectWithoutItemsInputSchema: z.ZodType = + z + .object({ + where: z.lazy(() => RundownWhereUniqueInputSchema), + create: z.union([ + z.lazy(() => RundownCreateWithoutItemsInputSchema), + z.lazy(() => RundownUncheckedCreateWithoutItemsInputSchema), + ]), + }) + .strict(); + +export default RundownCreateOrConnectWithoutItemsInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/RundownCreateOrConnectWithoutShowInputSchema.ts b/utility/prisma/types/inputTypeSchemas/RundownCreateOrConnectWithoutShowInputSchema.ts new file mode 100644 index 00000000..8a4494c1 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/RundownCreateOrConnectWithoutShowInputSchema.ts @@ -0,0 +1,18 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { RundownWhereUniqueInputSchema } from "./RundownWhereUniqueInputSchema"; +import { RundownCreateWithoutShowInputSchema } from "./RundownCreateWithoutShowInputSchema"; +import { RundownUncheckedCreateWithoutShowInputSchema } from "./RundownUncheckedCreateWithoutShowInputSchema"; + +export const RundownCreateOrConnectWithoutShowInputSchema: z.ZodType = + z + .object({ + where: z.lazy(() => RundownWhereUniqueInputSchema), + create: z.union([ + z.lazy(() => RundownCreateWithoutShowInputSchema), + z.lazy(() => RundownUncheckedCreateWithoutShowInputSchema), + ]), + }) + .strict(); + +export default RundownCreateOrConnectWithoutShowInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/RundownCreateWithoutAssetsInputSchema.ts b/utility/prisma/types/inputTypeSchemas/RundownCreateWithoutAssetsInputSchema.ts new file mode 100644 index 00000000..77d579df --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/RundownCreateWithoutAssetsInputSchema.ts @@ -0,0 +1,18 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { ShowCreateNestedOneWithoutRundownsInputSchema } from "./ShowCreateNestedOneWithoutRundownsInputSchema"; +import { RundownItemCreateNestedManyWithoutRundownInputSchema } from "./RundownItemCreateNestedManyWithoutRundownInputSchema"; + +export const RundownCreateWithoutAssetsInputSchema: z.ZodType = + z + .object({ + name: z.string(), + order: z.number().int(), + show: z.lazy(() => ShowCreateNestedOneWithoutRundownsInputSchema), + items: z + .lazy(() => RundownItemCreateNestedManyWithoutRundownInputSchema) + .optional(), + }) + .strict(); + +export default RundownCreateWithoutAssetsInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/RundownCreateWithoutItemsInputSchema.ts b/utility/prisma/types/inputTypeSchemas/RundownCreateWithoutItemsInputSchema.ts new file mode 100644 index 00000000..39942216 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/RundownCreateWithoutItemsInputSchema.ts @@ -0,0 +1,18 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { ShowCreateNestedOneWithoutRundownsInputSchema } from "./ShowCreateNestedOneWithoutRundownsInputSchema"; +import { AssetCreateNestedManyWithoutRundownInputSchema } from "./AssetCreateNestedManyWithoutRundownInputSchema"; + +export const RundownCreateWithoutItemsInputSchema: z.ZodType = + z + .object({ + name: z.string(), + order: z.number().int(), + show: z.lazy(() => ShowCreateNestedOneWithoutRundownsInputSchema), + assets: z + .lazy(() => AssetCreateNestedManyWithoutRundownInputSchema) + .optional(), + }) + .strict(); + +export default RundownCreateWithoutItemsInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/RundownCreateWithoutShowInputSchema.ts b/utility/prisma/types/inputTypeSchemas/RundownCreateWithoutShowInputSchema.ts new file mode 100644 index 00000000..bd26b3b3 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/RundownCreateWithoutShowInputSchema.ts @@ -0,0 +1,20 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { RundownItemCreateNestedManyWithoutRundownInputSchema } from "./RundownItemCreateNestedManyWithoutRundownInputSchema"; +import { AssetCreateNestedManyWithoutRundownInputSchema } from "./AssetCreateNestedManyWithoutRundownInputSchema"; + +export const RundownCreateWithoutShowInputSchema: z.ZodType = + z + .object({ + name: z.string(), + order: z.number().int(), + items: z + .lazy(() => RundownItemCreateNestedManyWithoutRundownInputSchema) + .optional(), + assets: z + .lazy(() => AssetCreateNestedManyWithoutRundownInputSchema) + .optional(), + }) + .strict(); + +export default RundownCreateWithoutShowInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/RundownIncludeSchema.ts b/utility/prisma/types/inputTypeSchemas/RundownIncludeSchema.ts new file mode 100644 index 00000000..5d5b3623 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/RundownIncludeSchema.ts @@ -0,0 +1,23 @@ +import { z } from "zod"; +import type { Prisma } from "../../client"; +import { ShowArgsSchema } from "../outputTypeSchemas/ShowArgsSchema"; +import { RundownItemFindManyArgsSchema } from "../outputTypeSchemas/RundownItemFindManyArgsSchema"; +import { AssetFindManyArgsSchema } from "../outputTypeSchemas/AssetFindManyArgsSchema"; +import { RundownCountOutputTypeArgsSchema } from "../outputTypeSchemas/RundownCountOutputTypeArgsSchema"; + +export const RundownIncludeSchema: z.ZodType = z + .object({ + show: z.union([z.boolean(), z.lazy(() => ShowArgsSchema)]).optional(), + items: z + .union([z.boolean(), z.lazy(() => RundownItemFindManyArgsSchema)]) + .optional(), + assets: z + .union([z.boolean(), z.lazy(() => AssetFindManyArgsSchema)]) + .optional(), + _count: z + .union([z.boolean(), z.lazy(() => RundownCountOutputTypeArgsSchema)]) + .optional(), + }) + .strict(); + +export default RundownIncludeSchema; diff --git a/utility/prisma/types/inputTypeSchemas/RundownItemAvgOrderByAggregateInputSchema.ts b/utility/prisma/types/inputTypeSchemas/RundownItemAvgOrderByAggregateInputSchema.ts new file mode 100644 index 00000000..f2d8aa49 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/RundownItemAvgOrderByAggregateInputSchema.ts @@ -0,0 +1,15 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { SortOrderSchema } from "./SortOrderSchema"; + +export const RundownItemAvgOrderByAggregateInputSchema: z.ZodType = + z + .object({ + id: z.lazy(() => SortOrderSchema).optional(), + rundownId: z.lazy(() => SortOrderSchema).optional(), + order: z.lazy(() => SortOrderSchema).optional(), + durationSeconds: z.lazy(() => SortOrderSchema).optional(), + }) + .strict(); + +export default RundownItemAvgOrderByAggregateInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/RundownItemCountOrderByAggregateInputSchema.ts b/utility/prisma/types/inputTypeSchemas/RundownItemCountOrderByAggregateInputSchema.ts new file mode 100644 index 00000000..2f39479a --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/RundownItemCountOrderByAggregateInputSchema.ts @@ -0,0 +1,18 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { SortOrderSchema } from "./SortOrderSchema"; + +export const RundownItemCountOrderByAggregateInputSchema: z.ZodType = + z + .object({ + id: z.lazy(() => SortOrderSchema).optional(), + name: z.lazy(() => SortOrderSchema).optional(), + rundownId: z.lazy(() => SortOrderSchema).optional(), + order: z.lazy(() => SortOrderSchema).optional(), + durationSeconds: z.lazy(() => SortOrderSchema).optional(), + type: z.lazy(() => SortOrderSchema).optional(), + notes: z.lazy(() => SortOrderSchema).optional(), + }) + .strict(); + +export default RundownItemCountOrderByAggregateInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/RundownItemCreateInputSchema.ts b/utility/prisma/types/inputTypeSchemas/RundownItemCreateInputSchema.ts new file mode 100644 index 00000000..081157bf --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/RundownItemCreateInputSchema.ts @@ -0,0 +1,22 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { RundownItemTypeSchema } from "./RundownItemTypeSchema"; +import { MediaCreateNestedOneWithoutRundownItemInputSchema } from "./MediaCreateNestedOneWithoutRundownItemInputSchema"; +import { RundownCreateNestedOneWithoutItemsInputSchema } from "./RundownCreateNestedOneWithoutItemsInputSchema"; + +export const RundownItemCreateInputSchema: z.ZodType = + z + .object({ + name: z.string(), + order: z.number().int(), + durationSeconds: z.number().int(), + type: z.lazy(() => RundownItemTypeSchema), + notes: z.string().optional(), + media: z + .lazy(() => MediaCreateNestedOneWithoutRundownItemInputSchema) + .optional(), + rundown: z.lazy(() => RundownCreateNestedOneWithoutItemsInputSchema), + }) + .strict(); + +export default RundownItemCreateInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/RundownItemCreateManyInputSchema.ts b/utility/prisma/types/inputTypeSchemas/RundownItemCreateManyInputSchema.ts new file mode 100644 index 00000000..af209380 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/RundownItemCreateManyInputSchema.ts @@ -0,0 +1,18 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { RundownItemTypeSchema } from "./RundownItemTypeSchema"; + +export const RundownItemCreateManyInputSchema: z.ZodType = + z + .object({ + id: z.number().int().optional(), + name: z.string(), + rundownId: z.number().int(), + order: z.number().int(), + durationSeconds: z.number().int(), + type: z.lazy(() => RundownItemTypeSchema), + notes: z.string().optional(), + }) + .strict(); + +export default RundownItemCreateManyInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/RundownItemCreateManyRundownInputEnvelopeSchema.ts b/utility/prisma/types/inputTypeSchemas/RundownItemCreateManyRundownInputEnvelopeSchema.ts new file mode 100644 index 00000000..5f82b212 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/RundownItemCreateManyRundownInputEnvelopeSchema.ts @@ -0,0 +1,16 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { RundownItemCreateManyRundownInputSchema } from "./RundownItemCreateManyRundownInputSchema"; + +export const RundownItemCreateManyRundownInputEnvelopeSchema: z.ZodType = + z + .object({ + data: z.union([ + z.lazy(() => RundownItemCreateManyRundownInputSchema), + z.lazy(() => RundownItemCreateManyRundownInputSchema).array(), + ]), + skipDuplicates: z.boolean().optional(), + }) + .strict(); + +export default RundownItemCreateManyRundownInputEnvelopeSchema; diff --git a/utility/prisma/types/inputTypeSchemas/RundownItemCreateManyRundownInputSchema.ts b/utility/prisma/types/inputTypeSchemas/RundownItemCreateManyRundownInputSchema.ts new file mode 100644 index 00000000..4f73859e --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/RundownItemCreateManyRundownInputSchema.ts @@ -0,0 +1,17 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { RundownItemTypeSchema } from "./RundownItemTypeSchema"; + +export const RundownItemCreateManyRundownInputSchema: z.ZodType = + z + .object({ + id: z.number().int().optional(), + name: z.string(), + order: z.number().int(), + durationSeconds: z.number().int(), + type: z.lazy(() => RundownItemTypeSchema), + notes: z.string().optional(), + }) + .strict(); + +export default RundownItemCreateManyRundownInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/RundownItemCreateNestedManyWithoutRundownInputSchema.ts b/utility/prisma/types/inputTypeSchemas/RundownItemCreateNestedManyWithoutRundownInputSchema.ts new file mode 100644 index 00000000..13a9f70b --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/RundownItemCreateNestedManyWithoutRundownInputSchema.ts @@ -0,0 +1,42 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { RundownItemCreateWithoutRundownInputSchema } from "./RundownItemCreateWithoutRundownInputSchema"; +import { RundownItemUncheckedCreateWithoutRundownInputSchema } from "./RundownItemUncheckedCreateWithoutRundownInputSchema"; +import { RundownItemCreateOrConnectWithoutRundownInputSchema } from "./RundownItemCreateOrConnectWithoutRundownInputSchema"; +import { RundownItemCreateManyRundownInputEnvelopeSchema } from "./RundownItemCreateManyRundownInputEnvelopeSchema"; +import { RundownItemWhereUniqueInputSchema } from "./RundownItemWhereUniqueInputSchema"; + +export const RundownItemCreateNestedManyWithoutRundownInputSchema: z.ZodType = + z + .object({ + create: z + .union([ + z.lazy(() => RundownItemCreateWithoutRundownInputSchema), + z.lazy(() => RundownItemCreateWithoutRundownInputSchema).array(), + z.lazy(() => RundownItemUncheckedCreateWithoutRundownInputSchema), + z + .lazy(() => RundownItemUncheckedCreateWithoutRundownInputSchema) + .array(), + ]) + .optional(), + connectOrCreate: z + .union([ + z.lazy(() => RundownItemCreateOrConnectWithoutRundownInputSchema), + z + .lazy(() => RundownItemCreateOrConnectWithoutRundownInputSchema) + .array(), + ]) + .optional(), + createMany: z + .lazy(() => RundownItemCreateManyRundownInputEnvelopeSchema) + .optional(), + connect: z + .union([ + z.lazy(() => RundownItemWhereUniqueInputSchema), + z.lazy(() => RundownItemWhereUniqueInputSchema).array(), + ]) + .optional(), + }) + .strict(); + +export default RundownItemCreateNestedManyWithoutRundownInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/RundownItemCreateNestedOneWithoutMediaInputSchema.ts b/utility/prisma/types/inputTypeSchemas/RundownItemCreateNestedOneWithoutMediaInputSchema.ts new file mode 100644 index 00000000..7931aae2 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/RundownItemCreateNestedOneWithoutMediaInputSchema.ts @@ -0,0 +1,24 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { RundownItemCreateWithoutMediaInputSchema } from "./RundownItemCreateWithoutMediaInputSchema"; +import { RundownItemUncheckedCreateWithoutMediaInputSchema } from "./RundownItemUncheckedCreateWithoutMediaInputSchema"; +import { RundownItemCreateOrConnectWithoutMediaInputSchema } from "./RundownItemCreateOrConnectWithoutMediaInputSchema"; +import { RundownItemWhereUniqueInputSchema } from "./RundownItemWhereUniqueInputSchema"; + +export const RundownItemCreateNestedOneWithoutMediaInputSchema: z.ZodType = + z + .object({ + create: z + .union([ + z.lazy(() => RundownItemCreateWithoutMediaInputSchema), + z.lazy(() => RundownItemUncheckedCreateWithoutMediaInputSchema), + ]) + .optional(), + connectOrCreate: z + .lazy(() => RundownItemCreateOrConnectWithoutMediaInputSchema) + .optional(), + connect: z.lazy(() => RundownItemWhereUniqueInputSchema).optional(), + }) + .strict(); + +export default RundownItemCreateNestedOneWithoutMediaInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/RundownItemCreateOrConnectWithoutMediaInputSchema.ts b/utility/prisma/types/inputTypeSchemas/RundownItemCreateOrConnectWithoutMediaInputSchema.ts new file mode 100644 index 00000000..cebd2358 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/RundownItemCreateOrConnectWithoutMediaInputSchema.ts @@ -0,0 +1,18 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { RundownItemWhereUniqueInputSchema } from "./RundownItemWhereUniqueInputSchema"; +import { RundownItemCreateWithoutMediaInputSchema } from "./RundownItemCreateWithoutMediaInputSchema"; +import { RundownItemUncheckedCreateWithoutMediaInputSchema } from "./RundownItemUncheckedCreateWithoutMediaInputSchema"; + +export const RundownItemCreateOrConnectWithoutMediaInputSchema: z.ZodType = + z + .object({ + where: z.lazy(() => RundownItemWhereUniqueInputSchema), + create: z.union([ + z.lazy(() => RundownItemCreateWithoutMediaInputSchema), + z.lazy(() => RundownItemUncheckedCreateWithoutMediaInputSchema), + ]), + }) + .strict(); + +export default RundownItemCreateOrConnectWithoutMediaInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/RundownItemCreateOrConnectWithoutRundownInputSchema.ts b/utility/prisma/types/inputTypeSchemas/RundownItemCreateOrConnectWithoutRundownInputSchema.ts new file mode 100644 index 00000000..f39ba9cf --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/RundownItemCreateOrConnectWithoutRundownInputSchema.ts @@ -0,0 +1,18 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { RundownItemWhereUniqueInputSchema } from "./RundownItemWhereUniqueInputSchema"; +import { RundownItemCreateWithoutRundownInputSchema } from "./RundownItemCreateWithoutRundownInputSchema"; +import { RundownItemUncheckedCreateWithoutRundownInputSchema } from "./RundownItemUncheckedCreateWithoutRundownInputSchema"; + +export const RundownItemCreateOrConnectWithoutRundownInputSchema: z.ZodType = + z + .object({ + where: z.lazy(() => RundownItemWhereUniqueInputSchema), + create: z.union([ + z.lazy(() => RundownItemCreateWithoutRundownInputSchema), + z.lazy(() => RundownItemUncheckedCreateWithoutRundownInputSchema), + ]), + }) + .strict(); + +export default RundownItemCreateOrConnectWithoutRundownInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/RundownItemCreateWithoutMediaInputSchema.ts b/utility/prisma/types/inputTypeSchemas/RundownItemCreateWithoutMediaInputSchema.ts new file mode 100644 index 00000000..c77c7f7a --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/RundownItemCreateWithoutMediaInputSchema.ts @@ -0,0 +1,18 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { RundownItemTypeSchema } from "./RundownItemTypeSchema"; +import { RundownCreateNestedOneWithoutItemsInputSchema } from "./RundownCreateNestedOneWithoutItemsInputSchema"; + +export const RundownItemCreateWithoutMediaInputSchema: z.ZodType = + z + .object({ + name: z.string(), + order: z.number().int(), + durationSeconds: z.number().int(), + type: z.lazy(() => RundownItemTypeSchema), + notes: z.string().optional(), + rundown: z.lazy(() => RundownCreateNestedOneWithoutItemsInputSchema), + }) + .strict(); + +export default RundownItemCreateWithoutMediaInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/RundownItemCreateWithoutRundownInputSchema.ts b/utility/prisma/types/inputTypeSchemas/RundownItemCreateWithoutRundownInputSchema.ts new file mode 100644 index 00000000..c3b8e10a --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/RundownItemCreateWithoutRundownInputSchema.ts @@ -0,0 +1,20 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { RundownItemTypeSchema } from "./RundownItemTypeSchema"; +import { MediaCreateNestedOneWithoutRundownItemInputSchema } from "./MediaCreateNestedOneWithoutRundownItemInputSchema"; + +export const RundownItemCreateWithoutRundownInputSchema: z.ZodType = + z + .object({ + name: z.string(), + order: z.number().int(), + durationSeconds: z.number().int(), + type: z.lazy(() => RundownItemTypeSchema), + notes: z.string().optional(), + media: z + .lazy(() => MediaCreateNestedOneWithoutRundownItemInputSchema) + .optional(), + }) + .strict(); + +export default RundownItemCreateWithoutRundownInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/RundownItemIncludeSchema.ts b/utility/prisma/types/inputTypeSchemas/RundownItemIncludeSchema.ts new file mode 100644 index 00000000..c7d0ab9e --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/RundownItemIncludeSchema.ts @@ -0,0 +1,13 @@ +import { z } from "zod"; +import type { Prisma } from "../../client"; +import { MediaArgsSchema } from "../outputTypeSchemas/MediaArgsSchema"; +import { RundownArgsSchema } from "../outputTypeSchemas/RundownArgsSchema"; + +export const RundownItemIncludeSchema: z.ZodType = z + .object({ + media: z.union([z.boolean(), z.lazy(() => MediaArgsSchema)]).optional(), + rundown: z.union([z.boolean(), z.lazy(() => RundownArgsSchema)]).optional(), + }) + .strict(); + +export default RundownItemIncludeSchema; diff --git a/utility/prisma/types/inputTypeSchemas/RundownItemListRelationFilterSchema.ts b/utility/prisma/types/inputTypeSchemas/RundownItemListRelationFilterSchema.ts new file mode 100644 index 00000000..429f6a69 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/RundownItemListRelationFilterSchema.ts @@ -0,0 +1,14 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { RundownItemWhereInputSchema } from "./RundownItemWhereInputSchema"; + +export const RundownItemListRelationFilterSchema: z.ZodType = + z + .object({ + every: z.lazy(() => RundownItemWhereInputSchema).optional(), + some: z.lazy(() => RundownItemWhereInputSchema).optional(), + none: z.lazy(() => RundownItemWhereInputSchema).optional(), + }) + .strict(); + +export default RundownItemListRelationFilterSchema; diff --git a/utility/prisma/types/inputTypeSchemas/RundownItemMaxOrderByAggregateInputSchema.ts b/utility/prisma/types/inputTypeSchemas/RundownItemMaxOrderByAggregateInputSchema.ts new file mode 100644 index 00000000..bfd2531a --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/RundownItemMaxOrderByAggregateInputSchema.ts @@ -0,0 +1,18 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { SortOrderSchema } from "./SortOrderSchema"; + +export const RundownItemMaxOrderByAggregateInputSchema: z.ZodType = + z + .object({ + id: z.lazy(() => SortOrderSchema).optional(), + name: z.lazy(() => SortOrderSchema).optional(), + rundownId: z.lazy(() => SortOrderSchema).optional(), + order: z.lazy(() => SortOrderSchema).optional(), + durationSeconds: z.lazy(() => SortOrderSchema).optional(), + type: z.lazy(() => SortOrderSchema).optional(), + notes: z.lazy(() => SortOrderSchema).optional(), + }) + .strict(); + +export default RundownItemMaxOrderByAggregateInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/RundownItemMinOrderByAggregateInputSchema.ts b/utility/prisma/types/inputTypeSchemas/RundownItemMinOrderByAggregateInputSchema.ts new file mode 100644 index 00000000..49dfc776 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/RundownItemMinOrderByAggregateInputSchema.ts @@ -0,0 +1,18 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { SortOrderSchema } from "./SortOrderSchema"; + +export const RundownItemMinOrderByAggregateInputSchema: z.ZodType = + z + .object({ + id: z.lazy(() => SortOrderSchema).optional(), + name: z.lazy(() => SortOrderSchema).optional(), + rundownId: z.lazy(() => SortOrderSchema).optional(), + order: z.lazy(() => SortOrderSchema).optional(), + durationSeconds: z.lazy(() => SortOrderSchema).optional(), + type: z.lazy(() => SortOrderSchema).optional(), + notes: z.lazy(() => SortOrderSchema).optional(), + }) + .strict(); + +export default RundownItemMinOrderByAggregateInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/RundownItemNullableRelationFilterSchema.ts b/utility/prisma/types/inputTypeSchemas/RundownItemNullableRelationFilterSchema.ts new file mode 100644 index 00000000..a5983056 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/RundownItemNullableRelationFilterSchema.ts @@ -0,0 +1,19 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { RundownItemWhereInputSchema } from "./RundownItemWhereInputSchema"; + +export const RundownItemNullableRelationFilterSchema: z.ZodType = + z + .object({ + is: z + .lazy(() => RundownItemWhereInputSchema) + .optional() + .nullable(), + isNot: z + .lazy(() => RundownItemWhereInputSchema) + .optional() + .nullable(), + }) + .strict(); + +export default RundownItemNullableRelationFilterSchema; diff --git a/utility/prisma/types/inputTypeSchemas/RundownItemOrderByRelationAggregateInputSchema.ts b/utility/prisma/types/inputTypeSchemas/RundownItemOrderByRelationAggregateInputSchema.ts new file mode 100644 index 00000000..b8504d73 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/RundownItemOrderByRelationAggregateInputSchema.ts @@ -0,0 +1,12 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { SortOrderSchema } from "./SortOrderSchema"; + +export const RundownItemOrderByRelationAggregateInputSchema: z.ZodType = + z + .object({ + _count: z.lazy(() => SortOrderSchema).optional(), + }) + .strict(); + +export default RundownItemOrderByRelationAggregateInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/RundownItemOrderByWithAggregationInputSchema.ts b/utility/prisma/types/inputTypeSchemas/RundownItemOrderByWithAggregationInputSchema.ts new file mode 100644 index 00000000..97527769 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/RundownItemOrderByWithAggregationInputSchema.ts @@ -0,0 +1,30 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { SortOrderSchema } from "./SortOrderSchema"; +import { RundownItemCountOrderByAggregateInputSchema } from "./RundownItemCountOrderByAggregateInputSchema"; +import { RundownItemAvgOrderByAggregateInputSchema } from "./RundownItemAvgOrderByAggregateInputSchema"; +import { RundownItemMaxOrderByAggregateInputSchema } from "./RundownItemMaxOrderByAggregateInputSchema"; +import { RundownItemMinOrderByAggregateInputSchema } from "./RundownItemMinOrderByAggregateInputSchema"; +import { RundownItemSumOrderByAggregateInputSchema } from "./RundownItemSumOrderByAggregateInputSchema"; + +export const RundownItemOrderByWithAggregationInputSchema: z.ZodType = + z + .object({ + id: z.lazy(() => SortOrderSchema).optional(), + name: z.lazy(() => SortOrderSchema).optional(), + rundownId: z.lazy(() => SortOrderSchema).optional(), + order: z.lazy(() => SortOrderSchema).optional(), + durationSeconds: z.lazy(() => SortOrderSchema).optional(), + type: z.lazy(() => SortOrderSchema).optional(), + notes: z.lazy(() => SortOrderSchema).optional(), + _count: z + .lazy(() => RundownItemCountOrderByAggregateInputSchema) + .optional(), + _avg: z.lazy(() => RundownItemAvgOrderByAggregateInputSchema).optional(), + _max: z.lazy(() => RundownItemMaxOrderByAggregateInputSchema).optional(), + _min: z.lazy(() => RundownItemMinOrderByAggregateInputSchema).optional(), + _sum: z.lazy(() => RundownItemSumOrderByAggregateInputSchema).optional(), + }) + .strict(); + +export default RundownItemOrderByWithAggregationInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/RundownItemOrderByWithRelationInputSchema.ts b/utility/prisma/types/inputTypeSchemas/RundownItemOrderByWithRelationInputSchema.ts new file mode 100644 index 00000000..cc66e333 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/RundownItemOrderByWithRelationInputSchema.ts @@ -0,0 +1,22 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { SortOrderSchema } from "./SortOrderSchema"; +import { MediaOrderByWithRelationInputSchema } from "./MediaOrderByWithRelationInputSchema"; +import { RundownOrderByWithRelationInputSchema } from "./RundownOrderByWithRelationInputSchema"; + +export const RundownItemOrderByWithRelationInputSchema: z.ZodType = + z + .object({ + id: z.lazy(() => SortOrderSchema).optional(), + name: z.lazy(() => SortOrderSchema).optional(), + rundownId: z.lazy(() => SortOrderSchema).optional(), + order: z.lazy(() => SortOrderSchema).optional(), + durationSeconds: z.lazy(() => SortOrderSchema).optional(), + type: z.lazy(() => SortOrderSchema).optional(), + notes: z.lazy(() => SortOrderSchema).optional(), + media: z.lazy(() => MediaOrderByWithRelationInputSchema).optional(), + rundown: z.lazy(() => RundownOrderByWithRelationInputSchema).optional(), + }) + .strict(); + +export default RundownItemOrderByWithRelationInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/RundownItemScalarWhereInputSchema.ts b/utility/prisma/types/inputTypeSchemas/RundownItemScalarWhereInputSchema.ts new file mode 100644 index 00000000..90cdab00 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/RundownItemScalarWhereInputSchema.ts @@ -0,0 +1,46 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { IntFilterSchema } from "./IntFilterSchema"; +import { StringFilterSchema } from "./StringFilterSchema"; +import { EnumRundownItemTypeFilterSchema } from "./EnumRundownItemTypeFilterSchema"; +import { RundownItemTypeSchema } from "./RundownItemTypeSchema"; + +export const RundownItemScalarWhereInputSchema: z.ZodType = + z + .object({ + AND: z + .union([ + z.lazy(() => RundownItemScalarWhereInputSchema), + z.lazy(() => RundownItemScalarWhereInputSchema).array(), + ]) + .optional(), + OR: z + .lazy(() => RundownItemScalarWhereInputSchema) + .array() + .optional(), + NOT: z + .union([ + z.lazy(() => RundownItemScalarWhereInputSchema), + z.lazy(() => RundownItemScalarWhereInputSchema).array(), + ]) + .optional(), + id: z.union([z.lazy(() => IntFilterSchema), z.number()]).optional(), + name: z.union([z.lazy(() => StringFilterSchema), z.string()]).optional(), + rundownId: z + .union([z.lazy(() => IntFilterSchema), z.number()]) + .optional(), + order: z.union([z.lazy(() => IntFilterSchema), z.number()]).optional(), + durationSeconds: z + .union([z.lazy(() => IntFilterSchema), z.number()]) + .optional(), + type: z + .union([ + z.lazy(() => EnumRundownItemTypeFilterSchema), + z.lazy(() => RundownItemTypeSchema), + ]) + .optional(), + notes: z.union([z.lazy(() => StringFilterSchema), z.string()]).optional(), + }) + .strict(); + +export default RundownItemScalarWhereInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/RundownItemScalarWhereWithAggregatesInputSchema.ts b/utility/prisma/types/inputTypeSchemas/RundownItemScalarWhereWithAggregatesInputSchema.ts new file mode 100644 index 00000000..87202ab2 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/RundownItemScalarWhereWithAggregatesInputSchema.ts @@ -0,0 +1,54 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { IntWithAggregatesFilterSchema } from "./IntWithAggregatesFilterSchema"; +import { StringWithAggregatesFilterSchema } from "./StringWithAggregatesFilterSchema"; +import { EnumRundownItemTypeWithAggregatesFilterSchema } from "./EnumRundownItemTypeWithAggregatesFilterSchema"; +import { RundownItemTypeSchema } from "./RundownItemTypeSchema"; + +export const RundownItemScalarWhereWithAggregatesInputSchema: z.ZodType = + z + .object({ + AND: z + .union([ + z.lazy(() => RundownItemScalarWhereWithAggregatesInputSchema), + z.lazy(() => RundownItemScalarWhereWithAggregatesInputSchema).array(), + ]) + .optional(), + OR: z + .lazy(() => RundownItemScalarWhereWithAggregatesInputSchema) + .array() + .optional(), + NOT: z + .union([ + z.lazy(() => RundownItemScalarWhereWithAggregatesInputSchema), + z.lazy(() => RundownItemScalarWhereWithAggregatesInputSchema).array(), + ]) + .optional(), + id: z + .union([z.lazy(() => IntWithAggregatesFilterSchema), z.number()]) + .optional(), + name: z + .union([z.lazy(() => StringWithAggregatesFilterSchema), z.string()]) + .optional(), + rundownId: z + .union([z.lazy(() => IntWithAggregatesFilterSchema), z.number()]) + .optional(), + order: z + .union([z.lazy(() => IntWithAggregatesFilterSchema), z.number()]) + .optional(), + durationSeconds: z + .union([z.lazy(() => IntWithAggregatesFilterSchema), z.number()]) + .optional(), + type: z + .union([ + z.lazy(() => EnumRundownItemTypeWithAggregatesFilterSchema), + z.lazy(() => RundownItemTypeSchema), + ]) + .optional(), + notes: z + .union([z.lazy(() => StringWithAggregatesFilterSchema), z.string()]) + .optional(), + }) + .strict(); + +export default RundownItemScalarWhereWithAggregatesInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/RundownItemSelectSchema.ts b/utility/prisma/types/inputTypeSchemas/RundownItemSelectSchema.ts new file mode 100644 index 00000000..5d265d62 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/RundownItemSelectSchema.ts @@ -0,0 +1,20 @@ +import { z } from "zod"; +import type { Prisma } from "../../client"; +import { MediaArgsSchema } from "../outputTypeSchemas/MediaArgsSchema"; +import { RundownArgsSchema } from "../outputTypeSchemas/RundownArgsSchema"; + +export const RundownItemSelectSchema: z.ZodType = z + .object({ + id: z.boolean().optional(), + name: z.boolean().optional(), + rundownId: z.boolean().optional(), + order: z.boolean().optional(), + durationSeconds: z.boolean().optional(), + type: z.boolean().optional(), + notes: z.boolean().optional(), + media: z.union([z.boolean(), z.lazy(() => MediaArgsSchema)]).optional(), + rundown: z.union([z.boolean(), z.lazy(() => RundownArgsSchema)]).optional(), + }) + .strict(); + +export default RundownItemSelectSchema; diff --git a/utility/prisma/types/inputTypeSchemas/RundownItemSumOrderByAggregateInputSchema.ts b/utility/prisma/types/inputTypeSchemas/RundownItemSumOrderByAggregateInputSchema.ts new file mode 100644 index 00000000..4c020b7d --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/RundownItemSumOrderByAggregateInputSchema.ts @@ -0,0 +1,15 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { SortOrderSchema } from "./SortOrderSchema"; + +export const RundownItemSumOrderByAggregateInputSchema: z.ZodType = + z + .object({ + id: z.lazy(() => SortOrderSchema).optional(), + rundownId: z.lazy(() => SortOrderSchema).optional(), + order: z.lazy(() => SortOrderSchema).optional(), + durationSeconds: z.lazy(() => SortOrderSchema).optional(), + }) + .strict(); + +export default RundownItemSumOrderByAggregateInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/RundownItemUncheckedCreateInputSchema.ts b/utility/prisma/types/inputTypeSchemas/RundownItemUncheckedCreateInputSchema.ts new file mode 100644 index 00000000..d379bedc --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/RundownItemUncheckedCreateInputSchema.ts @@ -0,0 +1,22 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { RundownItemTypeSchema } from "./RundownItemTypeSchema"; +import { MediaUncheckedCreateNestedOneWithoutRundownItemInputSchema } from "./MediaUncheckedCreateNestedOneWithoutRundownItemInputSchema"; + +export const RundownItemUncheckedCreateInputSchema: z.ZodType = + z + .object({ + id: z.number().int().optional(), + name: z.string(), + rundownId: z.number().int(), + order: z.number().int(), + durationSeconds: z.number().int(), + type: z.lazy(() => RundownItemTypeSchema), + notes: z.string().optional(), + media: z + .lazy(() => MediaUncheckedCreateNestedOneWithoutRundownItemInputSchema) + .optional(), + }) + .strict(); + +export default RundownItemUncheckedCreateInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/RundownItemUncheckedCreateNestedManyWithoutRundownInputSchema.ts b/utility/prisma/types/inputTypeSchemas/RundownItemUncheckedCreateNestedManyWithoutRundownInputSchema.ts new file mode 100644 index 00000000..37353a50 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/RundownItemUncheckedCreateNestedManyWithoutRundownInputSchema.ts @@ -0,0 +1,42 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { RundownItemCreateWithoutRundownInputSchema } from "./RundownItemCreateWithoutRundownInputSchema"; +import { RundownItemUncheckedCreateWithoutRundownInputSchema } from "./RundownItemUncheckedCreateWithoutRundownInputSchema"; +import { RundownItemCreateOrConnectWithoutRundownInputSchema } from "./RundownItemCreateOrConnectWithoutRundownInputSchema"; +import { RundownItemCreateManyRundownInputEnvelopeSchema } from "./RundownItemCreateManyRundownInputEnvelopeSchema"; +import { RundownItemWhereUniqueInputSchema } from "./RundownItemWhereUniqueInputSchema"; + +export const RundownItemUncheckedCreateNestedManyWithoutRundownInputSchema: z.ZodType = + z + .object({ + create: z + .union([ + z.lazy(() => RundownItemCreateWithoutRundownInputSchema), + z.lazy(() => RundownItemCreateWithoutRundownInputSchema).array(), + z.lazy(() => RundownItemUncheckedCreateWithoutRundownInputSchema), + z + .lazy(() => RundownItemUncheckedCreateWithoutRundownInputSchema) + .array(), + ]) + .optional(), + connectOrCreate: z + .union([ + z.lazy(() => RundownItemCreateOrConnectWithoutRundownInputSchema), + z + .lazy(() => RundownItemCreateOrConnectWithoutRundownInputSchema) + .array(), + ]) + .optional(), + createMany: z + .lazy(() => RundownItemCreateManyRundownInputEnvelopeSchema) + .optional(), + connect: z + .union([ + z.lazy(() => RundownItemWhereUniqueInputSchema), + z.lazy(() => RundownItemWhereUniqueInputSchema).array(), + ]) + .optional(), + }) + .strict(); + +export default RundownItemUncheckedCreateNestedManyWithoutRundownInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/RundownItemUncheckedCreateWithoutMediaInputSchema.ts b/utility/prisma/types/inputTypeSchemas/RundownItemUncheckedCreateWithoutMediaInputSchema.ts new file mode 100644 index 00000000..461bdccb --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/RundownItemUncheckedCreateWithoutMediaInputSchema.ts @@ -0,0 +1,18 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { RundownItemTypeSchema } from "./RundownItemTypeSchema"; + +export const RundownItemUncheckedCreateWithoutMediaInputSchema: z.ZodType = + z + .object({ + id: z.number().int().optional(), + name: z.string(), + rundownId: z.number().int(), + order: z.number().int(), + durationSeconds: z.number().int(), + type: z.lazy(() => RundownItemTypeSchema), + notes: z.string().optional(), + }) + .strict(); + +export default RundownItemUncheckedCreateWithoutMediaInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/RundownItemUncheckedCreateWithoutRundownInputSchema.ts b/utility/prisma/types/inputTypeSchemas/RundownItemUncheckedCreateWithoutRundownInputSchema.ts new file mode 100644 index 00000000..15059144 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/RundownItemUncheckedCreateWithoutRundownInputSchema.ts @@ -0,0 +1,21 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { RundownItemTypeSchema } from "./RundownItemTypeSchema"; +import { MediaUncheckedCreateNestedOneWithoutRundownItemInputSchema } from "./MediaUncheckedCreateNestedOneWithoutRundownItemInputSchema"; + +export const RundownItemUncheckedCreateWithoutRundownInputSchema: z.ZodType = + z + .object({ + id: z.number().int().optional(), + name: z.string(), + order: z.number().int(), + durationSeconds: z.number().int(), + type: z.lazy(() => RundownItemTypeSchema), + notes: z.string().optional(), + media: z + .lazy(() => MediaUncheckedCreateNestedOneWithoutRundownItemInputSchema) + .optional(), + }) + .strict(); + +export default RundownItemUncheckedCreateWithoutRundownInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/RundownItemUncheckedUpdateInputSchema.ts b/utility/prisma/types/inputTypeSchemas/RundownItemUncheckedUpdateInputSchema.ts new file mode 100644 index 00000000..ff565977 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/RundownItemUncheckedUpdateInputSchema.ts @@ -0,0 +1,60 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { IntFieldUpdateOperationsInputSchema } from "./IntFieldUpdateOperationsInputSchema"; +import { StringFieldUpdateOperationsInputSchema } from "./StringFieldUpdateOperationsInputSchema"; +import { RundownItemTypeSchema } from "./RundownItemTypeSchema"; +import { EnumRundownItemTypeFieldUpdateOperationsInputSchema } from "./EnumRundownItemTypeFieldUpdateOperationsInputSchema"; +import { MediaUncheckedUpdateOneWithoutRundownItemNestedInputSchema } from "./MediaUncheckedUpdateOneWithoutRundownItemNestedInputSchema"; + +export const RundownItemUncheckedUpdateInputSchema: z.ZodType = + z + .object({ + id: z + .union([ + z.number().int(), + z.lazy(() => IntFieldUpdateOperationsInputSchema), + ]) + .optional(), + name: z + .union([ + z.string(), + z.lazy(() => StringFieldUpdateOperationsInputSchema), + ]) + .optional(), + rundownId: z + .union([ + z.number().int(), + z.lazy(() => IntFieldUpdateOperationsInputSchema), + ]) + .optional(), + order: z + .union([ + z.number().int(), + z.lazy(() => IntFieldUpdateOperationsInputSchema), + ]) + .optional(), + durationSeconds: z + .union([ + z.number().int(), + z.lazy(() => IntFieldUpdateOperationsInputSchema), + ]) + .optional(), + type: z + .union([ + z.lazy(() => RundownItemTypeSchema), + z.lazy(() => EnumRundownItemTypeFieldUpdateOperationsInputSchema), + ]) + .optional(), + notes: z + .union([ + z.string(), + z.lazy(() => StringFieldUpdateOperationsInputSchema), + ]) + .optional(), + media: z + .lazy(() => MediaUncheckedUpdateOneWithoutRundownItemNestedInputSchema) + .optional(), + }) + .strict(); + +export default RundownItemUncheckedUpdateInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/RundownItemUncheckedUpdateManyInputSchema.ts b/utility/prisma/types/inputTypeSchemas/RundownItemUncheckedUpdateManyInputSchema.ts new file mode 100644 index 00000000..4b0559c8 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/RundownItemUncheckedUpdateManyInputSchema.ts @@ -0,0 +1,56 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { IntFieldUpdateOperationsInputSchema } from "./IntFieldUpdateOperationsInputSchema"; +import { StringFieldUpdateOperationsInputSchema } from "./StringFieldUpdateOperationsInputSchema"; +import { RundownItemTypeSchema } from "./RundownItemTypeSchema"; +import { EnumRundownItemTypeFieldUpdateOperationsInputSchema } from "./EnumRundownItemTypeFieldUpdateOperationsInputSchema"; + +export const RundownItemUncheckedUpdateManyInputSchema: z.ZodType = + z + .object({ + id: z + .union([ + z.number().int(), + z.lazy(() => IntFieldUpdateOperationsInputSchema), + ]) + .optional(), + name: z + .union([ + z.string(), + z.lazy(() => StringFieldUpdateOperationsInputSchema), + ]) + .optional(), + rundownId: z + .union([ + z.number().int(), + z.lazy(() => IntFieldUpdateOperationsInputSchema), + ]) + .optional(), + order: z + .union([ + z.number().int(), + z.lazy(() => IntFieldUpdateOperationsInputSchema), + ]) + .optional(), + durationSeconds: z + .union([ + z.number().int(), + z.lazy(() => IntFieldUpdateOperationsInputSchema), + ]) + .optional(), + type: z + .union([ + z.lazy(() => RundownItemTypeSchema), + z.lazy(() => EnumRundownItemTypeFieldUpdateOperationsInputSchema), + ]) + .optional(), + notes: z + .union([ + z.string(), + z.lazy(() => StringFieldUpdateOperationsInputSchema), + ]) + .optional(), + }) + .strict(); + +export default RundownItemUncheckedUpdateManyInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/RundownItemUncheckedUpdateManyWithoutRundownInputSchema.ts b/utility/prisma/types/inputTypeSchemas/RundownItemUncheckedUpdateManyWithoutRundownInputSchema.ts new file mode 100644 index 00000000..d7eeb6fd --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/RundownItemUncheckedUpdateManyWithoutRundownInputSchema.ts @@ -0,0 +1,50 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { IntFieldUpdateOperationsInputSchema } from "./IntFieldUpdateOperationsInputSchema"; +import { StringFieldUpdateOperationsInputSchema } from "./StringFieldUpdateOperationsInputSchema"; +import { RundownItemTypeSchema } from "./RundownItemTypeSchema"; +import { EnumRundownItemTypeFieldUpdateOperationsInputSchema } from "./EnumRundownItemTypeFieldUpdateOperationsInputSchema"; + +export const RundownItemUncheckedUpdateManyWithoutRundownInputSchema: z.ZodType = + z + .object({ + id: z + .union([ + z.number().int(), + z.lazy(() => IntFieldUpdateOperationsInputSchema), + ]) + .optional(), + name: z + .union([ + z.string(), + z.lazy(() => StringFieldUpdateOperationsInputSchema), + ]) + .optional(), + order: z + .union([ + z.number().int(), + z.lazy(() => IntFieldUpdateOperationsInputSchema), + ]) + .optional(), + durationSeconds: z + .union([ + z.number().int(), + z.lazy(() => IntFieldUpdateOperationsInputSchema), + ]) + .optional(), + type: z + .union([ + z.lazy(() => RundownItemTypeSchema), + z.lazy(() => EnumRundownItemTypeFieldUpdateOperationsInputSchema), + ]) + .optional(), + notes: z + .union([ + z.string(), + z.lazy(() => StringFieldUpdateOperationsInputSchema), + ]) + .optional(), + }) + .strict(); + +export default RundownItemUncheckedUpdateManyWithoutRundownInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/RundownItemUncheckedUpdateManyWithoutRundownNestedInputSchema.ts b/utility/prisma/types/inputTypeSchemas/RundownItemUncheckedUpdateManyWithoutRundownNestedInputSchema.ts new file mode 100644 index 00000000..04d377a9 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/RundownItemUncheckedUpdateManyWithoutRundownNestedInputSchema.ts @@ -0,0 +1,102 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { RundownItemCreateWithoutRundownInputSchema } from "./RundownItemCreateWithoutRundownInputSchema"; +import { RundownItemUncheckedCreateWithoutRundownInputSchema } from "./RundownItemUncheckedCreateWithoutRundownInputSchema"; +import { RundownItemCreateOrConnectWithoutRundownInputSchema } from "./RundownItemCreateOrConnectWithoutRundownInputSchema"; +import { RundownItemUpsertWithWhereUniqueWithoutRundownInputSchema } from "./RundownItemUpsertWithWhereUniqueWithoutRundownInputSchema"; +import { RundownItemCreateManyRundownInputEnvelopeSchema } from "./RundownItemCreateManyRundownInputEnvelopeSchema"; +import { RundownItemWhereUniqueInputSchema } from "./RundownItemWhereUniqueInputSchema"; +import { RundownItemUpdateWithWhereUniqueWithoutRundownInputSchema } from "./RundownItemUpdateWithWhereUniqueWithoutRundownInputSchema"; +import { RundownItemUpdateManyWithWhereWithoutRundownInputSchema } from "./RundownItemUpdateManyWithWhereWithoutRundownInputSchema"; +import { RundownItemScalarWhereInputSchema } from "./RundownItemScalarWhereInputSchema"; + +export const RundownItemUncheckedUpdateManyWithoutRundownNestedInputSchema: z.ZodType = + z + .object({ + create: z + .union([ + z.lazy(() => RundownItemCreateWithoutRundownInputSchema), + z.lazy(() => RundownItemCreateWithoutRundownInputSchema).array(), + z.lazy(() => RundownItemUncheckedCreateWithoutRundownInputSchema), + z + .lazy(() => RundownItemUncheckedCreateWithoutRundownInputSchema) + .array(), + ]) + .optional(), + connectOrCreate: z + .union([ + z.lazy(() => RundownItemCreateOrConnectWithoutRundownInputSchema), + z + .lazy(() => RundownItemCreateOrConnectWithoutRundownInputSchema) + .array(), + ]) + .optional(), + upsert: z + .union([ + z.lazy( + () => RundownItemUpsertWithWhereUniqueWithoutRundownInputSchema, + ), + z + .lazy( + () => RundownItemUpsertWithWhereUniqueWithoutRundownInputSchema, + ) + .array(), + ]) + .optional(), + createMany: z + .lazy(() => RundownItemCreateManyRundownInputEnvelopeSchema) + .optional(), + set: z + .union([ + z.lazy(() => RundownItemWhereUniqueInputSchema), + z.lazy(() => RundownItemWhereUniqueInputSchema).array(), + ]) + .optional(), + disconnect: z + .union([ + z.lazy(() => RundownItemWhereUniqueInputSchema), + z.lazy(() => RundownItemWhereUniqueInputSchema).array(), + ]) + .optional(), + delete: z + .union([ + z.lazy(() => RundownItemWhereUniqueInputSchema), + z.lazy(() => RundownItemWhereUniqueInputSchema).array(), + ]) + .optional(), + connect: z + .union([ + z.lazy(() => RundownItemWhereUniqueInputSchema), + z.lazy(() => RundownItemWhereUniqueInputSchema).array(), + ]) + .optional(), + update: z + .union([ + z.lazy( + () => RundownItemUpdateWithWhereUniqueWithoutRundownInputSchema, + ), + z + .lazy( + () => RundownItemUpdateWithWhereUniqueWithoutRundownInputSchema, + ) + .array(), + ]) + .optional(), + updateMany: z + .union([ + z.lazy(() => RundownItemUpdateManyWithWhereWithoutRundownInputSchema), + z + .lazy(() => RundownItemUpdateManyWithWhereWithoutRundownInputSchema) + .array(), + ]) + .optional(), + deleteMany: z + .union([ + z.lazy(() => RundownItemScalarWhereInputSchema), + z.lazy(() => RundownItemScalarWhereInputSchema).array(), + ]) + .optional(), + }) + .strict(); + +export default RundownItemUncheckedUpdateManyWithoutRundownNestedInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/RundownItemUncheckedUpdateWithoutMediaInputSchema.ts b/utility/prisma/types/inputTypeSchemas/RundownItemUncheckedUpdateWithoutMediaInputSchema.ts new file mode 100644 index 00000000..9d89aa75 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/RundownItemUncheckedUpdateWithoutMediaInputSchema.ts @@ -0,0 +1,56 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { IntFieldUpdateOperationsInputSchema } from "./IntFieldUpdateOperationsInputSchema"; +import { StringFieldUpdateOperationsInputSchema } from "./StringFieldUpdateOperationsInputSchema"; +import { RundownItemTypeSchema } from "./RundownItemTypeSchema"; +import { EnumRundownItemTypeFieldUpdateOperationsInputSchema } from "./EnumRundownItemTypeFieldUpdateOperationsInputSchema"; + +export const RundownItemUncheckedUpdateWithoutMediaInputSchema: z.ZodType = + z + .object({ + id: z + .union([ + z.number().int(), + z.lazy(() => IntFieldUpdateOperationsInputSchema), + ]) + .optional(), + name: z + .union([ + z.string(), + z.lazy(() => StringFieldUpdateOperationsInputSchema), + ]) + .optional(), + rundownId: z + .union([ + z.number().int(), + z.lazy(() => IntFieldUpdateOperationsInputSchema), + ]) + .optional(), + order: z + .union([ + z.number().int(), + z.lazy(() => IntFieldUpdateOperationsInputSchema), + ]) + .optional(), + durationSeconds: z + .union([ + z.number().int(), + z.lazy(() => IntFieldUpdateOperationsInputSchema), + ]) + .optional(), + type: z + .union([ + z.lazy(() => RundownItemTypeSchema), + z.lazy(() => EnumRundownItemTypeFieldUpdateOperationsInputSchema), + ]) + .optional(), + notes: z + .union([ + z.string(), + z.lazy(() => StringFieldUpdateOperationsInputSchema), + ]) + .optional(), + }) + .strict(); + +export default RundownItemUncheckedUpdateWithoutMediaInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/RundownItemUncheckedUpdateWithoutRundownInputSchema.ts b/utility/prisma/types/inputTypeSchemas/RundownItemUncheckedUpdateWithoutRundownInputSchema.ts new file mode 100644 index 00000000..c11669e2 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/RundownItemUncheckedUpdateWithoutRundownInputSchema.ts @@ -0,0 +1,54 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { IntFieldUpdateOperationsInputSchema } from "./IntFieldUpdateOperationsInputSchema"; +import { StringFieldUpdateOperationsInputSchema } from "./StringFieldUpdateOperationsInputSchema"; +import { RundownItemTypeSchema } from "./RundownItemTypeSchema"; +import { EnumRundownItemTypeFieldUpdateOperationsInputSchema } from "./EnumRundownItemTypeFieldUpdateOperationsInputSchema"; +import { MediaUncheckedUpdateOneWithoutRundownItemNestedInputSchema } from "./MediaUncheckedUpdateOneWithoutRundownItemNestedInputSchema"; + +export const RundownItemUncheckedUpdateWithoutRundownInputSchema: z.ZodType = + z + .object({ + id: z + .union([ + z.number().int(), + z.lazy(() => IntFieldUpdateOperationsInputSchema), + ]) + .optional(), + name: z + .union([ + z.string(), + z.lazy(() => StringFieldUpdateOperationsInputSchema), + ]) + .optional(), + order: z + .union([ + z.number().int(), + z.lazy(() => IntFieldUpdateOperationsInputSchema), + ]) + .optional(), + durationSeconds: z + .union([ + z.number().int(), + z.lazy(() => IntFieldUpdateOperationsInputSchema), + ]) + .optional(), + type: z + .union([ + z.lazy(() => RundownItemTypeSchema), + z.lazy(() => EnumRundownItemTypeFieldUpdateOperationsInputSchema), + ]) + .optional(), + notes: z + .union([ + z.string(), + z.lazy(() => StringFieldUpdateOperationsInputSchema), + ]) + .optional(), + media: z + .lazy(() => MediaUncheckedUpdateOneWithoutRundownItemNestedInputSchema) + .optional(), + }) + .strict(); + +export default RundownItemUncheckedUpdateWithoutRundownInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/RundownItemUpdateInputSchema.ts b/utility/prisma/types/inputTypeSchemas/RundownItemUpdateInputSchema.ts new file mode 100644 index 00000000..7e789693 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/RundownItemUpdateInputSchema.ts @@ -0,0 +1,52 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { StringFieldUpdateOperationsInputSchema } from "./StringFieldUpdateOperationsInputSchema"; +import { IntFieldUpdateOperationsInputSchema } from "./IntFieldUpdateOperationsInputSchema"; +import { RundownItemTypeSchema } from "./RundownItemTypeSchema"; +import { EnumRundownItemTypeFieldUpdateOperationsInputSchema } from "./EnumRundownItemTypeFieldUpdateOperationsInputSchema"; +import { MediaUpdateOneWithoutRundownItemNestedInputSchema } from "./MediaUpdateOneWithoutRundownItemNestedInputSchema"; +import { RundownUpdateOneRequiredWithoutItemsNestedInputSchema } from "./RundownUpdateOneRequiredWithoutItemsNestedInputSchema"; + +export const RundownItemUpdateInputSchema: z.ZodType = + z + .object({ + name: z + .union([ + z.string(), + z.lazy(() => StringFieldUpdateOperationsInputSchema), + ]) + .optional(), + order: z + .union([ + z.number().int(), + z.lazy(() => IntFieldUpdateOperationsInputSchema), + ]) + .optional(), + durationSeconds: z + .union([ + z.number().int(), + z.lazy(() => IntFieldUpdateOperationsInputSchema), + ]) + .optional(), + type: z + .union([ + z.lazy(() => RundownItemTypeSchema), + z.lazy(() => EnumRundownItemTypeFieldUpdateOperationsInputSchema), + ]) + .optional(), + notes: z + .union([ + z.string(), + z.lazy(() => StringFieldUpdateOperationsInputSchema), + ]) + .optional(), + media: z + .lazy(() => MediaUpdateOneWithoutRundownItemNestedInputSchema) + .optional(), + rundown: z + .lazy(() => RundownUpdateOneRequiredWithoutItemsNestedInputSchema) + .optional(), + }) + .strict(); + +export default RundownItemUpdateInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/RundownItemUpdateManyMutationInputSchema.ts b/utility/prisma/types/inputTypeSchemas/RundownItemUpdateManyMutationInputSchema.ts new file mode 100644 index 00000000..2d19fc93 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/RundownItemUpdateManyMutationInputSchema.ts @@ -0,0 +1,44 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { StringFieldUpdateOperationsInputSchema } from "./StringFieldUpdateOperationsInputSchema"; +import { IntFieldUpdateOperationsInputSchema } from "./IntFieldUpdateOperationsInputSchema"; +import { RundownItemTypeSchema } from "./RundownItemTypeSchema"; +import { EnumRundownItemTypeFieldUpdateOperationsInputSchema } from "./EnumRundownItemTypeFieldUpdateOperationsInputSchema"; + +export const RundownItemUpdateManyMutationInputSchema: z.ZodType = + z + .object({ + name: z + .union([ + z.string(), + z.lazy(() => StringFieldUpdateOperationsInputSchema), + ]) + .optional(), + order: z + .union([ + z.number().int(), + z.lazy(() => IntFieldUpdateOperationsInputSchema), + ]) + .optional(), + durationSeconds: z + .union([ + z.number().int(), + z.lazy(() => IntFieldUpdateOperationsInputSchema), + ]) + .optional(), + type: z + .union([ + z.lazy(() => RundownItemTypeSchema), + z.lazy(() => EnumRundownItemTypeFieldUpdateOperationsInputSchema), + ]) + .optional(), + notes: z + .union([ + z.string(), + z.lazy(() => StringFieldUpdateOperationsInputSchema), + ]) + .optional(), + }) + .strict(); + +export default RundownItemUpdateManyMutationInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/RundownItemUpdateManyWithWhereWithoutRundownInputSchema.ts b/utility/prisma/types/inputTypeSchemas/RundownItemUpdateManyWithWhereWithoutRundownInputSchema.ts new file mode 100644 index 00000000..13ad81f4 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/RundownItemUpdateManyWithWhereWithoutRundownInputSchema.ts @@ -0,0 +1,18 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { RundownItemScalarWhereInputSchema } from "./RundownItemScalarWhereInputSchema"; +import { RundownItemUpdateManyMutationInputSchema } from "./RundownItemUpdateManyMutationInputSchema"; +import { RundownItemUncheckedUpdateManyWithoutRundownInputSchema } from "./RundownItemUncheckedUpdateManyWithoutRundownInputSchema"; + +export const RundownItemUpdateManyWithWhereWithoutRundownInputSchema: z.ZodType = + z + .object({ + where: z.lazy(() => RundownItemScalarWhereInputSchema), + data: z.union([ + z.lazy(() => RundownItemUpdateManyMutationInputSchema), + z.lazy(() => RundownItemUncheckedUpdateManyWithoutRundownInputSchema), + ]), + }) + .strict(); + +export default RundownItemUpdateManyWithWhereWithoutRundownInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/RundownItemUpdateManyWithoutRundownNestedInputSchema.ts b/utility/prisma/types/inputTypeSchemas/RundownItemUpdateManyWithoutRundownNestedInputSchema.ts new file mode 100644 index 00000000..cc76746b --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/RundownItemUpdateManyWithoutRundownNestedInputSchema.ts @@ -0,0 +1,102 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { RundownItemCreateWithoutRundownInputSchema } from "./RundownItemCreateWithoutRundownInputSchema"; +import { RundownItemUncheckedCreateWithoutRundownInputSchema } from "./RundownItemUncheckedCreateWithoutRundownInputSchema"; +import { RundownItemCreateOrConnectWithoutRundownInputSchema } from "./RundownItemCreateOrConnectWithoutRundownInputSchema"; +import { RundownItemUpsertWithWhereUniqueWithoutRundownInputSchema } from "./RundownItemUpsertWithWhereUniqueWithoutRundownInputSchema"; +import { RundownItemCreateManyRundownInputEnvelopeSchema } from "./RundownItemCreateManyRundownInputEnvelopeSchema"; +import { RundownItemWhereUniqueInputSchema } from "./RundownItemWhereUniqueInputSchema"; +import { RundownItemUpdateWithWhereUniqueWithoutRundownInputSchema } from "./RundownItemUpdateWithWhereUniqueWithoutRundownInputSchema"; +import { RundownItemUpdateManyWithWhereWithoutRundownInputSchema } from "./RundownItemUpdateManyWithWhereWithoutRundownInputSchema"; +import { RundownItemScalarWhereInputSchema } from "./RundownItemScalarWhereInputSchema"; + +export const RundownItemUpdateManyWithoutRundownNestedInputSchema: z.ZodType = + z + .object({ + create: z + .union([ + z.lazy(() => RundownItemCreateWithoutRundownInputSchema), + z.lazy(() => RundownItemCreateWithoutRundownInputSchema).array(), + z.lazy(() => RundownItemUncheckedCreateWithoutRundownInputSchema), + z + .lazy(() => RundownItemUncheckedCreateWithoutRundownInputSchema) + .array(), + ]) + .optional(), + connectOrCreate: z + .union([ + z.lazy(() => RundownItemCreateOrConnectWithoutRundownInputSchema), + z + .lazy(() => RundownItemCreateOrConnectWithoutRundownInputSchema) + .array(), + ]) + .optional(), + upsert: z + .union([ + z.lazy( + () => RundownItemUpsertWithWhereUniqueWithoutRundownInputSchema, + ), + z + .lazy( + () => RundownItemUpsertWithWhereUniqueWithoutRundownInputSchema, + ) + .array(), + ]) + .optional(), + createMany: z + .lazy(() => RundownItemCreateManyRundownInputEnvelopeSchema) + .optional(), + set: z + .union([ + z.lazy(() => RundownItemWhereUniqueInputSchema), + z.lazy(() => RundownItemWhereUniqueInputSchema).array(), + ]) + .optional(), + disconnect: z + .union([ + z.lazy(() => RundownItemWhereUniqueInputSchema), + z.lazy(() => RundownItemWhereUniqueInputSchema).array(), + ]) + .optional(), + delete: z + .union([ + z.lazy(() => RundownItemWhereUniqueInputSchema), + z.lazy(() => RundownItemWhereUniqueInputSchema).array(), + ]) + .optional(), + connect: z + .union([ + z.lazy(() => RundownItemWhereUniqueInputSchema), + z.lazy(() => RundownItemWhereUniqueInputSchema).array(), + ]) + .optional(), + update: z + .union([ + z.lazy( + () => RundownItemUpdateWithWhereUniqueWithoutRundownInputSchema, + ), + z + .lazy( + () => RundownItemUpdateWithWhereUniqueWithoutRundownInputSchema, + ) + .array(), + ]) + .optional(), + updateMany: z + .union([ + z.lazy(() => RundownItemUpdateManyWithWhereWithoutRundownInputSchema), + z + .lazy(() => RundownItemUpdateManyWithWhereWithoutRundownInputSchema) + .array(), + ]) + .optional(), + deleteMany: z + .union([ + z.lazy(() => RundownItemScalarWhereInputSchema), + z.lazy(() => RundownItemScalarWhereInputSchema).array(), + ]) + .optional(), + }) + .strict(); + +export default RundownItemUpdateManyWithoutRundownNestedInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/RundownItemUpdateOneWithoutMediaNestedInputSchema.ts b/utility/prisma/types/inputTypeSchemas/RundownItemUpdateOneWithoutMediaNestedInputSchema.ts new file mode 100644 index 00000000..057c7a5d --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/RundownItemUpdateOneWithoutMediaNestedInputSchema.ts @@ -0,0 +1,43 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { RundownItemCreateWithoutMediaInputSchema } from "./RundownItemCreateWithoutMediaInputSchema"; +import { RundownItemUncheckedCreateWithoutMediaInputSchema } from "./RundownItemUncheckedCreateWithoutMediaInputSchema"; +import { RundownItemCreateOrConnectWithoutMediaInputSchema } from "./RundownItemCreateOrConnectWithoutMediaInputSchema"; +import { RundownItemUpsertWithoutMediaInputSchema } from "./RundownItemUpsertWithoutMediaInputSchema"; +import { RundownItemWhereInputSchema } from "./RundownItemWhereInputSchema"; +import { RundownItemWhereUniqueInputSchema } from "./RundownItemWhereUniqueInputSchema"; +import { RundownItemUpdateToOneWithWhereWithoutMediaInputSchema } from "./RundownItemUpdateToOneWithWhereWithoutMediaInputSchema"; +import { RundownItemUpdateWithoutMediaInputSchema } from "./RundownItemUpdateWithoutMediaInputSchema"; +import { RundownItemUncheckedUpdateWithoutMediaInputSchema } from "./RundownItemUncheckedUpdateWithoutMediaInputSchema"; + +export const RundownItemUpdateOneWithoutMediaNestedInputSchema: z.ZodType = + z + .object({ + create: z + .union([ + z.lazy(() => RundownItemCreateWithoutMediaInputSchema), + z.lazy(() => RundownItemUncheckedCreateWithoutMediaInputSchema), + ]) + .optional(), + connectOrCreate: z + .lazy(() => RundownItemCreateOrConnectWithoutMediaInputSchema) + .optional(), + upsert: z.lazy(() => RundownItemUpsertWithoutMediaInputSchema).optional(), + disconnect: z + .union([z.boolean(), z.lazy(() => RundownItemWhereInputSchema)]) + .optional(), + delete: z + .union([z.boolean(), z.lazy(() => RundownItemWhereInputSchema)]) + .optional(), + connect: z.lazy(() => RundownItemWhereUniqueInputSchema).optional(), + update: z + .union([ + z.lazy(() => RundownItemUpdateToOneWithWhereWithoutMediaInputSchema), + z.lazy(() => RundownItemUpdateWithoutMediaInputSchema), + z.lazy(() => RundownItemUncheckedUpdateWithoutMediaInputSchema), + ]) + .optional(), + }) + .strict(); + +export default RundownItemUpdateOneWithoutMediaNestedInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/RundownItemUpdateToOneWithWhereWithoutMediaInputSchema.ts b/utility/prisma/types/inputTypeSchemas/RundownItemUpdateToOneWithWhereWithoutMediaInputSchema.ts new file mode 100644 index 00000000..2f3cd623 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/RundownItemUpdateToOneWithWhereWithoutMediaInputSchema.ts @@ -0,0 +1,18 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { RundownItemWhereInputSchema } from "./RundownItemWhereInputSchema"; +import { RundownItemUpdateWithoutMediaInputSchema } from "./RundownItemUpdateWithoutMediaInputSchema"; +import { RundownItemUncheckedUpdateWithoutMediaInputSchema } from "./RundownItemUncheckedUpdateWithoutMediaInputSchema"; + +export const RundownItemUpdateToOneWithWhereWithoutMediaInputSchema: z.ZodType = + z + .object({ + where: z.lazy(() => RundownItemWhereInputSchema).optional(), + data: z.union([ + z.lazy(() => RundownItemUpdateWithoutMediaInputSchema), + z.lazy(() => RundownItemUncheckedUpdateWithoutMediaInputSchema), + ]), + }) + .strict(); + +export default RundownItemUpdateToOneWithWhereWithoutMediaInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/RundownItemUpdateWithWhereUniqueWithoutRundownInputSchema.ts b/utility/prisma/types/inputTypeSchemas/RundownItemUpdateWithWhereUniqueWithoutRundownInputSchema.ts new file mode 100644 index 00000000..824572b5 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/RundownItemUpdateWithWhereUniqueWithoutRundownInputSchema.ts @@ -0,0 +1,18 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { RundownItemWhereUniqueInputSchema } from "./RundownItemWhereUniqueInputSchema"; +import { RundownItemUpdateWithoutRundownInputSchema } from "./RundownItemUpdateWithoutRundownInputSchema"; +import { RundownItemUncheckedUpdateWithoutRundownInputSchema } from "./RundownItemUncheckedUpdateWithoutRundownInputSchema"; + +export const RundownItemUpdateWithWhereUniqueWithoutRundownInputSchema: z.ZodType = + z + .object({ + where: z.lazy(() => RundownItemWhereUniqueInputSchema), + data: z.union([ + z.lazy(() => RundownItemUpdateWithoutRundownInputSchema), + z.lazy(() => RundownItemUncheckedUpdateWithoutRundownInputSchema), + ]), + }) + .strict(); + +export default RundownItemUpdateWithWhereUniqueWithoutRundownInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/RundownItemUpdateWithoutMediaInputSchema.ts b/utility/prisma/types/inputTypeSchemas/RundownItemUpdateWithoutMediaInputSchema.ts new file mode 100644 index 00000000..4d1543b5 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/RundownItemUpdateWithoutMediaInputSchema.ts @@ -0,0 +1,48 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { StringFieldUpdateOperationsInputSchema } from "./StringFieldUpdateOperationsInputSchema"; +import { IntFieldUpdateOperationsInputSchema } from "./IntFieldUpdateOperationsInputSchema"; +import { RundownItemTypeSchema } from "./RundownItemTypeSchema"; +import { EnumRundownItemTypeFieldUpdateOperationsInputSchema } from "./EnumRundownItemTypeFieldUpdateOperationsInputSchema"; +import { RundownUpdateOneRequiredWithoutItemsNestedInputSchema } from "./RundownUpdateOneRequiredWithoutItemsNestedInputSchema"; + +export const RundownItemUpdateWithoutMediaInputSchema: z.ZodType = + z + .object({ + name: z + .union([ + z.string(), + z.lazy(() => StringFieldUpdateOperationsInputSchema), + ]) + .optional(), + order: z + .union([ + z.number().int(), + z.lazy(() => IntFieldUpdateOperationsInputSchema), + ]) + .optional(), + durationSeconds: z + .union([ + z.number().int(), + z.lazy(() => IntFieldUpdateOperationsInputSchema), + ]) + .optional(), + type: z + .union([ + z.lazy(() => RundownItemTypeSchema), + z.lazy(() => EnumRundownItemTypeFieldUpdateOperationsInputSchema), + ]) + .optional(), + notes: z + .union([ + z.string(), + z.lazy(() => StringFieldUpdateOperationsInputSchema), + ]) + .optional(), + rundown: z + .lazy(() => RundownUpdateOneRequiredWithoutItemsNestedInputSchema) + .optional(), + }) + .strict(); + +export default RundownItemUpdateWithoutMediaInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/RundownItemUpdateWithoutRundownInputSchema.ts b/utility/prisma/types/inputTypeSchemas/RundownItemUpdateWithoutRundownInputSchema.ts new file mode 100644 index 00000000..421a5568 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/RundownItemUpdateWithoutRundownInputSchema.ts @@ -0,0 +1,48 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { StringFieldUpdateOperationsInputSchema } from "./StringFieldUpdateOperationsInputSchema"; +import { IntFieldUpdateOperationsInputSchema } from "./IntFieldUpdateOperationsInputSchema"; +import { RundownItemTypeSchema } from "./RundownItemTypeSchema"; +import { EnumRundownItemTypeFieldUpdateOperationsInputSchema } from "./EnumRundownItemTypeFieldUpdateOperationsInputSchema"; +import { MediaUpdateOneWithoutRundownItemNestedInputSchema } from "./MediaUpdateOneWithoutRundownItemNestedInputSchema"; + +export const RundownItemUpdateWithoutRundownInputSchema: z.ZodType = + z + .object({ + name: z + .union([ + z.string(), + z.lazy(() => StringFieldUpdateOperationsInputSchema), + ]) + .optional(), + order: z + .union([ + z.number().int(), + z.lazy(() => IntFieldUpdateOperationsInputSchema), + ]) + .optional(), + durationSeconds: z + .union([ + z.number().int(), + z.lazy(() => IntFieldUpdateOperationsInputSchema), + ]) + .optional(), + type: z + .union([ + z.lazy(() => RundownItemTypeSchema), + z.lazy(() => EnumRundownItemTypeFieldUpdateOperationsInputSchema), + ]) + .optional(), + notes: z + .union([ + z.string(), + z.lazy(() => StringFieldUpdateOperationsInputSchema), + ]) + .optional(), + media: z + .lazy(() => MediaUpdateOneWithoutRundownItemNestedInputSchema) + .optional(), + }) + .strict(); + +export default RundownItemUpdateWithoutRundownInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/RundownItemUpsertWithWhereUniqueWithoutRundownInputSchema.ts b/utility/prisma/types/inputTypeSchemas/RundownItemUpsertWithWhereUniqueWithoutRundownInputSchema.ts new file mode 100644 index 00000000..8dcf8ca0 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/RundownItemUpsertWithWhereUniqueWithoutRundownInputSchema.ts @@ -0,0 +1,24 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { RundownItemWhereUniqueInputSchema } from "./RundownItemWhereUniqueInputSchema"; +import { RundownItemUpdateWithoutRundownInputSchema } from "./RundownItemUpdateWithoutRundownInputSchema"; +import { RundownItemUncheckedUpdateWithoutRundownInputSchema } from "./RundownItemUncheckedUpdateWithoutRundownInputSchema"; +import { RundownItemCreateWithoutRundownInputSchema } from "./RundownItemCreateWithoutRundownInputSchema"; +import { RundownItemUncheckedCreateWithoutRundownInputSchema } from "./RundownItemUncheckedCreateWithoutRundownInputSchema"; + +export const RundownItemUpsertWithWhereUniqueWithoutRundownInputSchema: z.ZodType = + z + .object({ + where: z.lazy(() => RundownItemWhereUniqueInputSchema), + update: z.union([ + z.lazy(() => RundownItemUpdateWithoutRundownInputSchema), + z.lazy(() => RundownItemUncheckedUpdateWithoutRundownInputSchema), + ]), + create: z.union([ + z.lazy(() => RundownItemCreateWithoutRundownInputSchema), + z.lazy(() => RundownItemUncheckedCreateWithoutRundownInputSchema), + ]), + }) + .strict(); + +export default RundownItemUpsertWithWhereUniqueWithoutRundownInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/RundownItemUpsertWithoutMediaInputSchema.ts b/utility/prisma/types/inputTypeSchemas/RundownItemUpsertWithoutMediaInputSchema.ts new file mode 100644 index 00000000..a3d7708d --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/RundownItemUpsertWithoutMediaInputSchema.ts @@ -0,0 +1,24 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { RundownItemUpdateWithoutMediaInputSchema } from "./RundownItemUpdateWithoutMediaInputSchema"; +import { RundownItemUncheckedUpdateWithoutMediaInputSchema } from "./RundownItemUncheckedUpdateWithoutMediaInputSchema"; +import { RundownItemCreateWithoutMediaInputSchema } from "./RundownItemCreateWithoutMediaInputSchema"; +import { RundownItemUncheckedCreateWithoutMediaInputSchema } from "./RundownItemUncheckedCreateWithoutMediaInputSchema"; +import { RundownItemWhereInputSchema } from "./RundownItemWhereInputSchema"; + +export const RundownItemUpsertWithoutMediaInputSchema: z.ZodType = + z + .object({ + update: z.union([ + z.lazy(() => RundownItemUpdateWithoutMediaInputSchema), + z.lazy(() => RundownItemUncheckedUpdateWithoutMediaInputSchema), + ]), + create: z.union([ + z.lazy(() => RundownItemCreateWithoutMediaInputSchema), + z.lazy(() => RundownItemUncheckedCreateWithoutMediaInputSchema), + ]), + where: z.lazy(() => RundownItemWhereInputSchema).optional(), + }) + .strict(); + +export default RundownItemUpsertWithoutMediaInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/RundownItemWhereInputSchema.ts b/utility/prisma/types/inputTypeSchemas/RundownItemWhereInputSchema.ts new file mode 100644 index 00000000..e8a1f1ef --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/RundownItemWhereInputSchema.ts @@ -0,0 +1,63 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { IntFilterSchema } from "./IntFilterSchema"; +import { StringFilterSchema } from "./StringFilterSchema"; +import { EnumRundownItemTypeFilterSchema } from "./EnumRundownItemTypeFilterSchema"; +import { RundownItemTypeSchema } from "./RundownItemTypeSchema"; +import { MediaNullableRelationFilterSchema } from "./MediaNullableRelationFilterSchema"; +import { MediaWhereInputSchema } from "./MediaWhereInputSchema"; +import { RundownRelationFilterSchema } from "./RundownRelationFilterSchema"; +import { RundownWhereInputSchema } from "./RundownWhereInputSchema"; + +export const RundownItemWhereInputSchema: z.ZodType = + z + .object({ + AND: z + .union([ + z.lazy(() => RundownItemWhereInputSchema), + z.lazy(() => RundownItemWhereInputSchema).array(), + ]) + .optional(), + OR: z + .lazy(() => RundownItemWhereInputSchema) + .array() + .optional(), + NOT: z + .union([ + z.lazy(() => RundownItemWhereInputSchema), + z.lazy(() => RundownItemWhereInputSchema).array(), + ]) + .optional(), + id: z.union([z.lazy(() => IntFilterSchema), z.number()]).optional(), + name: z.union([z.lazy(() => StringFilterSchema), z.string()]).optional(), + rundownId: z + .union([z.lazy(() => IntFilterSchema), z.number()]) + .optional(), + order: z.union([z.lazy(() => IntFilterSchema), z.number()]).optional(), + durationSeconds: z + .union([z.lazy(() => IntFilterSchema), z.number()]) + .optional(), + type: z + .union([ + z.lazy(() => EnumRundownItemTypeFilterSchema), + z.lazy(() => RundownItemTypeSchema), + ]) + .optional(), + notes: z.union([z.lazy(() => StringFilterSchema), z.string()]).optional(), + media: z + .union([ + z.lazy(() => MediaNullableRelationFilterSchema), + z.lazy(() => MediaWhereInputSchema), + ]) + .optional() + .nullable(), + rundown: z + .union([ + z.lazy(() => RundownRelationFilterSchema), + z.lazy(() => RundownWhereInputSchema), + ]) + .optional(), + }) + .strict(); + +export default RundownItemWhereInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/RundownItemWhereUniqueInputSchema.ts b/utility/prisma/types/inputTypeSchemas/RundownItemWhereUniqueInputSchema.ts new file mode 100644 index 00000000..168d05b5 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/RundownItemWhereUniqueInputSchema.ts @@ -0,0 +1,76 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { RundownItemWhereInputSchema } from "./RundownItemWhereInputSchema"; +import { StringFilterSchema } from "./StringFilterSchema"; +import { IntFilterSchema } from "./IntFilterSchema"; +import { EnumRundownItemTypeFilterSchema } from "./EnumRundownItemTypeFilterSchema"; +import { RundownItemTypeSchema } from "./RundownItemTypeSchema"; +import { MediaNullableRelationFilterSchema } from "./MediaNullableRelationFilterSchema"; +import { MediaWhereInputSchema } from "./MediaWhereInputSchema"; +import { RundownRelationFilterSchema } from "./RundownRelationFilterSchema"; +import { RundownWhereInputSchema } from "./RundownWhereInputSchema"; + +export const RundownItemWhereUniqueInputSchema: z.ZodType = + z + .object({ + id: z.number(), + }) + .and( + z + .object({ + id: z.number().optional(), + AND: z + .union([ + z.lazy(() => RundownItemWhereInputSchema), + z.lazy(() => RundownItemWhereInputSchema).array(), + ]) + .optional(), + OR: z + .lazy(() => RundownItemWhereInputSchema) + .array() + .optional(), + NOT: z + .union([ + z.lazy(() => RundownItemWhereInputSchema), + z.lazy(() => RundownItemWhereInputSchema).array(), + ]) + .optional(), + name: z + .union([z.lazy(() => StringFilterSchema), z.string()]) + .optional(), + rundownId: z + .union([z.lazy(() => IntFilterSchema), z.number()]) + .optional(), + order: z + .union([z.lazy(() => IntFilterSchema), z.number()]) + .optional(), + durationSeconds: z + .union([z.lazy(() => IntFilterSchema), z.number()]) + .optional(), + type: z + .union([ + z.lazy(() => EnumRundownItemTypeFilterSchema), + z.lazy(() => RundownItemTypeSchema), + ]) + .optional(), + notes: z + .union([z.lazy(() => StringFilterSchema), z.string()]) + .optional(), + media: z + .union([ + z.lazy(() => MediaNullableRelationFilterSchema), + z.lazy(() => MediaWhereInputSchema), + ]) + .optional() + .nullable(), + rundown: z + .union([ + z.lazy(() => RundownRelationFilterSchema), + z.lazy(() => RundownWhereInputSchema), + ]) + .optional(), + }) + .strict(), + ); + +export default RundownItemWhereUniqueInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/RundownListRelationFilterSchema.ts b/utility/prisma/types/inputTypeSchemas/RundownListRelationFilterSchema.ts new file mode 100644 index 00000000..396fbd3f --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/RundownListRelationFilterSchema.ts @@ -0,0 +1,14 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { RundownWhereInputSchema } from "./RundownWhereInputSchema"; + +export const RundownListRelationFilterSchema: z.ZodType = + z + .object({ + every: z.lazy(() => RundownWhereInputSchema).optional(), + some: z.lazy(() => RundownWhereInputSchema).optional(), + none: z.lazy(() => RundownWhereInputSchema).optional(), + }) + .strict(); + +export default RundownListRelationFilterSchema; diff --git a/utility/prisma/types/inputTypeSchemas/RundownMaxOrderByAggregateInputSchema.ts b/utility/prisma/types/inputTypeSchemas/RundownMaxOrderByAggregateInputSchema.ts new file mode 100644 index 00000000..6eee7410 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/RundownMaxOrderByAggregateInputSchema.ts @@ -0,0 +1,15 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { SortOrderSchema } from "./SortOrderSchema"; + +export const RundownMaxOrderByAggregateInputSchema: z.ZodType = + z + .object({ + id: z.lazy(() => SortOrderSchema).optional(), + name: z.lazy(() => SortOrderSchema).optional(), + showId: z.lazy(() => SortOrderSchema).optional(), + order: z.lazy(() => SortOrderSchema).optional(), + }) + .strict(); + +export default RundownMaxOrderByAggregateInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/RundownMinOrderByAggregateInputSchema.ts b/utility/prisma/types/inputTypeSchemas/RundownMinOrderByAggregateInputSchema.ts new file mode 100644 index 00000000..baab60c9 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/RundownMinOrderByAggregateInputSchema.ts @@ -0,0 +1,15 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { SortOrderSchema } from "./SortOrderSchema"; + +export const RundownMinOrderByAggregateInputSchema: z.ZodType = + z + .object({ + id: z.lazy(() => SortOrderSchema).optional(), + name: z.lazy(() => SortOrderSchema).optional(), + showId: z.lazy(() => SortOrderSchema).optional(), + order: z.lazy(() => SortOrderSchema).optional(), + }) + .strict(); + +export default RundownMinOrderByAggregateInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/RundownOrderByRelationAggregateInputSchema.ts b/utility/prisma/types/inputTypeSchemas/RundownOrderByRelationAggregateInputSchema.ts new file mode 100644 index 00000000..f7588106 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/RundownOrderByRelationAggregateInputSchema.ts @@ -0,0 +1,12 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { SortOrderSchema } from "./SortOrderSchema"; + +export const RundownOrderByRelationAggregateInputSchema: z.ZodType = + z + .object({ + _count: z.lazy(() => SortOrderSchema).optional(), + }) + .strict(); + +export default RundownOrderByRelationAggregateInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/RundownOrderByWithAggregationInputSchema.ts b/utility/prisma/types/inputTypeSchemas/RundownOrderByWithAggregationInputSchema.ts new file mode 100644 index 00000000..b45e028e --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/RundownOrderByWithAggregationInputSchema.ts @@ -0,0 +1,25 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { SortOrderSchema } from "./SortOrderSchema"; +import { RundownCountOrderByAggregateInputSchema } from "./RundownCountOrderByAggregateInputSchema"; +import { RundownAvgOrderByAggregateInputSchema } from "./RundownAvgOrderByAggregateInputSchema"; +import { RundownMaxOrderByAggregateInputSchema } from "./RundownMaxOrderByAggregateInputSchema"; +import { RundownMinOrderByAggregateInputSchema } from "./RundownMinOrderByAggregateInputSchema"; +import { RundownSumOrderByAggregateInputSchema } from "./RundownSumOrderByAggregateInputSchema"; + +export const RundownOrderByWithAggregationInputSchema: z.ZodType = + z + .object({ + id: z.lazy(() => SortOrderSchema).optional(), + name: z.lazy(() => SortOrderSchema).optional(), + showId: z.lazy(() => SortOrderSchema).optional(), + order: z.lazy(() => SortOrderSchema).optional(), + _count: z.lazy(() => RundownCountOrderByAggregateInputSchema).optional(), + _avg: z.lazy(() => RundownAvgOrderByAggregateInputSchema).optional(), + _max: z.lazy(() => RundownMaxOrderByAggregateInputSchema).optional(), + _min: z.lazy(() => RundownMinOrderByAggregateInputSchema).optional(), + _sum: z.lazy(() => RundownSumOrderByAggregateInputSchema).optional(), + }) + .strict(); + +export default RundownOrderByWithAggregationInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/RundownOrderByWithRelationInputSchema.ts b/utility/prisma/types/inputTypeSchemas/RundownOrderByWithRelationInputSchema.ts new file mode 100644 index 00000000..2d502354 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/RundownOrderByWithRelationInputSchema.ts @@ -0,0 +1,23 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { SortOrderSchema } from "./SortOrderSchema"; +import { ShowOrderByWithRelationInputSchema } from "./ShowOrderByWithRelationInputSchema"; +import { RundownItemOrderByRelationAggregateInputSchema } from "./RundownItemOrderByRelationAggregateInputSchema"; +import { AssetOrderByRelationAggregateInputSchema } from "./AssetOrderByRelationAggregateInputSchema"; + +export const RundownOrderByWithRelationInputSchema: z.ZodType = + z + .object({ + id: z.lazy(() => SortOrderSchema).optional(), + name: z.lazy(() => SortOrderSchema).optional(), + showId: z.lazy(() => SortOrderSchema).optional(), + order: z.lazy(() => SortOrderSchema).optional(), + show: z.lazy(() => ShowOrderByWithRelationInputSchema).optional(), + items: z + .lazy(() => RundownItemOrderByRelationAggregateInputSchema) + .optional(), + assets: z.lazy(() => AssetOrderByRelationAggregateInputSchema).optional(), + }) + .strict(); + +export default RundownOrderByWithRelationInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/RundownRelationFilterSchema.ts b/utility/prisma/types/inputTypeSchemas/RundownRelationFilterSchema.ts new file mode 100644 index 00000000..9ba28b9a --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/RundownRelationFilterSchema.ts @@ -0,0 +1,13 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { RundownWhereInputSchema } from "./RundownWhereInputSchema"; + +export const RundownRelationFilterSchema: z.ZodType = + z + .object({ + is: z.lazy(() => RundownWhereInputSchema).optional(), + isNot: z.lazy(() => RundownWhereInputSchema).optional(), + }) + .strict(); + +export default RundownRelationFilterSchema; diff --git a/utility/prisma/types/inputTypeSchemas/RundownScalarWhereInputSchema.ts b/utility/prisma/types/inputTypeSchemas/RundownScalarWhereInputSchema.ts new file mode 100644 index 00000000..9f38bae1 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/RundownScalarWhereInputSchema.ts @@ -0,0 +1,32 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { IntFilterSchema } from "./IntFilterSchema"; +import { StringFilterSchema } from "./StringFilterSchema"; + +export const RundownScalarWhereInputSchema: z.ZodType = + z + .object({ + AND: z + .union([ + z.lazy(() => RundownScalarWhereInputSchema), + z.lazy(() => RundownScalarWhereInputSchema).array(), + ]) + .optional(), + OR: z + .lazy(() => RundownScalarWhereInputSchema) + .array() + .optional(), + NOT: z + .union([ + z.lazy(() => RundownScalarWhereInputSchema), + z.lazy(() => RundownScalarWhereInputSchema).array(), + ]) + .optional(), + id: z.union([z.lazy(() => IntFilterSchema), z.number()]).optional(), + name: z.union([z.lazy(() => StringFilterSchema), z.string()]).optional(), + showId: z.union([z.lazy(() => IntFilterSchema), z.number()]).optional(), + order: z.union([z.lazy(() => IntFilterSchema), z.number()]).optional(), + }) + .strict(); + +export default RundownScalarWhereInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/RundownScalarWhereWithAggregatesInputSchema.ts b/utility/prisma/types/inputTypeSchemas/RundownScalarWhereWithAggregatesInputSchema.ts new file mode 100644 index 00000000..d5ebd2d0 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/RundownScalarWhereWithAggregatesInputSchema.ts @@ -0,0 +1,40 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { IntWithAggregatesFilterSchema } from "./IntWithAggregatesFilterSchema"; +import { StringWithAggregatesFilterSchema } from "./StringWithAggregatesFilterSchema"; + +export const RundownScalarWhereWithAggregatesInputSchema: z.ZodType = + z + .object({ + AND: z + .union([ + z.lazy(() => RundownScalarWhereWithAggregatesInputSchema), + z.lazy(() => RundownScalarWhereWithAggregatesInputSchema).array(), + ]) + .optional(), + OR: z + .lazy(() => RundownScalarWhereWithAggregatesInputSchema) + .array() + .optional(), + NOT: z + .union([ + z.lazy(() => RundownScalarWhereWithAggregatesInputSchema), + z.lazy(() => RundownScalarWhereWithAggregatesInputSchema).array(), + ]) + .optional(), + id: z + .union([z.lazy(() => IntWithAggregatesFilterSchema), z.number()]) + .optional(), + name: z + .union([z.lazy(() => StringWithAggregatesFilterSchema), z.string()]) + .optional(), + showId: z + .union([z.lazy(() => IntWithAggregatesFilterSchema), z.number()]) + .optional(), + order: z + .union([z.lazy(() => IntWithAggregatesFilterSchema), z.number()]) + .optional(), + }) + .strict(); + +export default RundownScalarWhereWithAggregatesInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/RundownSelectSchema.ts b/utility/prisma/types/inputTypeSchemas/RundownSelectSchema.ts new file mode 100644 index 00000000..08ca8d3e --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/RundownSelectSchema.ts @@ -0,0 +1,27 @@ +import { z } from "zod"; +import type { Prisma } from "../../client"; +import { ShowArgsSchema } from "../outputTypeSchemas/ShowArgsSchema"; +import { RundownItemFindManyArgsSchema } from "../outputTypeSchemas/RundownItemFindManyArgsSchema"; +import { AssetFindManyArgsSchema } from "../outputTypeSchemas/AssetFindManyArgsSchema"; +import { RundownCountOutputTypeArgsSchema } from "../outputTypeSchemas/RundownCountOutputTypeArgsSchema"; + +export const RundownSelectSchema: z.ZodType = z + .object({ + id: z.boolean().optional(), + name: z.boolean().optional(), + showId: z.boolean().optional(), + order: z.boolean().optional(), + show: z.union([z.boolean(), z.lazy(() => ShowArgsSchema)]).optional(), + items: z + .union([z.boolean(), z.lazy(() => RundownItemFindManyArgsSchema)]) + .optional(), + assets: z + .union([z.boolean(), z.lazy(() => AssetFindManyArgsSchema)]) + .optional(), + _count: z + .union([z.boolean(), z.lazy(() => RundownCountOutputTypeArgsSchema)]) + .optional(), + }) + .strict(); + +export default RundownSelectSchema; diff --git a/utility/prisma/types/inputTypeSchemas/RundownSumOrderByAggregateInputSchema.ts b/utility/prisma/types/inputTypeSchemas/RundownSumOrderByAggregateInputSchema.ts new file mode 100644 index 00000000..c2f50b44 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/RundownSumOrderByAggregateInputSchema.ts @@ -0,0 +1,14 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { SortOrderSchema } from "./SortOrderSchema"; + +export const RundownSumOrderByAggregateInputSchema: z.ZodType = + z + .object({ + id: z.lazy(() => SortOrderSchema).optional(), + showId: z.lazy(() => SortOrderSchema).optional(), + order: z.lazy(() => SortOrderSchema).optional(), + }) + .strict(); + +export default RundownSumOrderByAggregateInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/RundownUncheckedCreateInputSchema.ts b/utility/prisma/types/inputTypeSchemas/RundownUncheckedCreateInputSchema.ts new file mode 100644 index 00000000..8cd9572b --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/RundownUncheckedCreateInputSchema.ts @@ -0,0 +1,24 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { RundownItemUncheckedCreateNestedManyWithoutRundownInputSchema } from "./RundownItemUncheckedCreateNestedManyWithoutRundownInputSchema"; +import { AssetUncheckedCreateNestedManyWithoutRundownInputSchema } from "./AssetUncheckedCreateNestedManyWithoutRundownInputSchema"; + +export const RundownUncheckedCreateInputSchema: z.ZodType = + z + .object({ + id: z.number().int().optional(), + name: z.string(), + showId: z.number().int(), + order: z.number().int(), + items: z + .lazy( + () => RundownItemUncheckedCreateNestedManyWithoutRundownInputSchema, + ) + .optional(), + assets: z + .lazy(() => AssetUncheckedCreateNestedManyWithoutRundownInputSchema) + .optional(), + }) + .strict(); + +export default RundownUncheckedCreateInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/RundownUncheckedCreateNestedManyWithoutShowInputSchema.ts b/utility/prisma/types/inputTypeSchemas/RundownUncheckedCreateNestedManyWithoutShowInputSchema.ts new file mode 100644 index 00000000..d9245a2f --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/RundownUncheckedCreateNestedManyWithoutShowInputSchema.ts @@ -0,0 +1,38 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { RundownCreateWithoutShowInputSchema } from "./RundownCreateWithoutShowInputSchema"; +import { RundownUncheckedCreateWithoutShowInputSchema } from "./RundownUncheckedCreateWithoutShowInputSchema"; +import { RundownCreateOrConnectWithoutShowInputSchema } from "./RundownCreateOrConnectWithoutShowInputSchema"; +import { RundownCreateManyShowInputEnvelopeSchema } from "./RundownCreateManyShowInputEnvelopeSchema"; +import { RundownWhereUniqueInputSchema } from "./RundownWhereUniqueInputSchema"; + +export const RundownUncheckedCreateNestedManyWithoutShowInputSchema: z.ZodType = + z + .object({ + create: z + .union([ + z.lazy(() => RundownCreateWithoutShowInputSchema), + z.lazy(() => RundownCreateWithoutShowInputSchema).array(), + z.lazy(() => RundownUncheckedCreateWithoutShowInputSchema), + z.lazy(() => RundownUncheckedCreateWithoutShowInputSchema).array(), + ]) + .optional(), + connectOrCreate: z + .union([ + z.lazy(() => RundownCreateOrConnectWithoutShowInputSchema), + z.lazy(() => RundownCreateOrConnectWithoutShowInputSchema).array(), + ]) + .optional(), + createMany: z + .lazy(() => RundownCreateManyShowInputEnvelopeSchema) + .optional(), + connect: z + .union([ + z.lazy(() => RundownWhereUniqueInputSchema), + z.lazy(() => RundownWhereUniqueInputSchema).array(), + ]) + .optional(), + }) + .strict(); + +export default RundownUncheckedCreateNestedManyWithoutShowInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/RundownUncheckedCreateWithoutAssetsInputSchema.ts b/utility/prisma/types/inputTypeSchemas/RundownUncheckedCreateWithoutAssetsInputSchema.ts new file mode 100644 index 00000000..eddbb8a9 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/RundownUncheckedCreateWithoutAssetsInputSchema.ts @@ -0,0 +1,20 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { RundownItemUncheckedCreateNestedManyWithoutRundownInputSchema } from "./RundownItemUncheckedCreateNestedManyWithoutRundownInputSchema"; + +export const RundownUncheckedCreateWithoutAssetsInputSchema: z.ZodType = + z + .object({ + id: z.number().int().optional(), + name: z.string(), + showId: z.number().int(), + order: z.number().int(), + items: z + .lazy( + () => RundownItemUncheckedCreateNestedManyWithoutRundownInputSchema, + ) + .optional(), + }) + .strict(); + +export default RundownUncheckedCreateWithoutAssetsInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/RundownUncheckedCreateWithoutItemsInputSchema.ts b/utility/prisma/types/inputTypeSchemas/RundownUncheckedCreateWithoutItemsInputSchema.ts new file mode 100644 index 00000000..a669bff6 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/RundownUncheckedCreateWithoutItemsInputSchema.ts @@ -0,0 +1,18 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { AssetUncheckedCreateNestedManyWithoutRundownInputSchema } from "./AssetUncheckedCreateNestedManyWithoutRundownInputSchema"; + +export const RundownUncheckedCreateWithoutItemsInputSchema: z.ZodType = + z + .object({ + id: z.number().int().optional(), + name: z.string(), + showId: z.number().int(), + order: z.number().int(), + assets: z + .lazy(() => AssetUncheckedCreateNestedManyWithoutRundownInputSchema) + .optional(), + }) + .strict(); + +export default RundownUncheckedCreateWithoutItemsInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/RundownUncheckedCreateWithoutShowInputSchema.ts b/utility/prisma/types/inputTypeSchemas/RundownUncheckedCreateWithoutShowInputSchema.ts new file mode 100644 index 00000000..df6e4d38 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/RundownUncheckedCreateWithoutShowInputSchema.ts @@ -0,0 +1,23 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { RundownItemUncheckedCreateNestedManyWithoutRundownInputSchema } from "./RundownItemUncheckedCreateNestedManyWithoutRundownInputSchema"; +import { AssetUncheckedCreateNestedManyWithoutRundownInputSchema } from "./AssetUncheckedCreateNestedManyWithoutRundownInputSchema"; + +export const RundownUncheckedCreateWithoutShowInputSchema: z.ZodType = + z + .object({ + id: z.number().int().optional(), + name: z.string(), + order: z.number().int(), + items: z + .lazy( + () => RundownItemUncheckedCreateNestedManyWithoutRundownInputSchema, + ) + .optional(), + assets: z + .lazy(() => AssetUncheckedCreateNestedManyWithoutRundownInputSchema) + .optional(), + }) + .strict(); + +export default RundownUncheckedCreateWithoutShowInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/RundownUncheckedUpdateInputSchema.ts b/utility/prisma/types/inputTypeSchemas/RundownUncheckedUpdateInputSchema.ts new file mode 100644 index 00000000..fa5c15fe --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/RundownUncheckedUpdateInputSchema.ts @@ -0,0 +1,46 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { IntFieldUpdateOperationsInputSchema } from "./IntFieldUpdateOperationsInputSchema"; +import { StringFieldUpdateOperationsInputSchema } from "./StringFieldUpdateOperationsInputSchema"; +import { RundownItemUncheckedUpdateManyWithoutRundownNestedInputSchema } from "./RundownItemUncheckedUpdateManyWithoutRundownNestedInputSchema"; +import { AssetUncheckedUpdateManyWithoutRundownNestedInputSchema } from "./AssetUncheckedUpdateManyWithoutRundownNestedInputSchema"; + +export const RundownUncheckedUpdateInputSchema: z.ZodType = + z + .object({ + id: z + .union([ + z.number().int(), + z.lazy(() => IntFieldUpdateOperationsInputSchema), + ]) + .optional(), + name: z + .union([ + z.string(), + z.lazy(() => StringFieldUpdateOperationsInputSchema), + ]) + .optional(), + showId: z + .union([ + z.number().int(), + z.lazy(() => IntFieldUpdateOperationsInputSchema), + ]) + .optional(), + order: z + .union([ + z.number().int(), + z.lazy(() => IntFieldUpdateOperationsInputSchema), + ]) + .optional(), + items: z + .lazy( + () => RundownItemUncheckedUpdateManyWithoutRundownNestedInputSchema, + ) + .optional(), + assets: z + .lazy(() => AssetUncheckedUpdateManyWithoutRundownNestedInputSchema) + .optional(), + }) + .strict(); + +export default RundownUncheckedUpdateInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/RundownUncheckedUpdateManyInputSchema.ts b/utility/prisma/types/inputTypeSchemas/RundownUncheckedUpdateManyInputSchema.ts new file mode 100644 index 00000000..46c047ba --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/RundownUncheckedUpdateManyInputSchema.ts @@ -0,0 +1,36 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { IntFieldUpdateOperationsInputSchema } from "./IntFieldUpdateOperationsInputSchema"; +import { StringFieldUpdateOperationsInputSchema } from "./StringFieldUpdateOperationsInputSchema"; + +export const RundownUncheckedUpdateManyInputSchema: z.ZodType = + z + .object({ + id: z + .union([ + z.number().int(), + z.lazy(() => IntFieldUpdateOperationsInputSchema), + ]) + .optional(), + name: z + .union([ + z.string(), + z.lazy(() => StringFieldUpdateOperationsInputSchema), + ]) + .optional(), + showId: z + .union([ + z.number().int(), + z.lazy(() => IntFieldUpdateOperationsInputSchema), + ]) + .optional(), + order: z + .union([ + z.number().int(), + z.lazy(() => IntFieldUpdateOperationsInputSchema), + ]) + .optional(), + }) + .strict(); + +export default RundownUncheckedUpdateManyInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/RundownUncheckedUpdateManyWithoutShowInputSchema.ts b/utility/prisma/types/inputTypeSchemas/RundownUncheckedUpdateManyWithoutShowInputSchema.ts new file mode 100644 index 00000000..8b34d95d --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/RundownUncheckedUpdateManyWithoutShowInputSchema.ts @@ -0,0 +1,30 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { IntFieldUpdateOperationsInputSchema } from "./IntFieldUpdateOperationsInputSchema"; +import { StringFieldUpdateOperationsInputSchema } from "./StringFieldUpdateOperationsInputSchema"; + +export const RundownUncheckedUpdateManyWithoutShowInputSchema: z.ZodType = + z + .object({ + id: z + .union([ + z.number().int(), + z.lazy(() => IntFieldUpdateOperationsInputSchema), + ]) + .optional(), + name: z + .union([ + z.string(), + z.lazy(() => StringFieldUpdateOperationsInputSchema), + ]) + .optional(), + order: z + .union([ + z.number().int(), + z.lazy(() => IntFieldUpdateOperationsInputSchema), + ]) + .optional(), + }) + .strict(); + +export default RundownUncheckedUpdateManyWithoutShowInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/RundownUncheckedUpdateManyWithoutShowNestedInputSchema.ts b/utility/prisma/types/inputTypeSchemas/RundownUncheckedUpdateManyWithoutShowNestedInputSchema.ts new file mode 100644 index 00000000..ceccba27 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/RundownUncheckedUpdateManyWithoutShowNestedInputSchema.ts @@ -0,0 +1,90 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { RundownCreateWithoutShowInputSchema } from "./RundownCreateWithoutShowInputSchema"; +import { RundownUncheckedCreateWithoutShowInputSchema } from "./RundownUncheckedCreateWithoutShowInputSchema"; +import { RundownCreateOrConnectWithoutShowInputSchema } from "./RundownCreateOrConnectWithoutShowInputSchema"; +import { RundownUpsertWithWhereUniqueWithoutShowInputSchema } from "./RundownUpsertWithWhereUniqueWithoutShowInputSchema"; +import { RundownCreateManyShowInputEnvelopeSchema } from "./RundownCreateManyShowInputEnvelopeSchema"; +import { RundownWhereUniqueInputSchema } from "./RundownWhereUniqueInputSchema"; +import { RundownUpdateWithWhereUniqueWithoutShowInputSchema } from "./RundownUpdateWithWhereUniqueWithoutShowInputSchema"; +import { RundownUpdateManyWithWhereWithoutShowInputSchema } from "./RundownUpdateManyWithWhereWithoutShowInputSchema"; +import { RundownScalarWhereInputSchema } from "./RundownScalarWhereInputSchema"; + +export const RundownUncheckedUpdateManyWithoutShowNestedInputSchema: z.ZodType = + z + .object({ + create: z + .union([ + z.lazy(() => RundownCreateWithoutShowInputSchema), + z.lazy(() => RundownCreateWithoutShowInputSchema).array(), + z.lazy(() => RundownUncheckedCreateWithoutShowInputSchema), + z.lazy(() => RundownUncheckedCreateWithoutShowInputSchema).array(), + ]) + .optional(), + connectOrCreate: z + .union([ + z.lazy(() => RundownCreateOrConnectWithoutShowInputSchema), + z.lazy(() => RundownCreateOrConnectWithoutShowInputSchema).array(), + ]) + .optional(), + upsert: z + .union([ + z.lazy(() => RundownUpsertWithWhereUniqueWithoutShowInputSchema), + z + .lazy(() => RundownUpsertWithWhereUniqueWithoutShowInputSchema) + .array(), + ]) + .optional(), + createMany: z + .lazy(() => RundownCreateManyShowInputEnvelopeSchema) + .optional(), + set: z + .union([ + z.lazy(() => RundownWhereUniqueInputSchema), + z.lazy(() => RundownWhereUniqueInputSchema).array(), + ]) + .optional(), + disconnect: z + .union([ + z.lazy(() => RundownWhereUniqueInputSchema), + z.lazy(() => RundownWhereUniqueInputSchema).array(), + ]) + .optional(), + delete: z + .union([ + z.lazy(() => RundownWhereUniqueInputSchema), + z.lazy(() => RundownWhereUniqueInputSchema).array(), + ]) + .optional(), + connect: z + .union([ + z.lazy(() => RundownWhereUniqueInputSchema), + z.lazy(() => RundownWhereUniqueInputSchema).array(), + ]) + .optional(), + update: z + .union([ + z.lazy(() => RundownUpdateWithWhereUniqueWithoutShowInputSchema), + z + .lazy(() => RundownUpdateWithWhereUniqueWithoutShowInputSchema) + .array(), + ]) + .optional(), + updateMany: z + .union([ + z.lazy(() => RundownUpdateManyWithWhereWithoutShowInputSchema), + z + .lazy(() => RundownUpdateManyWithWhereWithoutShowInputSchema) + .array(), + ]) + .optional(), + deleteMany: z + .union([ + z.lazy(() => RundownScalarWhereInputSchema), + z.lazy(() => RundownScalarWhereInputSchema).array(), + ]) + .optional(), + }) + .strict(); + +export default RundownUncheckedUpdateManyWithoutShowNestedInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/RundownUncheckedUpdateWithoutAssetsInputSchema.ts b/utility/prisma/types/inputTypeSchemas/RundownUncheckedUpdateWithoutAssetsInputSchema.ts new file mode 100644 index 00000000..70068387 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/RundownUncheckedUpdateWithoutAssetsInputSchema.ts @@ -0,0 +1,42 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { IntFieldUpdateOperationsInputSchema } from "./IntFieldUpdateOperationsInputSchema"; +import { StringFieldUpdateOperationsInputSchema } from "./StringFieldUpdateOperationsInputSchema"; +import { RundownItemUncheckedUpdateManyWithoutRundownNestedInputSchema } from "./RundownItemUncheckedUpdateManyWithoutRundownNestedInputSchema"; + +export const RundownUncheckedUpdateWithoutAssetsInputSchema: z.ZodType = + z + .object({ + id: z + .union([ + z.number().int(), + z.lazy(() => IntFieldUpdateOperationsInputSchema), + ]) + .optional(), + name: z + .union([ + z.string(), + z.lazy(() => StringFieldUpdateOperationsInputSchema), + ]) + .optional(), + showId: z + .union([ + z.number().int(), + z.lazy(() => IntFieldUpdateOperationsInputSchema), + ]) + .optional(), + order: z + .union([ + z.number().int(), + z.lazy(() => IntFieldUpdateOperationsInputSchema), + ]) + .optional(), + items: z + .lazy( + () => RundownItemUncheckedUpdateManyWithoutRundownNestedInputSchema, + ) + .optional(), + }) + .strict(); + +export default RundownUncheckedUpdateWithoutAssetsInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/RundownUncheckedUpdateWithoutItemsInputSchema.ts b/utility/prisma/types/inputTypeSchemas/RundownUncheckedUpdateWithoutItemsInputSchema.ts new file mode 100644 index 00000000..fe4618af --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/RundownUncheckedUpdateWithoutItemsInputSchema.ts @@ -0,0 +1,40 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { IntFieldUpdateOperationsInputSchema } from "./IntFieldUpdateOperationsInputSchema"; +import { StringFieldUpdateOperationsInputSchema } from "./StringFieldUpdateOperationsInputSchema"; +import { AssetUncheckedUpdateManyWithoutRundownNestedInputSchema } from "./AssetUncheckedUpdateManyWithoutRundownNestedInputSchema"; + +export const RundownUncheckedUpdateWithoutItemsInputSchema: z.ZodType = + z + .object({ + id: z + .union([ + z.number().int(), + z.lazy(() => IntFieldUpdateOperationsInputSchema), + ]) + .optional(), + name: z + .union([ + z.string(), + z.lazy(() => StringFieldUpdateOperationsInputSchema), + ]) + .optional(), + showId: z + .union([ + z.number().int(), + z.lazy(() => IntFieldUpdateOperationsInputSchema), + ]) + .optional(), + order: z + .union([ + z.number().int(), + z.lazy(() => IntFieldUpdateOperationsInputSchema), + ]) + .optional(), + assets: z + .lazy(() => AssetUncheckedUpdateManyWithoutRundownNestedInputSchema) + .optional(), + }) + .strict(); + +export default RundownUncheckedUpdateWithoutItemsInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/RundownUncheckedUpdateWithoutShowInputSchema.ts b/utility/prisma/types/inputTypeSchemas/RundownUncheckedUpdateWithoutShowInputSchema.ts new file mode 100644 index 00000000..8e5ecd7d --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/RundownUncheckedUpdateWithoutShowInputSchema.ts @@ -0,0 +1,40 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { IntFieldUpdateOperationsInputSchema } from "./IntFieldUpdateOperationsInputSchema"; +import { StringFieldUpdateOperationsInputSchema } from "./StringFieldUpdateOperationsInputSchema"; +import { RundownItemUncheckedUpdateManyWithoutRundownNestedInputSchema } from "./RundownItemUncheckedUpdateManyWithoutRundownNestedInputSchema"; +import { AssetUncheckedUpdateManyWithoutRundownNestedInputSchema } from "./AssetUncheckedUpdateManyWithoutRundownNestedInputSchema"; + +export const RundownUncheckedUpdateWithoutShowInputSchema: z.ZodType = + z + .object({ + id: z + .union([ + z.number().int(), + z.lazy(() => IntFieldUpdateOperationsInputSchema), + ]) + .optional(), + name: z + .union([ + z.string(), + z.lazy(() => StringFieldUpdateOperationsInputSchema), + ]) + .optional(), + order: z + .union([ + z.number().int(), + z.lazy(() => IntFieldUpdateOperationsInputSchema), + ]) + .optional(), + items: z + .lazy( + () => RundownItemUncheckedUpdateManyWithoutRundownNestedInputSchema, + ) + .optional(), + assets: z + .lazy(() => AssetUncheckedUpdateManyWithoutRundownNestedInputSchema) + .optional(), + }) + .strict(); + +export default RundownUncheckedUpdateWithoutShowInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/RundownUpdateInputSchema.ts b/utility/prisma/types/inputTypeSchemas/RundownUpdateInputSchema.ts new file mode 100644 index 00000000..613ccbe9 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/RundownUpdateInputSchema.ts @@ -0,0 +1,32 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { StringFieldUpdateOperationsInputSchema } from "./StringFieldUpdateOperationsInputSchema"; +import { IntFieldUpdateOperationsInputSchema } from "./IntFieldUpdateOperationsInputSchema"; +import { ShowUpdateOneRequiredWithoutRundownsNestedInputSchema } from "./ShowUpdateOneRequiredWithoutRundownsNestedInputSchema"; +import { RundownItemUpdateManyWithoutRundownNestedInputSchema } from "./RundownItemUpdateManyWithoutRundownNestedInputSchema"; +import { AssetUpdateManyWithoutRundownNestedInputSchema } from "./AssetUpdateManyWithoutRundownNestedInputSchema"; + +export const RundownUpdateInputSchema: z.ZodType = z + .object({ + name: z + .union([z.string(), z.lazy(() => StringFieldUpdateOperationsInputSchema)]) + .optional(), + order: z + .union([ + z.number().int(), + z.lazy(() => IntFieldUpdateOperationsInputSchema), + ]) + .optional(), + show: z + .lazy(() => ShowUpdateOneRequiredWithoutRundownsNestedInputSchema) + .optional(), + items: z + .lazy(() => RundownItemUpdateManyWithoutRundownNestedInputSchema) + .optional(), + assets: z + .lazy(() => AssetUpdateManyWithoutRundownNestedInputSchema) + .optional(), + }) + .strict(); + +export default RundownUpdateInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/RundownUpdateManyMutationInputSchema.ts b/utility/prisma/types/inputTypeSchemas/RundownUpdateManyMutationInputSchema.ts new file mode 100644 index 00000000..6198be8b --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/RundownUpdateManyMutationInputSchema.ts @@ -0,0 +1,24 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { StringFieldUpdateOperationsInputSchema } from "./StringFieldUpdateOperationsInputSchema"; +import { IntFieldUpdateOperationsInputSchema } from "./IntFieldUpdateOperationsInputSchema"; + +export const RundownUpdateManyMutationInputSchema: z.ZodType = + z + .object({ + name: z + .union([ + z.string(), + z.lazy(() => StringFieldUpdateOperationsInputSchema), + ]) + .optional(), + order: z + .union([ + z.number().int(), + z.lazy(() => IntFieldUpdateOperationsInputSchema), + ]) + .optional(), + }) + .strict(); + +export default RundownUpdateManyMutationInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/RundownUpdateManyWithWhereWithoutShowInputSchema.ts b/utility/prisma/types/inputTypeSchemas/RundownUpdateManyWithWhereWithoutShowInputSchema.ts new file mode 100644 index 00000000..d81e4c57 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/RundownUpdateManyWithWhereWithoutShowInputSchema.ts @@ -0,0 +1,18 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { RundownScalarWhereInputSchema } from "./RundownScalarWhereInputSchema"; +import { RundownUpdateManyMutationInputSchema } from "./RundownUpdateManyMutationInputSchema"; +import { RundownUncheckedUpdateManyWithoutShowInputSchema } from "./RundownUncheckedUpdateManyWithoutShowInputSchema"; + +export const RundownUpdateManyWithWhereWithoutShowInputSchema: z.ZodType = + z + .object({ + where: z.lazy(() => RundownScalarWhereInputSchema), + data: z.union([ + z.lazy(() => RundownUpdateManyMutationInputSchema), + z.lazy(() => RundownUncheckedUpdateManyWithoutShowInputSchema), + ]), + }) + .strict(); + +export default RundownUpdateManyWithWhereWithoutShowInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/RundownUpdateManyWithoutShowNestedInputSchema.ts b/utility/prisma/types/inputTypeSchemas/RundownUpdateManyWithoutShowNestedInputSchema.ts new file mode 100644 index 00000000..7609b392 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/RundownUpdateManyWithoutShowNestedInputSchema.ts @@ -0,0 +1,90 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { RundownCreateWithoutShowInputSchema } from "./RundownCreateWithoutShowInputSchema"; +import { RundownUncheckedCreateWithoutShowInputSchema } from "./RundownUncheckedCreateWithoutShowInputSchema"; +import { RundownCreateOrConnectWithoutShowInputSchema } from "./RundownCreateOrConnectWithoutShowInputSchema"; +import { RundownUpsertWithWhereUniqueWithoutShowInputSchema } from "./RundownUpsertWithWhereUniqueWithoutShowInputSchema"; +import { RundownCreateManyShowInputEnvelopeSchema } from "./RundownCreateManyShowInputEnvelopeSchema"; +import { RundownWhereUniqueInputSchema } from "./RundownWhereUniqueInputSchema"; +import { RundownUpdateWithWhereUniqueWithoutShowInputSchema } from "./RundownUpdateWithWhereUniqueWithoutShowInputSchema"; +import { RundownUpdateManyWithWhereWithoutShowInputSchema } from "./RundownUpdateManyWithWhereWithoutShowInputSchema"; +import { RundownScalarWhereInputSchema } from "./RundownScalarWhereInputSchema"; + +export const RundownUpdateManyWithoutShowNestedInputSchema: z.ZodType = + z + .object({ + create: z + .union([ + z.lazy(() => RundownCreateWithoutShowInputSchema), + z.lazy(() => RundownCreateWithoutShowInputSchema).array(), + z.lazy(() => RundownUncheckedCreateWithoutShowInputSchema), + z.lazy(() => RundownUncheckedCreateWithoutShowInputSchema).array(), + ]) + .optional(), + connectOrCreate: z + .union([ + z.lazy(() => RundownCreateOrConnectWithoutShowInputSchema), + z.lazy(() => RundownCreateOrConnectWithoutShowInputSchema).array(), + ]) + .optional(), + upsert: z + .union([ + z.lazy(() => RundownUpsertWithWhereUniqueWithoutShowInputSchema), + z + .lazy(() => RundownUpsertWithWhereUniqueWithoutShowInputSchema) + .array(), + ]) + .optional(), + createMany: z + .lazy(() => RundownCreateManyShowInputEnvelopeSchema) + .optional(), + set: z + .union([ + z.lazy(() => RundownWhereUniqueInputSchema), + z.lazy(() => RundownWhereUniqueInputSchema).array(), + ]) + .optional(), + disconnect: z + .union([ + z.lazy(() => RundownWhereUniqueInputSchema), + z.lazy(() => RundownWhereUniqueInputSchema).array(), + ]) + .optional(), + delete: z + .union([ + z.lazy(() => RundownWhereUniqueInputSchema), + z.lazy(() => RundownWhereUniqueInputSchema).array(), + ]) + .optional(), + connect: z + .union([ + z.lazy(() => RundownWhereUniqueInputSchema), + z.lazy(() => RundownWhereUniqueInputSchema).array(), + ]) + .optional(), + update: z + .union([ + z.lazy(() => RundownUpdateWithWhereUniqueWithoutShowInputSchema), + z + .lazy(() => RundownUpdateWithWhereUniqueWithoutShowInputSchema) + .array(), + ]) + .optional(), + updateMany: z + .union([ + z.lazy(() => RundownUpdateManyWithWhereWithoutShowInputSchema), + z + .lazy(() => RundownUpdateManyWithWhereWithoutShowInputSchema) + .array(), + ]) + .optional(), + deleteMany: z + .union([ + z.lazy(() => RundownScalarWhereInputSchema), + z.lazy(() => RundownScalarWhereInputSchema).array(), + ]) + .optional(), + }) + .strict(); + +export default RundownUpdateManyWithoutShowNestedInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/RundownUpdateOneRequiredWithoutAssetsNestedInputSchema.ts b/utility/prisma/types/inputTypeSchemas/RundownUpdateOneRequiredWithoutAssetsNestedInputSchema.ts new file mode 100644 index 00000000..4e3529e7 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/RundownUpdateOneRequiredWithoutAssetsNestedInputSchema.ts @@ -0,0 +1,36 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { RundownCreateWithoutAssetsInputSchema } from "./RundownCreateWithoutAssetsInputSchema"; +import { RundownUncheckedCreateWithoutAssetsInputSchema } from "./RundownUncheckedCreateWithoutAssetsInputSchema"; +import { RundownCreateOrConnectWithoutAssetsInputSchema } from "./RundownCreateOrConnectWithoutAssetsInputSchema"; +import { RundownUpsertWithoutAssetsInputSchema } from "./RundownUpsertWithoutAssetsInputSchema"; +import { RundownWhereUniqueInputSchema } from "./RundownWhereUniqueInputSchema"; +import { RundownUpdateToOneWithWhereWithoutAssetsInputSchema } from "./RundownUpdateToOneWithWhereWithoutAssetsInputSchema"; +import { RundownUpdateWithoutAssetsInputSchema } from "./RundownUpdateWithoutAssetsInputSchema"; +import { RundownUncheckedUpdateWithoutAssetsInputSchema } from "./RundownUncheckedUpdateWithoutAssetsInputSchema"; + +export const RundownUpdateOneRequiredWithoutAssetsNestedInputSchema: z.ZodType = + z + .object({ + create: z + .union([ + z.lazy(() => RundownCreateWithoutAssetsInputSchema), + z.lazy(() => RundownUncheckedCreateWithoutAssetsInputSchema), + ]) + .optional(), + connectOrCreate: z + .lazy(() => RundownCreateOrConnectWithoutAssetsInputSchema) + .optional(), + upsert: z.lazy(() => RundownUpsertWithoutAssetsInputSchema).optional(), + connect: z.lazy(() => RundownWhereUniqueInputSchema).optional(), + update: z + .union([ + z.lazy(() => RundownUpdateToOneWithWhereWithoutAssetsInputSchema), + z.lazy(() => RundownUpdateWithoutAssetsInputSchema), + z.lazy(() => RundownUncheckedUpdateWithoutAssetsInputSchema), + ]) + .optional(), + }) + .strict(); + +export default RundownUpdateOneRequiredWithoutAssetsNestedInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/RundownUpdateOneRequiredWithoutItemsNestedInputSchema.ts b/utility/prisma/types/inputTypeSchemas/RundownUpdateOneRequiredWithoutItemsNestedInputSchema.ts new file mode 100644 index 00000000..98ff3d88 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/RundownUpdateOneRequiredWithoutItemsNestedInputSchema.ts @@ -0,0 +1,36 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { RundownCreateWithoutItemsInputSchema } from "./RundownCreateWithoutItemsInputSchema"; +import { RundownUncheckedCreateWithoutItemsInputSchema } from "./RundownUncheckedCreateWithoutItemsInputSchema"; +import { RundownCreateOrConnectWithoutItemsInputSchema } from "./RundownCreateOrConnectWithoutItemsInputSchema"; +import { RundownUpsertWithoutItemsInputSchema } from "./RundownUpsertWithoutItemsInputSchema"; +import { RundownWhereUniqueInputSchema } from "./RundownWhereUniqueInputSchema"; +import { RundownUpdateToOneWithWhereWithoutItemsInputSchema } from "./RundownUpdateToOneWithWhereWithoutItemsInputSchema"; +import { RundownUpdateWithoutItemsInputSchema } from "./RundownUpdateWithoutItemsInputSchema"; +import { RundownUncheckedUpdateWithoutItemsInputSchema } from "./RundownUncheckedUpdateWithoutItemsInputSchema"; + +export const RundownUpdateOneRequiredWithoutItemsNestedInputSchema: z.ZodType = + z + .object({ + create: z + .union([ + z.lazy(() => RundownCreateWithoutItemsInputSchema), + z.lazy(() => RundownUncheckedCreateWithoutItemsInputSchema), + ]) + .optional(), + connectOrCreate: z + .lazy(() => RundownCreateOrConnectWithoutItemsInputSchema) + .optional(), + upsert: z.lazy(() => RundownUpsertWithoutItemsInputSchema).optional(), + connect: z.lazy(() => RundownWhereUniqueInputSchema).optional(), + update: z + .union([ + z.lazy(() => RundownUpdateToOneWithWhereWithoutItemsInputSchema), + z.lazy(() => RundownUpdateWithoutItemsInputSchema), + z.lazy(() => RundownUncheckedUpdateWithoutItemsInputSchema), + ]) + .optional(), + }) + .strict(); + +export default RundownUpdateOneRequiredWithoutItemsNestedInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/RundownUpdateToOneWithWhereWithoutAssetsInputSchema.ts b/utility/prisma/types/inputTypeSchemas/RundownUpdateToOneWithWhereWithoutAssetsInputSchema.ts new file mode 100644 index 00000000..d215ccfc --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/RundownUpdateToOneWithWhereWithoutAssetsInputSchema.ts @@ -0,0 +1,18 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { RundownWhereInputSchema } from "./RundownWhereInputSchema"; +import { RundownUpdateWithoutAssetsInputSchema } from "./RundownUpdateWithoutAssetsInputSchema"; +import { RundownUncheckedUpdateWithoutAssetsInputSchema } from "./RundownUncheckedUpdateWithoutAssetsInputSchema"; + +export const RundownUpdateToOneWithWhereWithoutAssetsInputSchema: z.ZodType = + z + .object({ + where: z.lazy(() => RundownWhereInputSchema).optional(), + data: z.union([ + z.lazy(() => RundownUpdateWithoutAssetsInputSchema), + z.lazy(() => RundownUncheckedUpdateWithoutAssetsInputSchema), + ]), + }) + .strict(); + +export default RundownUpdateToOneWithWhereWithoutAssetsInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/RundownUpdateToOneWithWhereWithoutItemsInputSchema.ts b/utility/prisma/types/inputTypeSchemas/RundownUpdateToOneWithWhereWithoutItemsInputSchema.ts new file mode 100644 index 00000000..6d1e3448 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/RundownUpdateToOneWithWhereWithoutItemsInputSchema.ts @@ -0,0 +1,18 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { RundownWhereInputSchema } from "./RundownWhereInputSchema"; +import { RundownUpdateWithoutItemsInputSchema } from "./RundownUpdateWithoutItemsInputSchema"; +import { RundownUncheckedUpdateWithoutItemsInputSchema } from "./RundownUncheckedUpdateWithoutItemsInputSchema"; + +export const RundownUpdateToOneWithWhereWithoutItemsInputSchema: z.ZodType = + z + .object({ + where: z.lazy(() => RundownWhereInputSchema).optional(), + data: z.union([ + z.lazy(() => RundownUpdateWithoutItemsInputSchema), + z.lazy(() => RundownUncheckedUpdateWithoutItemsInputSchema), + ]), + }) + .strict(); + +export default RundownUpdateToOneWithWhereWithoutItemsInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/RundownUpdateWithWhereUniqueWithoutShowInputSchema.ts b/utility/prisma/types/inputTypeSchemas/RundownUpdateWithWhereUniqueWithoutShowInputSchema.ts new file mode 100644 index 00000000..375e9e4f --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/RundownUpdateWithWhereUniqueWithoutShowInputSchema.ts @@ -0,0 +1,18 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { RundownWhereUniqueInputSchema } from "./RundownWhereUniqueInputSchema"; +import { RundownUpdateWithoutShowInputSchema } from "./RundownUpdateWithoutShowInputSchema"; +import { RundownUncheckedUpdateWithoutShowInputSchema } from "./RundownUncheckedUpdateWithoutShowInputSchema"; + +export const RundownUpdateWithWhereUniqueWithoutShowInputSchema: z.ZodType = + z + .object({ + where: z.lazy(() => RundownWhereUniqueInputSchema), + data: z.union([ + z.lazy(() => RundownUpdateWithoutShowInputSchema), + z.lazy(() => RundownUncheckedUpdateWithoutShowInputSchema), + ]), + }) + .strict(); + +export default RundownUpdateWithWhereUniqueWithoutShowInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/RundownUpdateWithoutAssetsInputSchema.ts b/utility/prisma/types/inputTypeSchemas/RundownUpdateWithoutAssetsInputSchema.ts new file mode 100644 index 00000000..bfec438b --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/RundownUpdateWithoutAssetsInputSchema.ts @@ -0,0 +1,32 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { StringFieldUpdateOperationsInputSchema } from "./StringFieldUpdateOperationsInputSchema"; +import { IntFieldUpdateOperationsInputSchema } from "./IntFieldUpdateOperationsInputSchema"; +import { ShowUpdateOneRequiredWithoutRundownsNestedInputSchema } from "./ShowUpdateOneRequiredWithoutRundownsNestedInputSchema"; +import { RundownItemUpdateManyWithoutRundownNestedInputSchema } from "./RundownItemUpdateManyWithoutRundownNestedInputSchema"; + +export const RundownUpdateWithoutAssetsInputSchema: z.ZodType = + z + .object({ + name: z + .union([ + z.string(), + z.lazy(() => StringFieldUpdateOperationsInputSchema), + ]) + .optional(), + order: z + .union([ + z.number().int(), + z.lazy(() => IntFieldUpdateOperationsInputSchema), + ]) + .optional(), + show: z + .lazy(() => ShowUpdateOneRequiredWithoutRundownsNestedInputSchema) + .optional(), + items: z + .lazy(() => RundownItemUpdateManyWithoutRundownNestedInputSchema) + .optional(), + }) + .strict(); + +export default RundownUpdateWithoutAssetsInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/RundownUpdateWithoutItemsInputSchema.ts b/utility/prisma/types/inputTypeSchemas/RundownUpdateWithoutItemsInputSchema.ts new file mode 100644 index 00000000..b07b3e49 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/RundownUpdateWithoutItemsInputSchema.ts @@ -0,0 +1,32 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { StringFieldUpdateOperationsInputSchema } from "./StringFieldUpdateOperationsInputSchema"; +import { IntFieldUpdateOperationsInputSchema } from "./IntFieldUpdateOperationsInputSchema"; +import { ShowUpdateOneRequiredWithoutRundownsNestedInputSchema } from "./ShowUpdateOneRequiredWithoutRundownsNestedInputSchema"; +import { AssetUpdateManyWithoutRundownNestedInputSchema } from "./AssetUpdateManyWithoutRundownNestedInputSchema"; + +export const RundownUpdateWithoutItemsInputSchema: z.ZodType = + z + .object({ + name: z + .union([ + z.string(), + z.lazy(() => StringFieldUpdateOperationsInputSchema), + ]) + .optional(), + order: z + .union([ + z.number().int(), + z.lazy(() => IntFieldUpdateOperationsInputSchema), + ]) + .optional(), + show: z + .lazy(() => ShowUpdateOneRequiredWithoutRundownsNestedInputSchema) + .optional(), + assets: z + .lazy(() => AssetUpdateManyWithoutRundownNestedInputSchema) + .optional(), + }) + .strict(); + +export default RundownUpdateWithoutItemsInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/RundownUpdateWithoutShowInputSchema.ts b/utility/prisma/types/inputTypeSchemas/RundownUpdateWithoutShowInputSchema.ts new file mode 100644 index 00000000..5d10ce47 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/RundownUpdateWithoutShowInputSchema.ts @@ -0,0 +1,32 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { StringFieldUpdateOperationsInputSchema } from "./StringFieldUpdateOperationsInputSchema"; +import { IntFieldUpdateOperationsInputSchema } from "./IntFieldUpdateOperationsInputSchema"; +import { RundownItemUpdateManyWithoutRundownNestedInputSchema } from "./RundownItemUpdateManyWithoutRundownNestedInputSchema"; +import { AssetUpdateManyWithoutRundownNestedInputSchema } from "./AssetUpdateManyWithoutRundownNestedInputSchema"; + +export const RundownUpdateWithoutShowInputSchema: z.ZodType = + z + .object({ + name: z + .union([ + z.string(), + z.lazy(() => StringFieldUpdateOperationsInputSchema), + ]) + .optional(), + order: z + .union([ + z.number().int(), + z.lazy(() => IntFieldUpdateOperationsInputSchema), + ]) + .optional(), + items: z + .lazy(() => RundownItemUpdateManyWithoutRundownNestedInputSchema) + .optional(), + assets: z + .lazy(() => AssetUpdateManyWithoutRundownNestedInputSchema) + .optional(), + }) + .strict(); + +export default RundownUpdateWithoutShowInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/RundownUpsertWithWhereUniqueWithoutShowInputSchema.ts b/utility/prisma/types/inputTypeSchemas/RundownUpsertWithWhereUniqueWithoutShowInputSchema.ts new file mode 100644 index 00000000..d0f3a6de --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/RundownUpsertWithWhereUniqueWithoutShowInputSchema.ts @@ -0,0 +1,24 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { RundownWhereUniqueInputSchema } from "./RundownWhereUniqueInputSchema"; +import { RundownUpdateWithoutShowInputSchema } from "./RundownUpdateWithoutShowInputSchema"; +import { RundownUncheckedUpdateWithoutShowInputSchema } from "./RundownUncheckedUpdateWithoutShowInputSchema"; +import { RundownCreateWithoutShowInputSchema } from "./RundownCreateWithoutShowInputSchema"; +import { RundownUncheckedCreateWithoutShowInputSchema } from "./RundownUncheckedCreateWithoutShowInputSchema"; + +export const RundownUpsertWithWhereUniqueWithoutShowInputSchema: z.ZodType = + z + .object({ + where: z.lazy(() => RundownWhereUniqueInputSchema), + update: z.union([ + z.lazy(() => RundownUpdateWithoutShowInputSchema), + z.lazy(() => RundownUncheckedUpdateWithoutShowInputSchema), + ]), + create: z.union([ + z.lazy(() => RundownCreateWithoutShowInputSchema), + z.lazy(() => RundownUncheckedCreateWithoutShowInputSchema), + ]), + }) + .strict(); + +export default RundownUpsertWithWhereUniqueWithoutShowInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/RundownUpsertWithoutAssetsInputSchema.ts b/utility/prisma/types/inputTypeSchemas/RundownUpsertWithoutAssetsInputSchema.ts new file mode 100644 index 00000000..740c3b04 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/RundownUpsertWithoutAssetsInputSchema.ts @@ -0,0 +1,24 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { RundownUpdateWithoutAssetsInputSchema } from "./RundownUpdateWithoutAssetsInputSchema"; +import { RundownUncheckedUpdateWithoutAssetsInputSchema } from "./RundownUncheckedUpdateWithoutAssetsInputSchema"; +import { RundownCreateWithoutAssetsInputSchema } from "./RundownCreateWithoutAssetsInputSchema"; +import { RundownUncheckedCreateWithoutAssetsInputSchema } from "./RundownUncheckedCreateWithoutAssetsInputSchema"; +import { RundownWhereInputSchema } from "./RundownWhereInputSchema"; + +export const RundownUpsertWithoutAssetsInputSchema: z.ZodType = + z + .object({ + update: z.union([ + z.lazy(() => RundownUpdateWithoutAssetsInputSchema), + z.lazy(() => RundownUncheckedUpdateWithoutAssetsInputSchema), + ]), + create: z.union([ + z.lazy(() => RundownCreateWithoutAssetsInputSchema), + z.lazy(() => RundownUncheckedCreateWithoutAssetsInputSchema), + ]), + where: z.lazy(() => RundownWhereInputSchema).optional(), + }) + .strict(); + +export default RundownUpsertWithoutAssetsInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/RundownUpsertWithoutItemsInputSchema.ts b/utility/prisma/types/inputTypeSchemas/RundownUpsertWithoutItemsInputSchema.ts new file mode 100644 index 00000000..0fe19a3e --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/RundownUpsertWithoutItemsInputSchema.ts @@ -0,0 +1,24 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { RundownUpdateWithoutItemsInputSchema } from "./RundownUpdateWithoutItemsInputSchema"; +import { RundownUncheckedUpdateWithoutItemsInputSchema } from "./RundownUncheckedUpdateWithoutItemsInputSchema"; +import { RundownCreateWithoutItemsInputSchema } from "./RundownCreateWithoutItemsInputSchema"; +import { RundownUncheckedCreateWithoutItemsInputSchema } from "./RundownUncheckedCreateWithoutItemsInputSchema"; +import { RundownWhereInputSchema } from "./RundownWhereInputSchema"; + +export const RundownUpsertWithoutItemsInputSchema: z.ZodType = + z + .object({ + update: z.union([ + z.lazy(() => RundownUpdateWithoutItemsInputSchema), + z.lazy(() => RundownUncheckedUpdateWithoutItemsInputSchema), + ]), + create: z.union([ + z.lazy(() => RundownCreateWithoutItemsInputSchema), + z.lazy(() => RundownUncheckedCreateWithoutItemsInputSchema), + ]), + where: z.lazy(() => RundownWhereInputSchema).optional(), + }) + .strict(); + +export default RundownUpsertWithoutItemsInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/RundownWhereInputSchema.ts b/utility/prisma/types/inputTypeSchemas/RundownWhereInputSchema.ts new file mode 100644 index 00000000..f4b574b7 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/RundownWhereInputSchema.ts @@ -0,0 +1,43 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { IntFilterSchema } from "./IntFilterSchema"; +import { StringFilterSchema } from "./StringFilterSchema"; +import { ShowRelationFilterSchema } from "./ShowRelationFilterSchema"; +import { ShowWhereInputSchema } from "./ShowWhereInputSchema"; +import { RundownItemListRelationFilterSchema } from "./RundownItemListRelationFilterSchema"; +import { AssetListRelationFilterSchema } from "./AssetListRelationFilterSchema"; + +export const RundownWhereInputSchema: z.ZodType = z + .object({ + AND: z + .union([ + z.lazy(() => RundownWhereInputSchema), + z.lazy(() => RundownWhereInputSchema).array(), + ]) + .optional(), + OR: z + .lazy(() => RundownWhereInputSchema) + .array() + .optional(), + NOT: z + .union([ + z.lazy(() => RundownWhereInputSchema), + z.lazy(() => RundownWhereInputSchema).array(), + ]) + .optional(), + id: z.union([z.lazy(() => IntFilterSchema), z.number()]).optional(), + name: z.union([z.lazy(() => StringFilterSchema), z.string()]).optional(), + showId: z.union([z.lazy(() => IntFilterSchema), z.number()]).optional(), + order: z.union([z.lazy(() => IntFilterSchema), z.number()]).optional(), + show: z + .union([ + z.lazy(() => ShowRelationFilterSchema), + z.lazy(() => ShowWhereInputSchema), + ]) + .optional(), + items: z.lazy(() => RundownItemListRelationFilterSchema).optional(), + assets: z.lazy(() => AssetListRelationFilterSchema).optional(), + }) + .strict(); + +export default RundownWhereInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/RundownWhereUniqueInputSchema.ts b/utility/prisma/types/inputTypeSchemas/RundownWhereUniqueInputSchema.ts new file mode 100644 index 00000000..5444a6d0 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/RundownWhereUniqueInputSchema.ts @@ -0,0 +1,57 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { RundownWhereInputSchema } from "./RundownWhereInputSchema"; +import { StringFilterSchema } from "./StringFilterSchema"; +import { IntFilterSchema } from "./IntFilterSchema"; +import { ShowRelationFilterSchema } from "./ShowRelationFilterSchema"; +import { ShowWhereInputSchema } from "./ShowWhereInputSchema"; +import { RundownItemListRelationFilterSchema } from "./RundownItemListRelationFilterSchema"; +import { AssetListRelationFilterSchema } from "./AssetListRelationFilterSchema"; + +export const RundownWhereUniqueInputSchema: z.ZodType = + z + .object({ + id: z.number(), + }) + .and( + z + .object({ + id: z.number().optional(), + AND: z + .union([ + z.lazy(() => RundownWhereInputSchema), + z.lazy(() => RundownWhereInputSchema).array(), + ]) + .optional(), + OR: z + .lazy(() => RundownWhereInputSchema) + .array() + .optional(), + NOT: z + .union([ + z.lazy(() => RundownWhereInputSchema), + z.lazy(() => RundownWhereInputSchema).array(), + ]) + .optional(), + name: z + .union([z.lazy(() => StringFilterSchema), z.string()]) + .optional(), + showId: z + .union([z.lazy(() => IntFilterSchema), z.number()]) + .optional(), + order: z + .union([z.lazy(() => IntFilterSchema), z.number()]) + .optional(), + show: z + .union([ + z.lazy(() => ShowRelationFilterSchema), + z.lazy(() => ShowWhereInputSchema), + ]) + .optional(), + items: z.lazy(() => RundownItemListRelationFilterSchema).optional(), + assets: z.lazy(() => AssetListRelationFilterSchema).optional(), + }) + .strict(), + ); + +export default RundownWhereUniqueInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/ShowAvgOrderByAggregateInputSchema.ts b/utility/prisma/types/inputTypeSchemas/ShowAvgOrderByAggregateInputSchema.ts new file mode 100644 index 00000000..ad43a6fd --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/ShowAvgOrderByAggregateInputSchema.ts @@ -0,0 +1,13 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { SortOrderSchema } from "./SortOrderSchema"; + +export const ShowAvgOrderByAggregateInputSchema: z.ZodType = + z + .object({ + id: z.lazy(() => SortOrderSchema).optional(), + version: z.lazy(() => SortOrderSchema).optional(), + }) + .strict(); + +export default ShowAvgOrderByAggregateInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/ShowCountOrderByAggregateInputSchema.ts b/utility/prisma/types/inputTypeSchemas/ShowCountOrderByAggregateInputSchema.ts new file mode 100644 index 00000000..c3d19b2b --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/ShowCountOrderByAggregateInputSchema.ts @@ -0,0 +1,15 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { SortOrderSchema } from "./SortOrderSchema"; + +export const ShowCountOrderByAggregateInputSchema: z.ZodType = + z + .object({ + id: z.lazy(() => SortOrderSchema).optional(), + name: z.lazy(() => SortOrderSchema).optional(), + start: z.lazy(() => SortOrderSchema).optional(), + version: z.lazy(() => SortOrderSchema).optional(), + }) + .strict(); + +export default ShowCountOrderByAggregateInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/ShowCreateInputSchema.ts b/utility/prisma/types/inputTypeSchemas/ShowCreateInputSchema.ts new file mode 100644 index 00000000..3922f2a4 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/ShowCreateInputSchema.ts @@ -0,0 +1,20 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { RundownCreateNestedManyWithoutShowInputSchema } from "./RundownCreateNestedManyWithoutShowInputSchema"; +import { ContinuityItemCreateNestedManyWithoutShowInputSchema } from "./ContinuityItemCreateNestedManyWithoutShowInputSchema"; + +export const ShowCreateInputSchema: z.ZodType = z + .object({ + name: z.string(), + start: z.coerce.date(), + version: z.number().int().optional(), + rundowns: z + .lazy(() => RundownCreateNestedManyWithoutShowInputSchema) + .optional(), + continuityItems: z + .lazy(() => ContinuityItemCreateNestedManyWithoutShowInputSchema) + .optional(), + }) + .strict(); + +export default ShowCreateInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/ShowCreateManyInputSchema.ts b/utility/prisma/types/inputTypeSchemas/ShowCreateManyInputSchema.ts new file mode 100644 index 00000000..0c1b66ab --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/ShowCreateManyInputSchema.ts @@ -0,0 +1,14 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; + +export const ShowCreateManyInputSchema: z.ZodType = + z + .object({ + id: z.number().int().optional(), + name: z.string(), + start: z.coerce.date(), + version: z.number().int().optional(), + }) + .strict(); + +export default ShowCreateManyInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/ShowCreateNestedOneWithoutContinuityItemsInputSchema.ts b/utility/prisma/types/inputTypeSchemas/ShowCreateNestedOneWithoutContinuityItemsInputSchema.ts new file mode 100644 index 00000000..8b8bf0d5 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/ShowCreateNestedOneWithoutContinuityItemsInputSchema.ts @@ -0,0 +1,24 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { ShowCreateWithoutContinuityItemsInputSchema } from "./ShowCreateWithoutContinuityItemsInputSchema"; +import { ShowUncheckedCreateWithoutContinuityItemsInputSchema } from "./ShowUncheckedCreateWithoutContinuityItemsInputSchema"; +import { ShowCreateOrConnectWithoutContinuityItemsInputSchema } from "./ShowCreateOrConnectWithoutContinuityItemsInputSchema"; +import { ShowWhereUniqueInputSchema } from "./ShowWhereUniqueInputSchema"; + +export const ShowCreateNestedOneWithoutContinuityItemsInputSchema: z.ZodType = + z + .object({ + create: z + .union([ + z.lazy(() => ShowCreateWithoutContinuityItemsInputSchema), + z.lazy(() => ShowUncheckedCreateWithoutContinuityItemsInputSchema), + ]) + .optional(), + connectOrCreate: z + .lazy(() => ShowCreateOrConnectWithoutContinuityItemsInputSchema) + .optional(), + connect: z.lazy(() => ShowWhereUniqueInputSchema).optional(), + }) + .strict(); + +export default ShowCreateNestedOneWithoutContinuityItemsInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/ShowCreateNestedOneWithoutRundownsInputSchema.ts b/utility/prisma/types/inputTypeSchemas/ShowCreateNestedOneWithoutRundownsInputSchema.ts new file mode 100644 index 00000000..460492d5 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/ShowCreateNestedOneWithoutRundownsInputSchema.ts @@ -0,0 +1,24 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { ShowCreateWithoutRundownsInputSchema } from "./ShowCreateWithoutRundownsInputSchema"; +import { ShowUncheckedCreateWithoutRundownsInputSchema } from "./ShowUncheckedCreateWithoutRundownsInputSchema"; +import { ShowCreateOrConnectWithoutRundownsInputSchema } from "./ShowCreateOrConnectWithoutRundownsInputSchema"; +import { ShowWhereUniqueInputSchema } from "./ShowWhereUniqueInputSchema"; + +export const ShowCreateNestedOneWithoutRundownsInputSchema: z.ZodType = + z + .object({ + create: z + .union([ + z.lazy(() => ShowCreateWithoutRundownsInputSchema), + z.lazy(() => ShowUncheckedCreateWithoutRundownsInputSchema), + ]) + .optional(), + connectOrCreate: z + .lazy(() => ShowCreateOrConnectWithoutRundownsInputSchema) + .optional(), + connect: z.lazy(() => ShowWhereUniqueInputSchema).optional(), + }) + .strict(); + +export default ShowCreateNestedOneWithoutRundownsInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/ShowCreateOrConnectWithoutContinuityItemsInputSchema.ts b/utility/prisma/types/inputTypeSchemas/ShowCreateOrConnectWithoutContinuityItemsInputSchema.ts new file mode 100644 index 00000000..47c94666 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/ShowCreateOrConnectWithoutContinuityItemsInputSchema.ts @@ -0,0 +1,18 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { ShowWhereUniqueInputSchema } from "./ShowWhereUniqueInputSchema"; +import { ShowCreateWithoutContinuityItemsInputSchema } from "./ShowCreateWithoutContinuityItemsInputSchema"; +import { ShowUncheckedCreateWithoutContinuityItemsInputSchema } from "./ShowUncheckedCreateWithoutContinuityItemsInputSchema"; + +export const ShowCreateOrConnectWithoutContinuityItemsInputSchema: z.ZodType = + z + .object({ + where: z.lazy(() => ShowWhereUniqueInputSchema), + create: z.union([ + z.lazy(() => ShowCreateWithoutContinuityItemsInputSchema), + z.lazy(() => ShowUncheckedCreateWithoutContinuityItemsInputSchema), + ]), + }) + .strict(); + +export default ShowCreateOrConnectWithoutContinuityItemsInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/ShowCreateOrConnectWithoutRundownsInputSchema.ts b/utility/prisma/types/inputTypeSchemas/ShowCreateOrConnectWithoutRundownsInputSchema.ts new file mode 100644 index 00000000..3becdad4 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/ShowCreateOrConnectWithoutRundownsInputSchema.ts @@ -0,0 +1,18 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { ShowWhereUniqueInputSchema } from "./ShowWhereUniqueInputSchema"; +import { ShowCreateWithoutRundownsInputSchema } from "./ShowCreateWithoutRundownsInputSchema"; +import { ShowUncheckedCreateWithoutRundownsInputSchema } from "./ShowUncheckedCreateWithoutRundownsInputSchema"; + +export const ShowCreateOrConnectWithoutRundownsInputSchema: z.ZodType = + z + .object({ + where: z.lazy(() => ShowWhereUniqueInputSchema), + create: z.union([ + z.lazy(() => ShowCreateWithoutRundownsInputSchema), + z.lazy(() => ShowUncheckedCreateWithoutRundownsInputSchema), + ]), + }) + .strict(); + +export default ShowCreateOrConnectWithoutRundownsInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/ShowCreateWithoutContinuityItemsInputSchema.ts b/utility/prisma/types/inputTypeSchemas/ShowCreateWithoutContinuityItemsInputSchema.ts new file mode 100644 index 00000000..2bb21d03 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/ShowCreateWithoutContinuityItemsInputSchema.ts @@ -0,0 +1,17 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { RundownCreateNestedManyWithoutShowInputSchema } from "./RundownCreateNestedManyWithoutShowInputSchema"; + +export const ShowCreateWithoutContinuityItemsInputSchema: z.ZodType = + z + .object({ + name: z.string(), + start: z.coerce.date(), + version: z.number().int().optional(), + rundowns: z + .lazy(() => RundownCreateNestedManyWithoutShowInputSchema) + .optional(), + }) + .strict(); + +export default ShowCreateWithoutContinuityItemsInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/ShowCreateWithoutRundownsInputSchema.ts b/utility/prisma/types/inputTypeSchemas/ShowCreateWithoutRundownsInputSchema.ts new file mode 100644 index 00000000..180da7ed --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/ShowCreateWithoutRundownsInputSchema.ts @@ -0,0 +1,17 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { ContinuityItemCreateNestedManyWithoutShowInputSchema } from "./ContinuityItemCreateNestedManyWithoutShowInputSchema"; + +export const ShowCreateWithoutRundownsInputSchema: z.ZodType = + z + .object({ + name: z.string(), + start: z.coerce.date(), + version: z.number().int().optional(), + continuityItems: z + .lazy(() => ContinuityItemCreateNestedManyWithoutShowInputSchema) + .optional(), + }) + .strict(); + +export default ShowCreateWithoutRundownsInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/ShowIncludeSchema.ts b/utility/prisma/types/inputTypeSchemas/ShowIncludeSchema.ts new file mode 100644 index 00000000..38351b73 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/ShowIncludeSchema.ts @@ -0,0 +1,21 @@ +import { z } from "zod"; +import type { Prisma } from "../../client"; +import { RundownFindManyArgsSchema } from "../outputTypeSchemas/RundownFindManyArgsSchema"; +import { ContinuityItemFindManyArgsSchema } from "../outputTypeSchemas/ContinuityItemFindManyArgsSchema"; +import { ShowCountOutputTypeArgsSchema } from "../outputTypeSchemas/ShowCountOutputTypeArgsSchema"; + +export const ShowIncludeSchema: z.ZodType = z + .object({ + rundowns: z + .union([z.boolean(), z.lazy(() => RundownFindManyArgsSchema)]) + .optional(), + continuityItems: z + .union([z.boolean(), z.lazy(() => ContinuityItemFindManyArgsSchema)]) + .optional(), + _count: z + .union([z.boolean(), z.lazy(() => ShowCountOutputTypeArgsSchema)]) + .optional(), + }) + .strict(); + +export default ShowIncludeSchema; diff --git a/utility/prisma/types/inputTypeSchemas/ShowMaxOrderByAggregateInputSchema.ts b/utility/prisma/types/inputTypeSchemas/ShowMaxOrderByAggregateInputSchema.ts new file mode 100644 index 00000000..4bf29329 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/ShowMaxOrderByAggregateInputSchema.ts @@ -0,0 +1,15 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { SortOrderSchema } from "./SortOrderSchema"; + +export const ShowMaxOrderByAggregateInputSchema: z.ZodType = + z + .object({ + id: z.lazy(() => SortOrderSchema).optional(), + name: z.lazy(() => SortOrderSchema).optional(), + start: z.lazy(() => SortOrderSchema).optional(), + version: z.lazy(() => SortOrderSchema).optional(), + }) + .strict(); + +export default ShowMaxOrderByAggregateInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/ShowMinOrderByAggregateInputSchema.ts b/utility/prisma/types/inputTypeSchemas/ShowMinOrderByAggregateInputSchema.ts new file mode 100644 index 00000000..07e61159 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/ShowMinOrderByAggregateInputSchema.ts @@ -0,0 +1,15 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { SortOrderSchema } from "./SortOrderSchema"; + +export const ShowMinOrderByAggregateInputSchema: z.ZodType = + z + .object({ + id: z.lazy(() => SortOrderSchema).optional(), + name: z.lazy(() => SortOrderSchema).optional(), + start: z.lazy(() => SortOrderSchema).optional(), + version: z.lazy(() => SortOrderSchema).optional(), + }) + .strict(); + +export default ShowMinOrderByAggregateInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/ShowOrderByWithAggregationInputSchema.ts b/utility/prisma/types/inputTypeSchemas/ShowOrderByWithAggregationInputSchema.ts new file mode 100644 index 00000000..5d6f0b1c --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/ShowOrderByWithAggregationInputSchema.ts @@ -0,0 +1,25 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { SortOrderSchema } from "./SortOrderSchema"; +import { ShowCountOrderByAggregateInputSchema } from "./ShowCountOrderByAggregateInputSchema"; +import { ShowAvgOrderByAggregateInputSchema } from "./ShowAvgOrderByAggregateInputSchema"; +import { ShowMaxOrderByAggregateInputSchema } from "./ShowMaxOrderByAggregateInputSchema"; +import { ShowMinOrderByAggregateInputSchema } from "./ShowMinOrderByAggregateInputSchema"; +import { ShowSumOrderByAggregateInputSchema } from "./ShowSumOrderByAggregateInputSchema"; + +export const ShowOrderByWithAggregationInputSchema: z.ZodType = + z + .object({ + id: z.lazy(() => SortOrderSchema).optional(), + name: z.lazy(() => SortOrderSchema).optional(), + start: z.lazy(() => SortOrderSchema).optional(), + version: z.lazy(() => SortOrderSchema).optional(), + _count: z.lazy(() => ShowCountOrderByAggregateInputSchema).optional(), + _avg: z.lazy(() => ShowAvgOrderByAggregateInputSchema).optional(), + _max: z.lazy(() => ShowMaxOrderByAggregateInputSchema).optional(), + _min: z.lazy(() => ShowMinOrderByAggregateInputSchema).optional(), + _sum: z.lazy(() => ShowSumOrderByAggregateInputSchema).optional(), + }) + .strict(); + +export default ShowOrderByWithAggregationInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/ShowOrderByWithRelationInputSchema.ts b/utility/prisma/types/inputTypeSchemas/ShowOrderByWithRelationInputSchema.ts new file mode 100644 index 00000000..3b4c5053 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/ShowOrderByWithRelationInputSchema.ts @@ -0,0 +1,23 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { SortOrderSchema } from "./SortOrderSchema"; +import { RundownOrderByRelationAggregateInputSchema } from "./RundownOrderByRelationAggregateInputSchema"; +import { ContinuityItemOrderByRelationAggregateInputSchema } from "./ContinuityItemOrderByRelationAggregateInputSchema"; + +export const ShowOrderByWithRelationInputSchema: z.ZodType = + z + .object({ + id: z.lazy(() => SortOrderSchema).optional(), + name: z.lazy(() => SortOrderSchema).optional(), + start: z.lazy(() => SortOrderSchema).optional(), + version: z.lazy(() => SortOrderSchema).optional(), + rundowns: z + .lazy(() => RundownOrderByRelationAggregateInputSchema) + .optional(), + continuityItems: z + .lazy(() => ContinuityItemOrderByRelationAggregateInputSchema) + .optional(), + }) + .strict(); + +export default ShowOrderByWithRelationInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/ShowRelationFilterSchema.ts b/utility/prisma/types/inputTypeSchemas/ShowRelationFilterSchema.ts new file mode 100644 index 00000000..4378f5a2 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/ShowRelationFilterSchema.ts @@ -0,0 +1,12 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { ShowWhereInputSchema } from "./ShowWhereInputSchema"; + +export const ShowRelationFilterSchema: z.ZodType = z + .object({ + is: z.lazy(() => ShowWhereInputSchema).optional(), + isNot: z.lazy(() => ShowWhereInputSchema).optional(), + }) + .strict(); + +export default ShowRelationFilterSchema; diff --git a/utility/prisma/types/inputTypeSchemas/ShowScalarWhereWithAggregatesInputSchema.ts b/utility/prisma/types/inputTypeSchemas/ShowScalarWhereWithAggregatesInputSchema.ts new file mode 100644 index 00000000..2823f31c --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/ShowScalarWhereWithAggregatesInputSchema.ts @@ -0,0 +1,44 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { IntWithAggregatesFilterSchema } from "./IntWithAggregatesFilterSchema"; +import { StringWithAggregatesFilterSchema } from "./StringWithAggregatesFilterSchema"; +import { DateTimeWithAggregatesFilterSchema } from "./DateTimeWithAggregatesFilterSchema"; + +export const ShowScalarWhereWithAggregatesInputSchema: z.ZodType = + z + .object({ + AND: z + .union([ + z.lazy(() => ShowScalarWhereWithAggregatesInputSchema), + z.lazy(() => ShowScalarWhereWithAggregatesInputSchema).array(), + ]) + .optional(), + OR: z + .lazy(() => ShowScalarWhereWithAggregatesInputSchema) + .array() + .optional(), + NOT: z + .union([ + z.lazy(() => ShowScalarWhereWithAggregatesInputSchema), + z.lazy(() => ShowScalarWhereWithAggregatesInputSchema).array(), + ]) + .optional(), + id: z + .union([z.lazy(() => IntWithAggregatesFilterSchema), z.number()]) + .optional(), + name: z + .union([z.lazy(() => StringWithAggregatesFilterSchema), z.string()]) + .optional(), + start: z + .union([ + z.lazy(() => DateTimeWithAggregatesFilterSchema), + z.coerce.date(), + ]) + .optional(), + version: z + .union([z.lazy(() => IntWithAggregatesFilterSchema), z.number()]) + .optional(), + }) + .strict(); + +export default ShowScalarWhereWithAggregatesInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/ShowSelectSchema.ts b/utility/prisma/types/inputTypeSchemas/ShowSelectSchema.ts new file mode 100644 index 00000000..20f50730 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/ShowSelectSchema.ts @@ -0,0 +1,25 @@ +import { z } from "zod"; +import type { Prisma } from "../../client"; +import { RundownFindManyArgsSchema } from "../outputTypeSchemas/RundownFindManyArgsSchema"; +import { ContinuityItemFindManyArgsSchema } from "../outputTypeSchemas/ContinuityItemFindManyArgsSchema"; +import { ShowCountOutputTypeArgsSchema } from "../outputTypeSchemas/ShowCountOutputTypeArgsSchema"; + +export const ShowSelectSchema: z.ZodType = z + .object({ + id: z.boolean().optional(), + name: z.boolean().optional(), + start: z.boolean().optional(), + version: z.boolean().optional(), + rundowns: z + .union([z.boolean(), z.lazy(() => RundownFindManyArgsSchema)]) + .optional(), + continuityItems: z + .union([z.boolean(), z.lazy(() => ContinuityItemFindManyArgsSchema)]) + .optional(), + _count: z + .union([z.boolean(), z.lazy(() => ShowCountOutputTypeArgsSchema)]) + .optional(), + }) + .strict(); + +export default ShowSelectSchema; diff --git a/utility/prisma/types/inputTypeSchemas/ShowSumOrderByAggregateInputSchema.ts b/utility/prisma/types/inputTypeSchemas/ShowSumOrderByAggregateInputSchema.ts new file mode 100644 index 00000000..73c880df --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/ShowSumOrderByAggregateInputSchema.ts @@ -0,0 +1,13 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { SortOrderSchema } from "./SortOrderSchema"; + +export const ShowSumOrderByAggregateInputSchema: z.ZodType = + z + .object({ + id: z.lazy(() => SortOrderSchema).optional(), + version: z.lazy(() => SortOrderSchema).optional(), + }) + .strict(); + +export default ShowSumOrderByAggregateInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/ShowUncheckedCreateInputSchema.ts b/utility/prisma/types/inputTypeSchemas/ShowUncheckedCreateInputSchema.ts new file mode 100644 index 00000000..da5ca8fa --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/ShowUncheckedCreateInputSchema.ts @@ -0,0 +1,24 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { RundownUncheckedCreateNestedManyWithoutShowInputSchema } from "./RundownUncheckedCreateNestedManyWithoutShowInputSchema"; +import { ContinuityItemUncheckedCreateNestedManyWithoutShowInputSchema } from "./ContinuityItemUncheckedCreateNestedManyWithoutShowInputSchema"; + +export const ShowUncheckedCreateInputSchema: z.ZodType = + z + .object({ + id: z.number().int().optional(), + name: z.string(), + start: z.coerce.date(), + version: z.number().int().optional(), + rundowns: z + .lazy(() => RundownUncheckedCreateNestedManyWithoutShowInputSchema) + .optional(), + continuityItems: z + .lazy( + () => ContinuityItemUncheckedCreateNestedManyWithoutShowInputSchema, + ) + .optional(), + }) + .strict(); + +export default ShowUncheckedCreateInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/ShowUncheckedCreateWithoutContinuityItemsInputSchema.ts b/utility/prisma/types/inputTypeSchemas/ShowUncheckedCreateWithoutContinuityItemsInputSchema.ts new file mode 100644 index 00000000..0bdf603b --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/ShowUncheckedCreateWithoutContinuityItemsInputSchema.ts @@ -0,0 +1,18 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { RundownUncheckedCreateNestedManyWithoutShowInputSchema } from "./RundownUncheckedCreateNestedManyWithoutShowInputSchema"; + +export const ShowUncheckedCreateWithoutContinuityItemsInputSchema: z.ZodType = + z + .object({ + id: z.number().int().optional(), + name: z.string(), + start: z.coerce.date(), + version: z.number().int().optional(), + rundowns: z + .lazy(() => RundownUncheckedCreateNestedManyWithoutShowInputSchema) + .optional(), + }) + .strict(); + +export default ShowUncheckedCreateWithoutContinuityItemsInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/ShowUncheckedCreateWithoutRundownsInputSchema.ts b/utility/prisma/types/inputTypeSchemas/ShowUncheckedCreateWithoutRundownsInputSchema.ts new file mode 100644 index 00000000..b16c4d7c --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/ShowUncheckedCreateWithoutRundownsInputSchema.ts @@ -0,0 +1,20 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { ContinuityItemUncheckedCreateNestedManyWithoutShowInputSchema } from "./ContinuityItemUncheckedCreateNestedManyWithoutShowInputSchema"; + +export const ShowUncheckedCreateWithoutRundownsInputSchema: z.ZodType = + z + .object({ + id: z.number().int().optional(), + name: z.string(), + start: z.coerce.date(), + version: z.number().int().optional(), + continuityItems: z + .lazy( + () => ContinuityItemUncheckedCreateNestedManyWithoutShowInputSchema, + ) + .optional(), + }) + .strict(); + +export default ShowUncheckedCreateWithoutRundownsInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/ShowUncheckedUpdateInputSchema.ts b/utility/prisma/types/inputTypeSchemas/ShowUncheckedUpdateInputSchema.ts new file mode 100644 index 00000000..878ba2fc --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/ShowUncheckedUpdateInputSchema.ts @@ -0,0 +1,47 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { IntFieldUpdateOperationsInputSchema } from "./IntFieldUpdateOperationsInputSchema"; +import { StringFieldUpdateOperationsInputSchema } from "./StringFieldUpdateOperationsInputSchema"; +import { DateTimeFieldUpdateOperationsInputSchema } from "./DateTimeFieldUpdateOperationsInputSchema"; +import { RundownUncheckedUpdateManyWithoutShowNestedInputSchema } from "./RundownUncheckedUpdateManyWithoutShowNestedInputSchema"; +import { ContinuityItemUncheckedUpdateManyWithoutShowNestedInputSchema } from "./ContinuityItemUncheckedUpdateManyWithoutShowNestedInputSchema"; + +export const ShowUncheckedUpdateInputSchema: z.ZodType = + z + .object({ + id: z + .union([ + z.number().int(), + z.lazy(() => IntFieldUpdateOperationsInputSchema), + ]) + .optional(), + name: z + .union([ + z.string(), + z.lazy(() => StringFieldUpdateOperationsInputSchema), + ]) + .optional(), + start: z + .union([ + z.coerce.date(), + z.lazy(() => DateTimeFieldUpdateOperationsInputSchema), + ]) + .optional(), + version: z + .union([ + z.number().int(), + z.lazy(() => IntFieldUpdateOperationsInputSchema), + ]) + .optional(), + rundowns: z + .lazy(() => RundownUncheckedUpdateManyWithoutShowNestedInputSchema) + .optional(), + continuityItems: z + .lazy( + () => ContinuityItemUncheckedUpdateManyWithoutShowNestedInputSchema, + ) + .optional(), + }) + .strict(); + +export default ShowUncheckedUpdateInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/ShowUncheckedUpdateManyInputSchema.ts b/utility/prisma/types/inputTypeSchemas/ShowUncheckedUpdateManyInputSchema.ts new file mode 100644 index 00000000..e6e8c2e2 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/ShowUncheckedUpdateManyInputSchema.ts @@ -0,0 +1,37 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { IntFieldUpdateOperationsInputSchema } from "./IntFieldUpdateOperationsInputSchema"; +import { StringFieldUpdateOperationsInputSchema } from "./StringFieldUpdateOperationsInputSchema"; +import { DateTimeFieldUpdateOperationsInputSchema } from "./DateTimeFieldUpdateOperationsInputSchema"; + +export const ShowUncheckedUpdateManyInputSchema: z.ZodType = + z + .object({ + id: z + .union([ + z.number().int(), + z.lazy(() => IntFieldUpdateOperationsInputSchema), + ]) + .optional(), + name: z + .union([ + z.string(), + z.lazy(() => StringFieldUpdateOperationsInputSchema), + ]) + .optional(), + start: z + .union([ + z.coerce.date(), + z.lazy(() => DateTimeFieldUpdateOperationsInputSchema), + ]) + .optional(), + version: z + .union([ + z.number().int(), + z.lazy(() => IntFieldUpdateOperationsInputSchema), + ]) + .optional(), + }) + .strict(); + +export default ShowUncheckedUpdateManyInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/ShowUncheckedUpdateWithoutContinuityItemsInputSchema.ts b/utility/prisma/types/inputTypeSchemas/ShowUncheckedUpdateWithoutContinuityItemsInputSchema.ts new file mode 100644 index 00000000..1868605b --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/ShowUncheckedUpdateWithoutContinuityItemsInputSchema.ts @@ -0,0 +1,41 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { IntFieldUpdateOperationsInputSchema } from "./IntFieldUpdateOperationsInputSchema"; +import { StringFieldUpdateOperationsInputSchema } from "./StringFieldUpdateOperationsInputSchema"; +import { DateTimeFieldUpdateOperationsInputSchema } from "./DateTimeFieldUpdateOperationsInputSchema"; +import { RundownUncheckedUpdateManyWithoutShowNestedInputSchema } from "./RundownUncheckedUpdateManyWithoutShowNestedInputSchema"; + +export const ShowUncheckedUpdateWithoutContinuityItemsInputSchema: z.ZodType = + z + .object({ + id: z + .union([ + z.number().int(), + z.lazy(() => IntFieldUpdateOperationsInputSchema), + ]) + .optional(), + name: z + .union([ + z.string(), + z.lazy(() => StringFieldUpdateOperationsInputSchema), + ]) + .optional(), + start: z + .union([ + z.coerce.date(), + z.lazy(() => DateTimeFieldUpdateOperationsInputSchema), + ]) + .optional(), + version: z + .union([ + z.number().int(), + z.lazy(() => IntFieldUpdateOperationsInputSchema), + ]) + .optional(), + rundowns: z + .lazy(() => RundownUncheckedUpdateManyWithoutShowNestedInputSchema) + .optional(), + }) + .strict(); + +export default ShowUncheckedUpdateWithoutContinuityItemsInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/ShowUncheckedUpdateWithoutRundownsInputSchema.ts b/utility/prisma/types/inputTypeSchemas/ShowUncheckedUpdateWithoutRundownsInputSchema.ts new file mode 100644 index 00000000..fa4a92ae --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/ShowUncheckedUpdateWithoutRundownsInputSchema.ts @@ -0,0 +1,43 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { IntFieldUpdateOperationsInputSchema } from "./IntFieldUpdateOperationsInputSchema"; +import { StringFieldUpdateOperationsInputSchema } from "./StringFieldUpdateOperationsInputSchema"; +import { DateTimeFieldUpdateOperationsInputSchema } from "./DateTimeFieldUpdateOperationsInputSchema"; +import { ContinuityItemUncheckedUpdateManyWithoutShowNestedInputSchema } from "./ContinuityItemUncheckedUpdateManyWithoutShowNestedInputSchema"; + +export const ShowUncheckedUpdateWithoutRundownsInputSchema: z.ZodType = + z + .object({ + id: z + .union([ + z.number().int(), + z.lazy(() => IntFieldUpdateOperationsInputSchema), + ]) + .optional(), + name: z + .union([ + z.string(), + z.lazy(() => StringFieldUpdateOperationsInputSchema), + ]) + .optional(), + start: z + .union([ + z.coerce.date(), + z.lazy(() => DateTimeFieldUpdateOperationsInputSchema), + ]) + .optional(), + version: z + .union([ + z.number().int(), + z.lazy(() => IntFieldUpdateOperationsInputSchema), + ]) + .optional(), + continuityItems: z + .lazy( + () => ContinuityItemUncheckedUpdateManyWithoutShowNestedInputSchema, + ) + .optional(), + }) + .strict(); + +export default ShowUncheckedUpdateWithoutRundownsInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/ShowUpdateInputSchema.ts b/utility/prisma/types/inputTypeSchemas/ShowUpdateInputSchema.ts new file mode 100644 index 00000000..d14a6eae --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/ShowUpdateInputSchema.ts @@ -0,0 +1,35 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { StringFieldUpdateOperationsInputSchema } from "./StringFieldUpdateOperationsInputSchema"; +import { DateTimeFieldUpdateOperationsInputSchema } from "./DateTimeFieldUpdateOperationsInputSchema"; +import { IntFieldUpdateOperationsInputSchema } from "./IntFieldUpdateOperationsInputSchema"; +import { RundownUpdateManyWithoutShowNestedInputSchema } from "./RundownUpdateManyWithoutShowNestedInputSchema"; +import { ContinuityItemUpdateManyWithoutShowNestedInputSchema } from "./ContinuityItemUpdateManyWithoutShowNestedInputSchema"; + +export const ShowUpdateInputSchema: z.ZodType = z + .object({ + name: z + .union([z.string(), z.lazy(() => StringFieldUpdateOperationsInputSchema)]) + .optional(), + start: z + .union([ + z.coerce.date(), + z.lazy(() => DateTimeFieldUpdateOperationsInputSchema), + ]) + .optional(), + version: z + .union([ + z.number().int(), + z.lazy(() => IntFieldUpdateOperationsInputSchema), + ]) + .optional(), + rundowns: z + .lazy(() => RundownUpdateManyWithoutShowNestedInputSchema) + .optional(), + continuityItems: z + .lazy(() => ContinuityItemUpdateManyWithoutShowNestedInputSchema) + .optional(), + }) + .strict(); + +export default ShowUpdateInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/ShowUpdateManyMutationInputSchema.ts b/utility/prisma/types/inputTypeSchemas/ShowUpdateManyMutationInputSchema.ts new file mode 100644 index 00000000..fa6a05db --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/ShowUpdateManyMutationInputSchema.ts @@ -0,0 +1,31 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { StringFieldUpdateOperationsInputSchema } from "./StringFieldUpdateOperationsInputSchema"; +import { DateTimeFieldUpdateOperationsInputSchema } from "./DateTimeFieldUpdateOperationsInputSchema"; +import { IntFieldUpdateOperationsInputSchema } from "./IntFieldUpdateOperationsInputSchema"; + +export const ShowUpdateManyMutationInputSchema: z.ZodType = + z + .object({ + name: z + .union([ + z.string(), + z.lazy(() => StringFieldUpdateOperationsInputSchema), + ]) + .optional(), + start: z + .union([ + z.coerce.date(), + z.lazy(() => DateTimeFieldUpdateOperationsInputSchema), + ]) + .optional(), + version: z + .union([ + z.number().int(), + z.lazy(() => IntFieldUpdateOperationsInputSchema), + ]) + .optional(), + }) + .strict(); + +export default ShowUpdateManyMutationInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/ShowUpdateOneRequiredWithoutContinuityItemsNestedInputSchema.ts b/utility/prisma/types/inputTypeSchemas/ShowUpdateOneRequiredWithoutContinuityItemsNestedInputSchema.ts new file mode 100644 index 00000000..74d85e5b --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/ShowUpdateOneRequiredWithoutContinuityItemsNestedInputSchema.ts @@ -0,0 +1,40 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { ShowCreateWithoutContinuityItemsInputSchema } from "./ShowCreateWithoutContinuityItemsInputSchema"; +import { ShowUncheckedCreateWithoutContinuityItemsInputSchema } from "./ShowUncheckedCreateWithoutContinuityItemsInputSchema"; +import { ShowCreateOrConnectWithoutContinuityItemsInputSchema } from "./ShowCreateOrConnectWithoutContinuityItemsInputSchema"; +import { ShowUpsertWithoutContinuityItemsInputSchema } from "./ShowUpsertWithoutContinuityItemsInputSchema"; +import { ShowWhereUniqueInputSchema } from "./ShowWhereUniqueInputSchema"; +import { ShowUpdateToOneWithWhereWithoutContinuityItemsInputSchema } from "./ShowUpdateToOneWithWhereWithoutContinuityItemsInputSchema"; +import { ShowUpdateWithoutContinuityItemsInputSchema } from "./ShowUpdateWithoutContinuityItemsInputSchema"; +import { ShowUncheckedUpdateWithoutContinuityItemsInputSchema } from "./ShowUncheckedUpdateWithoutContinuityItemsInputSchema"; + +export const ShowUpdateOneRequiredWithoutContinuityItemsNestedInputSchema: z.ZodType = + z + .object({ + create: z + .union([ + z.lazy(() => ShowCreateWithoutContinuityItemsInputSchema), + z.lazy(() => ShowUncheckedCreateWithoutContinuityItemsInputSchema), + ]) + .optional(), + connectOrCreate: z + .lazy(() => ShowCreateOrConnectWithoutContinuityItemsInputSchema) + .optional(), + upsert: z + .lazy(() => ShowUpsertWithoutContinuityItemsInputSchema) + .optional(), + connect: z.lazy(() => ShowWhereUniqueInputSchema).optional(), + update: z + .union([ + z.lazy( + () => ShowUpdateToOneWithWhereWithoutContinuityItemsInputSchema, + ), + z.lazy(() => ShowUpdateWithoutContinuityItemsInputSchema), + z.lazy(() => ShowUncheckedUpdateWithoutContinuityItemsInputSchema), + ]) + .optional(), + }) + .strict(); + +export default ShowUpdateOneRequiredWithoutContinuityItemsNestedInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/ShowUpdateOneRequiredWithoutRundownsNestedInputSchema.ts b/utility/prisma/types/inputTypeSchemas/ShowUpdateOneRequiredWithoutRundownsNestedInputSchema.ts new file mode 100644 index 00000000..3c155a69 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/ShowUpdateOneRequiredWithoutRundownsNestedInputSchema.ts @@ -0,0 +1,36 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { ShowCreateWithoutRundownsInputSchema } from "./ShowCreateWithoutRundownsInputSchema"; +import { ShowUncheckedCreateWithoutRundownsInputSchema } from "./ShowUncheckedCreateWithoutRundownsInputSchema"; +import { ShowCreateOrConnectWithoutRundownsInputSchema } from "./ShowCreateOrConnectWithoutRundownsInputSchema"; +import { ShowUpsertWithoutRundownsInputSchema } from "./ShowUpsertWithoutRundownsInputSchema"; +import { ShowWhereUniqueInputSchema } from "./ShowWhereUniqueInputSchema"; +import { ShowUpdateToOneWithWhereWithoutRundownsInputSchema } from "./ShowUpdateToOneWithWhereWithoutRundownsInputSchema"; +import { ShowUpdateWithoutRundownsInputSchema } from "./ShowUpdateWithoutRundownsInputSchema"; +import { ShowUncheckedUpdateWithoutRundownsInputSchema } from "./ShowUncheckedUpdateWithoutRundownsInputSchema"; + +export const ShowUpdateOneRequiredWithoutRundownsNestedInputSchema: z.ZodType = + z + .object({ + create: z + .union([ + z.lazy(() => ShowCreateWithoutRundownsInputSchema), + z.lazy(() => ShowUncheckedCreateWithoutRundownsInputSchema), + ]) + .optional(), + connectOrCreate: z + .lazy(() => ShowCreateOrConnectWithoutRundownsInputSchema) + .optional(), + upsert: z.lazy(() => ShowUpsertWithoutRundownsInputSchema).optional(), + connect: z.lazy(() => ShowWhereUniqueInputSchema).optional(), + update: z + .union([ + z.lazy(() => ShowUpdateToOneWithWhereWithoutRundownsInputSchema), + z.lazy(() => ShowUpdateWithoutRundownsInputSchema), + z.lazy(() => ShowUncheckedUpdateWithoutRundownsInputSchema), + ]) + .optional(), + }) + .strict(); + +export default ShowUpdateOneRequiredWithoutRundownsNestedInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/ShowUpdateToOneWithWhereWithoutContinuityItemsInputSchema.ts b/utility/prisma/types/inputTypeSchemas/ShowUpdateToOneWithWhereWithoutContinuityItemsInputSchema.ts new file mode 100644 index 00000000..2a71af0e --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/ShowUpdateToOneWithWhereWithoutContinuityItemsInputSchema.ts @@ -0,0 +1,18 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { ShowWhereInputSchema } from "./ShowWhereInputSchema"; +import { ShowUpdateWithoutContinuityItemsInputSchema } from "./ShowUpdateWithoutContinuityItemsInputSchema"; +import { ShowUncheckedUpdateWithoutContinuityItemsInputSchema } from "./ShowUncheckedUpdateWithoutContinuityItemsInputSchema"; + +export const ShowUpdateToOneWithWhereWithoutContinuityItemsInputSchema: z.ZodType = + z + .object({ + where: z.lazy(() => ShowWhereInputSchema).optional(), + data: z.union([ + z.lazy(() => ShowUpdateWithoutContinuityItemsInputSchema), + z.lazy(() => ShowUncheckedUpdateWithoutContinuityItemsInputSchema), + ]), + }) + .strict(); + +export default ShowUpdateToOneWithWhereWithoutContinuityItemsInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/ShowUpdateToOneWithWhereWithoutRundownsInputSchema.ts b/utility/prisma/types/inputTypeSchemas/ShowUpdateToOneWithWhereWithoutRundownsInputSchema.ts new file mode 100644 index 00000000..2cf21065 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/ShowUpdateToOneWithWhereWithoutRundownsInputSchema.ts @@ -0,0 +1,18 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { ShowWhereInputSchema } from "./ShowWhereInputSchema"; +import { ShowUpdateWithoutRundownsInputSchema } from "./ShowUpdateWithoutRundownsInputSchema"; +import { ShowUncheckedUpdateWithoutRundownsInputSchema } from "./ShowUncheckedUpdateWithoutRundownsInputSchema"; + +export const ShowUpdateToOneWithWhereWithoutRundownsInputSchema: z.ZodType = + z + .object({ + where: z.lazy(() => ShowWhereInputSchema).optional(), + data: z.union([ + z.lazy(() => ShowUpdateWithoutRundownsInputSchema), + z.lazy(() => ShowUncheckedUpdateWithoutRundownsInputSchema), + ]), + }) + .strict(); + +export default ShowUpdateToOneWithWhereWithoutRundownsInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/ShowUpdateWithoutContinuityItemsInputSchema.ts b/utility/prisma/types/inputTypeSchemas/ShowUpdateWithoutContinuityItemsInputSchema.ts new file mode 100644 index 00000000..70c13b22 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/ShowUpdateWithoutContinuityItemsInputSchema.ts @@ -0,0 +1,35 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { StringFieldUpdateOperationsInputSchema } from "./StringFieldUpdateOperationsInputSchema"; +import { DateTimeFieldUpdateOperationsInputSchema } from "./DateTimeFieldUpdateOperationsInputSchema"; +import { IntFieldUpdateOperationsInputSchema } from "./IntFieldUpdateOperationsInputSchema"; +import { RundownUpdateManyWithoutShowNestedInputSchema } from "./RundownUpdateManyWithoutShowNestedInputSchema"; + +export const ShowUpdateWithoutContinuityItemsInputSchema: z.ZodType = + z + .object({ + name: z + .union([ + z.string(), + z.lazy(() => StringFieldUpdateOperationsInputSchema), + ]) + .optional(), + start: z + .union([ + z.coerce.date(), + z.lazy(() => DateTimeFieldUpdateOperationsInputSchema), + ]) + .optional(), + version: z + .union([ + z.number().int(), + z.lazy(() => IntFieldUpdateOperationsInputSchema), + ]) + .optional(), + rundowns: z + .lazy(() => RundownUpdateManyWithoutShowNestedInputSchema) + .optional(), + }) + .strict(); + +export default ShowUpdateWithoutContinuityItemsInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/ShowUpdateWithoutRundownsInputSchema.ts b/utility/prisma/types/inputTypeSchemas/ShowUpdateWithoutRundownsInputSchema.ts new file mode 100644 index 00000000..227e4df6 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/ShowUpdateWithoutRundownsInputSchema.ts @@ -0,0 +1,35 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { StringFieldUpdateOperationsInputSchema } from "./StringFieldUpdateOperationsInputSchema"; +import { DateTimeFieldUpdateOperationsInputSchema } from "./DateTimeFieldUpdateOperationsInputSchema"; +import { IntFieldUpdateOperationsInputSchema } from "./IntFieldUpdateOperationsInputSchema"; +import { ContinuityItemUpdateManyWithoutShowNestedInputSchema } from "./ContinuityItemUpdateManyWithoutShowNestedInputSchema"; + +export const ShowUpdateWithoutRundownsInputSchema: z.ZodType = + z + .object({ + name: z + .union([ + z.string(), + z.lazy(() => StringFieldUpdateOperationsInputSchema), + ]) + .optional(), + start: z + .union([ + z.coerce.date(), + z.lazy(() => DateTimeFieldUpdateOperationsInputSchema), + ]) + .optional(), + version: z + .union([ + z.number().int(), + z.lazy(() => IntFieldUpdateOperationsInputSchema), + ]) + .optional(), + continuityItems: z + .lazy(() => ContinuityItemUpdateManyWithoutShowNestedInputSchema) + .optional(), + }) + .strict(); + +export default ShowUpdateWithoutRundownsInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/ShowUpsertWithoutContinuityItemsInputSchema.ts b/utility/prisma/types/inputTypeSchemas/ShowUpsertWithoutContinuityItemsInputSchema.ts new file mode 100644 index 00000000..6400e38b --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/ShowUpsertWithoutContinuityItemsInputSchema.ts @@ -0,0 +1,24 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { ShowUpdateWithoutContinuityItemsInputSchema } from "./ShowUpdateWithoutContinuityItemsInputSchema"; +import { ShowUncheckedUpdateWithoutContinuityItemsInputSchema } from "./ShowUncheckedUpdateWithoutContinuityItemsInputSchema"; +import { ShowCreateWithoutContinuityItemsInputSchema } from "./ShowCreateWithoutContinuityItemsInputSchema"; +import { ShowUncheckedCreateWithoutContinuityItemsInputSchema } from "./ShowUncheckedCreateWithoutContinuityItemsInputSchema"; +import { ShowWhereInputSchema } from "./ShowWhereInputSchema"; + +export const ShowUpsertWithoutContinuityItemsInputSchema: z.ZodType = + z + .object({ + update: z.union([ + z.lazy(() => ShowUpdateWithoutContinuityItemsInputSchema), + z.lazy(() => ShowUncheckedUpdateWithoutContinuityItemsInputSchema), + ]), + create: z.union([ + z.lazy(() => ShowCreateWithoutContinuityItemsInputSchema), + z.lazy(() => ShowUncheckedCreateWithoutContinuityItemsInputSchema), + ]), + where: z.lazy(() => ShowWhereInputSchema).optional(), + }) + .strict(); + +export default ShowUpsertWithoutContinuityItemsInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/ShowUpsertWithoutRundownsInputSchema.ts b/utility/prisma/types/inputTypeSchemas/ShowUpsertWithoutRundownsInputSchema.ts new file mode 100644 index 00000000..2adedb7a --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/ShowUpsertWithoutRundownsInputSchema.ts @@ -0,0 +1,24 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { ShowUpdateWithoutRundownsInputSchema } from "./ShowUpdateWithoutRundownsInputSchema"; +import { ShowUncheckedUpdateWithoutRundownsInputSchema } from "./ShowUncheckedUpdateWithoutRundownsInputSchema"; +import { ShowCreateWithoutRundownsInputSchema } from "./ShowCreateWithoutRundownsInputSchema"; +import { ShowUncheckedCreateWithoutRundownsInputSchema } from "./ShowUncheckedCreateWithoutRundownsInputSchema"; +import { ShowWhereInputSchema } from "./ShowWhereInputSchema"; + +export const ShowUpsertWithoutRundownsInputSchema: z.ZodType = + z + .object({ + update: z.union([ + z.lazy(() => ShowUpdateWithoutRundownsInputSchema), + z.lazy(() => ShowUncheckedUpdateWithoutRundownsInputSchema), + ]), + create: z.union([ + z.lazy(() => ShowCreateWithoutRundownsInputSchema), + z.lazy(() => ShowUncheckedCreateWithoutRundownsInputSchema), + ]), + where: z.lazy(() => ShowWhereInputSchema).optional(), + }) + .strict(); + +export default ShowUpsertWithoutRundownsInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/ShowWhereInputSchema.ts b/utility/prisma/types/inputTypeSchemas/ShowWhereInputSchema.ts new file mode 100644 index 00000000..f1a6d94b --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/ShowWhereInputSchema.ts @@ -0,0 +1,40 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { IntFilterSchema } from "./IntFilterSchema"; +import { StringFilterSchema } from "./StringFilterSchema"; +import { DateTimeFilterSchema } from "./DateTimeFilterSchema"; +import { RundownListRelationFilterSchema } from "./RundownListRelationFilterSchema"; +import { ContinuityItemListRelationFilterSchema } from "./ContinuityItemListRelationFilterSchema"; + +export const ShowWhereInputSchema: z.ZodType = z + .object({ + AND: z + .union([ + z.lazy(() => ShowWhereInputSchema), + z.lazy(() => ShowWhereInputSchema).array(), + ]) + .optional(), + OR: z + .lazy(() => ShowWhereInputSchema) + .array() + .optional(), + NOT: z + .union([ + z.lazy(() => ShowWhereInputSchema), + z.lazy(() => ShowWhereInputSchema).array(), + ]) + .optional(), + id: z.union([z.lazy(() => IntFilterSchema), z.number()]).optional(), + name: z.union([z.lazy(() => StringFilterSchema), z.string()]).optional(), + start: z + .union([z.lazy(() => DateTimeFilterSchema), z.coerce.date()]) + .optional(), + version: z.union([z.lazy(() => IntFilterSchema), z.number()]).optional(), + rundowns: z.lazy(() => RundownListRelationFilterSchema).optional(), + continuityItems: z + .lazy(() => ContinuityItemListRelationFilterSchema) + .optional(), + }) + .strict(); + +export default ShowWhereInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/ShowWhereUniqueInputSchema.ts b/utility/prisma/types/inputTypeSchemas/ShowWhereUniqueInputSchema.ts new file mode 100644 index 00000000..8c27c0fb --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/ShowWhereUniqueInputSchema.ts @@ -0,0 +1,52 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { ShowWhereInputSchema } from "./ShowWhereInputSchema"; +import { StringFilterSchema } from "./StringFilterSchema"; +import { DateTimeFilterSchema } from "./DateTimeFilterSchema"; +import { IntFilterSchema } from "./IntFilterSchema"; +import { RundownListRelationFilterSchema } from "./RundownListRelationFilterSchema"; +import { ContinuityItemListRelationFilterSchema } from "./ContinuityItemListRelationFilterSchema"; + +export const ShowWhereUniqueInputSchema: z.ZodType = + z + .object({ + id: z.number(), + }) + .and( + z + .object({ + id: z.number().optional(), + AND: z + .union([ + z.lazy(() => ShowWhereInputSchema), + z.lazy(() => ShowWhereInputSchema).array(), + ]) + .optional(), + OR: z + .lazy(() => ShowWhereInputSchema) + .array() + .optional(), + NOT: z + .union([ + z.lazy(() => ShowWhereInputSchema), + z.lazy(() => ShowWhereInputSchema).array(), + ]) + .optional(), + name: z + .union([z.lazy(() => StringFilterSchema), z.string()]) + .optional(), + start: z + .union([z.lazy(() => DateTimeFilterSchema), z.coerce.date()]) + .optional(), + version: z + .union([z.lazy(() => IntFilterSchema), z.number()]) + .optional(), + rundowns: z.lazy(() => RundownListRelationFilterSchema).optional(), + continuityItems: z + .lazy(() => ContinuityItemListRelationFilterSchema) + .optional(), + }) + .strict(), + ); + +export default ShowWhereUniqueInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/SortOrderInputSchema.ts b/utility/prisma/types/inputTypeSchemas/SortOrderInputSchema.ts new file mode 100644 index 00000000..74aa6174 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/SortOrderInputSchema.ts @@ -0,0 +1,13 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { SortOrderSchema } from "./SortOrderSchema"; +import { NullsOrderSchema } from "./NullsOrderSchema"; + +export const SortOrderInputSchema: z.ZodType = z + .object({ + sort: z.lazy(() => SortOrderSchema), + nulls: z.lazy(() => NullsOrderSchema).optional(), + }) + .strict(); + +export default SortOrderInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/StringFieldUpdateOperationsInputSchema.ts b/utility/prisma/types/inputTypeSchemas/StringFieldUpdateOperationsInputSchema.ts new file mode 100644 index 00000000..69675df6 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/StringFieldUpdateOperationsInputSchema.ts @@ -0,0 +1,11 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; + +export const StringFieldUpdateOperationsInputSchema: z.ZodType = + z + .object({ + set: z.string().optional(), + }) + .strict(); + +export default StringFieldUpdateOperationsInputSchema; diff --git a/utility/prisma/types/inputTypeSchemas/StringFilterSchema.ts b/utility/prisma/types/inputTypeSchemas/StringFilterSchema.ts new file mode 100644 index 00000000..a58dd5b4 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/StringFilterSchema.ts @@ -0,0 +1,25 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { QueryModeSchema } from "./QueryModeSchema"; +import { NestedStringFilterSchema } from "./NestedStringFilterSchema"; + +export const StringFilterSchema: z.ZodType = z + .object({ + equals: z.string().optional(), + in: z.string().array().optional(), + notIn: z.string().array().optional(), + lt: z.string().optional(), + lte: z.string().optional(), + gt: z.string().optional(), + gte: z.string().optional(), + contains: z.string().optional(), + startsWith: z.string().optional(), + endsWith: z.string().optional(), + mode: z.lazy(() => QueryModeSchema).optional(), + not: z + .union([z.string(), z.lazy(() => NestedStringFilterSchema)]) + .optional(), + }) + .strict(); + +export default StringFilterSchema; diff --git a/utility/prisma/types/inputTypeSchemas/StringNullableFilterSchema.ts b/utility/prisma/types/inputTypeSchemas/StringNullableFilterSchema.ts new file mode 100644 index 00000000..add1d046 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/StringNullableFilterSchema.ts @@ -0,0 +1,27 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { QueryModeSchema } from "./QueryModeSchema"; +import { NestedStringNullableFilterSchema } from "./NestedStringNullableFilterSchema"; + +export const StringNullableFilterSchema: z.ZodType = + z + .object({ + equals: z.string().optional().nullable(), + in: z.string().array().optional().nullable(), + notIn: z.string().array().optional().nullable(), + lt: z.string().optional(), + lte: z.string().optional(), + gt: z.string().optional(), + gte: z.string().optional(), + contains: z.string().optional(), + startsWith: z.string().optional(), + endsWith: z.string().optional(), + mode: z.lazy(() => QueryModeSchema).optional(), + not: z + .union([z.string(), z.lazy(() => NestedStringNullableFilterSchema)]) + .optional() + .nullable(), + }) + .strict(); + +export default StringNullableFilterSchema; diff --git a/utility/prisma/types/inputTypeSchemas/StringNullableWithAggregatesFilterSchema.ts b/utility/prisma/types/inputTypeSchemas/StringNullableWithAggregatesFilterSchema.ts new file mode 100644 index 00000000..5ce08306 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/StringNullableWithAggregatesFilterSchema.ts @@ -0,0 +1,35 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { QueryModeSchema } from "./QueryModeSchema"; +import { NestedStringNullableWithAggregatesFilterSchema } from "./NestedStringNullableWithAggregatesFilterSchema"; +import { NestedIntNullableFilterSchema } from "./NestedIntNullableFilterSchema"; +import { NestedStringNullableFilterSchema } from "./NestedStringNullableFilterSchema"; + +export const StringNullableWithAggregatesFilterSchema: z.ZodType = + z + .object({ + equals: z.string().optional().nullable(), + in: z.string().array().optional().nullable(), + notIn: z.string().array().optional().nullable(), + lt: z.string().optional(), + lte: z.string().optional(), + gt: z.string().optional(), + gte: z.string().optional(), + contains: z.string().optional(), + startsWith: z.string().optional(), + endsWith: z.string().optional(), + mode: z.lazy(() => QueryModeSchema).optional(), + not: z + .union([ + z.string(), + z.lazy(() => NestedStringNullableWithAggregatesFilterSchema), + ]) + .optional() + .nullable(), + _count: z.lazy(() => NestedIntNullableFilterSchema).optional(), + _min: z.lazy(() => NestedStringNullableFilterSchema).optional(), + _max: z.lazy(() => NestedStringNullableFilterSchema).optional(), + }) + .strict(); + +export default StringNullableWithAggregatesFilterSchema; diff --git a/utility/prisma/types/inputTypeSchemas/StringWithAggregatesFilterSchema.ts b/utility/prisma/types/inputTypeSchemas/StringWithAggregatesFilterSchema.ts new file mode 100644 index 00000000..e561aea5 --- /dev/null +++ b/utility/prisma/types/inputTypeSchemas/StringWithAggregatesFilterSchema.ts @@ -0,0 +1,34 @@ +import type { Prisma } from "../../client"; +import { z } from "zod"; +import { QueryModeSchema } from "./QueryModeSchema"; +import { NestedStringWithAggregatesFilterSchema } from "./NestedStringWithAggregatesFilterSchema"; +import { NestedIntFilterSchema } from "./NestedIntFilterSchema"; +import { NestedStringFilterSchema } from "./NestedStringFilterSchema"; + +export const StringWithAggregatesFilterSchema: z.ZodType = + z + .object({ + equals: z.string().optional(), + in: z.string().array().optional(), + notIn: z.string().array().optional(), + lt: z.string().optional(), + lte: z.string().optional(), + gt: z.string().optional(), + gte: z.string().optional(), + contains: z.string().optional(), + startsWith: z.string().optional(), + endsWith: z.string().optional(), + mode: z.lazy(() => QueryModeSchema).optional(), + not: z + .union([ + z.string(), + z.lazy(() => NestedStringWithAggregatesFilterSchema), + ]) + .optional(), + _count: z.lazy(() => NestedIntFilterSchema).optional(), + _min: z.lazy(() => NestedStringFilterSchema).optional(), + _max: z.lazy(() => NestedStringFilterSchema).optional(), + }) + .strict(); + +export default StringWithAggregatesFilterSchema; diff --git a/utility/prisma/types/inputTypeSchemas/index.ts b/utility/prisma/types/inputTypeSchemas/index.ts index d36f2669..6f7246e1 100644 --- a/utility/prisma/types/inputTypeSchemas/index.ts +++ b/utility/prisma/types/inputTypeSchemas/index.ts @@ -1,21 +1,599 @@ -export { TransactionIsolationLevelSchema } from './TransactionIsolationLevelSchema'; -export { ShowScalarFieldEnumSchema } from './ShowScalarFieldEnumSchema'; -export { RundownScalarFieldEnumSchema } from './RundownScalarFieldEnumSchema'; -export { RundownItemScalarFieldEnumSchema } from './RundownItemScalarFieldEnumSchema'; -export { ContinuityItemScalarFieldEnumSchema } from './ContinuityItemScalarFieldEnumSchema'; -export { AssetScalarFieldEnumSchema } from './AssetScalarFieldEnumSchema'; -export { MediaScalarFieldEnumSchema } from './MediaScalarFieldEnumSchema'; -export { MediaProcessingTaskScalarFieldEnumSchema } from './MediaProcessingTaskScalarFieldEnumSchema'; -export { BaseJobScalarFieldEnumSchema } from './BaseJobScalarFieldEnumSchema'; -export { ProcessMediaJobScalarFieldEnumSchema } from './ProcessMediaJobScalarFieldEnumSchema'; -export { LoadAssetJobScalarFieldEnumSchema } from './LoadAssetJobScalarFieldEnumSchema'; -export { DummyTestJobScalarFieldEnumSchema } from './DummyTestJobScalarFieldEnumSchema'; -export { SortOrderSchema } from './SortOrderSchema'; -export { QueryModeSchema } from './QueryModeSchema'; -export { NullsOrderSchema } from './NullsOrderSchema'; -export { RundownItemTypeSchema } from './RundownItemTypeSchema'; -export { MediaStateSchema } from './MediaStateSchema'; -export { AssetTypeSchema } from './AssetTypeSchema'; -export { MediaProcessingTaskStateSchema } from './MediaProcessingTaskStateSchema'; -export { JobStateSchema } from './JobStateSchema'; -export { MediaFileSourceTypeSchema } from './MediaFileSourceTypeSchema'; +export { ShowWhereInputSchema } from "./ShowWhereInputSchema"; +export { ShowOrderByWithRelationInputSchema } from "./ShowOrderByWithRelationInputSchema"; +export { ShowWhereUniqueInputSchema } from "./ShowWhereUniqueInputSchema"; +export { ShowOrderByWithAggregationInputSchema } from "./ShowOrderByWithAggregationInputSchema"; +export { ShowScalarWhereWithAggregatesInputSchema } from "./ShowScalarWhereWithAggregatesInputSchema"; +export { RundownWhereInputSchema } from "./RundownWhereInputSchema"; +export { RundownOrderByWithRelationInputSchema } from "./RundownOrderByWithRelationInputSchema"; +export { RundownWhereUniqueInputSchema } from "./RundownWhereUniqueInputSchema"; +export { RundownOrderByWithAggregationInputSchema } from "./RundownOrderByWithAggregationInputSchema"; +export { RundownScalarWhereWithAggregatesInputSchema } from "./RundownScalarWhereWithAggregatesInputSchema"; +export { RundownItemWhereInputSchema } from "./RundownItemWhereInputSchema"; +export { RundownItemOrderByWithRelationInputSchema } from "./RundownItemOrderByWithRelationInputSchema"; +export { RundownItemWhereUniqueInputSchema } from "./RundownItemWhereUniqueInputSchema"; +export { RundownItemOrderByWithAggregationInputSchema } from "./RundownItemOrderByWithAggregationInputSchema"; +export { RundownItemScalarWhereWithAggregatesInputSchema } from "./RundownItemScalarWhereWithAggregatesInputSchema"; +export { ContinuityItemWhereInputSchema } from "./ContinuityItemWhereInputSchema"; +export { ContinuityItemOrderByWithRelationInputSchema } from "./ContinuityItemOrderByWithRelationInputSchema"; +export { ContinuityItemWhereUniqueInputSchema } from "./ContinuityItemWhereUniqueInputSchema"; +export { ContinuityItemOrderByWithAggregationInputSchema } from "./ContinuityItemOrderByWithAggregationInputSchema"; +export { ContinuityItemScalarWhereWithAggregatesInputSchema } from "./ContinuityItemScalarWhereWithAggregatesInputSchema"; +export { AssetWhereInputSchema } from "./AssetWhereInputSchema"; +export { AssetOrderByWithRelationInputSchema } from "./AssetOrderByWithRelationInputSchema"; +export { AssetWhereUniqueInputSchema } from "./AssetWhereUniqueInputSchema"; +export { AssetOrderByWithAggregationInputSchema } from "./AssetOrderByWithAggregationInputSchema"; +export { AssetScalarWhereWithAggregatesInputSchema } from "./AssetScalarWhereWithAggregatesInputSchema"; +export { MediaWhereInputSchema } from "./MediaWhereInputSchema"; +export { MediaOrderByWithRelationInputSchema } from "./MediaOrderByWithRelationInputSchema"; +export { MediaWhereUniqueInputSchema } from "./MediaWhereUniqueInputSchema"; +export { MediaOrderByWithAggregationInputSchema } from "./MediaOrderByWithAggregationInputSchema"; +export { MediaScalarWhereWithAggregatesInputSchema } from "./MediaScalarWhereWithAggregatesInputSchema"; +export { MediaProcessingTaskWhereInputSchema } from "./MediaProcessingTaskWhereInputSchema"; +export { MediaProcessingTaskOrderByWithRelationInputSchema } from "./MediaProcessingTaskOrderByWithRelationInputSchema"; +export { MediaProcessingTaskWhereUniqueInputSchema } from "./MediaProcessingTaskWhereUniqueInputSchema"; +export { MediaProcessingTaskOrderByWithAggregationInputSchema } from "./MediaProcessingTaskOrderByWithAggregationInputSchema"; +export { MediaProcessingTaskScalarWhereWithAggregatesInputSchema } from "./MediaProcessingTaskScalarWhereWithAggregatesInputSchema"; +export { BaseJobWhereInputSchema } from "./BaseJobWhereInputSchema"; +export { BaseJobOrderByWithRelationInputSchema } from "./BaseJobOrderByWithRelationInputSchema"; +export { BaseJobWhereUniqueInputSchema } from "./BaseJobWhereUniqueInputSchema"; +export { BaseJobOrderByWithAggregationInputSchema } from "./BaseJobOrderByWithAggregationInputSchema"; +export { BaseJobScalarWhereWithAggregatesInputSchema } from "./BaseJobScalarWhereWithAggregatesInputSchema"; +export { ProcessMediaJobWhereInputSchema } from "./ProcessMediaJobWhereInputSchema"; +export { ProcessMediaJobOrderByWithRelationInputSchema } from "./ProcessMediaJobOrderByWithRelationInputSchema"; +export { ProcessMediaJobWhereUniqueInputSchema } from "./ProcessMediaJobWhereUniqueInputSchema"; +export { ProcessMediaJobOrderByWithAggregationInputSchema } from "./ProcessMediaJobOrderByWithAggregationInputSchema"; +export { ProcessMediaJobScalarWhereWithAggregatesInputSchema } from "./ProcessMediaJobScalarWhereWithAggregatesInputSchema"; +export { LoadAssetJobWhereInputSchema } from "./LoadAssetJobWhereInputSchema"; +export { LoadAssetJobOrderByWithRelationInputSchema } from "./LoadAssetJobOrderByWithRelationInputSchema"; +export { LoadAssetJobWhereUniqueInputSchema } from "./LoadAssetJobWhereUniqueInputSchema"; +export { LoadAssetJobOrderByWithAggregationInputSchema } from "./LoadAssetJobOrderByWithAggregationInputSchema"; +export { LoadAssetJobScalarWhereWithAggregatesInputSchema } from "./LoadAssetJobScalarWhereWithAggregatesInputSchema"; +export { DummyTestJobWhereInputSchema } from "./DummyTestJobWhereInputSchema"; +export { DummyTestJobOrderByWithRelationInputSchema } from "./DummyTestJobOrderByWithRelationInputSchema"; +export { DummyTestJobWhereUniqueInputSchema } from "./DummyTestJobWhereUniqueInputSchema"; +export { DummyTestJobOrderByWithAggregationInputSchema } from "./DummyTestJobOrderByWithAggregationInputSchema"; +export { DummyTestJobScalarWhereWithAggregatesInputSchema } from "./DummyTestJobScalarWhereWithAggregatesInputSchema"; +export { ShowCreateInputSchema } from "./ShowCreateInputSchema"; +export { ShowUncheckedCreateInputSchema } from "./ShowUncheckedCreateInputSchema"; +export { ShowUpdateInputSchema } from "./ShowUpdateInputSchema"; +export { ShowUncheckedUpdateInputSchema } from "./ShowUncheckedUpdateInputSchema"; +export { ShowCreateManyInputSchema } from "./ShowCreateManyInputSchema"; +export { ShowUpdateManyMutationInputSchema } from "./ShowUpdateManyMutationInputSchema"; +export { ShowUncheckedUpdateManyInputSchema } from "./ShowUncheckedUpdateManyInputSchema"; +export { RundownCreateInputSchema } from "./RundownCreateInputSchema"; +export { RundownUncheckedCreateInputSchema } from "./RundownUncheckedCreateInputSchema"; +export { RundownUpdateInputSchema } from "./RundownUpdateInputSchema"; +export { RundownUncheckedUpdateInputSchema } from "./RundownUncheckedUpdateInputSchema"; +export { RundownCreateManyInputSchema } from "./RundownCreateManyInputSchema"; +export { RundownUpdateManyMutationInputSchema } from "./RundownUpdateManyMutationInputSchema"; +export { RundownUncheckedUpdateManyInputSchema } from "./RundownUncheckedUpdateManyInputSchema"; +export { RundownItemCreateInputSchema } from "./RundownItemCreateInputSchema"; +export { RundownItemUncheckedCreateInputSchema } from "./RundownItemUncheckedCreateInputSchema"; +export { RundownItemUpdateInputSchema } from "./RundownItemUpdateInputSchema"; +export { RundownItemUncheckedUpdateInputSchema } from "./RundownItemUncheckedUpdateInputSchema"; +export { RundownItemCreateManyInputSchema } from "./RundownItemCreateManyInputSchema"; +export { RundownItemUpdateManyMutationInputSchema } from "./RundownItemUpdateManyMutationInputSchema"; +export { RundownItemUncheckedUpdateManyInputSchema } from "./RundownItemUncheckedUpdateManyInputSchema"; +export { ContinuityItemCreateInputSchema } from "./ContinuityItemCreateInputSchema"; +export { ContinuityItemUncheckedCreateInputSchema } from "./ContinuityItemUncheckedCreateInputSchema"; +export { ContinuityItemUpdateInputSchema } from "./ContinuityItemUpdateInputSchema"; +export { ContinuityItemUncheckedUpdateInputSchema } from "./ContinuityItemUncheckedUpdateInputSchema"; +export { ContinuityItemCreateManyInputSchema } from "./ContinuityItemCreateManyInputSchema"; +export { ContinuityItemUpdateManyMutationInputSchema } from "./ContinuityItemUpdateManyMutationInputSchema"; +export { ContinuityItemUncheckedUpdateManyInputSchema } from "./ContinuityItemUncheckedUpdateManyInputSchema"; +export { AssetCreateInputSchema } from "./AssetCreateInputSchema"; +export { AssetUncheckedCreateInputSchema } from "./AssetUncheckedCreateInputSchema"; +export { AssetUpdateInputSchema } from "./AssetUpdateInputSchema"; +export { AssetUncheckedUpdateInputSchema } from "./AssetUncheckedUpdateInputSchema"; +export { AssetCreateManyInputSchema } from "./AssetCreateManyInputSchema"; +export { AssetUpdateManyMutationInputSchema } from "./AssetUpdateManyMutationInputSchema"; +export { AssetUncheckedUpdateManyInputSchema } from "./AssetUncheckedUpdateManyInputSchema"; +export { MediaCreateInputSchema } from "./MediaCreateInputSchema"; +export { MediaUncheckedCreateInputSchema } from "./MediaUncheckedCreateInputSchema"; +export { MediaUpdateInputSchema } from "./MediaUpdateInputSchema"; +export { MediaUncheckedUpdateInputSchema } from "./MediaUncheckedUpdateInputSchema"; +export { MediaCreateManyInputSchema } from "./MediaCreateManyInputSchema"; +export { MediaUpdateManyMutationInputSchema } from "./MediaUpdateManyMutationInputSchema"; +export { MediaUncheckedUpdateManyInputSchema } from "./MediaUncheckedUpdateManyInputSchema"; +export { MediaProcessingTaskCreateInputSchema } from "./MediaProcessingTaskCreateInputSchema"; +export { MediaProcessingTaskUncheckedCreateInputSchema } from "./MediaProcessingTaskUncheckedCreateInputSchema"; +export { MediaProcessingTaskUpdateInputSchema } from "./MediaProcessingTaskUpdateInputSchema"; +export { MediaProcessingTaskUncheckedUpdateInputSchema } from "./MediaProcessingTaskUncheckedUpdateInputSchema"; +export { MediaProcessingTaskCreateManyInputSchema } from "./MediaProcessingTaskCreateManyInputSchema"; +export { MediaProcessingTaskUpdateManyMutationInputSchema } from "./MediaProcessingTaskUpdateManyMutationInputSchema"; +export { MediaProcessingTaskUncheckedUpdateManyInputSchema } from "./MediaProcessingTaskUncheckedUpdateManyInputSchema"; +export { BaseJobCreateInputSchema } from "./BaseJobCreateInputSchema"; +export { BaseJobUncheckedCreateInputSchema } from "./BaseJobUncheckedCreateInputSchema"; +export { BaseJobUpdateInputSchema } from "./BaseJobUpdateInputSchema"; +export { BaseJobUncheckedUpdateInputSchema } from "./BaseJobUncheckedUpdateInputSchema"; +export { BaseJobCreateManyInputSchema } from "./BaseJobCreateManyInputSchema"; +export { BaseJobUpdateManyMutationInputSchema } from "./BaseJobUpdateManyMutationInputSchema"; +export { BaseJobUncheckedUpdateManyInputSchema } from "./BaseJobUncheckedUpdateManyInputSchema"; +export { ProcessMediaJobCreateInputSchema } from "./ProcessMediaJobCreateInputSchema"; +export { ProcessMediaJobUncheckedCreateInputSchema } from "./ProcessMediaJobUncheckedCreateInputSchema"; +export { ProcessMediaJobUpdateInputSchema } from "./ProcessMediaJobUpdateInputSchema"; +export { ProcessMediaJobUncheckedUpdateInputSchema } from "./ProcessMediaJobUncheckedUpdateInputSchema"; +export { ProcessMediaJobCreateManyInputSchema } from "./ProcessMediaJobCreateManyInputSchema"; +export { ProcessMediaJobUpdateManyMutationInputSchema } from "./ProcessMediaJobUpdateManyMutationInputSchema"; +export { ProcessMediaJobUncheckedUpdateManyInputSchema } from "./ProcessMediaJobUncheckedUpdateManyInputSchema"; +export { LoadAssetJobCreateInputSchema } from "./LoadAssetJobCreateInputSchema"; +export { LoadAssetJobUncheckedCreateInputSchema } from "./LoadAssetJobUncheckedCreateInputSchema"; +export { LoadAssetJobUpdateInputSchema } from "./LoadAssetJobUpdateInputSchema"; +export { LoadAssetJobUncheckedUpdateInputSchema } from "./LoadAssetJobUncheckedUpdateInputSchema"; +export { LoadAssetJobCreateManyInputSchema } from "./LoadAssetJobCreateManyInputSchema"; +export { LoadAssetJobUpdateManyMutationInputSchema } from "./LoadAssetJobUpdateManyMutationInputSchema"; +export { LoadAssetJobUncheckedUpdateManyInputSchema } from "./LoadAssetJobUncheckedUpdateManyInputSchema"; +export { DummyTestJobCreateInputSchema } from "./DummyTestJobCreateInputSchema"; +export { DummyTestJobUncheckedCreateInputSchema } from "./DummyTestJobUncheckedCreateInputSchema"; +export { DummyTestJobUpdateInputSchema } from "./DummyTestJobUpdateInputSchema"; +export { DummyTestJobUncheckedUpdateInputSchema } from "./DummyTestJobUncheckedUpdateInputSchema"; +export { DummyTestJobCreateManyInputSchema } from "./DummyTestJobCreateManyInputSchema"; +export { DummyTestJobUpdateManyMutationInputSchema } from "./DummyTestJobUpdateManyMutationInputSchema"; +export { DummyTestJobUncheckedUpdateManyInputSchema } from "./DummyTestJobUncheckedUpdateManyInputSchema"; +export { IntFilterSchema } from "./IntFilterSchema"; +export { StringFilterSchema } from "./StringFilterSchema"; +export { DateTimeFilterSchema } from "./DateTimeFilterSchema"; +export { RundownListRelationFilterSchema } from "./RundownListRelationFilterSchema"; +export { ContinuityItemListRelationFilterSchema } from "./ContinuityItemListRelationFilterSchema"; +export { RundownOrderByRelationAggregateInputSchema } from "./RundownOrderByRelationAggregateInputSchema"; +export { ContinuityItemOrderByRelationAggregateInputSchema } from "./ContinuityItemOrderByRelationAggregateInputSchema"; +export { ShowCountOrderByAggregateInputSchema } from "./ShowCountOrderByAggregateInputSchema"; +export { ShowAvgOrderByAggregateInputSchema } from "./ShowAvgOrderByAggregateInputSchema"; +export { ShowMaxOrderByAggregateInputSchema } from "./ShowMaxOrderByAggregateInputSchema"; +export { ShowMinOrderByAggregateInputSchema } from "./ShowMinOrderByAggregateInputSchema"; +export { ShowSumOrderByAggregateInputSchema } from "./ShowSumOrderByAggregateInputSchema"; +export { IntWithAggregatesFilterSchema } from "./IntWithAggregatesFilterSchema"; +export { StringWithAggregatesFilterSchema } from "./StringWithAggregatesFilterSchema"; +export { DateTimeWithAggregatesFilterSchema } from "./DateTimeWithAggregatesFilterSchema"; +export { ShowRelationFilterSchema } from "./ShowRelationFilterSchema"; +export { RundownItemListRelationFilterSchema } from "./RundownItemListRelationFilterSchema"; +export { AssetListRelationFilterSchema } from "./AssetListRelationFilterSchema"; +export { RundownItemOrderByRelationAggregateInputSchema } from "./RundownItemOrderByRelationAggregateInputSchema"; +export { AssetOrderByRelationAggregateInputSchema } from "./AssetOrderByRelationAggregateInputSchema"; +export { RundownCountOrderByAggregateInputSchema } from "./RundownCountOrderByAggregateInputSchema"; +export { RundownAvgOrderByAggregateInputSchema } from "./RundownAvgOrderByAggregateInputSchema"; +export { RundownMaxOrderByAggregateInputSchema } from "./RundownMaxOrderByAggregateInputSchema"; +export { RundownMinOrderByAggregateInputSchema } from "./RundownMinOrderByAggregateInputSchema"; +export { RundownSumOrderByAggregateInputSchema } from "./RundownSumOrderByAggregateInputSchema"; +export { EnumRundownItemTypeFilterSchema } from "./EnumRundownItemTypeFilterSchema"; +export { MediaNullableRelationFilterSchema } from "./MediaNullableRelationFilterSchema"; +export { RundownRelationFilterSchema } from "./RundownRelationFilterSchema"; +export { RundownItemCountOrderByAggregateInputSchema } from "./RundownItemCountOrderByAggregateInputSchema"; +export { RundownItemAvgOrderByAggregateInputSchema } from "./RundownItemAvgOrderByAggregateInputSchema"; +export { RundownItemMaxOrderByAggregateInputSchema } from "./RundownItemMaxOrderByAggregateInputSchema"; +export { RundownItemMinOrderByAggregateInputSchema } from "./RundownItemMinOrderByAggregateInputSchema"; +export { RundownItemSumOrderByAggregateInputSchema } from "./RundownItemSumOrderByAggregateInputSchema"; +export { EnumRundownItemTypeWithAggregatesFilterSchema } from "./EnumRundownItemTypeWithAggregatesFilterSchema"; +export { ContinuityItemCountOrderByAggregateInputSchema } from "./ContinuityItemCountOrderByAggregateInputSchema"; +export { ContinuityItemAvgOrderByAggregateInputSchema } from "./ContinuityItemAvgOrderByAggregateInputSchema"; +export { ContinuityItemMaxOrderByAggregateInputSchema } from "./ContinuityItemMaxOrderByAggregateInputSchema"; +export { ContinuityItemMinOrderByAggregateInputSchema } from "./ContinuityItemMinOrderByAggregateInputSchema"; +export { ContinuityItemSumOrderByAggregateInputSchema } from "./ContinuityItemSumOrderByAggregateInputSchema"; +export { EnumAssetTypeFilterSchema } from "./EnumAssetTypeFilterSchema"; +export { MediaRelationFilterSchema } from "./MediaRelationFilterSchema"; +export { LoadAssetJobListRelationFilterSchema } from "./LoadAssetJobListRelationFilterSchema"; +export { LoadAssetJobOrderByRelationAggregateInputSchema } from "./LoadAssetJobOrderByRelationAggregateInputSchema"; +export { AssetCountOrderByAggregateInputSchema } from "./AssetCountOrderByAggregateInputSchema"; +export { AssetAvgOrderByAggregateInputSchema } from "./AssetAvgOrderByAggregateInputSchema"; +export { AssetMaxOrderByAggregateInputSchema } from "./AssetMaxOrderByAggregateInputSchema"; +export { AssetMinOrderByAggregateInputSchema } from "./AssetMinOrderByAggregateInputSchema"; +export { AssetSumOrderByAggregateInputSchema } from "./AssetSumOrderByAggregateInputSchema"; +export { EnumAssetTypeWithAggregatesFilterSchema } from "./EnumAssetTypeWithAggregatesFilterSchema"; +export { StringNullableFilterSchema } from "./StringNullableFilterSchema"; +export { EnumMediaStateFilterSchema } from "./EnumMediaStateFilterSchema"; +export { IntNullableFilterSchema } from "./IntNullableFilterSchema"; +export { RundownItemNullableRelationFilterSchema } from "./RundownItemNullableRelationFilterSchema"; +export { ContinuityItemNullableRelationFilterSchema } from "./ContinuityItemNullableRelationFilterSchema"; +export { MediaProcessingTaskListRelationFilterSchema } from "./MediaProcessingTaskListRelationFilterSchema"; +export { ProcessMediaJobListRelationFilterSchema } from "./ProcessMediaJobListRelationFilterSchema"; +export { AssetNullableRelationFilterSchema } from "./AssetNullableRelationFilterSchema"; +export { SortOrderInputSchema } from "./SortOrderInputSchema"; +export { MediaProcessingTaskOrderByRelationAggregateInputSchema } from "./MediaProcessingTaskOrderByRelationAggregateInputSchema"; +export { ProcessMediaJobOrderByRelationAggregateInputSchema } from "./ProcessMediaJobOrderByRelationAggregateInputSchema"; +export { MediaCountOrderByAggregateInputSchema } from "./MediaCountOrderByAggregateInputSchema"; +export { MediaAvgOrderByAggregateInputSchema } from "./MediaAvgOrderByAggregateInputSchema"; +export { MediaMaxOrderByAggregateInputSchema } from "./MediaMaxOrderByAggregateInputSchema"; +export { MediaMinOrderByAggregateInputSchema } from "./MediaMinOrderByAggregateInputSchema"; +export { MediaSumOrderByAggregateInputSchema } from "./MediaSumOrderByAggregateInputSchema"; +export { StringNullableWithAggregatesFilterSchema } from "./StringNullableWithAggregatesFilterSchema"; +export { EnumMediaStateWithAggregatesFilterSchema } from "./EnumMediaStateWithAggregatesFilterSchema"; +export { IntNullableWithAggregatesFilterSchema } from "./IntNullableWithAggregatesFilterSchema"; +export { EnumMediaProcessingTaskStateFilterSchema } from "./EnumMediaProcessingTaskStateFilterSchema"; +export { MediaProcessingTaskMedia_idDescriptionCompoundUniqueInputSchema } from "./MediaProcessingTaskMedia_idDescriptionCompoundUniqueInputSchema"; +export { MediaProcessingTaskCountOrderByAggregateInputSchema } from "./MediaProcessingTaskCountOrderByAggregateInputSchema"; +export { MediaProcessingTaskAvgOrderByAggregateInputSchema } from "./MediaProcessingTaskAvgOrderByAggregateInputSchema"; +export { MediaProcessingTaskMaxOrderByAggregateInputSchema } from "./MediaProcessingTaskMaxOrderByAggregateInputSchema"; +export { MediaProcessingTaskMinOrderByAggregateInputSchema } from "./MediaProcessingTaskMinOrderByAggregateInputSchema"; +export { MediaProcessingTaskSumOrderByAggregateInputSchema } from "./MediaProcessingTaskSumOrderByAggregateInputSchema"; +export { EnumMediaProcessingTaskStateWithAggregatesFilterSchema } from "./EnumMediaProcessingTaskStateWithAggregatesFilterSchema"; +export { EnumJobStateFilterSchema } from "./EnumJobStateFilterSchema"; +export { DateTimeNullableFilterSchema } from "./DateTimeNullableFilterSchema"; +export { ProcessMediaJobNullableRelationFilterSchema } from "./ProcessMediaJobNullableRelationFilterSchema"; +export { LoadAssetJobNullableRelationFilterSchema } from "./LoadAssetJobNullableRelationFilterSchema"; +export { DummyTestJobListRelationFilterSchema } from "./DummyTestJobListRelationFilterSchema"; +export { DummyTestJobOrderByRelationAggregateInputSchema } from "./DummyTestJobOrderByRelationAggregateInputSchema"; +export { BaseJobCountOrderByAggregateInputSchema } from "./BaseJobCountOrderByAggregateInputSchema"; +export { BaseJobAvgOrderByAggregateInputSchema } from "./BaseJobAvgOrderByAggregateInputSchema"; +export { BaseJobMaxOrderByAggregateInputSchema } from "./BaseJobMaxOrderByAggregateInputSchema"; +export { BaseJobMinOrderByAggregateInputSchema } from "./BaseJobMinOrderByAggregateInputSchema"; +export { BaseJobSumOrderByAggregateInputSchema } from "./BaseJobSumOrderByAggregateInputSchema"; +export { EnumJobStateWithAggregatesFilterSchema } from "./EnumJobStateWithAggregatesFilterSchema"; +export { DateTimeNullableWithAggregatesFilterSchema } from "./DateTimeNullableWithAggregatesFilterSchema"; +export { EnumMediaFileSourceTypeFilterSchema } from "./EnumMediaFileSourceTypeFilterSchema"; +export { BaseJobRelationFilterSchema } from "./BaseJobRelationFilterSchema"; +export { ProcessMediaJobCountOrderByAggregateInputSchema } from "./ProcessMediaJobCountOrderByAggregateInputSchema"; +export { ProcessMediaJobAvgOrderByAggregateInputSchema } from "./ProcessMediaJobAvgOrderByAggregateInputSchema"; +export { ProcessMediaJobMaxOrderByAggregateInputSchema } from "./ProcessMediaJobMaxOrderByAggregateInputSchema"; +export { ProcessMediaJobMinOrderByAggregateInputSchema } from "./ProcessMediaJobMinOrderByAggregateInputSchema"; +export { ProcessMediaJobSumOrderByAggregateInputSchema } from "./ProcessMediaJobSumOrderByAggregateInputSchema"; +export { EnumMediaFileSourceTypeWithAggregatesFilterSchema } from "./EnumMediaFileSourceTypeWithAggregatesFilterSchema"; +export { AssetRelationFilterSchema } from "./AssetRelationFilterSchema"; +export { LoadAssetJobCountOrderByAggregateInputSchema } from "./LoadAssetJobCountOrderByAggregateInputSchema"; +export { LoadAssetJobAvgOrderByAggregateInputSchema } from "./LoadAssetJobAvgOrderByAggregateInputSchema"; +export { LoadAssetJobMaxOrderByAggregateInputSchema } from "./LoadAssetJobMaxOrderByAggregateInputSchema"; +export { LoadAssetJobMinOrderByAggregateInputSchema } from "./LoadAssetJobMinOrderByAggregateInputSchema"; +export { LoadAssetJobSumOrderByAggregateInputSchema } from "./LoadAssetJobSumOrderByAggregateInputSchema"; +export { DummyTestJobCountOrderByAggregateInputSchema } from "./DummyTestJobCountOrderByAggregateInputSchema"; +export { DummyTestJobAvgOrderByAggregateInputSchema } from "./DummyTestJobAvgOrderByAggregateInputSchema"; +export { DummyTestJobMaxOrderByAggregateInputSchema } from "./DummyTestJobMaxOrderByAggregateInputSchema"; +export { DummyTestJobMinOrderByAggregateInputSchema } from "./DummyTestJobMinOrderByAggregateInputSchema"; +export { DummyTestJobSumOrderByAggregateInputSchema } from "./DummyTestJobSumOrderByAggregateInputSchema"; +export { RundownCreateNestedManyWithoutShowInputSchema } from "./RundownCreateNestedManyWithoutShowInputSchema"; +export { ContinuityItemCreateNestedManyWithoutShowInputSchema } from "./ContinuityItemCreateNestedManyWithoutShowInputSchema"; +export { RundownUncheckedCreateNestedManyWithoutShowInputSchema } from "./RundownUncheckedCreateNestedManyWithoutShowInputSchema"; +export { ContinuityItemUncheckedCreateNestedManyWithoutShowInputSchema } from "./ContinuityItemUncheckedCreateNestedManyWithoutShowInputSchema"; +export { StringFieldUpdateOperationsInputSchema } from "./StringFieldUpdateOperationsInputSchema"; +export { DateTimeFieldUpdateOperationsInputSchema } from "./DateTimeFieldUpdateOperationsInputSchema"; +export { IntFieldUpdateOperationsInputSchema } from "./IntFieldUpdateOperationsInputSchema"; +export { RundownUpdateManyWithoutShowNestedInputSchema } from "./RundownUpdateManyWithoutShowNestedInputSchema"; +export { ContinuityItemUpdateManyWithoutShowNestedInputSchema } from "./ContinuityItemUpdateManyWithoutShowNestedInputSchema"; +export { RundownUncheckedUpdateManyWithoutShowNestedInputSchema } from "./RundownUncheckedUpdateManyWithoutShowNestedInputSchema"; +export { ContinuityItemUncheckedUpdateManyWithoutShowNestedInputSchema } from "./ContinuityItemUncheckedUpdateManyWithoutShowNestedInputSchema"; +export { ShowCreateNestedOneWithoutRundownsInputSchema } from "./ShowCreateNestedOneWithoutRundownsInputSchema"; +export { RundownItemCreateNestedManyWithoutRundownInputSchema } from "./RundownItemCreateNestedManyWithoutRundownInputSchema"; +export { AssetCreateNestedManyWithoutRundownInputSchema } from "./AssetCreateNestedManyWithoutRundownInputSchema"; +export { RundownItemUncheckedCreateNestedManyWithoutRundownInputSchema } from "./RundownItemUncheckedCreateNestedManyWithoutRundownInputSchema"; +export { AssetUncheckedCreateNestedManyWithoutRundownInputSchema } from "./AssetUncheckedCreateNestedManyWithoutRundownInputSchema"; +export { ShowUpdateOneRequiredWithoutRundownsNestedInputSchema } from "./ShowUpdateOneRequiredWithoutRundownsNestedInputSchema"; +export { RundownItemUpdateManyWithoutRundownNestedInputSchema } from "./RundownItemUpdateManyWithoutRundownNestedInputSchema"; +export { AssetUpdateManyWithoutRundownNestedInputSchema } from "./AssetUpdateManyWithoutRundownNestedInputSchema"; +export { RundownItemUncheckedUpdateManyWithoutRundownNestedInputSchema } from "./RundownItemUncheckedUpdateManyWithoutRundownNestedInputSchema"; +export { AssetUncheckedUpdateManyWithoutRundownNestedInputSchema } from "./AssetUncheckedUpdateManyWithoutRundownNestedInputSchema"; +export { MediaCreateNestedOneWithoutRundownItemInputSchema } from "./MediaCreateNestedOneWithoutRundownItemInputSchema"; +export { RundownCreateNestedOneWithoutItemsInputSchema } from "./RundownCreateNestedOneWithoutItemsInputSchema"; +export { MediaUncheckedCreateNestedOneWithoutRundownItemInputSchema } from "./MediaUncheckedCreateNestedOneWithoutRundownItemInputSchema"; +export { EnumRundownItemTypeFieldUpdateOperationsInputSchema } from "./EnumRundownItemTypeFieldUpdateOperationsInputSchema"; +export { MediaUpdateOneWithoutRundownItemNestedInputSchema } from "./MediaUpdateOneWithoutRundownItemNestedInputSchema"; +export { RundownUpdateOneRequiredWithoutItemsNestedInputSchema } from "./RundownUpdateOneRequiredWithoutItemsNestedInputSchema"; +export { MediaUncheckedUpdateOneWithoutRundownItemNestedInputSchema } from "./MediaUncheckedUpdateOneWithoutRundownItemNestedInputSchema"; +export { MediaCreateNestedOneWithoutContinuityItemInputSchema } from "./MediaCreateNestedOneWithoutContinuityItemInputSchema"; +export { ShowCreateNestedOneWithoutContinuityItemsInputSchema } from "./ShowCreateNestedOneWithoutContinuityItemsInputSchema"; +export { MediaUncheckedCreateNestedOneWithoutContinuityItemInputSchema } from "./MediaUncheckedCreateNestedOneWithoutContinuityItemInputSchema"; +export { MediaUpdateOneWithoutContinuityItemNestedInputSchema } from "./MediaUpdateOneWithoutContinuityItemNestedInputSchema"; +export { ShowUpdateOneRequiredWithoutContinuityItemsNestedInputSchema } from "./ShowUpdateOneRequiredWithoutContinuityItemsNestedInputSchema"; +export { MediaUncheckedUpdateOneWithoutContinuityItemNestedInputSchema } from "./MediaUncheckedUpdateOneWithoutContinuityItemNestedInputSchema"; +export { MediaCreateNestedOneWithoutAssetInputSchema } from "./MediaCreateNestedOneWithoutAssetInputSchema"; +export { RundownCreateNestedOneWithoutAssetsInputSchema } from "./RundownCreateNestedOneWithoutAssetsInputSchema"; +export { LoadAssetJobCreateNestedManyWithoutAssetInputSchema } from "./LoadAssetJobCreateNestedManyWithoutAssetInputSchema"; +export { LoadAssetJobUncheckedCreateNestedManyWithoutAssetInputSchema } from "./LoadAssetJobUncheckedCreateNestedManyWithoutAssetInputSchema"; +export { EnumAssetTypeFieldUpdateOperationsInputSchema } from "./EnumAssetTypeFieldUpdateOperationsInputSchema"; +export { MediaUpdateOneRequiredWithoutAssetNestedInputSchema } from "./MediaUpdateOneRequiredWithoutAssetNestedInputSchema"; +export { RundownUpdateOneRequiredWithoutAssetsNestedInputSchema } from "./RundownUpdateOneRequiredWithoutAssetsNestedInputSchema"; +export { LoadAssetJobUpdateManyWithoutAssetNestedInputSchema } from "./LoadAssetJobUpdateManyWithoutAssetNestedInputSchema"; +export { LoadAssetJobUncheckedUpdateManyWithoutAssetNestedInputSchema } from "./LoadAssetJobUncheckedUpdateManyWithoutAssetNestedInputSchema"; +export { RundownItemCreateNestedOneWithoutMediaInputSchema } from "./RundownItemCreateNestedOneWithoutMediaInputSchema"; +export { ContinuityItemCreateNestedOneWithoutMediaInputSchema } from "./ContinuityItemCreateNestedOneWithoutMediaInputSchema"; +export { MediaProcessingTaskCreateNestedManyWithoutMediaInputSchema } from "./MediaProcessingTaskCreateNestedManyWithoutMediaInputSchema"; +export { ProcessMediaJobCreateNestedManyWithoutMediaInputSchema } from "./ProcessMediaJobCreateNestedManyWithoutMediaInputSchema"; +export { AssetCreateNestedOneWithoutMediaInputSchema } from "./AssetCreateNestedOneWithoutMediaInputSchema"; +export { MediaProcessingTaskUncheckedCreateNestedManyWithoutMediaInputSchema } from "./MediaProcessingTaskUncheckedCreateNestedManyWithoutMediaInputSchema"; +export { ProcessMediaJobUncheckedCreateNestedManyWithoutMediaInputSchema } from "./ProcessMediaJobUncheckedCreateNestedManyWithoutMediaInputSchema"; +export { AssetUncheckedCreateNestedOneWithoutMediaInputSchema } from "./AssetUncheckedCreateNestedOneWithoutMediaInputSchema"; +export { NullableStringFieldUpdateOperationsInputSchema } from "./NullableStringFieldUpdateOperationsInputSchema"; +export { EnumMediaStateFieldUpdateOperationsInputSchema } from "./EnumMediaStateFieldUpdateOperationsInputSchema"; +export { RundownItemUpdateOneWithoutMediaNestedInputSchema } from "./RundownItemUpdateOneWithoutMediaNestedInputSchema"; +export { ContinuityItemUpdateOneWithoutMediaNestedInputSchema } from "./ContinuityItemUpdateOneWithoutMediaNestedInputSchema"; +export { MediaProcessingTaskUpdateManyWithoutMediaNestedInputSchema } from "./MediaProcessingTaskUpdateManyWithoutMediaNestedInputSchema"; +export { ProcessMediaJobUpdateManyWithoutMediaNestedInputSchema } from "./ProcessMediaJobUpdateManyWithoutMediaNestedInputSchema"; +export { AssetUpdateOneWithoutMediaNestedInputSchema } from "./AssetUpdateOneWithoutMediaNestedInputSchema"; +export { NullableIntFieldUpdateOperationsInputSchema } from "./NullableIntFieldUpdateOperationsInputSchema"; +export { MediaProcessingTaskUncheckedUpdateManyWithoutMediaNestedInputSchema } from "./MediaProcessingTaskUncheckedUpdateManyWithoutMediaNestedInputSchema"; +export { ProcessMediaJobUncheckedUpdateManyWithoutMediaNestedInputSchema } from "./ProcessMediaJobUncheckedUpdateManyWithoutMediaNestedInputSchema"; +export { AssetUncheckedUpdateOneWithoutMediaNestedInputSchema } from "./AssetUncheckedUpdateOneWithoutMediaNestedInputSchema"; +export { MediaCreateNestedOneWithoutTasksInputSchema } from "./MediaCreateNestedOneWithoutTasksInputSchema"; +export { EnumMediaProcessingTaskStateFieldUpdateOperationsInputSchema } from "./EnumMediaProcessingTaskStateFieldUpdateOperationsInputSchema"; +export { MediaUpdateOneRequiredWithoutTasksNestedInputSchema } from "./MediaUpdateOneRequiredWithoutTasksNestedInputSchema"; +export { ProcessMediaJobCreateNestedOneWithoutBase_jobInputSchema } from "./ProcessMediaJobCreateNestedOneWithoutBase_jobInputSchema"; +export { LoadAssetJobCreateNestedOneWithoutBase_jobInputSchema } from "./LoadAssetJobCreateNestedOneWithoutBase_jobInputSchema"; +export { DummyTestJobCreateNestedManyWithoutBase_jobInputSchema } from "./DummyTestJobCreateNestedManyWithoutBase_jobInputSchema"; +export { ProcessMediaJobUncheckedCreateNestedOneWithoutBase_jobInputSchema } from "./ProcessMediaJobUncheckedCreateNestedOneWithoutBase_jobInputSchema"; +export { LoadAssetJobUncheckedCreateNestedOneWithoutBase_jobInputSchema } from "./LoadAssetJobUncheckedCreateNestedOneWithoutBase_jobInputSchema"; +export { DummyTestJobUncheckedCreateNestedManyWithoutBase_jobInputSchema } from "./DummyTestJobUncheckedCreateNestedManyWithoutBase_jobInputSchema"; +export { EnumJobStateFieldUpdateOperationsInputSchema } from "./EnumJobStateFieldUpdateOperationsInputSchema"; +export { NullableDateTimeFieldUpdateOperationsInputSchema } from "./NullableDateTimeFieldUpdateOperationsInputSchema"; +export { ProcessMediaJobUpdateOneWithoutBase_jobNestedInputSchema } from "./ProcessMediaJobUpdateOneWithoutBase_jobNestedInputSchema"; +export { LoadAssetJobUpdateOneWithoutBase_jobNestedInputSchema } from "./LoadAssetJobUpdateOneWithoutBase_jobNestedInputSchema"; +export { DummyTestJobUpdateManyWithoutBase_jobNestedInputSchema } from "./DummyTestJobUpdateManyWithoutBase_jobNestedInputSchema"; +export { ProcessMediaJobUncheckedUpdateOneWithoutBase_jobNestedInputSchema } from "./ProcessMediaJobUncheckedUpdateOneWithoutBase_jobNestedInputSchema"; +export { LoadAssetJobUncheckedUpdateOneWithoutBase_jobNestedInputSchema } from "./LoadAssetJobUncheckedUpdateOneWithoutBase_jobNestedInputSchema"; +export { DummyTestJobUncheckedUpdateManyWithoutBase_jobNestedInputSchema } from "./DummyTestJobUncheckedUpdateManyWithoutBase_jobNestedInputSchema"; +export { MediaCreateNestedOneWithoutProcess_jobsInputSchema } from "./MediaCreateNestedOneWithoutProcess_jobsInputSchema"; +export { BaseJobCreateNestedOneWithoutProcessMediaJobInputSchema } from "./BaseJobCreateNestedOneWithoutProcessMediaJobInputSchema"; +export { EnumMediaFileSourceTypeFieldUpdateOperationsInputSchema } from "./EnumMediaFileSourceTypeFieldUpdateOperationsInputSchema"; +export { MediaUpdateOneRequiredWithoutProcess_jobsNestedInputSchema } from "./MediaUpdateOneRequiredWithoutProcess_jobsNestedInputSchema"; +export { BaseJobUpdateOneRequiredWithoutProcessMediaJobNestedInputSchema } from "./BaseJobUpdateOneRequiredWithoutProcessMediaJobNestedInputSchema"; +export { AssetCreateNestedOneWithoutLoadJobsInputSchema } from "./AssetCreateNestedOneWithoutLoadJobsInputSchema"; +export { BaseJobCreateNestedOneWithoutLoadAssetJobInputSchema } from "./BaseJobCreateNestedOneWithoutLoadAssetJobInputSchema"; +export { AssetUpdateOneRequiredWithoutLoadJobsNestedInputSchema } from "./AssetUpdateOneRequiredWithoutLoadJobsNestedInputSchema"; +export { BaseJobUpdateOneRequiredWithoutLoadAssetJobNestedInputSchema } from "./BaseJobUpdateOneRequiredWithoutLoadAssetJobNestedInputSchema"; +export { BaseJobCreateNestedOneWithoutDummyTestJobInputSchema } from "./BaseJobCreateNestedOneWithoutDummyTestJobInputSchema"; +export { BaseJobUpdateOneRequiredWithoutDummyTestJobNestedInputSchema } from "./BaseJobUpdateOneRequiredWithoutDummyTestJobNestedInputSchema"; +export { NestedIntFilterSchema } from "./NestedIntFilterSchema"; +export { NestedStringFilterSchema } from "./NestedStringFilterSchema"; +export { NestedDateTimeFilterSchema } from "./NestedDateTimeFilterSchema"; +export { NestedIntWithAggregatesFilterSchema } from "./NestedIntWithAggregatesFilterSchema"; +export { NestedFloatFilterSchema } from "./NestedFloatFilterSchema"; +export { NestedStringWithAggregatesFilterSchema } from "./NestedStringWithAggregatesFilterSchema"; +export { NestedDateTimeWithAggregatesFilterSchema } from "./NestedDateTimeWithAggregatesFilterSchema"; +export { NestedEnumRundownItemTypeFilterSchema } from "./NestedEnumRundownItemTypeFilterSchema"; +export { NestedEnumRundownItemTypeWithAggregatesFilterSchema } from "./NestedEnumRundownItemTypeWithAggregatesFilterSchema"; +export { NestedEnumAssetTypeFilterSchema } from "./NestedEnumAssetTypeFilterSchema"; +export { NestedEnumAssetTypeWithAggregatesFilterSchema } from "./NestedEnumAssetTypeWithAggregatesFilterSchema"; +export { NestedStringNullableFilterSchema } from "./NestedStringNullableFilterSchema"; +export { NestedEnumMediaStateFilterSchema } from "./NestedEnumMediaStateFilterSchema"; +export { NestedIntNullableFilterSchema } from "./NestedIntNullableFilterSchema"; +export { NestedStringNullableWithAggregatesFilterSchema } from "./NestedStringNullableWithAggregatesFilterSchema"; +export { NestedEnumMediaStateWithAggregatesFilterSchema } from "./NestedEnumMediaStateWithAggregatesFilterSchema"; +export { NestedIntNullableWithAggregatesFilterSchema } from "./NestedIntNullableWithAggregatesFilterSchema"; +export { NestedFloatNullableFilterSchema } from "./NestedFloatNullableFilterSchema"; +export { NestedEnumMediaProcessingTaskStateFilterSchema } from "./NestedEnumMediaProcessingTaskStateFilterSchema"; +export { NestedEnumMediaProcessingTaskStateWithAggregatesFilterSchema } from "./NestedEnumMediaProcessingTaskStateWithAggregatesFilterSchema"; +export { NestedEnumJobStateFilterSchema } from "./NestedEnumJobStateFilterSchema"; +export { NestedDateTimeNullableFilterSchema } from "./NestedDateTimeNullableFilterSchema"; +export { NestedEnumJobStateWithAggregatesFilterSchema } from "./NestedEnumJobStateWithAggregatesFilterSchema"; +export { NestedDateTimeNullableWithAggregatesFilterSchema } from "./NestedDateTimeNullableWithAggregatesFilterSchema"; +export { NestedEnumMediaFileSourceTypeFilterSchema } from "./NestedEnumMediaFileSourceTypeFilterSchema"; +export { NestedEnumMediaFileSourceTypeWithAggregatesFilterSchema } from "./NestedEnumMediaFileSourceTypeWithAggregatesFilterSchema"; +export { RundownCreateWithoutShowInputSchema } from "./RundownCreateWithoutShowInputSchema"; +export { RundownUncheckedCreateWithoutShowInputSchema } from "./RundownUncheckedCreateWithoutShowInputSchema"; +export { RundownCreateOrConnectWithoutShowInputSchema } from "./RundownCreateOrConnectWithoutShowInputSchema"; +export { RundownCreateManyShowInputEnvelopeSchema } from "./RundownCreateManyShowInputEnvelopeSchema"; +export { ContinuityItemCreateWithoutShowInputSchema } from "./ContinuityItemCreateWithoutShowInputSchema"; +export { ContinuityItemUncheckedCreateWithoutShowInputSchema } from "./ContinuityItemUncheckedCreateWithoutShowInputSchema"; +export { ContinuityItemCreateOrConnectWithoutShowInputSchema } from "./ContinuityItemCreateOrConnectWithoutShowInputSchema"; +export { ContinuityItemCreateManyShowInputEnvelopeSchema } from "./ContinuityItemCreateManyShowInputEnvelopeSchema"; +export { RundownUpsertWithWhereUniqueWithoutShowInputSchema } from "./RundownUpsertWithWhereUniqueWithoutShowInputSchema"; +export { RundownUpdateWithWhereUniqueWithoutShowInputSchema } from "./RundownUpdateWithWhereUniqueWithoutShowInputSchema"; +export { RundownUpdateManyWithWhereWithoutShowInputSchema } from "./RundownUpdateManyWithWhereWithoutShowInputSchema"; +export { RundownScalarWhereInputSchema } from "./RundownScalarWhereInputSchema"; +export { ContinuityItemUpsertWithWhereUniqueWithoutShowInputSchema } from "./ContinuityItemUpsertWithWhereUniqueWithoutShowInputSchema"; +export { ContinuityItemUpdateWithWhereUniqueWithoutShowInputSchema } from "./ContinuityItemUpdateWithWhereUniqueWithoutShowInputSchema"; +export { ContinuityItemUpdateManyWithWhereWithoutShowInputSchema } from "./ContinuityItemUpdateManyWithWhereWithoutShowInputSchema"; +export { ContinuityItemScalarWhereInputSchema } from "./ContinuityItemScalarWhereInputSchema"; +export { ShowCreateWithoutRundownsInputSchema } from "./ShowCreateWithoutRundownsInputSchema"; +export { ShowUncheckedCreateWithoutRundownsInputSchema } from "./ShowUncheckedCreateWithoutRundownsInputSchema"; +export { ShowCreateOrConnectWithoutRundownsInputSchema } from "./ShowCreateOrConnectWithoutRundownsInputSchema"; +export { RundownItemCreateWithoutRundownInputSchema } from "./RundownItemCreateWithoutRundownInputSchema"; +export { RundownItemUncheckedCreateWithoutRundownInputSchema } from "./RundownItemUncheckedCreateWithoutRundownInputSchema"; +export { RundownItemCreateOrConnectWithoutRundownInputSchema } from "./RundownItemCreateOrConnectWithoutRundownInputSchema"; +export { RundownItemCreateManyRundownInputEnvelopeSchema } from "./RundownItemCreateManyRundownInputEnvelopeSchema"; +export { AssetCreateWithoutRundownInputSchema } from "./AssetCreateWithoutRundownInputSchema"; +export { AssetUncheckedCreateWithoutRundownInputSchema } from "./AssetUncheckedCreateWithoutRundownInputSchema"; +export { AssetCreateOrConnectWithoutRundownInputSchema } from "./AssetCreateOrConnectWithoutRundownInputSchema"; +export { AssetCreateManyRundownInputEnvelopeSchema } from "./AssetCreateManyRundownInputEnvelopeSchema"; +export { ShowUpsertWithoutRundownsInputSchema } from "./ShowUpsertWithoutRundownsInputSchema"; +export { ShowUpdateToOneWithWhereWithoutRundownsInputSchema } from "./ShowUpdateToOneWithWhereWithoutRundownsInputSchema"; +export { ShowUpdateWithoutRundownsInputSchema } from "./ShowUpdateWithoutRundownsInputSchema"; +export { ShowUncheckedUpdateWithoutRundownsInputSchema } from "./ShowUncheckedUpdateWithoutRundownsInputSchema"; +export { RundownItemUpsertWithWhereUniqueWithoutRundownInputSchema } from "./RundownItemUpsertWithWhereUniqueWithoutRundownInputSchema"; +export { RundownItemUpdateWithWhereUniqueWithoutRundownInputSchema } from "./RundownItemUpdateWithWhereUniqueWithoutRundownInputSchema"; +export { RundownItemUpdateManyWithWhereWithoutRundownInputSchema } from "./RundownItemUpdateManyWithWhereWithoutRundownInputSchema"; +export { RundownItemScalarWhereInputSchema } from "./RundownItemScalarWhereInputSchema"; +export { AssetUpsertWithWhereUniqueWithoutRundownInputSchema } from "./AssetUpsertWithWhereUniqueWithoutRundownInputSchema"; +export { AssetUpdateWithWhereUniqueWithoutRundownInputSchema } from "./AssetUpdateWithWhereUniqueWithoutRundownInputSchema"; +export { AssetUpdateManyWithWhereWithoutRundownInputSchema } from "./AssetUpdateManyWithWhereWithoutRundownInputSchema"; +export { AssetScalarWhereInputSchema } from "./AssetScalarWhereInputSchema"; +export { MediaCreateWithoutRundownItemInputSchema } from "./MediaCreateWithoutRundownItemInputSchema"; +export { MediaUncheckedCreateWithoutRundownItemInputSchema } from "./MediaUncheckedCreateWithoutRundownItemInputSchema"; +export { MediaCreateOrConnectWithoutRundownItemInputSchema } from "./MediaCreateOrConnectWithoutRundownItemInputSchema"; +export { RundownCreateWithoutItemsInputSchema } from "./RundownCreateWithoutItemsInputSchema"; +export { RundownUncheckedCreateWithoutItemsInputSchema } from "./RundownUncheckedCreateWithoutItemsInputSchema"; +export { RundownCreateOrConnectWithoutItemsInputSchema } from "./RundownCreateOrConnectWithoutItemsInputSchema"; +export { MediaUpsertWithoutRundownItemInputSchema } from "./MediaUpsertWithoutRundownItemInputSchema"; +export { MediaUpdateToOneWithWhereWithoutRundownItemInputSchema } from "./MediaUpdateToOneWithWhereWithoutRundownItemInputSchema"; +export { MediaUpdateWithoutRundownItemInputSchema } from "./MediaUpdateWithoutRundownItemInputSchema"; +export { MediaUncheckedUpdateWithoutRundownItemInputSchema } from "./MediaUncheckedUpdateWithoutRundownItemInputSchema"; +export { RundownUpsertWithoutItemsInputSchema } from "./RundownUpsertWithoutItemsInputSchema"; +export { RundownUpdateToOneWithWhereWithoutItemsInputSchema } from "./RundownUpdateToOneWithWhereWithoutItemsInputSchema"; +export { RundownUpdateWithoutItemsInputSchema } from "./RundownUpdateWithoutItemsInputSchema"; +export { RundownUncheckedUpdateWithoutItemsInputSchema } from "./RundownUncheckedUpdateWithoutItemsInputSchema"; +export { MediaCreateWithoutContinuityItemInputSchema } from "./MediaCreateWithoutContinuityItemInputSchema"; +export { MediaUncheckedCreateWithoutContinuityItemInputSchema } from "./MediaUncheckedCreateWithoutContinuityItemInputSchema"; +export { MediaCreateOrConnectWithoutContinuityItemInputSchema } from "./MediaCreateOrConnectWithoutContinuityItemInputSchema"; +export { ShowCreateWithoutContinuityItemsInputSchema } from "./ShowCreateWithoutContinuityItemsInputSchema"; +export { ShowUncheckedCreateWithoutContinuityItemsInputSchema } from "./ShowUncheckedCreateWithoutContinuityItemsInputSchema"; +export { ShowCreateOrConnectWithoutContinuityItemsInputSchema } from "./ShowCreateOrConnectWithoutContinuityItemsInputSchema"; +export { MediaUpsertWithoutContinuityItemInputSchema } from "./MediaUpsertWithoutContinuityItemInputSchema"; +export { MediaUpdateToOneWithWhereWithoutContinuityItemInputSchema } from "./MediaUpdateToOneWithWhereWithoutContinuityItemInputSchema"; +export { MediaUpdateWithoutContinuityItemInputSchema } from "./MediaUpdateWithoutContinuityItemInputSchema"; +export { MediaUncheckedUpdateWithoutContinuityItemInputSchema } from "./MediaUncheckedUpdateWithoutContinuityItemInputSchema"; +export { ShowUpsertWithoutContinuityItemsInputSchema } from "./ShowUpsertWithoutContinuityItemsInputSchema"; +export { ShowUpdateToOneWithWhereWithoutContinuityItemsInputSchema } from "./ShowUpdateToOneWithWhereWithoutContinuityItemsInputSchema"; +export { ShowUpdateWithoutContinuityItemsInputSchema } from "./ShowUpdateWithoutContinuityItemsInputSchema"; +export { ShowUncheckedUpdateWithoutContinuityItemsInputSchema } from "./ShowUncheckedUpdateWithoutContinuityItemsInputSchema"; +export { MediaCreateWithoutAssetInputSchema } from "./MediaCreateWithoutAssetInputSchema"; +export { MediaUncheckedCreateWithoutAssetInputSchema } from "./MediaUncheckedCreateWithoutAssetInputSchema"; +export { MediaCreateOrConnectWithoutAssetInputSchema } from "./MediaCreateOrConnectWithoutAssetInputSchema"; +export { RundownCreateWithoutAssetsInputSchema } from "./RundownCreateWithoutAssetsInputSchema"; +export { RundownUncheckedCreateWithoutAssetsInputSchema } from "./RundownUncheckedCreateWithoutAssetsInputSchema"; +export { RundownCreateOrConnectWithoutAssetsInputSchema } from "./RundownCreateOrConnectWithoutAssetsInputSchema"; +export { LoadAssetJobCreateWithoutAssetInputSchema } from "./LoadAssetJobCreateWithoutAssetInputSchema"; +export { LoadAssetJobUncheckedCreateWithoutAssetInputSchema } from "./LoadAssetJobUncheckedCreateWithoutAssetInputSchema"; +export { LoadAssetJobCreateOrConnectWithoutAssetInputSchema } from "./LoadAssetJobCreateOrConnectWithoutAssetInputSchema"; +export { LoadAssetJobCreateManyAssetInputEnvelopeSchema } from "./LoadAssetJobCreateManyAssetInputEnvelopeSchema"; +export { MediaUpsertWithoutAssetInputSchema } from "./MediaUpsertWithoutAssetInputSchema"; +export { MediaUpdateToOneWithWhereWithoutAssetInputSchema } from "./MediaUpdateToOneWithWhereWithoutAssetInputSchema"; +export { MediaUpdateWithoutAssetInputSchema } from "./MediaUpdateWithoutAssetInputSchema"; +export { MediaUncheckedUpdateWithoutAssetInputSchema } from "./MediaUncheckedUpdateWithoutAssetInputSchema"; +export { RundownUpsertWithoutAssetsInputSchema } from "./RundownUpsertWithoutAssetsInputSchema"; +export { RundownUpdateToOneWithWhereWithoutAssetsInputSchema } from "./RundownUpdateToOneWithWhereWithoutAssetsInputSchema"; +export { RundownUpdateWithoutAssetsInputSchema } from "./RundownUpdateWithoutAssetsInputSchema"; +export { RundownUncheckedUpdateWithoutAssetsInputSchema } from "./RundownUncheckedUpdateWithoutAssetsInputSchema"; +export { LoadAssetJobUpsertWithWhereUniqueWithoutAssetInputSchema } from "./LoadAssetJobUpsertWithWhereUniqueWithoutAssetInputSchema"; +export { LoadAssetJobUpdateWithWhereUniqueWithoutAssetInputSchema } from "./LoadAssetJobUpdateWithWhereUniqueWithoutAssetInputSchema"; +export { LoadAssetJobUpdateManyWithWhereWithoutAssetInputSchema } from "./LoadAssetJobUpdateManyWithWhereWithoutAssetInputSchema"; +export { LoadAssetJobScalarWhereInputSchema } from "./LoadAssetJobScalarWhereInputSchema"; +export { RundownItemCreateWithoutMediaInputSchema } from "./RundownItemCreateWithoutMediaInputSchema"; +export { RundownItemUncheckedCreateWithoutMediaInputSchema } from "./RundownItemUncheckedCreateWithoutMediaInputSchema"; +export { RundownItemCreateOrConnectWithoutMediaInputSchema } from "./RundownItemCreateOrConnectWithoutMediaInputSchema"; +export { ContinuityItemCreateWithoutMediaInputSchema } from "./ContinuityItemCreateWithoutMediaInputSchema"; +export { ContinuityItemUncheckedCreateWithoutMediaInputSchema } from "./ContinuityItemUncheckedCreateWithoutMediaInputSchema"; +export { ContinuityItemCreateOrConnectWithoutMediaInputSchema } from "./ContinuityItemCreateOrConnectWithoutMediaInputSchema"; +export { MediaProcessingTaskCreateWithoutMediaInputSchema } from "./MediaProcessingTaskCreateWithoutMediaInputSchema"; +export { MediaProcessingTaskUncheckedCreateWithoutMediaInputSchema } from "./MediaProcessingTaskUncheckedCreateWithoutMediaInputSchema"; +export { MediaProcessingTaskCreateOrConnectWithoutMediaInputSchema } from "./MediaProcessingTaskCreateOrConnectWithoutMediaInputSchema"; +export { MediaProcessingTaskCreateManyMediaInputEnvelopeSchema } from "./MediaProcessingTaskCreateManyMediaInputEnvelopeSchema"; +export { ProcessMediaJobCreateWithoutMediaInputSchema } from "./ProcessMediaJobCreateWithoutMediaInputSchema"; +export { ProcessMediaJobUncheckedCreateWithoutMediaInputSchema } from "./ProcessMediaJobUncheckedCreateWithoutMediaInputSchema"; +export { ProcessMediaJobCreateOrConnectWithoutMediaInputSchema } from "./ProcessMediaJobCreateOrConnectWithoutMediaInputSchema"; +export { ProcessMediaJobCreateManyMediaInputEnvelopeSchema } from "./ProcessMediaJobCreateManyMediaInputEnvelopeSchema"; +export { AssetCreateWithoutMediaInputSchema } from "./AssetCreateWithoutMediaInputSchema"; +export { AssetUncheckedCreateWithoutMediaInputSchema } from "./AssetUncheckedCreateWithoutMediaInputSchema"; +export { AssetCreateOrConnectWithoutMediaInputSchema } from "./AssetCreateOrConnectWithoutMediaInputSchema"; +export { RundownItemUpsertWithoutMediaInputSchema } from "./RundownItemUpsertWithoutMediaInputSchema"; +export { RundownItemUpdateToOneWithWhereWithoutMediaInputSchema } from "./RundownItemUpdateToOneWithWhereWithoutMediaInputSchema"; +export { RundownItemUpdateWithoutMediaInputSchema } from "./RundownItemUpdateWithoutMediaInputSchema"; +export { RundownItemUncheckedUpdateWithoutMediaInputSchema } from "./RundownItemUncheckedUpdateWithoutMediaInputSchema"; +export { ContinuityItemUpsertWithoutMediaInputSchema } from "./ContinuityItemUpsertWithoutMediaInputSchema"; +export { ContinuityItemUpdateToOneWithWhereWithoutMediaInputSchema } from "./ContinuityItemUpdateToOneWithWhereWithoutMediaInputSchema"; +export { ContinuityItemUpdateWithoutMediaInputSchema } from "./ContinuityItemUpdateWithoutMediaInputSchema"; +export { ContinuityItemUncheckedUpdateWithoutMediaInputSchema } from "./ContinuityItemUncheckedUpdateWithoutMediaInputSchema"; +export { MediaProcessingTaskUpsertWithWhereUniqueWithoutMediaInputSchema } from "./MediaProcessingTaskUpsertWithWhereUniqueWithoutMediaInputSchema"; +export { MediaProcessingTaskUpdateWithWhereUniqueWithoutMediaInputSchema } from "./MediaProcessingTaskUpdateWithWhereUniqueWithoutMediaInputSchema"; +export { MediaProcessingTaskUpdateManyWithWhereWithoutMediaInputSchema } from "./MediaProcessingTaskUpdateManyWithWhereWithoutMediaInputSchema"; +export { MediaProcessingTaskScalarWhereInputSchema } from "./MediaProcessingTaskScalarWhereInputSchema"; +export { ProcessMediaJobUpsertWithWhereUniqueWithoutMediaInputSchema } from "./ProcessMediaJobUpsertWithWhereUniqueWithoutMediaInputSchema"; +export { ProcessMediaJobUpdateWithWhereUniqueWithoutMediaInputSchema } from "./ProcessMediaJobUpdateWithWhereUniqueWithoutMediaInputSchema"; +export { ProcessMediaJobUpdateManyWithWhereWithoutMediaInputSchema } from "./ProcessMediaJobUpdateManyWithWhereWithoutMediaInputSchema"; +export { ProcessMediaJobScalarWhereInputSchema } from "./ProcessMediaJobScalarWhereInputSchema"; +export { AssetUpsertWithoutMediaInputSchema } from "./AssetUpsertWithoutMediaInputSchema"; +export { AssetUpdateToOneWithWhereWithoutMediaInputSchema } from "./AssetUpdateToOneWithWhereWithoutMediaInputSchema"; +export { AssetUpdateWithoutMediaInputSchema } from "./AssetUpdateWithoutMediaInputSchema"; +export { AssetUncheckedUpdateWithoutMediaInputSchema } from "./AssetUncheckedUpdateWithoutMediaInputSchema"; +export { MediaCreateWithoutTasksInputSchema } from "./MediaCreateWithoutTasksInputSchema"; +export { MediaUncheckedCreateWithoutTasksInputSchema } from "./MediaUncheckedCreateWithoutTasksInputSchema"; +export { MediaCreateOrConnectWithoutTasksInputSchema } from "./MediaCreateOrConnectWithoutTasksInputSchema"; +export { MediaUpsertWithoutTasksInputSchema } from "./MediaUpsertWithoutTasksInputSchema"; +export { MediaUpdateToOneWithWhereWithoutTasksInputSchema } from "./MediaUpdateToOneWithWhereWithoutTasksInputSchema"; +export { MediaUpdateWithoutTasksInputSchema } from "./MediaUpdateWithoutTasksInputSchema"; +export { MediaUncheckedUpdateWithoutTasksInputSchema } from "./MediaUncheckedUpdateWithoutTasksInputSchema"; +export { ProcessMediaJobCreateWithoutBase_jobInputSchema } from "./ProcessMediaJobCreateWithoutBase_jobInputSchema"; +export { ProcessMediaJobUncheckedCreateWithoutBase_jobInputSchema } from "./ProcessMediaJobUncheckedCreateWithoutBase_jobInputSchema"; +export { ProcessMediaJobCreateOrConnectWithoutBase_jobInputSchema } from "./ProcessMediaJobCreateOrConnectWithoutBase_jobInputSchema"; +export { LoadAssetJobCreateWithoutBase_jobInputSchema } from "./LoadAssetJobCreateWithoutBase_jobInputSchema"; +export { LoadAssetJobUncheckedCreateWithoutBase_jobInputSchema } from "./LoadAssetJobUncheckedCreateWithoutBase_jobInputSchema"; +export { LoadAssetJobCreateOrConnectWithoutBase_jobInputSchema } from "./LoadAssetJobCreateOrConnectWithoutBase_jobInputSchema"; +export { DummyTestJobCreateWithoutBase_jobInputSchema } from "./DummyTestJobCreateWithoutBase_jobInputSchema"; +export { DummyTestJobUncheckedCreateWithoutBase_jobInputSchema } from "./DummyTestJobUncheckedCreateWithoutBase_jobInputSchema"; +export { DummyTestJobCreateOrConnectWithoutBase_jobInputSchema } from "./DummyTestJobCreateOrConnectWithoutBase_jobInputSchema"; +export { DummyTestJobCreateManyBase_jobInputEnvelopeSchema } from "./DummyTestJobCreateManyBase_jobInputEnvelopeSchema"; +export { ProcessMediaJobUpsertWithoutBase_jobInputSchema } from "./ProcessMediaJobUpsertWithoutBase_jobInputSchema"; +export { ProcessMediaJobUpdateToOneWithWhereWithoutBase_jobInputSchema } from "./ProcessMediaJobUpdateToOneWithWhereWithoutBase_jobInputSchema"; +export { ProcessMediaJobUpdateWithoutBase_jobInputSchema } from "./ProcessMediaJobUpdateWithoutBase_jobInputSchema"; +export { ProcessMediaJobUncheckedUpdateWithoutBase_jobInputSchema } from "./ProcessMediaJobUncheckedUpdateWithoutBase_jobInputSchema"; +export { LoadAssetJobUpsertWithoutBase_jobInputSchema } from "./LoadAssetJobUpsertWithoutBase_jobInputSchema"; +export { LoadAssetJobUpdateToOneWithWhereWithoutBase_jobInputSchema } from "./LoadAssetJobUpdateToOneWithWhereWithoutBase_jobInputSchema"; +export { LoadAssetJobUpdateWithoutBase_jobInputSchema } from "./LoadAssetJobUpdateWithoutBase_jobInputSchema"; +export { LoadAssetJobUncheckedUpdateWithoutBase_jobInputSchema } from "./LoadAssetJobUncheckedUpdateWithoutBase_jobInputSchema"; +export { DummyTestJobUpsertWithWhereUniqueWithoutBase_jobInputSchema } from "./DummyTestJobUpsertWithWhereUniqueWithoutBase_jobInputSchema"; +export { DummyTestJobUpdateWithWhereUniqueWithoutBase_jobInputSchema } from "./DummyTestJobUpdateWithWhereUniqueWithoutBase_jobInputSchema"; +export { DummyTestJobUpdateManyWithWhereWithoutBase_jobInputSchema } from "./DummyTestJobUpdateManyWithWhereWithoutBase_jobInputSchema"; +export { DummyTestJobScalarWhereInputSchema } from "./DummyTestJobScalarWhereInputSchema"; +export { MediaCreateWithoutProcess_jobsInputSchema } from "./MediaCreateWithoutProcess_jobsInputSchema"; +export { MediaUncheckedCreateWithoutProcess_jobsInputSchema } from "./MediaUncheckedCreateWithoutProcess_jobsInputSchema"; +export { MediaCreateOrConnectWithoutProcess_jobsInputSchema } from "./MediaCreateOrConnectWithoutProcess_jobsInputSchema"; +export { BaseJobCreateWithoutProcessMediaJobInputSchema } from "./BaseJobCreateWithoutProcessMediaJobInputSchema"; +export { BaseJobUncheckedCreateWithoutProcessMediaJobInputSchema } from "./BaseJobUncheckedCreateWithoutProcessMediaJobInputSchema"; +export { BaseJobCreateOrConnectWithoutProcessMediaJobInputSchema } from "./BaseJobCreateOrConnectWithoutProcessMediaJobInputSchema"; +export { MediaUpsertWithoutProcess_jobsInputSchema } from "./MediaUpsertWithoutProcess_jobsInputSchema"; +export { MediaUpdateToOneWithWhereWithoutProcess_jobsInputSchema } from "./MediaUpdateToOneWithWhereWithoutProcess_jobsInputSchema"; +export { MediaUpdateWithoutProcess_jobsInputSchema } from "./MediaUpdateWithoutProcess_jobsInputSchema"; +export { MediaUncheckedUpdateWithoutProcess_jobsInputSchema } from "./MediaUncheckedUpdateWithoutProcess_jobsInputSchema"; +export { BaseJobUpsertWithoutProcessMediaJobInputSchema } from "./BaseJobUpsertWithoutProcessMediaJobInputSchema"; +export { BaseJobUpdateToOneWithWhereWithoutProcessMediaJobInputSchema } from "./BaseJobUpdateToOneWithWhereWithoutProcessMediaJobInputSchema"; +export { BaseJobUpdateWithoutProcessMediaJobInputSchema } from "./BaseJobUpdateWithoutProcessMediaJobInputSchema"; +export { BaseJobUncheckedUpdateWithoutProcessMediaJobInputSchema } from "./BaseJobUncheckedUpdateWithoutProcessMediaJobInputSchema"; +export { AssetCreateWithoutLoadJobsInputSchema } from "./AssetCreateWithoutLoadJobsInputSchema"; +export { AssetUncheckedCreateWithoutLoadJobsInputSchema } from "./AssetUncheckedCreateWithoutLoadJobsInputSchema"; +export { AssetCreateOrConnectWithoutLoadJobsInputSchema } from "./AssetCreateOrConnectWithoutLoadJobsInputSchema"; +export { BaseJobCreateWithoutLoadAssetJobInputSchema } from "./BaseJobCreateWithoutLoadAssetJobInputSchema"; +export { BaseJobUncheckedCreateWithoutLoadAssetJobInputSchema } from "./BaseJobUncheckedCreateWithoutLoadAssetJobInputSchema"; +export { BaseJobCreateOrConnectWithoutLoadAssetJobInputSchema } from "./BaseJobCreateOrConnectWithoutLoadAssetJobInputSchema"; +export { AssetUpsertWithoutLoadJobsInputSchema } from "./AssetUpsertWithoutLoadJobsInputSchema"; +export { AssetUpdateToOneWithWhereWithoutLoadJobsInputSchema } from "./AssetUpdateToOneWithWhereWithoutLoadJobsInputSchema"; +export { AssetUpdateWithoutLoadJobsInputSchema } from "./AssetUpdateWithoutLoadJobsInputSchema"; +export { AssetUncheckedUpdateWithoutLoadJobsInputSchema } from "./AssetUncheckedUpdateWithoutLoadJobsInputSchema"; +export { BaseJobUpsertWithoutLoadAssetJobInputSchema } from "./BaseJobUpsertWithoutLoadAssetJobInputSchema"; +export { BaseJobUpdateToOneWithWhereWithoutLoadAssetJobInputSchema } from "./BaseJobUpdateToOneWithWhereWithoutLoadAssetJobInputSchema"; +export { BaseJobUpdateWithoutLoadAssetJobInputSchema } from "./BaseJobUpdateWithoutLoadAssetJobInputSchema"; +export { BaseJobUncheckedUpdateWithoutLoadAssetJobInputSchema } from "./BaseJobUncheckedUpdateWithoutLoadAssetJobInputSchema"; +export { BaseJobCreateWithoutDummyTestJobInputSchema } from "./BaseJobCreateWithoutDummyTestJobInputSchema"; +export { BaseJobUncheckedCreateWithoutDummyTestJobInputSchema } from "./BaseJobUncheckedCreateWithoutDummyTestJobInputSchema"; +export { BaseJobCreateOrConnectWithoutDummyTestJobInputSchema } from "./BaseJobCreateOrConnectWithoutDummyTestJobInputSchema"; +export { BaseJobUpsertWithoutDummyTestJobInputSchema } from "./BaseJobUpsertWithoutDummyTestJobInputSchema"; +export { BaseJobUpdateToOneWithWhereWithoutDummyTestJobInputSchema } from "./BaseJobUpdateToOneWithWhereWithoutDummyTestJobInputSchema"; +export { BaseJobUpdateWithoutDummyTestJobInputSchema } from "./BaseJobUpdateWithoutDummyTestJobInputSchema"; +export { BaseJobUncheckedUpdateWithoutDummyTestJobInputSchema } from "./BaseJobUncheckedUpdateWithoutDummyTestJobInputSchema"; +export { RundownCreateManyShowInputSchema } from "./RundownCreateManyShowInputSchema"; +export { ContinuityItemCreateManyShowInputSchema } from "./ContinuityItemCreateManyShowInputSchema"; +export { RundownUpdateWithoutShowInputSchema } from "./RundownUpdateWithoutShowInputSchema"; +export { RundownUncheckedUpdateWithoutShowInputSchema } from "./RundownUncheckedUpdateWithoutShowInputSchema"; +export { RundownUncheckedUpdateManyWithoutShowInputSchema } from "./RundownUncheckedUpdateManyWithoutShowInputSchema"; +export { ContinuityItemUpdateWithoutShowInputSchema } from "./ContinuityItemUpdateWithoutShowInputSchema"; +export { ContinuityItemUncheckedUpdateWithoutShowInputSchema } from "./ContinuityItemUncheckedUpdateWithoutShowInputSchema"; +export { ContinuityItemUncheckedUpdateManyWithoutShowInputSchema } from "./ContinuityItemUncheckedUpdateManyWithoutShowInputSchema"; +export { RundownItemCreateManyRundownInputSchema } from "./RundownItemCreateManyRundownInputSchema"; +export { AssetCreateManyRundownInputSchema } from "./AssetCreateManyRundownInputSchema"; +export { RundownItemUpdateWithoutRundownInputSchema } from "./RundownItemUpdateWithoutRundownInputSchema"; +export { RundownItemUncheckedUpdateWithoutRundownInputSchema } from "./RundownItemUncheckedUpdateWithoutRundownInputSchema"; +export { RundownItemUncheckedUpdateManyWithoutRundownInputSchema } from "./RundownItemUncheckedUpdateManyWithoutRundownInputSchema"; +export { AssetUpdateWithoutRundownInputSchema } from "./AssetUpdateWithoutRundownInputSchema"; +export { AssetUncheckedUpdateWithoutRundownInputSchema } from "./AssetUncheckedUpdateWithoutRundownInputSchema"; +export { AssetUncheckedUpdateManyWithoutRundownInputSchema } from "./AssetUncheckedUpdateManyWithoutRundownInputSchema"; +export { LoadAssetJobCreateManyAssetInputSchema } from "./LoadAssetJobCreateManyAssetInputSchema"; +export { LoadAssetJobUpdateWithoutAssetInputSchema } from "./LoadAssetJobUpdateWithoutAssetInputSchema"; +export { LoadAssetJobUncheckedUpdateWithoutAssetInputSchema } from "./LoadAssetJobUncheckedUpdateWithoutAssetInputSchema"; +export { LoadAssetJobUncheckedUpdateManyWithoutAssetInputSchema } from "./LoadAssetJobUncheckedUpdateManyWithoutAssetInputSchema"; +export { MediaProcessingTaskCreateManyMediaInputSchema } from "./MediaProcessingTaskCreateManyMediaInputSchema"; +export { ProcessMediaJobCreateManyMediaInputSchema } from "./ProcessMediaJobCreateManyMediaInputSchema"; +export { MediaProcessingTaskUpdateWithoutMediaInputSchema } from "./MediaProcessingTaskUpdateWithoutMediaInputSchema"; +export { MediaProcessingTaskUncheckedUpdateWithoutMediaInputSchema } from "./MediaProcessingTaskUncheckedUpdateWithoutMediaInputSchema"; +export { MediaProcessingTaskUncheckedUpdateManyWithoutMediaInputSchema } from "./MediaProcessingTaskUncheckedUpdateManyWithoutMediaInputSchema"; +export { ProcessMediaJobUpdateWithoutMediaInputSchema } from "./ProcessMediaJobUpdateWithoutMediaInputSchema"; +export { ProcessMediaJobUncheckedUpdateWithoutMediaInputSchema } from "./ProcessMediaJobUncheckedUpdateWithoutMediaInputSchema"; +export { ProcessMediaJobUncheckedUpdateManyWithoutMediaInputSchema } from "./ProcessMediaJobUncheckedUpdateManyWithoutMediaInputSchema"; +export { DummyTestJobCreateManyBase_jobInputSchema } from "./DummyTestJobCreateManyBase_jobInputSchema"; +export { DummyTestJobUpdateWithoutBase_jobInputSchema } from "./DummyTestJobUpdateWithoutBase_jobInputSchema"; +export { DummyTestJobUncheckedUpdateWithoutBase_jobInputSchema } from "./DummyTestJobUncheckedUpdateWithoutBase_jobInputSchema"; +export { DummyTestJobUncheckedUpdateManyWithoutBase_jobInputSchema } from "./DummyTestJobUncheckedUpdateManyWithoutBase_jobInputSchema"; +export { TransactionIsolationLevelSchema } from "./TransactionIsolationLevelSchema"; +export { ShowScalarFieldEnumSchema } from "./ShowScalarFieldEnumSchema"; +export { RundownScalarFieldEnumSchema } from "./RundownScalarFieldEnumSchema"; +export { RundownItemScalarFieldEnumSchema } from "./RundownItemScalarFieldEnumSchema"; +export { ContinuityItemScalarFieldEnumSchema } from "./ContinuityItemScalarFieldEnumSchema"; +export { AssetScalarFieldEnumSchema } from "./AssetScalarFieldEnumSchema"; +export { MediaScalarFieldEnumSchema } from "./MediaScalarFieldEnumSchema"; +export { MediaProcessingTaskScalarFieldEnumSchema } from "./MediaProcessingTaskScalarFieldEnumSchema"; +export { BaseJobScalarFieldEnumSchema } from "./BaseJobScalarFieldEnumSchema"; +export { ProcessMediaJobScalarFieldEnumSchema } from "./ProcessMediaJobScalarFieldEnumSchema"; +export { LoadAssetJobScalarFieldEnumSchema } from "./LoadAssetJobScalarFieldEnumSchema"; +export { DummyTestJobScalarFieldEnumSchema } from "./DummyTestJobScalarFieldEnumSchema"; +export { SortOrderSchema } from "./SortOrderSchema"; +export { QueryModeSchema } from "./QueryModeSchema"; +export { NullsOrderSchema } from "./NullsOrderSchema"; +export { RundownItemTypeSchema } from "./RundownItemTypeSchema"; +export { MediaStateSchema } from "./MediaStateSchema"; +export { AssetTypeSchema } from "./AssetTypeSchema"; +export { MediaProcessingTaskStateSchema } from "./MediaProcessingTaskStateSchema"; +export { JobStateSchema } from "./JobStateSchema"; +export { MediaFileSourceTypeSchema } from "./MediaFileSourceTypeSchema"; diff --git a/utility/prisma/types/outputTypeSchemas/AssetAggregateArgsSchema.ts b/utility/prisma/types/outputTypeSchemas/AssetAggregateArgsSchema.ts new file mode 100644 index 00000000..28f7eb49 --- /dev/null +++ b/utility/prisma/types/outputTypeSchemas/AssetAggregateArgsSchema.ts @@ -0,0 +1,22 @@ +import { z } from "zod"; +import type { Prisma } from "../../client"; +import { AssetWhereInputSchema } from "../inputTypeSchemas/AssetWhereInputSchema"; +import { AssetOrderByWithRelationInputSchema } from "../inputTypeSchemas/AssetOrderByWithRelationInputSchema"; +import { AssetWhereUniqueInputSchema } from "../inputTypeSchemas/AssetWhereUniqueInputSchema"; + +export const AssetAggregateArgsSchema: z.ZodType = z + .object({ + where: AssetWhereInputSchema.optional(), + orderBy: z + .union([ + AssetOrderByWithRelationInputSchema.array(), + AssetOrderByWithRelationInputSchema, + ]) + .optional(), + cursor: AssetWhereUniqueInputSchema.optional(), + take: z.number().optional(), + skip: z.number().optional(), + }) + .strict(); + +export default AssetAggregateArgsSchema; diff --git a/utility/prisma/types/outputTypeSchemas/AssetArgsSchema.ts b/utility/prisma/types/outputTypeSchemas/AssetArgsSchema.ts new file mode 100644 index 00000000..6d65bf3e --- /dev/null +++ b/utility/prisma/types/outputTypeSchemas/AssetArgsSchema.ts @@ -0,0 +1,13 @@ +import { z } from "zod"; +import type { Prisma } from "../../client"; +import { AssetSelectSchema } from "../inputTypeSchemas/AssetSelectSchema"; +import { AssetIncludeSchema } from "../inputTypeSchemas/AssetIncludeSchema"; + +export const AssetArgsSchema: z.ZodType = z + .object({ + select: z.lazy(() => AssetSelectSchema).optional(), + include: z.lazy(() => AssetIncludeSchema).optional(), + }) + .strict(); + +export default AssetArgsSchema; diff --git a/utility/prisma/types/outputTypeSchemas/AssetCountOutputTypeArgsSchema.ts b/utility/prisma/types/outputTypeSchemas/AssetCountOutputTypeArgsSchema.ts new file mode 100644 index 00000000..eba15378 --- /dev/null +++ b/utility/prisma/types/outputTypeSchemas/AssetCountOutputTypeArgsSchema.ts @@ -0,0 +1,12 @@ +import { z } from "zod"; +import type { Prisma } from "../../client"; +import { AssetCountOutputTypeSelectSchema } from "./AssetCountOutputTypeSelectSchema"; + +export const AssetCountOutputTypeArgsSchema: z.ZodType = + z + .object({ + select: z.lazy(() => AssetCountOutputTypeSelectSchema).nullish(), + }) + .strict(); + +export default AssetCountOutputTypeSelectSchema; diff --git a/utility/prisma/types/outputTypeSchemas/AssetCountOutputTypeSelectSchema.ts b/utility/prisma/types/outputTypeSchemas/AssetCountOutputTypeSelectSchema.ts new file mode 100644 index 00000000..d67ec800 --- /dev/null +++ b/utility/prisma/types/outputTypeSchemas/AssetCountOutputTypeSelectSchema.ts @@ -0,0 +1,11 @@ +import { z } from "zod"; +import type { Prisma } from "../../client"; + +export const AssetCountOutputTypeSelectSchema: z.ZodType = + z + .object({ + loadJobs: z.boolean().optional(), + }) + .strict(); + +export default AssetCountOutputTypeSelectSchema; diff --git a/utility/prisma/types/outputTypeSchemas/AssetCreateArgsSchema.ts b/utility/prisma/types/outputTypeSchemas/AssetCreateArgsSchema.ts new file mode 100644 index 00000000..e04959ba --- /dev/null +++ b/utility/prisma/types/outputTypeSchemas/AssetCreateArgsSchema.ts @@ -0,0 +1,14 @@ +import { z } from "zod"; +import type { Prisma } from "../../client"; +import { AssetCreateInputSchema } from "../inputTypeSchemas/AssetCreateInputSchema"; +import { AssetUncheckedCreateInputSchema } from "../inputTypeSchemas/AssetUncheckedCreateInputSchema"; + +export const AssetCreateArgsSchema: z.ZodType< + Omit +> = z + .object({ + data: z.union([AssetCreateInputSchema, AssetUncheckedCreateInputSchema]), + }) + .strict(); + +export default AssetCreateArgsSchema; diff --git a/utility/prisma/types/outputTypeSchemas/AssetCreateManyArgsSchema.ts b/utility/prisma/types/outputTypeSchemas/AssetCreateManyArgsSchema.ts new file mode 100644 index 00000000..2adb5bcd --- /dev/null +++ b/utility/prisma/types/outputTypeSchemas/AssetCreateManyArgsSchema.ts @@ -0,0 +1,16 @@ +import { z } from "zod"; +import type { Prisma } from "../../client"; +import { AssetCreateManyInputSchema } from "../inputTypeSchemas/AssetCreateManyInputSchema"; + +export const AssetCreateManyArgsSchema: z.ZodType = + z + .object({ + data: z.union([ + AssetCreateManyInputSchema, + AssetCreateManyInputSchema.array(), + ]), + skipDuplicates: z.boolean().optional(), + }) + .strict(); + +export default AssetCreateManyArgsSchema; diff --git a/utility/prisma/types/outputTypeSchemas/AssetDeleteArgsSchema.ts b/utility/prisma/types/outputTypeSchemas/AssetDeleteArgsSchema.ts new file mode 100644 index 00000000..add6e38e --- /dev/null +++ b/utility/prisma/types/outputTypeSchemas/AssetDeleteArgsSchema.ts @@ -0,0 +1,13 @@ +import { z } from "zod"; +import type { Prisma } from "../../client"; +import { AssetWhereUniqueInputSchema } from "../inputTypeSchemas/AssetWhereUniqueInputSchema"; + +export const AssetDeleteArgsSchema: z.ZodType< + Omit +> = z + .object({ + where: AssetWhereUniqueInputSchema, + }) + .strict(); + +export default AssetDeleteArgsSchema; diff --git a/utility/prisma/types/outputTypeSchemas/AssetDeleteManyArgsSchema.ts b/utility/prisma/types/outputTypeSchemas/AssetDeleteManyArgsSchema.ts new file mode 100644 index 00000000..b0085b1f --- /dev/null +++ b/utility/prisma/types/outputTypeSchemas/AssetDeleteManyArgsSchema.ts @@ -0,0 +1,12 @@ +import { z } from "zod"; +import type { Prisma } from "../../client"; +import { AssetWhereInputSchema } from "../inputTypeSchemas/AssetWhereInputSchema"; + +export const AssetDeleteManyArgsSchema: z.ZodType = + z + .object({ + where: AssetWhereInputSchema.optional(), + }) + .strict(); + +export default AssetDeleteManyArgsSchema; diff --git a/utility/prisma/types/outputTypeSchemas/AssetFindFirstArgsSchema.ts b/utility/prisma/types/outputTypeSchemas/AssetFindFirstArgsSchema.ts new file mode 100644 index 00000000..06bf5019 --- /dev/null +++ b/utility/prisma/types/outputTypeSchemas/AssetFindFirstArgsSchema.ts @@ -0,0 +1,28 @@ +import { z } from "zod"; +import type { Prisma } from "../../client"; +import { AssetWhereInputSchema } from "../inputTypeSchemas/AssetWhereInputSchema"; +import { AssetOrderByWithRelationInputSchema } from "../inputTypeSchemas/AssetOrderByWithRelationInputSchema"; +import { AssetWhereUniqueInputSchema } from "../inputTypeSchemas/AssetWhereUniqueInputSchema"; +import { AssetScalarFieldEnumSchema } from "../inputTypeSchemas/AssetScalarFieldEnumSchema"; + +export const AssetFindFirstArgsSchema: z.ZodType< + Omit +> = z + .object({ + where: AssetWhereInputSchema.optional(), + orderBy: z + .union([ + AssetOrderByWithRelationInputSchema.array(), + AssetOrderByWithRelationInputSchema, + ]) + .optional(), + cursor: AssetWhereUniqueInputSchema.optional(), + take: z.number().optional(), + skip: z.number().optional(), + distinct: z + .union([AssetScalarFieldEnumSchema, AssetScalarFieldEnumSchema.array()]) + .optional(), + }) + .strict(); + +export default AssetFindFirstArgsSchema; diff --git a/utility/prisma/types/outputTypeSchemas/AssetFindFirstOrThrowArgsSchema.ts b/utility/prisma/types/outputTypeSchemas/AssetFindFirstOrThrowArgsSchema.ts new file mode 100644 index 00000000..e03d266c --- /dev/null +++ b/utility/prisma/types/outputTypeSchemas/AssetFindFirstOrThrowArgsSchema.ts @@ -0,0 +1,28 @@ +import { z } from "zod"; +import type { Prisma } from "../../client"; +import { AssetWhereInputSchema } from "../inputTypeSchemas/AssetWhereInputSchema"; +import { AssetOrderByWithRelationInputSchema } from "../inputTypeSchemas/AssetOrderByWithRelationInputSchema"; +import { AssetWhereUniqueInputSchema } from "../inputTypeSchemas/AssetWhereUniqueInputSchema"; +import { AssetScalarFieldEnumSchema } from "../inputTypeSchemas/AssetScalarFieldEnumSchema"; + +export const AssetFindFirstOrThrowArgsSchema: z.ZodType< + Omit +> = z + .object({ + where: AssetWhereInputSchema.optional(), + orderBy: z + .union([ + AssetOrderByWithRelationInputSchema.array(), + AssetOrderByWithRelationInputSchema, + ]) + .optional(), + cursor: AssetWhereUniqueInputSchema.optional(), + take: z.number().optional(), + skip: z.number().optional(), + distinct: z + .union([AssetScalarFieldEnumSchema, AssetScalarFieldEnumSchema.array()]) + .optional(), + }) + .strict(); + +export default AssetFindFirstOrThrowArgsSchema; diff --git a/utility/prisma/types/outputTypeSchemas/AssetFindManyArgsSchema.ts b/utility/prisma/types/outputTypeSchemas/AssetFindManyArgsSchema.ts new file mode 100644 index 00000000..a00cfc11 --- /dev/null +++ b/utility/prisma/types/outputTypeSchemas/AssetFindManyArgsSchema.ts @@ -0,0 +1,28 @@ +import { z } from "zod"; +import type { Prisma } from "../../client"; +import { AssetWhereInputSchema } from "../inputTypeSchemas/AssetWhereInputSchema"; +import { AssetOrderByWithRelationInputSchema } from "../inputTypeSchemas/AssetOrderByWithRelationInputSchema"; +import { AssetWhereUniqueInputSchema } from "../inputTypeSchemas/AssetWhereUniqueInputSchema"; +import { AssetScalarFieldEnumSchema } from "../inputTypeSchemas/AssetScalarFieldEnumSchema"; + +export const AssetFindManyArgsSchema: z.ZodType< + Omit +> = z + .object({ + where: AssetWhereInputSchema.optional(), + orderBy: z + .union([ + AssetOrderByWithRelationInputSchema.array(), + AssetOrderByWithRelationInputSchema, + ]) + .optional(), + cursor: AssetWhereUniqueInputSchema.optional(), + take: z.number().optional(), + skip: z.number().optional(), + distinct: z + .union([AssetScalarFieldEnumSchema, AssetScalarFieldEnumSchema.array()]) + .optional(), + }) + .strict(); + +export default AssetFindManyArgsSchema; diff --git a/utility/prisma/types/outputTypeSchemas/AssetFindUniqueArgsSchema.ts b/utility/prisma/types/outputTypeSchemas/AssetFindUniqueArgsSchema.ts new file mode 100644 index 00000000..e4e143a4 --- /dev/null +++ b/utility/prisma/types/outputTypeSchemas/AssetFindUniqueArgsSchema.ts @@ -0,0 +1,13 @@ +import { z } from "zod"; +import type { Prisma } from "../../client"; +import { AssetWhereUniqueInputSchema } from "../inputTypeSchemas/AssetWhereUniqueInputSchema"; + +export const AssetFindUniqueArgsSchema: z.ZodType< + Omit +> = z + .object({ + where: AssetWhereUniqueInputSchema, + }) + .strict(); + +export default AssetFindUniqueArgsSchema; diff --git a/utility/prisma/types/outputTypeSchemas/AssetFindUniqueOrThrowArgsSchema.ts b/utility/prisma/types/outputTypeSchemas/AssetFindUniqueOrThrowArgsSchema.ts new file mode 100644 index 00000000..4e16c8f9 --- /dev/null +++ b/utility/prisma/types/outputTypeSchemas/AssetFindUniqueOrThrowArgsSchema.ts @@ -0,0 +1,13 @@ +import { z } from "zod"; +import type { Prisma } from "../../client"; +import { AssetWhereUniqueInputSchema } from "../inputTypeSchemas/AssetWhereUniqueInputSchema"; + +export const AssetFindUniqueOrThrowArgsSchema: z.ZodType< + Omit +> = z + .object({ + where: AssetWhereUniqueInputSchema, + }) + .strict(); + +export default AssetFindUniqueOrThrowArgsSchema; diff --git a/utility/prisma/types/outputTypeSchemas/AssetGroupByArgsSchema.ts b/utility/prisma/types/outputTypeSchemas/AssetGroupByArgsSchema.ts new file mode 100644 index 00000000..5e9c5bc9 --- /dev/null +++ b/utility/prisma/types/outputTypeSchemas/AssetGroupByArgsSchema.ts @@ -0,0 +1,24 @@ +import { z } from "zod"; +import type { Prisma } from "../../client"; +import { AssetWhereInputSchema } from "../inputTypeSchemas/AssetWhereInputSchema"; +import { AssetOrderByWithAggregationInputSchema } from "../inputTypeSchemas/AssetOrderByWithAggregationInputSchema"; +import { AssetScalarFieldEnumSchema } from "../inputTypeSchemas/AssetScalarFieldEnumSchema"; +import { AssetScalarWhereWithAggregatesInputSchema } from "../inputTypeSchemas/AssetScalarWhereWithAggregatesInputSchema"; + +export const AssetGroupByArgsSchema: z.ZodType = z + .object({ + where: AssetWhereInputSchema.optional(), + orderBy: z + .union([ + AssetOrderByWithAggregationInputSchema.array(), + AssetOrderByWithAggregationInputSchema, + ]) + .optional(), + by: AssetScalarFieldEnumSchema.array(), + having: AssetScalarWhereWithAggregatesInputSchema.optional(), + take: z.number().optional(), + skip: z.number().optional(), + }) + .strict(); + +export default AssetGroupByArgsSchema; diff --git a/utility/prisma/types/outputTypeSchemas/AssetUpdateArgsSchema.ts b/utility/prisma/types/outputTypeSchemas/AssetUpdateArgsSchema.ts new file mode 100644 index 00000000..6aac61dd --- /dev/null +++ b/utility/prisma/types/outputTypeSchemas/AssetUpdateArgsSchema.ts @@ -0,0 +1,16 @@ +import { z } from "zod"; +import type { Prisma } from "../../client"; +import { AssetUpdateInputSchema } from "../inputTypeSchemas/AssetUpdateInputSchema"; +import { AssetUncheckedUpdateInputSchema } from "../inputTypeSchemas/AssetUncheckedUpdateInputSchema"; +import { AssetWhereUniqueInputSchema } from "../inputTypeSchemas/AssetWhereUniqueInputSchema"; + +export const AssetUpdateArgsSchema: z.ZodType< + Omit +> = z + .object({ + data: z.union([AssetUpdateInputSchema, AssetUncheckedUpdateInputSchema]), + where: AssetWhereUniqueInputSchema, + }) + .strict(); + +export default AssetUpdateArgsSchema; diff --git a/utility/prisma/types/outputTypeSchemas/AssetUpdateManyArgsSchema.ts b/utility/prisma/types/outputTypeSchemas/AssetUpdateManyArgsSchema.ts new file mode 100644 index 00000000..8b4385a7 --- /dev/null +++ b/utility/prisma/types/outputTypeSchemas/AssetUpdateManyArgsSchema.ts @@ -0,0 +1,18 @@ +import { z } from "zod"; +import type { Prisma } from "../../client"; +import { AssetUpdateManyMutationInputSchema } from "../inputTypeSchemas/AssetUpdateManyMutationInputSchema"; +import { AssetUncheckedUpdateManyInputSchema } from "../inputTypeSchemas/AssetUncheckedUpdateManyInputSchema"; +import { AssetWhereInputSchema } from "../inputTypeSchemas/AssetWhereInputSchema"; + +export const AssetUpdateManyArgsSchema: z.ZodType = + z + .object({ + data: z.union([ + AssetUpdateManyMutationInputSchema, + AssetUncheckedUpdateManyInputSchema, + ]), + where: AssetWhereInputSchema.optional(), + }) + .strict(); + +export default AssetUpdateManyArgsSchema; diff --git a/utility/prisma/types/outputTypeSchemas/AssetUpsertArgsSchema.ts b/utility/prisma/types/outputTypeSchemas/AssetUpsertArgsSchema.ts new file mode 100644 index 00000000..45f9abd9 --- /dev/null +++ b/utility/prisma/types/outputTypeSchemas/AssetUpsertArgsSchema.ts @@ -0,0 +1,19 @@ +import { z } from "zod"; +import type { Prisma } from "../../client"; +import { AssetWhereUniqueInputSchema } from "../inputTypeSchemas/AssetWhereUniqueInputSchema"; +import { AssetCreateInputSchema } from "../inputTypeSchemas/AssetCreateInputSchema"; +import { AssetUncheckedCreateInputSchema } from "../inputTypeSchemas/AssetUncheckedCreateInputSchema"; +import { AssetUpdateInputSchema } from "../inputTypeSchemas/AssetUpdateInputSchema"; +import { AssetUncheckedUpdateInputSchema } from "../inputTypeSchemas/AssetUncheckedUpdateInputSchema"; + +export const AssetUpsertArgsSchema: z.ZodType< + Omit +> = z + .object({ + where: AssetWhereUniqueInputSchema, + create: z.union([AssetCreateInputSchema, AssetUncheckedCreateInputSchema]), + update: z.union([AssetUpdateInputSchema, AssetUncheckedUpdateInputSchema]), + }) + .strict(); + +export default AssetUpsertArgsSchema; diff --git a/utility/prisma/types/outputTypeSchemas/BaseJobAggregateArgsSchema.ts b/utility/prisma/types/outputTypeSchemas/BaseJobAggregateArgsSchema.ts new file mode 100644 index 00000000..ac231684 --- /dev/null +++ b/utility/prisma/types/outputTypeSchemas/BaseJobAggregateArgsSchema.ts @@ -0,0 +1,23 @@ +import { z } from "zod"; +import type { Prisma } from "../../client"; +import { BaseJobWhereInputSchema } from "../inputTypeSchemas/BaseJobWhereInputSchema"; +import { BaseJobOrderByWithRelationInputSchema } from "../inputTypeSchemas/BaseJobOrderByWithRelationInputSchema"; +import { BaseJobWhereUniqueInputSchema } from "../inputTypeSchemas/BaseJobWhereUniqueInputSchema"; + +export const BaseJobAggregateArgsSchema: z.ZodType = + z + .object({ + where: BaseJobWhereInputSchema.optional(), + orderBy: z + .union([ + BaseJobOrderByWithRelationInputSchema.array(), + BaseJobOrderByWithRelationInputSchema, + ]) + .optional(), + cursor: BaseJobWhereUniqueInputSchema.optional(), + take: z.number().optional(), + skip: z.number().optional(), + }) + .strict(); + +export default BaseJobAggregateArgsSchema; diff --git a/utility/prisma/types/outputTypeSchemas/BaseJobArgsSchema.ts b/utility/prisma/types/outputTypeSchemas/BaseJobArgsSchema.ts new file mode 100644 index 00000000..bfc91513 --- /dev/null +++ b/utility/prisma/types/outputTypeSchemas/BaseJobArgsSchema.ts @@ -0,0 +1,13 @@ +import { z } from "zod"; +import type { Prisma } from "../../client"; +import { BaseJobSelectSchema } from "../inputTypeSchemas/BaseJobSelectSchema"; +import { BaseJobIncludeSchema } from "../inputTypeSchemas/BaseJobIncludeSchema"; + +export const BaseJobArgsSchema: z.ZodType = z + .object({ + select: z.lazy(() => BaseJobSelectSchema).optional(), + include: z.lazy(() => BaseJobIncludeSchema).optional(), + }) + .strict(); + +export default BaseJobArgsSchema; diff --git a/utility/prisma/types/outputTypeSchemas/BaseJobCountOutputTypeArgsSchema.ts b/utility/prisma/types/outputTypeSchemas/BaseJobCountOutputTypeArgsSchema.ts new file mode 100644 index 00000000..7255e993 --- /dev/null +++ b/utility/prisma/types/outputTypeSchemas/BaseJobCountOutputTypeArgsSchema.ts @@ -0,0 +1,12 @@ +import { z } from "zod"; +import type { Prisma } from "../../client"; +import { BaseJobCountOutputTypeSelectSchema } from "./BaseJobCountOutputTypeSelectSchema"; + +export const BaseJobCountOutputTypeArgsSchema: z.ZodType = + z + .object({ + select: z.lazy(() => BaseJobCountOutputTypeSelectSchema).nullish(), + }) + .strict(); + +export default BaseJobCountOutputTypeSelectSchema; diff --git a/utility/prisma/types/outputTypeSchemas/BaseJobCountOutputTypeSelectSchema.ts b/utility/prisma/types/outputTypeSchemas/BaseJobCountOutputTypeSelectSchema.ts new file mode 100644 index 00000000..4370d371 --- /dev/null +++ b/utility/prisma/types/outputTypeSchemas/BaseJobCountOutputTypeSelectSchema.ts @@ -0,0 +1,11 @@ +import { z } from "zod"; +import type { Prisma } from "../../client"; + +export const BaseJobCountOutputTypeSelectSchema: z.ZodType = + z + .object({ + DummyTestJob: z.boolean().optional(), + }) + .strict(); + +export default BaseJobCountOutputTypeSelectSchema; diff --git a/utility/prisma/types/outputTypeSchemas/BaseJobCreateArgsSchema.ts b/utility/prisma/types/outputTypeSchemas/BaseJobCreateArgsSchema.ts new file mode 100644 index 00000000..b9c20e98 --- /dev/null +++ b/utility/prisma/types/outputTypeSchemas/BaseJobCreateArgsSchema.ts @@ -0,0 +1,16 @@ +import { z } from "zod"; +import type { Prisma } from "../../client"; +import { BaseJobCreateInputSchema } from "../inputTypeSchemas/BaseJobCreateInputSchema"; +import { BaseJobUncheckedCreateInputSchema } from "../inputTypeSchemas/BaseJobUncheckedCreateInputSchema"; + +export const BaseJobCreateArgsSchema: z.ZodType< + Omit +> = z + .object({ + data: z + .union([BaseJobCreateInputSchema, BaseJobUncheckedCreateInputSchema]) + .optional(), + }) + .strict(); + +export default BaseJobCreateArgsSchema; diff --git a/utility/prisma/types/outputTypeSchemas/BaseJobCreateManyArgsSchema.ts b/utility/prisma/types/outputTypeSchemas/BaseJobCreateManyArgsSchema.ts new file mode 100644 index 00000000..066793ff --- /dev/null +++ b/utility/prisma/types/outputTypeSchemas/BaseJobCreateManyArgsSchema.ts @@ -0,0 +1,16 @@ +import { z } from "zod"; +import type { Prisma } from "../../client"; +import { BaseJobCreateManyInputSchema } from "../inputTypeSchemas/BaseJobCreateManyInputSchema"; + +export const BaseJobCreateManyArgsSchema: z.ZodType = + z + .object({ + data: z.union([ + BaseJobCreateManyInputSchema, + BaseJobCreateManyInputSchema.array(), + ]), + skipDuplicates: z.boolean().optional(), + }) + .strict(); + +export default BaseJobCreateManyArgsSchema; diff --git a/utility/prisma/types/outputTypeSchemas/BaseJobDeleteArgsSchema.ts b/utility/prisma/types/outputTypeSchemas/BaseJobDeleteArgsSchema.ts new file mode 100644 index 00000000..4137fdad --- /dev/null +++ b/utility/prisma/types/outputTypeSchemas/BaseJobDeleteArgsSchema.ts @@ -0,0 +1,13 @@ +import { z } from "zod"; +import type { Prisma } from "../../client"; +import { BaseJobWhereUniqueInputSchema } from "../inputTypeSchemas/BaseJobWhereUniqueInputSchema"; + +export const BaseJobDeleteArgsSchema: z.ZodType< + Omit +> = z + .object({ + where: BaseJobWhereUniqueInputSchema, + }) + .strict(); + +export default BaseJobDeleteArgsSchema; diff --git a/utility/prisma/types/outputTypeSchemas/BaseJobDeleteManyArgsSchema.ts b/utility/prisma/types/outputTypeSchemas/BaseJobDeleteManyArgsSchema.ts new file mode 100644 index 00000000..a0b66e66 --- /dev/null +++ b/utility/prisma/types/outputTypeSchemas/BaseJobDeleteManyArgsSchema.ts @@ -0,0 +1,12 @@ +import { z } from "zod"; +import type { Prisma } from "../../client"; +import { BaseJobWhereInputSchema } from "../inputTypeSchemas/BaseJobWhereInputSchema"; + +export const BaseJobDeleteManyArgsSchema: z.ZodType = + z + .object({ + where: BaseJobWhereInputSchema.optional(), + }) + .strict(); + +export default BaseJobDeleteManyArgsSchema; diff --git a/utility/prisma/types/outputTypeSchemas/BaseJobFindFirstArgsSchema.ts b/utility/prisma/types/outputTypeSchemas/BaseJobFindFirstArgsSchema.ts new file mode 100644 index 00000000..ed04b717 --- /dev/null +++ b/utility/prisma/types/outputTypeSchemas/BaseJobFindFirstArgsSchema.ts @@ -0,0 +1,31 @@ +import { z } from "zod"; +import type { Prisma } from "../../client"; +import { BaseJobWhereInputSchema } from "../inputTypeSchemas/BaseJobWhereInputSchema"; +import { BaseJobOrderByWithRelationInputSchema } from "../inputTypeSchemas/BaseJobOrderByWithRelationInputSchema"; +import { BaseJobWhereUniqueInputSchema } from "../inputTypeSchemas/BaseJobWhereUniqueInputSchema"; +import { BaseJobScalarFieldEnumSchema } from "../inputTypeSchemas/BaseJobScalarFieldEnumSchema"; + +export const BaseJobFindFirstArgsSchema: z.ZodType< + Omit +> = z + .object({ + where: BaseJobWhereInputSchema.optional(), + orderBy: z + .union([ + BaseJobOrderByWithRelationInputSchema.array(), + BaseJobOrderByWithRelationInputSchema, + ]) + .optional(), + cursor: BaseJobWhereUniqueInputSchema.optional(), + take: z.number().optional(), + skip: z.number().optional(), + distinct: z + .union([ + BaseJobScalarFieldEnumSchema, + BaseJobScalarFieldEnumSchema.array(), + ]) + .optional(), + }) + .strict(); + +export default BaseJobFindFirstArgsSchema; diff --git a/utility/prisma/types/outputTypeSchemas/BaseJobFindFirstOrThrowArgsSchema.ts b/utility/prisma/types/outputTypeSchemas/BaseJobFindFirstOrThrowArgsSchema.ts new file mode 100644 index 00000000..62b64a43 --- /dev/null +++ b/utility/prisma/types/outputTypeSchemas/BaseJobFindFirstOrThrowArgsSchema.ts @@ -0,0 +1,31 @@ +import { z } from "zod"; +import type { Prisma } from "../../client"; +import { BaseJobWhereInputSchema } from "../inputTypeSchemas/BaseJobWhereInputSchema"; +import { BaseJobOrderByWithRelationInputSchema } from "../inputTypeSchemas/BaseJobOrderByWithRelationInputSchema"; +import { BaseJobWhereUniqueInputSchema } from "../inputTypeSchemas/BaseJobWhereUniqueInputSchema"; +import { BaseJobScalarFieldEnumSchema } from "../inputTypeSchemas/BaseJobScalarFieldEnumSchema"; + +export const BaseJobFindFirstOrThrowArgsSchema: z.ZodType< + Omit +> = z + .object({ + where: BaseJobWhereInputSchema.optional(), + orderBy: z + .union([ + BaseJobOrderByWithRelationInputSchema.array(), + BaseJobOrderByWithRelationInputSchema, + ]) + .optional(), + cursor: BaseJobWhereUniqueInputSchema.optional(), + take: z.number().optional(), + skip: z.number().optional(), + distinct: z + .union([ + BaseJobScalarFieldEnumSchema, + BaseJobScalarFieldEnumSchema.array(), + ]) + .optional(), + }) + .strict(); + +export default BaseJobFindFirstOrThrowArgsSchema; diff --git a/utility/prisma/types/outputTypeSchemas/BaseJobFindManyArgsSchema.ts b/utility/prisma/types/outputTypeSchemas/BaseJobFindManyArgsSchema.ts new file mode 100644 index 00000000..07fe0fcf --- /dev/null +++ b/utility/prisma/types/outputTypeSchemas/BaseJobFindManyArgsSchema.ts @@ -0,0 +1,31 @@ +import { z } from "zod"; +import type { Prisma } from "../../client"; +import { BaseJobWhereInputSchema } from "../inputTypeSchemas/BaseJobWhereInputSchema"; +import { BaseJobOrderByWithRelationInputSchema } from "../inputTypeSchemas/BaseJobOrderByWithRelationInputSchema"; +import { BaseJobWhereUniqueInputSchema } from "../inputTypeSchemas/BaseJobWhereUniqueInputSchema"; +import { BaseJobScalarFieldEnumSchema } from "../inputTypeSchemas/BaseJobScalarFieldEnumSchema"; + +export const BaseJobFindManyArgsSchema: z.ZodType< + Omit +> = z + .object({ + where: BaseJobWhereInputSchema.optional(), + orderBy: z + .union([ + BaseJobOrderByWithRelationInputSchema.array(), + BaseJobOrderByWithRelationInputSchema, + ]) + .optional(), + cursor: BaseJobWhereUniqueInputSchema.optional(), + take: z.number().optional(), + skip: z.number().optional(), + distinct: z + .union([ + BaseJobScalarFieldEnumSchema, + BaseJobScalarFieldEnumSchema.array(), + ]) + .optional(), + }) + .strict(); + +export default BaseJobFindManyArgsSchema; diff --git a/utility/prisma/types/outputTypeSchemas/BaseJobFindUniqueArgsSchema.ts b/utility/prisma/types/outputTypeSchemas/BaseJobFindUniqueArgsSchema.ts new file mode 100644 index 00000000..fc415542 --- /dev/null +++ b/utility/prisma/types/outputTypeSchemas/BaseJobFindUniqueArgsSchema.ts @@ -0,0 +1,13 @@ +import { z } from "zod"; +import type { Prisma } from "../../client"; +import { BaseJobWhereUniqueInputSchema } from "../inputTypeSchemas/BaseJobWhereUniqueInputSchema"; + +export const BaseJobFindUniqueArgsSchema: z.ZodType< + Omit +> = z + .object({ + where: BaseJobWhereUniqueInputSchema, + }) + .strict(); + +export default BaseJobFindUniqueArgsSchema; diff --git a/utility/prisma/types/outputTypeSchemas/BaseJobFindUniqueOrThrowArgsSchema.ts b/utility/prisma/types/outputTypeSchemas/BaseJobFindUniqueOrThrowArgsSchema.ts new file mode 100644 index 00000000..47e69e86 --- /dev/null +++ b/utility/prisma/types/outputTypeSchemas/BaseJobFindUniqueOrThrowArgsSchema.ts @@ -0,0 +1,13 @@ +import { z } from "zod"; +import type { Prisma } from "../../client"; +import { BaseJobWhereUniqueInputSchema } from "../inputTypeSchemas/BaseJobWhereUniqueInputSchema"; + +export const BaseJobFindUniqueOrThrowArgsSchema: z.ZodType< + Omit +> = z + .object({ + where: BaseJobWhereUniqueInputSchema, + }) + .strict(); + +export default BaseJobFindUniqueOrThrowArgsSchema; diff --git a/utility/prisma/types/outputTypeSchemas/BaseJobGroupByArgsSchema.ts b/utility/prisma/types/outputTypeSchemas/BaseJobGroupByArgsSchema.ts new file mode 100644 index 00000000..223b3bff --- /dev/null +++ b/utility/prisma/types/outputTypeSchemas/BaseJobGroupByArgsSchema.ts @@ -0,0 +1,24 @@ +import { z } from "zod"; +import type { Prisma } from "../../client"; +import { BaseJobWhereInputSchema } from "../inputTypeSchemas/BaseJobWhereInputSchema"; +import { BaseJobOrderByWithAggregationInputSchema } from "../inputTypeSchemas/BaseJobOrderByWithAggregationInputSchema"; +import { BaseJobScalarFieldEnumSchema } from "../inputTypeSchemas/BaseJobScalarFieldEnumSchema"; +import { BaseJobScalarWhereWithAggregatesInputSchema } from "../inputTypeSchemas/BaseJobScalarWhereWithAggregatesInputSchema"; + +export const BaseJobGroupByArgsSchema: z.ZodType = z + .object({ + where: BaseJobWhereInputSchema.optional(), + orderBy: z + .union([ + BaseJobOrderByWithAggregationInputSchema.array(), + BaseJobOrderByWithAggregationInputSchema, + ]) + .optional(), + by: BaseJobScalarFieldEnumSchema.array(), + having: BaseJobScalarWhereWithAggregatesInputSchema.optional(), + take: z.number().optional(), + skip: z.number().optional(), + }) + .strict(); + +export default BaseJobGroupByArgsSchema; diff --git a/utility/prisma/types/outputTypeSchemas/BaseJobUpdateArgsSchema.ts b/utility/prisma/types/outputTypeSchemas/BaseJobUpdateArgsSchema.ts new file mode 100644 index 00000000..d507f878 --- /dev/null +++ b/utility/prisma/types/outputTypeSchemas/BaseJobUpdateArgsSchema.ts @@ -0,0 +1,19 @@ +import { z } from "zod"; +import type { Prisma } from "../../client"; +import { BaseJobUpdateInputSchema } from "../inputTypeSchemas/BaseJobUpdateInputSchema"; +import { BaseJobUncheckedUpdateInputSchema } from "../inputTypeSchemas/BaseJobUncheckedUpdateInputSchema"; +import { BaseJobWhereUniqueInputSchema } from "../inputTypeSchemas/BaseJobWhereUniqueInputSchema"; + +export const BaseJobUpdateArgsSchema: z.ZodType< + Omit +> = z + .object({ + data: z.union([ + BaseJobUpdateInputSchema, + BaseJobUncheckedUpdateInputSchema, + ]), + where: BaseJobWhereUniqueInputSchema, + }) + .strict(); + +export default BaseJobUpdateArgsSchema; diff --git a/utility/prisma/types/outputTypeSchemas/BaseJobUpdateManyArgsSchema.ts b/utility/prisma/types/outputTypeSchemas/BaseJobUpdateManyArgsSchema.ts new file mode 100644 index 00000000..47800e17 --- /dev/null +++ b/utility/prisma/types/outputTypeSchemas/BaseJobUpdateManyArgsSchema.ts @@ -0,0 +1,18 @@ +import { z } from "zod"; +import type { Prisma } from "../../client"; +import { BaseJobUpdateManyMutationInputSchema } from "../inputTypeSchemas/BaseJobUpdateManyMutationInputSchema"; +import { BaseJobUncheckedUpdateManyInputSchema } from "../inputTypeSchemas/BaseJobUncheckedUpdateManyInputSchema"; +import { BaseJobWhereInputSchema } from "../inputTypeSchemas/BaseJobWhereInputSchema"; + +export const BaseJobUpdateManyArgsSchema: z.ZodType = + z + .object({ + data: z.union([ + BaseJobUpdateManyMutationInputSchema, + BaseJobUncheckedUpdateManyInputSchema, + ]), + where: BaseJobWhereInputSchema.optional(), + }) + .strict(); + +export default BaseJobUpdateManyArgsSchema; diff --git a/utility/prisma/types/outputTypeSchemas/BaseJobUpsertArgsSchema.ts b/utility/prisma/types/outputTypeSchemas/BaseJobUpsertArgsSchema.ts new file mode 100644 index 00000000..59dfd914 --- /dev/null +++ b/utility/prisma/types/outputTypeSchemas/BaseJobUpsertArgsSchema.ts @@ -0,0 +1,25 @@ +import { z } from "zod"; +import type { Prisma } from "../../client"; +import { BaseJobWhereUniqueInputSchema } from "../inputTypeSchemas/BaseJobWhereUniqueInputSchema"; +import { BaseJobCreateInputSchema } from "../inputTypeSchemas/BaseJobCreateInputSchema"; +import { BaseJobUncheckedCreateInputSchema } from "../inputTypeSchemas/BaseJobUncheckedCreateInputSchema"; +import { BaseJobUpdateInputSchema } from "../inputTypeSchemas/BaseJobUpdateInputSchema"; +import { BaseJobUncheckedUpdateInputSchema } from "../inputTypeSchemas/BaseJobUncheckedUpdateInputSchema"; + +export const BaseJobUpsertArgsSchema: z.ZodType< + Omit +> = z + .object({ + where: BaseJobWhereUniqueInputSchema, + create: z.union([ + BaseJobCreateInputSchema, + BaseJobUncheckedCreateInputSchema, + ]), + update: z.union([ + BaseJobUpdateInputSchema, + BaseJobUncheckedUpdateInputSchema, + ]), + }) + .strict(); + +export default BaseJobUpsertArgsSchema; diff --git a/utility/prisma/types/outputTypeSchemas/ContinuityItemAggregateArgsSchema.ts b/utility/prisma/types/outputTypeSchemas/ContinuityItemAggregateArgsSchema.ts new file mode 100644 index 00000000..c4f751e6 --- /dev/null +++ b/utility/prisma/types/outputTypeSchemas/ContinuityItemAggregateArgsSchema.ts @@ -0,0 +1,23 @@ +import { z } from "zod"; +import type { Prisma } from "../../client"; +import { ContinuityItemWhereInputSchema } from "../inputTypeSchemas/ContinuityItemWhereInputSchema"; +import { ContinuityItemOrderByWithRelationInputSchema } from "../inputTypeSchemas/ContinuityItemOrderByWithRelationInputSchema"; +import { ContinuityItemWhereUniqueInputSchema } from "../inputTypeSchemas/ContinuityItemWhereUniqueInputSchema"; + +export const ContinuityItemAggregateArgsSchema: z.ZodType = + z + .object({ + where: ContinuityItemWhereInputSchema.optional(), + orderBy: z + .union([ + ContinuityItemOrderByWithRelationInputSchema.array(), + ContinuityItemOrderByWithRelationInputSchema, + ]) + .optional(), + cursor: ContinuityItemWhereUniqueInputSchema.optional(), + take: z.number().optional(), + skip: z.number().optional(), + }) + .strict(); + +export default ContinuityItemAggregateArgsSchema; diff --git a/utility/prisma/types/outputTypeSchemas/ContinuityItemArgsSchema.ts b/utility/prisma/types/outputTypeSchemas/ContinuityItemArgsSchema.ts new file mode 100644 index 00000000..5dea6901 --- /dev/null +++ b/utility/prisma/types/outputTypeSchemas/ContinuityItemArgsSchema.ts @@ -0,0 +1,14 @@ +import { z } from "zod"; +import type { Prisma } from "../../client"; +import { ContinuityItemSelectSchema } from "../inputTypeSchemas/ContinuityItemSelectSchema"; +import { ContinuityItemIncludeSchema } from "../inputTypeSchemas/ContinuityItemIncludeSchema"; + +export const ContinuityItemArgsSchema: z.ZodType = + z + .object({ + select: z.lazy(() => ContinuityItemSelectSchema).optional(), + include: z.lazy(() => ContinuityItemIncludeSchema).optional(), + }) + .strict(); + +export default ContinuityItemArgsSchema; diff --git a/utility/prisma/types/outputTypeSchemas/ContinuityItemCreateArgsSchema.ts b/utility/prisma/types/outputTypeSchemas/ContinuityItemCreateArgsSchema.ts new file mode 100644 index 00000000..bba7ab4a --- /dev/null +++ b/utility/prisma/types/outputTypeSchemas/ContinuityItemCreateArgsSchema.ts @@ -0,0 +1,17 @@ +import { z } from "zod"; +import type { Prisma } from "../../client"; +import { ContinuityItemCreateInputSchema } from "../inputTypeSchemas/ContinuityItemCreateInputSchema"; +import { ContinuityItemUncheckedCreateInputSchema } from "../inputTypeSchemas/ContinuityItemUncheckedCreateInputSchema"; + +export const ContinuityItemCreateArgsSchema: z.ZodType< + Omit +> = z + .object({ + data: z.union([ + ContinuityItemCreateInputSchema, + ContinuityItemUncheckedCreateInputSchema, + ]), + }) + .strict(); + +export default ContinuityItemCreateArgsSchema; diff --git a/utility/prisma/types/outputTypeSchemas/ContinuityItemCreateManyArgsSchema.ts b/utility/prisma/types/outputTypeSchemas/ContinuityItemCreateManyArgsSchema.ts new file mode 100644 index 00000000..f5d48b0f --- /dev/null +++ b/utility/prisma/types/outputTypeSchemas/ContinuityItemCreateManyArgsSchema.ts @@ -0,0 +1,16 @@ +import { z } from "zod"; +import type { Prisma } from "../../client"; +import { ContinuityItemCreateManyInputSchema } from "../inputTypeSchemas/ContinuityItemCreateManyInputSchema"; + +export const ContinuityItemCreateManyArgsSchema: z.ZodType = + z + .object({ + data: z.union([ + ContinuityItemCreateManyInputSchema, + ContinuityItemCreateManyInputSchema.array(), + ]), + skipDuplicates: z.boolean().optional(), + }) + .strict(); + +export default ContinuityItemCreateManyArgsSchema; diff --git a/utility/prisma/types/outputTypeSchemas/ContinuityItemDeleteArgsSchema.ts b/utility/prisma/types/outputTypeSchemas/ContinuityItemDeleteArgsSchema.ts new file mode 100644 index 00000000..1179a9e4 --- /dev/null +++ b/utility/prisma/types/outputTypeSchemas/ContinuityItemDeleteArgsSchema.ts @@ -0,0 +1,13 @@ +import { z } from "zod"; +import type { Prisma } from "../../client"; +import { ContinuityItemWhereUniqueInputSchema } from "../inputTypeSchemas/ContinuityItemWhereUniqueInputSchema"; + +export const ContinuityItemDeleteArgsSchema: z.ZodType< + Omit +> = z + .object({ + where: ContinuityItemWhereUniqueInputSchema, + }) + .strict(); + +export default ContinuityItemDeleteArgsSchema; diff --git a/utility/prisma/types/outputTypeSchemas/ContinuityItemDeleteManyArgsSchema.ts b/utility/prisma/types/outputTypeSchemas/ContinuityItemDeleteManyArgsSchema.ts new file mode 100644 index 00000000..bac2eba5 --- /dev/null +++ b/utility/prisma/types/outputTypeSchemas/ContinuityItemDeleteManyArgsSchema.ts @@ -0,0 +1,12 @@ +import { z } from "zod"; +import type { Prisma } from "../../client"; +import { ContinuityItemWhereInputSchema } from "../inputTypeSchemas/ContinuityItemWhereInputSchema"; + +export const ContinuityItemDeleteManyArgsSchema: z.ZodType = + z + .object({ + where: ContinuityItemWhereInputSchema.optional(), + }) + .strict(); + +export default ContinuityItemDeleteManyArgsSchema; diff --git a/utility/prisma/types/outputTypeSchemas/ContinuityItemFindFirstArgsSchema.ts b/utility/prisma/types/outputTypeSchemas/ContinuityItemFindFirstArgsSchema.ts new file mode 100644 index 00000000..ab0ce345 --- /dev/null +++ b/utility/prisma/types/outputTypeSchemas/ContinuityItemFindFirstArgsSchema.ts @@ -0,0 +1,31 @@ +import { z } from "zod"; +import type { Prisma } from "../../client"; +import { ContinuityItemWhereInputSchema } from "../inputTypeSchemas/ContinuityItemWhereInputSchema"; +import { ContinuityItemOrderByWithRelationInputSchema } from "../inputTypeSchemas/ContinuityItemOrderByWithRelationInputSchema"; +import { ContinuityItemWhereUniqueInputSchema } from "../inputTypeSchemas/ContinuityItemWhereUniqueInputSchema"; +import { ContinuityItemScalarFieldEnumSchema } from "../inputTypeSchemas/ContinuityItemScalarFieldEnumSchema"; + +export const ContinuityItemFindFirstArgsSchema: z.ZodType< + Omit +> = z + .object({ + where: ContinuityItemWhereInputSchema.optional(), + orderBy: z + .union([ + ContinuityItemOrderByWithRelationInputSchema.array(), + ContinuityItemOrderByWithRelationInputSchema, + ]) + .optional(), + cursor: ContinuityItemWhereUniqueInputSchema.optional(), + take: z.number().optional(), + skip: z.number().optional(), + distinct: z + .union([ + ContinuityItemScalarFieldEnumSchema, + ContinuityItemScalarFieldEnumSchema.array(), + ]) + .optional(), + }) + .strict(); + +export default ContinuityItemFindFirstArgsSchema; diff --git a/utility/prisma/types/outputTypeSchemas/ContinuityItemFindFirstOrThrowArgsSchema.ts b/utility/prisma/types/outputTypeSchemas/ContinuityItemFindFirstOrThrowArgsSchema.ts new file mode 100644 index 00000000..bbda8fc0 --- /dev/null +++ b/utility/prisma/types/outputTypeSchemas/ContinuityItemFindFirstOrThrowArgsSchema.ts @@ -0,0 +1,31 @@ +import { z } from "zod"; +import type { Prisma } from "../../client"; +import { ContinuityItemWhereInputSchema } from "../inputTypeSchemas/ContinuityItemWhereInputSchema"; +import { ContinuityItemOrderByWithRelationInputSchema } from "../inputTypeSchemas/ContinuityItemOrderByWithRelationInputSchema"; +import { ContinuityItemWhereUniqueInputSchema } from "../inputTypeSchemas/ContinuityItemWhereUniqueInputSchema"; +import { ContinuityItemScalarFieldEnumSchema } from "../inputTypeSchemas/ContinuityItemScalarFieldEnumSchema"; + +export const ContinuityItemFindFirstOrThrowArgsSchema: z.ZodType< + Omit +> = z + .object({ + where: ContinuityItemWhereInputSchema.optional(), + orderBy: z + .union([ + ContinuityItemOrderByWithRelationInputSchema.array(), + ContinuityItemOrderByWithRelationInputSchema, + ]) + .optional(), + cursor: ContinuityItemWhereUniqueInputSchema.optional(), + take: z.number().optional(), + skip: z.number().optional(), + distinct: z + .union([ + ContinuityItemScalarFieldEnumSchema, + ContinuityItemScalarFieldEnumSchema.array(), + ]) + .optional(), + }) + .strict(); + +export default ContinuityItemFindFirstOrThrowArgsSchema; diff --git a/utility/prisma/types/outputTypeSchemas/ContinuityItemFindManyArgsSchema.ts b/utility/prisma/types/outputTypeSchemas/ContinuityItemFindManyArgsSchema.ts new file mode 100644 index 00000000..4bb345d8 --- /dev/null +++ b/utility/prisma/types/outputTypeSchemas/ContinuityItemFindManyArgsSchema.ts @@ -0,0 +1,31 @@ +import { z } from "zod"; +import type { Prisma } from "../../client"; +import { ContinuityItemWhereInputSchema } from "../inputTypeSchemas/ContinuityItemWhereInputSchema"; +import { ContinuityItemOrderByWithRelationInputSchema } from "../inputTypeSchemas/ContinuityItemOrderByWithRelationInputSchema"; +import { ContinuityItemWhereUniqueInputSchema } from "../inputTypeSchemas/ContinuityItemWhereUniqueInputSchema"; +import { ContinuityItemScalarFieldEnumSchema } from "../inputTypeSchemas/ContinuityItemScalarFieldEnumSchema"; + +export const ContinuityItemFindManyArgsSchema: z.ZodType< + Omit +> = z + .object({ + where: ContinuityItemWhereInputSchema.optional(), + orderBy: z + .union([ + ContinuityItemOrderByWithRelationInputSchema.array(), + ContinuityItemOrderByWithRelationInputSchema, + ]) + .optional(), + cursor: ContinuityItemWhereUniqueInputSchema.optional(), + take: z.number().optional(), + skip: z.number().optional(), + distinct: z + .union([ + ContinuityItemScalarFieldEnumSchema, + ContinuityItemScalarFieldEnumSchema.array(), + ]) + .optional(), + }) + .strict(); + +export default ContinuityItemFindManyArgsSchema; diff --git a/utility/prisma/types/outputTypeSchemas/ContinuityItemFindUniqueArgsSchema.ts b/utility/prisma/types/outputTypeSchemas/ContinuityItemFindUniqueArgsSchema.ts new file mode 100644 index 00000000..25f6a32b --- /dev/null +++ b/utility/prisma/types/outputTypeSchemas/ContinuityItemFindUniqueArgsSchema.ts @@ -0,0 +1,13 @@ +import { z } from "zod"; +import type { Prisma } from "../../client"; +import { ContinuityItemWhereUniqueInputSchema } from "../inputTypeSchemas/ContinuityItemWhereUniqueInputSchema"; + +export const ContinuityItemFindUniqueArgsSchema: z.ZodType< + Omit +> = z + .object({ + where: ContinuityItemWhereUniqueInputSchema, + }) + .strict(); + +export default ContinuityItemFindUniqueArgsSchema; diff --git a/utility/prisma/types/outputTypeSchemas/ContinuityItemFindUniqueOrThrowArgsSchema.ts b/utility/prisma/types/outputTypeSchemas/ContinuityItemFindUniqueOrThrowArgsSchema.ts new file mode 100644 index 00000000..0cd06f5a --- /dev/null +++ b/utility/prisma/types/outputTypeSchemas/ContinuityItemFindUniqueOrThrowArgsSchema.ts @@ -0,0 +1,13 @@ +import { z } from "zod"; +import type { Prisma } from "../../client"; +import { ContinuityItemWhereUniqueInputSchema } from "../inputTypeSchemas/ContinuityItemWhereUniqueInputSchema"; + +export const ContinuityItemFindUniqueOrThrowArgsSchema: z.ZodType< + Omit +> = z + .object({ + where: ContinuityItemWhereUniqueInputSchema, + }) + .strict(); + +export default ContinuityItemFindUniqueOrThrowArgsSchema; diff --git a/utility/prisma/types/outputTypeSchemas/ContinuityItemGroupByArgsSchema.ts b/utility/prisma/types/outputTypeSchemas/ContinuityItemGroupByArgsSchema.ts new file mode 100644 index 00000000..c2053d8a --- /dev/null +++ b/utility/prisma/types/outputTypeSchemas/ContinuityItemGroupByArgsSchema.ts @@ -0,0 +1,25 @@ +import { z } from "zod"; +import type { Prisma } from "../../client"; +import { ContinuityItemWhereInputSchema } from "../inputTypeSchemas/ContinuityItemWhereInputSchema"; +import { ContinuityItemOrderByWithAggregationInputSchema } from "../inputTypeSchemas/ContinuityItemOrderByWithAggregationInputSchema"; +import { ContinuityItemScalarFieldEnumSchema } from "../inputTypeSchemas/ContinuityItemScalarFieldEnumSchema"; +import { ContinuityItemScalarWhereWithAggregatesInputSchema } from "../inputTypeSchemas/ContinuityItemScalarWhereWithAggregatesInputSchema"; + +export const ContinuityItemGroupByArgsSchema: z.ZodType = + z + .object({ + where: ContinuityItemWhereInputSchema.optional(), + orderBy: z + .union([ + ContinuityItemOrderByWithAggregationInputSchema.array(), + ContinuityItemOrderByWithAggregationInputSchema, + ]) + .optional(), + by: ContinuityItemScalarFieldEnumSchema.array(), + having: ContinuityItemScalarWhereWithAggregatesInputSchema.optional(), + take: z.number().optional(), + skip: z.number().optional(), + }) + .strict(); + +export default ContinuityItemGroupByArgsSchema; diff --git a/utility/prisma/types/outputTypeSchemas/ContinuityItemUpdateArgsSchema.ts b/utility/prisma/types/outputTypeSchemas/ContinuityItemUpdateArgsSchema.ts new file mode 100644 index 00000000..9abdbb97 --- /dev/null +++ b/utility/prisma/types/outputTypeSchemas/ContinuityItemUpdateArgsSchema.ts @@ -0,0 +1,19 @@ +import { z } from "zod"; +import type { Prisma } from "../../client"; +import { ContinuityItemUpdateInputSchema } from "../inputTypeSchemas/ContinuityItemUpdateInputSchema"; +import { ContinuityItemUncheckedUpdateInputSchema } from "../inputTypeSchemas/ContinuityItemUncheckedUpdateInputSchema"; +import { ContinuityItemWhereUniqueInputSchema } from "../inputTypeSchemas/ContinuityItemWhereUniqueInputSchema"; + +export const ContinuityItemUpdateArgsSchema: z.ZodType< + Omit +> = z + .object({ + data: z.union([ + ContinuityItemUpdateInputSchema, + ContinuityItemUncheckedUpdateInputSchema, + ]), + where: ContinuityItemWhereUniqueInputSchema, + }) + .strict(); + +export default ContinuityItemUpdateArgsSchema; diff --git a/utility/prisma/types/outputTypeSchemas/ContinuityItemUpdateManyArgsSchema.ts b/utility/prisma/types/outputTypeSchemas/ContinuityItemUpdateManyArgsSchema.ts new file mode 100644 index 00000000..3cb84b0e --- /dev/null +++ b/utility/prisma/types/outputTypeSchemas/ContinuityItemUpdateManyArgsSchema.ts @@ -0,0 +1,18 @@ +import { z } from "zod"; +import type { Prisma } from "../../client"; +import { ContinuityItemUpdateManyMutationInputSchema } from "../inputTypeSchemas/ContinuityItemUpdateManyMutationInputSchema"; +import { ContinuityItemUncheckedUpdateManyInputSchema } from "../inputTypeSchemas/ContinuityItemUncheckedUpdateManyInputSchema"; +import { ContinuityItemWhereInputSchema } from "../inputTypeSchemas/ContinuityItemWhereInputSchema"; + +export const ContinuityItemUpdateManyArgsSchema: z.ZodType = + z + .object({ + data: z.union([ + ContinuityItemUpdateManyMutationInputSchema, + ContinuityItemUncheckedUpdateManyInputSchema, + ]), + where: ContinuityItemWhereInputSchema.optional(), + }) + .strict(); + +export default ContinuityItemUpdateManyArgsSchema; diff --git a/utility/prisma/types/outputTypeSchemas/ContinuityItemUpsertArgsSchema.ts b/utility/prisma/types/outputTypeSchemas/ContinuityItemUpsertArgsSchema.ts new file mode 100644 index 00000000..3e8bd435 --- /dev/null +++ b/utility/prisma/types/outputTypeSchemas/ContinuityItemUpsertArgsSchema.ts @@ -0,0 +1,25 @@ +import { z } from "zod"; +import type { Prisma } from "../../client"; +import { ContinuityItemWhereUniqueInputSchema } from "../inputTypeSchemas/ContinuityItemWhereUniqueInputSchema"; +import { ContinuityItemCreateInputSchema } from "../inputTypeSchemas/ContinuityItemCreateInputSchema"; +import { ContinuityItemUncheckedCreateInputSchema } from "../inputTypeSchemas/ContinuityItemUncheckedCreateInputSchema"; +import { ContinuityItemUpdateInputSchema } from "../inputTypeSchemas/ContinuityItemUpdateInputSchema"; +import { ContinuityItemUncheckedUpdateInputSchema } from "../inputTypeSchemas/ContinuityItemUncheckedUpdateInputSchema"; + +export const ContinuityItemUpsertArgsSchema: z.ZodType< + Omit +> = z + .object({ + where: ContinuityItemWhereUniqueInputSchema, + create: z.union([ + ContinuityItemCreateInputSchema, + ContinuityItemUncheckedCreateInputSchema, + ]), + update: z.union([ + ContinuityItemUpdateInputSchema, + ContinuityItemUncheckedUpdateInputSchema, + ]), + }) + .strict(); + +export default ContinuityItemUpsertArgsSchema; diff --git a/utility/prisma/types/outputTypeSchemas/DummyTestJobAggregateArgsSchema.ts b/utility/prisma/types/outputTypeSchemas/DummyTestJobAggregateArgsSchema.ts new file mode 100644 index 00000000..8c39cd25 --- /dev/null +++ b/utility/prisma/types/outputTypeSchemas/DummyTestJobAggregateArgsSchema.ts @@ -0,0 +1,23 @@ +import { z } from "zod"; +import type { Prisma } from "../../client"; +import { DummyTestJobWhereInputSchema } from "../inputTypeSchemas/DummyTestJobWhereInputSchema"; +import { DummyTestJobOrderByWithRelationInputSchema } from "../inputTypeSchemas/DummyTestJobOrderByWithRelationInputSchema"; +import { DummyTestJobWhereUniqueInputSchema } from "../inputTypeSchemas/DummyTestJobWhereUniqueInputSchema"; + +export const DummyTestJobAggregateArgsSchema: z.ZodType = + z + .object({ + where: DummyTestJobWhereInputSchema.optional(), + orderBy: z + .union([ + DummyTestJobOrderByWithRelationInputSchema.array(), + DummyTestJobOrderByWithRelationInputSchema, + ]) + .optional(), + cursor: DummyTestJobWhereUniqueInputSchema.optional(), + take: z.number().optional(), + skip: z.number().optional(), + }) + .strict(); + +export default DummyTestJobAggregateArgsSchema; diff --git a/utility/prisma/types/outputTypeSchemas/DummyTestJobArgsSchema.ts b/utility/prisma/types/outputTypeSchemas/DummyTestJobArgsSchema.ts new file mode 100644 index 00000000..afac727b --- /dev/null +++ b/utility/prisma/types/outputTypeSchemas/DummyTestJobArgsSchema.ts @@ -0,0 +1,14 @@ +import { z } from "zod"; +import type { Prisma } from "../../client"; +import { DummyTestJobSelectSchema } from "../inputTypeSchemas/DummyTestJobSelectSchema"; +import { DummyTestJobIncludeSchema } from "../inputTypeSchemas/DummyTestJobIncludeSchema"; + +export const DummyTestJobArgsSchema: z.ZodType = + z + .object({ + select: z.lazy(() => DummyTestJobSelectSchema).optional(), + include: z.lazy(() => DummyTestJobIncludeSchema).optional(), + }) + .strict(); + +export default DummyTestJobArgsSchema; diff --git a/utility/prisma/types/outputTypeSchemas/DummyTestJobCreateArgsSchema.ts b/utility/prisma/types/outputTypeSchemas/DummyTestJobCreateArgsSchema.ts new file mode 100644 index 00000000..c5df8b49 --- /dev/null +++ b/utility/prisma/types/outputTypeSchemas/DummyTestJobCreateArgsSchema.ts @@ -0,0 +1,17 @@ +import { z } from "zod"; +import type { Prisma } from "../../client"; +import { DummyTestJobCreateInputSchema } from "../inputTypeSchemas/DummyTestJobCreateInputSchema"; +import { DummyTestJobUncheckedCreateInputSchema } from "../inputTypeSchemas/DummyTestJobUncheckedCreateInputSchema"; + +export const DummyTestJobCreateArgsSchema: z.ZodType< + Omit +> = z + .object({ + data: z.union([ + DummyTestJobCreateInputSchema, + DummyTestJobUncheckedCreateInputSchema, + ]), + }) + .strict(); + +export default DummyTestJobCreateArgsSchema; diff --git a/utility/prisma/types/outputTypeSchemas/DummyTestJobCreateManyArgsSchema.ts b/utility/prisma/types/outputTypeSchemas/DummyTestJobCreateManyArgsSchema.ts new file mode 100644 index 00000000..9db81a7a --- /dev/null +++ b/utility/prisma/types/outputTypeSchemas/DummyTestJobCreateManyArgsSchema.ts @@ -0,0 +1,16 @@ +import { z } from "zod"; +import type { Prisma } from "../../client"; +import { DummyTestJobCreateManyInputSchema } from "../inputTypeSchemas/DummyTestJobCreateManyInputSchema"; + +export const DummyTestJobCreateManyArgsSchema: z.ZodType = + z + .object({ + data: z.union([ + DummyTestJobCreateManyInputSchema, + DummyTestJobCreateManyInputSchema.array(), + ]), + skipDuplicates: z.boolean().optional(), + }) + .strict(); + +export default DummyTestJobCreateManyArgsSchema; diff --git a/utility/prisma/types/outputTypeSchemas/DummyTestJobDeleteArgsSchema.ts b/utility/prisma/types/outputTypeSchemas/DummyTestJobDeleteArgsSchema.ts new file mode 100644 index 00000000..2e53fe4b --- /dev/null +++ b/utility/prisma/types/outputTypeSchemas/DummyTestJobDeleteArgsSchema.ts @@ -0,0 +1,13 @@ +import { z } from "zod"; +import type { Prisma } from "../../client"; +import { DummyTestJobWhereUniqueInputSchema } from "../inputTypeSchemas/DummyTestJobWhereUniqueInputSchema"; + +export const DummyTestJobDeleteArgsSchema: z.ZodType< + Omit +> = z + .object({ + where: DummyTestJobWhereUniqueInputSchema, + }) + .strict(); + +export default DummyTestJobDeleteArgsSchema; diff --git a/utility/prisma/types/outputTypeSchemas/DummyTestJobDeleteManyArgsSchema.ts b/utility/prisma/types/outputTypeSchemas/DummyTestJobDeleteManyArgsSchema.ts new file mode 100644 index 00000000..0e0dbbf5 --- /dev/null +++ b/utility/prisma/types/outputTypeSchemas/DummyTestJobDeleteManyArgsSchema.ts @@ -0,0 +1,12 @@ +import { z } from "zod"; +import type { Prisma } from "../../client"; +import { DummyTestJobWhereInputSchema } from "../inputTypeSchemas/DummyTestJobWhereInputSchema"; + +export const DummyTestJobDeleteManyArgsSchema: z.ZodType = + z + .object({ + where: DummyTestJobWhereInputSchema.optional(), + }) + .strict(); + +export default DummyTestJobDeleteManyArgsSchema; diff --git a/utility/prisma/types/outputTypeSchemas/DummyTestJobFindFirstArgsSchema.ts b/utility/prisma/types/outputTypeSchemas/DummyTestJobFindFirstArgsSchema.ts new file mode 100644 index 00000000..a5f29e7a --- /dev/null +++ b/utility/prisma/types/outputTypeSchemas/DummyTestJobFindFirstArgsSchema.ts @@ -0,0 +1,31 @@ +import { z } from "zod"; +import type { Prisma } from "../../client"; +import { DummyTestJobWhereInputSchema } from "../inputTypeSchemas/DummyTestJobWhereInputSchema"; +import { DummyTestJobOrderByWithRelationInputSchema } from "../inputTypeSchemas/DummyTestJobOrderByWithRelationInputSchema"; +import { DummyTestJobWhereUniqueInputSchema } from "../inputTypeSchemas/DummyTestJobWhereUniqueInputSchema"; +import { DummyTestJobScalarFieldEnumSchema } from "../inputTypeSchemas/DummyTestJobScalarFieldEnumSchema"; + +export const DummyTestJobFindFirstArgsSchema: z.ZodType< + Omit +> = z + .object({ + where: DummyTestJobWhereInputSchema.optional(), + orderBy: z + .union([ + DummyTestJobOrderByWithRelationInputSchema.array(), + DummyTestJobOrderByWithRelationInputSchema, + ]) + .optional(), + cursor: DummyTestJobWhereUniqueInputSchema.optional(), + take: z.number().optional(), + skip: z.number().optional(), + distinct: z + .union([ + DummyTestJobScalarFieldEnumSchema, + DummyTestJobScalarFieldEnumSchema.array(), + ]) + .optional(), + }) + .strict(); + +export default DummyTestJobFindFirstArgsSchema; diff --git a/utility/prisma/types/outputTypeSchemas/DummyTestJobFindFirstOrThrowArgsSchema.ts b/utility/prisma/types/outputTypeSchemas/DummyTestJobFindFirstOrThrowArgsSchema.ts new file mode 100644 index 00000000..754f4c54 --- /dev/null +++ b/utility/prisma/types/outputTypeSchemas/DummyTestJobFindFirstOrThrowArgsSchema.ts @@ -0,0 +1,31 @@ +import { z } from "zod"; +import type { Prisma } from "../../client"; +import { DummyTestJobWhereInputSchema } from "../inputTypeSchemas/DummyTestJobWhereInputSchema"; +import { DummyTestJobOrderByWithRelationInputSchema } from "../inputTypeSchemas/DummyTestJobOrderByWithRelationInputSchema"; +import { DummyTestJobWhereUniqueInputSchema } from "../inputTypeSchemas/DummyTestJobWhereUniqueInputSchema"; +import { DummyTestJobScalarFieldEnumSchema } from "../inputTypeSchemas/DummyTestJobScalarFieldEnumSchema"; + +export const DummyTestJobFindFirstOrThrowArgsSchema: z.ZodType< + Omit +> = z + .object({ + where: DummyTestJobWhereInputSchema.optional(), + orderBy: z + .union([ + DummyTestJobOrderByWithRelationInputSchema.array(), + DummyTestJobOrderByWithRelationInputSchema, + ]) + .optional(), + cursor: DummyTestJobWhereUniqueInputSchema.optional(), + take: z.number().optional(), + skip: z.number().optional(), + distinct: z + .union([ + DummyTestJobScalarFieldEnumSchema, + DummyTestJobScalarFieldEnumSchema.array(), + ]) + .optional(), + }) + .strict(); + +export default DummyTestJobFindFirstOrThrowArgsSchema; diff --git a/utility/prisma/types/outputTypeSchemas/DummyTestJobFindManyArgsSchema.ts b/utility/prisma/types/outputTypeSchemas/DummyTestJobFindManyArgsSchema.ts new file mode 100644 index 00000000..9811c4a2 --- /dev/null +++ b/utility/prisma/types/outputTypeSchemas/DummyTestJobFindManyArgsSchema.ts @@ -0,0 +1,31 @@ +import { z } from "zod"; +import type { Prisma } from "../../client"; +import { DummyTestJobWhereInputSchema } from "../inputTypeSchemas/DummyTestJobWhereInputSchema"; +import { DummyTestJobOrderByWithRelationInputSchema } from "../inputTypeSchemas/DummyTestJobOrderByWithRelationInputSchema"; +import { DummyTestJobWhereUniqueInputSchema } from "../inputTypeSchemas/DummyTestJobWhereUniqueInputSchema"; +import { DummyTestJobScalarFieldEnumSchema } from "../inputTypeSchemas/DummyTestJobScalarFieldEnumSchema"; + +export const DummyTestJobFindManyArgsSchema: z.ZodType< + Omit +> = z + .object({ + where: DummyTestJobWhereInputSchema.optional(), + orderBy: z + .union([ + DummyTestJobOrderByWithRelationInputSchema.array(), + DummyTestJobOrderByWithRelationInputSchema, + ]) + .optional(), + cursor: DummyTestJobWhereUniqueInputSchema.optional(), + take: z.number().optional(), + skip: z.number().optional(), + distinct: z + .union([ + DummyTestJobScalarFieldEnumSchema, + DummyTestJobScalarFieldEnumSchema.array(), + ]) + .optional(), + }) + .strict(); + +export default DummyTestJobFindManyArgsSchema; diff --git a/utility/prisma/types/outputTypeSchemas/DummyTestJobFindUniqueArgsSchema.ts b/utility/prisma/types/outputTypeSchemas/DummyTestJobFindUniqueArgsSchema.ts new file mode 100644 index 00000000..77304463 --- /dev/null +++ b/utility/prisma/types/outputTypeSchemas/DummyTestJobFindUniqueArgsSchema.ts @@ -0,0 +1,13 @@ +import { z } from "zod"; +import type { Prisma } from "../../client"; +import { DummyTestJobWhereUniqueInputSchema } from "../inputTypeSchemas/DummyTestJobWhereUniqueInputSchema"; + +export const DummyTestJobFindUniqueArgsSchema: z.ZodType< + Omit +> = z + .object({ + where: DummyTestJobWhereUniqueInputSchema, + }) + .strict(); + +export default DummyTestJobFindUniqueArgsSchema; diff --git a/utility/prisma/types/outputTypeSchemas/DummyTestJobFindUniqueOrThrowArgsSchema.ts b/utility/prisma/types/outputTypeSchemas/DummyTestJobFindUniqueOrThrowArgsSchema.ts new file mode 100644 index 00000000..0ebde13f --- /dev/null +++ b/utility/prisma/types/outputTypeSchemas/DummyTestJobFindUniqueOrThrowArgsSchema.ts @@ -0,0 +1,13 @@ +import { z } from "zod"; +import type { Prisma } from "../../client"; +import { DummyTestJobWhereUniqueInputSchema } from "../inputTypeSchemas/DummyTestJobWhereUniqueInputSchema"; + +export const DummyTestJobFindUniqueOrThrowArgsSchema: z.ZodType< + Omit +> = z + .object({ + where: DummyTestJobWhereUniqueInputSchema, + }) + .strict(); + +export default DummyTestJobFindUniqueOrThrowArgsSchema; diff --git a/utility/prisma/types/outputTypeSchemas/DummyTestJobGroupByArgsSchema.ts b/utility/prisma/types/outputTypeSchemas/DummyTestJobGroupByArgsSchema.ts new file mode 100644 index 00000000..adaf3203 --- /dev/null +++ b/utility/prisma/types/outputTypeSchemas/DummyTestJobGroupByArgsSchema.ts @@ -0,0 +1,25 @@ +import { z } from "zod"; +import type { Prisma } from "../../client"; +import { DummyTestJobWhereInputSchema } from "../inputTypeSchemas/DummyTestJobWhereInputSchema"; +import { DummyTestJobOrderByWithAggregationInputSchema } from "../inputTypeSchemas/DummyTestJobOrderByWithAggregationInputSchema"; +import { DummyTestJobScalarFieldEnumSchema } from "../inputTypeSchemas/DummyTestJobScalarFieldEnumSchema"; +import { DummyTestJobScalarWhereWithAggregatesInputSchema } from "../inputTypeSchemas/DummyTestJobScalarWhereWithAggregatesInputSchema"; + +export const DummyTestJobGroupByArgsSchema: z.ZodType = + z + .object({ + where: DummyTestJobWhereInputSchema.optional(), + orderBy: z + .union([ + DummyTestJobOrderByWithAggregationInputSchema.array(), + DummyTestJobOrderByWithAggregationInputSchema, + ]) + .optional(), + by: DummyTestJobScalarFieldEnumSchema.array(), + having: DummyTestJobScalarWhereWithAggregatesInputSchema.optional(), + take: z.number().optional(), + skip: z.number().optional(), + }) + .strict(); + +export default DummyTestJobGroupByArgsSchema; diff --git a/utility/prisma/types/outputTypeSchemas/DummyTestJobUpdateArgsSchema.ts b/utility/prisma/types/outputTypeSchemas/DummyTestJobUpdateArgsSchema.ts new file mode 100644 index 00000000..9379cc11 --- /dev/null +++ b/utility/prisma/types/outputTypeSchemas/DummyTestJobUpdateArgsSchema.ts @@ -0,0 +1,19 @@ +import { z } from "zod"; +import type { Prisma } from "../../client"; +import { DummyTestJobUpdateInputSchema } from "../inputTypeSchemas/DummyTestJobUpdateInputSchema"; +import { DummyTestJobUncheckedUpdateInputSchema } from "../inputTypeSchemas/DummyTestJobUncheckedUpdateInputSchema"; +import { DummyTestJobWhereUniqueInputSchema } from "../inputTypeSchemas/DummyTestJobWhereUniqueInputSchema"; + +export const DummyTestJobUpdateArgsSchema: z.ZodType< + Omit +> = z + .object({ + data: z.union([ + DummyTestJobUpdateInputSchema, + DummyTestJobUncheckedUpdateInputSchema, + ]), + where: DummyTestJobWhereUniqueInputSchema, + }) + .strict(); + +export default DummyTestJobUpdateArgsSchema; diff --git a/utility/prisma/types/outputTypeSchemas/DummyTestJobUpdateManyArgsSchema.ts b/utility/prisma/types/outputTypeSchemas/DummyTestJobUpdateManyArgsSchema.ts new file mode 100644 index 00000000..f2a159d0 --- /dev/null +++ b/utility/prisma/types/outputTypeSchemas/DummyTestJobUpdateManyArgsSchema.ts @@ -0,0 +1,18 @@ +import { z } from "zod"; +import type { Prisma } from "../../client"; +import { DummyTestJobUpdateManyMutationInputSchema } from "../inputTypeSchemas/DummyTestJobUpdateManyMutationInputSchema"; +import { DummyTestJobUncheckedUpdateManyInputSchema } from "../inputTypeSchemas/DummyTestJobUncheckedUpdateManyInputSchema"; +import { DummyTestJobWhereInputSchema } from "../inputTypeSchemas/DummyTestJobWhereInputSchema"; + +export const DummyTestJobUpdateManyArgsSchema: z.ZodType = + z + .object({ + data: z.union([ + DummyTestJobUpdateManyMutationInputSchema, + DummyTestJobUncheckedUpdateManyInputSchema, + ]), + where: DummyTestJobWhereInputSchema.optional(), + }) + .strict(); + +export default DummyTestJobUpdateManyArgsSchema; diff --git a/utility/prisma/types/outputTypeSchemas/DummyTestJobUpsertArgsSchema.ts b/utility/prisma/types/outputTypeSchemas/DummyTestJobUpsertArgsSchema.ts new file mode 100644 index 00000000..3485fcfe --- /dev/null +++ b/utility/prisma/types/outputTypeSchemas/DummyTestJobUpsertArgsSchema.ts @@ -0,0 +1,25 @@ +import { z } from "zod"; +import type { Prisma } from "../../client"; +import { DummyTestJobWhereUniqueInputSchema } from "../inputTypeSchemas/DummyTestJobWhereUniqueInputSchema"; +import { DummyTestJobCreateInputSchema } from "../inputTypeSchemas/DummyTestJobCreateInputSchema"; +import { DummyTestJobUncheckedCreateInputSchema } from "../inputTypeSchemas/DummyTestJobUncheckedCreateInputSchema"; +import { DummyTestJobUpdateInputSchema } from "../inputTypeSchemas/DummyTestJobUpdateInputSchema"; +import { DummyTestJobUncheckedUpdateInputSchema } from "../inputTypeSchemas/DummyTestJobUncheckedUpdateInputSchema"; + +export const DummyTestJobUpsertArgsSchema: z.ZodType< + Omit +> = z + .object({ + where: DummyTestJobWhereUniqueInputSchema, + create: z.union([ + DummyTestJobCreateInputSchema, + DummyTestJobUncheckedCreateInputSchema, + ]), + update: z.union([ + DummyTestJobUpdateInputSchema, + DummyTestJobUncheckedUpdateInputSchema, + ]), + }) + .strict(); + +export default DummyTestJobUpsertArgsSchema; diff --git a/utility/prisma/types/outputTypeSchemas/LoadAssetJobAggregateArgsSchema.ts b/utility/prisma/types/outputTypeSchemas/LoadAssetJobAggregateArgsSchema.ts new file mode 100644 index 00000000..1d22865b --- /dev/null +++ b/utility/prisma/types/outputTypeSchemas/LoadAssetJobAggregateArgsSchema.ts @@ -0,0 +1,23 @@ +import { z } from "zod"; +import type { Prisma } from "../../client"; +import { LoadAssetJobWhereInputSchema } from "../inputTypeSchemas/LoadAssetJobWhereInputSchema"; +import { LoadAssetJobOrderByWithRelationInputSchema } from "../inputTypeSchemas/LoadAssetJobOrderByWithRelationInputSchema"; +import { LoadAssetJobWhereUniqueInputSchema } from "../inputTypeSchemas/LoadAssetJobWhereUniqueInputSchema"; + +export const LoadAssetJobAggregateArgsSchema: z.ZodType = + z + .object({ + where: LoadAssetJobWhereInputSchema.optional(), + orderBy: z + .union([ + LoadAssetJobOrderByWithRelationInputSchema.array(), + LoadAssetJobOrderByWithRelationInputSchema, + ]) + .optional(), + cursor: LoadAssetJobWhereUniqueInputSchema.optional(), + take: z.number().optional(), + skip: z.number().optional(), + }) + .strict(); + +export default LoadAssetJobAggregateArgsSchema; diff --git a/utility/prisma/types/outputTypeSchemas/LoadAssetJobArgsSchema.ts b/utility/prisma/types/outputTypeSchemas/LoadAssetJobArgsSchema.ts new file mode 100644 index 00000000..c66630cf --- /dev/null +++ b/utility/prisma/types/outputTypeSchemas/LoadAssetJobArgsSchema.ts @@ -0,0 +1,14 @@ +import { z } from "zod"; +import type { Prisma } from "../../client"; +import { LoadAssetJobSelectSchema } from "../inputTypeSchemas/LoadAssetJobSelectSchema"; +import { LoadAssetJobIncludeSchema } from "../inputTypeSchemas/LoadAssetJobIncludeSchema"; + +export const LoadAssetJobArgsSchema: z.ZodType = + z + .object({ + select: z.lazy(() => LoadAssetJobSelectSchema).optional(), + include: z.lazy(() => LoadAssetJobIncludeSchema).optional(), + }) + .strict(); + +export default LoadAssetJobArgsSchema; diff --git a/utility/prisma/types/outputTypeSchemas/LoadAssetJobCreateArgsSchema.ts b/utility/prisma/types/outputTypeSchemas/LoadAssetJobCreateArgsSchema.ts new file mode 100644 index 00000000..8aa8b349 --- /dev/null +++ b/utility/prisma/types/outputTypeSchemas/LoadAssetJobCreateArgsSchema.ts @@ -0,0 +1,17 @@ +import { z } from "zod"; +import type { Prisma } from "../../client"; +import { LoadAssetJobCreateInputSchema } from "../inputTypeSchemas/LoadAssetJobCreateInputSchema"; +import { LoadAssetJobUncheckedCreateInputSchema } from "../inputTypeSchemas/LoadAssetJobUncheckedCreateInputSchema"; + +export const LoadAssetJobCreateArgsSchema: z.ZodType< + Omit +> = z + .object({ + data: z.union([ + LoadAssetJobCreateInputSchema, + LoadAssetJobUncheckedCreateInputSchema, + ]), + }) + .strict(); + +export default LoadAssetJobCreateArgsSchema; diff --git a/utility/prisma/types/outputTypeSchemas/LoadAssetJobCreateManyArgsSchema.ts b/utility/prisma/types/outputTypeSchemas/LoadAssetJobCreateManyArgsSchema.ts new file mode 100644 index 00000000..b57033f4 --- /dev/null +++ b/utility/prisma/types/outputTypeSchemas/LoadAssetJobCreateManyArgsSchema.ts @@ -0,0 +1,16 @@ +import { z } from "zod"; +import type { Prisma } from "../../client"; +import { LoadAssetJobCreateManyInputSchema } from "../inputTypeSchemas/LoadAssetJobCreateManyInputSchema"; + +export const LoadAssetJobCreateManyArgsSchema: z.ZodType = + z + .object({ + data: z.union([ + LoadAssetJobCreateManyInputSchema, + LoadAssetJobCreateManyInputSchema.array(), + ]), + skipDuplicates: z.boolean().optional(), + }) + .strict(); + +export default LoadAssetJobCreateManyArgsSchema; diff --git a/utility/prisma/types/outputTypeSchemas/LoadAssetJobDeleteArgsSchema.ts b/utility/prisma/types/outputTypeSchemas/LoadAssetJobDeleteArgsSchema.ts new file mode 100644 index 00000000..603d2ad0 --- /dev/null +++ b/utility/prisma/types/outputTypeSchemas/LoadAssetJobDeleteArgsSchema.ts @@ -0,0 +1,13 @@ +import { z } from "zod"; +import type { Prisma } from "../../client"; +import { LoadAssetJobWhereUniqueInputSchema } from "../inputTypeSchemas/LoadAssetJobWhereUniqueInputSchema"; + +export const LoadAssetJobDeleteArgsSchema: z.ZodType< + Omit +> = z + .object({ + where: LoadAssetJobWhereUniqueInputSchema, + }) + .strict(); + +export default LoadAssetJobDeleteArgsSchema; diff --git a/utility/prisma/types/outputTypeSchemas/LoadAssetJobDeleteManyArgsSchema.ts b/utility/prisma/types/outputTypeSchemas/LoadAssetJobDeleteManyArgsSchema.ts new file mode 100644 index 00000000..755e96ee --- /dev/null +++ b/utility/prisma/types/outputTypeSchemas/LoadAssetJobDeleteManyArgsSchema.ts @@ -0,0 +1,12 @@ +import { z } from "zod"; +import type { Prisma } from "../../client"; +import { LoadAssetJobWhereInputSchema } from "../inputTypeSchemas/LoadAssetJobWhereInputSchema"; + +export const LoadAssetJobDeleteManyArgsSchema: z.ZodType = + z + .object({ + where: LoadAssetJobWhereInputSchema.optional(), + }) + .strict(); + +export default LoadAssetJobDeleteManyArgsSchema; diff --git a/utility/prisma/types/outputTypeSchemas/LoadAssetJobFindFirstArgsSchema.ts b/utility/prisma/types/outputTypeSchemas/LoadAssetJobFindFirstArgsSchema.ts new file mode 100644 index 00000000..0fc5d73b --- /dev/null +++ b/utility/prisma/types/outputTypeSchemas/LoadAssetJobFindFirstArgsSchema.ts @@ -0,0 +1,31 @@ +import { z } from "zod"; +import type { Prisma } from "../../client"; +import { LoadAssetJobWhereInputSchema } from "../inputTypeSchemas/LoadAssetJobWhereInputSchema"; +import { LoadAssetJobOrderByWithRelationInputSchema } from "../inputTypeSchemas/LoadAssetJobOrderByWithRelationInputSchema"; +import { LoadAssetJobWhereUniqueInputSchema } from "../inputTypeSchemas/LoadAssetJobWhereUniqueInputSchema"; +import { LoadAssetJobScalarFieldEnumSchema } from "../inputTypeSchemas/LoadAssetJobScalarFieldEnumSchema"; + +export const LoadAssetJobFindFirstArgsSchema: z.ZodType< + Omit +> = z + .object({ + where: LoadAssetJobWhereInputSchema.optional(), + orderBy: z + .union([ + LoadAssetJobOrderByWithRelationInputSchema.array(), + LoadAssetJobOrderByWithRelationInputSchema, + ]) + .optional(), + cursor: LoadAssetJobWhereUniqueInputSchema.optional(), + take: z.number().optional(), + skip: z.number().optional(), + distinct: z + .union([ + LoadAssetJobScalarFieldEnumSchema, + LoadAssetJobScalarFieldEnumSchema.array(), + ]) + .optional(), + }) + .strict(); + +export default LoadAssetJobFindFirstArgsSchema; diff --git a/utility/prisma/types/outputTypeSchemas/LoadAssetJobFindFirstOrThrowArgsSchema.ts b/utility/prisma/types/outputTypeSchemas/LoadAssetJobFindFirstOrThrowArgsSchema.ts new file mode 100644 index 00000000..d37ed10a --- /dev/null +++ b/utility/prisma/types/outputTypeSchemas/LoadAssetJobFindFirstOrThrowArgsSchema.ts @@ -0,0 +1,31 @@ +import { z } from "zod"; +import type { Prisma } from "../../client"; +import { LoadAssetJobWhereInputSchema } from "../inputTypeSchemas/LoadAssetJobWhereInputSchema"; +import { LoadAssetJobOrderByWithRelationInputSchema } from "../inputTypeSchemas/LoadAssetJobOrderByWithRelationInputSchema"; +import { LoadAssetJobWhereUniqueInputSchema } from "../inputTypeSchemas/LoadAssetJobWhereUniqueInputSchema"; +import { LoadAssetJobScalarFieldEnumSchema } from "../inputTypeSchemas/LoadAssetJobScalarFieldEnumSchema"; + +export const LoadAssetJobFindFirstOrThrowArgsSchema: z.ZodType< + Omit +> = z + .object({ + where: LoadAssetJobWhereInputSchema.optional(), + orderBy: z + .union([ + LoadAssetJobOrderByWithRelationInputSchema.array(), + LoadAssetJobOrderByWithRelationInputSchema, + ]) + .optional(), + cursor: LoadAssetJobWhereUniqueInputSchema.optional(), + take: z.number().optional(), + skip: z.number().optional(), + distinct: z + .union([ + LoadAssetJobScalarFieldEnumSchema, + LoadAssetJobScalarFieldEnumSchema.array(), + ]) + .optional(), + }) + .strict(); + +export default LoadAssetJobFindFirstOrThrowArgsSchema; diff --git a/utility/prisma/types/outputTypeSchemas/LoadAssetJobFindManyArgsSchema.ts b/utility/prisma/types/outputTypeSchemas/LoadAssetJobFindManyArgsSchema.ts new file mode 100644 index 00000000..ae3696ca --- /dev/null +++ b/utility/prisma/types/outputTypeSchemas/LoadAssetJobFindManyArgsSchema.ts @@ -0,0 +1,31 @@ +import { z } from "zod"; +import type { Prisma } from "../../client"; +import { LoadAssetJobWhereInputSchema } from "../inputTypeSchemas/LoadAssetJobWhereInputSchema"; +import { LoadAssetJobOrderByWithRelationInputSchema } from "../inputTypeSchemas/LoadAssetJobOrderByWithRelationInputSchema"; +import { LoadAssetJobWhereUniqueInputSchema } from "../inputTypeSchemas/LoadAssetJobWhereUniqueInputSchema"; +import { LoadAssetJobScalarFieldEnumSchema } from "../inputTypeSchemas/LoadAssetJobScalarFieldEnumSchema"; + +export const LoadAssetJobFindManyArgsSchema: z.ZodType< + Omit +> = z + .object({ + where: LoadAssetJobWhereInputSchema.optional(), + orderBy: z + .union([ + LoadAssetJobOrderByWithRelationInputSchema.array(), + LoadAssetJobOrderByWithRelationInputSchema, + ]) + .optional(), + cursor: LoadAssetJobWhereUniqueInputSchema.optional(), + take: z.number().optional(), + skip: z.number().optional(), + distinct: z + .union([ + LoadAssetJobScalarFieldEnumSchema, + LoadAssetJobScalarFieldEnumSchema.array(), + ]) + .optional(), + }) + .strict(); + +export default LoadAssetJobFindManyArgsSchema; diff --git a/utility/prisma/types/outputTypeSchemas/LoadAssetJobFindUniqueArgsSchema.ts b/utility/prisma/types/outputTypeSchemas/LoadAssetJobFindUniqueArgsSchema.ts new file mode 100644 index 00000000..0f55ade7 --- /dev/null +++ b/utility/prisma/types/outputTypeSchemas/LoadAssetJobFindUniqueArgsSchema.ts @@ -0,0 +1,13 @@ +import { z } from "zod"; +import type { Prisma } from "../../client"; +import { LoadAssetJobWhereUniqueInputSchema } from "../inputTypeSchemas/LoadAssetJobWhereUniqueInputSchema"; + +export const LoadAssetJobFindUniqueArgsSchema: z.ZodType< + Omit +> = z + .object({ + where: LoadAssetJobWhereUniqueInputSchema, + }) + .strict(); + +export default LoadAssetJobFindUniqueArgsSchema; diff --git a/utility/prisma/types/outputTypeSchemas/LoadAssetJobFindUniqueOrThrowArgsSchema.ts b/utility/prisma/types/outputTypeSchemas/LoadAssetJobFindUniqueOrThrowArgsSchema.ts new file mode 100644 index 00000000..94323543 --- /dev/null +++ b/utility/prisma/types/outputTypeSchemas/LoadAssetJobFindUniqueOrThrowArgsSchema.ts @@ -0,0 +1,13 @@ +import { z } from "zod"; +import type { Prisma } from "../../client"; +import { LoadAssetJobWhereUniqueInputSchema } from "../inputTypeSchemas/LoadAssetJobWhereUniqueInputSchema"; + +export const LoadAssetJobFindUniqueOrThrowArgsSchema: z.ZodType< + Omit +> = z + .object({ + where: LoadAssetJobWhereUniqueInputSchema, + }) + .strict(); + +export default LoadAssetJobFindUniqueOrThrowArgsSchema; diff --git a/utility/prisma/types/outputTypeSchemas/LoadAssetJobGroupByArgsSchema.ts b/utility/prisma/types/outputTypeSchemas/LoadAssetJobGroupByArgsSchema.ts new file mode 100644 index 00000000..4afa98a4 --- /dev/null +++ b/utility/prisma/types/outputTypeSchemas/LoadAssetJobGroupByArgsSchema.ts @@ -0,0 +1,25 @@ +import { z } from "zod"; +import type { Prisma } from "../../client"; +import { LoadAssetJobWhereInputSchema } from "../inputTypeSchemas/LoadAssetJobWhereInputSchema"; +import { LoadAssetJobOrderByWithAggregationInputSchema } from "../inputTypeSchemas/LoadAssetJobOrderByWithAggregationInputSchema"; +import { LoadAssetJobScalarFieldEnumSchema } from "../inputTypeSchemas/LoadAssetJobScalarFieldEnumSchema"; +import { LoadAssetJobScalarWhereWithAggregatesInputSchema } from "../inputTypeSchemas/LoadAssetJobScalarWhereWithAggregatesInputSchema"; + +export const LoadAssetJobGroupByArgsSchema: z.ZodType = + z + .object({ + where: LoadAssetJobWhereInputSchema.optional(), + orderBy: z + .union([ + LoadAssetJobOrderByWithAggregationInputSchema.array(), + LoadAssetJobOrderByWithAggregationInputSchema, + ]) + .optional(), + by: LoadAssetJobScalarFieldEnumSchema.array(), + having: LoadAssetJobScalarWhereWithAggregatesInputSchema.optional(), + take: z.number().optional(), + skip: z.number().optional(), + }) + .strict(); + +export default LoadAssetJobGroupByArgsSchema; diff --git a/utility/prisma/types/outputTypeSchemas/LoadAssetJobUpdateArgsSchema.ts b/utility/prisma/types/outputTypeSchemas/LoadAssetJobUpdateArgsSchema.ts new file mode 100644 index 00000000..51c8ad14 --- /dev/null +++ b/utility/prisma/types/outputTypeSchemas/LoadAssetJobUpdateArgsSchema.ts @@ -0,0 +1,19 @@ +import { z } from "zod"; +import type { Prisma } from "../../client"; +import { LoadAssetJobUpdateInputSchema } from "../inputTypeSchemas/LoadAssetJobUpdateInputSchema"; +import { LoadAssetJobUncheckedUpdateInputSchema } from "../inputTypeSchemas/LoadAssetJobUncheckedUpdateInputSchema"; +import { LoadAssetJobWhereUniqueInputSchema } from "../inputTypeSchemas/LoadAssetJobWhereUniqueInputSchema"; + +export const LoadAssetJobUpdateArgsSchema: z.ZodType< + Omit +> = z + .object({ + data: z.union([ + LoadAssetJobUpdateInputSchema, + LoadAssetJobUncheckedUpdateInputSchema, + ]), + where: LoadAssetJobWhereUniqueInputSchema, + }) + .strict(); + +export default LoadAssetJobUpdateArgsSchema; diff --git a/utility/prisma/types/outputTypeSchemas/LoadAssetJobUpdateManyArgsSchema.ts b/utility/prisma/types/outputTypeSchemas/LoadAssetJobUpdateManyArgsSchema.ts new file mode 100644 index 00000000..02023e41 --- /dev/null +++ b/utility/prisma/types/outputTypeSchemas/LoadAssetJobUpdateManyArgsSchema.ts @@ -0,0 +1,18 @@ +import { z } from "zod"; +import type { Prisma } from "../../client"; +import { LoadAssetJobUpdateManyMutationInputSchema } from "../inputTypeSchemas/LoadAssetJobUpdateManyMutationInputSchema"; +import { LoadAssetJobUncheckedUpdateManyInputSchema } from "../inputTypeSchemas/LoadAssetJobUncheckedUpdateManyInputSchema"; +import { LoadAssetJobWhereInputSchema } from "../inputTypeSchemas/LoadAssetJobWhereInputSchema"; + +export const LoadAssetJobUpdateManyArgsSchema: z.ZodType = + z + .object({ + data: z.union([ + LoadAssetJobUpdateManyMutationInputSchema, + LoadAssetJobUncheckedUpdateManyInputSchema, + ]), + where: LoadAssetJobWhereInputSchema.optional(), + }) + .strict(); + +export default LoadAssetJobUpdateManyArgsSchema; diff --git a/utility/prisma/types/outputTypeSchemas/LoadAssetJobUpsertArgsSchema.ts b/utility/prisma/types/outputTypeSchemas/LoadAssetJobUpsertArgsSchema.ts new file mode 100644 index 00000000..dcc6a920 --- /dev/null +++ b/utility/prisma/types/outputTypeSchemas/LoadAssetJobUpsertArgsSchema.ts @@ -0,0 +1,25 @@ +import { z } from "zod"; +import type { Prisma } from "../../client"; +import { LoadAssetJobWhereUniqueInputSchema } from "../inputTypeSchemas/LoadAssetJobWhereUniqueInputSchema"; +import { LoadAssetJobCreateInputSchema } from "../inputTypeSchemas/LoadAssetJobCreateInputSchema"; +import { LoadAssetJobUncheckedCreateInputSchema } from "../inputTypeSchemas/LoadAssetJobUncheckedCreateInputSchema"; +import { LoadAssetJobUpdateInputSchema } from "../inputTypeSchemas/LoadAssetJobUpdateInputSchema"; +import { LoadAssetJobUncheckedUpdateInputSchema } from "../inputTypeSchemas/LoadAssetJobUncheckedUpdateInputSchema"; + +export const LoadAssetJobUpsertArgsSchema: z.ZodType< + Omit +> = z + .object({ + where: LoadAssetJobWhereUniqueInputSchema, + create: z.union([ + LoadAssetJobCreateInputSchema, + LoadAssetJobUncheckedCreateInputSchema, + ]), + update: z.union([ + LoadAssetJobUpdateInputSchema, + LoadAssetJobUncheckedUpdateInputSchema, + ]), + }) + .strict(); + +export default LoadAssetJobUpsertArgsSchema; diff --git a/utility/prisma/types/outputTypeSchemas/MediaAggregateArgsSchema.ts b/utility/prisma/types/outputTypeSchemas/MediaAggregateArgsSchema.ts new file mode 100644 index 00000000..5f800de4 --- /dev/null +++ b/utility/prisma/types/outputTypeSchemas/MediaAggregateArgsSchema.ts @@ -0,0 +1,22 @@ +import { z } from "zod"; +import type { Prisma } from "../../client"; +import { MediaWhereInputSchema } from "../inputTypeSchemas/MediaWhereInputSchema"; +import { MediaOrderByWithRelationInputSchema } from "../inputTypeSchemas/MediaOrderByWithRelationInputSchema"; +import { MediaWhereUniqueInputSchema } from "../inputTypeSchemas/MediaWhereUniqueInputSchema"; + +export const MediaAggregateArgsSchema: z.ZodType = z + .object({ + where: MediaWhereInputSchema.optional(), + orderBy: z + .union([ + MediaOrderByWithRelationInputSchema.array(), + MediaOrderByWithRelationInputSchema, + ]) + .optional(), + cursor: MediaWhereUniqueInputSchema.optional(), + take: z.number().optional(), + skip: z.number().optional(), + }) + .strict(); + +export default MediaAggregateArgsSchema; diff --git a/utility/prisma/types/outputTypeSchemas/MediaArgsSchema.ts b/utility/prisma/types/outputTypeSchemas/MediaArgsSchema.ts new file mode 100644 index 00000000..9dfb2d0e --- /dev/null +++ b/utility/prisma/types/outputTypeSchemas/MediaArgsSchema.ts @@ -0,0 +1,13 @@ +import { z } from "zod"; +import type { Prisma } from "../../client"; +import { MediaSelectSchema } from "../inputTypeSchemas/MediaSelectSchema"; +import { MediaIncludeSchema } from "../inputTypeSchemas/MediaIncludeSchema"; + +export const MediaArgsSchema: z.ZodType = z + .object({ + select: z.lazy(() => MediaSelectSchema).optional(), + include: z.lazy(() => MediaIncludeSchema).optional(), + }) + .strict(); + +export default MediaArgsSchema; diff --git a/utility/prisma/types/outputTypeSchemas/MediaCountOutputTypeArgsSchema.ts b/utility/prisma/types/outputTypeSchemas/MediaCountOutputTypeArgsSchema.ts new file mode 100644 index 00000000..e7e7748e --- /dev/null +++ b/utility/prisma/types/outputTypeSchemas/MediaCountOutputTypeArgsSchema.ts @@ -0,0 +1,12 @@ +import { z } from "zod"; +import type { Prisma } from "../../client"; +import { MediaCountOutputTypeSelectSchema } from "./MediaCountOutputTypeSelectSchema"; + +export const MediaCountOutputTypeArgsSchema: z.ZodType = + z + .object({ + select: z.lazy(() => MediaCountOutputTypeSelectSchema).nullish(), + }) + .strict(); + +export default MediaCountOutputTypeSelectSchema; diff --git a/utility/prisma/types/outputTypeSchemas/MediaCountOutputTypeSelectSchema.ts b/utility/prisma/types/outputTypeSchemas/MediaCountOutputTypeSelectSchema.ts new file mode 100644 index 00000000..0221d7eb --- /dev/null +++ b/utility/prisma/types/outputTypeSchemas/MediaCountOutputTypeSelectSchema.ts @@ -0,0 +1,12 @@ +import { z } from "zod"; +import type { Prisma } from "../../client"; + +export const MediaCountOutputTypeSelectSchema: z.ZodType = + z + .object({ + tasks: z.boolean().optional(), + process_jobs: z.boolean().optional(), + }) + .strict(); + +export default MediaCountOutputTypeSelectSchema; diff --git a/utility/prisma/types/outputTypeSchemas/MediaCreateArgsSchema.ts b/utility/prisma/types/outputTypeSchemas/MediaCreateArgsSchema.ts new file mode 100644 index 00000000..2375c6f6 --- /dev/null +++ b/utility/prisma/types/outputTypeSchemas/MediaCreateArgsSchema.ts @@ -0,0 +1,14 @@ +import { z } from "zod"; +import type { Prisma } from "../../client"; +import { MediaCreateInputSchema } from "../inputTypeSchemas/MediaCreateInputSchema"; +import { MediaUncheckedCreateInputSchema } from "../inputTypeSchemas/MediaUncheckedCreateInputSchema"; + +export const MediaCreateArgsSchema: z.ZodType< + Omit +> = z + .object({ + data: z.union([MediaCreateInputSchema, MediaUncheckedCreateInputSchema]), + }) + .strict(); + +export default MediaCreateArgsSchema; diff --git a/utility/prisma/types/outputTypeSchemas/MediaCreateManyArgsSchema.ts b/utility/prisma/types/outputTypeSchemas/MediaCreateManyArgsSchema.ts new file mode 100644 index 00000000..f82ec801 --- /dev/null +++ b/utility/prisma/types/outputTypeSchemas/MediaCreateManyArgsSchema.ts @@ -0,0 +1,16 @@ +import { z } from "zod"; +import type { Prisma } from "../../client"; +import { MediaCreateManyInputSchema } from "../inputTypeSchemas/MediaCreateManyInputSchema"; + +export const MediaCreateManyArgsSchema: z.ZodType = + z + .object({ + data: z.union([ + MediaCreateManyInputSchema, + MediaCreateManyInputSchema.array(), + ]), + skipDuplicates: z.boolean().optional(), + }) + .strict(); + +export default MediaCreateManyArgsSchema; diff --git a/utility/prisma/types/outputTypeSchemas/MediaDeleteArgsSchema.ts b/utility/prisma/types/outputTypeSchemas/MediaDeleteArgsSchema.ts new file mode 100644 index 00000000..0d363f31 --- /dev/null +++ b/utility/prisma/types/outputTypeSchemas/MediaDeleteArgsSchema.ts @@ -0,0 +1,13 @@ +import { z } from "zod"; +import type { Prisma } from "../../client"; +import { MediaWhereUniqueInputSchema } from "../inputTypeSchemas/MediaWhereUniqueInputSchema"; + +export const MediaDeleteArgsSchema: z.ZodType< + Omit +> = z + .object({ + where: MediaWhereUniqueInputSchema, + }) + .strict(); + +export default MediaDeleteArgsSchema; diff --git a/utility/prisma/types/outputTypeSchemas/MediaDeleteManyArgsSchema.ts b/utility/prisma/types/outputTypeSchemas/MediaDeleteManyArgsSchema.ts new file mode 100644 index 00000000..14e4a06d --- /dev/null +++ b/utility/prisma/types/outputTypeSchemas/MediaDeleteManyArgsSchema.ts @@ -0,0 +1,12 @@ +import { z } from "zod"; +import type { Prisma } from "../../client"; +import { MediaWhereInputSchema } from "../inputTypeSchemas/MediaWhereInputSchema"; + +export const MediaDeleteManyArgsSchema: z.ZodType = + z + .object({ + where: MediaWhereInputSchema.optional(), + }) + .strict(); + +export default MediaDeleteManyArgsSchema; diff --git a/utility/prisma/types/outputTypeSchemas/MediaFindFirstArgsSchema.ts b/utility/prisma/types/outputTypeSchemas/MediaFindFirstArgsSchema.ts new file mode 100644 index 00000000..c6c8cc2f --- /dev/null +++ b/utility/prisma/types/outputTypeSchemas/MediaFindFirstArgsSchema.ts @@ -0,0 +1,28 @@ +import { z } from "zod"; +import type { Prisma } from "../../client"; +import { MediaWhereInputSchema } from "../inputTypeSchemas/MediaWhereInputSchema"; +import { MediaOrderByWithRelationInputSchema } from "../inputTypeSchemas/MediaOrderByWithRelationInputSchema"; +import { MediaWhereUniqueInputSchema } from "../inputTypeSchemas/MediaWhereUniqueInputSchema"; +import { MediaScalarFieldEnumSchema } from "../inputTypeSchemas/MediaScalarFieldEnumSchema"; + +export const MediaFindFirstArgsSchema: z.ZodType< + Omit +> = z + .object({ + where: MediaWhereInputSchema.optional(), + orderBy: z + .union([ + MediaOrderByWithRelationInputSchema.array(), + MediaOrderByWithRelationInputSchema, + ]) + .optional(), + cursor: MediaWhereUniqueInputSchema.optional(), + take: z.number().optional(), + skip: z.number().optional(), + distinct: z + .union([MediaScalarFieldEnumSchema, MediaScalarFieldEnumSchema.array()]) + .optional(), + }) + .strict(); + +export default MediaFindFirstArgsSchema; diff --git a/utility/prisma/types/outputTypeSchemas/MediaFindFirstOrThrowArgsSchema.ts b/utility/prisma/types/outputTypeSchemas/MediaFindFirstOrThrowArgsSchema.ts new file mode 100644 index 00000000..4e1aefb4 --- /dev/null +++ b/utility/prisma/types/outputTypeSchemas/MediaFindFirstOrThrowArgsSchema.ts @@ -0,0 +1,28 @@ +import { z } from "zod"; +import type { Prisma } from "../../client"; +import { MediaWhereInputSchema } from "../inputTypeSchemas/MediaWhereInputSchema"; +import { MediaOrderByWithRelationInputSchema } from "../inputTypeSchemas/MediaOrderByWithRelationInputSchema"; +import { MediaWhereUniqueInputSchema } from "../inputTypeSchemas/MediaWhereUniqueInputSchema"; +import { MediaScalarFieldEnumSchema } from "../inputTypeSchemas/MediaScalarFieldEnumSchema"; + +export const MediaFindFirstOrThrowArgsSchema: z.ZodType< + Omit +> = z + .object({ + where: MediaWhereInputSchema.optional(), + orderBy: z + .union([ + MediaOrderByWithRelationInputSchema.array(), + MediaOrderByWithRelationInputSchema, + ]) + .optional(), + cursor: MediaWhereUniqueInputSchema.optional(), + take: z.number().optional(), + skip: z.number().optional(), + distinct: z + .union([MediaScalarFieldEnumSchema, MediaScalarFieldEnumSchema.array()]) + .optional(), + }) + .strict(); + +export default MediaFindFirstOrThrowArgsSchema; diff --git a/utility/prisma/types/outputTypeSchemas/MediaFindManyArgsSchema.ts b/utility/prisma/types/outputTypeSchemas/MediaFindManyArgsSchema.ts new file mode 100644 index 00000000..9729e957 --- /dev/null +++ b/utility/prisma/types/outputTypeSchemas/MediaFindManyArgsSchema.ts @@ -0,0 +1,28 @@ +import { z } from "zod"; +import type { Prisma } from "../../client"; +import { MediaWhereInputSchema } from "../inputTypeSchemas/MediaWhereInputSchema"; +import { MediaOrderByWithRelationInputSchema } from "../inputTypeSchemas/MediaOrderByWithRelationInputSchema"; +import { MediaWhereUniqueInputSchema } from "../inputTypeSchemas/MediaWhereUniqueInputSchema"; +import { MediaScalarFieldEnumSchema } from "../inputTypeSchemas/MediaScalarFieldEnumSchema"; + +export const MediaFindManyArgsSchema: z.ZodType< + Omit +> = z + .object({ + where: MediaWhereInputSchema.optional(), + orderBy: z + .union([ + MediaOrderByWithRelationInputSchema.array(), + MediaOrderByWithRelationInputSchema, + ]) + .optional(), + cursor: MediaWhereUniqueInputSchema.optional(), + take: z.number().optional(), + skip: z.number().optional(), + distinct: z + .union([MediaScalarFieldEnumSchema, MediaScalarFieldEnumSchema.array()]) + .optional(), + }) + .strict(); + +export default MediaFindManyArgsSchema; diff --git a/utility/prisma/types/outputTypeSchemas/MediaFindUniqueArgsSchema.ts b/utility/prisma/types/outputTypeSchemas/MediaFindUniqueArgsSchema.ts new file mode 100644 index 00000000..6f89824e --- /dev/null +++ b/utility/prisma/types/outputTypeSchemas/MediaFindUniqueArgsSchema.ts @@ -0,0 +1,13 @@ +import { z } from "zod"; +import type { Prisma } from "../../client"; +import { MediaWhereUniqueInputSchema } from "../inputTypeSchemas/MediaWhereUniqueInputSchema"; + +export const MediaFindUniqueArgsSchema: z.ZodType< + Omit +> = z + .object({ + where: MediaWhereUniqueInputSchema, + }) + .strict(); + +export default MediaFindUniqueArgsSchema; diff --git a/utility/prisma/types/outputTypeSchemas/MediaFindUniqueOrThrowArgsSchema.ts b/utility/prisma/types/outputTypeSchemas/MediaFindUniqueOrThrowArgsSchema.ts new file mode 100644 index 00000000..cb6cabab --- /dev/null +++ b/utility/prisma/types/outputTypeSchemas/MediaFindUniqueOrThrowArgsSchema.ts @@ -0,0 +1,13 @@ +import { z } from "zod"; +import type { Prisma } from "../../client"; +import { MediaWhereUniqueInputSchema } from "../inputTypeSchemas/MediaWhereUniqueInputSchema"; + +export const MediaFindUniqueOrThrowArgsSchema: z.ZodType< + Omit +> = z + .object({ + where: MediaWhereUniqueInputSchema, + }) + .strict(); + +export default MediaFindUniqueOrThrowArgsSchema; diff --git a/utility/prisma/types/outputTypeSchemas/MediaGroupByArgsSchema.ts b/utility/prisma/types/outputTypeSchemas/MediaGroupByArgsSchema.ts new file mode 100644 index 00000000..c365dcf2 --- /dev/null +++ b/utility/prisma/types/outputTypeSchemas/MediaGroupByArgsSchema.ts @@ -0,0 +1,24 @@ +import { z } from "zod"; +import type { Prisma } from "../../client"; +import { MediaWhereInputSchema } from "../inputTypeSchemas/MediaWhereInputSchema"; +import { MediaOrderByWithAggregationInputSchema } from "../inputTypeSchemas/MediaOrderByWithAggregationInputSchema"; +import { MediaScalarFieldEnumSchema } from "../inputTypeSchemas/MediaScalarFieldEnumSchema"; +import { MediaScalarWhereWithAggregatesInputSchema } from "../inputTypeSchemas/MediaScalarWhereWithAggregatesInputSchema"; + +export const MediaGroupByArgsSchema: z.ZodType = z + .object({ + where: MediaWhereInputSchema.optional(), + orderBy: z + .union([ + MediaOrderByWithAggregationInputSchema.array(), + MediaOrderByWithAggregationInputSchema, + ]) + .optional(), + by: MediaScalarFieldEnumSchema.array(), + having: MediaScalarWhereWithAggregatesInputSchema.optional(), + take: z.number().optional(), + skip: z.number().optional(), + }) + .strict(); + +export default MediaGroupByArgsSchema; diff --git a/utility/prisma/types/outputTypeSchemas/MediaProcessingTaskAggregateArgsSchema.ts b/utility/prisma/types/outputTypeSchemas/MediaProcessingTaskAggregateArgsSchema.ts new file mode 100644 index 00000000..8f91e3c6 --- /dev/null +++ b/utility/prisma/types/outputTypeSchemas/MediaProcessingTaskAggregateArgsSchema.ts @@ -0,0 +1,23 @@ +import { z } from "zod"; +import type { Prisma } from "../../client"; +import { MediaProcessingTaskWhereInputSchema } from "../inputTypeSchemas/MediaProcessingTaskWhereInputSchema"; +import { MediaProcessingTaskOrderByWithRelationInputSchema } from "../inputTypeSchemas/MediaProcessingTaskOrderByWithRelationInputSchema"; +import { MediaProcessingTaskWhereUniqueInputSchema } from "../inputTypeSchemas/MediaProcessingTaskWhereUniqueInputSchema"; + +export const MediaProcessingTaskAggregateArgsSchema: z.ZodType = + z + .object({ + where: MediaProcessingTaskWhereInputSchema.optional(), + orderBy: z + .union([ + MediaProcessingTaskOrderByWithRelationInputSchema.array(), + MediaProcessingTaskOrderByWithRelationInputSchema, + ]) + .optional(), + cursor: MediaProcessingTaskWhereUniqueInputSchema.optional(), + take: z.number().optional(), + skip: z.number().optional(), + }) + .strict(); + +export default MediaProcessingTaskAggregateArgsSchema; diff --git a/utility/prisma/types/outputTypeSchemas/MediaProcessingTaskArgsSchema.ts b/utility/prisma/types/outputTypeSchemas/MediaProcessingTaskArgsSchema.ts new file mode 100644 index 00000000..d6860014 --- /dev/null +++ b/utility/prisma/types/outputTypeSchemas/MediaProcessingTaskArgsSchema.ts @@ -0,0 +1,14 @@ +import { z } from "zod"; +import type { Prisma } from "../../client"; +import { MediaProcessingTaskSelectSchema } from "../inputTypeSchemas/MediaProcessingTaskSelectSchema"; +import { MediaProcessingTaskIncludeSchema } from "../inputTypeSchemas/MediaProcessingTaskIncludeSchema"; + +export const MediaProcessingTaskArgsSchema: z.ZodType = + z + .object({ + select: z.lazy(() => MediaProcessingTaskSelectSchema).optional(), + include: z.lazy(() => MediaProcessingTaskIncludeSchema).optional(), + }) + .strict(); + +export default MediaProcessingTaskArgsSchema; diff --git a/utility/prisma/types/outputTypeSchemas/MediaProcessingTaskCreateArgsSchema.ts b/utility/prisma/types/outputTypeSchemas/MediaProcessingTaskCreateArgsSchema.ts new file mode 100644 index 00000000..46690653 --- /dev/null +++ b/utility/prisma/types/outputTypeSchemas/MediaProcessingTaskCreateArgsSchema.ts @@ -0,0 +1,17 @@ +import { z } from "zod"; +import type { Prisma } from "../../client"; +import { MediaProcessingTaskCreateInputSchema } from "../inputTypeSchemas/MediaProcessingTaskCreateInputSchema"; +import { MediaProcessingTaskUncheckedCreateInputSchema } from "../inputTypeSchemas/MediaProcessingTaskUncheckedCreateInputSchema"; + +export const MediaProcessingTaskCreateArgsSchema: z.ZodType< + Omit +> = z + .object({ + data: z.union([ + MediaProcessingTaskCreateInputSchema, + MediaProcessingTaskUncheckedCreateInputSchema, + ]), + }) + .strict(); + +export default MediaProcessingTaskCreateArgsSchema; diff --git a/utility/prisma/types/outputTypeSchemas/MediaProcessingTaskCreateManyArgsSchema.ts b/utility/prisma/types/outputTypeSchemas/MediaProcessingTaskCreateManyArgsSchema.ts new file mode 100644 index 00000000..497ac6c9 --- /dev/null +++ b/utility/prisma/types/outputTypeSchemas/MediaProcessingTaskCreateManyArgsSchema.ts @@ -0,0 +1,16 @@ +import { z } from "zod"; +import type { Prisma } from "../../client"; +import { MediaProcessingTaskCreateManyInputSchema } from "../inputTypeSchemas/MediaProcessingTaskCreateManyInputSchema"; + +export const MediaProcessingTaskCreateManyArgsSchema: z.ZodType = + z + .object({ + data: z.union([ + MediaProcessingTaskCreateManyInputSchema, + MediaProcessingTaskCreateManyInputSchema.array(), + ]), + skipDuplicates: z.boolean().optional(), + }) + .strict(); + +export default MediaProcessingTaskCreateManyArgsSchema; diff --git a/utility/prisma/types/outputTypeSchemas/MediaProcessingTaskDeleteArgsSchema.ts b/utility/prisma/types/outputTypeSchemas/MediaProcessingTaskDeleteArgsSchema.ts new file mode 100644 index 00000000..01b44837 --- /dev/null +++ b/utility/prisma/types/outputTypeSchemas/MediaProcessingTaskDeleteArgsSchema.ts @@ -0,0 +1,13 @@ +import { z } from "zod"; +import type { Prisma } from "../../client"; +import { MediaProcessingTaskWhereUniqueInputSchema } from "../inputTypeSchemas/MediaProcessingTaskWhereUniqueInputSchema"; + +export const MediaProcessingTaskDeleteArgsSchema: z.ZodType< + Omit +> = z + .object({ + where: MediaProcessingTaskWhereUniqueInputSchema, + }) + .strict(); + +export default MediaProcessingTaskDeleteArgsSchema; diff --git a/utility/prisma/types/outputTypeSchemas/MediaProcessingTaskDeleteManyArgsSchema.ts b/utility/prisma/types/outputTypeSchemas/MediaProcessingTaskDeleteManyArgsSchema.ts new file mode 100644 index 00000000..ff9dd010 --- /dev/null +++ b/utility/prisma/types/outputTypeSchemas/MediaProcessingTaskDeleteManyArgsSchema.ts @@ -0,0 +1,12 @@ +import { z } from "zod"; +import type { Prisma } from "../../client"; +import { MediaProcessingTaskWhereInputSchema } from "../inputTypeSchemas/MediaProcessingTaskWhereInputSchema"; + +export const MediaProcessingTaskDeleteManyArgsSchema: z.ZodType = + z + .object({ + where: MediaProcessingTaskWhereInputSchema.optional(), + }) + .strict(); + +export default MediaProcessingTaskDeleteManyArgsSchema; diff --git a/utility/prisma/types/outputTypeSchemas/MediaProcessingTaskFindFirstArgsSchema.ts b/utility/prisma/types/outputTypeSchemas/MediaProcessingTaskFindFirstArgsSchema.ts new file mode 100644 index 00000000..b46fe160 --- /dev/null +++ b/utility/prisma/types/outputTypeSchemas/MediaProcessingTaskFindFirstArgsSchema.ts @@ -0,0 +1,31 @@ +import { z } from "zod"; +import type { Prisma } from "../../client"; +import { MediaProcessingTaskWhereInputSchema } from "../inputTypeSchemas/MediaProcessingTaskWhereInputSchema"; +import { MediaProcessingTaskOrderByWithRelationInputSchema } from "../inputTypeSchemas/MediaProcessingTaskOrderByWithRelationInputSchema"; +import { MediaProcessingTaskWhereUniqueInputSchema } from "../inputTypeSchemas/MediaProcessingTaskWhereUniqueInputSchema"; +import { MediaProcessingTaskScalarFieldEnumSchema } from "../inputTypeSchemas/MediaProcessingTaskScalarFieldEnumSchema"; + +export const MediaProcessingTaskFindFirstArgsSchema: z.ZodType< + Omit +> = z + .object({ + where: MediaProcessingTaskWhereInputSchema.optional(), + orderBy: z + .union([ + MediaProcessingTaskOrderByWithRelationInputSchema.array(), + MediaProcessingTaskOrderByWithRelationInputSchema, + ]) + .optional(), + cursor: MediaProcessingTaskWhereUniqueInputSchema.optional(), + take: z.number().optional(), + skip: z.number().optional(), + distinct: z + .union([ + MediaProcessingTaskScalarFieldEnumSchema, + MediaProcessingTaskScalarFieldEnumSchema.array(), + ]) + .optional(), + }) + .strict(); + +export default MediaProcessingTaskFindFirstArgsSchema; diff --git a/utility/prisma/types/outputTypeSchemas/MediaProcessingTaskFindFirstOrThrowArgsSchema.ts b/utility/prisma/types/outputTypeSchemas/MediaProcessingTaskFindFirstOrThrowArgsSchema.ts new file mode 100644 index 00000000..19866a1c --- /dev/null +++ b/utility/prisma/types/outputTypeSchemas/MediaProcessingTaskFindFirstOrThrowArgsSchema.ts @@ -0,0 +1,31 @@ +import { z } from "zod"; +import type { Prisma } from "../../client"; +import { MediaProcessingTaskWhereInputSchema } from "../inputTypeSchemas/MediaProcessingTaskWhereInputSchema"; +import { MediaProcessingTaskOrderByWithRelationInputSchema } from "../inputTypeSchemas/MediaProcessingTaskOrderByWithRelationInputSchema"; +import { MediaProcessingTaskWhereUniqueInputSchema } from "../inputTypeSchemas/MediaProcessingTaskWhereUniqueInputSchema"; +import { MediaProcessingTaskScalarFieldEnumSchema } from "../inputTypeSchemas/MediaProcessingTaskScalarFieldEnumSchema"; + +export const MediaProcessingTaskFindFirstOrThrowArgsSchema: z.ZodType< + Omit +> = z + .object({ + where: MediaProcessingTaskWhereInputSchema.optional(), + orderBy: z + .union([ + MediaProcessingTaskOrderByWithRelationInputSchema.array(), + MediaProcessingTaskOrderByWithRelationInputSchema, + ]) + .optional(), + cursor: MediaProcessingTaskWhereUniqueInputSchema.optional(), + take: z.number().optional(), + skip: z.number().optional(), + distinct: z + .union([ + MediaProcessingTaskScalarFieldEnumSchema, + MediaProcessingTaskScalarFieldEnumSchema.array(), + ]) + .optional(), + }) + .strict(); + +export default MediaProcessingTaskFindFirstOrThrowArgsSchema; diff --git a/utility/prisma/types/outputTypeSchemas/MediaProcessingTaskFindManyArgsSchema.ts b/utility/prisma/types/outputTypeSchemas/MediaProcessingTaskFindManyArgsSchema.ts new file mode 100644 index 00000000..90814803 --- /dev/null +++ b/utility/prisma/types/outputTypeSchemas/MediaProcessingTaskFindManyArgsSchema.ts @@ -0,0 +1,31 @@ +import { z } from "zod"; +import type { Prisma } from "../../client"; +import { MediaProcessingTaskWhereInputSchema } from "../inputTypeSchemas/MediaProcessingTaskWhereInputSchema"; +import { MediaProcessingTaskOrderByWithRelationInputSchema } from "../inputTypeSchemas/MediaProcessingTaskOrderByWithRelationInputSchema"; +import { MediaProcessingTaskWhereUniqueInputSchema } from "../inputTypeSchemas/MediaProcessingTaskWhereUniqueInputSchema"; +import { MediaProcessingTaskScalarFieldEnumSchema } from "../inputTypeSchemas/MediaProcessingTaskScalarFieldEnumSchema"; + +export const MediaProcessingTaskFindManyArgsSchema: z.ZodType< + Omit +> = z + .object({ + where: MediaProcessingTaskWhereInputSchema.optional(), + orderBy: z + .union([ + MediaProcessingTaskOrderByWithRelationInputSchema.array(), + MediaProcessingTaskOrderByWithRelationInputSchema, + ]) + .optional(), + cursor: MediaProcessingTaskWhereUniqueInputSchema.optional(), + take: z.number().optional(), + skip: z.number().optional(), + distinct: z + .union([ + MediaProcessingTaskScalarFieldEnumSchema, + MediaProcessingTaskScalarFieldEnumSchema.array(), + ]) + .optional(), + }) + .strict(); + +export default MediaProcessingTaskFindManyArgsSchema; diff --git a/utility/prisma/types/outputTypeSchemas/MediaProcessingTaskFindUniqueArgsSchema.ts b/utility/prisma/types/outputTypeSchemas/MediaProcessingTaskFindUniqueArgsSchema.ts new file mode 100644 index 00000000..ec1d576d --- /dev/null +++ b/utility/prisma/types/outputTypeSchemas/MediaProcessingTaskFindUniqueArgsSchema.ts @@ -0,0 +1,13 @@ +import { z } from "zod"; +import type { Prisma } from "../../client"; +import { MediaProcessingTaskWhereUniqueInputSchema } from "../inputTypeSchemas/MediaProcessingTaskWhereUniqueInputSchema"; + +export const MediaProcessingTaskFindUniqueArgsSchema: z.ZodType< + Omit +> = z + .object({ + where: MediaProcessingTaskWhereUniqueInputSchema, + }) + .strict(); + +export default MediaProcessingTaskFindUniqueArgsSchema; diff --git a/utility/prisma/types/outputTypeSchemas/MediaProcessingTaskFindUniqueOrThrowArgsSchema.ts b/utility/prisma/types/outputTypeSchemas/MediaProcessingTaskFindUniqueOrThrowArgsSchema.ts new file mode 100644 index 00000000..fb48ad35 --- /dev/null +++ b/utility/prisma/types/outputTypeSchemas/MediaProcessingTaskFindUniqueOrThrowArgsSchema.ts @@ -0,0 +1,13 @@ +import { z } from "zod"; +import type { Prisma } from "../../client"; +import { MediaProcessingTaskWhereUniqueInputSchema } from "../inputTypeSchemas/MediaProcessingTaskWhereUniqueInputSchema"; + +export const MediaProcessingTaskFindUniqueOrThrowArgsSchema: z.ZodType< + Omit +> = z + .object({ + where: MediaProcessingTaskWhereUniqueInputSchema, + }) + .strict(); + +export default MediaProcessingTaskFindUniqueOrThrowArgsSchema; diff --git a/utility/prisma/types/outputTypeSchemas/MediaProcessingTaskGroupByArgsSchema.ts b/utility/prisma/types/outputTypeSchemas/MediaProcessingTaskGroupByArgsSchema.ts new file mode 100644 index 00000000..8a52597e --- /dev/null +++ b/utility/prisma/types/outputTypeSchemas/MediaProcessingTaskGroupByArgsSchema.ts @@ -0,0 +1,26 @@ +import { z } from "zod"; +import type { Prisma } from "../../client"; +import { MediaProcessingTaskWhereInputSchema } from "../inputTypeSchemas/MediaProcessingTaskWhereInputSchema"; +import { MediaProcessingTaskOrderByWithAggregationInputSchema } from "../inputTypeSchemas/MediaProcessingTaskOrderByWithAggregationInputSchema"; +import { MediaProcessingTaskScalarFieldEnumSchema } from "../inputTypeSchemas/MediaProcessingTaskScalarFieldEnumSchema"; +import { MediaProcessingTaskScalarWhereWithAggregatesInputSchema } from "../inputTypeSchemas/MediaProcessingTaskScalarWhereWithAggregatesInputSchema"; + +export const MediaProcessingTaskGroupByArgsSchema: z.ZodType = + z + .object({ + where: MediaProcessingTaskWhereInputSchema.optional(), + orderBy: z + .union([ + MediaProcessingTaskOrderByWithAggregationInputSchema.array(), + MediaProcessingTaskOrderByWithAggregationInputSchema, + ]) + .optional(), + by: MediaProcessingTaskScalarFieldEnumSchema.array(), + having: + MediaProcessingTaskScalarWhereWithAggregatesInputSchema.optional(), + take: z.number().optional(), + skip: z.number().optional(), + }) + .strict(); + +export default MediaProcessingTaskGroupByArgsSchema; diff --git a/utility/prisma/types/outputTypeSchemas/MediaProcessingTaskUpdateArgsSchema.ts b/utility/prisma/types/outputTypeSchemas/MediaProcessingTaskUpdateArgsSchema.ts new file mode 100644 index 00000000..9a61ca98 --- /dev/null +++ b/utility/prisma/types/outputTypeSchemas/MediaProcessingTaskUpdateArgsSchema.ts @@ -0,0 +1,19 @@ +import { z } from "zod"; +import type { Prisma } from "../../client"; +import { MediaProcessingTaskUpdateInputSchema } from "../inputTypeSchemas/MediaProcessingTaskUpdateInputSchema"; +import { MediaProcessingTaskUncheckedUpdateInputSchema } from "../inputTypeSchemas/MediaProcessingTaskUncheckedUpdateInputSchema"; +import { MediaProcessingTaskWhereUniqueInputSchema } from "../inputTypeSchemas/MediaProcessingTaskWhereUniqueInputSchema"; + +export const MediaProcessingTaskUpdateArgsSchema: z.ZodType< + Omit +> = z + .object({ + data: z.union([ + MediaProcessingTaskUpdateInputSchema, + MediaProcessingTaskUncheckedUpdateInputSchema, + ]), + where: MediaProcessingTaskWhereUniqueInputSchema, + }) + .strict(); + +export default MediaProcessingTaskUpdateArgsSchema; diff --git a/utility/prisma/types/outputTypeSchemas/MediaProcessingTaskUpdateManyArgsSchema.ts b/utility/prisma/types/outputTypeSchemas/MediaProcessingTaskUpdateManyArgsSchema.ts new file mode 100644 index 00000000..7caa989c --- /dev/null +++ b/utility/prisma/types/outputTypeSchemas/MediaProcessingTaskUpdateManyArgsSchema.ts @@ -0,0 +1,18 @@ +import { z } from "zod"; +import type { Prisma } from "../../client"; +import { MediaProcessingTaskUpdateManyMutationInputSchema } from "../inputTypeSchemas/MediaProcessingTaskUpdateManyMutationInputSchema"; +import { MediaProcessingTaskUncheckedUpdateManyInputSchema } from "../inputTypeSchemas/MediaProcessingTaskUncheckedUpdateManyInputSchema"; +import { MediaProcessingTaskWhereInputSchema } from "../inputTypeSchemas/MediaProcessingTaskWhereInputSchema"; + +export const MediaProcessingTaskUpdateManyArgsSchema: z.ZodType = + z + .object({ + data: z.union([ + MediaProcessingTaskUpdateManyMutationInputSchema, + MediaProcessingTaskUncheckedUpdateManyInputSchema, + ]), + where: MediaProcessingTaskWhereInputSchema.optional(), + }) + .strict(); + +export default MediaProcessingTaskUpdateManyArgsSchema; diff --git a/utility/prisma/types/outputTypeSchemas/MediaProcessingTaskUpsertArgsSchema.ts b/utility/prisma/types/outputTypeSchemas/MediaProcessingTaskUpsertArgsSchema.ts new file mode 100644 index 00000000..55e44740 --- /dev/null +++ b/utility/prisma/types/outputTypeSchemas/MediaProcessingTaskUpsertArgsSchema.ts @@ -0,0 +1,25 @@ +import { z } from "zod"; +import type { Prisma } from "../../client"; +import { MediaProcessingTaskWhereUniqueInputSchema } from "../inputTypeSchemas/MediaProcessingTaskWhereUniqueInputSchema"; +import { MediaProcessingTaskCreateInputSchema } from "../inputTypeSchemas/MediaProcessingTaskCreateInputSchema"; +import { MediaProcessingTaskUncheckedCreateInputSchema } from "../inputTypeSchemas/MediaProcessingTaskUncheckedCreateInputSchema"; +import { MediaProcessingTaskUpdateInputSchema } from "../inputTypeSchemas/MediaProcessingTaskUpdateInputSchema"; +import { MediaProcessingTaskUncheckedUpdateInputSchema } from "../inputTypeSchemas/MediaProcessingTaskUncheckedUpdateInputSchema"; + +export const MediaProcessingTaskUpsertArgsSchema: z.ZodType< + Omit +> = z + .object({ + where: MediaProcessingTaskWhereUniqueInputSchema, + create: z.union([ + MediaProcessingTaskCreateInputSchema, + MediaProcessingTaskUncheckedCreateInputSchema, + ]), + update: z.union([ + MediaProcessingTaskUpdateInputSchema, + MediaProcessingTaskUncheckedUpdateInputSchema, + ]), + }) + .strict(); + +export default MediaProcessingTaskUpsertArgsSchema; diff --git a/utility/prisma/types/outputTypeSchemas/MediaUpdateArgsSchema.ts b/utility/prisma/types/outputTypeSchemas/MediaUpdateArgsSchema.ts new file mode 100644 index 00000000..40fafe53 --- /dev/null +++ b/utility/prisma/types/outputTypeSchemas/MediaUpdateArgsSchema.ts @@ -0,0 +1,16 @@ +import { z } from "zod"; +import type { Prisma } from "../../client"; +import { MediaUpdateInputSchema } from "../inputTypeSchemas/MediaUpdateInputSchema"; +import { MediaUncheckedUpdateInputSchema } from "../inputTypeSchemas/MediaUncheckedUpdateInputSchema"; +import { MediaWhereUniqueInputSchema } from "../inputTypeSchemas/MediaWhereUniqueInputSchema"; + +export const MediaUpdateArgsSchema: z.ZodType< + Omit +> = z + .object({ + data: z.union([MediaUpdateInputSchema, MediaUncheckedUpdateInputSchema]), + where: MediaWhereUniqueInputSchema, + }) + .strict(); + +export default MediaUpdateArgsSchema; diff --git a/utility/prisma/types/outputTypeSchemas/MediaUpdateManyArgsSchema.ts b/utility/prisma/types/outputTypeSchemas/MediaUpdateManyArgsSchema.ts new file mode 100644 index 00000000..24977546 --- /dev/null +++ b/utility/prisma/types/outputTypeSchemas/MediaUpdateManyArgsSchema.ts @@ -0,0 +1,18 @@ +import { z } from "zod"; +import type { Prisma } from "../../client"; +import { MediaUpdateManyMutationInputSchema } from "../inputTypeSchemas/MediaUpdateManyMutationInputSchema"; +import { MediaUncheckedUpdateManyInputSchema } from "../inputTypeSchemas/MediaUncheckedUpdateManyInputSchema"; +import { MediaWhereInputSchema } from "../inputTypeSchemas/MediaWhereInputSchema"; + +export const MediaUpdateManyArgsSchema: z.ZodType = + z + .object({ + data: z.union([ + MediaUpdateManyMutationInputSchema, + MediaUncheckedUpdateManyInputSchema, + ]), + where: MediaWhereInputSchema.optional(), + }) + .strict(); + +export default MediaUpdateManyArgsSchema; diff --git a/utility/prisma/types/outputTypeSchemas/MediaUpsertArgsSchema.ts b/utility/prisma/types/outputTypeSchemas/MediaUpsertArgsSchema.ts new file mode 100644 index 00000000..c66a342d --- /dev/null +++ b/utility/prisma/types/outputTypeSchemas/MediaUpsertArgsSchema.ts @@ -0,0 +1,19 @@ +import { z } from "zod"; +import type { Prisma } from "../../client"; +import { MediaWhereUniqueInputSchema } from "../inputTypeSchemas/MediaWhereUniqueInputSchema"; +import { MediaCreateInputSchema } from "../inputTypeSchemas/MediaCreateInputSchema"; +import { MediaUncheckedCreateInputSchema } from "../inputTypeSchemas/MediaUncheckedCreateInputSchema"; +import { MediaUpdateInputSchema } from "../inputTypeSchemas/MediaUpdateInputSchema"; +import { MediaUncheckedUpdateInputSchema } from "../inputTypeSchemas/MediaUncheckedUpdateInputSchema"; + +export const MediaUpsertArgsSchema: z.ZodType< + Omit +> = z + .object({ + where: MediaWhereUniqueInputSchema, + create: z.union([MediaCreateInputSchema, MediaUncheckedCreateInputSchema]), + update: z.union([MediaUpdateInputSchema, MediaUncheckedUpdateInputSchema]), + }) + .strict(); + +export default MediaUpsertArgsSchema; diff --git a/utility/prisma/types/outputTypeSchemas/ProcessMediaJobAggregateArgsSchema.ts b/utility/prisma/types/outputTypeSchemas/ProcessMediaJobAggregateArgsSchema.ts new file mode 100644 index 00000000..af5b8494 --- /dev/null +++ b/utility/prisma/types/outputTypeSchemas/ProcessMediaJobAggregateArgsSchema.ts @@ -0,0 +1,23 @@ +import { z } from "zod"; +import type { Prisma } from "../../client"; +import { ProcessMediaJobWhereInputSchema } from "../inputTypeSchemas/ProcessMediaJobWhereInputSchema"; +import { ProcessMediaJobOrderByWithRelationInputSchema } from "../inputTypeSchemas/ProcessMediaJobOrderByWithRelationInputSchema"; +import { ProcessMediaJobWhereUniqueInputSchema } from "../inputTypeSchemas/ProcessMediaJobWhereUniqueInputSchema"; + +export const ProcessMediaJobAggregateArgsSchema: z.ZodType = + z + .object({ + where: ProcessMediaJobWhereInputSchema.optional(), + orderBy: z + .union([ + ProcessMediaJobOrderByWithRelationInputSchema.array(), + ProcessMediaJobOrderByWithRelationInputSchema, + ]) + .optional(), + cursor: ProcessMediaJobWhereUniqueInputSchema.optional(), + take: z.number().optional(), + skip: z.number().optional(), + }) + .strict(); + +export default ProcessMediaJobAggregateArgsSchema; diff --git a/utility/prisma/types/outputTypeSchemas/ProcessMediaJobArgsSchema.ts b/utility/prisma/types/outputTypeSchemas/ProcessMediaJobArgsSchema.ts new file mode 100644 index 00000000..14b4fcbc --- /dev/null +++ b/utility/prisma/types/outputTypeSchemas/ProcessMediaJobArgsSchema.ts @@ -0,0 +1,14 @@ +import { z } from "zod"; +import type { Prisma } from "../../client"; +import { ProcessMediaJobSelectSchema } from "../inputTypeSchemas/ProcessMediaJobSelectSchema"; +import { ProcessMediaJobIncludeSchema } from "../inputTypeSchemas/ProcessMediaJobIncludeSchema"; + +export const ProcessMediaJobArgsSchema: z.ZodType = + z + .object({ + select: z.lazy(() => ProcessMediaJobSelectSchema).optional(), + include: z.lazy(() => ProcessMediaJobIncludeSchema).optional(), + }) + .strict(); + +export default ProcessMediaJobArgsSchema; diff --git a/utility/prisma/types/outputTypeSchemas/ProcessMediaJobCreateArgsSchema.ts b/utility/prisma/types/outputTypeSchemas/ProcessMediaJobCreateArgsSchema.ts new file mode 100644 index 00000000..f618b140 --- /dev/null +++ b/utility/prisma/types/outputTypeSchemas/ProcessMediaJobCreateArgsSchema.ts @@ -0,0 +1,17 @@ +import { z } from "zod"; +import type { Prisma } from "../../client"; +import { ProcessMediaJobCreateInputSchema } from "../inputTypeSchemas/ProcessMediaJobCreateInputSchema"; +import { ProcessMediaJobUncheckedCreateInputSchema } from "../inputTypeSchemas/ProcessMediaJobUncheckedCreateInputSchema"; + +export const ProcessMediaJobCreateArgsSchema: z.ZodType< + Omit +> = z + .object({ + data: z.union([ + ProcessMediaJobCreateInputSchema, + ProcessMediaJobUncheckedCreateInputSchema, + ]), + }) + .strict(); + +export default ProcessMediaJobCreateArgsSchema; diff --git a/utility/prisma/types/outputTypeSchemas/ProcessMediaJobCreateManyArgsSchema.ts b/utility/prisma/types/outputTypeSchemas/ProcessMediaJobCreateManyArgsSchema.ts new file mode 100644 index 00000000..424b1cf1 --- /dev/null +++ b/utility/prisma/types/outputTypeSchemas/ProcessMediaJobCreateManyArgsSchema.ts @@ -0,0 +1,16 @@ +import { z } from "zod"; +import type { Prisma } from "../../client"; +import { ProcessMediaJobCreateManyInputSchema } from "../inputTypeSchemas/ProcessMediaJobCreateManyInputSchema"; + +export const ProcessMediaJobCreateManyArgsSchema: z.ZodType = + z + .object({ + data: z.union([ + ProcessMediaJobCreateManyInputSchema, + ProcessMediaJobCreateManyInputSchema.array(), + ]), + skipDuplicates: z.boolean().optional(), + }) + .strict(); + +export default ProcessMediaJobCreateManyArgsSchema; diff --git a/utility/prisma/types/outputTypeSchemas/ProcessMediaJobDeleteArgsSchema.ts b/utility/prisma/types/outputTypeSchemas/ProcessMediaJobDeleteArgsSchema.ts new file mode 100644 index 00000000..cf65c074 --- /dev/null +++ b/utility/prisma/types/outputTypeSchemas/ProcessMediaJobDeleteArgsSchema.ts @@ -0,0 +1,13 @@ +import { z } from "zod"; +import type { Prisma } from "../../client"; +import { ProcessMediaJobWhereUniqueInputSchema } from "../inputTypeSchemas/ProcessMediaJobWhereUniqueInputSchema"; + +export const ProcessMediaJobDeleteArgsSchema: z.ZodType< + Omit +> = z + .object({ + where: ProcessMediaJobWhereUniqueInputSchema, + }) + .strict(); + +export default ProcessMediaJobDeleteArgsSchema; diff --git a/utility/prisma/types/outputTypeSchemas/ProcessMediaJobDeleteManyArgsSchema.ts b/utility/prisma/types/outputTypeSchemas/ProcessMediaJobDeleteManyArgsSchema.ts new file mode 100644 index 00000000..501a82d1 --- /dev/null +++ b/utility/prisma/types/outputTypeSchemas/ProcessMediaJobDeleteManyArgsSchema.ts @@ -0,0 +1,12 @@ +import { z } from "zod"; +import type { Prisma } from "../../client"; +import { ProcessMediaJobWhereInputSchema } from "../inputTypeSchemas/ProcessMediaJobWhereInputSchema"; + +export const ProcessMediaJobDeleteManyArgsSchema: z.ZodType = + z + .object({ + where: ProcessMediaJobWhereInputSchema.optional(), + }) + .strict(); + +export default ProcessMediaJobDeleteManyArgsSchema; diff --git a/utility/prisma/types/outputTypeSchemas/ProcessMediaJobFindFirstArgsSchema.ts b/utility/prisma/types/outputTypeSchemas/ProcessMediaJobFindFirstArgsSchema.ts new file mode 100644 index 00000000..12cf6781 --- /dev/null +++ b/utility/prisma/types/outputTypeSchemas/ProcessMediaJobFindFirstArgsSchema.ts @@ -0,0 +1,31 @@ +import { z } from "zod"; +import type { Prisma } from "../../client"; +import { ProcessMediaJobWhereInputSchema } from "../inputTypeSchemas/ProcessMediaJobWhereInputSchema"; +import { ProcessMediaJobOrderByWithRelationInputSchema } from "../inputTypeSchemas/ProcessMediaJobOrderByWithRelationInputSchema"; +import { ProcessMediaJobWhereUniqueInputSchema } from "../inputTypeSchemas/ProcessMediaJobWhereUniqueInputSchema"; +import { ProcessMediaJobScalarFieldEnumSchema } from "../inputTypeSchemas/ProcessMediaJobScalarFieldEnumSchema"; + +export const ProcessMediaJobFindFirstArgsSchema: z.ZodType< + Omit +> = z + .object({ + where: ProcessMediaJobWhereInputSchema.optional(), + orderBy: z + .union([ + ProcessMediaJobOrderByWithRelationInputSchema.array(), + ProcessMediaJobOrderByWithRelationInputSchema, + ]) + .optional(), + cursor: ProcessMediaJobWhereUniqueInputSchema.optional(), + take: z.number().optional(), + skip: z.number().optional(), + distinct: z + .union([ + ProcessMediaJobScalarFieldEnumSchema, + ProcessMediaJobScalarFieldEnumSchema.array(), + ]) + .optional(), + }) + .strict(); + +export default ProcessMediaJobFindFirstArgsSchema; diff --git a/utility/prisma/types/outputTypeSchemas/ProcessMediaJobFindFirstOrThrowArgsSchema.ts b/utility/prisma/types/outputTypeSchemas/ProcessMediaJobFindFirstOrThrowArgsSchema.ts new file mode 100644 index 00000000..eafcfd73 --- /dev/null +++ b/utility/prisma/types/outputTypeSchemas/ProcessMediaJobFindFirstOrThrowArgsSchema.ts @@ -0,0 +1,31 @@ +import { z } from "zod"; +import type { Prisma } from "../../client"; +import { ProcessMediaJobWhereInputSchema } from "../inputTypeSchemas/ProcessMediaJobWhereInputSchema"; +import { ProcessMediaJobOrderByWithRelationInputSchema } from "../inputTypeSchemas/ProcessMediaJobOrderByWithRelationInputSchema"; +import { ProcessMediaJobWhereUniqueInputSchema } from "../inputTypeSchemas/ProcessMediaJobWhereUniqueInputSchema"; +import { ProcessMediaJobScalarFieldEnumSchema } from "../inputTypeSchemas/ProcessMediaJobScalarFieldEnumSchema"; + +export const ProcessMediaJobFindFirstOrThrowArgsSchema: z.ZodType< + Omit +> = z + .object({ + where: ProcessMediaJobWhereInputSchema.optional(), + orderBy: z + .union([ + ProcessMediaJobOrderByWithRelationInputSchema.array(), + ProcessMediaJobOrderByWithRelationInputSchema, + ]) + .optional(), + cursor: ProcessMediaJobWhereUniqueInputSchema.optional(), + take: z.number().optional(), + skip: z.number().optional(), + distinct: z + .union([ + ProcessMediaJobScalarFieldEnumSchema, + ProcessMediaJobScalarFieldEnumSchema.array(), + ]) + .optional(), + }) + .strict(); + +export default ProcessMediaJobFindFirstOrThrowArgsSchema; diff --git a/utility/prisma/types/outputTypeSchemas/ProcessMediaJobFindManyArgsSchema.ts b/utility/prisma/types/outputTypeSchemas/ProcessMediaJobFindManyArgsSchema.ts new file mode 100644 index 00000000..27acdbcb --- /dev/null +++ b/utility/prisma/types/outputTypeSchemas/ProcessMediaJobFindManyArgsSchema.ts @@ -0,0 +1,31 @@ +import { z } from "zod"; +import type { Prisma } from "../../client"; +import { ProcessMediaJobWhereInputSchema } from "../inputTypeSchemas/ProcessMediaJobWhereInputSchema"; +import { ProcessMediaJobOrderByWithRelationInputSchema } from "../inputTypeSchemas/ProcessMediaJobOrderByWithRelationInputSchema"; +import { ProcessMediaJobWhereUniqueInputSchema } from "../inputTypeSchemas/ProcessMediaJobWhereUniqueInputSchema"; +import { ProcessMediaJobScalarFieldEnumSchema } from "../inputTypeSchemas/ProcessMediaJobScalarFieldEnumSchema"; + +export const ProcessMediaJobFindManyArgsSchema: z.ZodType< + Omit +> = z + .object({ + where: ProcessMediaJobWhereInputSchema.optional(), + orderBy: z + .union([ + ProcessMediaJobOrderByWithRelationInputSchema.array(), + ProcessMediaJobOrderByWithRelationInputSchema, + ]) + .optional(), + cursor: ProcessMediaJobWhereUniqueInputSchema.optional(), + take: z.number().optional(), + skip: z.number().optional(), + distinct: z + .union([ + ProcessMediaJobScalarFieldEnumSchema, + ProcessMediaJobScalarFieldEnumSchema.array(), + ]) + .optional(), + }) + .strict(); + +export default ProcessMediaJobFindManyArgsSchema; diff --git a/utility/prisma/types/outputTypeSchemas/ProcessMediaJobFindUniqueArgsSchema.ts b/utility/prisma/types/outputTypeSchemas/ProcessMediaJobFindUniqueArgsSchema.ts new file mode 100644 index 00000000..2dcaf206 --- /dev/null +++ b/utility/prisma/types/outputTypeSchemas/ProcessMediaJobFindUniqueArgsSchema.ts @@ -0,0 +1,13 @@ +import { z } from "zod"; +import type { Prisma } from "../../client"; +import { ProcessMediaJobWhereUniqueInputSchema } from "../inputTypeSchemas/ProcessMediaJobWhereUniqueInputSchema"; + +export const ProcessMediaJobFindUniqueArgsSchema: z.ZodType< + Omit +> = z + .object({ + where: ProcessMediaJobWhereUniqueInputSchema, + }) + .strict(); + +export default ProcessMediaJobFindUniqueArgsSchema; diff --git a/utility/prisma/types/outputTypeSchemas/ProcessMediaJobFindUniqueOrThrowArgsSchema.ts b/utility/prisma/types/outputTypeSchemas/ProcessMediaJobFindUniqueOrThrowArgsSchema.ts new file mode 100644 index 00000000..29f24c89 --- /dev/null +++ b/utility/prisma/types/outputTypeSchemas/ProcessMediaJobFindUniqueOrThrowArgsSchema.ts @@ -0,0 +1,13 @@ +import { z } from "zod"; +import type { Prisma } from "../../client"; +import { ProcessMediaJobWhereUniqueInputSchema } from "../inputTypeSchemas/ProcessMediaJobWhereUniqueInputSchema"; + +export const ProcessMediaJobFindUniqueOrThrowArgsSchema: z.ZodType< + Omit +> = z + .object({ + where: ProcessMediaJobWhereUniqueInputSchema, + }) + .strict(); + +export default ProcessMediaJobFindUniqueOrThrowArgsSchema; diff --git a/utility/prisma/types/outputTypeSchemas/ProcessMediaJobGroupByArgsSchema.ts b/utility/prisma/types/outputTypeSchemas/ProcessMediaJobGroupByArgsSchema.ts new file mode 100644 index 00000000..f7f3ebee --- /dev/null +++ b/utility/prisma/types/outputTypeSchemas/ProcessMediaJobGroupByArgsSchema.ts @@ -0,0 +1,25 @@ +import { z } from "zod"; +import type { Prisma } from "../../client"; +import { ProcessMediaJobWhereInputSchema } from "../inputTypeSchemas/ProcessMediaJobWhereInputSchema"; +import { ProcessMediaJobOrderByWithAggregationInputSchema } from "../inputTypeSchemas/ProcessMediaJobOrderByWithAggregationInputSchema"; +import { ProcessMediaJobScalarFieldEnumSchema } from "../inputTypeSchemas/ProcessMediaJobScalarFieldEnumSchema"; +import { ProcessMediaJobScalarWhereWithAggregatesInputSchema } from "../inputTypeSchemas/ProcessMediaJobScalarWhereWithAggregatesInputSchema"; + +export const ProcessMediaJobGroupByArgsSchema: z.ZodType = + z + .object({ + where: ProcessMediaJobWhereInputSchema.optional(), + orderBy: z + .union([ + ProcessMediaJobOrderByWithAggregationInputSchema.array(), + ProcessMediaJobOrderByWithAggregationInputSchema, + ]) + .optional(), + by: ProcessMediaJobScalarFieldEnumSchema.array(), + having: ProcessMediaJobScalarWhereWithAggregatesInputSchema.optional(), + take: z.number().optional(), + skip: z.number().optional(), + }) + .strict(); + +export default ProcessMediaJobGroupByArgsSchema; diff --git a/utility/prisma/types/outputTypeSchemas/ProcessMediaJobUpdateArgsSchema.ts b/utility/prisma/types/outputTypeSchemas/ProcessMediaJobUpdateArgsSchema.ts new file mode 100644 index 00000000..90ba40cd --- /dev/null +++ b/utility/prisma/types/outputTypeSchemas/ProcessMediaJobUpdateArgsSchema.ts @@ -0,0 +1,19 @@ +import { z } from "zod"; +import type { Prisma } from "../../client"; +import { ProcessMediaJobUpdateInputSchema } from "../inputTypeSchemas/ProcessMediaJobUpdateInputSchema"; +import { ProcessMediaJobUncheckedUpdateInputSchema } from "../inputTypeSchemas/ProcessMediaJobUncheckedUpdateInputSchema"; +import { ProcessMediaJobWhereUniqueInputSchema } from "../inputTypeSchemas/ProcessMediaJobWhereUniqueInputSchema"; + +export const ProcessMediaJobUpdateArgsSchema: z.ZodType< + Omit +> = z + .object({ + data: z.union([ + ProcessMediaJobUpdateInputSchema, + ProcessMediaJobUncheckedUpdateInputSchema, + ]), + where: ProcessMediaJobWhereUniqueInputSchema, + }) + .strict(); + +export default ProcessMediaJobUpdateArgsSchema; diff --git a/utility/prisma/types/outputTypeSchemas/ProcessMediaJobUpdateManyArgsSchema.ts b/utility/prisma/types/outputTypeSchemas/ProcessMediaJobUpdateManyArgsSchema.ts new file mode 100644 index 00000000..2973a47b --- /dev/null +++ b/utility/prisma/types/outputTypeSchemas/ProcessMediaJobUpdateManyArgsSchema.ts @@ -0,0 +1,18 @@ +import { z } from "zod"; +import type { Prisma } from "../../client"; +import { ProcessMediaJobUpdateManyMutationInputSchema } from "../inputTypeSchemas/ProcessMediaJobUpdateManyMutationInputSchema"; +import { ProcessMediaJobUncheckedUpdateManyInputSchema } from "../inputTypeSchemas/ProcessMediaJobUncheckedUpdateManyInputSchema"; +import { ProcessMediaJobWhereInputSchema } from "../inputTypeSchemas/ProcessMediaJobWhereInputSchema"; + +export const ProcessMediaJobUpdateManyArgsSchema: z.ZodType = + z + .object({ + data: z.union([ + ProcessMediaJobUpdateManyMutationInputSchema, + ProcessMediaJobUncheckedUpdateManyInputSchema, + ]), + where: ProcessMediaJobWhereInputSchema.optional(), + }) + .strict(); + +export default ProcessMediaJobUpdateManyArgsSchema; diff --git a/utility/prisma/types/outputTypeSchemas/ProcessMediaJobUpsertArgsSchema.ts b/utility/prisma/types/outputTypeSchemas/ProcessMediaJobUpsertArgsSchema.ts new file mode 100644 index 00000000..026deb13 --- /dev/null +++ b/utility/prisma/types/outputTypeSchemas/ProcessMediaJobUpsertArgsSchema.ts @@ -0,0 +1,25 @@ +import { z } from "zod"; +import type { Prisma } from "../../client"; +import { ProcessMediaJobWhereUniqueInputSchema } from "../inputTypeSchemas/ProcessMediaJobWhereUniqueInputSchema"; +import { ProcessMediaJobCreateInputSchema } from "../inputTypeSchemas/ProcessMediaJobCreateInputSchema"; +import { ProcessMediaJobUncheckedCreateInputSchema } from "../inputTypeSchemas/ProcessMediaJobUncheckedCreateInputSchema"; +import { ProcessMediaJobUpdateInputSchema } from "../inputTypeSchemas/ProcessMediaJobUpdateInputSchema"; +import { ProcessMediaJobUncheckedUpdateInputSchema } from "../inputTypeSchemas/ProcessMediaJobUncheckedUpdateInputSchema"; + +export const ProcessMediaJobUpsertArgsSchema: z.ZodType< + Omit +> = z + .object({ + where: ProcessMediaJobWhereUniqueInputSchema, + create: z.union([ + ProcessMediaJobCreateInputSchema, + ProcessMediaJobUncheckedCreateInputSchema, + ]), + update: z.union([ + ProcessMediaJobUpdateInputSchema, + ProcessMediaJobUncheckedUpdateInputSchema, + ]), + }) + .strict(); + +export default ProcessMediaJobUpsertArgsSchema; diff --git a/utility/prisma/types/outputTypeSchemas/RundownAggregateArgsSchema.ts b/utility/prisma/types/outputTypeSchemas/RundownAggregateArgsSchema.ts new file mode 100644 index 00000000..9ad40ca3 --- /dev/null +++ b/utility/prisma/types/outputTypeSchemas/RundownAggregateArgsSchema.ts @@ -0,0 +1,23 @@ +import { z } from "zod"; +import type { Prisma } from "../../client"; +import { RundownWhereInputSchema } from "../inputTypeSchemas/RundownWhereInputSchema"; +import { RundownOrderByWithRelationInputSchema } from "../inputTypeSchemas/RundownOrderByWithRelationInputSchema"; +import { RundownWhereUniqueInputSchema } from "../inputTypeSchemas/RundownWhereUniqueInputSchema"; + +export const RundownAggregateArgsSchema: z.ZodType = + z + .object({ + where: RundownWhereInputSchema.optional(), + orderBy: z + .union([ + RundownOrderByWithRelationInputSchema.array(), + RundownOrderByWithRelationInputSchema, + ]) + .optional(), + cursor: RundownWhereUniqueInputSchema.optional(), + take: z.number().optional(), + skip: z.number().optional(), + }) + .strict(); + +export default RundownAggregateArgsSchema; diff --git a/utility/prisma/types/outputTypeSchemas/RundownArgsSchema.ts b/utility/prisma/types/outputTypeSchemas/RundownArgsSchema.ts new file mode 100644 index 00000000..77a66488 --- /dev/null +++ b/utility/prisma/types/outputTypeSchemas/RundownArgsSchema.ts @@ -0,0 +1,13 @@ +import { z } from "zod"; +import type { Prisma } from "../../client"; +import { RundownSelectSchema } from "../inputTypeSchemas/RundownSelectSchema"; +import { RundownIncludeSchema } from "../inputTypeSchemas/RundownIncludeSchema"; + +export const RundownArgsSchema: z.ZodType = z + .object({ + select: z.lazy(() => RundownSelectSchema).optional(), + include: z.lazy(() => RundownIncludeSchema).optional(), + }) + .strict(); + +export default RundownArgsSchema; diff --git a/utility/prisma/types/outputTypeSchemas/RundownCountOutputTypeArgsSchema.ts b/utility/prisma/types/outputTypeSchemas/RundownCountOutputTypeArgsSchema.ts new file mode 100644 index 00000000..2d56eaa9 --- /dev/null +++ b/utility/prisma/types/outputTypeSchemas/RundownCountOutputTypeArgsSchema.ts @@ -0,0 +1,12 @@ +import { z } from "zod"; +import type { Prisma } from "../../client"; +import { RundownCountOutputTypeSelectSchema } from "./RundownCountOutputTypeSelectSchema"; + +export const RundownCountOutputTypeArgsSchema: z.ZodType = + z + .object({ + select: z.lazy(() => RundownCountOutputTypeSelectSchema).nullish(), + }) + .strict(); + +export default RundownCountOutputTypeSelectSchema; diff --git a/utility/prisma/types/outputTypeSchemas/RundownCountOutputTypeSelectSchema.ts b/utility/prisma/types/outputTypeSchemas/RundownCountOutputTypeSelectSchema.ts new file mode 100644 index 00000000..e576437b --- /dev/null +++ b/utility/prisma/types/outputTypeSchemas/RundownCountOutputTypeSelectSchema.ts @@ -0,0 +1,12 @@ +import { z } from "zod"; +import type { Prisma } from "../../client"; + +export const RundownCountOutputTypeSelectSchema: z.ZodType = + z + .object({ + items: z.boolean().optional(), + assets: z.boolean().optional(), + }) + .strict(); + +export default RundownCountOutputTypeSelectSchema; diff --git a/utility/prisma/types/outputTypeSchemas/RundownCreateArgsSchema.ts b/utility/prisma/types/outputTypeSchemas/RundownCreateArgsSchema.ts new file mode 100644 index 00000000..822fbb77 --- /dev/null +++ b/utility/prisma/types/outputTypeSchemas/RundownCreateArgsSchema.ts @@ -0,0 +1,17 @@ +import { z } from "zod"; +import type { Prisma } from "../../client"; +import { RundownCreateInputSchema } from "../inputTypeSchemas/RundownCreateInputSchema"; +import { RundownUncheckedCreateInputSchema } from "../inputTypeSchemas/RundownUncheckedCreateInputSchema"; + +export const RundownCreateArgsSchema: z.ZodType< + Omit +> = z + .object({ + data: z.union([ + RundownCreateInputSchema, + RundownUncheckedCreateInputSchema, + ]), + }) + .strict(); + +export default RundownCreateArgsSchema; diff --git a/utility/prisma/types/outputTypeSchemas/RundownCreateManyArgsSchema.ts b/utility/prisma/types/outputTypeSchemas/RundownCreateManyArgsSchema.ts new file mode 100644 index 00000000..bd8cfac3 --- /dev/null +++ b/utility/prisma/types/outputTypeSchemas/RundownCreateManyArgsSchema.ts @@ -0,0 +1,16 @@ +import { z } from "zod"; +import type { Prisma } from "../../client"; +import { RundownCreateManyInputSchema } from "../inputTypeSchemas/RundownCreateManyInputSchema"; + +export const RundownCreateManyArgsSchema: z.ZodType = + z + .object({ + data: z.union([ + RundownCreateManyInputSchema, + RundownCreateManyInputSchema.array(), + ]), + skipDuplicates: z.boolean().optional(), + }) + .strict(); + +export default RundownCreateManyArgsSchema; diff --git a/utility/prisma/types/outputTypeSchemas/RundownDeleteArgsSchema.ts b/utility/prisma/types/outputTypeSchemas/RundownDeleteArgsSchema.ts new file mode 100644 index 00000000..b7e6ad71 --- /dev/null +++ b/utility/prisma/types/outputTypeSchemas/RundownDeleteArgsSchema.ts @@ -0,0 +1,13 @@ +import { z } from "zod"; +import type { Prisma } from "../../client"; +import { RundownWhereUniqueInputSchema } from "../inputTypeSchemas/RundownWhereUniqueInputSchema"; + +export const RundownDeleteArgsSchema: z.ZodType< + Omit +> = z + .object({ + where: RundownWhereUniqueInputSchema, + }) + .strict(); + +export default RundownDeleteArgsSchema; diff --git a/utility/prisma/types/outputTypeSchemas/RundownDeleteManyArgsSchema.ts b/utility/prisma/types/outputTypeSchemas/RundownDeleteManyArgsSchema.ts new file mode 100644 index 00000000..8da9153e --- /dev/null +++ b/utility/prisma/types/outputTypeSchemas/RundownDeleteManyArgsSchema.ts @@ -0,0 +1,12 @@ +import { z } from "zod"; +import type { Prisma } from "../../client"; +import { RundownWhereInputSchema } from "../inputTypeSchemas/RundownWhereInputSchema"; + +export const RundownDeleteManyArgsSchema: z.ZodType = + z + .object({ + where: RundownWhereInputSchema.optional(), + }) + .strict(); + +export default RundownDeleteManyArgsSchema; diff --git a/utility/prisma/types/outputTypeSchemas/RundownFindFirstArgsSchema.ts b/utility/prisma/types/outputTypeSchemas/RundownFindFirstArgsSchema.ts new file mode 100644 index 00000000..06045867 --- /dev/null +++ b/utility/prisma/types/outputTypeSchemas/RundownFindFirstArgsSchema.ts @@ -0,0 +1,31 @@ +import { z } from "zod"; +import type { Prisma } from "../../client"; +import { RundownWhereInputSchema } from "../inputTypeSchemas/RundownWhereInputSchema"; +import { RundownOrderByWithRelationInputSchema } from "../inputTypeSchemas/RundownOrderByWithRelationInputSchema"; +import { RundownWhereUniqueInputSchema } from "../inputTypeSchemas/RundownWhereUniqueInputSchema"; +import { RundownScalarFieldEnumSchema } from "../inputTypeSchemas/RundownScalarFieldEnumSchema"; + +export const RundownFindFirstArgsSchema: z.ZodType< + Omit +> = z + .object({ + where: RundownWhereInputSchema.optional(), + orderBy: z + .union([ + RundownOrderByWithRelationInputSchema.array(), + RundownOrderByWithRelationInputSchema, + ]) + .optional(), + cursor: RundownWhereUniqueInputSchema.optional(), + take: z.number().optional(), + skip: z.number().optional(), + distinct: z + .union([ + RundownScalarFieldEnumSchema, + RundownScalarFieldEnumSchema.array(), + ]) + .optional(), + }) + .strict(); + +export default RundownFindFirstArgsSchema; diff --git a/utility/prisma/types/outputTypeSchemas/RundownFindFirstOrThrowArgsSchema.ts b/utility/prisma/types/outputTypeSchemas/RundownFindFirstOrThrowArgsSchema.ts new file mode 100644 index 00000000..0f442c64 --- /dev/null +++ b/utility/prisma/types/outputTypeSchemas/RundownFindFirstOrThrowArgsSchema.ts @@ -0,0 +1,31 @@ +import { z } from "zod"; +import type { Prisma } from "../../client"; +import { RundownWhereInputSchema } from "../inputTypeSchemas/RundownWhereInputSchema"; +import { RundownOrderByWithRelationInputSchema } from "../inputTypeSchemas/RundownOrderByWithRelationInputSchema"; +import { RundownWhereUniqueInputSchema } from "../inputTypeSchemas/RundownWhereUniqueInputSchema"; +import { RundownScalarFieldEnumSchema } from "../inputTypeSchemas/RundownScalarFieldEnumSchema"; + +export const RundownFindFirstOrThrowArgsSchema: z.ZodType< + Omit +> = z + .object({ + where: RundownWhereInputSchema.optional(), + orderBy: z + .union([ + RundownOrderByWithRelationInputSchema.array(), + RundownOrderByWithRelationInputSchema, + ]) + .optional(), + cursor: RundownWhereUniqueInputSchema.optional(), + take: z.number().optional(), + skip: z.number().optional(), + distinct: z + .union([ + RundownScalarFieldEnumSchema, + RundownScalarFieldEnumSchema.array(), + ]) + .optional(), + }) + .strict(); + +export default RundownFindFirstOrThrowArgsSchema; diff --git a/utility/prisma/types/outputTypeSchemas/RundownFindManyArgsSchema.ts b/utility/prisma/types/outputTypeSchemas/RundownFindManyArgsSchema.ts new file mode 100644 index 00000000..72259129 --- /dev/null +++ b/utility/prisma/types/outputTypeSchemas/RundownFindManyArgsSchema.ts @@ -0,0 +1,31 @@ +import { z } from "zod"; +import type { Prisma } from "../../client"; +import { RundownWhereInputSchema } from "../inputTypeSchemas/RundownWhereInputSchema"; +import { RundownOrderByWithRelationInputSchema } from "../inputTypeSchemas/RundownOrderByWithRelationInputSchema"; +import { RundownWhereUniqueInputSchema } from "../inputTypeSchemas/RundownWhereUniqueInputSchema"; +import { RundownScalarFieldEnumSchema } from "../inputTypeSchemas/RundownScalarFieldEnumSchema"; + +export const RundownFindManyArgsSchema: z.ZodType< + Omit +> = z + .object({ + where: RundownWhereInputSchema.optional(), + orderBy: z + .union([ + RundownOrderByWithRelationInputSchema.array(), + RundownOrderByWithRelationInputSchema, + ]) + .optional(), + cursor: RundownWhereUniqueInputSchema.optional(), + take: z.number().optional(), + skip: z.number().optional(), + distinct: z + .union([ + RundownScalarFieldEnumSchema, + RundownScalarFieldEnumSchema.array(), + ]) + .optional(), + }) + .strict(); + +export default RundownFindManyArgsSchema; diff --git a/utility/prisma/types/outputTypeSchemas/RundownFindUniqueArgsSchema.ts b/utility/prisma/types/outputTypeSchemas/RundownFindUniqueArgsSchema.ts new file mode 100644 index 00000000..ae2f03f0 --- /dev/null +++ b/utility/prisma/types/outputTypeSchemas/RundownFindUniqueArgsSchema.ts @@ -0,0 +1,13 @@ +import { z } from "zod"; +import type { Prisma } from "../../client"; +import { RundownWhereUniqueInputSchema } from "../inputTypeSchemas/RundownWhereUniqueInputSchema"; + +export const RundownFindUniqueArgsSchema: z.ZodType< + Omit +> = z + .object({ + where: RundownWhereUniqueInputSchema, + }) + .strict(); + +export default RundownFindUniqueArgsSchema; diff --git a/utility/prisma/types/outputTypeSchemas/RundownFindUniqueOrThrowArgsSchema.ts b/utility/prisma/types/outputTypeSchemas/RundownFindUniqueOrThrowArgsSchema.ts new file mode 100644 index 00000000..1844cdfc --- /dev/null +++ b/utility/prisma/types/outputTypeSchemas/RundownFindUniqueOrThrowArgsSchema.ts @@ -0,0 +1,13 @@ +import { z } from "zod"; +import type { Prisma } from "../../client"; +import { RundownWhereUniqueInputSchema } from "../inputTypeSchemas/RundownWhereUniqueInputSchema"; + +export const RundownFindUniqueOrThrowArgsSchema: z.ZodType< + Omit +> = z + .object({ + where: RundownWhereUniqueInputSchema, + }) + .strict(); + +export default RundownFindUniqueOrThrowArgsSchema; diff --git a/utility/prisma/types/outputTypeSchemas/RundownGroupByArgsSchema.ts b/utility/prisma/types/outputTypeSchemas/RundownGroupByArgsSchema.ts new file mode 100644 index 00000000..db50bb3f --- /dev/null +++ b/utility/prisma/types/outputTypeSchemas/RundownGroupByArgsSchema.ts @@ -0,0 +1,24 @@ +import { z } from "zod"; +import type { Prisma } from "../../client"; +import { RundownWhereInputSchema } from "../inputTypeSchemas/RundownWhereInputSchema"; +import { RundownOrderByWithAggregationInputSchema } from "../inputTypeSchemas/RundownOrderByWithAggregationInputSchema"; +import { RundownScalarFieldEnumSchema } from "../inputTypeSchemas/RundownScalarFieldEnumSchema"; +import { RundownScalarWhereWithAggregatesInputSchema } from "../inputTypeSchemas/RundownScalarWhereWithAggregatesInputSchema"; + +export const RundownGroupByArgsSchema: z.ZodType = z + .object({ + where: RundownWhereInputSchema.optional(), + orderBy: z + .union([ + RundownOrderByWithAggregationInputSchema.array(), + RundownOrderByWithAggregationInputSchema, + ]) + .optional(), + by: RundownScalarFieldEnumSchema.array(), + having: RundownScalarWhereWithAggregatesInputSchema.optional(), + take: z.number().optional(), + skip: z.number().optional(), + }) + .strict(); + +export default RundownGroupByArgsSchema; diff --git a/utility/prisma/types/outputTypeSchemas/RundownItemAggregateArgsSchema.ts b/utility/prisma/types/outputTypeSchemas/RundownItemAggregateArgsSchema.ts new file mode 100644 index 00000000..b4ea07b8 --- /dev/null +++ b/utility/prisma/types/outputTypeSchemas/RundownItemAggregateArgsSchema.ts @@ -0,0 +1,23 @@ +import { z } from "zod"; +import type { Prisma } from "../../client"; +import { RundownItemWhereInputSchema } from "../inputTypeSchemas/RundownItemWhereInputSchema"; +import { RundownItemOrderByWithRelationInputSchema } from "../inputTypeSchemas/RundownItemOrderByWithRelationInputSchema"; +import { RundownItemWhereUniqueInputSchema } from "../inputTypeSchemas/RundownItemWhereUniqueInputSchema"; + +export const RundownItemAggregateArgsSchema: z.ZodType = + z + .object({ + where: RundownItemWhereInputSchema.optional(), + orderBy: z + .union([ + RundownItemOrderByWithRelationInputSchema.array(), + RundownItemOrderByWithRelationInputSchema, + ]) + .optional(), + cursor: RundownItemWhereUniqueInputSchema.optional(), + take: z.number().optional(), + skip: z.number().optional(), + }) + .strict(); + +export default RundownItemAggregateArgsSchema; diff --git a/utility/prisma/types/outputTypeSchemas/RundownItemArgsSchema.ts b/utility/prisma/types/outputTypeSchemas/RundownItemArgsSchema.ts new file mode 100644 index 00000000..aaf78f1a --- /dev/null +++ b/utility/prisma/types/outputTypeSchemas/RundownItemArgsSchema.ts @@ -0,0 +1,13 @@ +import { z } from "zod"; +import type { Prisma } from "../../client"; +import { RundownItemSelectSchema } from "../inputTypeSchemas/RundownItemSelectSchema"; +import { RundownItemIncludeSchema } from "../inputTypeSchemas/RundownItemIncludeSchema"; + +export const RundownItemArgsSchema: z.ZodType = z + .object({ + select: z.lazy(() => RundownItemSelectSchema).optional(), + include: z.lazy(() => RundownItemIncludeSchema).optional(), + }) + .strict(); + +export default RundownItemArgsSchema; diff --git a/utility/prisma/types/outputTypeSchemas/RundownItemCreateArgsSchema.ts b/utility/prisma/types/outputTypeSchemas/RundownItemCreateArgsSchema.ts new file mode 100644 index 00000000..eee8ff72 --- /dev/null +++ b/utility/prisma/types/outputTypeSchemas/RundownItemCreateArgsSchema.ts @@ -0,0 +1,17 @@ +import { z } from "zod"; +import type { Prisma } from "../../client"; +import { RundownItemCreateInputSchema } from "../inputTypeSchemas/RundownItemCreateInputSchema"; +import { RundownItemUncheckedCreateInputSchema } from "../inputTypeSchemas/RundownItemUncheckedCreateInputSchema"; + +export const RundownItemCreateArgsSchema: z.ZodType< + Omit +> = z + .object({ + data: z.union([ + RundownItemCreateInputSchema, + RundownItemUncheckedCreateInputSchema, + ]), + }) + .strict(); + +export default RundownItemCreateArgsSchema; diff --git a/utility/prisma/types/outputTypeSchemas/RundownItemCreateManyArgsSchema.ts b/utility/prisma/types/outputTypeSchemas/RundownItemCreateManyArgsSchema.ts new file mode 100644 index 00000000..854ae355 --- /dev/null +++ b/utility/prisma/types/outputTypeSchemas/RundownItemCreateManyArgsSchema.ts @@ -0,0 +1,16 @@ +import { z } from "zod"; +import type { Prisma } from "../../client"; +import { RundownItemCreateManyInputSchema } from "../inputTypeSchemas/RundownItemCreateManyInputSchema"; + +export const RundownItemCreateManyArgsSchema: z.ZodType = + z + .object({ + data: z.union([ + RundownItemCreateManyInputSchema, + RundownItemCreateManyInputSchema.array(), + ]), + skipDuplicates: z.boolean().optional(), + }) + .strict(); + +export default RundownItemCreateManyArgsSchema; diff --git a/utility/prisma/types/outputTypeSchemas/RundownItemDeleteArgsSchema.ts b/utility/prisma/types/outputTypeSchemas/RundownItemDeleteArgsSchema.ts new file mode 100644 index 00000000..12935f66 --- /dev/null +++ b/utility/prisma/types/outputTypeSchemas/RundownItemDeleteArgsSchema.ts @@ -0,0 +1,13 @@ +import { z } from "zod"; +import type { Prisma } from "../../client"; +import { RundownItemWhereUniqueInputSchema } from "../inputTypeSchemas/RundownItemWhereUniqueInputSchema"; + +export const RundownItemDeleteArgsSchema: z.ZodType< + Omit +> = z + .object({ + where: RundownItemWhereUniqueInputSchema, + }) + .strict(); + +export default RundownItemDeleteArgsSchema; diff --git a/utility/prisma/types/outputTypeSchemas/RundownItemDeleteManyArgsSchema.ts b/utility/prisma/types/outputTypeSchemas/RundownItemDeleteManyArgsSchema.ts new file mode 100644 index 00000000..0eeaae55 --- /dev/null +++ b/utility/prisma/types/outputTypeSchemas/RundownItemDeleteManyArgsSchema.ts @@ -0,0 +1,12 @@ +import { z } from "zod"; +import type { Prisma } from "../../client"; +import { RundownItemWhereInputSchema } from "../inputTypeSchemas/RundownItemWhereInputSchema"; + +export const RundownItemDeleteManyArgsSchema: z.ZodType = + z + .object({ + where: RundownItemWhereInputSchema.optional(), + }) + .strict(); + +export default RundownItemDeleteManyArgsSchema; diff --git a/utility/prisma/types/outputTypeSchemas/RundownItemFindFirstArgsSchema.ts b/utility/prisma/types/outputTypeSchemas/RundownItemFindFirstArgsSchema.ts new file mode 100644 index 00000000..1208577f --- /dev/null +++ b/utility/prisma/types/outputTypeSchemas/RundownItemFindFirstArgsSchema.ts @@ -0,0 +1,31 @@ +import { z } from "zod"; +import type { Prisma } from "../../client"; +import { RundownItemWhereInputSchema } from "../inputTypeSchemas/RundownItemWhereInputSchema"; +import { RundownItemOrderByWithRelationInputSchema } from "../inputTypeSchemas/RundownItemOrderByWithRelationInputSchema"; +import { RundownItemWhereUniqueInputSchema } from "../inputTypeSchemas/RundownItemWhereUniqueInputSchema"; +import { RundownItemScalarFieldEnumSchema } from "../inputTypeSchemas/RundownItemScalarFieldEnumSchema"; + +export const RundownItemFindFirstArgsSchema: z.ZodType< + Omit +> = z + .object({ + where: RundownItemWhereInputSchema.optional(), + orderBy: z + .union([ + RundownItemOrderByWithRelationInputSchema.array(), + RundownItemOrderByWithRelationInputSchema, + ]) + .optional(), + cursor: RundownItemWhereUniqueInputSchema.optional(), + take: z.number().optional(), + skip: z.number().optional(), + distinct: z + .union([ + RundownItemScalarFieldEnumSchema, + RundownItemScalarFieldEnumSchema.array(), + ]) + .optional(), + }) + .strict(); + +export default RundownItemFindFirstArgsSchema; diff --git a/utility/prisma/types/outputTypeSchemas/RundownItemFindFirstOrThrowArgsSchema.ts b/utility/prisma/types/outputTypeSchemas/RundownItemFindFirstOrThrowArgsSchema.ts new file mode 100644 index 00000000..9efc698a --- /dev/null +++ b/utility/prisma/types/outputTypeSchemas/RundownItemFindFirstOrThrowArgsSchema.ts @@ -0,0 +1,31 @@ +import { z } from "zod"; +import type { Prisma } from "../../client"; +import { RundownItemWhereInputSchema } from "../inputTypeSchemas/RundownItemWhereInputSchema"; +import { RundownItemOrderByWithRelationInputSchema } from "../inputTypeSchemas/RundownItemOrderByWithRelationInputSchema"; +import { RundownItemWhereUniqueInputSchema } from "../inputTypeSchemas/RundownItemWhereUniqueInputSchema"; +import { RundownItemScalarFieldEnumSchema } from "../inputTypeSchemas/RundownItemScalarFieldEnumSchema"; + +export const RundownItemFindFirstOrThrowArgsSchema: z.ZodType< + Omit +> = z + .object({ + where: RundownItemWhereInputSchema.optional(), + orderBy: z + .union([ + RundownItemOrderByWithRelationInputSchema.array(), + RundownItemOrderByWithRelationInputSchema, + ]) + .optional(), + cursor: RundownItemWhereUniqueInputSchema.optional(), + take: z.number().optional(), + skip: z.number().optional(), + distinct: z + .union([ + RundownItemScalarFieldEnumSchema, + RundownItemScalarFieldEnumSchema.array(), + ]) + .optional(), + }) + .strict(); + +export default RundownItemFindFirstOrThrowArgsSchema; diff --git a/utility/prisma/types/outputTypeSchemas/RundownItemFindManyArgsSchema.ts b/utility/prisma/types/outputTypeSchemas/RundownItemFindManyArgsSchema.ts new file mode 100644 index 00000000..4f33da62 --- /dev/null +++ b/utility/prisma/types/outputTypeSchemas/RundownItemFindManyArgsSchema.ts @@ -0,0 +1,31 @@ +import { z } from "zod"; +import type { Prisma } from "../../client"; +import { RundownItemWhereInputSchema } from "../inputTypeSchemas/RundownItemWhereInputSchema"; +import { RundownItemOrderByWithRelationInputSchema } from "../inputTypeSchemas/RundownItemOrderByWithRelationInputSchema"; +import { RundownItemWhereUniqueInputSchema } from "../inputTypeSchemas/RundownItemWhereUniqueInputSchema"; +import { RundownItemScalarFieldEnumSchema } from "../inputTypeSchemas/RundownItemScalarFieldEnumSchema"; + +export const RundownItemFindManyArgsSchema: z.ZodType< + Omit +> = z + .object({ + where: RundownItemWhereInputSchema.optional(), + orderBy: z + .union([ + RundownItemOrderByWithRelationInputSchema.array(), + RundownItemOrderByWithRelationInputSchema, + ]) + .optional(), + cursor: RundownItemWhereUniqueInputSchema.optional(), + take: z.number().optional(), + skip: z.number().optional(), + distinct: z + .union([ + RundownItemScalarFieldEnumSchema, + RundownItemScalarFieldEnumSchema.array(), + ]) + .optional(), + }) + .strict(); + +export default RundownItemFindManyArgsSchema; diff --git a/utility/prisma/types/outputTypeSchemas/RundownItemFindUniqueArgsSchema.ts b/utility/prisma/types/outputTypeSchemas/RundownItemFindUniqueArgsSchema.ts new file mode 100644 index 00000000..95a97e9f --- /dev/null +++ b/utility/prisma/types/outputTypeSchemas/RundownItemFindUniqueArgsSchema.ts @@ -0,0 +1,13 @@ +import { z } from "zod"; +import type { Prisma } from "../../client"; +import { RundownItemWhereUniqueInputSchema } from "../inputTypeSchemas/RundownItemWhereUniqueInputSchema"; + +export const RundownItemFindUniqueArgsSchema: z.ZodType< + Omit +> = z + .object({ + where: RundownItemWhereUniqueInputSchema, + }) + .strict(); + +export default RundownItemFindUniqueArgsSchema; diff --git a/utility/prisma/types/outputTypeSchemas/RundownItemFindUniqueOrThrowArgsSchema.ts b/utility/prisma/types/outputTypeSchemas/RundownItemFindUniqueOrThrowArgsSchema.ts new file mode 100644 index 00000000..17379907 --- /dev/null +++ b/utility/prisma/types/outputTypeSchemas/RundownItemFindUniqueOrThrowArgsSchema.ts @@ -0,0 +1,13 @@ +import { z } from "zod"; +import type { Prisma } from "../../client"; +import { RundownItemWhereUniqueInputSchema } from "../inputTypeSchemas/RundownItemWhereUniqueInputSchema"; + +export const RundownItemFindUniqueOrThrowArgsSchema: z.ZodType< + Omit +> = z + .object({ + where: RundownItemWhereUniqueInputSchema, + }) + .strict(); + +export default RundownItemFindUniqueOrThrowArgsSchema; diff --git a/utility/prisma/types/outputTypeSchemas/RundownItemGroupByArgsSchema.ts b/utility/prisma/types/outputTypeSchemas/RundownItemGroupByArgsSchema.ts new file mode 100644 index 00000000..62e97a5d --- /dev/null +++ b/utility/prisma/types/outputTypeSchemas/RundownItemGroupByArgsSchema.ts @@ -0,0 +1,25 @@ +import { z } from "zod"; +import type { Prisma } from "../../client"; +import { RundownItemWhereInputSchema } from "../inputTypeSchemas/RundownItemWhereInputSchema"; +import { RundownItemOrderByWithAggregationInputSchema } from "../inputTypeSchemas/RundownItemOrderByWithAggregationInputSchema"; +import { RundownItemScalarFieldEnumSchema } from "../inputTypeSchemas/RundownItemScalarFieldEnumSchema"; +import { RundownItemScalarWhereWithAggregatesInputSchema } from "../inputTypeSchemas/RundownItemScalarWhereWithAggregatesInputSchema"; + +export const RundownItemGroupByArgsSchema: z.ZodType = + z + .object({ + where: RundownItemWhereInputSchema.optional(), + orderBy: z + .union([ + RundownItemOrderByWithAggregationInputSchema.array(), + RundownItemOrderByWithAggregationInputSchema, + ]) + .optional(), + by: RundownItemScalarFieldEnumSchema.array(), + having: RundownItemScalarWhereWithAggregatesInputSchema.optional(), + take: z.number().optional(), + skip: z.number().optional(), + }) + .strict(); + +export default RundownItemGroupByArgsSchema; diff --git a/utility/prisma/types/outputTypeSchemas/RundownItemUpdateArgsSchema.ts b/utility/prisma/types/outputTypeSchemas/RundownItemUpdateArgsSchema.ts new file mode 100644 index 00000000..25c4ee6d --- /dev/null +++ b/utility/prisma/types/outputTypeSchemas/RundownItemUpdateArgsSchema.ts @@ -0,0 +1,19 @@ +import { z } from "zod"; +import type { Prisma } from "../../client"; +import { RundownItemUpdateInputSchema } from "../inputTypeSchemas/RundownItemUpdateInputSchema"; +import { RundownItemUncheckedUpdateInputSchema } from "../inputTypeSchemas/RundownItemUncheckedUpdateInputSchema"; +import { RundownItemWhereUniqueInputSchema } from "../inputTypeSchemas/RundownItemWhereUniqueInputSchema"; + +export const RundownItemUpdateArgsSchema: z.ZodType< + Omit +> = z + .object({ + data: z.union([ + RundownItemUpdateInputSchema, + RundownItemUncheckedUpdateInputSchema, + ]), + where: RundownItemWhereUniqueInputSchema, + }) + .strict(); + +export default RundownItemUpdateArgsSchema; diff --git a/utility/prisma/types/outputTypeSchemas/RundownItemUpdateManyArgsSchema.ts b/utility/prisma/types/outputTypeSchemas/RundownItemUpdateManyArgsSchema.ts new file mode 100644 index 00000000..b20abce1 --- /dev/null +++ b/utility/prisma/types/outputTypeSchemas/RundownItemUpdateManyArgsSchema.ts @@ -0,0 +1,18 @@ +import { z } from "zod"; +import type { Prisma } from "../../client"; +import { RundownItemUpdateManyMutationInputSchema } from "../inputTypeSchemas/RundownItemUpdateManyMutationInputSchema"; +import { RundownItemUncheckedUpdateManyInputSchema } from "../inputTypeSchemas/RundownItemUncheckedUpdateManyInputSchema"; +import { RundownItemWhereInputSchema } from "../inputTypeSchemas/RundownItemWhereInputSchema"; + +export const RundownItemUpdateManyArgsSchema: z.ZodType = + z + .object({ + data: z.union([ + RundownItemUpdateManyMutationInputSchema, + RundownItemUncheckedUpdateManyInputSchema, + ]), + where: RundownItemWhereInputSchema.optional(), + }) + .strict(); + +export default RundownItemUpdateManyArgsSchema; diff --git a/utility/prisma/types/outputTypeSchemas/RundownItemUpsertArgsSchema.ts b/utility/prisma/types/outputTypeSchemas/RundownItemUpsertArgsSchema.ts new file mode 100644 index 00000000..57415eb2 --- /dev/null +++ b/utility/prisma/types/outputTypeSchemas/RundownItemUpsertArgsSchema.ts @@ -0,0 +1,25 @@ +import { z } from "zod"; +import type { Prisma } from "../../client"; +import { RundownItemWhereUniqueInputSchema } from "../inputTypeSchemas/RundownItemWhereUniqueInputSchema"; +import { RundownItemCreateInputSchema } from "../inputTypeSchemas/RundownItemCreateInputSchema"; +import { RundownItemUncheckedCreateInputSchema } from "../inputTypeSchemas/RundownItemUncheckedCreateInputSchema"; +import { RundownItemUpdateInputSchema } from "../inputTypeSchemas/RundownItemUpdateInputSchema"; +import { RundownItemUncheckedUpdateInputSchema } from "../inputTypeSchemas/RundownItemUncheckedUpdateInputSchema"; + +export const RundownItemUpsertArgsSchema: z.ZodType< + Omit +> = z + .object({ + where: RundownItemWhereUniqueInputSchema, + create: z.union([ + RundownItemCreateInputSchema, + RundownItemUncheckedCreateInputSchema, + ]), + update: z.union([ + RundownItemUpdateInputSchema, + RundownItemUncheckedUpdateInputSchema, + ]), + }) + .strict(); + +export default RundownItemUpsertArgsSchema; diff --git a/utility/prisma/types/outputTypeSchemas/RundownUpdateArgsSchema.ts b/utility/prisma/types/outputTypeSchemas/RundownUpdateArgsSchema.ts new file mode 100644 index 00000000..f29eb674 --- /dev/null +++ b/utility/prisma/types/outputTypeSchemas/RundownUpdateArgsSchema.ts @@ -0,0 +1,19 @@ +import { z } from "zod"; +import type { Prisma } from "../../client"; +import { RundownUpdateInputSchema } from "../inputTypeSchemas/RundownUpdateInputSchema"; +import { RundownUncheckedUpdateInputSchema } from "../inputTypeSchemas/RundownUncheckedUpdateInputSchema"; +import { RundownWhereUniqueInputSchema } from "../inputTypeSchemas/RundownWhereUniqueInputSchema"; + +export const RundownUpdateArgsSchema: z.ZodType< + Omit +> = z + .object({ + data: z.union([ + RundownUpdateInputSchema, + RundownUncheckedUpdateInputSchema, + ]), + where: RundownWhereUniqueInputSchema, + }) + .strict(); + +export default RundownUpdateArgsSchema; diff --git a/utility/prisma/types/outputTypeSchemas/RundownUpdateManyArgsSchema.ts b/utility/prisma/types/outputTypeSchemas/RundownUpdateManyArgsSchema.ts new file mode 100644 index 00000000..e0e1500e --- /dev/null +++ b/utility/prisma/types/outputTypeSchemas/RundownUpdateManyArgsSchema.ts @@ -0,0 +1,18 @@ +import { z } from "zod"; +import type { Prisma } from "../../client"; +import { RundownUpdateManyMutationInputSchema } from "../inputTypeSchemas/RundownUpdateManyMutationInputSchema"; +import { RundownUncheckedUpdateManyInputSchema } from "../inputTypeSchemas/RundownUncheckedUpdateManyInputSchema"; +import { RundownWhereInputSchema } from "../inputTypeSchemas/RundownWhereInputSchema"; + +export const RundownUpdateManyArgsSchema: z.ZodType = + z + .object({ + data: z.union([ + RundownUpdateManyMutationInputSchema, + RundownUncheckedUpdateManyInputSchema, + ]), + where: RundownWhereInputSchema.optional(), + }) + .strict(); + +export default RundownUpdateManyArgsSchema; diff --git a/utility/prisma/types/outputTypeSchemas/RundownUpsertArgsSchema.ts b/utility/prisma/types/outputTypeSchemas/RundownUpsertArgsSchema.ts new file mode 100644 index 00000000..99354d8a --- /dev/null +++ b/utility/prisma/types/outputTypeSchemas/RundownUpsertArgsSchema.ts @@ -0,0 +1,25 @@ +import { z } from "zod"; +import type { Prisma } from "../../client"; +import { RundownWhereUniqueInputSchema } from "../inputTypeSchemas/RundownWhereUniqueInputSchema"; +import { RundownCreateInputSchema } from "../inputTypeSchemas/RundownCreateInputSchema"; +import { RundownUncheckedCreateInputSchema } from "../inputTypeSchemas/RundownUncheckedCreateInputSchema"; +import { RundownUpdateInputSchema } from "../inputTypeSchemas/RundownUpdateInputSchema"; +import { RundownUncheckedUpdateInputSchema } from "../inputTypeSchemas/RundownUncheckedUpdateInputSchema"; + +export const RundownUpsertArgsSchema: z.ZodType< + Omit +> = z + .object({ + where: RundownWhereUniqueInputSchema, + create: z.union([ + RundownCreateInputSchema, + RundownUncheckedCreateInputSchema, + ]), + update: z.union([ + RundownUpdateInputSchema, + RundownUncheckedUpdateInputSchema, + ]), + }) + .strict(); + +export default RundownUpsertArgsSchema; diff --git a/utility/prisma/types/outputTypeSchemas/ShowAggregateArgsSchema.ts b/utility/prisma/types/outputTypeSchemas/ShowAggregateArgsSchema.ts new file mode 100644 index 00000000..3af83582 --- /dev/null +++ b/utility/prisma/types/outputTypeSchemas/ShowAggregateArgsSchema.ts @@ -0,0 +1,22 @@ +import { z } from "zod"; +import type { Prisma } from "../../client"; +import { ShowWhereInputSchema } from "../inputTypeSchemas/ShowWhereInputSchema"; +import { ShowOrderByWithRelationInputSchema } from "../inputTypeSchemas/ShowOrderByWithRelationInputSchema"; +import { ShowWhereUniqueInputSchema } from "../inputTypeSchemas/ShowWhereUniqueInputSchema"; + +export const ShowAggregateArgsSchema: z.ZodType = z + .object({ + where: ShowWhereInputSchema.optional(), + orderBy: z + .union([ + ShowOrderByWithRelationInputSchema.array(), + ShowOrderByWithRelationInputSchema, + ]) + .optional(), + cursor: ShowWhereUniqueInputSchema.optional(), + take: z.number().optional(), + skip: z.number().optional(), + }) + .strict(); + +export default ShowAggregateArgsSchema; diff --git a/utility/prisma/types/outputTypeSchemas/ShowArgsSchema.ts b/utility/prisma/types/outputTypeSchemas/ShowArgsSchema.ts new file mode 100644 index 00000000..2f922371 --- /dev/null +++ b/utility/prisma/types/outputTypeSchemas/ShowArgsSchema.ts @@ -0,0 +1,13 @@ +import { z } from "zod"; +import type { Prisma } from "../../client"; +import { ShowSelectSchema } from "../inputTypeSchemas/ShowSelectSchema"; +import { ShowIncludeSchema } from "../inputTypeSchemas/ShowIncludeSchema"; + +export const ShowArgsSchema: z.ZodType = z + .object({ + select: z.lazy(() => ShowSelectSchema).optional(), + include: z.lazy(() => ShowIncludeSchema).optional(), + }) + .strict(); + +export default ShowArgsSchema; diff --git a/utility/prisma/types/outputTypeSchemas/ShowCountOutputTypeArgsSchema.ts b/utility/prisma/types/outputTypeSchemas/ShowCountOutputTypeArgsSchema.ts new file mode 100644 index 00000000..899ec037 --- /dev/null +++ b/utility/prisma/types/outputTypeSchemas/ShowCountOutputTypeArgsSchema.ts @@ -0,0 +1,12 @@ +import { z } from "zod"; +import type { Prisma } from "../../client"; +import { ShowCountOutputTypeSelectSchema } from "./ShowCountOutputTypeSelectSchema"; + +export const ShowCountOutputTypeArgsSchema: z.ZodType = + z + .object({ + select: z.lazy(() => ShowCountOutputTypeSelectSchema).nullish(), + }) + .strict(); + +export default ShowCountOutputTypeSelectSchema; diff --git a/utility/prisma/types/outputTypeSchemas/ShowCountOutputTypeSelectSchema.ts b/utility/prisma/types/outputTypeSchemas/ShowCountOutputTypeSelectSchema.ts new file mode 100644 index 00000000..4933d85d --- /dev/null +++ b/utility/prisma/types/outputTypeSchemas/ShowCountOutputTypeSelectSchema.ts @@ -0,0 +1,12 @@ +import { z } from "zod"; +import type { Prisma } from "../../client"; + +export const ShowCountOutputTypeSelectSchema: z.ZodType = + z + .object({ + rundowns: z.boolean().optional(), + continuityItems: z.boolean().optional(), + }) + .strict(); + +export default ShowCountOutputTypeSelectSchema; diff --git a/utility/prisma/types/outputTypeSchemas/ShowCreateArgsSchema.ts b/utility/prisma/types/outputTypeSchemas/ShowCreateArgsSchema.ts new file mode 100644 index 00000000..43fe10e0 --- /dev/null +++ b/utility/prisma/types/outputTypeSchemas/ShowCreateArgsSchema.ts @@ -0,0 +1,14 @@ +import { z } from "zod"; +import type { Prisma } from "../../client"; +import { ShowCreateInputSchema } from "../inputTypeSchemas/ShowCreateInputSchema"; +import { ShowUncheckedCreateInputSchema } from "../inputTypeSchemas/ShowUncheckedCreateInputSchema"; + +export const ShowCreateArgsSchema: z.ZodType< + Omit +> = z + .object({ + data: z.union([ShowCreateInputSchema, ShowUncheckedCreateInputSchema]), + }) + .strict(); + +export default ShowCreateArgsSchema; diff --git a/utility/prisma/types/outputTypeSchemas/ShowCreateManyArgsSchema.ts b/utility/prisma/types/outputTypeSchemas/ShowCreateManyArgsSchema.ts new file mode 100644 index 00000000..357d2835 --- /dev/null +++ b/utility/prisma/types/outputTypeSchemas/ShowCreateManyArgsSchema.ts @@ -0,0 +1,15 @@ +import { z } from "zod"; +import type { Prisma } from "../../client"; +import { ShowCreateManyInputSchema } from "../inputTypeSchemas/ShowCreateManyInputSchema"; + +export const ShowCreateManyArgsSchema: z.ZodType = z + .object({ + data: z.union([ + ShowCreateManyInputSchema, + ShowCreateManyInputSchema.array(), + ]), + skipDuplicates: z.boolean().optional(), + }) + .strict(); + +export default ShowCreateManyArgsSchema; diff --git a/utility/prisma/types/outputTypeSchemas/ShowDeleteArgsSchema.ts b/utility/prisma/types/outputTypeSchemas/ShowDeleteArgsSchema.ts new file mode 100644 index 00000000..7804ba9e --- /dev/null +++ b/utility/prisma/types/outputTypeSchemas/ShowDeleteArgsSchema.ts @@ -0,0 +1,13 @@ +import { z } from "zod"; +import type { Prisma } from "../../client"; +import { ShowWhereUniqueInputSchema } from "../inputTypeSchemas/ShowWhereUniqueInputSchema"; + +export const ShowDeleteArgsSchema: z.ZodType< + Omit +> = z + .object({ + where: ShowWhereUniqueInputSchema, + }) + .strict(); + +export default ShowDeleteArgsSchema; diff --git a/utility/prisma/types/outputTypeSchemas/ShowDeleteManyArgsSchema.ts b/utility/prisma/types/outputTypeSchemas/ShowDeleteManyArgsSchema.ts new file mode 100644 index 00000000..b9be5a21 --- /dev/null +++ b/utility/prisma/types/outputTypeSchemas/ShowDeleteManyArgsSchema.ts @@ -0,0 +1,11 @@ +import { z } from "zod"; +import type { Prisma } from "../../client"; +import { ShowWhereInputSchema } from "../inputTypeSchemas/ShowWhereInputSchema"; + +export const ShowDeleteManyArgsSchema: z.ZodType = z + .object({ + where: ShowWhereInputSchema.optional(), + }) + .strict(); + +export default ShowDeleteManyArgsSchema; diff --git a/utility/prisma/types/outputTypeSchemas/ShowFindFirstArgsSchema.ts b/utility/prisma/types/outputTypeSchemas/ShowFindFirstArgsSchema.ts new file mode 100644 index 00000000..fcfd2026 --- /dev/null +++ b/utility/prisma/types/outputTypeSchemas/ShowFindFirstArgsSchema.ts @@ -0,0 +1,28 @@ +import { z } from "zod"; +import type { Prisma } from "../../client"; +import { ShowWhereInputSchema } from "../inputTypeSchemas/ShowWhereInputSchema"; +import { ShowOrderByWithRelationInputSchema } from "../inputTypeSchemas/ShowOrderByWithRelationInputSchema"; +import { ShowWhereUniqueInputSchema } from "../inputTypeSchemas/ShowWhereUniqueInputSchema"; +import { ShowScalarFieldEnumSchema } from "../inputTypeSchemas/ShowScalarFieldEnumSchema"; + +export const ShowFindFirstArgsSchema: z.ZodType< + Omit +> = z + .object({ + where: ShowWhereInputSchema.optional(), + orderBy: z + .union([ + ShowOrderByWithRelationInputSchema.array(), + ShowOrderByWithRelationInputSchema, + ]) + .optional(), + cursor: ShowWhereUniqueInputSchema.optional(), + take: z.number().optional(), + skip: z.number().optional(), + distinct: z + .union([ShowScalarFieldEnumSchema, ShowScalarFieldEnumSchema.array()]) + .optional(), + }) + .strict(); + +export default ShowFindFirstArgsSchema; diff --git a/utility/prisma/types/outputTypeSchemas/ShowFindFirstOrThrowArgsSchema.ts b/utility/prisma/types/outputTypeSchemas/ShowFindFirstOrThrowArgsSchema.ts new file mode 100644 index 00000000..b25613b0 --- /dev/null +++ b/utility/prisma/types/outputTypeSchemas/ShowFindFirstOrThrowArgsSchema.ts @@ -0,0 +1,28 @@ +import { z } from "zod"; +import type { Prisma } from "../../client"; +import { ShowWhereInputSchema } from "../inputTypeSchemas/ShowWhereInputSchema"; +import { ShowOrderByWithRelationInputSchema } from "../inputTypeSchemas/ShowOrderByWithRelationInputSchema"; +import { ShowWhereUniqueInputSchema } from "../inputTypeSchemas/ShowWhereUniqueInputSchema"; +import { ShowScalarFieldEnumSchema } from "../inputTypeSchemas/ShowScalarFieldEnumSchema"; + +export const ShowFindFirstOrThrowArgsSchema: z.ZodType< + Omit +> = z + .object({ + where: ShowWhereInputSchema.optional(), + orderBy: z + .union([ + ShowOrderByWithRelationInputSchema.array(), + ShowOrderByWithRelationInputSchema, + ]) + .optional(), + cursor: ShowWhereUniqueInputSchema.optional(), + take: z.number().optional(), + skip: z.number().optional(), + distinct: z + .union([ShowScalarFieldEnumSchema, ShowScalarFieldEnumSchema.array()]) + .optional(), + }) + .strict(); + +export default ShowFindFirstOrThrowArgsSchema; diff --git a/utility/prisma/types/outputTypeSchemas/ShowFindManyArgsSchema.ts b/utility/prisma/types/outputTypeSchemas/ShowFindManyArgsSchema.ts new file mode 100644 index 00000000..47420a8b --- /dev/null +++ b/utility/prisma/types/outputTypeSchemas/ShowFindManyArgsSchema.ts @@ -0,0 +1,28 @@ +import { z } from "zod"; +import type { Prisma } from "../../client"; +import { ShowWhereInputSchema } from "../inputTypeSchemas/ShowWhereInputSchema"; +import { ShowOrderByWithRelationInputSchema } from "../inputTypeSchemas/ShowOrderByWithRelationInputSchema"; +import { ShowWhereUniqueInputSchema } from "../inputTypeSchemas/ShowWhereUniqueInputSchema"; +import { ShowScalarFieldEnumSchema } from "../inputTypeSchemas/ShowScalarFieldEnumSchema"; + +export const ShowFindManyArgsSchema: z.ZodType< + Omit +> = z + .object({ + where: ShowWhereInputSchema.optional(), + orderBy: z + .union([ + ShowOrderByWithRelationInputSchema.array(), + ShowOrderByWithRelationInputSchema, + ]) + .optional(), + cursor: ShowWhereUniqueInputSchema.optional(), + take: z.number().optional(), + skip: z.number().optional(), + distinct: z + .union([ShowScalarFieldEnumSchema, ShowScalarFieldEnumSchema.array()]) + .optional(), + }) + .strict(); + +export default ShowFindManyArgsSchema; diff --git a/utility/prisma/types/outputTypeSchemas/ShowFindUniqueArgsSchema.ts b/utility/prisma/types/outputTypeSchemas/ShowFindUniqueArgsSchema.ts new file mode 100644 index 00000000..264f1ba8 --- /dev/null +++ b/utility/prisma/types/outputTypeSchemas/ShowFindUniqueArgsSchema.ts @@ -0,0 +1,13 @@ +import { z } from "zod"; +import type { Prisma } from "../../client"; +import { ShowWhereUniqueInputSchema } from "../inputTypeSchemas/ShowWhereUniqueInputSchema"; + +export const ShowFindUniqueArgsSchema: z.ZodType< + Omit +> = z + .object({ + where: ShowWhereUniqueInputSchema, + }) + .strict(); + +export default ShowFindUniqueArgsSchema; diff --git a/utility/prisma/types/outputTypeSchemas/ShowFindUniqueOrThrowArgsSchema.ts b/utility/prisma/types/outputTypeSchemas/ShowFindUniqueOrThrowArgsSchema.ts new file mode 100644 index 00000000..7ffcefcb --- /dev/null +++ b/utility/prisma/types/outputTypeSchemas/ShowFindUniqueOrThrowArgsSchema.ts @@ -0,0 +1,13 @@ +import { z } from "zod"; +import type { Prisma } from "../../client"; +import { ShowWhereUniqueInputSchema } from "../inputTypeSchemas/ShowWhereUniqueInputSchema"; + +export const ShowFindUniqueOrThrowArgsSchema: z.ZodType< + Omit +> = z + .object({ + where: ShowWhereUniqueInputSchema, + }) + .strict(); + +export default ShowFindUniqueOrThrowArgsSchema; diff --git a/utility/prisma/types/outputTypeSchemas/ShowGroupByArgsSchema.ts b/utility/prisma/types/outputTypeSchemas/ShowGroupByArgsSchema.ts new file mode 100644 index 00000000..0990c117 --- /dev/null +++ b/utility/prisma/types/outputTypeSchemas/ShowGroupByArgsSchema.ts @@ -0,0 +1,24 @@ +import { z } from "zod"; +import type { Prisma } from "../../client"; +import { ShowWhereInputSchema } from "../inputTypeSchemas/ShowWhereInputSchema"; +import { ShowOrderByWithAggregationInputSchema } from "../inputTypeSchemas/ShowOrderByWithAggregationInputSchema"; +import { ShowScalarFieldEnumSchema } from "../inputTypeSchemas/ShowScalarFieldEnumSchema"; +import { ShowScalarWhereWithAggregatesInputSchema } from "../inputTypeSchemas/ShowScalarWhereWithAggregatesInputSchema"; + +export const ShowGroupByArgsSchema: z.ZodType = z + .object({ + where: ShowWhereInputSchema.optional(), + orderBy: z + .union([ + ShowOrderByWithAggregationInputSchema.array(), + ShowOrderByWithAggregationInputSchema, + ]) + .optional(), + by: ShowScalarFieldEnumSchema.array(), + having: ShowScalarWhereWithAggregatesInputSchema.optional(), + take: z.number().optional(), + skip: z.number().optional(), + }) + .strict(); + +export default ShowGroupByArgsSchema; diff --git a/utility/prisma/types/outputTypeSchemas/ShowUpdateArgsSchema.ts b/utility/prisma/types/outputTypeSchemas/ShowUpdateArgsSchema.ts new file mode 100644 index 00000000..44acfc03 --- /dev/null +++ b/utility/prisma/types/outputTypeSchemas/ShowUpdateArgsSchema.ts @@ -0,0 +1,16 @@ +import { z } from "zod"; +import type { Prisma } from "../../client"; +import { ShowUpdateInputSchema } from "../inputTypeSchemas/ShowUpdateInputSchema"; +import { ShowUncheckedUpdateInputSchema } from "../inputTypeSchemas/ShowUncheckedUpdateInputSchema"; +import { ShowWhereUniqueInputSchema } from "../inputTypeSchemas/ShowWhereUniqueInputSchema"; + +export const ShowUpdateArgsSchema: z.ZodType< + Omit +> = z + .object({ + data: z.union([ShowUpdateInputSchema, ShowUncheckedUpdateInputSchema]), + where: ShowWhereUniqueInputSchema, + }) + .strict(); + +export default ShowUpdateArgsSchema; diff --git a/utility/prisma/types/outputTypeSchemas/ShowUpdateManyArgsSchema.ts b/utility/prisma/types/outputTypeSchemas/ShowUpdateManyArgsSchema.ts new file mode 100644 index 00000000..b09f1abb --- /dev/null +++ b/utility/prisma/types/outputTypeSchemas/ShowUpdateManyArgsSchema.ts @@ -0,0 +1,17 @@ +import { z } from "zod"; +import type { Prisma } from "../../client"; +import { ShowUpdateManyMutationInputSchema } from "../inputTypeSchemas/ShowUpdateManyMutationInputSchema"; +import { ShowUncheckedUpdateManyInputSchema } from "../inputTypeSchemas/ShowUncheckedUpdateManyInputSchema"; +import { ShowWhereInputSchema } from "../inputTypeSchemas/ShowWhereInputSchema"; + +export const ShowUpdateManyArgsSchema: z.ZodType = z + .object({ + data: z.union([ + ShowUpdateManyMutationInputSchema, + ShowUncheckedUpdateManyInputSchema, + ]), + where: ShowWhereInputSchema.optional(), + }) + .strict(); + +export default ShowUpdateManyArgsSchema; diff --git a/utility/prisma/types/outputTypeSchemas/ShowUpsertArgsSchema.ts b/utility/prisma/types/outputTypeSchemas/ShowUpsertArgsSchema.ts new file mode 100644 index 00000000..9b276c63 --- /dev/null +++ b/utility/prisma/types/outputTypeSchemas/ShowUpsertArgsSchema.ts @@ -0,0 +1,19 @@ +import { z } from "zod"; +import type { Prisma } from "../../client"; +import { ShowWhereUniqueInputSchema } from "../inputTypeSchemas/ShowWhereUniqueInputSchema"; +import { ShowCreateInputSchema } from "../inputTypeSchemas/ShowCreateInputSchema"; +import { ShowUncheckedCreateInputSchema } from "../inputTypeSchemas/ShowUncheckedCreateInputSchema"; +import { ShowUpdateInputSchema } from "../inputTypeSchemas/ShowUpdateInputSchema"; +import { ShowUncheckedUpdateInputSchema } from "../inputTypeSchemas/ShowUncheckedUpdateInputSchema"; + +export const ShowUpsertArgsSchema: z.ZodType< + Omit +> = z + .object({ + where: ShowWhereUniqueInputSchema, + create: z.union([ShowCreateInputSchema, ShowUncheckedCreateInputSchema]), + update: z.union([ShowUpdateInputSchema, ShowUncheckedUpdateInputSchema]), + }) + .strict(); + +export default ShowUpsertArgsSchema; diff --git a/utility/prisma/types/outputTypeSchemas/index.ts b/utility/prisma/types/outputTypeSchemas/index.ts new file mode 100644 index 00000000..4dd73cc6 --- /dev/null +++ b/utility/prisma/types/outputTypeSchemas/index.ts @@ -0,0 +1,165 @@ +export { ShowArgsSchema } from "./ShowArgsSchema"; +export { RundownArgsSchema } from "./RundownArgsSchema"; +export { RundownItemArgsSchema } from "./RundownItemArgsSchema"; +export { ContinuityItemArgsSchema } from "./ContinuityItemArgsSchema"; +export { AssetArgsSchema } from "./AssetArgsSchema"; +export { MediaArgsSchema } from "./MediaArgsSchema"; +export { MediaProcessingTaskArgsSchema } from "./MediaProcessingTaskArgsSchema"; +export { BaseJobArgsSchema } from "./BaseJobArgsSchema"; +export { ProcessMediaJobArgsSchema } from "./ProcessMediaJobArgsSchema"; +export { LoadAssetJobArgsSchema } from "./LoadAssetJobArgsSchema"; +export { DummyTestJobArgsSchema } from "./DummyTestJobArgsSchema"; +export { ShowFindFirstArgsSchema } from "./ShowFindFirstArgsSchema"; +export { ShowFindFirstOrThrowArgsSchema } from "./ShowFindFirstOrThrowArgsSchema"; +export { ShowFindManyArgsSchema } from "./ShowFindManyArgsSchema"; +export { ShowAggregateArgsSchema } from "./ShowAggregateArgsSchema"; +export { ShowGroupByArgsSchema } from "./ShowGroupByArgsSchema"; +export { ShowFindUniqueArgsSchema } from "./ShowFindUniqueArgsSchema"; +export { ShowFindUniqueOrThrowArgsSchema } from "./ShowFindUniqueOrThrowArgsSchema"; +export { RundownFindFirstArgsSchema } from "./RundownFindFirstArgsSchema"; +export { RundownFindFirstOrThrowArgsSchema } from "./RundownFindFirstOrThrowArgsSchema"; +export { RundownFindManyArgsSchema } from "./RundownFindManyArgsSchema"; +export { RundownAggregateArgsSchema } from "./RundownAggregateArgsSchema"; +export { RundownGroupByArgsSchema } from "./RundownGroupByArgsSchema"; +export { RundownFindUniqueArgsSchema } from "./RundownFindUniqueArgsSchema"; +export { RundownFindUniqueOrThrowArgsSchema } from "./RundownFindUniqueOrThrowArgsSchema"; +export { RundownItemFindFirstArgsSchema } from "./RundownItemFindFirstArgsSchema"; +export { RundownItemFindFirstOrThrowArgsSchema } from "./RundownItemFindFirstOrThrowArgsSchema"; +export { RundownItemFindManyArgsSchema } from "./RundownItemFindManyArgsSchema"; +export { RundownItemAggregateArgsSchema } from "./RundownItemAggregateArgsSchema"; +export { RundownItemGroupByArgsSchema } from "./RundownItemGroupByArgsSchema"; +export { RundownItemFindUniqueArgsSchema } from "./RundownItemFindUniqueArgsSchema"; +export { RundownItemFindUniqueOrThrowArgsSchema } from "./RundownItemFindUniqueOrThrowArgsSchema"; +export { ContinuityItemFindFirstArgsSchema } from "./ContinuityItemFindFirstArgsSchema"; +export { ContinuityItemFindFirstOrThrowArgsSchema } from "./ContinuityItemFindFirstOrThrowArgsSchema"; +export { ContinuityItemFindManyArgsSchema } from "./ContinuityItemFindManyArgsSchema"; +export { ContinuityItemAggregateArgsSchema } from "./ContinuityItemAggregateArgsSchema"; +export { ContinuityItemGroupByArgsSchema } from "./ContinuityItemGroupByArgsSchema"; +export { ContinuityItemFindUniqueArgsSchema } from "./ContinuityItemFindUniqueArgsSchema"; +export { ContinuityItemFindUniqueOrThrowArgsSchema } from "./ContinuityItemFindUniqueOrThrowArgsSchema"; +export { AssetFindFirstArgsSchema } from "./AssetFindFirstArgsSchema"; +export { AssetFindFirstOrThrowArgsSchema } from "./AssetFindFirstOrThrowArgsSchema"; +export { AssetFindManyArgsSchema } from "./AssetFindManyArgsSchema"; +export { AssetAggregateArgsSchema } from "./AssetAggregateArgsSchema"; +export { AssetGroupByArgsSchema } from "./AssetGroupByArgsSchema"; +export { AssetFindUniqueArgsSchema } from "./AssetFindUniqueArgsSchema"; +export { AssetFindUniqueOrThrowArgsSchema } from "./AssetFindUniqueOrThrowArgsSchema"; +export { MediaFindFirstArgsSchema } from "./MediaFindFirstArgsSchema"; +export { MediaFindFirstOrThrowArgsSchema } from "./MediaFindFirstOrThrowArgsSchema"; +export { MediaFindManyArgsSchema } from "./MediaFindManyArgsSchema"; +export { MediaAggregateArgsSchema } from "./MediaAggregateArgsSchema"; +export { MediaGroupByArgsSchema } from "./MediaGroupByArgsSchema"; +export { MediaFindUniqueArgsSchema } from "./MediaFindUniqueArgsSchema"; +export { MediaFindUniqueOrThrowArgsSchema } from "./MediaFindUniqueOrThrowArgsSchema"; +export { MediaProcessingTaskFindFirstArgsSchema } from "./MediaProcessingTaskFindFirstArgsSchema"; +export { MediaProcessingTaskFindFirstOrThrowArgsSchema } from "./MediaProcessingTaskFindFirstOrThrowArgsSchema"; +export { MediaProcessingTaskFindManyArgsSchema } from "./MediaProcessingTaskFindManyArgsSchema"; +export { MediaProcessingTaskAggregateArgsSchema } from "./MediaProcessingTaskAggregateArgsSchema"; +export { MediaProcessingTaskGroupByArgsSchema } from "./MediaProcessingTaskGroupByArgsSchema"; +export { MediaProcessingTaskFindUniqueArgsSchema } from "./MediaProcessingTaskFindUniqueArgsSchema"; +export { MediaProcessingTaskFindUniqueOrThrowArgsSchema } from "./MediaProcessingTaskFindUniqueOrThrowArgsSchema"; +export { BaseJobFindFirstArgsSchema } from "./BaseJobFindFirstArgsSchema"; +export { BaseJobFindFirstOrThrowArgsSchema } from "./BaseJobFindFirstOrThrowArgsSchema"; +export { BaseJobFindManyArgsSchema } from "./BaseJobFindManyArgsSchema"; +export { BaseJobAggregateArgsSchema } from "./BaseJobAggregateArgsSchema"; +export { BaseJobGroupByArgsSchema } from "./BaseJobGroupByArgsSchema"; +export { BaseJobFindUniqueArgsSchema } from "./BaseJobFindUniqueArgsSchema"; +export { BaseJobFindUniqueOrThrowArgsSchema } from "./BaseJobFindUniqueOrThrowArgsSchema"; +export { ProcessMediaJobFindFirstArgsSchema } from "./ProcessMediaJobFindFirstArgsSchema"; +export { ProcessMediaJobFindFirstOrThrowArgsSchema } from "./ProcessMediaJobFindFirstOrThrowArgsSchema"; +export { ProcessMediaJobFindManyArgsSchema } from "./ProcessMediaJobFindManyArgsSchema"; +export { ProcessMediaJobAggregateArgsSchema } from "./ProcessMediaJobAggregateArgsSchema"; +export { ProcessMediaJobGroupByArgsSchema } from "./ProcessMediaJobGroupByArgsSchema"; +export { ProcessMediaJobFindUniqueArgsSchema } from "./ProcessMediaJobFindUniqueArgsSchema"; +export { ProcessMediaJobFindUniqueOrThrowArgsSchema } from "./ProcessMediaJobFindUniqueOrThrowArgsSchema"; +export { LoadAssetJobFindFirstArgsSchema } from "./LoadAssetJobFindFirstArgsSchema"; +export { LoadAssetJobFindFirstOrThrowArgsSchema } from "./LoadAssetJobFindFirstOrThrowArgsSchema"; +export { LoadAssetJobFindManyArgsSchema } from "./LoadAssetJobFindManyArgsSchema"; +export { LoadAssetJobAggregateArgsSchema } from "./LoadAssetJobAggregateArgsSchema"; +export { LoadAssetJobGroupByArgsSchema } from "./LoadAssetJobGroupByArgsSchema"; +export { LoadAssetJobFindUniqueArgsSchema } from "./LoadAssetJobFindUniqueArgsSchema"; +export { LoadAssetJobFindUniqueOrThrowArgsSchema } from "./LoadAssetJobFindUniqueOrThrowArgsSchema"; +export { DummyTestJobFindFirstArgsSchema } from "./DummyTestJobFindFirstArgsSchema"; +export { DummyTestJobFindFirstOrThrowArgsSchema } from "./DummyTestJobFindFirstOrThrowArgsSchema"; +export { DummyTestJobFindManyArgsSchema } from "./DummyTestJobFindManyArgsSchema"; +export { DummyTestJobAggregateArgsSchema } from "./DummyTestJobAggregateArgsSchema"; +export { DummyTestJobGroupByArgsSchema } from "./DummyTestJobGroupByArgsSchema"; +export { DummyTestJobFindUniqueArgsSchema } from "./DummyTestJobFindUniqueArgsSchema"; +export { DummyTestJobFindUniqueOrThrowArgsSchema } from "./DummyTestJobFindUniqueOrThrowArgsSchema"; +export { ShowCreateArgsSchema } from "./ShowCreateArgsSchema"; +export { ShowUpsertArgsSchema } from "./ShowUpsertArgsSchema"; +export { ShowCreateManyArgsSchema } from "./ShowCreateManyArgsSchema"; +export { ShowDeleteArgsSchema } from "./ShowDeleteArgsSchema"; +export { ShowUpdateArgsSchema } from "./ShowUpdateArgsSchema"; +export { ShowUpdateManyArgsSchema } from "./ShowUpdateManyArgsSchema"; +export { ShowDeleteManyArgsSchema } from "./ShowDeleteManyArgsSchema"; +export { RundownCreateArgsSchema } from "./RundownCreateArgsSchema"; +export { RundownUpsertArgsSchema } from "./RundownUpsertArgsSchema"; +export { RundownCreateManyArgsSchema } from "./RundownCreateManyArgsSchema"; +export { RundownDeleteArgsSchema } from "./RundownDeleteArgsSchema"; +export { RundownUpdateArgsSchema } from "./RundownUpdateArgsSchema"; +export { RundownUpdateManyArgsSchema } from "./RundownUpdateManyArgsSchema"; +export { RundownDeleteManyArgsSchema } from "./RundownDeleteManyArgsSchema"; +export { RundownItemCreateArgsSchema } from "./RundownItemCreateArgsSchema"; +export { RundownItemUpsertArgsSchema } from "./RundownItemUpsertArgsSchema"; +export { RundownItemCreateManyArgsSchema } from "./RundownItemCreateManyArgsSchema"; +export { RundownItemDeleteArgsSchema } from "./RundownItemDeleteArgsSchema"; +export { RundownItemUpdateArgsSchema } from "./RundownItemUpdateArgsSchema"; +export { RundownItemUpdateManyArgsSchema } from "./RundownItemUpdateManyArgsSchema"; +export { RundownItemDeleteManyArgsSchema } from "./RundownItemDeleteManyArgsSchema"; +export { ContinuityItemCreateArgsSchema } from "./ContinuityItemCreateArgsSchema"; +export { ContinuityItemUpsertArgsSchema } from "./ContinuityItemUpsertArgsSchema"; +export { ContinuityItemCreateManyArgsSchema } from "./ContinuityItemCreateManyArgsSchema"; +export { ContinuityItemDeleteArgsSchema } from "./ContinuityItemDeleteArgsSchema"; +export { ContinuityItemUpdateArgsSchema } from "./ContinuityItemUpdateArgsSchema"; +export { ContinuityItemUpdateManyArgsSchema } from "./ContinuityItemUpdateManyArgsSchema"; +export { ContinuityItemDeleteManyArgsSchema } from "./ContinuityItemDeleteManyArgsSchema"; +export { AssetCreateArgsSchema } from "./AssetCreateArgsSchema"; +export { AssetUpsertArgsSchema } from "./AssetUpsertArgsSchema"; +export { AssetCreateManyArgsSchema } from "./AssetCreateManyArgsSchema"; +export { AssetDeleteArgsSchema } from "./AssetDeleteArgsSchema"; +export { AssetUpdateArgsSchema } from "./AssetUpdateArgsSchema"; +export { AssetUpdateManyArgsSchema } from "./AssetUpdateManyArgsSchema"; +export { AssetDeleteManyArgsSchema } from "./AssetDeleteManyArgsSchema"; +export { MediaCreateArgsSchema } from "./MediaCreateArgsSchema"; +export { MediaUpsertArgsSchema } from "./MediaUpsertArgsSchema"; +export { MediaCreateManyArgsSchema } from "./MediaCreateManyArgsSchema"; +export { MediaDeleteArgsSchema } from "./MediaDeleteArgsSchema"; +export { MediaUpdateArgsSchema } from "./MediaUpdateArgsSchema"; +export { MediaUpdateManyArgsSchema } from "./MediaUpdateManyArgsSchema"; +export { MediaDeleteManyArgsSchema } from "./MediaDeleteManyArgsSchema"; +export { MediaProcessingTaskCreateArgsSchema } from "./MediaProcessingTaskCreateArgsSchema"; +export { MediaProcessingTaskUpsertArgsSchema } from "./MediaProcessingTaskUpsertArgsSchema"; +export { MediaProcessingTaskCreateManyArgsSchema } from "./MediaProcessingTaskCreateManyArgsSchema"; +export { MediaProcessingTaskDeleteArgsSchema } from "./MediaProcessingTaskDeleteArgsSchema"; +export { MediaProcessingTaskUpdateArgsSchema } from "./MediaProcessingTaskUpdateArgsSchema"; +export { MediaProcessingTaskUpdateManyArgsSchema } from "./MediaProcessingTaskUpdateManyArgsSchema"; +export { MediaProcessingTaskDeleteManyArgsSchema } from "./MediaProcessingTaskDeleteManyArgsSchema"; +export { BaseJobCreateArgsSchema } from "./BaseJobCreateArgsSchema"; +export { BaseJobUpsertArgsSchema } from "./BaseJobUpsertArgsSchema"; +export { BaseJobCreateManyArgsSchema } from "./BaseJobCreateManyArgsSchema"; +export { BaseJobDeleteArgsSchema } from "./BaseJobDeleteArgsSchema"; +export { BaseJobUpdateArgsSchema } from "./BaseJobUpdateArgsSchema"; +export { BaseJobUpdateManyArgsSchema } from "./BaseJobUpdateManyArgsSchema"; +export { BaseJobDeleteManyArgsSchema } from "./BaseJobDeleteManyArgsSchema"; +export { ProcessMediaJobCreateArgsSchema } from "./ProcessMediaJobCreateArgsSchema"; +export { ProcessMediaJobUpsertArgsSchema } from "./ProcessMediaJobUpsertArgsSchema"; +export { ProcessMediaJobCreateManyArgsSchema } from "./ProcessMediaJobCreateManyArgsSchema"; +export { ProcessMediaJobDeleteArgsSchema } from "./ProcessMediaJobDeleteArgsSchema"; +export { ProcessMediaJobUpdateArgsSchema } from "./ProcessMediaJobUpdateArgsSchema"; +export { ProcessMediaJobUpdateManyArgsSchema } from "./ProcessMediaJobUpdateManyArgsSchema"; +export { ProcessMediaJobDeleteManyArgsSchema } from "./ProcessMediaJobDeleteManyArgsSchema"; +export { LoadAssetJobCreateArgsSchema } from "./LoadAssetJobCreateArgsSchema"; +export { LoadAssetJobUpsertArgsSchema } from "./LoadAssetJobUpsertArgsSchema"; +export { LoadAssetJobCreateManyArgsSchema } from "./LoadAssetJobCreateManyArgsSchema"; +export { LoadAssetJobDeleteArgsSchema } from "./LoadAssetJobDeleteArgsSchema"; +export { LoadAssetJobUpdateArgsSchema } from "./LoadAssetJobUpdateArgsSchema"; +export { LoadAssetJobUpdateManyArgsSchema } from "./LoadAssetJobUpdateManyArgsSchema"; +export { LoadAssetJobDeleteManyArgsSchema } from "./LoadAssetJobDeleteManyArgsSchema"; +export { DummyTestJobCreateArgsSchema } from "./DummyTestJobCreateArgsSchema"; +export { DummyTestJobUpsertArgsSchema } from "./DummyTestJobUpsertArgsSchema"; +export { DummyTestJobCreateManyArgsSchema } from "./DummyTestJobCreateManyArgsSchema"; +export { DummyTestJobDeleteArgsSchema } from "./DummyTestJobDeleteArgsSchema"; +export { DummyTestJobUpdateArgsSchema } from "./DummyTestJobUpdateArgsSchema"; +export { DummyTestJobUpdateManyArgsSchema } from "./DummyTestJobUpdateManyArgsSchema"; +export { DummyTestJobDeleteManyArgsSchema } from "./DummyTestJobDeleteManyArgsSchema"; diff --git a/utility/testing/MockOBSWebSocket.test.ts b/utility/testing/MockOBSWebSocket.test.ts new file mode 100644 index 00000000..d839c481 --- /dev/null +++ b/utility/testing/MockOBSWebSocket.test.ts @@ -0,0 +1,332 @@ +import { describe, it, expect } from "vitest"; +import MockOBSWebSocket from "./MockOBSWebSocket.js"; +import { WebSocket } from "ws"; +import { pEvent, pEventIterator } from "p-event"; +import OBSWebSocket, { EventSubscription } from "obs-websocket-js"; + +describe("MockOBSWebSocket", async () => { + it("works", async () => { + const ts = await MockOBSWebSocket.create(expect, async (obs) => { + const [data, respond] = await obs.waitForRequest("GetVersion"); + respond({ + success: true, + code: 100, + data: { + obsVersion: "1", + obsWebSocketVersion: "2", + availableRequests: [], + platform: "test", + platformDescription: "", + rpcVersion: 1, + supportedImageFormats: [], + }, + }); + }); + const ws = new WebSocket(`ws://localhost:${ts.port}`, "obswebsocket.json"); + const data: Buffer = await pEvent(ws, "message"); + expect(JSON.parse(data.toString("utf-8"))).toMatchInlineSnapshot(` + { + "d": { + "obsWebSocketVersion": "5.1.0", + "rpcVersion": 1, + }, + "op": 0, + } + `); + ws.send( + JSON.stringify({ + op: 1, + d: { + rpcVersion: 1, + }, + }), + ); + const data2: Buffer = await pEvent(ws, "message"); + expect(JSON.parse(data2.toString("utf-8"))).toMatchInlineSnapshot(` + { + "d": { + "negotiatedRpcVersion": 1, + }, + "op": 2, + } + `); + ws.send( + JSON.stringify({ + op: 6, + d: { + requestType: "GetVersion", + requestId: "asdf", + }, + }), + ); + const data3: Buffer = await pEvent(ws, "message"); + expect(JSON.parse(data3.toString("utf-8"))).toMatchInlineSnapshot(` + { + "d": { + "requestId": "asdf", + "requestStatus": { + "code": 100, + "result": true, + }, + "requestType": "GetVersion", + "responseData": { + "availableRequests": [], + "obsVersion": "1", + "obsWebSocketVersion": "2", + "platform": "test", + "platformDescription": "", + "rpcVersion": 1, + "supportedImageFormats": [], + }, + }, + "op": 7, + } + `); + await ts.close(); + }); + + it("works without an actor", async () => { + const ts = await MockOBSWebSocket.create(expect); + const ws = new WebSocket(`ws://localhost:${ts.port}`, "obswebsocket.json"); + const data: Buffer = await pEvent(ws, "message"); + expect(JSON.parse(data.toString("utf-8"))).toMatchInlineSnapshot(` + { + "d": { + "obsWebSocketVersion": "5.1.0", + "rpcVersion": 1, + }, + "op": 0, + } + `); + ws.send( + JSON.stringify({ + op: 1, + d: { + rpcVersion: 1, + }, + }), + ); + const data2: Buffer = await pEvent(ws, "message"); + expect(JSON.parse(data2.toString("utf-8"))).toMatchInlineSnapshot(` + { + "d": { + "negotiatedRpcVersion": 1, + }, + "op": 2, + } + `); + await ts.waitForConnection; + const evtPromise = ts.ctx.waitForRequest("GetVersion"); + ws.send( + JSON.stringify({ + op: 6, + d: { + requestType: "GetVersion", + requestId: "asdf", + }, + }), + ); + const [evt, respond] = await evtPromise; + expect(evt).toMatchInlineSnapshot("undefined"); + await respond({ + success: true, + code: 100, + data: { + obsVersion: "1", + obsWebSocketVersion: "2", + availableRequests: [], + platform: "test", + platformDescription: "", + rpcVersion: 1, + supportedImageFormats: [], + }, + }); + const data3: Buffer = await pEvent(ws, "message"); + expect(JSON.parse(data3.toString("utf-8"))).toMatchInlineSnapshot(` + { + "d": { + "requestId": "asdf", + "requestStatus": { + "code": 100, + "result": true, + }, + "requestType": "GetVersion", + "responseData": { + "availableRequests": [], + "obsVersion": "1", + "obsWebSocketVersion": "2", + "platform": "test", + "platformDescription": "", + "rpcVersion": 1, + "supportedImageFormats": [], + }, + }, + "op": 7, + } + `); + await ts.close(); + }); + + it("handles events", async () => { + const ts = await MockOBSWebSocket.create(expect, async (obs) => { + await obs.sendEvent("StreamStateChanged", EventSubscription.Outputs, { + outputActive: true, + outputState: "", + }); + }); + const ws = new WebSocket(`ws://localhost:${ts.port}`, "obswebsocket.json"); + const data: Buffer = await pEvent(ws, "message"); + expect(JSON.parse(data.toString("utf-8"))).toMatchInlineSnapshot(` + { + "d": { + "obsWebSocketVersion": "5.1.0", + "rpcVersion": 1, + }, + "op": 0, + } + `); + ws.send( + JSON.stringify({ + op: 1, + d: { + rpcVersion: 1, + eventSubscriptions: EventSubscription.All, + }, + }), + ); + const messages = []; + for await (const evt of pEventIterator(ws, "message")) { + messages.push(JSON.parse(evt.toString("utf-8"))); + if (messages.length === 2) { + break; + } + } + expect(messages).toMatchInlineSnapshot(` + [ + { + "d": { + "negotiatedRpcVersion": 1, + }, + "op": 2, + }, + { + "d": { + "eventData": { + "outputActive": true, + "outputState": "", + }, + "eventIntent": 64, + "eventType": "StreamStateChanged", + }, + "op": 5, + }, + ] + `); + }); + + it("works with a real OBS WebSocket implementation [actor]", async () => { + const ts = await MockOBSWebSocket.create(expect, async (obs) => { + const [data, respond] = await obs.waitForRequest("GetVersion"); + respond({ + success: true, + code: 100, + data: { + obsVersion: "1", + obsWebSocketVersion: "2", + availableRequests: [], + platform: "test", + platformDescription: "", + rpcVersion: 1, + supportedImageFormats: [], + }, + }); + }); + const obs = new OBSWebSocket(); + await obs.connect(`ws://localhost:${ts.port}`); + const res = await obs.call("GetVersion"); + expect(res).toMatchInlineSnapshot(` + { + "availableRequests": [], + "obsVersion": "1", + "obsWebSocketVersion": "2", + "platform": "test", + "platformDescription": "", + "rpcVersion": 1, + "supportedImageFormats": [], + } + `); + await ts.close(); + }); + + it("works with a real OBS WebSocket implementation [no actor]", async () => { + const ts = await MockOBSWebSocket.create(expect); + const obs = new OBSWebSocket(); + await obs.connect(`ws://localhost:${ts.port}`); + await ts.waitForConnection; + const reqPromise = ts.ctx.waitForRequest("GetVersion"); + const resPromise = obs.call("GetVersion"); + const [req, respond] = await reqPromise; + expect(req).toMatchInlineSnapshot("null"); + await respond({ + success: true, + code: 100, + data: { + obsVersion: "1", + obsWebSocketVersion: "2", + availableRequests: [], + platform: "test", + platformDescription: "", + rpcVersion: 1, + supportedImageFormats: [], + }, + }); + expect(resPromise).resolves.toMatchInlineSnapshot(` + { + "availableRequests": [], + "obsVersion": "1", + "obsWebSocketVersion": "2", + "platform": "test", + "platformDescription": "", + "rpcVersion": 1, + "supportedImageFormats": [], + } + `); + }); + + it("doesn't have a ctx if an actor is defined", async () => { + const ts = await MockOBSWebSocket.create(expect, async (obs) => {}); + expect(() => ts.ctx).toThrow(); + }); + + it("fallback response", async () => { + const ts = await MockOBSWebSocket.create(expect, async (obs) => { + obs.alwaysRespond("GetOutputStatus", () => ({ + success: true, + code: 100, + data: { + outputActive: false, + outputBytes: 0, + outputCongestion: 0, + outputDuration: 0, + outputReconnecting: false, + outputSkippedFrames: 0, + outputTimecode: "", + outputTotalFrames: 0, + }, + })); + await obs.waitUntilClosed; + }); + + const client = new OBSWebSocket(); + await client.connect(`ws://localhost:${ts.port}`); + await expect(client.call("GetOutputStatus")).resolves.toHaveProperty( + "outputActive", + ); + await expect(client.call("GetOutputStatus")).resolves.toHaveProperty( + "outputActive", + ); + await expect(client.call("GetOutputStatus")).resolves.toHaveProperty( + "outputActive", + ); + }); +}); diff --git a/utility/testing/MockOBSWebSocket.ts b/utility/testing/MockOBSWebSocket.ts new file mode 100644 index 00000000..5d0e781c --- /dev/null +++ b/utility/testing/MockOBSWebSocket.ts @@ -0,0 +1,407 @@ +import { + EventSubscription, + OBSEventTypes, + OBSRequestTypes, + OBSResponseTypes, +} from "obs-websocket-js"; +import { AddressInfo, WebSocket, WebSocketServer } from "ws"; +import { pEvent } from "p-event"; +import * as msgpack from "@msgpack/msgpack"; +import type { ExpectStatic as VitestExpect } from "vitest"; +import type { Expect as PlaywrightExpect } from "@playwright/test"; + +type Expect = VitestExpect | PlaywrightExpect; + +type OBSResponse = + | { success: true; code: number; data: OBSResponseTypes[T] } + | { success: false; code: number; comment: string }; + +type OBSRequestHandler< + T extends keyof OBSRequestTypes = keyof OBSRequestTypes, +> = [OBSRequestTypes[T], (resp: OBSResponse) => void]; + +/** This class is an implementation detail of MockOBSWebSocket and should not be directly created outside of it. */ +export class MockOBSContext { + private pendingRequests = new Map< + string, + ((h: OBSRequestHandler) => void)[] + >(); + private fallbackResponders = new Map OBSResponse>(); + constructor( + private readonly expect: Expect, + private readonly socket: OBSSocket, + public eventIntent: EventSubscription, + ) {} + + public ready = false; + public eventQueue: { + eventType: keyof OBSEventTypes; + eventIntent: EventSubscription; + eventData: OBSEventTypes[keyof OBSEventTypes]; + resolve: () => void; + }[] = []; + + /** + * Wait for a request of the given type to be received. + * @param requestType The request type to wait for. + * @returns A promise that resolves to the request data and a responder function, which takes a boolean (ok), a code, and either a response or a comment. + * @see https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#requestresponse-opcode-7 + * @example + * const [data, respond] = await obs.waitForRequest("GetVersion"); + * respond(true, 100, { + * obsVersion: "1", + * // ... + * }); + */ + public async waitForRequest( + requestType: T, + ): Promise> { + const queue = this.pendingRequests.get(requestType); + if (queue === undefined) { + const newQueue: ((h: OBSRequestHandler) => void)[] = []; + this.pendingRequests.set(requestType, newQueue); + return new Promise>((resolve) => { + newQueue.push(resolve as any); + }); + } else { + return new Promise>((resolve) => { + queue.push(resolve as any); + }); + } + } + + public alwaysRespond( + requestType: T, + respond: (data: OBSRequestTypes[T]) => OBSResponse, + ) { + this.fallbackResponders.set(requestType, respond); + } + + /** This method is an implementation detail and should not be used outside MockOBSWebSocket. */ + public _closed!: () => void; + public readonly waitUntilClosed = new Promise((resolve) => { + this._closed = resolve; + }); + + /** + * Send an event to the client. + * Note that this will fail the test if the client is not subscribed to the given category of event. + * Also note that, if the mock server is not ready yet, the event will only be sent after it is fully ready + * (has sent a Identified message). + */ + public async sendEvent( + eventType: T, + category: EventSubscription, + data: OBSEventTypes[T], + ) { + this.expect(this.eventIntent & category).toBe(category); + if (this.ready) { + this.socket.send({ + op: 5, + d: { + eventType: eventType, + eventIntent: category, + eventData: data, + }, + }); + } else { + return new Promise((resolve) => { + this.eventQueue.push({ + eventType: eventType, + eventIntent: category, + eventData: data, + resolve, + }); + }); + } + } + + /** This method is an implementation detail and should not be used outside MockOBSWebSocket. */ + public async _handleRequest( + requestType: string, + requestId: string, + requestData: OBSRequestTypes[keyof OBSRequestTypes], + ) { + const queue = this.pendingRequests.get(requestType); + if (queue) { + const responder = queue.shift(); + if (responder) { + responder([requestData, this._makeResponder(requestType, requestId)]); + } + } + + const fallback = this.fallbackResponders.get(requestType); + if (fallback) { + this._makeResponder(requestType, requestId)(fallback(requestData)); + } + } + + private _makeResponder(type: string, rid: string) { + return (resp: OBSResponse) => { + let res; + if (resp.success) { + res = { + op: 7, + d: { + requestType: type, + requestId: rid, + requestStatus: { + result: resp.success, + code: resp.code, + }, + responseData: resp.data, + }, + }; + } else { + res = { + op: 7, + d: { + requestType: type, + requestId: rid, + requestStatus: { + result: resp.success, + code: resp.code, + comment: resp.comment, + }, + }, + }; + } + this.socket.send(res); + }; + } +} + +/** Handles sending and receiving messages from the OBS socket, encoding appropriately in either JSON or MessagePack */ +class OBSSocket { + constructor( + public readonly ws: WebSocket, + private readonly encoding: "json" | "msgpack", + ) {} + public send(data: Record) { + switch (this.encoding) { + case "json": + this.ws.send(JSON.stringify(data)); + break; + case "msgpack": + this.ws.send(msgpack.encode(data)); + break; + default: + throw new Error("unknown encoding " + this.encoding); + } + } + public async receive() { + const data: Buffer = await pEvent(this.ws, "message"); + switch (this.encoding) { + case "json": + return JSON.parse(data.toString("utf-8")); + case "msgpack": + return msgpack.decode(data); + default: + throw new Error("unknown encoding " + this.encoding); + } + } + + public onMessage(cb: (msg: unknown) => void) { + const listener = (data: Buffer) => { + switch (this.encoding) { + case "json": + cb(JSON.parse(data.toString("utf-8"))); + break; + case "msgpack": + cb(msgpack.decode(data)); + break; + default: + throw new Error("unknown encoding " + this.encoding); + } + }; + this.ws.on("message", listener); + return () => { + this.ws.off("message", listener); + }; + } +} + +/** + * A mock OBS WebSocket server. + * This class is intended to be used in tests to simulate an OBS WebSocket server. + * Note that authentication and batched requests are not supported. + * + * There are two ways to use the mock OBS server. + * The first is to use an "actor" function that drives the simulated OBS connection, + * responding to client requests and sending events. + * The other is to use the server's `ctx` property directly. This supports all the + * features of the actor function, and it may be easier to use, however it only + * supports one concurrent client. Its behaviour in the presence of more than one + * client connection is undefined. + * + * @example // used directly + * test("something", async () => { + * const ts = await MockOBSWebSocket.create(expect); + * const client = new OBSWebSocket(); + * await client.connect(`ws://localhost:${ts.port}`); + * const evtPromise = ts.ctx.waitForRequest("GetVersion"); + * const resPromise = client.call("GetVersion") + * const [req, respond] = await evtPromise; + * respond(true, 100, { + * obsVersion: "1", + * // ... + * }); + * expect(resPromise).resolves.toMatchSnapshot(); + * await ts.close(); + * }); + * + * + * @example // with an actor function + * test("something", async () => { + * const ts = await MockOBSWebSocket.create(expect, async obs => { + * const [data, respond] = await obs.waitForRequest("GetVersion"); + * respond(true, 100, { + * obsVersion: "1", + * // ... + * }); + * // ... + * await obs.sendEvent("StreamStateChanged", EventSubscription.Output, { + * outputActive: true, + * // ... + * }); + * }); + * const client = new OBSWebSocket(); + * await client.connect(`ws://localhost:${ts.port}`); + * const res = await client.call("GetVersion") + * expect(res).toMatchSnapshot(); + * await ts.close(); + * }); + */ +export default class MockOBSWebSocket { + private openConnections = 0; + private constructor( + private readonly expect: Expect, + private readonly server: WebSocketServer, + public readonly port: number, + ) {} + + private _ctx: MockOBSContext | null = null; + /** + * The WebSocket client connection. + * Note that this is *only* available if the server was created *without* an actor function. + * If the server was created with an actor function, this access will fail. + */ + public get ctx() { + if (this._ctx === null) { + throw new Error( + "No MockOBSWebSocket context available. Either the server has not received a connection yet, or it was created with an actor function.", + ); + } + return this._ctx!; + } + + private _ready!: () => void; + public readonly waitForConnection = new Promise((resolve) => { + this._ready = resolve; + }); + + public static async create( + expect: Expect, + actor?: (obs: MockOBSContext) => Promise, + ) { + const server = new WebSocketServer({ + port: 0 /* dynamically allocate a free port */, + }); + const mows = new MockOBSWebSocket( + expect, + server, + (server.address() as AddressInfo).port, + ); + server.on("connection", async (rawSocket, request) => { + let socket: OBSSocket; + switch (rawSocket.protocol) { + case "obswebsocket.json": + socket = new OBSSocket(rawSocket, "json"); + break; + case "obswebsocket.msgpack": + socket = new OBSSocket(rawSocket, "msgpack"); + break; + default: + throw new Error( + "MockOBSWebSocket: unrecognised obs-websocket protocol " + + rawSocket.protocol, + ); + } + socket.send({ + op: 0, + d: { + obsWebSocketVersion: "5.1.0", + rpcVersion: 1, + // Authentication is not implemented + }, + }); + const res = await socket.receive(); + expect(res.op).toBe(1); // identify + expect(res.d.rpcVersion).toBe(1); + + // Set up the context now so it's ready as soon as we send the identified message + const ctx = new MockOBSContext( + expect, + socket, + res.d.eventSubscriptions ?? EventSubscription.All, + ); + rawSocket.on("close", () => ctx._closed()); + let actorPromise: Promise | null = null; + if (actor) { + actorPromise = actor(ctx); + } else { + if (mows.openConnections > 0) { + throw new Error( + "MockOBSWebSocket: test error: only one connection is supported without an actor function", + ); + } + mows._ctx = ctx; + } + mows._ready(); + socket.onMessage(async (payload: any) => { + expect(typeof payload).toBe("object"); + switch (payload.op) { + case 3: // reidentify + ctx.eventIntent = + payload.d.eventSubscriptions ?? EventSubscription.All; + socket.send({ op: 2, d: { negotiatedRpcVersion: 1 } }); + break; + case 6: // request + await ctx._handleRequest( + payload.d.requestType, + payload.d.requestId, + payload.d.requestData, + ); + break; + case 8: // request batch + throw new Error("MockOBSWebSocket: request batch not implemented"); + } + }); + socket.send({ op: 2, d: { negotiatedRpcVersion: 1 } }); + ctx.ready = true; + for (const evt of ctx.eventQueue) { + await ctx.sendEvent(evt.eventType, evt.eventIntent, evt.eventData); + evt.resolve(); + } + mows.openConnections++; + if (actorPromise) { + await actorPromise; + mows.openConnections--; + socket.ws.close(); + } else { + socket.ws.on("close", () => { + mows.openConnections--; + }); + } + }); + + return mows; + } + + public async close() { + if (!this._ctx) { + this.expect.soft(this.openConnections).toBe(0); + } + this.server.close(); + } +} diff --git a/utility/testing/package.json b/utility/testing/package.json index 809a1020..3cdb65a6 100644 --- a/utility/testing/package.json +++ b/utility/testing/package.json @@ -3,16 +3,23 @@ "private": true, "type": "module", "devDependencies": { + "@msgpack/msgpack": "^3.0.0-beta2", "@tsconfig/node18": "^18.2.0", "@types/detect-port": "^1.3.3", "@types/node": "^20.5.1", "@types/shelljs": "^0.8.12", "detect-port": "^1.5.1", + "obs-websocket-js": "^5.0.3", "shelljs": "^0.8.5", "ts-node": "^10.9.1", - "typescript": "^5.1.6" + "typescript": "^5.1.6", + "vitest": "^0.34.3" }, "scripts": { - "test:integration": "ts-node --esm scripts/run-integration-tests.mts" + "test": "vitest" + }, + "dependencies": { + "p-event": "^6.0.0", + "ws": "^8.13.0" } } diff --git a/utility/testing/scripts/prepare-integration-tests.mts b/utility/testing/scripts/prepare-integration-tests.mts deleted file mode 100644 index fbc47da9..00000000 --- a/utility/testing/scripts/prepare-integration-tests.mts +++ /dev/null @@ -1,33 +0,0 @@ -import * as sh from "shelljs"; -import detectPort from "detect-port"; -sh.config.fatal = true; -sh.config.verbose = true; - -async function prepare() { - if (await detectPort(5432)) { - console.log("PostgreSQL is already running"); - process.env.SKIP_DB_TEARDOWN = "true"; - if (!process.env.DATABASE_URL) { - console.warn("Guessing DATABASE_URL - if the tests fail, set it manually"); - process.env.DATABASE_URL = "postgresql://postgres@localhost:5432/bowser_test"; - } - } else { - console.log("Starting PostgreSQL database..."); - sh.config.fatal = false; - sh.exec("docker rm -f bowser_test_postgres"); - sh.config.fatal = true; - sh.exec( - "docker run --rm -d -p 5432:5432 --name bowser_test_postgres -e POSTGRES_USER=root -e POSTGRES_PASSWORD=postgres -e POSTGRES_HOST_AUTH_METHOD=trust postgres:alpine", - ); - console.log("Waiting for PostgreSQL to start..."); - sh.exec("sleep 3"); - console.log("Preparing test database..."); - sh.exec("docker exec bowser_test_postgres createdb -O root bowser_test"); - process.env.DATABASE_URL = - "postgresql://root:postgres@localhost:5432/bowser_test"; - sh.exec("yarn prisma migrate deploy"); - } -} - -export { prepare }; -prepare(); diff --git a/utility/testing/scripts/run-integration-tests.mts b/utility/testing/scripts/run-integration-tests.mts deleted file mode 100644 index 1204337b..00000000 --- a/utility/testing/scripts/run-integration-tests.mts +++ /dev/null @@ -1,31 +0,0 @@ -import * as sh from "shelljs"; -import { prepare } from "./prepare-integration-tests.mjs"; -import invariant from "tiny-invariant"; -import * as path from "path"; -import { fileURLToPath } from 'url'; -import { startVitest } from "vitest/node"; -sh.config.fatal = true; -sh.config.verbose = true; - -process.env.TEST_INTEGRATION = "true"; - -(async () => { - await prepare(); - invariant(process.env.DATABASE_URL, "No DATABASE_URL set"); - const vitest = await startVitest("test", ["server", "jobrunner"], { - root: path.resolve(fileURLToPath(import.meta.url), "..", "..", "..", ".."), - include: ["**/*.integration.test.ts"], - alias: { - "@": path.resolve(fileURLToPath(import.meta.url), "..", "..", "..", "..", "server") - }, - coverage: { - enabled: true, - provider: "v8", - all: true, - include: ["server/app/**", "server/lib/**", "server/components/**", "server/middleware.ts", "jobrunner/src/**", "utility/**"], - // Prisma client ships with broken sourcemaps, so exclude it - exclude: ["**/prisma/client/runtime/*", "**/*.test.{ts,tsx}", "**/*.test.integration.{ts,tsx}", "utility/testing/**"] - }, - }); - await vitest?.close(); -})(); diff --git a/utility/testing/scripts/teardown-integration-tests.mts b/utility/testing/scripts/teardown-integration-tests.mts deleted file mode 100644 index d53d4bcd..00000000 --- a/utility/testing/scripts/teardown-integration-tests.mts +++ /dev/null @@ -1,8 +0,0 @@ -import * as sh from "shelljs"; -sh.config.fatal = true; -sh.config.verbose = true; - -if (process.env.SKIP_DB_TEARDOWN !== "true") { - console.log("Killing PostgreSQL database..."); - sh.exec("docker rm -f bowser_test_postgres"); -} diff --git a/utility/testing/vitest-config-integration-base.ts b/utility/testing/vitest-config-integration-base.ts new file mode 100644 index 00000000..24c953e0 --- /dev/null +++ b/utility/testing/vitest-config-integration-base.ts @@ -0,0 +1,29 @@ +import { defineConfig } from "vitest/config"; + +export default defineConfig({ + test: { + environment: "node", + include: ["**/*.integration.{test,spec}.?(c|m)[jt]s?(x)"], + exclude: ["e2e/**/*", "node_modules/**/*"], + coverage: { + enabled: true, + provider: "v8", + all: true, + include: [ + "server/app/**", + "server/lib/**", + "server/components/**", + "server/middleware.ts", + "jobrunner/src/**", + "utility/**", + ], + // Prisma client ships with broken sourcemaps, so exclude it + exclude: [ + "**/prisma/client/runtime/*", + "**/*.test.{ts,tsx}", + "**/*.test.integration.{ts,tsx}", + "utility/testing/**", + ], + }, + }, +}); diff --git a/yarn.lock b/yarn.lock index 162da088..f1384668 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1004,6 +1004,7 @@ __metadata: version: 0.0.0-use.local resolution: "@bowser/components@workspace:utility/components" dependencies: + "@radix-ui/react-alert-dialog": ^1.0.4 "@radix-ui/react-dialog": ^1.0.4 "@radix-ui/react-dropdown-menu": ^2.0.5 "@radix-ui/react-label": ^2.0.2 @@ -1041,14 +1042,19 @@ __metadata: version: 0.0.0-use.local resolution: "@bowser/testing@workspace:utility/testing" dependencies: + "@msgpack/msgpack": ^3.0.0-beta2 "@tsconfig/node18": ^18.2.0 "@types/detect-port": ^1.3.3 "@types/node": ^20.5.1 "@types/shelljs": ^0.8.12 detect-port: ^1.5.1 + obs-websocket-js: ^5.0.3 + p-event: ^6.0.0 shelljs: ^0.8.5 ts-node: ^10.9.1 typescript: ^5.1.6 + vitest: ^0.34.3 + ws: ^8.13.0 languageName: unknown linkType: soft @@ -1499,13 +1505,6 @@ __metadata: languageName: node linkType: hard -"@esbuild/android-arm64@npm:0.18.14": - version: 0.18.14 - resolution: "@esbuild/android-arm64@npm:0.18.14" - conditions: os=android & cpu=arm64 - languageName: node - linkType: hard - "@esbuild/android-arm64@npm:0.18.16": version: 0.18.16 resolution: "@esbuild/android-arm64@npm:0.18.16" @@ -1520,13 +1519,6 @@ __metadata: languageName: node linkType: hard -"@esbuild/android-arm@npm:0.18.14": - version: 0.18.14 - resolution: "@esbuild/android-arm@npm:0.18.14" - conditions: os=android & cpu=arm - languageName: node - linkType: hard - "@esbuild/android-arm@npm:0.18.16": version: 0.18.16 resolution: "@esbuild/android-arm@npm:0.18.16" @@ -1541,13 +1533,6 @@ __metadata: languageName: node linkType: hard -"@esbuild/android-x64@npm:0.18.14": - version: 0.18.14 - resolution: "@esbuild/android-x64@npm:0.18.14" - conditions: os=android & cpu=x64 - languageName: node - linkType: hard - "@esbuild/android-x64@npm:0.18.16": version: 0.18.16 resolution: "@esbuild/android-x64@npm:0.18.16" @@ -1562,13 +1547,6 @@ __metadata: languageName: node linkType: hard -"@esbuild/darwin-arm64@npm:0.18.14": - version: 0.18.14 - resolution: "@esbuild/darwin-arm64@npm:0.18.14" - conditions: os=darwin & cpu=arm64 - languageName: node - linkType: hard - "@esbuild/darwin-arm64@npm:0.18.16": version: 0.18.16 resolution: "@esbuild/darwin-arm64@npm:0.18.16" @@ -1583,13 +1561,6 @@ __metadata: languageName: node linkType: hard -"@esbuild/darwin-x64@npm:0.18.14": - version: 0.18.14 - resolution: "@esbuild/darwin-x64@npm:0.18.14" - conditions: os=darwin & cpu=x64 - languageName: node - linkType: hard - "@esbuild/darwin-x64@npm:0.18.16": version: 0.18.16 resolution: "@esbuild/darwin-x64@npm:0.18.16" @@ -1604,13 +1575,6 @@ __metadata: languageName: node linkType: hard -"@esbuild/freebsd-arm64@npm:0.18.14": - version: 0.18.14 - resolution: "@esbuild/freebsd-arm64@npm:0.18.14" - conditions: os=freebsd & cpu=arm64 - languageName: node - linkType: hard - "@esbuild/freebsd-arm64@npm:0.18.16": version: 0.18.16 resolution: "@esbuild/freebsd-arm64@npm:0.18.16" @@ -1625,13 +1589,6 @@ __metadata: languageName: node linkType: hard -"@esbuild/freebsd-x64@npm:0.18.14": - version: 0.18.14 - resolution: "@esbuild/freebsd-x64@npm:0.18.14" - conditions: os=freebsd & cpu=x64 - languageName: node - linkType: hard - "@esbuild/freebsd-x64@npm:0.18.16": version: 0.18.16 resolution: "@esbuild/freebsd-x64@npm:0.18.16" @@ -1646,13 +1603,6 @@ __metadata: languageName: node linkType: hard -"@esbuild/linux-arm64@npm:0.18.14": - version: 0.18.14 - resolution: "@esbuild/linux-arm64@npm:0.18.14" - conditions: os=linux & cpu=arm64 - languageName: node - linkType: hard - "@esbuild/linux-arm64@npm:0.18.16": version: 0.18.16 resolution: "@esbuild/linux-arm64@npm:0.18.16" @@ -1667,13 +1617,6 @@ __metadata: languageName: node linkType: hard -"@esbuild/linux-arm@npm:0.18.14": - version: 0.18.14 - resolution: "@esbuild/linux-arm@npm:0.18.14" - conditions: os=linux & cpu=arm - languageName: node - linkType: hard - "@esbuild/linux-arm@npm:0.18.16": version: 0.18.16 resolution: "@esbuild/linux-arm@npm:0.18.16" @@ -1688,13 +1631,6 @@ __metadata: languageName: node linkType: hard -"@esbuild/linux-ia32@npm:0.18.14": - version: 0.18.14 - resolution: "@esbuild/linux-ia32@npm:0.18.14" - conditions: os=linux & cpu=ia32 - languageName: node - linkType: hard - "@esbuild/linux-ia32@npm:0.18.16": version: 0.18.16 resolution: "@esbuild/linux-ia32@npm:0.18.16" @@ -1709,13 +1645,6 @@ __metadata: languageName: node linkType: hard -"@esbuild/linux-loong64@npm:0.18.14": - version: 0.18.14 - resolution: "@esbuild/linux-loong64@npm:0.18.14" - conditions: os=linux & cpu=loong64 - languageName: node - linkType: hard - "@esbuild/linux-loong64@npm:0.18.16": version: 0.18.16 resolution: "@esbuild/linux-loong64@npm:0.18.16" @@ -1730,13 +1659,6 @@ __metadata: languageName: node linkType: hard -"@esbuild/linux-mips64el@npm:0.18.14": - version: 0.18.14 - resolution: "@esbuild/linux-mips64el@npm:0.18.14" - conditions: os=linux & cpu=mips64el - languageName: node - linkType: hard - "@esbuild/linux-mips64el@npm:0.18.16": version: 0.18.16 resolution: "@esbuild/linux-mips64el@npm:0.18.16" @@ -1751,13 +1673,6 @@ __metadata: languageName: node linkType: hard -"@esbuild/linux-ppc64@npm:0.18.14": - version: 0.18.14 - resolution: "@esbuild/linux-ppc64@npm:0.18.14" - conditions: os=linux & cpu=ppc64 - languageName: node - linkType: hard - "@esbuild/linux-ppc64@npm:0.18.16": version: 0.18.16 resolution: "@esbuild/linux-ppc64@npm:0.18.16" @@ -1772,13 +1687,6 @@ __metadata: languageName: node linkType: hard -"@esbuild/linux-riscv64@npm:0.18.14": - version: 0.18.14 - resolution: "@esbuild/linux-riscv64@npm:0.18.14" - conditions: os=linux & cpu=riscv64 - languageName: node - linkType: hard - "@esbuild/linux-riscv64@npm:0.18.16": version: 0.18.16 resolution: "@esbuild/linux-riscv64@npm:0.18.16" @@ -1793,13 +1701,6 @@ __metadata: languageName: node linkType: hard -"@esbuild/linux-s390x@npm:0.18.14": - version: 0.18.14 - resolution: "@esbuild/linux-s390x@npm:0.18.14" - conditions: os=linux & cpu=s390x - languageName: node - linkType: hard - "@esbuild/linux-s390x@npm:0.18.16": version: 0.18.16 resolution: "@esbuild/linux-s390x@npm:0.18.16" @@ -1814,13 +1715,6 @@ __metadata: languageName: node linkType: hard -"@esbuild/linux-x64@npm:0.18.14": - version: 0.18.14 - resolution: "@esbuild/linux-x64@npm:0.18.14" - conditions: os=linux & cpu=x64 - languageName: node - linkType: hard - "@esbuild/linux-x64@npm:0.18.16": version: 0.18.16 resolution: "@esbuild/linux-x64@npm:0.18.16" @@ -1835,13 +1729,6 @@ __metadata: languageName: node linkType: hard -"@esbuild/netbsd-x64@npm:0.18.14": - version: 0.18.14 - resolution: "@esbuild/netbsd-x64@npm:0.18.14" - conditions: os=netbsd & cpu=x64 - languageName: node - linkType: hard - "@esbuild/netbsd-x64@npm:0.18.16": version: 0.18.16 resolution: "@esbuild/netbsd-x64@npm:0.18.16" @@ -1856,13 +1743,6 @@ __metadata: languageName: node linkType: hard -"@esbuild/openbsd-x64@npm:0.18.14": - version: 0.18.14 - resolution: "@esbuild/openbsd-x64@npm:0.18.14" - conditions: os=openbsd & cpu=x64 - languageName: node - linkType: hard - "@esbuild/openbsd-x64@npm:0.18.16": version: 0.18.16 resolution: "@esbuild/openbsd-x64@npm:0.18.16" @@ -1877,13 +1757,6 @@ __metadata: languageName: node linkType: hard -"@esbuild/sunos-x64@npm:0.18.14": - version: 0.18.14 - resolution: "@esbuild/sunos-x64@npm:0.18.14" - conditions: os=sunos & cpu=x64 - languageName: node - linkType: hard - "@esbuild/sunos-x64@npm:0.18.16": version: 0.18.16 resolution: "@esbuild/sunos-x64@npm:0.18.16" @@ -1898,13 +1771,6 @@ __metadata: languageName: node linkType: hard -"@esbuild/win32-arm64@npm:0.18.14": - version: 0.18.14 - resolution: "@esbuild/win32-arm64@npm:0.18.14" - conditions: os=win32 & cpu=arm64 - languageName: node - linkType: hard - "@esbuild/win32-arm64@npm:0.18.16": version: 0.18.16 resolution: "@esbuild/win32-arm64@npm:0.18.16" @@ -1919,13 +1785,6 @@ __metadata: languageName: node linkType: hard -"@esbuild/win32-ia32@npm:0.18.14": - version: 0.18.14 - resolution: "@esbuild/win32-ia32@npm:0.18.14" - conditions: os=win32 & cpu=ia32 - languageName: node - linkType: hard - "@esbuild/win32-ia32@npm:0.18.16": version: 0.18.16 resolution: "@esbuild/win32-ia32@npm:0.18.16" @@ -1940,13 +1799,6 @@ __metadata: languageName: node linkType: hard -"@esbuild/win32-x64@npm:0.18.14": - version: 0.18.14 - resolution: "@esbuild/win32-x64@npm:0.18.14" - conditions: os=win32 & cpu=x64 - languageName: node - linkType: hard - "@esbuild/win32-x64@npm:0.18.16": version: 0.18.16 resolution: "@esbuild/win32-x64@npm:0.18.16" @@ -1965,45 +1817,14 @@ __metadata: languageName: node linkType: hard -"@eslint-community/regexpp@npm:^4.4.0": - version: 4.5.1 - resolution: "@eslint-community/regexpp@npm:4.5.1" - checksum: 6d901166d64998d591fab4db1c2f872981ccd5f6fe066a1ad0a93d4e11855ecae6bfb76660869a469563e8882d4307228cebd41142adb409d182f2966771e57e - languageName: node - linkType: hard - -"@eslint-community/regexpp@npm:^4.5.1": - version: 4.6.0 - resolution: "@eslint-community/regexpp@npm:4.6.0" - checksum: 7517bf490970bcc6be4d793b202ec5a8d525078dd817454b832669e79d6cdd3af25068563410b0c3d861891ccbf7e03626a575e6fec6a2eac7ae4fd5b0223e0f - languageName: node - linkType: hard - -"@eslint-community/regexpp@npm:^4.6.1": +"@eslint-community/regexpp@npm:^4.4.0, @eslint-community/regexpp@npm:^4.5.1, @eslint-community/regexpp@npm:^4.6.1": version: 4.6.2 resolution: "@eslint-community/regexpp@npm:4.6.2" checksum: a3c341377b46b54fa228f455771b901d1a2717f95d47dcdf40199df30abc000ba020f747f114f08560d119e979d882a94cf46cfc51744544d54b00319c0f2724 languageName: node linkType: hard -"@eslint/eslintrc@npm:^2.1.0": - version: 2.1.0 - resolution: "@eslint/eslintrc@npm:2.1.0" - dependencies: - ajv: ^6.12.4 - debug: ^4.3.2 - espree: ^9.6.0 - globals: ^13.19.0 - ignore: ^5.2.0 - import-fresh: ^3.2.1 - js-yaml: ^4.1.0 - minimatch: ^3.1.2 - strip-json-comments: ^3.1.1 - checksum: d5ed0adbe23f6571d8c9bb0ca6edf7618dc6aed4046aa56df7139f65ae7b578874e0d9c796df784c25bda648ceb754b6320277d828c8b004876d7443b8dc018c - languageName: node - linkType: hard - -"@eslint/eslintrc@npm:^2.1.2": +"@eslint/eslintrc@npm:^2.1.0, @eslint/eslintrc@npm:^2.1.2": version: 2.1.2 resolution: "@eslint/eslintrc@npm:2.1.2" dependencies: @@ -2299,6 +2120,13 @@ __metadata: languageName: node linkType: hard +"@msgpack/msgpack@npm:^3.0.0-beta2": + version: 3.0.0-beta2 + resolution: "@msgpack/msgpack@npm:3.0.0-beta2" + checksum: d86e5d48146051952d6bea35a6cf733a401cf65ad5614d79689aa48c7076021737ca2c782978dd1b6c0c9c45888b246e379e45ae906179e3a0e8ef4ee6f221c1 + languageName: node + linkType: hard + "@next/env@npm:13.4.19": version: 13.4.19 resolution: "@next/env@npm:13.4.19" @@ -4397,12 +4225,12 @@ __metadata: languageName: node linkType: hard -"@trpc/client@npm:^10.35.0": - version: 10.35.0 - resolution: "@trpc/client@npm:10.35.0" +"@trpc/client@npm:^10.38.1": + version: 10.38.1 + resolution: "@trpc/client@npm:10.38.1" peerDependencies: - "@trpc/server": 10.35.0 - checksum: 907784dc40e11ead63f7bc6ad387614b2f320c6efb58080eb890bcf60807c8371f416dc765e25d47c215520858efd4d7e051d6f67c4d99e0ee76264261a197c1 + "@trpc/server": 10.38.1 + checksum: b37dab8703582913411a24400c361f019a1f24b3304e77ad3b4c6d700b3aa5e43b8cd2b83e2cd463ccbe12ae45ef42e186c01bbd85b940871adfd05e31553797 languageName: node linkType: hard @@ -4632,7 +4460,14 @@ __metadata: languageName: node linkType: hard -"@types/node@npm:*, @types/node@npm:20.4.2": +"@types/node@npm:*, @types/node@npm:^20.5.1": + version: 20.5.1 + resolution: "@types/node@npm:20.5.1" + checksum: 3dbe611cd67afa987102c8558ee70f848949c5dcfee5f60abc073e55c0d7b048e391bf06bb1e0dc052cb7210ca97136ac496cbaf6e89123c989de6bd125fde82 + languageName: node + linkType: hard + +"@types/node@npm:20.4.2": version: 20.4.2 resolution: "@types/node@npm:20.4.2" checksum: 99e544ea7560d51f01f95627fc40394c24a13da8f041121a0da13e4ef0a2aa332932eaf9a5e8d0e30d1c07106e96a183be392cbba62e8cf0bf6a085d5c0f4149 @@ -4646,13 +4481,6 @@ __metadata: languageName: node linkType: hard -"@types/node@npm:^20.5.1": - version: 20.5.1 - resolution: "@types/node@npm:20.5.1" - checksum: 3dbe611cd67afa987102c8558ee70f848949c5dcfee5f60abc073e55c0d7b048e391bf06bb1e0dc052cb7210ca97136ac496cbaf6e89123c989de6bd125fde82 - languageName: node - linkType: hard - "@types/progress-stream@npm:^2.0.2": version: 2.0.2 resolution: "@types/progress-stream@npm:2.0.2" @@ -4813,7 +4641,7 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/parser@npm:^5.4.2 || ^6.0.0": +"@typescript-eslint/parser@npm:^5.4.2 || ^6.0.0, @typescript-eslint/parser@npm:^6.1.0": version: 6.4.0 resolution: "@typescript-eslint/parser@npm:6.4.0" dependencies: @@ -4831,7 +4659,7 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/parser@npm:^6.1.0, @typescript-eslint/parser@npm:latest": +"@typescript-eslint/parser@npm:latest": version: 6.1.0 resolution: "@typescript-eslint/parser@npm:6.1.0" dependencies: @@ -5019,6 +4847,17 @@ __metadata: languageName: node linkType: hard +"@vitest/expect@npm:0.34.3": + version: 0.34.3 + resolution: "@vitest/expect@npm:0.34.3" + dependencies: + "@vitest/spy": 0.34.3 + "@vitest/utils": 0.34.3 + chai: ^4.3.7 + checksum: 79afaa37d2efb7bb5503332caf389860b2261f198dbe61557e8061262b628d18658e59eb51d1808ecd35fc59f4bb4d04c0e0f97a27c7db02584ab5b424147b8d + languageName: node + linkType: hard + "@vitest/runner@npm:0.33.0": version: 0.33.0 resolution: "@vitest/runner@npm:0.33.0" @@ -5030,6 +4869,17 @@ __metadata: languageName: node linkType: hard +"@vitest/runner@npm:0.34.3": + version: 0.34.3 + resolution: "@vitest/runner@npm:0.34.3" + dependencies: + "@vitest/utils": 0.34.3 + p-limit: ^4.0.0 + pathe: ^1.1.1 + checksum: 945580eaa58e8edbe29a64059bc2a524a9e85117b6d600fdb457cfe84cbfb81bf6d7e98e1227e7cb4e7399992c8fe8d83d0791d0385ff005dc1a4d9da125443b + languageName: node + linkType: hard + "@vitest/snapshot@npm:0.33.0": version: 0.33.0 resolution: "@vitest/snapshot@npm:0.33.0" @@ -5041,6 +4891,17 @@ __metadata: languageName: node linkType: hard +"@vitest/snapshot@npm:0.34.3": + version: 0.34.3 + resolution: "@vitest/snapshot@npm:0.34.3" + dependencies: + magic-string: ^0.30.1 + pathe: ^1.1.1 + pretty-format: ^29.5.0 + checksum: 234893e91a1efd4bdbbde047a68de40975e02ead8407724ce8ca4a24edf0fb2d725f8a3efceb104965388407b598faf22407aadfbf4164cc74b3cf1e0e9f4543 + languageName: node + linkType: hard + "@vitest/spy@npm:0.33.0": version: 0.33.0 resolution: "@vitest/spy@npm:0.33.0" @@ -5050,6 +4911,15 @@ __metadata: languageName: node linkType: hard +"@vitest/spy@npm:0.34.3": + version: 0.34.3 + resolution: "@vitest/spy@npm:0.34.3" + dependencies: + tinyspy: ^2.1.1 + checksum: a2b64b9c357a56ad2f2340ecd225ffe787e61afba4ffb24a6670aad3fc90ea2606ed48daa188ed62b3ef67d55c0259fda6b101143d6c91b58c9ac4298d8be4f9 + languageName: node + linkType: hard + "@vitest/utils@npm:0.33.0": version: 0.33.0 resolution: "@vitest/utils@npm:0.33.0" @@ -5061,6 +4931,17 @@ __metadata: languageName: node linkType: hard +"@vitest/utils@npm:0.34.3": + version: 0.34.3 + resolution: "@vitest/utils@npm:0.34.3" + dependencies: + diff-sequences: ^29.4.3 + loupe: ^2.3.6 + pretty-format: ^29.5.0 + checksum: aeb8ef7fd98b32cb6c403796880d0aa8f5411bbdb249bb23b3301a70e1b7d1ee025ddb204aae8c1db5756f6ac428c49ebbb8e2ed23ce185c8a659b67413efa85 + languageName: node + linkType: hard + "@xmldom/xmldom@npm:^0.8.8": version: 0.8.10 resolution: "@xmldom/xmldom@npm:0.8.10" @@ -5689,6 +5570,8 @@ __metadata: version: 0.0.0-use.local resolution: "bowser-desktop@workspace:desktop" dependencies: + "@bowser/components": "workspace:*" + "@bowser/prisma": "workspace:*" "@bowser/testing": "workspace:*" "@electron-forge/cli": ^6.4.1 "@electron-forge/maker-deb": ^6.4.1 @@ -5704,12 +5587,13 @@ __metadata: "@playwright/test": ^1.37.0 "@popperjs/core": ^2.11.8 "@radix-ui/react-alert-dialog": ^1.0.4 + "@radix-ui/react-dropdown-menu": ^2.0.5 "@sentry/electron": ^4.10.0 "@sentry/react": ^7.64.0 "@sentry/vite-plugin": ^2.7.0 "@tailwindcss/forms": ^0.5.4 "@tanstack/react-query": ^4.32.6 - "@trpc/client": ^10.35.0 + "@trpc/client": ^10.38.1 "@trpc/react-query": ^10.35.0 "@trpc/server": ^10.35.0 "@tsconfig/vite-react": ^2.0.0 @@ -5736,9 +5620,11 @@ __metadata: eslint-plugin-react: latest eslint-plugin-react-hooks: ^4.6.0 fast-xml-parser: ^4.2.7 + got: ^13.0.0 loglevel: ^1.8.1 loglevel-plugin-prefix: ^0.8.4 obs-websocket-js: ^5.0.3 + p-event: ^6.0.0 postcss: ^8.4.27 prettier: ^3.0.0 prettier-plugin-tailwindcss: ^0.4.1 @@ -5752,6 +5638,7 @@ __metadata: superjson: ^1.13.1 tailwindcss: ^3.3.3 typescript: ^5.1.6 + undici: ^5.23.0 utf-8-validate: ^6.0.3 uuid: ^9.0.0 vite: ^4.4.6 @@ -5776,6 +5663,7 @@ __metadata: "@types/dotenv-flow": ^3.2.0 "@typescript-eslint/eslint-plugin": latest "@typescript-eslint/parser": latest + dotenv: ^16.3.1 dotenv-flow: ^3.2.0 esbuild: ^0.18.16 eslint: latest @@ -7550,84 +7438,7 @@ __metadata: languageName: node linkType: hard -"esbuild@npm:^0.18.10": - version: 0.18.14 - resolution: "esbuild@npm:0.18.14" - dependencies: - "@esbuild/android-arm": 0.18.14 - "@esbuild/android-arm64": 0.18.14 - "@esbuild/android-x64": 0.18.14 - "@esbuild/darwin-arm64": 0.18.14 - "@esbuild/darwin-x64": 0.18.14 - "@esbuild/freebsd-arm64": 0.18.14 - "@esbuild/freebsd-x64": 0.18.14 - "@esbuild/linux-arm": 0.18.14 - "@esbuild/linux-arm64": 0.18.14 - "@esbuild/linux-ia32": 0.18.14 - "@esbuild/linux-loong64": 0.18.14 - "@esbuild/linux-mips64el": 0.18.14 - "@esbuild/linux-ppc64": 0.18.14 - "@esbuild/linux-riscv64": 0.18.14 - "@esbuild/linux-s390x": 0.18.14 - "@esbuild/linux-x64": 0.18.14 - "@esbuild/netbsd-x64": 0.18.14 - "@esbuild/openbsd-x64": 0.18.14 - "@esbuild/sunos-x64": 0.18.14 - "@esbuild/win32-arm64": 0.18.14 - "@esbuild/win32-ia32": 0.18.14 - "@esbuild/win32-x64": 0.18.14 - dependenciesMeta: - "@esbuild/android-arm": - optional: true - "@esbuild/android-arm64": - optional: true - "@esbuild/android-x64": - optional: true - "@esbuild/darwin-arm64": - optional: true - "@esbuild/darwin-x64": - optional: true - "@esbuild/freebsd-arm64": - optional: true - "@esbuild/freebsd-x64": - optional: true - "@esbuild/linux-arm": - optional: true - "@esbuild/linux-arm64": - optional: true - "@esbuild/linux-ia32": - optional: true - "@esbuild/linux-loong64": - optional: true - "@esbuild/linux-mips64el": - optional: true - "@esbuild/linux-ppc64": - optional: true - "@esbuild/linux-riscv64": - optional: true - "@esbuild/linux-s390x": - optional: true - "@esbuild/linux-x64": - optional: true - "@esbuild/netbsd-x64": - optional: true - "@esbuild/openbsd-x64": - optional: true - "@esbuild/sunos-x64": - optional: true - "@esbuild/win32-arm64": - optional: true - "@esbuild/win32-ia32": - optional: true - "@esbuild/win32-x64": - optional: true - bin: - esbuild: bin/esbuild - checksum: 1e07d4c269262a9c31f8c23e6d8d891e3ad3b62851b6c35651088d8e19a1be3f49fd09580be3154ba8253da1646f50099e78435dad4e38a14527721038785f77 - languageName: node - linkType: hard - -"esbuild@npm:^0.18.16": +"esbuild@npm:^0.18.10, esbuild@npm:^0.18.16": version: 0.18.16 resolution: "esbuild@npm:0.18.16" dependencies: @@ -7943,32 +7754,7 @@ __metadata: languageName: node linkType: hard -"eslint-plugin-react@npm:^7.31.7": - version: 7.32.2 - resolution: "eslint-plugin-react@npm:7.32.2" - dependencies: - array-includes: ^3.1.6 - array.prototype.flatmap: ^1.3.1 - array.prototype.tosorted: ^1.1.1 - doctrine: ^2.1.0 - estraverse: ^5.3.0 - jsx-ast-utils: ^2.4.1 || ^3.0.0 - minimatch: ^3.1.2 - object.entries: ^1.1.6 - object.fromentries: ^2.0.6 - object.hasown: ^1.1.2 - object.values: ^1.1.6 - prop-types: ^15.8.1 - resolve: ^2.0.0-next.4 - semver: ^6.3.0 - string.prototype.matchall: ^4.0.8 - peerDependencies: - eslint: ^3 || ^4 || ^5 || ^6 || ^7 || ^8 - checksum: 2232b3b8945aa50b7773919c15cd96892acf35d2f82503667a79e2f55def90f728ed4f0e496f0f157acbe1bd4397c5615b676ae7428fe84488a544ca53feb944 - languageName: node - linkType: hard - -"eslint-plugin-react@npm:latest": +"eslint-plugin-react@npm:^7.31.7, eslint-plugin-react@npm:latest": version: 7.33.0 resolution: "eslint-plugin-react@npm:7.33.0" dependencies: @@ -7993,17 +7779,7 @@ __metadata: languageName: node linkType: hard -"eslint-scope@npm:^7.2.0": - version: 7.2.1 - resolution: "eslint-scope@npm:7.2.1" - dependencies: - esrecurse: ^4.3.0 - estraverse: ^5.2.0 - checksum: dccda5c8909216f6261969b72c77b95e385f9086bed4bc09d8a6276df8439d8f986810fd9ac3bd02c94c0572cefc7fdbeae392c69df2e60712ab8263986522c5 - languageName: node - linkType: hard - -"eslint-scope@npm:^7.2.2": +"eslint-scope@npm:^7.2.0, eslint-scope@npm:^7.2.2": version: 7.2.2 resolution: "eslint-scope@npm:7.2.2" dependencies: @@ -8013,21 +7789,14 @@ __metadata: languageName: node linkType: hard -"eslint-visitor-keys@npm:^3.3.0, eslint-visitor-keys@npm:^3.4.1": - version: 3.4.1 - resolution: "eslint-visitor-keys@npm:3.4.1" - checksum: f05121d868202736b97de7d750847a328fcfa8593b031c95ea89425333db59676ac087fa905eba438d0a3c5769632f828187e0c1a0d271832a2153c1d3661c2c - languageName: node - linkType: hard - -"eslint-visitor-keys@npm:^3.4.3": +"eslint-visitor-keys@npm:^3.3.0, eslint-visitor-keys@npm:^3.4.1, eslint-visitor-keys@npm:^3.4.3": version: 3.4.3 resolution: "eslint-visitor-keys@npm:3.4.3" checksum: 36e9ef87fca698b6fd7ca5ca35d7b2b6eeaaf106572e2f7fd31c12d3bfdaccdb587bba6d3621067e5aece31c8c3a348b93922ab8f7b2cbc6aaab5e1d89040c60 languageName: node linkType: hard -"eslint@npm:8.45.0, eslint@npm:^8.45.0": +"eslint@npm:8.45.0": version: 8.45.0 resolution: "eslint@npm:8.45.0" dependencies: @@ -8074,7 +7843,7 @@ __metadata: languageName: node linkType: hard -"eslint@npm:latest": +"eslint@npm:^8.45.0, eslint@npm:latest": version: 8.47.0 resolution: "eslint@npm:8.47.0" dependencies: @@ -8185,7 +7954,7 @@ __metadata: languageName: node linkType: hard -"execa@npm:7.2.0": +"execa@npm:7.2.0, execa@npm:^7.1.1": version: 7.2.0 resolution: "execa@npm:7.2.0" dependencies: @@ -8234,23 +8003,6 @@ __metadata: languageName: node linkType: hard -"execa@npm:^7.1.1": - version: 7.1.1 - resolution: "execa@npm:7.1.1" - dependencies: - cross-spawn: ^7.0.3 - get-stream: ^6.0.1 - human-signals: ^4.3.0 - is-stream: ^3.0.0 - merge-stream: ^2.0.0 - npm-run-path: ^5.1.0 - onetime: ^6.0.0 - signal-exit: ^3.0.7 - strip-final-newline: ^3.0.0 - checksum: 21fa46fc69314ace4068cf820142bdde5b643a5d89831c2c9349479c1555bff137a291b8e749e7efca36535e4e0a8c772c11008ca2e84d2cbd6ca141a3c8f937 - languageName: node - linkType: hard - "expand-tilde@npm:^2.0.0, expand-tilde@npm:^2.0.2": version: 2.0.2 resolution: "expand-tilde@npm:2.0.2" @@ -12737,17 +12489,7 @@ __metadata: languageName: node linkType: hard -"react-day-picker@npm:^8.8.0": - version: 8.8.0 - resolution: "react-day-picker@npm:8.8.0" - peerDependencies: - date-fns: ^2.28.0 - react: ^16.8.0 || ^17.0.0 || ^18.0.0 - checksum: c104b4ae44bad44183f6a273327aa1d00d23afe6f3860f8335eea2d06c0f64ea015ea7438655c79a5024a8db259ba5fa9431dbf92f03889120d0c2c00a28117f - languageName: node - linkType: hard - -"react-day-picker@npm:^8.8.1": +"react-day-picker@npm:^8.8.0, react-day-picker@npm:^8.8.1": version: 8.8.1 resolution: "react-day-picker@npm:8.8.1" peerDependencies: @@ -14356,6 +14098,13 @@ __metadata: languageName: node linkType: hard +"tinypool@npm:^0.7.0": + version: 0.7.0 + resolution: "tinypool@npm:0.7.0" + checksum: fdcccd5c750574fce51f8801a877f8284e145d12b79cd5f2d72bfbddfe20c895e915555bc848e122bb6aa968098e7ac4fe1e8e88104904d518dc01cccd18a510 + languageName: node + linkType: hard + "tinyspy@npm:^2.1.1": version: 2.1.1 resolution: "tinyspy@npm:2.1.1" @@ -14528,14 +14277,7 @@ __metadata: languageName: node linkType: hard -"tslib@npm:^2.0.0, tslib@npm:^2.1.0, tslib@npm:^2.3.1, tslib@npm:^2.4.0, tslib@npm:^2.5.0, tslib@npm:^2.6.0": - version: 2.6.0 - resolution: "tslib@npm:2.6.0" - checksum: c01066038f950016a18106ddeca4649b4d76caa76ec5a31e2a26e10586a59fceb4ee45e96719bf6c715648e7c14085a81fee5c62f7e9ebee68e77a5396e5538f - languageName: node - linkType: hard - -"tslib@npm:^2.4.1 || ^1.9.3": +"tslib@npm:^2.0.0, tslib@npm:^2.1.0, tslib@npm:^2.3.1, tslib@npm:^2.4.0, tslib@npm:^2.4.1 || ^1.9.3, tslib@npm:^2.5.0, tslib@npm:^2.6.0": version: 2.6.2 resolution: "tslib@npm:2.6.2" checksum: 329ea56123005922f39642318e3d1f0f8265d1e7fcb92c633e0809521da75eeaca28d2cf96d7248229deb40e5c19adf408259f4b9640afd20d13aecc1430f3ad @@ -15048,6 +14790,22 @@ __metadata: languageName: node linkType: hard +"vite-node@npm:0.34.3": + version: 0.34.3 + resolution: "vite-node@npm:0.34.3" + dependencies: + cac: ^6.7.14 + debug: ^4.3.4 + mlly: ^1.4.0 + pathe: ^1.1.1 + picocolors: ^1.0.0 + vite: ^3.0.0 || ^4.0.0 + bin: + vite-node: vite-node.mjs + checksum: 366c4f3fb7c038e2180abc6b18cfbac3b8684cd878eaf7ebf1ffb07d95d2ea325713fc575a7949a13bb00cfe264acbc28c02e2836b8647e1f443fe631c17805a + languageName: node + linkType: hard + "vite@npm:^3.0.0 || ^4.0.0, vite@npm:^4.1.1, vite@npm:^4.4.6": version: 4.4.6 resolution: "vite@npm:4.4.6" @@ -15148,6 +14906,66 @@ __metadata: languageName: node linkType: hard +"vitest@npm:^0.34.3": + version: 0.34.3 + resolution: "vitest@npm:0.34.3" + dependencies: + "@types/chai": ^4.3.5 + "@types/chai-subset": ^1.3.3 + "@types/node": "*" + "@vitest/expect": 0.34.3 + "@vitest/runner": 0.34.3 + "@vitest/snapshot": 0.34.3 + "@vitest/spy": 0.34.3 + "@vitest/utils": 0.34.3 + acorn: ^8.9.0 + acorn-walk: ^8.2.0 + cac: ^6.7.14 + chai: ^4.3.7 + debug: ^4.3.4 + local-pkg: ^0.4.3 + magic-string: ^0.30.1 + pathe: ^1.1.1 + picocolors: ^1.0.0 + std-env: ^3.3.3 + strip-literal: ^1.0.1 + tinybench: ^2.5.0 + tinypool: ^0.7.0 + vite: ^3.0.0 || ^4.0.0 + vite-node: 0.34.3 + why-is-node-running: ^2.2.2 + peerDependencies: + "@edge-runtime/vm": "*" + "@vitest/browser": "*" + "@vitest/ui": "*" + happy-dom: "*" + jsdom: "*" + playwright: "*" + safaridriver: "*" + webdriverio: "*" + peerDependenciesMeta: + "@edge-runtime/vm": + optional: true + "@vitest/browser": + optional: true + "@vitest/ui": + optional: true + happy-dom: + optional: true + jsdom: + optional: true + playwright: + optional: true + safaridriver: + optional: true + webdriverio: + optional: true + bin: + vitest: vitest.mjs + checksum: 4535d080feede94db5015eb60c6ed5f7b0d8cd67f12072de5ae1faded133cc640043c0c2646ef51ab9b61c2f885589da57458a65e82cf91a25cf954470018a40 + languageName: node + linkType: hard + "w3c-xmlserializer@npm:^4.0.0": version: 4.0.0 resolution: "w3c-xmlserializer@npm:4.0.0" @@ -15668,9 +15486,9 @@ __metadata: languageName: node linkType: hard -"zod@npm:3.21.4, zod@npm:^3.20.2, zod@npm:^3.21.1, zod@npm:^3.21.4": - version: 3.21.4 - resolution: "zod@npm:3.21.4" - checksum: f185ba87342ff16f7a06686767c2b2a7af41110c7edf7c1974095d8db7a73792696bcb4a00853de0d2edeb34a5b2ea6a55871bc864227dace682a0a28de33e1f +"zod@npm:<=3.21.1": + version: 3.21.1 + resolution: "zod@npm:3.21.1" + checksum: e02ed16b26e171f244fb7592177bef21b67956683aaed57bc8f02dfa5ad307d5cf347e9557c84c0849d96305efaf7c90c909620eaade08cfdf35f62935d741d2 languageName: node linkType: hard