@highstate/backend 0.15.0 → 0.17.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 (37) hide show
  1. package/dist/{chunk-4JUMOKLV.js → chunk-JT4KWE3B.js} +10 -8
  2. package/dist/chunk-JT4KWE3B.js.map +1 -0
  3. package/dist/{chunk-VB4YL327.js → chunk-X2WG3WGL.js} +9 -2
  4. package/dist/chunk-X2WG3WGL.js.map +1 -0
  5. package/dist/highstate.manifest.json +3 -3
  6. package/dist/index.js +72 -13
  7. package/dist/index.js.map +1 -1
  8. package/dist/library/worker/main.js +1 -1
  9. package/dist/shared/index.js +1 -1
  10. package/package.json +4 -14
  11. package/prisma/project/instance.prisma +12 -0
  12. package/prisma/project/migrations/20260123000000_add_instance_state_self_hash/migration.sql +2 -0
  13. package/src/business/instance-state.test.ts +1 -0
  14. package/src/business/instance-state.ts +3 -0
  15. package/src/common/utils.ts +9 -0
  16. package/src/database/_generated/project/internal/class.ts +5 -5
  17. package/src/database/_generated/project/internal/prismaNamespace.ts +1 -0
  18. package/src/database/_generated/project/internal/prismaNamespaceBrowser.ts +1 -0
  19. package/src/database/_generated/project/models/InstanceState.ts +107 -1
  20. package/src/database/abstractions.ts +1 -1
  21. package/src/orchestrator/operation.cancel.test.ts +112 -0
  22. package/src/orchestrator/operation.composite.test.ts +123 -0
  23. package/src/orchestrator/operation.destroy.test.ts +77 -0
  24. package/src/orchestrator/operation.preview.test.ts +95 -0
  25. package/src/orchestrator/operation.refresh.test.ts +77 -0
  26. package/src/orchestrator/operation.test-utils.ts +646 -0
  27. package/src/orchestrator/operation.ts +91 -3
  28. package/src/orchestrator/operation.update.failure.test.ts +88 -0
  29. package/src/orchestrator/operation.update.skip.test.ts +95 -0
  30. package/src/orchestrator/operation.update.test.ts +117 -0
  31. package/src/orchestrator/plan-test-builder.ts +1 -0
  32. package/src/runner/abstractions.ts +5 -0
  33. package/src/runner/local.ts +1 -0
  34. package/src/shared/resolvers/input-hash.ts +10 -6
  35. package/src/terminal/manager.ts +0 -3
  36. package/dist/chunk-4JUMOKLV.js.map +0 -1
  37. package/dist/chunk-VB4YL327.js.map +0 -1
