@highstate/backend 0.9.18 → 0.9.19
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/dist/chunk-5WVU2AK4.js +1535 -0
- package/dist/chunk-5WVU2AK4.js.map +1 -0
- package/dist/{chunk-OU5OQBLB.js → chunk-I7BWSAN6.js} +3 -28
- package/dist/{chunk-OU5OQBLB.js.map → chunk-I7BWSAN6.js.map} +1 -1
- package/dist/chunk-VB4YL327.js +139 -0
- package/dist/chunk-VB4YL327.js.map +1 -0
- package/dist/database/local/prisma.config.js +26 -0
- package/dist/database/local/prisma.config.js.map +1 -0
- package/dist/highstate.manifest.json +2 -1
- package/dist/index.js +7587 -7291
- package/dist/index.js.map +1 -1
- package/dist/library/package-resolution-worker.js +1 -1
- package/dist/library/package-resolution-worker.js.map +1 -1
- package/dist/library/worker/main.js +35 -29
- package/dist/library/worker/main.js.map +1 -1
- package/dist/shared/index.js +2 -2
- package/package.json +18 -9
- package/prisma/backend/_schema/layout.prisma +7 -0
- package/prisma/backend/_schema/library.prisma +17 -0
- package/prisma/backend/_schema/project.prisma +101 -0
- package/prisma/backend/_schema/pulumi.prisma +17 -0
- package/prisma/backend/postgresql/main.prisma +17 -0
- package/prisma/backend/sqlite/main.prisma +17 -0
- package/prisma/backend/sqlite/migrations/20250817070609_initiial/migration.sql +34 -0
- package/prisma/backend/sqlite/migrations/20250817104948_add_fields/migration.sql +59 -0
- package/prisma/backend/sqlite/migrations/20250818082732_add_models/migration.sql +41 -0
- package/prisma/backend/sqlite/migrations/20250818083106_a/migration.sql +19 -0
- package/prisma/backend/sqlite/migrations/20250818101945_hi/migration.sql +1 -0
- package/prisma/backend/sqlite/migrations/20250819082315_a/migration.sql +5 -0
- package/prisma/backend/sqlite/migrations/migration_lock.toml +3 -0
- package/prisma/project/api-key.prisma +27 -0
- package/prisma/project/artifact.prisma +52 -0
- package/prisma/project/custom-status.prisma +46 -0
- package/prisma/project/evaluation.prisma +35 -0
- package/prisma/project/instance.prisma +160 -0
- package/prisma/project/layout.prisma +23 -0
- package/prisma/project/lock.prisma +18 -0
- package/prisma/project/main.prisma +17 -0
- package/prisma/project/migrations/20250816081310_initial/migration.sql +300 -0
- package/prisma/project/migrations/20250816082523_test/migration.sql +72 -0
- package/prisma/project/migrations/20250818065643_update/migration.sql +42 -0
- package/prisma/project/migrations/20250818070758_a/migration.sql +8 -0
- package/prisma/project/migrations/20250818070913_a/migration.sql +8 -0
- package/prisma/project/migrations/20250818082720_add_motels/migration.sql +11 -0
- package/prisma/project/migrations/20250818112523_hello/migration.sql +35 -0
- package/prisma/project/migrations/20250819082305_a/migration.sql +14 -0
- package/prisma/project/migrations/20250819165004_add_missing_fields/migration.sql +216 -0
- package/prisma/project/migrations/20250819171309_a/migration.sql +22 -0
- package/prisma/project/migrations/20250820113949_a/migration.sql +66 -0
- package/prisma/project/migrations/20250820144256_b/migration.sql +31 -0
- package/prisma/project/migrations/20250820145547_a/migration.sql +24 -0
- package/prisma/project/migrations/20250820182517_b/migration.sql +2 -0
- package/prisma/project/migrations/20250821172324_a/migration.sql +2 -0
- package/prisma/project/migrations/20250822081339_a/migration.sql +219 -0
- package/prisma/project/migrations/20250822083742_b/migration.sql +1 -0
- package/prisma/project/migrations/20250822105134_boom/migration.sql +1 -0
- package/prisma/project/migrations/20250822141028_b/migration.sql +1 -0
- package/prisma/project/migrations/20250822142342_b/migration.sql +16 -0
- package/prisma/project/migrations/20250824072720_a/migration.sql +1 -0
- package/prisma/project/migrations/20250824093656_b/migration.sql +21 -0
- package/prisma/project/migrations/20250825082518_a/migration.sql +1 -0
- package/prisma/project/migrations/20250825085343_b/migration.sql +1 -0
- package/prisma/project/migrations/20250825091312_a/migration.sql +1 -0
- package/prisma/project/migrations/20250903095431_hi/migration.sql +44 -0
- package/prisma/project/migrations/20250903174255_a/migration.sql +24 -0
- package/prisma/project/migrations/20250908095205_hi/migration.sql +18 -0
- package/prisma/project/migrations/20250909155857_hi/migration.sql +15 -0
- package/prisma/project/migrations/migration_lock.toml +3 -0
- package/prisma/project/model.prisma +37 -0
- package/prisma/project/operation.prisma +148 -0
- package/prisma/project/page.prisma +41 -0
- package/prisma/project/secret.prisma +42 -0
- package/prisma/project/service-account.prisma +36 -0
- package/prisma/project/terminal.prisma +90 -0
- package/prisma/project/trigger.prisma +31 -0
- package/prisma/project/unlock-method.prisma +32 -0
- package/prisma/project/worker.prisma +138 -0
- package/src/artifact/abstractions.ts +13 -13
- package/src/artifact/encryption.ts +30 -54
- package/src/artifact/factory.ts +6 -9
- package/src/artifact/local.ts +33 -46
- package/src/business/api-key.ts +24 -36
- package/src/business/artifact.test.ts +978 -0
- package/src/business/artifact.ts +136 -216
- package/src/business/evaluation.ts +328 -0
- package/src/business/index.ts +5 -2
- package/src/business/instance-lock.test.ts +1060 -0
- package/src/business/instance-lock.ts +387 -78
- package/src/business/instance-state.test.ts +735 -0
- package/src/business/instance-state.ts +582 -337
- package/src/business/operation.test.ts +439 -0
- package/src/business/operation.ts +174 -208
- package/src/business/project-model.ts +258 -0
- package/src/business/project-unlock.ts +168 -126
- package/src/business/project.ts +287 -179
- package/src/business/secret.test.ts +465 -130
- package/src/business/secret.ts +186 -217
- package/src/business/settings.test.ts +695 -0
- package/src/business/settings.ts +855 -0
- package/src/business/terminal-session.ts +90 -0
- package/src/business/unit-extra.test.ts +539 -0
- package/src/business/unit-extra.ts +160 -0
- package/src/business/worker.test.ts +356 -579
- package/src/business/worker.ts +238 -339
- package/src/common/codebase.ts +65 -0
- package/src/common/index.ts +3 -5
- package/src/common/logger.ts +5 -0
- package/src/common/utils.ts +4 -3
- package/src/config.ts +10 -11
- package/src/database/_generated/backend/postgresql/client.ts +72 -0
- package/src/database/_generated/backend/postgresql/commonInputTypes.ts +350 -0
- package/src/database/_generated/backend/postgresql/enums.ts +13 -0
- package/src/database/_generated/backend/postgresql/internal/class.ts +320 -0
- package/src/database/_generated/backend/postgresql/internal/prismaNamespace.ts +1238 -0
- package/src/database/_generated/backend/postgresql/models/Library.ts +1263 -0
- package/src/database/_generated/backend/postgresql/models/Project.ts +2175 -0
- package/src/database/_generated/backend/postgresql/models/ProjectModelStorage.ts +1263 -0
- package/src/database/_generated/backend/postgresql/models/ProjectSpace.ts +1602 -0
- package/src/database/_generated/backend/postgresql/models/PulumiBackend.ts +1263 -0
- package/src/database/_generated/backend/postgresql/models/UserWorkspaseLayout.ts +1065 -0
- package/src/database/_generated/backend/postgresql/models.ts +16 -0
- package/src/database/_generated/backend/postgresql/pjtg.ts +182 -0
- package/src/database/_generated/backend/sqlite/client.ts +72 -0
- package/src/database/_generated/backend/sqlite/commonInputTypes.ts +331 -0
- package/src/database/_generated/backend/sqlite/enums.ts +13 -0
- package/src/database/_generated/backend/sqlite/internal/class.ts +318 -0
- package/src/database/_generated/backend/sqlite/internal/prismaNamespace.ts +1207 -0
- package/src/database/_generated/backend/sqlite/models/Library.ts +1261 -0
- package/src/database/_generated/backend/sqlite/models/Project.ts +2169 -0
- package/src/database/_generated/backend/sqlite/models/ProjectModelStorage.ts +1261 -0
- package/src/database/_generated/backend/sqlite/models/ProjectSpace.ts +1599 -0
- package/src/database/_generated/backend/sqlite/models/PulumiBackend.ts +1261 -0
- package/src/database/_generated/backend/sqlite/models/UserWorkspaseLayout.ts +1063 -0
- package/src/database/_generated/backend/sqlite/models.ts +16 -0
- package/src/database/_generated/backend/sqlite/pjtg.ts +182 -0
- package/src/database/_generated/project/client.ts +204 -0
- package/src/database/_generated/project/commonInputTypes.ts +827 -0
- package/src/database/_generated/project/enums.ts +104 -0
- package/src/database/_generated/project/internal/class.ts +479 -0
- package/src/database/_generated/project/internal/prismaNamespace.ts +2974 -0
- package/src/database/_generated/project/models/ApiKey.ts +1506 -0
- package/src/database/_generated/project/models/Artifact.ts +2051 -0
- package/src/database/_generated/project/models/HubModel.ts +1125 -0
- package/src/database/_generated/project/models/InstanceCustomStatus.ts +1713 -0
- package/src/database/_generated/project/models/InstanceEvaluationState.ts +1312 -0
- package/src/database/_generated/project/models/InstanceLock.ts +1268 -0
- package/src/database/_generated/project/models/InstanceModel.ts +1125 -0
- package/src/database/_generated/project/models/InstanceOperationState.ts +1707 -0
- package/src/database/_generated/project/models/InstanceState.ts +4613 -0
- package/src/database/_generated/project/models/Operation.ts +1647 -0
- package/src/database/_generated/project/models/OperationLog.ts +1455 -0
- package/src/database/_generated/project/models/Page.ts +1838 -0
- package/src/database/_generated/project/models/Secret.ts +1692 -0
- package/src/database/_generated/project/models/ServiceAccount.ts +2165 -0
- package/src/database/_generated/project/models/Terminal.ts +2038 -0
- package/src/database/_generated/project/models/TerminalSession.ts +1454 -0
- package/src/database/_generated/project/models/TerminalSessionLog.ts +1280 -0
- package/src/database/_generated/project/models/Trigger.ts +1430 -0
- package/src/database/_generated/project/models/UnlockMethod.ts +1220 -0
- package/src/database/_generated/project/models/UserCompositeViewport.ts +1280 -0
- package/src/database/_generated/project/models/UserProjectViewport.ts +1059 -0
- package/src/database/_generated/project/models/Worker.ts +1459 -0
- package/src/database/_generated/project/models/WorkerUnitRegistration.ts +1524 -0
- package/src/database/_generated/project/models/WorkerVersion.ts +1974 -0
- package/src/database/_generated/project/models/WorkerVersionLog.ts +1318 -0
- package/src/database/_generated/project/models.ts +35 -0
- package/src/database/_generated/project/pjtg.ts +182 -0
- package/src/database/abstractions.ts +19 -0
- package/src/database/factory.ts +37 -0
- package/src/database/index.ts +6 -0
- package/src/database/local/backend.ts +134 -0
- package/src/database/local/index.ts +3 -0
- package/src/database/local/meta.ts +46 -0
- package/src/database/local/prisma.config.ts +25 -0
- package/src/database/local/project.ts +39 -0
- package/src/database/manager.ts +181 -0
- package/src/database/migrate.ts +35 -0
- package/src/database/prisma.ts +56 -0
- package/src/database/well-known.ts +38 -0
- package/src/index.ts +4 -4
- package/src/library/abstractions.ts +3 -5
- package/src/library/factory.ts +1 -1
- package/src/library/local.ts +81 -26
- package/src/library/package-resolution-worker.ts +1 -1
- package/src/library/worker/evaluator.ts +40 -23
- package/src/library/worker/loader.lite.ts +1 -1
- package/src/library/worker/main.ts +3 -10
- package/src/library/worker/protocol.ts +0 -1
- package/src/lock/index.ts +0 -1
- package/src/lock/manager.ts +0 -10
- package/src/orchestrator/manager.ts +190 -104
- package/src/orchestrator/operation-context.ts +357 -0
- package/src/orchestrator/operation-plan.destroy.test.md +357 -0
- package/src/orchestrator/operation-plan.destroy.test.ts +775 -0
- package/src/orchestrator/operation-plan.fixtures.ts +213 -0
- package/src/orchestrator/operation-plan.md +198 -0
- package/src/orchestrator/operation-plan.refresh.test.md +199 -0
- package/src/orchestrator/operation-plan.refresh.test.ts +367 -0
- package/src/orchestrator/operation-plan.ts +709 -0
- package/src/orchestrator/operation-plan.update.test.md +485 -0
- package/src/orchestrator/operation-plan.update.test.ts +1066 -0
- package/src/orchestrator/operation-workset.ts +233 -578
- package/src/orchestrator/operation.ts +435 -948
- package/src/orchestrator/plan-test-builder.ts +267 -0
- package/src/project-model/abstractions.ts +118 -0
- package/src/project-model/backends/codebase.ts +365 -0
- package/src/project-model/backends/database.ts +440 -0
- package/src/project-model/errors.ts +81 -0
- package/src/project-model/factory.ts +24 -0
- package/src/project-model/index.ts +4 -0
- package/src/project-model/utils.test.ts +544 -0
- package/src/project-model/utils.ts +242 -0
- package/src/pubsub/abstractions.ts +10 -1
- package/src/pubsub/factory.ts +4 -4
- package/src/pubsub/index.ts +1 -0
- package/src/pubsub/manager.ts +29 -13
- package/src/pubsub/memory.ts +31 -0
- package/src/runner/abstractions.ts +33 -41
- package/src/runner/artifact-env.ts +19 -8
- package/src/runner/factory.ts +6 -6
- package/src/runner/force-abort.ts +3 -6
- package/src/runner/local.ts +64 -67
- package/src/runner/pulumi.ts +23 -63
- package/src/services.ts +181 -123
- package/src/shared/models/backend/index.ts +3 -1
- package/src/shared/models/backend/library.ts +9 -1
- package/src/shared/models/backend/project.ts +43 -42
- package/src/shared/models/backend/pulumi.ts +14 -0
- package/src/shared/models/backend/unlock-method.ts +1 -1
- package/src/shared/models/backend/well-known.ts +58 -0
- package/src/shared/models/base.ts +40 -26
- package/src/shared/models/errors.ts +82 -1
- package/src/shared/models/index.ts +3 -2
- package/src/shared/models/prisma.ts +36 -0
- package/src/shared/models/project/api-key.ts +37 -59
- package/src/shared/models/project/artifact.ts +16 -76
- package/src/shared/models/project/custom-status.ts +12 -0
- package/src/shared/models/project/index.ts +8 -7
- package/src/shared/models/project/lock.ts +10 -78
- package/src/shared/models/project/model.ts +19 -1
- package/src/shared/models/project/operation.ts +222 -99
- package/src/shared/models/project/page.ts +37 -48
- package/src/shared/models/project/secret.ts +29 -89
- package/src/shared/models/project/service-account.ts +12 -17
- package/src/shared/models/project/state.ts +100 -407
- package/src/shared/models/project/terminal.ts +75 -88
- package/src/shared/models/project/trigger.ts +13 -49
- package/src/shared/models/project/unlock-method.ts +20 -26
- package/src/shared/models/project/worker.ts +89 -90
- package/src/shared/resolvers/graph-resolver.ts +21 -0
- package/src/shared/resolvers/index.ts +1 -1
- package/src/shared/resolvers/input-hash.ts +24 -14
- package/src/shared/resolvers/input.ts +1 -1
- package/src/shared/resolvers/registry.ts +5 -4
- package/src/shared/resolvers/state.ts +12 -1
- package/src/shared/resolvers/validation.ts +7 -3
- package/src/shared/utils/index.ts +1 -2
- package/src/shared/utils/promise-tracker.ts +30 -3
- package/src/terminal/abstractions.ts +1 -1
- package/src/terminal/docker.ts +3 -3
- package/src/terminal/manager.ts +102 -118
- package/src/test-utils/database.ts +119 -0
- package/src/test-utils/index.ts +2 -0
- package/src/test-utils/services.ts +134 -0
- package/src/unlock/abstractions.ts +5 -23
- package/src/unlock/memory.ts +9 -14
- package/src/worker/abstractions.ts +7 -4
- package/src/worker/docker.ts +14 -19
- package/src/worker/manager.ts +366 -97
- package/dist/chunk-NAAIDR4U.js +0 -8499
- package/dist/chunk-NAAIDR4U.js.map +0 -1
- package/dist/chunk-Y7DXREVO.js +0 -1745
- package/dist/chunk-Y7DXREVO.js.map +0 -1
- package/dist/magic-string.es-5ABAC4JN.js +0 -1292
- package/dist/magic-string.es-5ABAC4JN.js.map +0 -1
- package/src/business/__traces__/secret/update-instance-secrets/create-and-delete-secrets-simultaneously.md +0 -356
- package/src/business/__traces__/secret/update-instance-secrets/create-new-secrets-for-instance.md +0 -274
- package/src/business/__traces__/secret/update-instance-secrets/delete-existing-secrets.md +0 -223
- package/src/business/__traces__/secret/update-instance-secrets/no-op-when-no-changes.md +0 -147
- package/src/business/__traces__/secret/update-instance-secrets/update-existing-secrets.md +0 -280
- package/src/business/__traces__/worker/update-unit-registrations/add-new-unit-registration-when-other-exists.md +0 -360
- package/src/business/__traces__/worker/update-unit-registrations/add-new-unit-registration.md +0 -215
- package/src/business/__traces__/worker/update-unit-registrations/create-multiple-workers-with-different-identities.md +0 -427
- package/src/business/__traces__/worker/update-unit-registrations/handle-nonexistent-registration-id-gracefully.md +0 -217
- package/src/business/__traces__/worker/update-unit-registrations/no-op-when-no-changes.md +0 -132
- package/src/business/__traces__/worker/update-unit-registrations/recreate-worker-when-image-changes.md +0 -454
- package/src/business/__traces__/worker/update-unit-registrations/recreate-worker-when-image-version-changes.md +0 -426
- package/src/business/__traces__/worker/update-unit-registrations/recreate-worker-with-same-identity-reuses-service-account.md +0 -372
- package/src/business/__traces__/worker/update-unit-registrations/remove-one-of-multiple-unit-registrations.md +0 -383
- package/src/business/__traces__/worker/update-unit-registrations/remove-unit-registration.md +0 -245
- package/src/business/__traces__/worker/update-unit-registrations/update-existing-unit-registration-when-params-change.md +0 -174
- package/src/business/__traces__/worker/update-unit-registrations/update-params-and-image-simultaneously.md +0 -432
- package/src/business/__traces__/worker/update-unit-registrations/worker-with-multiple-registrations-not-deleted-when-one-removed.md +0 -220
- package/src/business/backend-unlock.ts +0 -10
- package/src/common/clock.ts +0 -18
- package/src/common/performance.ts +0 -44
- package/src/common/random.ts +0 -68
- package/src/common/test/index.ts +0 -2
- package/src/common/test/render.ts +0 -98
- package/src/common/test/tracer.ts +0 -359
- package/src/hotstate/abstractions.ts +0 -48
- package/src/hotstate/factory.ts +0 -17
- package/src/hotstate/index.ts +0 -3
- package/src/hotstate/manager.ts +0 -192
- package/src/hotstate/memory.ts +0 -100
- package/src/hotstate/validation.ts +0 -100
- package/src/lock/test.ts +0 -108
- package/src/project/abstractions.ts +0 -78
- package/src/project/evaluation.ts +0 -248
- package/src/project/factory.ts +0 -11
- package/src/project/index.ts +0 -3
- package/src/project/local.ts +0 -417
- package/src/pubsub/local.ts +0 -36
- package/src/pubsub/validation.ts +0 -33
- package/src/shared/utils/args.ts +0 -25
- package/src/state/abstractions.ts +0 -289
- package/src/state/encryption.ts +0 -98
- package/src/state/factory.ts +0 -20
- package/src/state/index.ts +0 -7
- package/src/state/local/backend.ts +0 -106
- package/src/state/local/collection.ts +0 -361
- package/src/state/local/index.ts +0 -2
- package/src/state/manager.ts +0 -890
- package/src/state/memory/backend.ts +0 -70
- package/src/state/memory/collection.ts +0 -270
- package/src/state/memory/index.ts +0 -2
- package/src/state/repository/index.ts +0 -2
- package/src/state/repository/repository.index.ts +0 -193
- package/src/state/repository/repository.ts +0 -507
- package/src/state/test.ts +0 -457
- /package/src/{state → database/local}/keyring.ts +0 -0
|
@@ -0,0 +1,2051 @@
|
|
|
1
|
+
|
|
2
|
+
/* !!! This is code generated by Prisma. Do not edit directly. !!! */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
// @ts-nocheck
|
|
5
|
+
/**
|
|
6
|
+
* This file exports the `Artifact` model and its related types.
|
|
7
|
+
*
|
|
8
|
+
* 🟢 You can import this file directly.
|
|
9
|
+
*/
|
|
10
|
+
|
|
11
|
+
import type * as PJTG from '../pjtg.ts';
|
|
12
|
+
import * as runtime from "@prisma/client/runtime/client"
|
|
13
|
+
import type * as $Enums from "../enums.ts"
|
|
14
|
+
import type * as Prisma from "../internal/prismaNamespace.ts"
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* Model Artifact
|
|
18
|
+
* The artifact represents a file or folder stored in the system.
|
|
19
|
+
*
|
|
20
|
+
* It can be produced by units or manually uploaded via API by service accounts.
|
|
21
|
+
*
|
|
22
|
+
* Since different actors can produce the same artifact with the same content and hash,
|
|
23
|
+
* there is the ownership/usage concept to track which entities produce or use the artifact.
|
|
24
|
+
* The "ownership" and "usage" are synonymous in this context and often referred to as "usage".
|
|
25
|
+
*
|
|
26
|
+
* When no usages are present, the artifact will be automatically garbage collected after a certain period.
|
|
27
|
+
*/
|
|
28
|
+
export type ArtifactModel = runtime.Types.Result.DefaultSelection<Prisma.$ArtifactPayload>
|
|
29
|
+
|
|
30
|
+
export type AggregateArtifact = {
|
|
31
|
+
_count: ArtifactCountAggregateOutputType | null
|
|
32
|
+
_avg: ArtifactAvgAggregateOutputType | null
|
|
33
|
+
_sum: ArtifactSumAggregateOutputType | null
|
|
34
|
+
_min: ArtifactMinAggregateOutputType | null
|
|
35
|
+
_max: ArtifactMaxAggregateOutputType | null
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
export type ArtifactAvgAggregateOutputType = {
|
|
39
|
+
size: number | null
|
|
40
|
+
chunkSize: number | null
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
export type ArtifactSumAggregateOutputType = {
|
|
44
|
+
size: number | null
|
|
45
|
+
chunkSize: number | null
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
export type ArtifactMinAggregateOutputType = {
|
|
49
|
+
id: string | null
|
|
50
|
+
hash: string | null
|
|
51
|
+
size: number | null
|
|
52
|
+
chunkSize: number | null
|
|
53
|
+
createdAt: Date | null
|
|
54
|
+
updatedAt: Date | null
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
export type ArtifactMaxAggregateOutputType = {
|
|
58
|
+
id: string | null
|
|
59
|
+
hash: string | null
|
|
60
|
+
size: number | null
|
|
61
|
+
chunkSize: number | null
|
|
62
|
+
createdAt: Date | null
|
|
63
|
+
updatedAt: Date | null
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
export type ArtifactCountAggregateOutputType = {
|
|
67
|
+
id: number
|
|
68
|
+
meta: number
|
|
69
|
+
hash: number
|
|
70
|
+
size: number
|
|
71
|
+
chunkSize: number
|
|
72
|
+
createdAt: number
|
|
73
|
+
updatedAt: number
|
|
74
|
+
_all: number
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
|
|
78
|
+
export type ArtifactAvgAggregateInputType = {
|
|
79
|
+
size?: true
|
|
80
|
+
chunkSize?: true
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
export type ArtifactSumAggregateInputType = {
|
|
84
|
+
size?: true
|
|
85
|
+
chunkSize?: true
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
export type ArtifactMinAggregateInputType = {
|
|
89
|
+
id?: true
|
|
90
|
+
hash?: true
|
|
91
|
+
size?: true
|
|
92
|
+
chunkSize?: true
|
|
93
|
+
createdAt?: true
|
|
94
|
+
updatedAt?: true
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
export type ArtifactMaxAggregateInputType = {
|
|
98
|
+
id?: true
|
|
99
|
+
hash?: true
|
|
100
|
+
size?: true
|
|
101
|
+
chunkSize?: true
|
|
102
|
+
createdAt?: true
|
|
103
|
+
updatedAt?: true
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
export type ArtifactCountAggregateInputType = {
|
|
107
|
+
id?: true
|
|
108
|
+
meta?: true
|
|
109
|
+
hash?: true
|
|
110
|
+
size?: true
|
|
111
|
+
chunkSize?: true
|
|
112
|
+
createdAt?: true
|
|
113
|
+
updatedAt?: true
|
|
114
|
+
_all?: true
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
export type ArtifactAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
118
|
+
/**
|
|
119
|
+
* Filter which Artifact to aggregate.
|
|
120
|
+
*/
|
|
121
|
+
where?: Prisma.ArtifactWhereInput
|
|
122
|
+
/**
|
|
123
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
124
|
+
*
|
|
125
|
+
* Determine the order of Artifacts to fetch.
|
|
126
|
+
*/
|
|
127
|
+
orderBy?: Prisma.ArtifactOrderByWithRelationInput | Prisma.ArtifactOrderByWithRelationInput[]
|
|
128
|
+
/**
|
|
129
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
130
|
+
*
|
|
131
|
+
* Sets the start position
|
|
132
|
+
*/
|
|
133
|
+
cursor?: Prisma.ArtifactWhereUniqueInput
|
|
134
|
+
/**
|
|
135
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
136
|
+
*
|
|
137
|
+
* Take `±n` Artifacts from the position of the cursor.
|
|
138
|
+
*/
|
|
139
|
+
take?: number
|
|
140
|
+
/**
|
|
141
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
142
|
+
*
|
|
143
|
+
* Skip the first `n` Artifacts.
|
|
144
|
+
*/
|
|
145
|
+
skip?: number
|
|
146
|
+
/**
|
|
147
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
148
|
+
*
|
|
149
|
+
* Count returned Artifacts
|
|
150
|
+
**/
|
|
151
|
+
_count?: true | ArtifactCountAggregateInputType
|
|
152
|
+
/**
|
|
153
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
154
|
+
*
|
|
155
|
+
* Select which fields to average
|
|
156
|
+
**/
|
|
157
|
+
_avg?: ArtifactAvgAggregateInputType
|
|
158
|
+
/**
|
|
159
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
160
|
+
*
|
|
161
|
+
* Select which fields to sum
|
|
162
|
+
**/
|
|
163
|
+
_sum?: ArtifactSumAggregateInputType
|
|
164
|
+
/**
|
|
165
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
166
|
+
*
|
|
167
|
+
* Select which fields to find the minimum value
|
|
168
|
+
**/
|
|
169
|
+
_min?: ArtifactMinAggregateInputType
|
|
170
|
+
/**
|
|
171
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
172
|
+
*
|
|
173
|
+
* Select which fields to find the maximum value
|
|
174
|
+
**/
|
|
175
|
+
_max?: ArtifactMaxAggregateInputType
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
export type GetArtifactAggregateType<T extends ArtifactAggregateArgs> = {
|
|
179
|
+
[P in keyof T & keyof AggregateArtifact]: P extends '_count' | 'count'
|
|
180
|
+
? T[P] extends true
|
|
181
|
+
? number
|
|
182
|
+
: Prisma.GetScalarType<T[P], AggregateArtifact[P]>
|
|
183
|
+
: Prisma.GetScalarType<T[P], AggregateArtifact[P]>
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
|
|
187
|
+
|
|
188
|
+
|
|
189
|
+
export type ArtifactGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
190
|
+
where?: Prisma.ArtifactWhereInput
|
|
191
|
+
orderBy?: Prisma.ArtifactOrderByWithAggregationInput | Prisma.ArtifactOrderByWithAggregationInput[]
|
|
192
|
+
by: Prisma.ArtifactScalarFieldEnum[] | Prisma.ArtifactScalarFieldEnum
|
|
193
|
+
having?: Prisma.ArtifactScalarWhereWithAggregatesInput
|
|
194
|
+
take?: number
|
|
195
|
+
skip?: number
|
|
196
|
+
_count?: ArtifactCountAggregateInputType | true
|
|
197
|
+
_avg?: ArtifactAvgAggregateInputType
|
|
198
|
+
_sum?: ArtifactSumAggregateInputType
|
|
199
|
+
_min?: ArtifactMinAggregateInputType
|
|
200
|
+
_max?: ArtifactMaxAggregateInputType
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
export type ArtifactGroupByOutputType = {
|
|
204
|
+
id: string
|
|
205
|
+
meta: PrismaJson.CommonObjectMeta
|
|
206
|
+
hash: string
|
|
207
|
+
size: number
|
|
208
|
+
chunkSize: number
|
|
209
|
+
createdAt: Date
|
|
210
|
+
updatedAt: Date
|
|
211
|
+
_count: ArtifactCountAggregateOutputType | null
|
|
212
|
+
_avg: ArtifactAvgAggregateOutputType | null
|
|
213
|
+
_sum: ArtifactSumAggregateOutputType | null
|
|
214
|
+
_min: ArtifactMinAggregateOutputType | null
|
|
215
|
+
_max: ArtifactMaxAggregateOutputType | null
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
type GetArtifactGroupByPayload<T extends ArtifactGroupByArgs> = Prisma.PrismaPromise<
|
|
219
|
+
Array<
|
|
220
|
+
Prisma.PickEnumerable<ArtifactGroupByOutputType, T['by']> &
|
|
221
|
+
{
|
|
222
|
+
[P in ((keyof T) & (keyof ArtifactGroupByOutputType))]: P extends '_count'
|
|
223
|
+
? T[P] extends boolean
|
|
224
|
+
? number
|
|
225
|
+
: Prisma.GetScalarType<T[P], ArtifactGroupByOutputType[P]>
|
|
226
|
+
: Prisma.GetScalarType<T[P], ArtifactGroupByOutputType[P]>
|
|
227
|
+
}
|
|
228
|
+
>
|
|
229
|
+
>
|
|
230
|
+
|
|
231
|
+
|
|
232
|
+
|
|
233
|
+
export type ArtifactWhereInput = {
|
|
234
|
+
AND?: Prisma.ArtifactWhereInput | Prisma.ArtifactWhereInput[]
|
|
235
|
+
OR?: Prisma.ArtifactWhereInput[]
|
|
236
|
+
NOT?: Prisma.ArtifactWhereInput | Prisma.ArtifactWhereInput[]
|
|
237
|
+
id?: Prisma.StringFilter<"Artifact"> | string
|
|
238
|
+
meta?: Prisma.JsonFilter<"Artifact">
|
|
239
|
+
hash?: Prisma.StringFilter<"Artifact"> | string
|
|
240
|
+
size?: Prisma.IntFilter<"Artifact"> | number
|
|
241
|
+
chunkSize?: Prisma.IntFilter<"Artifact"> | number
|
|
242
|
+
createdAt?: Prisma.DateTimeFilter<"Artifact"> | Date | string
|
|
243
|
+
updatedAt?: Prisma.DateTimeFilter<"Artifact"> | Date | string
|
|
244
|
+
serviceAccounts?: Prisma.ServiceAccountListRelationFilter
|
|
245
|
+
instances?: Prisma.InstanceStateListRelationFilter
|
|
246
|
+
terminals?: Prisma.TerminalListRelationFilter
|
|
247
|
+
pages?: Prisma.PageListRelationFilter
|
|
248
|
+
}
|
|
249
|
+
|
|
250
|
+
export type ArtifactOrderByWithRelationInput = {
|
|
251
|
+
id?: Prisma.SortOrder
|
|
252
|
+
meta?: Prisma.SortOrder
|
|
253
|
+
hash?: Prisma.SortOrder
|
|
254
|
+
size?: Prisma.SortOrder
|
|
255
|
+
chunkSize?: Prisma.SortOrder
|
|
256
|
+
createdAt?: Prisma.SortOrder
|
|
257
|
+
updatedAt?: Prisma.SortOrder
|
|
258
|
+
serviceAccounts?: Prisma.ServiceAccountOrderByRelationAggregateInput
|
|
259
|
+
instances?: Prisma.InstanceStateOrderByRelationAggregateInput
|
|
260
|
+
terminals?: Prisma.TerminalOrderByRelationAggregateInput
|
|
261
|
+
pages?: Prisma.PageOrderByRelationAggregateInput
|
|
262
|
+
}
|
|
263
|
+
|
|
264
|
+
export type ArtifactWhereUniqueInput = Prisma.AtLeast<{
|
|
265
|
+
id?: string
|
|
266
|
+
hash?: string
|
|
267
|
+
AND?: Prisma.ArtifactWhereInput | Prisma.ArtifactWhereInput[]
|
|
268
|
+
OR?: Prisma.ArtifactWhereInput[]
|
|
269
|
+
NOT?: Prisma.ArtifactWhereInput | Prisma.ArtifactWhereInput[]
|
|
270
|
+
meta?: Prisma.JsonFilter<"Artifact">
|
|
271
|
+
size?: Prisma.IntFilter<"Artifact"> | number
|
|
272
|
+
chunkSize?: Prisma.IntFilter<"Artifact"> | number
|
|
273
|
+
createdAt?: Prisma.DateTimeFilter<"Artifact"> | Date | string
|
|
274
|
+
updatedAt?: Prisma.DateTimeFilter<"Artifact"> | Date | string
|
|
275
|
+
serviceAccounts?: Prisma.ServiceAccountListRelationFilter
|
|
276
|
+
instances?: Prisma.InstanceStateListRelationFilter
|
|
277
|
+
terminals?: Prisma.TerminalListRelationFilter
|
|
278
|
+
pages?: Prisma.PageListRelationFilter
|
|
279
|
+
}, "id" | "hash">
|
|
280
|
+
|
|
281
|
+
export type ArtifactOrderByWithAggregationInput = {
|
|
282
|
+
id?: Prisma.SortOrder
|
|
283
|
+
meta?: Prisma.SortOrder
|
|
284
|
+
hash?: Prisma.SortOrder
|
|
285
|
+
size?: Prisma.SortOrder
|
|
286
|
+
chunkSize?: Prisma.SortOrder
|
|
287
|
+
createdAt?: Prisma.SortOrder
|
|
288
|
+
updatedAt?: Prisma.SortOrder
|
|
289
|
+
_count?: Prisma.ArtifactCountOrderByAggregateInput
|
|
290
|
+
_avg?: Prisma.ArtifactAvgOrderByAggregateInput
|
|
291
|
+
_max?: Prisma.ArtifactMaxOrderByAggregateInput
|
|
292
|
+
_min?: Prisma.ArtifactMinOrderByAggregateInput
|
|
293
|
+
_sum?: Prisma.ArtifactSumOrderByAggregateInput
|
|
294
|
+
}
|
|
295
|
+
|
|
296
|
+
export type ArtifactScalarWhereWithAggregatesInput = {
|
|
297
|
+
AND?: Prisma.ArtifactScalarWhereWithAggregatesInput | Prisma.ArtifactScalarWhereWithAggregatesInput[]
|
|
298
|
+
OR?: Prisma.ArtifactScalarWhereWithAggregatesInput[]
|
|
299
|
+
NOT?: Prisma.ArtifactScalarWhereWithAggregatesInput | Prisma.ArtifactScalarWhereWithAggregatesInput[]
|
|
300
|
+
id?: Prisma.StringWithAggregatesFilter<"Artifact"> | string
|
|
301
|
+
meta?: Prisma.JsonWithAggregatesFilter<"Artifact">
|
|
302
|
+
hash?: Prisma.StringWithAggregatesFilter<"Artifact"> | string
|
|
303
|
+
size?: Prisma.IntWithAggregatesFilter<"Artifact"> | number
|
|
304
|
+
chunkSize?: Prisma.IntWithAggregatesFilter<"Artifact"> | number
|
|
305
|
+
createdAt?: Prisma.DateTimeWithAggregatesFilter<"Artifact"> | Date | string
|
|
306
|
+
updatedAt?: Prisma.DateTimeWithAggregatesFilter<"Artifact"> | Date | string
|
|
307
|
+
}
|
|
308
|
+
|
|
309
|
+
export type ArtifactCreateInput = {
|
|
310
|
+
id?: string
|
|
311
|
+
meta: PrismaJson.CommonObjectMeta
|
|
312
|
+
hash: string
|
|
313
|
+
size: number
|
|
314
|
+
chunkSize: number
|
|
315
|
+
createdAt?: Date | string
|
|
316
|
+
updatedAt?: Date | string
|
|
317
|
+
serviceAccounts?: Prisma.ServiceAccountCreateNestedManyWithoutArtifactsInput
|
|
318
|
+
instances?: Prisma.InstanceStateCreateNestedManyWithoutArtifactsInput
|
|
319
|
+
terminals?: Prisma.TerminalCreateNestedManyWithoutArtifactsInput
|
|
320
|
+
pages?: Prisma.PageCreateNestedManyWithoutArtifactsInput
|
|
321
|
+
}
|
|
322
|
+
|
|
323
|
+
export type ArtifactUncheckedCreateInput = {
|
|
324
|
+
id?: string
|
|
325
|
+
meta: PrismaJson.CommonObjectMeta
|
|
326
|
+
hash: string
|
|
327
|
+
size: number
|
|
328
|
+
chunkSize: number
|
|
329
|
+
createdAt?: Date | string
|
|
330
|
+
updatedAt?: Date | string
|
|
331
|
+
serviceAccounts?: Prisma.ServiceAccountUncheckedCreateNestedManyWithoutArtifactsInput
|
|
332
|
+
instances?: Prisma.InstanceStateUncheckedCreateNestedManyWithoutArtifactsInput
|
|
333
|
+
terminals?: Prisma.TerminalUncheckedCreateNestedManyWithoutArtifactsInput
|
|
334
|
+
pages?: Prisma.PageUncheckedCreateNestedManyWithoutArtifactsInput
|
|
335
|
+
}
|
|
336
|
+
|
|
337
|
+
export type ArtifactUpdateInput = {
|
|
338
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
339
|
+
meta?: PrismaJson.CommonObjectMeta
|
|
340
|
+
hash?: Prisma.StringFieldUpdateOperationsInput | string
|
|
341
|
+
size?: Prisma.IntFieldUpdateOperationsInput | number
|
|
342
|
+
chunkSize?: Prisma.IntFieldUpdateOperationsInput | number
|
|
343
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
344
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
345
|
+
serviceAccounts?: Prisma.ServiceAccountUpdateManyWithoutArtifactsNestedInput
|
|
346
|
+
instances?: Prisma.InstanceStateUpdateManyWithoutArtifactsNestedInput
|
|
347
|
+
terminals?: Prisma.TerminalUpdateManyWithoutArtifactsNestedInput
|
|
348
|
+
pages?: Prisma.PageUpdateManyWithoutArtifactsNestedInput
|
|
349
|
+
}
|
|
350
|
+
|
|
351
|
+
export type ArtifactUncheckedUpdateInput = {
|
|
352
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
353
|
+
meta?: PrismaJson.CommonObjectMeta
|
|
354
|
+
hash?: Prisma.StringFieldUpdateOperationsInput | string
|
|
355
|
+
size?: Prisma.IntFieldUpdateOperationsInput | number
|
|
356
|
+
chunkSize?: Prisma.IntFieldUpdateOperationsInput | number
|
|
357
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
358
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
359
|
+
serviceAccounts?: Prisma.ServiceAccountUncheckedUpdateManyWithoutArtifactsNestedInput
|
|
360
|
+
instances?: Prisma.InstanceStateUncheckedUpdateManyWithoutArtifactsNestedInput
|
|
361
|
+
terminals?: Prisma.TerminalUncheckedUpdateManyWithoutArtifactsNestedInput
|
|
362
|
+
pages?: Prisma.PageUncheckedUpdateManyWithoutArtifactsNestedInput
|
|
363
|
+
}
|
|
364
|
+
|
|
365
|
+
export type ArtifactCreateManyInput = {
|
|
366
|
+
id?: string
|
|
367
|
+
meta: PrismaJson.CommonObjectMeta
|
|
368
|
+
hash: string
|
|
369
|
+
size: number
|
|
370
|
+
chunkSize: number
|
|
371
|
+
createdAt?: Date | string
|
|
372
|
+
updatedAt?: Date | string
|
|
373
|
+
}
|
|
374
|
+
|
|
375
|
+
export type ArtifactUpdateManyMutationInput = {
|
|
376
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
377
|
+
meta?: PrismaJson.CommonObjectMeta
|
|
378
|
+
hash?: Prisma.StringFieldUpdateOperationsInput | string
|
|
379
|
+
size?: Prisma.IntFieldUpdateOperationsInput | number
|
|
380
|
+
chunkSize?: Prisma.IntFieldUpdateOperationsInput | number
|
|
381
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
382
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
383
|
+
}
|
|
384
|
+
|
|
385
|
+
export type ArtifactUncheckedUpdateManyInput = {
|
|
386
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
387
|
+
meta?: PrismaJson.CommonObjectMeta
|
|
388
|
+
hash?: Prisma.StringFieldUpdateOperationsInput | string
|
|
389
|
+
size?: Prisma.IntFieldUpdateOperationsInput | number
|
|
390
|
+
chunkSize?: Prisma.IntFieldUpdateOperationsInput | number
|
|
391
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
392
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
393
|
+
}
|
|
394
|
+
|
|
395
|
+
export type ArtifactCountOrderByAggregateInput = {
|
|
396
|
+
id?: Prisma.SortOrder
|
|
397
|
+
meta?: Prisma.SortOrder
|
|
398
|
+
hash?: Prisma.SortOrder
|
|
399
|
+
size?: Prisma.SortOrder
|
|
400
|
+
chunkSize?: Prisma.SortOrder
|
|
401
|
+
createdAt?: Prisma.SortOrder
|
|
402
|
+
updatedAt?: Prisma.SortOrder
|
|
403
|
+
}
|
|
404
|
+
|
|
405
|
+
export type ArtifactAvgOrderByAggregateInput = {
|
|
406
|
+
size?: Prisma.SortOrder
|
|
407
|
+
chunkSize?: Prisma.SortOrder
|
|
408
|
+
}
|
|
409
|
+
|
|
410
|
+
export type ArtifactMaxOrderByAggregateInput = {
|
|
411
|
+
id?: Prisma.SortOrder
|
|
412
|
+
hash?: Prisma.SortOrder
|
|
413
|
+
size?: Prisma.SortOrder
|
|
414
|
+
chunkSize?: Prisma.SortOrder
|
|
415
|
+
createdAt?: Prisma.SortOrder
|
|
416
|
+
updatedAt?: Prisma.SortOrder
|
|
417
|
+
}
|
|
418
|
+
|
|
419
|
+
export type ArtifactMinOrderByAggregateInput = {
|
|
420
|
+
id?: Prisma.SortOrder
|
|
421
|
+
hash?: Prisma.SortOrder
|
|
422
|
+
size?: Prisma.SortOrder
|
|
423
|
+
chunkSize?: Prisma.SortOrder
|
|
424
|
+
createdAt?: Prisma.SortOrder
|
|
425
|
+
updatedAt?: Prisma.SortOrder
|
|
426
|
+
}
|
|
427
|
+
|
|
428
|
+
export type ArtifactSumOrderByAggregateInput = {
|
|
429
|
+
size?: Prisma.SortOrder
|
|
430
|
+
chunkSize?: Prisma.SortOrder
|
|
431
|
+
}
|
|
432
|
+
|
|
433
|
+
export type ArtifactListRelationFilter = {
|
|
434
|
+
every?: Prisma.ArtifactWhereInput
|
|
435
|
+
some?: Prisma.ArtifactWhereInput
|
|
436
|
+
none?: Prisma.ArtifactWhereInput
|
|
437
|
+
}
|
|
438
|
+
|
|
439
|
+
export type ArtifactOrderByRelationAggregateInput = {
|
|
440
|
+
_count?: Prisma.SortOrder
|
|
441
|
+
}
|
|
442
|
+
|
|
443
|
+
export type IntFieldUpdateOperationsInput = {
|
|
444
|
+
set?: number
|
|
445
|
+
increment?: number
|
|
446
|
+
decrement?: number
|
|
447
|
+
multiply?: number
|
|
448
|
+
divide?: number
|
|
449
|
+
}
|
|
450
|
+
|
|
451
|
+
export type ArtifactCreateNestedManyWithoutInstancesInput = {
|
|
452
|
+
create?: Prisma.XOR<Prisma.ArtifactCreateWithoutInstancesInput, Prisma.ArtifactUncheckedCreateWithoutInstancesInput> | Prisma.ArtifactCreateWithoutInstancesInput[] | Prisma.ArtifactUncheckedCreateWithoutInstancesInput[]
|
|
453
|
+
connectOrCreate?: Prisma.ArtifactCreateOrConnectWithoutInstancesInput | Prisma.ArtifactCreateOrConnectWithoutInstancesInput[]
|
|
454
|
+
connect?: Prisma.ArtifactWhereUniqueInput | Prisma.ArtifactWhereUniqueInput[]
|
|
455
|
+
}
|
|
456
|
+
|
|
457
|
+
export type ArtifactUncheckedCreateNestedManyWithoutInstancesInput = {
|
|
458
|
+
create?: Prisma.XOR<Prisma.ArtifactCreateWithoutInstancesInput, Prisma.ArtifactUncheckedCreateWithoutInstancesInput> | Prisma.ArtifactCreateWithoutInstancesInput[] | Prisma.ArtifactUncheckedCreateWithoutInstancesInput[]
|
|
459
|
+
connectOrCreate?: Prisma.ArtifactCreateOrConnectWithoutInstancesInput | Prisma.ArtifactCreateOrConnectWithoutInstancesInput[]
|
|
460
|
+
connect?: Prisma.ArtifactWhereUniqueInput | Prisma.ArtifactWhereUniqueInput[]
|
|
461
|
+
}
|
|
462
|
+
|
|
463
|
+
export type ArtifactUpdateManyWithoutInstancesNestedInput = {
|
|
464
|
+
create?: Prisma.XOR<Prisma.ArtifactCreateWithoutInstancesInput, Prisma.ArtifactUncheckedCreateWithoutInstancesInput> | Prisma.ArtifactCreateWithoutInstancesInput[] | Prisma.ArtifactUncheckedCreateWithoutInstancesInput[]
|
|
465
|
+
connectOrCreate?: Prisma.ArtifactCreateOrConnectWithoutInstancesInput | Prisma.ArtifactCreateOrConnectWithoutInstancesInput[]
|
|
466
|
+
upsert?: Prisma.ArtifactUpsertWithWhereUniqueWithoutInstancesInput | Prisma.ArtifactUpsertWithWhereUniqueWithoutInstancesInput[]
|
|
467
|
+
set?: Prisma.ArtifactWhereUniqueInput | Prisma.ArtifactWhereUniqueInput[]
|
|
468
|
+
disconnect?: Prisma.ArtifactWhereUniqueInput | Prisma.ArtifactWhereUniqueInput[]
|
|
469
|
+
delete?: Prisma.ArtifactWhereUniqueInput | Prisma.ArtifactWhereUniqueInput[]
|
|
470
|
+
connect?: Prisma.ArtifactWhereUniqueInput | Prisma.ArtifactWhereUniqueInput[]
|
|
471
|
+
update?: Prisma.ArtifactUpdateWithWhereUniqueWithoutInstancesInput | Prisma.ArtifactUpdateWithWhereUniqueWithoutInstancesInput[]
|
|
472
|
+
updateMany?: Prisma.ArtifactUpdateManyWithWhereWithoutInstancesInput | Prisma.ArtifactUpdateManyWithWhereWithoutInstancesInput[]
|
|
473
|
+
deleteMany?: Prisma.ArtifactScalarWhereInput | Prisma.ArtifactScalarWhereInput[]
|
|
474
|
+
}
|
|
475
|
+
|
|
476
|
+
export type ArtifactUncheckedUpdateManyWithoutInstancesNestedInput = {
|
|
477
|
+
create?: Prisma.XOR<Prisma.ArtifactCreateWithoutInstancesInput, Prisma.ArtifactUncheckedCreateWithoutInstancesInput> | Prisma.ArtifactCreateWithoutInstancesInput[] | Prisma.ArtifactUncheckedCreateWithoutInstancesInput[]
|
|
478
|
+
connectOrCreate?: Prisma.ArtifactCreateOrConnectWithoutInstancesInput | Prisma.ArtifactCreateOrConnectWithoutInstancesInput[]
|
|
479
|
+
upsert?: Prisma.ArtifactUpsertWithWhereUniqueWithoutInstancesInput | Prisma.ArtifactUpsertWithWhereUniqueWithoutInstancesInput[]
|
|
480
|
+
set?: Prisma.ArtifactWhereUniqueInput | Prisma.ArtifactWhereUniqueInput[]
|
|
481
|
+
disconnect?: Prisma.ArtifactWhereUniqueInput | Prisma.ArtifactWhereUniqueInput[]
|
|
482
|
+
delete?: Prisma.ArtifactWhereUniqueInput | Prisma.ArtifactWhereUniqueInput[]
|
|
483
|
+
connect?: Prisma.ArtifactWhereUniqueInput | Prisma.ArtifactWhereUniqueInput[]
|
|
484
|
+
update?: Prisma.ArtifactUpdateWithWhereUniqueWithoutInstancesInput | Prisma.ArtifactUpdateWithWhereUniqueWithoutInstancesInput[]
|
|
485
|
+
updateMany?: Prisma.ArtifactUpdateManyWithWhereWithoutInstancesInput | Prisma.ArtifactUpdateManyWithWhereWithoutInstancesInput[]
|
|
486
|
+
deleteMany?: Prisma.ArtifactScalarWhereInput | Prisma.ArtifactScalarWhereInput[]
|
|
487
|
+
}
|
|
488
|
+
|
|
489
|
+
export type ArtifactCreateNestedManyWithoutPagesInput = {
|
|
490
|
+
create?: Prisma.XOR<Prisma.ArtifactCreateWithoutPagesInput, Prisma.ArtifactUncheckedCreateWithoutPagesInput> | Prisma.ArtifactCreateWithoutPagesInput[] | Prisma.ArtifactUncheckedCreateWithoutPagesInput[]
|
|
491
|
+
connectOrCreate?: Prisma.ArtifactCreateOrConnectWithoutPagesInput | Prisma.ArtifactCreateOrConnectWithoutPagesInput[]
|
|
492
|
+
connect?: Prisma.ArtifactWhereUniqueInput | Prisma.ArtifactWhereUniqueInput[]
|
|
493
|
+
}
|
|
494
|
+
|
|
495
|
+
export type ArtifactUncheckedCreateNestedManyWithoutPagesInput = {
|
|
496
|
+
create?: Prisma.XOR<Prisma.ArtifactCreateWithoutPagesInput, Prisma.ArtifactUncheckedCreateWithoutPagesInput> | Prisma.ArtifactCreateWithoutPagesInput[] | Prisma.ArtifactUncheckedCreateWithoutPagesInput[]
|
|
497
|
+
connectOrCreate?: Prisma.ArtifactCreateOrConnectWithoutPagesInput | Prisma.ArtifactCreateOrConnectWithoutPagesInput[]
|
|
498
|
+
connect?: Prisma.ArtifactWhereUniqueInput | Prisma.ArtifactWhereUniqueInput[]
|
|
499
|
+
}
|
|
500
|
+
|
|
501
|
+
export type ArtifactUpdateManyWithoutPagesNestedInput = {
|
|
502
|
+
create?: Prisma.XOR<Prisma.ArtifactCreateWithoutPagesInput, Prisma.ArtifactUncheckedCreateWithoutPagesInput> | Prisma.ArtifactCreateWithoutPagesInput[] | Prisma.ArtifactUncheckedCreateWithoutPagesInput[]
|
|
503
|
+
connectOrCreate?: Prisma.ArtifactCreateOrConnectWithoutPagesInput | Prisma.ArtifactCreateOrConnectWithoutPagesInput[]
|
|
504
|
+
upsert?: Prisma.ArtifactUpsertWithWhereUniqueWithoutPagesInput | Prisma.ArtifactUpsertWithWhereUniqueWithoutPagesInput[]
|
|
505
|
+
set?: Prisma.ArtifactWhereUniqueInput | Prisma.ArtifactWhereUniqueInput[]
|
|
506
|
+
disconnect?: Prisma.ArtifactWhereUniqueInput | Prisma.ArtifactWhereUniqueInput[]
|
|
507
|
+
delete?: Prisma.ArtifactWhereUniqueInput | Prisma.ArtifactWhereUniqueInput[]
|
|
508
|
+
connect?: Prisma.ArtifactWhereUniqueInput | Prisma.ArtifactWhereUniqueInput[]
|
|
509
|
+
update?: Prisma.ArtifactUpdateWithWhereUniqueWithoutPagesInput | Prisma.ArtifactUpdateWithWhereUniqueWithoutPagesInput[]
|
|
510
|
+
updateMany?: Prisma.ArtifactUpdateManyWithWhereWithoutPagesInput | Prisma.ArtifactUpdateManyWithWhereWithoutPagesInput[]
|
|
511
|
+
deleteMany?: Prisma.ArtifactScalarWhereInput | Prisma.ArtifactScalarWhereInput[]
|
|
512
|
+
}
|
|
513
|
+
|
|
514
|
+
export type ArtifactUncheckedUpdateManyWithoutPagesNestedInput = {
|
|
515
|
+
create?: Prisma.XOR<Prisma.ArtifactCreateWithoutPagesInput, Prisma.ArtifactUncheckedCreateWithoutPagesInput> | Prisma.ArtifactCreateWithoutPagesInput[] | Prisma.ArtifactUncheckedCreateWithoutPagesInput[]
|
|
516
|
+
connectOrCreate?: Prisma.ArtifactCreateOrConnectWithoutPagesInput | Prisma.ArtifactCreateOrConnectWithoutPagesInput[]
|
|
517
|
+
upsert?: Prisma.ArtifactUpsertWithWhereUniqueWithoutPagesInput | Prisma.ArtifactUpsertWithWhereUniqueWithoutPagesInput[]
|
|
518
|
+
set?: Prisma.ArtifactWhereUniqueInput | Prisma.ArtifactWhereUniqueInput[]
|
|
519
|
+
disconnect?: Prisma.ArtifactWhereUniqueInput | Prisma.ArtifactWhereUniqueInput[]
|
|
520
|
+
delete?: Prisma.ArtifactWhereUniqueInput | Prisma.ArtifactWhereUniqueInput[]
|
|
521
|
+
connect?: Prisma.ArtifactWhereUniqueInput | Prisma.ArtifactWhereUniqueInput[]
|
|
522
|
+
update?: Prisma.ArtifactUpdateWithWhereUniqueWithoutPagesInput | Prisma.ArtifactUpdateWithWhereUniqueWithoutPagesInput[]
|
|
523
|
+
updateMany?: Prisma.ArtifactUpdateManyWithWhereWithoutPagesInput | Prisma.ArtifactUpdateManyWithWhereWithoutPagesInput[]
|
|
524
|
+
deleteMany?: Prisma.ArtifactScalarWhereInput | Prisma.ArtifactScalarWhereInput[]
|
|
525
|
+
}
|
|
526
|
+
|
|
527
|
+
export type ArtifactCreateNestedManyWithoutServiceAccountsInput = {
|
|
528
|
+
create?: Prisma.XOR<Prisma.ArtifactCreateWithoutServiceAccountsInput, Prisma.ArtifactUncheckedCreateWithoutServiceAccountsInput> | Prisma.ArtifactCreateWithoutServiceAccountsInput[] | Prisma.ArtifactUncheckedCreateWithoutServiceAccountsInput[]
|
|
529
|
+
connectOrCreate?: Prisma.ArtifactCreateOrConnectWithoutServiceAccountsInput | Prisma.ArtifactCreateOrConnectWithoutServiceAccountsInput[]
|
|
530
|
+
connect?: Prisma.ArtifactWhereUniqueInput | Prisma.ArtifactWhereUniqueInput[]
|
|
531
|
+
}
|
|
532
|
+
|
|
533
|
+
export type ArtifactUncheckedCreateNestedManyWithoutServiceAccountsInput = {
|
|
534
|
+
create?: Prisma.XOR<Prisma.ArtifactCreateWithoutServiceAccountsInput, Prisma.ArtifactUncheckedCreateWithoutServiceAccountsInput> | Prisma.ArtifactCreateWithoutServiceAccountsInput[] | Prisma.ArtifactUncheckedCreateWithoutServiceAccountsInput[]
|
|
535
|
+
connectOrCreate?: Prisma.ArtifactCreateOrConnectWithoutServiceAccountsInput | Prisma.ArtifactCreateOrConnectWithoutServiceAccountsInput[]
|
|
536
|
+
connect?: Prisma.ArtifactWhereUniqueInput | Prisma.ArtifactWhereUniqueInput[]
|
|
537
|
+
}
|
|
538
|
+
|
|
539
|
+
export type ArtifactUpdateManyWithoutServiceAccountsNestedInput = {
|
|
540
|
+
create?: Prisma.XOR<Prisma.ArtifactCreateWithoutServiceAccountsInput, Prisma.ArtifactUncheckedCreateWithoutServiceAccountsInput> | Prisma.ArtifactCreateWithoutServiceAccountsInput[] | Prisma.ArtifactUncheckedCreateWithoutServiceAccountsInput[]
|
|
541
|
+
connectOrCreate?: Prisma.ArtifactCreateOrConnectWithoutServiceAccountsInput | Prisma.ArtifactCreateOrConnectWithoutServiceAccountsInput[]
|
|
542
|
+
upsert?: Prisma.ArtifactUpsertWithWhereUniqueWithoutServiceAccountsInput | Prisma.ArtifactUpsertWithWhereUniqueWithoutServiceAccountsInput[]
|
|
543
|
+
set?: Prisma.ArtifactWhereUniqueInput | Prisma.ArtifactWhereUniqueInput[]
|
|
544
|
+
disconnect?: Prisma.ArtifactWhereUniqueInput | Prisma.ArtifactWhereUniqueInput[]
|
|
545
|
+
delete?: Prisma.ArtifactWhereUniqueInput | Prisma.ArtifactWhereUniqueInput[]
|
|
546
|
+
connect?: Prisma.ArtifactWhereUniqueInput | Prisma.ArtifactWhereUniqueInput[]
|
|
547
|
+
update?: Prisma.ArtifactUpdateWithWhereUniqueWithoutServiceAccountsInput | Prisma.ArtifactUpdateWithWhereUniqueWithoutServiceAccountsInput[]
|
|
548
|
+
updateMany?: Prisma.ArtifactUpdateManyWithWhereWithoutServiceAccountsInput | Prisma.ArtifactUpdateManyWithWhereWithoutServiceAccountsInput[]
|
|
549
|
+
deleteMany?: Prisma.ArtifactScalarWhereInput | Prisma.ArtifactScalarWhereInput[]
|
|
550
|
+
}
|
|
551
|
+
|
|
552
|
+
export type ArtifactUncheckedUpdateManyWithoutServiceAccountsNestedInput = {
|
|
553
|
+
create?: Prisma.XOR<Prisma.ArtifactCreateWithoutServiceAccountsInput, Prisma.ArtifactUncheckedCreateWithoutServiceAccountsInput> | Prisma.ArtifactCreateWithoutServiceAccountsInput[] | Prisma.ArtifactUncheckedCreateWithoutServiceAccountsInput[]
|
|
554
|
+
connectOrCreate?: Prisma.ArtifactCreateOrConnectWithoutServiceAccountsInput | Prisma.ArtifactCreateOrConnectWithoutServiceAccountsInput[]
|
|
555
|
+
upsert?: Prisma.ArtifactUpsertWithWhereUniqueWithoutServiceAccountsInput | Prisma.ArtifactUpsertWithWhereUniqueWithoutServiceAccountsInput[]
|
|
556
|
+
set?: Prisma.ArtifactWhereUniqueInput | Prisma.ArtifactWhereUniqueInput[]
|
|
557
|
+
disconnect?: Prisma.ArtifactWhereUniqueInput | Prisma.ArtifactWhereUniqueInput[]
|
|
558
|
+
delete?: Prisma.ArtifactWhereUniqueInput | Prisma.ArtifactWhereUniqueInput[]
|
|
559
|
+
connect?: Prisma.ArtifactWhereUniqueInput | Prisma.ArtifactWhereUniqueInput[]
|
|
560
|
+
update?: Prisma.ArtifactUpdateWithWhereUniqueWithoutServiceAccountsInput | Prisma.ArtifactUpdateWithWhereUniqueWithoutServiceAccountsInput[]
|
|
561
|
+
updateMany?: Prisma.ArtifactUpdateManyWithWhereWithoutServiceAccountsInput | Prisma.ArtifactUpdateManyWithWhereWithoutServiceAccountsInput[]
|
|
562
|
+
deleteMany?: Prisma.ArtifactScalarWhereInput | Prisma.ArtifactScalarWhereInput[]
|
|
563
|
+
}
|
|
564
|
+
|
|
565
|
+
export type ArtifactCreateNestedManyWithoutTerminalsInput = {
|
|
566
|
+
create?: Prisma.XOR<Prisma.ArtifactCreateWithoutTerminalsInput, Prisma.ArtifactUncheckedCreateWithoutTerminalsInput> | Prisma.ArtifactCreateWithoutTerminalsInput[] | Prisma.ArtifactUncheckedCreateWithoutTerminalsInput[]
|
|
567
|
+
connectOrCreate?: Prisma.ArtifactCreateOrConnectWithoutTerminalsInput | Prisma.ArtifactCreateOrConnectWithoutTerminalsInput[]
|
|
568
|
+
connect?: Prisma.ArtifactWhereUniqueInput | Prisma.ArtifactWhereUniqueInput[]
|
|
569
|
+
}
|
|
570
|
+
|
|
571
|
+
export type ArtifactUncheckedCreateNestedManyWithoutTerminalsInput = {
|
|
572
|
+
create?: Prisma.XOR<Prisma.ArtifactCreateWithoutTerminalsInput, Prisma.ArtifactUncheckedCreateWithoutTerminalsInput> | Prisma.ArtifactCreateWithoutTerminalsInput[] | Prisma.ArtifactUncheckedCreateWithoutTerminalsInput[]
|
|
573
|
+
connectOrCreate?: Prisma.ArtifactCreateOrConnectWithoutTerminalsInput | Prisma.ArtifactCreateOrConnectWithoutTerminalsInput[]
|
|
574
|
+
connect?: Prisma.ArtifactWhereUniqueInput | Prisma.ArtifactWhereUniqueInput[]
|
|
575
|
+
}
|
|
576
|
+
|
|
577
|
+
export type ArtifactUpdateManyWithoutTerminalsNestedInput = {
|
|
578
|
+
create?: Prisma.XOR<Prisma.ArtifactCreateWithoutTerminalsInput, Prisma.ArtifactUncheckedCreateWithoutTerminalsInput> | Prisma.ArtifactCreateWithoutTerminalsInput[] | Prisma.ArtifactUncheckedCreateWithoutTerminalsInput[]
|
|
579
|
+
connectOrCreate?: Prisma.ArtifactCreateOrConnectWithoutTerminalsInput | Prisma.ArtifactCreateOrConnectWithoutTerminalsInput[]
|
|
580
|
+
upsert?: Prisma.ArtifactUpsertWithWhereUniqueWithoutTerminalsInput | Prisma.ArtifactUpsertWithWhereUniqueWithoutTerminalsInput[]
|
|
581
|
+
set?: Prisma.ArtifactWhereUniqueInput | Prisma.ArtifactWhereUniqueInput[]
|
|
582
|
+
disconnect?: Prisma.ArtifactWhereUniqueInput | Prisma.ArtifactWhereUniqueInput[]
|
|
583
|
+
delete?: Prisma.ArtifactWhereUniqueInput | Prisma.ArtifactWhereUniqueInput[]
|
|
584
|
+
connect?: Prisma.ArtifactWhereUniqueInput | Prisma.ArtifactWhereUniqueInput[]
|
|
585
|
+
update?: Prisma.ArtifactUpdateWithWhereUniqueWithoutTerminalsInput | Prisma.ArtifactUpdateWithWhereUniqueWithoutTerminalsInput[]
|
|
586
|
+
updateMany?: Prisma.ArtifactUpdateManyWithWhereWithoutTerminalsInput | Prisma.ArtifactUpdateManyWithWhereWithoutTerminalsInput[]
|
|
587
|
+
deleteMany?: Prisma.ArtifactScalarWhereInput | Prisma.ArtifactScalarWhereInput[]
|
|
588
|
+
}
|
|
589
|
+
|
|
590
|
+
export type ArtifactUncheckedUpdateManyWithoutTerminalsNestedInput = {
|
|
591
|
+
create?: Prisma.XOR<Prisma.ArtifactCreateWithoutTerminalsInput, Prisma.ArtifactUncheckedCreateWithoutTerminalsInput> | Prisma.ArtifactCreateWithoutTerminalsInput[] | Prisma.ArtifactUncheckedCreateWithoutTerminalsInput[]
|
|
592
|
+
connectOrCreate?: Prisma.ArtifactCreateOrConnectWithoutTerminalsInput | Prisma.ArtifactCreateOrConnectWithoutTerminalsInput[]
|
|
593
|
+
upsert?: Prisma.ArtifactUpsertWithWhereUniqueWithoutTerminalsInput | Prisma.ArtifactUpsertWithWhereUniqueWithoutTerminalsInput[]
|
|
594
|
+
set?: Prisma.ArtifactWhereUniqueInput | Prisma.ArtifactWhereUniqueInput[]
|
|
595
|
+
disconnect?: Prisma.ArtifactWhereUniqueInput | Prisma.ArtifactWhereUniqueInput[]
|
|
596
|
+
delete?: Prisma.ArtifactWhereUniqueInput | Prisma.ArtifactWhereUniqueInput[]
|
|
597
|
+
connect?: Prisma.ArtifactWhereUniqueInput | Prisma.ArtifactWhereUniqueInput[]
|
|
598
|
+
update?: Prisma.ArtifactUpdateWithWhereUniqueWithoutTerminalsInput | Prisma.ArtifactUpdateWithWhereUniqueWithoutTerminalsInput[]
|
|
599
|
+
updateMany?: Prisma.ArtifactUpdateManyWithWhereWithoutTerminalsInput | Prisma.ArtifactUpdateManyWithWhereWithoutTerminalsInput[]
|
|
600
|
+
deleteMany?: Prisma.ArtifactScalarWhereInput | Prisma.ArtifactScalarWhereInput[]
|
|
601
|
+
}
|
|
602
|
+
|
|
603
|
+
export type ArtifactCreateWithoutInstancesInput = {
|
|
604
|
+
id?: string
|
|
605
|
+
meta: PrismaJson.CommonObjectMeta
|
|
606
|
+
hash: string
|
|
607
|
+
size: number
|
|
608
|
+
chunkSize: number
|
|
609
|
+
createdAt?: Date | string
|
|
610
|
+
updatedAt?: Date | string
|
|
611
|
+
serviceAccounts?: Prisma.ServiceAccountCreateNestedManyWithoutArtifactsInput
|
|
612
|
+
terminals?: Prisma.TerminalCreateNestedManyWithoutArtifactsInput
|
|
613
|
+
pages?: Prisma.PageCreateNestedManyWithoutArtifactsInput
|
|
614
|
+
}
|
|
615
|
+
|
|
616
|
+
export type ArtifactUncheckedCreateWithoutInstancesInput = {
|
|
617
|
+
id?: string
|
|
618
|
+
meta: PrismaJson.CommonObjectMeta
|
|
619
|
+
hash: string
|
|
620
|
+
size: number
|
|
621
|
+
chunkSize: number
|
|
622
|
+
createdAt?: Date | string
|
|
623
|
+
updatedAt?: Date | string
|
|
624
|
+
serviceAccounts?: Prisma.ServiceAccountUncheckedCreateNestedManyWithoutArtifactsInput
|
|
625
|
+
terminals?: Prisma.TerminalUncheckedCreateNestedManyWithoutArtifactsInput
|
|
626
|
+
pages?: Prisma.PageUncheckedCreateNestedManyWithoutArtifactsInput
|
|
627
|
+
}
|
|
628
|
+
|
|
629
|
+
export type ArtifactCreateOrConnectWithoutInstancesInput = {
|
|
630
|
+
where: Prisma.ArtifactWhereUniqueInput
|
|
631
|
+
create: Prisma.XOR<Prisma.ArtifactCreateWithoutInstancesInput, Prisma.ArtifactUncheckedCreateWithoutInstancesInput>
|
|
632
|
+
}
|
|
633
|
+
|
|
634
|
+
export type ArtifactUpsertWithWhereUniqueWithoutInstancesInput = {
|
|
635
|
+
where: Prisma.ArtifactWhereUniqueInput
|
|
636
|
+
update: Prisma.XOR<Prisma.ArtifactUpdateWithoutInstancesInput, Prisma.ArtifactUncheckedUpdateWithoutInstancesInput>
|
|
637
|
+
create: Prisma.XOR<Prisma.ArtifactCreateWithoutInstancesInput, Prisma.ArtifactUncheckedCreateWithoutInstancesInput>
|
|
638
|
+
}
|
|
639
|
+
|
|
640
|
+
export type ArtifactUpdateWithWhereUniqueWithoutInstancesInput = {
|
|
641
|
+
where: Prisma.ArtifactWhereUniqueInput
|
|
642
|
+
data: Prisma.XOR<Prisma.ArtifactUpdateWithoutInstancesInput, Prisma.ArtifactUncheckedUpdateWithoutInstancesInput>
|
|
643
|
+
}
|
|
644
|
+
|
|
645
|
+
export type ArtifactUpdateManyWithWhereWithoutInstancesInput = {
|
|
646
|
+
where: Prisma.ArtifactScalarWhereInput
|
|
647
|
+
data: Prisma.XOR<Prisma.ArtifactUpdateManyMutationInput, Prisma.ArtifactUncheckedUpdateManyWithoutInstancesInput>
|
|
648
|
+
}
|
|
649
|
+
|
|
650
|
+
export type ArtifactScalarWhereInput = {
|
|
651
|
+
AND?: Prisma.ArtifactScalarWhereInput | Prisma.ArtifactScalarWhereInput[]
|
|
652
|
+
OR?: Prisma.ArtifactScalarWhereInput[]
|
|
653
|
+
NOT?: Prisma.ArtifactScalarWhereInput | Prisma.ArtifactScalarWhereInput[]
|
|
654
|
+
id?: Prisma.StringFilter<"Artifact"> | string
|
|
655
|
+
meta?: Prisma.JsonFilter<"Artifact">
|
|
656
|
+
hash?: Prisma.StringFilter<"Artifact"> | string
|
|
657
|
+
size?: Prisma.IntFilter<"Artifact"> | number
|
|
658
|
+
chunkSize?: Prisma.IntFilter<"Artifact"> | number
|
|
659
|
+
createdAt?: Prisma.DateTimeFilter<"Artifact"> | Date | string
|
|
660
|
+
updatedAt?: Prisma.DateTimeFilter<"Artifact"> | Date | string
|
|
661
|
+
}
|
|
662
|
+
|
|
663
|
+
export type ArtifactCreateWithoutPagesInput = {
|
|
664
|
+
id?: string
|
|
665
|
+
meta: PrismaJson.CommonObjectMeta
|
|
666
|
+
hash: string
|
|
667
|
+
size: number
|
|
668
|
+
chunkSize: number
|
|
669
|
+
createdAt?: Date | string
|
|
670
|
+
updatedAt?: Date | string
|
|
671
|
+
serviceAccounts?: Prisma.ServiceAccountCreateNestedManyWithoutArtifactsInput
|
|
672
|
+
instances?: Prisma.InstanceStateCreateNestedManyWithoutArtifactsInput
|
|
673
|
+
terminals?: Prisma.TerminalCreateNestedManyWithoutArtifactsInput
|
|
674
|
+
}
|
|
675
|
+
|
|
676
|
+
export type ArtifactUncheckedCreateWithoutPagesInput = {
|
|
677
|
+
id?: string
|
|
678
|
+
meta: PrismaJson.CommonObjectMeta
|
|
679
|
+
hash: string
|
|
680
|
+
size: number
|
|
681
|
+
chunkSize: number
|
|
682
|
+
createdAt?: Date | string
|
|
683
|
+
updatedAt?: Date | string
|
|
684
|
+
serviceAccounts?: Prisma.ServiceAccountUncheckedCreateNestedManyWithoutArtifactsInput
|
|
685
|
+
instances?: Prisma.InstanceStateUncheckedCreateNestedManyWithoutArtifactsInput
|
|
686
|
+
terminals?: Prisma.TerminalUncheckedCreateNestedManyWithoutArtifactsInput
|
|
687
|
+
}
|
|
688
|
+
|
|
689
|
+
export type ArtifactCreateOrConnectWithoutPagesInput = {
|
|
690
|
+
where: Prisma.ArtifactWhereUniqueInput
|
|
691
|
+
create: Prisma.XOR<Prisma.ArtifactCreateWithoutPagesInput, Prisma.ArtifactUncheckedCreateWithoutPagesInput>
|
|
692
|
+
}
|
|
693
|
+
|
|
694
|
+
export type ArtifactUpsertWithWhereUniqueWithoutPagesInput = {
|
|
695
|
+
where: Prisma.ArtifactWhereUniqueInput
|
|
696
|
+
update: Prisma.XOR<Prisma.ArtifactUpdateWithoutPagesInput, Prisma.ArtifactUncheckedUpdateWithoutPagesInput>
|
|
697
|
+
create: Prisma.XOR<Prisma.ArtifactCreateWithoutPagesInput, Prisma.ArtifactUncheckedCreateWithoutPagesInput>
|
|
698
|
+
}
|
|
699
|
+
|
|
700
|
+
export type ArtifactUpdateWithWhereUniqueWithoutPagesInput = {
|
|
701
|
+
where: Prisma.ArtifactWhereUniqueInput
|
|
702
|
+
data: Prisma.XOR<Prisma.ArtifactUpdateWithoutPagesInput, Prisma.ArtifactUncheckedUpdateWithoutPagesInput>
|
|
703
|
+
}
|
|
704
|
+
|
|
705
|
+
export type ArtifactUpdateManyWithWhereWithoutPagesInput = {
|
|
706
|
+
where: Prisma.ArtifactScalarWhereInput
|
|
707
|
+
data: Prisma.XOR<Prisma.ArtifactUpdateManyMutationInput, Prisma.ArtifactUncheckedUpdateManyWithoutPagesInput>
|
|
708
|
+
}
|
|
709
|
+
|
|
710
|
+
export type ArtifactCreateWithoutServiceAccountsInput = {
|
|
711
|
+
id?: string
|
|
712
|
+
meta: PrismaJson.CommonObjectMeta
|
|
713
|
+
hash: string
|
|
714
|
+
size: number
|
|
715
|
+
chunkSize: number
|
|
716
|
+
createdAt?: Date | string
|
|
717
|
+
updatedAt?: Date | string
|
|
718
|
+
instances?: Prisma.InstanceStateCreateNestedManyWithoutArtifactsInput
|
|
719
|
+
terminals?: Prisma.TerminalCreateNestedManyWithoutArtifactsInput
|
|
720
|
+
pages?: Prisma.PageCreateNestedManyWithoutArtifactsInput
|
|
721
|
+
}
|
|
722
|
+
|
|
723
|
+
export type ArtifactUncheckedCreateWithoutServiceAccountsInput = {
|
|
724
|
+
id?: string
|
|
725
|
+
meta: PrismaJson.CommonObjectMeta
|
|
726
|
+
hash: string
|
|
727
|
+
size: number
|
|
728
|
+
chunkSize: number
|
|
729
|
+
createdAt?: Date | string
|
|
730
|
+
updatedAt?: Date | string
|
|
731
|
+
instances?: Prisma.InstanceStateUncheckedCreateNestedManyWithoutArtifactsInput
|
|
732
|
+
terminals?: Prisma.TerminalUncheckedCreateNestedManyWithoutArtifactsInput
|
|
733
|
+
pages?: Prisma.PageUncheckedCreateNestedManyWithoutArtifactsInput
|
|
734
|
+
}
|
|
735
|
+
|
|
736
|
+
export type ArtifactCreateOrConnectWithoutServiceAccountsInput = {
|
|
737
|
+
where: Prisma.ArtifactWhereUniqueInput
|
|
738
|
+
create: Prisma.XOR<Prisma.ArtifactCreateWithoutServiceAccountsInput, Prisma.ArtifactUncheckedCreateWithoutServiceAccountsInput>
|
|
739
|
+
}
|
|
740
|
+
|
|
741
|
+
export type ArtifactUpsertWithWhereUniqueWithoutServiceAccountsInput = {
|
|
742
|
+
where: Prisma.ArtifactWhereUniqueInput
|
|
743
|
+
update: Prisma.XOR<Prisma.ArtifactUpdateWithoutServiceAccountsInput, Prisma.ArtifactUncheckedUpdateWithoutServiceAccountsInput>
|
|
744
|
+
create: Prisma.XOR<Prisma.ArtifactCreateWithoutServiceAccountsInput, Prisma.ArtifactUncheckedCreateWithoutServiceAccountsInput>
|
|
745
|
+
}
|
|
746
|
+
|
|
747
|
+
export type ArtifactUpdateWithWhereUniqueWithoutServiceAccountsInput = {
|
|
748
|
+
where: Prisma.ArtifactWhereUniqueInput
|
|
749
|
+
data: Prisma.XOR<Prisma.ArtifactUpdateWithoutServiceAccountsInput, Prisma.ArtifactUncheckedUpdateWithoutServiceAccountsInput>
|
|
750
|
+
}
|
|
751
|
+
|
|
752
|
+
export type ArtifactUpdateManyWithWhereWithoutServiceAccountsInput = {
|
|
753
|
+
where: Prisma.ArtifactScalarWhereInput
|
|
754
|
+
data: Prisma.XOR<Prisma.ArtifactUpdateManyMutationInput, Prisma.ArtifactUncheckedUpdateManyWithoutServiceAccountsInput>
|
|
755
|
+
}
|
|
756
|
+
|
|
757
|
+
export type ArtifactCreateWithoutTerminalsInput = {
|
|
758
|
+
id?: string
|
|
759
|
+
meta: PrismaJson.CommonObjectMeta
|
|
760
|
+
hash: string
|
|
761
|
+
size: number
|
|
762
|
+
chunkSize: number
|
|
763
|
+
createdAt?: Date | string
|
|
764
|
+
updatedAt?: Date | string
|
|
765
|
+
serviceAccounts?: Prisma.ServiceAccountCreateNestedManyWithoutArtifactsInput
|
|
766
|
+
instances?: Prisma.InstanceStateCreateNestedManyWithoutArtifactsInput
|
|
767
|
+
pages?: Prisma.PageCreateNestedManyWithoutArtifactsInput
|
|
768
|
+
}
|
|
769
|
+
|
|
770
|
+
export type ArtifactUncheckedCreateWithoutTerminalsInput = {
|
|
771
|
+
id?: string
|
|
772
|
+
meta: PrismaJson.CommonObjectMeta
|
|
773
|
+
hash: string
|
|
774
|
+
size: number
|
|
775
|
+
chunkSize: number
|
|
776
|
+
createdAt?: Date | string
|
|
777
|
+
updatedAt?: Date | string
|
|
778
|
+
serviceAccounts?: Prisma.ServiceAccountUncheckedCreateNestedManyWithoutArtifactsInput
|
|
779
|
+
instances?: Prisma.InstanceStateUncheckedCreateNestedManyWithoutArtifactsInput
|
|
780
|
+
pages?: Prisma.PageUncheckedCreateNestedManyWithoutArtifactsInput
|
|
781
|
+
}
|
|
782
|
+
|
|
783
|
+
export type ArtifactCreateOrConnectWithoutTerminalsInput = {
|
|
784
|
+
where: Prisma.ArtifactWhereUniqueInput
|
|
785
|
+
create: Prisma.XOR<Prisma.ArtifactCreateWithoutTerminalsInput, Prisma.ArtifactUncheckedCreateWithoutTerminalsInput>
|
|
786
|
+
}
|
|
787
|
+
|
|
788
|
+
export type ArtifactUpsertWithWhereUniqueWithoutTerminalsInput = {
|
|
789
|
+
where: Prisma.ArtifactWhereUniqueInput
|
|
790
|
+
update: Prisma.XOR<Prisma.ArtifactUpdateWithoutTerminalsInput, Prisma.ArtifactUncheckedUpdateWithoutTerminalsInput>
|
|
791
|
+
create: Prisma.XOR<Prisma.ArtifactCreateWithoutTerminalsInput, Prisma.ArtifactUncheckedCreateWithoutTerminalsInput>
|
|
792
|
+
}
|
|
793
|
+
|
|
794
|
+
export type ArtifactUpdateWithWhereUniqueWithoutTerminalsInput = {
|
|
795
|
+
where: Prisma.ArtifactWhereUniqueInput
|
|
796
|
+
data: Prisma.XOR<Prisma.ArtifactUpdateWithoutTerminalsInput, Prisma.ArtifactUncheckedUpdateWithoutTerminalsInput>
|
|
797
|
+
}
|
|
798
|
+
|
|
799
|
+
export type ArtifactUpdateManyWithWhereWithoutTerminalsInput = {
|
|
800
|
+
where: Prisma.ArtifactScalarWhereInput
|
|
801
|
+
data: Prisma.XOR<Prisma.ArtifactUpdateManyMutationInput, Prisma.ArtifactUncheckedUpdateManyWithoutTerminalsInput>
|
|
802
|
+
}
|
|
803
|
+
|
|
804
|
+
export type ArtifactUpdateWithoutInstancesInput = {
|
|
805
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
806
|
+
meta?: PrismaJson.CommonObjectMeta
|
|
807
|
+
hash?: Prisma.StringFieldUpdateOperationsInput | string
|
|
808
|
+
size?: Prisma.IntFieldUpdateOperationsInput | number
|
|
809
|
+
chunkSize?: Prisma.IntFieldUpdateOperationsInput | number
|
|
810
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
811
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
812
|
+
serviceAccounts?: Prisma.ServiceAccountUpdateManyWithoutArtifactsNestedInput
|
|
813
|
+
terminals?: Prisma.TerminalUpdateManyWithoutArtifactsNestedInput
|
|
814
|
+
pages?: Prisma.PageUpdateManyWithoutArtifactsNestedInput
|
|
815
|
+
}
|
|
816
|
+
|
|
817
|
+
export type ArtifactUncheckedUpdateWithoutInstancesInput = {
|
|
818
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
819
|
+
meta?: PrismaJson.CommonObjectMeta
|
|
820
|
+
hash?: Prisma.StringFieldUpdateOperationsInput | string
|
|
821
|
+
size?: Prisma.IntFieldUpdateOperationsInput | number
|
|
822
|
+
chunkSize?: Prisma.IntFieldUpdateOperationsInput | number
|
|
823
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
824
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
825
|
+
serviceAccounts?: Prisma.ServiceAccountUncheckedUpdateManyWithoutArtifactsNestedInput
|
|
826
|
+
terminals?: Prisma.TerminalUncheckedUpdateManyWithoutArtifactsNestedInput
|
|
827
|
+
pages?: Prisma.PageUncheckedUpdateManyWithoutArtifactsNestedInput
|
|
828
|
+
}
|
|
829
|
+
|
|
830
|
+
export type ArtifactUncheckedUpdateManyWithoutInstancesInput = {
|
|
831
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
832
|
+
meta?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
833
|
+
hash?: Prisma.StringFieldUpdateOperationsInput | string
|
|
834
|
+
size?: Prisma.IntFieldUpdateOperationsInput | number
|
|
835
|
+
chunkSize?: Prisma.IntFieldUpdateOperationsInput | number
|
|
836
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
837
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
838
|
+
}
|
|
839
|
+
|
|
840
|
+
export type ArtifactUpdateWithoutPagesInput = {
|
|
841
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
842
|
+
meta?: PrismaJson.CommonObjectMeta
|
|
843
|
+
hash?: Prisma.StringFieldUpdateOperationsInput | string
|
|
844
|
+
size?: Prisma.IntFieldUpdateOperationsInput | number
|
|
845
|
+
chunkSize?: Prisma.IntFieldUpdateOperationsInput | number
|
|
846
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
847
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
848
|
+
serviceAccounts?: Prisma.ServiceAccountUpdateManyWithoutArtifactsNestedInput
|
|
849
|
+
instances?: Prisma.InstanceStateUpdateManyWithoutArtifactsNestedInput
|
|
850
|
+
terminals?: Prisma.TerminalUpdateManyWithoutArtifactsNestedInput
|
|
851
|
+
}
|
|
852
|
+
|
|
853
|
+
export type ArtifactUncheckedUpdateWithoutPagesInput = {
|
|
854
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
855
|
+
meta?: PrismaJson.CommonObjectMeta
|
|
856
|
+
hash?: Prisma.StringFieldUpdateOperationsInput | string
|
|
857
|
+
size?: Prisma.IntFieldUpdateOperationsInput | number
|
|
858
|
+
chunkSize?: Prisma.IntFieldUpdateOperationsInput | number
|
|
859
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
860
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
861
|
+
serviceAccounts?: Prisma.ServiceAccountUncheckedUpdateManyWithoutArtifactsNestedInput
|
|
862
|
+
instances?: Prisma.InstanceStateUncheckedUpdateManyWithoutArtifactsNestedInput
|
|
863
|
+
terminals?: Prisma.TerminalUncheckedUpdateManyWithoutArtifactsNestedInput
|
|
864
|
+
}
|
|
865
|
+
|
|
866
|
+
export type ArtifactUncheckedUpdateManyWithoutPagesInput = {
|
|
867
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
868
|
+
meta?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
869
|
+
hash?: Prisma.StringFieldUpdateOperationsInput | string
|
|
870
|
+
size?: Prisma.IntFieldUpdateOperationsInput | number
|
|
871
|
+
chunkSize?: Prisma.IntFieldUpdateOperationsInput | number
|
|
872
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
873
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
874
|
+
}
|
|
875
|
+
|
|
876
|
+
export type ArtifactUpdateWithoutServiceAccountsInput = {
|
|
877
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
878
|
+
meta?: PrismaJson.CommonObjectMeta
|
|
879
|
+
hash?: Prisma.StringFieldUpdateOperationsInput | string
|
|
880
|
+
size?: Prisma.IntFieldUpdateOperationsInput | number
|
|
881
|
+
chunkSize?: Prisma.IntFieldUpdateOperationsInput | number
|
|
882
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
883
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
884
|
+
instances?: Prisma.InstanceStateUpdateManyWithoutArtifactsNestedInput
|
|
885
|
+
terminals?: Prisma.TerminalUpdateManyWithoutArtifactsNestedInput
|
|
886
|
+
pages?: Prisma.PageUpdateManyWithoutArtifactsNestedInput
|
|
887
|
+
}
|
|
888
|
+
|
|
889
|
+
export type ArtifactUncheckedUpdateWithoutServiceAccountsInput = {
|
|
890
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
891
|
+
meta?: PrismaJson.CommonObjectMeta
|
|
892
|
+
hash?: Prisma.StringFieldUpdateOperationsInput | string
|
|
893
|
+
size?: Prisma.IntFieldUpdateOperationsInput | number
|
|
894
|
+
chunkSize?: Prisma.IntFieldUpdateOperationsInput | number
|
|
895
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
896
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
897
|
+
instances?: Prisma.InstanceStateUncheckedUpdateManyWithoutArtifactsNestedInput
|
|
898
|
+
terminals?: Prisma.TerminalUncheckedUpdateManyWithoutArtifactsNestedInput
|
|
899
|
+
pages?: Prisma.PageUncheckedUpdateManyWithoutArtifactsNestedInput
|
|
900
|
+
}
|
|
901
|
+
|
|
902
|
+
export type ArtifactUncheckedUpdateManyWithoutServiceAccountsInput = {
|
|
903
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
904
|
+
meta?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
905
|
+
hash?: Prisma.StringFieldUpdateOperationsInput | string
|
|
906
|
+
size?: Prisma.IntFieldUpdateOperationsInput | number
|
|
907
|
+
chunkSize?: Prisma.IntFieldUpdateOperationsInput | number
|
|
908
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
909
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
910
|
+
}
|
|
911
|
+
|
|
912
|
+
export type ArtifactUpdateWithoutTerminalsInput = {
|
|
913
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
914
|
+
meta?: PrismaJson.CommonObjectMeta
|
|
915
|
+
hash?: Prisma.StringFieldUpdateOperationsInput | string
|
|
916
|
+
size?: Prisma.IntFieldUpdateOperationsInput | number
|
|
917
|
+
chunkSize?: Prisma.IntFieldUpdateOperationsInput | number
|
|
918
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
919
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
920
|
+
serviceAccounts?: Prisma.ServiceAccountUpdateManyWithoutArtifactsNestedInput
|
|
921
|
+
instances?: Prisma.InstanceStateUpdateManyWithoutArtifactsNestedInput
|
|
922
|
+
pages?: Prisma.PageUpdateManyWithoutArtifactsNestedInput
|
|
923
|
+
}
|
|
924
|
+
|
|
925
|
+
export type ArtifactUncheckedUpdateWithoutTerminalsInput = {
|
|
926
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
927
|
+
meta?: PrismaJson.CommonObjectMeta
|
|
928
|
+
hash?: Prisma.StringFieldUpdateOperationsInput | string
|
|
929
|
+
size?: Prisma.IntFieldUpdateOperationsInput | number
|
|
930
|
+
chunkSize?: Prisma.IntFieldUpdateOperationsInput | number
|
|
931
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
932
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
933
|
+
serviceAccounts?: Prisma.ServiceAccountUncheckedUpdateManyWithoutArtifactsNestedInput
|
|
934
|
+
instances?: Prisma.InstanceStateUncheckedUpdateManyWithoutArtifactsNestedInput
|
|
935
|
+
pages?: Prisma.PageUncheckedUpdateManyWithoutArtifactsNestedInput
|
|
936
|
+
}
|
|
937
|
+
|
|
938
|
+
export type ArtifactUncheckedUpdateManyWithoutTerminalsInput = {
|
|
939
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
940
|
+
meta?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
941
|
+
hash?: Prisma.StringFieldUpdateOperationsInput | string
|
|
942
|
+
size?: Prisma.IntFieldUpdateOperationsInput | number
|
|
943
|
+
chunkSize?: Prisma.IntFieldUpdateOperationsInput | number
|
|
944
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
945
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
946
|
+
}
|
|
947
|
+
|
|
948
|
+
|
|
949
|
+
/**
|
|
950
|
+
* Count Type ArtifactCountOutputType
|
|
951
|
+
*/
|
|
952
|
+
|
|
953
|
+
export type ArtifactCountOutputType = {
|
|
954
|
+
serviceAccounts: number
|
|
955
|
+
instances: number
|
|
956
|
+
terminals: number
|
|
957
|
+
pages: number
|
|
958
|
+
}
|
|
959
|
+
|
|
960
|
+
export type ArtifactCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
961
|
+
serviceAccounts?: boolean | ArtifactCountOutputTypeCountServiceAccountsArgs
|
|
962
|
+
instances?: boolean | ArtifactCountOutputTypeCountInstancesArgs
|
|
963
|
+
terminals?: boolean | ArtifactCountOutputTypeCountTerminalsArgs
|
|
964
|
+
pages?: boolean | ArtifactCountOutputTypeCountPagesArgs
|
|
965
|
+
}
|
|
966
|
+
|
|
967
|
+
/**
|
|
968
|
+
* ArtifactCountOutputType without action
|
|
969
|
+
*/
|
|
970
|
+
export type ArtifactCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
971
|
+
/**
|
|
972
|
+
* Select specific fields to fetch from the ArtifactCountOutputType
|
|
973
|
+
*/
|
|
974
|
+
select?: Prisma.ArtifactCountOutputTypeSelect<ExtArgs> | null
|
|
975
|
+
}
|
|
976
|
+
|
|
977
|
+
/**
|
|
978
|
+
* ArtifactCountOutputType without action
|
|
979
|
+
*/
|
|
980
|
+
export type ArtifactCountOutputTypeCountServiceAccountsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
981
|
+
where?: Prisma.ServiceAccountWhereInput
|
|
982
|
+
}
|
|
983
|
+
|
|
984
|
+
/**
|
|
985
|
+
* ArtifactCountOutputType without action
|
|
986
|
+
*/
|
|
987
|
+
export type ArtifactCountOutputTypeCountInstancesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
988
|
+
where?: Prisma.InstanceStateWhereInput
|
|
989
|
+
}
|
|
990
|
+
|
|
991
|
+
/**
|
|
992
|
+
* ArtifactCountOutputType without action
|
|
993
|
+
*/
|
|
994
|
+
export type ArtifactCountOutputTypeCountTerminalsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
995
|
+
where?: Prisma.TerminalWhereInput
|
|
996
|
+
}
|
|
997
|
+
|
|
998
|
+
/**
|
|
999
|
+
* ArtifactCountOutputType without action
|
|
1000
|
+
*/
|
|
1001
|
+
export type ArtifactCountOutputTypeCountPagesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1002
|
+
where?: Prisma.PageWhereInput
|
|
1003
|
+
}
|
|
1004
|
+
|
|
1005
|
+
|
|
1006
|
+
export type ArtifactSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
1007
|
+
id?: boolean
|
|
1008
|
+
meta?: boolean
|
|
1009
|
+
hash?: boolean
|
|
1010
|
+
size?: boolean
|
|
1011
|
+
chunkSize?: boolean
|
|
1012
|
+
createdAt?: boolean
|
|
1013
|
+
updatedAt?: boolean
|
|
1014
|
+
serviceAccounts?: boolean | Prisma.Artifact$serviceAccountsArgs<ExtArgs>
|
|
1015
|
+
instances?: boolean | Prisma.Artifact$instancesArgs<ExtArgs>
|
|
1016
|
+
terminals?: boolean | Prisma.Artifact$terminalsArgs<ExtArgs>
|
|
1017
|
+
pages?: boolean | Prisma.Artifact$pagesArgs<ExtArgs>
|
|
1018
|
+
_count?: boolean | Prisma.ArtifactCountOutputTypeDefaultArgs<ExtArgs>
|
|
1019
|
+
}, ExtArgs["result"]["artifact"]>
|
|
1020
|
+
|
|
1021
|
+
export type ArtifactSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
1022
|
+
id?: boolean
|
|
1023
|
+
meta?: boolean
|
|
1024
|
+
hash?: boolean
|
|
1025
|
+
size?: boolean
|
|
1026
|
+
chunkSize?: boolean
|
|
1027
|
+
createdAt?: boolean
|
|
1028
|
+
updatedAt?: boolean
|
|
1029
|
+
}, ExtArgs["result"]["artifact"]>
|
|
1030
|
+
|
|
1031
|
+
export type ArtifactSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
1032
|
+
id?: boolean
|
|
1033
|
+
meta?: boolean
|
|
1034
|
+
hash?: boolean
|
|
1035
|
+
size?: boolean
|
|
1036
|
+
chunkSize?: boolean
|
|
1037
|
+
createdAt?: boolean
|
|
1038
|
+
updatedAt?: boolean
|
|
1039
|
+
}, ExtArgs["result"]["artifact"]>
|
|
1040
|
+
|
|
1041
|
+
export type ArtifactSelectScalar = {
|
|
1042
|
+
id?: boolean
|
|
1043
|
+
meta?: boolean
|
|
1044
|
+
hash?: boolean
|
|
1045
|
+
size?: boolean
|
|
1046
|
+
chunkSize?: boolean
|
|
1047
|
+
createdAt?: boolean
|
|
1048
|
+
updatedAt?: boolean
|
|
1049
|
+
}
|
|
1050
|
+
|
|
1051
|
+
export type ArtifactOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "meta" | "hash" | "size" | "chunkSize" | "createdAt" | "updatedAt", ExtArgs["result"]["artifact"]>
|
|
1052
|
+
export type ArtifactInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1053
|
+
serviceAccounts?: boolean | Prisma.Artifact$serviceAccountsArgs<ExtArgs>
|
|
1054
|
+
instances?: boolean | Prisma.Artifact$instancesArgs<ExtArgs>
|
|
1055
|
+
terminals?: boolean | Prisma.Artifact$terminalsArgs<ExtArgs>
|
|
1056
|
+
pages?: boolean | Prisma.Artifact$pagesArgs<ExtArgs>
|
|
1057
|
+
_count?: boolean | Prisma.ArtifactCountOutputTypeDefaultArgs<ExtArgs>
|
|
1058
|
+
}
|
|
1059
|
+
export type ArtifactIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {}
|
|
1060
|
+
export type ArtifactIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {}
|
|
1061
|
+
|
|
1062
|
+
export type $ArtifactPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1063
|
+
name: "Artifact"
|
|
1064
|
+
objects: {
|
|
1065
|
+
/**
|
|
1066
|
+
* The service accounts using this artifact.
|
|
1067
|
+
*/
|
|
1068
|
+
serviceAccounts: Prisma.$ServiceAccountPayload<ExtArgs>[]
|
|
1069
|
+
/**
|
|
1070
|
+
* The instances using this artifact.
|
|
1071
|
+
*/
|
|
1072
|
+
instances: Prisma.$InstanceStatePayload<ExtArgs>[]
|
|
1073
|
+
/**
|
|
1074
|
+
* The terminals using this artifact.
|
|
1075
|
+
*/
|
|
1076
|
+
terminals: Prisma.$TerminalPayload<ExtArgs>[]
|
|
1077
|
+
/**
|
|
1078
|
+
* The pages using this artifact.
|
|
1079
|
+
*/
|
|
1080
|
+
pages: Prisma.$PagePayload<ExtArgs>[]
|
|
1081
|
+
}
|
|
1082
|
+
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
1083
|
+
/**
|
|
1084
|
+
* The CUIDv2 of the artifact.
|
|
1085
|
+
*/
|
|
1086
|
+
id: string
|
|
1087
|
+
/**
|
|
1088
|
+
* The metadata of the artifact managed by the backend.
|
|
1089
|
+
*
|
|
1090
|
+
* Since multiple actors can produce the same artifact,
|
|
1091
|
+
* this metadata is the last one provided by any actor.
|
|
1092
|
+
*
|
|
1093
|
+
* [CommonObjectMeta]
|
|
1094
|
+
*/
|
|
1095
|
+
meta: PrismaJson.CommonObjectMeta
|
|
1096
|
+
/**
|
|
1097
|
+
* The SHA256 hash of the artifact content.
|
|
1098
|
+
*/
|
|
1099
|
+
hash: string
|
|
1100
|
+
/**
|
|
1101
|
+
* The size of the compressed artifact content in bytes.
|
|
1102
|
+
*
|
|
1103
|
+
* Does not represent the size of the original file or folder,
|
|
1104
|
+
* but the size used to store the artifact in the system.
|
|
1105
|
+
*/
|
|
1106
|
+
size: number
|
|
1107
|
+
/**
|
|
1108
|
+
* The chunk size of the artifact content in bytes.
|
|
1109
|
+
* Used to split the artifact into smaller chunks for storage.
|
|
1110
|
+
*/
|
|
1111
|
+
chunkSize: number
|
|
1112
|
+
/**
|
|
1113
|
+
* The timestamp when the artifact fist appeared in the system.
|
|
1114
|
+
*/
|
|
1115
|
+
createdAt: Date
|
|
1116
|
+
/**
|
|
1117
|
+
* The timestamp when the artifact was last updated.
|
|
1118
|
+
*/
|
|
1119
|
+
updatedAt: Date
|
|
1120
|
+
}, ExtArgs["result"]["artifact"]>
|
|
1121
|
+
composites: {}
|
|
1122
|
+
}
|
|
1123
|
+
|
|
1124
|
+
export type ArtifactGetPayload<S extends boolean | null | undefined | ArtifactDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$ArtifactPayload, S>
|
|
1125
|
+
|
|
1126
|
+
export type ArtifactCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
|
|
1127
|
+
Omit<ArtifactFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
1128
|
+
select?: ArtifactCountAggregateInputType | true
|
|
1129
|
+
}
|
|
1130
|
+
|
|
1131
|
+
export interface ArtifactDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
1132
|
+
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['Artifact'], meta: { name: 'Artifact' } }
|
|
1133
|
+
/**
|
|
1134
|
+
* Find zero or one Artifact that matches the filter.
|
|
1135
|
+
* @param {ArtifactFindUniqueArgs} args - Arguments to find a Artifact
|
|
1136
|
+
* @example
|
|
1137
|
+
* // Get one Artifact
|
|
1138
|
+
* const artifact = await prisma.artifact.findUnique({
|
|
1139
|
+
* where: {
|
|
1140
|
+
* // ... provide filter here
|
|
1141
|
+
* }
|
|
1142
|
+
* })
|
|
1143
|
+
*/
|
|
1144
|
+
findUnique<T extends ArtifactFindUniqueArgs>(args: Prisma.SelectSubset<T, ArtifactFindUniqueArgs<ExtArgs>>): Prisma.Prisma__ArtifactClient<runtime.Types.Result.GetResult<Prisma.$ArtifactPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
1145
|
+
|
|
1146
|
+
/**
|
|
1147
|
+
* Find one Artifact that matches the filter or throw an error with `error.code='P2025'`
|
|
1148
|
+
* if no matches were found.
|
|
1149
|
+
* @param {ArtifactFindUniqueOrThrowArgs} args - Arguments to find a Artifact
|
|
1150
|
+
* @example
|
|
1151
|
+
* // Get one Artifact
|
|
1152
|
+
* const artifact = await prisma.artifact.findUniqueOrThrow({
|
|
1153
|
+
* where: {
|
|
1154
|
+
* // ... provide filter here
|
|
1155
|
+
* }
|
|
1156
|
+
* })
|
|
1157
|
+
*/
|
|
1158
|
+
findUniqueOrThrow<T extends ArtifactFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, ArtifactFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__ArtifactClient<runtime.Types.Result.GetResult<Prisma.$ArtifactPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
1159
|
+
|
|
1160
|
+
/**
|
|
1161
|
+
* Find the first Artifact that matches the filter.
|
|
1162
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1163
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1164
|
+
* @param {ArtifactFindFirstArgs} args - Arguments to find a Artifact
|
|
1165
|
+
* @example
|
|
1166
|
+
* // Get one Artifact
|
|
1167
|
+
* const artifact = await prisma.artifact.findFirst({
|
|
1168
|
+
* where: {
|
|
1169
|
+
* // ... provide filter here
|
|
1170
|
+
* }
|
|
1171
|
+
* })
|
|
1172
|
+
*/
|
|
1173
|
+
findFirst<T extends ArtifactFindFirstArgs>(args?: Prisma.SelectSubset<T, ArtifactFindFirstArgs<ExtArgs>>): Prisma.Prisma__ArtifactClient<runtime.Types.Result.GetResult<Prisma.$ArtifactPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
1174
|
+
|
|
1175
|
+
/**
|
|
1176
|
+
* Find the first Artifact that matches the filter or
|
|
1177
|
+
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
1178
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1179
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1180
|
+
* @param {ArtifactFindFirstOrThrowArgs} args - Arguments to find a Artifact
|
|
1181
|
+
* @example
|
|
1182
|
+
* // Get one Artifact
|
|
1183
|
+
* const artifact = await prisma.artifact.findFirstOrThrow({
|
|
1184
|
+
* where: {
|
|
1185
|
+
* // ... provide filter here
|
|
1186
|
+
* }
|
|
1187
|
+
* })
|
|
1188
|
+
*/
|
|
1189
|
+
findFirstOrThrow<T extends ArtifactFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, ArtifactFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__ArtifactClient<runtime.Types.Result.GetResult<Prisma.$ArtifactPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
1190
|
+
|
|
1191
|
+
/**
|
|
1192
|
+
* Find zero or more Artifacts that matches the filter.
|
|
1193
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1194
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1195
|
+
* @param {ArtifactFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
1196
|
+
* @example
|
|
1197
|
+
* // Get all Artifacts
|
|
1198
|
+
* const artifacts = await prisma.artifact.findMany()
|
|
1199
|
+
*
|
|
1200
|
+
* // Get first 10 Artifacts
|
|
1201
|
+
* const artifacts = await prisma.artifact.findMany({ take: 10 })
|
|
1202
|
+
*
|
|
1203
|
+
* // Only select the `id`
|
|
1204
|
+
* const artifactWithIdOnly = await prisma.artifact.findMany({ select: { id: true } })
|
|
1205
|
+
*
|
|
1206
|
+
*/
|
|
1207
|
+
findMany<T extends ArtifactFindManyArgs>(args?: Prisma.SelectSubset<T, ArtifactFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ArtifactPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
|
|
1208
|
+
|
|
1209
|
+
/**
|
|
1210
|
+
* Create a Artifact.
|
|
1211
|
+
* @param {ArtifactCreateArgs} args - Arguments to create a Artifact.
|
|
1212
|
+
* @example
|
|
1213
|
+
* // Create one Artifact
|
|
1214
|
+
* const Artifact = await prisma.artifact.create({
|
|
1215
|
+
* data: {
|
|
1216
|
+
* // ... data to create a Artifact
|
|
1217
|
+
* }
|
|
1218
|
+
* })
|
|
1219
|
+
*
|
|
1220
|
+
*/
|
|
1221
|
+
create<T extends ArtifactCreateArgs>(args: Prisma.SelectSubset<T, ArtifactCreateArgs<ExtArgs>>): Prisma.Prisma__ArtifactClient<runtime.Types.Result.GetResult<Prisma.$ArtifactPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
1222
|
+
|
|
1223
|
+
/**
|
|
1224
|
+
* Create many Artifacts.
|
|
1225
|
+
* @param {ArtifactCreateManyArgs} args - Arguments to create many Artifacts.
|
|
1226
|
+
* @example
|
|
1227
|
+
* // Create many Artifacts
|
|
1228
|
+
* const artifact = await prisma.artifact.createMany({
|
|
1229
|
+
* data: [
|
|
1230
|
+
* // ... provide data here
|
|
1231
|
+
* ]
|
|
1232
|
+
* })
|
|
1233
|
+
*
|
|
1234
|
+
*/
|
|
1235
|
+
createMany<T extends ArtifactCreateManyArgs>(args?: Prisma.SelectSubset<T, ArtifactCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
1236
|
+
|
|
1237
|
+
/**
|
|
1238
|
+
* Create many Artifacts and returns the data saved in the database.
|
|
1239
|
+
* @param {ArtifactCreateManyAndReturnArgs} args - Arguments to create many Artifacts.
|
|
1240
|
+
* @example
|
|
1241
|
+
* // Create many Artifacts
|
|
1242
|
+
* const artifact = await prisma.artifact.createManyAndReturn({
|
|
1243
|
+
* data: [
|
|
1244
|
+
* // ... provide data here
|
|
1245
|
+
* ]
|
|
1246
|
+
* })
|
|
1247
|
+
*
|
|
1248
|
+
* // Create many Artifacts and only return the `id`
|
|
1249
|
+
* const artifactWithIdOnly = await prisma.artifact.createManyAndReturn({
|
|
1250
|
+
* select: { id: true },
|
|
1251
|
+
* data: [
|
|
1252
|
+
* // ... provide data here
|
|
1253
|
+
* ]
|
|
1254
|
+
* })
|
|
1255
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1256
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1257
|
+
*
|
|
1258
|
+
*/
|
|
1259
|
+
createManyAndReturn<T extends ArtifactCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, ArtifactCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ArtifactPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
|
|
1260
|
+
|
|
1261
|
+
/**
|
|
1262
|
+
* Delete a Artifact.
|
|
1263
|
+
* @param {ArtifactDeleteArgs} args - Arguments to delete one Artifact.
|
|
1264
|
+
* @example
|
|
1265
|
+
* // Delete one Artifact
|
|
1266
|
+
* const Artifact = await prisma.artifact.delete({
|
|
1267
|
+
* where: {
|
|
1268
|
+
* // ... filter to delete one Artifact
|
|
1269
|
+
* }
|
|
1270
|
+
* })
|
|
1271
|
+
*
|
|
1272
|
+
*/
|
|
1273
|
+
delete<T extends ArtifactDeleteArgs>(args: Prisma.SelectSubset<T, ArtifactDeleteArgs<ExtArgs>>): Prisma.Prisma__ArtifactClient<runtime.Types.Result.GetResult<Prisma.$ArtifactPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
1274
|
+
|
|
1275
|
+
/**
|
|
1276
|
+
* Update one Artifact.
|
|
1277
|
+
* @param {ArtifactUpdateArgs} args - Arguments to update one Artifact.
|
|
1278
|
+
* @example
|
|
1279
|
+
* // Update one Artifact
|
|
1280
|
+
* const artifact = await prisma.artifact.update({
|
|
1281
|
+
* where: {
|
|
1282
|
+
* // ... provide filter here
|
|
1283
|
+
* },
|
|
1284
|
+
* data: {
|
|
1285
|
+
* // ... provide data here
|
|
1286
|
+
* }
|
|
1287
|
+
* })
|
|
1288
|
+
*
|
|
1289
|
+
*/
|
|
1290
|
+
update<T extends ArtifactUpdateArgs>(args: Prisma.SelectSubset<T, ArtifactUpdateArgs<ExtArgs>>): Prisma.Prisma__ArtifactClient<runtime.Types.Result.GetResult<Prisma.$ArtifactPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
1291
|
+
|
|
1292
|
+
/**
|
|
1293
|
+
* Delete zero or more Artifacts.
|
|
1294
|
+
* @param {ArtifactDeleteManyArgs} args - Arguments to filter Artifacts to delete.
|
|
1295
|
+
* @example
|
|
1296
|
+
* // Delete a few Artifacts
|
|
1297
|
+
* const { count } = await prisma.artifact.deleteMany({
|
|
1298
|
+
* where: {
|
|
1299
|
+
* // ... provide filter here
|
|
1300
|
+
* }
|
|
1301
|
+
* })
|
|
1302
|
+
*
|
|
1303
|
+
*/
|
|
1304
|
+
deleteMany<T extends ArtifactDeleteManyArgs>(args?: Prisma.SelectSubset<T, ArtifactDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
1305
|
+
|
|
1306
|
+
/**
|
|
1307
|
+
* Update zero or more Artifacts.
|
|
1308
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1309
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1310
|
+
* @param {ArtifactUpdateManyArgs} args - Arguments to update one or more rows.
|
|
1311
|
+
* @example
|
|
1312
|
+
* // Update many Artifacts
|
|
1313
|
+
* const artifact = await prisma.artifact.updateMany({
|
|
1314
|
+
* where: {
|
|
1315
|
+
* // ... provide filter here
|
|
1316
|
+
* },
|
|
1317
|
+
* data: {
|
|
1318
|
+
* // ... provide data here
|
|
1319
|
+
* }
|
|
1320
|
+
* })
|
|
1321
|
+
*
|
|
1322
|
+
*/
|
|
1323
|
+
updateMany<T extends ArtifactUpdateManyArgs>(args: Prisma.SelectSubset<T, ArtifactUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
1324
|
+
|
|
1325
|
+
/**
|
|
1326
|
+
* Update zero or more Artifacts and returns the data updated in the database.
|
|
1327
|
+
* @param {ArtifactUpdateManyAndReturnArgs} args - Arguments to update many Artifacts.
|
|
1328
|
+
* @example
|
|
1329
|
+
* // Update many Artifacts
|
|
1330
|
+
* const artifact = await prisma.artifact.updateManyAndReturn({
|
|
1331
|
+
* where: {
|
|
1332
|
+
* // ... provide filter here
|
|
1333
|
+
* },
|
|
1334
|
+
* data: [
|
|
1335
|
+
* // ... provide data here
|
|
1336
|
+
* ]
|
|
1337
|
+
* })
|
|
1338
|
+
*
|
|
1339
|
+
* // Update zero or more Artifacts and only return the `id`
|
|
1340
|
+
* const artifactWithIdOnly = await prisma.artifact.updateManyAndReturn({
|
|
1341
|
+
* select: { id: true },
|
|
1342
|
+
* where: {
|
|
1343
|
+
* // ... provide filter here
|
|
1344
|
+
* },
|
|
1345
|
+
* data: [
|
|
1346
|
+
* // ... provide data here
|
|
1347
|
+
* ]
|
|
1348
|
+
* })
|
|
1349
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1350
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1351
|
+
*
|
|
1352
|
+
*/
|
|
1353
|
+
updateManyAndReturn<T extends ArtifactUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, ArtifactUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ArtifactPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
|
|
1354
|
+
|
|
1355
|
+
/**
|
|
1356
|
+
* Create or update one Artifact.
|
|
1357
|
+
* @param {ArtifactUpsertArgs} args - Arguments to update or create a Artifact.
|
|
1358
|
+
* @example
|
|
1359
|
+
* // Update or create a Artifact
|
|
1360
|
+
* const artifact = await prisma.artifact.upsert({
|
|
1361
|
+
* create: {
|
|
1362
|
+
* // ... data to create a Artifact
|
|
1363
|
+
* },
|
|
1364
|
+
* update: {
|
|
1365
|
+
* // ... in case it already exists, update
|
|
1366
|
+
* },
|
|
1367
|
+
* where: {
|
|
1368
|
+
* // ... the filter for the Artifact we want to update
|
|
1369
|
+
* }
|
|
1370
|
+
* })
|
|
1371
|
+
*/
|
|
1372
|
+
upsert<T extends ArtifactUpsertArgs>(args: Prisma.SelectSubset<T, ArtifactUpsertArgs<ExtArgs>>): Prisma.Prisma__ArtifactClient<runtime.Types.Result.GetResult<Prisma.$ArtifactPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
1373
|
+
|
|
1374
|
+
|
|
1375
|
+
/**
|
|
1376
|
+
* Count the number of Artifacts.
|
|
1377
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1378
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1379
|
+
* @param {ArtifactCountArgs} args - Arguments to filter Artifacts to count.
|
|
1380
|
+
* @example
|
|
1381
|
+
* // Count the number of Artifacts
|
|
1382
|
+
* const count = await prisma.artifact.count({
|
|
1383
|
+
* where: {
|
|
1384
|
+
* // ... the filter for the Artifacts we want to count
|
|
1385
|
+
* }
|
|
1386
|
+
* })
|
|
1387
|
+
**/
|
|
1388
|
+
count<T extends ArtifactCountArgs>(
|
|
1389
|
+
args?: Prisma.Subset<T, ArtifactCountArgs>,
|
|
1390
|
+
): Prisma.PrismaPromise<
|
|
1391
|
+
T extends runtime.Types.Utils.Record<'select', any>
|
|
1392
|
+
? T['select'] extends true
|
|
1393
|
+
? number
|
|
1394
|
+
: Prisma.GetScalarType<T['select'], ArtifactCountAggregateOutputType>
|
|
1395
|
+
: number
|
|
1396
|
+
>
|
|
1397
|
+
|
|
1398
|
+
/**
|
|
1399
|
+
* Allows you to perform aggregations operations on a Artifact.
|
|
1400
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1401
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1402
|
+
* @param {ArtifactAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
1403
|
+
* @example
|
|
1404
|
+
* // Ordered by age ascending
|
|
1405
|
+
* // Where email contains prisma.io
|
|
1406
|
+
* // Limited to the 10 users
|
|
1407
|
+
* const aggregations = await prisma.user.aggregate({
|
|
1408
|
+
* _avg: {
|
|
1409
|
+
* age: true,
|
|
1410
|
+
* },
|
|
1411
|
+
* where: {
|
|
1412
|
+
* email: {
|
|
1413
|
+
* contains: "prisma.io",
|
|
1414
|
+
* },
|
|
1415
|
+
* },
|
|
1416
|
+
* orderBy: {
|
|
1417
|
+
* age: "asc",
|
|
1418
|
+
* },
|
|
1419
|
+
* take: 10,
|
|
1420
|
+
* })
|
|
1421
|
+
**/
|
|
1422
|
+
aggregate<T extends ArtifactAggregateArgs>(args: Prisma.Subset<T, ArtifactAggregateArgs>): Prisma.PrismaPromise<GetArtifactAggregateType<T>>
|
|
1423
|
+
|
|
1424
|
+
/**
|
|
1425
|
+
* Group by Artifact.
|
|
1426
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1427
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1428
|
+
* @param {ArtifactGroupByArgs} args - Group by arguments.
|
|
1429
|
+
* @example
|
|
1430
|
+
* // Group by city, order by createdAt, get count
|
|
1431
|
+
* const result = await prisma.user.groupBy({
|
|
1432
|
+
* by: ['city', 'createdAt'],
|
|
1433
|
+
* orderBy: {
|
|
1434
|
+
* createdAt: true
|
|
1435
|
+
* },
|
|
1436
|
+
* _count: {
|
|
1437
|
+
* _all: true
|
|
1438
|
+
* },
|
|
1439
|
+
* })
|
|
1440
|
+
*
|
|
1441
|
+
**/
|
|
1442
|
+
groupBy<
|
|
1443
|
+
T extends ArtifactGroupByArgs,
|
|
1444
|
+
HasSelectOrTake extends Prisma.Or<
|
|
1445
|
+
Prisma.Extends<'skip', Prisma.Keys<T>>,
|
|
1446
|
+
Prisma.Extends<'take', Prisma.Keys<T>>
|
|
1447
|
+
>,
|
|
1448
|
+
OrderByArg extends Prisma.True extends HasSelectOrTake
|
|
1449
|
+
? { orderBy: ArtifactGroupByArgs['orderBy'] }
|
|
1450
|
+
: { orderBy?: ArtifactGroupByArgs['orderBy'] },
|
|
1451
|
+
OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
|
|
1452
|
+
ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
|
|
1453
|
+
ByValid extends Prisma.Has<ByFields, OrderFields>,
|
|
1454
|
+
HavingFields extends Prisma.GetHavingFields<T['having']>,
|
|
1455
|
+
HavingValid extends Prisma.Has<ByFields, HavingFields>,
|
|
1456
|
+
ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False,
|
|
1457
|
+
InputErrors extends ByEmpty extends Prisma.True
|
|
1458
|
+
? `Error: "by" must not be empty.`
|
|
1459
|
+
: HavingValid extends Prisma.False
|
|
1460
|
+
? {
|
|
1461
|
+
[P in HavingFields]: P extends ByFields
|
|
1462
|
+
? never
|
|
1463
|
+
: P extends string
|
|
1464
|
+
? `Error: Field "${P}" used in "having" needs to be provided in "by".`
|
|
1465
|
+
: [
|
|
1466
|
+
Error,
|
|
1467
|
+
'Field ',
|
|
1468
|
+
P,
|
|
1469
|
+
` in "having" needs to be provided in "by"`,
|
|
1470
|
+
]
|
|
1471
|
+
}[HavingFields]
|
|
1472
|
+
: 'take' extends Prisma.Keys<T>
|
|
1473
|
+
? 'orderBy' extends Prisma.Keys<T>
|
|
1474
|
+
? ByValid extends Prisma.True
|
|
1475
|
+
? {}
|
|
1476
|
+
: {
|
|
1477
|
+
[P in OrderFields]: P extends ByFields
|
|
1478
|
+
? never
|
|
1479
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
1480
|
+
}[OrderFields]
|
|
1481
|
+
: 'Error: If you provide "take", you also need to provide "orderBy"'
|
|
1482
|
+
: 'skip' extends Prisma.Keys<T>
|
|
1483
|
+
? 'orderBy' extends Prisma.Keys<T>
|
|
1484
|
+
? ByValid extends Prisma.True
|
|
1485
|
+
? {}
|
|
1486
|
+
: {
|
|
1487
|
+
[P in OrderFields]: P extends ByFields
|
|
1488
|
+
? never
|
|
1489
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
1490
|
+
}[OrderFields]
|
|
1491
|
+
: 'Error: If you provide "skip", you also need to provide "orderBy"'
|
|
1492
|
+
: ByValid extends Prisma.True
|
|
1493
|
+
? {}
|
|
1494
|
+
: {
|
|
1495
|
+
[P in OrderFields]: P extends ByFields
|
|
1496
|
+
? never
|
|
1497
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
1498
|
+
}[OrderFields]
|
|
1499
|
+
>(args: Prisma.SubsetIntersection<T, ArtifactGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetArtifactGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
1500
|
+
/**
|
|
1501
|
+
* Fields of the Artifact model
|
|
1502
|
+
*/
|
|
1503
|
+
readonly fields: ArtifactFieldRefs;
|
|
1504
|
+
}
|
|
1505
|
+
|
|
1506
|
+
/**
|
|
1507
|
+
* The delegate class that acts as a "Promise-like" for Artifact.
|
|
1508
|
+
* Why is this prefixed with `Prisma__`?
|
|
1509
|
+
* Because we want to prevent naming conflicts as mentioned in
|
|
1510
|
+
* https://github.com/prisma/prisma-client-js/issues/707
|
|
1511
|
+
*/
|
|
1512
|
+
export interface Prisma__ArtifactClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
1513
|
+
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
1514
|
+
serviceAccounts<T extends Prisma.Artifact$serviceAccountsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Artifact$serviceAccountsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ServiceAccountPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
1515
|
+
instances<T extends Prisma.Artifact$instancesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Artifact$instancesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$InstanceStatePayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
1516
|
+
terminals<T extends Prisma.Artifact$terminalsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Artifact$terminalsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$TerminalPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
1517
|
+
pages<T extends Prisma.Artifact$pagesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Artifact$pagesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PagePayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
1518
|
+
/**
|
|
1519
|
+
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
1520
|
+
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
1521
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
1522
|
+
* @returns A Promise for the completion of which ever callback is executed.
|
|
1523
|
+
*/
|
|
1524
|
+
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>
|
|
1525
|
+
/**
|
|
1526
|
+
* Attaches a callback for only the rejection of the Promise.
|
|
1527
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
1528
|
+
* @returns A Promise for the completion of the callback.
|
|
1529
|
+
*/
|
|
1530
|
+
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
|
|
1531
|
+
/**
|
|
1532
|
+
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
1533
|
+
* resolved value cannot be modified from the callback.
|
|
1534
|
+
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
1535
|
+
* @returns A Promise for the completion of the callback.
|
|
1536
|
+
*/
|
|
1537
|
+
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
|
|
1538
|
+
}
|
|
1539
|
+
|
|
1540
|
+
|
|
1541
|
+
|
|
1542
|
+
|
|
1543
|
+
/**
|
|
1544
|
+
* Fields of the Artifact model
|
|
1545
|
+
*/
|
|
1546
|
+
export interface ArtifactFieldRefs {
|
|
1547
|
+
readonly id: Prisma.FieldRef<"Artifact", 'String'>
|
|
1548
|
+
readonly meta: Prisma.FieldRef<"Artifact", 'Json'>
|
|
1549
|
+
readonly hash: Prisma.FieldRef<"Artifact", 'String'>
|
|
1550
|
+
readonly size: Prisma.FieldRef<"Artifact", 'Int'>
|
|
1551
|
+
readonly chunkSize: Prisma.FieldRef<"Artifact", 'Int'>
|
|
1552
|
+
readonly createdAt: Prisma.FieldRef<"Artifact", 'DateTime'>
|
|
1553
|
+
readonly updatedAt: Prisma.FieldRef<"Artifact", 'DateTime'>
|
|
1554
|
+
}
|
|
1555
|
+
|
|
1556
|
+
|
|
1557
|
+
// Custom InputTypes
|
|
1558
|
+
/**
|
|
1559
|
+
* Artifact findUnique
|
|
1560
|
+
*/
|
|
1561
|
+
export type ArtifactFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1562
|
+
/**
|
|
1563
|
+
* Select specific fields to fetch from the Artifact
|
|
1564
|
+
*/
|
|
1565
|
+
select?: Prisma.ArtifactSelect<ExtArgs> | null
|
|
1566
|
+
/**
|
|
1567
|
+
* Omit specific fields from the Artifact
|
|
1568
|
+
*/
|
|
1569
|
+
omit?: Prisma.ArtifactOmit<ExtArgs> | null
|
|
1570
|
+
/**
|
|
1571
|
+
* Choose, which related nodes to fetch as well
|
|
1572
|
+
*/
|
|
1573
|
+
include?: Prisma.ArtifactInclude<ExtArgs> | null
|
|
1574
|
+
/**
|
|
1575
|
+
* Filter, which Artifact to fetch.
|
|
1576
|
+
*/
|
|
1577
|
+
where: Prisma.ArtifactWhereUniqueInput
|
|
1578
|
+
}
|
|
1579
|
+
|
|
1580
|
+
/**
|
|
1581
|
+
* Artifact findUniqueOrThrow
|
|
1582
|
+
*/
|
|
1583
|
+
export type ArtifactFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1584
|
+
/**
|
|
1585
|
+
* Select specific fields to fetch from the Artifact
|
|
1586
|
+
*/
|
|
1587
|
+
select?: Prisma.ArtifactSelect<ExtArgs> | null
|
|
1588
|
+
/**
|
|
1589
|
+
* Omit specific fields from the Artifact
|
|
1590
|
+
*/
|
|
1591
|
+
omit?: Prisma.ArtifactOmit<ExtArgs> | null
|
|
1592
|
+
/**
|
|
1593
|
+
* Choose, which related nodes to fetch as well
|
|
1594
|
+
*/
|
|
1595
|
+
include?: Prisma.ArtifactInclude<ExtArgs> | null
|
|
1596
|
+
/**
|
|
1597
|
+
* Filter, which Artifact to fetch.
|
|
1598
|
+
*/
|
|
1599
|
+
where: Prisma.ArtifactWhereUniqueInput
|
|
1600
|
+
}
|
|
1601
|
+
|
|
1602
|
+
/**
|
|
1603
|
+
* Artifact findFirst
|
|
1604
|
+
*/
|
|
1605
|
+
export type ArtifactFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1606
|
+
/**
|
|
1607
|
+
* Select specific fields to fetch from the Artifact
|
|
1608
|
+
*/
|
|
1609
|
+
select?: Prisma.ArtifactSelect<ExtArgs> | null
|
|
1610
|
+
/**
|
|
1611
|
+
* Omit specific fields from the Artifact
|
|
1612
|
+
*/
|
|
1613
|
+
omit?: Prisma.ArtifactOmit<ExtArgs> | null
|
|
1614
|
+
/**
|
|
1615
|
+
* Choose, which related nodes to fetch as well
|
|
1616
|
+
*/
|
|
1617
|
+
include?: Prisma.ArtifactInclude<ExtArgs> | null
|
|
1618
|
+
/**
|
|
1619
|
+
* Filter, which Artifact to fetch.
|
|
1620
|
+
*/
|
|
1621
|
+
where?: Prisma.ArtifactWhereInput
|
|
1622
|
+
/**
|
|
1623
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1624
|
+
*
|
|
1625
|
+
* Determine the order of Artifacts to fetch.
|
|
1626
|
+
*/
|
|
1627
|
+
orderBy?: Prisma.ArtifactOrderByWithRelationInput | Prisma.ArtifactOrderByWithRelationInput[]
|
|
1628
|
+
/**
|
|
1629
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1630
|
+
*
|
|
1631
|
+
* Sets the position for searching for Artifacts.
|
|
1632
|
+
*/
|
|
1633
|
+
cursor?: Prisma.ArtifactWhereUniqueInput
|
|
1634
|
+
/**
|
|
1635
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1636
|
+
*
|
|
1637
|
+
* Take `±n` Artifacts from the position of the cursor.
|
|
1638
|
+
*/
|
|
1639
|
+
take?: number
|
|
1640
|
+
/**
|
|
1641
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1642
|
+
*
|
|
1643
|
+
* Skip the first `n` Artifacts.
|
|
1644
|
+
*/
|
|
1645
|
+
skip?: number
|
|
1646
|
+
/**
|
|
1647
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1648
|
+
*
|
|
1649
|
+
* Filter by unique combinations of Artifacts.
|
|
1650
|
+
*/
|
|
1651
|
+
distinct?: Prisma.ArtifactScalarFieldEnum | Prisma.ArtifactScalarFieldEnum[]
|
|
1652
|
+
}
|
|
1653
|
+
|
|
1654
|
+
/**
|
|
1655
|
+
* Artifact findFirstOrThrow
|
|
1656
|
+
*/
|
|
1657
|
+
export type ArtifactFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1658
|
+
/**
|
|
1659
|
+
* Select specific fields to fetch from the Artifact
|
|
1660
|
+
*/
|
|
1661
|
+
select?: Prisma.ArtifactSelect<ExtArgs> | null
|
|
1662
|
+
/**
|
|
1663
|
+
* Omit specific fields from the Artifact
|
|
1664
|
+
*/
|
|
1665
|
+
omit?: Prisma.ArtifactOmit<ExtArgs> | null
|
|
1666
|
+
/**
|
|
1667
|
+
* Choose, which related nodes to fetch as well
|
|
1668
|
+
*/
|
|
1669
|
+
include?: Prisma.ArtifactInclude<ExtArgs> | null
|
|
1670
|
+
/**
|
|
1671
|
+
* Filter, which Artifact to fetch.
|
|
1672
|
+
*/
|
|
1673
|
+
where?: Prisma.ArtifactWhereInput
|
|
1674
|
+
/**
|
|
1675
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1676
|
+
*
|
|
1677
|
+
* Determine the order of Artifacts to fetch.
|
|
1678
|
+
*/
|
|
1679
|
+
orderBy?: Prisma.ArtifactOrderByWithRelationInput | Prisma.ArtifactOrderByWithRelationInput[]
|
|
1680
|
+
/**
|
|
1681
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1682
|
+
*
|
|
1683
|
+
* Sets the position for searching for Artifacts.
|
|
1684
|
+
*/
|
|
1685
|
+
cursor?: Prisma.ArtifactWhereUniqueInput
|
|
1686
|
+
/**
|
|
1687
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1688
|
+
*
|
|
1689
|
+
* Take `±n` Artifacts from the position of the cursor.
|
|
1690
|
+
*/
|
|
1691
|
+
take?: number
|
|
1692
|
+
/**
|
|
1693
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1694
|
+
*
|
|
1695
|
+
* Skip the first `n` Artifacts.
|
|
1696
|
+
*/
|
|
1697
|
+
skip?: number
|
|
1698
|
+
/**
|
|
1699
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1700
|
+
*
|
|
1701
|
+
* Filter by unique combinations of Artifacts.
|
|
1702
|
+
*/
|
|
1703
|
+
distinct?: Prisma.ArtifactScalarFieldEnum | Prisma.ArtifactScalarFieldEnum[]
|
|
1704
|
+
}
|
|
1705
|
+
|
|
1706
|
+
/**
|
|
1707
|
+
* Artifact findMany
|
|
1708
|
+
*/
|
|
1709
|
+
export type ArtifactFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1710
|
+
/**
|
|
1711
|
+
* Select specific fields to fetch from the Artifact
|
|
1712
|
+
*/
|
|
1713
|
+
select?: Prisma.ArtifactSelect<ExtArgs> | null
|
|
1714
|
+
/**
|
|
1715
|
+
* Omit specific fields from the Artifact
|
|
1716
|
+
*/
|
|
1717
|
+
omit?: Prisma.ArtifactOmit<ExtArgs> | null
|
|
1718
|
+
/**
|
|
1719
|
+
* Choose, which related nodes to fetch as well
|
|
1720
|
+
*/
|
|
1721
|
+
include?: Prisma.ArtifactInclude<ExtArgs> | null
|
|
1722
|
+
/**
|
|
1723
|
+
* Filter, which Artifacts to fetch.
|
|
1724
|
+
*/
|
|
1725
|
+
where?: Prisma.ArtifactWhereInput
|
|
1726
|
+
/**
|
|
1727
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1728
|
+
*
|
|
1729
|
+
* Determine the order of Artifacts to fetch.
|
|
1730
|
+
*/
|
|
1731
|
+
orderBy?: Prisma.ArtifactOrderByWithRelationInput | Prisma.ArtifactOrderByWithRelationInput[]
|
|
1732
|
+
/**
|
|
1733
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1734
|
+
*
|
|
1735
|
+
* Sets the position for listing Artifacts.
|
|
1736
|
+
*/
|
|
1737
|
+
cursor?: Prisma.ArtifactWhereUniqueInput
|
|
1738
|
+
/**
|
|
1739
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1740
|
+
*
|
|
1741
|
+
* Take `±n` Artifacts from the position of the cursor.
|
|
1742
|
+
*/
|
|
1743
|
+
take?: number
|
|
1744
|
+
/**
|
|
1745
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1746
|
+
*
|
|
1747
|
+
* Skip the first `n` Artifacts.
|
|
1748
|
+
*/
|
|
1749
|
+
skip?: number
|
|
1750
|
+
distinct?: Prisma.ArtifactScalarFieldEnum | Prisma.ArtifactScalarFieldEnum[]
|
|
1751
|
+
}
|
|
1752
|
+
|
|
1753
|
+
/**
|
|
1754
|
+
* Artifact create
|
|
1755
|
+
*/
|
|
1756
|
+
export type ArtifactCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1757
|
+
/**
|
|
1758
|
+
* Select specific fields to fetch from the Artifact
|
|
1759
|
+
*/
|
|
1760
|
+
select?: Prisma.ArtifactSelect<ExtArgs> | null
|
|
1761
|
+
/**
|
|
1762
|
+
* Omit specific fields from the Artifact
|
|
1763
|
+
*/
|
|
1764
|
+
omit?: Prisma.ArtifactOmit<ExtArgs> | null
|
|
1765
|
+
/**
|
|
1766
|
+
* Choose, which related nodes to fetch as well
|
|
1767
|
+
*/
|
|
1768
|
+
include?: Prisma.ArtifactInclude<ExtArgs> | null
|
|
1769
|
+
/**
|
|
1770
|
+
* The data needed to create a Artifact.
|
|
1771
|
+
*/
|
|
1772
|
+
data: Prisma.XOR<Prisma.ArtifactCreateInput, Prisma.ArtifactUncheckedCreateInput>
|
|
1773
|
+
}
|
|
1774
|
+
|
|
1775
|
+
/**
|
|
1776
|
+
* Artifact createMany
|
|
1777
|
+
*/
|
|
1778
|
+
export type ArtifactCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1779
|
+
/**
|
|
1780
|
+
* The data used to create many Artifacts.
|
|
1781
|
+
*/
|
|
1782
|
+
data: Prisma.ArtifactCreateManyInput | Prisma.ArtifactCreateManyInput[]
|
|
1783
|
+
}
|
|
1784
|
+
|
|
1785
|
+
/**
|
|
1786
|
+
* Artifact createManyAndReturn
|
|
1787
|
+
*/
|
|
1788
|
+
export type ArtifactCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1789
|
+
/**
|
|
1790
|
+
* Select specific fields to fetch from the Artifact
|
|
1791
|
+
*/
|
|
1792
|
+
select?: Prisma.ArtifactSelectCreateManyAndReturn<ExtArgs> | null
|
|
1793
|
+
/**
|
|
1794
|
+
* Omit specific fields from the Artifact
|
|
1795
|
+
*/
|
|
1796
|
+
omit?: Prisma.ArtifactOmit<ExtArgs> | null
|
|
1797
|
+
/**
|
|
1798
|
+
* The data used to create many Artifacts.
|
|
1799
|
+
*/
|
|
1800
|
+
data: Prisma.ArtifactCreateManyInput | Prisma.ArtifactCreateManyInput[]
|
|
1801
|
+
}
|
|
1802
|
+
|
|
1803
|
+
/**
|
|
1804
|
+
* Artifact update
|
|
1805
|
+
*/
|
|
1806
|
+
export type ArtifactUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1807
|
+
/**
|
|
1808
|
+
* Select specific fields to fetch from the Artifact
|
|
1809
|
+
*/
|
|
1810
|
+
select?: Prisma.ArtifactSelect<ExtArgs> | null
|
|
1811
|
+
/**
|
|
1812
|
+
* Omit specific fields from the Artifact
|
|
1813
|
+
*/
|
|
1814
|
+
omit?: Prisma.ArtifactOmit<ExtArgs> | null
|
|
1815
|
+
/**
|
|
1816
|
+
* Choose, which related nodes to fetch as well
|
|
1817
|
+
*/
|
|
1818
|
+
include?: Prisma.ArtifactInclude<ExtArgs> | null
|
|
1819
|
+
/**
|
|
1820
|
+
* The data needed to update a Artifact.
|
|
1821
|
+
*/
|
|
1822
|
+
data: Prisma.XOR<Prisma.ArtifactUpdateInput, Prisma.ArtifactUncheckedUpdateInput>
|
|
1823
|
+
/**
|
|
1824
|
+
* Choose, which Artifact to update.
|
|
1825
|
+
*/
|
|
1826
|
+
where: Prisma.ArtifactWhereUniqueInput
|
|
1827
|
+
}
|
|
1828
|
+
|
|
1829
|
+
/**
|
|
1830
|
+
* Artifact updateMany
|
|
1831
|
+
*/
|
|
1832
|
+
export type ArtifactUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1833
|
+
/**
|
|
1834
|
+
* The data used to update Artifacts.
|
|
1835
|
+
*/
|
|
1836
|
+
data: Prisma.XOR<Prisma.ArtifactUpdateManyMutationInput, Prisma.ArtifactUncheckedUpdateManyInput>
|
|
1837
|
+
/**
|
|
1838
|
+
* Filter which Artifacts to update
|
|
1839
|
+
*/
|
|
1840
|
+
where?: Prisma.ArtifactWhereInput
|
|
1841
|
+
/**
|
|
1842
|
+
* Limit how many Artifacts to update.
|
|
1843
|
+
*/
|
|
1844
|
+
limit?: number
|
|
1845
|
+
}
|
|
1846
|
+
|
|
1847
|
+
/**
|
|
1848
|
+
* Artifact updateManyAndReturn
|
|
1849
|
+
*/
|
|
1850
|
+
export type ArtifactUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1851
|
+
/**
|
|
1852
|
+
* Select specific fields to fetch from the Artifact
|
|
1853
|
+
*/
|
|
1854
|
+
select?: Prisma.ArtifactSelectUpdateManyAndReturn<ExtArgs> | null
|
|
1855
|
+
/**
|
|
1856
|
+
* Omit specific fields from the Artifact
|
|
1857
|
+
*/
|
|
1858
|
+
omit?: Prisma.ArtifactOmit<ExtArgs> | null
|
|
1859
|
+
/**
|
|
1860
|
+
* The data used to update Artifacts.
|
|
1861
|
+
*/
|
|
1862
|
+
data: Prisma.XOR<Prisma.ArtifactUpdateManyMutationInput, Prisma.ArtifactUncheckedUpdateManyInput>
|
|
1863
|
+
/**
|
|
1864
|
+
* Filter which Artifacts to update
|
|
1865
|
+
*/
|
|
1866
|
+
where?: Prisma.ArtifactWhereInput
|
|
1867
|
+
/**
|
|
1868
|
+
* Limit how many Artifacts to update.
|
|
1869
|
+
*/
|
|
1870
|
+
limit?: number
|
|
1871
|
+
}
|
|
1872
|
+
|
|
1873
|
+
/**
|
|
1874
|
+
* Artifact upsert
|
|
1875
|
+
*/
|
|
1876
|
+
export type ArtifactUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1877
|
+
/**
|
|
1878
|
+
* Select specific fields to fetch from the Artifact
|
|
1879
|
+
*/
|
|
1880
|
+
select?: Prisma.ArtifactSelect<ExtArgs> | null
|
|
1881
|
+
/**
|
|
1882
|
+
* Omit specific fields from the Artifact
|
|
1883
|
+
*/
|
|
1884
|
+
omit?: Prisma.ArtifactOmit<ExtArgs> | null
|
|
1885
|
+
/**
|
|
1886
|
+
* Choose, which related nodes to fetch as well
|
|
1887
|
+
*/
|
|
1888
|
+
include?: Prisma.ArtifactInclude<ExtArgs> | null
|
|
1889
|
+
/**
|
|
1890
|
+
* The filter to search for the Artifact to update in case it exists.
|
|
1891
|
+
*/
|
|
1892
|
+
where: Prisma.ArtifactWhereUniqueInput
|
|
1893
|
+
/**
|
|
1894
|
+
* In case the Artifact found by the `where` argument doesn't exist, create a new Artifact with this data.
|
|
1895
|
+
*/
|
|
1896
|
+
create: Prisma.XOR<Prisma.ArtifactCreateInput, Prisma.ArtifactUncheckedCreateInput>
|
|
1897
|
+
/**
|
|
1898
|
+
* In case the Artifact was found with the provided `where` argument, update it with this data.
|
|
1899
|
+
*/
|
|
1900
|
+
update: Prisma.XOR<Prisma.ArtifactUpdateInput, Prisma.ArtifactUncheckedUpdateInput>
|
|
1901
|
+
}
|
|
1902
|
+
|
|
1903
|
+
/**
|
|
1904
|
+
* Artifact delete
|
|
1905
|
+
*/
|
|
1906
|
+
export type ArtifactDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1907
|
+
/**
|
|
1908
|
+
* Select specific fields to fetch from the Artifact
|
|
1909
|
+
*/
|
|
1910
|
+
select?: Prisma.ArtifactSelect<ExtArgs> | null
|
|
1911
|
+
/**
|
|
1912
|
+
* Omit specific fields from the Artifact
|
|
1913
|
+
*/
|
|
1914
|
+
omit?: Prisma.ArtifactOmit<ExtArgs> | null
|
|
1915
|
+
/**
|
|
1916
|
+
* Choose, which related nodes to fetch as well
|
|
1917
|
+
*/
|
|
1918
|
+
include?: Prisma.ArtifactInclude<ExtArgs> | null
|
|
1919
|
+
/**
|
|
1920
|
+
* Filter which Artifact to delete.
|
|
1921
|
+
*/
|
|
1922
|
+
where: Prisma.ArtifactWhereUniqueInput
|
|
1923
|
+
}
|
|
1924
|
+
|
|
1925
|
+
/**
|
|
1926
|
+
* Artifact deleteMany
|
|
1927
|
+
*/
|
|
1928
|
+
export type ArtifactDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1929
|
+
/**
|
|
1930
|
+
* Filter which Artifacts to delete
|
|
1931
|
+
*/
|
|
1932
|
+
where?: Prisma.ArtifactWhereInput
|
|
1933
|
+
/**
|
|
1934
|
+
* Limit how many Artifacts to delete.
|
|
1935
|
+
*/
|
|
1936
|
+
limit?: number
|
|
1937
|
+
}
|
|
1938
|
+
|
|
1939
|
+
/**
|
|
1940
|
+
* Artifact.serviceAccounts
|
|
1941
|
+
*/
|
|
1942
|
+
export type Artifact$serviceAccountsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1943
|
+
/**
|
|
1944
|
+
* Select specific fields to fetch from the ServiceAccount
|
|
1945
|
+
*/
|
|
1946
|
+
select?: Prisma.ServiceAccountSelect<ExtArgs> | null
|
|
1947
|
+
/**
|
|
1948
|
+
* Omit specific fields from the ServiceAccount
|
|
1949
|
+
*/
|
|
1950
|
+
omit?: Prisma.ServiceAccountOmit<ExtArgs> | null
|
|
1951
|
+
/**
|
|
1952
|
+
* Choose, which related nodes to fetch as well
|
|
1953
|
+
*/
|
|
1954
|
+
include?: Prisma.ServiceAccountInclude<ExtArgs> | null
|
|
1955
|
+
where?: Prisma.ServiceAccountWhereInput
|
|
1956
|
+
orderBy?: Prisma.ServiceAccountOrderByWithRelationInput | Prisma.ServiceAccountOrderByWithRelationInput[]
|
|
1957
|
+
cursor?: Prisma.ServiceAccountWhereUniqueInput
|
|
1958
|
+
take?: number
|
|
1959
|
+
skip?: number
|
|
1960
|
+
distinct?: Prisma.ServiceAccountScalarFieldEnum | Prisma.ServiceAccountScalarFieldEnum[]
|
|
1961
|
+
}
|
|
1962
|
+
|
|
1963
|
+
/**
|
|
1964
|
+
* Artifact.instances
|
|
1965
|
+
*/
|
|
1966
|
+
export type Artifact$instancesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1967
|
+
/**
|
|
1968
|
+
* Select specific fields to fetch from the InstanceState
|
|
1969
|
+
*/
|
|
1970
|
+
select?: Prisma.InstanceStateSelect<ExtArgs> | null
|
|
1971
|
+
/**
|
|
1972
|
+
* Omit specific fields from the InstanceState
|
|
1973
|
+
*/
|
|
1974
|
+
omit?: Prisma.InstanceStateOmit<ExtArgs> | null
|
|
1975
|
+
/**
|
|
1976
|
+
* Choose, which related nodes to fetch as well
|
|
1977
|
+
*/
|
|
1978
|
+
include?: Prisma.InstanceStateInclude<ExtArgs> | null
|
|
1979
|
+
where?: Prisma.InstanceStateWhereInput
|
|
1980
|
+
orderBy?: Prisma.InstanceStateOrderByWithRelationInput | Prisma.InstanceStateOrderByWithRelationInput[]
|
|
1981
|
+
cursor?: Prisma.InstanceStateWhereUniqueInput
|
|
1982
|
+
take?: number
|
|
1983
|
+
skip?: number
|
|
1984
|
+
distinct?: Prisma.InstanceStateScalarFieldEnum | Prisma.InstanceStateScalarFieldEnum[]
|
|
1985
|
+
}
|
|
1986
|
+
|
|
1987
|
+
/**
|
|
1988
|
+
* Artifact.terminals
|
|
1989
|
+
*/
|
|
1990
|
+
export type Artifact$terminalsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1991
|
+
/**
|
|
1992
|
+
* Select specific fields to fetch from the Terminal
|
|
1993
|
+
*/
|
|
1994
|
+
select?: Prisma.TerminalSelect<ExtArgs> | null
|
|
1995
|
+
/**
|
|
1996
|
+
* Omit specific fields from the Terminal
|
|
1997
|
+
*/
|
|
1998
|
+
omit?: Prisma.TerminalOmit<ExtArgs> | null
|
|
1999
|
+
/**
|
|
2000
|
+
* Choose, which related nodes to fetch as well
|
|
2001
|
+
*/
|
|
2002
|
+
include?: Prisma.TerminalInclude<ExtArgs> | null
|
|
2003
|
+
where?: Prisma.TerminalWhereInput
|
|
2004
|
+
orderBy?: Prisma.TerminalOrderByWithRelationInput | Prisma.TerminalOrderByWithRelationInput[]
|
|
2005
|
+
cursor?: Prisma.TerminalWhereUniqueInput
|
|
2006
|
+
take?: number
|
|
2007
|
+
skip?: number
|
|
2008
|
+
distinct?: Prisma.TerminalScalarFieldEnum | Prisma.TerminalScalarFieldEnum[]
|
|
2009
|
+
}
|
|
2010
|
+
|
|
2011
|
+
/**
|
|
2012
|
+
* Artifact.pages
|
|
2013
|
+
*/
|
|
2014
|
+
export type Artifact$pagesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2015
|
+
/**
|
|
2016
|
+
* Select specific fields to fetch from the Page
|
|
2017
|
+
*/
|
|
2018
|
+
select?: Prisma.PageSelect<ExtArgs> | null
|
|
2019
|
+
/**
|
|
2020
|
+
* Omit specific fields from the Page
|
|
2021
|
+
*/
|
|
2022
|
+
omit?: Prisma.PageOmit<ExtArgs> | null
|
|
2023
|
+
/**
|
|
2024
|
+
* Choose, which related nodes to fetch as well
|
|
2025
|
+
*/
|
|
2026
|
+
include?: Prisma.PageInclude<ExtArgs> | null
|
|
2027
|
+
where?: Prisma.PageWhereInput
|
|
2028
|
+
orderBy?: Prisma.PageOrderByWithRelationInput | Prisma.PageOrderByWithRelationInput[]
|
|
2029
|
+
cursor?: Prisma.PageWhereUniqueInput
|
|
2030
|
+
take?: number
|
|
2031
|
+
skip?: number
|
|
2032
|
+
distinct?: Prisma.PageScalarFieldEnum | Prisma.PageScalarFieldEnum[]
|
|
2033
|
+
}
|
|
2034
|
+
|
|
2035
|
+
/**
|
|
2036
|
+
* Artifact without action
|
|
2037
|
+
*/
|
|
2038
|
+
export type ArtifactDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2039
|
+
/**
|
|
2040
|
+
* Select specific fields to fetch from the Artifact
|
|
2041
|
+
*/
|
|
2042
|
+
select?: Prisma.ArtifactSelect<ExtArgs> | null
|
|
2043
|
+
/**
|
|
2044
|
+
* Omit specific fields from the Artifact
|
|
2045
|
+
*/
|
|
2046
|
+
omit?: Prisma.ArtifactOmit<ExtArgs> | null
|
|
2047
|
+
/**
|
|
2048
|
+
* Choose, which related nodes to fetch as well
|
|
2049
|
+
*/
|
|
2050
|
+
include?: Prisma.ArtifactInclude<ExtArgs> | null
|
|
2051
|
+
}
|