@highstate/backend 0.9.18 → 0.9.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chunk-5WVU2AK4.js +1535 -0
- package/dist/chunk-5WVU2AK4.js.map +1 -0
- package/dist/{chunk-OU5OQBLB.js → chunk-I7BWSAN6.js} +3 -28
- package/dist/{chunk-OU5OQBLB.js.map → chunk-I7BWSAN6.js.map} +1 -1
- package/dist/chunk-VB4YL327.js +139 -0
- package/dist/chunk-VB4YL327.js.map +1 -0
- package/dist/database/local/prisma.config.js +26 -0
- package/dist/database/local/prisma.config.js.map +1 -0
- package/dist/highstate.manifest.json +2 -1
- package/dist/index.js +7587 -7291
- package/dist/index.js.map +1 -1
- package/dist/library/package-resolution-worker.js +1 -1
- package/dist/library/package-resolution-worker.js.map +1 -1
- package/dist/library/worker/main.js +35 -29
- package/dist/library/worker/main.js.map +1 -1
- package/dist/shared/index.js +2 -2
- package/package.json +18 -9
- package/prisma/backend/_schema/layout.prisma +7 -0
- package/prisma/backend/_schema/library.prisma +17 -0
- package/prisma/backend/_schema/project.prisma +101 -0
- package/prisma/backend/_schema/pulumi.prisma +17 -0
- package/prisma/backend/postgresql/main.prisma +17 -0
- package/prisma/backend/sqlite/main.prisma +17 -0
- package/prisma/backend/sqlite/migrations/20250817070609_initiial/migration.sql +34 -0
- package/prisma/backend/sqlite/migrations/20250817104948_add_fields/migration.sql +59 -0
- package/prisma/backend/sqlite/migrations/20250818082732_add_models/migration.sql +41 -0
- package/prisma/backend/sqlite/migrations/20250818083106_a/migration.sql +19 -0
- package/prisma/backend/sqlite/migrations/20250818101945_hi/migration.sql +1 -0
- package/prisma/backend/sqlite/migrations/20250819082315_a/migration.sql +5 -0
- package/prisma/backend/sqlite/migrations/migration_lock.toml +3 -0
- package/prisma/project/api-key.prisma +27 -0
- package/prisma/project/artifact.prisma +52 -0
- package/prisma/project/custom-status.prisma +46 -0
- package/prisma/project/evaluation.prisma +35 -0
- package/prisma/project/instance.prisma +160 -0
- package/prisma/project/layout.prisma +23 -0
- package/prisma/project/lock.prisma +18 -0
- package/prisma/project/main.prisma +17 -0
- package/prisma/project/migrations/20250816081310_initial/migration.sql +300 -0
- package/prisma/project/migrations/20250816082523_test/migration.sql +72 -0
- package/prisma/project/migrations/20250818065643_update/migration.sql +42 -0
- package/prisma/project/migrations/20250818070758_a/migration.sql +8 -0
- package/prisma/project/migrations/20250818070913_a/migration.sql +8 -0
- package/prisma/project/migrations/20250818082720_add_motels/migration.sql +11 -0
- package/prisma/project/migrations/20250818112523_hello/migration.sql +35 -0
- package/prisma/project/migrations/20250819082305_a/migration.sql +14 -0
- package/prisma/project/migrations/20250819165004_add_missing_fields/migration.sql +216 -0
- package/prisma/project/migrations/20250819171309_a/migration.sql +22 -0
- package/prisma/project/migrations/20250820113949_a/migration.sql +66 -0
- package/prisma/project/migrations/20250820144256_b/migration.sql +31 -0
- package/prisma/project/migrations/20250820145547_a/migration.sql +24 -0
- package/prisma/project/migrations/20250820182517_b/migration.sql +2 -0
- package/prisma/project/migrations/20250821172324_a/migration.sql +2 -0
- package/prisma/project/migrations/20250822081339_a/migration.sql +219 -0
- package/prisma/project/migrations/20250822083742_b/migration.sql +1 -0
- package/prisma/project/migrations/20250822105134_boom/migration.sql +1 -0
- package/prisma/project/migrations/20250822141028_b/migration.sql +1 -0
- package/prisma/project/migrations/20250822142342_b/migration.sql +16 -0
- package/prisma/project/migrations/20250824072720_a/migration.sql +1 -0
- package/prisma/project/migrations/20250824093656_b/migration.sql +21 -0
- package/prisma/project/migrations/20250825082518_a/migration.sql +1 -0
- package/prisma/project/migrations/20250825085343_b/migration.sql +1 -0
- package/prisma/project/migrations/20250825091312_a/migration.sql +1 -0
- package/prisma/project/migrations/20250903095431_hi/migration.sql +44 -0
- package/prisma/project/migrations/20250903174255_a/migration.sql +24 -0
- package/prisma/project/migrations/20250908095205_hi/migration.sql +18 -0
- package/prisma/project/migrations/20250909155857_hi/migration.sql +15 -0
- package/prisma/project/migrations/migration_lock.toml +3 -0
- package/prisma/project/model.prisma +37 -0
- package/prisma/project/operation.prisma +148 -0
- package/prisma/project/page.prisma +41 -0
- package/prisma/project/secret.prisma +42 -0
- package/prisma/project/service-account.prisma +36 -0
- package/prisma/project/terminal.prisma +90 -0
- package/prisma/project/trigger.prisma +31 -0
- package/prisma/project/unlock-method.prisma +32 -0
- package/prisma/project/worker.prisma +138 -0
- package/src/artifact/abstractions.ts +13 -13
- package/src/artifact/encryption.ts +30 -54
- package/src/artifact/factory.ts +6 -9
- package/src/artifact/local.ts +33 -46
- package/src/business/api-key.ts +24 -36
- package/src/business/artifact.test.ts +978 -0
- package/src/business/artifact.ts +136 -216
- package/src/business/evaluation.ts +328 -0
- package/src/business/index.ts +5 -2
- package/src/business/instance-lock.test.ts +1060 -0
- package/src/business/instance-lock.ts +387 -78
- package/src/business/instance-state.test.ts +735 -0
- package/src/business/instance-state.ts +582 -337
- package/src/business/operation.test.ts +439 -0
- package/src/business/operation.ts +174 -208
- package/src/business/project-model.ts +258 -0
- package/src/business/project-unlock.ts +168 -126
- package/src/business/project.ts +287 -179
- package/src/business/secret.test.ts +465 -130
- package/src/business/secret.ts +186 -217
- package/src/business/settings.test.ts +695 -0
- package/src/business/settings.ts +855 -0
- package/src/business/terminal-session.ts +90 -0
- package/src/business/unit-extra.test.ts +539 -0
- package/src/business/unit-extra.ts +160 -0
- package/src/business/worker.test.ts +356 -579
- package/src/business/worker.ts +238 -339
- package/src/common/codebase.ts +65 -0
- package/src/common/index.ts +3 -5
- package/src/common/logger.ts +5 -0
- package/src/common/utils.ts +4 -3
- package/src/config.ts +10 -11
- package/src/database/_generated/backend/postgresql/client.ts +72 -0
- package/src/database/_generated/backend/postgresql/commonInputTypes.ts +350 -0
- package/src/database/_generated/backend/postgresql/enums.ts +13 -0
- package/src/database/_generated/backend/postgresql/internal/class.ts +320 -0
- package/src/database/_generated/backend/postgresql/internal/prismaNamespace.ts +1238 -0
- package/src/database/_generated/backend/postgresql/models/Library.ts +1263 -0
- package/src/database/_generated/backend/postgresql/models/Project.ts +2175 -0
- package/src/database/_generated/backend/postgresql/models/ProjectModelStorage.ts +1263 -0
- package/src/database/_generated/backend/postgresql/models/ProjectSpace.ts +1602 -0
- package/src/database/_generated/backend/postgresql/models/PulumiBackend.ts +1263 -0
- package/src/database/_generated/backend/postgresql/models/UserWorkspaseLayout.ts +1065 -0
- package/src/database/_generated/backend/postgresql/models.ts +16 -0
- package/src/database/_generated/backend/postgresql/pjtg.ts +182 -0
- package/src/database/_generated/backend/sqlite/client.ts +72 -0
- package/src/database/_generated/backend/sqlite/commonInputTypes.ts +331 -0
- package/src/database/_generated/backend/sqlite/enums.ts +13 -0
- package/src/database/_generated/backend/sqlite/internal/class.ts +318 -0
- package/src/database/_generated/backend/sqlite/internal/prismaNamespace.ts +1207 -0
- package/src/database/_generated/backend/sqlite/models/Library.ts +1261 -0
- package/src/database/_generated/backend/sqlite/models/Project.ts +2169 -0
- package/src/database/_generated/backend/sqlite/models/ProjectModelStorage.ts +1261 -0
- package/src/database/_generated/backend/sqlite/models/ProjectSpace.ts +1599 -0
- package/src/database/_generated/backend/sqlite/models/PulumiBackend.ts +1261 -0
- package/src/database/_generated/backend/sqlite/models/UserWorkspaseLayout.ts +1063 -0
- package/src/database/_generated/backend/sqlite/models.ts +16 -0
- package/src/database/_generated/backend/sqlite/pjtg.ts +182 -0
- package/src/database/_generated/project/client.ts +204 -0
- package/src/database/_generated/project/commonInputTypes.ts +827 -0
- package/src/database/_generated/project/enums.ts +104 -0
- package/src/database/_generated/project/internal/class.ts +479 -0
- package/src/database/_generated/project/internal/prismaNamespace.ts +2974 -0
- package/src/database/_generated/project/models/ApiKey.ts +1506 -0
- package/src/database/_generated/project/models/Artifact.ts +2051 -0
- package/src/database/_generated/project/models/HubModel.ts +1125 -0
- package/src/database/_generated/project/models/InstanceCustomStatus.ts +1713 -0
- package/src/database/_generated/project/models/InstanceEvaluationState.ts +1312 -0
- package/src/database/_generated/project/models/InstanceLock.ts +1268 -0
- package/src/database/_generated/project/models/InstanceModel.ts +1125 -0
- package/src/database/_generated/project/models/InstanceOperationState.ts +1707 -0
- package/src/database/_generated/project/models/InstanceState.ts +4613 -0
- package/src/database/_generated/project/models/Operation.ts +1647 -0
- package/src/database/_generated/project/models/OperationLog.ts +1455 -0
- package/src/database/_generated/project/models/Page.ts +1838 -0
- package/src/database/_generated/project/models/Secret.ts +1692 -0
- package/src/database/_generated/project/models/ServiceAccount.ts +2165 -0
- package/src/database/_generated/project/models/Terminal.ts +2038 -0
- package/src/database/_generated/project/models/TerminalSession.ts +1454 -0
- package/src/database/_generated/project/models/TerminalSessionLog.ts +1280 -0
- package/src/database/_generated/project/models/Trigger.ts +1430 -0
- package/src/database/_generated/project/models/UnlockMethod.ts +1220 -0
- package/src/database/_generated/project/models/UserCompositeViewport.ts +1280 -0
- package/src/database/_generated/project/models/UserProjectViewport.ts +1059 -0
- package/src/database/_generated/project/models/Worker.ts +1459 -0
- package/src/database/_generated/project/models/WorkerUnitRegistration.ts +1524 -0
- package/src/database/_generated/project/models/WorkerVersion.ts +1974 -0
- package/src/database/_generated/project/models/WorkerVersionLog.ts +1318 -0
- package/src/database/_generated/project/models.ts +35 -0
- package/src/database/_generated/project/pjtg.ts +182 -0
- package/src/database/abstractions.ts +19 -0
- package/src/database/factory.ts +37 -0
- package/src/database/index.ts +6 -0
- package/src/database/local/backend.ts +134 -0
- package/src/database/local/index.ts +3 -0
- package/src/database/local/meta.ts +46 -0
- package/src/database/local/prisma.config.ts +25 -0
- package/src/database/local/project.ts +39 -0
- package/src/database/manager.ts +181 -0
- package/src/database/migrate.ts +35 -0
- package/src/database/prisma.ts +56 -0
- package/src/database/well-known.ts +38 -0
- package/src/index.ts +4 -4
- package/src/library/abstractions.ts +3 -5
- package/src/library/factory.ts +1 -1
- package/src/library/local.ts +81 -26
- package/src/library/package-resolution-worker.ts +1 -1
- package/src/library/worker/evaluator.ts +40 -23
- package/src/library/worker/loader.lite.ts +1 -1
- package/src/library/worker/main.ts +3 -10
- package/src/library/worker/protocol.ts +0 -1
- package/src/lock/index.ts +0 -1
- package/src/lock/manager.ts +0 -10
- package/src/orchestrator/manager.ts +190 -104
- package/src/orchestrator/operation-context.ts +357 -0
- package/src/orchestrator/operation-plan.destroy.test.md +357 -0
- package/src/orchestrator/operation-plan.destroy.test.ts +775 -0
- package/src/orchestrator/operation-plan.fixtures.ts +213 -0
- package/src/orchestrator/operation-plan.md +198 -0
- package/src/orchestrator/operation-plan.refresh.test.md +199 -0
- package/src/orchestrator/operation-plan.refresh.test.ts +367 -0
- package/src/orchestrator/operation-plan.ts +709 -0
- package/src/orchestrator/operation-plan.update.test.md +485 -0
- package/src/orchestrator/operation-plan.update.test.ts +1066 -0
- package/src/orchestrator/operation-workset.ts +233 -578
- package/src/orchestrator/operation.ts +435 -948
- package/src/orchestrator/plan-test-builder.ts +267 -0
- package/src/project-model/abstractions.ts +118 -0
- package/src/project-model/backends/codebase.ts +365 -0
- package/src/project-model/backends/database.ts +440 -0
- package/src/project-model/errors.ts +81 -0
- package/src/project-model/factory.ts +24 -0
- package/src/project-model/index.ts +4 -0
- package/src/project-model/utils.test.ts +544 -0
- package/src/project-model/utils.ts +242 -0
- package/src/pubsub/abstractions.ts +10 -1
- package/src/pubsub/factory.ts +4 -4
- package/src/pubsub/index.ts +1 -0
- package/src/pubsub/manager.ts +29 -13
- package/src/pubsub/memory.ts +31 -0
- package/src/runner/abstractions.ts +33 -41
- package/src/runner/artifact-env.ts +19 -8
- package/src/runner/factory.ts +6 -6
- package/src/runner/force-abort.ts +3 -6
- package/src/runner/local.ts +64 -67
- package/src/runner/pulumi.ts +23 -63
- package/src/services.ts +181 -123
- package/src/shared/models/backend/index.ts +3 -1
- package/src/shared/models/backend/library.ts +9 -1
- package/src/shared/models/backend/project.ts +43 -42
- package/src/shared/models/backend/pulumi.ts +14 -0
- package/src/shared/models/backend/unlock-method.ts +1 -1
- package/src/shared/models/backend/well-known.ts +58 -0
- package/src/shared/models/base.ts +40 -26
- package/src/shared/models/errors.ts +82 -1
- package/src/shared/models/index.ts +3 -2
- package/src/shared/models/prisma.ts +36 -0
- package/src/shared/models/project/api-key.ts +37 -59
- package/src/shared/models/project/artifact.ts +16 -76
- package/src/shared/models/project/custom-status.ts +12 -0
- package/src/shared/models/project/index.ts +8 -7
- package/src/shared/models/project/lock.ts +10 -78
- package/src/shared/models/project/model.ts +19 -1
- package/src/shared/models/project/operation.ts +222 -99
- package/src/shared/models/project/page.ts +37 -48
- package/src/shared/models/project/secret.ts +29 -89
- package/src/shared/models/project/service-account.ts +12 -17
- package/src/shared/models/project/state.ts +100 -407
- package/src/shared/models/project/terminal.ts +75 -88
- package/src/shared/models/project/trigger.ts +13 -49
- package/src/shared/models/project/unlock-method.ts +20 -26
- package/src/shared/models/project/worker.ts +89 -90
- package/src/shared/resolvers/graph-resolver.ts +21 -0
- package/src/shared/resolvers/index.ts +1 -1
- package/src/shared/resolvers/input-hash.ts +24 -14
- package/src/shared/resolvers/input.ts +1 -1
- package/src/shared/resolvers/registry.ts +5 -4
- package/src/shared/resolvers/state.ts +12 -1
- package/src/shared/resolvers/validation.ts +7 -3
- package/src/shared/utils/index.ts +1 -2
- package/src/shared/utils/promise-tracker.ts +30 -3
- package/src/terminal/abstractions.ts +1 -1
- package/src/terminal/docker.ts +3 -3
- package/src/terminal/manager.ts +102 -118
- package/src/test-utils/database.ts +119 -0
- package/src/test-utils/index.ts +2 -0
- package/src/test-utils/services.ts +134 -0
- package/src/unlock/abstractions.ts +5 -23
- package/src/unlock/memory.ts +9 -14
- package/src/worker/abstractions.ts +7 -4
- package/src/worker/docker.ts +14 -19
- package/src/worker/manager.ts +366 -97
- package/dist/chunk-NAAIDR4U.js +0 -8499
- package/dist/chunk-NAAIDR4U.js.map +0 -1
- package/dist/chunk-Y7DXREVO.js +0 -1745
- package/dist/chunk-Y7DXREVO.js.map +0 -1
- package/dist/magic-string.es-5ABAC4JN.js +0 -1292
- package/dist/magic-string.es-5ABAC4JN.js.map +0 -1
- package/src/business/__traces__/secret/update-instance-secrets/create-and-delete-secrets-simultaneously.md +0 -356
- package/src/business/__traces__/secret/update-instance-secrets/create-new-secrets-for-instance.md +0 -274
- package/src/business/__traces__/secret/update-instance-secrets/delete-existing-secrets.md +0 -223
- package/src/business/__traces__/secret/update-instance-secrets/no-op-when-no-changes.md +0 -147
- package/src/business/__traces__/secret/update-instance-secrets/update-existing-secrets.md +0 -280
- package/src/business/__traces__/worker/update-unit-registrations/add-new-unit-registration-when-other-exists.md +0 -360
- package/src/business/__traces__/worker/update-unit-registrations/add-new-unit-registration.md +0 -215
- package/src/business/__traces__/worker/update-unit-registrations/create-multiple-workers-with-different-identities.md +0 -427
- package/src/business/__traces__/worker/update-unit-registrations/handle-nonexistent-registration-id-gracefully.md +0 -217
- package/src/business/__traces__/worker/update-unit-registrations/no-op-when-no-changes.md +0 -132
- package/src/business/__traces__/worker/update-unit-registrations/recreate-worker-when-image-changes.md +0 -454
- package/src/business/__traces__/worker/update-unit-registrations/recreate-worker-when-image-version-changes.md +0 -426
- package/src/business/__traces__/worker/update-unit-registrations/recreate-worker-with-same-identity-reuses-service-account.md +0 -372
- package/src/business/__traces__/worker/update-unit-registrations/remove-one-of-multiple-unit-registrations.md +0 -383
- package/src/business/__traces__/worker/update-unit-registrations/remove-unit-registration.md +0 -245
- package/src/business/__traces__/worker/update-unit-registrations/update-existing-unit-registration-when-params-change.md +0 -174
- package/src/business/__traces__/worker/update-unit-registrations/update-params-and-image-simultaneously.md +0 -432
- package/src/business/__traces__/worker/update-unit-registrations/worker-with-multiple-registrations-not-deleted-when-one-removed.md +0 -220
- package/src/business/backend-unlock.ts +0 -10
- package/src/common/clock.ts +0 -18
- package/src/common/performance.ts +0 -44
- package/src/common/random.ts +0 -68
- package/src/common/test/index.ts +0 -2
- package/src/common/test/render.ts +0 -98
- package/src/common/test/tracer.ts +0 -359
- package/src/hotstate/abstractions.ts +0 -48
- package/src/hotstate/factory.ts +0 -17
- package/src/hotstate/index.ts +0 -3
- package/src/hotstate/manager.ts +0 -192
- package/src/hotstate/memory.ts +0 -100
- package/src/hotstate/validation.ts +0 -100
- package/src/lock/test.ts +0 -108
- package/src/project/abstractions.ts +0 -78
- package/src/project/evaluation.ts +0 -248
- package/src/project/factory.ts +0 -11
- package/src/project/index.ts +0 -3
- package/src/project/local.ts +0 -417
- package/src/pubsub/local.ts +0 -36
- package/src/pubsub/validation.ts +0 -33
- package/src/shared/utils/args.ts +0 -25
- package/src/state/abstractions.ts +0 -289
- package/src/state/encryption.ts +0 -98
- package/src/state/factory.ts +0 -20
- package/src/state/index.ts +0 -7
- package/src/state/local/backend.ts +0 -106
- package/src/state/local/collection.ts +0 -361
- package/src/state/local/index.ts +0 -2
- package/src/state/manager.ts +0 -890
- package/src/state/memory/backend.ts +0 -70
- package/src/state/memory/collection.ts +0 -270
- package/src/state/memory/index.ts +0 -2
- package/src/state/repository/index.ts +0 -2
- package/src/state/repository/repository.index.ts +0 -193
- package/src/state/repository/repository.ts +0 -507
- package/src/state/test.ts +0 -457
- /package/src/{state → database/local}/keyring.ts +0 -0
|
@@ -0,0 +1,1261 @@
|
|
|
1
|
+
|
|
2
|
+
/* !!! This is code generated by Prisma. Do not edit directly. !!! */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
// @ts-nocheck
|
|
5
|
+
/**
|
|
6
|
+
* This file exports the `PulumiBackend` 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 PulumiBackend
|
|
18
|
+
*
|
|
19
|
+
*/
|
|
20
|
+
export type PulumiBackendModel = runtime.Types.Result.DefaultSelection<Prisma.$PulumiBackendPayload>
|
|
21
|
+
|
|
22
|
+
export type AggregatePulumiBackend = {
|
|
23
|
+
_count: PulumiBackendCountAggregateOutputType | null
|
|
24
|
+
_min: PulumiBackendMinAggregateOutputType | null
|
|
25
|
+
_max: PulumiBackendMaxAggregateOutputType | null
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
export type PulumiBackendMinAggregateOutputType = {
|
|
29
|
+
id: string | null
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
export type PulumiBackendMaxAggregateOutputType = {
|
|
33
|
+
id: string | null
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
export type PulumiBackendCountAggregateOutputType = {
|
|
37
|
+
id: number
|
|
38
|
+
meta: number
|
|
39
|
+
spec: number
|
|
40
|
+
_all: number
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
export type PulumiBackendMinAggregateInputType = {
|
|
45
|
+
id?: true
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
export type PulumiBackendMaxAggregateInputType = {
|
|
49
|
+
id?: true
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
export type PulumiBackendCountAggregateInputType = {
|
|
53
|
+
id?: true
|
|
54
|
+
meta?: true
|
|
55
|
+
spec?: true
|
|
56
|
+
_all?: true
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
export type PulumiBackendAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
60
|
+
/**
|
|
61
|
+
* Filter which PulumiBackend to aggregate.
|
|
62
|
+
*/
|
|
63
|
+
where?: Prisma.PulumiBackendWhereInput
|
|
64
|
+
/**
|
|
65
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
66
|
+
*
|
|
67
|
+
* Determine the order of PulumiBackends to fetch.
|
|
68
|
+
*/
|
|
69
|
+
orderBy?: Prisma.PulumiBackendOrderByWithRelationInput | Prisma.PulumiBackendOrderByWithRelationInput[]
|
|
70
|
+
/**
|
|
71
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
72
|
+
*
|
|
73
|
+
* Sets the start position
|
|
74
|
+
*/
|
|
75
|
+
cursor?: Prisma.PulumiBackendWhereUniqueInput
|
|
76
|
+
/**
|
|
77
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
78
|
+
*
|
|
79
|
+
* Take `±n` PulumiBackends from the position of the cursor.
|
|
80
|
+
*/
|
|
81
|
+
take?: number
|
|
82
|
+
/**
|
|
83
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
84
|
+
*
|
|
85
|
+
* Skip the first `n` PulumiBackends.
|
|
86
|
+
*/
|
|
87
|
+
skip?: number
|
|
88
|
+
/**
|
|
89
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
90
|
+
*
|
|
91
|
+
* Count returned PulumiBackends
|
|
92
|
+
**/
|
|
93
|
+
_count?: true | PulumiBackendCountAggregateInputType
|
|
94
|
+
/**
|
|
95
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
96
|
+
*
|
|
97
|
+
* Select which fields to find the minimum value
|
|
98
|
+
**/
|
|
99
|
+
_min?: PulumiBackendMinAggregateInputType
|
|
100
|
+
/**
|
|
101
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
102
|
+
*
|
|
103
|
+
* Select which fields to find the maximum value
|
|
104
|
+
**/
|
|
105
|
+
_max?: PulumiBackendMaxAggregateInputType
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
export type GetPulumiBackendAggregateType<T extends PulumiBackendAggregateArgs> = {
|
|
109
|
+
[P in keyof T & keyof AggregatePulumiBackend]: P extends '_count' | 'count'
|
|
110
|
+
? T[P] extends true
|
|
111
|
+
? number
|
|
112
|
+
: Prisma.GetScalarType<T[P], AggregatePulumiBackend[P]>
|
|
113
|
+
: Prisma.GetScalarType<T[P], AggregatePulumiBackend[P]>
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
|
|
117
|
+
|
|
118
|
+
|
|
119
|
+
export type PulumiBackendGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
120
|
+
where?: Prisma.PulumiBackendWhereInput
|
|
121
|
+
orderBy?: Prisma.PulumiBackendOrderByWithAggregationInput | Prisma.PulumiBackendOrderByWithAggregationInput[]
|
|
122
|
+
by: Prisma.PulumiBackendScalarFieldEnum[] | Prisma.PulumiBackendScalarFieldEnum
|
|
123
|
+
having?: Prisma.PulumiBackendScalarWhereWithAggregatesInput
|
|
124
|
+
take?: number
|
|
125
|
+
skip?: number
|
|
126
|
+
_count?: PulumiBackendCountAggregateInputType | true
|
|
127
|
+
_min?: PulumiBackendMinAggregateInputType
|
|
128
|
+
_max?: PulumiBackendMaxAggregateInputType
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
export type PulumiBackendGroupByOutputType = {
|
|
132
|
+
id: string
|
|
133
|
+
meta: PrismaJson.CommonObjectMeta
|
|
134
|
+
spec: PrismaJson.PulumiBackendSpec
|
|
135
|
+
_count: PulumiBackendCountAggregateOutputType | null
|
|
136
|
+
_min: PulumiBackendMinAggregateOutputType | null
|
|
137
|
+
_max: PulumiBackendMaxAggregateOutputType | null
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
type GetPulumiBackendGroupByPayload<T extends PulumiBackendGroupByArgs> = Prisma.PrismaPromise<
|
|
141
|
+
Array<
|
|
142
|
+
Prisma.PickEnumerable<PulumiBackendGroupByOutputType, T['by']> &
|
|
143
|
+
{
|
|
144
|
+
[P in ((keyof T) & (keyof PulumiBackendGroupByOutputType))]: P extends '_count'
|
|
145
|
+
? T[P] extends boolean
|
|
146
|
+
? number
|
|
147
|
+
: Prisma.GetScalarType<T[P], PulumiBackendGroupByOutputType[P]>
|
|
148
|
+
: Prisma.GetScalarType<T[P], PulumiBackendGroupByOutputType[P]>
|
|
149
|
+
}
|
|
150
|
+
>
|
|
151
|
+
>
|
|
152
|
+
|
|
153
|
+
|
|
154
|
+
|
|
155
|
+
export type PulumiBackendWhereInput = {
|
|
156
|
+
AND?: Prisma.PulumiBackendWhereInput | Prisma.PulumiBackendWhereInput[]
|
|
157
|
+
OR?: Prisma.PulumiBackendWhereInput[]
|
|
158
|
+
NOT?: Prisma.PulumiBackendWhereInput | Prisma.PulumiBackendWhereInput[]
|
|
159
|
+
id?: Prisma.StringFilter<"PulumiBackend"> | string
|
|
160
|
+
meta?: Prisma.JsonFilter<"PulumiBackend">
|
|
161
|
+
spec?: Prisma.JsonFilter<"PulumiBackend">
|
|
162
|
+
projects?: Prisma.ProjectListRelationFilter
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
export type PulumiBackendOrderByWithRelationInput = {
|
|
166
|
+
id?: Prisma.SortOrder
|
|
167
|
+
meta?: Prisma.SortOrder
|
|
168
|
+
spec?: Prisma.SortOrder
|
|
169
|
+
projects?: Prisma.ProjectOrderByRelationAggregateInput
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
export type PulumiBackendWhereUniqueInput = Prisma.AtLeast<{
|
|
173
|
+
id?: string
|
|
174
|
+
AND?: Prisma.PulumiBackendWhereInput | Prisma.PulumiBackendWhereInput[]
|
|
175
|
+
OR?: Prisma.PulumiBackendWhereInput[]
|
|
176
|
+
NOT?: Prisma.PulumiBackendWhereInput | Prisma.PulumiBackendWhereInput[]
|
|
177
|
+
meta?: Prisma.JsonFilter<"PulumiBackend">
|
|
178
|
+
spec?: Prisma.JsonFilter<"PulumiBackend">
|
|
179
|
+
projects?: Prisma.ProjectListRelationFilter
|
|
180
|
+
}, "id">
|
|
181
|
+
|
|
182
|
+
export type PulumiBackendOrderByWithAggregationInput = {
|
|
183
|
+
id?: Prisma.SortOrder
|
|
184
|
+
meta?: Prisma.SortOrder
|
|
185
|
+
spec?: Prisma.SortOrder
|
|
186
|
+
_count?: Prisma.PulumiBackendCountOrderByAggregateInput
|
|
187
|
+
_max?: Prisma.PulumiBackendMaxOrderByAggregateInput
|
|
188
|
+
_min?: Prisma.PulumiBackendMinOrderByAggregateInput
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
export type PulumiBackendScalarWhereWithAggregatesInput = {
|
|
192
|
+
AND?: Prisma.PulumiBackendScalarWhereWithAggregatesInput | Prisma.PulumiBackendScalarWhereWithAggregatesInput[]
|
|
193
|
+
OR?: Prisma.PulumiBackendScalarWhereWithAggregatesInput[]
|
|
194
|
+
NOT?: Prisma.PulumiBackendScalarWhereWithAggregatesInput | Prisma.PulumiBackendScalarWhereWithAggregatesInput[]
|
|
195
|
+
id?: Prisma.StringWithAggregatesFilter<"PulumiBackend"> | string
|
|
196
|
+
meta?: Prisma.JsonWithAggregatesFilter<"PulumiBackend">
|
|
197
|
+
spec?: Prisma.JsonWithAggregatesFilter<"PulumiBackend">
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
export type PulumiBackendCreateInput = {
|
|
201
|
+
id?: string
|
|
202
|
+
meta: PrismaJson.CommonObjectMeta
|
|
203
|
+
spec: PrismaJson.PulumiBackendSpec
|
|
204
|
+
projects?: Prisma.ProjectCreateNestedManyWithoutPulumiBackendInput
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
export type PulumiBackendUncheckedCreateInput = {
|
|
208
|
+
id?: string
|
|
209
|
+
meta: PrismaJson.CommonObjectMeta
|
|
210
|
+
spec: PrismaJson.PulumiBackendSpec
|
|
211
|
+
projects?: Prisma.ProjectUncheckedCreateNestedManyWithoutPulumiBackendInput
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
export type PulumiBackendUpdateInput = {
|
|
215
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
216
|
+
meta?: PrismaJson.CommonObjectMeta
|
|
217
|
+
spec?: PrismaJson.PulumiBackendSpec
|
|
218
|
+
projects?: Prisma.ProjectUpdateManyWithoutPulumiBackendNestedInput
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
export type PulumiBackendUncheckedUpdateInput = {
|
|
222
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
223
|
+
meta?: PrismaJson.CommonObjectMeta
|
|
224
|
+
spec?: PrismaJson.PulumiBackendSpec
|
|
225
|
+
projects?: Prisma.ProjectUncheckedUpdateManyWithoutPulumiBackendNestedInput
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
export type PulumiBackendCreateManyInput = {
|
|
229
|
+
id?: string
|
|
230
|
+
meta: PrismaJson.CommonObjectMeta
|
|
231
|
+
spec: PrismaJson.PulumiBackendSpec
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
export type PulumiBackendUpdateManyMutationInput = {
|
|
235
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
236
|
+
meta?: PrismaJson.CommonObjectMeta
|
|
237
|
+
spec?: PrismaJson.PulumiBackendSpec
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
export type PulumiBackendUncheckedUpdateManyInput = {
|
|
241
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
242
|
+
meta?: PrismaJson.CommonObjectMeta
|
|
243
|
+
spec?: PrismaJson.PulumiBackendSpec
|
|
244
|
+
}
|
|
245
|
+
|
|
246
|
+
export type PulumiBackendScalarRelationFilter = {
|
|
247
|
+
is?: Prisma.PulumiBackendWhereInput
|
|
248
|
+
isNot?: Prisma.PulumiBackendWhereInput
|
|
249
|
+
}
|
|
250
|
+
|
|
251
|
+
export type PulumiBackendCountOrderByAggregateInput = {
|
|
252
|
+
id?: Prisma.SortOrder
|
|
253
|
+
meta?: Prisma.SortOrder
|
|
254
|
+
spec?: Prisma.SortOrder
|
|
255
|
+
}
|
|
256
|
+
|
|
257
|
+
export type PulumiBackendMaxOrderByAggregateInput = {
|
|
258
|
+
id?: Prisma.SortOrder
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
export type PulumiBackendMinOrderByAggregateInput = {
|
|
262
|
+
id?: Prisma.SortOrder
|
|
263
|
+
}
|
|
264
|
+
|
|
265
|
+
export type PulumiBackendCreateNestedOneWithoutProjectsInput = {
|
|
266
|
+
create?: Prisma.XOR<Prisma.PulumiBackendCreateWithoutProjectsInput, Prisma.PulumiBackendUncheckedCreateWithoutProjectsInput>
|
|
267
|
+
connectOrCreate?: Prisma.PulumiBackendCreateOrConnectWithoutProjectsInput
|
|
268
|
+
connect?: Prisma.PulumiBackendWhereUniqueInput
|
|
269
|
+
}
|
|
270
|
+
|
|
271
|
+
export type PulumiBackendUpdateOneRequiredWithoutProjectsNestedInput = {
|
|
272
|
+
create?: Prisma.XOR<Prisma.PulumiBackendCreateWithoutProjectsInput, Prisma.PulumiBackendUncheckedCreateWithoutProjectsInput>
|
|
273
|
+
connectOrCreate?: Prisma.PulumiBackendCreateOrConnectWithoutProjectsInput
|
|
274
|
+
upsert?: Prisma.PulumiBackendUpsertWithoutProjectsInput
|
|
275
|
+
connect?: Prisma.PulumiBackendWhereUniqueInput
|
|
276
|
+
update?: Prisma.XOR<Prisma.XOR<Prisma.PulumiBackendUpdateToOneWithWhereWithoutProjectsInput, Prisma.PulumiBackendUpdateWithoutProjectsInput>, Prisma.PulumiBackendUncheckedUpdateWithoutProjectsInput>
|
|
277
|
+
}
|
|
278
|
+
|
|
279
|
+
export type PulumiBackendCreateWithoutProjectsInput = {
|
|
280
|
+
id?: string
|
|
281
|
+
meta: PrismaJson.CommonObjectMeta
|
|
282
|
+
spec: PrismaJson.PulumiBackendSpec
|
|
283
|
+
}
|
|
284
|
+
|
|
285
|
+
export type PulumiBackendUncheckedCreateWithoutProjectsInput = {
|
|
286
|
+
id?: string
|
|
287
|
+
meta: PrismaJson.CommonObjectMeta
|
|
288
|
+
spec: PrismaJson.PulumiBackendSpec
|
|
289
|
+
}
|
|
290
|
+
|
|
291
|
+
export type PulumiBackendCreateOrConnectWithoutProjectsInput = {
|
|
292
|
+
where: Prisma.PulumiBackendWhereUniqueInput
|
|
293
|
+
create: Prisma.XOR<Prisma.PulumiBackendCreateWithoutProjectsInput, Prisma.PulumiBackendUncheckedCreateWithoutProjectsInput>
|
|
294
|
+
}
|
|
295
|
+
|
|
296
|
+
export type PulumiBackendUpsertWithoutProjectsInput = {
|
|
297
|
+
update: Prisma.XOR<Prisma.PulumiBackendUpdateWithoutProjectsInput, Prisma.PulumiBackendUncheckedUpdateWithoutProjectsInput>
|
|
298
|
+
create: Prisma.XOR<Prisma.PulumiBackendCreateWithoutProjectsInput, Prisma.PulumiBackendUncheckedCreateWithoutProjectsInput>
|
|
299
|
+
where?: Prisma.PulumiBackendWhereInput
|
|
300
|
+
}
|
|
301
|
+
|
|
302
|
+
export type PulumiBackendUpdateToOneWithWhereWithoutProjectsInput = {
|
|
303
|
+
where?: Prisma.PulumiBackendWhereInput
|
|
304
|
+
data: Prisma.XOR<Prisma.PulumiBackendUpdateWithoutProjectsInput, Prisma.PulumiBackendUncheckedUpdateWithoutProjectsInput>
|
|
305
|
+
}
|
|
306
|
+
|
|
307
|
+
export type PulumiBackendUpdateWithoutProjectsInput = {
|
|
308
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
309
|
+
meta?: PrismaJson.CommonObjectMeta
|
|
310
|
+
spec?: PrismaJson.PulumiBackendSpec
|
|
311
|
+
}
|
|
312
|
+
|
|
313
|
+
export type PulumiBackendUncheckedUpdateWithoutProjectsInput = {
|
|
314
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
315
|
+
meta?: PrismaJson.CommonObjectMeta
|
|
316
|
+
spec?: PrismaJson.PulumiBackendSpec
|
|
317
|
+
}
|
|
318
|
+
|
|
319
|
+
|
|
320
|
+
/**
|
|
321
|
+
* Count Type PulumiBackendCountOutputType
|
|
322
|
+
*/
|
|
323
|
+
|
|
324
|
+
export type PulumiBackendCountOutputType = {
|
|
325
|
+
projects: number
|
|
326
|
+
}
|
|
327
|
+
|
|
328
|
+
export type PulumiBackendCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
329
|
+
projects?: boolean | PulumiBackendCountOutputTypeCountProjectsArgs
|
|
330
|
+
}
|
|
331
|
+
|
|
332
|
+
/**
|
|
333
|
+
* PulumiBackendCountOutputType without action
|
|
334
|
+
*/
|
|
335
|
+
export type PulumiBackendCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
336
|
+
/**
|
|
337
|
+
* Select specific fields to fetch from the PulumiBackendCountOutputType
|
|
338
|
+
*/
|
|
339
|
+
select?: Prisma.PulumiBackendCountOutputTypeSelect<ExtArgs> | null
|
|
340
|
+
}
|
|
341
|
+
|
|
342
|
+
/**
|
|
343
|
+
* PulumiBackendCountOutputType without action
|
|
344
|
+
*/
|
|
345
|
+
export type PulumiBackendCountOutputTypeCountProjectsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
346
|
+
where?: Prisma.ProjectWhereInput
|
|
347
|
+
}
|
|
348
|
+
|
|
349
|
+
|
|
350
|
+
export type PulumiBackendSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
351
|
+
id?: boolean
|
|
352
|
+
meta?: boolean
|
|
353
|
+
spec?: boolean
|
|
354
|
+
projects?: boolean | Prisma.PulumiBackend$projectsArgs<ExtArgs>
|
|
355
|
+
_count?: boolean | Prisma.PulumiBackendCountOutputTypeDefaultArgs<ExtArgs>
|
|
356
|
+
}, ExtArgs["result"]["pulumiBackend"]>
|
|
357
|
+
|
|
358
|
+
export type PulumiBackendSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
359
|
+
id?: boolean
|
|
360
|
+
meta?: boolean
|
|
361
|
+
spec?: boolean
|
|
362
|
+
}, ExtArgs["result"]["pulumiBackend"]>
|
|
363
|
+
|
|
364
|
+
export type PulumiBackendSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
365
|
+
id?: boolean
|
|
366
|
+
meta?: boolean
|
|
367
|
+
spec?: boolean
|
|
368
|
+
}, ExtArgs["result"]["pulumiBackend"]>
|
|
369
|
+
|
|
370
|
+
export type PulumiBackendSelectScalar = {
|
|
371
|
+
id?: boolean
|
|
372
|
+
meta?: boolean
|
|
373
|
+
spec?: boolean
|
|
374
|
+
}
|
|
375
|
+
|
|
376
|
+
export type PulumiBackendOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "meta" | "spec", ExtArgs["result"]["pulumiBackend"]>
|
|
377
|
+
export type PulumiBackendInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
378
|
+
projects?: boolean | Prisma.PulumiBackend$projectsArgs<ExtArgs>
|
|
379
|
+
_count?: boolean | Prisma.PulumiBackendCountOutputTypeDefaultArgs<ExtArgs>
|
|
380
|
+
}
|
|
381
|
+
export type PulumiBackendIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {}
|
|
382
|
+
export type PulumiBackendIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {}
|
|
383
|
+
|
|
384
|
+
export type $PulumiBackendPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
385
|
+
name: "PulumiBackend"
|
|
386
|
+
objects: {
|
|
387
|
+
/**
|
|
388
|
+
* The projects using this backend.
|
|
389
|
+
*/
|
|
390
|
+
projects: Prisma.$ProjectPayload<ExtArgs>[]
|
|
391
|
+
}
|
|
392
|
+
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
393
|
+
/**
|
|
394
|
+
* The CUIDv2 of the Pulumi backend.
|
|
395
|
+
*/
|
|
396
|
+
id: string
|
|
397
|
+
/**
|
|
398
|
+
* The backend meta managed by the backend.
|
|
399
|
+
*
|
|
400
|
+
* [CommonObjectMeta]
|
|
401
|
+
*/
|
|
402
|
+
meta: PrismaJson.CommonObjectMeta
|
|
403
|
+
/**
|
|
404
|
+
* The spec of the Pulumi backend.
|
|
405
|
+
*
|
|
406
|
+
* [PulumiBackendSpec]
|
|
407
|
+
*/
|
|
408
|
+
spec: PrismaJson.PulumiBackendSpec
|
|
409
|
+
}, ExtArgs["result"]["pulumiBackend"]>
|
|
410
|
+
composites: {}
|
|
411
|
+
}
|
|
412
|
+
|
|
413
|
+
export type PulumiBackendGetPayload<S extends boolean | null | undefined | PulumiBackendDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$PulumiBackendPayload, S>
|
|
414
|
+
|
|
415
|
+
export type PulumiBackendCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
|
|
416
|
+
Omit<PulumiBackendFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
417
|
+
select?: PulumiBackendCountAggregateInputType | true
|
|
418
|
+
}
|
|
419
|
+
|
|
420
|
+
export interface PulumiBackendDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
421
|
+
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['PulumiBackend'], meta: { name: 'PulumiBackend' } }
|
|
422
|
+
/**
|
|
423
|
+
* Find zero or one PulumiBackend that matches the filter.
|
|
424
|
+
* @param {PulumiBackendFindUniqueArgs} args - Arguments to find a PulumiBackend
|
|
425
|
+
* @example
|
|
426
|
+
* // Get one PulumiBackend
|
|
427
|
+
* const pulumiBackend = await prisma.pulumiBackend.findUnique({
|
|
428
|
+
* where: {
|
|
429
|
+
* // ... provide filter here
|
|
430
|
+
* }
|
|
431
|
+
* })
|
|
432
|
+
*/
|
|
433
|
+
findUnique<T extends PulumiBackendFindUniqueArgs>(args: Prisma.SelectSubset<T, PulumiBackendFindUniqueArgs<ExtArgs>>): Prisma.Prisma__PulumiBackendClient<runtime.Types.Result.GetResult<Prisma.$PulumiBackendPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
434
|
+
|
|
435
|
+
/**
|
|
436
|
+
* Find one PulumiBackend that matches the filter or throw an error with `error.code='P2025'`
|
|
437
|
+
* if no matches were found.
|
|
438
|
+
* @param {PulumiBackendFindUniqueOrThrowArgs} args - Arguments to find a PulumiBackend
|
|
439
|
+
* @example
|
|
440
|
+
* // Get one PulumiBackend
|
|
441
|
+
* const pulumiBackend = await prisma.pulumiBackend.findUniqueOrThrow({
|
|
442
|
+
* where: {
|
|
443
|
+
* // ... provide filter here
|
|
444
|
+
* }
|
|
445
|
+
* })
|
|
446
|
+
*/
|
|
447
|
+
findUniqueOrThrow<T extends PulumiBackendFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, PulumiBackendFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__PulumiBackendClient<runtime.Types.Result.GetResult<Prisma.$PulumiBackendPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
448
|
+
|
|
449
|
+
/**
|
|
450
|
+
* Find the first PulumiBackend that matches the filter.
|
|
451
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
452
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
453
|
+
* @param {PulumiBackendFindFirstArgs} args - Arguments to find a PulumiBackend
|
|
454
|
+
* @example
|
|
455
|
+
* // Get one PulumiBackend
|
|
456
|
+
* const pulumiBackend = await prisma.pulumiBackend.findFirst({
|
|
457
|
+
* where: {
|
|
458
|
+
* // ... provide filter here
|
|
459
|
+
* }
|
|
460
|
+
* })
|
|
461
|
+
*/
|
|
462
|
+
findFirst<T extends PulumiBackendFindFirstArgs>(args?: Prisma.SelectSubset<T, PulumiBackendFindFirstArgs<ExtArgs>>): Prisma.Prisma__PulumiBackendClient<runtime.Types.Result.GetResult<Prisma.$PulumiBackendPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
463
|
+
|
|
464
|
+
/**
|
|
465
|
+
* Find the first PulumiBackend that matches the filter or
|
|
466
|
+
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
467
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
468
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
469
|
+
* @param {PulumiBackendFindFirstOrThrowArgs} args - Arguments to find a PulumiBackend
|
|
470
|
+
* @example
|
|
471
|
+
* // Get one PulumiBackend
|
|
472
|
+
* const pulumiBackend = await prisma.pulumiBackend.findFirstOrThrow({
|
|
473
|
+
* where: {
|
|
474
|
+
* // ... provide filter here
|
|
475
|
+
* }
|
|
476
|
+
* })
|
|
477
|
+
*/
|
|
478
|
+
findFirstOrThrow<T extends PulumiBackendFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, PulumiBackendFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__PulumiBackendClient<runtime.Types.Result.GetResult<Prisma.$PulumiBackendPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
479
|
+
|
|
480
|
+
/**
|
|
481
|
+
* Find zero or more PulumiBackends that matches the filter.
|
|
482
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
483
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
484
|
+
* @param {PulumiBackendFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
485
|
+
* @example
|
|
486
|
+
* // Get all PulumiBackends
|
|
487
|
+
* const pulumiBackends = await prisma.pulumiBackend.findMany()
|
|
488
|
+
*
|
|
489
|
+
* // Get first 10 PulumiBackends
|
|
490
|
+
* const pulumiBackends = await prisma.pulumiBackend.findMany({ take: 10 })
|
|
491
|
+
*
|
|
492
|
+
* // Only select the `id`
|
|
493
|
+
* const pulumiBackendWithIdOnly = await prisma.pulumiBackend.findMany({ select: { id: true } })
|
|
494
|
+
*
|
|
495
|
+
*/
|
|
496
|
+
findMany<T extends PulumiBackendFindManyArgs>(args?: Prisma.SelectSubset<T, PulumiBackendFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PulumiBackendPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
|
|
497
|
+
|
|
498
|
+
/**
|
|
499
|
+
* Create a PulumiBackend.
|
|
500
|
+
* @param {PulumiBackendCreateArgs} args - Arguments to create a PulumiBackend.
|
|
501
|
+
* @example
|
|
502
|
+
* // Create one PulumiBackend
|
|
503
|
+
* const PulumiBackend = await prisma.pulumiBackend.create({
|
|
504
|
+
* data: {
|
|
505
|
+
* // ... data to create a PulumiBackend
|
|
506
|
+
* }
|
|
507
|
+
* })
|
|
508
|
+
*
|
|
509
|
+
*/
|
|
510
|
+
create<T extends PulumiBackendCreateArgs>(args: Prisma.SelectSubset<T, PulumiBackendCreateArgs<ExtArgs>>): Prisma.Prisma__PulumiBackendClient<runtime.Types.Result.GetResult<Prisma.$PulumiBackendPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
511
|
+
|
|
512
|
+
/**
|
|
513
|
+
* Create many PulumiBackends.
|
|
514
|
+
* @param {PulumiBackendCreateManyArgs} args - Arguments to create many PulumiBackends.
|
|
515
|
+
* @example
|
|
516
|
+
* // Create many PulumiBackends
|
|
517
|
+
* const pulumiBackend = await prisma.pulumiBackend.createMany({
|
|
518
|
+
* data: [
|
|
519
|
+
* // ... provide data here
|
|
520
|
+
* ]
|
|
521
|
+
* })
|
|
522
|
+
*
|
|
523
|
+
*/
|
|
524
|
+
createMany<T extends PulumiBackendCreateManyArgs>(args?: Prisma.SelectSubset<T, PulumiBackendCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
525
|
+
|
|
526
|
+
/**
|
|
527
|
+
* Create many PulumiBackends and returns the data saved in the database.
|
|
528
|
+
* @param {PulumiBackendCreateManyAndReturnArgs} args - Arguments to create many PulumiBackends.
|
|
529
|
+
* @example
|
|
530
|
+
* // Create many PulumiBackends
|
|
531
|
+
* const pulumiBackend = await prisma.pulumiBackend.createManyAndReturn({
|
|
532
|
+
* data: [
|
|
533
|
+
* // ... provide data here
|
|
534
|
+
* ]
|
|
535
|
+
* })
|
|
536
|
+
*
|
|
537
|
+
* // Create many PulumiBackends and only return the `id`
|
|
538
|
+
* const pulumiBackendWithIdOnly = await prisma.pulumiBackend.createManyAndReturn({
|
|
539
|
+
* select: { id: true },
|
|
540
|
+
* data: [
|
|
541
|
+
* // ... provide data here
|
|
542
|
+
* ]
|
|
543
|
+
* })
|
|
544
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
545
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
546
|
+
*
|
|
547
|
+
*/
|
|
548
|
+
createManyAndReturn<T extends PulumiBackendCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, PulumiBackendCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PulumiBackendPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
|
|
549
|
+
|
|
550
|
+
/**
|
|
551
|
+
* Delete a PulumiBackend.
|
|
552
|
+
* @param {PulumiBackendDeleteArgs} args - Arguments to delete one PulumiBackend.
|
|
553
|
+
* @example
|
|
554
|
+
* // Delete one PulumiBackend
|
|
555
|
+
* const PulumiBackend = await prisma.pulumiBackend.delete({
|
|
556
|
+
* where: {
|
|
557
|
+
* // ... filter to delete one PulumiBackend
|
|
558
|
+
* }
|
|
559
|
+
* })
|
|
560
|
+
*
|
|
561
|
+
*/
|
|
562
|
+
delete<T extends PulumiBackendDeleteArgs>(args: Prisma.SelectSubset<T, PulumiBackendDeleteArgs<ExtArgs>>): Prisma.Prisma__PulumiBackendClient<runtime.Types.Result.GetResult<Prisma.$PulumiBackendPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
563
|
+
|
|
564
|
+
/**
|
|
565
|
+
* Update one PulumiBackend.
|
|
566
|
+
* @param {PulumiBackendUpdateArgs} args - Arguments to update one PulumiBackend.
|
|
567
|
+
* @example
|
|
568
|
+
* // Update one PulumiBackend
|
|
569
|
+
* const pulumiBackend = await prisma.pulumiBackend.update({
|
|
570
|
+
* where: {
|
|
571
|
+
* // ... provide filter here
|
|
572
|
+
* },
|
|
573
|
+
* data: {
|
|
574
|
+
* // ... provide data here
|
|
575
|
+
* }
|
|
576
|
+
* })
|
|
577
|
+
*
|
|
578
|
+
*/
|
|
579
|
+
update<T extends PulumiBackendUpdateArgs>(args: Prisma.SelectSubset<T, PulumiBackendUpdateArgs<ExtArgs>>): Prisma.Prisma__PulumiBackendClient<runtime.Types.Result.GetResult<Prisma.$PulumiBackendPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
580
|
+
|
|
581
|
+
/**
|
|
582
|
+
* Delete zero or more PulumiBackends.
|
|
583
|
+
* @param {PulumiBackendDeleteManyArgs} args - Arguments to filter PulumiBackends to delete.
|
|
584
|
+
* @example
|
|
585
|
+
* // Delete a few PulumiBackends
|
|
586
|
+
* const { count } = await prisma.pulumiBackend.deleteMany({
|
|
587
|
+
* where: {
|
|
588
|
+
* // ... provide filter here
|
|
589
|
+
* }
|
|
590
|
+
* })
|
|
591
|
+
*
|
|
592
|
+
*/
|
|
593
|
+
deleteMany<T extends PulumiBackendDeleteManyArgs>(args?: Prisma.SelectSubset<T, PulumiBackendDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
594
|
+
|
|
595
|
+
/**
|
|
596
|
+
* Update zero or more PulumiBackends.
|
|
597
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
598
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
599
|
+
* @param {PulumiBackendUpdateManyArgs} args - Arguments to update one or more rows.
|
|
600
|
+
* @example
|
|
601
|
+
* // Update many PulumiBackends
|
|
602
|
+
* const pulumiBackend = await prisma.pulumiBackend.updateMany({
|
|
603
|
+
* where: {
|
|
604
|
+
* // ... provide filter here
|
|
605
|
+
* },
|
|
606
|
+
* data: {
|
|
607
|
+
* // ... provide data here
|
|
608
|
+
* }
|
|
609
|
+
* })
|
|
610
|
+
*
|
|
611
|
+
*/
|
|
612
|
+
updateMany<T extends PulumiBackendUpdateManyArgs>(args: Prisma.SelectSubset<T, PulumiBackendUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
613
|
+
|
|
614
|
+
/**
|
|
615
|
+
* Update zero or more PulumiBackends and returns the data updated in the database.
|
|
616
|
+
* @param {PulumiBackendUpdateManyAndReturnArgs} args - Arguments to update many PulumiBackends.
|
|
617
|
+
* @example
|
|
618
|
+
* // Update many PulumiBackends
|
|
619
|
+
* const pulumiBackend = await prisma.pulumiBackend.updateManyAndReturn({
|
|
620
|
+
* where: {
|
|
621
|
+
* // ... provide filter here
|
|
622
|
+
* },
|
|
623
|
+
* data: [
|
|
624
|
+
* // ... provide data here
|
|
625
|
+
* ]
|
|
626
|
+
* })
|
|
627
|
+
*
|
|
628
|
+
* // Update zero or more PulumiBackends and only return the `id`
|
|
629
|
+
* const pulumiBackendWithIdOnly = await prisma.pulumiBackend.updateManyAndReturn({
|
|
630
|
+
* select: { id: true },
|
|
631
|
+
* where: {
|
|
632
|
+
* // ... provide filter here
|
|
633
|
+
* },
|
|
634
|
+
* data: [
|
|
635
|
+
* // ... provide data here
|
|
636
|
+
* ]
|
|
637
|
+
* })
|
|
638
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
639
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
640
|
+
*
|
|
641
|
+
*/
|
|
642
|
+
updateManyAndReturn<T extends PulumiBackendUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, PulumiBackendUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PulumiBackendPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
|
|
643
|
+
|
|
644
|
+
/**
|
|
645
|
+
* Create or update one PulumiBackend.
|
|
646
|
+
* @param {PulumiBackendUpsertArgs} args - Arguments to update or create a PulumiBackend.
|
|
647
|
+
* @example
|
|
648
|
+
* // Update or create a PulumiBackend
|
|
649
|
+
* const pulumiBackend = await prisma.pulumiBackend.upsert({
|
|
650
|
+
* create: {
|
|
651
|
+
* // ... data to create a PulumiBackend
|
|
652
|
+
* },
|
|
653
|
+
* update: {
|
|
654
|
+
* // ... in case it already exists, update
|
|
655
|
+
* },
|
|
656
|
+
* where: {
|
|
657
|
+
* // ... the filter for the PulumiBackend we want to update
|
|
658
|
+
* }
|
|
659
|
+
* })
|
|
660
|
+
*/
|
|
661
|
+
upsert<T extends PulumiBackendUpsertArgs>(args: Prisma.SelectSubset<T, PulumiBackendUpsertArgs<ExtArgs>>): Prisma.Prisma__PulumiBackendClient<runtime.Types.Result.GetResult<Prisma.$PulumiBackendPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
662
|
+
|
|
663
|
+
|
|
664
|
+
/**
|
|
665
|
+
* Count the number of PulumiBackends.
|
|
666
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
667
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
668
|
+
* @param {PulumiBackendCountArgs} args - Arguments to filter PulumiBackends to count.
|
|
669
|
+
* @example
|
|
670
|
+
* // Count the number of PulumiBackends
|
|
671
|
+
* const count = await prisma.pulumiBackend.count({
|
|
672
|
+
* where: {
|
|
673
|
+
* // ... the filter for the PulumiBackends we want to count
|
|
674
|
+
* }
|
|
675
|
+
* })
|
|
676
|
+
**/
|
|
677
|
+
count<T extends PulumiBackendCountArgs>(
|
|
678
|
+
args?: Prisma.Subset<T, PulumiBackendCountArgs>,
|
|
679
|
+
): Prisma.PrismaPromise<
|
|
680
|
+
T extends runtime.Types.Utils.Record<'select', any>
|
|
681
|
+
? T['select'] extends true
|
|
682
|
+
? number
|
|
683
|
+
: Prisma.GetScalarType<T['select'], PulumiBackendCountAggregateOutputType>
|
|
684
|
+
: number
|
|
685
|
+
>
|
|
686
|
+
|
|
687
|
+
/**
|
|
688
|
+
* Allows you to perform aggregations operations on a PulumiBackend.
|
|
689
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
690
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
691
|
+
* @param {PulumiBackendAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
692
|
+
* @example
|
|
693
|
+
* // Ordered by age ascending
|
|
694
|
+
* // Where email contains prisma.io
|
|
695
|
+
* // Limited to the 10 users
|
|
696
|
+
* const aggregations = await prisma.user.aggregate({
|
|
697
|
+
* _avg: {
|
|
698
|
+
* age: true,
|
|
699
|
+
* },
|
|
700
|
+
* where: {
|
|
701
|
+
* email: {
|
|
702
|
+
* contains: "prisma.io",
|
|
703
|
+
* },
|
|
704
|
+
* },
|
|
705
|
+
* orderBy: {
|
|
706
|
+
* age: "asc",
|
|
707
|
+
* },
|
|
708
|
+
* take: 10,
|
|
709
|
+
* })
|
|
710
|
+
**/
|
|
711
|
+
aggregate<T extends PulumiBackendAggregateArgs>(args: Prisma.Subset<T, PulumiBackendAggregateArgs>): Prisma.PrismaPromise<GetPulumiBackendAggregateType<T>>
|
|
712
|
+
|
|
713
|
+
/**
|
|
714
|
+
* Group by PulumiBackend.
|
|
715
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
716
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
717
|
+
* @param {PulumiBackendGroupByArgs} args - Group by arguments.
|
|
718
|
+
* @example
|
|
719
|
+
* // Group by city, order by createdAt, get count
|
|
720
|
+
* const result = await prisma.user.groupBy({
|
|
721
|
+
* by: ['city', 'createdAt'],
|
|
722
|
+
* orderBy: {
|
|
723
|
+
* createdAt: true
|
|
724
|
+
* },
|
|
725
|
+
* _count: {
|
|
726
|
+
* _all: true
|
|
727
|
+
* },
|
|
728
|
+
* })
|
|
729
|
+
*
|
|
730
|
+
**/
|
|
731
|
+
groupBy<
|
|
732
|
+
T extends PulumiBackendGroupByArgs,
|
|
733
|
+
HasSelectOrTake extends Prisma.Or<
|
|
734
|
+
Prisma.Extends<'skip', Prisma.Keys<T>>,
|
|
735
|
+
Prisma.Extends<'take', Prisma.Keys<T>>
|
|
736
|
+
>,
|
|
737
|
+
OrderByArg extends Prisma.True extends HasSelectOrTake
|
|
738
|
+
? { orderBy: PulumiBackendGroupByArgs['orderBy'] }
|
|
739
|
+
: { orderBy?: PulumiBackendGroupByArgs['orderBy'] },
|
|
740
|
+
OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
|
|
741
|
+
ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
|
|
742
|
+
ByValid extends Prisma.Has<ByFields, OrderFields>,
|
|
743
|
+
HavingFields extends Prisma.GetHavingFields<T['having']>,
|
|
744
|
+
HavingValid extends Prisma.Has<ByFields, HavingFields>,
|
|
745
|
+
ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False,
|
|
746
|
+
InputErrors extends ByEmpty extends Prisma.True
|
|
747
|
+
? `Error: "by" must not be empty.`
|
|
748
|
+
: HavingValid extends Prisma.False
|
|
749
|
+
? {
|
|
750
|
+
[P in HavingFields]: P extends ByFields
|
|
751
|
+
? never
|
|
752
|
+
: P extends string
|
|
753
|
+
? `Error: Field "${P}" used in "having" needs to be provided in "by".`
|
|
754
|
+
: [
|
|
755
|
+
Error,
|
|
756
|
+
'Field ',
|
|
757
|
+
P,
|
|
758
|
+
` in "having" needs to be provided in "by"`,
|
|
759
|
+
]
|
|
760
|
+
}[HavingFields]
|
|
761
|
+
: 'take' extends Prisma.Keys<T>
|
|
762
|
+
? 'orderBy' extends Prisma.Keys<T>
|
|
763
|
+
? ByValid extends Prisma.True
|
|
764
|
+
? {}
|
|
765
|
+
: {
|
|
766
|
+
[P in OrderFields]: P extends ByFields
|
|
767
|
+
? never
|
|
768
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
769
|
+
}[OrderFields]
|
|
770
|
+
: 'Error: If you provide "take", you also need to provide "orderBy"'
|
|
771
|
+
: 'skip' extends Prisma.Keys<T>
|
|
772
|
+
? 'orderBy' extends Prisma.Keys<T>
|
|
773
|
+
? ByValid extends Prisma.True
|
|
774
|
+
? {}
|
|
775
|
+
: {
|
|
776
|
+
[P in OrderFields]: P extends ByFields
|
|
777
|
+
? never
|
|
778
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
779
|
+
}[OrderFields]
|
|
780
|
+
: 'Error: If you provide "skip", you also need to provide "orderBy"'
|
|
781
|
+
: ByValid extends Prisma.True
|
|
782
|
+
? {}
|
|
783
|
+
: {
|
|
784
|
+
[P in OrderFields]: P extends ByFields
|
|
785
|
+
? never
|
|
786
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
787
|
+
}[OrderFields]
|
|
788
|
+
>(args: Prisma.SubsetIntersection<T, PulumiBackendGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetPulumiBackendGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
789
|
+
/**
|
|
790
|
+
* Fields of the PulumiBackend model
|
|
791
|
+
*/
|
|
792
|
+
readonly fields: PulumiBackendFieldRefs;
|
|
793
|
+
}
|
|
794
|
+
|
|
795
|
+
/**
|
|
796
|
+
* The delegate class that acts as a "Promise-like" for PulumiBackend.
|
|
797
|
+
* Why is this prefixed with `Prisma__`?
|
|
798
|
+
* Because we want to prevent naming conflicts as mentioned in
|
|
799
|
+
* https://github.com/prisma/prisma-client-js/issues/707
|
|
800
|
+
*/
|
|
801
|
+
export interface Prisma__PulumiBackendClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
802
|
+
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
803
|
+
projects<T extends Prisma.PulumiBackend$projectsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.PulumiBackend$projectsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ProjectPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
804
|
+
/**
|
|
805
|
+
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
806
|
+
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
807
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
808
|
+
* @returns A Promise for the completion of which ever callback is executed.
|
|
809
|
+
*/
|
|
810
|
+
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>
|
|
811
|
+
/**
|
|
812
|
+
* Attaches a callback for only the rejection of the Promise.
|
|
813
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
814
|
+
* @returns A Promise for the completion of the callback.
|
|
815
|
+
*/
|
|
816
|
+
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
|
|
817
|
+
/**
|
|
818
|
+
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
819
|
+
* resolved value cannot be modified from the callback.
|
|
820
|
+
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
821
|
+
* @returns A Promise for the completion of the callback.
|
|
822
|
+
*/
|
|
823
|
+
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
|
|
824
|
+
}
|
|
825
|
+
|
|
826
|
+
|
|
827
|
+
|
|
828
|
+
|
|
829
|
+
/**
|
|
830
|
+
* Fields of the PulumiBackend model
|
|
831
|
+
*/
|
|
832
|
+
export interface PulumiBackendFieldRefs {
|
|
833
|
+
readonly id: Prisma.FieldRef<"PulumiBackend", 'String'>
|
|
834
|
+
readonly meta: Prisma.FieldRef<"PulumiBackend", 'Json'>
|
|
835
|
+
readonly spec: Prisma.FieldRef<"PulumiBackend", 'Json'>
|
|
836
|
+
}
|
|
837
|
+
|
|
838
|
+
|
|
839
|
+
// Custom InputTypes
|
|
840
|
+
/**
|
|
841
|
+
* PulumiBackend findUnique
|
|
842
|
+
*/
|
|
843
|
+
export type PulumiBackendFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
844
|
+
/**
|
|
845
|
+
* Select specific fields to fetch from the PulumiBackend
|
|
846
|
+
*/
|
|
847
|
+
select?: Prisma.PulumiBackendSelect<ExtArgs> | null
|
|
848
|
+
/**
|
|
849
|
+
* Omit specific fields from the PulumiBackend
|
|
850
|
+
*/
|
|
851
|
+
omit?: Prisma.PulumiBackendOmit<ExtArgs> | null
|
|
852
|
+
/**
|
|
853
|
+
* Choose, which related nodes to fetch as well
|
|
854
|
+
*/
|
|
855
|
+
include?: Prisma.PulumiBackendInclude<ExtArgs> | null
|
|
856
|
+
/**
|
|
857
|
+
* Filter, which PulumiBackend to fetch.
|
|
858
|
+
*/
|
|
859
|
+
where: Prisma.PulumiBackendWhereUniqueInput
|
|
860
|
+
}
|
|
861
|
+
|
|
862
|
+
/**
|
|
863
|
+
* PulumiBackend findUniqueOrThrow
|
|
864
|
+
*/
|
|
865
|
+
export type PulumiBackendFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
866
|
+
/**
|
|
867
|
+
* Select specific fields to fetch from the PulumiBackend
|
|
868
|
+
*/
|
|
869
|
+
select?: Prisma.PulumiBackendSelect<ExtArgs> | null
|
|
870
|
+
/**
|
|
871
|
+
* Omit specific fields from the PulumiBackend
|
|
872
|
+
*/
|
|
873
|
+
omit?: Prisma.PulumiBackendOmit<ExtArgs> | null
|
|
874
|
+
/**
|
|
875
|
+
* Choose, which related nodes to fetch as well
|
|
876
|
+
*/
|
|
877
|
+
include?: Prisma.PulumiBackendInclude<ExtArgs> | null
|
|
878
|
+
/**
|
|
879
|
+
* Filter, which PulumiBackend to fetch.
|
|
880
|
+
*/
|
|
881
|
+
where: Prisma.PulumiBackendWhereUniqueInput
|
|
882
|
+
}
|
|
883
|
+
|
|
884
|
+
/**
|
|
885
|
+
* PulumiBackend findFirst
|
|
886
|
+
*/
|
|
887
|
+
export type PulumiBackendFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
888
|
+
/**
|
|
889
|
+
* Select specific fields to fetch from the PulumiBackend
|
|
890
|
+
*/
|
|
891
|
+
select?: Prisma.PulumiBackendSelect<ExtArgs> | null
|
|
892
|
+
/**
|
|
893
|
+
* Omit specific fields from the PulumiBackend
|
|
894
|
+
*/
|
|
895
|
+
omit?: Prisma.PulumiBackendOmit<ExtArgs> | null
|
|
896
|
+
/**
|
|
897
|
+
* Choose, which related nodes to fetch as well
|
|
898
|
+
*/
|
|
899
|
+
include?: Prisma.PulumiBackendInclude<ExtArgs> | null
|
|
900
|
+
/**
|
|
901
|
+
* Filter, which PulumiBackend to fetch.
|
|
902
|
+
*/
|
|
903
|
+
where?: Prisma.PulumiBackendWhereInput
|
|
904
|
+
/**
|
|
905
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
906
|
+
*
|
|
907
|
+
* Determine the order of PulumiBackends to fetch.
|
|
908
|
+
*/
|
|
909
|
+
orderBy?: Prisma.PulumiBackendOrderByWithRelationInput | Prisma.PulumiBackendOrderByWithRelationInput[]
|
|
910
|
+
/**
|
|
911
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
912
|
+
*
|
|
913
|
+
* Sets the position for searching for PulumiBackends.
|
|
914
|
+
*/
|
|
915
|
+
cursor?: Prisma.PulumiBackendWhereUniqueInput
|
|
916
|
+
/**
|
|
917
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
918
|
+
*
|
|
919
|
+
* Take `±n` PulumiBackends from the position of the cursor.
|
|
920
|
+
*/
|
|
921
|
+
take?: number
|
|
922
|
+
/**
|
|
923
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
924
|
+
*
|
|
925
|
+
* Skip the first `n` PulumiBackends.
|
|
926
|
+
*/
|
|
927
|
+
skip?: number
|
|
928
|
+
/**
|
|
929
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
930
|
+
*
|
|
931
|
+
* Filter by unique combinations of PulumiBackends.
|
|
932
|
+
*/
|
|
933
|
+
distinct?: Prisma.PulumiBackendScalarFieldEnum | Prisma.PulumiBackendScalarFieldEnum[]
|
|
934
|
+
}
|
|
935
|
+
|
|
936
|
+
/**
|
|
937
|
+
* PulumiBackend findFirstOrThrow
|
|
938
|
+
*/
|
|
939
|
+
export type PulumiBackendFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
940
|
+
/**
|
|
941
|
+
* Select specific fields to fetch from the PulumiBackend
|
|
942
|
+
*/
|
|
943
|
+
select?: Prisma.PulumiBackendSelect<ExtArgs> | null
|
|
944
|
+
/**
|
|
945
|
+
* Omit specific fields from the PulumiBackend
|
|
946
|
+
*/
|
|
947
|
+
omit?: Prisma.PulumiBackendOmit<ExtArgs> | null
|
|
948
|
+
/**
|
|
949
|
+
* Choose, which related nodes to fetch as well
|
|
950
|
+
*/
|
|
951
|
+
include?: Prisma.PulumiBackendInclude<ExtArgs> | null
|
|
952
|
+
/**
|
|
953
|
+
* Filter, which PulumiBackend to fetch.
|
|
954
|
+
*/
|
|
955
|
+
where?: Prisma.PulumiBackendWhereInput
|
|
956
|
+
/**
|
|
957
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
958
|
+
*
|
|
959
|
+
* Determine the order of PulumiBackends to fetch.
|
|
960
|
+
*/
|
|
961
|
+
orderBy?: Prisma.PulumiBackendOrderByWithRelationInput | Prisma.PulumiBackendOrderByWithRelationInput[]
|
|
962
|
+
/**
|
|
963
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
964
|
+
*
|
|
965
|
+
* Sets the position for searching for PulumiBackends.
|
|
966
|
+
*/
|
|
967
|
+
cursor?: Prisma.PulumiBackendWhereUniqueInput
|
|
968
|
+
/**
|
|
969
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
970
|
+
*
|
|
971
|
+
* Take `±n` PulumiBackends from the position of the cursor.
|
|
972
|
+
*/
|
|
973
|
+
take?: number
|
|
974
|
+
/**
|
|
975
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
976
|
+
*
|
|
977
|
+
* Skip the first `n` PulumiBackends.
|
|
978
|
+
*/
|
|
979
|
+
skip?: number
|
|
980
|
+
/**
|
|
981
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
982
|
+
*
|
|
983
|
+
* Filter by unique combinations of PulumiBackends.
|
|
984
|
+
*/
|
|
985
|
+
distinct?: Prisma.PulumiBackendScalarFieldEnum | Prisma.PulumiBackendScalarFieldEnum[]
|
|
986
|
+
}
|
|
987
|
+
|
|
988
|
+
/**
|
|
989
|
+
* PulumiBackend findMany
|
|
990
|
+
*/
|
|
991
|
+
export type PulumiBackendFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
992
|
+
/**
|
|
993
|
+
* Select specific fields to fetch from the PulumiBackend
|
|
994
|
+
*/
|
|
995
|
+
select?: Prisma.PulumiBackendSelect<ExtArgs> | null
|
|
996
|
+
/**
|
|
997
|
+
* Omit specific fields from the PulumiBackend
|
|
998
|
+
*/
|
|
999
|
+
omit?: Prisma.PulumiBackendOmit<ExtArgs> | null
|
|
1000
|
+
/**
|
|
1001
|
+
* Choose, which related nodes to fetch as well
|
|
1002
|
+
*/
|
|
1003
|
+
include?: Prisma.PulumiBackendInclude<ExtArgs> | null
|
|
1004
|
+
/**
|
|
1005
|
+
* Filter, which PulumiBackends to fetch.
|
|
1006
|
+
*/
|
|
1007
|
+
where?: Prisma.PulumiBackendWhereInput
|
|
1008
|
+
/**
|
|
1009
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1010
|
+
*
|
|
1011
|
+
* Determine the order of PulumiBackends to fetch.
|
|
1012
|
+
*/
|
|
1013
|
+
orderBy?: Prisma.PulumiBackendOrderByWithRelationInput | Prisma.PulumiBackendOrderByWithRelationInput[]
|
|
1014
|
+
/**
|
|
1015
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1016
|
+
*
|
|
1017
|
+
* Sets the position for listing PulumiBackends.
|
|
1018
|
+
*/
|
|
1019
|
+
cursor?: Prisma.PulumiBackendWhereUniqueInput
|
|
1020
|
+
/**
|
|
1021
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1022
|
+
*
|
|
1023
|
+
* Take `±n` PulumiBackends from the position of the cursor.
|
|
1024
|
+
*/
|
|
1025
|
+
take?: number
|
|
1026
|
+
/**
|
|
1027
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1028
|
+
*
|
|
1029
|
+
* Skip the first `n` PulumiBackends.
|
|
1030
|
+
*/
|
|
1031
|
+
skip?: number
|
|
1032
|
+
distinct?: Prisma.PulumiBackendScalarFieldEnum | Prisma.PulumiBackendScalarFieldEnum[]
|
|
1033
|
+
}
|
|
1034
|
+
|
|
1035
|
+
/**
|
|
1036
|
+
* PulumiBackend create
|
|
1037
|
+
*/
|
|
1038
|
+
export type PulumiBackendCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1039
|
+
/**
|
|
1040
|
+
* Select specific fields to fetch from the PulumiBackend
|
|
1041
|
+
*/
|
|
1042
|
+
select?: Prisma.PulumiBackendSelect<ExtArgs> | null
|
|
1043
|
+
/**
|
|
1044
|
+
* Omit specific fields from the PulumiBackend
|
|
1045
|
+
*/
|
|
1046
|
+
omit?: Prisma.PulumiBackendOmit<ExtArgs> | null
|
|
1047
|
+
/**
|
|
1048
|
+
* Choose, which related nodes to fetch as well
|
|
1049
|
+
*/
|
|
1050
|
+
include?: Prisma.PulumiBackendInclude<ExtArgs> | null
|
|
1051
|
+
/**
|
|
1052
|
+
* The data needed to create a PulumiBackend.
|
|
1053
|
+
*/
|
|
1054
|
+
data: Prisma.XOR<Prisma.PulumiBackendCreateInput, Prisma.PulumiBackendUncheckedCreateInput>
|
|
1055
|
+
}
|
|
1056
|
+
|
|
1057
|
+
/**
|
|
1058
|
+
* PulumiBackend createMany
|
|
1059
|
+
*/
|
|
1060
|
+
export type PulumiBackendCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1061
|
+
/**
|
|
1062
|
+
* The data used to create many PulumiBackends.
|
|
1063
|
+
*/
|
|
1064
|
+
data: Prisma.PulumiBackendCreateManyInput | Prisma.PulumiBackendCreateManyInput[]
|
|
1065
|
+
}
|
|
1066
|
+
|
|
1067
|
+
/**
|
|
1068
|
+
* PulumiBackend createManyAndReturn
|
|
1069
|
+
*/
|
|
1070
|
+
export type PulumiBackendCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1071
|
+
/**
|
|
1072
|
+
* Select specific fields to fetch from the PulumiBackend
|
|
1073
|
+
*/
|
|
1074
|
+
select?: Prisma.PulumiBackendSelectCreateManyAndReturn<ExtArgs> | null
|
|
1075
|
+
/**
|
|
1076
|
+
* Omit specific fields from the PulumiBackend
|
|
1077
|
+
*/
|
|
1078
|
+
omit?: Prisma.PulumiBackendOmit<ExtArgs> | null
|
|
1079
|
+
/**
|
|
1080
|
+
* The data used to create many PulumiBackends.
|
|
1081
|
+
*/
|
|
1082
|
+
data: Prisma.PulumiBackendCreateManyInput | Prisma.PulumiBackendCreateManyInput[]
|
|
1083
|
+
}
|
|
1084
|
+
|
|
1085
|
+
/**
|
|
1086
|
+
* PulumiBackend update
|
|
1087
|
+
*/
|
|
1088
|
+
export type PulumiBackendUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1089
|
+
/**
|
|
1090
|
+
* Select specific fields to fetch from the PulumiBackend
|
|
1091
|
+
*/
|
|
1092
|
+
select?: Prisma.PulumiBackendSelect<ExtArgs> | null
|
|
1093
|
+
/**
|
|
1094
|
+
* Omit specific fields from the PulumiBackend
|
|
1095
|
+
*/
|
|
1096
|
+
omit?: Prisma.PulumiBackendOmit<ExtArgs> | null
|
|
1097
|
+
/**
|
|
1098
|
+
* Choose, which related nodes to fetch as well
|
|
1099
|
+
*/
|
|
1100
|
+
include?: Prisma.PulumiBackendInclude<ExtArgs> | null
|
|
1101
|
+
/**
|
|
1102
|
+
* The data needed to update a PulumiBackend.
|
|
1103
|
+
*/
|
|
1104
|
+
data: Prisma.XOR<Prisma.PulumiBackendUpdateInput, Prisma.PulumiBackendUncheckedUpdateInput>
|
|
1105
|
+
/**
|
|
1106
|
+
* Choose, which PulumiBackend to update.
|
|
1107
|
+
*/
|
|
1108
|
+
where: Prisma.PulumiBackendWhereUniqueInput
|
|
1109
|
+
}
|
|
1110
|
+
|
|
1111
|
+
/**
|
|
1112
|
+
* PulumiBackend updateMany
|
|
1113
|
+
*/
|
|
1114
|
+
export type PulumiBackendUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1115
|
+
/**
|
|
1116
|
+
* The data used to update PulumiBackends.
|
|
1117
|
+
*/
|
|
1118
|
+
data: Prisma.XOR<Prisma.PulumiBackendUpdateManyMutationInput, Prisma.PulumiBackendUncheckedUpdateManyInput>
|
|
1119
|
+
/**
|
|
1120
|
+
* Filter which PulumiBackends to update
|
|
1121
|
+
*/
|
|
1122
|
+
where?: Prisma.PulumiBackendWhereInput
|
|
1123
|
+
/**
|
|
1124
|
+
* Limit how many PulumiBackends to update.
|
|
1125
|
+
*/
|
|
1126
|
+
limit?: number
|
|
1127
|
+
}
|
|
1128
|
+
|
|
1129
|
+
/**
|
|
1130
|
+
* PulumiBackend updateManyAndReturn
|
|
1131
|
+
*/
|
|
1132
|
+
export type PulumiBackendUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1133
|
+
/**
|
|
1134
|
+
* Select specific fields to fetch from the PulumiBackend
|
|
1135
|
+
*/
|
|
1136
|
+
select?: Prisma.PulumiBackendSelectUpdateManyAndReturn<ExtArgs> | null
|
|
1137
|
+
/**
|
|
1138
|
+
* Omit specific fields from the PulumiBackend
|
|
1139
|
+
*/
|
|
1140
|
+
omit?: Prisma.PulumiBackendOmit<ExtArgs> | null
|
|
1141
|
+
/**
|
|
1142
|
+
* The data used to update PulumiBackends.
|
|
1143
|
+
*/
|
|
1144
|
+
data: Prisma.XOR<Prisma.PulumiBackendUpdateManyMutationInput, Prisma.PulumiBackendUncheckedUpdateManyInput>
|
|
1145
|
+
/**
|
|
1146
|
+
* Filter which PulumiBackends to update
|
|
1147
|
+
*/
|
|
1148
|
+
where?: Prisma.PulumiBackendWhereInput
|
|
1149
|
+
/**
|
|
1150
|
+
* Limit how many PulumiBackends to update.
|
|
1151
|
+
*/
|
|
1152
|
+
limit?: number
|
|
1153
|
+
}
|
|
1154
|
+
|
|
1155
|
+
/**
|
|
1156
|
+
* PulumiBackend upsert
|
|
1157
|
+
*/
|
|
1158
|
+
export type PulumiBackendUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1159
|
+
/**
|
|
1160
|
+
* Select specific fields to fetch from the PulumiBackend
|
|
1161
|
+
*/
|
|
1162
|
+
select?: Prisma.PulumiBackendSelect<ExtArgs> | null
|
|
1163
|
+
/**
|
|
1164
|
+
* Omit specific fields from the PulumiBackend
|
|
1165
|
+
*/
|
|
1166
|
+
omit?: Prisma.PulumiBackendOmit<ExtArgs> | null
|
|
1167
|
+
/**
|
|
1168
|
+
* Choose, which related nodes to fetch as well
|
|
1169
|
+
*/
|
|
1170
|
+
include?: Prisma.PulumiBackendInclude<ExtArgs> | null
|
|
1171
|
+
/**
|
|
1172
|
+
* The filter to search for the PulumiBackend to update in case it exists.
|
|
1173
|
+
*/
|
|
1174
|
+
where: Prisma.PulumiBackendWhereUniqueInput
|
|
1175
|
+
/**
|
|
1176
|
+
* In case the PulumiBackend found by the `where` argument doesn't exist, create a new PulumiBackend with this data.
|
|
1177
|
+
*/
|
|
1178
|
+
create: Prisma.XOR<Prisma.PulumiBackendCreateInput, Prisma.PulumiBackendUncheckedCreateInput>
|
|
1179
|
+
/**
|
|
1180
|
+
* In case the PulumiBackend was found with the provided `where` argument, update it with this data.
|
|
1181
|
+
*/
|
|
1182
|
+
update: Prisma.XOR<Prisma.PulumiBackendUpdateInput, Prisma.PulumiBackendUncheckedUpdateInput>
|
|
1183
|
+
}
|
|
1184
|
+
|
|
1185
|
+
/**
|
|
1186
|
+
* PulumiBackend delete
|
|
1187
|
+
*/
|
|
1188
|
+
export type PulumiBackendDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1189
|
+
/**
|
|
1190
|
+
* Select specific fields to fetch from the PulumiBackend
|
|
1191
|
+
*/
|
|
1192
|
+
select?: Prisma.PulumiBackendSelect<ExtArgs> | null
|
|
1193
|
+
/**
|
|
1194
|
+
* Omit specific fields from the PulumiBackend
|
|
1195
|
+
*/
|
|
1196
|
+
omit?: Prisma.PulumiBackendOmit<ExtArgs> | null
|
|
1197
|
+
/**
|
|
1198
|
+
* Choose, which related nodes to fetch as well
|
|
1199
|
+
*/
|
|
1200
|
+
include?: Prisma.PulumiBackendInclude<ExtArgs> | null
|
|
1201
|
+
/**
|
|
1202
|
+
* Filter which PulumiBackend to delete.
|
|
1203
|
+
*/
|
|
1204
|
+
where: Prisma.PulumiBackendWhereUniqueInput
|
|
1205
|
+
}
|
|
1206
|
+
|
|
1207
|
+
/**
|
|
1208
|
+
* PulumiBackend deleteMany
|
|
1209
|
+
*/
|
|
1210
|
+
export type PulumiBackendDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1211
|
+
/**
|
|
1212
|
+
* Filter which PulumiBackends to delete
|
|
1213
|
+
*/
|
|
1214
|
+
where?: Prisma.PulumiBackendWhereInput
|
|
1215
|
+
/**
|
|
1216
|
+
* Limit how many PulumiBackends to delete.
|
|
1217
|
+
*/
|
|
1218
|
+
limit?: number
|
|
1219
|
+
}
|
|
1220
|
+
|
|
1221
|
+
/**
|
|
1222
|
+
* PulumiBackend.projects
|
|
1223
|
+
*/
|
|
1224
|
+
export type PulumiBackend$projectsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1225
|
+
/**
|
|
1226
|
+
* Select specific fields to fetch from the Project
|
|
1227
|
+
*/
|
|
1228
|
+
select?: Prisma.ProjectSelect<ExtArgs> | null
|
|
1229
|
+
/**
|
|
1230
|
+
* Omit specific fields from the Project
|
|
1231
|
+
*/
|
|
1232
|
+
omit?: Prisma.ProjectOmit<ExtArgs> | null
|
|
1233
|
+
/**
|
|
1234
|
+
* Choose, which related nodes to fetch as well
|
|
1235
|
+
*/
|
|
1236
|
+
include?: Prisma.ProjectInclude<ExtArgs> | null
|
|
1237
|
+
where?: Prisma.ProjectWhereInput
|
|
1238
|
+
orderBy?: Prisma.ProjectOrderByWithRelationInput | Prisma.ProjectOrderByWithRelationInput[]
|
|
1239
|
+
cursor?: Prisma.ProjectWhereUniqueInput
|
|
1240
|
+
take?: number
|
|
1241
|
+
skip?: number
|
|
1242
|
+
distinct?: Prisma.ProjectScalarFieldEnum | Prisma.ProjectScalarFieldEnum[]
|
|
1243
|
+
}
|
|
1244
|
+
|
|
1245
|
+
/**
|
|
1246
|
+
* PulumiBackend without action
|
|
1247
|
+
*/
|
|
1248
|
+
export type PulumiBackendDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1249
|
+
/**
|
|
1250
|
+
* Select specific fields to fetch from the PulumiBackend
|
|
1251
|
+
*/
|
|
1252
|
+
select?: Prisma.PulumiBackendSelect<ExtArgs> | null
|
|
1253
|
+
/**
|
|
1254
|
+
* Omit specific fields from the PulumiBackend
|
|
1255
|
+
*/
|
|
1256
|
+
omit?: Prisma.PulumiBackendOmit<ExtArgs> | null
|
|
1257
|
+
/**
|
|
1258
|
+
* Choose, which related nodes to fetch as well
|
|
1259
|
+
*/
|
|
1260
|
+
include?: Prisma.PulumiBackendInclude<ExtArgs> | null
|
|
1261
|
+
}
|