@nosana/types 2.2.20 → 2.7.3

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.
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/Jobs/JobDefinition/operations/index.ts"],"names":[],"mappings":";;;AAAA,OAAO,KAAiC,MAAM,OAAO,CAAC;AAMtD,cAAc,YAAY,CAAC;AAsC3B,MAAM,CAAC,MAAM,iBAAiB;;;;;;;w4BA5CpB,EAAG;;;;;;;;;;4CAU6B,CAAE,SAC5C,CACA;;;;;QAKoB,CAAC;;;;;;;;;YAgBN,CAAC;;QAAoD,CAAC;IACnE,CAAC;;;;;QAMuB,CAAC;IACnB,CAAC;;AAGC,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;uNA3CuB,EAAG;;;;;;IAET,CAAC;;AAA0B,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iDAH9C,EAAG;;;;;;;;;;gDAU6B,CAAE,SAC5C,CACA;;;;;YAKoB,CAAC;;;;;;;;;gBAgBN,CAAC;;YAAoD,CAAC;QACnE,CAAC;;;;;YAMuB,CAAC;QACnB,CAAC;;IAGC,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2GA3CuB,EAAG;;;;;;QAET,CAAC;;IAA0B,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;0GAH5B,EAAE;;;qBACyB,EAAE;;;;;IAEvC,CAAC;;AAAsB,CAAC;;;;;;;;6CAHd,EAAE;;;6BACyB,EAAE;;;;;YAEvC,CAAC;;QAAsB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QAiDC,CAAC"}
@@ -85,7 +85,7 @@ export const validateJobDefinition = (() => { const _io0 = (input, _exceptionabl
85
85
  if (undefined === value)
86
86
  return true;
87
87
  return "string" === typeof value;
88
- }); const _io11 = (input, _exceptionable = true) => ("container/run" === input.type || "container/create-volume" === input.type) && ("string" === typeof input.id && (typeof input.id === "string" && !input.id.includes(" ") && !input.id.includes("."))) && ("object" === typeof input.args && null !== input.args && _iu3(input.args, true && _exceptionable)) && (undefined === input.results || "object" === typeof input.results && null !== input.results && false === Array.isArray(input.results) && _io30(input.results, true && _exceptionable)) && (undefined === input.execution || "object" === typeof input.execution && null !== input.execution && false === Array.isArray(input.execution) && _iu4(input.execution, true && _exceptionable)) && (3 === Object.keys(input).length || Object.keys(input).every(key => {
88
+ }); const _io11 = (input, _exceptionable = true) => ("container/run" === input.type || "container/create-volume" === input.type) && ("string" === typeof input.id && (typeof input.id === "string" && !input.id.includes(" ") && !input.id.includes("."))) && ("object" === typeof input.args && null !== input.args && _iu3(input.args, true && _exceptionable)) && (undefined === input.results || "object" === typeof input.results && null !== input.results && false === Array.isArray(input.results) && _io30(input.results, true && _exceptionable)) && (undefined === input.execution || "object" === typeof input.execution && null !== input.execution && false === Array.isArray(input.execution) && _io32(input.execution, true && _exceptionable)) && (3 === Object.keys(input).length || Object.keys(input).every(key => {
89
89
  if (["type", "id", "args", "results", "execution"].some(prop => key === prop))
90
90
  return true;
91
91
  const value = input[key];
@@ -271,14 +271,7 @@ export const validateJobDefinition = (() => { const _io0 = (input, _exceptionabl
271
271
  if (undefined === value)
272
272
  return true;
273
273
  return false;
274
- })); const _io32 = (input, _exceptionable = true) => (undefined === input.group || "string" === typeof input.group) && (undefined === input.timeout || "number" === typeof input.timeout) && (null !== input.depends_on && undefined === input.depends_on) && (null !== input.stop_if_dependent_stops && undefined === input.stop_if_dependent_stops) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
275
- if (["group", "timeout", "depends_on", "stop_if_dependent_stops"].some(prop => key === prop))
276
- return true;
277
- const value = input[key];
278
- if (undefined === value)
279
- return true;
280
- return false;
281
- })); const _io33 = (input, _exceptionable = true) => (undefined === input.group || "string" === typeof input.group) && (undefined === input.timeout || "number" === typeof input.timeout) && (Array.isArray(input.depends_on) && input.depends_on.every((elem, _index18) => "string" === typeof elem)) && (undefined === input.stop_if_dependent_stops || "boolean" === typeof input.stop_if_dependent_stops) && (1 === Object.keys(input).length || Object.keys(input).every(key => {
274
+ })); const _io32 = (input, _exceptionable = true) => (undefined === input.group || "string" === typeof input.group) && (undefined === input.timeout || "number" === typeof input.timeout) && (undefined === input.depends_on || Array.isArray(input.depends_on) && input.depends_on.every((elem, _index18) => "string" === typeof elem)) && (undefined === input.stop_if_dependent_stops || "boolean" === typeof input.stop_if_dependent_stops) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
282
275
  if (["group", "timeout", "depends_on", "stop_if_dependent_stops"].some(prop => key === prop))
283
276
  return true;
284
277
  const value = input[key];
@@ -319,11 +312,6 @@ export const validateJobDefinition = (() => { const _io0 = (input, _exceptionabl
319
312
  return _io29(input, true && _exceptionable);
320
313
  else
321
314
  return false;
322
- })(); const _iu4 = (input, _exceptionable = true) => (() => {
323
- if (Array.isArray(input.depends_on) && input.depends_on.every((elem, _index19) => "string" === typeof elem))
324
- return _io33(input, true && _exceptionable);
325
- else
326
- return _io32(input, true && _exceptionable);
327
315
  })(); const _vo0 = (input, _path, _exceptionable = true) => ["container" === input.type || _report(_exceptionable, {
328
316
  path: _path + ".type",
329
317
  expected: "\"container\"",
@@ -386,12 +374,12 @@ export const validateJobDefinition = (() => { const _io0 = (input, _exceptionabl
386
374
  path: _path + ".ops",
387
375
  expected: "Array<> & UniqueById",
388
376
  value: input.ops
389
- })) && input.ops.map((elem, _index20) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
390
- path: _path + ".ops[" + _index20 + "]",
377
+ })) && input.ops.map((elem, _index19) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
378
+ path: _path + ".ops[" + _index19 + "]",
391
379
  expected: "Operation<keyof OperationArgsMap>",
392
380
  value: elem
393
- })) && _vo11(elem, _path + ".ops[" + _index20 + "]", true && _exceptionable) || _report(_exceptionable, {
394
- path: _path + ".ops[" + _index20 + "]",
381
+ })) && _vo11(elem, _path + ".ops[" + _index19 + "]", true && _exceptionable) || _report(_exceptionable, {
382
+ path: _path + ".ops[" + _index19 + "]",
395
383
  expected: "Operation<keyof OperationArgsMap>",
396
384
  value: elem
397
385
  })).every(flag => flag)) || _report(_exceptionable, {
@@ -498,8 +486,8 @@ export const validateJobDefinition = (() => { const _io0 = (input, _exceptionabl
498
486
  path: _path + ".public_keys",
499
487
  expected: "(Array<string> | undefined)",
500
488
  value: input.public_keys
501
- })) && input.public_keys.map((elem, _index21) => "string" === typeof elem || _report(_exceptionable, {
502
- path: _path + ".public_keys[" + _index21 + "]",
489
+ })) && input.public_keys.map((elem, _index20) => "string" === typeof elem || _report(_exceptionable, {
490
+ path: _path + ".public_keys[" + _index20 + "]",
503
491
  expected: "string",
504
492
  value: elem
505
493
  })).every(flag => flag) || _report(_exceptionable, {
@@ -544,8 +532,8 @@ export const validateJobDefinition = (() => { const _io0 = (input, _exceptionabl
544
532
  path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
545
533
  expected: "(Array<string | number> | Record<string, string | number | (string | number)[]> | number | string | undefined)",
546
534
  value: value
547
- })) && (undefined === value || "string" === typeof value || "number" === typeof value || (Array.isArray(value) && value.map((elem, _index22) => "string" === typeof elem || "number" === typeof elem || _report(_exceptionable, {
548
- path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key) + "[" + _index22 + "]",
535
+ })) && (undefined === value || "string" === typeof value || "number" === typeof value || (Array.isArray(value) && value.map((elem, _index21) => "string" === typeof elem || "number" === typeof elem || _report(_exceptionable, {
536
+ path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key) + "[" + _index21 + "]",
549
537
  expected: "(number | string)",
550
538
  value: elem
551
539
  })).every(flag => flag) || "object" === typeof value && null !== value && false === Array.isArray(value) && _vo7(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || _report(_exceptionable, {
@@ -582,8 +570,8 @@ export const validateJobDefinition = (() => { const _io0 = (input, _exceptionabl
582
570
  path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
583
571
  expected: "(Array<string | number> | number | string)",
584
572
  value: value
585
- })) && value.map((elem, _index23) => "string" === typeof elem || "number" === typeof elem || _report(_exceptionable, {
586
- path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key) + "[" + _index23 + "]",
573
+ })) && value.map((elem, _index22) => "string" === typeof elem || "number" === typeof elem || _report(_exceptionable, {
574
+ path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key) + "[" + _index22 + "]",
587
575
  expected: "(number | string)",
588
576
  value: elem
589
577
  })).every(flag => flag) || _report(_exceptionable, {
@@ -607,8 +595,8 @@ export const validateJobDefinition = (() => { const _io0 = (input, _exceptionabl
607
595
  path: _path + ".entrypoint",
608
596
  expected: "(CMDArray | string | undefined)",
609
597
  value: input.entrypoint
610
- })) && input.entrypoint.map((elem, _index24) => "string" === typeof elem || _report(_exceptionable, {
611
- path: _path + ".entrypoint[" + _index24 + "]",
598
+ })) && input.entrypoint.map((elem, _index23) => "string" === typeof elem || _report(_exceptionable, {
599
+ path: _path + ".entrypoint[" + _index23 + "]",
612
600
  expected: "string",
613
601
  value: elem
614
602
  })).every(flag => flag) || _report(_exceptionable, {
@@ -699,11 +687,11 @@ export const validateJobDefinition = (() => { const _io0 = (input, _exceptionabl
699
687
  value: input.results
700
688
  }), undefined === input.execution || ("object" === typeof input.execution && null !== input.execution && false === Array.isArray(input.execution) || _report(_exceptionable, {
701
689
  path: _path + ".execution",
702
- expected: "(undefined | { group?: string | undefined; timeout?: number | undefined; } & { depends_on: string[]; stop_if_dependent_stops?: boolean | undefined; } | { group?: string | undefined; timeout?: number | undefined; } & { depends_on?: undefined; stop_if_dependent_stops?: undefined; })",
690
+ expected: "(Execution | undefined)",
703
691
  value: input.execution
704
- })) && _vu4(input.execution, _path + ".execution", true && _exceptionable) || _report(_exceptionable, {
692
+ })) && _vo32(input.execution, _path + ".execution", true && _exceptionable) || _report(_exceptionable, {
705
693
  path: _path + ".execution",
706
- expected: "(undefined | { group?: string | undefined; timeout?: number | undefined; } & { depends_on: string[]; stop_if_dependent_stops?: boolean | undefined; } | { group?: string | undefined; timeout?: number | undefined; } & { depends_on?: undefined; stop_if_dependent_stops?: undefined; })",
694
+ expected: "(Execution | undefined)",
707
695
  value: input.execution
708
696
  }), 3 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
709
697
  if (["type", "id", "args", "results", "execution"].some(prop => key === prop))
@@ -733,8 +721,8 @@ export const validateJobDefinition = (() => { const _io0 = (input, _exceptionabl
733
721
  path: _path + ".aliases",
734
722
  expected: "(Aliases | string | undefined)",
735
723
  value: input.aliases
736
- })) && input.aliases.map((elem, _index25) => "string" === typeof elem || _report(_exceptionable, {
737
- path: _path + ".aliases[" + _index25 + "]",
724
+ })) && input.aliases.map((elem, _index24) => "string" === typeof elem || _report(_exceptionable, {
725
+ path: _path + ".aliases[" + _index24 + "]",
738
726
  expected: "string",
739
727
  value: elem
740
728
  })).every(flag => flag) || _report(_exceptionable, {
@@ -749,8 +737,8 @@ export const validateJobDefinition = (() => { const _io0 = (input, _exceptionabl
749
737
  path: _path + ".cmd",
750
738
  expected: "(CMDArray | string | undefined)",
751
739
  value: input.cmd
752
- })) && input.cmd.map((elem, _index26) => "string" === typeof elem || _report(_exceptionable, {
753
- path: _path + ".cmd[" + _index26 + "]",
740
+ })) && input.cmd.map((elem, _index25) => "string" === typeof elem || _report(_exceptionable, {
741
+ path: _path + ".cmd[" + _index25 + "]",
754
742
  expected: "string",
755
743
  value: elem
756
744
  })).every(flag => flag) || _report(_exceptionable, {
@@ -761,12 +749,12 @@ export const validateJobDefinition = (() => { const _io0 = (input, _exceptionabl
761
749
  path: _path + ".volumes",
762
750
  expected: "(Array<Volume> | undefined)",
763
751
  value: input.volumes
764
- })) && input.volumes.map((elem, _index27) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
765
- path: _path + ".volumes[" + _index27 + "]",
752
+ })) && input.volumes.map((elem, _index26) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
753
+ path: _path + ".volumes[" + _index26 + "]",
766
754
  expected: "Volume",
767
755
  value: elem
768
- })) && _vo13(elem, _path + ".volumes[" + _index27 + "]", true && _exceptionable) || _report(_exceptionable, {
769
- path: _path + ".volumes[" + _index27 + "]",
756
+ })) && _vo13(elem, _path + ".volumes[" + _index26 + "]", true && _exceptionable) || _report(_exceptionable, {
757
+ path: _path + ".volumes[" + _index26 + "]",
770
758
  expected: "Volume",
771
759
  value: elem
772
760
  })).every(flag => flag) || _report(_exceptionable, {
@@ -820,24 +808,24 @@ export const validateJobDefinition = (() => { const _io0 = (input, _exceptionabl
820
808
  path: _path + ".expose",
821
809
  expected: "Array<> & TagBase<__type>",
822
810
  value: input.expose
823
- })) && input.expose.map((elem, _index28) => (null !== elem || _report(_exceptionable, {
824
- path: _path + ".expose[" + _index28 + "]",
811
+ })) && input.expose.map((elem, _index27) => (null !== elem || _report(_exceptionable, {
812
+ path: _path + ".expose[" + _index27 + "]",
825
813
  expected: "((__type & TagBase<__type>) | (string & TagBase<__type>) | ExposedPort | number)",
826
814
  value: elem
827
815
  })) && (undefined !== elem || _report(_exceptionable, {
828
- path: _path + ".expose[" + _index28 + "]",
816
+ path: _path + ".expose[" + _index27 + "]",
829
817
  expected: "((__type & TagBase<__type>) | (string & TagBase<__type>) | ExposedPort | number)",
830
818
  value: elem
831
819
  })) && ("number" === typeof elem || "string" === typeof elem && (typeof elem === "string" && /^%%(ops|global).[^%]+%%$/.test(elem) || _report(_exceptionable, {
832
- path: _path + ".expose[" + _index28 + "]",
820
+ path: _path + ".expose[" + _index27 + "]",
833
821
  expected: "string & TagBase<__type>",
834
822
  value: elem
835
823
  })) || ("object" === typeof elem && null !== elem || _report(_exceptionable, {
836
- path: _path + ".expose[" + _index28 + "]",
824
+ path: _path + ".expose[" + _index27 + "]",
837
825
  expected: "((__type & TagBase<__type>) | (string & TagBase<__type>) | ExposedPort | number)",
838
826
  value: elem
839
- })) && _vu1(elem, _path + ".expose[" + _index28 + "]", true && _exceptionable) || _report(_exceptionable, {
840
- path: _path + ".expose[" + _index28 + "]",
827
+ })) && _vu1(elem, _path + ".expose[" + _index27 + "]", true && _exceptionable) || _report(_exceptionable, {
828
+ path: _path + ".expose[" + _index27 + "]",
841
829
  expected: "((__type & TagBase<__type>) | (string & TagBase<__type>) | ExposedPort | number)",
842
830
  value: elem
843
831
  }))).every(flag => flag)) || "object" === typeof input.expose && null !== input.expose && _vu1(input.expose, _path + ".expose", true && _exceptionable) || _report(_exceptionable, {
@@ -864,8 +852,8 @@ export const validateJobDefinition = (() => { const _io0 = (input, _exceptionabl
864
852
  path: _path + ".entrypoint",
865
853
  expected: "(CMDArray | string | undefined)",
866
854
  value: input.entrypoint
867
- })) && input.entrypoint.map((elem, _index29) => "string" === typeof elem || _report(_exceptionable, {
868
- path: _path + ".entrypoint[" + _index29 + "]",
855
+ })) && input.entrypoint.map((elem, _index28) => "string" === typeof elem || _report(_exceptionable, {
856
+ path: _path + ".entrypoint[" + _index28 + "]",
869
857
  expected: "string",
870
858
  value: elem
871
859
  })).every(flag => flag) || _report(_exceptionable, {
@@ -900,20 +888,20 @@ export const validateJobDefinition = (() => { const _io0 = (input, _exceptionabl
900
888
  path: _path + ".resources",
901
889
  expected: "(Resources | undefined)",
902
890
  value: input.resources
903
- })) && input.resources.map((elem, _index30) => (null !== elem || _report(_exceptionable, {
904
- path: _path + ".resources[" + _index30 + "]",
891
+ })) && input.resources.map((elem, _index29) => (null !== elem || _report(_exceptionable, {
892
+ path: _path + ".resources[" + _index29 + "]",
905
893
  expected: "(\"__remove-if-empty__\" | (__type & TagBase<__type>) | HFResource | OllamaResource | S3Base | S3WithBucket | S3WithBuckets)",
906
894
  value: elem
907
895
  })) && (undefined !== elem || _report(_exceptionable, {
908
- path: _path + ".resources[" + _index30 + "]",
896
+ path: _path + ".resources[" + _index29 + "]",
909
897
  expected: "(\"__remove-if-empty__\" | (__type & TagBase<__type>) | HFResource | OllamaResource | S3Base | S3WithBucket | S3WithBuckets)",
910
898
  value: elem
911
899
  })) && ("__remove-if-empty__" === elem || ("object" === typeof elem && null !== elem || _report(_exceptionable, {
912
- path: _path + ".resources[" + _index30 + "]",
900
+ path: _path + ".resources[" + _index29 + "]",
913
901
  expected: "(\"__remove-if-empty__\" | (__type & TagBase<__type>) | HFResource | OllamaResource | S3Base | S3WithBucket | S3WithBuckets)",
914
902
  value: elem
915
- })) && _vu2(elem, _path + ".resources[" + _index30 + "]", true && _exceptionable) || _report(_exceptionable, {
916
- path: _path + ".resources[" + _index30 + "]",
903
+ })) && _vu2(elem, _path + ".resources[" + _index29 + "]", true && _exceptionable) || _report(_exceptionable, {
904
+ path: _path + ".resources[" + _index29 + "]",
917
905
  expected: "(\"__remove-if-empty__\" | (__type & TagBase<__type>) | HFResource | OllamaResource | S3Base | S3WithBucket | S3WithBuckets)",
918
906
  value: elem
919
907
  }))).every(flag => flag) || _report(_exceptionable, {
@@ -1008,12 +996,12 @@ export const validateJobDefinition = (() => { const _io0 = (input, _exceptionabl
1008
996
  path: _path + ".health_checks",
1009
997
  expected: "(Array<HealthCheck> | undefined)",
1010
998
  value: input.health_checks
1011
- })) && input.health_checks.map((elem, _index31) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
1012
- path: _path + ".health_checks[" + _index31 + "]",
999
+ })) && input.health_checks.map((elem, _index30) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
1000
+ path: _path + ".health_checks[" + _index30 + "]",
1013
1001
  expected: "(HttpHealthCheck | WebSocketHealthCheck)",
1014
1002
  value: elem
1015
- })) && _vu0(elem, _path + ".health_checks[" + _index31 + "]", true && _exceptionable) || _report(_exceptionable, {
1016
- path: _path + ".health_checks[" + _index31 + "]",
1003
+ })) && _vu0(elem, _path + ".health_checks[" + _index30 + "]", true && _exceptionable) || _report(_exceptionable, {
1004
+ path: _path + ".health_checks[" + _index30 + "]",
1017
1005
  expected: "(HttpHealthCheck | WebSocketHealthCheck)",
1018
1006
  value: elem
1019
1007
  })).every(flag => flag) || _report(_exceptionable, {
@@ -1161,8 +1149,8 @@ export const validateJobDefinition = (() => { const _io0 = (input, _exceptionabl
1161
1149
  path: _path + ".files",
1162
1150
  expected: "(Array<string> | undefined)",
1163
1151
  value: input.files
1164
- })) && input.files.map((elem, _index32) => "string" === typeof elem || _report(_exceptionable, {
1165
- path: _path + ".files[" + _index32 + "]",
1152
+ })) && input.files.map((elem, _index31) => "string" === typeof elem || _report(_exceptionable, {
1153
+ path: _path + ".files[" + _index31 + "]",
1166
1154
  expected: "string",
1167
1155
  value: elem
1168
1156
  })).every(flag => flag) || _report(_exceptionable, {
@@ -1277,12 +1265,12 @@ export const validateJobDefinition = (() => { const _io0 = (input, _exceptionabl
1277
1265
  path: _path + ".buckets",
1278
1266
  expected: "Array<__type>",
1279
1267
  value: input.buckets
1280
- })) && input.buckets.map((elem, _index33) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
1281
- path: _path + ".buckets[" + _index33 + "]",
1268
+ })) && input.buckets.map((elem, _index32) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
1269
+ path: _path + ".buckets[" + _index32 + "]",
1282
1270
  expected: "__type.o5",
1283
1271
  value: elem
1284
- })) && _vo24(elem, _path + ".buckets[" + _index33 + "]", true && _exceptionable) || _report(_exceptionable, {
1285
- path: _path + ".buckets[" + _index33 + "]",
1272
+ })) && _vo24(elem, _path + ".buckets[" + _index32 + "]", true && _exceptionable) || _report(_exceptionable, {
1273
+ path: _path + ".buckets[" + _index32 + "]",
1286
1274
  expected: "__type.o5",
1287
1275
  value: elem
1288
1276
  })).every(flag => flag) || _report(_exceptionable, {
@@ -1329,8 +1317,8 @@ export const validateJobDefinition = (() => { const _io0 = (input, _exceptionabl
1329
1317
  path: _path + ".files",
1330
1318
  expected: "(Array<string> | undefined)",
1331
1319
  value: input.files
1332
- })) && input.files.map((elem, _index34) => "string" === typeof elem || _report(_exceptionable, {
1333
- path: _path + ".files[" + _index34 + "]",
1320
+ })) && input.files.map((elem, _index33) => "string" === typeof elem || _report(_exceptionable, {
1321
+ path: _path + ".files[" + _index33 + "]",
1334
1322
  expected: "string",
1335
1323
  value: elem
1336
1324
  })).every(flag => flag) || _report(_exceptionable, {
@@ -1373,8 +1361,8 @@ export const validateJobDefinition = (() => { const _io0 = (input, _exceptionabl
1373
1361
  path: _path + ".files",
1374
1362
  expected: "(Array<string> | undefined)",
1375
1363
  value: input.files
1376
- })) && input.files.map((elem, _index35) => "string" === typeof elem || _report(_exceptionable, {
1377
- path: _path + ".files[" + _index35 + "]",
1364
+ })) && input.files.map((elem, _index34) => "string" === typeof elem || _report(_exceptionable, {
1365
+ path: _path + ".files[" + _index34 + "]",
1378
1366
  expected: "string",
1379
1367
  value: elem
1380
1368
  })).every(flag => flag) || _report(_exceptionable, {
@@ -1546,8 +1534,8 @@ export const validateJobDefinition = (() => { const _io0 = (input, _exceptionabl
1546
1534
  path: _path + ".logType",
1547
1535
  expected: "Array<> & UniqueLogTypeTag",
1548
1536
  value: input.logType
1549
- })) && input.logType.map((elem, _index36) => "stdin" === elem || "stdout" === elem || "stderr" === elem || "nodeerr" === elem || _report(_exceptionable, {
1550
- path: _path + ".logType[" + _index36 + "]",
1537
+ })) && input.logType.map((elem, _index35) => "stdin" === elem || "stdout" === elem || "stderr" === elem || "nodeerr" === elem || _report(_exceptionable, {
1538
+ path: _path + ".logType[" + _index35 + "]",
1551
1539
  expected: "(\"nodeerr\" | \"stderr\" | \"stdin\" | \"stdout\")",
1552
1540
  value: elem
1553
1541
  })).every(flag => flag)) || _report(_exceptionable, {
@@ -1578,63 +1566,23 @@ export const validateJobDefinition = (() => { const _io0 = (input, _exceptionabl
1578
1566
  path: _path + ".timeout",
1579
1567
  expected: "(number | undefined)",
1580
1568
  value: input.timeout
1581
- }), (null !== input.depends_on || _report(_exceptionable, {
1582
- path: _path + ".depends_on",
1583
- expected: "undefined",
1584
- value: input.depends_on
1585
- })) && (undefined === input.depends_on || _report(_exceptionable, {
1586
- path: _path + ".depends_on",
1587
- expected: "undefined",
1588
- value: input.depends_on
1589
- })), (null !== input.stop_if_dependent_stops || _report(_exceptionable, {
1590
- path: _path + ".stop_if_dependent_stops",
1591
- expected: "undefined",
1592
- value: input.stop_if_dependent_stops
1593
- })) && (undefined === input.stop_if_dependent_stops || _report(_exceptionable, {
1594
- path: _path + ".stop_if_dependent_stops",
1595
- expected: "undefined",
1596
- value: input.stop_if_dependent_stops
1597
- })), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
1598
- if (["group", "timeout", "depends_on", "stop_if_dependent_stops"].some(prop => key === prop))
1599
- return true;
1600
- const value = input[key];
1601
- if (undefined === value)
1602
- return true;
1603
- return _report(_exceptionable, {
1604
- path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
1605
- expected: "undefined",
1606
- value: value,
1607
- description: [
1608
- `The property \`${key}\` is not defined in the object type.`,
1609
- "",
1610
- "Please remove the property next time."
1611
- ].join("\n")
1612
- });
1613
- }).every(flag => flag))].every(flag => flag); const _vo33 = (input, _path, _exceptionable = true) => [undefined === input.group || "string" === typeof input.group || _report(_exceptionable, {
1614
- path: _path + ".group",
1615
- expected: "(string | undefined)",
1616
- value: input.group
1617
- }), undefined === input.timeout || "number" === typeof input.timeout || _report(_exceptionable, {
1618
- path: _path + ".timeout",
1619
- expected: "(number | undefined)",
1620
- value: input.timeout
1621
- }), (Array.isArray(input.depends_on) || _report(_exceptionable, {
1569
+ }), undefined === input.depends_on || (Array.isArray(input.depends_on) || _report(_exceptionable, {
1622
1570
  path: _path + ".depends_on",
1623
- expected: "Array<string>",
1571
+ expected: "(Array<string> | undefined)",
1624
1572
  value: input.depends_on
1625
- })) && input.depends_on.map((elem, _index37) => "string" === typeof elem || _report(_exceptionable, {
1626
- path: _path + ".depends_on[" + _index37 + "]",
1573
+ })) && input.depends_on.map((elem, _index36) => "string" === typeof elem || _report(_exceptionable, {
1574
+ path: _path + ".depends_on[" + _index36 + "]",
1627
1575
  expected: "string",
1628
1576
  value: elem
1629
1577
  })).every(flag => flag) || _report(_exceptionable, {
1630
1578
  path: _path + ".depends_on",
1631
- expected: "Array<string>",
1579
+ expected: "(Array<string> | undefined)",
1632
1580
  value: input.depends_on
1633
1581
  }), undefined === input.stop_if_dependent_stops || "boolean" === typeof input.stop_if_dependent_stops || _report(_exceptionable, {
1634
1582
  path: _path + ".stop_if_dependent_stops",
1635
1583
  expected: "(boolean | undefined)",
1636
1584
  value: input.stop_if_dependent_stops
1637
- }), 1 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
1585
+ }), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
1638
1586
  if (["group", "timeout", "depends_on", "stop_if_dependent_stops"].some(prop => key === prop))
1639
1587
  return true;
1640
1588
  const value = input[key];
@@ -1696,11 +1644,6 @@ export const validateJobDefinition = (() => { const _io0 = (input, _exceptionabl
1696
1644
  expected: "(ContainerRun | ContainerCreateVolume)",
1697
1645
  value: input
1698
1646
  });
1699
- })(); const _vu4 = (input, _path, _exceptionable = true) => (() => {
1700
- if (Array.isArray(input.depends_on) && input.depends_on.map((elem, _index38) => "string" === typeof elem).every(flag => flag))
1701
- return _vo33(input, _path, true && _exceptionable);
1702
- else
1703
- return _vo32(input, _path, true && _exceptionable);
1704
1647
  })(); const __is = (input, _exceptionable = true) => "object" === typeof input && null !== input && _io0(input, true); let errors; let _report; return __typia_transform__createStandardSchema._createStandardSchema(input => {
1705
1648
  if (false === __is(input)) {
1706
1649
  errors = [];
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/Jobs/index.ts"],"names":[],"mappings":";;;AAAA,OAAO,KAA2B,MAAM,OAAO,CAAC;AAIhD,cAAc,wBAAwB,CAAA;AACtC,cAAc,kBAAkB,CAAA;AAChC,cAAc,0BAA0B,CAAA;AACxC,cAAc,iBAAiB,CAAA;AAM/B,MAAM,CAAC,MAAM,qBAAqB,85BAbN,EAAE;;;qBAE3B,EAAE;;;;;IAEK,CAAC;;AAAsB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;04BAJxB,EAAG;;;;;;;;;;4CAaE,CAA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QAW2C,CAAC"}
@@ -272,14 +272,7 @@ export const jobSchemas = {
272
272
  $ref: "#/components/schemas/OperationResults"
273
273
  },
274
274
  execution: {
275
- oneOf: [
276
- {
277
- $ref: "#/components/schemas/groupstringundefinedtimeoutnumberundefineddepends_onstringstop_if_dependent_stopsbooleanundefined"
278
- },
279
- {
280
- $ref: "#/components/schemas/groupstringundefinedtimeoutnumberundefineddepends_onundefinedstop_if_dependent_stopsundefined"
281
- }
282
- ]
275
+ $ref: "#/components/schemas/Execution"
283
276
  }
284
277
  },
285
278
  required: [
@@ -892,7 +885,7 @@ export const jobSchemas = {
892
885
  "nodeerr"
893
886
  ]
894
887
  },
895
- groupstringundefinedtimeoutnumberundefineddepends_onstringstop_if_dependent_stopsbooleanundefined: {
888
+ Execution: {
896
889
  type: "object",
897
890
  properties: {
898
891
  group: {
@@ -911,20 +904,6 @@ export const jobSchemas = {
911
904
  type: "boolean"
912
905
  }
913
906
  },
914
- required: [
915
- "depends_on"
916
- ]
917
- },
918
- groupstringundefinedtimeoutnumberundefineddepends_onundefinedstop_if_dependent_stopsundefined: {
919
- type: "object",
920
- properties: {
921
- group: {
922
- type: "string"
923
- },
924
- timeout: {
925
- type: "number"
926
- }
927
- },
928
907
  required: []
929
908
  },
930
909
  FlowState: {
@@ -1 +1 @@
1
- {"version":3,"file":"job.js","sourceRoot":"","sources":["../../src/Schemas/job.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,MAAM,CAAC,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAA0D,CAAC"}
package/package.json CHANGED
@@ -1,10 +1,15 @@
1
1
  {
2
2
  "name": "@nosana/types",
3
- "version": "2.2.20",
3
+ "version": "2.7.3",
4
4
  "author": "Nosana",
5
5
  "description": "Nosana Types Module",
6
6
  "type": "module",
7
7
  "license": "MIT",
8
+ "repository": {
9
+ "type": "git",
10
+ "url": "git+https://github.com/nosana-ci/nosana-kit.git",
11
+ "directory": "packages/types"
12
+ },
8
13
  "main": "./dist/index.js",
9
14
  "types": "./dist/index.d.ts",
10
15
  "files": [
@@ -39,7 +44,7 @@
39
44
  "husky": "^9.1.7",
40
45
  "openapi-typescript": "^7.10.1",
41
46
  "ts-patch": "^3.3.0",
42
- "typescript": "^5.7.0",
47
+ "typescript": "^5.9.3",
43
48
  "vitest": "^4.0.13"
44
49
  },
45
50
  "dependencies": {
@@ -49,5 +54,5 @@
49
54
  "engines": {
50
55
  "node": ">=20.18.0"
51
56
  },
52
- "gitHead": "53cd8e5c884aa21a0d9ed4b935462fd83d18af10"
57
+ "gitHead": "b64942401ceaa0d7031a56365b2ed00aa724b99a"
53
58
  }