@highstate/backend 0.12.1 → 0.13.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.
Files changed (48) hide show
  1. package/dist/{chunk-SEPC66ZL.js → chunk-4JUMOKLV.js} +4 -3
  2. package/dist/chunk-4JUMOKLV.js.map +1 -0
  3. package/dist/highstate.manifest.json +2 -2
  4. package/dist/index.js +86 -60
  5. package/dist/index.js.map +1 -1
  6. package/dist/shared/index.js +1 -1
  7. package/package.json +3 -3
  8. package/prisma/project/main.prisma +1 -1
  9. package/prisma/project/operation.prisma +1 -0
  10. package/src/business/instance-state.ts +61 -27
  11. package/src/database/_generated/project/browser.ts +244 -0
  12. package/src/database/_generated/project/client.ts +5 -30
  13. package/src/database/_generated/project/commonInputTypes.ts +2 -2
  14. package/src/database/_generated/project/enums.ts +3 -1
  15. package/src/database/_generated/project/internal/class.ts +11 -16
  16. package/src/database/_generated/project/internal/prismaNamespace.ts +7 -13
  17. package/src/database/_generated/project/internal/prismaNamespaceBrowser.ts +445 -0
  18. package/src/database/_generated/project/models/ApiKey.ts +21 -21
  19. package/src/database/_generated/project/models/Artifact.ts +31 -31
  20. package/src/database/_generated/project/models/HubModel.ts +11 -11
  21. package/src/database/_generated/project/models/InstanceCustomStatus.ts +23 -23
  22. package/src/database/_generated/project/models/InstanceEvaluationState.ts +15 -15
  23. package/src/database/_generated/project/models/InstanceLock.ts +15 -15
  24. package/src/database/_generated/project/models/InstanceModel.ts +11 -11
  25. package/src/database/_generated/project/models/InstanceOperationState.ts +44 -44
  26. package/src/database/_generated/project/models/InstanceState.ts +206 -206
  27. package/src/database/_generated/project/models/Operation.ts +70 -70
  28. package/src/database/_generated/project/models/OperationLog.ts +2 -2
  29. package/src/database/_generated/project/models/Page.ts +54 -54
  30. package/src/database/_generated/project/models/Secret.ts +44 -44
  31. package/src/database/_generated/project/models/ServiceAccount.ts +40 -40
  32. package/src/database/_generated/project/models/Terminal.ts +62 -62
  33. package/src/database/_generated/project/models/TerminalSession.ts +2 -2
  34. package/src/database/_generated/project/models/TerminalSessionLog.ts +2 -2
  35. package/src/database/_generated/project/models/Trigger.ts +32 -32
  36. package/src/database/_generated/project/models/UnlockMethod.ts +11 -11
  37. package/src/database/_generated/project/models/UserCompositeViewport.ts +17 -17
  38. package/src/database/_generated/project/models/UserProjectViewport.ts +11 -11
  39. package/src/database/_generated/project/models/Worker.ts +2 -2
  40. package/src/database/_generated/project/models/WorkerUnitRegistration.ts +23 -23
  41. package/src/database/_generated/project/models/WorkerVersion.ts +29 -29
  42. package/src/database/_generated/project/models/WorkerVersionLog.ts +2 -2
  43. package/src/database/_generated/project/models.ts +1 -1
  44. package/src/database/_generated/project/pjtg.ts +1 -0
  45. package/src/orchestrator/operation-workset.ts +22 -11
  46. package/src/orchestrator/operation.ts +11 -5
  47. package/src/shared/models/project/operation.ts +1 -0
  48. package/dist/chunk-SEPC66ZL.js.map +0 -1
@@ -2,14 +2,14 @@
2
2
  /* !!! This is code generated by Prisma. Do not edit directly. !!! */
3
3
  /* eslint-disable */
4
4
  // @ts-nocheck
5
- /**
5
+ /*
6
6
  * This file exports the `Artifact` model and its related types.
7
7
  *
8
8
  * 🟢 You can import this file directly.
9
9
  */
10
10
 
11
11
  import type * as PJTG from '../pjtg.ts';
12
- import * as runtime from "@prisma/client/runtime/client"
12
+ import type * as runtime from "@prisma/client/runtime/client"
13
13
  import type * as $Enums from "../enums.ts"
14
14
  import type * as Prisma from "../internal/prismaNamespace.ts"
15
15
 
@@ -202,7 +202,7 @@ export type ArtifactGroupByArgs<ExtArgs extends runtime.Types.Extensions.Interna
202
202
 
