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