@@ -29,6 +29,7 @@ export type AggregateInstanceState = {
29
29
 
30
30
  export type InstanceStateAvgAggregateOutputType = {
31
31
  inputHashNonce: number | null
32
+ selfHash: number | null
32
33
  inputHash: number | null
33
34
  outputHash: number | null
34
35
  dependencyOutputHash: number | null
@@ -37,6 +38,7 @@ export type InstanceStateAvgAggregateOutputType = {
37
38
 
38
39
  export type InstanceStateSumAggregateOutputType = {
39
40
  inputHashNonce: number | null
41
+ selfHash: number | null
40
42
  inputHash: number | null
41
43
  outputHash: number | null
42
44
  dependencyOutputHash: number | null
@@ -51,6 +53,7 @@ export type InstanceStateMinAggregateOutputType = {
51
53
  kind: string | null
52
54
  parentId: string | null
53
55
  inputHashNonce: number | null
56
+ selfHash: number | null
54
57
  inputHash: number | null
55
58
  outputHash: number | null
56
59
  dependencyOutputHash: number | null
@@ -65,6 +68,7 @@ export type InstanceStateMaxAggregateOutputType = {
65
68
  kind: string | null
66
69
  parentId: string | null
67
70
  inputHashNonce: number | null
71
+ selfHash: number | null
68
72
  inputHash: number | null
69
73
  outputHash: number | null
70
74
  dependencyOutputHash: number | null
@@ -79,6 +83,7 @@ export type InstanceStateCountAggregateOutputType = {
79
83
  kind: number
80
84
  parentId: number
81
85
  inputHashNonce: number
86
+ selfHash: number
82
87
  inputHash: number
83
88
  outputHash: number
84
89
  dependencyOutputHash: number
@@ -93,6 +98,7 @@ export type InstanceStateCountAggregateOutputType = {
93
98
 
94
99
  export type InstanceStateAvgAggregateInputType = {
95
100
  inputHashNonce?: true
101
+ selfHash?: true
96
102
  inputHash?: true
97
103
  outputHash?: true
98
104
  dependencyOutputHash?: true
@@ -101,6 +107,7 @@ export type InstanceStateAvgAggregateInputType = {
101
107
 
102
108
  export type InstanceStateSumAggregateInputType = {
103
109
  inputHashNonce?: true
110
+ selfHash?: true
104
111
  inputHash?: true
105
112
  outputHash?: true
106
113
  dependencyOutputHash?: true
@@ -115,6 +122,7 @@ export type InstanceStateMinAggregateInputType = {
115
122
  kind?: true
116
123
  parentId?: true
117
124
  inputHashNonce?: true
125
+ selfHash?: true
118
126
  inputHash?: true
119
127
  outputHash?: true
120
128
  dependencyOutputHash?: true
@@ -129,6 +137,7 @@ export type InstanceStateMaxAggregateInputType = {
129
137
  kind?: true
130
138
  parentId?: true
131
139
  inputHashNonce?: true
140
+ selfHash?: true
132
141
  inputHash?: true
133
142
  outputHash?: true
134
143
  dependencyOutputHash?: true
@@ -143,6 +152,7 @@ export type InstanceStateCountAggregateInputType = {
143
152
  kind?: true
144
153
  parentId?: true
145
154
  inputHashNonce?: true
155
+ selfHash?: true
146
156
  inputHash?: true
147
157
  outputHash?: true
148
158
  dependencyOutputHash?: true
@@ -248,6 +258,7 @@ export type InstanceStateGroupByOutputType = {
248
258
  kind:PrismaJson.InstanceKind
249
259
  parentId: string | null
250
260
  inputHashNonce: number | null
261
+ selfHash: number | null
251
262
  inputHash: number | null
252
263
  outputHash: number | null
253
264
  dependencyOutputHash: number | null
@@ -289,6 +300,7 @@ export type InstanceStateWhereInput = {
289
300
  kind?: Prisma.StringFilter<"InstanceState"> | string
290
301
  parentId?: Prisma.StringNullableFilter<"InstanceState"> | string | null
291
302
  inputHashNonce?: Prisma.IntNullableFilter<"InstanceState"> | number | null
303
+ selfHash?: Prisma.IntNullableFilter<"InstanceState"> | number | null
292
304
  inputHash?: Prisma.IntNullableFilter<"InstanceState"> | number | null
293
305
  outputHash?: Prisma.IntNullableFilter<"InstanceState"> | number | null
294
306
  dependencyOutputHash?: Prisma.IntNullableFilter<"InstanceState"> | number | null
@@ -321,6 +333,7 @@ export type InstanceStateOrderByWithRelationInput = {
321
333
  kind?: Prisma.SortOrder
322
334
  parentId?: Prisma.SortOrderInput | Prisma.SortOrder
323
335
  inputHashNonce?: Prisma.SortOrderInput | Prisma.SortOrder
336
+ selfHash?: Prisma.SortOrderInput | Prisma.SortOrder
324
337
  inputHash?: Prisma.SortOrderInput | Prisma.SortOrder
325
338
  outputHash?: Prisma.SortOrderInput | Prisma.SortOrder
326
339
  dependencyOutputHash?: Prisma.SortOrderInput | Prisma.SortOrder
@@ -356,6 +369,7 @@ export type InstanceStateWhereUniqueInput = Prisma.AtLeast<{
356
369
  kind?: Prisma.StringFilter<"InstanceState"> | string
357
370
  parentId?: Prisma.StringNullableFilter<"InstanceState"> | string | null
358
371
  inputHashNonce?: Prisma.IntNullableFilter<"InstanceState"> | number | null
372
+ selfHash?: Prisma.IntNullableFilter<"InstanceState"> | number | null
359
373
  inputHash?: Prisma.IntNullableFilter<"InstanceState"> | number | null
360
374
  outputHash?: Prisma.IntNullableFilter<"InstanceState"> | number | null
361
375
  dependencyOutputHash?: Prisma.IntNullableFilter<"InstanceState"> | number | null
@@ -388,6 +402,7 @@ export type InstanceStateOrderByWithAggregationInput = {
388
402
  kind?: Prisma.SortOrder
389
403
  parentId?: Prisma.SortOrderInput | Prisma.SortOrder
390
404
  inputHashNonce?: Prisma.SortOrderInput | Prisma.SortOrder
405
+ selfHash?: Prisma.SortOrderInput | Prisma.SortOrder
391
406
  inputHash?: Prisma.SortOrderInput | Prisma.SortOrder
392
407
  outputHash?: Prisma.SortOrderInput | Prisma.SortOrder
393
408
  dependencyOutputHash?: Prisma.SortOrderInput | Prisma.SortOrder
@@ -414,6 +429,7 @@ export type InstanceStateScalarWhereWithAggregatesInput = {
414
429
  kind?: Prisma.StringWithAggregatesFilter<"InstanceState"> | string
415
430
  parentId?: Prisma.StringNullableWithAggregatesFilter<"InstanceState"> | string | null
416
431
  inputHashNonce?: Prisma.IntNullableWithAggregatesFilter<"InstanceState"> | number | null
432
+ selfHash?: Prisma.IntNullableWithAggregatesFilter<"InstanceState"> | number | null
417
433
  inputHash?: Prisma.IntNullableWithAggregatesFilter<"InstanceState"> | number | null
418
434
  outputHash?: Prisma.IntNullableWithAggregatesFilter<"InstanceState"> | number | null
419
435
  dependencyOutputHash?: Prisma.IntNullableWithAggregatesFilter<"InstanceState"> | number | null
@@ -431,6 +447,7 @@ export type InstanceStateCreateInput = {
431
447
  source: $Enums.InstanceSource
432
448
  kind:PrismaJson.InstanceKind
433
449
  inputHashNonce?: number | null
450
+ selfHash?: number | null
434
451
  inputHash?: number | null
435
452
  outputHash?: number | null
436
453
  dependencyOutputHash?: number | null
@@ -463,6 +480,7 @@ export type InstanceStateUncheckedCreateInput = {
463
480
  kind:PrismaJson.InstanceKind
464
481
  parentId?: string | null
465
482
  inputHashNonce?: number | null
483
+ selfHash?: number | null
466
484
  inputHash?: number | null
467
485
  outputHash?: number | null
468
486
  dependencyOutputHash?: number | null
@@ -493,6 +511,7 @@ export type InstanceStateUpdateInput = {
493
511
  source?: Prisma.EnumInstanceSourceFieldUpdateOperationsInput | $Enums.InstanceSource
494
512
  kind?: Prisma.StringFieldUpdateOperationsInput | string
495
513
  inputHashNonce?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
514
+ selfHash?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
496
515
  inputHash?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
497
516
  outputHash?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
498
517
  dependencyOutputHash?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
@@ -525,6 +544,7 @@ export type InstanceStateUncheckedUpdateInput = {
525
544
  kind?: Prisma.StringFieldUpdateOperationsInput | string
526
545
  parentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
527
546
  inputHashNonce?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
547
+ selfHash?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
528
548
  inputHash?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
529
549
  outputHash?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
530
550
  dependencyOutputHash?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
@@ -556,6 +576,7 @@ export type InstanceStateCreateManyInput = {
556
576
  kind:PrismaJson.InstanceKind
557
577
  parentId?: string | null
558
578
  inputHashNonce?: number | null
579
+ selfHash?: number | null
559
580
  inputHash?: number | null
560
581
  outputHash?: number | null
561
582
  dependencyOutputHash?: number | null
@@ -573,6 +594,7 @@ export type InstanceStateUpdateManyMutationInput = {
573
594
  source?: Prisma.EnumInstanceSourceFieldUpdateOperationsInput | $Enums.InstanceSource
574
595
  kind?: Prisma.StringFieldUpdateOperationsInput | string
575
596
  inputHashNonce?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
597
+ selfHash?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
576
598
  inputHash?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
577
599
  outputHash?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
578
600
  dependencyOutputHash?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
@@ -591,6 +613,7 @@ export type InstanceStateUncheckedUpdateManyInput = {
591
613
  kind?: Prisma.StringFieldUpdateOperationsInput | string
592
614
  parentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
593
615
  inputHashNonce?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
616
+ selfHash?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
594
617
  inputHash?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
595
618
  outputHash?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
596
619
  dependencyOutputHash?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
@@ -629,6 +652,7 @@ export type InstanceStateCountOrderByAggregateInput = {
629
652
  kind?: Prisma.SortOrder
630
653
  parentId?: Prisma.SortOrder
631
654
  inputHashNonce?: Prisma.SortOrder
655
+ selfHash?: Prisma.SortOrder
632
656
  inputHash?: Prisma.SortOrder
633
657
  outputHash?: Prisma.SortOrder
634
658
  dependencyOutputHash?: Prisma.SortOrder
@@ -641,6 +665,7 @@ export type InstanceStateCountOrderByAggregateInput = {
641
665
 
642
666
  export type InstanceStateAvgOrderByAggregateInput = {
643
667
  inputHashNonce?: Prisma.SortOrder
668
+ selfHash?: Prisma.SortOrder
644
669
  inputHash?: Prisma.SortOrder
645
670
  outputHash?: Prisma.SortOrder
646
671
  dependencyOutputHash?: Prisma.SortOrder
@@ -655,6 +680,7 @@ export type InstanceStateMaxOrderByAggregateInput = {
655
680
  kind?: Prisma.SortOrder
656
681
  parentId?: Prisma.SortOrder
657
682
  inputHashNonce?: Prisma.SortOrder
683
+ selfHash?: Prisma.SortOrder
658
684
  inputHash?: Prisma.SortOrder
659
685
  outputHash?: Prisma.SortOrder
660
686
  dependencyOutputHash?: Prisma.SortOrder
@@ -669,6 +695,7 @@ export type InstanceStateMinOrderByAggregateInput = {
669
695
  kind?: Prisma.SortOrder
670
696
  parentId?: Prisma.SortOrder
671
697
  inputHashNonce?: Prisma.SortOrder
698
+ selfHash?: Prisma.SortOrder
672
699
  inputHash?: Prisma.SortOrder
673
700
  outputHash?: Prisma.SortOrder
674
701
  dependencyOutputHash?: Prisma.SortOrder
@@ -677,6 +704,7 @@ export type InstanceStateMinOrderByAggregateInput = {
677
704
 
678
705
  export type InstanceStateSumOrderByAggregateInput = {
679
706
  inputHashNonce?: Prisma.SortOrder
707
+ selfHash?: Prisma.SortOrder
680
708
  inputHash?: Prisma.SortOrder
681
709
  outputHash?: Prisma.SortOrder
682
710
  dependencyOutputHash?: Prisma.SortOrder
@@ -964,6 +992,7 @@ export type InstanceStateCreateWithoutArtifactsInput = {
964
992
  source: $Enums.InstanceSource
965
993
  kind:PrismaJson.InstanceKind
966
994
  inputHashNonce?: number | null
995
+ selfHash?: number | null
967
996
  inputHash?: number | null
968
997
  outputHash?: number | null
969
998
  dependencyOutputHash?: number | null
@@ -995,6 +1024,7 @@ export type InstanceStateUncheckedCreateWithoutArtifactsInput = {
995
1024
  kind:PrismaJson.InstanceKind
996
1025
  parentId?: string | null
997
1026
  inputHashNonce?: number | null
1027
+ selfHash?: number | null
998
1028
  inputHash?: number | null
999
1029
  outputHash?: number | null
1000
1030
  dependencyOutputHash?: number | null
@@ -1049,6 +1079,7 @@ export type InstanceStateScalarWhereInput = {
1049
1079
  kind?: Prisma.StringFilter<"InstanceState"> | string
1050
1080
  parentId?: Prisma.StringNullableFilter<"InstanceState"> | string | null
1051
1081
  inputHashNonce?: Prisma.IntNullableFilter<"InstanceState"> | number | null
1082
+ selfHash?: Prisma.IntNullableFilter<"InstanceState"> | number | null
1052
1083
  inputHash?: Prisma.IntNullableFilter<"InstanceState"> | number | null
1053
1084
  outputHash?: Prisma.IntNullableFilter<"InstanceState"> | number | null
1054
1085
  dependencyOutputHash?: Prisma.IntNullableFilter<"InstanceState"> | number | null
@@ -1066,6 +1097,7 @@ export type InstanceStateCreateWithoutCustomStatusesInput = {
1066
1097
  source: $Enums.InstanceSource
1067
1098
  kind:PrismaJson.InstanceKind
1068
1099
  inputHashNonce?: number | null
1100
+ selfHash?: number | null
1069
1101
  inputHash?: number | null
1070
1102
  outputHash?: number | null
1071
1103
  dependencyOutputHash?: number | null
@@ -1097,6 +1129,7 @@ export type InstanceStateUncheckedCreateWithoutCustomStatusesInput = {
1097
1129
  kind:PrismaJson.InstanceKind
1098
1130
  parentId?: string | null
1099
1131
  inputHashNonce?: number | null
1132
+ selfHash?: number | null
1100
1133
  inputHash?: number | null
1101
1134
  outputHash?: number | null
1102
1135
  dependencyOutputHash?: number | null
@@ -1142,6 +1175,7 @@ export type InstanceStateUpdateWithoutCustomStatusesInput = {
1142
1175
  source?: Prisma.EnumInstanceSourceFieldUpdateOperationsInput | $Enums.InstanceSource
1143
1176
  kind?: Prisma.StringFieldUpdateOperationsInput | string
1144
1177
  inputHashNonce?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1178
+ selfHash?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1145
1179
  inputHash?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1146
1180
  outputHash?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1147
1181
  dependencyOutputHash?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
@@ -1173,6 +1207,7 @@ export type InstanceStateUncheckedUpdateWithoutCustomStatusesInput = {
1173
1207
  kind?: Prisma.StringFieldUpdateOperationsInput | string
1174
1208
  parentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1175
1209
  inputHashNonce?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1210
+ selfHash?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1176
1211
  inputHash?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1177
1212
  outputHash?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1178
1213
  dependencyOutputHash?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
@@ -1202,6 +1237,7 @@ export type InstanceStateCreateWithoutEvaluationStateInput = {
1202
1237
  source: $Enums.InstanceSource
1203
1238
  kind:PrismaJson.InstanceKind
1204
1239
  inputHashNonce?: number | null
1240
+ selfHash?: number | null
1205
1241
  inputHash?: number | null
1206
1242
  outputHash?: number | null
1207
1243
  dependencyOutputHash?: number | null
@@ -1233,6 +1269,7 @@ export type InstanceStateUncheckedCreateWithoutEvaluationStateInput = {
1233
1269
  kind:PrismaJson.InstanceKind
1234
1270
  parentId?: string | null
1235
1271
  inputHashNonce?: number | null
1272
+ selfHash?: number | null
1236
1273
  inputHash?: number | null
1237
1274
  outputHash?: number | null
1238
1275
  dependencyOutputHash?: number | null
@@ -1278,6 +1315,7 @@ export type InstanceStateUpdateWithoutEvaluationStateInput = {
1278
1315
  source?: Prisma.EnumInstanceSourceFieldUpdateOperationsInput | $Enums.InstanceSource
1279
1316
  kind?: Prisma.StringFieldUpdateOperationsInput | string
1280
1317
  inputHashNonce?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1318
+ selfHash?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1281
1319
  inputHash?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1282
1320
  outputHash?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1283
1321
  dependencyOutputHash?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
@@ -1309,6 +1347,7 @@ export type InstanceStateUncheckedUpdateWithoutEvaluationStateInput = {
1309
1347
  kind?: Prisma.StringFieldUpdateOperationsInput | string
1310
1348
  parentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1311
1349
  inputHashNonce?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1350
+ selfHash?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1312
1351
  inputHash?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1313
1352
  outputHash?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1314
1353
  dependencyOutputHash?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
@@ -1338,6 +1377,7 @@ export type InstanceStateCreateWithoutChildrenInput = {
1338
1377
  source: $Enums.InstanceSource
1339
1378
  kind:PrismaJson.InstanceKind
1340
1379
  inputHashNonce?: number | null
1380
+ selfHash?: number | null
1341
1381
  inputHash?: number | null
1342
1382
  outputHash?: number | null
1343
1383
  dependencyOutputHash?: number | null
@@ -1369,6 +1409,7 @@ export type InstanceStateUncheckedCreateWithoutChildrenInput = {
1369
1409
  kind:PrismaJson.InstanceKind
1370
1410
  parentId?: string | null
1371
1411
  inputHashNonce?: number | null
1412
+ selfHash?: number | null
1372
1413
  inputHash?: number | null
1373
1414
  outputHash?: number | null
1374
1415
  dependencyOutputHash?: number | null
@@ -1403,6 +1444,7 @@ export type InstanceStateCreateWithoutParentInput = {
1403
1444
  source: $Enums.InstanceSource
1404
1445
  kind:PrismaJson.InstanceKind
1405
1446
  inputHashNonce?: number | null
1447
+ selfHash?: number | null
1406
1448
  inputHash?: number | null
1407
1449
  outputHash?: number | null
1408
1450
  dependencyOutputHash?: number | null
@@ -1433,6 +1475,7 @@ export type InstanceStateUncheckedCreateWithoutParentInput = {
1433
1475
  source: $Enums.InstanceSource
1434
1476
  kind:PrismaJson.InstanceKind
1435
1477
  inputHashNonce?: number | null
1478
+ selfHash?: number | null
1436
1479
  inputHash?: number | null
1437
1480
  outputHash?: number | null
1438
1481
  dependencyOutputHash?: number | null
@@ -1483,6 +1526,7 @@ export type InstanceStateUpdateWithoutChildrenInput = {
1483
1526
  source?: Prisma.EnumInstanceSourceFieldUpdateOperationsInput | $Enums.InstanceSource
1484
1527
  kind?: Prisma.StringFieldUpdateOperationsInput | string
1485
1528
  inputHashNonce?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1529
+ selfHash?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1486
1530
  inputHash?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1487
1531
  outputHash?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1488
1532
  dependencyOutputHash?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
@@ -1514,6 +1558,7 @@ export type InstanceStateUncheckedUpdateWithoutChildrenInput = {
1514
1558
  kind?: Prisma.StringFieldUpdateOperationsInput | string
1515
1559
  parentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1516
1560
  inputHashNonce?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1561
+ selfHash?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1517
1562
  inputHash?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1518
1563
  outputHash?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1519
1564
  dependencyOutputHash?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
@@ -1559,6 +1604,7 @@ export type InstanceStateCreateWithoutUserViewportsInput = {
1559
1604
  source: $Enums.InstanceSource
1560
1605
  kind:PrismaJson.InstanceKind
1561
1606
  inputHashNonce?: number | null
1607
+ selfHash?: number | null
1562
1608
  inputHash?: number | null
1563
1609
  outputHash?: number | null
1564
1610
  dependencyOutputHash?: number | null
@@ -1590,6 +1636,7 @@ export type InstanceStateUncheckedCreateWithoutUserViewportsInput = {
1590
1636
  kind:PrismaJson.InstanceKind
1591
1637
  parentId?: string | null
1592
1638
  inputHashNonce?: number | null
1639
+ selfHash?: number | null
1593
1640
  inputHash?: number | null
1594
1641
  outputHash?: number | null
1595
1642
  dependencyOutputHash?: number | null
@@ -1635,6 +1682,7 @@ export type InstanceStateUpdateWithoutUserViewportsInput = {
1635
1682
  source?: Prisma.EnumInstanceSourceFieldUpdateOperationsInput | $Enums.InstanceSource
1636
1683
  kind?: Prisma.StringFieldUpdateOperationsInput | string
1637
1684
  inputHashNonce?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1685
+ selfHash?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1638
1686
  inputHash?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1639
1687
  outputHash?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1640
1688
  dependencyOutputHash?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
@@ -1666,6 +1714,7 @@ export type InstanceStateUncheckedUpdateWithoutUserViewportsInput = {
1666
1714
  kind?: Prisma.StringFieldUpdateOperationsInput | string
1667
1715
  parentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1668
1716
  inputHashNonce?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1717
+ selfHash?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1669
1718
  inputHash?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1670
1719
  outputHash?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1671
1720
  dependencyOutputHash?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
@@ -1695,6 +1744,7 @@ export type InstanceStateCreateWithoutLockInput = {
1695
1744
  source: $Enums.InstanceSource
1696
1745
  kind:PrismaJson.InstanceKind
1697
1746
  inputHashNonce?: number | null
1747
+ selfHash?: number | null
1698
1748
  inputHash?: number | null
1699
1749
  outputHash?: number | null
1700
1750
  dependencyOutputHash?: number | null
@@ -1726,6 +1776,7 @@ export type InstanceStateUncheckedCreateWithoutLockInput = {
1726
1776
  kind:PrismaJson.InstanceKind
1727
1777
  parentId?: string | null
1728
1778
  inputHashNonce?: number | null
1779
+ selfHash?: number | null
1729
1780
  inputHash?: number | null
1730
1781
  outputHash?: number | null
1731
1782
  dependencyOutputHash?: number | null
@@ -1771,6 +1822,7 @@ export type InstanceStateUpdateWithoutLockInput = {
1771
1822
  source?: Prisma.EnumInstanceSourceFieldUpdateOperationsInput | $Enums.InstanceSource
1772
1823
  kind?: Prisma.StringFieldUpdateOperationsInput | string
1773
1824
  inputHashNonce?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1825
+ selfHash?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1774
1826
  inputHash?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1775
1827
  outputHash?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1776
1828
  dependencyOutputHash?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
@@ -1802,6 +1854,7 @@ export type InstanceStateUncheckedUpdateWithoutLockInput = {
1802
1854
  kind?: Prisma.StringFieldUpdateOperationsInput | string
1803
1855
  parentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1804
1856
  inputHashNonce?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1857
+ selfHash?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1805
1858
  inputHash?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1806
1859
  outputHash?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1807
1860
  dependencyOutputHash?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
@@ -1831,6 +1884,7 @@ export type InstanceStateCreateWithoutOperationStatesInput = {
1831
1884
  source: $Enums.InstanceSource
1832
1885
  kind:PrismaJson.InstanceKind
1833
1886
  inputHashNonce?: number | null
1887
+ selfHash?: number | null
1834
1888
  inputHash?: number | null
1835
1889
  outputHash?: number | null
1836
1890
  dependencyOutputHash?: number | null
@@ -1862,6 +1916,7 @@ export type InstanceStateUncheckedCreateWithoutOperationStatesInput = {
1862
1916
  kind:PrismaJson.InstanceKind
1863
1917
  parentId?: string | null
1864
1918
  inputHashNonce?: number | null
1919
+ selfHash?: number | null
1865
1920
  inputHash?: number | null
1866
1921
  outputHash?: number | null
1867
1922
  dependencyOutputHash?: number | null
@@ -1907,6 +1962,7 @@ export type InstanceStateUpdateWithoutOperationStatesInput = {
1907
1962
  source?: Prisma.EnumInstanceSourceFieldUpdateOperationsInput | $Enums.InstanceSource
1908
1963
  kind?: Prisma.StringFieldUpdateOperationsInput | string
1909
1964
  inputHashNonce?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1965
+ selfHash?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1910
1966
  inputHash?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1911
1967
  outputHash?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1912
1968
  dependencyOutputHash?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
@@ -1938,6 +1994,7 @@ export type InstanceStateUncheckedUpdateWithoutOperationStatesInput = {
1938
1994
  kind?: Prisma.StringFieldUpdateOperationsInput | string
1939
1995
  parentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1940
1996
  inputHashNonce?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1997
+ selfHash?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1941
1998
  inputHash?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1942
1999
  outputHash?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1943
2000
  dependencyOutputHash?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
@@ -1967,6 +2024,7 @@ export type InstanceStateCreateWithoutOperationLogsInput = {
1967
2024
  source: $Enums.InstanceSource
1968
2025
  kind:PrismaJson.InstanceKind
1969
2026
  inputHashNonce?: number | null
2027
+ selfHash?: number | null
1970
2028
  inputHash?: number | null
1971
2029
  outputHash?: number | null
1972
2030
  dependencyOutputHash?: number | null
@@ -1998,6 +2056,7 @@ export type InstanceStateUncheckedCreateWithoutOperationLogsInput = {
1998
2056
  kind:PrismaJson.InstanceKind
1999
2057
  parentId?: string | null
2000
2058
  inputHashNonce?: number | null
2059
+ selfHash?: number | null
2001
2060
  inputHash?: number | null
2002
2061
  outputHash?: number | null
2003
2062
  dependencyOutputHash?: number | null
@@ -2043,6 +2102,7 @@ export type InstanceStateUpdateWithoutOperationLogsInput = {
2043
2102
  source?: Prisma.EnumInstanceSourceFieldUpdateOperationsInput | $Enums.InstanceSource
2044
2103
  kind?: Prisma.StringFieldUpdateOperationsInput | string
2045
2104
  inputHashNonce?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
2105
+ selfHash?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
2046
2106
  inputHash?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
2047
2107
  outputHash?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
2048
2108
  dependencyOutputHash?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
@@ -2074,6 +2134,7 @@ export type InstanceStateUncheckedUpdateWithoutOperationLogsInput = {
2074
2134
  kind?: Prisma.StringFieldUpdateOperationsInput | string
2075
2135
  parentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2076
2136
  inputHashNonce?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
2137
+ selfHash?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
2077
2138
  inputHash?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
2078
2139
  outputHash?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
2079
2140
  dependencyOutputHash?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
@@ -2103,6 +2164,7 @@ export type InstanceStateCreateWithoutPagesInput = {
2103
2164
  source: $Enums.InstanceSource
2104
2165
  kind:PrismaJson.InstanceKind
2105
2166
  inputHashNonce?: number | null
2167
+ selfHash?: number | null
2106
2168
  inputHash?: number | null
2107
2169
  outputHash?: number | null
2108
2170
  dependencyOutputHash?: number | null
@@ -2134,6 +2196,7 @@ export type InstanceStateUncheckedCreateWithoutPagesInput = {
2134
2196
  kind:PrismaJson.InstanceKind
2135
2197
  parentId?: string | null
2136
2198
  inputHashNonce?: number | null
2199
+ selfHash?: number | null
2137
2200
  inputHash?: number | null
2138
2201
  outputHash?: number | null
2139
2202
  dependencyOutputHash?: number | null
@@ -2179,6 +2242,7 @@ export type InstanceStateUpdateWithoutPagesInput = {
2179
2242
  source?: Prisma.EnumInstanceSourceFieldUpdateOperationsInput | $Enums.InstanceSource
2180
2243
  kind?: Prisma.StringFieldUpdateOperationsInput | string
2181
2244
  inputHashNonce?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
2245
+ selfHash?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
2182
2246
  inputHash?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
2183
2247
  outputHash?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
2184
2248
  dependencyOutputHash?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
@@ -2210,6 +2274,7 @@ export type InstanceStateUncheckedUpdateWithoutPagesInput = {
2210
2274
  kind?: Prisma.StringFieldUpdateOperationsInput | string
2211
2275
  parentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2212
2276
  inputHashNonce?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
2277
+ selfHash?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
2213
2278
  inputHash?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
2214
2279
  outputHash?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
2215
2280
  dependencyOutputHash?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
@@ -2239,6 +2304,7 @@ export type InstanceStateCreateWithoutSecretsInput = {
2239
2304
  source: $Enums.InstanceSource
2240
2305
  kind:PrismaJson.InstanceKind
2241
2306
  inputHashNonce?: number | null
2307
+ selfHash?: number | null
2242
2308
  inputHash?: number | null
2243
2309
  outputHash?: number | null
2244
2310
  dependencyOutputHash?: number | null
@@ -2270,6 +2336,7 @@ export type InstanceStateUncheckedCreateWithoutSecretsInput = {
2270
2336
  kind:PrismaJson.InstanceKind
2271
2337
  parentId?: string | null
2272
2338
  inputHashNonce?: number | null
2339
+ selfHash?: number | null
2273
2340
  inputHash?: number | null
2274
2341
  outputHash?: number | null
2275
2342
  dependencyOutputHash?: number | null
@@ -2315,6 +2382,7 @@ export type InstanceStateUpdateWithoutSecretsInput = {
2315
2382
  source?: Prisma.EnumInstanceSourceFieldUpdateOperationsInput | $Enums.InstanceSource
2316
2383
  kind?: Prisma.StringFieldUpdateOperationsInput | string
2317
2384
  inputHashNonce?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
2385
+ selfHash?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
2318
2386
  inputHash?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
2319
2387
  outputHash?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
2320
2388
  dependencyOutputHash?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
@@ -2346,6 +2414,7 @@ export type InstanceStateUncheckedUpdateWithoutSecretsInput = {
2346
2414
  kind?: Prisma.StringFieldUpdateOperationsInput | string
2347
2415
  parentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2348
2416
  inputHashNonce?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
2417
+ selfHash?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
2349
2418
  inputHash?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
2350
2419
  outputHash?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
2351
2420
  dependencyOutputHash?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
@@ -2375,6 +2444,7 @@ export type InstanceStateCreateWithoutTerminalsInput = {
2375
2444
  source: $Enums.InstanceSource
2376
2445
  kind:PrismaJson.InstanceKind
2377
2446
  inputHashNonce?: number | null
2447
+ selfHash?: number | null
2378
2448
  inputHash?: number | null
2379
2449
  outputHash?: number | null
2380
2450
  dependencyOutputHash?: number | null
@@ -2406,6 +2476,7 @@ export type InstanceStateUncheckedCreateWithoutTerminalsInput = {
2406
2476
  kind:PrismaJson.InstanceKind
2407
2477
  parentId?: string | null
2408
2478
  inputHashNonce?: number | null
2479
+ selfHash?: number | null
2409
2480
  inputHash?: number | null
2410
2481
  outputHash?: number | null
2411
2482
  dependencyOutputHash?: number | null
@@ -2451,6 +2522,7 @@ export type InstanceStateUpdateWithoutTerminalsInput = {
2451
2522
  source?: Prisma.EnumInstanceSourceFieldUpdateOperationsInput | $Enums.InstanceSource
2452
2523
  kind?: Prisma.StringFieldUpdateOperationsInput | string
2453
2524
  inputHashNonce?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
2525
+ selfHash?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
2454
2526
  inputHash?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
2455
2527
  outputHash?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
2456
2528
  dependencyOutputHash?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
@@ -2482,6 +2554,7 @@ export type InstanceStateUncheckedUpdateWithoutTerminalsInput = {
2482
2554
  kind?: Prisma.StringFieldUpdateOperationsInput | string
2483
2555
  parentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2484
2556
  inputHashNonce?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
2557
+ selfHash?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
2485
2558
  inputHash?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
2486
2559
  outputHash?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
2487
2560
  dependencyOutputHash?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
@@ -2511,6 +2584,7 @@ export type InstanceStateCreateWithoutTriggersInput = {
2511
2584
  source: $Enums.InstanceSource
2512
2585
  kind:PrismaJson.InstanceKind
2513
2586
  inputHashNonce?: number | null
2587
+ selfHash?: number | null
2514
2588
  inputHash?: number | null
2515
2589
  outputHash?: number | null
2516
2590
  dependencyOutputHash?: number | null
@@ -2542,6 +2616,7 @@ export type InstanceStateUncheckedCreateWithoutTriggersInput = {
2542
2616
  kind:PrismaJson.InstanceKind
2543
2617
  parentId?: string | null
2544
2618
  inputHashNonce?: number | null
2619
+ selfHash?: number | null
2545
2620
  inputHash?: number | null
2546
2621
  outputHash?: number | null
2547
2622
  dependencyOutputHash?: number | null
@@ -2587,6 +2662,7 @@ export type InstanceStateUpdateWithoutTriggersInput = {
2587
2662
  source?: Prisma.EnumInstanceSourceFieldUpdateOperationsInput | $Enums.InstanceSource
2588
2663
  kind?: Prisma.StringFieldUpdateOperationsInput | string
2589
2664
  inputHashNonce?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
2665
+ selfHash?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
2590
2666
  inputHash?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
2591
2667
  outputHash?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
2592
2668
  dependencyOutputHash?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
@@ -2618,6 +2694,7 @@ export type InstanceStateUncheckedUpdateWithoutTriggersInput = {
2618
2694
  kind?: Prisma.StringFieldUpdateOperationsInput | string
2619
2695
  parentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2620
2696
  inputHashNonce?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
2697
+ selfHash?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
2621
2698
  inputHash?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
2622
2699
  outputHash?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
2623
2700
  dependencyOutputHash?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
@@ -2647,6 +2724,7 @@ export type InstanceStateCreateWithoutWorkerRegistrationsInput = {
2647
2724
  source: $Enums.InstanceSource
2648
2725
  kind:PrismaJson.InstanceKind
2649
2726
  inputHashNonce?: number | null
2727
+ selfHash?: number | null
2650
2728
  inputHash?: number | null
2651
2729
  outputHash?: number | null
2652
2730
  dependencyOutputHash?: number | null
@@ -2678,6 +2756,7 @@ export type InstanceStateUncheckedCreateWithoutWorkerRegistrationsInput = {
2678
2756
  kind:PrismaJson.InstanceKind
2679
2757
  parentId?: string | null
2680
2758
  inputHashNonce?: number | null
2759
+ selfHash?: number | null
2681
2760
  inputHash?: number | null
2682
2761
  outputHash?: number | null
2683
2762
  dependencyOutputHash?: number | null
@@ -2723,6 +2802,7 @@ export type InstanceStateUpdateWithoutWorkerRegistrationsInput = {
2723
2802
  source?: Prisma.EnumInstanceSourceFieldUpdateOperationsInput | $Enums.InstanceSource
2724
2803
  kind?: Prisma.StringFieldUpdateOperationsInput | string
2725
2804
  inputHashNonce?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
2805
+ selfHash?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
2726
2806
  inputHash?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
2727
2807
  outputHash?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
2728
2808
  dependencyOutputHash?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
@@ -2754,6 +2834,7 @@ export type InstanceStateUncheckedUpdateWithoutWorkerRegistrationsInput = {
2754
2834
  kind?: Prisma.StringFieldUpdateOperationsInput | string
2755
2835
  parentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2756
2836
  inputHashNonce?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
2837
+ selfHash?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
2757
2838
  inputHash?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
2758
2839
  outputHash?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
2759
2840
  dependencyOutputHash?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
@@ -2783,6 +2864,7 @@ export type InstanceStateUpdateWithoutArtifactsInput = {
2783
2864
  source?: Prisma.EnumInstanceSourceFieldUpdateOperationsInput | $Enums.InstanceSource
2784
2865
  kind?: Prisma.StringFieldUpdateOperationsInput | string
2785
2866
  inputHashNonce?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
2867
+ selfHash?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
2786
2868
  inputHash?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
2787
2869
  outputHash?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
2788
2870
  dependencyOutputHash?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
@@ -2814,6 +2896,7 @@ export type InstanceStateUncheckedUpdateWithoutArtifactsInput = {
2814
2896
  kind?: Prisma.StringFieldUpdateOperationsInput | string
2815
2897
  parentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2816
2898
  inputHashNonce?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
2899
+ selfHash?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
2817
2900
  inputHash?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
2818
2901
  outputHash?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
2819
2902
  dependencyOutputHash?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
@@ -2844,6 +2927,7 @@ export type InstanceStateUncheckedUpdateManyWithoutArtifactsInput = {
2844
2927
  kind?: Prisma.StringFieldUpdateOperationsInput | string
2845
2928
  parentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2846
2929
  inputHashNonce?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
2930
+ selfHash?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
2847
2931
  inputHash?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
2848
2932
  outputHash?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
2849
2933
  dependencyOutputHash?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
@@ -2861,6 +2945,7 @@ export type InstanceStateCreateManyParentInput = {
2861
2945
  source: $Enums.InstanceSource
2862
2946
  kind:PrismaJson.InstanceKind
2863
2947
  inputHashNonce?: number | null
2948
+ selfHash?: number | null
2864
2949
  inputHash?: number | null
2865
2950
  outputHash?: number | null
2866
2951
  dependencyOutputHash?: number | null
@@ -2878,6 +2963,7 @@ export type InstanceStateUpdateWithoutParentInput = {
2878
2963
  source?: Prisma.EnumInstanceSourceFieldUpdateOperationsInput | $Enums.InstanceSource
2879
2964
  kind?: Prisma.StringFieldUpdateOperationsInput | string
2880
2965
  inputHashNonce?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
2966
+ selfHash?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
2881
2967
  inputHash?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
2882
2968
  outputHash?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
2883
2969
  dependencyOutputHash?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
@@ -2908,6 +2994,7 @@ export type InstanceStateUncheckedUpdateWithoutParentInput = {
2908
2994
  source?: Prisma.EnumInstanceSourceFieldUpdateOperationsInput | $Enums.InstanceSource
2909
2995
  kind?: Prisma.StringFieldUpdateOperationsInput | string
2910
2996
  inputHashNonce?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
2997
+ selfHash?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
2911
2998
  inputHash?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
2912
2999
  outputHash?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
2913
3000
  dependencyOutputHash?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
@@ -2938,6 +3025,7 @@ export type InstanceStateUncheckedUpdateManyWithoutParentInput = {
2938
3025
  source?: Prisma.EnumInstanceSourceFieldUpdateOperationsInput | $Enums.InstanceSource
2939
3026
  kind?: Prisma.StringFieldUpdateOperationsInput | string
2940
3027
  inputHashNonce?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
3028
+ selfHash?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
2941
3029
  inputHash?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
2942
3030
  outputHash?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
2943
3031
  dependencyOutputHash?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
@@ -3077,6 +3165,7 @@ export type InstanceStateSelect<ExtArgs extends runtime.Types.Extensions.Interna
3077
3165
  kind?: boolean
3078
3166
  parentId?: boolean
3079
3167
  inputHashNonce?: boolean
3168
+ selfHash?: boolean
3080
3169
  inputHash?: boolean
3081
3170
  outputHash?: boolean
3082
3171
  dependencyOutputHash?: boolean
@@ -3110,6 +3199,7 @@ export type InstanceStateSelectCreateManyAndReturn<ExtArgs extends runtime.Types
3110
3199
  kind?: boolean
3111
3200
  parentId?: boolean
3112
3201
  inputHashNonce?: boolean
3202
+ selfHash?: boolean
3113
3203
  inputHash?: boolean
3114
3204
  outputHash?: boolean
3115
3205
  dependencyOutputHash?: boolean
@@ -3129,6 +3219,7 @@ export type InstanceStateSelectUpdateManyAndReturn<ExtArgs extends runtime.Types
3129
3219
  kind?: boolean
3130
3220
  parentId?: boolean
3131
3221
  inputHashNonce?: boolean
3222
+ selfHash?: boolean
3132
3223
  inputHash?: boolean
3133
3224
  outputHash?: boolean
3134
3225
  dependencyOutputHash?: boolean
@@ -3148,6 +3239,7 @@ export type InstanceStateSelectScalar = {
3148
3239
  kind?: boolean
3149
3240
  parentId?: boolean
3150
3241
  inputHashNonce?: boolean
3242
+ selfHash?: boolean
3151
3243
  inputHash?: boolean
3152
3244
  outputHash?: boolean
3153
3245
  dependencyOutputHash?: boolean
@@ -3158,7 +3250,7 @@ export type InstanceStateSelectScalar = {
3158
3250
  statusFields?: boolean
3159
3251
  }
3160
3252
 
3161
- export type InstanceStateOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "instanceId" | "status" | "source" | "kind" | "parentId" | "inputHashNonce" | "inputHash" | "outputHash" | "dependencyOutputHash" | "exportedArtifactIds" | "model" | "resolvedInputs" | "currentResourceCount" | "statusFields", ExtArgs["result"]["instanceState"]>
3253
+ export type InstanceStateOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "instanceId" | "status" | "source" | "kind" | "parentId" | "inputHashNonce" | "selfHash" | "inputHash" | "outputHash" | "dependencyOutputHash" | "exportedArtifactIds" | "model" | "resolvedInputs" | "currentResourceCount" | "statusFields", ExtArgs["result"]["instanceState"]>
3162
3254
  export type InstanceStateInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3163
3255
  parent?: boolean | Prisma.InstanceState$parentArgs<ExtArgs>
3164
3256
  children?: boolean | Prisma.InstanceState$childrenArgs<ExtArgs>
@@ -3276,6 +3368,19 @@ export type $InstanceStatePayload<ExtArgs extends runtime.Types.Extensions.Inter
3276
3368
  * The 32-bit nonce used to invalidate the input hash when secrets are updated.
3277
3369
  */
3278
3370
  inputHashNonce: number | null
3371
+ /**
3372
+ * The calculated CRC32 hash of the instance's own configuration at the moment of last operation completion.
3373
+ *
3374
+ * This hash covers:
3375
+ * - component definition hash;
3376
+ * - the unit's source hash (if applicable);
3377
+ * - the instance's configuration (name, args, secret hashes / nonce).
3378
+ *
3379
+ * It does not include hashes of dependencies.
3380
+ *
3381
+ * Used together with `dependencyOutputHash` to short-circuit execution at runtime.
3382
+ */
3383
+ selfHash: number | null
3279
3384
  /**
3280
3385
  * The calculated instance CRC32 input hash at the moment of last operation completion.
3281
3386
  *
@@ -3781,6 +3886,7 @@ export interface InstanceStateFieldRefs {
3781
3886
  readonly kind: Prisma.FieldRef<"InstanceState", 'String'>
3782
3887
  readonly parentId: Prisma.FieldRef<"InstanceState", 'String'>
3783
3888
  readonly inputHashNonce: Prisma.FieldRef<"InstanceState", 'Int'>
3889
+ readonly selfHash: Prisma.FieldRef<"InstanceState", 'Int'>
3784
3890
  readonly inputHash: Prisma.FieldRef<"InstanceState", 'Int'>
3785
3891
  readonly outputHash: Prisma.FieldRef<"InstanceState", 'Int'>
3786
3892
  readonly dependencyOutputHash: Prisma.FieldRef<"InstanceState", 'Int'>