203
203
  export type ArtifactGroupByOutputType = {
204
204
  id: string
205
- meta: PrismaJson.CommonObjectMeta
205
+ meta:PrismaJson.CommonObjectMeta
206
206
  hash: string
207
207
  size: number
208
208
  chunkSize: number
@@ -308,7 +308,7 @@ export type ArtifactScalarWhereWithAggregatesInput = {
308
308
 
309
309
  export type ArtifactCreateInput = {
310
310
  id?: string
311
- meta: PrismaJson.CommonObjectMeta
311
+ meta:PrismaJson.CommonObjectMeta
312
312
  hash: string
313
313
  size: number
314
314
  chunkSize: number
@@ -322,7 +322,7 @@ export type ArtifactCreateInput = {
322
322
 
323
323
  export type ArtifactUncheckedCreateInput = {
324
324
  id?: string
325
- meta: PrismaJson.CommonObjectMeta
325
+ meta:PrismaJson.CommonObjectMeta
326
326
  hash: string
327
327
  size: number
328
328
  chunkSize: number
@@ -336,7 +336,7 @@ export type ArtifactUncheckedCreateInput = {
336
336
 
337
337
  export type ArtifactUpdateInput = {
338
338
  id?: Prisma.StringFieldUpdateOperationsInput | string
339
- meta?: PrismaJson.CommonObjectMeta
339
+ meta?:PrismaJson.CommonObjectMeta
340
340
  hash?: Prisma.StringFieldUpdateOperationsInput | string
341
341
  size?: Prisma.IntFieldUpdateOperationsInput | number
342
342
  chunkSize?: Prisma.IntFieldUpdateOperationsInput | number
@@ -350,7 +350,7 @@ export type ArtifactUpdateInput = {
350
350
 
351
351
  export type ArtifactUncheckedUpdateInput = {
352
352
  id?: Prisma.StringFieldUpdateOperationsInput | string
353
- meta?: PrismaJson.CommonObjectMeta
353
+ meta?:PrismaJson.CommonObjectMeta
354
354
  hash?: Prisma.StringFieldUpdateOperationsInput | string
355
355
  size?: Prisma.IntFieldUpdateOperationsInput | number
356
356
  chunkSize?: Prisma.IntFieldUpdateOperationsInput | number
@@ -364,7 +364,7 @@ export type ArtifactUncheckedUpdateInput = {
364
364
 
365
365
  export type ArtifactCreateManyInput = {
366
366
  id?: string
367
- meta: PrismaJson.CommonObjectMeta
367
+ meta:PrismaJson.CommonObjectMeta
368
368
  hash: string
369
369
  size: number
370
370
  chunkSize: number
@@ -374,7 +374,7 @@ export type ArtifactCreateManyInput = {
374
374
 
375
375
  export type ArtifactUpdateManyMutationInput = {
376
376
  id?: Prisma.StringFieldUpdateOperationsInput | string
377
- meta?: PrismaJson.CommonObjectMeta
377
+ meta?:PrismaJson.CommonObjectMeta
378
378
  hash?: Prisma.StringFieldUpdateOperationsInput | string
379
379
  size?: Prisma.IntFieldUpdateOperationsInput | number
380
380
  chunkSize?: Prisma.IntFieldUpdateOperationsInput | number
@@ -384,7 +384,7 @@ export type ArtifactUpdateManyMutationInput = {
384
384
 
385
385
  export type ArtifactUncheckedUpdateManyInput = {
386
386
  id?: Prisma.StringFieldUpdateOperationsInput | string
387
- meta?: PrismaJson.CommonObjectMeta
387
+ meta?:PrismaJson.CommonObjectMeta
388
388
  hash?: Prisma.StringFieldUpdateOperationsInput | string
389
389
  size?: Prisma.IntFieldUpdateOperationsInput | number
390
390
  chunkSize?: Prisma.IntFieldUpdateOperationsInput | number
@@ -602,7 +602,7 @@ export type ArtifactUncheckedUpdateManyWithoutTerminalsNestedInput = {
602
602
 
603
603
  export type ArtifactCreateWithoutInstancesInput = {
604
604
  id?: string
605
- meta: PrismaJson.CommonObjectMeta
605
+ meta:PrismaJson.CommonObjectMeta
606
606
  hash: string
607
607
  size: number
608
608
  chunkSize: number
@@ -615,7 +615,7 @@ export type ArtifactCreateWithoutInstancesInput = {
615
615
 
616
616
  export type ArtifactUncheckedCreateWithoutInstancesInput = {
617
617
  id?: string
618
- meta: PrismaJson.CommonObjectMeta
618
+ meta:PrismaJson.CommonObjectMeta
619
619
  hash: string
620
620
  size: number
621
621
  chunkSize: number
@@ -662,7 +662,7 @@ export type ArtifactScalarWhereInput = {
662
662
 
663
663
  export type ArtifactCreateWithoutPagesInput = {
664
664
  id?: string
665
- meta: PrismaJson.CommonObjectMeta
665
+ meta:PrismaJson.CommonObjectMeta
666
666
  hash: string
667
667
  size: number
668
668
  chunkSize: number
@@ -675,7 +675,7 @@ export type ArtifactCreateWithoutPagesInput = {
675
675
 
676
676
  export type ArtifactUncheckedCreateWithoutPagesInput = {
677
677
  id?: string
678
- meta: PrismaJson.CommonObjectMeta
678
+ meta:PrismaJson.CommonObjectMeta
679
679
  hash: string
680
680
  size: number
681
681
  chunkSize: number
@@ -709,7 +709,7 @@ export type ArtifactUpdateManyWithWhereWithoutPagesInput = {
709
709
 
710
710
  export type ArtifactCreateWithoutServiceAccountsInput = {
711
711
  id?: string
712
- meta: PrismaJson.CommonObjectMeta
712
+ meta:PrismaJson.CommonObjectMeta
713
713
  hash: string
714
714
  size: number
715
715
  chunkSize: number
@@ -722,7 +722,7 @@ export type ArtifactCreateWithoutServiceAccountsInput = {
722
722
 
723
723
  export type ArtifactUncheckedCreateWithoutServiceAccountsInput = {
724
724
  id?: string
725
- meta: PrismaJson.CommonObjectMeta
725
+ meta:PrismaJson.CommonObjectMeta
726
726
  hash: string
727
727
  size: number
728
728
  chunkSize: number
@@ -756,7 +756,7 @@ export type ArtifactUpdateManyWithWhereWithoutServiceAccountsInput = {
756
756
 
757
757
  export type ArtifactCreateWithoutTerminalsInput = {
758
758
  id?: string
759
- meta: PrismaJson.CommonObjectMeta
759
+ meta:PrismaJson.CommonObjectMeta
760
760
  hash: string
761
761
  size: number
762
762
  chunkSize: number
@@ -769,7 +769,7 @@ export type ArtifactCreateWithoutTerminalsInput = {
769
769
 
770
770
  export type ArtifactUncheckedCreateWithoutTerminalsInput = {
771
771
  id?: string
772
- meta: PrismaJson.CommonObjectMeta
772
+ meta:PrismaJson.CommonObjectMeta
773
773
  hash: string
774
774
  size: number
775
775
  chunkSize: number
@@ -803,7 +803,7 @@ export type ArtifactUpdateManyWithWhereWithoutTerminalsInput = {
803
803
 
804
804
  export type ArtifactUpdateWithoutInstancesInput = {
805
805
  id?: Prisma.StringFieldUpdateOperationsInput | string
806
- meta?: PrismaJson.CommonObjectMeta
806
+ meta?:PrismaJson.CommonObjectMeta
807
807
  hash?: Prisma.StringFieldUpdateOperationsInput | string
808
808
  size?: Prisma.IntFieldUpdateOperationsInput | number
809
809
  chunkSize?: Prisma.IntFieldUpdateOperationsInput | number
@@ -816,7 +816,7 @@ export type ArtifactUpdateWithoutInstancesInput = {
816
816
 
817
817
  export type ArtifactUncheckedUpdateWithoutInstancesInput = {
818
818
  id?: Prisma.StringFieldUpdateOperationsInput | string
819
- meta?: PrismaJson.CommonObjectMeta
819
+ meta?:PrismaJson.CommonObjectMeta
820
820
  hash?: Prisma.StringFieldUpdateOperationsInput | string
821
821
  size?: Prisma.IntFieldUpdateOperationsInput | number
822
822
  chunkSize?: Prisma.IntFieldUpdateOperationsInput | number
@@ -829,7 +829,7 @@ export type ArtifactUncheckedUpdateWithoutInstancesInput = {
829
829
 
830
830
  export type ArtifactUncheckedUpdateManyWithoutInstancesInput = {
831
831
  id?: Prisma.StringFieldUpdateOperationsInput | string
832
- meta?: Prisma.JsonNullValueInput | runtime.InputJsonValue
832
+ meta?:PrismaJson.CommonObjectMeta
833
833
  hash?: Prisma.StringFieldUpdateOperationsInput | string
834
834
  size?: Prisma.IntFieldUpdateOperationsInput | number
835
835
  chunkSize?: Prisma.IntFieldUpdateOperationsInput | number
@@ -839,7 +839,7 @@ export type ArtifactUncheckedUpdateManyWithoutInstancesInput = {
839
839
 
840
840
  export type ArtifactUpdateWithoutPagesInput = {
841
841
  id?: Prisma.StringFieldUpdateOperationsInput | string
842
- meta?: PrismaJson.CommonObjectMeta
842
+ meta?:PrismaJson.CommonObjectMeta
843
843
  hash?: Prisma.StringFieldUpdateOperationsInput | string
844
844
  size?: Prisma.IntFieldUpdateOperationsInput | number
845
845
  chunkSize?: Prisma.IntFieldUpdateOperationsInput | number
@@ -852,7 +852,7 @@ export type ArtifactUpdateWithoutPagesInput = {
852
852
 
853
853
  export type ArtifactUncheckedUpdateWithoutPagesInput = {
854
854
  id?: Prisma.StringFieldUpdateOperationsInput | string
855
- meta?: PrismaJson.CommonObjectMeta
855
+ meta?:PrismaJson.CommonObjectMeta
856
856
  hash?: Prisma.StringFieldUpdateOperationsInput | string
857
857
  size?: Prisma.IntFieldUpdateOperationsInput | number
858
858
  chunkSize?: Prisma.IntFieldUpdateOperationsInput | number
@@ -865,7 +865,7 @@ export type ArtifactUncheckedUpdateWithoutPagesInput = {
865
865
 
866
866
  export type ArtifactUncheckedUpdateManyWithoutPagesInput = {
867
867
  id?: Prisma.StringFieldUpdateOperationsInput | string
868
- meta?: Prisma.JsonNullValueInput | runtime.InputJsonValue
868
+ meta?:PrismaJson.CommonObjectMeta
869
869
  hash?: Prisma.StringFieldUpdateOperationsInput | string
870
870
  size?: Prisma.IntFieldUpdateOperationsInput | number
871
871
  chunkSize?: Prisma.IntFieldUpdateOperationsInput | number
@@ -875,7 +875,7 @@ export type ArtifactUncheckedUpdateManyWithoutPagesInput = {
875
875
 
876
876
  export type ArtifactUpdateWithoutServiceAccountsInput = {
877
877
  id?: Prisma.StringFieldUpdateOperationsInput | string
878
- meta?: PrismaJson.CommonObjectMeta
878
+ meta?:PrismaJson.CommonObjectMeta
879
879
  hash?: Prisma.StringFieldUpdateOperationsInput | string
880
880
  size?: Prisma.IntFieldUpdateOperationsInput | number
881
881
  chunkSize?: Prisma.IntFieldUpdateOperationsInput | number
@@ -888,7 +888,7 @@ export type ArtifactUpdateWithoutServiceAccountsInput = {
888
888
 
889
889
  export type ArtifactUncheckedUpdateWithoutServiceAccountsInput = {
890
890
  id?: Prisma.StringFieldUpdateOperationsInput | string
891
- meta?: PrismaJson.CommonObjectMeta
891
+ meta?:PrismaJson.CommonObjectMeta
892
892
  hash?: Prisma.StringFieldUpdateOperationsInput | string
893
893
  size?: Prisma.IntFieldUpdateOperationsInput | number
894
894
  chunkSize?: Prisma.IntFieldUpdateOperationsInput | number
@@ -901,7 +901,7 @@ export type ArtifactUncheckedUpdateWithoutServiceAccountsInput = {
901
901
 
902
902
  export type ArtifactUncheckedUpdateManyWithoutServiceAccountsInput = {
903
903
  id?: Prisma.StringFieldUpdateOperationsInput | string
904
- meta?: Prisma.JsonNullValueInput | runtime.InputJsonValue
904
+ meta?:PrismaJson.CommonObjectMeta
905
905
  hash?: Prisma.StringFieldUpdateOperationsInput | string
906
906
  size?: Prisma.IntFieldUpdateOperationsInput | number
907
907
  chunkSize?: Prisma.IntFieldUpdateOperationsInput | number
@@ -911,7 +911,7 @@ export type ArtifactUncheckedUpdateManyWithoutServiceAccountsInput = {
911
911
 
912
912
  export type ArtifactUpdateWithoutTerminalsInput = {
913
913
  id?: Prisma.StringFieldUpdateOperationsInput | string
914
- meta?: PrismaJson.CommonObjectMeta
914
+ meta?:PrismaJson.CommonObjectMeta
915
915
  hash?: Prisma.StringFieldUpdateOperationsInput | string
916
916
  size?: Prisma.IntFieldUpdateOperationsInput | number
917
917
  chunkSize?: Prisma.IntFieldUpdateOperationsInput | number
@@ -924,7 +924,7 @@ export type ArtifactUpdateWithoutTerminalsInput = {
924
924
 
925
925
  export type ArtifactUncheckedUpdateWithoutTerminalsInput = {
926
926
  id?: Prisma.StringFieldUpdateOperationsInput | string
927
- meta?: PrismaJson.CommonObjectMeta
927
+ meta?:PrismaJson.CommonObjectMeta
928
928
  hash?: Prisma.StringFieldUpdateOperationsInput | string
929
929
  size?: Prisma.IntFieldUpdateOperationsInput | number
930
930
  chunkSize?: Prisma.IntFieldUpdateOperationsInput | number
@@ -937,7 +937,7 @@ export type ArtifactUncheckedUpdateWithoutTerminalsInput = {
937
937
 
938
938
  export type ArtifactUncheckedUpdateManyWithoutTerminalsInput = {
939
939
  id?: Prisma.StringFieldUpdateOperationsInput | string
940
- meta?: Prisma.JsonNullValueInput | runtime.InputJsonValue
940
+ meta?:PrismaJson.CommonObjectMeta
941
941
  hash?: Prisma.StringFieldUpdateOperationsInput | string
942
942
  size?: Prisma.IntFieldUpdateOperationsInput | number
943
943
  chunkSize?: Prisma.IntFieldUpdateOperationsInput | number
@@ -1092,7 +1092,7 @@ export type $ArtifactPayload<ExtArgs extends runtime.Types.Extensions.InternalAr
1092
1092
  *
1093
1093
  * [CommonObjectMeta]
1094
1094
  */
1095
- meta: PrismaJson.CommonObjectMeta
1095
+ meta:PrismaJson.CommonObjectMeta
1096
1096
  /**
1097
1097
  * The SHA256 hash of the artifact content.
1098
1098
  */
@@ -2,14 +2,14 @@
2
2
  /* !!! This is code generated by Prisma. Do not edit directly. !!! */
3
3
  /* eslint-disable */
4
4
  // @ts-nocheck
5
- /**
5
+ /*
6
6
  * This file exports the `HubModel` model and its related types.
7
7
  *
8
8
  * 🟢 You can import this file directly.
9
9
  */
10
10
 
11
11
  import type * as PJTG from '../pjtg.ts';
12
- import * as runtime from "@prisma/client/runtime/client"
12
+ import type * as runtime from "@prisma/client/runtime/client"
13
13
  import type * as $Enums from "../enums.ts"
14
14
  import type * as Prisma from "../internal/prismaNamespace.ts"
15
15
 
@@ -142,7 +142,7 @@ export type HubModelGroupByArgs<ExtArgs extends runtime.Types.Extensions.Interna
142
142
 
143
143
  export type HubModelGroupByOutputType = {
144
144
  id: string
145
- model: PrismaJson.HubModel
145
+ model:PrismaJson.HubModel
146
146
  createdAt: Date
147
147
  updatedAt: Date
148
148
  _count: HubModelCountAggregateOutputType | null
@@ -214,49 +214,49 @@ export type HubModelScalarWhereWithAggregatesInput = {
214
214
 
215
215
  export type HubModelCreateInput = {
216
216
  id: string
217
- model: PrismaJson.HubModel
217
+ model:PrismaJson.HubModel
218
218
  createdAt?: Date | string
219
219
  updatedAt?: Date | string
220
220
  }
221
221
 
222
222
  export type HubModelUncheckedCreateInput = {
223
223
  id: string
224
- model: PrismaJson.HubModel
224
+ model:PrismaJson.HubModel
225
225
  createdAt?: Date | string
226
226
  updatedAt?: Date | string
227
227
  }
228
228
 
229
229
  export type HubModelUpdateInput = {
230
230
  id?: Prisma.StringFieldUpdateOperationsInput | string
231
- model?: PrismaJson.HubModel
231
+ model?:PrismaJson.HubModel
232
232
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
233
233
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
234
234
  }
235
235
 
236
236
  export type HubModelUncheckedUpdateInput = {
237
237
  id?: Prisma.StringFieldUpdateOperationsInput | string
238
- model?: PrismaJson.HubModel
238
+ model?:PrismaJson.HubModel
239
239
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
240
240
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
241
241
  }
242
242
 
243
243
  export type HubModelCreateManyInput = {
244
244
  id: string
245
- model: PrismaJson.HubModel
245
+ model:PrismaJson.HubModel
246
246
  createdAt?: Date | string
247
247
  updatedAt?: Date | string
248
248
  }
249
249
 
250
250
  export type HubModelUpdateManyMutationInput = {
251
251
  id?: Prisma.StringFieldUpdateOperationsInput | string
252
- model?: PrismaJson.HubModel
252
+ model?:PrismaJson.HubModel
253
253
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
254
254
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
255
255
  }
256
256
 
257
257
  export type HubModelUncheckedUpdateManyInput = {
258
258
  id?: Prisma.StringFieldUpdateOperationsInput | string
259
- model?: PrismaJson.HubModel
259
+ model?:PrismaJson.HubModel
260
260
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
261
261
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
262
262
  }
@@ -325,7 +325,7 @@ export type $HubModelPayload<ExtArgs extends runtime.Types.Extensions.InternalAr
325
325
  *
326
326
  * [HubModel]
327
327
  */
328
- model: PrismaJson.HubModel
328
+ model:PrismaJson.HubModel
329
329
  /**
330
330
  * The time when the hub model was created.
331
331
  */
@@ -2,14 +2,14 @@
2
2
  /* !!! This is code generated by Prisma. Do not edit directly. !!! */
3
3
  /* eslint-disable */
4
4
  // @ts-nocheck
5
- /**
5
+ /*
6
6
  * This file exports the `InstanceCustomStatus` model and its related types.
7
7
  *
8
8
  * 🟢 You can import this file directly.
9
9
  */
10
10
 
11
11
  import type * as PJTG from '../pjtg.ts';
12
- import * as runtime from "@prisma/client/runtime/client"
12
+ import type * as runtime from "@prisma/client/runtime/client"
13
13
  import type * as $Enums from "../enums.ts"
14
14
  import type * as Prisma from "../internal/prismaNamespace.ts"
15
15
 
@@ -204,7 +204,7 @@ export type InstanceCustomStatusGroupByOutputType = {
204
204
  stateId: string
205
205
  serviceAccountId: string
206
206
  name: string
207
- meta: PrismaJson.CommonObjectMeta
207
+ meta:PrismaJson.CommonObjectMeta
208
208
  value: string
209
209
  message: string | null
210
210
  order: number
@@ -315,7 +315,7 @@ export type InstanceCustomStatusScalarWhereWithAggregatesInput = {
315
315
 
316
316
  export type InstanceCustomStatusCreateInput = {
317
317
  name: string
318
- meta: PrismaJson.CommonObjectMeta
318
+ meta:PrismaJson.CommonObjectMeta
319
319
  value: string
320
320
  message?: string | null
321
321
  order?: number
@@ -329,7 +329,7 @@ export type InstanceCustomStatusUncheckedCreateInput = {
329
329
  stateId: string
330
330
  serviceAccountId: string
331
331
  name: string
332
- meta: PrismaJson.CommonObjectMeta
332
+ meta:PrismaJson.CommonObjectMeta
333
333
  value: string
334
334
  message?: string | null
335
335
  order?: number
@@ -339,7 +339,7 @@ export type InstanceCustomStatusUncheckedCreateInput = {
339
339
 
340
340
  export type InstanceCustomStatusUpdateInput = {
341
341
  name?: Prisma.StringFieldUpdateOperationsInput | string
342
- meta?: PrismaJson.CommonObjectMeta
342
+ meta?:PrismaJson.CommonObjectMeta
343
343
  value?: Prisma.StringFieldUpdateOperationsInput | string
344
344
  message?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
345
345
  order?: Prisma.IntFieldUpdateOperationsInput | number
@@ -353,7 +353,7 @@ export type InstanceCustomStatusUncheckedUpdateInput = {
353
353
  stateId?: Prisma.StringFieldUpdateOperationsInput | string
354
354
  serviceAccountId?: Prisma.StringFieldUpdateOperationsInput | string
355
355
  name?: Prisma.StringFieldUpdateOperationsInput | string
356
- meta?: PrismaJson.CommonObjectMeta
356
+ meta?:PrismaJson.CommonObjectMeta
357
357
  value?: Prisma.StringFieldUpdateOperationsInput | string
358
358
  message?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
359
359
  order?: Prisma.IntFieldUpdateOperationsInput | number
@@ -365,7 +365,7 @@ export type InstanceCustomStatusCreateManyInput = {
365
365
  stateId: string
366
366
  serviceAccountId: string
367
367
  name: string
368
- meta: PrismaJson.CommonObjectMeta
368
+ meta:PrismaJson.CommonObjectMeta
369
369
  value: string
370
370
  message?: string | null
371
371
  order?: number
@@ -375,7 +375,7 @@ export type InstanceCustomStatusCreateManyInput = {
375
375
 
376
376
  export type InstanceCustomStatusUpdateManyMutationInput = {
377
377
  name?: Prisma.StringFieldUpdateOperationsInput | string
378
- meta?: PrismaJson.CommonObjectMeta
378
+ meta?:PrismaJson.CommonObjectMeta
379
379
  value?: Prisma.StringFieldUpdateOperationsInput | string
380
380
  message?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
381
381
  order?: Prisma.IntFieldUpdateOperationsInput | number
@@ -387,7 +387,7 @@ export type InstanceCustomStatusUncheckedUpdateManyInput = {
387
387
  stateId?: Prisma.StringFieldUpdateOperationsInput | string
388
388
  serviceAccountId?: Prisma.StringFieldUpdateOperationsInput | string
389
389
  name?: Prisma.StringFieldUpdateOperationsInput | string
390
- meta?: PrismaJson.CommonObjectMeta
390
+ meta?:PrismaJson.CommonObjectMeta
391
391
  value?: Prisma.StringFieldUpdateOperationsInput | string
392
392
  message?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
393
393
  order?: Prisma.IntFieldUpdateOperationsInput | number
@@ -543,7 +543,7 @@ export type InstanceCustomStatusUncheckedUpdateManyWithoutServiceAccountNestedIn
543
543
 
544
544
  export type InstanceCustomStatusCreateWithoutStateInput = {
545
545
  name: string
546
- meta: PrismaJson.CommonObjectMeta
546
+ meta:PrismaJson.CommonObjectMeta
547
547
  value: string
548
548
  message?: string | null
549
549
  order?: number
@@ -555,7 +555,7 @@ export type InstanceCustomStatusCreateWithoutStateInput = {
555
555
  export type InstanceCustomStatusUncheckedCreateWithoutStateInput = {
556
556
  serviceAccountId: string
557
557
  name: string
558
- meta: PrismaJson.CommonObjectMeta
558
+ meta:PrismaJson.CommonObjectMeta
559
559
  value: string
560
560
  message?: string | null
561
561
  order?: number
@@ -605,7 +605,7 @@ export type InstanceCustomStatusScalarWhereInput = {
605
605
 
606
606
  export type InstanceCustomStatusCreateWithoutServiceAccountInput = {
607
607
  name: string
608
- meta: PrismaJson.CommonObjectMeta
608
+ meta:PrismaJson.CommonObjectMeta
609
609
  value: string
610
610
  message?: string | null
611
611
  order?: number
@@ -617,7 +617,7 @@ export type InstanceCustomStatusCreateWithoutServiceAccountInput = {
617
617
  export type InstanceCustomStatusUncheckedCreateWithoutServiceAccountInput = {
618
618
  stateId: string
619
619
  name: string
620
- meta: PrismaJson.CommonObjectMeta
620
+ meta:PrismaJson.CommonObjectMeta
621
621
  value: string
622
622
  message?: string | null
623
623
  order?: number
@@ -653,7 +653,7 @@ export type InstanceCustomStatusUpdateManyWithWhereWithoutServiceAccountInput =
653
653
  export type InstanceCustomStatusCreateManyStateInput = {
654
654
  serviceAccountId: string
655
655
  name: string
656
- meta: PrismaJson.CommonObjectMeta
656
+ meta:PrismaJson.CommonObjectMeta
657
657
  value: string
658
658
  message?: string | null
659
659
  order?: number
@@ -663,7 +663,7 @@ export type InstanceCustomStatusCreateManyStateInput = {
663
663
 
664
664
  export type InstanceCustomStatusUpdateWithoutStateInput = {
665
665
  name?: Prisma.StringFieldUpdateOperationsInput | string
666
- meta?: PrismaJson.CommonObjectMeta
666
+ meta?:PrismaJson.CommonObjectMeta
667
667
  value?: Prisma.StringFieldUpdateOperationsInput | string
668
668
  message?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
669
669
  order?: Prisma.IntFieldUpdateOperationsInput | number
@@ -675,7 +675,7 @@ export type InstanceCustomStatusUpdateWithoutStateInput = {
675
675
  export type InstanceCustomStatusUncheckedUpdateWithoutStateInput = {
676
676
  serviceAccountId?: Prisma.StringFieldUpdateOperationsInput | string
677
677
  name?: Prisma.StringFieldUpdateOperationsInput | string
678
- meta?: PrismaJson.CommonObjectMeta
678
+ meta?:PrismaJson.CommonObjectMeta
679
679
  value?: Prisma.StringFieldUpdateOperationsInput | string
680
680
  message?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
681
681
  order?: Prisma.IntFieldUpdateOperationsInput | number
@@ -686,7 +686,7 @@ export type InstanceCustomStatusUncheckedUpdateWithoutStateInput = {
686
686
  export type InstanceCustomStatusUncheckedUpdateManyWithoutStateInput = {
687
687
  serviceAccountId?: Prisma.StringFieldUpdateOperationsInput | string
688
688
  name?: Prisma.StringFieldUpdateOperationsInput | string
689
- meta?: Prisma.JsonNullValueInput | runtime.InputJsonValue
689
+ meta?:PrismaJson.CommonObjectMeta
690
690
  value?: Prisma.StringFieldUpdateOperationsInput | string
691
691
  message?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
692
692
  order?: Prisma.IntFieldUpdateOperationsInput | number
@@ -697,7 +697,7 @@ export type InstanceCustomStatusUncheckedUpdateManyWithoutStateInput = {
697
697
  export type InstanceCustomStatusCreateManyServiceAccountInput = {
698
698
  stateId: string
699
699
  name: string
700
- meta: PrismaJson.CommonObjectMeta
700
+ meta:PrismaJson.CommonObjectMeta
701
701
  value: string
702
702
  message?: string | null
703
703
  order?: number
@@ -707,7 +707,7 @@ export type InstanceCustomStatusCreateManyServiceAccountInput = {
707
707
 
708
708
  export type InstanceCustomStatusUpdateWithoutServiceAccountInput = {
709
709
  name?: Prisma.StringFieldUpdateOperationsInput | string
710
- meta?: PrismaJson.CommonObjectMeta
710
+ meta?:PrismaJson.CommonObjectMeta
711
711
  value?: Prisma.StringFieldUpdateOperationsInput | string
712
712
  message?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
713
713
  order?: Prisma.IntFieldUpdateOperationsInput | number
@@ -719,7 +719,7 @@ export type InstanceCustomStatusUpdateWithoutServiceAccountInput = {
719
719
  export type InstanceCustomStatusUncheckedUpdateWithoutServiceAccountInput = {
720
720
  stateId?: Prisma.StringFieldUpdateOperationsInput | string
721
721
  name?: Prisma.StringFieldUpdateOperationsInput | string
722
- meta?: PrismaJson.CommonObjectMeta
722
+ meta?:PrismaJson.CommonObjectMeta
723
723
  value?: Prisma.StringFieldUpdateOperationsInput | string
724
724
  message?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
725
725
  order?: Prisma.IntFieldUpdateOperationsInput | number
@@ -730,7 +730,7 @@ export type InstanceCustomStatusUncheckedUpdateWithoutServiceAccountInput = {
730
730
  export type InstanceCustomStatusUncheckedUpdateManyWithoutServiceAccountInput = {
731
731
  stateId?: Prisma.StringFieldUpdateOperationsInput | string
732
732
  name?: Prisma.StringFieldUpdateOperationsInput | string
733
- meta?: Prisma.JsonNullValueInput | runtime.InputJsonValue
733
+ meta?:PrismaJson.CommonObjectMeta
734
734
  value?: Prisma.StringFieldUpdateOperationsInput | string
735
735
  message?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
736
736
  order?: Prisma.IntFieldUpdateOperationsInput | number
@@ -838,7 +838,7 @@ export type $InstanceCustomStatusPayload<ExtArgs extends runtime.Types.Extension
838
838
  *
839
839
  * [CommonObjectMeta]
840
840
  */
841
- meta: PrismaJson.CommonObjectMeta
841
+ meta:PrismaJson.CommonObjectMeta
842
842
  /**
843
843
  * The status value of the custom status.
844
844
  */
@@ -2,14 +2,14 @@
2
2
  /* !!! This is code generated by Prisma. Do not edit directly. !!! */
3
3
  /* eslint-disable */
4
4
  // @ts-nocheck
5
- /**
5
+ /*
6
6
  * This file exports the `InstanceEvaluationState` model and its related types.
7
7
  *
8
8
  * 🟢 You can import this file directly.
9
9
  */
10
10
 
11
11
  import type * as PJTG from '../pjtg.ts';
12
- import * as runtime from "@prisma/client/runtime/client"
12
+ import type * as runtime from "@prisma/client/runtime/client"
13
13
  import type * as $Enums from "../enums.ts"
14
14
  import type * as Prisma from "../internal/prismaNamespace.ts"
15
15
 
@@ -157,7 +157,7 @@ export type InstanceEvaluationStateGroupByOutputType = {
157
157
  stateId: string
158
158
  status: $Enums.InstanceEvaluationStatus
159
159
  message: string | null
160
- model: PrismaJson.InstanceModel | null
160
+ model:PrismaJson.InstanceModel | null
161
161
  evaluatedAt: Date
162
162
  _count: InstanceEvaluationStateCountAggregateOutputType | null
163
163
  _min: InstanceEvaluationStateMinAggregateOutputType | null
@@ -237,7 +237,7 @@ export type InstanceEvaluationStateScalarWhereWithAggregatesInput = {
237
237
  export type InstanceEvaluationStateCreateInput = {
238
238
  status: $Enums.InstanceEvaluationStatus
239
239
  message?: string | null
240
- model?: PrismaJson.InstanceModel | Prisma.NullableJsonNullValueInput
240
+ model?:PrismaJson.InstanceModel | Prisma.NullableJsonNullValueInput
241
241
  evaluatedAt?: Date | string
242
242
  state: Prisma.InstanceStateCreateNestedOneWithoutEvaluationStateInput
243
243
  }
@@ -246,14 +246,14 @@ export type InstanceEvaluationStateUncheckedCreateInput = {
246
246
  stateId: string
247
247
  status: $Enums.InstanceEvaluationStatus
248
248
  message?: string | null
249
- model?: PrismaJson.InstanceModel | Prisma.NullableJsonNullValueInput
249
+ model?:PrismaJson.InstanceModel | Prisma.NullableJsonNullValueInput
250
250
  evaluatedAt?: Date | string
251
251
  }
252
252
 
253
253
  export type InstanceEvaluationStateUpdateInput = {
254
254
  status?: Prisma.EnumInstanceEvaluationStatusFieldUpdateOperationsInput | $Enums.InstanceEvaluationStatus
255
255
  message?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
256
- model?: PrismaJson.InstanceModel | Prisma.NullableJsonNullValueInput
256
+ model?:PrismaJson.InstanceModel | Prisma.NullableJsonNullValueInput
257
257
  evaluatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
258
258
  state?: Prisma.InstanceStateUpdateOneRequiredWithoutEvaluationStateNestedInput
259
259
  }
@@ -262,7 +262,7 @@ export type InstanceEvaluationStateUncheckedUpdateInput = {
262
262
  stateId?: Prisma.StringFieldUpdateOperationsInput | string
263
263
  status?: Prisma.EnumInstanceEvaluationStatusFieldUpdateOperationsInput | $Enums.InstanceEvaluationStatus
264
264
  message?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
265
- model?: PrismaJson.InstanceModel | Prisma.NullableJsonNullValueInput
265
+ model?:PrismaJson.InstanceModel | Prisma.NullableJsonNullValueInput
266
266
  evaluatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
267
267
  }
268
268
 
@@ -270,14 +270,14 @@ export type InstanceEvaluationStateCreateManyInput = {
270
270
  stateId: string
271
271
  status: $Enums.InstanceEvaluationStatus
272
272
  message?: string | null
273
- model?: PrismaJson.InstanceModel | Prisma.NullableJsonNullValueInput
273
+ model?:PrismaJson.InstanceModel | Prisma.NullableJsonNullValueInput
274
274
  evaluatedAt?: Date | string
275
275
  }
276
276
 
277
277
  export type InstanceEvaluationStateUpdateManyMutationInput = {
278
278
  status?: Prisma.EnumInstanceEvaluationStatusFieldUpdateOperationsInput | $Enums.InstanceEvaluationStatus
279
279
  message?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
280
- model?: PrismaJson.InstanceModel | Prisma.NullableJsonNullValueInput
280
+ model?:PrismaJson.InstanceModel | Prisma.NullableJsonNullValueInput
281
281
  evaluatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
282
282
  }
283
283
 
@@ -285,7 +285,7 @@ export type InstanceEvaluationStateUncheckedUpdateManyInput = {
285
285
  stateId?: Prisma.StringFieldUpdateOperationsInput | string
286
286
  status?: Prisma.EnumInstanceEvaluationStatusFieldUpdateOperationsInput | $Enums.InstanceEvaluationStatus
287
287
  message?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
288
- model?: PrismaJson.InstanceModel | Prisma.NullableJsonNullValueInput
288
+ model?:PrismaJson.InstanceModel | Prisma.NullableJsonNullValueInput
289
289
  evaluatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
290
290
  }
291
291
 
@@ -355,14 +355,14 @@ export type InstanceEvaluationStateUncheckedUpdateOneWithoutStateNestedInput = {
355
355
  export type InstanceEvaluationStateCreateWithoutStateInput = {
356
356
  status: $Enums.InstanceEvaluationStatus
357
357
  message?: string | null
358
- model?: PrismaJson.InstanceModel | Prisma.NullableJsonNullValueInput
358
+ model?:PrismaJson.InstanceModel | Prisma.NullableJsonNullValueInput
359
359
  evaluatedAt?: Date | string
360
360
  }
361
361
 
362
362
  export type InstanceEvaluationStateUncheckedCreateWithoutStateInput = {
363
363
  status: $Enums.InstanceEvaluationStatus
364
364
  message?: string | null
365
- model?: PrismaJson.InstanceModel | Prisma.NullableJsonNullValueInput
365
+ model?:PrismaJson.InstanceModel | Prisma.NullableJsonNullValueInput
366
366
  evaluatedAt?: Date | string
367
367
  }
368
368
 
@@ -385,14 +385,14 @@ export type InstanceEvaluationStateUpdateToOneWithWhereWithoutStateInput = {
385
385
  export type InstanceEvaluationStateUpdateWithoutStateInput = {
386
386
  status?: Prisma.EnumInstanceEvaluationStatusFieldUpdateOperationsInput | $Enums.InstanceEvaluationStatus
387
387
  message?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
388
- model?: PrismaJson.InstanceModel | Prisma.NullableJsonNullValueInput
388
+ model?:PrismaJson.InstanceModel | Prisma.NullableJsonNullValueInput
389
389
  evaluatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
390
390
  }
391
391
 
392
392
  export type InstanceEvaluationStateUncheckedUpdateWithoutStateInput = {
393
393
  status?: Prisma.EnumInstanceEvaluationStatusFieldUpdateOperationsInput | $Enums.InstanceEvaluationStatus
394
394
  message?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
395
- model?: PrismaJson.InstanceModel | Prisma.NullableJsonNullValueInput
395
+ model?:PrismaJson.InstanceModel | Prisma.NullableJsonNullValueInput
396
396
  evaluatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
397
397
  }
398
398
 
@@ -475,7 +475,7 @@ export type $InstanceEvaluationStatePayload<ExtArgs extends runtime.Types.Extens
475
475
  *
476
476
  * [InstanceModel]
477
477
  */
478
- model: PrismaJson.InstanceModel | null
478
+ model:PrismaJson.InstanceModel | null
479
479
  /**
480
480
  * The time when the last evaluation was finished.
481
481
  */