@highstate/backend 0.9.16 → 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-I7BWSAN6.js +49 -0
- package/dist/chunk-I7BWSAN6.js.map +1 -0
- package/dist/{chunk-RCB4AFGD.js → chunk-VB4YL327.js} +51 -71
- 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 +5 -4
- package/dist/index.js +7676 -6634
- package/dist/index.js.map +1 -1
- package/dist/library/package-resolution-worker.js +8 -6
- package/dist/library/package-resolution-worker.js.map +1 -1
- package/dist/library/worker/main.js +63 -58
- package/dist/library/worker/main.js.map +1 -1
- package/dist/shared/index.js +3 -216
- package/dist/shared/index.js.map +1 -1
- package/package.json +23 -11
- 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 +31 -15
- package/src/artifact/factory.ts +7 -10
- package/src/artifact/local.ts +33 -50
- package/src/business/api-key.ts +24 -36
- package/src/business/artifact.test.ts +978 -0
- package/src/business/artifact.ts +136 -215
- package/src/business/evaluation.ts +328 -0
- package/src/business/index.ts +5 -1
- package/src/business/instance-lock.test.ts +1060 -0
- package/src/business/instance-lock.ts +387 -77
- package/src/business/instance-state.test.ts +735 -0
- package/src/business/instance-state.ts +604 -217
- 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 +172 -112
- package/src/business/project.ts +407 -0
- package/src/business/secret.test.ts +513 -0
- package/src/business/secret.ts +194 -131
- 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 +391 -0
- package/src/business/worker.ts +250 -114
- package/src/common/codebase.ts +65 -0
- package/src/common/index.ts +3 -2
- package/src/common/logger.ts +5 -0
- package/src/common/utils.ts +4 -3
- package/src/config.ts +15 -12
- 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 +21 -14
- package/src/library/factory.ts +1 -1
- package/src/library/local.ts +86 -38
- package/src/library/package-resolution-worker.ts +1 -1
- package/src/library/worker/evaluator.ts +61 -48
- package/src/library/worker/loader.lite.ts +14 -1
- package/src/library/worker/main.ts +9 -16
- package/src/library/worker/protocol.ts +0 -12
- package/src/lock/manager.ts +12 -7
- package/src/orchestrator/manager.ts +198 -131
- 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 +235 -583
- package/src/orchestrator/operation.ts +446 -904
- 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 +49 -25
- package/src/pubsub/memory.ts +31 -0
- package/src/runner/abstractions.ts +38 -26
- package/src/runner/artifact-env.ts +17 -6
- package/src/runner/factory.ts +6 -6
- package/src/runner/force-abort.ts +3 -6
- package/src/runner/local.ts +79 -72
- package/src/runner/pulumi.ts +26 -63
- package/src/services.ts +214 -103
- package/src/shared/models/backend/index.ts +3 -1
- package/src/shared/models/backend/library.ts +12 -4
- package/src/shared/models/backend/project.ts +43 -23
- 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 -109
- 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 -56
- package/src/shared/models/project/artifact.ts +15 -105
- package/src/shared/models/project/custom-status.ts +12 -0
- package/src/shared/models/project/index.ts +9 -9
- package/src/shared/models/project/lock.ts +10 -78
- package/src/shared/models/project/model.ts +32 -0
- 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 -103
- package/src/shared/models/project/service-account.ts +12 -17
- package/src/shared/models/project/state.ts +100 -390
- package/src/shared/models/project/terminal.ts +75 -89
- package/src/shared/models/project/trigger.ts +13 -49
- package/src/shared/models/project/unlock-method.ts +21 -20
- package/src/shared/models/project/worker.ts +89 -88
- package/src/shared/resolvers/graph-resolver.ts +62 -26
- package/src/shared/resolvers/index.ts +1 -1
- package/src/shared/resolvers/input-hash.ts +24 -14
- package/src/shared/resolvers/input.ts +48 -6
- package/src/shared/resolvers/registry.ts +5 -4
- package/src/shared/resolvers/state.ts +12 -1
- package/src/shared/resolvers/validation.ts +29 -9
- package/src/shared/utils/index.ts +1 -1
- 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 +31 -0
- package/src/unlock/index.ts +2 -0
- package/src/unlock/memory.ts +27 -0
- package/src/worker/abstractions.ts +7 -4
- package/src/worker/docker.ts +14 -19
- package/src/worker/manager.ts +376 -79
- package/dist/chunk-RCB4AFGD.js.map +0 -1
- package/dist/chunk-WHALQHEZ.js +0 -2017
- package/dist/chunk-WHALQHEZ.js.map +0 -1
- package/src/business/backend-unlock.ts +0 -10
- package/src/common/performance.ts +0 -44
- 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 -101
- package/src/project/abstractions.ts +0 -102
- package/src/project/factory.ts +0 -11
- package/src/project/index.ts +0 -3
- package/src/project/local.ts +0 -469
- package/src/project/manager.ts +0 -574
- package/src/pubsub/local.ts +0 -36
- package/src/pubsub/validation.ts +0 -33
- package/src/shared/models/project/component.ts +0 -45
- package/src/shared/models/project/instance.ts +0 -74
- package/src/state/abstractions.ts +0 -450
- package/src/state/encryption.ts +0 -59
- package/src/state/factory.ts +0 -20
- package/src/state/index.ts +0 -6
- package/src/state/local/backend.ts +0 -299
- package/src/state/local/collection.ts +0 -342
- package/src/state/local/index.ts +0 -2
- package/src/state/manager.ts +0 -819
- package/src/state/repository/index.ts +0 -2
- package/src/state/repository/repository.index.ts +0 -193
- package/src/state/repository/repository.ts +0 -458
- /package/src/{state → database/local}/keyring.ts +0 -0
|
@@ -0,0 +1,1524 @@
|
|
|
1
|
+
|
|
2
|
+
/* !!! This is code generated by Prisma. Do not edit directly. !!! */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
// @ts-nocheck
|
|
5
|
+
/**
|
|
6
|
+
* This file exports the `WorkerUnitRegistration` 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 WorkerUnitRegistration
|
|
18
|
+
*
|
|
19
|
+
*/
|
|
20
|
+
export type WorkerUnitRegistrationModel = runtime.Types.Result.DefaultSelection<Prisma.$WorkerUnitRegistrationPayload>
|
|
21
|
+
|
|
22
|
+
export type AggregateWorkerUnitRegistration = {
|
|
23
|
+
_count: WorkerUnitRegistrationCountAggregateOutputType | null
|
|
24
|
+
_min: WorkerUnitRegistrationMinAggregateOutputType | null
|
|
25
|
+
_max: WorkerUnitRegistrationMaxAggregateOutputType | null
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
export type WorkerUnitRegistrationMinAggregateOutputType = {
|
|
29
|
+
stateId: string | null
|
|
30
|
+
name: string | null
|
|
31
|
+
workerVersionId: string | null
|
|
32
|
+
createdAt: Date | null
|
|
33
|
+
updatedAt: Date | null
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
export type WorkerUnitRegistrationMaxAggregateOutputType = {
|
|
37
|
+
stateId: string | null
|
|
38
|
+
name: string | null
|
|
39
|
+
workerVersionId: string | null
|
|
40
|
+
createdAt: Date | null
|
|
41
|
+
updatedAt: Date | null
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
export type WorkerUnitRegistrationCountAggregateOutputType = {
|
|
45
|
+
stateId: number
|
|
46
|
+
name: number
|
|
47
|
+
params: number
|
|
48
|
+
workerVersionId: number
|
|
49
|
+
createdAt: number
|
|
50
|
+
updatedAt: number
|
|
51
|
+
_all: number
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
export type WorkerUnitRegistrationMinAggregateInputType = {
|
|
56
|
+
stateId?: true
|
|
57
|
+
name?: true
|
|
58
|
+
workerVersionId?: true
|
|
59
|
+
createdAt?: true
|
|
60
|
+
updatedAt?: true
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
export type WorkerUnitRegistrationMaxAggregateInputType = {
|
|
64
|
+
stateId?: true
|
|
65
|
+
name?: true
|
|
66
|
+
workerVersionId?: true
|
|
67
|
+
createdAt?: true
|
|
68
|
+
updatedAt?: true
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
export type WorkerUnitRegistrationCountAggregateInputType = {
|
|
72
|
+
stateId?: true
|
|
73
|
+
name?: true
|
|
74
|
+
params?: true
|
|
75
|
+
workerVersionId?: true
|
|
76
|
+
createdAt?: true
|
|
77
|
+
updatedAt?: true
|
|
78
|
+
_all?: true
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
export type WorkerUnitRegistrationAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
82
|
+
/**
|
|
83
|
+
* Filter which WorkerUnitRegistration to aggregate.
|
|
84
|
+
*/
|
|
85
|
+
where?: Prisma.WorkerUnitRegistrationWhereInput
|
|
86
|
+
/**
|
|
87
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
88
|
+
*
|
|
89
|
+
* Determine the order of WorkerUnitRegistrations to fetch.
|
|
90
|
+
*/
|
|
91
|
+
orderBy?: Prisma.WorkerUnitRegistrationOrderByWithRelationInput | Prisma.WorkerUnitRegistrationOrderByWithRelationInput[]
|
|
92
|
+
/**
|
|
93
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
94
|
+
*
|
|
95
|
+
* Sets the start position
|
|
96
|
+
*/
|
|
97
|
+
cursor?: Prisma.WorkerUnitRegistrationWhereUniqueInput
|
|
98
|
+
/**
|
|
99
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
100
|
+
*
|
|
101
|
+
* Take `±n` WorkerUnitRegistrations from the position of the cursor.
|
|
102
|
+
*/
|
|
103
|
+
take?: number
|
|
104
|
+
/**
|
|
105
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
106
|
+
*
|
|
107
|
+
* Skip the first `n` WorkerUnitRegistrations.
|
|
108
|
+
*/
|
|
109
|
+
skip?: number
|
|
110
|
+
/**
|
|
111
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
112
|
+
*
|
|
113
|
+
* Count returned WorkerUnitRegistrations
|
|
114
|
+
**/
|
|
115
|
+
_count?: true | WorkerUnitRegistrationCountAggregateInputType
|
|
116
|
+
/**
|
|
117
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
118
|
+
*
|
|
119
|
+
* Select which fields to find the minimum value
|
|
120
|
+
**/
|
|
121
|
+
_min?: WorkerUnitRegistrationMinAggregateInputType
|
|
122
|
+
/**
|
|
123
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
124
|
+
*
|
|
125
|
+
* Select which fields to find the maximum value
|
|
126
|
+
**/
|
|
127
|
+
_max?: WorkerUnitRegistrationMaxAggregateInputType
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
export type GetWorkerUnitRegistrationAggregateType<T extends WorkerUnitRegistrationAggregateArgs> = {
|
|
131
|
+
[P in keyof T & keyof AggregateWorkerUnitRegistration]: P extends '_count' | 'count'
|
|
132
|
+
? T[P] extends true
|
|
133
|
+
? number
|
|
134
|
+
: Prisma.GetScalarType<T[P], AggregateWorkerUnitRegistration[P]>
|
|
135
|
+
: Prisma.GetScalarType<T[P], AggregateWorkerUnitRegistration[P]>
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
|
|
139
|
+
|
|
140
|
+
|
|
141
|
+
export type WorkerUnitRegistrationGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
142
|
+
where?: Prisma.WorkerUnitRegistrationWhereInput
|
|
143
|
+
orderBy?: Prisma.WorkerUnitRegistrationOrderByWithAggregationInput | Prisma.WorkerUnitRegistrationOrderByWithAggregationInput[]
|
|
144
|
+
by: Prisma.WorkerUnitRegistrationScalarFieldEnum[] | Prisma.WorkerUnitRegistrationScalarFieldEnum
|
|
145
|
+
having?: Prisma.WorkerUnitRegistrationScalarWhereWithAggregatesInput
|
|
146
|
+
take?: number
|
|
147
|
+
skip?: number
|
|
148
|
+
_count?: WorkerUnitRegistrationCountAggregateInputType | true
|
|
149
|
+
_min?: WorkerUnitRegistrationMinAggregateInputType
|
|
150
|
+
_max?: WorkerUnitRegistrationMaxAggregateInputType
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
export type WorkerUnitRegistrationGroupByOutputType = {
|
|
154
|
+
stateId: string
|
|
155
|
+
name: string
|
|
156
|
+
params: PrismaJson.WorkerUnitRegistrationParams
|
|
157
|
+
workerVersionId: string
|
|
158
|
+
createdAt: Date
|
|
159
|
+
updatedAt: Date
|
|
160
|
+
_count: WorkerUnitRegistrationCountAggregateOutputType | null
|
|
161
|
+
_min: WorkerUnitRegistrationMinAggregateOutputType | null
|
|
162
|
+
_max: WorkerUnitRegistrationMaxAggregateOutputType | null
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
type GetWorkerUnitRegistrationGroupByPayload<T extends WorkerUnitRegistrationGroupByArgs> = Prisma.PrismaPromise<
|
|
166
|
+
Array<
|
|
167
|
+
Prisma.PickEnumerable<WorkerUnitRegistrationGroupByOutputType, T['by']> &
|
|
168
|
+
{
|
|
169
|
+
[P in ((keyof T) & (keyof WorkerUnitRegistrationGroupByOutputType))]: P extends '_count'
|
|
170
|
+
? T[P] extends boolean
|
|
171
|
+
? number
|
|
172
|
+
: Prisma.GetScalarType<T[P], WorkerUnitRegistrationGroupByOutputType[P]>
|
|
173
|
+
: Prisma.GetScalarType<T[P], WorkerUnitRegistrationGroupByOutputType[P]>
|
|
174
|
+
}
|
|
175
|
+
>
|
|
176
|
+
>
|
|
177
|
+
|
|
178
|
+
|
|
179
|
+
|
|
180
|
+
export type WorkerUnitRegistrationWhereInput = {
|
|
181
|
+
AND?: Prisma.WorkerUnitRegistrationWhereInput | Prisma.WorkerUnitRegistrationWhereInput[]
|
|
182
|
+
OR?: Prisma.WorkerUnitRegistrationWhereInput[]
|
|
183
|
+
NOT?: Prisma.WorkerUnitRegistrationWhereInput | Prisma.WorkerUnitRegistrationWhereInput[]
|
|
184
|
+
stateId?: Prisma.StringFilter<"WorkerUnitRegistration"> | string
|
|
185
|
+
name?: Prisma.StringFilter<"WorkerUnitRegistration"> | string
|
|
186
|
+
params?: Prisma.JsonFilter<"WorkerUnitRegistration">
|
|
187
|
+
workerVersionId?: Prisma.StringFilter<"WorkerUnitRegistration"> | string
|
|
188
|
+
createdAt?: Prisma.DateTimeFilter<"WorkerUnitRegistration"> | Date | string
|
|
189
|
+
updatedAt?: Prisma.DateTimeFilter<"WorkerUnitRegistration"> | Date | string
|
|
190
|
+
state?: Prisma.XOR<Prisma.InstanceStateScalarRelationFilter, Prisma.InstanceStateWhereInput>
|
|
191
|
+
workerVersion?: Prisma.XOR<Prisma.WorkerVersionScalarRelationFilter, Prisma.WorkerVersionWhereInput>
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
export type WorkerUnitRegistrationOrderByWithRelationInput = {
|
|
195
|
+
stateId?: Prisma.SortOrder
|
|
196
|
+
name?: Prisma.SortOrder
|
|
197
|
+
params?: Prisma.SortOrder
|
|
198
|
+
workerVersionId?: Prisma.SortOrder
|
|
199
|
+
createdAt?: Prisma.SortOrder
|
|
200
|
+
updatedAt?: Prisma.SortOrder
|
|
201
|
+
state?: Prisma.InstanceStateOrderByWithRelationInput
|
|
202
|
+
workerVersion?: Prisma.WorkerVersionOrderByWithRelationInput
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
export type WorkerUnitRegistrationWhereUniqueInput = Prisma.AtLeast<{
|
|
206
|
+
stateId_name?: Prisma.WorkerUnitRegistrationStateIdNameCompoundUniqueInput
|
|
207
|
+
AND?: Prisma.WorkerUnitRegistrationWhereInput | Prisma.WorkerUnitRegistrationWhereInput[]
|
|
208
|
+
OR?: Prisma.WorkerUnitRegistrationWhereInput[]
|
|
209
|
+
NOT?: Prisma.WorkerUnitRegistrationWhereInput | Prisma.WorkerUnitRegistrationWhereInput[]
|
|
210
|
+
stateId?: Prisma.StringFilter<"WorkerUnitRegistration"> | string
|
|
211
|
+
name?: Prisma.StringFilter<"WorkerUnitRegistration"> | string
|
|
212
|
+
params?: Prisma.JsonFilter<"WorkerUnitRegistration">
|
|
213
|
+
workerVersionId?: Prisma.StringFilter<"WorkerUnitRegistration"> | string
|
|
214
|
+
createdAt?: Prisma.DateTimeFilter<"WorkerUnitRegistration"> | Date | string
|
|
215
|
+
updatedAt?: Prisma.DateTimeFilter<"WorkerUnitRegistration"> | Date | string
|
|
216
|
+
state?: Prisma.XOR<Prisma.InstanceStateScalarRelationFilter, Prisma.InstanceStateWhereInput>
|
|
217
|
+
workerVersion?: Prisma.XOR<Prisma.WorkerVersionScalarRelationFilter, Prisma.WorkerVersionWhereInput>
|
|
218
|
+
}, "stateId_name">
|
|
219
|
+
|
|
220
|
+
export type WorkerUnitRegistrationOrderByWithAggregationInput = {
|
|
221
|
+
stateId?: Prisma.SortOrder
|
|
222
|
+
name?: Prisma.SortOrder
|
|
223
|
+
params?: Prisma.SortOrder
|
|
224
|
+
workerVersionId?: Prisma.SortOrder
|
|
225
|
+
createdAt?: Prisma.SortOrder
|
|
226
|
+
updatedAt?: Prisma.SortOrder
|
|
227
|
+
_count?: Prisma.WorkerUnitRegistrationCountOrderByAggregateInput
|
|
228
|
+
_max?: Prisma.WorkerUnitRegistrationMaxOrderByAggregateInput
|
|
229
|
+
_min?: Prisma.WorkerUnitRegistrationMinOrderByAggregateInput
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
export type WorkerUnitRegistrationScalarWhereWithAggregatesInput = {
|
|
233
|
+
AND?: Prisma.WorkerUnitRegistrationScalarWhereWithAggregatesInput | Prisma.WorkerUnitRegistrationScalarWhereWithAggregatesInput[]
|
|
234
|
+
OR?: Prisma.WorkerUnitRegistrationScalarWhereWithAggregatesInput[]
|
|
235
|
+
NOT?: Prisma.WorkerUnitRegistrationScalarWhereWithAggregatesInput | Prisma.WorkerUnitRegistrationScalarWhereWithAggregatesInput[]
|
|
236
|
+
stateId?: Prisma.StringWithAggregatesFilter<"WorkerUnitRegistration"> | string
|
|
237
|
+
name?: Prisma.StringWithAggregatesFilter<"WorkerUnitRegistration"> | string
|
|
238
|
+
params?: Prisma.JsonWithAggregatesFilter<"WorkerUnitRegistration">
|
|
239
|
+
workerVersionId?: Prisma.StringWithAggregatesFilter<"WorkerUnitRegistration"> | string
|
|
240
|
+
createdAt?: Prisma.DateTimeWithAggregatesFilter<"WorkerUnitRegistration"> | Date | string
|
|
241
|
+
updatedAt?: Prisma.DateTimeWithAggregatesFilter<"WorkerUnitRegistration"> | Date | string
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
export type WorkerUnitRegistrationCreateInput = {
|
|
245
|
+
name: string
|
|
246
|
+
params: PrismaJson.WorkerUnitRegistrationParams
|
|
247
|
+
createdAt?: Date | string
|
|
248
|
+
updatedAt?: Date | string
|
|
249
|
+
state: Prisma.InstanceStateCreateNestedOneWithoutWorkerRegistrationsInput
|
|
250
|
+
workerVersion: Prisma.WorkerVersionCreateNestedOneWithoutUnitRegistrationsInput
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
export type WorkerUnitRegistrationUncheckedCreateInput = {
|
|
254
|
+
stateId: string
|
|
255
|
+
name: string
|
|
256
|
+
params: PrismaJson.WorkerUnitRegistrationParams
|
|
257
|
+
workerVersionId: string
|
|
258
|
+
createdAt?: Date | string
|
|
259
|
+
updatedAt?: Date | string
|
|
260
|
+
}
|
|
261
|
+
|
|
262
|
+
export type WorkerUnitRegistrationUpdateInput = {
|
|
263
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
264
|
+
params?: PrismaJson.WorkerUnitRegistrationParams
|
|
265
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
266
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
267
|
+
state?: Prisma.InstanceStateUpdateOneRequiredWithoutWorkerRegistrationsNestedInput
|
|
268
|
+
workerVersion?: Prisma.WorkerVersionUpdateOneRequiredWithoutUnitRegistrationsNestedInput
|
|
269
|
+
}
|
|
270
|
+
|
|
271
|
+
export type WorkerUnitRegistrationUncheckedUpdateInput = {
|
|
272
|
+
stateId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
273
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
274
|
+
params?: PrismaJson.WorkerUnitRegistrationParams
|
|
275
|
+
workerVersionId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
276
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
277
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
278
|
+
}
|
|
279
|
+
|
|
280
|
+
export type WorkerUnitRegistrationCreateManyInput = {
|
|
281
|
+
stateId: string
|
|
282
|
+
name: string
|
|
283
|
+
params: PrismaJson.WorkerUnitRegistrationParams
|
|
284
|
+
workerVersionId: string
|
|
285
|
+
createdAt?: Date | string
|
|
286
|
+
updatedAt?: Date | string
|
|
287
|
+
}
|
|
288
|
+
|
|
289
|
+
export type WorkerUnitRegistrationUpdateManyMutationInput = {
|
|
290
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
291
|
+
params?: PrismaJson.WorkerUnitRegistrationParams
|
|
292
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
293
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
294
|
+
}
|
|
295
|
+
|
|
296
|
+
export type WorkerUnitRegistrationUncheckedUpdateManyInput = {
|
|
297
|
+
stateId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
298
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
299
|
+
params?: PrismaJson.WorkerUnitRegistrationParams
|
|
300
|
+
workerVersionId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
301
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
302
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
303
|
+
}
|
|
304
|
+
|
|
305
|
+
export type WorkerUnitRegistrationListRelationFilter = {
|
|
306
|
+
every?: Prisma.WorkerUnitRegistrationWhereInput
|
|
307
|
+
some?: Prisma.WorkerUnitRegistrationWhereInput
|
|
308
|
+
none?: Prisma.WorkerUnitRegistrationWhereInput
|
|
309
|
+
}
|
|
310
|
+
|
|
311
|
+
export type WorkerUnitRegistrationOrderByRelationAggregateInput = {
|
|
312
|
+
_count?: Prisma.SortOrder
|
|
313
|
+
}
|
|
314
|
+
|
|
315
|
+
export type WorkerUnitRegistrationStateIdNameCompoundUniqueInput = {
|
|
316
|
+
stateId: string
|
|
317
|
+
name: string
|
|
318
|
+
}
|
|
319
|
+
|
|
320
|
+
export type WorkerUnitRegistrationCountOrderByAggregateInput = {
|
|
321
|
+
stateId?: Prisma.SortOrder
|
|
322
|
+
name?: Prisma.SortOrder
|
|
323
|
+
params?: Prisma.SortOrder
|
|
324
|
+
workerVersionId?: Prisma.SortOrder
|
|
325
|
+
createdAt?: Prisma.SortOrder
|
|
326
|
+
updatedAt?: Prisma.SortOrder
|
|
327
|
+
}
|
|
328
|
+
|
|
329
|
+
export type WorkerUnitRegistrationMaxOrderByAggregateInput = {
|
|
330
|
+
stateId?: Prisma.SortOrder
|
|
331
|
+
name?: Prisma.SortOrder
|
|
332
|
+
workerVersionId?: Prisma.SortOrder
|
|
333
|
+
createdAt?: Prisma.SortOrder
|
|
334
|
+
updatedAt?: Prisma.SortOrder
|
|
335
|
+
}
|
|
336
|
+
|
|
337
|
+
export type WorkerUnitRegistrationMinOrderByAggregateInput = {
|
|
338
|
+
stateId?: Prisma.SortOrder
|
|
339
|
+
name?: Prisma.SortOrder
|
|
340
|
+
workerVersionId?: Prisma.SortOrder
|
|
341
|
+
createdAt?: Prisma.SortOrder
|
|
342
|
+
updatedAt?: Prisma.SortOrder
|
|
343
|
+
}
|
|
344
|
+
|
|
345
|
+
export type WorkerUnitRegistrationCreateNestedManyWithoutStateInput = {
|
|
346
|
+
create?: Prisma.XOR<Prisma.WorkerUnitRegistrationCreateWithoutStateInput, Prisma.WorkerUnitRegistrationUncheckedCreateWithoutStateInput> | Prisma.WorkerUnitRegistrationCreateWithoutStateInput[] | Prisma.WorkerUnitRegistrationUncheckedCreateWithoutStateInput[]
|
|
347
|
+
connectOrCreate?: Prisma.WorkerUnitRegistrationCreateOrConnectWithoutStateInput | Prisma.WorkerUnitRegistrationCreateOrConnectWithoutStateInput[]
|
|
348
|
+
createMany?: Prisma.WorkerUnitRegistrationCreateManyStateInputEnvelope
|
|
349
|
+
connect?: Prisma.WorkerUnitRegistrationWhereUniqueInput | Prisma.WorkerUnitRegistrationWhereUniqueInput[]
|
|
350
|
+
}
|
|
351
|
+
|
|
352
|
+
export type WorkerUnitRegistrationUncheckedCreateNestedManyWithoutStateInput = {
|
|
353
|
+
create?: Prisma.XOR<Prisma.WorkerUnitRegistrationCreateWithoutStateInput, Prisma.WorkerUnitRegistrationUncheckedCreateWithoutStateInput> | Prisma.WorkerUnitRegistrationCreateWithoutStateInput[] | Prisma.WorkerUnitRegistrationUncheckedCreateWithoutStateInput[]
|
|
354
|
+
connectOrCreate?: Prisma.WorkerUnitRegistrationCreateOrConnectWithoutStateInput | Prisma.WorkerUnitRegistrationCreateOrConnectWithoutStateInput[]
|
|
355
|
+
createMany?: Prisma.WorkerUnitRegistrationCreateManyStateInputEnvelope
|
|
356
|
+
connect?: Prisma.WorkerUnitRegistrationWhereUniqueInput | Prisma.WorkerUnitRegistrationWhereUniqueInput[]
|
|
357
|
+
}
|
|
358
|
+
|
|
359
|
+
export type WorkerUnitRegistrationUpdateManyWithoutStateNestedInput = {
|
|
360
|
+
create?: Prisma.XOR<Prisma.WorkerUnitRegistrationCreateWithoutStateInput, Prisma.WorkerUnitRegistrationUncheckedCreateWithoutStateInput> | Prisma.WorkerUnitRegistrationCreateWithoutStateInput[] | Prisma.WorkerUnitRegistrationUncheckedCreateWithoutStateInput[]
|
|
361
|
+
connectOrCreate?: Prisma.WorkerUnitRegistrationCreateOrConnectWithoutStateInput | Prisma.WorkerUnitRegistrationCreateOrConnectWithoutStateInput[]
|
|
362
|
+
upsert?: Prisma.WorkerUnitRegistrationUpsertWithWhereUniqueWithoutStateInput | Prisma.WorkerUnitRegistrationUpsertWithWhereUniqueWithoutStateInput[]
|
|
363
|
+
createMany?: Prisma.WorkerUnitRegistrationCreateManyStateInputEnvelope
|
|
364
|
+
set?: Prisma.WorkerUnitRegistrationWhereUniqueInput | Prisma.WorkerUnitRegistrationWhereUniqueInput[]
|
|
365
|
+
disconnect?: Prisma.WorkerUnitRegistrationWhereUniqueInput | Prisma.WorkerUnitRegistrationWhereUniqueInput[]
|
|
366
|
+
delete?: Prisma.WorkerUnitRegistrationWhereUniqueInput | Prisma.WorkerUnitRegistrationWhereUniqueInput[]
|
|
367
|
+
connect?: Prisma.WorkerUnitRegistrationWhereUniqueInput | Prisma.WorkerUnitRegistrationWhereUniqueInput[]
|
|
368
|
+
update?: Prisma.WorkerUnitRegistrationUpdateWithWhereUniqueWithoutStateInput | Prisma.WorkerUnitRegistrationUpdateWithWhereUniqueWithoutStateInput[]
|
|
369
|
+
updateMany?: Prisma.WorkerUnitRegistrationUpdateManyWithWhereWithoutStateInput | Prisma.WorkerUnitRegistrationUpdateManyWithWhereWithoutStateInput[]
|
|
370
|
+
deleteMany?: Prisma.WorkerUnitRegistrationScalarWhereInput | Prisma.WorkerUnitRegistrationScalarWhereInput[]
|
|
371
|
+
}
|
|
372
|
+
|
|
373
|
+
export type WorkerUnitRegistrationUncheckedUpdateManyWithoutStateNestedInput = {
|
|
374
|
+
create?: Prisma.XOR<Prisma.WorkerUnitRegistrationCreateWithoutStateInput, Prisma.WorkerUnitRegistrationUncheckedCreateWithoutStateInput> | Prisma.WorkerUnitRegistrationCreateWithoutStateInput[] | Prisma.WorkerUnitRegistrationUncheckedCreateWithoutStateInput[]
|
|
375
|
+
connectOrCreate?: Prisma.WorkerUnitRegistrationCreateOrConnectWithoutStateInput | Prisma.WorkerUnitRegistrationCreateOrConnectWithoutStateInput[]
|
|
376
|
+
upsert?: Prisma.WorkerUnitRegistrationUpsertWithWhereUniqueWithoutStateInput | Prisma.WorkerUnitRegistrationUpsertWithWhereUniqueWithoutStateInput[]
|
|
377
|
+
createMany?: Prisma.WorkerUnitRegistrationCreateManyStateInputEnvelope
|
|
378
|
+
set?: Prisma.WorkerUnitRegistrationWhereUniqueInput | Prisma.WorkerUnitRegistrationWhereUniqueInput[]
|
|
379
|
+
disconnect?: Prisma.WorkerUnitRegistrationWhereUniqueInput | Prisma.WorkerUnitRegistrationWhereUniqueInput[]
|
|
380
|
+
delete?: Prisma.WorkerUnitRegistrationWhereUniqueInput | Prisma.WorkerUnitRegistrationWhereUniqueInput[]
|
|
381
|
+
connect?: Prisma.WorkerUnitRegistrationWhereUniqueInput | Prisma.WorkerUnitRegistrationWhereUniqueInput[]
|
|
382
|
+
update?: Prisma.WorkerUnitRegistrationUpdateWithWhereUniqueWithoutStateInput | Prisma.WorkerUnitRegistrationUpdateWithWhereUniqueWithoutStateInput[]
|
|
383
|
+
updateMany?: Prisma.WorkerUnitRegistrationUpdateManyWithWhereWithoutStateInput | Prisma.WorkerUnitRegistrationUpdateManyWithWhereWithoutStateInput[]
|
|
384
|
+
deleteMany?: Prisma.WorkerUnitRegistrationScalarWhereInput | Prisma.WorkerUnitRegistrationScalarWhereInput[]
|
|
385
|
+
}
|
|
386
|
+
|
|
387
|
+
export type WorkerUnitRegistrationCreateNestedManyWithoutWorkerVersionInput = {
|
|
388
|
+
create?: Prisma.XOR<Prisma.WorkerUnitRegistrationCreateWithoutWorkerVersionInput, Prisma.WorkerUnitRegistrationUncheckedCreateWithoutWorkerVersionInput> | Prisma.WorkerUnitRegistrationCreateWithoutWorkerVersionInput[] | Prisma.WorkerUnitRegistrationUncheckedCreateWithoutWorkerVersionInput[]
|
|
389
|
+
connectOrCreate?: Prisma.WorkerUnitRegistrationCreateOrConnectWithoutWorkerVersionInput | Prisma.WorkerUnitRegistrationCreateOrConnectWithoutWorkerVersionInput[]
|
|
390
|
+
createMany?: Prisma.WorkerUnitRegistrationCreateManyWorkerVersionInputEnvelope
|
|
391
|
+
connect?: Prisma.WorkerUnitRegistrationWhereUniqueInput | Prisma.WorkerUnitRegistrationWhereUniqueInput[]
|
|
392
|
+
}
|
|
393
|
+
|
|
394
|
+
export type WorkerUnitRegistrationUncheckedCreateNestedManyWithoutWorkerVersionInput = {
|
|
395
|
+
create?: Prisma.XOR<Prisma.WorkerUnitRegistrationCreateWithoutWorkerVersionInput, Prisma.WorkerUnitRegistrationUncheckedCreateWithoutWorkerVersionInput> | Prisma.WorkerUnitRegistrationCreateWithoutWorkerVersionInput[] | Prisma.WorkerUnitRegistrationUncheckedCreateWithoutWorkerVersionInput[]
|
|
396
|
+
connectOrCreate?: Prisma.WorkerUnitRegistrationCreateOrConnectWithoutWorkerVersionInput | Prisma.WorkerUnitRegistrationCreateOrConnectWithoutWorkerVersionInput[]
|
|
397
|
+
createMany?: Prisma.WorkerUnitRegistrationCreateManyWorkerVersionInputEnvelope
|
|
398
|
+
connect?: Prisma.WorkerUnitRegistrationWhereUniqueInput | Prisma.WorkerUnitRegistrationWhereUniqueInput[]
|
|
399
|
+
}
|
|
400
|
+
|
|
401
|
+
export type WorkerUnitRegistrationUpdateManyWithoutWorkerVersionNestedInput = {
|
|
402
|
+
create?: Prisma.XOR<Prisma.WorkerUnitRegistrationCreateWithoutWorkerVersionInput, Prisma.WorkerUnitRegistrationUncheckedCreateWithoutWorkerVersionInput> | Prisma.WorkerUnitRegistrationCreateWithoutWorkerVersionInput[] | Prisma.WorkerUnitRegistrationUncheckedCreateWithoutWorkerVersionInput[]
|
|
403
|
+
connectOrCreate?: Prisma.WorkerUnitRegistrationCreateOrConnectWithoutWorkerVersionInput | Prisma.WorkerUnitRegistrationCreateOrConnectWithoutWorkerVersionInput[]
|
|
404
|
+
upsert?: Prisma.WorkerUnitRegistrationUpsertWithWhereUniqueWithoutWorkerVersionInput | Prisma.WorkerUnitRegistrationUpsertWithWhereUniqueWithoutWorkerVersionInput[]
|
|
405
|
+
createMany?: Prisma.WorkerUnitRegistrationCreateManyWorkerVersionInputEnvelope
|
|
406
|
+
set?: Prisma.WorkerUnitRegistrationWhereUniqueInput | Prisma.WorkerUnitRegistrationWhereUniqueInput[]
|
|
407
|
+
disconnect?: Prisma.WorkerUnitRegistrationWhereUniqueInput | Prisma.WorkerUnitRegistrationWhereUniqueInput[]
|
|
408
|
+
delete?: Prisma.WorkerUnitRegistrationWhereUniqueInput | Prisma.WorkerUnitRegistrationWhereUniqueInput[]
|
|
409
|
+
connect?: Prisma.WorkerUnitRegistrationWhereUniqueInput | Prisma.WorkerUnitRegistrationWhereUniqueInput[]
|
|
410
|
+
update?: Prisma.WorkerUnitRegistrationUpdateWithWhereUniqueWithoutWorkerVersionInput | Prisma.WorkerUnitRegistrationUpdateWithWhereUniqueWithoutWorkerVersionInput[]
|
|
411
|
+
updateMany?: Prisma.WorkerUnitRegistrationUpdateManyWithWhereWithoutWorkerVersionInput | Prisma.WorkerUnitRegistrationUpdateManyWithWhereWithoutWorkerVersionInput[]
|
|
412
|
+
deleteMany?: Prisma.WorkerUnitRegistrationScalarWhereInput | Prisma.WorkerUnitRegistrationScalarWhereInput[]
|
|
413
|
+
}
|
|
414
|
+
|
|
415
|
+
export type WorkerUnitRegistrationUncheckedUpdateManyWithoutWorkerVersionNestedInput = {
|
|
416
|
+
create?: Prisma.XOR<Prisma.WorkerUnitRegistrationCreateWithoutWorkerVersionInput, Prisma.WorkerUnitRegistrationUncheckedCreateWithoutWorkerVersionInput> | Prisma.WorkerUnitRegistrationCreateWithoutWorkerVersionInput[] | Prisma.WorkerUnitRegistrationUncheckedCreateWithoutWorkerVersionInput[]
|
|
417
|
+
connectOrCreate?: Prisma.WorkerUnitRegistrationCreateOrConnectWithoutWorkerVersionInput | Prisma.WorkerUnitRegistrationCreateOrConnectWithoutWorkerVersionInput[]
|
|
418
|
+
upsert?: Prisma.WorkerUnitRegistrationUpsertWithWhereUniqueWithoutWorkerVersionInput | Prisma.WorkerUnitRegistrationUpsertWithWhereUniqueWithoutWorkerVersionInput[]
|
|
419
|
+
createMany?: Prisma.WorkerUnitRegistrationCreateManyWorkerVersionInputEnvelope
|
|
420
|
+
set?: Prisma.WorkerUnitRegistrationWhereUniqueInput | Prisma.WorkerUnitRegistrationWhereUniqueInput[]
|
|
421
|
+
disconnect?: Prisma.WorkerUnitRegistrationWhereUniqueInput | Prisma.WorkerUnitRegistrationWhereUniqueInput[]
|
|
422
|
+
delete?: Prisma.WorkerUnitRegistrationWhereUniqueInput | Prisma.WorkerUnitRegistrationWhereUniqueInput[]
|
|
423
|
+
connect?: Prisma.WorkerUnitRegistrationWhereUniqueInput | Prisma.WorkerUnitRegistrationWhereUniqueInput[]
|
|
424
|
+
update?: Prisma.WorkerUnitRegistrationUpdateWithWhereUniqueWithoutWorkerVersionInput | Prisma.WorkerUnitRegistrationUpdateWithWhereUniqueWithoutWorkerVersionInput[]
|
|
425
|
+
updateMany?: Prisma.WorkerUnitRegistrationUpdateManyWithWhereWithoutWorkerVersionInput | Prisma.WorkerUnitRegistrationUpdateManyWithWhereWithoutWorkerVersionInput[]
|
|
426
|
+
deleteMany?: Prisma.WorkerUnitRegistrationScalarWhereInput | Prisma.WorkerUnitRegistrationScalarWhereInput[]
|
|
427
|
+
}
|
|
428
|
+
|
|
429
|
+
export type WorkerUnitRegistrationCreateWithoutStateInput = {
|
|
430
|
+
name: string
|
|
431
|
+
params: PrismaJson.WorkerUnitRegistrationParams
|
|
432
|
+
createdAt?: Date | string
|
|
433
|
+
updatedAt?: Date | string
|
|
434
|
+
workerVersion: Prisma.WorkerVersionCreateNestedOneWithoutUnitRegistrationsInput
|
|
435
|
+
}
|
|
436
|
+
|
|
437
|
+
export type WorkerUnitRegistrationUncheckedCreateWithoutStateInput = {
|
|
438
|
+
name: string
|
|
439
|
+
params: PrismaJson.WorkerUnitRegistrationParams
|
|
440
|
+
workerVersionId: string
|
|
441
|
+
createdAt?: Date | string
|
|
442
|
+
updatedAt?: Date | string
|
|
443
|
+
}
|
|
444
|
+
|
|
445
|
+
export type WorkerUnitRegistrationCreateOrConnectWithoutStateInput = {
|
|
446
|
+
where: Prisma.WorkerUnitRegistrationWhereUniqueInput
|
|
447
|
+
create: Prisma.XOR<Prisma.WorkerUnitRegistrationCreateWithoutStateInput, Prisma.WorkerUnitRegistrationUncheckedCreateWithoutStateInput>
|
|
448
|
+
}
|
|
449
|
+
|
|
450
|
+
export type WorkerUnitRegistrationCreateManyStateInputEnvelope = {
|
|
451
|
+
data: Prisma.WorkerUnitRegistrationCreateManyStateInput | Prisma.WorkerUnitRegistrationCreateManyStateInput[]
|
|
452
|
+
}
|
|
453
|
+
|
|
454
|
+
export type WorkerUnitRegistrationUpsertWithWhereUniqueWithoutStateInput = {
|
|
455
|
+
where: Prisma.WorkerUnitRegistrationWhereUniqueInput
|
|
456
|
+
update: Prisma.XOR<Prisma.WorkerUnitRegistrationUpdateWithoutStateInput, Prisma.WorkerUnitRegistrationUncheckedUpdateWithoutStateInput>
|
|
457
|
+
create: Prisma.XOR<Prisma.WorkerUnitRegistrationCreateWithoutStateInput, Prisma.WorkerUnitRegistrationUncheckedCreateWithoutStateInput>
|
|
458
|
+
}
|
|
459
|
+
|
|
460
|
+
export type WorkerUnitRegistrationUpdateWithWhereUniqueWithoutStateInput = {
|
|
461
|
+
where: Prisma.WorkerUnitRegistrationWhereUniqueInput
|
|
462
|
+
data: Prisma.XOR<Prisma.WorkerUnitRegistrationUpdateWithoutStateInput, Prisma.WorkerUnitRegistrationUncheckedUpdateWithoutStateInput>
|
|
463
|
+
}
|
|
464
|
+
|
|
465
|
+
export type WorkerUnitRegistrationUpdateManyWithWhereWithoutStateInput = {
|
|
466
|
+
where: Prisma.WorkerUnitRegistrationScalarWhereInput
|
|
467
|
+
data: Prisma.XOR<Prisma.WorkerUnitRegistrationUpdateManyMutationInput, Prisma.WorkerUnitRegistrationUncheckedUpdateManyWithoutStateInput>
|
|
468
|
+
}
|
|
469
|
+
|
|
470
|
+
export type WorkerUnitRegistrationScalarWhereInput = {
|
|
471
|
+
AND?: Prisma.WorkerUnitRegistrationScalarWhereInput | Prisma.WorkerUnitRegistrationScalarWhereInput[]
|
|
472
|
+
OR?: Prisma.WorkerUnitRegistrationScalarWhereInput[]
|
|
473
|
+
NOT?: Prisma.WorkerUnitRegistrationScalarWhereInput | Prisma.WorkerUnitRegistrationScalarWhereInput[]
|
|
474
|
+
stateId?: Prisma.StringFilter<"WorkerUnitRegistration"> | string
|
|
475
|
+
name?: Prisma.StringFilter<"WorkerUnitRegistration"> | string
|
|
476
|
+
params?: Prisma.JsonFilter<"WorkerUnitRegistration">
|
|
477
|
+
workerVersionId?: Prisma.StringFilter<"WorkerUnitRegistration"> | string
|
|
478
|
+
createdAt?: Prisma.DateTimeFilter<"WorkerUnitRegistration"> | Date | string
|
|
479
|
+
updatedAt?: Prisma.DateTimeFilter<"WorkerUnitRegistration"> | Date | string
|
|
480
|
+
}
|
|
481
|
+
|
|
482
|
+
export type WorkerUnitRegistrationCreateWithoutWorkerVersionInput = {
|
|
483
|
+
name: string
|
|
484
|
+
params: PrismaJson.WorkerUnitRegistrationParams
|
|
485
|
+
createdAt?: Date | string
|
|
486
|
+
updatedAt?: Date | string
|
|
487
|
+
state: Prisma.InstanceStateCreateNestedOneWithoutWorkerRegistrationsInput
|
|
488
|
+
}
|
|
489
|
+
|
|
490
|
+
export type WorkerUnitRegistrationUncheckedCreateWithoutWorkerVersionInput = {
|
|
491
|
+
stateId: string
|
|
492
|
+
name: string
|
|
493
|
+
params: PrismaJson.WorkerUnitRegistrationParams
|
|
494
|
+
createdAt?: Date | string
|
|
495
|
+
updatedAt?: Date | string
|
|
496
|
+
}
|
|
497
|
+
|
|
498
|
+
export type WorkerUnitRegistrationCreateOrConnectWithoutWorkerVersionInput = {
|
|
499
|
+
where: Prisma.WorkerUnitRegistrationWhereUniqueInput
|
|
500
|
+
create: Prisma.XOR<Prisma.WorkerUnitRegistrationCreateWithoutWorkerVersionInput, Prisma.WorkerUnitRegistrationUncheckedCreateWithoutWorkerVersionInput>
|
|
501
|
+
}
|
|
502
|
+
|
|
503
|
+
export type WorkerUnitRegistrationCreateManyWorkerVersionInputEnvelope = {
|
|
504
|
+
data: Prisma.WorkerUnitRegistrationCreateManyWorkerVersionInput | Prisma.WorkerUnitRegistrationCreateManyWorkerVersionInput[]
|
|
505
|
+
}
|
|
506
|
+
|
|
507
|
+
export type WorkerUnitRegistrationUpsertWithWhereUniqueWithoutWorkerVersionInput = {
|
|
508
|
+
where: Prisma.WorkerUnitRegistrationWhereUniqueInput
|
|
509
|
+
update: Prisma.XOR<Prisma.WorkerUnitRegistrationUpdateWithoutWorkerVersionInput, Prisma.WorkerUnitRegistrationUncheckedUpdateWithoutWorkerVersionInput>
|
|
510
|
+
create: Prisma.XOR<Prisma.WorkerUnitRegistrationCreateWithoutWorkerVersionInput, Prisma.WorkerUnitRegistrationUncheckedCreateWithoutWorkerVersionInput>
|
|
511
|
+
}
|
|
512
|
+
|
|
513
|
+
export type WorkerUnitRegistrationUpdateWithWhereUniqueWithoutWorkerVersionInput = {
|
|
514
|
+
where: Prisma.WorkerUnitRegistrationWhereUniqueInput
|
|
515
|
+
data: Prisma.XOR<Prisma.WorkerUnitRegistrationUpdateWithoutWorkerVersionInput, Prisma.WorkerUnitRegistrationUncheckedUpdateWithoutWorkerVersionInput>
|
|
516
|
+
}
|
|
517
|
+
|
|
518
|
+
export type WorkerUnitRegistrationUpdateManyWithWhereWithoutWorkerVersionInput = {
|
|
519
|
+
where: Prisma.WorkerUnitRegistrationScalarWhereInput
|
|
520
|
+
data: Prisma.XOR<Prisma.WorkerUnitRegistrationUpdateManyMutationInput, Prisma.WorkerUnitRegistrationUncheckedUpdateManyWithoutWorkerVersionInput>
|
|
521
|
+
}
|
|
522
|
+
|
|
523
|
+
export type WorkerUnitRegistrationCreateManyStateInput = {
|
|
524
|
+
name: string
|
|
525
|
+
params: PrismaJson.WorkerUnitRegistrationParams
|
|
526
|
+
workerVersionId: string
|
|
527
|
+
createdAt?: Date | string
|
|
528
|
+
updatedAt?: Date | string
|
|
529
|
+
}
|
|
530
|
+
|
|
531
|
+
export type WorkerUnitRegistrationUpdateWithoutStateInput = {
|
|
532
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
533
|
+
params?: PrismaJson.WorkerUnitRegistrationParams
|
|
534
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
535
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
536
|
+
workerVersion?: Prisma.WorkerVersionUpdateOneRequiredWithoutUnitRegistrationsNestedInput
|
|
537
|
+
}
|
|
538
|
+
|
|
539
|
+
export type WorkerUnitRegistrationUncheckedUpdateWithoutStateInput = {
|
|
540
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
541
|
+
params?: PrismaJson.WorkerUnitRegistrationParams
|
|
542
|
+
workerVersionId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
543
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
544
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
545
|
+
}
|
|
546
|
+
|
|
547
|
+
export type WorkerUnitRegistrationUncheckedUpdateManyWithoutStateInput = {
|
|
548
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
549
|
+
params?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
550
|
+
workerVersionId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
551
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
552
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
553
|
+
}
|
|
554
|
+
|
|
555
|
+
export type WorkerUnitRegistrationCreateManyWorkerVersionInput = {
|
|
556
|
+
stateId: string
|
|
557
|
+
name: string
|
|
558
|
+
params: PrismaJson.WorkerUnitRegistrationParams
|
|
559
|
+
createdAt?: Date | string
|
|
560
|
+
updatedAt?: Date | string
|
|
561
|
+
}
|
|
562
|
+
|
|
563
|
+
export type WorkerUnitRegistrationUpdateWithoutWorkerVersionInput = {
|
|
564
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
565
|
+
params?: PrismaJson.WorkerUnitRegistrationParams
|
|
566
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
567
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
568
|
+
state?: Prisma.InstanceStateUpdateOneRequiredWithoutWorkerRegistrationsNestedInput
|
|
569
|
+
}
|
|
570
|
+
|
|
571
|
+
export type WorkerUnitRegistrationUncheckedUpdateWithoutWorkerVersionInput = {
|
|
572
|
+
stateId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
573
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
574
|
+
params?: PrismaJson.WorkerUnitRegistrationParams
|
|
575
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
576
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
577
|
+
}
|
|
578
|
+
|
|
579
|
+
export type WorkerUnitRegistrationUncheckedUpdateManyWithoutWorkerVersionInput = {
|
|
580
|
+
stateId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
581
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
582
|
+
params?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
583
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
584
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
585
|
+
}
|
|
586
|
+
|
|
587
|
+
|
|
588
|
+
|
|
589
|
+
export type WorkerUnitRegistrationSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
590
|
+
stateId?: boolean
|
|
591
|
+
name?: boolean
|
|
592
|
+
params?: boolean
|
|
593
|
+
workerVersionId?: boolean
|
|
594
|
+
createdAt?: boolean
|
|
595
|
+
updatedAt?: boolean
|
|
596
|
+
state?: boolean | Prisma.InstanceStateDefaultArgs<ExtArgs>
|
|
597
|
+
workerVersion?: boolean | Prisma.WorkerVersionDefaultArgs<ExtArgs>
|
|
598
|
+
}, ExtArgs["result"]["workerUnitRegistration"]>
|
|
599
|
+
|
|
600
|
+
export type WorkerUnitRegistrationSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
601
|
+
stateId?: boolean
|
|
602
|
+
name?: boolean
|
|
603
|
+
params?: boolean
|
|
604
|
+
workerVersionId?: boolean
|
|
605
|
+
createdAt?: boolean
|
|
606
|
+
updatedAt?: boolean
|
|
607
|
+
state?: boolean | Prisma.InstanceStateDefaultArgs<ExtArgs>
|
|
608
|
+
workerVersion?: boolean | Prisma.WorkerVersionDefaultArgs<ExtArgs>
|
|
609
|
+
}, ExtArgs["result"]["workerUnitRegistration"]>
|
|
610
|
+
|
|
611
|
+
export type WorkerUnitRegistrationSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
612
|
+
stateId?: boolean
|
|
613
|
+
name?: boolean
|
|
614
|
+
params?: boolean
|
|
615
|
+
workerVersionId?: boolean
|
|
616
|
+
createdAt?: boolean
|
|
617
|
+
updatedAt?: boolean
|
|
618
|
+
state?: boolean | Prisma.InstanceStateDefaultArgs<ExtArgs>
|
|
619
|
+
workerVersion?: boolean | Prisma.WorkerVersionDefaultArgs<ExtArgs>
|
|
620
|
+
}, ExtArgs["result"]["workerUnitRegistration"]>
|
|
621
|
+
|
|
622
|
+
export type WorkerUnitRegistrationSelectScalar = {
|
|
623
|
+
stateId?: boolean
|
|
624
|
+
name?: boolean
|
|
625
|
+
params?: boolean
|
|
626
|
+
workerVersionId?: boolean
|
|
627
|
+
createdAt?: boolean
|
|
628
|
+
updatedAt?: boolean
|
|
629
|
+
}
|
|
630
|
+
|
|
631
|
+
export type WorkerUnitRegistrationOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"stateId" | "name" | "params" | "workerVersionId" | "createdAt" | "updatedAt", ExtArgs["result"]["workerUnitRegistration"]>
|
|
632
|
+
export type WorkerUnitRegistrationInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
633
|
+
state?: boolean | Prisma.InstanceStateDefaultArgs<ExtArgs>
|
|
634
|
+
workerVersion?: boolean | Prisma.WorkerVersionDefaultArgs<ExtArgs>
|
|
635
|
+
}
|
|
636
|
+
export type WorkerUnitRegistrationIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
637
|
+
state?: boolean | Prisma.InstanceStateDefaultArgs<ExtArgs>
|
|
638
|
+
workerVersion?: boolean | Prisma.WorkerVersionDefaultArgs<ExtArgs>
|
|
639
|
+
}
|
|
640
|
+
export type WorkerUnitRegistrationIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
641
|
+
state?: boolean | Prisma.InstanceStateDefaultArgs<ExtArgs>
|
|
642
|
+
workerVersion?: boolean | Prisma.WorkerVersionDefaultArgs<ExtArgs>
|
|
643
|
+
}
|
|
644
|
+
|
|
645
|
+
export type $WorkerUnitRegistrationPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
646
|
+
name: "WorkerUnitRegistration"
|
|
647
|
+
objects: {
|
|
648
|
+
/**
|
|
649
|
+
* The unit instance requesting the registration.
|
|
650
|
+
*/
|
|
651
|
+
state: Prisma.$InstanceStatePayload<ExtArgs>
|
|
652
|
+
/**
|
|
653
|
+
* The worker version this registration currently uses.
|
|
654
|
+
*/
|
|
655
|
+
workerVersion: Prisma.$WorkerVersionPayload<ExtArgs>
|
|
656
|
+
}
|
|
657
|
+
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
658
|
+
/**
|
|
659
|
+
* The ID of the state of the unit instance requesting the registration.
|
|
660
|
+
*/
|
|
661
|
+
stateId: string
|
|
662
|
+
/**
|
|
663
|
+
* The name of the workor within the instance.
|
|
664
|
+
*/
|
|
665
|
+
name: string
|
|
666
|
+
/**
|
|
667
|
+
* The parameters of the registration passed by the unit.
|
|
668
|
+
*
|
|
669
|
+
* [WorkerUnitRegistrationParams]
|
|
670
|
+
*/
|
|
671
|
+
params: PrismaJson.WorkerUnitRegistrationParams
|
|
672
|
+
/**
|
|
673
|
+
* The ID of the worker version this registration currently uses.
|
|
674
|
+
*/
|
|
675
|
+
workerVersionId: string
|
|
676
|
+
/**
|
|
677
|
+
* The time this registration was created.
|
|
678
|
+
*/
|
|
679
|
+
createdAt: Date
|
|
680
|
+
/**
|
|
681
|
+
* The time this registration was last updated.
|
|
682
|
+
*/
|
|
683
|
+
updatedAt: Date
|
|
684
|
+
}, ExtArgs["result"]["workerUnitRegistration"]>
|
|
685
|
+
composites: {}
|
|
686
|
+
}
|
|
687
|
+
|
|
688
|
+
export type WorkerUnitRegistrationGetPayload<S extends boolean | null | undefined | WorkerUnitRegistrationDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$WorkerUnitRegistrationPayload, S>
|
|
689
|
+
|
|
690
|
+
export type WorkerUnitRegistrationCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
|
|
691
|
+
Omit<WorkerUnitRegistrationFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
692
|
+
select?: WorkerUnitRegistrationCountAggregateInputType | true
|
|
693
|
+
}
|
|
694
|
+
|
|
695
|
+
export interface WorkerUnitRegistrationDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
696
|
+
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['WorkerUnitRegistration'], meta: { name: 'WorkerUnitRegistration' } }
|
|
697
|
+
/**
|
|
698
|
+
* Find zero or one WorkerUnitRegistration that matches the filter.
|
|
699
|
+
* @param {WorkerUnitRegistrationFindUniqueArgs} args - Arguments to find a WorkerUnitRegistration
|
|
700
|
+
* @example
|
|
701
|
+
* // Get one WorkerUnitRegistration
|
|
702
|
+
* const workerUnitRegistration = await prisma.workerUnitRegistration.findUnique({
|
|
703
|
+
* where: {
|
|
704
|
+
* // ... provide filter here
|
|
705
|
+
* }
|
|
706
|
+
* })
|
|
707
|
+
*/
|
|
708
|
+
findUnique<T extends WorkerUnitRegistrationFindUniqueArgs>(args: Prisma.SelectSubset<T, WorkerUnitRegistrationFindUniqueArgs<ExtArgs>>): Prisma.Prisma__WorkerUnitRegistrationClient<runtime.Types.Result.GetResult<Prisma.$WorkerUnitRegistrationPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
709
|
+
|
|
710
|
+
/**
|
|
711
|
+
* Find one WorkerUnitRegistration that matches the filter or throw an error with `error.code='P2025'`
|
|
712
|
+
* if no matches were found.
|
|
713
|
+
* @param {WorkerUnitRegistrationFindUniqueOrThrowArgs} args - Arguments to find a WorkerUnitRegistration
|
|
714
|
+
* @example
|
|
715
|
+
* // Get one WorkerUnitRegistration
|
|
716
|
+
* const workerUnitRegistration = await prisma.workerUnitRegistration.findUniqueOrThrow({
|
|
717
|
+
* where: {
|
|
718
|
+
* // ... provide filter here
|
|
719
|
+
* }
|
|
720
|
+
* })
|
|
721
|
+
*/
|
|
722
|
+
findUniqueOrThrow<T extends WorkerUnitRegistrationFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, WorkerUnitRegistrationFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__WorkerUnitRegistrationClient<runtime.Types.Result.GetResult<Prisma.$WorkerUnitRegistrationPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
723
|
+
|
|
724
|
+
/**
|
|
725
|
+
* Find the first WorkerUnitRegistration that matches the filter.
|
|
726
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
727
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
728
|
+
* @param {WorkerUnitRegistrationFindFirstArgs} args - Arguments to find a WorkerUnitRegistration
|
|
729
|
+
* @example
|
|
730
|
+
* // Get one WorkerUnitRegistration
|
|
731
|
+
* const workerUnitRegistration = await prisma.workerUnitRegistration.findFirst({
|
|
732
|
+
* where: {
|
|
733
|
+
* // ... provide filter here
|
|
734
|
+
* }
|
|
735
|
+
* })
|
|
736
|
+
*/
|
|
737
|
+
findFirst<T extends WorkerUnitRegistrationFindFirstArgs>(args?: Prisma.SelectSubset<T, WorkerUnitRegistrationFindFirstArgs<ExtArgs>>): Prisma.Prisma__WorkerUnitRegistrationClient<runtime.Types.Result.GetResult<Prisma.$WorkerUnitRegistrationPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
738
|
+
|
|
739
|
+
/**
|
|
740
|
+
* Find the first WorkerUnitRegistration that matches the filter or
|
|
741
|
+
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
742
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
743
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
744
|
+
* @param {WorkerUnitRegistrationFindFirstOrThrowArgs} args - Arguments to find a WorkerUnitRegistration
|
|
745
|
+
* @example
|
|
746
|
+
* // Get one WorkerUnitRegistration
|
|
747
|
+
* const workerUnitRegistration = await prisma.workerUnitRegistration.findFirstOrThrow({
|
|
748
|
+
* where: {
|
|
749
|
+
* // ... provide filter here
|
|
750
|
+
* }
|
|
751
|
+
* })
|
|
752
|
+
*/
|
|
753
|
+
findFirstOrThrow<T extends WorkerUnitRegistrationFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, WorkerUnitRegistrationFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__WorkerUnitRegistrationClient<runtime.Types.Result.GetResult<Prisma.$WorkerUnitRegistrationPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
754
|
+
|
|
755
|
+
/**
|
|
756
|
+
* Find zero or more WorkerUnitRegistrations that matches the filter.
|
|
757
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
758
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
759
|
+
* @param {WorkerUnitRegistrationFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
760
|
+
* @example
|
|
761
|
+
* // Get all WorkerUnitRegistrations
|
|
762
|
+
* const workerUnitRegistrations = await prisma.workerUnitRegistration.findMany()
|
|
763
|
+
*
|
|
764
|
+
* // Get first 10 WorkerUnitRegistrations
|
|
765
|
+
* const workerUnitRegistrations = await prisma.workerUnitRegistration.findMany({ take: 10 })
|
|
766
|
+
*
|
|
767
|
+
* // Only select the `stateId`
|
|
768
|
+
* const workerUnitRegistrationWithStateIdOnly = await prisma.workerUnitRegistration.findMany({ select: { stateId: true } })
|
|
769
|
+
*
|
|
770
|
+
*/
|
|
771
|
+
findMany<T extends WorkerUnitRegistrationFindManyArgs>(args?: Prisma.SelectSubset<T, WorkerUnitRegistrationFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$WorkerUnitRegistrationPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
|
|
772
|
+
|
|
773
|
+
/**
|
|
774
|
+
* Create a WorkerUnitRegistration.
|
|
775
|
+
* @param {WorkerUnitRegistrationCreateArgs} args - Arguments to create a WorkerUnitRegistration.
|
|
776
|
+
* @example
|
|
777
|
+
* // Create one WorkerUnitRegistration
|
|
778
|
+
* const WorkerUnitRegistration = await prisma.workerUnitRegistration.create({
|
|
779
|
+
* data: {
|
|
780
|
+
* // ... data to create a WorkerUnitRegistration
|
|
781
|
+
* }
|
|
782
|
+
* })
|
|
783
|
+
*
|
|
784
|
+
*/
|
|
785
|
+
create<T extends WorkerUnitRegistrationCreateArgs>(args: Prisma.SelectSubset<T, WorkerUnitRegistrationCreateArgs<ExtArgs>>): Prisma.Prisma__WorkerUnitRegistrationClient<runtime.Types.Result.GetResult<Prisma.$WorkerUnitRegistrationPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
786
|
+
|
|
787
|
+
/**
|
|
788
|
+
* Create many WorkerUnitRegistrations.
|
|
789
|
+
* @param {WorkerUnitRegistrationCreateManyArgs} args - Arguments to create many WorkerUnitRegistrations.
|
|
790
|
+
* @example
|
|
791
|
+
* // Create many WorkerUnitRegistrations
|
|
792
|
+
* const workerUnitRegistration = await prisma.workerUnitRegistration.createMany({
|
|
793
|
+
* data: [
|
|
794
|
+
* // ... provide data here
|
|
795
|
+
* ]
|
|
796
|
+
* })
|
|
797
|
+
*
|
|
798
|
+
*/
|
|
799
|
+
createMany<T extends WorkerUnitRegistrationCreateManyArgs>(args?: Prisma.SelectSubset<T, WorkerUnitRegistrationCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
800
|
+
|
|
801
|
+
/**
|
|
802
|
+
* Create many WorkerUnitRegistrations and returns the data saved in the database.
|
|
803
|
+
* @param {WorkerUnitRegistrationCreateManyAndReturnArgs} args - Arguments to create many WorkerUnitRegistrations.
|
|
804
|
+
* @example
|
|
805
|
+
* // Create many WorkerUnitRegistrations
|
|
806
|
+
* const workerUnitRegistration = await prisma.workerUnitRegistration.createManyAndReturn({
|
|
807
|
+
* data: [
|
|
808
|
+
* // ... provide data here
|
|
809
|
+
* ]
|
|
810
|
+
* })
|
|
811
|
+
*
|
|
812
|
+
* // Create many WorkerUnitRegistrations and only return the `stateId`
|
|
813
|
+
* const workerUnitRegistrationWithStateIdOnly = await prisma.workerUnitRegistration.createManyAndReturn({
|
|
814
|
+
* select: { stateId: true },
|
|
815
|
+
* data: [
|
|
816
|
+
* // ... provide data here
|
|
817
|
+
* ]
|
|
818
|
+
* })
|
|
819
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
820
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
821
|
+
*
|
|
822
|
+
*/
|
|
823
|
+
createManyAndReturn<T extends WorkerUnitRegistrationCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, WorkerUnitRegistrationCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$WorkerUnitRegistrationPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
|
|
824
|
+
|
|
825
|
+
/**
|
|
826
|
+
* Delete a WorkerUnitRegistration.
|
|
827
|
+
* @param {WorkerUnitRegistrationDeleteArgs} args - Arguments to delete one WorkerUnitRegistration.
|
|
828
|
+
* @example
|
|
829
|
+
* // Delete one WorkerUnitRegistration
|
|
830
|
+
* const WorkerUnitRegistration = await prisma.workerUnitRegistration.delete({
|
|
831
|
+
* where: {
|
|
832
|
+
* // ... filter to delete one WorkerUnitRegistration
|
|
833
|
+
* }
|
|
834
|
+
* })
|
|
835
|
+
*
|
|
836
|
+
*/
|
|
837
|
+
delete<T extends WorkerUnitRegistrationDeleteArgs>(args: Prisma.SelectSubset<T, WorkerUnitRegistrationDeleteArgs<ExtArgs>>): Prisma.Prisma__WorkerUnitRegistrationClient<runtime.Types.Result.GetResult<Prisma.$WorkerUnitRegistrationPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
838
|
+
|
|
839
|
+
/**
|
|
840
|
+
* Update one WorkerUnitRegistration.
|
|
841
|
+
* @param {WorkerUnitRegistrationUpdateArgs} args - Arguments to update one WorkerUnitRegistration.
|
|
842
|
+
* @example
|
|
843
|
+
* // Update one WorkerUnitRegistration
|
|
844
|
+
* const workerUnitRegistration = await prisma.workerUnitRegistration.update({
|
|
845
|
+
* where: {
|
|
846
|
+
* // ... provide filter here
|
|
847
|
+
* },
|
|
848
|
+
* data: {
|
|
849
|
+
* // ... provide data here
|
|
850
|
+
* }
|
|
851
|
+
* })
|
|
852
|
+
*
|
|
853
|
+
*/
|
|
854
|
+
update<T extends WorkerUnitRegistrationUpdateArgs>(args: Prisma.SelectSubset<T, WorkerUnitRegistrationUpdateArgs<ExtArgs>>): Prisma.Prisma__WorkerUnitRegistrationClient<runtime.Types.Result.GetResult<Prisma.$WorkerUnitRegistrationPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
855
|
+
|
|
856
|
+
/**
|
|
857
|
+
* Delete zero or more WorkerUnitRegistrations.
|
|
858
|
+
* @param {WorkerUnitRegistrationDeleteManyArgs} args - Arguments to filter WorkerUnitRegistrations to delete.
|
|
859
|
+
* @example
|
|
860
|
+
* // Delete a few WorkerUnitRegistrations
|
|
861
|
+
* const { count } = await prisma.workerUnitRegistration.deleteMany({
|
|
862
|
+
* where: {
|
|
863
|
+
* // ... provide filter here
|
|
864
|
+
* }
|
|
865
|
+
* })
|
|
866
|
+
*
|
|
867
|
+
*/
|
|
868
|
+
deleteMany<T extends WorkerUnitRegistrationDeleteManyArgs>(args?: Prisma.SelectSubset<T, WorkerUnitRegistrationDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
869
|
+
|
|
870
|
+
/**
|
|
871
|
+
* Update zero or more WorkerUnitRegistrations.
|
|
872
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
873
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
874
|
+
* @param {WorkerUnitRegistrationUpdateManyArgs} args - Arguments to update one or more rows.
|
|
875
|
+
* @example
|
|
876
|
+
* // Update many WorkerUnitRegistrations
|
|
877
|
+
* const workerUnitRegistration = await prisma.workerUnitRegistration.updateMany({
|
|
878
|
+
* where: {
|
|
879
|
+
* // ... provide filter here
|
|
880
|
+
* },
|
|
881
|
+
* data: {
|
|
882
|
+
* // ... provide data here
|
|
883
|
+
* }
|
|
884
|
+
* })
|
|
885
|
+
*
|
|
886
|
+
*/
|
|
887
|
+
updateMany<T extends WorkerUnitRegistrationUpdateManyArgs>(args: Prisma.SelectSubset<T, WorkerUnitRegistrationUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
888
|
+
|
|
889
|
+
/**
|
|
890
|
+
* Update zero or more WorkerUnitRegistrations and returns the data updated in the database.
|
|
891
|
+
* @param {WorkerUnitRegistrationUpdateManyAndReturnArgs} args - Arguments to update many WorkerUnitRegistrations.
|
|
892
|
+
* @example
|
|
893
|
+
* // Update many WorkerUnitRegistrations
|
|
894
|
+
* const workerUnitRegistration = await prisma.workerUnitRegistration.updateManyAndReturn({
|
|
895
|
+
* where: {
|
|
896
|
+
* // ... provide filter here
|
|
897
|
+
* },
|
|
898
|
+
* data: [
|
|
899
|
+
* // ... provide data here
|
|
900
|
+
* ]
|
|
901
|
+
* })
|
|
902
|
+
*
|
|
903
|
+
* // Update zero or more WorkerUnitRegistrations and only return the `stateId`
|
|
904
|
+
* const workerUnitRegistrationWithStateIdOnly = await prisma.workerUnitRegistration.updateManyAndReturn({
|
|
905
|
+
* select: { stateId: true },
|
|
906
|
+
* where: {
|
|
907
|
+
* // ... provide filter here
|
|
908
|
+
* },
|
|
909
|
+
* data: [
|
|
910
|
+
* // ... provide data here
|
|
911
|
+
* ]
|
|
912
|
+
* })
|
|
913
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
914
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
915
|
+
*
|
|
916
|
+
*/
|
|
917
|
+
updateManyAndReturn<T extends WorkerUnitRegistrationUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, WorkerUnitRegistrationUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$WorkerUnitRegistrationPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
|
|
918
|
+
|
|
919
|
+
/**
|
|
920
|
+
* Create or update one WorkerUnitRegistration.
|
|
921
|
+
* @param {WorkerUnitRegistrationUpsertArgs} args - Arguments to update or create a WorkerUnitRegistration.
|
|
922
|
+
* @example
|
|
923
|
+
* // Update or create a WorkerUnitRegistration
|
|
924
|
+
* const workerUnitRegistration = await prisma.workerUnitRegistration.upsert({
|
|
925
|
+
* create: {
|
|
926
|
+
* // ... data to create a WorkerUnitRegistration
|
|
927
|
+
* },
|
|
928
|
+
* update: {
|
|
929
|
+
* // ... in case it already exists, update
|
|
930
|
+
* },
|
|
931
|
+
* where: {
|
|
932
|
+
* // ... the filter for the WorkerUnitRegistration we want to update
|
|
933
|
+
* }
|
|
934
|
+
* })
|
|
935
|
+
*/
|
|
936
|
+
upsert<T extends WorkerUnitRegistrationUpsertArgs>(args: Prisma.SelectSubset<T, WorkerUnitRegistrationUpsertArgs<ExtArgs>>): Prisma.Prisma__WorkerUnitRegistrationClient<runtime.Types.Result.GetResult<Prisma.$WorkerUnitRegistrationPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
937
|
+
|
|
938
|
+
|
|
939
|
+
/**
|
|
940
|
+
* Count the number of WorkerUnitRegistrations.
|
|
941
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
942
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
943
|
+
* @param {WorkerUnitRegistrationCountArgs} args - Arguments to filter WorkerUnitRegistrations to count.
|
|
944
|
+
* @example
|
|
945
|
+
* // Count the number of WorkerUnitRegistrations
|
|
946
|
+
* const count = await prisma.workerUnitRegistration.count({
|
|
947
|
+
* where: {
|
|
948
|
+
* // ... the filter for the WorkerUnitRegistrations we want to count
|
|
949
|
+
* }
|
|
950
|
+
* })
|
|
951
|
+
**/
|
|
952
|
+
count<T extends WorkerUnitRegistrationCountArgs>(
|
|
953
|
+
args?: Prisma.Subset<T, WorkerUnitRegistrationCountArgs>,
|
|
954
|
+
): Prisma.PrismaPromise<
|
|
955
|
+
T extends runtime.Types.Utils.Record<'select', any>
|
|
956
|
+
? T['select'] extends true
|
|
957
|
+
? number
|
|
958
|
+
: Prisma.GetScalarType<T['select'], WorkerUnitRegistrationCountAggregateOutputType>
|
|
959
|
+
: number
|
|
960
|
+
>
|
|
961
|
+
|
|
962
|
+
/**
|
|
963
|
+
* Allows you to perform aggregations operations on a WorkerUnitRegistration.
|
|
964
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
965
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
966
|
+
* @param {WorkerUnitRegistrationAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
967
|
+
* @example
|
|
968
|
+
* // Ordered by age ascending
|
|
969
|
+
* // Where email contains prisma.io
|
|
970
|
+
* // Limited to the 10 users
|
|
971
|
+
* const aggregations = await prisma.user.aggregate({
|
|
972
|
+
* _avg: {
|
|
973
|
+
* age: true,
|
|
974
|
+
* },
|
|
975
|
+
* where: {
|
|
976
|
+
* email: {
|
|
977
|
+
* contains: "prisma.io",
|
|
978
|
+
* },
|
|
979
|
+
* },
|
|
980
|
+
* orderBy: {
|
|
981
|
+
* age: "asc",
|
|
982
|
+
* },
|
|
983
|
+
* take: 10,
|
|
984
|
+
* })
|
|
985
|
+
**/
|
|
986
|
+
aggregate<T extends WorkerUnitRegistrationAggregateArgs>(args: Prisma.Subset<T, WorkerUnitRegistrationAggregateArgs>): Prisma.PrismaPromise<GetWorkerUnitRegistrationAggregateType<T>>
|
|
987
|
+
|
|
988
|
+
/**
|
|
989
|
+
* Group by WorkerUnitRegistration.
|
|
990
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
991
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
992
|
+
* @param {WorkerUnitRegistrationGroupByArgs} args - Group by arguments.
|
|
993
|
+
* @example
|
|
994
|
+
* // Group by city, order by createdAt, get count
|
|
995
|
+
* const result = await prisma.user.groupBy({
|
|
996
|
+
* by: ['city', 'createdAt'],
|
|
997
|
+
* orderBy: {
|
|
998
|
+
* createdAt: true
|
|
999
|
+
* },
|
|
1000
|
+
* _count: {
|
|
1001
|
+
* _all: true
|
|
1002
|
+
* },
|
|
1003
|
+
* })
|
|
1004
|
+
*
|
|
1005
|
+
**/
|
|
1006
|
+
groupBy<
|
|
1007
|
+
T extends WorkerUnitRegistrationGroupByArgs,
|
|
1008
|
+
HasSelectOrTake extends Prisma.Or<
|
|
1009
|
+
Prisma.Extends<'skip', Prisma.Keys<T>>,
|
|
1010
|
+
Prisma.Extends<'take', Prisma.Keys<T>>
|
|
1011
|
+
>,
|
|
1012
|
+
OrderByArg extends Prisma.True extends HasSelectOrTake
|
|
1013
|
+
? { orderBy: WorkerUnitRegistrationGroupByArgs['orderBy'] }
|
|
1014
|
+
: { orderBy?: WorkerUnitRegistrationGroupByArgs['orderBy'] },
|
|
1015
|
+
OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
|
|
1016
|
+
ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
|
|
1017
|
+
ByValid extends Prisma.Has<ByFields, OrderFields>,
|
|
1018
|
+
HavingFields extends Prisma.GetHavingFields<T['having']>,
|
|
1019
|
+
HavingValid extends Prisma.Has<ByFields, HavingFields>,
|
|
1020
|
+
ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False,
|
|
1021
|
+
InputErrors extends ByEmpty extends Prisma.True
|
|
1022
|
+
? `Error: "by" must not be empty.`
|
|
1023
|
+
: HavingValid extends Prisma.False
|
|
1024
|
+
? {
|
|
1025
|
+
[P in HavingFields]: P extends ByFields
|
|
1026
|
+
? never
|
|
1027
|
+
: P extends string
|
|
1028
|
+
? `Error: Field "${P}" used in "having" needs to be provided in "by".`
|
|
1029
|
+
: [
|
|
1030
|
+
Error,
|
|
1031
|
+
'Field ',
|
|
1032
|
+
P,
|
|
1033
|
+
` in "having" needs to be provided in "by"`,
|
|
1034
|
+
]
|
|
1035
|
+
}[HavingFields]
|
|
1036
|
+
: 'take' extends Prisma.Keys<T>
|
|
1037
|
+
? 'orderBy' extends Prisma.Keys<T>
|
|
1038
|
+
? ByValid extends Prisma.True
|
|
1039
|
+
? {}
|
|
1040
|
+
: {
|
|
1041
|
+
[P in OrderFields]: P extends ByFields
|
|
1042
|
+
? never
|
|
1043
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
1044
|
+
}[OrderFields]
|
|
1045
|
+
: 'Error: If you provide "take", you also need to provide "orderBy"'
|
|
1046
|
+
: 'skip' extends Prisma.Keys<T>
|
|
1047
|
+
? 'orderBy' extends Prisma.Keys<T>
|
|
1048
|
+
? ByValid extends Prisma.True
|
|
1049
|
+
? {}
|
|
1050
|
+
: {
|
|
1051
|
+
[P in OrderFields]: P extends ByFields
|
|
1052
|
+
? never
|
|
1053
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
1054
|
+
}[OrderFields]
|
|
1055
|
+
: 'Error: If you provide "skip", you also need to provide "orderBy"'
|
|
1056
|
+
: ByValid extends Prisma.True
|
|
1057
|
+
? {}
|
|
1058
|
+
: {
|
|
1059
|
+
[P in OrderFields]: P extends ByFields
|
|
1060
|
+
? never
|
|
1061
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
1062
|
+
}[OrderFields]
|
|
1063
|
+
>(args: Prisma.SubsetIntersection<T, WorkerUnitRegistrationGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetWorkerUnitRegistrationGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
1064
|
+
/**
|
|
1065
|
+
* Fields of the WorkerUnitRegistration model
|
|
1066
|
+
*/
|
|
1067
|
+
readonly fields: WorkerUnitRegistrationFieldRefs;
|
|
1068
|
+
}
|
|
1069
|
+
|
|
1070
|
+
/**
|
|
1071
|
+
* The delegate class that acts as a "Promise-like" for WorkerUnitRegistration.
|
|
1072
|
+
* Why is this prefixed with `Prisma__`?
|
|
1073
|
+
* Because we want to prevent naming conflicts as mentioned in
|
|
1074
|
+
* https://github.com/prisma/prisma-client-js/issues/707
|
|
1075
|
+
*/
|
|
1076
|
+
export interface Prisma__WorkerUnitRegistrationClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
1077
|
+
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
1078
|
+
state<T extends Prisma.InstanceStateDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.InstanceStateDefaultArgs<ExtArgs>>): Prisma.Prisma__InstanceStateClient<runtime.Types.Result.GetResult<Prisma.$InstanceStatePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
|
|
1079
|
+
workerVersion<T extends Prisma.WorkerVersionDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.WorkerVersionDefaultArgs<ExtArgs>>): Prisma.Prisma__WorkerVersionClient<runtime.Types.Result.GetResult<Prisma.$WorkerVersionPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
|
|
1080
|
+
/**
|
|
1081
|
+
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
1082
|
+
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
1083
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
1084
|
+
* @returns A Promise for the completion of which ever callback is executed.
|
|
1085
|
+
*/
|
|
1086
|
+
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>
|
|
1087
|
+
/**
|
|
1088
|
+
* Attaches a callback for only the rejection of the Promise.
|
|
1089
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
1090
|
+
* @returns A Promise for the completion of the callback.
|
|
1091
|
+
*/
|
|
1092
|
+
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
|
|
1093
|
+
/**
|
|
1094
|
+
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
1095
|
+
* resolved value cannot be modified from the callback.
|
|
1096
|
+
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
1097
|
+
* @returns A Promise for the completion of the callback.
|
|
1098
|
+
*/
|
|
1099
|
+
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
|
|
1100
|
+
}
|
|
1101
|
+
|
|
1102
|
+
|
|
1103
|
+
|
|
1104
|
+
|
|
1105
|
+
/**
|
|
1106
|
+
* Fields of the WorkerUnitRegistration model
|
|
1107
|
+
*/
|
|
1108
|
+
export interface WorkerUnitRegistrationFieldRefs {
|
|
1109
|
+
readonly stateId: Prisma.FieldRef<"WorkerUnitRegistration", 'String'>
|
|
1110
|
+
readonly name: Prisma.FieldRef<"WorkerUnitRegistration", 'String'>
|
|
1111
|
+
readonly params: Prisma.FieldRef<"WorkerUnitRegistration", 'Json'>
|
|
1112
|
+
readonly workerVersionId: Prisma.FieldRef<"WorkerUnitRegistration", 'String'>
|
|
1113
|
+
readonly createdAt: Prisma.FieldRef<"WorkerUnitRegistration", 'DateTime'>
|
|
1114
|
+
readonly updatedAt: Prisma.FieldRef<"WorkerUnitRegistration", 'DateTime'>
|
|
1115
|
+
}
|
|
1116
|
+
|
|
1117
|
+
|
|
1118
|
+
// Custom InputTypes
|
|
1119
|
+
/**
|
|
1120
|
+
* WorkerUnitRegistration findUnique
|
|
1121
|
+
*/
|
|
1122
|
+
export type WorkerUnitRegistrationFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1123
|
+
/**
|
|
1124
|
+
* Select specific fields to fetch from the WorkerUnitRegistration
|
|
1125
|
+
*/
|
|
1126
|
+
select?: Prisma.WorkerUnitRegistrationSelect<ExtArgs> | null
|
|
1127
|
+
/**
|
|
1128
|
+
* Omit specific fields from the WorkerUnitRegistration
|
|
1129
|
+
*/
|
|
1130
|
+
omit?: Prisma.WorkerUnitRegistrationOmit<ExtArgs> | null
|
|
1131
|
+
/**
|
|
1132
|
+
* Choose, which related nodes to fetch as well
|
|
1133
|
+
*/
|
|
1134
|
+
include?: Prisma.WorkerUnitRegistrationInclude<ExtArgs> | null
|
|
1135
|
+
/**
|
|
1136
|
+
* Filter, which WorkerUnitRegistration to fetch.
|
|
1137
|
+
*/
|
|
1138
|
+
where: Prisma.WorkerUnitRegistrationWhereUniqueInput
|
|
1139
|
+
}
|
|
1140
|
+
|
|
1141
|
+
/**
|
|
1142
|
+
* WorkerUnitRegistration findUniqueOrThrow
|
|
1143
|
+
*/
|
|
1144
|
+
export type WorkerUnitRegistrationFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1145
|
+
/**
|
|
1146
|
+
* Select specific fields to fetch from the WorkerUnitRegistration
|
|
1147
|
+
*/
|
|
1148
|
+
select?: Prisma.WorkerUnitRegistrationSelect<ExtArgs> | null
|
|
1149
|
+
/**
|
|
1150
|
+
* Omit specific fields from the WorkerUnitRegistration
|
|
1151
|
+
*/
|
|
1152
|
+
omit?: Prisma.WorkerUnitRegistrationOmit<ExtArgs> | null
|
|
1153
|
+
/**
|
|
1154
|
+
* Choose, which related nodes to fetch as well
|
|
1155
|
+
*/
|
|
1156
|
+
include?: Prisma.WorkerUnitRegistrationInclude<ExtArgs> | null
|
|
1157
|
+
/**
|
|
1158
|
+
* Filter, which WorkerUnitRegistration to fetch.
|
|
1159
|
+
*/
|
|
1160
|
+
where: Prisma.WorkerUnitRegistrationWhereUniqueInput
|
|
1161
|
+
}
|
|
1162
|
+
|
|
1163
|
+
/**
|
|
1164
|
+
* WorkerUnitRegistration findFirst
|
|
1165
|
+
*/
|
|
1166
|
+
export type WorkerUnitRegistrationFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1167
|
+
/**
|
|
1168
|
+
* Select specific fields to fetch from the WorkerUnitRegistration
|
|
1169
|
+
*/
|
|
1170
|
+
select?: Prisma.WorkerUnitRegistrationSelect<ExtArgs> | null
|
|
1171
|
+
/**
|
|
1172
|
+
* Omit specific fields from the WorkerUnitRegistration
|
|
1173
|
+
*/
|
|
1174
|
+
omit?: Prisma.WorkerUnitRegistrationOmit<ExtArgs> | null
|
|
1175
|
+
/**
|
|
1176
|
+
* Choose, which related nodes to fetch as well
|
|
1177
|
+
*/
|
|
1178
|
+
include?: Prisma.WorkerUnitRegistrationInclude<ExtArgs> | null
|
|
1179
|
+
/**
|
|
1180
|
+
* Filter, which WorkerUnitRegistration to fetch.
|
|
1181
|
+
*/
|
|
1182
|
+
where?: Prisma.WorkerUnitRegistrationWhereInput
|
|
1183
|
+
/**
|
|
1184
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1185
|
+
*
|
|
1186
|
+
* Determine the order of WorkerUnitRegistrations to fetch.
|
|
1187
|
+
*/
|
|
1188
|
+
orderBy?: Prisma.WorkerUnitRegistrationOrderByWithRelationInput | Prisma.WorkerUnitRegistrationOrderByWithRelationInput[]
|
|
1189
|
+
/**
|
|
1190
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1191
|
+
*
|
|
1192
|
+
* Sets the position for searching for WorkerUnitRegistrations.
|
|
1193
|
+
*/
|
|
1194
|
+
cursor?: Prisma.WorkerUnitRegistrationWhereUniqueInput
|
|
1195
|
+
/**
|
|
1196
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1197
|
+
*
|
|
1198
|
+
* Take `±n` WorkerUnitRegistrations from the position of the cursor.
|
|
1199
|
+
*/
|
|
1200
|
+
take?: number
|
|
1201
|
+
/**
|
|
1202
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1203
|
+
*
|
|
1204
|
+
* Skip the first `n` WorkerUnitRegistrations.
|
|
1205
|
+
*/
|
|
1206
|
+
skip?: number
|
|
1207
|
+
/**
|
|
1208
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1209
|
+
*
|
|
1210
|
+
* Filter by unique combinations of WorkerUnitRegistrations.
|
|
1211
|
+
*/
|
|
1212
|
+
distinct?: Prisma.WorkerUnitRegistrationScalarFieldEnum | Prisma.WorkerUnitRegistrationScalarFieldEnum[]
|
|
1213
|
+
}
|
|
1214
|
+
|
|
1215
|
+
/**
|
|
1216
|
+
* WorkerUnitRegistration findFirstOrThrow
|
|
1217
|
+
*/
|
|
1218
|
+
export type WorkerUnitRegistrationFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1219
|
+
/**
|
|
1220
|
+
* Select specific fields to fetch from the WorkerUnitRegistration
|
|
1221
|
+
*/
|
|
1222
|
+
select?: Prisma.WorkerUnitRegistrationSelect<ExtArgs> | null
|
|
1223
|
+
/**
|
|
1224
|
+
* Omit specific fields from the WorkerUnitRegistration
|
|
1225
|
+
*/
|
|
1226
|
+
omit?: Prisma.WorkerUnitRegistrationOmit<ExtArgs> | null
|
|
1227
|
+
/**
|
|
1228
|
+
* Choose, which related nodes to fetch as well
|
|
1229
|
+
*/
|
|
1230
|
+
include?: Prisma.WorkerUnitRegistrationInclude<ExtArgs> | null
|
|
1231
|
+
/**
|
|
1232
|
+
* Filter, which WorkerUnitRegistration to fetch.
|
|
1233
|
+
*/
|
|
1234
|
+
where?: Prisma.WorkerUnitRegistrationWhereInput
|
|
1235
|
+
/**
|
|
1236
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1237
|
+
*
|
|
1238
|
+
* Determine the order of WorkerUnitRegistrations to fetch.
|
|
1239
|
+
*/
|
|
1240
|
+
orderBy?: Prisma.WorkerUnitRegistrationOrderByWithRelationInput | Prisma.WorkerUnitRegistrationOrderByWithRelationInput[]
|
|
1241
|
+
/**
|
|
1242
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1243
|
+
*
|
|
1244
|
+
* Sets the position for searching for WorkerUnitRegistrations.
|
|
1245
|
+
*/
|
|
1246
|
+
cursor?: Prisma.WorkerUnitRegistrationWhereUniqueInput
|
|
1247
|
+
/**
|
|
1248
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1249
|
+
*
|
|
1250
|
+
* Take `±n` WorkerUnitRegistrations from the position of the cursor.
|
|
1251
|
+
*/
|
|
1252
|
+
take?: number
|
|
1253
|
+
/**
|
|
1254
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1255
|
+
*
|
|
1256
|
+
* Skip the first `n` WorkerUnitRegistrations.
|
|
1257
|
+
*/
|
|
1258
|
+
skip?: number
|
|
1259
|
+
/**
|
|
1260
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1261
|
+
*
|
|
1262
|
+
* Filter by unique combinations of WorkerUnitRegistrations.
|
|
1263
|
+
*/
|
|
1264
|
+
distinct?: Prisma.WorkerUnitRegistrationScalarFieldEnum | Prisma.WorkerUnitRegistrationScalarFieldEnum[]
|
|
1265
|
+
}
|
|
1266
|
+
|
|
1267
|
+
/**
|
|
1268
|
+
* WorkerUnitRegistration findMany
|
|
1269
|
+
*/
|
|
1270
|
+
export type WorkerUnitRegistrationFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1271
|
+
/**
|
|
1272
|
+
* Select specific fields to fetch from the WorkerUnitRegistration
|
|
1273
|
+
*/
|
|
1274
|
+
select?: Prisma.WorkerUnitRegistrationSelect<ExtArgs> | null
|
|
1275
|
+
/**
|
|
1276
|
+
* Omit specific fields from the WorkerUnitRegistration
|
|
1277
|
+
*/
|
|
1278
|
+
omit?: Prisma.WorkerUnitRegistrationOmit<ExtArgs> | null
|
|
1279
|
+
/**
|
|
1280
|
+
* Choose, which related nodes to fetch as well
|
|
1281
|
+
*/
|
|
1282
|
+
include?: Prisma.WorkerUnitRegistrationInclude<ExtArgs> | null
|
|
1283
|
+
/**
|
|
1284
|
+
* Filter, which WorkerUnitRegistrations to fetch.
|
|
1285
|
+
*/
|
|
1286
|
+
where?: Prisma.WorkerUnitRegistrationWhereInput
|
|
1287
|
+
/**
|
|
1288
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1289
|
+
*
|
|
1290
|
+
* Determine the order of WorkerUnitRegistrations to fetch.
|
|
1291
|
+
*/
|
|
1292
|
+
orderBy?: Prisma.WorkerUnitRegistrationOrderByWithRelationInput | Prisma.WorkerUnitRegistrationOrderByWithRelationInput[]
|
|
1293
|
+
/**
|
|
1294
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1295
|
+
*
|
|
1296
|
+
* Sets the position for listing WorkerUnitRegistrations.
|
|
1297
|
+
*/
|
|
1298
|
+
cursor?: Prisma.WorkerUnitRegistrationWhereUniqueInput
|
|
1299
|
+
/**
|
|
1300
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1301
|
+
*
|
|
1302
|
+
* Take `±n` WorkerUnitRegistrations from the position of the cursor.
|
|
1303
|
+
*/
|
|
1304
|
+
take?: number
|
|
1305
|
+
/**
|
|
1306
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1307
|
+
*
|
|
1308
|
+
* Skip the first `n` WorkerUnitRegistrations.
|
|
1309
|
+
*/
|
|
1310
|
+
skip?: number
|
|
1311
|
+
distinct?: Prisma.WorkerUnitRegistrationScalarFieldEnum | Prisma.WorkerUnitRegistrationScalarFieldEnum[]
|
|
1312
|
+
}
|
|
1313
|
+
|
|
1314
|
+
/**
|
|
1315
|
+
* WorkerUnitRegistration create
|
|
1316
|
+
*/
|
|
1317
|
+
export type WorkerUnitRegistrationCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1318
|
+
/**
|
|
1319
|
+
* Select specific fields to fetch from the WorkerUnitRegistration
|
|
1320
|
+
*/
|
|
1321
|
+
select?: Prisma.WorkerUnitRegistrationSelect<ExtArgs> | null
|
|
1322
|
+
/**
|
|
1323
|
+
* Omit specific fields from the WorkerUnitRegistration
|
|
1324
|
+
*/
|
|
1325
|
+
omit?: Prisma.WorkerUnitRegistrationOmit<ExtArgs> | null
|
|
1326
|
+
/**
|
|
1327
|
+
* Choose, which related nodes to fetch as well
|
|
1328
|
+
*/
|
|
1329
|
+
include?: Prisma.WorkerUnitRegistrationInclude<ExtArgs> | null
|
|
1330
|
+
/**
|
|
1331
|
+
* The data needed to create a WorkerUnitRegistration.
|
|
1332
|
+
*/
|
|
1333
|
+
data: Prisma.XOR<Prisma.WorkerUnitRegistrationCreateInput, Prisma.WorkerUnitRegistrationUncheckedCreateInput>
|
|
1334
|
+
}
|
|
1335
|
+
|
|
1336
|
+
/**
|
|
1337
|
+
* WorkerUnitRegistration createMany
|
|
1338
|
+
*/
|
|
1339
|
+
export type WorkerUnitRegistrationCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1340
|
+
/**
|
|
1341
|
+
* The data used to create many WorkerUnitRegistrations.
|
|
1342
|
+
*/
|
|
1343
|
+
data: Prisma.WorkerUnitRegistrationCreateManyInput | Prisma.WorkerUnitRegistrationCreateManyInput[]
|
|
1344
|
+
}
|
|
1345
|
+
|
|
1346
|
+
/**
|
|
1347
|
+
* WorkerUnitRegistration createManyAndReturn
|
|
1348
|
+
*/
|
|
1349
|
+
export type WorkerUnitRegistrationCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1350
|
+
/**
|
|
1351
|
+
* Select specific fields to fetch from the WorkerUnitRegistration
|
|
1352
|
+
*/
|
|
1353
|
+
select?: Prisma.WorkerUnitRegistrationSelectCreateManyAndReturn<ExtArgs> | null
|
|
1354
|
+
/**
|
|
1355
|
+
* Omit specific fields from the WorkerUnitRegistration
|
|
1356
|
+
*/
|
|
1357
|
+
omit?: Prisma.WorkerUnitRegistrationOmit<ExtArgs> | null
|
|
1358
|
+
/**
|
|
1359
|
+
* The data used to create many WorkerUnitRegistrations.
|
|
1360
|
+
*/
|
|
1361
|
+
data: Prisma.WorkerUnitRegistrationCreateManyInput | Prisma.WorkerUnitRegistrationCreateManyInput[]
|
|
1362
|
+
/**
|
|
1363
|
+
* Choose, which related nodes to fetch as well
|
|
1364
|
+
*/
|
|
1365
|
+
include?: Prisma.WorkerUnitRegistrationIncludeCreateManyAndReturn<ExtArgs> | null
|
|
1366
|
+
}
|
|
1367
|
+
|
|
1368
|
+
/**
|
|
1369
|
+
* WorkerUnitRegistration update
|
|
1370
|
+
*/
|
|
1371
|
+
export type WorkerUnitRegistrationUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1372
|
+
/**
|
|
1373
|
+
* Select specific fields to fetch from the WorkerUnitRegistration
|
|
1374
|
+
*/
|
|
1375
|
+
select?: Prisma.WorkerUnitRegistrationSelect<ExtArgs> | null
|
|
1376
|
+
/**
|
|
1377
|
+
* Omit specific fields from the WorkerUnitRegistration
|
|
1378
|
+
*/
|
|
1379
|
+
omit?: Prisma.WorkerUnitRegistrationOmit<ExtArgs> | null
|
|
1380
|
+
/**
|
|
1381
|
+
* Choose, which related nodes to fetch as well
|
|
1382
|
+
*/
|
|
1383
|
+
include?: Prisma.WorkerUnitRegistrationInclude<ExtArgs> | null
|
|
1384
|
+
/**
|
|
1385
|
+
* The data needed to update a WorkerUnitRegistration.
|
|
1386
|
+
*/
|
|
1387
|
+
data: Prisma.XOR<Prisma.WorkerUnitRegistrationUpdateInput, Prisma.WorkerUnitRegistrationUncheckedUpdateInput>
|
|
1388
|
+
/**
|
|
1389
|
+
* Choose, which WorkerUnitRegistration to update.
|
|
1390
|
+
*/
|
|
1391
|
+
where: Prisma.WorkerUnitRegistrationWhereUniqueInput
|
|
1392
|
+
}
|
|
1393
|
+
|
|
1394
|
+
/**
|
|
1395
|
+
* WorkerUnitRegistration updateMany
|
|
1396
|
+
*/
|
|
1397
|
+
export type WorkerUnitRegistrationUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1398
|
+
/**
|
|
1399
|
+
* The data used to update WorkerUnitRegistrations.
|
|
1400
|
+
*/
|
|
1401
|
+
data: Prisma.XOR<Prisma.WorkerUnitRegistrationUpdateManyMutationInput, Prisma.WorkerUnitRegistrationUncheckedUpdateManyInput>
|
|
1402
|
+
/**
|
|
1403
|
+
* Filter which WorkerUnitRegistrations to update
|
|
1404
|
+
*/
|
|
1405
|
+
where?: Prisma.WorkerUnitRegistrationWhereInput
|
|
1406
|
+
/**
|
|
1407
|
+
* Limit how many WorkerUnitRegistrations to update.
|
|
1408
|
+
*/
|
|
1409
|
+
limit?: number
|
|
1410
|
+
}
|
|
1411
|
+
|
|
1412
|
+
/**
|
|
1413
|
+
* WorkerUnitRegistration updateManyAndReturn
|
|
1414
|
+
*/
|
|
1415
|
+
export type WorkerUnitRegistrationUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1416
|
+
/**
|
|
1417
|
+
* Select specific fields to fetch from the WorkerUnitRegistration
|
|
1418
|
+
*/
|
|
1419
|
+
select?: Prisma.WorkerUnitRegistrationSelectUpdateManyAndReturn<ExtArgs> | null
|
|
1420
|
+
/**
|
|
1421
|
+
* Omit specific fields from the WorkerUnitRegistration
|
|
1422
|
+
*/
|
|
1423
|
+
omit?: Prisma.WorkerUnitRegistrationOmit<ExtArgs> | null
|
|
1424
|
+
/**
|
|
1425
|
+
* The data used to update WorkerUnitRegistrations.
|
|
1426
|
+
*/
|
|
1427
|
+
data: Prisma.XOR<Prisma.WorkerUnitRegistrationUpdateManyMutationInput, Prisma.WorkerUnitRegistrationUncheckedUpdateManyInput>
|
|
1428
|
+
/**
|
|
1429
|
+
* Filter which WorkerUnitRegistrations to update
|
|
1430
|
+
*/
|
|
1431
|
+
where?: Prisma.WorkerUnitRegistrationWhereInput
|
|
1432
|
+
/**
|
|
1433
|
+
* Limit how many WorkerUnitRegistrations to update.
|
|
1434
|
+
*/
|
|
1435
|
+
limit?: number
|
|
1436
|
+
/**
|
|
1437
|
+
* Choose, which related nodes to fetch as well
|
|
1438
|
+
*/
|
|
1439
|
+
include?: Prisma.WorkerUnitRegistrationIncludeUpdateManyAndReturn<ExtArgs> | null
|
|
1440
|
+
}
|
|
1441
|
+
|
|
1442
|
+
/**
|
|
1443
|
+
* WorkerUnitRegistration upsert
|
|
1444
|
+
*/
|
|
1445
|
+
export type WorkerUnitRegistrationUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1446
|
+
/**
|
|
1447
|
+
* Select specific fields to fetch from the WorkerUnitRegistration
|
|
1448
|
+
*/
|
|
1449
|
+
select?: Prisma.WorkerUnitRegistrationSelect<ExtArgs> | null
|
|
1450
|
+
/**
|
|
1451
|
+
* Omit specific fields from the WorkerUnitRegistration
|
|
1452
|
+
*/
|
|
1453
|
+
omit?: Prisma.WorkerUnitRegistrationOmit<ExtArgs> | null
|
|
1454
|
+
/**
|
|
1455
|
+
* Choose, which related nodes to fetch as well
|
|
1456
|
+
*/
|
|
1457
|
+
include?: Prisma.WorkerUnitRegistrationInclude<ExtArgs> | null
|
|
1458
|
+
/**
|
|
1459
|
+
* The filter to search for the WorkerUnitRegistration to update in case it exists.
|
|
1460
|
+
*/
|
|
1461
|
+
where: Prisma.WorkerUnitRegistrationWhereUniqueInput
|
|
1462
|
+
/**
|
|
1463
|
+
* In case the WorkerUnitRegistration found by the `where` argument doesn't exist, create a new WorkerUnitRegistration with this data.
|
|
1464
|
+
*/
|
|
1465
|
+
create: Prisma.XOR<Prisma.WorkerUnitRegistrationCreateInput, Prisma.WorkerUnitRegistrationUncheckedCreateInput>
|
|
1466
|
+
/**
|
|
1467
|
+
* In case the WorkerUnitRegistration was found with the provided `where` argument, update it with this data.
|
|
1468
|
+
*/
|
|
1469
|
+
update: Prisma.XOR<Prisma.WorkerUnitRegistrationUpdateInput, Prisma.WorkerUnitRegistrationUncheckedUpdateInput>
|
|
1470
|
+
}
|
|
1471
|
+
|
|
1472
|
+
/**
|
|
1473
|
+
* WorkerUnitRegistration delete
|
|
1474
|
+
*/
|
|
1475
|
+
export type WorkerUnitRegistrationDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1476
|
+
/**
|
|
1477
|
+
* Select specific fields to fetch from the WorkerUnitRegistration
|
|
1478
|
+
*/
|
|
1479
|
+
select?: Prisma.WorkerUnitRegistrationSelect<ExtArgs> | null
|
|
1480
|
+
/**
|
|
1481
|
+
* Omit specific fields from the WorkerUnitRegistration
|
|
1482
|
+
*/
|
|
1483
|
+
omit?: Prisma.WorkerUnitRegistrationOmit<ExtArgs> | null
|
|
1484
|
+
/**
|
|
1485
|
+
* Choose, which related nodes to fetch as well
|
|
1486
|
+
*/
|
|
1487
|
+
include?: Prisma.WorkerUnitRegistrationInclude<ExtArgs> | null
|
|
1488
|
+
/**
|
|
1489
|
+
* Filter which WorkerUnitRegistration to delete.
|
|
1490
|
+
*/
|
|
1491
|
+
where: Prisma.WorkerUnitRegistrationWhereUniqueInput
|
|
1492
|
+
}
|
|
1493
|
+
|
|
1494
|
+
/**
|
|
1495
|
+
* WorkerUnitRegistration deleteMany
|
|
1496
|
+
*/
|
|
1497
|
+
export type WorkerUnitRegistrationDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1498
|
+
/**
|
|
1499
|
+
* Filter which WorkerUnitRegistrations to delete
|
|
1500
|
+
*/
|
|
1501
|
+
where?: Prisma.WorkerUnitRegistrationWhereInput
|
|
1502
|
+
/**
|
|
1503
|
+
* Limit how many WorkerUnitRegistrations to delete.
|
|
1504
|
+
*/
|
|
1505
|
+
limit?: number
|
|
1506
|
+
}
|
|
1507
|
+
|
|
1508
|
+
/**
|
|
1509
|
+
* WorkerUnitRegistration without action
|
|
1510
|
+
*/
|
|
1511
|
+
export type WorkerUnitRegistrationDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1512
|
+
/**
|
|
1513
|
+
* Select specific fields to fetch from the WorkerUnitRegistration
|
|
1514
|
+
*/
|
|
1515
|
+
select?: Prisma.WorkerUnitRegistrationSelect<ExtArgs> | null
|
|
1516
|
+
/**
|
|
1517
|
+
* Omit specific fields from the WorkerUnitRegistration
|
|
1518
|
+
*/
|
|
1519
|
+
omit?: Prisma.WorkerUnitRegistrationOmit<ExtArgs> | null
|
|
1520
|
+
/**
|
|
1521
|
+
* Choose, which related nodes to fetch as well
|
|
1522
|
+
*/
|
|
1523
|
+
include?: Prisma.WorkerUnitRegistrationInclude<ExtArgs> | null
|
|
1524
|
+
}
|