@creeperhost/modlens-mcp 1.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +938 -0
- package/dist/access-flags.d.ts +58 -0
- package/dist/access-flags.d.ts.map +1 -0
- package/dist/access-flags.js +79 -0
- package/dist/access-flags.js.map +1 -0
- package/dist/access-flags.test.d.ts +2 -0
- package/dist/access-flags.test.d.ts.map +1 -0
- package/dist/access-flags.test.js +189 -0
- package/dist/access-flags.test.js.map +1 -0
- package/dist/batch-ingest.d.ts +2 -0
- package/dist/batch-ingest.d.ts.map +1 -0
- package/dist/batch-ingest.js +54 -0
- package/dist/batch-ingest.js.map +1 -0
- package/dist/batch-resolve-mixins.d.ts +2 -0
- package/dist/batch-resolve-mixins.d.ts.map +1 -0
- package/dist/batch-resolve-mixins.js +36 -0
- package/dist/batch-resolve-mixins.js.map +1 -0
- package/dist/cache.d.ts +16 -0
- package/dist/cache.d.ts.map +1 -0
- package/dist/cache.js +36 -0
- package/dist/cache.js.map +1 -0
- package/dist/cli.d.ts +2 -0
- package/dist/cli.d.ts.map +1 -0
- package/dist/cli.js +1318 -0
- package/dist/cli.js.map +1 -0
- package/dist/curseforge.d.ts +53 -0
- package/dist/curseforge.d.ts.map +1 -0
- package/dist/curseforge.js +104 -0
- package/dist/curseforge.js.map +1 -0
- package/dist/db-backend.d.ts +17 -0
- package/dist/db-backend.d.ts.map +1 -0
- package/dist/db-backend.js +40 -0
- package/dist/db-backend.js.map +1 -0
- package/dist/db.d.ts +11 -0
- package/dist/db.d.ts.map +1 -0
- package/dist/db.js +55 -0
- package/dist/db.js.map +1 -0
- package/dist/embed-queue.d.ts +12 -0
- package/dist/embed-queue.d.ts.map +1 -0
- package/dist/embed-queue.js +103 -0
- package/dist/embed-queue.js.map +1 -0
- package/dist/embeddings.d.ts +21 -0
- package/dist/embeddings.d.ts.map +1 -0
- package/dist/embeddings.js +55 -0
- package/dist/embeddings.js.map +1 -0
- package/dist/env-path.d.ts +19 -0
- package/dist/env-path.d.ts.map +1 -0
- package/dist/env-path.js +40 -0
- package/dist/env-path.js.map +1 -0
- package/dist/fetch-utils.d.ts +24 -0
- package/dist/fetch-utils.d.ts.map +1 -0
- package/dist/fetch-utils.js +73 -0
- package/dist/fetch-utils.js.map +1 -0
- package/dist/fetch-utils.test.d.ts +2 -0
- package/dist/fetch-utils.test.d.ts.map +1 -0
- package/dist/fetch-utils.test.js +133 -0
- package/dist/fetch-utils.test.js.map +1 -0
- package/dist/generated/sqlite/browser.d.ts +55 -0
- package/dist/generated/sqlite/browser.d.ts.map +1 -0
- package/dist/generated/sqlite/browser.js +18 -0
- package/dist/generated/sqlite/browser.js.map +1 -0
- package/dist/generated/sqlite/client.d.ts +72 -0
- package/dist/generated/sqlite/client.d.ts.map +1 -0
- package/dist/generated/sqlite/client.js +33 -0
- package/dist/generated/sqlite/client.js.map +1 -0
- package/dist/generated/sqlite/commonInputTypes.d.ts +387 -0
- package/dist/generated/sqlite/commonInputTypes.d.ts.map +1 -0
- package/dist/generated/sqlite/commonInputTypes.js +11 -0
- package/dist/generated/sqlite/commonInputTypes.js.map +1 -0
- package/dist/generated/sqlite/enums.d.ts +2 -0
- package/dist/generated/sqlite/enums.d.ts.map +1 -0
- package/dist/generated/sqlite/enums.js +11 -0
- package/dist/generated/sqlite/enums.js.map +1 -0
- package/dist/generated/sqlite/internal/class.d.ts +226 -0
- package/dist/generated/sqlite/internal/class.d.ts.map +1 -0
- package/dist/generated/sqlite/internal/class.js +84 -0
- package/dist/generated/sqlite/internal/class.js.map +1 -0
- package/dist/generated/sqlite/internal/prismaNamespace.d.ts +1344 -0
- package/dist/generated/sqlite/internal/prismaNamespace.d.ts.map +1 -0
- package/dist/generated/sqlite/internal/prismaNamespace.js +220 -0
- package/dist/generated/sqlite/internal/prismaNamespace.js.map +1 -0
- package/dist/generated/sqlite/internal/prismaNamespaceBrowser.d.ts +204 -0
- package/dist/generated/sqlite/internal/prismaNamespaceBrowser.d.ts.map +1 -0
- package/dist/generated/sqlite/internal/prismaNamespaceBrowser.js +191 -0
- package/dist/generated/sqlite/internal/prismaNamespaceBrowser.js.map +1 -0
- package/dist/generated/sqlite/models/DocEntry.d.ts +1223 -0
- package/dist/generated/sqlite/models/DocEntry.d.ts.map +1 -0
- package/dist/generated/sqlite/models/DocEntry.js +2 -0
- package/dist/generated/sqlite/models/DocEntry.js.map +1 -0
- package/dist/generated/sqlite/models/McSourceFile.d.ts +1289 -0
- package/dist/generated/sqlite/models/McSourceFile.d.ts.map +1 -0
- package/dist/generated/sqlite/models/McSourceFile.js +2 -0
- package/dist/generated/sqlite/models/McSourceFile.js.map +1 -0
- package/dist/generated/sqlite/models/McVersion.d.ts +1315 -0
- package/dist/generated/sqlite/models/McVersion.d.ts.map +1 -0
- package/dist/generated/sqlite/models/McVersion.js +2 -0
- package/dist/generated/sqlite/models/McVersion.js.map +1 -0
- package/dist/generated/sqlite/models/McVersionDiff.d.ts +1061 -0
- package/dist/generated/sqlite/models/McVersionDiff.d.ts.map +1 -0
- package/dist/generated/sqlite/models/McVersionDiff.js +2 -0
- package/dist/generated/sqlite/models/McVersionDiff.js.map +1 -0
- package/dist/generated/sqlite/models/Mod.d.ts +2396 -0
- package/dist/generated/sqlite/models/Mod.d.ts.map +1 -0
- package/dist/generated/sqlite/models/Mod.js +2 -0
- package/dist/generated/sqlite/models/Mod.js.map +1 -0
- package/dist/generated/sqlite/models/ModClass.d.ts +1254 -0
- package/dist/generated/sqlite/models/ModClass.d.ts.map +1 -0
- package/dist/generated/sqlite/models/ModClass.js +2 -0
- package/dist/generated/sqlite/models/ModClass.js.map +1 -0
- package/dist/generated/sqlite/models/ModSourceFile.d.ts +1283 -0
- package/dist/generated/sqlite/models/ModSourceFile.d.ts.map +1 -0
- package/dist/generated/sqlite/models/ModSourceFile.js +2 -0
- package/dist/generated/sqlite/models/ModSourceFile.js.map +1 -0
- package/dist/generated/sqlite/models/ModTag.d.ts +1278 -0
- package/dist/generated/sqlite/models/ModTag.d.ts.map +1 -0
- package/dist/generated/sqlite/models/ModTag.js +2 -0
- package/dist/generated/sqlite/models/ModTag.js.map +1 -0
- package/dist/generated/sqlite/models/ModVersionDiff.d.ts +1073 -0
- package/dist/generated/sqlite/models/ModVersionDiff.d.ts.map +1 -0
- package/dist/generated/sqlite/models/ModVersionDiff.js +2 -0
- package/dist/generated/sqlite/models/ModVersionDiff.js.map +1 -0
- package/dist/generated/sqlite/models/Primer.d.ts +1319 -0
- package/dist/generated/sqlite/models/Primer.d.ts.map +1 -0
- package/dist/generated/sqlite/models/Primer.js +2 -0
- package/dist/generated/sqlite/models/Primer.js.map +1 -0
- package/dist/generated/sqlite/models.d.ts +12 -0
- package/dist/generated/sqlite/models.d.ts.map +1 -0
- package/dist/generated/sqlite/models.js +2 -0
- package/dist/generated/sqlite/models.js.map +1 -0
- package/dist/jar.d.ts +7 -0
- package/dist/jar.d.ts.map +1 -0
- package/dist/jar.js +52 -0
- package/dist/jar.js.map +1 -0
- package/dist/java-tools.d.ts +46 -0
- package/dist/java-tools.d.ts.map +1 -0
- package/dist/java-tools.js +263 -0
- package/dist/java-tools.js.map +1 -0
- package/dist/launcher.d.ts +3 -0
- package/dist/launcher.d.ts.map +1 -0
- package/dist/launcher.js +105 -0
- package/dist/launcher.js.map +1 -0
- package/dist/mappings.d.ts +95 -0
- package/dist/mappings.d.ts.map +1 -0
- package/dist/mappings.js +1094 -0
- package/dist/mappings.js.map +1 -0
- package/dist/mappings.test.d.ts +2 -0
- package/dist/mappings.test.d.ts.map +1 -0
- package/dist/mappings.test.js +161 -0
- package/dist/mappings.test.js.map +1 -0
- package/dist/minecraft.d.ts +21 -0
- package/dist/minecraft.d.ts.map +1 -0
- package/dist/minecraft.js +70 -0
- package/dist/minecraft.js.map +1 -0
- package/dist/modpacks-ch.d.ts +224 -0
- package/dist/modpacks-ch.d.ts.map +1 -0
- package/dist/modpacks-ch.js +146 -0
- package/dist/modpacks-ch.js.map +1 -0
- package/dist/modrinth.d.ts +67 -0
- package/dist/modrinth.d.ts.map +1 -0
- package/dist/modrinth.js +88 -0
- package/dist/modrinth.js.map +1 -0
- package/dist/platform-adapter.d.ts +23 -0
- package/dist/platform-adapter.d.ts.map +1 -0
- package/dist/platform-adapter.js +2 -0
- package/dist/platform-adapter.js.map +1 -0
- package/dist/platform.d.ts +47 -0
- package/dist/platform.d.ts.map +1 -0
- package/dist/platform.js +175 -0
- package/dist/platform.js.map +1 -0
- package/dist/processor.d.ts +51 -0
- package/dist/processor.d.ts.map +1 -0
- package/dist/processor.js +655 -0
- package/dist/processor.js.map +1 -0
- package/dist/processor.test.d.ts +2 -0
- package/dist/processor.test.d.ts.map +1 -0
- package/dist/processor.test.js +629 -0
- package/dist/processor.test.js.map +1 -0
- package/dist/repositories/embeddings-sqlite.d.ts +38 -0
- package/dist/repositories/embeddings-sqlite.d.ts.map +1 -0
- package/dist/repositories/embeddings-sqlite.js +208 -0
- package/dist/repositories/embeddings-sqlite.js.map +1 -0
- package/dist/repositories/embeddings.d.ts +40 -0
- package/dist/repositories/embeddings.d.ts.map +1 -0
- package/dist/repositories/embeddings.js +136 -0
- package/dist/repositories/embeddings.js.map +1 -0
- package/dist/repositories/index.d.ts +2 -0
- package/dist/repositories/index.d.ts.map +1 -0
- package/dist/repositories/index.js +15 -0
- package/dist/repositories/index.js.map +1 -0
- package/dist/repositories/mcVersion.d.ts +16 -0
- package/dist/repositories/mcVersion.d.ts.map +1 -0
- package/dist/repositories/mcVersion.js +52 -0
- package/dist/repositories/mcVersion.js.map +1 -0
- package/dist/repositories/mod.d.ts +241 -0
- package/dist/repositories/mod.d.ts.map +1 -0
- package/dist/repositories/mod.js +342 -0
- package/dist/repositories/mod.js.map +1 -0
- package/dist/repositories/packs.d.ts +44 -0
- package/dist/repositories/packs.d.ts.map +1 -0
- package/dist/repositories/packs.js +138 -0
- package/dist/repositories/packs.js.map +1 -0
- package/dist/search-adapter.d.ts +34 -0
- package/dist/search-adapter.d.ts.map +1 -0
- package/dist/search-adapter.js +195 -0
- package/dist/search-adapter.js.map +1 -0
- package/dist/search.d.ts +6 -0
- package/dist/search.d.ts.map +1 -0
- package/dist/search.js +54 -0
- package/dist/search.js.map +1 -0
- package/dist/search.test.d.ts +2 -0
- package/dist/search.test.d.ts.map +1 -0
- package/dist/search.test.js +71 -0
- package/dist/search.test.js.map +1 -0
- package/dist/security.d.ts +98 -0
- package/dist/security.d.ts.map +1 -0
- package/dist/security.js +446 -0
- package/dist/security.js.map +1 -0
- package/dist/security.test.d.ts +2 -0
- package/dist/security.test.d.ts.map +1 -0
- package/dist/security.test.js +687 -0
- package/dist/security.test.js.map +1 -0
- package/dist/server.d.ts +2 -0
- package/dist/server.d.ts.map +1 -0
- package/dist/server.js +1465 -0
- package/dist/server.js.map +1 -0
- package/dist/setup.d.ts +2 -0
- package/dist/setup.d.ts.map +1 -0
- package/dist/setup.js +1113 -0
- package/dist/setup.js.map +1 -0
- package/dist/tools/bytecode.d.ts +129 -0
- package/dist/tools/bytecode.d.ts.map +1 -0
- package/dist/tools/bytecode.js +679 -0
- package/dist/tools/bytecode.js.map +1 -0
- package/dist/tools/catalog.d.ts +54 -0
- package/dist/tools/catalog.d.ts.map +1 -0
- package/dist/tools/catalog.js +249 -0
- package/dist/tools/catalog.js.map +1 -0
- package/dist/tools/compat-check.d.ts +23 -0
- package/dist/tools/compat-check.d.ts.map +1 -0
- package/dist/tools/compat-check.js +250 -0
- package/dist/tools/compat-check.js.map +1 -0
- package/dist/tools/compat-check.test.d.ts +2 -0
- package/dist/tools/compat-check.test.d.ts.map +1 -0
- package/dist/tools/compat-check.test.js +179 -0
- package/dist/tools/compat-check.test.js.map +1 -0
- package/dist/tools/diagnostics.d.ts +10 -0
- package/dist/tools/diagnostics.d.ts.map +1 -0
- package/dist/tools/diagnostics.js +133 -0
- package/dist/tools/diagnostics.js.map +1 -0
- package/dist/tools/diagnostics.test.d.ts +2 -0
- package/dist/tools/diagnostics.test.d.ts.map +1 -0
- package/dist/tools/diagnostics.test.js +168 -0
- package/dist/tools/diagnostics.test.js.map +1 -0
- package/dist/tools/docs.d.ts +19 -0
- package/dist/tools/docs.d.ts.map +1 -0
- package/dist/tools/docs.js +230 -0
- package/dist/tools/docs.js.map +1 -0
- package/dist/tools/embed-registry.d.ts +125 -0
- package/dist/tools/embed-registry.d.ts.map +1 -0
- package/dist/tools/embed-registry.js +560 -0
- package/dist/tools/embed-registry.js.map +1 -0
- package/dist/tools/gradle.d.ts +16 -0
- package/dist/tools/gradle.d.ts.map +1 -0
- package/dist/tools/gradle.js +182 -0
- package/dist/tools/gradle.js.map +1 -0
- package/dist/tools/graphify.d.ts +144 -0
- package/dist/tools/graphify.d.ts.map +1 -0
- package/dist/tools/graphify.js +798 -0
- package/dist/tools/graphify.js.map +1 -0
- package/dist/tools/graphify.test.d.ts +2 -0
- package/dist/tools/graphify.test.d.ts.map +1 -0
- package/dist/tools/graphify.test.js +39 -0
- package/dist/tools/graphify.test.js.map +1 -0
- package/dist/tools/ingest.d.ts +85 -0
- package/dist/tools/ingest.d.ts.map +1 -0
- package/dist/tools/ingest.js +477 -0
- package/dist/tools/ingest.js.map +1 -0
- package/dist/tools/ingest.test.d.ts +2 -0
- package/dist/tools/ingest.test.d.ts.map +1 -0
- package/dist/tools/ingest.test.js +340 -0
- package/dist/tools/ingest.test.js.map +1 -0
- package/dist/tools/kubejs.d.ts +37 -0
- package/dist/tools/kubejs.d.ts.map +1 -0
- package/dist/tools/kubejs.js +245 -0
- package/dist/tools/kubejs.js.map +1 -0
- package/dist/tools/mappings.d.ts +17 -0
- package/dist/tools/mappings.d.ts.map +1 -0
- package/dist/tools/mappings.js +85 -0
- package/dist/tools/mappings.js.map +1 -0
- package/dist/tools/mc-fts.d.ts +101 -0
- package/dist/tools/mc-fts.d.ts.map +1 -0
- package/dist/tools/mc-fts.js +279 -0
- package/dist/tools/mc-fts.js.map +1 -0
- package/dist/tools/mcmeta.d.ts +41 -0
- package/dist/tools/mcmeta.d.ts.map +1 -0
- package/dist/tools/mcmeta.js +365 -0
- package/dist/tools/mcmeta.js.map +1 -0
- package/dist/tools/mixin-scan.d.ts +113 -0
- package/dist/tools/mixin-scan.d.ts.map +1 -0
- package/dist/tools/mixin-scan.js +433 -0
- package/dist/tools/mixin-scan.js.map +1 -0
- package/dist/tools/mod-data.d.ts +83 -0
- package/dist/tools/mod-data.d.ts.map +1 -0
- package/dist/tools/mod-data.js +630 -0
- package/dist/tools/mod-data.js.map +1 -0
- package/dist/tools/mod-tags.d.ts +59 -0
- package/dist/tools/mod-tags.d.ts.map +1 -0
- package/dist/tools/mod-tags.js +279 -0
- package/dist/tools/mod-tags.js.map +1 -0
- package/dist/tools/mod-tags.test.d.ts +2 -0
- package/dist/tools/mod-tags.test.d.ts.map +1 -0
- package/dist/tools/mod-tags.test.js +75 -0
- package/dist/tools/mod-tags.test.js.map +1 -0
- package/dist/tools/modpacks-ch.d.ts +257 -0
- package/dist/tools/modpacks-ch.d.ts.map +1 -0
- package/dist/tools/modpacks-ch.js +516 -0
- package/dist/tools/modpacks-ch.js.map +1 -0
- package/dist/tools/packtools.d.ts +113 -0
- package/dist/tools/packtools.d.ts.map +1 -0
- package/dist/tools/packtools.js +809 -0
- package/dist/tools/packtools.js.map +1 -0
- package/dist/tools/packtools.test.d.ts +2 -0
- package/dist/tools/packtools.test.d.ts.map +1 -0
- package/dist/tools/packtools.test.js +99 -0
- package/dist/tools/packtools.test.js.map +1 -0
- package/dist/tools/platform.d.ts +68 -0
- package/dist/tools/platform.d.ts.map +1 -0
- package/dist/tools/platform.js +452 -0
- package/dist/tools/platform.js.map +1 -0
- package/dist/tools/primers.d.ts +36 -0
- package/dist/tools/primers.d.ts.map +1 -0
- package/dist/tools/primers.js +451 -0
- package/dist/tools/primers.js.map +1 -0
- package/dist/tools/reports.d.ts +19 -0
- package/dist/tools/reports.d.ts.map +1 -0
- package/dist/tools/reports.js +573 -0
- package/dist/tools/reports.js.map +1 -0
- package/dist/tools/source.d.ts +10 -0
- package/dist/tools/source.d.ts.map +1 -0
- package/dist/tools/source.js +101 -0
- package/dist/tools/source.js.map +1 -0
- package/dist/tools/vanilla-data.d.ts +127 -0
- package/dist/tools/vanilla-data.d.ts.map +1 -0
- package/dist/tools/vanilla-data.js +824 -0
- package/dist/tools/vanilla-data.js.map +1 -0
- package/dist/tools/vanilla.d.ts +171 -0
- package/dist/tools/vanilla.d.ts.map +1 -0
- package/dist/tools/vanilla.js +612 -0
- package/dist/tools/vanilla.js.map +1 -0
- package/dist/tools/version-diff.d.ts +113 -0
- package/dist/tools/version-diff.d.ts.map +1 -0
- package/dist/tools/version-diff.js +519 -0
- package/dist/tools/version-diff.js.map +1 -0
- package/dist/tools/version-diff.test.d.ts +2 -0
- package/dist/tools/version-diff.test.d.ts.map +1 -0
- package/dist/tools/version-diff.test.js +102 -0
- package/dist/tools/version-diff.test.js.map +1 -0
- package/dist/validate.d.ts +19 -0
- package/dist/validate.d.ts.map +1 -0
- package/dist/validate.js +54 -0
- package/dist/validate.js.map +1 -0
- package/dist/validate.test.d.ts +2 -0
- package/dist/validate.test.d.ts.map +1 -0
- package/dist/validate.test.js +73 -0
- package/dist/validate.test.js.map +1 -0
- package/package.json +62 -0
- package/prisma/backends/schema.sqlite.prisma +215 -0
- package/prisma/backends/template.db +0 -0
- package/prisma/schema.prisma +303 -0
- package/scripts/backup.mjs +151 -0
- package/scripts/build-template-db.mjs +38 -0
- package/scripts/check-atm10.mjs +27 -0
- package/scripts/check-sync.mjs +13 -0
- package/scripts/create-fts-index.mjs +50 -0
- package/scripts/enable-pgvector.mjs +90 -0
- package/scripts/enable-sqlite-vec.mjs +158 -0
- package/scripts/migrate-backend.mjs +188 -0
- package/scripts/migrate-embed-provenance.mjs +80 -0
- package/scripts/migrate-metadata-source.mjs +62 -0
- package/scripts/migrate-mod-source-files.mjs +67 -0
- package/scripts/post-update.mjs +77 -0
- package/scripts/verify-atm10.mjs +63 -0
|
@@ -0,0 +1,1289 @@
|
|
|
1
|
+
import type * as runtime from "@prisma/client/runtime/client";
|
|
2
|
+
import type * as Prisma from "../internal/prismaNamespace.js";
|
|
3
|
+
/**
|
|
4
|
+
* Model McSourceFile
|
|
5
|
+
*
|
|
6
|
+
*/
|
|
7
|
+
export type McSourceFileModel = runtime.Types.Result.DefaultSelection<Prisma.$McSourceFilePayload>;
|
|
8
|
+
export type AggregateMcSourceFile = {
|
|
9
|
+
_count: McSourceFileCountAggregateOutputType | null;
|
|
10
|
+
_avg: McSourceFileAvgAggregateOutputType | null;
|
|
11
|
+
_sum: McSourceFileSumAggregateOutputType | null;
|
|
12
|
+
_min: McSourceFileMinAggregateOutputType | null;
|
|
13
|
+
_max: McSourceFileMaxAggregateOutputType | null;
|
|
14
|
+
};
|
|
15
|
+
export type McSourceFileAvgAggregateOutputType = {
|
|
16
|
+
id: number | null;
|
|
17
|
+
mcVersionId: number | null;
|
|
18
|
+
};
|
|
19
|
+
export type McSourceFileSumAggregateOutputType = {
|
|
20
|
+
id: number | null;
|
|
21
|
+
mcVersionId: number | null;
|
|
22
|
+
};
|
|
23
|
+
export type McSourceFileMinAggregateOutputType = {
|
|
24
|
+
id: number | null;
|
|
25
|
+
mcVersionId: number | null;
|
|
26
|
+
className: string | null;
|
|
27
|
+
content: string | null;
|
|
28
|
+
embedding: runtime.Bytes | null;
|
|
29
|
+
embedSource: string | null;
|
|
30
|
+
embedUpdatedAt: Date | null;
|
|
31
|
+
};
|
|
32
|
+
export type McSourceFileMaxAggregateOutputType = {
|
|
33
|
+
id: number | null;
|
|
34
|
+
mcVersionId: number | null;
|
|
35
|
+
className: string | null;
|
|
36
|
+
content: string | null;
|
|
37
|
+
embedding: runtime.Bytes | null;
|
|
38
|
+
embedSource: string | null;
|
|
39
|
+
embedUpdatedAt: Date | null;
|
|
40
|
+
};
|
|
41
|
+
export type McSourceFileCountAggregateOutputType = {
|
|
42
|
+
id: number;
|
|
43
|
+
mcVersionId: number;
|
|
44
|
+
className: number;
|
|
45
|
+
content: number;
|
|
46
|
+
embedding: number;
|
|
47
|
+
embedSource: number;
|
|
48
|
+
embedUpdatedAt: number;
|
|
49
|
+
_all: number;
|
|
50
|
+
};
|
|
51
|
+
export type McSourceFileAvgAggregateInputType = {
|
|
52
|
+
id?: true;
|
|
53
|
+
mcVersionId?: true;
|
|
54
|
+
};
|
|
55
|
+
export type McSourceFileSumAggregateInputType = {
|
|
56
|
+
id?: true;
|
|
57
|
+
mcVersionId?: true;
|
|
58
|
+
};
|
|
59
|
+
export type McSourceFileMinAggregateInputType = {
|
|
60
|
+
id?: true;
|
|
61
|
+
mcVersionId?: true;
|
|
62
|
+
className?: true;
|
|
63
|
+
content?: true;
|
|
64
|
+
embedding?: true;
|
|
65
|
+
embedSource?: true;
|
|
66
|
+
embedUpdatedAt?: true;
|
|
67
|
+
};
|
|
68
|
+
export type McSourceFileMaxAggregateInputType = {
|
|
69
|
+
id?: true;
|
|
70
|
+
mcVersionId?: true;
|
|
71
|
+
className?: true;
|
|
72
|
+
content?: true;
|
|
73
|
+
embedding?: true;
|
|
74
|
+
embedSource?: true;
|
|
75
|
+
embedUpdatedAt?: true;
|
|
76
|
+
};
|
|
77
|
+
export type McSourceFileCountAggregateInputType = {
|
|
78
|
+
id?: true;
|
|
79
|
+
mcVersionId?: true;
|
|
80
|
+
className?: true;
|
|
81
|
+
content?: true;
|
|
82
|
+
embedding?: true;
|
|
83
|
+
embedSource?: true;
|
|
84
|
+
embedUpdatedAt?: true;
|
|
85
|
+
_all?: true;
|
|
86
|
+
};
|
|
87
|
+
export type McSourceFileAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
88
|
+
/**
|
|
89
|
+
* Filter which McSourceFile to aggregate.
|
|
90
|
+
*/
|
|
91
|
+
where?: Prisma.McSourceFileWhereInput;
|
|
92
|
+
/**
|
|
93
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
94
|
+
*
|
|
95
|
+
* Determine the order of McSourceFiles to fetch.
|
|
96
|
+
*/
|
|
97
|
+
orderBy?: Prisma.McSourceFileOrderByWithRelationInput | Prisma.McSourceFileOrderByWithRelationInput[];
|
|
98
|
+
/**
|
|
99
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
100
|
+
*
|
|
101
|
+
* Sets the start position
|
|
102
|
+
*/
|
|
103
|
+
cursor?: Prisma.McSourceFileWhereUniqueInput;
|
|
104
|
+
/**
|
|
105
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
106
|
+
*
|
|
107
|
+
* Take `±n` McSourceFiles from the position of the cursor.
|
|
108
|
+
*/
|
|
109
|
+
take?: number;
|
|
110
|
+
/**
|
|
111
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
112
|
+
*
|
|
113
|
+
* Skip the first `n` McSourceFiles.
|
|
114
|
+
*/
|
|
115
|
+
skip?: number;
|
|
116
|
+
/**
|
|
117
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
118
|
+
*
|
|
119
|
+
* Count returned McSourceFiles
|
|
120
|
+
**/
|
|
121
|
+
_count?: true | McSourceFileCountAggregateInputType;
|
|
122
|
+
/**
|
|
123
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
124
|
+
*
|
|
125
|
+
* Select which fields to average
|
|
126
|
+
**/
|
|
127
|
+
_avg?: McSourceFileAvgAggregateInputType;
|
|
128
|
+
/**
|
|
129
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
130
|
+
*
|
|
131
|
+
* Select which fields to sum
|
|
132
|
+
**/
|
|
133
|
+
_sum?: McSourceFileSumAggregateInputType;
|
|
134
|
+
/**
|
|
135
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
136
|
+
*
|
|
137
|
+
* Select which fields to find the minimum value
|
|
138
|
+
**/
|
|
139
|
+
_min?: McSourceFileMinAggregateInputType;
|
|
140
|
+
/**
|
|
141
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
142
|
+
*
|
|
143
|
+
* Select which fields to find the maximum value
|
|
144
|
+
**/
|
|
145
|
+
_max?: McSourceFileMaxAggregateInputType;
|
|
146
|
+
};
|
|
147
|
+
export type GetMcSourceFileAggregateType<T extends McSourceFileAggregateArgs> = {
|
|
148
|
+
[P in keyof T & keyof AggregateMcSourceFile]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregateMcSourceFile[P]> : Prisma.GetScalarType<T[P], AggregateMcSourceFile[P]>;
|
|
149
|
+
};
|
|
150
|
+
export type McSourceFileGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
151
|
+
where?: Prisma.McSourceFileWhereInput;
|
|
152
|
+
orderBy?: Prisma.McSourceFileOrderByWithAggregationInput | Prisma.McSourceFileOrderByWithAggregationInput[];
|
|
153
|
+
by: Prisma.McSourceFileScalarFieldEnum[] | Prisma.McSourceFileScalarFieldEnum;
|
|
154
|
+
having?: Prisma.McSourceFileScalarWhereWithAggregatesInput;
|
|
155
|
+
take?: number;
|
|
156
|
+
skip?: number;
|
|
157
|
+
_count?: McSourceFileCountAggregateInputType | true;
|
|
158
|
+
_avg?: McSourceFileAvgAggregateInputType;
|
|
159
|
+
_sum?: McSourceFileSumAggregateInputType;
|
|
160
|
+
_min?: McSourceFileMinAggregateInputType;
|
|
161
|
+
_max?: McSourceFileMaxAggregateInputType;
|
|
162
|
+
};
|
|
163
|
+
export type McSourceFileGroupByOutputType = {
|
|
164
|
+
id: number;
|
|
165
|
+
mcVersionId: number;
|
|
166
|
+
className: string;
|
|
167
|
+
content: string;
|
|
168
|
+
embedding: runtime.Bytes | null;
|
|
169
|
+
embedSource: string | null;
|
|
170
|
+
embedUpdatedAt: Date | null;
|
|
171
|
+
_count: McSourceFileCountAggregateOutputType | null;
|
|
172
|
+
_avg: McSourceFileAvgAggregateOutputType | null;
|
|
173
|
+
_sum: McSourceFileSumAggregateOutputType | null;
|
|
174
|
+
_min: McSourceFileMinAggregateOutputType | null;
|
|
175
|
+
_max: McSourceFileMaxAggregateOutputType | null;
|
|
176
|
+
};
|
|
177
|
+
type GetMcSourceFileGroupByPayload<T extends McSourceFileGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<McSourceFileGroupByOutputType, T['by']> & {
|
|
178
|
+
[P in ((keyof T) & (keyof McSourceFileGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], McSourceFileGroupByOutputType[P]> : Prisma.GetScalarType<T[P], McSourceFileGroupByOutputType[P]>;
|
|
179
|
+
}>>;
|
|
180
|
+
export type McSourceFileWhereInput = {
|
|
181
|
+
AND?: Prisma.McSourceFileWhereInput | Prisma.McSourceFileWhereInput[];
|
|
182
|
+
OR?: Prisma.McSourceFileWhereInput[];
|
|
183
|
+
NOT?: Prisma.McSourceFileWhereInput | Prisma.McSourceFileWhereInput[];
|
|
184
|
+
id?: Prisma.IntFilter<"McSourceFile"> | number;
|
|
185
|
+
mcVersionId?: Prisma.IntFilter<"McSourceFile"> | number;
|
|
186
|
+
className?: Prisma.StringFilter<"McSourceFile"> | string;
|
|
187
|
+
content?: Prisma.StringFilter<"McSourceFile"> | string;
|
|
188
|
+
embedding?: Prisma.BytesNullableFilter<"McSourceFile"> | runtime.Bytes | null;
|
|
189
|
+
embedSource?: Prisma.StringNullableFilter<"McSourceFile"> | string | null;
|
|
190
|
+
embedUpdatedAt?: Prisma.DateTimeNullableFilter<"McSourceFile"> | Date | string | null;
|
|
191
|
+
mcVersion?: Prisma.XOR<Prisma.McVersionScalarRelationFilter, Prisma.McVersionWhereInput>;
|
|
192
|
+
};
|
|
193
|
+
export type McSourceFileOrderByWithRelationInput = {
|
|
194
|
+
id?: Prisma.SortOrder;
|
|
195
|
+
mcVersionId?: Prisma.SortOrder;
|
|
196
|
+
className?: Prisma.SortOrder;
|
|
197
|
+
content?: Prisma.SortOrder;
|
|
198
|
+
embedding?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
199
|
+
embedSource?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
200
|
+
embedUpdatedAt?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
201
|
+
mcVersion?: Prisma.McVersionOrderByWithRelationInput;
|
|
202
|
+
};
|
|
203
|
+
export type McSourceFileWhereUniqueInput = Prisma.AtLeast<{
|
|
204
|
+
id?: number;
|
|
205
|
+
mcVersionId_className?: Prisma.McSourceFileMcVersionIdClassNameCompoundUniqueInput;
|
|
206
|
+
AND?: Prisma.McSourceFileWhereInput | Prisma.McSourceFileWhereInput[];
|
|
207
|
+
OR?: Prisma.McSourceFileWhereInput[];
|
|
208
|
+
NOT?: Prisma.McSourceFileWhereInput | Prisma.McSourceFileWhereInput[];
|
|
209
|
+
mcVersionId?: Prisma.IntFilter<"McSourceFile"> | number;
|
|
210
|
+
className?: Prisma.StringFilter<"McSourceFile"> | string;
|
|
211
|
+
content?: Prisma.StringFilter<"McSourceFile"> | string;
|
|
212
|
+
embedding?: Prisma.BytesNullableFilter<"McSourceFile"> | runtime.Bytes | null;
|
|
213
|
+
embedSource?: Prisma.StringNullableFilter<"McSourceFile"> | string | null;
|
|
214
|
+
embedUpdatedAt?: Prisma.DateTimeNullableFilter<"McSourceFile"> | Date | string | null;
|
|
215
|
+
mcVersion?: Prisma.XOR<Prisma.McVersionScalarRelationFilter, Prisma.McVersionWhereInput>;
|
|
216
|
+
}, "id" | "mcVersionId_className">;
|
|
217
|
+
export type McSourceFileOrderByWithAggregationInput = {
|
|
218
|
+
id?: Prisma.SortOrder;
|
|
219
|
+
mcVersionId?: Prisma.SortOrder;
|
|
220
|
+
className?: Prisma.SortOrder;
|
|
221
|
+
content?: Prisma.SortOrder;
|
|
222
|
+
embedding?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
223
|
+
embedSource?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
224
|
+
embedUpdatedAt?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
225
|
+
_count?: Prisma.McSourceFileCountOrderByAggregateInput;
|
|
226
|
+
_avg?: Prisma.McSourceFileAvgOrderByAggregateInput;
|
|
227
|
+
_max?: Prisma.McSourceFileMaxOrderByAggregateInput;
|
|
228
|
+
_min?: Prisma.McSourceFileMinOrderByAggregateInput;
|
|
229
|
+
_sum?: Prisma.McSourceFileSumOrderByAggregateInput;
|
|
230
|
+
};
|
|
231
|
+
export type McSourceFileScalarWhereWithAggregatesInput = {
|
|
232
|
+
AND?: Prisma.McSourceFileScalarWhereWithAggregatesInput | Prisma.McSourceFileScalarWhereWithAggregatesInput[];
|
|
233
|
+
OR?: Prisma.McSourceFileScalarWhereWithAggregatesInput[];
|
|
234
|
+
NOT?: Prisma.McSourceFileScalarWhereWithAggregatesInput | Prisma.McSourceFileScalarWhereWithAggregatesInput[];
|
|
235
|
+
id?: Prisma.IntWithAggregatesFilter<"McSourceFile"> | number;
|
|
236
|
+
mcVersionId?: Prisma.IntWithAggregatesFilter<"McSourceFile"> | number;
|
|
237
|
+
className?: Prisma.StringWithAggregatesFilter<"McSourceFile"> | string;
|
|
238
|
+
content?: Prisma.StringWithAggregatesFilter<"McSourceFile"> | string;
|
|
239
|
+
embedding?: Prisma.BytesNullableWithAggregatesFilter<"McSourceFile"> | runtime.Bytes | null;
|
|
240
|
+
embedSource?: Prisma.StringNullableWithAggregatesFilter<"McSourceFile"> | string | null;
|
|
241
|
+
embedUpdatedAt?: Prisma.DateTimeNullableWithAggregatesFilter<"McSourceFile"> | Date | string | null;
|
|
242
|
+
};
|
|
243
|
+
export type McSourceFileCreateInput = {
|
|
244
|
+
className: string;
|
|
245
|
+
content: string;
|
|
246
|
+
embedding?: runtime.Bytes | null;
|
|
247
|
+
embedSource?: string | null;
|
|
248
|
+
embedUpdatedAt?: Date | string | null;
|
|
249
|
+
mcVersion: Prisma.McVersionCreateNestedOneWithoutSourceFilesInput;
|
|
250
|
+
};
|
|
251
|
+
export type McSourceFileUncheckedCreateInput = {
|
|
252
|
+
id?: number;
|
|
253
|
+
mcVersionId: number;
|
|
254
|
+
className: string;
|
|
255
|
+
content: string;
|
|
256
|
+
embedding?: runtime.Bytes | null;
|
|
257
|
+
embedSource?: string | null;
|
|
258
|
+
embedUpdatedAt?: Date | string | null;
|
|
259
|
+
};
|
|
260
|
+
export type McSourceFileUpdateInput = {
|
|
261
|
+
className?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
262
|
+
content?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
263
|
+
embedding?: Prisma.NullableBytesFieldUpdateOperationsInput | runtime.Bytes | null;
|
|
264
|
+
embedSource?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
265
|
+
embedUpdatedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
266
|
+
mcVersion?: Prisma.McVersionUpdateOneRequiredWithoutSourceFilesNestedInput;
|
|
267
|
+
};
|
|
268
|
+
export type McSourceFileUncheckedUpdateInput = {
|
|
269
|
+
id?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
270
|
+
mcVersionId?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
271
|
+
className?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
272
|
+
content?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
273
|
+
embedding?: Prisma.NullableBytesFieldUpdateOperationsInput | runtime.Bytes | null;
|
|
274
|
+
embedSource?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
275
|
+
embedUpdatedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
276
|
+
};
|
|
277
|
+
export type McSourceFileCreateManyInput = {
|
|
278
|
+
id?: number;
|
|
279
|
+
mcVersionId: number;
|
|
280
|
+
className: string;
|
|
281
|
+
content: string;
|
|
282
|
+
embedding?: runtime.Bytes | null;
|
|
283
|
+
embedSource?: string | null;
|
|
284
|
+
embedUpdatedAt?: Date | string | null;
|
|
285
|
+
};
|
|
286
|
+
export type McSourceFileUpdateManyMutationInput = {
|
|
287
|
+
className?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
288
|
+
content?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
289
|
+
embedding?: Prisma.NullableBytesFieldUpdateOperationsInput | runtime.Bytes | null;
|
|
290
|
+
embedSource?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
291
|
+
embedUpdatedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
292
|
+
};
|
|
293
|
+
export type McSourceFileUncheckedUpdateManyInput = {
|
|
294
|
+
id?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
295
|
+
mcVersionId?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
296
|
+
className?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
297
|
+
content?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
298
|
+
embedding?: Prisma.NullableBytesFieldUpdateOperationsInput | runtime.Bytes | null;
|
|
299
|
+
embedSource?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
300
|
+
embedUpdatedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
301
|
+
};
|
|
302
|
+
export type McSourceFileListRelationFilter = {
|
|
303
|
+
every?: Prisma.McSourceFileWhereInput;
|
|
304
|
+
some?: Prisma.McSourceFileWhereInput;
|
|
305
|
+
none?: Prisma.McSourceFileWhereInput;
|
|
306
|
+
};
|
|
307
|
+
export type McSourceFileOrderByRelationAggregateInput = {
|
|
308
|
+
_count?: Prisma.SortOrder;
|
|
309
|
+
};
|
|
310
|
+
export type McSourceFileMcVersionIdClassNameCompoundUniqueInput = {
|
|
311
|
+
mcVersionId: number;
|
|
312
|
+
className: string;
|
|
313
|
+
};
|
|
314
|
+
export type McSourceFileCountOrderByAggregateInput = {
|
|
315
|
+
id?: Prisma.SortOrder;
|
|
316
|
+
mcVersionId?: Prisma.SortOrder;
|
|
317
|
+
className?: Prisma.SortOrder;
|
|
318
|
+
content?: Prisma.SortOrder;
|
|
319
|
+
embedding?: Prisma.SortOrder;
|
|
320
|
+
embedSource?: Prisma.SortOrder;
|
|
321
|
+
embedUpdatedAt?: Prisma.SortOrder;
|
|
322
|
+
};
|
|
323
|
+
export type McSourceFileAvgOrderByAggregateInput = {
|
|
324
|
+
id?: Prisma.SortOrder;
|
|
325
|
+
mcVersionId?: Prisma.SortOrder;
|
|
326
|
+
};
|
|
327
|
+
export type McSourceFileMaxOrderByAggregateInput = {
|
|
328
|
+
id?: Prisma.SortOrder;
|
|
329
|
+
mcVersionId?: Prisma.SortOrder;
|
|
330
|
+
className?: Prisma.SortOrder;
|
|
331
|
+
content?: Prisma.SortOrder;
|
|
332
|
+
embedding?: Prisma.SortOrder;
|
|
333
|
+
embedSource?: Prisma.SortOrder;
|
|
334
|
+
embedUpdatedAt?: Prisma.SortOrder;
|
|
335
|
+
};
|
|
336
|
+
export type McSourceFileMinOrderByAggregateInput = {
|
|
337
|
+
id?: Prisma.SortOrder;
|
|
338
|
+
mcVersionId?: Prisma.SortOrder;
|
|
339
|
+
className?: Prisma.SortOrder;
|
|
340
|
+
content?: Prisma.SortOrder;
|
|
341
|
+
embedding?: Prisma.SortOrder;
|
|
342
|
+
embedSource?: Prisma.SortOrder;
|
|
343
|
+
embedUpdatedAt?: Prisma.SortOrder;
|
|
344
|
+
};
|
|
345
|
+
export type McSourceFileSumOrderByAggregateInput = {
|
|
346
|
+
id?: Prisma.SortOrder;
|
|
347
|
+
mcVersionId?: Prisma.SortOrder;
|
|
348
|
+
};
|
|
349
|
+
export type McSourceFileCreateNestedManyWithoutMcVersionInput = {
|
|
350
|
+
create?: Prisma.XOR<Prisma.McSourceFileCreateWithoutMcVersionInput, Prisma.McSourceFileUncheckedCreateWithoutMcVersionInput> | Prisma.McSourceFileCreateWithoutMcVersionInput[] | Prisma.McSourceFileUncheckedCreateWithoutMcVersionInput[];
|
|
351
|
+
connectOrCreate?: Prisma.McSourceFileCreateOrConnectWithoutMcVersionInput | Prisma.McSourceFileCreateOrConnectWithoutMcVersionInput[];
|
|
352
|
+
createMany?: Prisma.McSourceFileCreateManyMcVersionInputEnvelope;
|
|
353
|
+
connect?: Prisma.McSourceFileWhereUniqueInput | Prisma.McSourceFileWhereUniqueInput[];
|
|
354
|
+
};
|
|
355
|
+
export type McSourceFileUncheckedCreateNestedManyWithoutMcVersionInput = {
|
|
356
|
+
create?: Prisma.XOR<Prisma.McSourceFileCreateWithoutMcVersionInput, Prisma.McSourceFileUncheckedCreateWithoutMcVersionInput> | Prisma.McSourceFileCreateWithoutMcVersionInput[] | Prisma.McSourceFileUncheckedCreateWithoutMcVersionInput[];
|
|
357
|
+
connectOrCreate?: Prisma.McSourceFileCreateOrConnectWithoutMcVersionInput | Prisma.McSourceFileCreateOrConnectWithoutMcVersionInput[];
|
|
358
|
+
createMany?: Prisma.McSourceFileCreateManyMcVersionInputEnvelope;
|
|
359
|
+
connect?: Prisma.McSourceFileWhereUniqueInput | Prisma.McSourceFileWhereUniqueInput[];
|
|
360
|
+
};
|
|
361
|
+
export type McSourceFileUpdateManyWithoutMcVersionNestedInput = {
|
|
362
|
+
create?: Prisma.XOR<Prisma.McSourceFileCreateWithoutMcVersionInput, Prisma.McSourceFileUncheckedCreateWithoutMcVersionInput> | Prisma.McSourceFileCreateWithoutMcVersionInput[] | Prisma.McSourceFileUncheckedCreateWithoutMcVersionInput[];
|
|
363
|
+
connectOrCreate?: Prisma.McSourceFileCreateOrConnectWithoutMcVersionInput | Prisma.McSourceFileCreateOrConnectWithoutMcVersionInput[];
|
|
364
|
+
upsert?: Prisma.McSourceFileUpsertWithWhereUniqueWithoutMcVersionInput | Prisma.McSourceFileUpsertWithWhereUniqueWithoutMcVersionInput[];
|
|
365
|
+
createMany?: Prisma.McSourceFileCreateManyMcVersionInputEnvelope;
|
|
366
|
+
set?: Prisma.McSourceFileWhereUniqueInput | Prisma.McSourceFileWhereUniqueInput[];
|
|
367
|
+
disconnect?: Prisma.McSourceFileWhereUniqueInput | Prisma.McSourceFileWhereUniqueInput[];
|
|
368
|
+
delete?: Prisma.McSourceFileWhereUniqueInput | Prisma.McSourceFileWhereUniqueInput[];
|
|
369
|
+
connect?: Prisma.McSourceFileWhereUniqueInput | Prisma.McSourceFileWhereUniqueInput[];
|
|
370
|
+
update?: Prisma.McSourceFileUpdateWithWhereUniqueWithoutMcVersionInput | Prisma.McSourceFileUpdateWithWhereUniqueWithoutMcVersionInput[];
|
|
371
|
+
updateMany?: Prisma.McSourceFileUpdateManyWithWhereWithoutMcVersionInput | Prisma.McSourceFileUpdateManyWithWhereWithoutMcVersionInput[];
|
|
372
|
+
deleteMany?: Prisma.McSourceFileScalarWhereInput | Prisma.McSourceFileScalarWhereInput[];
|
|
373
|
+
};
|
|
374
|
+
export type McSourceFileUncheckedUpdateManyWithoutMcVersionNestedInput = {
|
|
375
|
+
create?: Prisma.XOR<Prisma.McSourceFileCreateWithoutMcVersionInput, Prisma.McSourceFileUncheckedCreateWithoutMcVersionInput> | Prisma.McSourceFileCreateWithoutMcVersionInput[] | Prisma.McSourceFileUncheckedCreateWithoutMcVersionInput[];
|
|
376
|
+
connectOrCreate?: Prisma.McSourceFileCreateOrConnectWithoutMcVersionInput | Prisma.McSourceFileCreateOrConnectWithoutMcVersionInput[];
|
|
377
|
+
upsert?: Prisma.McSourceFileUpsertWithWhereUniqueWithoutMcVersionInput | Prisma.McSourceFileUpsertWithWhereUniqueWithoutMcVersionInput[];
|
|
378
|
+
createMany?: Prisma.McSourceFileCreateManyMcVersionInputEnvelope;
|
|
379
|
+
set?: Prisma.McSourceFileWhereUniqueInput | Prisma.McSourceFileWhereUniqueInput[];
|
|
380
|
+
disconnect?: Prisma.McSourceFileWhereUniqueInput | Prisma.McSourceFileWhereUniqueInput[];
|
|
381
|
+
delete?: Prisma.McSourceFileWhereUniqueInput | Prisma.McSourceFileWhereUniqueInput[];
|
|
382
|
+
connect?: Prisma.McSourceFileWhereUniqueInput | Prisma.McSourceFileWhereUniqueInput[];
|
|
383
|
+
update?: Prisma.McSourceFileUpdateWithWhereUniqueWithoutMcVersionInput | Prisma.McSourceFileUpdateWithWhereUniqueWithoutMcVersionInput[];
|
|
384
|
+
updateMany?: Prisma.McSourceFileUpdateManyWithWhereWithoutMcVersionInput | Prisma.McSourceFileUpdateManyWithWhereWithoutMcVersionInput[];
|
|
385
|
+
deleteMany?: Prisma.McSourceFileScalarWhereInput | Prisma.McSourceFileScalarWhereInput[];
|
|
386
|
+
};
|
|
387
|
+
export type NullableBytesFieldUpdateOperationsInput = {
|
|
388
|
+
set?: runtime.Bytes | null;
|
|
389
|
+
};
|
|
390
|
+
export type NullableDateTimeFieldUpdateOperationsInput = {
|
|
391
|
+
set?: Date | string | null;
|
|
392
|
+
};
|
|
393
|
+
export type McSourceFileCreateWithoutMcVersionInput = {
|
|
394
|
+
className: string;
|
|
395
|
+
content: string;
|
|
396
|
+
embedding?: runtime.Bytes | null;
|
|
397
|
+
embedSource?: string | null;
|
|
398
|
+
embedUpdatedAt?: Date | string | null;
|
|
399
|
+
};
|
|
400
|
+
export type McSourceFileUncheckedCreateWithoutMcVersionInput = {
|
|
401
|
+
id?: number;
|
|
402
|
+
className: string;
|
|
403
|
+
content: string;
|
|
404
|
+
embedding?: runtime.Bytes | null;
|
|
405
|
+
embedSource?: string | null;
|
|
406
|
+
embedUpdatedAt?: Date | string | null;
|
|
407
|
+
};
|
|
408
|
+
export type McSourceFileCreateOrConnectWithoutMcVersionInput = {
|
|
409
|
+
where: Prisma.McSourceFileWhereUniqueInput;
|
|
410
|
+
create: Prisma.XOR<Prisma.McSourceFileCreateWithoutMcVersionInput, Prisma.McSourceFileUncheckedCreateWithoutMcVersionInput>;
|
|
411
|
+
};
|
|
412
|
+
export type McSourceFileCreateManyMcVersionInputEnvelope = {
|
|
413
|
+
data: Prisma.McSourceFileCreateManyMcVersionInput | Prisma.McSourceFileCreateManyMcVersionInput[];
|
|
414
|
+
};
|
|
415
|
+
export type McSourceFileUpsertWithWhereUniqueWithoutMcVersionInput = {
|
|
416
|
+
where: Prisma.McSourceFileWhereUniqueInput;
|
|
417
|
+
update: Prisma.XOR<Prisma.McSourceFileUpdateWithoutMcVersionInput, Prisma.McSourceFileUncheckedUpdateWithoutMcVersionInput>;
|
|
418
|
+
create: Prisma.XOR<Prisma.McSourceFileCreateWithoutMcVersionInput, Prisma.McSourceFileUncheckedCreateWithoutMcVersionInput>;
|
|
419
|
+
};
|
|
420
|
+
export type McSourceFileUpdateWithWhereUniqueWithoutMcVersionInput = {
|
|
421
|
+
where: Prisma.McSourceFileWhereUniqueInput;
|
|
422
|
+
data: Prisma.XOR<Prisma.McSourceFileUpdateWithoutMcVersionInput, Prisma.McSourceFileUncheckedUpdateWithoutMcVersionInput>;
|
|
423
|
+
};
|
|
424
|
+
export type McSourceFileUpdateManyWithWhereWithoutMcVersionInput = {
|
|
425
|
+
where: Prisma.McSourceFileScalarWhereInput;
|
|
426
|
+
data: Prisma.XOR<Prisma.McSourceFileUpdateManyMutationInput, Prisma.McSourceFileUncheckedUpdateManyWithoutMcVersionInput>;
|
|
427
|
+
};
|
|
428
|
+
export type McSourceFileScalarWhereInput = {
|
|
429
|
+
AND?: Prisma.McSourceFileScalarWhereInput | Prisma.McSourceFileScalarWhereInput[];
|
|
430
|
+
OR?: Prisma.McSourceFileScalarWhereInput[];
|
|
431
|
+
NOT?: Prisma.McSourceFileScalarWhereInput | Prisma.McSourceFileScalarWhereInput[];
|
|
432
|
+
id?: Prisma.IntFilter<"McSourceFile"> | number;
|
|
433
|
+
mcVersionId?: Prisma.IntFilter<"McSourceFile"> | number;
|
|
434
|
+
className?: Prisma.StringFilter<"McSourceFile"> | string;
|
|
435
|
+
content?: Prisma.StringFilter<"McSourceFile"> | string;
|
|
436
|
+
embedding?: Prisma.BytesNullableFilter<"McSourceFile"> | runtime.Bytes | null;
|
|
437
|
+
embedSource?: Prisma.StringNullableFilter<"McSourceFile"> | string | null;
|
|
438
|
+
embedUpdatedAt?: Prisma.DateTimeNullableFilter<"McSourceFile"> | Date | string | null;
|
|
439
|
+
};
|
|
440
|
+
export type McSourceFileCreateManyMcVersionInput = {
|
|
441
|
+
id?: number;
|
|
442
|
+
className: string;
|
|
443
|
+
content: string;
|
|
444
|
+
embedding?: runtime.Bytes | null;
|
|
445
|
+
embedSource?: string | null;
|
|
446
|
+
embedUpdatedAt?: Date | string | null;
|
|
447
|
+
};
|
|
448
|
+
export type McSourceFileUpdateWithoutMcVersionInput = {
|
|
449
|
+
className?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
450
|
+
content?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
451
|
+
embedding?: Prisma.NullableBytesFieldUpdateOperationsInput | runtime.Bytes | null;
|
|
452
|
+
embedSource?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
453
|
+
embedUpdatedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
454
|
+
};
|
|
455
|
+
export type McSourceFileUncheckedUpdateWithoutMcVersionInput = {
|
|
456
|
+
id?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
457
|
+
className?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
458
|
+
content?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
459
|
+
embedding?: Prisma.NullableBytesFieldUpdateOperationsInput | runtime.Bytes | null;
|
|
460
|
+
embedSource?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
461
|
+
embedUpdatedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
462
|
+
};
|
|
463
|
+
export type McSourceFileUncheckedUpdateManyWithoutMcVersionInput = {
|
|
464
|
+
id?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
465
|
+
className?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
466
|
+
content?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
467
|
+
embedding?: Prisma.NullableBytesFieldUpdateOperationsInput | runtime.Bytes | null;
|
|
468
|
+
embedSource?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
469
|
+
embedUpdatedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
470
|
+
};
|
|
471
|
+
export type McSourceFileSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
472
|
+
id?: boolean;
|
|
473
|
+
mcVersionId?: boolean;
|
|
474
|
+
className?: boolean;
|
|
475
|
+
content?: boolean;
|
|
476
|
+
embedding?: boolean;
|
|
477
|
+
embedSource?: boolean;
|
|
478
|
+
embedUpdatedAt?: boolean;
|
|
479
|
+
mcVersion?: boolean | Prisma.McVersionDefaultArgs<ExtArgs>;
|
|
480
|
+
}, ExtArgs["result"]["mcSourceFile"]>;
|
|
481
|
+
export type McSourceFileSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
482
|
+
id?: boolean;
|
|
483
|
+
mcVersionId?: boolean;
|
|
484
|
+
className?: boolean;
|
|
485
|
+
content?: boolean;
|
|
486
|
+
embedding?: boolean;
|
|
487
|
+
embedSource?: boolean;
|
|
488
|
+
embedUpdatedAt?: boolean;
|
|
489
|
+
mcVersion?: boolean | Prisma.McVersionDefaultArgs<ExtArgs>;
|
|
490
|
+
}, ExtArgs["result"]["mcSourceFile"]>;
|
|
491
|
+
export type McSourceFileSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
492
|
+
id?: boolean;
|
|
493
|
+
mcVersionId?: boolean;
|
|
494
|
+
className?: boolean;
|
|
495
|
+
content?: boolean;
|
|
496
|
+
embedding?: boolean;
|
|
497
|
+
embedSource?: boolean;
|
|
498
|
+
embedUpdatedAt?: boolean;
|
|
499
|
+
mcVersion?: boolean | Prisma.McVersionDefaultArgs<ExtArgs>;
|
|
500
|
+
}, ExtArgs["result"]["mcSourceFile"]>;
|
|
501
|
+
export type McSourceFileSelectScalar = {
|
|
502
|
+
id?: boolean;
|
|
503
|
+
mcVersionId?: boolean;
|
|
504
|
+
className?: boolean;
|
|
505
|
+
content?: boolean;
|
|
506
|
+
embedding?: boolean;
|
|
507
|
+
embedSource?: boolean;
|
|
508
|
+
embedUpdatedAt?: boolean;
|
|
509
|
+
};
|
|
510
|
+
export type McSourceFileOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "mcVersionId" | "className" | "content" | "embedding" | "embedSource" | "embedUpdatedAt", ExtArgs["result"]["mcSourceFile"]>;
|
|
511
|
+
export type McSourceFileInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
512
|
+
mcVersion?: boolean | Prisma.McVersionDefaultArgs<ExtArgs>;
|
|
513
|
+
};
|
|
514
|
+
export type McSourceFileIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
515
|
+
mcVersion?: boolean | Prisma.McVersionDefaultArgs<ExtArgs>;
|
|
516
|
+
};
|
|
517
|
+
export type McSourceFileIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
518
|
+
mcVersion?: boolean | Prisma.McVersionDefaultArgs<ExtArgs>;
|
|
519
|
+
};
|
|
520
|
+
export type $McSourceFilePayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
521
|
+
name: "McSourceFile";
|
|
522
|
+
objects: {
|
|
523
|
+
mcVersion: Prisma.$McVersionPayload<ExtArgs>;
|
|
524
|
+
};
|
|
525
|
+
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
526
|
+
id: number;
|
|
527
|
+
mcVersionId: number;
|
|
528
|
+
className: string;
|
|
529
|
+
content: string;
|
|
530
|
+
embedding: runtime.Bytes | null;
|
|
531
|
+
embedSource: string | null;
|
|
532
|
+
embedUpdatedAt: Date | null;
|
|
533
|
+
}, ExtArgs["result"]["mcSourceFile"]>;
|
|
534
|
+
composites: {};
|
|
535
|
+
};
|
|
536
|
+
export type McSourceFileGetPayload<S extends boolean | null | undefined | McSourceFileDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$McSourceFilePayload, S>;
|
|
537
|
+
export type McSourceFileCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<McSourceFileFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
538
|
+
select?: McSourceFileCountAggregateInputType | true;
|
|
539
|
+
};
|
|
540
|
+
export interface McSourceFileDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
541
|
+
[K: symbol]: {
|
|
542
|
+
types: Prisma.TypeMap<ExtArgs>['model']['McSourceFile'];
|
|
543
|
+
meta: {
|
|
544
|
+
name: 'McSourceFile';
|
|
545
|
+
};
|
|
546
|
+
};
|
|
547
|
+
/**
|
|
548
|
+
* Find zero or one McSourceFile that matches the filter.
|
|
549
|
+
* @param {McSourceFileFindUniqueArgs} args - Arguments to find a McSourceFile
|
|
550
|
+
* @example
|
|
551
|
+
* // Get one McSourceFile
|
|
552
|
+
* const mcSourceFile = await prisma.mcSourceFile.findUnique({
|
|
553
|
+
* where: {
|
|
554
|
+
* // ... provide filter here
|
|
555
|
+
* }
|
|
556
|
+
* })
|
|
557
|
+
*/
|
|
558
|
+
findUnique<T extends McSourceFileFindUniqueArgs>(args: Prisma.SelectSubset<T, McSourceFileFindUniqueArgs<ExtArgs>>): Prisma.Prisma__McSourceFileClient<runtime.Types.Result.GetResult<Prisma.$McSourceFilePayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
559
|
+
/**
|
|
560
|
+
* Find one McSourceFile that matches the filter or throw an error with `error.code='P2025'`
|
|
561
|
+
* if no matches were found.
|
|
562
|
+
* @param {McSourceFileFindUniqueOrThrowArgs} args - Arguments to find a McSourceFile
|
|
563
|
+
* @example
|
|
564
|
+
* // Get one McSourceFile
|
|
565
|
+
* const mcSourceFile = await prisma.mcSourceFile.findUniqueOrThrow({
|
|
566
|
+
* where: {
|
|
567
|
+
* // ... provide filter here
|
|
568
|
+
* }
|
|
569
|
+
* })
|
|
570
|
+
*/
|
|
571
|
+
findUniqueOrThrow<T extends McSourceFileFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, McSourceFileFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__McSourceFileClient<runtime.Types.Result.GetResult<Prisma.$McSourceFilePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
572
|
+
/**
|
|
573
|
+
* Find the first McSourceFile that matches the filter.
|
|
574
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
575
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
576
|
+
* @param {McSourceFileFindFirstArgs} args - Arguments to find a McSourceFile
|
|
577
|
+
* @example
|
|
578
|
+
* // Get one McSourceFile
|
|
579
|
+
* const mcSourceFile = await prisma.mcSourceFile.findFirst({
|
|
580
|
+
* where: {
|
|
581
|
+
* // ... provide filter here
|
|
582
|
+
* }
|
|
583
|
+
* })
|
|
584
|
+
*/
|
|
585
|
+
findFirst<T extends McSourceFileFindFirstArgs>(args?: Prisma.SelectSubset<T, McSourceFileFindFirstArgs<ExtArgs>>): Prisma.Prisma__McSourceFileClient<runtime.Types.Result.GetResult<Prisma.$McSourceFilePayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
586
|
+
/**
|
|
587
|
+
* Find the first McSourceFile that matches the filter or
|
|
588
|
+
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
589
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
590
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
591
|
+
* @param {McSourceFileFindFirstOrThrowArgs} args - Arguments to find a McSourceFile
|
|
592
|
+
* @example
|
|
593
|
+
* // Get one McSourceFile
|
|
594
|
+
* const mcSourceFile = await prisma.mcSourceFile.findFirstOrThrow({
|
|
595
|
+
* where: {
|
|
596
|
+
* // ... provide filter here
|
|
597
|
+
* }
|
|
598
|
+
* })
|
|
599
|
+
*/
|
|
600
|
+
findFirstOrThrow<T extends McSourceFileFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, McSourceFileFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__McSourceFileClient<runtime.Types.Result.GetResult<Prisma.$McSourceFilePayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
601
|
+
/**
|
|
602
|
+
* Find zero or more McSourceFiles that matches the filter.
|
|
603
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
604
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
605
|
+
* @param {McSourceFileFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
606
|
+
* @example
|
|
607
|
+
* // Get all McSourceFiles
|
|
608
|
+
* const mcSourceFiles = await prisma.mcSourceFile.findMany()
|
|
609
|
+
*
|
|
610
|
+
* // Get first 10 McSourceFiles
|
|
611
|
+
* const mcSourceFiles = await prisma.mcSourceFile.findMany({ take: 10 })
|
|
612
|
+
*
|
|
613
|
+
* // Only select the `id`
|
|
614
|
+
* const mcSourceFileWithIdOnly = await prisma.mcSourceFile.findMany({ select: { id: true } })
|
|
615
|
+
*
|
|
616
|
+
*/
|
|
617
|
+
findMany<T extends McSourceFileFindManyArgs>(args?: Prisma.SelectSubset<T, McSourceFileFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$McSourceFilePayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
|
|
618
|
+
/**
|
|
619
|
+
* Create a McSourceFile.
|
|
620
|
+
* @param {McSourceFileCreateArgs} args - Arguments to create a McSourceFile.
|
|
621
|
+
* @example
|
|
622
|
+
* // Create one McSourceFile
|
|
623
|
+
* const McSourceFile = await prisma.mcSourceFile.create({
|
|
624
|
+
* data: {
|
|
625
|
+
* // ... data to create a McSourceFile
|
|
626
|
+
* }
|
|
627
|
+
* })
|
|
628
|
+
*
|
|
629
|
+
*/
|
|
630
|
+
create<T extends McSourceFileCreateArgs>(args: Prisma.SelectSubset<T, McSourceFileCreateArgs<ExtArgs>>): Prisma.Prisma__McSourceFileClient<runtime.Types.Result.GetResult<Prisma.$McSourceFilePayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
631
|
+
/**
|
|
632
|
+
* Create many McSourceFiles.
|
|
633
|
+
* @param {McSourceFileCreateManyArgs} args - Arguments to create many McSourceFiles.
|
|
634
|
+
* @example
|
|
635
|
+
* // Create many McSourceFiles
|
|
636
|
+
* const mcSourceFile = await prisma.mcSourceFile.createMany({
|
|
637
|
+
* data: [
|
|
638
|
+
* // ... provide data here
|
|
639
|
+
* ]
|
|
640
|
+
* })
|
|
641
|
+
*
|
|
642
|
+
*/
|
|
643
|
+
createMany<T extends McSourceFileCreateManyArgs>(args?: Prisma.SelectSubset<T, McSourceFileCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
644
|
+
/**
|
|
645
|
+
* Create many McSourceFiles and returns the data saved in the database.
|
|
646
|
+
* @param {McSourceFileCreateManyAndReturnArgs} args - Arguments to create many McSourceFiles.
|
|
647
|
+
* @example
|
|
648
|
+
* // Create many McSourceFiles
|
|
649
|
+
* const mcSourceFile = await prisma.mcSourceFile.createManyAndReturn({
|
|
650
|
+
* data: [
|
|
651
|
+
* // ... provide data here
|
|
652
|
+
* ]
|
|
653
|
+
* })
|
|
654
|
+
*
|
|
655
|
+
* // Create many McSourceFiles and only return the `id`
|
|
656
|
+
* const mcSourceFileWithIdOnly = await prisma.mcSourceFile.createManyAndReturn({
|
|
657
|
+
* select: { id: true },
|
|
658
|
+
* data: [
|
|
659
|
+
* // ... provide data here
|
|
660
|
+
* ]
|
|
661
|
+
* })
|
|
662
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
663
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
664
|
+
*
|
|
665
|
+
*/
|
|
666
|
+
createManyAndReturn<T extends McSourceFileCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, McSourceFileCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$McSourceFilePayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
|
|
667
|
+
/**
|
|
668
|
+
* Delete a McSourceFile.
|
|
669
|
+
* @param {McSourceFileDeleteArgs} args - Arguments to delete one McSourceFile.
|
|
670
|
+
* @example
|
|
671
|
+
* // Delete one McSourceFile
|
|
672
|
+
* const McSourceFile = await prisma.mcSourceFile.delete({
|
|
673
|
+
* where: {
|
|
674
|
+
* // ... filter to delete one McSourceFile
|
|
675
|
+
* }
|
|
676
|
+
* })
|
|
677
|
+
*
|
|
678
|
+
*/
|
|
679
|
+
delete<T extends McSourceFileDeleteArgs>(args: Prisma.SelectSubset<T, McSourceFileDeleteArgs<ExtArgs>>): Prisma.Prisma__McSourceFileClient<runtime.Types.Result.GetResult<Prisma.$McSourceFilePayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
680
|
+
/**
|
|
681
|
+
* Update one McSourceFile.
|
|
682
|
+
* @param {McSourceFileUpdateArgs} args - Arguments to update one McSourceFile.
|
|
683
|
+
* @example
|
|
684
|
+
* // Update one McSourceFile
|
|
685
|
+
* const mcSourceFile = await prisma.mcSourceFile.update({
|
|
686
|
+
* where: {
|
|
687
|
+
* // ... provide filter here
|
|
688
|
+
* },
|
|
689
|
+
* data: {
|
|
690
|
+
* // ... provide data here
|
|
691
|
+
* }
|
|
692
|
+
* })
|
|
693
|
+
*
|
|
694
|
+
*/
|
|
695
|
+
update<T extends McSourceFileUpdateArgs>(args: Prisma.SelectSubset<T, McSourceFileUpdateArgs<ExtArgs>>): Prisma.Prisma__McSourceFileClient<runtime.Types.Result.GetResult<Prisma.$McSourceFilePayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
696
|
+
/**
|
|
697
|
+
* Delete zero or more McSourceFiles.
|
|
698
|
+
* @param {McSourceFileDeleteManyArgs} args - Arguments to filter McSourceFiles to delete.
|
|
699
|
+
* @example
|
|
700
|
+
* // Delete a few McSourceFiles
|
|
701
|
+
* const { count } = await prisma.mcSourceFile.deleteMany({
|
|
702
|
+
* where: {
|
|
703
|
+
* // ... provide filter here
|
|
704
|
+
* }
|
|
705
|
+
* })
|
|
706
|
+
*
|
|
707
|
+
*/
|
|
708
|
+
deleteMany<T extends McSourceFileDeleteManyArgs>(args?: Prisma.SelectSubset<T, McSourceFileDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
709
|
+
/**
|
|
710
|
+
* Update zero or more McSourceFiles.
|
|
711
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
712
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
713
|
+
* @param {McSourceFileUpdateManyArgs} args - Arguments to update one or more rows.
|
|
714
|
+
* @example
|
|
715
|
+
* // Update many McSourceFiles
|
|
716
|
+
* const mcSourceFile = await prisma.mcSourceFile.updateMany({
|
|
717
|
+
* where: {
|
|
718
|
+
* // ... provide filter here
|
|
719
|
+
* },
|
|
720
|
+
* data: {
|
|
721
|
+
* // ... provide data here
|
|
722
|
+
* }
|
|
723
|
+
* })
|
|
724
|
+
*
|
|
725
|
+
*/
|
|
726
|
+
updateMany<T extends McSourceFileUpdateManyArgs>(args: Prisma.SelectSubset<T, McSourceFileUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
727
|
+
/**
|
|
728
|
+
* Update zero or more McSourceFiles and returns the data updated in the database.
|
|
729
|
+
* @param {McSourceFileUpdateManyAndReturnArgs} args - Arguments to update many McSourceFiles.
|
|
730
|
+
* @example
|
|
731
|
+
* // Update many McSourceFiles
|
|
732
|
+
* const mcSourceFile = await prisma.mcSourceFile.updateManyAndReturn({
|
|
733
|
+
* where: {
|
|
734
|
+
* // ... provide filter here
|
|
735
|
+
* },
|
|
736
|
+
* data: [
|
|
737
|
+
* // ... provide data here
|
|
738
|
+
* ]
|
|
739
|
+
* })
|
|
740
|
+
*
|
|
741
|
+
* // Update zero or more McSourceFiles and only return the `id`
|
|
742
|
+
* const mcSourceFileWithIdOnly = await prisma.mcSourceFile.updateManyAndReturn({
|
|
743
|
+
* select: { id: true },
|
|
744
|
+
* where: {
|
|
745
|
+
* // ... provide filter here
|
|
746
|
+
* },
|
|
747
|
+
* data: [
|
|
748
|
+
* // ... provide data here
|
|
749
|
+
* ]
|
|
750
|
+
* })
|
|
751
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
752
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
753
|
+
*
|
|
754
|
+
*/
|
|
755
|
+
updateManyAndReturn<T extends McSourceFileUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, McSourceFileUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$McSourceFilePayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
|
|
756
|
+
/**
|
|
757
|
+
* Create or update one McSourceFile.
|
|
758
|
+
* @param {McSourceFileUpsertArgs} args - Arguments to update or create a McSourceFile.
|
|
759
|
+
* @example
|
|
760
|
+
* // Update or create a McSourceFile
|
|
761
|
+
* const mcSourceFile = await prisma.mcSourceFile.upsert({
|
|
762
|
+
* create: {
|
|
763
|
+
* // ... data to create a McSourceFile
|
|
764
|
+
* },
|
|
765
|
+
* update: {
|
|
766
|
+
* // ... in case it already exists, update
|
|
767
|
+
* },
|
|
768
|
+
* where: {
|
|
769
|
+
* // ... the filter for the McSourceFile we want to update
|
|
770
|
+
* }
|
|
771
|
+
* })
|
|
772
|
+
*/
|
|
773
|
+
upsert<T extends McSourceFileUpsertArgs>(args: Prisma.SelectSubset<T, McSourceFileUpsertArgs<ExtArgs>>): Prisma.Prisma__McSourceFileClient<runtime.Types.Result.GetResult<Prisma.$McSourceFilePayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
774
|
+
/**
|
|
775
|
+
* Count the number of McSourceFiles.
|
|
776
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
777
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
778
|
+
* @param {McSourceFileCountArgs} args - Arguments to filter McSourceFiles to count.
|
|
779
|
+
* @example
|
|
780
|
+
* // Count the number of McSourceFiles
|
|
781
|
+
* const count = await prisma.mcSourceFile.count({
|
|
782
|
+
* where: {
|
|
783
|
+
* // ... the filter for the McSourceFiles we want to count
|
|
784
|
+
* }
|
|
785
|
+
* })
|
|
786
|
+
**/
|
|
787
|
+
count<T extends McSourceFileCountArgs>(args?: Prisma.Subset<T, McSourceFileCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], McSourceFileCountAggregateOutputType> : number>;
|
|
788
|
+
/**
|
|
789
|
+
* Allows you to perform aggregations operations on a McSourceFile.
|
|
790
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
791
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
792
|
+
* @param {McSourceFileAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
793
|
+
* @example
|
|
794
|
+
* // Ordered by age ascending
|
|
795
|
+
* // Where email contains prisma.io
|
|
796
|
+
* // Limited to the 10 users
|
|
797
|
+
* const aggregations = await prisma.user.aggregate({
|
|
798
|
+
* _avg: {
|
|
799
|
+
* age: true,
|
|
800
|
+
* },
|
|
801
|
+
* where: {
|
|
802
|
+
* email: {
|
|
803
|
+
* contains: "prisma.io",
|
|
804
|
+
* },
|
|
805
|
+
* },
|
|
806
|
+
* orderBy: {
|
|
807
|
+
* age: "asc",
|
|
808
|
+
* },
|
|
809
|
+
* take: 10,
|
|
810
|
+
* })
|
|
811
|
+
**/
|
|
812
|
+
aggregate<T extends McSourceFileAggregateArgs>(args: Prisma.Subset<T, McSourceFileAggregateArgs>): Prisma.PrismaPromise<GetMcSourceFileAggregateType<T>>;
|
|
813
|
+
/**
|
|
814
|
+
* Group by McSourceFile.
|
|
815
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
816
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
817
|
+
* @param {McSourceFileGroupByArgs} args - Group by arguments.
|
|
818
|
+
* @example
|
|
819
|
+
* // Group by city, order by createdAt, get count
|
|
820
|
+
* const result = await prisma.user.groupBy({
|
|
821
|
+
* by: ['city', 'createdAt'],
|
|
822
|
+
* orderBy: {
|
|
823
|
+
* createdAt: true
|
|
824
|
+
* },
|
|
825
|
+
* _count: {
|
|
826
|
+
* _all: true
|
|
827
|
+
* },
|
|
828
|
+
* })
|
|
829
|
+
*
|
|
830
|
+
**/
|
|
831
|
+
groupBy<T extends McSourceFileGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
|
|
832
|
+
orderBy: McSourceFileGroupByArgs['orderBy'];
|
|
833
|
+
} : {
|
|
834
|
+
orderBy?: McSourceFileGroupByArgs['orderBy'];
|
|
835
|
+
}, OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>, ByFields extends Prisma.MaybeTupleToUnion<T['by']>, ByValid extends Prisma.Has<ByFields, OrderFields>, HavingFields extends Prisma.GetHavingFields<T['having']>, HavingValid extends Prisma.Has<ByFields, HavingFields>, ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False, InputErrors extends ByEmpty extends Prisma.True ? `Error: "by" must not be empty.` : HavingValid extends Prisma.False ? {
|
|
836
|
+
[P in HavingFields]: P extends ByFields ? never : P extends string ? `Error: Field "${P}" used in "having" needs to be provided in "by".` : [
|
|
837
|
+
Error,
|
|
838
|
+
'Field ',
|
|
839
|
+
P,
|
|
840
|
+
` in "having" needs to be provided in "by"`
|
|
841
|
+
];
|
|
842
|
+
}[HavingFields] : 'take' extends Prisma.Keys<T> ? 'orderBy' extends Prisma.Keys<T> ? ByValid extends Prisma.True ? {} : {
|
|
843
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
844
|
+
}[OrderFields] : 'Error: If you provide "take", you also need to provide "orderBy"' : 'skip' extends Prisma.Keys<T> ? 'orderBy' extends Prisma.Keys<T> ? ByValid extends Prisma.True ? {} : {
|
|
845
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
846
|
+
}[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends Prisma.True ? {} : {
|
|
847
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
848
|
+
}[OrderFields]>(args: Prisma.SubsetIntersection<T, McSourceFileGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetMcSourceFileGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
|
|
849
|
+
/**
|
|
850
|
+
* Fields of the McSourceFile model
|
|
851
|
+
*/
|
|
852
|
+
readonly fields: McSourceFileFieldRefs;
|
|
853
|
+
}
|
|
854
|
+
/**
|
|
855
|
+
* The delegate class that acts as a "Promise-like" for McSourceFile.
|
|
856
|
+
* Why is this prefixed with `Prisma__`?
|
|
857
|
+
* Because we want to prevent naming conflicts as mentioned in
|
|
858
|
+
* https://github.com/prisma/prisma-client-js/issues/707
|
|
859
|
+
*/
|
|
860
|
+
export interface Prisma__McSourceFileClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
861
|
+
readonly [Symbol.toStringTag]: "PrismaPromise";
|
|
862
|
+
mcVersion<T extends Prisma.McVersionDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.McVersionDefaultArgs<ExtArgs>>): Prisma.Prisma__McVersionClient<runtime.Types.Result.GetResult<Prisma.$McVersionPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>;
|
|
863
|
+
/**
|
|
864
|
+
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
865
|
+
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
866
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
867
|
+
* @returns A Promise for the completion of which ever callback is executed.
|
|
868
|
+
*/
|
|
869
|
+
then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): runtime.Types.Utils.JsPromise<TResult1 | TResult2>;
|
|
870
|
+
/**
|
|
871
|
+
* Attaches a callback for only the rejection of the Promise.
|
|
872
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
873
|
+
* @returns A Promise for the completion of the callback.
|
|
874
|
+
*/
|
|
875
|
+
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>;
|
|
876
|
+
/**
|
|
877
|
+
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
878
|
+
* resolved value cannot be modified from the callback.
|
|
879
|
+
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
880
|
+
* @returns A Promise for the completion of the callback.
|
|
881
|
+
*/
|
|
882
|
+
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>;
|
|
883
|
+
}
|
|
884
|
+
/**
|
|
885
|
+
* Fields of the McSourceFile model
|
|
886
|
+
*/
|
|
887
|
+
export interface McSourceFileFieldRefs {
|
|
888
|
+
readonly id: Prisma.FieldRef<"McSourceFile", 'Int'>;
|
|
889
|
+
readonly mcVersionId: Prisma.FieldRef<"McSourceFile", 'Int'>;
|
|
890
|
+
readonly className: Prisma.FieldRef<"McSourceFile", 'String'>;
|
|
891
|
+
readonly content: Prisma.FieldRef<"McSourceFile", 'String'>;
|
|
892
|
+
readonly embedding: Prisma.FieldRef<"McSourceFile", 'Bytes'>;
|
|
893
|
+
readonly embedSource: Prisma.FieldRef<"McSourceFile", 'String'>;
|
|
894
|
+
readonly embedUpdatedAt: Prisma.FieldRef<"McSourceFile", 'DateTime'>;
|
|
895
|
+
}
|
|
896
|
+
/**
|
|
897
|
+
* McSourceFile findUnique
|
|
898
|
+
*/
|
|
899
|
+
export type McSourceFileFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
900
|
+
/**
|
|
901
|
+
* Select specific fields to fetch from the McSourceFile
|
|
902
|
+
*/
|
|
903
|
+
select?: Prisma.McSourceFileSelect<ExtArgs> | null;
|
|
904
|
+
/**
|
|
905
|
+
* Omit specific fields from the McSourceFile
|
|
906
|
+
*/
|
|
907
|
+
omit?: Prisma.McSourceFileOmit<ExtArgs> | null;
|
|
908
|
+
/**
|
|
909
|
+
* Choose, which related nodes to fetch as well
|
|
910
|
+
*/
|
|
911
|
+
include?: Prisma.McSourceFileInclude<ExtArgs> | null;
|
|
912
|
+
/**
|
|
913
|
+
* Filter, which McSourceFile to fetch.
|
|
914
|
+
*/
|
|
915
|
+
where: Prisma.McSourceFileWhereUniqueInput;
|
|
916
|
+
};
|
|
917
|
+
/**
|
|
918
|
+
* McSourceFile findUniqueOrThrow
|
|
919
|
+
*/
|
|
920
|
+
export type McSourceFileFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
921
|
+
/**
|
|
922
|
+
* Select specific fields to fetch from the McSourceFile
|
|
923
|
+
*/
|
|
924
|
+
select?: Prisma.McSourceFileSelect<ExtArgs> | null;
|
|
925
|
+
/**
|
|
926
|
+
* Omit specific fields from the McSourceFile
|
|
927
|
+
*/
|
|
928
|
+
omit?: Prisma.McSourceFileOmit<ExtArgs> | null;
|
|
929
|
+
/**
|
|
930
|
+
* Choose, which related nodes to fetch as well
|
|
931
|
+
*/
|
|
932
|
+
include?: Prisma.McSourceFileInclude<ExtArgs> | null;
|
|
933
|
+
/**
|
|
934
|
+
* Filter, which McSourceFile to fetch.
|
|
935
|
+
*/
|
|
936
|
+
where: Prisma.McSourceFileWhereUniqueInput;
|
|
937
|
+
};
|
|
938
|
+
/**
|
|
939
|
+
* McSourceFile findFirst
|
|
940
|
+
*/
|
|
941
|
+
export type McSourceFileFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
942
|
+
/**
|
|
943
|
+
* Select specific fields to fetch from the McSourceFile
|
|
944
|
+
*/
|
|
945
|
+
select?: Prisma.McSourceFileSelect<ExtArgs> | null;
|
|
946
|
+
/**
|
|
947
|
+
* Omit specific fields from the McSourceFile
|
|
948
|
+
*/
|
|
949
|
+
omit?: Prisma.McSourceFileOmit<ExtArgs> | null;
|
|
950
|
+
/**
|
|
951
|
+
* Choose, which related nodes to fetch as well
|
|
952
|
+
*/
|
|
953
|
+
include?: Prisma.McSourceFileInclude<ExtArgs> | null;
|
|
954
|
+
/**
|
|
955
|
+
* Filter, which McSourceFile to fetch.
|
|
956
|
+
*/
|
|
957
|
+
where?: Prisma.McSourceFileWhereInput;
|
|
958
|
+
/**
|
|
959
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
960
|
+
*
|
|
961
|
+
* Determine the order of McSourceFiles to fetch.
|
|
962
|
+
*/
|
|
963
|
+
orderBy?: Prisma.McSourceFileOrderByWithRelationInput | Prisma.McSourceFileOrderByWithRelationInput[];
|
|
964
|
+
/**
|
|
965
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
966
|
+
*
|
|
967
|
+
* Sets the position for searching for McSourceFiles.
|
|
968
|
+
*/
|
|
969
|
+
cursor?: Prisma.McSourceFileWhereUniqueInput;
|
|
970
|
+
/**
|
|
971
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
972
|
+
*
|
|
973
|
+
* Take `±n` McSourceFiles from the position of the cursor.
|
|
974
|
+
*/
|
|
975
|
+
take?: number;
|
|
976
|
+
/**
|
|
977
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
978
|
+
*
|
|
979
|
+
* Skip the first `n` McSourceFiles.
|
|
980
|
+
*/
|
|
981
|
+
skip?: number;
|
|
982
|
+
/**
|
|
983
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
984
|
+
*
|
|
985
|
+
* Filter by unique combinations of McSourceFiles.
|
|
986
|
+
*/
|
|
987
|
+
distinct?: Prisma.McSourceFileScalarFieldEnum | Prisma.McSourceFileScalarFieldEnum[];
|
|
988
|
+
};
|
|
989
|
+
/**
|
|
990
|
+
* McSourceFile findFirstOrThrow
|
|
991
|
+
*/
|
|
992
|
+
export type McSourceFileFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
993
|
+
/**
|
|
994
|
+
* Select specific fields to fetch from the McSourceFile
|
|
995
|
+
*/
|
|
996
|
+
select?: Prisma.McSourceFileSelect<ExtArgs> | null;
|
|
997
|
+
/**
|
|
998
|
+
* Omit specific fields from the McSourceFile
|
|
999
|
+
*/
|
|
1000
|
+
omit?: Prisma.McSourceFileOmit<ExtArgs> | null;
|
|
1001
|
+
/**
|
|
1002
|
+
* Choose, which related nodes to fetch as well
|
|
1003
|
+
*/
|
|
1004
|
+
include?: Prisma.McSourceFileInclude<ExtArgs> | null;
|
|
1005
|
+
/**
|
|
1006
|
+
* Filter, which McSourceFile to fetch.
|
|
1007
|
+
*/
|
|
1008
|
+
where?: Prisma.McSourceFileWhereInput;
|
|
1009
|
+
/**
|
|
1010
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1011
|
+
*
|
|
1012
|
+
* Determine the order of McSourceFiles to fetch.
|
|
1013
|
+
*/
|
|
1014
|
+
orderBy?: Prisma.McSourceFileOrderByWithRelationInput | Prisma.McSourceFileOrderByWithRelationInput[];
|
|
1015
|
+
/**
|
|
1016
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1017
|
+
*
|
|
1018
|
+
* Sets the position for searching for McSourceFiles.
|
|
1019
|
+
*/
|
|
1020
|
+
cursor?: Prisma.McSourceFileWhereUniqueInput;
|
|
1021
|
+
/**
|
|
1022
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1023
|
+
*
|
|
1024
|
+
* Take `±n` McSourceFiles from the position of the cursor.
|
|
1025
|
+
*/
|
|
1026
|
+
take?: number;
|
|
1027
|
+
/**
|
|
1028
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1029
|
+
*
|
|
1030
|
+
* Skip the first `n` McSourceFiles.
|
|
1031
|
+
*/
|
|
1032
|
+
skip?: number;
|
|
1033
|
+
/**
|
|
1034
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1035
|
+
*
|
|
1036
|
+
* Filter by unique combinations of McSourceFiles.
|
|
1037
|
+
*/
|
|
1038
|
+
distinct?: Prisma.McSourceFileScalarFieldEnum | Prisma.McSourceFileScalarFieldEnum[];
|
|
1039
|
+
};
|
|
1040
|
+
/**
|
|
1041
|
+
* McSourceFile findMany
|
|
1042
|
+
*/
|
|
1043
|
+
export type McSourceFileFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1044
|
+
/**
|
|
1045
|
+
* Select specific fields to fetch from the McSourceFile
|
|
1046
|
+
*/
|
|
1047
|
+
select?: Prisma.McSourceFileSelect<ExtArgs> | null;
|
|
1048
|
+
/**
|
|
1049
|
+
* Omit specific fields from the McSourceFile
|
|
1050
|
+
*/
|
|
1051
|
+
omit?: Prisma.McSourceFileOmit<ExtArgs> | null;
|
|
1052
|
+
/**
|
|
1053
|
+
* Choose, which related nodes to fetch as well
|
|
1054
|
+
*/
|
|
1055
|
+
include?: Prisma.McSourceFileInclude<ExtArgs> | null;
|
|
1056
|
+
/**
|
|
1057
|
+
* Filter, which McSourceFiles to fetch.
|
|
1058
|
+
*/
|
|
1059
|
+
where?: Prisma.McSourceFileWhereInput;
|
|
1060
|
+
/**
|
|
1061
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1062
|
+
*
|
|
1063
|
+
* Determine the order of McSourceFiles to fetch.
|
|
1064
|
+
*/
|
|
1065
|
+
orderBy?: Prisma.McSourceFileOrderByWithRelationInput | Prisma.McSourceFileOrderByWithRelationInput[];
|
|
1066
|
+
/**
|
|
1067
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1068
|
+
*
|
|
1069
|
+
* Sets the position for listing McSourceFiles.
|
|
1070
|
+
*/
|
|
1071
|
+
cursor?: Prisma.McSourceFileWhereUniqueInput;
|
|
1072
|
+
/**
|
|
1073
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1074
|
+
*
|
|
1075
|
+
* Take `±n` McSourceFiles from the position of the cursor.
|
|
1076
|
+
*/
|
|
1077
|
+
take?: number;
|
|
1078
|
+
/**
|
|
1079
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1080
|
+
*
|
|
1081
|
+
* Skip the first `n` McSourceFiles.
|
|
1082
|
+
*/
|
|
1083
|
+
skip?: number;
|
|
1084
|
+
distinct?: Prisma.McSourceFileScalarFieldEnum | Prisma.McSourceFileScalarFieldEnum[];
|
|
1085
|
+
};
|
|
1086
|
+
/**
|
|
1087
|
+
* McSourceFile create
|
|
1088
|
+
*/
|
|
1089
|
+
export type McSourceFileCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1090
|
+
/**
|
|
1091
|
+
* Select specific fields to fetch from the McSourceFile
|
|
1092
|
+
*/
|
|
1093
|
+
select?: Prisma.McSourceFileSelect<ExtArgs> | null;
|
|
1094
|
+
/**
|
|
1095
|
+
* Omit specific fields from the McSourceFile
|
|
1096
|
+
*/
|
|
1097
|
+
omit?: Prisma.McSourceFileOmit<ExtArgs> | null;
|
|
1098
|
+
/**
|
|
1099
|
+
* Choose, which related nodes to fetch as well
|
|
1100
|
+
*/
|
|
1101
|
+
include?: Prisma.McSourceFileInclude<ExtArgs> | null;
|
|
1102
|
+
/**
|
|
1103
|
+
* The data needed to create a McSourceFile.
|
|
1104
|
+
*/
|
|
1105
|
+
data: Prisma.XOR<Prisma.McSourceFileCreateInput, Prisma.McSourceFileUncheckedCreateInput>;
|
|
1106
|
+
};
|
|
1107
|
+
/**
|
|
1108
|
+
* McSourceFile createMany
|
|
1109
|
+
*/
|
|
1110
|
+
export type McSourceFileCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1111
|
+
/**
|
|
1112
|
+
* The data used to create many McSourceFiles.
|
|
1113
|
+
*/
|
|
1114
|
+
data: Prisma.McSourceFileCreateManyInput | Prisma.McSourceFileCreateManyInput[];
|
|
1115
|
+
};
|
|
1116
|
+
/**
|
|
1117
|
+
* McSourceFile createManyAndReturn
|
|
1118
|
+
*/
|
|
1119
|
+
export type McSourceFileCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1120
|
+
/**
|
|
1121
|
+
* Select specific fields to fetch from the McSourceFile
|
|
1122
|
+
*/
|
|
1123
|
+
select?: Prisma.McSourceFileSelectCreateManyAndReturn<ExtArgs> | null;
|
|
1124
|
+
/**
|
|
1125
|
+
* Omit specific fields from the McSourceFile
|
|
1126
|
+
*/
|
|
1127
|
+
omit?: Prisma.McSourceFileOmit<ExtArgs> | null;
|
|
1128
|
+
/**
|
|
1129
|
+
* The data used to create many McSourceFiles.
|
|
1130
|
+
*/
|
|
1131
|
+
data: Prisma.McSourceFileCreateManyInput | Prisma.McSourceFileCreateManyInput[];
|
|
1132
|
+
/**
|
|
1133
|
+
* Choose, which related nodes to fetch as well
|
|
1134
|
+
*/
|
|
1135
|
+
include?: Prisma.McSourceFileIncludeCreateManyAndReturn<ExtArgs> | null;
|
|
1136
|
+
};
|
|
1137
|
+
/**
|
|
1138
|
+
* McSourceFile update
|
|
1139
|
+
*/
|
|
1140
|
+
export type McSourceFileUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1141
|
+
/**
|
|
1142
|
+
* Select specific fields to fetch from the McSourceFile
|
|
1143
|
+
*/
|
|
1144
|
+
select?: Prisma.McSourceFileSelect<ExtArgs> | null;
|
|
1145
|
+
/**
|
|
1146
|
+
* Omit specific fields from the McSourceFile
|
|
1147
|
+
*/
|
|
1148
|
+
omit?: Prisma.McSourceFileOmit<ExtArgs> | null;
|
|
1149
|
+
/**
|
|
1150
|
+
* Choose, which related nodes to fetch as well
|
|
1151
|
+
*/
|
|
1152
|
+
include?: Prisma.McSourceFileInclude<ExtArgs> | null;
|
|
1153
|
+
/**
|
|
1154
|
+
* The data needed to update a McSourceFile.
|
|
1155
|
+
*/
|
|
1156
|
+
data: Prisma.XOR<Prisma.McSourceFileUpdateInput, Prisma.McSourceFileUncheckedUpdateInput>;
|
|
1157
|
+
/**
|
|
1158
|
+
* Choose, which McSourceFile to update.
|
|
1159
|
+
*/
|
|
1160
|
+
where: Prisma.McSourceFileWhereUniqueInput;
|
|
1161
|
+
};
|
|
1162
|
+
/**
|
|
1163
|
+
* McSourceFile updateMany
|
|
1164
|
+
*/
|
|
1165
|
+
export type McSourceFileUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1166
|
+
/**
|
|
1167
|
+
* The data used to update McSourceFiles.
|
|
1168
|
+
*/
|
|
1169
|
+
data: Prisma.XOR<Prisma.McSourceFileUpdateManyMutationInput, Prisma.McSourceFileUncheckedUpdateManyInput>;
|
|
1170
|
+
/**
|
|
1171
|
+
* Filter which McSourceFiles to update
|
|
1172
|
+
*/
|
|
1173
|
+
where?: Prisma.McSourceFileWhereInput;
|
|
1174
|
+
/**
|
|
1175
|
+
* Limit how many McSourceFiles to update.
|
|
1176
|
+
*/
|
|
1177
|
+
limit?: number;
|
|
1178
|
+
};
|
|
1179
|
+
/**
|
|
1180
|
+
* McSourceFile updateManyAndReturn
|
|
1181
|
+
*/
|
|
1182
|
+
export type McSourceFileUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1183
|
+
/**
|
|
1184
|
+
* Select specific fields to fetch from the McSourceFile
|
|
1185
|
+
*/
|
|
1186
|
+
select?: Prisma.McSourceFileSelectUpdateManyAndReturn<ExtArgs> | null;
|
|
1187
|
+
/**
|
|
1188
|
+
* Omit specific fields from the McSourceFile
|
|
1189
|
+
*/
|
|
1190
|
+
omit?: Prisma.McSourceFileOmit<ExtArgs> | null;
|
|
1191
|
+
/**
|
|
1192
|
+
* The data used to update McSourceFiles.
|
|
1193
|
+
*/
|
|
1194
|
+
data: Prisma.XOR<Prisma.McSourceFileUpdateManyMutationInput, Prisma.McSourceFileUncheckedUpdateManyInput>;
|
|
1195
|
+
/**
|
|
1196
|
+
* Filter which McSourceFiles to update
|
|
1197
|
+
*/
|
|
1198
|
+
where?: Prisma.McSourceFileWhereInput;
|
|
1199
|
+
/**
|
|
1200
|
+
* Limit how many McSourceFiles to update.
|
|
1201
|
+
*/
|
|
1202
|
+
limit?: number;
|
|
1203
|
+
/**
|
|
1204
|
+
* Choose, which related nodes to fetch as well
|
|
1205
|
+
*/
|
|
1206
|
+
include?: Prisma.McSourceFileIncludeUpdateManyAndReturn<ExtArgs> | null;
|
|
1207
|
+
};
|
|
1208
|
+
/**
|
|
1209
|
+
* McSourceFile upsert
|
|
1210
|
+
*/
|
|
1211
|
+
export type McSourceFileUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1212
|
+
/**
|
|
1213
|
+
* Select specific fields to fetch from the McSourceFile
|
|
1214
|
+
*/
|
|
1215
|
+
select?: Prisma.McSourceFileSelect<ExtArgs> | null;
|
|
1216
|
+
/**
|
|
1217
|
+
* Omit specific fields from the McSourceFile
|
|
1218
|
+
*/
|
|
1219
|
+
omit?: Prisma.McSourceFileOmit<ExtArgs> | null;
|
|
1220
|
+
/**
|
|
1221
|
+
* Choose, which related nodes to fetch as well
|
|
1222
|
+
*/
|
|
1223
|
+
include?: Prisma.McSourceFileInclude<ExtArgs> | null;
|
|
1224
|
+
/**
|
|
1225
|
+
* The filter to search for the McSourceFile to update in case it exists.
|
|
1226
|
+
*/
|
|
1227
|
+
where: Prisma.McSourceFileWhereUniqueInput;
|
|
1228
|
+
/**
|
|
1229
|
+
* In case the McSourceFile found by the `where` argument doesn't exist, create a new McSourceFile with this data.
|
|
1230
|
+
*/
|
|
1231
|
+
create: Prisma.XOR<Prisma.McSourceFileCreateInput, Prisma.McSourceFileUncheckedCreateInput>;
|
|
1232
|
+
/**
|
|
1233
|
+
* In case the McSourceFile was found with the provided `where` argument, update it with this data.
|
|
1234
|
+
*/
|
|
1235
|
+
update: Prisma.XOR<Prisma.McSourceFileUpdateInput, Prisma.McSourceFileUncheckedUpdateInput>;
|
|
1236
|
+
};
|
|
1237
|
+
/**
|
|
1238
|
+
* McSourceFile delete
|
|
1239
|
+
*/
|
|
1240
|
+
export type McSourceFileDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1241
|
+
/**
|
|
1242
|
+
* Select specific fields to fetch from the McSourceFile
|
|
1243
|
+
*/
|
|
1244
|
+
select?: Prisma.McSourceFileSelect<ExtArgs> | null;
|
|
1245
|
+
/**
|
|
1246
|
+
* Omit specific fields from the McSourceFile
|
|
1247
|
+
*/
|
|
1248
|
+
omit?: Prisma.McSourceFileOmit<ExtArgs> | null;
|
|
1249
|
+
/**
|
|
1250
|
+
* Choose, which related nodes to fetch as well
|
|
1251
|
+
*/
|
|
1252
|
+
include?: Prisma.McSourceFileInclude<ExtArgs> | null;
|
|
1253
|
+
/**
|
|
1254
|
+
* Filter which McSourceFile to delete.
|
|
1255
|
+
*/
|
|
1256
|
+
where: Prisma.McSourceFileWhereUniqueInput;
|
|
1257
|
+
};
|
|
1258
|
+
/**
|
|
1259
|
+
* McSourceFile deleteMany
|
|
1260
|
+
*/
|
|
1261
|
+
export type McSourceFileDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1262
|
+
/**
|
|
1263
|
+
* Filter which McSourceFiles to delete
|
|
1264
|
+
*/
|
|
1265
|
+
where?: Prisma.McSourceFileWhereInput;
|
|
1266
|
+
/**
|
|
1267
|
+
* Limit how many McSourceFiles to delete.
|
|
1268
|
+
*/
|
|
1269
|
+
limit?: number;
|
|
1270
|
+
};
|
|
1271
|
+
/**
|
|
1272
|
+
* McSourceFile without action
|
|
1273
|
+
*/
|
|
1274
|
+
export type McSourceFileDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1275
|
+
/**
|
|
1276
|
+
* Select specific fields to fetch from the McSourceFile
|
|
1277
|
+
*/
|
|
1278
|
+
select?: Prisma.McSourceFileSelect<ExtArgs> | null;
|
|
1279
|
+
/**
|
|
1280
|
+
* Omit specific fields from the McSourceFile
|
|
1281
|
+
*/
|
|
1282
|
+
omit?: Prisma.McSourceFileOmit<ExtArgs> | null;
|
|
1283
|
+
/**
|
|
1284
|
+
* Choose, which related nodes to fetch as well
|
|
1285
|
+
*/
|
|
1286
|
+
include?: Prisma.McSourceFileInclude<ExtArgs> | null;
|
|
1287
|
+
};
|
|
1288
|
+
export {};
|
|
1289
|
+
//# sourceMappingURL=McSourceFile.d.ts.map
|