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