@highstate/backend 0.12.0 → 0.13.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 (52) 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 +3 -3
  4. package/dist/index.js +87 -63
  5. package/dist/index.js.map +1 -1
  6. package/dist/library/worker/main.js +4 -2
  7. package/dist/library/worker/main.js.map +1 -1
  8. package/dist/shared/index.js +1 -1
  9. package/package.json +3 -3
  10. package/prisma/project/main.prisma +1 -1
  11. package/prisma/project/operation.prisma +1 -0
  12. package/src/business/instance-state.ts +61 -27
  13. package/src/database/_generated/project/browser.ts +244 -0
  14. package/src/database/_generated/project/client.ts +5 -30
  15. package/src/database/_generated/project/commonInputTypes.ts +2 -2
  16. package/src/database/_generated/project/enums.ts +3 -1
  17. package/src/database/_generated/project/internal/class.ts +11 -16
  18. package/src/database/_generated/project/internal/prismaNamespace.ts +7 -13
  19. package/src/database/_generated/project/internal/prismaNamespaceBrowser.ts +445 -0
  20. package/src/database/_generated/project/models/ApiKey.ts +21 -21
  21. package/src/database/_generated/project/models/Artifact.ts +31 -31
  22. package/src/database/_generated/project/models/HubModel.ts +11 -11
  23. package/src/database/_generated/project/models/InstanceCustomStatus.ts +23 -23
  24. package/src/database/_generated/project/models/InstanceEvaluationState.ts +15 -15
  25. package/src/database/_generated/project/models/InstanceLock.ts +15 -15
  26. package/src/database/_generated/project/models/InstanceModel.ts +11 -11
  27. package/src/database/_generated/project/models/InstanceOperationState.ts +44 -44
  28. package/src/database/_generated/project/models/InstanceState.ts +206 -206
  29. package/src/database/_generated/project/models/Operation.ts +70 -70
  30. package/src/database/_generated/project/models/OperationLog.ts +2 -2
  31. package/src/database/_generated/project/models/Page.ts +54 -54
  32. package/src/database/_generated/project/models/Secret.ts +44 -44
  33. package/src/database/_generated/project/models/ServiceAccount.ts +40 -40
  34. package/src/database/_generated/project/models/Terminal.ts +62 -62
  35. package/src/database/_generated/project/models/TerminalSession.ts +2 -2
  36. package/src/database/_generated/project/models/TerminalSessionLog.ts +2 -2
  37. package/src/database/_generated/project/models/Trigger.ts +32 -32
  38. package/src/database/_generated/project/models/UnlockMethod.ts +11 -11
  39. package/src/database/_generated/project/models/UserCompositeViewport.ts +17 -17
  40. package/src/database/_generated/project/models/UserProjectViewport.ts +11 -11
  41. package/src/database/_generated/project/models/Worker.ts +2 -2
  42. package/src/database/_generated/project/models/WorkerUnitRegistration.ts +23 -23
  43. package/src/database/_generated/project/models/WorkerVersion.ts +29 -29
  44. package/src/database/_generated/project/models/WorkerVersionLog.ts +2 -2
  45. package/src/database/_generated/project/models.ts +1 -1
  46. package/src/database/_generated/project/pjtg.ts +1 -0
  47. package/src/library/local.ts +4 -3
  48. package/src/library/worker/evaluator.ts +5 -1
  49. package/src/orchestrator/operation-workset.ts +22 -11
  50. package/src/orchestrator/operation.ts +11 -5
  51. package/src/shared/models/project/operation.ts +1 -0
  52. 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 `Page` 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
 
@@ -165,11 +165,11 @@ export type PageGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArg
165
165
 
