@highstate/backend 0.19.1 → 0.20.0

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.
Files changed (120) hide show
  1. package/dist/{chunk-V2NILDHS.js → chunk-52MY2TCE.js} +347 -19
  2. package/dist/chunk-52MY2TCE.js.map +1 -0
  3. package/dist/{chunk-I7BWSAN6.js → chunk-UAWBPTDW.js} +3 -3
  4. package/dist/{chunk-I7BWSAN6.js.map → chunk-UAWBPTDW.js.map} +1 -1
  5. package/dist/highstate.manifest.json +4 -4
  6. package/dist/index.js +4159 -785
  7. package/dist/index.js.map +1 -1
  8. package/dist/library/worker/main.js +5 -2
  9. package/dist/library/worker/main.js.map +1 -1
  10. package/dist/shared/index.js +2 -2
  11. package/package.json +7 -7
  12. package/prisma/backend/_schema/object.prisma +12 -0
  13. package/prisma/backend/sqlite/migrations/20260222113554_add_object_tracking/migration.sql +7 -0
  14. package/prisma/project/artifact.prisma +3 -0
  15. package/prisma/project/entity.prisma +125 -0
  16. package/prisma/project/instance.prisma +6 -0
  17. package/prisma/project/migrations/20260301210131_add_entity_tracking/migration.sql +70 -0
  18. package/prisma/project/migrations/20260302212734_add_resource_hooks_flag/migration.sql +1 -0
  19. package/prisma/project/operation.prisma +3 -0
  20. package/src/business/artifact.test.ts +22 -2
  21. package/src/business/artifact.ts +7 -1
  22. package/src/business/entity-snapshot.test.ts +684 -0
  23. package/src/business/entity-snapshot.ts +904 -0
  24. package/src/business/evaluation.test.ts +56 -0
  25. package/src/business/evaluation.ts +102 -22
  26. package/src/business/global-search.test.ts +344 -0
  27. package/src/business/global-search.ts +902 -0
  28. package/src/business/index.ts +4 -0
  29. package/src/business/instance-lock.ts +58 -74
  30. package/src/business/instance-state.test.ts +15 -1
  31. package/src/business/instance-state.ts +37 -14
  32. package/src/business/object-ref-index.test.ts +140 -0
  33. package/src/business/object-ref-index.ts +193 -0
  34. package/src/business/operation.test.ts +15 -1
  35. package/src/business/operation.ts +4 -0
  36. package/src/business/project-model.ts +154 -13
  37. package/src/business/project-unlock.ts +25 -2
  38. package/src/business/project.ts +9 -0
  39. package/src/business/secret.test.ts +35 -2
  40. package/src/business/secret.ts +32 -9
  41. package/src/business/settings.ts +761 -0
  42. package/src/business/unit-output.test.ts +477 -0
  43. package/src/business/unit-output.ts +461 -0
  44. package/src/business/worker.ts +55 -4
  45. package/src/database/_generated/backend/postgresql/browser.ts +6 -0
  46. package/src/database/_generated/backend/postgresql/client.ts +6 -0
  47. package/src/database/_generated/backend/postgresql/internal/class.ts +23 -5
  48. package/src/database/_generated/backend/postgresql/internal/prismaNamespace.ts +89 -5
  49. package/src/database/_generated/backend/postgresql/internal/prismaNamespaceBrowser.ts +9 -0
  50. package/src/database/_generated/backend/postgresql/models/Object.ts +1076 -0
  51. package/src/database/_generated/backend/postgresql/models.ts +1 -0
  52. package/src/database/_generated/backend/sqlite/browser.ts +6 -0
  53. package/src/database/_generated/backend/sqlite/client.ts +6 -0
  54. package/src/database/_generated/backend/sqlite/internal/class.ts +23 -5
  55. package/src/database/_generated/backend/sqlite/internal/prismaNamespace.ts +89 -5
  56. package/src/database/_generated/backend/sqlite/internal/prismaNamespaceBrowser.ts +9 -0
  57. package/src/database/_generated/backend/sqlite/models/Object.ts +1074 -0
  58. package/src/database/_generated/backend/sqlite/models.ts +1 -0
  59. package/src/database/_generated/project/browser.ts +23 -0
  60. package/src/database/_generated/project/client.ts +23 -0
  61. package/src/database/_generated/project/commonInputTypes.ts +87 -53
  62. package/src/database/_generated/project/enums.ts +8 -0
  63. package/src/database/_generated/project/internal/class.ts +53 -5
  64. package/src/database/_generated/project/internal/prismaNamespace.ts +367 -13
  65. package/src/database/_generated/project/internal/prismaNamespaceBrowser.ts +48 -1
  66. package/src/database/_generated/project/models/Artifact.ts +199 -11
  67. package/src/database/_generated/project/models/Entity.ts +1274 -0
  68. package/src/database/_generated/project/models/EntitySnapshot.ts +2389 -0
  69. package/src/database/_generated/project/models/EntitySnapshotContent.ts +1260 -0
  70. package/src/database/_generated/project/models/EntitySnapshotReference.ts +1449 -0
  71. package/src/database/_generated/project/models/InstanceState.ts +361 -1
  72. package/src/database/_generated/project/models/Operation.ts +148 -3
  73. package/src/database/_generated/project/models/OperationLog.ts +0 -4
  74. package/src/database/_generated/project/models.ts +4 -0
  75. package/src/database/migration.ts +3 -0
  76. package/src/library/worker/evaluator.ts +7 -1
  77. package/src/orchestrator/manager.ts +7 -0
  78. package/src/orchestrator/operation-context.captured-outputs.test.ts +118 -0
  79. package/src/orchestrator/operation-context.ts +154 -16
  80. package/src/orchestrator/operation-plan.destroy.test.md +33 -12
  81. package/src/orchestrator/operation-plan.destroy.test.ts +140 -2
  82. package/src/orchestrator/operation-plan.fixtures.ts +2 -0
  83. package/src/orchestrator/operation-plan.md +4 -1
  84. package/src/orchestrator/operation-plan.ts +286 -92
  85. package/src/orchestrator/operation-plan.update.test.md +286 -11
  86. package/src/orchestrator/operation-plan.update.test.ts +656 -5
  87. package/src/orchestrator/operation-workset.ts +72 -22
  88. package/src/orchestrator/operation.cancel.test.ts +4 -0
  89. package/src/orchestrator/operation.composite.test.ts +341 -0
  90. package/src/orchestrator/operation.destroy.test.ts +4 -0
  91. package/src/orchestrator/operation.output-validation.failure.test.ts +124 -0
  92. package/src/orchestrator/operation.preview.test.ts +4 -0
  93. package/src/orchestrator/operation.refresh.test.ts +4 -0
  94. package/src/orchestrator/operation.test-utils.ts +52 -13
  95. package/src/orchestrator/operation.ts +228 -68
  96. package/src/orchestrator/operation.update.failure.test.ts +4 -0
  97. package/src/orchestrator/operation.update.skip.test.ts +110 -0
  98. package/src/orchestrator/operation.update.test.ts +4 -0
  99. package/src/orchestrator/plan-test-builder.ts +1 -0
  100. package/src/orchestrator/unit-input-values.test.ts +450 -0
  101. package/src/orchestrator/unit-input-values.ts +281 -0
  102. package/src/pubsub/manager.ts +3 -0
  103. package/src/runner/abstractions.ts +23 -54
  104. package/src/runner/local.ts +109 -85
  105. package/src/services.ts +52 -1
  106. package/src/shared/models/prisma.ts +1 -0
  107. package/src/shared/models/project/entity.ts +121 -0
  108. package/src/shared/models/project/index.ts +1 -0
  109. package/src/shared/models/project/operation.ts +61 -3
  110. package/src/shared/models/project/state.ts +10 -0
  111. package/src/shared/models/project/worker.ts +7 -0
  112. package/src/shared/resolvers/effective-output-type.test.ts +494 -0
  113. package/src/shared/resolvers/effective-output-type.ts +162 -0
  114. package/src/shared/resolvers/index.ts +1 -0
  115. package/src/shared/resolvers/input.ts +59 -9
  116. package/src/shared/utils/index.ts +1 -0
  117. package/src/shared/utils/stable-json.ts +41 -0
  118. package/src/terminal/manager.ts +6 -0
  119. package/src/worker/manager.ts +97 -1
  120. package/dist/chunk-V2NILDHS.js.map +0 -1
