@highstate/backend 0.9.18 → 0.9.20
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-OU5OQBLB.js → chunk-I7BWSAN6.js} +3 -28
- package/dist/{chunk-OU5OQBLB.js.map → chunk-I7BWSAN6.js.map} +1 -1
- package/dist/chunk-RC6Q3XQQ.js +1547 -0
- package/dist/chunk-RC6Q3XQQ.js.map +1 -0
- 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 +7590 -7289
- 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 +32 -0
- package/prisma/project/artifact.prisma +52 -0
- package/prisma/project/custom-status.prisma +46 -0
- package/prisma/project/evaluation.prisma +45 -0
- package/prisma/project/instance.prisma +157 -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 +49 -0
- package/prisma/project/secret.prisma +54 -0
- package/prisma/project/service-account.prisma +42 -0
- package/prisma/project/terminal.prisma +107 -0
- package/prisma/project/trigger.prisma +37 -0
- package/prisma/project/unlock-method.prisma +46 -0
- package/prisma/project/worker.prisma +169 -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 +469 -130
- package/src/business/secret.ts +177 -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 +440 -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 +40 -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 +74 -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 +235 -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 +9 -2
- 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,2175 @@
|
|
|
1
|
+
|
|
2
|
+
/* !!! This is code generated by Prisma. Do not edit directly. !!! */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
// @ts-nocheck
|
|
5
|
+
/**
|
|
6
|
+
* This file exports the `Project` 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 Project
|
|
18
|
+
*
|
|
19
|
+
*/
|
|
20
|
+
export type ProjectModel = runtime.Types.Result.DefaultSelection<Prisma.$ProjectPayload>
|
|
21
|
+
|
|
22
|
+
export type AggregateProject = {
|
|
23
|
+
_count: ProjectCountAggregateOutputType | null
|
|
24
|
+
_avg: ProjectAvgAggregateOutputType | null
|
|
25
|
+
_sum: ProjectSumAggregateOutputType | null
|
|
26
|
+
_min: ProjectMinAggregateOutputType | null
|
|
27
|
+
_max: ProjectMaxAggregateOutputType | null
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
export type ProjectAvgAggregateOutputType = {
|
|
31
|
+
databaseVersion: number | null
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
export type ProjectSumAggregateOutputType = {
|
|
35
|
+
databaseVersion: number | null
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
export type ProjectMinAggregateOutputType = {
|
|
39
|
+
id: string | null
|
|
40
|
+
name: string | null
|
|
41
|
+
spaceId: string | null
|
|
42
|
+
modelStorageId: string | null
|
|
43
|
+
libraryId: string | null
|
|
44
|
+
pulumiBackendId: string | null
|
|
45
|
+
encryptedMasterKey: string | null
|
|
46
|
+
databaseVersion: number | null
|
|
47
|
+
createdAt: Date | null
|
|
48
|
+
updatedAt: Date | null
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
export type ProjectMaxAggregateOutputType = {
|
|
52
|
+
id: string | null
|
|
53
|
+
name: string | null
|
|
54
|
+
spaceId: string | null
|
|
55
|
+
modelStorageId: string | null
|
|
56
|
+
libraryId: string | null
|
|
57
|
+
pulumiBackendId: string | null
|
|
58
|
+
encryptedMasterKey: string | null
|
|
59
|
+
databaseVersion: number | null
|
|
60
|
+
createdAt: Date | null
|
|
61
|
+
updatedAt: Date | null
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
export type ProjectCountAggregateOutputType = {
|
|
65
|
+
id: number
|
|
66
|
+
meta: number
|
|
67
|
+
name: number
|
|
68
|
+
spaceId: number
|
|
69
|
+
modelStorageId: number
|
|
70
|
+
libraryId: number
|
|
71
|
+
pulumiBackendId: number
|
|
72
|
+
encryptedMasterKey: number
|
|
73
|
+
unlockSuite: number
|
|
74
|
+
databaseVersion: number
|
|
75
|
+
createdAt: number
|
|
76
|
+
updatedAt: number
|
|
77
|
+
_all: number
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
|
|
81
|
+
export type ProjectAvgAggregateInputType = {
|
|
82
|
+
databaseVersion?: true
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
export type ProjectSumAggregateInputType = {
|
|
86
|
+
databaseVersion?: true
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
export type ProjectMinAggregateInputType = {
|
|
90
|
+
id?: true
|
|
91
|
+
name?: true
|
|
92
|
+
spaceId?: true
|
|
93
|
+
modelStorageId?: true
|
|
94
|
+
libraryId?: true
|
|
95
|
+
pulumiBackendId?: true
|
|
96
|
+
encryptedMasterKey?: true
|
|
97
|
+
databaseVersion?: true
|
|
98
|
+
createdAt?: true
|
|
99
|
+
updatedAt?: true
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
export type ProjectMaxAggregateInputType = {
|
|
103
|
+
id?: true
|
|
104
|
+
name?: true
|
|
105
|
+
spaceId?: true
|
|
106
|
+
modelStorageId?: true
|
|
107
|
+
libraryId?: true
|
|
108
|
+
pulumiBackendId?: true
|
|
109
|
+
encryptedMasterKey?: true
|
|
110
|
+
databaseVersion?: true
|
|
111
|
+
createdAt?: true
|
|
112
|
+
updatedAt?: true
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
export type ProjectCountAggregateInputType = {
|
|
116
|
+
id?: true
|
|
117
|
+
meta?: true
|
|
118
|
+
name?: true
|
|
119
|
+
spaceId?: true
|
|
120
|
+
modelStorageId?: true
|
|
121
|
+
libraryId?: true
|
|
122
|
+
pulumiBackendId?: true
|
|
123
|
+
encryptedMasterKey?: true
|
|
124
|
+
unlockSuite?: true
|
|
125
|
+
databaseVersion?: true
|
|
126
|
+
createdAt?: true
|
|
127
|
+
updatedAt?: true
|
|
128
|
+
_all?: true
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
export type ProjectAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
132
|
+
/**
|
|
133
|
+
* Filter which Project to aggregate.
|
|
134
|
+
*/
|
|
135
|
+
where?: Prisma.ProjectWhereInput
|
|
136
|
+
/**
|
|
137
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
138
|
+
*
|
|
139
|
+
* Determine the order of Projects to fetch.
|
|
140
|
+
*/
|
|
141
|
+
orderBy?: Prisma.ProjectOrderByWithRelationInput | Prisma.ProjectOrderByWithRelationInput[]
|
|
142
|
+
/**
|
|
143
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
144
|
+
*
|
|
145
|
+
* Sets the start position
|
|
146
|
+
*/
|
|
147
|
+
cursor?: Prisma.ProjectWhereUniqueInput
|
|
148
|
+
/**
|
|
149
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
150
|
+
*
|
|
151
|
+
* Take `±n` Projects from the position of the cursor.
|
|
152
|
+
*/
|
|
153
|
+
take?: number
|
|
154
|
+
/**
|
|
155
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
156
|
+
*
|
|
157
|
+
* Skip the first `n` Projects.
|
|
158
|
+
*/
|
|
159
|
+
skip?: number
|
|
160
|
+
/**
|
|
161
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
162
|
+
*
|
|
163
|
+
* Count returned Projects
|
|
164
|
+
**/
|
|
165
|
+
_count?: true | ProjectCountAggregateInputType
|
|
166
|
+
/**
|
|
167
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
168
|
+
*
|
|
169
|
+
* Select which fields to average
|
|
170
|
+
**/
|
|
171
|
+
_avg?: ProjectAvgAggregateInputType
|
|
172
|
+
/**
|
|
173
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
174
|
+
*
|
|
175
|
+
* Select which fields to sum
|
|
176
|
+
**/
|
|
177
|
+
_sum?: ProjectSumAggregateInputType
|
|
178
|
+
/**
|
|
179
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
180
|
+
*
|
|
181
|
+
* Select which fields to find the minimum value
|
|
182
|
+
**/
|
|
183
|
+
_min?: ProjectMinAggregateInputType
|
|
184
|
+
/**
|
|
185
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
186
|
+
*
|
|
187
|
+
* Select which fields to find the maximum value
|
|
188
|
+
**/
|
|
189
|
+
_max?: ProjectMaxAggregateInputType
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
export type GetProjectAggregateType<T extends ProjectAggregateArgs> = {
|
|
193
|
+
[P in keyof T & keyof AggregateProject]: P extends '_count' | 'count'
|
|
194
|
+
? T[P] extends true
|
|
195
|
+
? number
|
|
196
|
+
: Prisma.GetScalarType<T[P], AggregateProject[P]>
|
|
197
|
+
: Prisma.GetScalarType<T[P], AggregateProject[P]>
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
|
|
201
|
+
|
|
202
|
+
|
|
203
|
+
export type ProjectGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
204
|
+
where?: Prisma.ProjectWhereInput
|
|
205
|
+
orderBy?: Prisma.ProjectOrderByWithAggregationInput | Prisma.ProjectOrderByWithAggregationInput[]
|
|
206
|
+
by: Prisma.ProjectScalarFieldEnum[] | Prisma.ProjectScalarFieldEnum
|
|
207
|
+
having?: Prisma.ProjectScalarWhereWithAggregatesInput
|
|
208
|
+
take?: number
|
|
209
|
+
skip?: number
|
|
210
|
+
_count?: ProjectCountAggregateInputType | true
|
|
211
|
+
_avg?: ProjectAvgAggregateInputType
|
|
212
|
+
_sum?: ProjectSumAggregateInputType
|
|
213
|
+
_min?: ProjectMinAggregateInputType
|
|
214
|
+
_max?: ProjectMaxAggregateInputType
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
export type ProjectGroupByOutputType = {
|
|
218
|
+
id: string
|
|
219
|
+
meta: PrismaJson.CommonObjectMeta
|
|
220
|
+
name: string
|
|
221
|
+
spaceId: string
|
|
222
|
+
modelStorageId: string
|
|
223
|
+
libraryId: string
|
|
224
|
+
pulumiBackendId: string
|
|
225
|
+
encryptedMasterKey: string
|
|
226
|
+
unlockSuite: PrismaJson.ProjectUnlockSuite
|
|
227
|
+
databaseVersion: number
|
|
228
|
+
createdAt: Date
|
|
229
|
+
updatedAt: Date
|
|
230
|
+
_count: ProjectCountAggregateOutputType | null
|
|
231
|
+
_avg: ProjectAvgAggregateOutputType | null
|
|
232
|
+
_sum: ProjectSumAggregateOutputType | null
|
|
233
|
+
_min: ProjectMinAggregateOutputType | null
|
|
234
|
+
_max: ProjectMaxAggregateOutputType | null
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
type GetProjectGroupByPayload<T extends ProjectGroupByArgs> = Prisma.PrismaPromise<
|
|
238
|
+
Array<
|
|
239
|
+
Prisma.PickEnumerable<ProjectGroupByOutputType, T['by']> &
|
|
240
|
+
{
|
|
241
|
+
[P in ((keyof T) & (keyof ProjectGroupByOutputType))]: P extends '_count'
|
|
242
|
+
? T[P] extends boolean
|
|
243
|
+
? number
|
|
244
|
+
: Prisma.GetScalarType<T[P], ProjectGroupByOutputType[P]>
|
|
245
|
+
: Prisma.GetScalarType<T[P], ProjectGroupByOutputType[P]>
|
|
246
|
+
}
|
|
247
|
+
>
|
|
248
|
+
>
|
|
249
|
+
|
|
250
|
+
|
|
251
|
+
|
|
252
|
+
export type ProjectWhereInput = {
|
|
253
|
+
AND?: Prisma.ProjectWhereInput | Prisma.ProjectWhereInput[]
|
|
254
|
+
OR?: Prisma.ProjectWhereInput[]
|
|
255
|
+
NOT?: Prisma.ProjectWhereInput | Prisma.ProjectWhereInput[]
|
|
256
|
+
id?: Prisma.StringFilter<"Project"> | string
|
|
257
|
+
meta?: Prisma.JsonFilter<"Project">
|
|
258
|
+
name?: Prisma.StringFilter<"Project"> | string
|
|
259
|
+
spaceId?: Prisma.StringFilter<"Project"> | string
|
|
260
|
+
modelStorageId?: Prisma.StringFilter<"Project"> | string
|
|
261
|
+
libraryId?: Prisma.StringFilter<"Project"> | string
|
|
262
|
+
pulumiBackendId?: Prisma.StringFilter<"Project"> | string
|
|
263
|
+
encryptedMasterKey?: Prisma.StringFilter<"Project"> | string
|
|
264
|
+
unlockSuite?: Prisma.JsonFilter<"Project">
|
|
265
|
+
databaseVersion?: Prisma.IntFilter<"Project"> | number
|
|
266
|
+
createdAt?: Prisma.DateTimeFilter<"Project"> | Date | string
|
|
267
|
+
updatedAt?: Prisma.DateTimeFilter<"Project"> | Date | string
|
|
268
|
+
space?: Prisma.XOR<Prisma.ProjectSpaceScalarRelationFilter, Prisma.ProjectSpaceWhereInput>
|
|
269
|
+
modelStorage?: Prisma.XOR<Prisma.ProjectModelStorageScalarRelationFilter, Prisma.ProjectModelStorageWhereInput>
|
|
270
|
+
library?: Prisma.XOR<Prisma.LibraryScalarRelationFilter, Prisma.LibraryWhereInput>
|
|
271
|
+
pulumiBackend?: Prisma.XOR<Prisma.PulumiBackendScalarRelationFilter, Prisma.PulumiBackendWhereInput>
|
|
272
|
+
}
|
|
273
|
+
|
|
274
|
+
export type ProjectOrderByWithRelationInput = {
|
|
275
|
+
id?: Prisma.SortOrder
|
|
276
|
+
meta?: Prisma.SortOrder
|
|
277
|
+
name?: Prisma.SortOrder
|
|
278
|
+
spaceId?: Prisma.SortOrder
|
|
279
|
+
modelStorageId?: Prisma.SortOrder
|
|
280
|
+
libraryId?: Prisma.SortOrder
|
|
281
|
+
pulumiBackendId?: Prisma.SortOrder
|
|
282
|
+
encryptedMasterKey?: Prisma.SortOrder
|
|
283
|
+
unlockSuite?: Prisma.SortOrder
|
|
284
|
+
databaseVersion?: Prisma.SortOrder
|
|
285
|
+
createdAt?: Prisma.SortOrder
|
|
286
|
+
updatedAt?: Prisma.SortOrder
|
|
287
|
+
space?: Prisma.ProjectSpaceOrderByWithRelationInput
|
|
288
|
+
modelStorage?: Prisma.ProjectModelStorageOrderByWithRelationInput
|
|
289
|
+
library?: Prisma.LibraryOrderByWithRelationInput
|
|
290
|
+
pulumiBackend?: Prisma.PulumiBackendOrderByWithRelationInput
|
|
291
|
+
}
|
|
292
|
+
|
|
293
|
+
export type ProjectWhereUniqueInput = Prisma.AtLeast<{
|
|
294
|
+
id?: string
|
|
295
|
+
spaceId_name?: Prisma.ProjectSpaceIdNameCompoundUniqueInput
|
|
296
|
+
AND?: Prisma.ProjectWhereInput | Prisma.ProjectWhereInput[]
|
|
297
|
+
OR?: Prisma.ProjectWhereInput[]
|
|
298
|
+
NOT?: Prisma.ProjectWhereInput | Prisma.ProjectWhereInput[]
|
|
299
|
+
meta?: Prisma.JsonFilter<"Project">
|
|
300
|
+
name?: Prisma.StringFilter<"Project"> | string
|
|
301
|
+
spaceId?: Prisma.StringFilter<"Project"> | string
|
|
302
|
+
modelStorageId?: Prisma.StringFilter<"Project"> | string
|
|
303
|
+
libraryId?: Prisma.StringFilter<"Project"> | string
|
|
304
|
+
pulumiBackendId?: Prisma.StringFilter<"Project"> | string
|
|
305
|
+
encryptedMasterKey?: Prisma.StringFilter<"Project"> | string
|
|
306
|
+
unlockSuite?: Prisma.JsonFilter<"Project">
|
|
307
|
+
databaseVersion?: Prisma.IntFilter<"Project"> | number
|
|
308
|
+
createdAt?: Prisma.DateTimeFilter<"Project"> | Date | string
|
|
309
|
+
updatedAt?: Prisma.DateTimeFilter<"Project"> | Date | string
|
|
310
|
+
space?: Prisma.XOR<Prisma.ProjectSpaceScalarRelationFilter, Prisma.ProjectSpaceWhereInput>
|
|
311
|
+
modelStorage?: Prisma.XOR<Prisma.ProjectModelStorageScalarRelationFilter, Prisma.ProjectModelStorageWhereInput>
|
|
312
|
+
library?: Prisma.XOR<Prisma.LibraryScalarRelationFilter, Prisma.LibraryWhereInput>
|
|
313
|
+
pulumiBackend?: Prisma.XOR<Prisma.PulumiBackendScalarRelationFilter, Prisma.PulumiBackendWhereInput>
|
|
314
|
+
}, "id" | "spaceId_name">
|
|
315
|
+
|
|
316
|
+
export type ProjectOrderByWithAggregationInput = {
|
|
317
|
+
id?: Prisma.SortOrder
|
|
318
|
+
meta?: Prisma.SortOrder
|
|
319
|
+
name?: Prisma.SortOrder
|
|
320
|
+
spaceId?: Prisma.SortOrder
|
|
321
|
+
modelStorageId?: Prisma.SortOrder
|
|
322
|
+
libraryId?: Prisma.SortOrder
|
|
323
|
+
pulumiBackendId?: Prisma.SortOrder
|
|
324
|
+
encryptedMasterKey?: Prisma.SortOrder
|
|
325
|
+
unlockSuite?: Prisma.SortOrder
|
|
326
|
+
databaseVersion?: Prisma.SortOrder
|
|
327
|
+
createdAt?: Prisma.SortOrder
|
|
328
|
+
updatedAt?: Prisma.SortOrder
|
|
329
|
+
_count?: Prisma.ProjectCountOrderByAggregateInput
|
|
330
|
+
_avg?: Prisma.ProjectAvgOrderByAggregateInput
|
|
331
|
+
_max?: Prisma.ProjectMaxOrderByAggregateInput
|
|
332
|
+
_min?: Prisma.ProjectMinOrderByAggregateInput
|
|
333
|
+
_sum?: Prisma.ProjectSumOrderByAggregateInput
|
|
334
|
+
}
|
|
335
|
+
|
|
336
|
+
export type ProjectScalarWhereWithAggregatesInput = {
|
|
337
|
+
AND?: Prisma.ProjectScalarWhereWithAggregatesInput | Prisma.ProjectScalarWhereWithAggregatesInput[]
|
|
338
|
+
OR?: Prisma.ProjectScalarWhereWithAggregatesInput[]
|
|
339
|
+
NOT?: Prisma.ProjectScalarWhereWithAggregatesInput | Prisma.ProjectScalarWhereWithAggregatesInput[]
|
|
340
|
+
id?: Prisma.StringWithAggregatesFilter<"Project"> | string
|
|
341
|
+
meta?: Prisma.JsonWithAggregatesFilter<"Project">
|
|
342
|
+
name?: Prisma.StringWithAggregatesFilter<"Project"> | string
|
|
343
|
+
spaceId?: Prisma.StringWithAggregatesFilter<"Project"> | string
|
|
344
|
+
modelStorageId?: Prisma.StringWithAggregatesFilter<"Project"> | string
|
|
345
|
+
libraryId?: Prisma.StringWithAggregatesFilter<"Project"> | string
|
|
346
|
+
pulumiBackendId?: Prisma.StringWithAggregatesFilter<"Project"> | string
|
|
347
|
+
encryptedMasterKey?: Prisma.StringWithAggregatesFilter<"Project"> | string
|
|
348
|
+
unlockSuite?: Prisma.JsonWithAggregatesFilter<"Project">
|
|
349
|
+
databaseVersion?: Prisma.IntWithAggregatesFilter<"Project"> | number
|
|
350
|
+
createdAt?: Prisma.DateTimeWithAggregatesFilter<"Project"> | Date | string
|
|
351
|
+
updatedAt?: Prisma.DateTimeWithAggregatesFilter<"Project"> | Date | string
|
|
352
|
+
}
|
|
353
|
+
|
|
354
|
+
export type ProjectCreateInput = {
|
|
355
|
+
id?: string
|
|
356
|
+
meta: PrismaJson.CommonObjectMeta
|
|
357
|
+
name: string
|
|
358
|
+
encryptedMasterKey: string
|
|
359
|
+
unlockSuite: PrismaJson.ProjectUnlockSuite
|
|
360
|
+
databaseVersion: number
|
|
361
|
+
createdAt?: Date | string
|
|
362
|
+
updatedAt?: Date | string
|
|
363
|
+
space: Prisma.ProjectSpaceCreateNestedOneWithoutProjectsInput
|
|
364
|
+
modelStorage: Prisma.ProjectModelStorageCreateNestedOneWithoutProjectsInput
|
|
365
|
+
library: Prisma.LibraryCreateNestedOneWithoutProjectsInput
|
|
366
|
+
pulumiBackend: Prisma.PulumiBackendCreateNestedOneWithoutProjectsInput
|
|
367
|
+
}
|
|
368
|
+
|
|
369
|
+
export type ProjectUncheckedCreateInput = {
|
|
370
|
+
id?: string
|
|
371
|
+
meta: PrismaJson.CommonObjectMeta
|
|
372
|
+
name: string
|
|
373
|
+
spaceId: string
|
|
374
|
+
modelStorageId: string
|
|
375
|
+
libraryId: string
|
|
376
|
+
pulumiBackendId: string
|
|
377
|
+
encryptedMasterKey: string
|
|
378
|
+
unlockSuite: PrismaJson.ProjectUnlockSuite
|
|
379
|
+
databaseVersion: number
|
|
380
|
+
createdAt?: Date | string
|
|
381
|
+
updatedAt?: Date | string
|
|
382
|
+
}
|
|
383
|
+
|
|
384
|
+
export type ProjectUpdateInput = {
|
|
385
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
386
|
+
meta?: PrismaJson.CommonObjectMeta
|
|
387
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
388
|
+
encryptedMasterKey?: Prisma.StringFieldUpdateOperationsInput | string
|
|
389
|
+
unlockSuite?: PrismaJson.ProjectUnlockSuite
|
|
390
|
+
databaseVersion?: Prisma.IntFieldUpdateOperationsInput | number
|
|
391
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
392
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
393
|
+
space?: Prisma.ProjectSpaceUpdateOneRequiredWithoutProjectsNestedInput
|
|
394
|
+
modelStorage?: Prisma.ProjectModelStorageUpdateOneRequiredWithoutProjectsNestedInput
|
|
395
|
+
library?: Prisma.LibraryUpdateOneRequiredWithoutProjectsNestedInput
|
|
396
|
+
pulumiBackend?: Prisma.PulumiBackendUpdateOneRequiredWithoutProjectsNestedInput
|
|
397
|
+
}
|
|
398
|
+
|
|
399
|
+
export type ProjectUncheckedUpdateInput = {
|
|
400
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
401
|
+
meta?: PrismaJson.CommonObjectMeta
|
|
402
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
403
|
+
spaceId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
404
|
+
modelStorageId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
405
|
+
libraryId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
406
|
+
pulumiBackendId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
407
|
+
encryptedMasterKey?: Prisma.StringFieldUpdateOperationsInput | string
|
|
408
|
+
unlockSuite?: PrismaJson.ProjectUnlockSuite
|
|
409
|
+
databaseVersion?: Prisma.IntFieldUpdateOperationsInput | number
|
|
410
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
411
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
412
|
+
}
|
|
413
|
+
|
|
414
|
+
export type ProjectCreateManyInput = {
|
|
415
|
+
id?: string
|
|
416
|
+
meta: PrismaJson.CommonObjectMeta
|
|
417
|
+
name: string
|
|
418
|
+
spaceId: string
|
|
419
|
+
modelStorageId: string
|
|
420
|
+
libraryId: string
|
|
421
|
+
pulumiBackendId: string
|
|
422
|
+
encryptedMasterKey: string
|
|
423
|
+
unlockSuite: PrismaJson.ProjectUnlockSuite
|
|
424
|
+
databaseVersion: number
|
|
425
|
+
createdAt?: Date | string
|
|
426
|
+
updatedAt?: Date | string
|
|
427
|
+
}
|
|
428
|
+
|
|
429
|
+
export type ProjectUpdateManyMutationInput = {
|
|
430
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
431
|
+
meta?: PrismaJson.CommonObjectMeta
|
|
432
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
433
|
+
encryptedMasterKey?: Prisma.StringFieldUpdateOperationsInput | string
|
|
434
|
+
unlockSuite?: PrismaJson.ProjectUnlockSuite
|
|
435
|
+
databaseVersion?: Prisma.IntFieldUpdateOperationsInput | number
|
|
436
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
437
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
438
|
+
}
|
|
439
|
+
|
|
440
|
+
export type ProjectUncheckedUpdateManyInput = {
|
|
441
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
442
|
+
meta?: PrismaJson.CommonObjectMeta
|
|
443
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
444
|
+
spaceId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
445
|
+
modelStorageId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
446
|
+
libraryId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
447
|
+
pulumiBackendId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
448
|
+
encryptedMasterKey?: Prisma.StringFieldUpdateOperationsInput | string
|
|
449
|
+
unlockSuite?: PrismaJson.ProjectUnlockSuite
|
|
450
|
+
databaseVersion?: Prisma.IntFieldUpdateOperationsInput | number
|
|
451
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
452
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
453
|
+
}
|
|
454
|
+
|
|
455
|
+
export type ProjectListRelationFilter = {
|
|
456
|
+
every?: Prisma.ProjectWhereInput
|
|
457
|
+
some?: Prisma.ProjectWhereInput
|
|
458
|
+
none?: Prisma.ProjectWhereInput
|
|
459
|
+
}
|
|
460
|
+
|
|
461
|
+
export type ProjectOrderByRelationAggregateInput = {
|
|
462
|
+
_count?: Prisma.SortOrder
|
|
463
|
+
}
|
|
464
|
+
|
|
465
|
+
export type ProjectSpaceIdNameCompoundUniqueInput = {
|
|
466
|
+
spaceId: string
|
|
467
|
+
name: string
|
|
468
|
+
}
|
|
469
|
+
|
|
470
|
+
export type ProjectCountOrderByAggregateInput = {
|
|
471
|
+
id?: Prisma.SortOrder
|
|
472
|
+
meta?: Prisma.SortOrder
|
|
473
|
+
name?: Prisma.SortOrder
|
|
474
|
+
spaceId?: Prisma.SortOrder
|
|
475
|
+
modelStorageId?: Prisma.SortOrder
|
|
476
|
+
libraryId?: Prisma.SortOrder
|
|
477
|
+
pulumiBackendId?: Prisma.SortOrder
|
|
478
|
+
encryptedMasterKey?: Prisma.SortOrder
|
|
479
|
+
unlockSuite?: Prisma.SortOrder
|
|
480
|
+
databaseVersion?: Prisma.SortOrder
|
|
481
|
+
createdAt?: Prisma.SortOrder
|
|
482
|
+
updatedAt?: Prisma.SortOrder
|
|
483
|
+
}
|
|
484
|
+
|
|
485
|
+
export type ProjectAvgOrderByAggregateInput = {
|
|
486
|
+
databaseVersion?: Prisma.SortOrder
|
|
487
|
+
}
|
|
488
|
+
|
|
489
|
+
export type ProjectMaxOrderByAggregateInput = {
|
|
490
|
+
id?: Prisma.SortOrder
|
|
491
|
+
name?: Prisma.SortOrder
|
|
492
|
+
spaceId?: Prisma.SortOrder
|
|
493
|
+
modelStorageId?: Prisma.SortOrder
|
|
494
|
+
libraryId?: Prisma.SortOrder
|
|
495
|
+
pulumiBackendId?: Prisma.SortOrder
|
|
496
|
+
encryptedMasterKey?: Prisma.SortOrder
|
|
497
|
+
databaseVersion?: Prisma.SortOrder
|
|
498
|
+
createdAt?: Prisma.SortOrder
|
|
499
|
+
updatedAt?: Prisma.SortOrder
|
|
500
|
+
}
|
|
501
|
+
|
|
502
|
+
export type ProjectMinOrderByAggregateInput = {
|
|
503
|
+
id?: Prisma.SortOrder
|
|
504
|
+
name?: Prisma.SortOrder
|
|
505
|
+
spaceId?: Prisma.SortOrder
|
|
506
|
+
modelStorageId?: Prisma.SortOrder
|
|
507
|
+
libraryId?: Prisma.SortOrder
|
|
508
|
+
pulumiBackendId?: Prisma.SortOrder
|
|
509
|
+
encryptedMasterKey?: Prisma.SortOrder
|
|
510
|
+
databaseVersion?: Prisma.SortOrder
|
|
511
|
+
createdAt?: Prisma.SortOrder
|
|
512
|
+
updatedAt?: Prisma.SortOrder
|
|
513
|
+
}
|
|
514
|
+
|
|
515
|
+
export type ProjectSumOrderByAggregateInput = {
|
|
516
|
+
databaseVersion?: Prisma.SortOrder
|
|
517
|
+
}
|
|
518
|
+
|
|
519
|
+
export type ProjectCreateNestedManyWithoutLibraryInput = {
|
|
520
|
+
create?: Prisma.XOR<Prisma.ProjectCreateWithoutLibraryInput, Prisma.ProjectUncheckedCreateWithoutLibraryInput> | Prisma.ProjectCreateWithoutLibraryInput[] | Prisma.ProjectUncheckedCreateWithoutLibraryInput[]
|
|
521
|
+
connectOrCreate?: Prisma.ProjectCreateOrConnectWithoutLibraryInput | Prisma.ProjectCreateOrConnectWithoutLibraryInput[]
|
|
522
|
+
createMany?: Prisma.ProjectCreateManyLibraryInputEnvelope
|
|
523
|
+
connect?: Prisma.ProjectWhereUniqueInput | Prisma.ProjectWhereUniqueInput[]
|
|
524
|
+
}
|
|
525
|
+
|
|
526
|
+
export type ProjectUncheckedCreateNestedManyWithoutLibraryInput = {
|
|
527
|
+
create?: Prisma.XOR<Prisma.ProjectCreateWithoutLibraryInput, Prisma.ProjectUncheckedCreateWithoutLibraryInput> | Prisma.ProjectCreateWithoutLibraryInput[] | Prisma.ProjectUncheckedCreateWithoutLibraryInput[]
|
|
528
|
+
connectOrCreate?: Prisma.ProjectCreateOrConnectWithoutLibraryInput | Prisma.ProjectCreateOrConnectWithoutLibraryInput[]
|
|
529
|
+
createMany?: Prisma.ProjectCreateManyLibraryInputEnvelope
|
|
530
|
+
connect?: Prisma.ProjectWhereUniqueInput | Prisma.ProjectWhereUniqueInput[]
|
|
531
|
+
}
|
|
532
|
+
|
|
533
|
+
export type ProjectUpdateManyWithoutLibraryNestedInput = {
|
|
534
|
+
create?: Prisma.XOR<Prisma.ProjectCreateWithoutLibraryInput, Prisma.ProjectUncheckedCreateWithoutLibraryInput> | Prisma.ProjectCreateWithoutLibraryInput[] | Prisma.ProjectUncheckedCreateWithoutLibraryInput[]
|
|
535
|
+
connectOrCreate?: Prisma.ProjectCreateOrConnectWithoutLibraryInput | Prisma.ProjectCreateOrConnectWithoutLibraryInput[]
|
|
536
|
+
upsert?: Prisma.ProjectUpsertWithWhereUniqueWithoutLibraryInput | Prisma.ProjectUpsertWithWhereUniqueWithoutLibraryInput[]
|
|
537
|
+
createMany?: Prisma.ProjectCreateManyLibraryInputEnvelope
|
|
538
|
+
set?: Prisma.ProjectWhereUniqueInput | Prisma.ProjectWhereUniqueInput[]
|
|
539
|
+
disconnect?: Prisma.ProjectWhereUniqueInput | Prisma.ProjectWhereUniqueInput[]
|
|
540
|
+
delete?: Prisma.ProjectWhereUniqueInput | Prisma.ProjectWhereUniqueInput[]
|
|
541
|
+
connect?: Prisma.ProjectWhereUniqueInput | Prisma.ProjectWhereUniqueInput[]
|
|
542
|
+
update?: Prisma.ProjectUpdateWithWhereUniqueWithoutLibraryInput | Prisma.ProjectUpdateWithWhereUniqueWithoutLibraryInput[]
|
|
543
|
+
updateMany?: Prisma.ProjectUpdateManyWithWhereWithoutLibraryInput | Prisma.ProjectUpdateManyWithWhereWithoutLibraryInput[]
|
|
544
|
+
deleteMany?: Prisma.ProjectScalarWhereInput | Prisma.ProjectScalarWhereInput[]
|
|
545
|
+
}
|
|
546
|
+
|
|
547
|
+
export type ProjectUncheckedUpdateManyWithoutLibraryNestedInput = {
|
|
548
|
+
create?: Prisma.XOR<Prisma.ProjectCreateWithoutLibraryInput, Prisma.ProjectUncheckedCreateWithoutLibraryInput> | Prisma.ProjectCreateWithoutLibraryInput[] | Prisma.ProjectUncheckedCreateWithoutLibraryInput[]
|
|
549
|
+
connectOrCreate?: Prisma.ProjectCreateOrConnectWithoutLibraryInput | Prisma.ProjectCreateOrConnectWithoutLibraryInput[]
|
|
550
|
+
upsert?: Prisma.ProjectUpsertWithWhereUniqueWithoutLibraryInput | Prisma.ProjectUpsertWithWhereUniqueWithoutLibraryInput[]
|
|
551
|
+
createMany?: Prisma.ProjectCreateManyLibraryInputEnvelope
|
|
552
|
+
set?: Prisma.ProjectWhereUniqueInput | Prisma.ProjectWhereUniqueInput[]
|
|
553
|
+
disconnect?: Prisma.ProjectWhereUniqueInput | Prisma.ProjectWhereUniqueInput[]
|
|
554
|
+
delete?: Prisma.ProjectWhereUniqueInput | Prisma.ProjectWhereUniqueInput[]
|
|
555
|
+
connect?: Prisma.ProjectWhereUniqueInput | Prisma.ProjectWhereUniqueInput[]
|
|
556
|
+
update?: Prisma.ProjectUpdateWithWhereUniqueWithoutLibraryInput | Prisma.ProjectUpdateWithWhereUniqueWithoutLibraryInput[]
|
|
557
|
+
updateMany?: Prisma.ProjectUpdateManyWithWhereWithoutLibraryInput | Prisma.ProjectUpdateManyWithWhereWithoutLibraryInput[]
|
|
558
|
+
deleteMany?: Prisma.ProjectScalarWhereInput | Prisma.ProjectScalarWhereInput[]
|
|
559
|
+
}
|
|
560
|
+
|
|
561
|
+
export type IntFieldUpdateOperationsInput = {
|
|
562
|
+
set?: number
|
|
563
|
+
increment?: number
|
|
564
|
+
decrement?: number
|
|
565
|
+
multiply?: number
|
|
566
|
+
divide?: number
|
|
567
|
+
}
|
|
568
|
+
|
|
569
|
+
export type DateTimeFieldUpdateOperationsInput = {
|
|
570
|
+
set?: Date | string
|
|
571
|
+
}
|
|
572
|
+
|
|
573
|
+
export type ProjectCreateNestedManyWithoutSpaceInput = {
|
|
574
|
+
create?: Prisma.XOR<Prisma.ProjectCreateWithoutSpaceInput, Prisma.ProjectUncheckedCreateWithoutSpaceInput> | Prisma.ProjectCreateWithoutSpaceInput[] | Prisma.ProjectUncheckedCreateWithoutSpaceInput[]
|
|
575
|
+
connectOrCreate?: Prisma.ProjectCreateOrConnectWithoutSpaceInput | Prisma.ProjectCreateOrConnectWithoutSpaceInput[]
|
|
576
|
+
createMany?: Prisma.ProjectCreateManySpaceInputEnvelope
|
|
577
|
+
connect?: Prisma.ProjectWhereUniqueInput | Prisma.ProjectWhereUniqueInput[]
|
|
578
|
+
}
|
|
579
|
+
|
|
580
|
+
export type ProjectUncheckedCreateNestedManyWithoutSpaceInput = {
|
|
581
|
+
create?: Prisma.XOR<Prisma.ProjectCreateWithoutSpaceInput, Prisma.ProjectUncheckedCreateWithoutSpaceInput> | Prisma.ProjectCreateWithoutSpaceInput[] | Prisma.ProjectUncheckedCreateWithoutSpaceInput[]
|
|
582
|
+
connectOrCreate?: Prisma.ProjectCreateOrConnectWithoutSpaceInput | Prisma.ProjectCreateOrConnectWithoutSpaceInput[]
|
|
583
|
+
createMany?: Prisma.ProjectCreateManySpaceInputEnvelope
|
|
584
|
+
connect?: Prisma.ProjectWhereUniqueInput | Prisma.ProjectWhereUniqueInput[]
|
|
585
|
+
}
|
|
586
|
+
|
|
587
|
+
export type ProjectUpdateManyWithoutSpaceNestedInput = {
|
|
588
|
+
create?: Prisma.XOR<Prisma.ProjectCreateWithoutSpaceInput, Prisma.ProjectUncheckedCreateWithoutSpaceInput> | Prisma.ProjectCreateWithoutSpaceInput[] | Prisma.ProjectUncheckedCreateWithoutSpaceInput[]
|
|
589
|
+
connectOrCreate?: Prisma.ProjectCreateOrConnectWithoutSpaceInput | Prisma.ProjectCreateOrConnectWithoutSpaceInput[]
|
|
590
|
+
upsert?: Prisma.ProjectUpsertWithWhereUniqueWithoutSpaceInput | Prisma.ProjectUpsertWithWhereUniqueWithoutSpaceInput[]
|
|
591
|
+
createMany?: Prisma.ProjectCreateManySpaceInputEnvelope
|
|
592
|
+
set?: Prisma.ProjectWhereUniqueInput | Prisma.ProjectWhereUniqueInput[]
|
|
593
|
+
disconnect?: Prisma.ProjectWhereUniqueInput | Prisma.ProjectWhereUniqueInput[]
|
|
594
|
+
delete?: Prisma.ProjectWhereUniqueInput | Prisma.ProjectWhereUniqueInput[]
|
|
595
|
+
connect?: Prisma.ProjectWhereUniqueInput | Prisma.ProjectWhereUniqueInput[]
|
|
596
|
+
update?: Prisma.ProjectUpdateWithWhereUniqueWithoutSpaceInput | Prisma.ProjectUpdateWithWhereUniqueWithoutSpaceInput[]
|
|
597
|
+
updateMany?: Prisma.ProjectUpdateManyWithWhereWithoutSpaceInput | Prisma.ProjectUpdateManyWithWhereWithoutSpaceInput[]
|
|
598
|
+
deleteMany?: Prisma.ProjectScalarWhereInput | Prisma.ProjectScalarWhereInput[]
|
|
599
|
+
}
|
|
600
|
+
|
|
601
|
+
export type ProjectUncheckedUpdateManyWithoutSpaceNestedInput = {
|
|
602
|
+
create?: Prisma.XOR<Prisma.ProjectCreateWithoutSpaceInput, Prisma.ProjectUncheckedCreateWithoutSpaceInput> | Prisma.ProjectCreateWithoutSpaceInput[] | Prisma.ProjectUncheckedCreateWithoutSpaceInput[]
|
|
603
|
+
connectOrCreate?: Prisma.ProjectCreateOrConnectWithoutSpaceInput | Prisma.ProjectCreateOrConnectWithoutSpaceInput[]
|
|
604
|
+
upsert?: Prisma.ProjectUpsertWithWhereUniqueWithoutSpaceInput | Prisma.ProjectUpsertWithWhereUniqueWithoutSpaceInput[]
|
|
605
|
+
createMany?: Prisma.ProjectCreateManySpaceInputEnvelope
|
|
606
|
+
set?: Prisma.ProjectWhereUniqueInput | Prisma.ProjectWhereUniqueInput[]
|
|
607
|
+
disconnect?: Prisma.ProjectWhereUniqueInput | Prisma.ProjectWhereUniqueInput[]
|
|
608
|
+
delete?: Prisma.ProjectWhereUniqueInput | Prisma.ProjectWhereUniqueInput[]
|
|
609
|
+
connect?: Prisma.ProjectWhereUniqueInput | Prisma.ProjectWhereUniqueInput[]
|
|
610
|
+
update?: Prisma.ProjectUpdateWithWhereUniqueWithoutSpaceInput | Prisma.ProjectUpdateWithWhereUniqueWithoutSpaceInput[]
|
|
611
|
+
updateMany?: Prisma.ProjectUpdateManyWithWhereWithoutSpaceInput | Prisma.ProjectUpdateManyWithWhereWithoutSpaceInput[]
|
|
612
|
+
deleteMany?: Prisma.ProjectScalarWhereInput | Prisma.ProjectScalarWhereInput[]
|
|
613
|
+
}
|
|
614
|
+
|
|
615
|
+
export type ProjectCreateNestedManyWithoutModelStorageInput = {
|
|
616
|
+
create?: Prisma.XOR<Prisma.ProjectCreateWithoutModelStorageInput, Prisma.ProjectUncheckedCreateWithoutModelStorageInput> | Prisma.ProjectCreateWithoutModelStorageInput[] | Prisma.ProjectUncheckedCreateWithoutModelStorageInput[]
|
|
617
|
+
connectOrCreate?: Prisma.ProjectCreateOrConnectWithoutModelStorageInput | Prisma.ProjectCreateOrConnectWithoutModelStorageInput[]
|
|
618
|
+
createMany?: Prisma.ProjectCreateManyModelStorageInputEnvelope
|
|
619
|
+
connect?: Prisma.ProjectWhereUniqueInput | Prisma.ProjectWhereUniqueInput[]
|
|
620
|
+
}
|
|
621
|
+
|
|
622
|
+
export type ProjectUncheckedCreateNestedManyWithoutModelStorageInput = {
|
|
623
|
+
create?: Prisma.XOR<Prisma.ProjectCreateWithoutModelStorageInput, Prisma.ProjectUncheckedCreateWithoutModelStorageInput> | Prisma.ProjectCreateWithoutModelStorageInput[] | Prisma.ProjectUncheckedCreateWithoutModelStorageInput[]
|
|
624
|
+
connectOrCreate?: Prisma.ProjectCreateOrConnectWithoutModelStorageInput | Prisma.ProjectCreateOrConnectWithoutModelStorageInput[]
|
|
625
|
+
createMany?: Prisma.ProjectCreateManyModelStorageInputEnvelope
|
|
626
|
+
connect?: Prisma.ProjectWhereUniqueInput | Prisma.ProjectWhereUniqueInput[]
|
|
627
|
+
}
|
|
628
|
+
|
|
629
|
+
export type ProjectUpdateManyWithoutModelStorageNestedInput = {
|
|
630
|
+
create?: Prisma.XOR<Prisma.ProjectCreateWithoutModelStorageInput, Prisma.ProjectUncheckedCreateWithoutModelStorageInput> | Prisma.ProjectCreateWithoutModelStorageInput[] | Prisma.ProjectUncheckedCreateWithoutModelStorageInput[]
|
|
631
|
+
connectOrCreate?: Prisma.ProjectCreateOrConnectWithoutModelStorageInput | Prisma.ProjectCreateOrConnectWithoutModelStorageInput[]
|
|
632
|
+
upsert?: Prisma.ProjectUpsertWithWhereUniqueWithoutModelStorageInput | Prisma.ProjectUpsertWithWhereUniqueWithoutModelStorageInput[]
|
|
633
|
+
createMany?: Prisma.ProjectCreateManyModelStorageInputEnvelope
|
|
634
|
+
set?: Prisma.ProjectWhereUniqueInput | Prisma.ProjectWhereUniqueInput[]
|
|
635
|
+
disconnect?: Prisma.ProjectWhereUniqueInput | Prisma.ProjectWhereUniqueInput[]
|
|
636
|
+
delete?: Prisma.ProjectWhereUniqueInput | Prisma.ProjectWhereUniqueInput[]
|
|
637
|
+
connect?: Prisma.ProjectWhereUniqueInput | Prisma.ProjectWhereUniqueInput[]
|
|
638
|
+
update?: Prisma.ProjectUpdateWithWhereUniqueWithoutModelStorageInput | Prisma.ProjectUpdateWithWhereUniqueWithoutModelStorageInput[]
|
|
639
|
+
updateMany?: Prisma.ProjectUpdateManyWithWhereWithoutModelStorageInput | Prisma.ProjectUpdateManyWithWhereWithoutModelStorageInput[]
|
|
640
|
+
deleteMany?: Prisma.ProjectScalarWhereInput | Prisma.ProjectScalarWhereInput[]
|
|
641
|
+
}
|
|
642
|
+
|
|
643
|
+
export type ProjectUncheckedUpdateManyWithoutModelStorageNestedInput = {
|
|
644
|
+
create?: Prisma.XOR<Prisma.ProjectCreateWithoutModelStorageInput, Prisma.ProjectUncheckedCreateWithoutModelStorageInput> | Prisma.ProjectCreateWithoutModelStorageInput[] | Prisma.ProjectUncheckedCreateWithoutModelStorageInput[]
|
|
645
|
+
connectOrCreate?: Prisma.ProjectCreateOrConnectWithoutModelStorageInput | Prisma.ProjectCreateOrConnectWithoutModelStorageInput[]
|
|
646
|
+
upsert?: Prisma.ProjectUpsertWithWhereUniqueWithoutModelStorageInput | Prisma.ProjectUpsertWithWhereUniqueWithoutModelStorageInput[]
|
|
647
|
+
createMany?: Prisma.ProjectCreateManyModelStorageInputEnvelope
|
|
648
|
+
set?: Prisma.ProjectWhereUniqueInput | Prisma.ProjectWhereUniqueInput[]
|
|
649
|
+
disconnect?: Prisma.ProjectWhereUniqueInput | Prisma.ProjectWhereUniqueInput[]
|
|
650
|
+
delete?: Prisma.ProjectWhereUniqueInput | Prisma.ProjectWhereUniqueInput[]
|
|
651
|
+
connect?: Prisma.ProjectWhereUniqueInput | Prisma.ProjectWhereUniqueInput[]
|
|
652
|
+
update?: Prisma.ProjectUpdateWithWhereUniqueWithoutModelStorageInput | Prisma.ProjectUpdateWithWhereUniqueWithoutModelStorageInput[]
|
|
653
|
+
updateMany?: Prisma.ProjectUpdateManyWithWhereWithoutModelStorageInput | Prisma.ProjectUpdateManyWithWhereWithoutModelStorageInput[]
|
|
654
|
+
deleteMany?: Prisma.ProjectScalarWhereInput | Prisma.ProjectScalarWhereInput[]
|
|
655
|
+
}
|
|
656
|
+
|
|
657
|
+
export type ProjectCreateNestedManyWithoutPulumiBackendInput = {
|
|
658
|
+
create?: Prisma.XOR<Prisma.ProjectCreateWithoutPulumiBackendInput, Prisma.ProjectUncheckedCreateWithoutPulumiBackendInput> | Prisma.ProjectCreateWithoutPulumiBackendInput[] | Prisma.ProjectUncheckedCreateWithoutPulumiBackendInput[]
|
|
659
|
+
connectOrCreate?: Prisma.ProjectCreateOrConnectWithoutPulumiBackendInput | Prisma.ProjectCreateOrConnectWithoutPulumiBackendInput[]
|
|
660
|
+
createMany?: Prisma.ProjectCreateManyPulumiBackendInputEnvelope
|
|
661
|
+
connect?: Prisma.ProjectWhereUniqueInput | Prisma.ProjectWhereUniqueInput[]
|
|
662
|
+
}
|
|
663
|
+
|
|
664
|
+
export type ProjectUncheckedCreateNestedManyWithoutPulumiBackendInput = {
|
|
665
|
+
create?: Prisma.XOR<Prisma.ProjectCreateWithoutPulumiBackendInput, Prisma.ProjectUncheckedCreateWithoutPulumiBackendInput> | Prisma.ProjectCreateWithoutPulumiBackendInput[] | Prisma.ProjectUncheckedCreateWithoutPulumiBackendInput[]
|
|
666
|
+
connectOrCreate?: Prisma.ProjectCreateOrConnectWithoutPulumiBackendInput | Prisma.ProjectCreateOrConnectWithoutPulumiBackendInput[]
|
|
667
|
+
createMany?: Prisma.ProjectCreateManyPulumiBackendInputEnvelope
|
|
668
|
+
connect?: Prisma.ProjectWhereUniqueInput | Prisma.ProjectWhereUniqueInput[]
|
|
669
|
+
}
|
|
670
|
+
|
|
671
|
+
export type ProjectUpdateManyWithoutPulumiBackendNestedInput = {
|
|
672
|
+
create?: Prisma.XOR<Prisma.ProjectCreateWithoutPulumiBackendInput, Prisma.ProjectUncheckedCreateWithoutPulumiBackendInput> | Prisma.ProjectCreateWithoutPulumiBackendInput[] | Prisma.ProjectUncheckedCreateWithoutPulumiBackendInput[]
|
|
673
|
+
connectOrCreate?: Prisma.ProjectCreateOrConnectWithoutPulumiBackendInput | Prisma.ProjectCreateOrConnectWithoutPulumiBackendInput[]
|
|
674
|
+
upsert?: Prisma.ProjectUpsertWithWhereUniqueWithoutPulumiBackendInput | Prisma.ProjectUpsertWithWhereUniqueWithoutPulumiBackendInput[]
|
|
675
|
+
createMany?: Prisma.ProjectCreateManyPulumiBackendInputEnvelope
|
|
676
|
+
set?: Prisma.ProjectWhereUniqueInput | Prisma.ProjectWhereUniqueInput[]
|
|
677
|
+
disconnect?: Prisma.ProjectWhereUniqueInput | Prisma.ProjectWhereUniqueInput[]
|
|
678
|
+
delete?: Prisma.ProjectWhereUniqueInput | Prisma.ProjectWhereUniqueInput[]
|
|
679
|
+
connect?: Prisma.ProjectWhereUniqueInput | Prisma.ProjectWhereUniqueInput[]
|
|
680
|
+
update?: Prisma.ProjectUpdateWithWhereUniqueWithoutPulumiBackendInput | Prisma.ProjectUpdateWithWhereUniqueWithoutPulumiBackendInput[]
|
|
681
|
+
updateMany?: Prisma.ProjectUpdateManyWithWhereWithoutPulumiBackendInput | Prisma.ProjectUpdateManyWithWhereWithoutPulumiBackendInput[]
|
|
682
|
+
deleteMany?: Prisma.ProjectScalarWhereInput | Prisma.ProjectScalarWhereInput[]
|
|
683
|
+
}
|
|
684
|
+
|
|
685
|
+
export type ProjectUncheckedUpdateManyWithoutPulumiBackendNestedInput = {
|
|
686
|
+
create?: Prisma.XOR<Prisma.ProjectCreateWithoutPulumiBackendInput, Prisma.ProjectUncheckedCreateWithoutPulumiBackendInput> | Prisma.ProjectCreateWithoutPulumiBackendInput[] | Prisma.ProjectUncheckedCreateWithoutPulumiBackendInput[]
|
|
687
|
+
connectOrCreate?: Prisma.ProjectCreateOrConnectWithoutPulumiBackendInput | Prisma.ProjectCreateOrConnectWithoutPulumiBackendInput[]
|
|
688
|
+
upsert?: Prisma.ProjectUpsertWithWhereUniqueWithoutPulumiBackendInput | Prisma.ProjectUpsertWithWhereUniqueWithoutPulumiBackendInput[]
|
|
689
|
+
createMany?: Prisma.ProjectCreateManyPulumiBackendInputEnvelope
|
|
690
|
+
set?: Prisma.ProjectWhereUniqueInput | Prisma.ProjectWhereUniqueInput[]
|
|
691
|
+
disconnect?: Prisma.ProjectWhereUniqueInput | Prisma.ProjectWhereUniqueInput[]
|
|
692
|
+
delete?: Prisma.ProjectWhereUniqueInput | Prisma.ProjectWhereUniqueInput[]
|
|
693
|
+
connect?: Prisma.ProjectWhereUniqueInput | Prisma.ProjectWhereUniqueInput[]
|
|
694
|
+
update?: Prisma.ProjectUpdateWithWhereUniqueWithoutPulumiBackendInput | Prisma.ProjectUpdateWithWhereUniqueWithoutPulumiBackendInput[]
|
|
695
|
+
updateMany?: Prisma.ProjectUpdateManyWithWhereWithoutPulumiBackendInput | Prisma.ProjectUpdateManyWithWhereWithoutPulumiBackendInput[]
|
|
696
|
+
deleteMany?: Prisma.ProjectScalarWhereInput | Prisma.ProjectScalarWhereInput[]
|
|
697
|
+
}
|
|
698
|
+
|
|
699
|
+
export type ProjectCreateWithoutLibraryInput = {
|
|
700
|
+
id?: string
|
|
701
|
+
meta: PrismaJson.CommonObjectMeta
|
|
702
|
+
name: string
|
|
703
|
+
encryptedMasterKey: string
|
|
704
|
+
unlockSuite: PrismaJson.ProjectUnlockSuite
|
|
705
|
+
databaseVersion: number
|
|
706
|
+
createdAt?: Date | string
|
|
707
|
+
updatedAt?: Date | string
|
|
708
|
+
space: Prisma.ProjectSpaceCreateNestedOneWithoutProjectsInput
|
|
709
|
+
modelStorage: Prisma.ProjectModelStorageCreateNestedOneWithoutProjectsInput
|
|
710
|
+
pulumiBackend: Prisma.PulumiBackendCreateNestedOneWithoutProjectsInput
|
|
711
|
+
}
|
|
712
|
+
|
|
713
|
+
export type ProjectUncheckedCreateWithoutLibraryInput = {
|
|
714
|
+
id?: string
|
|
715
|
+
meta: PrismaJson.CommonObjectMeta
|
|
716
|
+
name: string
|
|
717
|
+
spaceId: string
|
|
718
|
+
modelStorageId: string
|
|
719
|
+
pulumiBackendId: string
|
|
720
|
+
encryptedMasterKey: string
|
|
721
|
+
unlockSuite: PrismaJson.ProjectUnlockSuite
|
|
722
|
+
databaseVersion: number
|
|
723
|
+
createdAt?: Date | string
|
|
724
|
+
updatedAt?: Date | string
|
|
725
|
+
}
|
|
726
|
+
|
|
727
|
+
export type ProjectCreateOrConnectWithoutLibraryInput = {
|
|
728
|
+
where: Prisma.ProjectWhereUniqueInput
|
|
729
|
+
create: Prisma.XOR<Prisma.ProjectCreateWithoutLibraryInput, Prisma.ProjectUncheckedCreateWithoutLibraryInput>
|
|
730
|
+
}
|
|
731
|
+
|
|
732
|
+
export type ProjectCreateManyLibraryInputEnvelope = {
|
|
733
|
+
data: Prisma.ProjectCreateManyLibraryInput | Prisma.ProjectCreateManyLibraryInput[]
|
|
734
|
+
skipDuplicates?: boolean
|
|
735
|
+
}
|
|
736
|
+
|
|
737
|
+
export type ProjectUpsertWithWhereUniqueWithoutLibraryInput = {
|
|
738
|
+
where: Prisma.ProjectWhereUniqueInput
|
|
739
|
+
update: Prisma.XOR<Prisma.ProjectUpdateWithoutLibraryInput, Prisma.ProjectUncheckedUpdateWithoutLibraryInput>
|
|
740
|
+
create: Prisma.XOR<Prisma.ProjectCreateWithoutLibraryInput, Prisma.ProjectUncheckedCreateWithoutLibraryInput>
|
|
741
|
+
}
|
|
742
|
+
|
|
743
|
+
export type ProjectUpdateWithWhereUniqueWithoutLibraryInput = {
|
|
744
|
+
where: Prisma.ProjectWhereUniqueInput
|
|
745
|
+
data: Prisma.XOR<Prisma.ProjectUpdateWithoutLibraryInput, Prisma.ProjectUncheckedUpdateWithoutLibraryInput>
|
|
746
|
+
}
|
|
747
|
+
|
|
748
|
+
export type ProjectUpdateManyWithWhereWithoutLibraryInput = {
|
|
749
|
+
where: Prisma.ProjectScalarWhereInput
|
|
750
|
+
data: Prisma.XOR<Prisma.ProjectUpdateManyMutationInput, Prisma.ProjectUncheckedUpdateManyWithoutLibraryInput>
|
|
751
|
+
}
|
|
752
|
+
|
|
753
|
+
export type ProjectScalarWhereInput = {
|
|
754
|
+
AND?: Prisma.ProjectScalarWhereInput | Prisma.ProjectScalarWhereInput[]
|
|
755
|
+
OR?: Prisma.ProjectScalarWhereInput[]
|
|
756
|
+
NOT?: Prisma.ProjectScalarWhereInput | Prisma.ProjectScalarWhereInput[]
|
|
757
|
+
id?: Prisma.StringFilter<"Project"> | string
|
|
758
|
+
meta?: Prisma.JsonFilter<"Project">
|
|
759
|
+
name?: Prisma.StringFilter<"Project"> | string
|
|
760
|
+
spaceId?: Prisma.StringFilter<"Project"> | string
|
|
761
|
+
modelStorageId?: Prisma.StringFilter<"Project"> | string
|
|
762
|
+
libraryId?: Prisma.StringFilter<"Project"> | string
|
|
763
|
+
pulumiBackendId?: Prisma.StringFilter<"Project"> | string
|
|
764
|
+
encryptedMasterKey?: Prisma.StringFilter<"Project"> | string
|
|
765
|
+
unlockSuite?: Prisma.JsonFilter<"Project">
|
|
766
|
+
databaseVersion?: Prisma.IntFilter<"Project"> | number
|
|
767
|
+
createdAt?: Prisma.DateTimeFilter<"Project"> | Date | string
|
|
768
|
+
updatedAt?: Prisma.DateTimeFilter<"Project"> | Date | string
|
|
769
|
+
}
|
|
770
|
+
|
|
771
|
+
export type ProjectCreateWithoutSpaceInput = {
|
|
772
|
+
id?: string
|
|
773
|
+
meta: PrismaJson.CommonObjectMeta
|
|
774
|
+
name: string
|
|
775
|
+
encryptedMasterKey: string
|
|
776
|
+
unlockSuite: PrismaJson.ProjectUnlockSuite
|
|
777
|
+
databaseVersion: number
|
|
778
|
+
createdAt?: Date | string
|
|
779
|
+
updatedAt?: Date | string
|
|
780
|
+
modelStorage: Prisma.ProjectModelStorageCreateNestedOneWithoutProjectsInput
|
|
781
|
+
library: Prisma.LibraryCreateNestedOneWithoutProjectsInput
|
|
782
|
+
pulumiBackend: Prisma.PulumiBackendCreateNestedOneWithoutProjectsInput
|
|
783
|
+
}
|
|
784
|
+
|
|
785
|
+
export type ProjectUncheckedCreateWithoutSpaceInput = {
|
|
786
|
+
id?: string
|
|
787
|
+
meta: PrismaJson.CommonObjectMeta
|
|
788
|
+
name: string
|
|
789
|
+
modelStorageId: string
|
|
790
|
+
libraryId: string
|
|
791
|
+
pulumiBackendId: string
|
|
792
|
+
encryptedMasterKey: string
|
|
793
|
+
unlockSuite: PrismaJson.ProjectUnlockSuite
|
|
794
|
+
databaseVersion: number
|
|
795
|
+
createdAt?: Date | string
|
|
796
|
+
updatedAt?: Date | string
|
|
797
|
+
}
|
|
798
|
+
|
|
799
|
+
export type ProjectCreateOrConnectWithoutSpaceInput = {
|
|
800
|
+
where: Prisma.ProjectWhereUniqueInput
|
|
801
|
+
create: Prisma.XOR<Prisma.ProjectCreateWithoutSpaceInput, Prisma.ProjectUncheckedCreateWithoutSpaceInput>
|
|
802
|
+
}
|
|
803
|
+
|
|
804
|
+
export type ProjectCreateManySpaceInputEnvelope = {
|
|
805
|
+
data: Prisma.ProjectCreateManySpaceInput | Prisma.ProjectCreateManySpaceInput[]
|
|
806
|
+
skipDuplicates?: boolean
|
|
807
|
+
}
|
|
808
|
+
|
|
809
|
+
export type ProjectUpsertWithWhereUniqueWithoutSpaceInput = {
|
|
810
|
+
where: Prisma.ProjectWhereUniqueInput
|
|
811
|
+
update: Prisma.XOR<Prisma.ProjectUpdateWithoutSpaceInput, Prisma.ProjectUncheckedUpdateWithoutSpaceInput>
|
|
812
|
+
create: Prisma.XOR<Prisma.ProjectCreateWithoutSpaceInput, Prisma.ProjectUncheckedCreateWithoutSpaceInput>
|
|
813
|
+
}
|
|
814
|
+
|
|
815
|
+
export type ProjectUpdateWithWhereUniqueWithoutSpaceInput = {
|
|
816
|
+
where: Prisma.ProjectWhereUniqueInput
|
|
817
|
+
data: Prisma.XOR<Prisma.ProjectUpdateWithoutSpaceInput, Prisma.ProjectUncheckedUpdateWithoutSpaceInput>
|
|
818
|
+
}
|
|
819
|
+
|
|
820
|
+
export type ProjectUpdateManyWithWhereWithoutSpaceInput = {
|
|
821
|
+
where: Prisma.ProjectScalarWhereInput
|
|
822
|
+
data: Prisma.XOR<Prisma.ProjectUpdateManyMutationInput, Prisma.ProjectUncheckedUpdateManyWithoutSpaceInput>
|
|
823
|
+
}
|
|
824
|
+
|
|
825
|
+
export type ProjectCreateWithoutModelStorageInput = {
|
|
826
|
+
id?: string
|
|
827
|
+
meta: PrismaJson.CommonObjectMeta
|
|
828
|
+
name: string
|
|
829
|
+
encryptedMasterKey: string
|
|
830
|
+
unlockSuite: PrismaJson.ProjectUnlockSuite
|
|
831
|
+
databaseVersion: number
|
|
832
|
+
createdAt?: Date | string
|
|
833
|
+
updatedAt?: Date | string
|
|
834
|
+
space: Prisma.ProjectSpaceCreateNestedOneWithoutProjectsInput
|
|
835
|
+
library: Prisma.LibraryCreateNestedOneWithoutProjectsInput
|
|
836
|
+
pulumiBackend: Prisma.PulumiBackendCreateNestedOneWithoutProjectsInput
|
|
837
|
+
}
|
|
838
|
+
|
|
839
|
+
export type ProjectUncheckedCreateWithoutModelStorageInput = {
|
|
840
|
+
id?: string
|
|
841
|
+
meta: PrismaJson.CommonObjectMeta
|
|
842
|
+
name: string
|
|
843
|
+
spaceId: string
|
|
844
|
+
libraryId: string
|
|
845
|
+
pulumiBackendId: string
|
|
846
|
+
encryptedMasterKey: string
|
|
847
|
+
unlockSuite: PrismaJson.ProjectUnlockSuite
|
|
848
|
+
databaseVersion: number
|
|
849
|
+
createdAt?: Date | string
|
|
850
|
+
updatedAt?: Date | string
|
|
851
|
+
}
|
|
852
|
+
|
|
853
|
+
export type ProjectCreateOrConnectWithoutModelStorageInput = {
|
|
854
|
+
where: Prisma.ProjectWhereUniqueInput
|
|
855
|
+
create: Prisma.XOR<Prisma.ProjectCreateWithoutModelStorageInput, Prisma.ProjectUncheckedCreateWithoutModelStorageInput>
|
|
856
|
+
}
|
|
857
|
+
|
|
858
|
+
export type ProjectCreateManyModelStorageInputEnvelope = {
|
|
859
|
+
data: Prisma.ProjectCreateManyModelStorageInput | Prisma.ProjectCreateManyModelStorageInput[]
|
|
860
|
+
skipDuplicates?: boolean
|
|
861
|
+
}
|
|
862
|
+
|
|
863
|
+
export type ProjectUpsertWithWhereUniqueWithoutModelStorageInput = {
|
|
864
|
+
where: Prisma.ProjectWhereUniqueInput
|
|
865
|
+
update: Prisma.XOR<Prisma.ProjectUpdateWithoutModelStorageInput, Prisma.ProjectUncheckedUpdateWithoutModelStorageInput>
|
|
866
|
+
create: Prisma.XOR<Prisma.ProjectCreateWithoutModelStorageInput, Prisma.ProjectUncheckedCreateWithoutModelStorageInput>
|
|
867
|
+
}
|
|
868
|
+
|
|
869
|
+
export type ProjectUpdateWithWhereUniqueWithoutModelStorageInput = {
|
|
870
|
+
where: Prisma.ProjectWhereUniqueInput
|
|
871
|
+
data: Prisma.XOR<Prisma.ProjectUpdateWithoutModelStorageInput, Prisma.ProjectUncheckedUpdateWithoutModelStorageInput>
|
|
872
|
+
}
|
|
873
|
+
|
|
874
|
+
export type ProjectUpdateManyWithWhereWithoutModelStorageInput = {
|
|
875
|
+
where: Prisma.ProjectScalarWhereInput
|
|
876
|
+
data: Prisma.XOR<Prisma.ProjectUpdateManyMutationInput, Prisma.ProjectUncheckedUpdateManyWithoutModelStorageInput>
|
|
877
|
+
}
|
|
878
|
+
|
|
879
|
+
export type ProjectCreateWithoutPulumiBackendInput = {
|
|
880
|
+
id?: string
|
|
881
|
+
meta: PrismaJson.CommonObjectMeta
|
|
882
|
+
name: string
|
|
883
|
+
encryptedMasterKey: string
|
|
884
|
+
unlockSuite: PrismaJson.ProjectUnlockSuite
|
|
885
|
+
databaseVersion: number
|
|
886
|
+
createdAt?: Date | string
|
|
887
|
+
updatedAt?: Date | string
|
|
888
|
+
space: Prisma.ProjectSpaceCreateNestedOneWithoutProjectsInput
|
|
889
|
+
modelStorage: Prisma.ProjectModelStorageCreateNestedOneWithoutProjectsInput
|
|
890
|
+
library: Prisma.LibraryCreateNestedOneWithoutProjectsInput
|
|
891
|
+
}
|
|
892
|
+
|
|
893
|
+
export type ProjectUncheckedCreateWithoutPulumiBackendInput = {
|
|
894
|
+
id?: string
|
|
895
|
+
meta: PrismaJson.CommonObjectMeta
|
|
896
|
+
name: string
|
|
897
|
+
spaceId: string
|
|
898
|
+
modelStorageId: string
|
|
899
|
+
libraryId: string
|
|
900
|
+
encryptedMasterKey: string
|
|
901
|
+
unlockSuite: PrismaJson.ProjectUnlockSuite
|
|
902
|
+
databaseVersion: number
|
|
903
|
+
createdAt?: Date | string
|
|
904
|
+
updatedAt?: Date | string
|
|
905
|
+
}
|
|
906
|
+
|
|
907
|
+
export type ProjectCreateOrConnectWithoutPulumiBackendInput = {
|
|
908
|
+
where: Prisma.ProjectWhereUniqueInput
|
|
909
|
+
create: Prisma.XOR<Prisma.ProjectCreateWithoutPulumiBackendInput, Prisma.ProjectUncheckedCreateWithoutPulumiBackendInput>
|
|
910
|
+
}
|
|
911
|
+
|
|
912
|
+
export type ProjectCreateManyPulumiBackendInputEnvelope = {
|
|
913
|
+
data: Prisma.ProjectCreateManyPulumiBackendInput | Prisma.ProjectCreateManyPulumiBackendInput[]
|
|
914
|
+
skipDuplicates?: boolean
|
|
915
|
+
}
|
|
916
|
+
|
|
917
|
+
export type ProjectUpsertWithWhereUniqueWithoutPulumiBackendInput = {
|
|
918
|
+
where: Prisma.ProjectWhereUniqueInput
|
|
919
|
+
update: Prisma.XOR<Prisma.ProjectUpdateWithoutPulumiBackendInput, Prisma.ProjectUncheckedUpdateWithoutPulumiBackendInput>
|
|
920
|
+
create: Prisma.XOR<Prisma.ProjectCreateWithoutPulumiBackendInput, Prisma.ProjectUncheckedCreateWithoutPulumiBackendInput>
|
|
921
|
+
}
|
|
922
|
+
|
|
923
|
+
export type ProjectUpdateWithWhereUniqueWithoutPulumiBackendInput = {
|
|
924
|
+
where: Prisma.ProjectWhereUniqueInput
|
|
925
|
+
data: Prisma.XOR<Prisma.ProjectUpdateWithoutPulumiBackendInput, Prisma.ProjectUncheckedUpdateWithoutPulumiBackendInput>
|
|
926
|
+
}
|
|
927
|
+
|
|
928
|
+
export type ProjectUpdateManyWithWhereWithoutPulumiBackendInput = {
|
|
929
|
+
where: Prisma.ProjectScalarWhereInput
|
|
930
|
+
data: Prisma.XOR<Prisma.ProjectUpdateManyMutationInput, Prisma.ProjectUncheckedUpdateManyWithoutPulumiBackendInput>
|
|
931
|
+
}
|
|
932
|
+
|
|
933
|
+
export type ProjectCreateManyLibraryInput = {
|
|
934
|
+
id?: string
|
|
935
|
+
meta: PrismaJson.CommonObjectMeta
|
|
936
|
+
name: string
|
|
937
|
+
spaceId: string
|
|
938
|
+
modelStorageId: string
|
|
939
|
+
pulumiBackendId: string
|
|
940
|
+
encryptedMasterKey: string
|
|
941
|
+
unlockSuite: PrismaJson.ProjectUnlockSuite
|
|
942
|
+
databaseVersion: number
|
|
943
|
+
createdAt?: Date | string
|
|
944
|
+
updatedAt?: Date | string
|
|
945
|
+
}
|
|
946
|
+
|
|
947
|
+
export type ProjectUpdateWithoutLibraryInput = {
|
|
948
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
949
|
+
meta?: PrismaJson.CommonObjectMeta
|
|
950
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
951
|
+
encryptedMasterKey?: Prisma.StringFieldUpdateOperationsInput | string
|
|
952
|
+
unlockSuite?: PrismaJson.ProjectUnlockSuite
|
|
953
|
+
databaseVersion?: Prisma.IntFieldUpdateOperationsInput | number
|
|
954
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
955
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
956
|
+
space?: Prisma.ProjectSpaceUpdateOneRequiredWithoutProjectsNestedInput
|
|
957
|
+
modelStorage?: Prisma.ProjectModelStorageUpdateOneRequiredWithoutProjectsNestedInput
|
|
958
|
+
pulumiBackend?: Prisma.PulumiBackendUpdateOneRequiredWithoutProjectsNestedInput
|
|
959
|
+
}
|
|
960
|
+
|
|
961
|
+
export type ProjectUncheckedUpdateWithoutLibraryInput = {
|
|
962
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
963
|
+
meta?: PrismaJson.CommonObjectMeta
|
|
964
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
965
|
+
spaceId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
966
|
+
modelStorageId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
967
|
+
pulumiBackendId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
968
|
+
encryptedMasterKey?: Prisma.StringFieldUpdateOperationsInput | string
|
|
969
|
+
unlockSuite?: PrismaJson.ProjectUnlockSuite
|
|
970
|
+
databaseVersion?: Prisma.IntFieldUpdateOperationsInput | number
|
|
971
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
972
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
973
|
+
}
|
|
974
|
+
|
|
975
|
+
export type ProjectUncheckedUpdateManyWithoutLibraryInput = {
|
|
976
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
977
|
+
meta?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
978
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
979
|
+
spaceId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
980
|
+
modelStorageId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
981
|
+
pulumiBackendId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
982
|
+
encryptedMasterKey?: Prisma.StringFieldUpdateOperationsInput | string
|
|
983
|
+
unlockSuite?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
984
|
+
databaseVersion?: Prisma.IntFieldUpdateOperationsInput | number
|
|
985
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
986
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
987
|
+
}
|
|
988
|
+
|
|
989
|
+
export type ProjectCreateManySpaceInput = {
|
|
990
|
+
id?: string
|
|
991
|
+
meta: PrismaJson.CommonObjectMeta
|
|
992
|
+
name: string
|
|
993
|
+
modelStorageId: string
|
|
994
|
+
libraryId: string
|
|
995
|
+
pulumiBackendId: string
|
|
996
|
+
encryptedMasterKey: string
|
|
997
|
+
unlockSuite: PrismaJson.ProjectUnlockSuite
|
|
998
|
+
databaseVersion: number
|
|
999
|
+
createdAt?: Date | string
|
|
1000
|
+
updatedAt?: Date | string
|
|
1001
|
+
}
|
|
1002
|
+
|
|
1003
|
+
export type ProjectUpdateWithoutSpaceInput = {
|
|
1004
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1005
|
+
meta?: PrismaJson.CommonObjectMeta
|
|
1006
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1007
|
+
encryptedMasterKey?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1008
|
+
unlockSuite?: PrismaJson.ProjectUnlockSuite
|
|
1009
|
+
databaseVersion?: Prisma.IntFieldUpdateOperationsInput | number
|
|
1010
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1011
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1012
|
+
modelStorage?: Prisma.ProjectModelStorageUpdateOneRequiredWithoutProjectsNestedInput
|
|
1013
|
+
library?: Prisma.LibraryUpdateOneRequiredWithoutProjectsNestedInput
|
|
1014
|
+
pulumiBackend?: Prisma.PulumiBackendUpdateOneRequiredWithoutProjectsNestedInput
|
|
1015
|
+
}
|
|
1016
|
+
|
|
1017
|
+
export type ProjectUncheckedUpdateWithoutSpaceInput = {
|
|
1018
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1019
|
+
meta?: PrismaJson.CommonObjectMeta
|
|
1020
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1021
|
+
modelStorageId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1022
|
+
libraryId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1023
|
+
pulumiBackendId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1024
|
+
encryptedMasterKey?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1025
|
+
unlockSuite?: PrismaJson.ProjectUnlockSuite
|
|
1026
|
+
databaseVersion?: Prisma.IntFieldUpdateOperationsInput | number
|
|
1027
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1028
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1029
|
+
}
|
|
1030
|
+
|
|
1031
|
+
export type ProjectUncheckedUpdateManyWithoutSpaceInput = {
|
|
1032
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1033
|
+
meta?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
1034
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1035
|
+
modelStorageId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1036
|
+
libraryId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1037
|
+
pulumiBackendId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1038
|
+
encryptedMasterKey?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1039
|
+
unlockSuite?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
1040
|
+
databaseVersion?: Prisma.IntFieldUpdateOperationsInput | number
|
|
1041
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1042
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1043
|
+
}
|
|
1044
|
+
|
|
1045
|
+
export type ProjectCreateManyModelStorageInput = {
|
|
1046
|
+
id?: string
|
|
1047
|
+
meta: PrismaJson.CommonObjectMeta
|
|
1048
|
+
name: string
|
|
1049
|
+
spaceId: string
|
|
1050
|
+
libraryId: string
|
|
1051
|
+
pulumiBackendId: string
|
|
1052
|
+
encryptedMasterKey: string
|
|
1053
|
+
unlockSuite: PrismaJson.ProjectUnlockSuite
|
|
1054
|
+
databaseVersion: number
|
|
1055
|
+
createdAt?: Date | string
|
|
1056
|
+
updatedAt?: Date | string
|
|
1057
|
+
}
|
|
1058
|
+
|
|
1059
|
+
export type ProjectUpdateWithoutModelStorageInput = {
|
|
1060
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1061
|
+
meta?: PrismaJson.CommonObjectMeta
|
|
1062
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1063
|
+
encryptedMasterKey?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1064
|
+
unlockSuite?: PrismaJson.ProjectUnlockSuite
|
|
1065
|
+
databaseVersion?: Prisma.IntFieldUpdateOperationsInput | number
|
|
1066
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1067
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1068
|
+
space?: Prisma.ProjectSpaceUpdateOneRequiredWithoutProjectsNestedInput
|
|
1069
|
+
library?: Prisma.LibraryUpdateOneRequiredWithoutProjectsNestedInput
|
|
1070
|
+
pulumiBackend?: Prisma.PulumiBackendUpdateOneRequiredWithoutProjectsNestedInput
|
|
1071
|
+
}
|
|
1072
|
+
|
|
1073
|
+
export type ProjectUncheckedUpdateWithoutModelStorageInput = {
|
|
1074
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1075
|
+
meta?: PrismaJson.CommonObjectMeta
|
|
1076
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1077
|
+
spaceId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1078
|
+
libraryId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1079
|
+
pulumiBackendId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1080
|
+
encryptedMasterKey?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1081
|
+
unlockSuite?: PrismaJson.ProjectUnlockSuite
|
|
1082
|
+
databaseVersion?: Prisma.IntFieldUpdateOperationsInput | number
|
|
1083
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1084
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1085
|
+
}
|
|
1086
|
+
|
|
1087
|
+
export type ProjectUncheckedUpdateManyWithoutModelStorageInput = {
|
|
1088
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1089
|
+
meta?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
1090
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1091
|
+
spaceId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1092
|
+
libraryId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1093
|
+
pulumiBackendId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1094
|
+
encryptedMasterKey?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1095
|
+
unlockSuite?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
1096
|
+
databaseVersion?: Prisma.IntFieldUpdateOperationsInput | number
|
|
1097
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1098
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1099
|
+
}
|
|
1100
|
+
|
|
1101
|
+
export type ProjectCreateManyPulumiBackendInput = {
|
|
1102
|
+
id?: string
|
|
1103
|
+
meta: PrismaJson.CommonObjectMeta
|
|
1104
|
+
name: string
|
|
1105
|
+
spaceId: string
|
|
1106
|
+
modelStorageId: string
|
|
1107
|
+
libraryId: string
|
|
1108
|
+
encryptedMasterKey: string
|
|
1109
|
+
unlockSuite: PrismaJson.ProjectUnlockSuite
|
|
1110
|
+
databaseVersion: number
|
|
1111
|
+
createdAt?: Date | string
|
|
1112
|
+
updatedAt?: Date | string
|
|
1113
|
+
}
|
|
1114
|
+
|
|
1115
|
+
export type ProjectUpdateWithoutPulumiBackendInput = {
|
|
1116
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1117
|
+
meta?: PrismaJson.CommonObjectMeta
|
|
1118
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1119
|
+
encryptedMasterKey?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1120
|
+
unlockSuite?: PrismaJson.ProjectUnlockSuite
|
|
1121
|
+
databaseVersion?: Prisma.IntFieldUpdateOperationsInput | number
|
|
1122
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1123
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1124
|
+
space?: Prisma.ProjectSpaceUpdateOneRequiredWithoutProjectsNestedInput
|
|
1125
|
+
modelStorage?: Prisma.ProjectModelStorageUpdateOneRequiredWithoutProjectsNestedInput
|
|
1126
|
+
library?: Prisma.LibraryUpdateOneRequiredWithoutProjectsNestedInput
|
|
1127
|
+
}
|
|
1128
|
+
|
|
1129
|
+
export type ProjectUncheckedUpdateWithoutPulumiBackendInput = {
|
|
1130
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1131
|
+
meta?: PrismaJson.CommonObjectMeta
|
|
1132
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1133
|
+
spaceId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1134
|
+
modelStorageId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1135
|
+
libraryId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1136
|
+
encryptedMasterKey?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1137
|
+
unlockSuite?: PrismaJson.ProjectUnlockSuite
|
|
1138
|
+
databaseVersion?: Prisma.IntFieldUpdateOperationsInput | number
|
|
1139
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1140
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1141
|
+
}
|
|
1142
|
+
|
|
1143
|
+
export type ProjectUncheckedUpdateManyWithoutPulumiBackendInput = {
|
|
1144
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1145
|
+
meta?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
1146
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1147
|
+
spaceId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1148
|
+
modelStorageId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1149
|
+
libraryId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1150
|
+
encryptedMasterKey?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1151
|
+
unlockSuite?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
1152
|
+
databaseVersion?: Prisma.IntFieldUpdateOperationsInput | number
|
|
1153
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1154
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1155
|
+
}
|
|
1156
|
+
|
|
1157
|
+
|
|
1158
|
+
|
|
1159
|
+
export type ProjectSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
1160
|
+
id?: boolean
|
|
1161
|
+
meta?: boolean
|
|
1162
|
+
name?: boolean
|
|
1163
|
+
spaceId?: boolean
|
|
1164
|
+
modelStorageId?: boolean
|
|
1165
|
+
libraryId?: boolean
|
|
1166
|
+
pulumiBackendId?: boolean
|
|
1167
|
+
encryptedMasterKey?: boolean
|
|
1168
|
+
unlockSuite?: boolean
|
|
1169
|
+
databaseVersion?: boolean
|
|
1170
|
+
createdAt?: boolean
|
|
1171
|
+
updatedAt?: boolean
|
|
1172
|
+
space?: boolean | Prisma.ProjectSpaceDefaultArgs<ExtArgs>
|
|
1173
|
+
modelStorage?: boolean | Prisma.ProjectModelStorageDefaultArgs<ExtArgs>
|
|
1174
|
+
library?: boolean | Prisma.LibraryDefaultArgs<ExtArgs>
|
|
1175
|
+
pulumiBackend?: boolean | Prisma.PulumiBackendDefaultArgs<ExtArgs>
|
|
1176
|
+
}, ExtArgs["result"]["project"]>
|
|
1177
|
+
|
|
1178
|
+
export type ProjectSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
1179
|
+
id?: boolean
|
|
1180
|
+
meta?: boolean
|
|
1181
|
+
name?: boolean
|
|
1182
|
+
spaceId?: boolean
|
|
1183
|
+
modelStorageId?: boolean
|
|
1184
|
+
libraryId?: boolean
|
|
1185
|
+
pulumiBackendId?: boolean
|
|
1186
|
+
encryptedMasterKey?: boolean
|
|
1187
|
+
unlockSuite?: boolean
|
|
1188
|
+
databaseVersion?: boolean
|
|
1189
|
+
createdAt?: boolean
|
|
1190
|
+
updatedAt?: boolean
|
|
1191
|
+
space?: boolean | Prisma.ProjectSpaceDefaultArgs<ExtArgs>
|
|
1192
|
+
modelStorage?: boolean | Prisma.ProjectModelStorageDefaultArgs<ExtArgs>
|
|
1193
|
+
library?: boolean | Prisma.LibraryDefaultArgs<ExtArgs>
|
|
1194
|
+
pulumiBackend?: boolean | Prisma.PulumiBackendDefaultArgs<ExtArgs>
|
|
1195
|
+
}, ExtArgs["result"]["project"]>
|
|
1196
|
+
|
|
1197
|
+
export type ProjectSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
1198
|
+
id?: boolean
|
|
1199
|
+
meta?: boolean
|
|
1200
|
+
name?: boolean
|
|
1201
|
+
spaceId?: boolean
|
|
1202
|
+
modelStorageId?: boolean
|
|
1203
|
+
libraryId?: boolean
|
|
1204
|
+
pulumiBackendId?: boolean
|
|
1205
|
+
encryptedMasterKey?: boolean
|
|
1206
|
+
unlockSuite?: boolean
|
|
1207
|
+
databaseVersion?: boolean
|
|
1208
|
+
createdAt?: boolean
|
|
1209
|
+
updatedAt?: boolean
|
|
1210
|
+
space?: boolean | Prisma.ProjectSpaceDefaultArgs<ExtArgs>
|
|
1211
|
+
modelStorage?: boolean | Prisma.ProjectModelStorageDefaultArgs<ExtArgs>
|
|
1212
|
+
library?: boolean | Prisma.LibraryDefaultArgs<ExtArgs>
|
|
1213
|
+
pulumiBackend?: boolean | Prisma.PulumiBackendDefaultArgs<ExtArgs>
|
|
1214
|
+
}, ExtArgs["result"]["project"]>
|
|
1215
|
+
|
|
1216
|
+
export type ProjectSelectScalar = {
|
|
1217
|
+
id?: boolean
|
|
1218
|
+
meta?: boolean
|
|
1219
|
+
name?: boolean
|
|
1220
|
+
spaceId?: boolean
|
|
1221
|
+
modelStorageId?: boolean
|
|
1222
|
+
libraryId?: boolean
|
|
1223
|
+
pulumiBackendId?: boolean
|
|
1224
|
+
encryptedMasterKey?: boolean
|
|
1225
|
+
unlockSuite?: boolean
|
|
1226
|
+
databaseVersion?: boolean
|
|
1227
|
+
createdAt?: boolean
|
|
1228
|
+
updatedAt?: boolean
|
|
1229
|
+
}
|
|
1230
|
+
|
|
1231
|
+
export type ProjectOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "meta" | "name" | "spaceId" | "modelStorageId" | "libraryId" | "pulumiBackendId" | "encryptedMasterKey" | "unlockSuite" | "databaseVersion" | "createdAt" | "updatedAt", ExtArgs["result"]["project"]>
|
|
1232
|
+
export type ProjectInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1233
|
+
space?: boolean | Prisma.ProjectSpaceDefaultArgs<ExtArgs>
|
|
1234
|
+
modelStorage?: boolean | Prisma.ProjectModelStorageDefaultArgs<ExtArgs>
|
|
1235
|
+
library?: boolean | Prisma.LibraryDefaultArgs<ExtArgs>
|
|
1236
|
+
pulumiBackend?: boolean | Prisma.PulumiBackendDefaultArgs<ExtArgs>
|
|
1237
|
+
}
|
|
1238
|
+
export type ProjectIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1239
|
+
space?: boolean | Prisma.ProjectSpaceDefaultArgs<ExtArgs>
|
|
1240
|
+
modelStorage?: boolean | Prisma.ProjectModelStorageDefaultArgs<ExtArgs>
|
|
1241
|
+
library?: boolean | Prisma.LibraryDefaultArgs<ExtArgs>
|
|
1242
|
+
pulumiBackend?: boolean | Prisma.PulumiBackendDefaultArgs<ExtArgs>
|
|
1243
|
+
}
|
|
1244
|
+
export type ProjectIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1245
|
+
space?: boolean | Prisma.ProjectSpaceDefaultArgs<ExtArgs>
|
|
1246
|
+
modelStorage?: boolean | Prisma.ProjectModelStorageDefaultArgs<ExtArgs>
|
|
1247
|
+
library?: boolean | Prisma.LibraryDefaultArgs<ExtArgs>
|
|
1248
|
+
pulumiBackend?: boolean | Prisma.PulumiBackendDefaultArgs<ExtArgs>
|
|
1249
|
+
}
|
|
1250
|
+
|
|
1251
|
+
export type $ProjectPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1252
|
+
name: "Project"
|
|
1253
|
+
objects: {
|
|
1254
|
+
/**
|
|
1255
|
+
* The project space this project belongs to.
|
|
1256
|
+
*/
|
|
1257
|
+
space: Prisma.$ProjectSpacePayload<ExtArgs>
|
|
1258
|
+
/**
|
|
1259
|
+
* The project model storage this project uses.
|
|
1260
|
+
*/
|
|
1261
|
+
modelStorage: Prisma.$ProjectModelStoragePayload<ExtArgs>
|
|
1262
|
+
/**
|
|
1263
|
+
* The library used by this project.
|
|
1264
|
+
*/
|
|
1265
|
+
library: Prisma.$LibraryPayload<ExtArgs>
|
|
1266
|
+
/**
|
|
1267
|
+
* The Pulumi backend used by this project.
|
|
1268
|
+
*/
|
|
1269
|
+
pulumiBackend: Prisma.$PulumiBackendPayload<ExtArgs>
|
|
1270
|
+
}
|
|
1271
|
+
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
1272
|
+
/**
|
|
1273
|
+
* The CUIDv2 of the project.
|
|
1274
|
+
*/
|
|
1275
|
+
id: string
|
|
1276
|
+
/**
|
|
1277
|
+
* Project meta managed by the backend.
|
|
1278
|
+
*
|
|
1279
|
+
* [CommonObjectMeta]
|
|
1280
|
+
*/
|
|
1281
|
+
meta: PrismaJson.CommonObjectMeta
|
|
1282
|
+
/**
|
|
1283
|
+
* The name of the project within the space.
|
|
1284
|
+
*/
|
|
1285
|
+
name: string
|
|
1286
|
+
/**
|
|
1287
|
+
* The ID of the project space this project belongs to.
|
|
1288
|
+
*/
|
|
1289
|
+
spaceId: string
|
|
1290
|
+
/**
|
|
1291
|
+
* The ID of the project model storage this project uses.
|
|
1292
|
+
*/
|
|
1293
|
+
modelStorageId: string
|
|
1294
|
+
/**
|
|
1295
|
+
* The ID of the library used by this project.
|
|
1296
|
+
*/
|
|
1297
|
+
libraryId: string
|
|
1298
|
+
/**
|
|
1299
|
+
* The ID of the Pulumi backend used by this project.
|
|
1300
|
+
*/
|
|
1301
|
+
pulumiBackendId: string
|
|
1302
|
+
/**
|
|
1303
|
+
* Encrypted project master key in AGE format.
|
|
1304
|
+
*/
|
|
1305
|
+
encryptedMasterKey: string
|
|
1306
|
+
/**
|
|
1307
|
+
* The unlock suite for this project.
|
|
1308
|
+
*
|
|
1309
|
+
* [ProjectUnlockSuite]
|
|
1310
|
+
*/
|
|
1311
|
+
unlockSuite: PrismaJson.ProjectUnlockSuite
|
|
1312
|
+
/**
|
|
1313
|
+
* The current version of the project database.
|
|
1314
|
+
* This is used to determine if the project needs to be migrated.
|
|
1315
|
+
*/
|
|
1316
|
+
databaseVersion: number
|
|
1317
|
+
/**
|
|
1318
|
+
* The date and time when the project was created.
|
|
1319
|
+
*/
|
|
1320
|
+
createdAt: Date
|
|
1321
|
+
/**
|
|
1322
|
+
* The date and time when the project was last updated.
|
|
1323
|
+
*/
|
|
1324
|
+
updatedAt: Date
|
|
1325
|
+
}, ExtArgs["result"]["project"]>
|
|
1326
|
+
composites: {}
|
|
1327
|
+
}
|
|
1328
|
+
|
|
1329
|
+
export type ProjectGetPayload<S extends boolean | null | undefined | ProjectDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$ProjectPayload, S>
|
|
1330
|
+
|
|
1331
|
+
export type ProjectCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
|
|
1332
|
+
Omit<ProjectFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
1333
|
+
select?: ProjectCountAggregateInputType | true
|
|
1334
|
+
}
|
|
1335
|
+
|
|
1336
|
+
export interface ProjectDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
1337
|
+
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['Project'], meta: { name: 'Project' } }
|
|
1338
|
+
/**
|
|
1339
|
+
* Find zero or one Project that matches the filter.
|
|
1340
|
+
* @param {ProjectFindUniqueArgs} args - Arguments to find a Project
|
|
1341
|
+
* @example
|
|
1342
|
+
* // Get one Project
|
|
1343
|
+
* const project = await prisma.project.findUnique({
|
|
1344
|
+
* where: {
|
|
1345
|
+
* // ... provide filter here
|
|
1346
|
+
* }
|
|
1347
|
+
* })
|
|
1348
|
+
*/
|
|
1349
|
+
findUnique<T extends ProjectFindUniqueArgs>(args: Prisma.SelectSubset<T, ProjectFindUniqueArgs<ExtArgs>>): Prisma.Prisma__ProjectClient<runtime.Types.Result.GetResult<Prisma.$ProjectPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
1350
|
+
|
|
1351
|
+
/**
|
|
1352
|
+
* Find one Project that matches the filter or throw an error with `error.code='P2025'`
|
|
1353
|
+
* if no matches were found.
|
|
1354
|
+
* @param {ProjectFindUniqueOrThrowArgs} args - Arguments to find a Project
|
|
1355
|
+
* @example
|
|
1356
|
+
* // Get one Project
|
|
1357
|
+
* const project = await prisma.project.findUniqueOrThrow({
|
|
1358
|
+
* where: {
|
|
1359
|
+
* // ... provide filter here
|
|
1360
|
+
* }
|
|
1361
|
+
* })
|
|
1362
|
+
*/
|
|
1363
|
+
findUniqueOrThrow<T extends ProjectFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, ProjectFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__ProjectClient<runtime.Types.Result.GetResult<Prisma.$ProjectPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
1364
|
+
|
|
1365
|
+
/**
|
|
1366
|
+
* Find the first Project that matches the filter.
|
|
1367
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1368
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1369
|
+
* @param {ProjectFindFirstArgs} args - Arguments to find a Project
|
|
1370
|
+
* @example
|
|
1371
|
+
* // Get one Project
|
|
1372
|
+
* const project = await prisma.project.findFirst({
|
|
1373
|
+
* where: {
|
|
1374
|
+
* // ... provide filter here
|
|
1375
|
+
* }
|
|
1376
|
+
* })
|
|
1377
|
+
*/
|
|
1378
|
+
findFirst<T extends ProjectFindFirstArgs>(args?: Prisma.SelectSubset<T, ProjectFindFirstArgs<ExtArgs>>): Prisma.Prisma__ProjectClient<runtime.Types.Result.GetResult<Prisma.$ProjectPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
1379
|
+
|
|
1380
|
+
/**
|
|
1381
|
+
* Find the first Project that matches the filter or
|
|
1382
|
+
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
1383
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1384
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1385
|
+
* @param {ProjectFindFirstOrThrowArgs} args - Arguments to find a Project
|
|
1386
|
+
* @example
|
|
1387
|
+
* // Get one Project
|
|
1388
|
+
* const project = await prisma.project.findFirstOrThrow({
|
|
1389
|
+
* where: {
|
|
1390
|
+
* // ... provide filter here
|
|
1391
|
+
* }
|
|
1392
|
+
* })
|
|
1393
|
+
*/
|
|
1394
|
+
findFirstOrThrow<T extends ProjectFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, ProjectFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__ProjectClient<runtime.Types.Result.GetResult<Prisma.$ProjectPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
1395
|
+
|
|
1396
|
+
/**
|
|
1397
|
+
* Find zero or more Projects that matches the filter.
|
|
1398
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1399
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1400
|
+
* @param {ProjectFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
1401
|
+
* @example
|
|
1402
|
+
* // Get all Projects
|
|
1403
|
+
* const projects = await prisma.project.findMany()
|
|
1404
|
+
*
|
|
1405
|
+
* // Get first 10 Projects
|
|
1406
|
+
* const projects = await prisma.project.findMany({ take: 10 })
|
|
1407
|
+
*
|
|
1408
|
+
* // Only select the `id`
|
|
1409
|
+
* const projectWithIdOnly = await prisma.project.findMany({ select: { id: true } })
|
|
1410
|
+
*
|
|
1411
|
+
*/
|
|
1412
|
+
findMany<T extends ProjectFindManyArgs>(args?: Prisma.SelectSubset<T, ProjectFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ProjectPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
|
|
1413
|
+
|
|
1414
|
+
/**
|
|
1415
|
+
* Create a Project.
|
|
1416
|
+
* @param {ProjectCreateArgs} args - Arguments to create a Project.
|
|
1417
|
+
* @example
|
|
1418
|
+
* // Create one Project
|
|
1419
|
+
* const Project = await prisma.project.create({
|
|
1420
|
+
* data: {
|
|
1421
|
+
* // ... data to create a Project
|
|
1422
|
+
* }
|
|
1423
|
+
* })
|
|
1424
|
+
*
|
|
1425
|
+
*/
|
|
1426
|
+
create<T extends ProjectCreateArgs>(args: Prisma.SelectSubset<T, ProjectCreateArgs<ExtArgs>>): Prisma.Prisma__ProjectClient<runtime.Types.Result.GetResult<Prisma.$ProjectPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
1427
|
+
|
|
1428
|
+
/**
|
|
1429
|
+
* Create many Projects.
|
|
1430
|
+
* @param {ProjectCreateManyArgs} args - Arguments to create many Projects.
|
|
1431
|
+
* @example
|
|
1432
|
+
* // Create many Projects
|
|
1433
|
+
* const project = await prisma.project.createMany({
|
|
1434
|
+
* data: [
|
|
1435
|
+
* // ... provide data here
|
|
1436
|
+
* ]
|
|
1437
|
+
* })
|
|
1438
|
+
*
|
|
1439
|
+
*/
|
|
1440
|
+
createMany<T extends ProjectCreateManyArgs>(args?: Prisma.SelectSubset<T, ProjectCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
1441
|
+
|
|
1442
|
+
/**
|
|
1443
|
+
* Create many Projects and returns the data saved in the database.
|
|
1444
|
+
* @param {ProjectCreateManyAndReturnArgs} args - Arguments to create many Projects.
|
|
1445
|
+
* @example
|
|
1446
|
+
* // Create many Projects
|
|
1447
|
+
* const project = await prisma.project.createManyAndReturn({
|
|
1448
|
+
* data: [
|
|
1449
|
+
* // ... provide data here
|
|
1450
|
+
* ]
|
|
1451
|
+
* })
|
|
1452
|
+
*
|
|
1453
|
+
* // Create many Projects and only return the `id`
|
|
1454
|
+
* const projectWithIdOnly = await prisma.project.createManyAndReturn({
|
|
1455
|
+
* select: { id: true },
|
|
1456
|
+
* data: [
|
|
1457
|
+
* // ... provide data here
|
|
1458
|
+
* ]
|
|
1459
|
+
* })
|
|
1460
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1461
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1462
|
+
*
|
|
1463
|
+
*/
|
|
1464
|
+
createManyAndReturn<T extends ProjectCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, ProjectCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ProjectPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
|
|
1465
|
+
|
|
1466
|
+
/**
|
|
1467
|
+
* Delete a Project.
|
|
1468
|
+
* @param {ProjectDeleteArgs} args - Arguments to delete one Project.
|
|
1469
|
+
* @example
|
|
1470
|
+
* // Delete one Project
|
|
1471
|
+
* const Project = await prisma.project.delete({
|
|
1472
|
+
* where: {
|
|
1473
|
+
* // ... filter to delete one Project
|
|
1474
|
+
* }
|
|
1475
|
+
* })
|
|
1476
|
+
*
|
|
1477
|
+
*/
|
|
1478
|
+
delete<T extends ProjectDeleteArgs>(args: Prisma.SelectSubset<T, ProjectDeleteArgs<ExtArgs>>): Prisma.Prisma__ProjectClient<runtime.Types.Result.GetResult<Prisma.$ProjectPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
1479
|
+
|
|
1480
|
+
/**
|
|
1481
|
+
* Update one Project.
|
|
1482
|
+
* @param {ProjectUpdateArgs} args - Arguments to update one Project.
|
|
1483
|
+
* @example
|
|
1484
|
+
* // Update one Project
|
|
1485
|
+
* const project = await prisma.project.update({
|
|
1486
|
+
* where: {
|
|
1487
|
+
* // ... provide filter here
|
|
1488
|
+
* },
|
|
1489
|
+
* data: {
|
|
1490
|
+
* // ... provide data here
|
|
1491
|
+
* }
|
|
1492
|
+
* })
|
|
1493
|
+
*
|
|
1494
|
+
*/
|
|
1495
|
+
update<T extends ProjectUpdateArgs>(args: Prisma.SelectSubset<T, ProjectUpdateArgs<ExtArgs>>): Prisma.Prisma__ProjectClient<runtime.Types.Result.GetResult<Prisma.$ProjectPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
1496
|
+
|
|
1497
|
+
/**
|
|
1498
|
+
* Delete zero or more Projects.
|
|
1499
|
+
* @param {ProjectDeleteManyArgs} args - Arguments to filter Projects to delete.
|
|
1500
|
+
* @example
|
|
1501
|
+
* // Delete a few Projects
|
|
1502
|
+
* const { count } = await prisma.project.deleteMany({
|
|
1503
|
+
* where: {
|
|
1504
|
+
* // ... provide filter here
|
|
1505
|
+
* }
|
|
1506
|
+
* })
|
|
1507
|
+
*
|
|
1508
|
+
*/
|
|
1509
|
+
deleteMany<T extends ProjectDeleteManyArgs>(args?: Prisma.SelectSubset<T, ProjectDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
1510
|
+
|
|
1511
|
+
/**
|
|
1512
|
+
* Update zero or more Projects.
|
|
1513
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1514
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1515
|
+
* @param {ProjectUpdateManyArgs} args - Arguments to update one or more rows.
|
|
1516
|
+
* @example
|
|
1517
|
+
* // Update many Projects
|
|
1518
|
+
* const project = await prisma.project.updateMany({
|
|
1519
|
+
* where: {
|
|
1520
|
+
* // ... provide filter here
|
|
1521
|
+
* },
|
|
1522
|
+
* data: {
|
|
1523
|
+
* // ... provide data here
|
|
1524
|
+
* }
|
|
1525
|
+
* })
|
|
1526
|
+
*
|
|
1527
|
+
*/
|
|
1528
|
+
updateMany<T extends ProjectUpdateManyArgs>(args: Prisma.SelectSubset<T, ProjectUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
1529
|
+
|
|
1530
|
+
/**
|
|
1531
|
+
* Update zero or more Projects and returns the data updated in the database.
|
|
1532
|
+
* @param {ProjectUpdateManyAndReturnArgs} args - Arguments to update many Projects.
|
|
1533
|
+
* @example
|
|
1534
|
+
* // Update many Projects
|
|
1535
|
+
* const project = await prisma.project.updateManyAndReturn({
|
|
1536
|
+
* where: {
|
|
1537
|
+
* // ... provide filter here
|
|
1538
|
+
* },
|
|
1539
|
+
* data: [
|
|
1540
|
+
* // ... provide data here
|
|
1541
|
+
* ]
|
|
1542
|
+
* })
|
|
1543
|
+
*
|
|
1544
|
+
* // Update zero or more Projects and only return the `id`
|
|
1545
|
+
* const projectWithIdOnly = await prisma.project.updateManyAndReturn({
|
|
1546
|
+
* select: { id: true },
|
|
1547
|
+
* where: {
|
|
1548
|
+
* // ... provide filter here
|
|
1549
|
+
* },
|
|
1550
|
+
* data: [
|
|
1551
|
+
* // ... provide data here
|
|
1552
|
+
* ]
|
|
1553
|
+
* })
|
|
1554
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1555
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1556
|
+
*
|
|
1557
|
+
*/
|
|
1558
|
+
updateManyAndReturn<T extends ProjectUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, ProjectUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ProjectPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
|
|
1559
|
+
|
|
1560
|
+
/**
|
|
1561
|
+
* Create or update one Project.
|
|
1562
|
+
* @param {ProjectUpsertArgs} args - Arguments to update or create a Project.
|
|
1563
|
+
* @example
|
|
1564
|
+
* // Update or create a Project
|
|
1565
|
+
* const project = await prisma.project.upsert({
|
|
1566
|
+
* create: {
|
|
1567
|
+
* // ... data to create a Project
|
|
1568
|
+
* },
|
|
1569
|
+
* update: {
|
|
1570
|
+
* // ... in case it already exists, update
|
|
1571
|
+
* },
|
|
1572
|
+
* where: {
|
|
1573
|
+
* // ... the filter for the Project we want to update
|
|
1574
|
+
* }
|
|
1575
|
+
* })
|
|
1576
|
+
*/
|
|
1577
|
+
upsert<T extends ProjectUpsertArgs>(args: Prisma.SelectSubset<T, ProjectUpsertArgs<ExtArgs>>): Prisma.Prisma__ProjectClient<runtime.Types.Result.GetResult<Prisma.$ProjectPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
1578
|
+
|
|
1579
|
+
|
|
1580
|
+
/**
|
|
1581
|
+
* Count the number of Projects.
|
|
1582
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1583
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1584
|
+
* @param {ProjectCountArgs} args - Arguments to filter Projects to count.
|
|
1585
|
+
* @example
|
|
1586
|
+
* // Count the number of Projects
|
|
1587
|
+
* const count = await prisma.project.count({
|
|
1588
|
+
* where: {
|
|
1589
|
+
* // ... the filter for the Projects we want to count
|
|
1590
|
+
* }
|
|
1591
|
+
* })
|
|
1592
|
+
**/
|
|
1593
|
+
count<T extends ProjectCountArgs>(
|
|
1594
|
+
args?: Prisma.Subset<T, ProjectCountArgs>,
|
|
1595
|
+
): Prisma.PrismaPromise<
|
|
1596
|
+
T extends runtime.Types.Utils.Record<'select', any>
|
|
1597
|
+
? T['select'] extends true
|
|
1598
|
+
? number
|
|
1599
|
+
: Prisma.GetScalarType<T['select'], ProjectCountAggregateOutputType>
|
|
1600
|
+
: number
|
|
1601
|
+
>
|
|
1602
|
+
|
|
1603
|
+
/**
|
|
1604
|
+
* Allows you to perform aggregations operations on a Project.
|
|
1605
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1606
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1607
|
+
* @param {ProjectAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
1608
|
+
* @example
|
|
1609
|
+
* // Ordered by age ascending
|
|
1610
|
+
* // Where email contains prisma.io
|
|
1611
|
+
* // Limited to the 10 users
|
|
1612
|
+
* const aggregations = await prisma.user.aggregate({
|
|
1613
|
+
* _avg: {
|
|
1614
|
+
* age: true,
|
|
1615
|
+
* },
|
|
1616
|
+
* where: {
|
|
1617
|
+
* email: {
|
|
1618
|
+
* contains: "prisma.io",
|
|
1619
|
+
* },
|
|
1620
|
+
* },
|
|
1621
|
+
* orderBy: {
|
|
1622
|
+
* age: "asc",
|
|
1623
|
+
* },
|
|
1624
|
+
* take: 10,
|
|
1625
|
+
* })
|
|
1626
|
+
**/
|
|
1627
|
+
aggregate<T extends ProjectAggregateArgs>(args: Prisma.Subset<T, ProjectAggregateArgs>): Prisma.PrismaPromise<GetProjectAggregateType<T>>
|
|
1628
|
+
|
|
1629
|
+
/**
|
|
1630
|
+
* Group by Project.
|
|
1631
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1632
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1633
|
+
* @param {ProjectGroupByArgs} args - Group by arguments.
|
|
1634
|
+
* @example
|
|
1635
|
+
* // Group by city, order by createdAt, get count
|
|
1636
|
+
* const result = await prisma.user.groupBy({
|
|
1637
|
+
* by: ['city', 'createdAt'],
|
|
1638
|
+
* orderBy: {
|
|
1639
|
+
* createdAt: true
|
|
1640
|
+
* },
|
|
1641
|
+
* _count: {
|
|
1642
|
+
* _all: true
|
|
1643
|
+
* },
|
|
1644
|
+
* })
|
|
1645
|
+
*
|
|
1646
|
+
**/
|
|
1647
|
+
groupBy<
|
|
1648
|
+
T extends ProjectGroupByArgs,
|
|
1649
|
+
HasSelectOrTake extends Prisma.Or<
|
|
1650
|
+
Prisma.Extends<'skip', Prisma.Keys<T>>,
|
|
1651
|
+
Prisma.Extends<'take', Prisma.Keys<T>>
|
|
1652
|
+
>,
|
|
1653
|
+
OrderByArg extends Prisma.True extends HasSelectOrTake
|
|
1654
|
+
? { orderBy: ProjectGroupByArgs['orderBy'] }
|
|
1655
|
+
: { orderBy?: ProjectGroupByArgs['orderBy'] },
|
|
1656
|
+
OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
|
|
1657
|
+
ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
|
|
1658
|
+
ByValid extends Prisma.Has<ByFields, OrderFields>,
|
|
1659
|
+
HavingFields extends Prisma.GetHavingFields<T['having']>,
|
|
1660
|
+
HavingValid extends Prisma.Has<ByFields, HavingFields>,
|
|
1661
|
+
ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False,
|
|
1662
|
+
InputErrors extends ByEmpty extends Prisma.True
|
|
1663
|
+
? `Error: "by" must not be empty.`
|
|
1664
|
+
: HavingValid extends Prisma.False
|
|
1665
|
+
? {
|
|
1666
|
+
[P in HavingFields]: P extends ByFields
|
|
1667
|
+
? never
|
|
1668
|
+
: P extends string
|
|
1669
|
+
? `Error: Field "${P}" used in "having" needs to be provided in "by".`
|
|
1670
|
+
: [
|
|
1671
|
+
Error,
|
|
1672
|
+
'Field ',
|
|
1673
|
+
P,
|
|
1674
|
+
` in "having" needs to be provided in "by"`,
|
|
1675
|
+
]
|
|
1676
|
+
}[HavingFields]
|
|
1677
|
+
: 'take' extends Prisma.Keys<T>
|
|
1678
|
+
? 'orderBy' extends Prisma.Keys<T>
|
|
1679
|
+
? ByValid extends Prisma.True
|
|
1680
|
+
? {}
|
|
1681
|
+
: {
|
|
1682
|
+
[P in OrderFields]: P extends ByFields
|
|
1683
|
+
? never
|
|
1684
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
1685
|
+
}[OrderFields]
|
|
1686
|
+
: 'Error: If you provide "take", you also need to provide "orderBy"'
|
|
1687
|
+
: 'skip' extends Prisma.Keys<T>
|
|
1688
|
+
? 'orderBy' extends Prisma.Keys<T>
|
|
1689
|
+
? ByValid extends Prisma.True
|
|
1690
|
+
? {}
|
|
1691
|
+
: {
|
|
1692
|
+
[P in OrderFields]: P extends ByFields
|
|
1693
|
+
? never
|
|
1694
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
1695
|
+
}[OrderFields]
|
|
1696
|
+
: 'Error: If you provide "skip", you also need to provide "orderBy"'
|
|
1697
|
+
: ByValid extends Prisma.True
|
|
1698
|
+
? {}
|
|
1699
|
+
: {
|
|
1700
|
+
[P in OrderFields]: P extends ByFields
|
|
1701
|
+
? never
|
|
1702
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
1703
|
+
}[OrderFields]
|
|
1704
|
+
>(args: Prisma.SubsetIntersection<T, ProjectGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetProjectGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
1705
|
+
/**
|
|
1706
|
+
* Fields of the Project model
|
|
1707
|
+
*/
|
|
1708
|
+
readonly fields: ProjectFieldRefs;
|
|
1709
|
+
}
|
|
1710
|
+
|
|
1711
|
+
/**
|
|
1712
|
+
* The delegate class that acts as a "Promise-like" for Project.
|
|
1713
|
+
* Why is this prefixed with `Prisma__`?
|
|
1714
|
+
* Because we want to prevent naming conflicts as mentioned in
|
|
1715
|
+
* https://github.com/prisma/prisma-client-js/issues/707
|
|
1716
|
+
*/
|
|
1717
|
+
export interface Prisma__ProjectClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
1718
|
+
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
1719
|
+
space<T extends Prisma.ProjectSpaceDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.ProjectSpaceDefaultArgs<ExtArgs>>): Prisma.Prisma__ProjectSpaceClient<runtime.Types.Result.GetResult<Prisma.$ProjectSpacePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
|
|
1720
|
+
modelStorage<T extends Prisma.ProjectModelStorageDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.ProjectModelStorageDefaultArgs<ExtArgs>>): Prisma.Prisma__ProjectModelStorageClient<runtime.Types.Result.GetResult<Prisma.$ProjectModelStoragePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
|
|
1721
|
+
library<T extends Prisma.LibraryDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.LibraryDefaultArgs<ExtArgs>>): Prisma.Prisma__LibraryClient<runtime.Types.Result.GetResult<Prisma.$LibraryPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
|
|
1722
|
+
pulumiBackend<T extends Prisma.PulumiBackendDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.PulumiBackendDefaultArgs<ExtArgs>>): Prisma.Prisma__PulumiBackendClient<runtime.Types.Result.GetResult<Prisma.$PulumiBackendPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
|
|
1723
|
+
/**
|
|
1724
|
+
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
1725
|
+
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
1726
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
1727
|
+
* @returns A Promise for the completion of which ever callback is executed.
|
|
1728
|
+
*/
|
|
1729
|
+
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>
|
|
1730
|
+
/**
|
|
1731
|
+
* Attaches a callback for only the rejection of the Promise.
|
|
1732
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
1733
|
+
* @returns A Promise for the completion of the callback.
|
|
1734
|
+
*/
|
|
1735
|
+
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
|
|
1736
|
+
/**
|
|
1737
|
+
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
1738
|
+
* resolved value cannot be modified from the callback.
|
|
1739
|
+
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
1740
|
+
* @returns A Promise for the completion of the callback.
|
|
1741
|
+
*/
|
|
1742
|
+
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
|
|
1743
|
+
}
|
|
1744
|
+
|
|
1745
|
+
|
|
1746
|
+
|
|
1747
|
+
|
|
1748
|
+
/**
|
|
1749
|
+
* Fields of the Project model
|
|
1750
|
+
*/
|
|
1751
|
+
export interface ProjectFieldRefs {
|
|
1752
|
+
readonly id: Prisma.FieldRef<"Project", 'String'>
|
|
1753
|
+
readonly meta: Prisma.FieldRef<"Project", 'Json'>
|
|
1754
|
+
readonly name: Prisma.FieldRef<"Project", 'String'>
|
|
1755
|
+
readonly spaceId: Prisma.FieldRef<"Project", 'String'>
|
|
1756
|
+
readonly modelStorageId: Prisma.FieldRef<"Project", 'String'>
|
|
1757
|
+
readonly libraryId: Prisma.FieldRef<"Project", 'String'>
|
|
1758
|
+
readonly pulumiBackendId: Prisma.FieldRef<"Project", 'String'>
|
|
1759
|
+
readonly encryptedMasterKey: Prisma.FieldRef<"Project", 'String'>
|
|
1760
|
+
readonly unlockSuite: Prisma.FieldRef<"Project", 'Json'>
|
|
1761
|
+
readonly databaseVersion: Prisma.FieldRef<"Project", 'Int'>
|
|
1762
|
+
readonly createdAt: Prisma.FieldRef<"Project", 'DateTime'>
|
|
1763
|
+
readonly updatedAt: Prisma.FieldRef<"Project", 'DateTime'>
|
|
1764
|
+
}
|
|
1765
|
+
|
|
1766
|
+
|
|
1767
|
+
// Custom InputTypes
|
|
1768
|
+
/**
|
|
1769
|
+
* Project findUnique
|
|
1770
|
+
*/
|
|
1771
|
+
export type ProjectFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1772
|
+
/**
|
|
1773
|
+
* Select specific fields to fetch from the Project
|
|
1774
|
+
*/
|
|
1775
|
+
select?: Prisma.ProjectSelect<ExtArgs> | null
|
|
1776
|
+
/**
|
|
1777
|
+
* Omit specific fields from the Project
|
|
1778
|
+
*/
|
|
1779
|
+
omit?: Prisma.ProjectOmit<ExtArgs> | null
|
|
1780
|
+
/**
|
|
1781
|
+
* Choose, which related nodes to fetch as well
|
|
1782
|
+
*/
|
|
1783
|
+
include?: Prisma.ProjectInclude<ExtArgs> | null
|
|
1784
|
+
/**
|
|
1785
|
+
* Filter, which Project to fetch.
|
|
1786
|
+
*/
|
|
1787
|
+
where: Prisma.ProjectWhereUniqueInput
|
|
1788
|
+
}
|
|
1789
|
+
|
|
1790
|
+
/**
|
|
1791
|
+
* Project findUniqueOrThrow
|
|
1792
|
+
*/
|
|
1793
|
+
export type ProjectFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1794
|
+
/**
|
|
1795
|
+
* Select specific fields to fetch from the Project
|
|
1796
|
+
*/
|
|
1797
|
+
select?: Prisma.ProjectSelect<ExtArgs> | null
|
|
1798
|
+
/**
|
|
1799
|
+
* Omit specific fields from the Project
|
|
1800
|
+
*/
|
|
1801
|
+
omit?: Prisma.ProjectOmit<ExtArgs> | null
|
|
1802
|
+
/**
|
|
1803
|
+
* Choose, which related nodes to fetch as well
|
|
1804
|
+
*/
|
|
1805
|
+
include?: Prisma.ProjectInclude<ExtArgs> | null
|
|
1806
|
+
/**
|
|
1807
|
+
* Filter, which Project to fetch.
|
|
1808
|
+
*/
|
|
1809
|
+
where: Prisma.ProjectWhereUniqueInput
|
|
1810
|
+
}
|
|
1811
|
+
|
|
1812
|
+
/**
|
|
1813
|
+
* Project findFirst
|
|
1814
|
+
*/
|
|
1815
|
+
export type ProjectFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1816
|
+
/**
|
|
1817
|
+
* Select specific fields to fetch from the Project
|
|
1818
|
+
*/
|
|
1819
|
+
select?: Prisma.ProjectSelect<ExtArgs> | null
|
|
1820
|
+
/**
|
|
1821
|
+
* Omit specific fields from the Project
|
|
1822
|
+
*/
|
|
1823
|
+
omit?: Prisma.ProjectOmit<ExtArgs> | null
|
|
1824
|
+
/**
|
|
1825
|
+
* Choose, which related nodes to fetch as well
|
|
1826
|
+
*/
|
|
1827
|
+
include?: Prisma.ProjectInclude<ExtArgs> | null
|
|
1828
|
+
/**
|
|
1829
|
+
* Filter, which Project to fetch.
|
|
1830
|
+
*/
|
|
1831
|
+
where?: Prisma.ProjectWhereInput
|
|
1832
|
+
/**
|
|
1833
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1834
|
+
*
|
|
1835
|
+
* Determine the order of Projects to fetch.
|
|
1836
|
+
*/
|
|
1837
|
+
orderBy?: Prisma.ProjectOrderByWithRelationInput | Prisma.ProjectOrderByWithRelationInput[]
|
|
1838
|
+
/**
|
|
1839
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1840
|
+
*
|
|
1841
|
+
* Sets the position for searching for Projects.
|
|
1842
|
+
*/
|
|
1843
|
+
cursor?: Prisma.ProjectWhereUniqueInput
|
|
1844
|
+
/**
|
|
1845
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1846
|
+
*
|
|
1847
|
+
* Take `±n` Projects from the position of the cursor.
|
|
1848
|
+
*/
|
|
1849
|
+
take?: number
|
|
1850
|
+
/**
|
|
1851
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1852
|
+
*
|
|
1853
|
+
* Skip the first `n` Projects.
|
|
1854
|
+
*/
|
|
1855
|
+
skip?: number
|
|
1856
|
+
/**
|
|
1857
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1858
|
+
*
|
|
1859
|
+
* Filter by unique combinations of Projects.
|
|
1860
|
+
*/
|
|
1861
|
+
distinct?: Prisma.ProjectScalarFieldEnum | Prisma.ProjectScalarFieldEnum[]
|
|
1862
|
+
}
|
|
1863
|
+
|
|
1864
|
+
/**
|
|
1865
|
+
* Project findFirstOrThrow
|
|
1866
|
+
*/
|
|
1867
|
+
export type ProjectFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1868
|
+
/**
|
|
1869
|
+
* Select specific fields to fetch from the Project
|
|
1870
|
+
*/
|
|
1871
|
+
select?: Prisma.ProjectSelect<ExtArgs> | null
|
|
1872
|
+
/**
|
|
1873
|
+
* Omit specific fields from the Project
|
|
1874
|
+
*/
|
|
1875
|
+
omit?: Prisma.ProjectOmit<ExtArgs> | null
|
|
1876
|
+
/**
|
|
1877
|
+
* Choose, which related nodes to fetch as well
|
|
1878
|
+
*/
|
|
1879
|
+
include?: Prisma.ProjectInclude<ExtArgs> | null
|
|
1880
|
+
/**
|
|
1881
|
+
* Filter, which Project to fetch.
|
|
1882
|
+
*/
|
|
1883
|
+
where?: Prisma.ProjectWhereInput
|
|
1884
|
+
/**
|
|
1885
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1886
|
+
*
|
|
1887
|
+
* Determine the order of Projects to fetch.
|
|
1888
|
+
*/
|
|
1889
|
+
orderBy?: Prisma.ProjectOrderByWithRelationInput | Prisma.ProjectOrderByWithRelationInput[]
|
|
1890
|
+
/**
|
|
1891
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1892
|
+
*
|
|
1893
|
+
* Sets the position for searching for Projects.
|
|
1894
|
+
*/
|
|
1895
|
+
cursor?: Prisma.ProjectWhereUniqueInput
|
|
1896
|
+
/**
|
|
1897
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1898
|
+
*
|
|
1899
|
+
* Take `±n` Projects from the position of the cursor.
|
|
1900
|
+
*/
|
|
1901
|
+
take?: number
|
|
1902
|
+
/**
|
|
1903
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1904
|
+
*
|
|
1905
|
+
* Skip the first `n` Projects.
|
|
1906
|
+
*/
|
|
1907
|
+
skip?: number
|
|
1908
|
+
/**
|
|
1909
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1910
|
+
*
|
|
1911
|
+
* Filter by unique combinations of Projects.
|
|
1912
|
+
*/
|
|
1913
|
+
distinct?: Prisma.ProjectScalarFieldEnum | Prisma.ProjectScalarFieldEnum[]
|
|
1914
|
+
}
|
|
1915
|
+
|
|
1916
|
+
/**
|
|
1917
|
+
* Project findMany
|
|
1918
|
+
*/
|
|
1919
|
+
export type ProjectFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1920
|
+
/**
|
|
1921
|
+
* Select specific fields to fetch from the Project
|
|
1922
|
+
*/
|
|
1923
|
+
select?: Prisma.ProjectSelect<ExtArgs> | null
|
|
1924
|
+
/**
|
|
1925
|
+
* Omit specific fields from the Project
|
|
1926
|
+
*/
|
|
1927
|
+
omit?: Prisma.ProjectOmit<ExtArgs> | null
|
|
1928
|
+
/**
|
|
1929
|
+
* Choose, which related nodes to fetch as well
|
|
1930
|
+
*/
|
|
1931
|
+
include?: Prisma.ProjectInclude<ExtArgs> | null
|
|
1932
|
+
/**
|
|
1933
|
+
* Filter, which Projects to fetch.
|
|
1934
|
+
*/
|
|
1935
|
+
where?: Prisma.ProjectWhereInput
|
|
1936
|
+
/**
|
|
1937
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1938
|
+
*
|
|
1939
|
+
* Determine the order of Projects to fetch.
|
|
1940
|
+
*/
|
|
1941
|
+
orderBy?: Prisma.ProjectOrderByWithRelationInput | Prisma.ProjectOrderByWithRelationInput[]
|
|
1942
|
+
/**
|
|
1943
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1944
|
+
*
|
|
1945
|
+
* Sets the position for listing Projects.
|
|
1946
|
+
*/
|
|
1947
|
+
cursor?: Prisma.ProjectWhereUniqueInput
|
|
1948
|
+
/**
|
|
1949
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1950
|
+
*
|
|
1951
|
+
* Take `±n` Projects from the position of the cursor.
|
|
1952
|
+
*/
|
|
1953
|
+
take?: number
|
|
1954
|
+
/**
|
|
1955
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1956
|
+
*
|
|
1957
|
+
* Skip the first `n` Projects.
|
|
1958
|
+
*/
|
|
1959
|
+
skip?: number
|
|
1960
|
+
distinct?: Prisma.ProjectScalarFieldEnum | Prisma.ProjectScalarFieldEnum[]
|
|
1961
|
+
}
|
|
1962
|
+
|
|
1963
|
+
/**
|
|
1964
|
+
* Project create
|
|
1965
|
+
*/
|
|
1966
|
+
export type ProjectCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1967
|
+
/**
|
|
1968
|
+
* Select specific fields to fetch from the Project
|
|
1969
|
+
*/
|
|
1970
|
+
select?: Prisma.ProjectSelect<ExtArgs> | null
|
|
1971
|
+
/**
|
|
1972
|
+
* Omit specific fields from the Project
|
|
1973
|
+
*/
|
|
1974
|
+
omit?: Prisma.ProjectOmit<ExtArgs> | null
|
|
1975
|
+
/**
|
|
1976
|
+
* Choose, which related nodes to fetch as well
|
|
1977
|
+
*/
|
|
1978
|
+
include?: Prisma.ProjectInclude<ExtArgs> | null
|
|
1979
|
+
/**
|
|
1980
|
+
* The data needed to create a Project.
|
|
1981
|
+
*/
|
|
1982
|
+
data: Prisma.XOR<Prisma.ProjectCreateInput, Prisma.ProjectUncheckedCreateInput>
|
|
1983
|
+
}
|
|
1984
|
+
|
|
1985
|
+
/**
|
|
1986
|
+
* Project createMany
|
|
1987
|
+
*/
|
|
1988
|
+
export type ProjectCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1989
|
+
/**
|
|
1990
|
+
* The data used to create many Projects.
|
|
1991
|
+
*/
|
|
1992
|
+
data: Prisma.ProjectCreateManyInput | Prisma.ProjectCreateManyInput[]
|
|
1993
|
+
skipDuplicates?: boolean
|
|
1994
|
+
}
|
|
1995
|
+
|
|
1996
|
+
/**
|
|
1997
|
+
* Project createManyAndReturn
|
|
1998
|
+
*/
|
|
1999
|
+
export type ProjectCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2000
|
+
/**
|
|
2001
|
+
* Select specific fields to fetch from the Project
|
|
2002
|
+
*/
|
|
2003
|
+
select?: Prisma.ProjectSelectCreateManyAndReturn<ExtArgs> | null
|
|
2004
|
+
/**
|
|
2005
|
+
* Omit specific fields from the Project
|
|
2006
|
+
*/
|
|
2007
|
+
omit?: Prisma.ProjectOmit<ExtArgs> | null
|
|
2008
|
+
/**
|
|
2009
|
+
* The data used to create many Projects.
|
|
2010
|
+
*/
|
|
2011
|
+
data: Prisma.ProjectCreateManyInput | Prisma.ProjectCreateManyInput[]
|
|
2012
|
+
skipDuplicates?: boolean
|
|
2013
|
+
/**
|
|
2014
|
+
* Choose, which related nodes to fetch as well
|
|
2015
|
+
*/
|
|
2016
|
+
include?: Prisma.ProjectIncludeCreateManyAndReturn<ExtArgs> | null
|
|
2017
|
+
}
|
|
2018
|
+
|
|
2019
|
+
/**
|
|
2020
|
+
* Project update
|
|
2021
|
+
*/
|
|
2022
|
+
export type ProjectUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2023
|
+
/**
|
|
2024
|
+
* Select specific fields to fetch from the Project
|
|
2025
|
+
*/
|
|
2026
|
+
select?: Prisma.ProjectSelect<ExtArgs> | null
|
|
2027
|
+
/**
|
|
2028
|
+
* Omit specific fields from the Project
|
|
2029
|
+
*/
|
|
2030
|
+
omit?: Prisma.ProjectOmit<ExtArgs> | null
|
|
2031
|
+
/**
|
|
2032
|
+
* Choose, which related nodes to fetch as well
|
|
2033
|
+
*/
|
|
2034
|
+
include?: Prisma.ProjectInclude<ExtArgs> | null
|
|
2035
|
+
/**
|
|
2036
|
+
* The data needed to update a Project.
|
|
2037
|
+
*/
|
|
2038
|
+
data: Prisma.XOR<Prisma.ProjectUpdateInput, Prisma.ProjectUncheckedUpdateInput>
|
|
2039
|
+
/**
|
|
2040
|
+
* Choose, which Project to update.
|
|
2041
|
+
*/
|
|
2042
|
+
where: Prisma.ProjectWhereUniqueInput
|
|
2043
|
+
}
|
|
2044
|
+
|
|
2045
|
+
/**
|
|
2046
|
+
* Project updateMany
|
|
2047
|
+
*/
|
|
2048
|
+
export type ProjectUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2049
|
+
/**
|
|
2050
|
+
* The data used to update Projects.
|
|
2051
|
+
*/
|
|
2052
|
+
data: Prisma.XOR<Prisma.ProjectUpdateManyMutationInput, Prisma.ProjectUncheckedUpdateManyInput>
|
|
2053
|
+
/**
|
|
2054
|
+
* Filter which Projects to update
|
|
2055
|
+
*/
|
|
2056
|
+
where?: Prisma.ProjectWhereInput
|
|
2057
|
+
/**
|
|
2058
|
+
* Limit how many Projects to update.
|
|
2059
|
+
*/
|
|
2060
|
+
limit?: number
|
|
2061
|
+
}
|
|
2062
|
+
|
|
2063
|
+
/**
|
|
2064
|
+
* Project updateManyAndReturn
|
|
2065
|
+
*/
|
|
2066
|
+
export type ProjectUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2067
|
+
/**
|
|
2068
|
+
* Select specific fields to fetch from the Project
|
|
2069
|
+
*/
|
|
2070
|
+
select?: Prisma.ProjectSelectUpdateManyAndReturn<ExtArgs> | null
|
|
2071
|
+
/**
|
|
2072
|
+
* Omit specific fields from the Project
|
|
2073
|
+
*/
|
|
2074
|
+
omit?: Prisma.ProjectOmit<ExtArgs> | null
|
|
2075
|
+
/**
|
|
2076
|
+
* The data used to update Projects.
|
|
2077
|
+
*/
|
|
2078
|
+
data: Prisma.XOR<Prisma.ProjectUpdateManyMutationInput, Prisma.ProjectUncheckedUpdateManyInput>
|
|
2079
|
+
/**
|
|
2080
|
+
* Filter which Projects to update
|
|
2081
|
+
*/
|
|
2082
|
+
where?: Prisma.ProjectWhereInput
|
|
2083
|
+
/**
|
|
2084
|
+
* Limit how many Projects to update.
|
|
2085
|
+
*/
|
|
2086
|
+
limit?: number
|
|
2087
|
+
/**
|
|
2088
|
+
* Choose, which related nodes to fetch as well
|
|
2089
|
+
*/
|
|
2090
|
+
include?: Prisma.ProjectIncludeUpdateManyAndReturn<ExtArgs> | null
|
|
2091
|
+
}
|
|
2092
|
+
|
|
2093
|
+
/**
|
|
2094
|
+
* Project upsert
|
|
2095
|
+
*/
|
|
2096
|
+
export type ProjectUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2097
|
+
/**
|
|
2098
|
+
* Select specific fields to fetch from the Project
|
|
2099
|
+
*/
|
|
2100
|
+
select?: Prisma.ProjectSelect<ExtArgs> | null
|
|
2101
|
+
/**
|
|
2102
|
+
* Omit specific fields from the Project
|
|
2103
|
+
*/
|
|
2104
|
+
omit?: Prisma.ProjectOmit<ExtArgs> | null
|
|
2105
|
+
/**
|
|
2106
|
+
* Choose, which related nodes to fetch as well
|
|
2107
|
+
*/
|
|
2108
|
+
include?: Prisma.ProjectInclude<ExtArgs> | null
|
|
2109
|
+
/**
|
|
2110
|
+
* The filter to search for the Project to update in case it exists.
|
|
2111
|
+
*/
|
|
2112
|
+
where: Prisma.ProjectWhereUniqueInput
|
|
2113
|
+
/**
|
|
2114
|
+
* In case the Project found by the `where` argument doesn't exist, create a new Project with this data.
|
|
2115
|
+
*/
|
|
2116
|
+
create: Prisma.XOR<Prisma.ProjectCreateInput, Prisma.ProjectUncheckedCreateInput>
|
|
2117
|
+
/**
|
|
2118
|
+
* In case the Project was found with the provided `where` argument, update it with this data.
|
|
2119
|
+
*/
|
|
2120
|
+
update: Prisma.XOR<Prisma.ProjectUpdateInput, Prisma.ProjectUncheckedUpdateInput>
|
|
2121
|
+
}
|
|
2122
|
+
|
|
2123
|
+
/**
|
|
2124
|
+
* Project delete
|
|
2125
|
+
*/
|
|
2126
|
+
export type ProjectDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2127
|
+
/**
|
|
2128
|
+
* Select specific fields to fetch from the Project
|
|
2129
|
+
*/
|
|
2130
|
+
select?: Prisma.ProjectSelect<ExtArgs> | null
|
|
2131
|
+
/**
|
|
2132
|
+
* Omit specific fields from the Project
|
|
2133
|
+
*/
|
|
2134
|
+
omit?: Prisma.ProjectOmit<ExtArgs> | null
|
|
2135
|
+
/**
|
|
2136
|
+
* Choose, which related nodes to fetch as well
|
|
2137
|
+
*/
|
|
2138
|
+
include?: Prisma.ProjectInclude<ExtArgs> | null
|
|
2139
|
+
/**
|
|
2140
|
+
* Filter which Project to delete.
|
|
2141
|
+
*/
|
|
2142
|
+
where: Prisma.ProjectWhereUniqueInput
|
|
2143
|
+
}
|
|
2144
|
+
|
|
2145
|
+
/**
|
|
2146
|
+
* Project deleteMany
|
|
2147
|
+
*/
|
|
2148
|
+
export type ProjectDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2149
|
+
/**
|
|
2150
|
+
* Filter which Projects to delete
|
|
2151
|
+
*/
|
|
2152
|
+
where?: Prisma.ProjectWhereInput
|
|
2153
|
+
/**
|
|
2154
|
+
* Limit how many Projects to delete.
|
|
2155
|
+
*/
|
|
2156
|
+
limit?: number
|
|
2157
|
+
}
|
|
2158
|
+
|
|
2159
|
+
/**
|
|
2160
|
+
* Project without action
|
|
2161
|
+
*/
|
|
2162
|
+
export type ProjectDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2163
|
+
/**
|
|
2164
|
+
* Select specific fields to fetch from the Project
|
|
2165
|
+
*/
|
|
2166
|
+
select?: Prisma.ProjectSelect<ExtArgs> | null
|
|
2167
|
+
/**
|
|
2168
|
+
* Omit specific fields from the Project
|
|
2169
|
+
*/
|
|
2170
|
+
omit?: Prisma.ProjectOmit<ExtArgs> | null
|
|
2171
|
+
/**
|
|
2172
|
+
* Choose, which related nodes to fetch as well
|
|
2173
|
+
*/
|
|
2174
|
+
include?: Prisma.ProjectInclude<ExtArgs> | null
|
|
2175
|
+
}
|