@highstate/backend 0.19.1 → 0.21.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chunk-b05q6fm2.js +37 -0
- package/dist/{chunk-V2NILDHS.js → chunk-gxjwa93h.js} +704 -604
- package/dist/{chunk-X2WG3WGL.js → chunk-vzdz6chj.js} +18 -15
- package/dist/highstate.manifest.json +4 -4
- package/dist/index.js +7350 -3514
- package/dist/library/package-resolution-worker.js +121 -10
- package/dist/library/worker/main.js +31 -17
- package/dist/shared/index.js +254 -4
- package/package.json +19 -20
- package/prisma/backend/_schema/object.prisma +12 -0
- package/prisma/backend/sqlite/migrations/20260222113554_add_object_tracking/migration.sql +7 -0
- package/prisma/project/artifact.prisma +3 -0
- package/prisma/project/entity.prisma +125 -0
- package/prisma/project/instance.prisma +6 -0
- package/prisma/project/migrations/20260301210131_add_entity_tracking/migration.sql +70 -0
- package/prisma/project/migrations/20260302212734_add_resource_hooks_flag/migration.sql +1 -0
- package/prisma/project/operation.prisma +3 -0
- package/src/artifact/factory.ts +3 -2
- package/src/business/artifact.test.ts +22 -2
- package/src/business/artifact.ts +7 -1
- package/src/business/entity-snapshot.test.ts +684 -0
- package/src/business/entity-snapshot.ts +904 -0
- package/src/business/evaluation.test.ts +56 -0
- package/src/business/evaluation.ts +102 -22
- package/src/business/global-search.test.ts +344 -0
- package/src/business/global-search.ts +902 -0
- package/src/business/index.ts +4 -0
- package/src/business/instance-lock.ts +58 -74
- package/src/business/instance-state.test.ts +15 -1
- package/src/business/instance-state.ts +37 -14
- package/src/business/object-ref-index.test.ts +140 -0
- package/src/business/object-ref-index.ts +193 -0
- package/src/business/operation.test.ts +15 -1
- package/src/business/operation.ts +4 -0
- package/src/business/project-model.ts +154 -13
- package/src/business/project-unlock.ts +25 -2
- package/src/business/project.ts +9 -0
- package/src/business/secret.test.ts +35 -2
- package/src/business/secret.ts +32 -9
- package/src/business/settings.ts +761 -0
- package/src/business/unit-output.test.ts +477 -0
- package/src/business/unit-output.ts +461 -0
- package/src/business/worker.ts +55 -4
- package/src/database/_generated/backend/postgresql/browser.ts +6 -0
- package/src/database/_generated/backend/postgresql/client.ts +6 -0
- package/src/database/_generated/backend/postgresql/internal/class.ts +23 -5
- package/src/database/_generated/backend/postgresql/internal/prismaNamespace.ts +89 -5
- package/src/database/_generated/backend/postgresql/internal/prismaNamespaceBrowser.ts +9 -0
- package/src/database/_generated/backend/postgresql/models/Object.ts +1076 -0
- package/src/database/_generated/backend/postgresql/models.ts +1 -0
- package/src/database/_generated/backend/sqlite/browser.ts +6 -0
- package/src/database/_generated/backend/sqlite/client.ts +6 -0
- package/src/database/_generated/backend/sqlite/internal/class.ts +23 -5
- package/src/database/_generated/backend/sqlite/internal/prismaNamespace.ts +89 -5
- package/src/database/_generated/backend/sqlite/internal/prismaNamespaceBrowser.ts +9 -0
- package/src/database/_generated/backend/sqlite/models/Object.ts +1074 -0
- package/src/database/_generated/backend/sqlite/models.ts +1 -0
- package/src/database/_generated/project/browser.ts +23 -0
- package/src/database/_generated/project/client.ts +23 -0
- package/src/database/_generated/project/commonInputTypes.ts +87 -53
- package/src/database/_generated/project/enums.ts +8 -0
- package/src/database/_generated/project/internal/class.ts +53 -5
- package/src/database/_generated/project/internal/prismaNamespace.ts +367 -13
- package/src/database/_generated/project/internal/prismaNamespaceBrowser.ts +48 -1
- package/src/database/_generated/project/models/Artifact.ts +199 -11
- package/src/database/_generated/project/models/Entity.ts +1274 -0
- package/src/database/_generated/project/models/EntitySnapshot.ts +2389 -0
- package/src/database/_generated/project/models/EntitySnapshotContent.ts +1260 -0
- package/src/database/_generated/project/models/EntitySnapshotReference.ts +1449 -0
- package/src/database/_generated/project/models/InstanceState.ts +361 -1
- package/src/database/_generated/project/models/Operation.ts +148 -3
- package/src/database/_generated/project/models/OperationLog.ts +0 -4
- package/src/database/_generated/project/models.ts +4 -0
- package/src/database/migration.ts +3 -0
- package/src/library/find-package-json.test.ts +77 -0
- package/src/library/find-package-json.ts +149 -0
- package/src/library/package-resolution-worker.ts +7 -3
- package/src/library/worker/evaluator.ts +7 -1
- package/src/orchestrator/manager.ts +7 -0
- package/src/orchestrator/operation-context.captured-outputs.test.ts +118 -0
- package/src/orchestrator/operation-context.ts +154 -16
- package/src/orchestrator/operation-plan.destroy.test.md +33 -12
- package/src/orchestrator/operation-plan.destroy.test.ts +140 -2
- package/src/orchestrator/operation-plan.fixtures.ts +2 -0
- package/src/orchestrator/operation-plan.md +4 -1
- package/src/orchestrator/operation-plan.ts +286 -92
- package/src/orchestrator/operation-plan.update.test.md +286 -11
- package/src/orchestrator/operation-plan.update.test.ts +656 -5
- package/src/orchestrator/operation-workset.ts +72 -22
- package/src/orchestrator/operation.cancel.test.ts +4 -0
- package/src/orchestrator/operation.composite.test.ts +341 -0
- package/src/orchestrator/operation.destroy.test.ts +4 -0
- package/src/orchestrator/operation.output-validation.failure.test.ts +124 -0
- package/src/orchestrator/operation.preview.test.ts +4 -0
- package/src/orchestrator/operation.refresh.test.ts +4 -0
- package/src/orchestrator/operation.test-utils.ts +52 -13
- package/src/orchestrator/operation.ts +230 -68
- package/src/orchestrator/operation.update.failure.test.ts +4 -0
- package/src/orchestrator/operation.update.skip.test.ts +196 -0
- package/src/orchestrator/operation.update.test.ts +4 -0
- package/src/orchestrator/plan-test-builder.ts +1 -0
- package/src/orchestrator/unit-input-values.test.ts +450 -0
- package/src/orchestrator/unit-input-values.ts +281 -0
- package/src/pubsub/manager.ts +3 -0
- package/src/runner/abstractions.ts +23 -54
- package/src/runner/factory.ts +3 -3
- package/src/runner/force-abort.ts +7 -2
- package/src/runner/local.ts +116 -87
- package/src/runner/pulumi.ts +3 -5
- package/src/services.ts +53 -2
- package/src/shared/models/prisma.ts +1 -0
- package/src/shared/models/project/entity.ts +121 -0
- package/src/shared/models/project/index.ts +1 -0
- package/src/shared/models/project/operation.ts +61 -3
- package/src/shared/models/project/state.ts +10 -0
- package/src/shared/models/project/worker.ts +7 -0
- package/src/shared/resolvers/effective-output-type.test.ts +494 -0
- package/src/shared/resolvers/effective-output-type.ts +162 -0
- package/src/shared/resolvers/index.ts +1 -0
- package/src/shared/resolvers/input.ts +59 -9
- package/src/shared/utils/index.ts +1 -0
- package/src/shared/utils/stable-json.ts +41 -0
- package/src/terminal/manager.ts +6 -0
- package/src/terminal/run.sh.ts +9 -4
- package/src/worker/manager.ts +97 -1
- package/LICENSE +0 -21
- package/dist/chunk-I7BWSAN6.js +0 -49
- package/dist/chunk-I7BWSAN6.js.map +0 -1
- package/dist/chunk-V2NILDHS.js.map +0 -1
- package/dist/chunk-X2WG3WGL.js.map +0 -1
- package/dist/index.js.map +0 -1
- package/dist/library/package-resolution-worker.js.map +0 -1
- package/dist/library/worker/main.js.map +0 -1
- package/dist/shared/index.js.map +0 -1
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
*/
|
|
11
11
|
export type * from './models/UserWorkspaceLayout.ts'
|
|
12
12
|
export type * from './models/Library.ts'
|
|
13
|
+
export type * from './models/Object.ts'
|
|
13
14
|
export type * from './models/Project.ts'
|
|
14
15
|
export type * from './models/ProjectSpace.ts'
|
|
15
16
|
export type * from './models/ProjectModelStorage.ts'
|
|
@@ -44,6 +44,29 @@ export type Artifact = Prisma.ArtifactModel
|
|
|
44
44
|
*
|
|
45
45
|
*/
|
|
46
46
|
export type InstanceCustomStatus = Prisma.InstanceCustomStatusModel
|
|
47
|
+
/**
|
|
48
|
+
* Model Entity
|
|
49
|
+
* This model represents and instance of Highstate entity produced by one or many component instances one or many times.
|
|
50
|
+
* Entity tracks EntitySnapshots by their unique IDs allowing to correlate them across different operations and instances.
|
|
51
|
+
* Entities also can be tracked globally across different projects by referencing them in the Object model at the backend level.
|
|
52
|
+
*/
|
|
53
|
+
export type Entity = Prisma.EntityModel
|
|
54
|
+
/**
|
|
55
|
+
* Model EntitySnapshot
|
|
56
|
+
* This model represents an immutable snapshot of an entity at a certain point of time
|
|
57
|
+
* provide by some component instance during an operation.
|
|
58
|
+
*/
|
|
59
|
+
export type EntitySnapshot = Prisma.EntitySnapshotModel
|
|
60
|
+
/**
|
|
61
|
+
* Model EntitySnapshotReference
|
|
62
|
+
*
|
|
63
|
+
*/
|
|
64
|
+
export type EntitySnapshotReference = Prisma.EntitySnapshotReferenceModel
|
|
65
|
+
/**
|
|
66
|
+
* Model EntitySnapshotContent
|
|
67
|
+
*
|
|
68
|
+
*/
|
|
69
|
+
export type EntitySnapshotContent = Prisma.EntitySnapshotContentModel
|
|
47
70
|
/**
|
|
48
71
|
* Model InstanceEvaluationState
|
|
49
72
|
* The evaluation state tracks the result of evaluating composite instances to produce virtual instances.
|
|
@@ -66,6 +66,29 @@ export type Artifact = Prisma.ArtifactModel
|
|
|
66
66
|
*
|
|
67
67
|
*/
|
|
68
68
|
export type InstanceCustomStatus = Prisma.InstanceCustomStatusModel
|
|
69
|
+
/**
|
|
70
|
+
* Model Entity
|
|
71
|
+
* This model represents and instance of Highstate entity produced by one or many component instances one or many times.
|
|
72
|
+
* Entity tracks EntitySnapshots by their unique IDs allowing to correlate them across different operations and instances.
|
|
73
|
+
* Entities also can be tracked globally across different projects by referencing them in the Object model at the backend level.
|
|
74
|
+
*/
|
|
75
|
+
export type Entity = Prisma.EntityModel
|
|
76
|
+
/**
|
|
77
|
+
* Model EntitySnapshot
|
|
78
|
+
* This model represents an immutable snapshot of an entity at a certain point of time
|
|
79
|
+
* provide by some component instance during an operation.
|
|
80
|
+
*/
|
|
81
|
+
export type EntitySnapshot = Prisma.EntitySnapshotModel
|
|
82
|
+
/**
|
|
83
|
+
* Model EntitySnapshotReference
|
|
84
|
+
*
|
|
85
|
+
*/
|
|
86
|
+
export type EntitySnapshotReference = Prisma.EntitySnapshotReferenceModel
|
|
87
|
+
/**
|
|
88
|
+
* Model EntitySnapshotContent
|
|
89
|
+
*
|
|
90
|
+
*/
|
|
91
|
+
export type EntitySnapshotContent = Prisma.EntitySnapshotContentModel
|
|
69
92
|
/**
|
|
70
93
|
* Model InstanceEvaluationState
|
|
71
94
|
* The evaluation state tracks the result of evaluating composite instances to produce virtual instances.
|
|
@@ -174,11 +174,21 @@ export type StringNullableWithAggregatesFilter<$PrismaModel = never> = {
|
|
|
174
174
|
_max?: Prisma.NestedStringNullableFilter<$PrismaModel>
|
|
175
175
|
}
|
|
176
176
|
|
|
177
|
-
export type
|
|
178
|
-
equals?: $Enums.
|
|
179
|
-
in?: $Enums.
|
|
180
|
-
notIn?: $Enums.
|
|
181
|
-
not?: Prisma.
|
|
177
|
+
export type EnumEntityReferenceKindFilter<$PrismaModel = never> = {
|
|
178
|
+
equals?: $Enums.EntityReferenceKind | Prisma.EnumEntityReferenceKindFieldRefInput<$PrismaModel>
|
|
179
|
+
in?: $Enums.EntityReferenceKind[]
|
|
180
|
+
notIn?: $Enums.EntityReferenceKind[]
|
|
181
|
+
not?: Prisma.NestedEnumEntityReferenceKindFilter<$PrismaModel> | $Enums.EntityReferenceKind
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
export type EnumEntityReferenceKindWithAggregatesFilter<$PrismaModel = never> = {
|
|
185
|
+
equals?: $Enums.EntityReferenceKind | Prisma.EnumEntityReferenceKindFieldRefInput<$PrismaModel>
|
|
186
|
+
in?: $Enums.EntityReferenceKind[]
|
|
187
|
+
notIn?: $Enums.EntityReferenceKind[]
|
|
188
|
+
not?: Prisma.NestedEnumEntityReferenceKindWithAggregatesFilter<$PrismaModel> | $Enums.EntityReferenceKind
|
|
189
|
+
_count?: Prisma.NestedIntFilter<$PrismaModel>
|
|
190
|
+
_min?: Prisma.NestedEnumEntityReferenceKindFilter<$PrismaModel>
|
|
191
|
+
_max?: Prisma.NestedEnumEntityReferenceKindFilter<$PrismaModel>
|
|
182
192
|
}
|
|
183
193
|
|
|
184
194
|
export type JsonNullableFilter<$PrismaModel = never> =
|
|
@@ -200,16 +210,6 @@ export type JsonNullableFilterBase<$PrismaModel = never> = {
|
|
|
200
210
|
not?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> | Prisma.JsonNullValueFilter
|
|
201
211
|
}
|
|
202
212
|
|
|
203
|
-
export type EnumInstanceEvaluationStatusWithAggregatesFilter<$PrismaModel = never> = {
|
|
204
|
-
equals?: $Enums.InstanceEvaluationStatus | Prisma.EnumInstanceEvaluationStatusFieldRefInput<$PrismaModel>
|
|
205
|
-
in?: $Enums.InstanceEvaluationStatus[]
|
|
206
|
-
notIn?: $Enums.InstanceEvaluationStatus[]
|
|
207
|
-
not?: Prisma.NestedEnumInstanceEvaluationStatusWithAggregatesFilter<$PrismaModel> | $Enums.InstanceEvaluationStatus
|
|
208
|
-
_count?: Prisma.NestedIntFilter<$PrismaModel>
|
|
209
|
-
_min?: Prisma.NestedEnumInstanceEvaluationStatusFilter<$PrismaModel>
|
|
210
|
-
_max?: Prisma.NestedEnumInstanceEvaluationStatusFilter<$PrismaModel>
|
|
211
|
-
}
|
|
212
|
-
|
|
213
213
|
export type JsonNullableWithAggregatesFilter<$PrismaModel = never> =
|
|
214
214
|
| Prisma.PatchUndefined<
|
|
215
215
|
Prisma.Either<Required<JsonNullableWithAggregatesFilterBase<$PrismaModel>>, Exclude<keyof Required<JsonNullableWithAggregatesFilterBase<$PrismaModel>>, 'path'>>,
|
|
@@ -232,6 +232,23 @@ export type JsonNullableWithAggregatesFilterBase<$PrismaModel = never> = {
|
|
|
232
232
|
_max?: Prisma.NestedJsonNullableFilter<$PrismaModel>
|
|
233
233
|
}
|
|
234
234
|
|
|
235
|
+
export type EnumInstanceEvaluationStatusFilter<$PrismaModel = never> = {
|
|
236
|
+
equals?: $Enums.InstanceEvaluationStatus | Prisma.EnumInstanceEvaluationStatusFieldRefInput<$PrismaModel>
|
|
237
|
+
in?: $Enums.InstanceEvaluationStatus[]
|
|
238
|
+
notIn?: $Enums.InstanceEvaluationStatus[]
|
|
239
|
+
not?: Prisma.NestedEnumInstanceEvaluationStatusFilter<$PrismaModel> | $Enums.InstanceEvaluationStatus
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
export type EnumInstanceEvaluationStatusWithAggregatesFilter<$PrismaModel = never> = {
|
|
243
|
+
equals?: $Enums.InstanceEvaluationStatus | Prisma.EnumInstanceEvaluationStatusFieldRefInput<$PrismaModel>
|
|
244
|
+
in?: $Enums.InstanceEvaluationStatus[]
|
|
245
|
+
notIn?: $Enums.InstanceEvaluationStatus[]
|
|
246
|
+
not?: Prisma.NestedEnumInstanceEvaluationStatusWithAggregatesFilter<$PrismaModel> | $Enums.InstanceEvaluationStatus
|
|
247
|
+
_count?: Prisma.NestedIntFilter<$PrismaModel>
|
|
248
|
+
_min?: Prisma.NestedEnumInstanceEvaluationStatusFilter<$PrismaModel>
|
|
249
|
+
_max?: Prisma.NestedEnumInstanceEvaluationStatusFilter<$PrismaModel>
|
|
250
|
+
}
|
|
251
|
+
|
|
235
252
|
export type EnumInstanceStatusFilter<$PrismaModel = never> = {
|
|
236
253
|
equals?: $Enums.InstanceStatus | Prisma.EnumInstanceStatusFieldRefInput<$PrismaModel>
|
|
237
254
|
in?: $Enums.InstanceStatus[]
|
|
@@ -257,6 +274,11 @@ export type IntNullableFilter<$PrismaModel = never> = {
|
|
|
257
274
|
not?: Prisma.NestedIntNullableFilter<$PrismaModel> | number | null
|
|
258
275
|
}
|
|
259
276
|
|
|
277
|
+
export type BoolFilter<$PrismaModel = never> = {
|
|
278
|
+
equals?: boolean | Prisma.BooleanFieldRefInput<$PrismaModel>
|
|
279
|
+
not?: Prisma.NestedBoolFilter<$PrismaModel> | boolean
|
|
280
|
+
}
|
|
281
|
+
|
|
260
282
|
export type EnumInstanceStatusWithAggregatesFilter<$PrismaModel = never> = {
|
|
261
283
|
equals?: $Enums.InstanceStatus | Prisma.EnumInstanceStatusFieldRefInput<$PrismaModel>
|
|
262
284
|
in?: $Enums.InstanceStatus[]
|
|
@@ -293,6 +315,14 @@ export type IntNullableWithAggregatesFilter<$PrismaModel = never> = {
|
|
|
293
315
|
_max?: Prisma.NestedIntNullableFilter<$PrismaModel>
|
|
294
316
|
}
|
|
295
317
|
|
|
318
|
+
export type BoolWithAggregatesFilter<$PrismaModel = never> = {
|
|
319
|
+
equals?: boolean | Prisma.BooleanFieldRefInput<$PrismaModel>
|
|
320
|
+
not?: Prisma.NestedBoolWithAggregatesFilter<$PrismaModel> | boolean
|
|
321
|
+
_count?: Prisma.NestedIntFilter<$PrismaModel>
|
|
322
|
+
_min?: Prisma.NestedBoolFilter<$PrismaModel>
|
|
323
|
+
_max?: Prisma.NestedBoolFilter<$PrismaModel>
|
|
324
|
+
}
|
|
325
|
+
|
|
296
326
|
export type EnumOperationTypeFilter<$PrismaModel = never> = {
|
|
297
327
|
equals?: $Enums.OperationType | Prisma.EnumOperationTypeFieldRefInput<$PrismaModel>
|
|
298
328
|
in?: $Enums.OperationType[]
|
|
@@ -369,19 +399,6 @@ export type EnumInstanceOperationStatusWithAggregatesFilter<$PrismaModel = never
|
|
|
369
399
|
_max?: Prisma.NestedEnumInstanceOperationStatusFilter<$PrismaModel>
|
|
370
400
|
}
|
|
371
401
|
|
|
372
|
-
export type BoolFilter<$PrismaModel = never> = {
|
|
373
|
-
equals?: boolean | Prisma.BooleanFieldRefInput<$PrismaModel>
|
|
374
|
-
not?: Prisma.NestedBoolFilter<$PrismaModel> | boolean
|
|
375
|
-
}
|
|
376
|
-
|
|
377
|
-
export type BoolWithAggregatesFilter<$PrismaModel = never> = {
|
|
378
|
-
equals?: boolean | Prisma.BooleanFieldRefInput<$PrismaModel>
|
|
379
|
-
not?: Prisma.NestedBoolWithAggregatesFilter<$PrismaModel> | boolean
|
|
380
|
-
_count?: Prisma.NestedIntFilter<$PrismaModel>
|
|
381
|
-
_min?: Prisma.NestedBoolFilter<$PrismaModel>
|
|
382
|
-
_max?: Prisma.NestedBoolFilter<$PrismaModel>
|
|
383
|
-
}
|
|
384
|
-
|
|
385
402
|
export type EnumTerminalStatusFilter<$PrismaModel = never> = {
|
|
386
403
|
equals?: $Enums.TerminalStatus | Prisma.EnumTerminalStatusFieldRefInput<$PrismaModel>
|
|
387
404
|
in?: $Enums.TerminalStatus[]
|
|
@@ -588,21 +605,21 @@ export type NestedIntNullableFilter<$PrismaModel = never> = {
|
|
|
588
605
|
not?: Prisma.NestedIntNullableFilter<$PrismaModel> | number | null
|
|
589
606
|
}
|
|
590
607
|
|
|
591
|
-
export type
|
|
592
|
-
equals?: $Enums.
|
|
593
|
-
in?: $Enums.
|
|
594
|
-
notIn?: $Enums.
|
|
595
|
-
not?: Prisma.
|
|
608
|
+
export type NestedEnumEntityReferenceKindFilter<$PrismaModel = never> = {
|
|
609
|
+
equals?: $Enums.EntityReferenceKind | Prisma.EnumEntityReferenceKindFieldRefInput<$PrismaModel>
|
|
610
|
+
in?: $Enums.EntityReferenceKind[]
|
|
611
|
+
notIn?: $Enums.EntityReferenceKind[]
|
|
612
|
+
not?: Prisma.NestedEnumEntityReferenceKindFilter<$PrismaModel> | $Enums.EntityReferenceKind
|
|
596
613
|
}
|
|
597
614
|
|
|
598
|
-
export type
|
|
599
|
-
equals?: $Enums.
|
|
600
|
-
in?: $Enums.
|
|
601
|
-
notIn?: $Enums.
|
|
602
|
-
not?: Prisma.
|
|
615
|
+
export type NestedEnumEntityReferenceKindWithAggregatesFilter<$PrismaModel = never> = {
|
|
616
|
+
equals?: $Enums.EntityReferenceKind | Prisma.EnumEntityReferenceKindFieldRefInput<$PrismaModel>
|
|
617
|
+
in?: $Enums.EntityReferenceKind[]
|
|
618
|
+
notIn?: $Enums.EntityReferenceKind[]
|
|
619
|
+
not?: Prisma.NestedEnumEntityReferenceKindWithAggregatesFilter<$PrismaModel> | $Enums.EntityReferenceKind
|
|
603
620
|
_count?: Prisma.NestedIntFilter<$PrismaModel>
|
|
604
|
-
_min?: Prisma.
|
|
605
|
-
_max?: Prisma.
|
|
621
|
+
_min?: Prisma.NestedEnumEntityReferenceKindFilter<$PrismaModel>
|
|
622
|
+
_max?: Prisma.NestedEnumEntityReferenceKindFilter<$PrismaModel>
|
|
606
623
|
}
|
|
607
624
|
|
|
608
625
|
export type NestedJsonNullableFilter<$PrismaModel = never> =
|
|
@@ -624,6 +641,23 @@ export type NestedJsonNullableFilterBase<$PrismaModel = never> = {
|
|
|
624
641
|
not?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> | Prisma.JsonNullValueFilter
|
|
625
642
|
}
|
|
626
643
|
|
|
644
|
+
export type NestedEnumInstanceEvaluationStatusFilter<$PrismaModel = never> = {
|
|
645
|
+
equals?: $Enums.InstanceEvaluationStatus | Prisma.EnumInstanceEvaluationStatusFieldRefInput<$PrismaModel>
|
|
646
|
+
in?: $Enums.InstanceEvaluationStatus[]
|
|
647
|
+
notIn?: $Enums.InstanceEvaluationStatus[]
|
|
648
|
+
not?: Prisma.NestedEnumInstanceEvaluationStatusFilter<$PrismaModel> | $Enums.InstanceEvaluationStatus
|
|
649
|
+
}
|
|
650
|
+
|
|
651
|
+
export type NestedEnumInstanceEvaluationStatusWithAggregatesFilter<$PrismaModel = never> = {
|
|
652
|
+
equals?: $Enums.InstanceEvaluationStatus | Prisma.EnumInstanceEvaluationStatusFieldRefInput<$PrismaModel>
|
|
653
|
+
in?: $Enums.InstanceEvaluationStatus[]
|
|
654
|
+
notIn?: $Enums.InstanceEvaluationStatus[]
|
|
655
|
+
not?: Prisma.NestedEnumInstanceEvaluationStatusWithAggregatesFilter<$PrismaModel> | $Enums.InstanceEvaluationStatus
|
|
656
|
+
_count?: Prisma.NestedIntFilter<$PrismaModel>
|
|
657
|
+
_min?: Prisma.NestedEnumInstanceEvaluationStatusFilter<$PrismaModel>
|
|
658
|
+
_max?: Prisma.NestedEnumInstanceEvaluationStatusFilter<$PrismaModel>
|
|
659
|
+
}
|
|
660
|
+
|
|
627
661
|
export type NestedEnumInstanceStatusFilter<$PrismaModel = never> = {
|
|
628
662
|
equals?: $Enums.InstanceStatus | Prisma.EnumInstanceStatusFieldRefInput<$PrismaModel>
|
|
629
663
|
in?: $Enums.InstanceStatus[]
|
|
@@ -638,6 +672,11 @@ export type NestedEnumInstanceSourceFilter<$PrismaModel = never> = {
|
|
|
638
672
|
not?: Prisma.NestedEnumInstanceSourceFilter<$PrismaModel> | $Enums.InstanceSource
|
|
639
673
|
}
|
|
640
674
|
|
|
675
|
+
export type NestedBoolFilter<$PrismaModel = never> = {
|
|
676
|
+
equals?: boolean | Prisma.BooleanFieldRefInput<$PrismaModel>
|
|
677
|
+
not?: Prisma.NestedBoolFilter<$PrismaModel> | boolean
|
|
678
|
+
}
|
|
679
|
+
|
|
641
680
|
export type NestedEnumInstanceStatusWithAggregatesFilter<$PrismaModel = never> = {
|
|
642
681
|
equals?: $Enums.InstanceStatus | Prisma.EnumInstanceStatusFieldRefInput<$PrismaModel>
|
|
643
682
|
in?: $Enums.InstanceStatus[]
|
|
@@ -685,6 +724,14 @@ export type NestedFloatNullableFilter<$PrismaModel = never> = {
|
|
|
685
724
|
not?: Prisma.NestedFloatNullableFilter<$PrismaModel> | number | null
|
|
686
725
|
}
|
|
687
726
|
|
|
727
|
+
export type NestedBoolWithAggregatesFilter<$PrismaModel = never> = {
|
|
728
|
+
equals?: boolean | Prisma.BooleanFieldRefInput<$PrismaModel>
|
|
729
|
+
not?: Prisma.NestedBoolWithAggregatesFilter<$PrismaModel> | boolean
|
|
730
|
+
_count?: Prisma.NestedIntFilter<$PrismaModel>
|
|
731
|
+
_min?: Prisma.NestedBoolFilter<$PrismaModel>
|
|
732
|
+
_max?: Prisma.NestedBoolFilter<$PrismaModel>
|
|
733
|
+
}
|
|
734
|
+
|
|
688
735
|
export type NestedEnumOperationTypeFilter<$PrismaModel = never> = {
|
|
689
736
|
equals?: $Enums.OperationType | Prisma.EnumOperationTypeFieldRefInput<$PrismaModel>
|
|
690
737
|
in?: $Enums.OperationType[]
|
|
@@ -761,19 +808,6 @@ export type NestedEnumInstanceOperationStatusWithAggregatesFilter<$PrismaModel =
|
|
|
761
808
|
_max?: Prisma.NestedEnumInstanceOperationStatusFilter<$PrismaModel>
|
|
762
809
|
}
|
|
763
810
|
|
|
764
|
-
export type NestedBoolFilter<$PrismaModel = never> = {
|
|
765
|
-
equals?: boolean | Prisma.BooleanFieldRefInput<$PrismaModel>
|
|
766
|
-
not?: Prisma.NestedBoolFilter<$PrismaModel> | boolean
|
|
767
|
-
}
|
|
768
|
-
|
|
769
|
-
export type NestedBoolWithAggregatesFilter<$PrismaModel = never> = {
|
|
770
|
-
equals?: boolean | Prisma.BooleanFieldRefInput<$PrismaModel>
|
|
771
|
-
not?: Prisma.NestedBoolWithAggregatesFilter<$PrismaModel> | boolean
|
|
772
|
-
_count?: Prisma.NestedIntFilter<$PrismaModel>
|
|
773
|
-
_min?: Prisma.NestedBoolFilter<$PrismaModel>
|
|
774
|
-
_max?: Prisma.NestedBoolFilter<$PrismaModel>
|
|
775
|
-
}
|
|
776
|
-
|
|
777
811
|
export type NestedEnumTerminalStatusFilter<$PrismaModel = never> = {
|
|
778
812
|
equals?: $Enums.TerminalStatus | Prisma.EnumTerminalStatusFieldRefInput<$PrismaModel>
|
|
779
813
|
in?: $Enums.TerminalStatus[]
|
|
@@ -9,6 +9,14 @@
|
|
|
9
9
|
* 🟢 You can import this file directly.
|
|
10
10
|
*/
|
|
11
11
|
|
|
12
|
+
export const EntityReferenceKind = {
|
|
13
|
+
explicit: 'explicit',
|
|
14
|
+
inclusion: 'inclusion'
|
|
15
|
+
} as const
|
|
16
|
+
|
|
17
|
+
export type EntityReferenceKind = (typeof EntityReferenceKind)[keyof typeof EntityReferenceKind]
|
|
18
|
+
|
|
19
|
+
|
|
12
20
|
export const InstanceEvaluationStatus = {
|
|
13
21
|
evaluating: 'evaluating',
|
|
14
22
|
evaluated: 'evaluated',
|