@@ -0,0 +1,2389 @@
1
+
2
+ /* !!! This is code generated by Prisma. Do not edit directly. !!! */
3
+ /* eslint-disable */
4
+ // biome-ignore-all lint: generated file
5
+ // @ts-nocheck
6
+ /*
7
+ * This file exports the `EntitySnapshot` model and its related types.
8
+ *
9
+ * 🟢 You can import this file directly.
10
+ */
11
+
12
+ import type * as PJTG from '../pjtg.ts';
13
+ import type * as runtime from "@prisma/client/runtime/client"
14
+ import type * as $Enums from "../enums.ts"
15
+ import type * as Prisma from "../internal/prismaNamespace.ts"
16
+
17
+ /**
18
+ * Model EntitySnapshot
19
+ * This model represents an immutable snapshot of an entity at a certain point of time
20
+ * provide by some component instance during an operation.
21
+ */
22
+ export type EntitySnapshotModel = runtime.Types.Result.DefaultSelection<Prisma.$EntitySnapshotPayload>
23
+
24
+ export type AggregateEntitySnapshot = {
25
+ _count: EntitySnapshotCountAggregateOutputType | null
26
+ _min: EntitySnapshotMinAggregateOutputType | null
27
+ _max: EntitySnapshotMaxAggregateOutputType | null
28
+ }
29
+
30
+ export type EntitySnapshotMinAggregateOutputType = {
31
+ id: string | null
32
+ contentHash: string | null
33
+ entityId: string | null
34
+ operationId: string | null
35
+ stateId: string | null
36
+ createdAt: Date | null
37
+ }
38
+
39
+ export type EntitySnapshotMaxAggregateOutputType = {
40
+ id: string | null
41
+ contentHash: string | null
42
+ entityId: string | null
43
+ operationId: string | null
44
+ stateId: string | null
45
+ createdAt: Date | null
46
+ }
47
+
48
+ export type EntitySnapshotCountAggregateOutputType = {
49
+ id: number
50
+ contentHash: number
51
+ entityId: number
52
+ operationId: number
53
+ stateId: number
54
+ referencedInOutputs: number
55
+ exportedInOutputs: number
56
+ createdAt: number
57
+ _all: number
58
+ }
59
+
60
+
61
+ export type EntitySnapshotMinAggregateInputType = {
62
+ id?: true
63
+ contentHash?: true
64
+ entityId?: true
65
+ operationId?: true
66
+ stateId?: true
67
+ createdAt?: true
68
+ }
69
+
70
+ export type EntitySnapshotMaxAggregateInputType = {
71
+ id?: true
72
+ contentHash?: true
73
+ entityId?: true
74
+ operationId?: true
75
+ stateId?: true
76
+ createdAt?: true
77
+ }
78
+
79
+ export type EntitySnapshotCountAggregateInputType = {
80
+ id?: true
81
+ contentHash?: true
82
+ entityId?: true
83
+ operationId?: true
84
+ stateId?: true
85
+ referencedInOutputs?: true
86
+ exportedInOutputs?: true
87
+ createdAt?: true
88
+ _all?: true
89
+ }
90
+
91
+ export type EntitySnapshotAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
92
+ /**
93
+ * Filter which EntitySnapshot to aggregate.
94
+ */
95
+ where?: Prisma.EntitySnapshotWhereInput
96
+ /**
97
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
98
+ *
99
+ * Determine the order of EntitySnapshots to fetch.
100
+ */
101
+ orderBy?: Prisma.EntitySnapshotOrderByWithRelationInput | Prisma.EntitySnapshotOrderByWithRelationInput[]
102
+ /**
103
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
104
+ *
105
+ * Sets the start position
106
+ */
107
+ cursor?: Prisma.EntitySnapshotWhereUniqueInput
108
+ /**
109
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
110
+ *
111
+ * Take `±n` EntitySnapshots from the position of the cursor.
112
+ */
113
+ take?: number
114
+ /**
115
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
116
+ *
117
+ * Skip the first `n` EntitySnapshots.
118
+ */
119
+ skip?: number
120
+ /**
121
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
122
+ *
123
+ * Count returned EntitySnapshots
124
+ **/
125
+ _count?: true | EntitySnapshotCountAggregateInputType
126
+ /**
127
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
128
+ *
129
+ * Select which fields to find the minimum value
130
+ **/
131
+ _min?: EntitySnapshotMinAggregateInputType
132
+ /**
133
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
134
+ *
135
+ * Select which fields to find the maximum value
136
+ **/
137
+ _max?: EntitySnapshotMaxAggregateInputType
138
+ }
139
+
140
+ export type GetEntitySnapshotAggregateType<T extends EntitySnapshotAggregateArgs> = {
141
+ [P in keyof T & keyof AggregateEntitySnapshot]: P extends '_count' | 'count'
142
+ ? T[P] extends true
143
+ ? number
144
+ : Prisma.GetScalarType<T[P], AggregateEntitySnapshot[P]>
145
+ : Prisma.GetScalarType<T[P], AggregateEntitySnapshot[P]>
146
+ }
147
+
148
+
149
+
150
+
151
+ export type EntitySnapshotGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
152
+ where?: Prisma.EntitySnapshotWhereInput
153
+ orderBy?: Prisma.EntitySnapshotOrderByWithAggregationInput | Prisma.EntitySnapshotOrderByWithAggregationInput[]
154
+ by: Prisma.EntitySnapshotScalarFieldEnum[] | Prisma.EntitySnapshotScalarFieldEnum
155
+ having?: Prisma.EntitySnapshotScalarWhereWithAggregatesInput
156
+ take?: number
157
+ skip?: number
158
+ _count?: EntitySnapshotCountAggregateInputType | true
159
+ _min?: EntitySnapshotMinAggregateInputType
160
+ _max?: EntitySnapshotMaxAggregateInputType
161
+ }
162
+
163
+ export type EntitySnapshotGroupByOutputType = {
164
+ id: string
165
+ contentHash: string
166
+ entityId: string
167
+ operationId: string
168
+ stateId: string
169
+ referencedInOutputs:(string[])
170
+ exportedInOutputs:(string[])
171
+ createdAt: Date
172
+ _count: EntitySnapshotCountAggregateOutputType | null
173
+ _min: EntitySnapshotMinAggregateOutputType | null
174
+ _max: EntitySnapshotMaxAggregateOutputType | null
175
+ }
176
+
177
+ type GetEntitySnapshotGroupByPayload<T extends EntitySnapshotGroupByArgs> = Prisma.PrismaPromise<
178
+ Array<
179
+ Prisma.PickEnumerable<EntitySnapshotGroupByOutputType, T['by']> &
180
+ {
181
+ [P in ((keyof T) & (keyof EntitySnapshotGroupByOutputType))]: P extends '_count'
182
+ ? T[P] extends boolean
183
+ ? number
184
+ : Prisma.GetScalarType<T[P], EntitySnapshotGroupByOutputType[P]>
185
+ : Prisma.GetScalarType<T[P], EntitySnapshotGroupByOutputType[P]>
186
+ }
187
+ >
188
+ >
189
+
190
+
191
+
192
+ export type EntitySnapshotWhereInput = {
193
+ AND?: Prisma.EntitySnapshotWhereInput | Prisma.EntitySnapshotWhereInput[]
194
+ OR?: Prisma.EntitySnapshotWhereInput[]
195
+ NOT?: Prisma.EntitySnapshotWhereInput | Prisma.EntitySnapshotWhereInput[]
196
+ id?: Prisma.StringFilter<"EntitySnapshot"> | string
197
+ contentHash?: Prisma.StringFilter<"EntitySnapshot"> | string
198
+ entityId?: Prisma.StringFilter<"EntitySnapshot"> | string
199
+ operationId?: Prisma.StringFilter<"EntitySnapshot"> | string
200
+ stateId?: Prisma.StringFilter<"EntitySnapshot"> | string
201
+ referencedInOutputs?: Prisma.JsonFilter<"EntitySnapshot">
202
+ exportedInOutputs?: Prisma.JsonFilter<"EntitySnapshot">
203
+ createdAt?: Prisma.DateTimeFilter<"EntitySnapshot"> | Date | string
204
+ content?: Prisma.XOR<Prisma.EntitySnapshotContentScalarRelationFilter, Prisma.EntitySnapshotContentWhereInput>
205
+ entity?: Prisma.XOR<Prisma.EntityScalarRelationFilter, Prisma.EntityWhereInput>
206
+ operation?: Prisma.XOR<Prisma.OperationScalarRelationFilter, Prisma.OperationWhereInput>
207
+ state?: Prisma.XOR<Prisma.InstanceStateScalarRelationFilter, Prisma.InstanceStateWhereInput>
208
+ references?: Prisma.EntitySnapshotReferenceListRelationFilter
209
+ referencedBy?: Prisma.EntitySnapshotReferenceListRelationFilter
210
+ artifacts?: Prisma.ArtifactListRelationFilter
211
+ }
212
+
213
+ export type EntitySnapshotOrderByWithRelationInput = {
214
+ id?: Prisma.SortOrder
215
+ contentHash?: Prisma.SortOrder
216
+ entityId?: Prisma.SortOrder
217
+ operationId?: Prisma.SortOrder
218
+ stateId?: Prisma.SortOrder
219
+ referencedInOutputs?: Prisma.SortOrder
220
+ exportedInOutputs?: Prisma.SortOrder
221
+ createdAt?: Prisma.SortOrder
222
+ content?: Prisma.EntitySnapshotContentOrderByWithRelationInput
223
+ entity?: Prisma.EntityOrderByWithRelationInput
224
+ operation?: Prisma.OperationOrderByWithRelationInput
225
+ state?: Prisma.InstanceStateOrderByWithRelationInput
226
+ references?: Prisma.EntitySnapshotReferenceOrderByRelationAggregateInput
227
+ referencedBy?: Prisma.EntitySnapshotReferenceOrderByRelationAggregateInput
228
+ artifacts?: Prisma.ArtifactOrderByRelationAggregateInput
229
+ }
230
+
231
+ export type EntitySnapshotWhereUniqueInput = Prisma.AtLeast<{
232
+ id?: string
233
+ AND?: Prisma.EntitySnapshotWhereInput | Prisma.EntitySnapshotWhereInput[]
234
+ OR?: Prisma.EntitySnapshotWhereInput[]
235
+ NOT?: Prisma.EntitySnapshotWhereInput | Prisma.EntitySnapshotWhereInput[]
236
+ contentHash?: Prisma.StringFilter<"EntitySnapshot"> | string
237
+ entityId?: Prisma.StringFilter<"EntitySnapshot"> | string
238
+ operationId?: Prisma.StringFilter<"EntitySnapshot"> | string
239
+ stateId?: Prisma.StringFilter<"EntitySnapshot"> | string
240
+ referencedInOutputs?: Prisma.JsonFilter<"EntitySnapshot">
241
+ exportedInOutputs?: Prisma.JsonFilter<"EntitySnapshot">
242
+ createdAt?: Prisma.DateTimeFilter<"EntitySnapshot"> | Date | string
243
+ content?: Prisma.XOR<Prisma.EntitySnapshotContentScalarRelationFilter, Prisma.EntitySnapshotContentWhereInput>
244
+ entity?: Prisma.XOR<Prisma.EntityScalarRelationFilter, Prisma.EntityWhereInput>
245
+ operation?: Prisma.XOR<Prisma.OperationScalarRelationFilter, Prisma.OperationWhereInput>
246
+ state?: Prisma.XOR<Prisma.InstanceStateScalarRelationFilter, Prisma.InstanceStateWhereInput>
247
+ references?: Prisma.EntitySnapshotReferenceListRelationFilter
248
+ referencedBy?: Prisma.EntitySnapshotReferenceListRelationFilter
249
+ artifacts?: Prisma.ArtifactListRelationFilter
250
+ }, "id">
251
+
252
+ export type EntitySnapshotOrderByWithAggregationInput = {
253
+ id?: Prisma.SortOrder
254
+ contentHash?: Prisma.SortOrder
255
+ entityId?: Prisma.SortOrder
256
+ operationId?: Prisma.SortOrder
257
+ stateId?: Prisma.SortOrder
258
+ referencedInOutputs?: Prisma.SortOrder
259
+ exportedInOutputs?: Prisma.SortOrder
260
+ createdAt?: Prisma.SortOrder
261
+ _count?: Prisma.EntitySnapshotCountOrderByAggregateInput
262
+ _max?: Prisma.EntitySnapshotMaxOrderByAggregateInput
263
+ _min?: Prisma.EntitySnapshotMinOrderByAggregateInput
264
+ }
265
+
266
+ export type EntitySnapshotScalarWhereWithAggregatesInput = {
267
+ AND?: Prisma.EntitySnapshotScalarWhereWithAggregatesInput | Prisma.EntitySnapshotScalarWhereWithAggregatesInput[]
268
+ OR?: Prisma.EntitySnapshotScalarWhereWithAggregatesInput[]
269
+ NOT?: Prisma.EntitySnapshotScalarWhereWithAggregatesInput | Prisma.EntitySnapshotScalarWhereWithAggregatesInput[]
270
+ id?: Prisma.StringWithAggregatesFilter<"EntitySnapshot"> | string
271
+ contentHash?: Prisma.StringWithAggregatesFilter<"EntitySnapshot"> | string
272
+ entityId?: Prisma.StringWithAggregatesFilter<"EntitySnapshot"> | string
273
+ operationId?: Prisma.StringWithAggregatesFilter<"EntitySnapshot"> | string
274
+ stateId?: Prisma.StringWithAggregatesFilter<"EntitySnapshot"> | string
275
+ referencedInOutputs?: Prisma.JsonWithAggregatesFilter<"EntitySnapshot">
276
+ exportedInOutputs?: Prisma.JsonWithAggregatesFilter<"EntitySnapshot">
277
+ createdAt?: Prisma.DateTimeWithAggregatesFilter<"EntitySnapshot"> | Date | string
278
+ }
279
+
280
+ export type EntitySnapshotCreateInput = {
281
+ id?: string
282
+ referencedInOutputs:(string[])
283
+ exportedInOutputs:(string[])
284
+ createdAt?: Date | string
285
+ content: Prisma.EntitySnapshotContentCreateNestedOneWithoutSnapshotsInput
286
+ entity: Prisma.EntityCreateNestedOneWithoutSnapshotsInput
287
+ operation: Prisma.OperationCreateNestedOneWithoutEntitySnapshotsInput
288
+ state: Prisma.InstanceStateCreateNestedOneWithoutEntitySnapshotsInput
289
+ references?: Prisma.EntitySnapshotReferenceCreateNestedManyWithoutFromInput
290
+ referencedBy?: Prisma.EntitySnapshotReferenceCreateNestedManyWithoutToInput
291
+ artifacts?: Prisma.ArtifactCreateNestedManyWithoutEntitySnapshotsInput
292
+ }
293
+
294
+ export type EntitySnapshotUncheckedCreateInput = {
295
+ id?: string
296
+ contentHash: string
297
+ entityId: string
298
+ operationId: string
299
+ stateId: string
300
+ referencedInOutputs:(string[])
301
+ exportedInOutputs:(string[])
302
+ createdAt?: Date | string
303
+ references?: Prisma.EntitySnapshotReferenceUncheckedCreateNestedManyWithoutFromInput
304
+ referencedBy?: Prisma.EntitySnapshotReferenceUncheckedCreateNestedManyWithoutToInput
305
+ artifacts?: Prisma.ArtifactUncheckedCreateNestedManyWithoutEntitySnapshotsInput
306
+ }
307
+
308
+ export type EntitySnapshotUpdateInput = {
309
+ id?: Prisma.StringFieldUpdateOperationsInput | string
310
+ referencedInOutputs?:(string[])
311
+ exportedInOutputs?:(string[])
312
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
313
+ content?: Prisma.EntitySnapshotContentUpdateOneRequiredWithoutSnapshotsNestedInput
314
+ entity?: Prisma.EntityUpdateOneRequiredWithoutSnapshotsNestedInput
315
+ operation?: Prisma.OperationUpdateOneRequiredWithoutEntitySnapshotsNestedInput
316
+ state?: Prisma.InstanceStateUpdateOneRequiredWithoutEntitySnapshotsNestedInput
317
+ references?: Prisma.EntitySnapshotReferenceUpdateManyWithoutFromNestedInput
318
+ referencedBy?: Prisma.EntitySnapshotReferenceUpdateManyWithoutToNestedInput
319
+ artifacts?: Prisma.ArtifactUpdateManyWithoutEntitySnapshotsNestedInput
320
+ }
321
+
322
+ export type EntitySnapshotUncheckedUpdateInput = {
323
+ id?: Prisma.StringFieldUpdateOperationsInput | string
324
+ contentHash?: Prisma.StringFieldUpdateOperationsInput | string
325
+ entityId?: Prisma.StringFieldUpdateOperationsInput | string
326
+ operationId?: Prisma.StringFieldUpdateOperationsInput | string
327
+ stateId?: Prisma.StringFieldUpdateOperationsInput | string
328
+ referencedInOutputs?:(string[])
329
+ exportedInOutputs?:(string[])
330
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
331
+ references?: Prisma.EntitySnapshotReferenceUncheckedUpdateManyWithoutFromNestedInput
332
+ referencedBy?: Prisma.EntitySnapshotReferenceUncheckedUpdateManyWithoutToNestedInput
333
+ artifacts?: Prisma.ArtifactUncheckedUpdateManyWithoutEntitySnapshotsNestedInput
334
+ }
335
+
336
+ export type EntitySnapshotCreateManyInput = {
337
+ id?: string
338
+ contentHash: string
339
+ entityId: string
340
+ operationId: string
341
+ stateId: string
342
+ referencedInOutputs:(string[])
343
+ exportedInOutputs:(string[])
344
+ createdAt?: Date | string
345
+ }
346
+
347
+ export type EntitySnapshotUpdateManyMutationInput = {
348
+ id?: Prisma.StringFieldUpdateOperationsInput | string
349
+ referencedInOutputs?:(string[])
350
+ exportedInOutputs?:(string[])
351
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
352
+ }
353
+
354
+ export type EntitySnapshotUncheckedUpdateManyInput = {
355
+ id?: Prisma.StringFieldUpdateOperationsInput | string
356
+ contentHash?: Prisma.StringFieldUpdateOperationsInput | string
357
+ entityId?: Prisma.StringFieldUpdateOperationsInput | string
358
+ operationId?: Prisma.StringFieldUpdateOperationsInput | string
359
+ stateId?: Prisma.StringFieldUpdateOperationsInput | string
360
+ referencedInOutputs?:(string[])
361
+ exportedInOutputs?:(string[])
362
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
363
+ }
364
+
365
+ export type EntitySnapshotListRelationFilter = {
366
+ every?: Prisma.EntitySnapshotWhereInput
367
+ some?: Prisma.EntitySnapshotWhereInput
368
+ none?: Prisma.EntitySnapshotWhereInput
369
+ }
370
+
371
+ export type EntitySnapshotOrderByRelationAggregateInput = {
372
+ _count?: Prisma.SortOrder
373
+ }
374
+
375
+ export type EntitySnapshotCountOrderByAggregateInput = {
376
+ id?: Prisma.SortOrder
377
+ contentHash?: Prisma.SortOrder
378
+ entityId?: Prisma.SortOrder
379
+ operationId?: Prisma.SortOrder
380
+ stateId?: Prisma.SortOrder
381
+ referencedInOutputs?: Prisma.SortOrder
382
+ exportedInOutputs?: Prisma.SortOrder
383
+ createdAt?: Prisma.SortOrder
384
+ }
385
+
386
+ export type EntitySnapshotMaxOrderByAggregateInput = {
387
+ id?: Prisma.SortOrder
388
+ contentHash?: Prisma.SortOrder
389
+ entityId?: Prisma.SortOrder
390
+ operationId?: Prisma.SortOrder
391
+ stateId?: Prisma.SortOrder
392
+ createdAt?: Prisma.SortOrder
393
+ }
394
+
395
+ export type EntitySnapshotMinOrderByAggregateInput = {
396
+ id?: Prisma.SortOrder
397
+ contentHash?: Prisma.SortOrder
398
+ entityId?: Prisma.SortOrder
399
+ operationId?: Prisma.SortOrder
400
+ stateId?: Prisma.SortOrder
401
+ createdAt?: Prisma.SortOrder
402
+ }
403
+
404
+ export type EntitySnapshotScalarRelationFilter = {
405
+ is?: Prisma.EntitySnapshotWhereInput
406
+ isNot?: Prisma.EntitySnapshotWhereInput
407
+ }
408
+
409
+ export type EntitySnapshotCreateNestedManyWithoutArtifactsInput = {
410
+ create?: Prisma.XOR<Prisma.EntitySnapshotCreateWithoutArtifactsInput, Prisma.EntitySnapshotUncheckedCreateWithoutArtifactsInput> | Prisma.EntitySnapshotCreateWithoutArtifactsInput[] | Prisma.EntitySnapshotUncheckedCreateWithoutArtifactsInput[]
411
+ connectOrCreate?: Prisma.EntitySnapshotCreateOrConnectWithoutArtifactsInput | Prisma.EntitySnapshotCreateOrConnectWithoutArtifactsInput[]
412
+ connect?: Prisma.EntitySnapshotWhereUniqueInput | Prisma.EntitySnapshotWhereUniqueInput[]
413
+ }
414
+
415
+ export type EntitySnapshotUncheckedCreateNestedManyWithoutArtifactsInput = {
416
+ create?: Prisma.XOR<Prisma.EntitySnapshotCreateWithoutArtifactsInput, Prisma.EntitySnapshotUncheckedCreateWithoutArtifactsInput> | Prisma.EntitySnapshotCreateWithoutArtifactsInput[] | Prisma.EntitySnapshotUncheckedCreateWithoutArtifactsInput[]
417
+ connectOrCreate?: Prisma.EntitySnapshotCreateOrConnectWithoutArtifactsInput | Prisma.EntitySnapshotCreateOrConnectWithoutArtifactsInput[]
418
+ connect?: Prisma.EntitySnapshotWhereUniqueInput | Prisma.EntitySnapshotWhereUniqueInput[]
419
+ }
420
+
421
+ export type EntitySnapshotUpdateManyWithoutArtifactsNestedInput = {
422
+ create?: Prisma.XOR<Prisma.EntitySnapshotCreateWithoutArtifactsInput, Prisma.EntitySnapshotUncheckedCreateWithoutArtifactsInput> | Prisma.EntitySnapshotCreateWithoutArtifactsInput[] | Prisma.EntitySnapshotUncheckedCreateWithoutArtifactsInput[]
423
+ connectOrCreate?: Prisma.EntitySnapshotCreateOrConnectWithoutArtifactsInput | Prisma.EntitySnapshotCreateOrConnectWithoutArtifactsInput[]
424
+ upsert?: Prisma.EntitySnapshotUpsertWithWhereUniqueWithoutArtifactsInput | Prisma.EntitySnapshotUpsertWithWhereUniqueWithoutArtifactsInput[]
425
+ set?: Prisma.EntitySnapshotWhereUniqueInput | Prisma.EntitySnapshotWhereUniqueInput[]
426
+ disconnect?: Prisma.EntitySnapshotWhereUniqueInput | Prisma.EntitySnapshotWhereUniqueInput[]
427
+ delete?: Prisma.EntitySnapshotWhereUniqueInput | Prisma.EntitySnapshotWhereUniqueInput[]
428
+ connect?: Prisma.EntitySnapshotWhereUniqueInput | Prisma.EntitySnapshotWhereUniqueInput[]
429
+ update?: Prisma.EntitySnapshotUpdateWithWhereUniqueWithoutArtifactsInput | Prisma.EntitySnapshotUpdateWithWhereUniqueWithoutArtifactsInput[]
430
+ updateMany?: Prisma.EntitySnapshotUpdateManyWithWhereWithoutArtifactsInput | Prisma.EntitySnapshotUpdateManyWithWhereWithoutArtifactsInput[]
431
+ deleteMany?: Prisma.EntitySnapshotScalarWhereInput | Prisma.EntitySnapshotScalarWhereInput[]
432
+ }
433
+
434
+ export type EntitySnapshotUncheckedUpdateManyWithoutArtifactsNestedInput = {
435
+ create?: Prisma.XOR<Prisma.EntitySnapshotCreateWithoutArtifactsInput, Prisma.EntitySnapshotUncheckedCreateWithoutArtifactsInput> | Prisma.EntitySnapshotCreateWithoutArtifactsInput[] | Prisma.EntitySnapshotUncheckedCreateWithoutArtifactsInput[]
436
+ connectOrCreate?: Prisma.EntitySnapshotCreateOrConnectWithoutArtifactsInput | Prisma.EntitySnapshotCreateOrConnectWithoutArtifactsInput[]
437
+ upsert?: Prisma.EntitySnapshotUpsertWithWhereUniqueWithoutArtifactsInput | Prisma.EntitySnapshotUpsertWithWhereUniqueWithoutArtifactsInput[]
438
+ set?: Prisma.EntitySnapshotWhereUniqueInput | Prisma.EntitySnapshotWhereUniqueInput[]
439
+ disconnect?: Prisma.EntitySnapshotWhereUniqueInput | Prisma.EntitySnapshotWhereUniqueInput[]
440
+ delete?: Prisma.EntitySnapshotWhereUniqueInput | Prisma.EntitySnapshotWhereUniqueInput[]
441
+ connect?: Prisma.EntitySnapshotWhereUniqueInput | Prisma.EntitySnapshotWhereUniqueInput[]
442
+ update?: Prisma.EntitySnapshotUpdateWithWhereUniqueWithoutArtifactsInput | Prisma.EntitySnapshotUpdateWithWhereUniqueWithoutArtifactsInput[]
443
+ updateMany?: Prisma.EntitySnapshotUpdateManyWithWhereWithoutArtifactsInput | Prisma.EntitySnapshotUpdateManyWithWhereWithoutArtifactsInput[]
444
+ deleteMany?: Prisma.EntitySnapshotScalarWhereInput | Prisma.EntitySnapshotScalarWhereInput[]
445
+ }
446
+
447
+ export type EntitySnapshotCreateNestedManyWithoutEntityInput = {
448
+ create?: Prisma.XOR<Prisma.EntitySnapshotCreateWithoutEntityInput, Prisma.EntitySnapshotUncheckedCreateWithoutEntityInput> | Prisma.EntitySnapshotCreateWithoutEntityInput[] | Prisma.EntitySnapshotUncheckedCreateWithoutEntityInput[]
449
+ connectOrCreate?: Prisma.EntitySnapshotCreateOrConnectWithoutEntityInput | Prisma.EntitySnapshotCreateOrConnectWithoutEntityInput[]
450
+ createMany?: Prisma.EntitySnapshotCreateManyEntityInputEnvelope
451
+ connect?: Prisma.EntitySnapshotWhereUniqueInput | Prisma.EntitySnapshotWhereUniqueInput[]
452
+ }
453
+
454
+ export type EntitySnapshotUncheckedCreateNestedManyWithoutEntityInput = {
455
+ create?: Prisma.XOR<Prisma.EntitySnapshotCreateWithoutEntityInput, Prisma.EntitySnapshotUncheckedCreateWithoutEntityInput> | Prisma.EntitySnapshotCreateWithoutEntityInput[] | Prisma.EntitySnapshotUncheckedCreateWithoutEntityInput[]
456
+ connectOrCreate?: Prisma.EntitySnapshotCreateOrConnectWithoutEntityInput | Prisma.EntitySnapshotCreateOrConnectWithoutEntityInput[]
457
+ createMany?: Prisma.EntitySnapshotCreateManyEntityInputEnvelope
458
+ connect?: Prisma.EntitySnapshotWhereUniqueInput | Prisma.EntitySnapshotWhereUniqueInput[]
459
+ }
460
+
461
+ export type EntitySnapshotUpdateManyWithoutEntityNestedInput = {
462
+ create?: Prisma.XOR<Prisma.EntitySnapshotCreateWithoutEntityInput, Prisma.EntitySnapshotUncheckedCreateWithoutEntityInput> | Prisma.EntitySnapshotCreateWithoutEntityInput[] | Prisma.EntitySnapshotUncheckedCreateWithoutEntityInput[]
463
+ connectOrCreate?: Prisma.EntitySnapshotCreateOrConnectWithoutEntityInput | Prisma.EntitySnapshotCreateOrConnectWithoutEntityInput[]
464
+ upsert?: Prisma.EntitySnapshotUpsertWithWhereUniqueWithoutEntityInput | Prisma.EntitySnapshotUpsertWithWhereUniqueWithoutEntityInput[]
465
+ createMany?: Prisma.EntitySnapshotCreateManyEntityInputEnvelope
466
+ set?: Prisma.EntitySnapshotWhereUniqueInput | Prisma.EntitySnapshotWhereUniqueInput[]
467
+ disconnect?: Prisma.EntitySnapshotWhereUniqueInput | Prisma.EntitySnapshotWhereUniqueInput[]
468
+ delete?: Prisma.EntitySnapshotWhereUniqueInput | Prisma.EntitySnapshotWhereUniqueInput[]
469
+ connect?: Prisma.EntitySnapshotWhereUniqueInput | Prisma.EntitySnapshotWhereUniqueInput[]
470
+ update?: Prisma.EntitySnapshotUpdateWithWhereUniqueWithoutEntityInput | Prisma.EntitySnapshotUpdateWithWhereUniqueWithoutEntityInput[]
471
+ updateMany?: Prisma.EntitySnapshotUpdateManyWithWhereWithoutEntityInput | Prisma.EntitySnapshotUpdateManyWithWhereWithoutEntityInput[]
472
+ deleteMany?: Prisma.EntitySnapshotScalarWhereInput | Prisma.EntitySnapshotScalarWhereInput[]
473
+ }
474
+
475
+ export type EntitySnapshotUncheckedUpdateManyWithoutEntityNestedInput = {
476
+ create?: Prisma.XOR<Prisma.EntitySnapshotCreateWithoutEntityInput, Prisma.EntitySnapshotUncheckedCreateWithoutEntityInput> | Prisma.EntitySnapshotCreateWithoutEntityInput[] | Prisma.EntitySnapshotUncheckedCreateWithoutEntityInput[]
477
+ connectOrCreate?: Prisma.EntitySnapshotCreateOrConnectWithoutEntityInput | Prisma.EntitySnapshotCreateOrConnectWithoutEntityInput[]
478
+ upsert?: Prisma.EntitySnapshotUpsertWithWhereUniqueWithoutEntityInput | Prisma.EntitySnapshotUpsertWithWhereUniqueWithoutEntityInput[]
479
+ createMany?: Prisma.EntitySnapshotCreateManyEntityInputEnvelope
480
+ set?: Prisma.EntitySnapshotWhereUniqueInput | Prisma.EntitySnapshotWhereUniqueInput[]
481
+ disconnect?: Prisma.EntitySnapshotWhereUniqueInput | Prisma.EntitySnapshotWhereUniqueInput[]
482
+ delete?: Prisma.EntitySnapshotWhereUniqueInput | Prisma.EntitySnapshotWhereUniqueInput[]
483
+ connect?: Prisma.EntitySnapshotWhereUniqueInput | Prisma.EntitySnapshotWhereUniqueInput[]
484
+ update?: Prisma.EntitySnapshotUpdateWithWhereUniqueWithoutEntityInput | Prisma.EntitySnapshotUpdateWithWhereUniqueWithoutEntityInput[]
485
+ updateMany?: Prisma.EntitySnapshotUpdateManyWithWhereWithoutEntityInput | Prisma.EntitySnapshotUpdateManyWithWhereWithoutEntityInput[]
486
+ deleteMany?: Prisma.EntitySnapshotScalarWhereInput | Prisma.EntitySnapshotScalarWhereInput[]
487
+ }
488
+
489
+ export type EntitySnapshotCreateNestedOneWithoutReferencesInput = {
490
+ create?: Prisma.XOR<Prisma.EntitySnapshotCreateWithoutReferencesInput, Prisma.EntitySnapshotUncheckedCreateWithoutReferencesInput>
491
+ connectOrCreate?: Prisma.EntitySnapshotCreateOrConnectWithoutReferencesInput
492
+ connect?: Prisma.EntitySnapshotWhereUniqueInput
493
+ }
494
+
495
+ export type EntitySnapshotCreateNestedOneWithoutReferencedByInput = {
496
+ create?: Prisma.XOR<Prisma.EntitySnapshotCreateWithoutReferencedByInput, Prisma.EntitySnapshotUncheckedCreateWithoutReferencedByInput>
497
+ connectOrCreate?: Prisma.EntitySnapshotCreateOrConnectWithoutReferencedByInput
498
+ connect?: Prisma.EntitySnapshotWhereUniqueInput
499
+ }
500
+
501
+ export type EntitySnapshotUpdateOneRequiredWithoutReferencesNestedInput = {
502
+ create?: Prisma.XOR<Prisma.EntitySnapshotCreateWithoutReferencesInput, Prisma.EntitySnapshotUncheckedCreateWithoutReferencesInput>
503
+ connectOrCreate?: Prisma.EntitySnapshotCreateOrConnectWithoutReferencesInput
504
+ upsert?: Prisma.EntitySnapshotUpsertWithoutReferencesInput
505
+ connect?: Prisma.EntitySnapshotWhereUniqueInput
506
+ update?: Prisma.XOR<Prisma.XOR<Prisma.EntitySnapshotUpdateToOneWithWhereWithoutReferencesInput, Prisma.EntitySnapshotUpdateWithoutReferencesInput>, Prisma.EntitySnapshotUncheckedUpdateWithoutReferencesInput>
507
+ }
508
+
509
+ export type EntitySnapshotUpdateOneRequiredWithoutReferencedByNestedInput = {
510
+ create?: Prisma.XOR<Prisma.EntitySnapshotCreateWithoutReferencedByInput, Prisma.EntitySnapshotUncheckedCreateWithoutReferencedByInput>
511
+ connectOrCreate?: Prisma.EntitySnapshotCreateOrConnectWithoutReferencedByInput
512
+ upsert?: Prisma.EntitySnapshotUpsertWithoutReferencedByInput
513
+ connect?: Prisma.EntitySnapshotWhereUniqueInput
514
+ update?: Prisma.XOR<Prisma.XOR<Prisma.EntitySnapshotUpdateToOneWithWhereWithoutReferencedByInput, Prisma.EntitySnapshotUpdateWithoutReferencedByInput>, Prisma.EntitySnapshotUncheckedUpdateWithoutReferencedByInput>
515
+ }
516
+
517
+ export type EntitySnapshotCreateNestedManyWithoutContentInput = {
518
+ create?: Prisma.XOR<Prisma.EntitySnapshotCreateWithoutContentInput, Prisma.EntitySnapshotUncheckedCreateWithoutContentInput> | Prisma.EntitySnapshotCreateWithoutContentInput[] | Prisma.EntitySnapshotUncheckedCreateWithoutContentInput[]
519
+ connectOrCreate?: Prisma.EntitySnapshotCreateOrConnectWithoutContentInput | Prisma.EntitySnapshotCreateOrConnectWithoutContentInput[]
520
+ createMany?: Prisma.EntitySnapshotCreateManyContentInputEnvelope
521
+ connect?: Prisma.EntitySnapshotWhereUniqueInput | Prisma.EntitySnapshotWhereUniqueInput[]
522
+ }
523
+
524
+ export type EntitySnapshotUncheckedCreateNestedManyWithoutContentInput = {
525
+ create?: Prisma.XOR<Prisma.EntitySnapshotCreateWithoutContentInput, Prisma.EntitySnapshotUncheckedCreateWithoutContentInput> | Prisma.EntitySnapshotCreateWithoutContentInput[] | Prisma.EntitySnapshotUncheckedCreateWithoutContentInput[]
526
+ connectOrCreate?: Prisma.EntitySnapshotCreateOrConnectWithoutContentInput | Prisma.EntitySnapshotCreateOrConnectWithoutContentInput[]
527
+ createMany?: Prisma.EntitySnapshotCreateManyContentInputEnvelope
528
+ connect?: Prisma.EntitySnapshotWhereUniqueInput | Prisma.EntitySnapshotWhereUniqueInput[]
529
+ }
530
+
531
+ export type EntitySnapshotUpdateManyWithoutContentNestedInput = {
532
+ create?: Prisma.XOR<Prisma.EntitySnapshotCreateWithoutContentInput, Prisma.EntitySnapshotUncheckedCreateWithoutContentInput> | Prisma.EntitySnapshotCreateWithoutContentInput[] | Prisma.EntitySnapshotUncheckedCreateWithoutContentInput[]
533
+ connectOrCreate?: Prisma.EntitySnapshotCreateOrConnectWithoutContentInput | Prisma.EntitySnapshotCreateOrConnectWithoutContentInput[]
534
+ upsert?: Prisma.EntitySnapshotUpsertWithWhereUniqueWithoutContentInput | Prisma.EntitySnapshotUpsertWithWhereUniqueWithoutContentInput[]
535
+ createMany?: Prisma.EntitySnapshotCreateManyContentInputEnvelope
536
+ set?: Prisma.EntitySnapshotWhereUniqueInput | Prisma.EntitySnapshotWhereUniqueInput[]
537
+ disconnect?: Prisma.EntitySnapshotWhereUniqueInput | Prisma.EntitySnapshotWhereUniqueInput[]
538
+ delete?: Prisma.EntitySnapshotWhereUniqueInput | Prisma.EntitySnapshotWhereUniqueInput[]
539
+ connect?: Prisma.EntitySnapshotWhereUniqueInput | Prisma.EntitySnapshotWhereUniqueInput[]
540
+ update?: Prisma.EntitySnapshotUpdateWithWhereUniqueWithoutContentInput | Prisma.EntitySnapshotUpdateWithWhereUniqueWithoutContentInput[]
541
+ updateMany?: Prisma.EntitySnapshotUpdateManyWithWhereWithoutContentInput | Prisma.EntitySnapshotUpdateManyWithWhereWithoutContentInput[]
542
+ deleteMany?: Prisma.EntitySnapshotScalarWhereInput | Prisma.EntitySnapshotScalarWhereInput[]
543
+ }
544
+
545
+ export type EntitySnapshotUncheckedUpdateManyWithoutContentNestedInput = {
546
+ create?: Prisma.XOR<Prisma.EntitySnapshotCreateWithoutContentInput, Prisma.EntitySnapshotUncheckedCreateWithoutContentInput> | Prisma.EntitySnapshotCreateWithoutContentInput[] | Prisma.EntitySnapshotUncheckedCreateWithoutContentInput[]
547
+ connectOrCreate?: Prisma.EntitySnapshotCreateOrConnectWithoutContentInput | Prisma.EntitySnapshotCreateOrConnectWithoutContentInput[]
548
+ upsert?: Prisma.EntitySnapshotUpsertWithWhereUniqueWithoutContentInput | Prisma.EntitySnapshotUpsertWithWhereUniqueWithoutContentInput[]
549
+ createMany?: Prisma.EntitySnapshotCreateManyContentInputEnvelope
550
+ set?: Prisma.EntitySnapshotWhereUniqueInput | Prisma.EntitySnapshotWhereUniqueInput[]
551
+ disconnect?: Prisma.EntitySnapshotWhereUniqueInput | Prisma.EntitySnapshotWhereUniqueInput[]
552
+ delete?: Prisma.EntitySnapshotWhereUniqueInput | Prisma.EntitySnapshotWhereUniqueInput[]
553
+ connect?: Prisma.EntitySnapshotWhereUniqueInput | Prisma.EntitySnapshotWhereUniqueInput[]
554
+ update?: Prisma.EntitySnapshotUpdateWithWhereUniqueWithoutContentInput | Prisma.EntitySnapshotUpdateWithWhereUniqueWithoutContentInput[]
555
+ updateMany?: Prisma.EntitySnapshotUpdateManyWithWhereWithoutContentInput | Prisma.EntitySnapshotUpdateManyWithWhereWithoutContentInput[]
556
+ deleteMany?: Prisma.EntitySnapshotScalarWhereInput | Prisma.EntitySnapshotScalarWhereInput[]
557
+ }
558
+
559
+ export type EntitySnapshotCreateNestedManyWithoutStateInput = {
560
+ create?: Prisma.XOR<Prisma.EntitySnapshotCreateWithoutStateInput, Prisma.EntitySnapshotUncheckedCreateWithoutStateInput> | Prisma.EntitySnapshotCreateWithoutStateInput[] | Prisma.EntitySnapshotUncheckedCreateWithoutStateInput[]
561
+ connectOrCreate?: Prisma.EntitySnapshotCreateOrConnectWithoutStateInput | Prisma.EntitySnapshotCreateOrConnectWithoutStateInput[]
562
+ createMany?: Prisma.EntitySnapshotCreateManyStateInputEnvelope
563
+ connect?: Prisma.EntitySnapshotWhereUniqueInput | Prisma.EntitySnapshotWhereUniqueInput[]
564
+ }
565
+
566
+ export type EntitySnapshotUncheckedCreateNestedManyWithoutStateInput = {
567
+ create?: Prisma.XOR<Prisma.EntitySnapshotCreateWithoutStateInput, Prisma.EntitySnapshotUncheckedCreateWithoutStateInput> | Prisma.EntitySnapshotCreateWithoutStateInput[] | Prisma.EntitySnapshotUncheckedCreateWithoutStateInput[]
568
+ connectOrCreate?: Prisma.EntitySnapshotCreateOrConnectWithoutStateInput | Prisma.EntitySnapshotCreateOrConnectWithoutStateInput[]
569
+ createMany?: Prisma.EntitySnapshotCreateManyStateInputEnvelope
570
+ connect?: Prisma.EntitySnapshotWhereUniqueInput | Prisma.EntitySnapshotWhereUniqueInput[]
571
+ }
572
+
573
+ export type EntitySnapshotUpdateManyWithoutStateNestedInput = {
574
+ create?: Prisma.XOR<Prisma.EntitySnapshotCreateWithoutStateInput, Prisma.EntitySnapshotUncheckedCreateWithoutStateInput> | Prisma.EntitySnapshotCreateWithoutStateInput[] | Prisma.EntitySnapshotUncheckedCreateWithoutStateInput[]
575
+ connectOrCreate?: Prisma.EntitySnapshotCreateOrConnectWithoutStateInput | Prisma.EntitySnapshotCreateOrConnectWithoutStateInput[]
576
+ upsert?: Prisma.EntitySnapshotUpsertWithWhereUniqueWithoutStateInput | Prisma.EntitySnapshotUpsertWithWhereUniqueWithoutStateInput[]
577
+ createMany?: Prisma.EntitySnapshotCreateManyStateInputEnvelope
578
+ set?: Prisma.EntitySnapshotWhereUniqueInput | Prisma.EntitySnapshotWhereUniqueInput[]
579
+ disconnect?: Prisma.EntitySnapshotWhereUniqueInput | Prisma.EntitySnapshotWhereUniqueInput[]
580
+ delete?: Prisma.EntitySnapshotWhereUniqueInput | Prisma.EntitySnapshotWhereUniqueInput[]
581
+ connect?: Prisma.EntitySnapshotWhereUniqueInput | Prisma.EntitySnapshotWhereUniqueInput[]
582
+ update?: Prisma.EntitySnapshotUpdateWithWhereUniqueWithoutStateInput | Prisma.EntitySnapshotUpdateWithWhereUniqueWithoutStateInput[]
583
+ updateMany?: Prisma.EntitySnapshotUpdateManyWithWhereWithoutStateInput | Prisma.EntitySnapshotUpdateManyWithWhereWithoutStateInput[]
584
+ deleteMany?: Prisma.EntitySnapshotScalarWhereInput | Prisma.EntitySnapshotScalarWhereInput[]
585
+ }
586
+
587
+ export type EntitySnapshotUncheckedUpdateManyWithoutStateNestedInput = {
588
+ create?: Prisma.XOR<Prisma.EntitySnapshotCreateWithoutStateInput, Prisma.EntitySnapshotUncheckedCreateWithoutStateInput> | Prisma.EntitySnapshotCreateWithoutStateInput[] | Prisma.EntitySnapshotUncheckedCreateWithoutStateInput[]
589
+ connectOrCreate?: Prisma.EntitySnapshotCreateOrConnectWithoutStateInput | Prisma.EntitySnapshotCreateOrConnectWithoutStateInput[]
590
+ upsert?: Prisma.EntitySnapshotUpsertWithWhereUniqueWithoutStateInput | Prisma.EntitySnapshotUpsertWithWhereUniqueWithoutStateInput[]
591
+ createMany?: Prisma.EntitySnapshotCreateManyStateInputEnvelope
592
+ set?: Prisma.EntitySnapshotWhereUniqueInput | Prisma.EntitySnapshotWhereUniqueInput[]
593
+ disconnect?: Prisma.EntitySnapshotWhereUniqueInput | Prisma.EntitySnapshotWhereUniqueInput[]
594
+ delete?: Prisma.EntitySnapshotWhereUniqueInput | Prisma.EntitySnapshotWhereUniqueInput[]
595
+ connect?: Prisma.EntitySnapshotWhereUniqueInput | Prisma.EntitySnapshotWhereUniqueInput[]
596
+ update?: Prisma.EntitySnapshotUpdateWithWhereUniqueWithoutStateInput | Prisma.EntitySnapshotUpdateWithWhereUniqueWithoutStateInput[]
597
+ updateMany?: Prisma.EntitySnapshotUpdateManyWithWhereWithoutStateInput | Prisma.EntitySnapshotUpdateManyWithWhereWithoutStateInput[]
598
+ deleteMany?: Prisma.EntitySnapshotScalarWhereInput | Prisma.EntitySnapshotScalarWhereInput[]
599
+ }
600
+
601
+ export type EntitySnapshotCreateNestedManyWithoutOperationInput = {
602
+ create?: Prisma.XOR<Prisma.EntitySnapshotCreateWithoutOperationInput, Prisma.EntitySnapshotUncheckedCreateWithoutOperationInput> | Prisma.EntitySnapshotCreateWithoutOperationInput[] | Prisma.EntitySnapshotUncheckedCreateWithoutOperationInput[]
603
+ connectOrCreate?: Prisma.EntitySnapshotCreateOrConnectWithoutOperationInput | Prisma.EntitySnapshotCreateOrConnectWithoutOperationInput[]
604
+ createMany?: Prisma.EntitySnapshotCreateManyOperationInputEnvelope
605
+ connect?: Prisma.EntitySnapshotWhereUniqueInput | Prisma.EntitySnapshotWhereUniqueInput[]
606
+ }
607
+
608
+ export type EntitySnapshotUncheckedCreateNestedManyWithoutOperationInput = {
609
+ create?: Prisma.XOR<Prisma.EntitySnapshotCreateWithoutOperationInput, Prisma.EntitySnapshotUncheckedCreateWithoutOperationInput> | Prisma.EntitySnapshotCreateWithoutOperationInput[] | Prisma.EntitySnapshotUncheckedCreateWithoutOperationInput[]
610
+ connectOrCreate?: Prisma.EntitySnapshotCreateOrConnectWithoutOperationInput | Prisma.EntitySnapshotCreateOrConnectWithoutOperationInput[]
611
+ createMany?: Prisma.EntitySnapshotCreateManyOperationInputEnvelope
612
+ connect?: Prisma.EntitySnapshotWhereUniqueInput | Prisma.EntitySnapshotWhereUniqueInput[]
613
+ }
614
+
615
+ export type EntitySnapshotUpdateManyWithoutOperationNestedInput = {
616
+ create?: Prisma.XOR<Prisma.EntitySnapshotCreateWithoutOperationInput, Prisma.EntitySnapshotUncheckedCreateWithoutOperationInput> | Prisma.EntitySnapshotCreateWithoutOperationInput[] | Prisma.EntitySnapshotUncheckedCreateWithoutOperationInput[]
617
+ connectOrCreate?: Prisma.EntitySnapshotCreateOrConnectWithoutOperationInput | Prisma.EntitySnapshotCreateOrConnectWithoutOperationInput[]
618
+ upsert?: Prisma.EntitySnapshotUpsertWithWhereUniqueWithoutOperationInput | Prisma.EntitySnapshotUpsertWithWhereUniqueWithoutOperationInput[]
619
+ createMany?: Prisma.EntitySnapshotCreateManyOperationInputEnvelope
620
+ set?: Prisma.EntitySnapshotWhereUniqueInput | Prisma.EntitySnapshotWhereUniqueInput[]
621
+ disconnect?: Prisma.EntitySnapshotWhereUniqueInput | Prisma.EntitySnapshotWhereUniqueInput[]
622
+ delete?: Prisma.EntitySnapshotWhereUniqueInput | Prisma.EntitySnapshotWhereUniqueInput[]
623
+ connect?: Prisma.EntitySnapshotWhereUniqueInput | Prisma.EntitySnapshotWhereUniqueInput[]
624
+ update?: Prisma.EntitySnapshotUpdateWithWhereUniqueWithoutOperationInput | Prisma.EntitySnapshotUpdateWithWhereUniqueWithoutOperationInput[]
625
+ updateMany?: Prisma.EntitySnapshotUpdateManyWithWhereWithoutOperationInput | Prisma.EntitySnapshotUpdateManyWithWhereWithoutOperationInput[]
626
+ deleteMany?: Prisma.EntitySnapshotScalarWhereInput | Prisma.EntitySnapshotScalarWhereInput[]
627
+ }
628
+
629
+ export type EntitySnapshotUncheckedUpdateManyWithoutOperationNestedInput = {
630
+ create?: Prisma.XOR<Prisma.EntitySnapshotCreateWithoutOperationInput, Prisma.EntitySnapshotUncheckedCreateWithoutOperationInput> | Prisma.EntitySnapshotCreateWithoutOperationInput[] | Prisma.EntitySnapshotUncheckedCreateWithoutOperationInput[]
631
+ connectOrCreate?: Prisma.EntitySnapshotCreateOrConnectWithoutOperationInput | Prisma.EntitySnapshotCreateOrConnectWithoutOperationInput[]
632
+ upsert?: Prisma.EntitySnapshotUpsertWithWhereUniqueWithoutOperationInput | Prisma.EntitySnapshotUpsertWithWhereUniqueWithoutOperationInput[]
633
+ createMany?: Prisma.EntitySnapshotCreateManyOperationInputEnvelope
634
+ set?: Prisma.EntitySnapshotWhereUniqueInput | Prisma.EntitySnapshotWhereUniqueInput[]
635
+ disconnect?: Prisma.EntitySnapshotWhereUniqueInput | Prisma.EntitySnapshotWhereUniqueInput[]
636
+ delete?: Prisma.EntitySnapshotWhereUniqueInput | Prisma.EntitySnapshotWhereUniqueInput[]
637
+ connect?: Prisma.EntitySnapshotWhereUniqueInput | Prisma.EntitySnapshotWhereUniqueInput[]
638
+ update?: Prisma.EntitySnapshotUpdateWithWhereUniqueWithoutOperationInput | Prisma.EntitySnapshotUpdateWithWhereUniqueWithoutOperationInput[]
639
+ updateMany?: Prisma.EntitySnapshotUpdateManyWithWhereWithoutOperationInput | Prisma.EntitySnapshotUpdateManyWithWhereWithoutOperationInput[]
640
+ deleteMany?: Prisma.EntitySnapshotScalarWhereInput | Prisma.EntitySnapshotScalarWhereInput[]
641
+ }
642
+
643
+ export type EntitySnapshotCreateWithoutArtifactsInput = {
644
+ id?: string
645
+ referencedInOutputs:(string[])
646
+ exportedInOutputs:(string[])
647
+ createdAt?: Date | string
648
+ content: Prisma.EntitySnapshotContentCreateNestedOneWithoutSnapshotsInput
649
+ entity: Prisma.EntityCreateNestedOneWithoutSnapshotsInput
650
+ operation: Prisma.OperationCreateNestedOneWithoutEntitySnapshotsInput
651
+ state: Prisma.InstanceStateCreateNestedOneWithoutEntitySnapshotsInput
652
+ references?: Prisma.EntitySnapshotReferenceCreateNestedManyWithoutFromInput
653
+ referencedBy?: Prisma.EntitySnapshotReferenceCreateNestedManyWithoutToInput
654
+ }
655
+
656
+ export type EntitySnapshotUncheckedCreateWithoutArtifactsInput = {
657
+ id?: string
658
+ contentHash: string
659
+ entityId: string
660
+ operationId: string
661
+ stateId: string
662
+ referencedInOutputs:(string[])
663
+ exportedInOutputs:(string[])
664
+ createdAt?: Date | string
665
+ references?: Prisma.EntitySnapshotReferenceUncheckedCreateNestedManyWithoutFromInput
666
+ referencedBy?: Prisma.EntitySnapshotReferenceUncheckedCreateNestedManyWithoutToInput
667
+ }
668
+
669
+ export type EntitySnapshotCreateOrConnectWithoutArtifactsInput = {
670
+ where: Prisma.EntitySnapshotWhereUniqueInput
671
+ create: Prisma.XOR<Prisma.EntitySnapshotCreateWithoutArtifactsInput, Prisma.EntitySnapshotUncheckedCreateWithoutArtifactsInput>
672
+ }
673
+
674
+ export type EntitySnapshotUpsertWithWhereUniqueWithoutArtifactsInput = {
675
+ where: Prisma.EntitySnapshotWhereUniqueInput
676
+ update: Prisma.XOR<Prisma.EntitySnapshotUpdateWithoutArtifactsInput, Prisma.EntitySnapshotUncheckedUpdateWithoutArtifactsInput>
677
+ create: Prisma.XOR<Prisma.EntitySnapshotCreateWithoutArtifactsInput, Prisma.EntitySnapshotUncheckedCreateWithoutArtifactsInput>
678
+ }
679
+
680
+ export type EntitySnapshotUpdateWithWhereUniqueWithoutArtifactsInput = {
681
+ where: Prisma.EntitySnapshotWhereUniqueInput
682
+ data: Prisma.XOR<Prisma.EntitySnapshotUpdateWithoutArtifactsInput, Prisma.EntitySnapshotUncheckedUpdateWithoutArtifactsInput>
683
+ }
684
+
685
+ export type EntitySnapshotUpdateManyWithWhereWithoutArtifactsInput = {
686
+ where: Prisma.EntitySnapshotScalarWhereInput
687
+ data: Prisma.XOR<Prisma.EntitySnapshotUpdateManyMutationInput, Prisma.EntitySnapshotUncheckedUpdateManyWithoutArtifactsInput>
688
+ }
689
+
690
+ export type EntitySnapshotScalarWhereInput = {
691
+ AND?: Prisma.EntitySnapshotScalarWhereInput | Prisma.EntitySnapshotScalarWhereInput[]
692
+ OR?: Prisma.EntitySnapshotScalarWhereInput[]
693
+ NOT?: Prisma.EntitySnapshotScalarWhereInput | Prisma.EntitySnapshotScalarWhereInput[]
694
+ id?: Prisma.StringFilter<"EntitySnapshot"> | string
695
+ contentHash?: Prisma.StringFilter<"EntitySnapshot"> | string
696
+ entityId?: Prisma.StringFilter<"EntitySnapshot"> | string
697
+ operationId?: Prisma.StringFilter<"EntitySnapshot"> | string
698
+ stateId?: Prisma.StringFilter<"EntitySnapshot"> | string
699
+ referencedInOutputs?: Prisma.JsonFilter<"EntitySnapshot">
700
+ exportedInOutputs?: Prisma.JsonFilter<"EntitySnapshot">
701
+ createdAt?: Prisma.DateTimeFilter<"EntitySnapshot"> | Date | string
702
+ }
703
+
704
+ export type EntitySnapshotCreateWithoutEntityInput = {
705
+ id?: string
706
+ referencedInOutputs:(string[])
707
+ exportedInOutputs:(string[])
708
+ createdAt?: Date | string
709
+ content: Prisma.EntitySnapshotContentCreateNestedOneWithoutSnapshotsInput
710
+ operation: Prisma.OperationCreateNestedOneWithoutEntitySnapshotsInput
711
+ state: Prisma.InstanceStateCreateNestedOneWithoutEntitySnapshotsInput
712
+ references?: Prisma.EntitySnapshotReferenceCreateNestedManyWithoutFromInput
713
+ referencedBy?: Prisma.EntitySnapshotReferenceCreateNestedManyWithoutToInput
714
+ artifacts?: Prisma.ArtifactCreateNestedManyWithoutEntitySnapshotsInput
715
+ }
716
+
717
+ export type EntitySnapshotUncheckedCreateWithoutEntityInput = {
718
+ id?: string
719
+ contentHash: string
720
+ operationId: string
721
+ stateId: string
722
+ referencedInOutputs:(string[])
723
+ exportedInOutputs:(string[])
724
+ createdAt?: Date | string
725
+ references?: Prisma.EntitySnapshotReferenceUncheckedCreateNestedManyWithoutFromInput
726
+ referencedBy?: Prisma.EntitySnapshotReferenceUncheckedCreateNestedManyWithoutToInput
727
+ artifacts?: Prisma.ArtifactUncheckedCreateNestedManyWithoutEntitySnapshotsInput
728
+ }
729
+
730
+ export type EntitySnapshotCreateOrConnectWithoutEntityInput = {
731
+ where: Prisma.EntitySnapshotWhereUniqueInput
732
+ create: Prisma.XOR<Prisma.EntitySnapshotCreateWithoutEntityInput, Prisma.EntitySnapshotUncheckedCreateWithoutEntityInput>
733
+ }
734
+
735
+ export type EntitySnapshotCreateManyEntityInputEnvelope = {
736
+ data: Prisma.EntitySnapshotCreateManyEntityInput | Prisma.EntitySnapshotCreateManyEntityInput[]
737
+ }
738
+
739
+ export type EntitySnapshotUpsertWithWhereUniqueWithoutEntityInput = {
740
+ where: Prisma.EntitySnapshotWhereUniqueInput
741
+ update: Prisma.XOR<Prisma.EntitySnapshotUpdateWithoutEntityInput, Prisma.EntitySnapshotUncheckedUpdateWithoutEntityInput>
742
+ create: Prisma.XOR<Prisma.EntitySnapshotCreateWithoutEntityInput, Prisma.EntitySnapshotUncheckedCreateWithoutEntityInput>
743
+ }
744
+
745
+ export type EntitySnapshotUpdateWithWhereUniqueWithoutEntityInput = {
746
+ where: Prisma.EntitySnapshotWhereUniqueInput
747
+ data: Prisma.XOR<Prisma.EntitySnapshotUpdateWithoutEntityInput, Prisma.EntitySnapshotUncheckedUpdateWithoutEntityInput>
748
+ }
749
+
750
+ export type EntitySnapshotUpdateManyWithWhereWithoutEntityInput = {
751
+ where: Prisma.EntitySnapshotScalarWhereInput
752
+ data: Prisma.XOR<Prisma.EntitySnapshotUpdateManyMutationInput, Prisma.EntitySnapshotUncheckedUpdateManyWithoutEntityInput>
753
+ }
754
+
755
+ export type EntitySnapshotCreateWithoutReferencesInput = {
756
+ id?: string
757
+ referencedInOutputs:(string[])
758
+ exportedInOutputs:(string[])
759
+ createdAt?: Date | string
760
+ content: Prisma.EntitySnapshotContentCreateNestedOneWithoutSnapshotsInput
761
+ entity: Prisma.EntityCreateNestedOneWithoutSnapshotsInput
762
+ operation: Prisma.OperationCreateNestedOneWithoutEntitySnapshotsInput
763
+ state: Prisma.InstanceStateCreateNestedOneWithoutEntitySnapshotsInput
764
+ referencedBy?: Prisma.EntitySnapshotReferenceCreateNestedManyWithoutToInput
765
+ artifacts?: Prisma.ArtifactCreateNestedManyWithoutEntitySnapshotsInput
766
+ }
767
+
768
+ export type EntitySnapshotUncheckedCreateWithoutReferencesInput = {
769
+ id?: string
770
+ contentHash: string
771
+ entityId: string
772
+ operationId: string
773
+ stateId: string
774
+ referencedInOutputs:(string[])
775
+ exportedInOutputs:(string[])
776
+ createdAt?: Date | string
777
+ referencedBy?: Prisma.EntitySnapshotReferenceUncheckedCreateNestedManyWithoutToInput
778
+ artifacts?: Prisma.ArtifactUncheckedCreateNestedManyWithoutEntitySnapshotsInput
779
+ }
780
+
781
+ export type EntitySnapshotCreateOrConnectWithoutReferencesInput = {
782
+ where: Prisma.EntitySnapshotWhereUniqueInput
783
+ create: Prisma.XOR<Prisma.EntitySnapshotCreateWithoutReferencesInput, Prisma.EntitySnapshotUncheckedCreateWithoutReferencesInput>
784
+ }
785
+
786
+ export type EntitySnapshotCreateWithoutReferencedByInput = {
787
+ id?: string
788
+ referencedInOutputs:(string[])
789
+ exportedInOutputs:(string[])
790
+ createdAt?: Date | string
791
+ content: Prisma.EntitySnapshotContentCreateNestedOneWithoutSnapshotsInput
792
+ entity: Prisma.EntityCreateNestedOneWithoutSnapshotsInput
793
+ operation: Prisma.OperationCreateNestedOneWithoutEntitySnapshotsInput
794
+ state: Prisma.InstanceStateCreateNestedOneWithoutEntitySnapshotsInput
795
+ references?: Prisma.EntitySnapshotReferenceCreateNestedManyWithoutFromInput
796
+ artifacts?: Prisma.ArtifactCreateNestedManyWithoutEntitySnapshotsInput
797
+ }
798
+
799
+ export type EntitySnapshotUncheckedCreateWithoutReferencedByInput = {
800
+ id?: string
801
+ contentHash: string
802
+ entityId: string
803
+ operationId: string
804
+ stateId: string
805
+ referencedInOutputs:(string[])
806
+ exportedInOutputs:(string[])
807
+ createdAt?: Date | string
808
+ references?: Prisma.EntitySnapshotReferenceUncheckedCreateNestedManyWithoutFromInput
809
+ artifacts?: Prisma.ArtifactUncheckedCreateNestedManyWithoutEntitySnapshotsInput
810
+ }
811
+
812
+ export type EntitySnapshotCreateOrConnectWithoutReferencedByInput = {
813
+ where: Prisma.EntitySnapshotWhereUniqueInput
814
+ create: Prisma.XOR<Prisma.EntitySnapshotCreateWithoutReferencedByInput, Prisma.EntitySnapshotUncheckedCreateWithoutReferencedByInput>
815
+ }
816
+
817
+ export type EntitySnapshotUpsertWithoutReferencesInput = {
818
+ update: Prisma.XOR<Prisma.EntitySnapshotUpdateWithoutReferencesInput, Prisma.EntitySnapshotUncheckedUpdateWithoutReferencesInput>
819
+ create: Prisma.XOR<Prisma.EntitySnapshotCreateWithoutReferencesInput, Prisma.EntitySnapshotUncheckedCreateWithoutReferencesInput>
820
+ where?: Prisma.EntitySnapshotWhereInput
821
+ }
822
+
823
+ export type EntitySnapshotUpdateToOneWithWhereWithoutReferencesInput = {
824
+ where?: Prisma.EntitySnapshotWhereInput
825
+ data: Prisma.XOR<Prisma.EntitySnapshotUpdateWithoutReferencesInput, Prisma.EntitySnapshotUncheckedUpdateWithoutReferencesInput>
826
+ }
827
+
828
+ export type EntitySnapshotUpdateWithoutReferencesInput = {
829
+ id?: Prisma.StringFieldUpdateOperationsInput | string
830
+ referencedInOutputs?:(string[])
831
+ exportedInOutputs?:(string[])
832
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
833
+ content?: Prisma.EntitySnapshotContentUpdateOneRequiredWithoutSnapshotsNestedInput
834
+ entity?: Prisma.EntityUpdateOneRequiredWithoutSnapshotsNestedInput
835
+ operation?: Prisma.OperationUpdateOneRequiredWithoutEntitySnapshotsNestedInput
836
+ state?: Prisma.InstanceStateUpdateOneRequiredWithoutEntitySnapshotsNestedInput
837
+ referencedBy?: Prisma.EntitySnapshotReferenceUpdateManyWithoutToNestedInput
838
+ artifacts?: Prisma.ArtifactUpdateManyWithoutEntitySnapshotsNestedInput
839
+ }
840
+
841
+ export type EntitySnapshotUncheckedUpdateWithoutReferencesInput = {
842
+ id?: Prisma.StringFieldUpdateOperationsInput | string
843
+ contentHash?: Prisma.StringFieldUpdateOperationsInput | string
844
+ entityId?: Prisma.StringFieldUpdateOperationsInput | string
845
+ operationId?: Prisma.StringFieldUpdateOperationsInput | string
846
+ stateId?: Prisma.StringFieldUpdateOperationsInput | string
847
+ referencedInOutputs?:(string[])
848
+ exportedInOutputs?:(string[])
849
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
850
+ referencedBy?: Prisma.EntitySnapshotReferenceUncheckedUpdateManyWithoutToNestedInput
851
+ artifacts?: Prisma.ArtifactUncheckedUpdateManyWithoutEntitySnapshotsNestedInput
852
+ }
853
+
854
+ export type EntitySnapshotUpsertWithoutReferencedByInput = {
855
+ update: Prisma.XOR<Prisma.EntitySnapshotUpdateWithoutReferencedByInput, Prisma.EntitySnapshotUncheckedUpdateWithoutReferencedByInput>
856
+ create: Prisma.XOR<Prisma.EntitySnapshotCreateWithoutReferencedByInput, Prisma.EntitySnapshotUncheckedCreateWithoutReferencedByInput>
857
+ where?: Prisma.EntitySnapshotWhereInput
858
+ }
859
+
860
+ export type EntitySnapshotUpdateToOneWithWhereWithoutReferencedByInput = {
861
+ where?: Prisma.EntitySnapshotWhereInput
862
+ data: Prisma.XOR<Prisma.EntitySnapshotUpdateWithoutReferencedByInput, Prisma.EntitySnapshotUncheckedUpdateWithoutReferencedByInput>
863
+ }
864
+
865
+ export type EntitySnapshotUpdateWithoutReferencedByInput = {
866
+ id?: Prisma.StringFieldUpdateOperationsInput | string
867
+ referencedInOutputs?:(string[])
868
+ exportedInOutputs?:(string[])
869
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
870
+ content?: Prisma.EntitySnapshotContentUpdateOneRequiredWithoutSnapshotsNestedInput
871
+ entity?: Prisma.EntityUpdateOneRequiredWithoutSnapshotsNestedInput
872
+ operation?: Prisma.OperationUpdateOneRequiredWithoutEntitySnapshotsNestedInput
873
+ state?: Prisma.InstanceStateUpdateOneRequiredWithoutEntitySnapshotsNestedInput
874
+ references?: Prisma.EntitySnapshotReferenceUpdateManyWithoutFromNestedInput
875
+ artifacts?: Prisma.ArtifactUpdateManyWithoutEntitySnapshotsNestedInput
876
+ }
877
+
878
+ export type EntitySnapshotUncheckedUpdateWithoutReferencedByInput = {
879
+ id?: Prisma.StringFieldUpdateOperationsInput | string
880
+ contentHash?: Prisma.StringFieldUpdateOperationsInput | string
881
+ entityId?: Prisma.StringFieldUpdateOperationsInput | string
882
+ operationId?: Prisma.StringFieldUpdateOperationsInput | string
883
+ stateId?: Prisma.StringFieldUpdateOperationsInput | string
884
+ referencedInOutputs?:(string[])
885
+ exportedInOutputs?:(string[])
886
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
887
+ references?: Prisma.EntitySnapshotReferenceUncheckedUpdateManyWithoutFromNestedInput
888
+ artifacts?: Prisma.ArtifactUncheckedUpdateManyWithoutEntitySnapshotsNestedInput
889
+ }
890
+
891
+ export type EntitySnapshotCreateWithoutContentInput = {
892
+ id?: string
893
+ referencedInOutputs:(string[])
894
+ exportedInOutputs:(string[])
895
+ createdAt?: Date | string
896
+ entity: Prisma.EntityCreateNestedOneWithoutSnapshotsInput
897
+ operation: Prisma.OperationCreateNestedOneWithoutEntitySnapshotsInput
898
+ state: Prisma.InstanceStateCreateNestedOneWithoutEntitySnapshotsInput
899
+ references?: Prisma.EntitySnapshotReferenceCreateNestedManyWithoutFromInput
900
+ referencedBy?: Prisma.EntitySnapshotReferenceCreateNestedManyWithoutToInput
901
+ artifacts?: Prisma.ArtifactCreateNestedManyWithoutEntitySnapshotsInput
902
+ }
903
+
904
+ export type EntitySnapshotUncheckedCreateWithoutContentInput = {
905
+ id?: string
906
+ entityId: string
907
+ operationId: string
908
+ stateId: string
909
+ referencedInOutputs:(string[])
910
+ exportedInOutputs:(string[])
911
+ createdAt?: Date | string
912
+ references?: Prisma.EntitySnapshotReferenceUncheckedCreateNestedManyWithoutFromInput
913
+ referencedBy?: Prisma.EntitySnapshotReferenceUncheckedCreateNestedManyWithoutToInput
914
+ artifacts?: Prisma.ArtifactUncheckedCreateNestedManyWithoutEntitySnapshotsInput
915
+ }
916
+
917
+ export type EntitySnapshotCreateOrConnectWithoutContentInput = {
918
+ where: Prisma.EntitySnapshotWhereUniqueInput
919
+ create: Prisma.XOR<Prisma.EntitySnapshotCreateWithoutContentInput, Prisma.EntitySnapshotUncheckedCreateWithoutContentInput>
920
+ }
921
+
922
+ export type EntitySnapshotCreateManyContentInputEnvelope = {
923
+ data: Prisma.EntitySnapshotCreateManyContentInput | Prisma.EntitySnapshotCreateManyContentInput[]
924
+ }
925
+
926
+ export type EntitySnapshotUpsertWithWhereUniqueWithoutContentInput = {
927
+ where: Prisma.EntitySnapshotWhereUniqueInput
928
+ update: Prisma.XOR<Prisma.EntitySnapshotUpdateWithoutContentInput, Prisma.EntitySnapshotUncheckedUpdateWithoutContentInput>
929
+ create: Prisma.XOR<Prisma.EntitySnapshotCreateWithoutContentInput, Prisma.EntitySnapshotUncheckedCreateWithoutContentInput>
930
+ }
931
+
932
+ export type EntitySnapshotUpdateWithWhereUniqueWithoutContentInput = {
933
+ where: Prisma.EntitySnapshotWhereUniqueInput
934
+ data: Prisma.XOR<Prisma.EntitySnapshotUpdateWithoutContentInput, Prisma.EntitySnapshotUncheckedUpdateWithoutContentInput>
935
+ }
936
+
937
+ export type EntitySnapshotUpdateManyWithWhereWithoutContentInput = {
938
+ where: Prisma.EntitySnapshotScalarWhereInput
939
+ data: Prisma.XOR<Prisma.EntitySnapshotUpdateManyMutationInput, Prisma.EntitySnapshotUncheckedUpdateManyWithoutContentInput>
940
+ }
941
+
942
+ export type EntitySnapshotCreateWithoutStateInput = {
943
+ id?: string
944
+ referencedInOutputs:(string[])
945
+ exportedInOutputs:(string[])
946
+ createdAt?: Date | string
947
+ content: Prisma.EntitySnapshotContentCreateNestedOneWithoutSnapshotsInput
948
+ entity: Prisma.EntityCreateNestedOneWithoutSnapshotsInput
949
+ operation: Prisma.OperationCreateNestedOneWithoutEntitySnapshotsInput
950
+ references?: Prisma.EntitySnapshotReferenceCreateNestedManyWithoutFromInput
951
+ referencedBy?: Prisma.EntitySnapshotReferenceCreateNestedManyWithoutToInput
952
+ artifacts?: Prisma.ArtifactCreateNestedManyWithoutEntitySnapshotsInput
953
+ }
954
+
955
+ export type EntitySnapshotUncheckedCreateWithoutStateInput = {
956
+ id?: string
957
+ contentHash: string
958
+ entityId: string
959
+ operationId: string
960
+ referencedInOutputs:(string[])
961
+ exportedInOutputs:(string[])
962
+ createdAt?: Date | string
963
+ references?: Prisma.EntitySnapshotReferenceUncheckedCreateNestedManyWithoutFromInput
964
+ referencedBy?: Prisma.EntitySnapshotReferenceUncheckedCreateNestedManyWithoutToInput
965
+ artifacts?: Prisma.ArtifactUncheckedCreateNestedManyWithoutEntitySnapshotsInput
966
+ }
967
+
968
+ export type EntitySnapshotCreateOrConnectWithoutStateInput = {
969
+ where: Prisma.EntitySnapshotWhereUniqueInput
970
+ create: Prisma.XOR<Prisma.EntitySnapshotCreateWithoutStateInput, Prisma.EntitySnapshotUncheckedCreateWithoutStateInput>
971
+ }
972
+
973
+ export type EntitySnapshotCreateManyStateInputEnvelope = {
974
+ data: Prisma.EntitySnapshotCreateManyStateInput | Prisma.EntitySnapshotCreateManyStateInput[]
975
+ }
976
+
977
+ export type EntitySnapshotUpsertWithWhereUniqueWithoutStateInput = {
978
+ where: Prisma.EntitySnapshotWhereUniqueInput
979
+ update: Prisma.XOR<Prisma.EntitySnapshotUpdateWithoutStateInput, Prisma.EntitySnapshotUncheckedUpdateWithoutStateInput>
980
+ create: Prisma.XOR<Prisma.EntitySnapshotCreateWithoutStateInput, Prisma.EntitySnapshotUncheckedCreateWithoutStateInput>
981
+ }
982
+
983
+ export type EntitySnapshotUpdateWithWhereUniqueWithoutStateInput = {
984
+ where: Prisma.EntitySnapshotWhereUniqueInput
985
+ data: Prisma.XOR<Prisma.EntitySnapshotUpdateWithoutStateInput, Prisma.EntitySnapshotUncheckedUpdateWithoutStateInput>
986
+ }
987
+
988
+ export type EntitySnapshotUpdateManyWithWhereWithoutStateInput = {
989
+ where: Prisma.EntitySnapshotScalarWhereInput
990
+ data: Prisma.XOR<Prisma.EntitySnapshotUpdateManyMutationInput, Prisma.EntitySnapshotUncheckedUpdateManyWithoutStateInput>
991
+ }
992
+
993
+ export type EntitySnapshotCreateWithoutOperationInput = {
994
+ id?: string
995
+ referencedInOutputs:(string[])
996
+ exportedInOutputs:(string[])
997
+ createdAt?: Date | string
998
+ content: Prisma.EntitySnapshotContentCreateNestedOneWithoutSnapshotsInput
999
+ entity: Prisma.EntityCreateNestedOneWithoutSnapshotsInput
1000
+ state: Prisma.InstanceStateCreateNestedOneWithoutEntitySnapshotsInput
1001
+ references?: Prisma.EntitySnapshotReferenceCreateNestedManyWithoutFromInput
1002
+ referencedBy?: Prisma.EntitySnapshotReferenceCreateNestedManyWithoutToInput
1003
+ artifacts?: Prisma.ArtifactCreateNestedManyWithoutEntitySnapshotsInput
1004
+ }
1005
+
1006
+ export type EntitySnapshotUncheckedCreateWithoutOperationInput = {
1007
+ id?: string
1008
+ contentHash: string
1009
+ entityId: string
1010
+ stateId: string
1011
+ referencedInOutputs:(string[])
1012
+ exportedInOutputs:(string[])
1013
+ createdAt?: Date | string
1014
+ references?: Prisma.EntitySnapshotReferenceUncheckedCreateNestedManyWithoutFromInput
1015
+ referencedBy?: Prisma.EntitySnapshotReferenceUncheckedCreateNestedManyWithoutToInput
1016
+ artifacts?: Prisma.ArtifactUncheckedCreateNestedManyWithoutEntitySnapshotsInput
1017
+ }
1018
+
1019
+ export type EntitySnapshotCreateOrConnectWithoutOperationInput = {
1020
+ where: Prisma.EntitySnapshotWhereUniqueInput
1021
+ create: Prisma.XOR<Prisma.EntitySnapshotCreateWithoutOperationInput, Prisma.EntitySnapshotUncheckedCreateWithoutOperationInput>
1022
+ }
1023
+
1024
+ export type EntitySnapshotCreateManyOperationInputEnvelope = {
1025
+ data: Prisma.EntitySnapshotCreateManyOperationInput | Prisma.EntitySnapshotCreateManyOperationInput[]
1026
+ }
1027
+
1028
+ export type EntitySnapshotUpsertWithWhereUniqueWithoutOperationInput = {
1029
+ where: Prisma.EntitySnapshotWhereUniqueInput
1030
+ update: Prisma.XOR<Prisma.EntitySnapshotUpdateWithoutOperationInput, Prisma.EntitySnapshotUncheckedUpdateWithoutOperationInput>
1031
+ create: Prisma.XOR<Prisma.EntitySnapshotCreateWithoutOperationInput, Prisma.EntitySnapshotUncheckedCreateWithoutOperationInput>
1032
+ }
1033
+
1034
+ export type EntitySnapshotUpdateWithWhereUniqueWithoutOperationInput = {
1035
+ where: Prisma.EntitySnapshotWhereUniqueInput
1036
+ data: Prisma.XOR<Prisma.EntitySnapshotUpdateWithoutOperationInput, Prisma.EntitySnapshotUncheckedUpdateWithoutOperationInput>
1037
+ }
1038
+
1039
+ export type EntitySnapshotUpdateManyWithWhereWithoutOperationInput = {
1040
+ where: Prisma.EntitySnapshotScalarWhereInput
1041
+ data: Prisma.XOR<Prisma.EntitySnapshotUpdateManyMutationInput, Prisma.EntitySnapshotUncheckedUpdateManyWithoutOperationInput>
1042
+ }
1043
+
1044
+ export type EntitySnapshotUpdateWithoutArtifactsInput = {
1045
+ id?: Prisma.StringFieldUpdateOperationsInput | string
1046
+ referencedInOutputs?:(string[])
1047
+ exportedInOutputs?:(string[])
1048
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1049
+ content?: Prisma.EntitySnapshotContentUpdateOneRequiredWithoutSnapshotsNestedInput
1050
+ entity?: Prisma.EntityUpdateOneRequiredWithoutSnapshotsNestedInput
1051
+ operation?: Prisma.OperationUpdateOneRequiredWithoutEntitySnapshotsNestedInput
1052
+ state?: Prisma.InstanceStateUpdateOneRequiredWithoutEntitySnapshotsNestedInput
1053
+ references?: Prisma.EntitySnapshotReferenceUpdateManyWithoutFromNestedInput
1054
+ referencedBy?: Prisma.EntitySnapshotReferenceUpdateManyWithoutToNestedInput
1055
+ }
1056
+
1057
+ export type EntitySnapshotUncheckedUpdateWithoutArtifactsInput = {
1058
+ id?: Prisma.StringFieldUpdateOperationsInput | string
1059
+ contentHash?: Prisma.StringFieldUpdateOperationsInput | string
1060
+ entityId?: Prisma.StringFieldUpdateOperationsInput | string
1061
+ operationId?: Prisma.StringFieldUpdateOperationsInput | string
1062
+ stateId?: Prisma.StringFieldUpdateOperationsInput | string
1063
+ referencedInOutputs?:(string[])
1064
+ exportedInOutputs?:(string[])
1065
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1066
+ references?: Prisma.EntitySnapshotReferenceUncheckedUpdateManyWithoutFromNestedInput
1067
+ referencedBy?: Prisma.EntitySnapshotReferenceUncheckedUpdateManyWithoutToNestedInput
1068
+ }
1069
+
1070
+ export type EntitySnapshotUncheckedUpdateManyWithoutArtifactsInput = {
1071
+ id?: Prisma.StringFieldUpdateOperationsInput | string
1072
+ contentHash?: Prisma.StringFieldUpdateOperationsInput | string
1073
+ entityId?: Prisma.StringFieldUpdateOperationsInput | string
1074
+ operationId?: Prisma.StringFieldUpdateOperationsInput | string
1075
+ stateId?: Prisma.StringFieldUpdateOperationsInput | string
1076
+ referencedInOutputs?:(string[])
1077
+ exportedInOutputs?:(string[])
1078
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1079
+ }
1080
+
1081
+ export type EntitySnapshotCreateManyEntityInput = {
1082
+ id?: string
1083
+ contentHash: string
1084
+ operationId: string
1085
+ stateId: string
1086
+ referencedInOutputs:(string[])
1087
+ exportedInOutputs:(string[])
1088
+ createdAt?: Date | string
1089
+ }
1090
+
1091
+ export type EntitySnapshotUpdateWithoutEntityInput = {
1092
+ id?: Prisma.StringFieldUpdateOperationsInput | string
1093
+ referencedInOutputs?:(string[])
1094
+ exportedInOutputs?:(string[])
1095
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1096
+ content?: Prisma.EntitySnapshotContentUpdateOneRequiredWithoutSnapshotsNestedInput
1097
+ operation?: Prisma.OperationUpdateOneRequiredWithoutEntitySnapshotsNestedInput
1098
+ state?: Prisma.InstanceStateUpdateOneRequiredWithoutEntitySnapshotsNestedInput
1099
+ references?: Prisma.EntitySnapshotReferenceUpdateManyWithoutFromNestedInput
1100
+ referencedBy?: Prisma.EntitySnapshotReferenceUpdateManyWithoutToNestedInput
1101
+ artifacts?: Prisma.ArtifactUpdateManyWithoutEntitySnapshotsNestedInput
1102
+ }
1103
+
1104
+ export type EntitySnapshotUncheckedUpdateWithoutEntityInput = {
1105
+ id?: Prisma.StringFieldUpdateOperationsInput | string
1106
+ contentHash?: Prisma.StringFieldUpdateOperationsInput | string
1107
+ operationId?: Prisma.StringFieldUpdateOperationsInput | string
1108
+ stateId?: Prisma.StringFieldUpdateOperationsInput | string
1109
+ referencedInOutputs?:(string[])
1110
+ exportedInOutputs?:(string[])
1111
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1112
+ references?: Prisma.EntitySnapshotReferenceUncheckedUpdateManyWithoutFromNestedInput
1113
+ referencedBy?: Prisma.EntitySnapshotReferenceUncheckedUpdateManyWithoutToNestedInput
1114
+ artifacts?: Prisma.ArtifactUncheckedUpdateManyWithoutEntitySnapshotsNestedInput
1115
+ }
1116
+
1117
+ export type EntitySnapshotUncheckedUpdateManyWithoutEntityInput = {
1118
+ id?: Prisma.StringFieldUpdateOperationsInput | string
1119
+ contentHash?: Prisma.StringFieldUpdateOperationsInput | string
1120
+ operationId?: Prisma.StringFieldUpdateOperationsInput | string
1121
+ stateId?: Prisma.StringFieldUpdateOperationsInput | string
1122
+ referencedInOutputs?:(string[])
1123
+ exportedInOutputs?:(string[])
1124
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1125
+ }
1126
+
1127
+ export type EntitySnapshotCreateManyContentInput = {
1128
+ id?: string
1129
+ entityId: string
1130
+ operationId: string
1131
+ stateId: string
1132
+ referencedInOutputs:(string[])
1133
+ exportedInOutputs:(string[])
1134
+ createdAt?: Date | string
1135
+ }
1136
+
1137
+ export type EntitySnapshotUpdateWithoutContentInput = {
1138
+ id?: Prisma.StringFieldUpdateOperationsInput | string
1139
+ referencedInOutputs?:(string[])
1140
+ exportedInOutputs?:(string[])
1141
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1142
+ entity?: Prisma.EntityUpdateOneRequiredWithoutSnapshotsNestedInput
1143
+ operation?: Prisma.OperationUpdateOneRequiredWithoutEntitySnapshotsNestedInput
1144
+ state?: Prisma.InstanceStateUpdateOneRequiredWithoutEntitySnapshotsNestedInput
1145
+ references?: Prisma.EntitySnapshotReferenceUpdateManyWithoutFromNestedInput
1146
+ referencedBy?: Prisma.EntitySnapshotReferenceUpdateManyWithoutToNestedInput
1147
+ artifacts?: Prisma.ArtifactUpdateManyWithoutEntitySnapshotsNestedInput
1148
+ }
1149
+
1150
+ export type EntitySnapshotUncheckedUpdateWithoutContentInput = {
1151
+ id?: Prisma.StringFieldUpdateOperationsInput | string
1152
+ entityId?: Prisma.StringFieldUpdateOperationsInput | string
1153
+ operationId?: Prisma.StringFieldUpdateOperationsInput | string
1154
+ stateId?: Prisma.StringFieldUpdateOperationsInput | string
1155
+ referencedInOutputs?:(string[])
1156
+ exportedInOutputs?:(string[])
1157
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1158
+ references?: Prisma.EntitySnapshotReferenceUncheckedUpdateManyWithoutFromNestedInput
1159
+ referencedBy?: Prisma.EntitySnapshotReferenceUncheckedUpdateManyWithoutToNestedInput
1160
+ artifacts?: Prisma.ArtifactUncheckedUpdateManyWithoutEntitySnapshotsNestedInput
1161
+ }
1162
+
1163
+ export type EntitySnapshotUncheckedUpdateManyWithoutContentInput = {
1164
+ id?: Prisma.StringFieldUpdateOperationsInput | string
1165
+ entityId?: Prisma.StringFieldUpdateOperationsInput | string
1166
+ operationId?: Prisma.StringFieldUpdateOperationsInput | string
1167
+ stateId?: Prisma.StringFieldUpdateOperationsInput | string
1168
+ referencedInOutputs?:(string[])
1169
+ exportedInOutputs?:(string[])
1170
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1171
+ }
1172
+
1173
+ export type EntitySnapshotCreateManyStateInput = {
1174
+ id?: string
1175
+ contentHash: string
1176
+ entityId: string
1177
+ operationId: string
1178
+ referencedInOutputs:(string[])
1179
+ exportedInOutputs:(string[])
1180
+ createdAt?: Date | string
1181
+ }
1182
+
1183
+ export type EntitySnapshotUpdateWithoutStateInput = {
1184
+ id?: Prisma.StringFieldUpdateOperationsInput | string
1185
+ referencedInOutputs?:(string[])
1186
+ exportedInOutputs?:(string[])
1187
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1188
+ content?: Prisma.EntitySnapshotContentUpdateOneRequiredWithoutSnapshotsNestedInput
1189
+ entity?: Prisma.EntityUpdateOneRequiredWithoutSnapshotsNestedInput
1190
+ operation?: Prisma.OperationUpdateOneRequiredWithoutEntitySnapshotsNestedInput
1191
+ references?: Prisma.EntitySnapshotReferenceUpdateManyWithoutFromNestedInput
1192
+ referencedBy?: Prisma.EntitySnapshotReferenceUpdateManyWithoutToNestedInput
1193
+ artifacts?: Prisma.ArtifactUpdateManyWithoutEntitySnapshotsNestedInput
1194
+ }
1195
+
1196
+ export type EntitySnapshotUncheckedUpdateWithoutStateInput = {
1197
+ id?: Prisma.StringFieldUpdateOperationsInput | string
1198
+ contentHash?: Prisma.StringFieldUpdateOperationsInput | string
1199
+ entityId?: Prisma.StringFieldUpdateOperationsInput | string
1200
+ operationId?: Prisma.StringFieldUpdateOperationsInput | string
1201
+ referencedInOutputs?:(string[])
1202
+ exportedInOutputs?:(string[])
1203
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1204
+ references?: Prisma.EntitySnapshotReferenceUncheckedUpdateManyWithoutFromNestedInput
1205
+ referencedBy?: Prisma.EntitySnapshotReferenceUncheckedUpdateManyWithoutToNestedInput
1206
+ artifacts?: Prisma.ArtifactUncheckedUpdateManyWithoutEntitySnapshotsNestedInput
1207
+ }
1208
+
1209
+ export type EntitySnapshotUncheckedUpdateManyWithoutStateInput = {
1210
+ id?: Prisma.StringFieldUpdateOperationsInput | string
1211
+ contentHash?: Prisma.StringFieldUpdateOperationsInput | string
1212
+ entityId?: Prisma.StringFieldUpdateOperationsInput | string
1213
+ operationId?: Prisma.StringFieldUpdateOperationsInput | string
1214
+ referencedInOutputs?:(string[])
1215
+ exportedInOutputs?:(string[])
1216
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1217
+ }
1218
+
1219
+ export type EntitySnapshotCreateManyOperationInput = {
1220
+ id?: string
1221
+ contentHash: string
1222
+ entityId: string
1223
+ stateId: string
1224
+ referencedInOutputs:(string[])
1225
+ exportedInOutputs:(string[])
1226
+ createdAt?: Date | string
1227
+ }
1228
+
1229
+ export type EntitySnapshotUpdateWithoutOperationInput = {
1230
+ id?: Prisma.StringFieldUpdateOperationsInput | string
1231
+ referencedInOutputs?:(string[])
1232
+ exportedInOutputs?:(string[])
1233
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1234
+ content?: Prisma.EntitySnapshotContentUpdateOneRequiredWithoutSnapshotsNestedInput
1235
+ entity?: Prisma.EntityUpdateOneRequiredWithoutSnapshotsNestedInput
1236
+ state?: Prisma.InstanceStateUpdateOneRequiredWithoutEntitySnapshotsNestedInput
1237
+ references?: Prisma.EntitySnapshotReferenceUpdateManyWithoutFromNestedInput
1238
+ referencedBy?: Prisma.EntitySnapshotReferenceUpdateManyWithoutToNestedInput
1239
+ artifacts?: Prisma.ArtifactUpdateManyWithoutEntitySnapshotsNestedInput
1240
+ }
1241
+
1242
+ export type EntitySnapshotUncheckedUpdateWithoutOperationInput = {
1243
+ id?: Prisma.StringFieldUpdateOperationsInput | string
1244
+ contentHash?: Prisma.StringFieldUpdateOperationsInput | string
1245
+ entityId?: Prisma.StringFieldUpdateOperationsInput | string
1246
+ stateId?: Prisma.StringFieldUpdateOperationsInput | string
1247
+ referencedInOutputs?:(string[])
1248
+ exportedInOutputs?:(string[])
1249
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1250
+ references?: Prisma.EntitySnapshotReferenceUncheckedUpdateManyWithoutFromNestedInput
1251
+ referencedBy?: Prisma.EntitySnapshotReferenceUncheckedUpdateManyWithoutToNestedInput
1252
+ artifacts?: Prisma.ArtifactUncheckedUpdateManyWithoutEntitySnapshotsNestedInput
1253
+ }
1254
+
1255
+ export type EntitySnapshotUncheckedUpdateManyWithoutOperationInput = {
1256
+ id?: Prisma.StringFieldUpdateOperationsInput | string
1257
+ contentHash?: Prisma.StringFieldUpdateOperationsInput | string
1258
+ entityId?: Prisma.StringFieldUpdateOperationsInput | string
1259
+ stateId?: Prisma.StringFieldUpdateOperationsInput | string
1260
+ referencedInOutputs?:(string[])
1261
+ exportedInOutputs?:(string[])
1262
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1263
+ }
1264
+
1265
+
1266
+ /**
1267
+ * Count Type EntitySnapshotCountOutputType
1268
+ */
1269
+
1270
+ export type EntitySnapshotCountOutputType = {
1271
+ references: number
1272
+ referencedBy: number
1273
+ artifacts: number
1274
+ }
1275
+
1276
+ export type EntitySnapshotCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1277
+ references?: boolean | EntitySnapshotCountOutputTypeCountReferencesArgs
1278
+ referencedBy?: boolean | EntitySnapshotCountOutputTypeCountReferencedByArgs
1279
+ artifacts?: boolean | EntitySnapshotCountOutputTypeCountArtifactsArgs
1280
+ }
1281
+
1282
+ /**
1283
+ * EntitySnapshotCountOutputType without action
1284
+ */
1285
+ export type EntitySnapshotCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1286
+ /**
1287
+ * Select specific fields to fetch from the EntitySnapshotCountOutputType
1288
+ */
1289
+ select?: Prisma.EntitySnapshotCountOutputTypeSelect<ExtArgs> | null
1290
+ }
1291
+
1292
+ /**
1293
+ * EntitySnapshotCountOutputType without action
1294
+ */
1295
+ export type EntitySnapshotCountOutputTypeCountReferencesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1296
+ where?: Prisma.EntitySnapshotReferenceWhereInput
1297
+ }
1298
+
1299
+ /**
1300
+ * EntitySnapshotCountOutputType without action
1301
+ */
1302
+ export type EntitySnapshotCountOutputTypeCountReferencedByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1303
+ where?: Prisma.EntitySnapshotReferenceWhereInput
1304
+ }
1305
+
1306
+ /**
1307
+ * EntitySnapshotCountOutputType without action
1308
+ */
1309
+ export type EntitySnapshotCountOutputTypeCountArtifactsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1310
+ where?: Prisma.ArtifactWhereInput
1311
+ }
1312
+
1313
+
1314
+ export type EntitySnapshotSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
1315
+ id?: boolean
1316
+ contentHash?: boolean
1317
+ entityId?: boolean
1318
+ operationId?: boolean
1319
+ stateId?: boolean
1320
+ referencedInOutputs?: boolean
1321
+ exportedInOutputs?: boolean
1322
+ createdAt?: boolean
1323
+ content?: boolean | Prisma.EntitySnapshotContentDefaultArgs<ExtArgs>
1324
+ entity?: boolean | Prisma.EntityDefaultArgs<ExtArgs>
1325
+ operation?: boolean | Prisma.OperationDefaultArgs<ExtArgs>
1326
+ state?: boolean | Prisma.InstanceStateDefaultArgs<ExtArgs>
1327
+ references?: boolean | Prisma.EntitySnapshot$referencesArgs<ExtArgs>
1328
+ referencedBy?: boolean | Prisma.EntitySnapshot$referencedByArgs<ExtArgs>
1329
+ artifacts?: boolean | Prisma.EntitySnapshot$artifactsArgs<ExtArgs>
1330
+ _count?: boolean | Prisma.EntitySnapshotCountOutputTypeDefaultArgs<ExtArgs>
1331
+ }, ExtArgs["result"]["entitySnapshot"]>
1332
+
1333
+ export type EntitySnapshotSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
1334
+ id?: boolean
1335
+ contentHash?: boolean
1336
+ entityId?: boolean
1337
+ operationId?: boolean
1338
+ stateId?: boolean
1339
+ referencedInOutputs?: boolean
1340
+ exportedInOutputs?: boolean
1341
+ createdAt?: boolean
1342
+ content?: boolean | Prisma.EntitySnapshotContentDefaultArgs<ExtArgs>
1343
+ entity?: boolean | Prisma.EntityDefaultArgs<ExtArgs>
1344
+ operation?: boolean | Prisma.OperationDefaultArgs<ExtArgs>
1345
+ state?: boolean | Prisma.InstanceStateDefaultArgs<ExtArgs>
1346
+ }, ExtArgs["result"]["entitySnapshot"]>
1347
+
1348
+ export type EntitySnapshotSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
1349
+ id?: boolean
1350
+ contentHash?: boolean
1351
+ entityId?: boolean
1352
+ operationId?: boolean
1353
+ stateId?: boolean
1354
+ referencedInOutputs?: boolean
1355
+ exportedInOutputs?: boolean
1356
+ createdAt?: boolean
1357
+ content?: boolean | Prisma.EntitySnapshotContentDefaultArgs<ExtArgs>
1358
+ entity?: boolean | Prisma.EntityDefaultArgs<ExtArgs>
1359
+ operation?: boolean | Prisma.OperationDefaultArgs<ExtArgs>
1360
+ state?: boolean | Prisma.InstanceStateDefaultArgs<ExtArgs>
1361
+ }, ExtArgs["result"]["entitySnapshot"]>
1362
+
1363
+ export type EntitySnapshotSelectScalar = {
1364
+ id?: boolean
1365
+ contentHash?: boolean
1366
+ entityId?: boolean
1367
+ operationId?: boolean
1368
+ stateId?: boolean
1369
+ referencedInOutputs?: boolean
1370
+ exportedInOutputs?: boolean
1371
+ createdAt?: boolean
1372
+ }
1373
+
1374
+ export type EntitySnapshotOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "contentHash" | "entityId" | "operationId" | "stateId" | "referencedInOutputs" | "exportedInOutputs" | "createdAt", ExtArgs["result"]["entitySnapshot"]>
1375
+ export type EntitySnapshotInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1376
+ content?: boolean | Prisma.EntitySnapshotContentDefaultArgs<ExtArgs>
1377
+ entity?: boolean | Prisma.EntityDefaultArgs<ExtArgs>
1378
+ operation?: boolean | Prisma.OperationDefaultArgs<ExtArgs>
1379
+ state?: boolean | Prisma.InstanceStateDefaultArgs<ExtArgs>
1380
+ references?: boolean | Prisma.EntitySnapshot$referencesArgs<ExtArgs>
1381
+ referencedBy?: boolean | Prisma.EntitySnapshot$referencedByArgs<ExtArgs>
1382
+ artifacts?: boolean | Prisma.EntitySnapshot$artifactsArgs<ExtArgs>
1383
+ _count?: boolean | Prisma.EntitySnapshotCountOutputTypeDefaultArgs<ExtArgs>
1384
+ }
1385
+ export type EntitySnapshotIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1386
+ content?: boolean | Prisma.EntitySnapshotContentDefaultArgs<ExtArgs>
1387
+ entity?: boolean | Prisma.EntityDefaultArgs<ExtArgs>
1388
+ operation?: boolean | Prisma.OperationDefaultArgs<ExtArgs>
1389
+ state?: boolean | Prisma.InstanceStateDefaultArgs<ExtArgs>
1390
+ }
1391
+ export type EntitySnapshotIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1392
+ content?: boolean | Prisma.EntitySnapshotContentDefaultArgs<ExtArgs>
1393
+ entity?: boolean | Prisma.EntityDefaultArgs<ExtArgs>
1394
+ operation?: boolean | Prisma.OperationDefaultArgs<ExtArgs>
1395
+ state?: boolean | Prisma.InstanceStateDefaultArgs<ExtArgs>
1396
+ }
1397
+
1398
+ export type $EntitySnapshotPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1399
+ name: "EntitySnapshot"
1400
+ objects: {
1401
+ /**
1402
+ * The content of the entity snapshot.
1403
+ */
1404
+ content: Prisma.$EntitySnapshotContentPayload<ExtArgs>
1405
+ /**
1406
+ * The entity this snapshot belongs to.
1407
+ */
1408
+ entity: Prisma.$EntityPayload<ExtArgs>
1409
+ /**
1410
+ * The operation that created this snapshot.
1411
+ */
1412
+ operation: Prisma.$OperationPayload<ExtArgs>
1413
+ /**
1414
+ * The instance state that produced this entity snapshot.
1415
+ */
1416
+ state: Prisma.$InstanceStatePayload<ExtArgs>
1417
+ /**
1418
+ * The snapshots of entities referenced by this entity snapshot.
1419
+ * For explicit references (specified manually by their IDs) the last snapshot of the referenced entity will be used.
1420
+ * For implicit references (collected via includes) the same snapshot of the same operation will be used.
1421
+ */
1422
+ references: Prisma.$EntitySnapshotReferencePayload<ExtArgs>[]
1423
+ /**
1424
+ * The snapshots of entities that reference this entity snapshot.
1425
+ */
1426
+ referencedBy: Prisma.$EntitySnapshotReferencePayload<ExtArgs>[]
1427
+ /**
1428
+ * The artifacts referenced by this entity snapshot.
1429
+ */
1430
+ artifacts: Prisma.$ArtifactPayload<ExtArgs>[]
1431
+ }
1432
+ scalars: runtime.Types.Extensions.GetPayloadResult<{
1433
+ /**
1434
+ * The CUIDv2 of the entity snapshot.
1435
+ */
1436
+ id: string
1437
+ /**
1438
+ * The SHA-256 hash of the entity snapshot content.
1439
+ * The content is stored separately in the EntitySnapshotContent model and can be shared between different snapshots with the same content hash.
1440
+ */
1441
+ contentHash: string
1442
+ /**
1443
+ * The ID of the entity this snapshot belongs to.
1444
+ */
1445
+ entityId: string
1446
+ /**
1447
+ * The ID of the operation that created this snapshot.
1448
+ */
1449
+ operationId: string
1450
+ /**
1451
+ * The ID of the instance state produced this entity snapshot.
1452
+ */
1453
+ stateId: string
1454
+ /**
1455
+ * The name of the instance outputs where this entity were referenced (including nested entities).
1456
+ *
1457
+ * ![string[]]
1458
+ */
1459
+ referencedInOutputs:(string[])
1460
+ /**
1461
+ * The name of the outputs that exported this entity directly.
1462
+ *
1463
+ * ![string[]]
1464
+ */
1465
+ exportedInOutputs:(string[])
1466
+ /**
1467
+ * The time when the entity snapshot was created.
1468
+ */
1469
+ createdAt: Date
1470
+ }, ExtArgs["result"]["entitySnapshot"]>
1471
+ composites: {}
1472
+ }
1473
+
1474
+ export type EntitySnapshotGetPayload<S extends boolean | null | undefined | EntitySnapshotDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$EntitySnapshotPayload, S>
1475
+
1476
+ export type EntitySnapshotCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
1477
+ Omit<EntitySnapshotFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
1478
+ select?: EntitySnapshotCountAggregateInputType | true
1479
+ }
1480
+
1481
+ export interface EntitySnapshotDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
1482
+ [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['EntitySnapshot'], meta: { name: 'EntitySnapshot' } }
1483
+ /**
1484
+ * Find zero or one EntitySnapshot that matches the filter.
1485
+ * @param {EntitySnapshotFindUniqueArgs} args - Arguments to find a EntitySnapshot
1486
+ * @example
1487
+ * // Get one EntitySnapshot
1488
+ * const entitySnapshot = await prisma.entitySnapshot.findUnique({
1489
+ * where: {
1490
+ * // ... provide filter here
1491
+ * }
1492
+ * })
1493
+ */
1494
+ findUnique<T extends EntitySnapshotFindUniqueArgs>(args: Prisma.SelectSubset<T, EntitySnapshotFindUniqueArgs<ExtArgs>>): Prisma.Prisma__EntitySnapshotClient<runtime.Types.Result.GetResult<Prisma.$EntitySnapshotPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
1495
+
1496
+ /**
1497
+ * Find one EntitySnapshot that matches the filter or throw an error with `error.code='P2025'`
1498
+ * if no matches were found.
1499
+ * @param {EntitySnapshotFindUniqueOrThrowArgs} args - Arguments to find a EntitySnapshot
1500
+ * @example
1501
+ * // Get one EntitySnapshot
1502
+ * const entitySnapshot = await prisma.entitySnapshot.findUniqueOrThrow({
1503
+ * where: {
1504
+ * // ... provide filter here
1505
+ * }
1506
+ * })
1507
+ */
1508
+ findUniqueOrThrow<T extends EntitySnapshotFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, EntitySnapshotFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__EntitySnapshotClient<runtime.Types.Result.GetResult<Prisma.$EntitySnapshotPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1509
+
1510
+ /**
1511
+ * Find the first EntitySnapshot that matches the filter.
1512
+ * Note, that providing `undefined` is treated as the value not being there.
1513
+ * Read more here: https://pris.ly/d/null-undefined
1514
+ * @param {EntitySnapshotFindFirstArgs} args - Arguments to find a EntitySnapshot
1515
+ * @example
1516
+ * // Get one EntitySnapshot
1517
+ * const entitySnapshot = await prisma.entitySnapshot.findFirst({
1518
+ * where: {
1519
+ * // ... provide filter here
1520
+ * }
1521
+ * })
1522
+ */
1523
+ findFirst<T extends EntitySnapshotFindFirstArgs>(args?: Prisma.SelectSubset<T, EntitySnapshotFindFirstArgs<ExtArgs>>): Prisma.Prisma__EntitySnapshotClient<runtime.Types.Result.GetResult<Prisma.$EntitySnapshotPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
1524
+
1525
+ /**
1526
+ * Find the first EntitySnapshot that matches the filter or
1527
+ * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
1528
+ * Note, that providing `undefined` is treated as the value not being there.
1529
+ * Read more here: https://pris.ly/d/null-undefined
1530
+ * @param {EntitySnapshotFindFirstOrThrowArgs} args - Arguments to find a EntitySnapshot
1531
+ * @example
1532
+ * // Get one EntitySnapshot
1533
+ * const entitySnapshot = await prisma.entitySnapshot.findFirstOrThrow({
1534
+ * where: {
1535
+ * // ... provide filter here
1536
+ * }
1537
+ * })
1538
+ */
1539
+ findFirstOrThrow<T extends EntitySnapshotFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, EntitySnapshotFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__EntitySnapshotClient<runtime.Types.Result.GetResult<Prisma.$EntitySnapshotPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1540
+
1541
+ /**
1542
+ * Find zero or more EntitySnapshots that matches the filter.
1543
+ * Note, that providing `undefined` is treated as the value not being there.
1544
+ * Read more here: https://pris.ly/d/null-undefined
1545
+ * @param {EntitySnapshotFindManyArgs} args - Arguments to filter and select certain fields only.
1546
+ * @example
1547
+ * // Get all EntitySnapshots
1548
+ * const entitySnapshots = await prisma.entitySnapshot.findMany()
1549
+ *
1550
+ * // Get first 10 EntitySnapshots
1551
+ * const entitySnapshots = await prisma.entitySnapshot.findMany({ take: 10 })
1552
+ *
1553
+ * // Only select the `id`
1554
+ * const entitySnapshotWithIdOnly = await prisma.entitySnapshot.findMany({ select: { id: true } })
1555
+ *
1556
+ */
1557
+ findMany<T extends EntitySnapshotFindManyArgs>(args?: Prisma.SelectSubset<T, EntitySnapshotFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$EntitySnapshotPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
1558
+
1559
+ /**
1560
+ * Create a EntitySnapshot.
1561
+ * @param {EntitySnapshotCreateArgs} args - Arguments to create a EntitySnapshot.
1562
+ * @example
1563
+ * // Create one EntitySnapshot
1564
+ * const EntitySnapshot = await prisma.entitySnapshot.create({
1565
+ * data: {
1566
+ * // ... data to create a EntitySnapshot
1567
+ * }
1568
+ * })
1569
+ *
1570
+ */
1571
+ create<T extends EntitySnapshotCreateArgs>(args: Prisma.SelectSubset<T, EntitySnapshotCreateArgs<ExtArgs>>): Prisma.Prisma__EntitySnapshotClient<runtime.Types.Result.GetResult<Prisma.$EntitySnapshotPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1572
+
1573
+ /**
1574
+ * Create many EntitySnapshots.
1575
+ * @param {EntitySnapshotCreateManyArgs} args - Arguments to create many EntitySnapshots.
1576
+ * @example
1577
+ * // Create many EntitySnapshots
1578
+ * const entitySnapshot = await prisma.entitySnapshot.createMany({
1579
+ * data: [
1580
+ * // ... provide data here
1581
+ * ]
1582
+ * })
1583
+ *
1584
+ */
1585
+ createMany<T extends EntitySnapshotCreateManyArgs>(args?: Prisma.SelectSubset<T, EntitySnapshotCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
1586
+
1587
+ /**
1588
+ * Create many EntitySnapshots and returns the data saved in the database.
1589
+ * @param {EntitySnapshotCreateManyAndReturnArgs} args - Arguments to create many EntitySnapshots.
1590
+ * @example
1591
+ * // Create many EntitySnapshots
1592
+ * const entitySnapshot = await prisma.entitySnapshot.createManyAndReturn({
1593
+ * data: [
1594
+ * // ... provide data here
1595
+ * ]
1596
+ * })
1597
+ *
1598
+ * // Create many EntitySnapshots and only return the `id`
1599
+ * const entitySnapshotWithIdOnly = await prisma.entitySnapshot.createManyAndReturn({
1600
+ * select: { id: true },
1601
+ * data: [
1602
+ * // ... provide data here
1603
+ * ]
1604
+ * })
1605
+ * Note, that providing `undefined` is treated as the value not being there.
1606
+ * Read more here: https://pris.ly/d/null-undefined
1607
+ *
1608
+ */
1609
+ createManyAndReturn<T extends EntitySnapshotCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, EntitySnapshotCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$EntitySnapshotPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
1610
+
1611
+ /**
1612
+ * Delete a EntitySnapshot.
1613
+ * @param {EntitySnapshotDeleteArgs} args - Arguments to delete one EntitySnapshot.
1614
+ * @example
1615
+ * // Delete one EntitySnapshot
1616
+ * const EntitySnapshot = await prisma.entitySnapshot.delete({
1617
+ * where: {
1618
+ * // ... filter to delete one EntitySnapshot
1619
+ * }
1620
+ * })
1621
+ *
1622
+ */
1623
+ delete<T extends EntitySnapshotDeleteArgs>(args: Prisma.SelectSubset<T, EntitySnapshotDeleteArgs<ExtArgs>>): Prisma.Prisma__EntitySnapshotClient<runtime.Types.Result.GetResult<Prisma.$EntitySnapshotPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1624
+
1625
+ /**
1626
+ * Update one EntitySnapshot.
1627
+ * @param {EntitySnapshotUpdateArgs} args - Arguments to update one EntitySnapshot.
1628
+ * @example
1629
+ * // Update one EntitySnapshot
1630
+ * const entitySnapshot = await prisma.entitySnapshot.update({
1631
+ * where: {
1632
+ * // ... provide filter here
1633
+ * },
1634
+ * data: {
1635
+ * // ... provide data here
1636
+ * }
1637
+ * })
1638
+ *
1639
+ */
1640
+ update<T extends EntitySnapshotUpdateArgs>(args: Prisma.SelectSubset<T, EntitySnapshotUpdateArgs<ExtArgs>>): Prisma.Prisma__EntitySnapshotClient<runtime.Types.Result.GetResult<Prisma.$EntitySnapshotPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1641
+
1642
+ /**
1643
+ * Delete zero or more EntitySnapshots.
1644
+ * @param {EntitySnapshotDeleteManyArgs} args - Arguments to filter EntitySnapshots to delete.
1645
+ * @example
1646
+ * // Delete a few EntitySnapshots
1647
+ * const { count } = await prisma.entitySnapshot.deleteMany({
1648
+ * where: {
1649
+ * // ... provide filter here
1650
+ * }
1651
+ * })
1652
+ *
1653
+ */
1654
+ deleteMany<T extends EntitySnapshotDeleteManyArgs>(args?: Prisma.SelectSubset<T, EntitySnapshotDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
1655
+
1656
+ /**
1657
+ * Update zero or more EntitySnapshots.
1658
+ * Note, that providing `undefined` is treated as the value not being there.
1659
+ * Read more here: https://pris.ly/d/null-undefined
1660
+ * @param {EntitySnapshotUpdateManyArgs} args - Arguments to update one or more rows.
1661
+ * @example
1662
+ * // Update many EntitySnapshots
1663
+ * const entitySnapshot = await prisma.entitySnapshot.updateMany({
1664
+ * where: {
1665
+ * // ... provide filter here
1666
+ * },
1667
+ * data: {
1668
+ * // ... provide data here
1669
+ * }
1670
+ * })
1671
+ *
1672
+ */
1673
+ updateMany<T extends EntitySnapshotUpdateManyArgs>(args: Prisma.SelectSubset<T, EntitySnapshotUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
1674
+
1675
+ /**
1676
+ * Update zero or more EntitySnapshots and returns the data updated in the database.
1677
+ * @param {EntitySnapshotUpdateManyAndReturnArgs} args - Arguments to update many EntitySnapshots.
1678
+ * @example
1679
+ * // Update many EntitySnapshots
1680
+ * const entitySnapshot = await prisma.entitySnapshot.updateManyAndReturn({
1681
+ * where: {
1682
+ * // ... provide filter here
1683
+ * },
1684
+ * data: [
1685
+ * // ... provide data here
1686
+ * ]
1687
+ * })
1688
+ *
1689
+ * // Update zero or more EntitySnapshots and only return the `id`
1690
+ * const entitySnapshotWithIdOnly = await prisma.entitySnapshot.updateManyAndReturn({
1691
+ * select: { id: true },
1692
+ * where: {
1693
+ * // ... provide filter here
1694
+ * },
1695
+ * data: [
1696
+ * // ... provide data here
1697
+ * ]
1698
+ * })
1699
+ * Note, that providing `undefined` is treated as the value not being there.
1700
+ * Read more here: https://pris.ly/d/null-undefined
1701
+ *
1702
+ */
1703
+ updateManyAndReturn<T extends EntitySnapshotUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, EntitySnapshotUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$EntitySnapshotPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
1704
+
1705
+ /**
1706
+ * Create or update one EntitySnapshot.
1707
+ * @param {EntitySnapshotUpsertArgs} args - Arguments to update or create a EntitySnapshot.
1708
+ * @example
1709
+ * // Update or create a EntitySnapshot
1710
+ * const entitySnapshot = await prisma.entitySnapshot.upsert({
1711
+ * create: {
1712
+ * // ... data to create a EntitySnapshot
1713
+ * },
1714
+ * update: {
1715
+ * // ... in case it already exists, update
1716
+ * },
1717
+ * where: {
1718
+ * // ... the filter for the EntitySnapshot we want to update
1719
+ * }
1720
+ * })
1721
+ */
1722
+ upsert<T extends EntitySnapshotUpsertArgs>(args: Prisma.SelectSubset<T, EntitySnapshotUpsertArgs<ExtArgs>>): Prisma.Prisma__EntitySnapshotClient<runtime.Types.Result.GetResult<Prisma.$EntitySnapshotPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1723
+
1724
+
1725
+ /**
1726
+ * Count the number of EntitySnapshots.
1727
+ * Note, that providing `undefined` is treated as the value not being there.
1728
+ * Read more here: https://pris.ly/d/null-undefined
1729
+ * @param {EntitySnapshotCountArgs} args - Arguments to filter EntitySnapshots to count.
1730
+ * @example
1731
+ * // Count the number of EntitySnapshots
1732
+ * const count = await prisma.entitySnapshot.count({
1733
+ * where: {
1734
+ * // ... the filter for the EntitySnapshots we want to count
1735
+ * }
1736
+ * })
1737
+ **/
1738
+ count<T extends EntitySnapshotCountArgs>(
1739
+ args?: Prisma.Subset<T, EntitySnapshotCountArgs>,
1740
+ ): Prisma.PrismaPromise<
1741
+ T extends runtime.Types.Utils.Record<'select', any>
1742
+ ? T['select'] extends true
1743
+ ? number
1744
+ : Prisma.GetScalarType<T['select'], EntitySnapshotCountAggregateOutputType>
1745
+ : number
1746
+ >
1747
+
1748
+ /**
1749
+ * Allows you to perform aggregations operations on a EntitySnapshot.
1750
+ * Note, that providing `undefined` is treated as the value not being there.
1751
+ * Read more here: https://pris.ly/d/null-undefined
1752
+ * @param {EntitySnapshotAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
1753
+ * @example
1754
+ * // Ordered by age ascending
1755
+ * // Where email contains prisma.io
1756
+ * // Limited to the 10 users
1757
+ * const aggregations = await prisma.user.aggregate({
1758
+ * _avg: {
1759
+ * age: true,
1760
+ * },
1761
+ * where: {
1762
+ * email: {
1763
+ * contains: "prisma.io",
1764
+ * },
1765
+ * },
1766
+ * orderBy: {
1767
+ * age: "asc",
1768
+ * },
1769
+ * take: 10,
1770
+ * })
1771
+ **/
1772
+ aggregate<T extends EntitySnapshotAggregateArgs>(args: Prisma.Subset<T, EntitySnapshotAggregateArgs>): Prisma.PrismaPromise<GetEntitySnapshotAggregateType<T>>
1773
+
1774
+ /**
1775
+ * Group by EntitySnapshot.
1776
+ * Note, that providing `undefined` is treated as the value not being there.
1777
+ * Read more here: https://pris.ly/d/null-undefined
1778
+ * @param {EntitySnapshotGroupByArgs} args - Group by arguments.
1779
+ * @example
1780
+ * // Group by city, order by createdAt, get count
1781
+ * const result = await prisma.user.groupBy({
1782
+ * by: ['city', 'createdAt'],
1783
+ * orderBy: {
1784
+ * createdAt: true
1785
+ * },
1786
+ * _count: {
1787
+ * _all: true
1788
+ * },
1789
+ * })
1790
+ *
1791
+ **/
1792
+ groupBy<
1793
+ T extends EntitySnapshotGroupByArgs,
1794
+ HasSelectOrTake extends Prisma.Or<
1795
+ Prisma.Extends<'skip', Prisma.Keys<T>>,
1796
+ Prisma.Extends<'take', Prisma.Keys<T>>
1797
+ >,
1798
+ OrderByArg extends Prisma.True extends HasSelectOrTake
1799
+ ? { orderBy: EntitySnapshotGroupByArgs['orderBy'] }
1800
+ : { orderBy?: EntitySnapshotGroupByArgs['orderBy'] },
1801
+ OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
1802
+ ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
1803
+ ByValid extends Prisma.Has<ByFields, OrderFields>,
1804
+ HavingFields extends Prisma.GetHavingFields<T['having']>,
1805
+ HavingValid extends Prisma.Has<ByFields, HavingFields>,
1806
+ ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False,
1807
+ InputErrors extends ByEmpty extends Prisma.True
1808
+ ? `Error: "by" must not be empty.`
1809
+ : HavingValid extends Prisma.False
1810
+ ? {
1811
+ [P in HavingFields]: P extends ByFields
1812
+ ? never
1813
+ : P extends string
1814
+ ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
1815
+ : [
1816
+ Error,
1817
+ 'Field ',
1818
+ P,
1819
+ ` in "having" needs to be provided in "by"`,
1820
+ ]
1821
+ }[HavingFields]
1822
+ : 'take' extends Prisma.Keys<T>
1823
+ ? 'orderBy' extends Prisma.Keys<T>
1824
+ ? ByValid extends Prisma.True
1825
+ ? {}
1826
+ : {
1827
+ [P in OrderFields]: P extends ByFields
1828
+ ? never
1829
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
1830
+ }[OrderFields]
1831
+ : 'Error: If you provide "take", you also need to provide "orderBy"'
1832
+ : 'skip' extends Prisma.Keys<T>
1833
+ ? 'orderBy' extends Prisma.Keys<T>
1834
+ ? ByValid extends Prisma.True
1835
+ ? {}
1836
+ : {
1837
+ [P in OrderFields]: P extends ByFields
1838
+ ? never
1839
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
1840
+ }[OrderFields]
1841
+ : 'Error: If you provide "skip", you also need to provide "orderBy"'
1842
+ : ByValid extends Prisma.True
1843
+ ? {}
1844
+ : {
1845
+ [P in OrderFields]: P extends ByFields
1846
+ ? never
1847
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
1848
+ }[OrderFields]
1849
+ >(args: Prisma.SubsetIntersection<T, EntitySnapshotGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetEntitySnapshotGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
1850
+ /**
1851
+ * Fields of the EntitySnapshot model
1852
+ */
1853
+ readonly fields: EntitySnapshotFieldRefs;
1854
+ }
1855
+
1856
+ /**
1857
+ * The delegate class that acts as a "Promise-like" for EntitySnapshot.
1858
+ * Why is this prefixed with `Prisma__`?
1859
+ * Because we want to prevent naming conflicts as mentioned in
1860
+ * https://github.com/prisma/prisma-client-js/issues/707
1861
+ */
1862
+ export interface Prisma__EntitySnapshotClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
1863
+ readonly [Symbol.toStringTag]: "PrismaPromise"
1864
+ content<T extends Prisma.EntitySnapshotContentDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.EntitySnapshotContentDefaultArgs<ExtArgs>>): Prisma.Prisma__EntitySnapshotContentClient<runtime.Types.Result.GetResult<Prisma.$EntitySnapshotContentPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
1865
+ entity<T extends Prisma.EntityDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.EntityDefaultArgs<ExtArgs>>): Prisma.Prisma__EntityClient<runtime.Types.Result.GetResult<Prisma.$EntityPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
1866
+ operation<T extends Prisma.OperationDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.OperationDefaultArgs<ExtArgs>>): Prisma.Prisma__OperationClient<runtime.Types.Result.GetResult<Prisma.$OperationPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
1867
+ 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>
1868
+ references<T extends Prisma.EntitySnapshot$referencesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.EntitySnapshot$referencesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$EntitySnapshotReferencePayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
1869
+ referencedBy<T extends Prisma.EntitySnapshot$referencedByArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.EntitySnapshot$referencedByArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$EntitySnapshotReferencePayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
1870
+ artifacts<T extends Prisma.EntitySnapshot$artifactsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.EntitySnapshot$artifactsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ArtifactPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
1871
+ /**
1872
+ * Attaches callbacks for the resolution and/or rejection of the Promise.
1873
+ * @param onfulfilled The callback to execute when the Promise is resolved.
1874
+ * @param onrejected The callback to execute when the Promise is rejected.
1875
+ * @returns A Promise for the completion of which ever callback is executed.
1876
+ */
1877
+ 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>
1878
+ /**
1879
+ * Attaches a callback for only the rejection of the Promise.
1880
+ * @param onrejected The callback to execute when the Promise is rejected.
1881
+ * @returns A Promise for the completion of the callback.
1882
+ */
1883
+ catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
1884
+ /**
1885
+ * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
1886
+ * resolved value cannot be modified from the callback.
1887
+ * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
1888
+ * @returns A Promise for the completion of the callback.
1889
+ */
1890
+ finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
1891
+ }
1892
+
1893
+
1894
+
1895
+
1896
+ /**
1897
+ * Fields of the EntitySnapshot model
1898
+ */
1899
+ export interface EntitySnapshotFieldRefs {
1900
+ readonly id: Prisma.FieldRef<"EntitySnapshot", 'String'>
1901
+ readonly contentHash: Prisma.FieldRef<"EntitySnapshot", 'String'>
1902
+ readonly entityId: Prisma.FieldRef<"EntitySnapshot", 'String'>
1903
+ readonly operationId: Prisma.FieldRef<"EntitySnapshot", 'String'>
1904
+ readonly stateId: Prisma.FieldRef<"EntitySnapshot", 'String'>
1905
+ readonly referencedInOutputs: Prisma.FieldRef<"EntitySnapshot", 'Json'>
1906
+ readonly exportedInOutputs: Prisma.FieldRef<"EntitySnapshot", 'Json'>
1907
+ readonly createdAt: Prisma.FieldRef<"EntitySnapshot", 'DateTime'>
1908
+ }
1909
+
1910
+
1911
+ // Custom InputTypes
1912
+ /**
1913
+ * EntitySnapshot findUnique
1914
+ */
1915
+ export type EntitySnapshotFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1916
+ /**
1917
+ * Select specific fields to fetch from the EntitySnapshot
1918
+ */
1919
+ select?: Prisma.EntitySnapshotSelect<ExtArgs> | null
1920
+ /**
1921
+ * Omit specific fields from the EntitySnapshot
1922
+ */
1923
+ omit?: Prisma.EntitySnapshotOmit<ExtArgs> | null
1924
+ /**
1925
+ * Choose, which related nodes to fetch as well
1926
+ */
1927
+ include?: Prisma.EntitySnapshotInclude<ExtArgs> | null
1928
+ /**
1929
+ * Filter, which EntitySnapshot to fetch.
1930
+ */
1931
+ where: Prisma.EntitySnapshotWhereUniqueInput
1932
+ }
1933
+
1934
+ /**
1935
+ * EntitySnapshot findUniqueOrThrow
1936
+ */
1937
+ export type EntitySnapshotFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1938
+ /**
1939
+ * Select specific fields to fetch from the EntitySnapshot
1940
+ */
1941
+ select?: Prisma.EntitySnapshotSelect<ExtArgs> | null
1942
+ /**
1943
+ * Omit specific fields from the EntitySnapshot
1944
+ */
1945
+ omit?: Prisma.EntitySnapshotOmit<ExtArgs> | null
1946
+ /**
1947
+ * Choose, which related nodes to fetch as well
1948
+ */
1949
+ include?: Prisma.EntitySnapshotInclude<ExtArgs> | null
1950
+ /**
1951
+ * Filter, which EntitySnapshot to fetch.
1952
+ */
1953
+ where: Prisma.EntitySnapshotWhereUniqueInput
1954
+ }
1955
+
1956
+ /**
1957
+ * EntitySnapshot findFirst
1958
+ */
1959
+ export type EntitySnapshotFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1960
+ /**
1961
+ * Select specific fields to fetch from the EntitySnapshot
1962
+ */
1963
+ select?: Prisma.EntitySnapshotSelect<ExtArgs> | null
1964
+ /**
1965
+ * Omit specific fields from the EntitySnapshot
1966
+ */
1967
+ omit?: Prisma.EntitySnapshotOmit<ExtArgs> | null
1968
+ /**
1969
+ * Choose, which related nodes to fetch as well
1970
+ */
1971
+ include?: Prisma.EntitySnapshotInclude<ExtArgs> | null
1972
+ /**
1973
+ * Filter, which EntitySnapshot to fetch.
1974
+ */
1975
+ where?: Prisma.EntitySnapshotWhereInput
1976
+ /**
1977
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1978
+ *
1979
+ * Determine the order of EntitySnapshots to fetch.
1980
+ */
1981
+ orderBy?: Prisma.EntitySnapshotOrderByWithRelationInput | Prisma.EntitySnapshotOrderByWithRelationInput[]
1982
+ /**
1983
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1984
+ *
1985
+ * Sets the position for searching for EntitySnapshots.
1986
+ */
1987
+ cursor?: Prisma.EntitySnapshotWhereUniqueInput
1988
+ /**
1989
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1990
+ *
1991
+ * Take `±n` EntitySnapshots from the position of the cursor.
1992
+ */
1993
+ take?: number
1994
+ /**
1995
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1996
+ *
1997
+ * Skip the first `n` EntitySnapshots.
1998
+ */
1999
+ skip?: number
2000
+ /**
2001
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
2002
+ *
2003
+ * Filter by unique combinations of EntitySnapshots.
2004
+ */
2005
+ distinct?: Prisma.EntitySnapshotScalarFieldEnum | Prisma.EntitySnapshotScalarFieldEnum[]
2006
+ }
2007
+
2008
+ /**
2009
+ * EntitySnapshot findFirstOrThrow
2010
+ */
2011
+ export type EntitySnapshotFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2012
+ /**
2013
+ * Select specific fields to fetch from the EntitySnapshot
2014
+ */
2015
+ select?: Prisma.EntitySnapshotSelect<ExtArgs> | null
2016
+ /**
2017
+ * Omit specific fields from the EntitySnapshot
2018
+ */
2019
+ omit?: Prisma.EntitySnapshotOmit<ExtArgs> | null
2020
+ /**
2021
+ * Choose, which related nodes to fetch as well
2022
+ */
2023
+ include?: Prisma.EntitySnapshotInclude<ExtArgs> | null
2024
+ /**
2025
+ * Filter, which EntitySnapshot to fetch.
2026
+ */
2027
+ where?: Prisma.EntitySnapshotWhereInput
2028
+ /**
2029
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
2030
+ *
2031
+ * Determine the order of EntitySnapshots to fetch.
2032
+ */
2033
+ orderBy?: Prisma.EntitySnapshotOrderByWithRelationInput | Prisma.EntitySnapshotOrderByWithRelationInput[]
2034
+ /**
2035
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
2036
+ *
2037
+ * Sets the position for searching for EntitySnapshots.
2038
+ */
2039
+ cursor?: Prisma.EntitySnapshotWhereUniqueInput
2040
+ /**
2041
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
2042
+ *
2043
+ * Take `±n` EntitySnapshots from the position of the cursor.
2044
+ */
2045
+ take?: number
2046
+ /**
2047
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
2048
+ *
2049
+ * Skip the first `n` EntitySnapshots.
2050
+ */
2051
+ skip?: number
2052
+ /**
2053
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
2054
+ *
2055
+ * Filter by unique combinations of EntitySnapshots.
2056
+ */
2057
+ distinct?: Prisma.EntitySnapshotScalarFieldEnum | Prisma.EntitySnapshotScalarFieldEnum[]
2058
+ }
2059
+
2060
+ /**
2061
+ * EntitySnapshot findMany
2062
+ */
2063
+ export type EntitySnapshotFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2064
+ /**
2065
+ * Select specific fields to fetch from the EntitySnapshot
2066
+ */
2067
+ select?: Prisma.EntitySnapshotSelect<ExtArgs> | null
2068
+ /**
2069
+ * Omit specific fields from the EntitySnapshot
2070
+ */
2071
+ omit?: Prisma.EntitySnapshotOmit<ExtArgs> | null
2072
+ /**
2073
+ * Choose, which related nodes to fetch as well
2074
+ */
2075
+ include?: Prisma.EntitySnapshotInclude<ExtArgs> | null
2076
+ /**
2077
+ * Filter, which EntitySnapshots to fetch.
2078
+ */
2079
+ where?: Prisma.EntitySnapshotWhereInput
2080
+ /**
2081
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
2082
+ *
2083
+ * Determine the order of EntitySnapshots to fetch.
2084
+ */
2085
+ orderBy?: Prisma.EntitySnapshotOrderByWithRelationInput | Prisma.EntitySnapshotOrderByWithRelationInput[]
2086
+ /**
2087
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
2088
+ *
2089
+ * Sets the position for listing EntitySnapshots.
2090
+ */
2091
+ cursor?: Prisma.EntitySnapshotWhereUniqueInput
2092
+ /**
2093
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
2094
+ *
2095
+ * Take `±n` EntitySnapshots from the position of the cursor.
2096
+ */
2097
+ take?: number
2098
+ /**
2099
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
2100
+ *
2101
+ * Skip the first `n` EntitySnapshots.
2102
+ */
2103
+ skip?: number
2104
+ distinct?: Prisma.EntitySnapshotScalarFieldEnum | Prisma.EntitySnapshotScalarFieldEnum[]
2105
+ }
2106
+
2107
+ /**
2108
+ * EntitySnapshot create
2109
+ */
2110
+ export type EntitySnapshotCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2111
+ /**
2112
+ * Select specific fields to fetch from the EntitySnapshot
2113
+ */
2114
+ select?: Prisma.EntitySnapshotSelect<ExtArgs> | null
2115
+ /**
2116
+ * Omit specific fields from the EntitySnapshot
2117
+ */
2118
+ omit?: Prisma.EntitySnapshotOmit<ExtArgs> | null
2119
+ /**
2120
+ * Choose, which related nodes to fetch as well
2121
+ */
2122
+ include?: Prisma.EntitySnapshotInclude<ExtArgs> | null
2123
+ /**
2124
+ * The data needed to create a EntitySnapshot.
2125
+ */
2126
+ data: Prisma.XOR<Prisma.EntitySnapshotCreateInput, Prisma.EntitySnapshotUncheckedCreateInput>
2127
+ }
2128
+
2129
+ /**
2130
+ * EntitySnapshot createMany
2131
+ */
2132
+ export type EntitySnapshotCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2133
+ /**
2134
+ * The data used to create many EntitySnapshots.
2135
+ */
2136
+ data: Prisma.EntitySnapshotCreateManyInput | Prisma.EntitySnapshotCreateManyInput[]
2137
+ }
2138
+
2139
+ /**
2140
+ * EntitySnapshot createManyAndReturn
2141
+ */
2142
+ export type EntitySnapshotCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2143
+ /**
2144
+ * Select specific fields to fetch from the EntitySnapshot
2145
+ */
2146
+ select?: Prisma.EntitySnapshotSelectCreateManyAndReturn<ExtArgs> | null
2147
+ /**
2148
+ * Omit specific fields from the EntitySnapshot
2149
+ */
2150
+ omit?: Prisma.EntitySnapshotOmit<ExtArgs> | null
2151
+ /**
2152
+ * The data used to create many EntitySnapshots.
2153
+ */
2154
+ data: Prisma.EntitySnapshotCreateManyInput | Prisma.EntitySnapshotCreateManyInput[]
2155
+ /**
2156
+ * Choose, which related nodes to fetch as well
2157
+ */
2158
+ include?: Prisma.EntitySnapshotIncludeCreateManyAndReturn<ExtArgs> | null
2159
+ }
2160
+
2161
+ /**
2162
+ * EntitySnapshot update
2163
+ */
2164
+ export type EntitySnapshotUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2165
+ /**
2166
+ * Select specific fields to fetch from the EntitySnapshot
2167
+ */
2168
+ select?: Prisma.EntitySnapshotSelect<ExtArgs> | null
2169
+ /**
2170
+ * Omit specific fields from the EntitySnapshot
2171
+ */
2172
+ omit?: Prisma.EntitySnapshotOmit<ExtArgs> | null
2173
+ /**
2174
+ * Choose, which related nodes to fetch as well
2175
+ */
2176
+ include?: Prisma.EntitySnapshotInclude<ExtArgs> | null
2177
+ /**
2178
+ * The data needed to update a EntitySnapshot.
2179
+ */
2180
+ data: Prisma.XOR<Prisma.EntitySnapshotUpdateInput, Prisma.EntitySnapshotUncheckedUpdateInput>
2181
+ /**
2182
+ * Choose, which EntitySnapshot to update.
2183
+ */
2184
+ where: Prisma.EntitySnapshotWhereUniqueInput
2185
+ }
2186
+
2187
+ /**
2188
+ * EntitySnapshot updateMany
2189
+ */
2190
+ export type EntitySnapshotUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2191
+ /**
2192
+ * The data used to update EntitySnapshots.
2193
+ */
2194
+ data: Prisma.XOR<Prisma.EntitySnapshotUpdateManyMutationInput, Prisma.EntitySnapshotUncheckedUpdateManyInput>
2195
+ /**
2196
+ * Filter which EntitySnapshots to update
2197
+ */
2198
+ where?: Prisma.EntitySnapshotWhereInput
2199
+ /**
2200
+ * Limit how many EntitySnapshots to update.
2201
+ */
2202
+ limit?: number
2203
+ }
2204
+
2205
+ /**
2206
+ * EntitySnapshot updateManyAndReturn
2207
+ */
2208
+ export type EntitySnapshotUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2209
+ /**
2210
+ * Select specific fields to fetch from the EntitySnapshot
2211
+ */
2212
+ select?: Prisma.EntitySnapshotSelectUpdateManyAndReturn<ExtArgs> | null
2213
+ /**
2214
+ * Omit specific fields from the EntitySnapshot
2215
+ */
2216
+ omit?: Prisma.EntitySnapshotOmit<ExtArgs> | null
2217
+ /**
2218
+ * The data used to update EntitySnapshots.
2219
+ */
2220
+ data: Prisma.XOR<Prisma.EntitySnapshotUpdateManyMutationInput, Prisma.EntitySnapshotUncheckedUpdateManyInput>
2221
+ /**
2222
+ * Filter which EntitySnapshots to update
2223
+ */
2224
+ where?: Prisma.EntitySnapshotWhereInput
2225
+ /**
2226
+ * Limit how many EntitySnapshots to update.
2227
+ */
2228
+ limit?: number
2229
+ /**
2230
+ * Choose, which related nodes to fetch as well
2231
+ */
2232
+ include?: Prisma.EntitySnapshotIncludeUpdateManyAndReturn<ExtArgs> | null
2233
+ }
2234
+
2235
+ /**
2236
+ * EntitySnapshot upsert
2237
+ */
2238
+ export type EntitySnapshotUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2239
+ /**
2240
+ * Select specific fields to fetch from the EntitySnapshot
2241
+ */
2242
+ select?: Prisma.EntitySnapshotSelect<ExtArgs> | null
2243
+ /**
2244
+ * Omit specific fields from the EntitySnapshot
2245
+ */
2246
+ omit?: Prisma.EntitySnapshotOmit<ExtArgs> | null
2247
+ /**
2248
+ * Choose, which related nodes to fetch as well
2249
+ */
2250
+ include?: Prisma.EntitySnapshotInclude<ExtArgs> | null
2251
+ /**
2252
+ * The filter to search for the EntitySnapshot to update in case it exists.
2253
+ */
2254
+ where: Prisma.EntitySnapshotWhereUniqueInput
2255
+ /**
2256
+ * In case the EntitySnapshot found by the `where` argument doesn't exist, create a new EntitySnapshot with this data.
2257
+ */
2258
+ create: Prisma.XOR<Prisma.EntitySnapshotCreateInput, Prisma.EntitySnapshotUncheckedCreateInput>
2259
+ /**
2260
+ * In case the EntitySnapshot was found with the provided `where` argument, update it with this data.
2261
+ */
2262
+ update: Prisma.XOR<Prisma.EntitySnapshotUpdateInput, Prisma.EntitySnapshotUncheckedUpdateInput>
2263
+ }
2264
+
2265
+ /**
2266
+ * EntitySnapshot delete
2267
+ */
2268
+ export type EntitySnapshotDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2269
+ /**
2270
+ * Select specific fields to fetch from the EntitySnapshot
2271
+ */
2272
+ select?: Prisma.EntitySnapshotSelect<ExtArgs> | null
2273
+ /**
2274
+ * Omit specific fields from the EntitySnapshot
2275
+ */
2276
+ omit?: Prisma.EntitySnapshotOmit<ExtArgs> | null
2277
+ /**
2278
+ * Choose, which related nodes to fetch as well
2279
+ */
2280
+ include?: Prisma.EntitySnapshotInclude<ExtArgs> | null
2281
+ /**
2282
+ * Filter which EntitySnapshot to delete.
2283
+ */
2284
+ where: Prisma.EntitySnapshotWhereUniqueInput
2285
+ }
2286
+
2287
+ /**
2288
+ * EntitySnapshot deleteMany
2289
+ */
2290
+ export type EntitySnapshotDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2291
+ /**
2292
+ * Filter which EntitySnapshots to delete
2293
+ */
2294
+ where?: Prisma.EntitySnapshotWhereInput
2295
+ /**
2296
+ * Limit how many EntitySnapshots to delete.
2297
+ */
2298
+ limit?: number
2299
+ }
2300
+
2301
+ /**
2302
+ * EntitySnapshot.references
2303
+ */
2304
+ export type EntitySnapshot$referencesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2305
+ /**
2306
+ * Select specific fields to fetch from the EntitySnapshotReference
2307
+ */
2308
+ select?: Prisma.EntitySnapshotReferenceSelect<ExtArgs> | null
2309
+ /**
2310
+ * Omit specific fields from the EntitySnapshotReference
2311
+ */
2312
+ omit?: Prisma.EntitySnapshotReferenceOmit<ExtArgs> | null
2313
+ /**
2314
+ * Choose, which related nodes to fetch as well
2315
+ */
2316
+ include?: Prisma.EntitySnapshotReferenceInclude<ExtArgs> | null
2317
+ where?: Prisma.EntitySnapshotReferenceWhereInput
2318
+ orderBy?: Prisma.EntitySnapshotReferenceOrderByWithRelationInput | Prisma.EntitySnapshotReferenceOrderByWithRelationInput[]
2319
+ cursor?: Prisma.EntitySnapshotReferenceWhereUniqueInput
2320
+ take?: number
2321
+ skip?: number
2322
+ distinct?: Prisma.EntitySnapshotReferenceScalarFieldEnum | Prisma.EntitySnapshotReferenceScalarFieldEnum[]
2323
+ }
2324
+
2325
+ /**
2326
+ * EntitySnapshot.referencedBy
2327
+ */
2328
+ export type EntitySnapshot$referencedByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2329
+ /**
2330
+ * Select specific fields to fetch from the EntitySnapshotReference
2331
+ */
2332
+ select?: Prisma.EntitySnapshotReferenceSelect<ExtArgs> | null
2333
+ /**
2334
+ * Omit specific fields from the EntitySnapshotReference
2335
+ */
2336
+ omit?: Prisma.EntitySnapshotReferenceOmit<ExtArgs> | null
2337
+ /**
2338
+ * Choose, which related nodes to fetch as well
2339
+ */
2340
+ include?: Prisma.EntitySnapshotReferenceInclude<ExtArgs> | null
2341
+ where?: Prisma.EntitySnapshotReferenceWhereInput
2342
+ orderBy?: Prisma.EntitySnapshotReferenceOrderByWithRelationInput | Prisma.EntitySnapshotReferenceOrderByWithRelationInput[]
2343
+ cursor?: Prisma.EntitySnapshotReferenceWhereUniqueInput
2344
+ take?: number
2345
+ skip?: number
2346
+ distinct?: Prisma.EntitySnapshotReferenceScalarFieldEnum | Prisma.EntitySnapshotReferenceScalarFieldEnum[]
2347
+ }
2348
+
2349
+ /**
2350
+ * EntitySnapshot.artifacts
2351
+ */
2352
+ export type EntitySnapshot$artifactsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2353
+ /**
2354
+ * Select specific fields to fetch from the Artifact
2355
+ */
2356
+ select?: Prisma.ArtifactSelect<ExtArgs> | null
2357
+ /**
2358
+ * Omit specific fields from the Artifact
2359
+ */
2360
+ omit?: Prisma.ArtifactOmit<ExtArgs> | null
2361
+ /**
2362
+ * Choose, which related nodes to fetch as well
2363
+ */
2364
+ include?: Prisma.ArtifactInclude<ExtArgs> | null
2365
+ where?: Prisma.ArtifactWhereInput
2366
+ orderBy?: Prisma.ArtifactOrderByWithRelationInput | Prisma.ArtifactOrderByWithRelationInput[]
2367
+ cursor?: Prisma.ArtifactWhereUniqueInput
2368
+ take?: number
2369
+ skip?: number
2370
+ distinct?: Prisma.ArtifactScalarFieldEnum | Prisma.ArtifactScalarFieldEnum[]
2371
+ }
2372
+
2373
+ /**
2374
+ * EntitySnapshot without action
2375
+ */
2376
+ export type EntitySnapshotDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2377
+ /**
2378
+ * Select specific fields to fetch from the EntitySnapshot
2379
+ */
2380
+ select?: Prisma.EntitySnapshotSelect<ExtArgs> | null
2381
+ /**
2382
+ * Omit specific fields from the EntitySnapshot
2383
+ */
2384
+ omit?: Prisma.EntitySnapshotOmit<ExtArgs> | null
2385
+ /**
2386
+ * Choose, which related nodes to fetch as well
2387
+ */
2388
+ include?: Prisma.EntitySnapshotInclude<ExtArgs> | null
2389
+ }