166
166
  export type PageGroupByOutputType = {
167
167
  id: string
168
- meta: PrismaJson.GlobalCommonObjectMeta
168
+ meta:PrismaJson.GlobalCommonObjectMeta
169
169
  stateId: string | null
170
170
  name: string | null
171
171
  serviceAccountId: string | null
172
- content: PrismaJson.PageContent
172
+ content:PrismaJson.PageContent
173
173
  createdAt: Date
174
174
  updatedAt: Date
175
175
  _count: PageCountAggregateOutputType | null
@@ -271,9 +271,9 @@ export type PageScalarWhereWithAggregatesInput = {
271
271
 
272
272
  export type PageCreateInput = {
273
273
  id?: string
274
- meta: PrismaJson.GlobalCommonObjectMeta
274
+ meta:PrismaJson.GlobalCommonObjectMeta
275
275
  name?: string | null
276
- content: PrismaJson.PageContent
276
+ content:PrismaJson.PageContent
277
277
  createdAt?: Date | string
278
278
  updatedAt?: Date | string
279
279
  state?: Prisma.InstanceStateCreateNestedOneWithoutPagesInput
@@ -283,11 +283,11 @@ export type PageCreateInput = {
283
283
 
284
284
  export type PageUncheckedCreateInput = {
285
285
  id?: string
286
- meta: PrismaJson.GlobalCommonObjectMeta
286
+ meta:PrismaJson.GlobalCommonObjectMeta
287
287
  stateId?: string | null
288
288
  name?: string | null
289
289
  serviceAccountId?: string | null
290
- content: PrismaJson.PageContent
290
+ content:PrismaJson.PageContent
291
291
  createdAt?: Date | string
292
292
  updatedAt?: Date | string
293
293
  artifacts?: Prisma.ArtifactUncheckedCreateNestedManyWithoutPagesInput
@@ -295,9 +295,9 @@ export type PageUncheckedCreateInput = {
295
295
 
296
296
  export type PageUpdateInput = {
297
297
  id?: Prisma.StringFieldUpdateOperationsInput | string
298
- meta?: PrismaJson.GlobalCommonObjectMeta
298
+ meta?:PrismaJson.GlobalCommonObjectMeta
299
299
  name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
300
- content?: PrismaJson.PageContent
300
+ content?:PrismaJson.PageContent
301
301
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
302
302
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
303
303
  state?: Prisma.InstanceStateUpdateOneWithoutPagesNestedInput
@@ -307,11 +307,11 @@ export type PageUpdateInput = {
307
307
 
308
308
  export type PageUncheckedUpdateInput = {
309
309
  id?: Prisma.StringFieldUpdateOperationsInput | string
310
- meta?: PrismaJson.GlobalCommonObjectMeta
310
+ meta?:PrismaJson.GlobalCommonObjectMeta
311
311
  stateId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
312
312
  name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
313
313
  serviceAccountId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
314
- content?: PrismaJson.PageContent
314
+ content?:PrismaJson.PageContent
315
315
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
316
316
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
317
317
  artifacts?: Prisma.ArtifactUncheckedUpdateManyWithoutPagesNestedInput
@@ -319,31 +319,31 @@ export type PageUncheckedUpdateInput = {
319
319
 
320
320
  export type PageCreateManyInput = {
321
321
  id?: string
322
- meta: PrismaJson.GlobalCommonObjectMeta
322
+ meta:PrismaJson.GlobalCommonObjectMeta
323
323
  stateId?: string | null
324
324
  name?: string | null
325
325
  serviceAccountId?: string | null
326
- content: PrismaJson.PageContent
326
+ content:PrismaJson.PageContent
327
327
  createdAt?: Date | string
328
328
  updatedAt?: Date | string
329
329
  }
330
330
 
331
331
  export type PageUpdateManyMutationInput = {
332
332
  id?: Prisma.StringFieldUpdateOperationsInput | string
333
- meta?: PrismaJson.GlobalCommonObjectMeta
333
+ meta?:PrismaJson.GlobalCommonObjectMeta
334
334
  name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
335
- content?: PrismaJson.PageContent
335
+ content?:PrismaJson.PageContent
336
336
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
337
337
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
338
338
  }
339
339
 
340
340
  export type PageUncheckedUpdateManyInput = {
341
341
  id?: Prisma.StringFieldUpdateOperationsInput | string
342
- meta?: PrismaJson.GlobalCommonObjectMeta
342
+ meta?:PrismaJson.GlobalCommonObjectMeta
343
343
  stateId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
344
344
  name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
345
345
  serviceAccountId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
346
- content?: PrismaJson.PageContent
346
+ content?:PrismaJson.PageContent
347
347
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
348
348
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
349
349
  }
@@ -516,9 +516,9 @@ export type PageUncheckedUpdateManyWithoutServiceAccountNestedInput = {
516
516
 
517
517
  export type PageCreateWithoutArtifactsInput = {
518
518
  id?: string
519
- meta: PrismaJson.GlobalCommonObjectMeta
519
+ meta:PrismaJson.GlobalCommonObjectMeta
520
520
  name?: string | null
521
- content: PrismaJson.PageContent
521
+ content:PrismaJson.PageContent
522
522
  createdAt?: Date | string
523
523
  updatedAt?: Date | string
524
524
  state?: Prisma.InstanceStateCreateNestedOneWithoutPagesInput
@@ -527,11 +527,11 @@ export type PageCreateWithoutArtifactsInput = {
527
527
 
528
528
  export type PageUncheckedCreateWithoutArtifactsInput = {
529
529
  id?: string
530
- meta: PrismaJson.GlobalCommonObjectMeta
530
+ meta:PrismaJson.GlobalCommonObjectMeta
531
531
  stateId?: string | null
532
532
  name?: string | null
533
533
  serviceAccountId?: string | null
534
- content: PrismaJson.PageContent
534
+ content:PrismaJson.PageContent
535
535
  createdAt?: Date | string
536
536
  updatedAt?: Date | string
537
537
  }
@@ -573,9 +573,9 @@ export type PageScalarWhereInput = {
573
573
 
574
574
  export type PageCreateWithoutStateInput = {
575
575
  id?: string
576
- meta: PrismaJson.GlobalCommonObjectMeta
576
+ meta:PrismaJson.GlobalCommonObjectMeta
577
577
  name?: string | null
578
- content: PrismaJson.PageContent
578
+ content:PrismaJson.PageContent
579
579
  createdAt?: Date | string
580
580
  updatedAt?: Date | string
581
581
  serviceAccount?: Prisma.ServiceAccountCreateNestedOneWithoutPagesInput
@@ -584,10 +584,10 @@ export type PageCreateWithoutStateInput = {
584
584
 
585
585
  export type PageUncheckedCreateWithoutStateInput = {
586
586
  id?: string
587
- meta: PrismaJson.GlobalCommonObjectMeta
587
+ meta:PrismaJson.GlobalCommonObjectMeta
588
588
  name?: string | null
589
589
  serviceAccountId?: string | null
590
- content: PrismaJson.PageContent
590
+ content:PrismaJson.PageContent
591
591
  createdAt?: Date | string
592
592
  updatedAt?: Date | string
593
593
  artifacts?: Prisma.ArtifactUncheckedCreateNestedManyWithoutPagesInput
@@ -620,9 +620,9 @@ export type PageUpdateManyWithWhereWithoutStateInput = {
620
620
 
621
621
  export type PageCreateWithoutServiceAccountInput = {
622
622
  id?: string
623
- meta: PrismaJson.GlobalCommonObjectMeta
623
+ meta:PrismaJson.GlobalCommonObjectMeta
624
624
  name?: string | null
625
- content: PrismaJson.PageContent
625
+ content:PrismaJson.PageContent
626
626
  createdAt?: Date | string
627
627
  updatedAt?: Date | string
628
628
  state?: Prisma.InstanceStateCreateNestedOneWithoutPagesInput
@@ -631,10 +631,10 @@ export type PageCreateWithoutServiceAccountInput = {
631
631
 
632
632
  export type PageUncheckedCreateWithoutServiceAccountInput = {
633
633
  id?: string
634
- meta: PrismaJson.GlobalCommonObjectMeta
634
+ meta:PrismaJson.GlobalCommonObjectMeta
635
635
  stateId?: string | null
636
636
  name?: string | null
637
- content: PrismaJson.PageContent
637
+ content:PrismaJson.PageContent
638
638
  createdAt?: Date | string
639
639
  updatedAt?: Date | string
640
640
  artifacts?: Prisma.ArtifactUncheckedCreateNestedManyWithoutPagesInput
@@ -667,9 +667,9 @@ export type PageUpdateManyWithWhereWithoutServiceAccountInput = {
667
667
 
668
668
  export type PageUpdateWithoutArtifactsInput = {
669
669
  id?: Prisma.StringFieldUpdateOperationsInput | string
670
- meta?: PrismaJson.GlobalCommonObjectMeta
670
+ meta?:PrismaJson.GlobalCommonObjectMeta
671
671
  name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
672
- content?: PrismaJson.PageContent
672
+ content?:PrismaJson.PageContent
673
673
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
674
674
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
675
675
  state?: Prisma.InstanceStateUpdateOneWithoutPagesNestedInput
@@ -678,41 +678,41 @@ export type PageUpdateWithoutArtifactsInput = {
678
678
 
679
679
  export type PageUncheckedUpdateWithoutArtifactsInput = {
680
680
  id?: Prisma.StringFieldUpdateOperationsInput | string
681
- meta?: PrismaJson.GlobalCommonObjectMeta
681
+ meta?:PrismaJson.GlobalCommonObjectMeta
682
682
  stateId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
683
683
  name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
684
684
  serviceAccountId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
685
- content?: PrismaJson.PageContent
685
+ content?:PrismaJson.PageContent
686
686
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
687
687
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
688
688
  }
689
689
 
690
690
  export type PageUncheckedUpdateManyWithoutArtifactsInput = {
691
691
  id?: Prisma.StringFieldUpdateOperationsInput | string
692
- meta?: Prisma.JsonNullValueInput | runtime.InputJsonValue
692
+ meta?:PrismaJson.GlobalCommonObjectMeta
693
693
  stateId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
694
694
  name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
695
695
  serviceAccountId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
696
- content?: Prisma.JsonNullValueInput | runtime.InputJsonValue
696
+ content?:PrismaJson.PageContent
697
697
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
698
698
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
699
699
  }
700
700
 
701
701
  export type PageCreateManyStateInput = {
702
702
  id?: string
703
- meta: PrismaJson.GlobalCommonObjectMeta
703
+ meta:PrismaJson.GlobalCommonObjectMeta
704
704
  name?: string | null
705
705
  serviceAccountId?: string | null
706
- content: PrismaJson.PageContent
706
+ content:PrismaJson.PageContent
707
707
  createdAt?: Date | string
708
708
  updatedAt?: Date | string
709
709
  }
710
710
 
711
711
  export type PageUpdateWithoutStateInput = {
712
712
  id?: Prisma.StringFieldUpdateOperationsInput | string
713
- meta?: PrismaJson.GlobalCommonObjectMeta
713
+ meta?:PrismaJson.GlobalCommonObjectMeta
714
714
  name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
715
- content?: PrismaJson.PageContent
715
+ content?:PrismaJson.PageContent
716
716
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
717
717
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
718
718
  serviceAccount?: Prisma.ServiceAccountUpdateOneWithoutPagesNestedInput
@@ -721,10 +721,10 @@ export type PageUpdateWithoutStateInput = {
721
721
 
722
722
  export type PageUncheckedUpdateWithoutStateInput = {
723
723
  id?: Prisma.StringFieldUpdateOperationsInput | string
724
- meta?: PrismaJson.GlobalCommonObjectMeta
724
+ meta?:PrismaJson.GlobalCommonObjectMeta
725
725
  name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
726
726
  serviceAccountId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
727
- content?: PrismaJson.PageContent
727
+ content?:PrismaJson.PageContent
728
728
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
729
729
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
730
730
  artifacts?: Prisma.ArtifactUncheckedUpdateManyWithoutPagesNestedInput
@@ -732,29 +732,29 @@ export type PageUncheckedUpdateWithoutStateInput = {
732
732
 
733
733
  export type PageUncheckedUpdateManyWithoutStateInput = {
734
734
  id?: Prisma.StringFieldUpdateOperationsInput | string
735
- meta?: Prisma.JsonNullValueInput | runtime.InputJsonValue
735
+ meta?:PrismaJson.GlobalCommonObjectMeta
736
736
  name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
737
737
  serviceAccountId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
738
- content?: Prisma.JsonNullValueInput | runtime.InputJsonValue
738
+ content?:PrismaJson.PageContent
739
739
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
740
740
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
741
741
  }
742
742
 
743
743
  export type PageCreateManyServiceAccountInput = {
744
744
  id?: string
745
- meta: PrismaJson.GlobalCommonObjectMeta
745
+ meta:PrismaJson.GlobalCommonObjectMeta
746
746
  stateId?: string | null
747
747
  name?: string | null
748
- content: PrismaJson.PageContent
748
+ content:PrismaJson.PageContent
749
749
  createdAt?: Date | string
750
750
  updatedAt?: Date | string
751
751
  }
752
752
 
753
753
  export type PageUpdateWithoutServiceAccountInput = {
754
754
  id?: Prisma.StringFieldUpdateOperationsInput | string
755
- meta?: PrismaJson.GlobalCommonObjectMeta
755
+ meta?:PrismaJson.GlobalCommonObjectMeta
756
756
  name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
757
- content?: PrismaJson.PageContent
757
+ content?:PrismaJson.PageContent
758
758
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
759
759
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
760
760
  state?: Prisma.InstanceStateUpdateOneWithoutPagesNestedInput
@@ -763,10 +763,10 @@ export type PageUpdateWithoutServiceAccountInput = {
763
763
 
764
764
  export type PageUncheckedUpdateWithoutServiceAccountInput = {
765
765
  id?: Prisma.StringFieldUpdateOperationsInput | string
766
- meta?: PrismaJson.GlobalCommonObjectMeta
766
+ meta?:PrismaJson.GlobalCommonObjectMeta
767
767
  stateId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
768
768
  name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
769
- content?: PrismaJson.PageContent
769
+ content?:PrismaJson.PageContent
770
770
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
771
771
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
772
772
  artifacts?: Prisma.ArtifactUncheckedUpdateManyWithoutPagesNestedInput
@@ -774,10 +774,10 @@ export type PageUncheckedUpdateWithoutServiceAccountInput = {
774
774
 
775
775
  export type PageUncheckedUpdateManyWithoutServiceAccountInput = {
776
776
  id?: Prisma.StringFieldUpdateOperationsInput | string
777
- meta?: Prisma.JsonNullValueInput | runtime.InputJsonValue
777
+ meta?:PrismaJson.GlobalCommonObjectMeta
778
778
  stateId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
779
779
  name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
780
- content?: Prisma.JsonNullValueInput | runtime.InputJsonValue
780
+ content?:PrismaJson.PageContent
781
781
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
782
782
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
783
783
  }
@@ -907,7 +907,7 @@ export type $PagePayload<ExtArgs extends runtime.Types.Extensions.InternalArgs =
907
907
  *
908
908
  * [GlobalCommonObjectMeta]
909
909
  */
910
- meta: PrismaJson.GlobalCommonObjectMeta
910
+ meta:PrismaJson.GlobalCommonObjectMeta
911
911
  /**
912
912
  * The ID of the instance state that owns this page.
913
913
  */
@@ -928,7 +928,7 @@ export type $PagePayload<ExtArgs extends runtime.Types.Extensions.InternalArgs =
928
928
  *
929
929
  * [PageContent]
930
930
  */
931
- content: PrismaJson.PageContent
931
+ content:PrismaJson.PageContent
932
932
  /**
933
933
  * The time when the page was created.
934
934
  */
@@ -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 `Secret` 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
 
@@ -177,12 +177,12 @@ export type SecretGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalA
177
177
 
178
178
  export type SecretGroupByOutputType = {
179
179
  id: string
180
- meta: PrismaJson.GlobalCommonObjectMeta
180
+ meta:PrismaJson.GlobalCommonObjectMeta
181
181
  stateId: string | null
182
182
  name: string | null
183
183
  systemName: string | null
184
184
  serviceAccountId: string | null
185
- content: (unknown)
185
+ content:(unknown)
186
186
  createdAt: Date
187
187
  updatedAt: Date
188
188
  _count: SecretCountAggregateOutputType | null
@@ -286,10 +286,10 @@ export type SecretScalarWhereWithAggregatesInput = {
286
286
 
287
287
  export type SecretCreateInput = {
288
288
  id?: string
289
- meta: PrismaJson.GlobalCommonObjectMeta
289
+ meta:PrismaJson.GlobalCommonObjectMeta
290
290
  name?: string | null
291
291
  systemName?: string | null
292
- content: (unknown)
292
+ content:(unknown)
293
293
  createdAt?: Date | string
294
294
  updatedAt?: Date | string
295
295
  state?: Prisma.InstanceStateCreateNestedOneWithoutSecretsInput
@@ -298,22 +298,22 @@ export type SecretCreateInput = {
298
298
 
299
299
  export type SecretUncheckedCreateInput = {
300
300
  id?: string
301
- meta: PrismaJson.GlobalCommonObjectMeta
301
+ meta:PrismaJson.GlobalCommonObjectMeta
302
302
  stateId?: string | null
303
303
  name?: string | null
304
304
  systemName?: string | null
305
305
  serviceAccountId?: string | null
306
- content: (unknown)
306
+ content:(unknown)
307
307
  createdAt?: Date | string
308
308
  updatedAt?: Date | string
309
309
  }
310
310
 
311
311
  export type SecretUpdateInput = {
312
312
  id?: Prisma.StringFieldUpdateOperationsInput | string
313
- meta?: PrismaJson.GlobalCommonObjectMeta
313
+ meta?:PrismaJson.GlobalCommonObjectMeta
314
314
  name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
315
315
  systemName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
316
- content?: (unknown)
316
+ content?:(unknown)
317
317
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
318
318
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
319
319
  state?: Prisma.InstanceStateUpdateOneWithoutSecretsNestedInput
@@ -322,46 +322,46 @@ export type SecretUpdateInput = {
322
322
 
323
323
  export type SecretUncheckedUpdateInput = {
324
324
  id?: Prisma.StringFieldUpdateOperationsInput | string
325
- meta?: PrismaJson.GlobalCommonObjectMeta
325
+ meta?:PrismaJson.GlobalCommonObjectMeta
326
326
  stateId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
327
327
  name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
328
328
  systemName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
329
329
  serviceAccountId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
330
- content?: (unknown)
330
+ content?:(unknown)
331
331
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
332
332
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
333
333
  }
334
334
 
335
335
  export type SecretCreateManyInput = {
336
336
  id?: string
337
- meta: PrismaJson.GlobalCommonObjectMeta
337
+ meta:PrismaJson.GlobalCommonObjectMeta
338
338
  stateId?: string | null
339
339
  name?: string | null
340
340
  systemName?: string | null
341
341
  serviceAccountId?: string | null
342
- content: (unknown)
342
+ content:(unknown)
343
343
  createdAt?: Date | string
344
344
  updatedAt?: Date | string
345
345
  }
346
346
 
347
347
  export type SecretUpdateManyMutationInput = {
348
348
  id?: Prisma.StringFieldUpdateOperationsInput | string
349
- meta?: PrismaJson.GlobalCommonObjectMeta
349
+ meta?:PrismaJson.GlobalCommonObjectMeta
350
350
  name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
351
351
  systemName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
352
- content?: (unknown)
352
+ content?:(unknown)
353
353
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
354
354
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
355
355
  }
356
356
 
357
357
  export type SecretUncheckedUpdateManyInput = {
358
358
  id?: Prisma.StringFieldUpdateOperationsInput | string
359
- meta?: PrismaJson.GlobalCommonObjectMeta
359
+ meta?:PrismaJson.GlobalCommonObjectMeta
360
360
  stateId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
361
361
  name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
362
362
  systemName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
363
363
  serviceAccountId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
364
- content?: (unknown)
364
+ content?:(unknown)
365
365
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
366
366
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
367
367
  }
@@ -499,10 +499,10 @@ export type SecretUncheckedUpdateManyWithoutServiceAccountNestedInput = {
499
499
 
500
500
  export type SecretCreateWithoutStateInput = {
501
501
  id?: string
502
- meta: PrismaJson.GlobalCommonObjectMeta
502
+ meta:PrismaJson.GlobalCommonObjectMeta
503
503
  name?: string | null
504
504
  systemName?: string | null
505
- content: (unknown)
505
+ content:(unknown)
506
506
  createdAt?: Date | string
507
507
  updatedAt?: Date | string
508
508
  serviceAccount?: Prisma.ServiceAccountCreateNestedOneWithoutSecretsInput
@@ -510,11 +510,11 @@ export type SecretCreateWithoutStateInput = {
510
510
 
511
511
  export type SecretUncheckedCreateWithoutStateInput = {
512
512
  id?: string
513
- meta: PrismaJson.GlobalCommonObjectMeta
513
+ meta:PrismaJson.GlobalCommonObjectMeta
514
514
  name?: string | null
515
515
  systemName?: string | null
516
516
  serviceAccountId?: string | null
517
- content: (unknown)
517
+ content:(unknown)
518
518
  createdAt?: Date | string
519
519
  updatedAt?: Date | string
520
520
  }
@@ -561,10 +561,10 @@ export type SecretScalarWhereInput = {
561
561
 
562
562
  export type SecretCreateWithoutServiceAccountInput = {
563
563
  id?: string
564
- meta: PrismaJson.GlobalCommonObjectMeta
564
+ meta:PrismaJson.GlobalCommonObjectMeta
565
565
  name?: string | null
566
566
  systemName?: string | null
567
- content: (unknown)
567
+ content:(unknown)
568
568
  createdAt?: Date | string
569
569
  updatedAt?: Date | string
570
570
  state?: Prisma.InstanceStateCreateNestedOneWithoutSecretsInput
@@ -572,11 +572,11 @@ export type SecretCreateWithoutServiceAccountInput = {
572
572
 
573
573
  export type SecretUncheckedCreateWithoutServiceAccountInput = {
574
574
  id?: string
575
- meta: PrismaJson.GlobalCommonObjectMeta
575
+ meta:PrismaJson.GlobalCommonObjectMeta
576
576
  stateId?: string | null
577
577
  name?: string | null
578
578
  systemName?: string | null
579
- content: (unknown)
579
+ content:(unknown)
580
580
  createdAt?: Date | string
581
581
  updatedAt?: Date | string
582
582
  }
@@ -608,21 +608,21 @@ export type SecretUpdateManyWithWhereWithoutServiceAccountInput = {
608
608
 
609
609
  export type SecretCreateManyStateInput = {
610
610
  id?: string
611
- meta: PrismaJson.GlobalCommonObjectMeta
611
+ meta:PrismaJson.GlobalCommonObjectMeta
612
612
  name?: string | null
613
613
  systemName?: string | null
614
614
  serviceAccountId?: string | null
615
- content: (unknown)
615
+ content:(unknown)
616
616
  createdAt?: Date | string
617
617
  updatedAt?: Date | string
618
618
  }
619
619
 
620
620
  export type SecretUpdateWithoutStateInput = {
621
621
  id?: Prisma.StringFieldUpdateOperationsInput | string
622
- meta?: PrismaJson.GlobalCommonObjectMeta
622
+ meta?:PrismaJson.GlobalCommonObjectMeta
623
623
  name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
624
624
  systemName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
625
- content?: (unknown)
625
+ content?:(unknown)
626
626
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
627
627
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
628
628
  serviceAccount?: Prisma.ServiceAccountUpdateOneWithoutSecretsNestedInput
@@ -630,43 +630,43 @@ export type SecretUpdateWithoutStateInput = {
630
630
 
631
631
  export type SecretUncheckedUpdateWithoutStateInput = {
632
632
  id?: Prisma.StringFieldUpdateOperationsInput | string
633
- meta?: PrismaJson.GlobalCommonObjectMeta
633
+ meta?:PrismaJson.GlobalCommonObjectMeta
634
634
  name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
635
635
  systemName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
636
636
  serviceAccountId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
637
- content?: (unknown)
637
+ content?:(unknown)
638
638
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
639
639
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
640
640
  }
641
641
 
642
642
  export type SecretUncheckedUpdateManyWithoutStateInput = {
643
643
  id?: Prisma.StringFieldUpdateOperationsInput | string
644
- meta?: Prisma.JsonNullValueInput | runtime.InputJsonValue
644
+ meta?:PrismaJson.GlobalCommonObjectMeta
645
645
  name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
646
646
  systemName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
647
647
  serviceAccountId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
648
- content?: Prisma.JsonNullValueInput | runtime.InputJsonValue
648
+ content?:(unknown)
649
649
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
650
650
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
651
651
  }
652
652
 
653
653
  export type SecretCreateManyServiceAccountInput = {
654
654
  id?: string
655
- meta: PrismaJson.GlobalCommonObjectMeta
655
+ meta:PrismaJson.GlobalCommonObjectMeta
656
656
  stateId?: string | null
657
657
  name?: string | null
658
658
  systemName?: string | null
659
- content: (unknown)
659
+ content:(unknown)
660
660
  createdAt?: Date | string
661
661
  updatedAt?: Date | string
662
662
  }
663
663
 
664
664
  export type SecretUpdateWithoutServiceAccountInput = {
665
665
  id?: Prisma.StringFieldUpdateOperationsInput | string
666
- meta?: PrismaJson.GlobalCommonObjectMeta
666
+ meta?:PrismaJson.GlobalCommonObjectMeta
667
667
  name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
668
668
  systemName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
669
- content?: (unknown)
669
+ content?:(unknown)
670
670
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
671
671
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
672
672
  state?: Prisma.InstanceStateUpdateOneWithoutSecretsNestedInput
@@ -674,22 +674,22 @@ export type SecretUpdateWithoutServiceAccountInput = {
674
674
 
675
675
  export type SecretUncheckedUpdateWithoutServiceAccountInput = {
676
676
  id?: Prisma.StringFieldUpdateOperationsInput | string
677
- meta?: PrismaJson.GlobalCommonObjectMeta
677
+ meta?:PrismaJson.GlobalCommonObjectMeta
678
678
  stateId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
679
679
  name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
680
680
  systemName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
681
- content?: (unknown)
681
+ content?:(unknown)
682
682
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
683
683
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
684
684
  }
685
685
 
686
686
  export type SecretUncheckedUpdateManyWithoutServiceAccountInput = {
687
687
  id?: Prisma.StringFieldUpdateOperationsInput | string
688
- meta?: Prisma.JsonNullValueInput | runtime.InputJsonValue
688
+ meta?:PrismaJson.GlobalCommonObjectMeta
689
689
  stateId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
690
690
  name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
691
691
  systemName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
692
- content?: Prisma.JsonNullValueInput | runtime.InputJsonValue
692
+ content?:(unknown)
693
693
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
694
694
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
695
695
  }
@@ -786,7 +786,7 @@ export type $SecretPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs
786
786
  *
787
787
  * [GlobalCommonObjectMeta]
788
788
  */
789
- meta: PrismaJson.GlobalCommonObjectMeta
789
+ meta:PrismaJson.GlobalCommonObjectMeta
790
790
  /**
791
791
  * The ID of the state of the instance owning this secret.
792
792
  */
@@ -810,7 +810,7 @@ export type $SecretPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs
810
810
  *
811
811
  * ![unknown]
812
812
  */
813
- content: (unknown)
813
+ content:(unknown)
814
814
  /**
815
815
  * The time when the secret was created.
816
816
  */