@nosana/types 2.3.1 → 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.
@@ -3,7 +3,7 @@ import * as __typia_transform__validateReport from "typia/lib/internal/_validate
3
3
  import * as __typia_transform__createStandardSchema from "typia/lib/internal/_createStandardSchema.js";
4
4
  import typia from "typia";
5
5
  export * from "./rules.js";
6
- export const validateOperation = (() => { const _io0 = (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) && _io20(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 => {
6
+ export const validateOperation = (() => { const _io0 = (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) && _io20(input.results, true && _exceptionable)) && (undefined === input.execution || "object" === typeof input.execution && null !== input.execution && false === Array.isArray(input.execution) && _io22(input.execution, true && _exceptionable)) && (3 === Object.keys(input).length || Object.keys(input).every(key => {
7
7
  if (["type", "id", "args", "results", "execution"].some(prop => key === prop))
8
8
  return true;
9
9
  const value = input[key];
@@ -194,14 +194,7 @@ export const validateOperation = (() => { const _io0 = (input, _exceptionable =
194
194
  if (undefined === value)
195
195
  return true;
196
196
  return false;
197
- })); const _io22 = (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 => {
198
- if (["group", "timeout", "depends_on", "stop_if_dependent_stops"].some(prop => key === prop))
199
- return true;
200
- const value = input[key];
201
- if (undefined === value)
202
- return true;
203
- return false;
204
- })); const _io23 = (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, _index13) => "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 => {
197
+ })); const _io22 = (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, _index13) => "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 => {
205
198
  if (["group", "timeout", "depends_on", "stop_if_dependent_stops"].some(prop => key === prop))
206
199
  return true;
207
200
  const value = input[key];
@@ -242,11 +235,6 @@ export const validateOperation = (() => { const _io0 = (input, _exceptionable =
242
235
  return _io19(input, true && _exceptionable);
243
236
  else
244
237
  return false;
245
- })(); const _iu4 = (input, _exceptionable = true) => (() => {
246
- if (Array.isArray(input.depends_on) && input.depends_on.every((elem, _index14) => "string" === typeof elem))
247
- return _io23(input, true && _exceptionable);
248
- else
249
- return _io22(input, true && _exceptionable);
250
238
  })(); const _vo0 = (input, _path, _exceptionable = true) => ["container/run" === input.type || "container/create-volume" === input.type || _report(_exceptionable, {
251
239
  path: _path + ".type",
252
240
  expected: "(\"container/create-volume\" | \"container/run\")",
@@ -277,11 +265,11 @@ export const validateOperation = (() => { const _io0 = (input, _exceptionable =
277
265
  value: input.results
278
266
  }), undefined === input.execution || ("object" === typeof input.execution && null !== input.execution && false === Array.isArray(input.execution) || _report(_exceptionable, {
279
267
  path: _path + ".execution",
280
- 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; })",
268
+ expected: "(Execution | undefined)",
281
269
  value: input.execution
282
- })) && _vu4(input.execution, _path + ".execution", true && _exceptionable) || _report(_exceptionable, {
270
+ })) && _vo22(input.execution, _path + ".execution", true && _exceptionable) || _report(_exceptionable, {
283
271
  path: _path + ".execution",
284
- 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; })",
272
+ expected: "(Execution | undefined)",
285
273
  value: input.execution
286
274
  }), 3 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
287
275
  if (["type", "id", "args", "results", "execution"].some(prop => key === prop))
@@ -311,8 +299,8 @@ export const validateOperation = (() => { const _io0 = (input, _exceptionable =
311
299
  path: _path + ".aliases",
312
300
  expected: "(Aliases | string | undefined)",
313
301
  value: input.aliases
314
- })) && input.aliases.map((elem, _index15) => "string" === typeof elem || _report(_exceptionable, {
315
- path: _path + ".aliases[" + _index15 + "]",
302
+ })) && input.aliases.map((elem, _index14) => "string" === typeof elem || _report(_exceptionable, {
303
+ path: _path + ".aliases[" + _index14 + "]",
316
304
  expected: "string",
317
305
  value: elem
318
306
  })).every(flag => flag) || _report(_exceptionable, {
@@ -327,8 +315,8 @@ export const validateOperation = (() => { const _io0 = (input, _exceptionable =
327
315
  path: _path + ".cmd",
328
316
  expected: "(CMDArray | string | undefined)",
329
317
  value: input.cmd
330
- })) && input.cmd.map((elem, _index16) => "string" === typeof elem || _report(_exceptionable, {
331
- path: _path + ".cmd[" + _index16 + "]",
318
+ })) && input.cmd.map((elem, _index15) => "string" === typeof elem || _report(_exceptionable, {
319
+ path: _path + ".cmd[" + _index15 + "]",
332
320
  expected: "string",
333
321
  value: elem
334
322
  })).every(flag => flag) || _report(_exceptionable, {
@@ -339,12 +327,12 @@ export const validateOperation = (() => { const _io0 = (input, _exceptionable =
339
327
  path: _path + ".volumes",
340
328
  expected: "(Array<Volume> | undefined)",
341
329
  value: input.volumes
342
- })) && input.volumes.map((elem, _index17) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
343
- path: _path + ".volumes[" + _index17 + "]",
330
+ })) && input.volumes.map((elem, _index16) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
331
+ path: _path + ".volumes[" + _index16 + "]",
344
332
  expected: "Volume",
345
333
  value: elem
346
- })) && _vo2(elem, _path + ".volumes[" + _index17 + "]", true && _exceptionable) || _report(_exceptionable, {
347
- path: _path + ".volumes[" + _index17 + "]",
334
+ })) && _vo2(elem, _path + ".volumes[" + _index16 + "]", true && _exceptionable) || _report(_exceptionable, {
335
+ path: _path + ".volumes[" + _index16 + "]",
348
336
  expected: "Volume",
349
337
  value: elem
350
338
  })).every(flag => flag) || _report(_exceptionable, {
@@ -398,24 +386,24 @@ export const validateOperation = (() => { const _io0 = (input, _exceptionable =
398
386
  path: _path + ".expose",
399
387
  expected: "Array<> & TagBase<__type>",
400
388
  value: input.expose
401
- })) && input.expose.map((elem, _index18) => (null !== elem || _report(_exceptionable, {
402
- path: _path + ".expose[" + _index18 + "]",
389
+ })) && input.expose.map((elem, _index17) => (null !== elem || _report(_exceptionable, {
390
+ path: _path + ".expose[" + _index17 + "]",
403
391
  expected: "((__type & TagBase<__type>) | (string & TagBase<__type>) | ExposedPort | number)",
404
392
  value: elem
405
393
  })) && (undefined !== elem || _report(_exceptionable, {
406
- path: _path + ".expose[" + _index18 + "]",
394
+ path: _path + ".expose[" + _index17 + "]",
407
395
  expected: "((__type & TagBase<__type>) | (string & TagBase<__type>) | ExposedPort | number)",
408
396
  value: elem
409
397
  })) && ("number" === typeof elem || "string" === typeof elem && (typeof elem === "string" && /^%%(ops|global).[^%]+%%$/.test(elem) || _report(_exceptionable, {
410
- path: _path + ".expose[" + _index18 + "]",
398
+ path: _path + ".expose[" + _index17 + "]",
411
399
  expected: "string & TagBase<__type>",
412
400
  value: elem
413
401
  })) || ("object" === typeof elem && null !== elem || _report(_exceptionable, {
414
- path: _path + ".expose[" + _index18 + "]",
402
+ path: _path + ".expose[" + _index17 + "]",
415
403
  expected: "((__type & TagBase<__type>) | (string & TagBase<__type>) | ExposedPort | number)",
416
404
  value: elem
417
- })) && _vu1(elem, _path + ".expose[" + _index18 + "]", true && _exceptionable) || _report(_exceptionable, {
418
- path: _path + ".expose[" + _index18 + "]",
405
+ })) && _vu1(elem, _path + ".expose[" + _index17 + "]", true && _exceptionable) || _report(_exceptionable, {
406
+ path: _path + ".expose[" + _index17 + "]",
419
407
  expected: "((__type & TagBase<__type>) | (string & TagBase<__type>) | ExposedPort | number)",
420
408
  value: elem
421
409
  }))).every(flag => flag)) || "object" === typeof input.expose && null !== input.expose && _vu1(input.expose, _path + ".expose", true && _exceptionable) || _report(_exceptionable, {
@@ -442,8 +430,8 @@ export const validateOperation = (() => { const _io0 = (input, _exceptionable =
442
430
  path: _path + ".entrypoint",
443
431
  expected: "(CMDArray | string | undefined)",
444
432
  value: input.entrypoint
445
- })) && input.entrypoint.map((elem, _index19) => "string" === typeof elem || _report(_exceptionable, {
446
- path: _path + ".entrypoint[" + _index19 + "]",
433
+ })) && input.entrypoint.map((elem, _index18) => "string" === typeof elem || _report(_exceptionable, {
434
+ path: _path + ".entrypoint[" + _index18 + "]",
447
435
  expected: "string",
448
436
  value: elem
449
437
  })).every(flag => flag) || _report(_exceptionable, {
@@ -478,20 +466,20 @@ export const validateOperation = (() => { const _io0 = (input, _exceptionable =
478
466
  path: _path + ".resources",
479
467
  expected: "(Resources | undefined)",
480
468
  value: input.resources
481
- })) && input.resources.map((elem, _index20) => (null !== elem || _report(_exceptionable, {
482
- path: _path + ".resources[" + _index20 + "]",
469
+ })) && input.resources.map((elem, _index19) => (null !== elem || _report(_exceptionable, {
470
+ path: _path + ".resources[" + _index19 + "]",
483
471
  expected: "(\"__remove-if-empty__\" | (__type & TagBase<__type>) | HFResource | OllamaResource | S3Base | S3WithBucket | S3WithBuckets)",
484
472
  value: elem
485
473
  })) && (undefined !== elem || _report(_exceptionable, {
486
- path: _path + ".resources[" + _index20 + "]",
474
+ path: _path + ".resources[" + _index19 + "]",
487
475
  expected: "(\"__remove-if-empty__\" | (__type & TagBase<__type>) | HFResource | OllamaResource | S3Base | S3WithBucket | S3WithBuckets)",
488
476
  value: elem
489
477
  })) && ("__remove-if-empty__" === elem || ("object" === typeof elem && null !== elem || _report(_exceptionable, {
490
- path: _path + ".resources[" + _index20 + "]",
478
+ path: _path + ".resources[" + _index19 + "]",
491
479
  expected: "(\"__remove-if-empty__\" | (__type & TagBase<__type>) | HFResource | OllamaResource | S3Base | S3WithBucket | S3WithBuckets)",
492
480
  value: elem
493
- })) && _vu2(elem, _path + ".resources[" + _index20 + "]", true && _exceptionable) || _report(_exceptionable, {
494
- path: _path + ".resources[" + _index20 + "]",
481
+ })) && _vu2(elem, _path + ".resources[" + _index19 + "]", true && _exceptionable) || _report(_exceptionable, {
482
+ path: _path + ".resources[" + _index19 + "]",
495
483
  expected: "(\"__remove-if-empty__\" | (__type & TagBase<__type>) | HFResource | OllamaResource | S3Base | S3WithBucket | S3WithBuckets)",
496
484
  value: elem
497
485
  }))).every(flag => flag) || _report(_exceptionable, {
@@ -586,12 +574,12 @@ export const validateOperation = (() => { const _io0 = (input, _exceptionable =
586
574
  path: _path + ".health_checks",
587
575
  expected: "(Array<HealthCheck> | undefined)",
588
576
  value: input.health_checks
589
- })) && input.health_checks.map((elem, _index21) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
590
- path: _path + ".health_checks[" + _index21 + "]",
577
+ })) && input.health_checks.map((elem, _index20) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
578
+ path: _path + ".health_checks[" + _index20 + "]",
591
579
  expected: "(HttpHealthCheck | WebSocketHealthCheck)",
592
580
  value: elem
593
- })) && _vu0(elem, _path + ".health_checks[" + _index21 + "]", true && _exceptionable) || _report(_exceptionable, {
594
- path: _path + ".health_checks[" + _index21 + "]",
581
+ })) && _vu0(elem, _path + ".health_checks[" + _index20 + "]", true && _exceptionable) || _report(_exceptionable, {
582
+ path: _path + ".health_checks[" + _index20 + "]",
595
583
  expected: "(HttpHealthCheck | WebSocketHealthCheck)",
596
584
  value: elem
597
585
  })).every(flag => flag) || _report(_exceptionable, {
@@ -748,8 +736,8 @@ export const validateOperation = (() => { const _io0 = (input, _exceptionable =
748
736
  path: _path + ".files",
749
737
  expected: "(Array<string> | undefined)",
750
738
  value: input.files
751
- })) && input.files.map((elem, _index22) => "string" === typeof elem || _report(_exceptionable, {
752
- path: _path + ".files[" + _index22 + "]",
739
+ })) && input.files.map((elem, _index21) => "string" === typeof elem || _report(_exceptionable, {
740
+ path: _path + ".files[" + _index21 + "]",
753
741
  expected: "string",
754
742
  value: elem
755
743
  })).every(flag => flag) || _report(_exceptionable, {
@@ -864,12 +852,12 @@ export const validateOperation = (() => { const _io0 = (input, _exceptionable =
864
852
  path: _path + ".buckets",
865
853
  expected: "Array<__type>",
866
854
  value: input.buckets
867
- })) && input.buckets.map((elem, _index23) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
868
- path: _path + ".buckets[" + _index23 + "]",
855
+ })) && input.buckets.map((elem, _index22) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
856
+ path: _path + ".buckets[" + _index22 + "]",
869
857
  expected: "__type.o5",
870
858
  value: elem
871
- })) && _vo14(elem, _path + ".buckets[" + _index23 + "]", true && _exceptionable) || _report(_exceptionable, {
872
- path: _path + ".buckets[" + _index23 + "]",
859
+ })) && _vo14(elem, _path + ".buckets[" + _index22 + "]", true && _exceptionable) || _report(_exceptionable, {
860
+ path: _path + ".buckets[" + _index22 + "]",
873
861
  expected: "__type.o5",
874
862
  value: elem
875
863
  })).every(flag => flag) || _report(_exceptionable, {
@@ -916,8 +904,8 @@ export const validateOperation = (() => { const _io0 = (input, _exceptionable =
916
904
  path: _path + ".files",
917
905
  expected: "(Array<string> | undefined)",
918
906
  value: input.files
919
- })) && input.files.map((elem, _index24) => "string" === typeof elem || _report(_exceptionable, {
920
- path: _path + ".files[" + _index24 + "]",
907
+ })) && input.files.map((elem, _index23) => "string" === typeof elem || _report(_exceptionable, {
908
+ path: _path + ".files[" + _index23 + "]",
921
909
  expected: "string",
922
910
  value: elem
923
911
  })).every(flag => flag) || _report(_exceptionable, {
@@ -960,8 +948,8 @@ export const validateOperation = (() => { const _io0 = (input, _exceptionable =
960
948
  path: _path + ".files",
961
949
  expected: "(Array<string> | undefined)",
962
950
  value: input.files
963
- })) && input.files.map((elem, _index25) => "string" === typeof elem || _report(_exceptionable, {
964
- path: _path + ".files[" + _index25 + "]",
951
+ })) && input.files.map((elem, _index24) => "string" === typeof elem || _report(_exceptionable, {
952
+ path: _path + ".files[" + _index24 + "]",
965
953
  expected: "string",
966
954
  value: elem
967
955
  })).every(flag => flag) || _report(_exceptionable, {
@@ -1133,8 +1121,8 @@ export const validateOperation = (() => { const _io0 = (input, _exceptionable =
1133
1121
  path: _path + ".logType",
1134
1122
  expected: "Array<> & UniqueLogTypeTag",
1135
1123
  value: input.logType
1136
- })) && input.logType.map((elem, _index26) => "stdin" === elem || "stdout" === elem || "stderr" === elem || "nodeerr" === elem || _report(_exceptionable, {
1137
- path: _path + ".logType[" + _index26 + "]",
1124
+ })) && input.logType.map((elem, _index25) => "stdin" === elem || "stdout" === elem || "stderr" === elem || "nodeerr" === elem || _report(_exceptionable, {
1125
+ path: _path + ".logType[" + _index25 + "]",
1138
1126
  expected: "(\"nodeerr\" | \"stderr\" | \"stdin\" | \"stdout\")",
1139
1127
  value: elem
1140
1128
  })).every(flag => flag)) || _report(_exceptionable, {
@@ -1165,63 +1153,23 @@ export const validateOperation = (() => { const _io0 = (input, _exceptionable =
1165
1153
  path: _path + ".timeout",
1166
1154
  expected: "(number | undefined)",
1167
1155
  value: input.timeout
1168
- }), (null !== input.depends_on || _report(_exceptionable, {
1156
+ }), undefined === input.depends_on || (Array.isArray(input.depends_on) || _report(_exceptionable, {
1169
1157
  path: _path + ".depends_on",
1170
- expected: "undefined",
1171
- value: input.depends_on
1172
- })) && (undefined === input.depends_on || _report(_exceptionable, {
1173
- path: _path + ".depends_on",
1174
- expected: "undefined",
1175
- value: input.depends_on
1176
- })), (null !== input.stop_if_dependent_stops || _report(_exceptionable, {
1177
- path: _path + ".stop_if_dependent_stops",
1178
- expected: "undefined",
1179
- value: input.stop_if_dependent_stops
1180
- })) && (undefined === input.stop_if_dependent_stops || _report(_exceptionable, {
1181
- path: _path + ".stop_if_dependent_stops",
1182
- expected: "undefined",
1183
- value: input.stop_if_dependent_stops
1184
- })), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
1185
- if (["group", "timeout", "depends_on", "stop_if_dependent_stops"].some(prop => key === prop))
1186
- return true;
1187
- const value = input[key];
1188
- if (undefined === value)
1189
- return true;
1190
- return _report(_exceptionable, {
1191
- path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
1192
- expected: "undefined",
1193
- value: value,
1194
- description: [
1195
- `The property \`${key}\` is not defined in the object type.`,
1196
- "",
1197
- "Please remove the property next time."
1198
- ].join("\n")
1199
- });
1200
- }).every(flag => flag))].every(flag => flag); const _vo23 = (input, _path, _exceptionable = true) => [undefined === input.group || "string" === typeof input.group || _report(_exceptionable, {
1201
- path: _path + ".group",
1202
- expected: "(string | undefined)",
1203
- value: input.group
1204
- }), undefined === input.timeout || "number" === typeof input.timeout || _report(_exceptionable, {
1205
- path: _path + ".timeout",
1206
- expected: "(number | undefined)",
1207
- value: input.timeout
1208
- }), (Array.isArray(input.depends_on) || _report(_exceptionable, {
1209
- path: _path + ".depends_on",
1210
- expected: "Array<string>",
1158
+ expected: "(Array<string> | undefined)",
1211
1159
  value: input.depends_on
1212
- })) && input.depends_on.map((elem, _index27) => "string" === typeof elem || _report(_exceptionable, {
1213
- path: _path + ".depends_on[" + _index27 + "]",
1160
+ })) && input.depends_on.map((elem, _index26) => "string" === typeof elem || _report(_exceptionable, {
1161
+ path: _path + ".depends_on[" + _index26 + "]",
1214
1162
  expected: "string",
1215
1163
  value: elem
1216
1164
  })).every(flag => flag) || _report(_exceptionable, {
1217
1165
  path: _path + ".depends_on",
1218
- expected: "Array<string>",
1166
+ expected: "(Array<string> | undefined)",
1219
1167
  value: input.depends_on
1220
1168
  }), undefined === input.stop_if_dependent_stops || "boolean" === typeof input.stop_if_dependent_stops || _report(_exceptionable, {
1221
1169
  path: _path + ".stop_if_dependent_stops",
1222
1170
  expected: "(boolean | undefined)",
1223
1171
  value: input.stop_if_dependent_stops
1224
- }), 1 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
1172
+ }), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
1225
1173
  if (["group", "timeout", "depends_on", "stop_if_dependent_stops"].some(prop => key === prop))
1226
1174
  return true;
1227
1175
  const value = input[key];
@@ -1283,11 +1231,6 @@ export const validateOperation = (() => { const _io0 = (input, _exceptionable =
1283
1231
  expected: "(ContainerRun | ContainerCreateVolume)",
1284
1232
  value: input
1285
1233
  });
1286
- })(); const _vu4 = (input, _path, _exceptionable = true) => (() => {
1287
- if (Array.isArray(input.depends_on) && input.depends_on.map((elem, _index28) => "string" === typeof elem).every(flag => flag))
1288
- return _vo23(input, _path, true && _exceptionable);
1289
- else
1290
- return _vo22(input, _path, true && _exceptionable);
1291
1234
  })(); const __is = (input, _exceptionable = true) => "object" === typeof input && null !== input && _io0(input, true); let errors; let _report; return __typia_transform__createStandardSchema._createStandardSchema(input => {
1292
1235
  if (false === __is(input)) {
1293
1236
  errors = [];
@@ -1316,7 +1259,7 @@ export const validateOperation = (() => { const _io0 = (input, _exceptionable =
1316
1259
  data: input
1317
1260
  };
1318
1261
  }); })();
1319
- export const validateOps = (() => { const _io0 = (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) && _io20(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 => {
1262
+ export const validateOps = (() => { const _io0 = (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) && _io20(input.results, true && _exceptionable)) && (undefined === input.execution || "object" === typeof input.execution && null !== input.execution && false === Array.isArray(input.execution) && _io22(input.execution, true && _exceptionable)) && (3 === Object.keys(input).length || Object.keys(input).every(key => {
1320
1263
  if (["type", "id", "args", "results", "execution"].some(prop => key === prop))
1321
1264
  return true;
1322
1265
  const value = input[key];
@@ -1507,14 +1450,7 @@ export const validateOps = (() => { const _io0 = (input, _exceptionable = true)
1507
1450
  if (undefined === value)
1508
1451
  return true;
1509
1452
  return false;
1510
- })); const _io22 = (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 => {
1511
- if (["group", "timeout", "depends_on", "stop_if_dependent_stops"].some(prop => key === prop))
1512
- return true;
1513
- const value = input[key];
1514
- if (undefined === value)
1515
- return true;
1516
- return false;
1517
- })); const _io23 = (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, _index14) => "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 => {
1453
+ })); const _io22 = (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, _index14) => "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 => {
1518
1454
  if (["group", "timeout", "depends_on", "stop_if_dependent_stops"].some(prop => key === prop))
1519
1455
  return true;
1520
1456
  const value = input[key];
@@ -1555,11 +1491,6 @@ export const validateOps = (() => { const _io0 = (input, _exceptionable = true)
1555
1491
  return _io19(input, true && _exceptionable);
1556
1492
  else
1557
1493
  return false;
1558
- })(); const _iu4 = (input, _exceptionable = true) => (() => {
1559
- if (Array.isArray(input.depends_on) && input.depends_on.every((elem, _index15) => "string" === typeof elem))
1560
- return _io23(input, true && _exceptionable);
1561
- else
1562
- return _io22(input, true && _exceptionable);
1563
1494
  })(); const _vo0 = (input, _path, _exceptionable = true) => ["container/run" === input.type || "container/create-volume" === input.type || _report(_exceptionable, {
1564
1495
  path: _path + ".type",
1565
1496
  expected: "(\"container/create-volume\" | \"container/run\")",
@@ -1590,11 +1521,11 @@ export const validateOps = (() => { const _io0 = (input, _exceptionable = true)
1590
1521
  value: input.results
1591
1522
  }), undefined === input.execution || ("object" === typeof input.execution && null !== input.execution && false === Array.isArray(input.execution) || _report(_exceptionable, {
1592
1523
  path: _path + ".execution",
1593
- 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; })",
1524
+ expected: "(Execution | undefined)",
1594
1525
  value: input.execution
1595
- })) && _vu4(input.execution, _path + ".execution", true && _exceptionable) || _report(_exceptionable, {
1526
+ })) && _vo22(input.execution, _path + ".execution", true && _exceptionable) || _report(_exceptionable, {
1596
1527
  path: _path + ".execution",
1597
- 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; })",
1528
+ expected: "(Execution | undefined)",
1598
1529
  value: input.execution
1599
1530
  }), 3 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
1600
1531
  if (["type", "id", "args", "results", "execution"].some(prop => key === prop))
@@ -1624,8 +1555,8 @@ export const validateOps = (() => { const _io0 = (input, _exceptionable = true)
1624
1555
  path: _path + ".aliases",
1625
1556
  expected: "(Aliases | string | undefined)",
1626
1557
  value: input.aliases
1627
- })) && input.aliases.map((elem, _index17) => "string" === typeof elem || _report(_exceptionable, {
1628
- path: _path + ".aliases[" + _index17 + "]",
1558
+ })) && input.aliases.map((elem, _index16) => "string" === typeof elem || _report(_exceptionable, {
1559
+ path: _path + ".aliases[" + _index16 + "]",
1629
1560
  expected: "string",
1630
1561
  value: elem
1631
1562
  })).every(flag => flag) || _report(_exceptionable, {
@@ -1640,8 +1571,8 @@ export const validateOps = (() => { const _io0 = (input, _exceptionable = true)
1640
1571
  path: _path + ".cmd",
1641
1572
  expected: "(CMDArray | string | undefined)",
1642
1573
  value: input.cmd
1643
- })) && input.cmd.map((elem, _index18) => "string" === typeof elem || _report(_exceptionable, {
1644
- path: _path + ".cmd[" + _index18 + "]",
1574
+ })) && input.cmd.map((elem, _index17) => "string" === typeof elem || _report(_exceptionable, {
1575
+ path: _path + ".cmd[" + _index17 + "]",
1645
1576
  expected: "string",
1646
1577
  value: elem
1647
1578
  })).every(flag => flag) || _report(_exceptionable, {
@@ -1652,12 +1583,12 @@ export const validateOps = (() => { const _io0 = (input, _exceptionable = true)
1652
1583
  path: _path + ".volumes",
1653
1584
  expected: "(Array<Volume> | undefined)",
1654
1585
  value: input.volumes
1655
- })) && input.volumes.map((elem, _index19) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
1656
- path: _path + ".volumes[" + _index19 + "]",
1586
+ })) && input.volumes.map((elem, _index18) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
1587
+ path: _path + ".volumes[" + _index18 + "]",
1657
1588
  expected: "Volume",
1658
1589
  value: elem
1659
- })) && _vo2(elem, _path + ".volumes[" + _index19 + "]", true && _exceptionable) || _report(_exceptionable, {
1660
- path: _path + ".volumes[" + _index19 + "]",
1590
+ })) && _vo2(elem, _path + ".volumes[" + _index18 + "]", true && _exceptionable) || _report(_exceptionable, {
1591
+ path: _path + ".volumes[" + _index18 + "]",
1661
1592
  expected: "Volume",
1662
1593
  value: elem
1663
1594
  })).every(flag => flag) || _report(_exceptionable, {
@@ -1711,24 +1642,24 @@ export const validateOps = (() => { const _io0 = (input, _exceptionable = true)
1711
1642
  path: _path + ".expose",
1712
1643
  expected: "Array<> & TagBase<__type>",
1713
1644
  value: input.expose
1714
- })) && input.expose.map((elem, _index20) => (null !== elem || _report(_exceptionable, {
1715
- path: _path + ".expose[" + _index20 + "]",
1645
+ })) && input.expose.map((elem, _index19) => (null !== elem || _report(_exceptionable, {
1646
+ path: _path + ".expose[" + _index19 + "]",
1716
1647
  expected: "((__type & TagBase<__type>) | (string & TagBase<__type>) | ExposedPort | number)",
1717
1648
  value: elem
1718
1649
  })) && (undefined !== elem || _report(_exceptionable, {
1719
- path: _path + ".expose[" + _index20 + "]",
1650
+ path: _path + ".expose[" + _index19 + "]",
1720
1651
  expected: "((__type & TagBase<__type>) | (string & TagBase<__type>) | ExposedPort | number)",
1721
1652
  value: elem
1722
1653
  })) && ("number" === typeof elem || "string" === typeof elem && (typeof elem === "string" && /^%%(ops|global).[^%]+%%$/.test(elem) || _report(_exceptionable, {
1723
- path: _path + ".expose[" + _index20 + "]",
1654
+ path: _path + ".expose[" + _index19 + "]",
1724
1655
  expected: "string & TagBase<__type>",
1725
1656
  value: elem
1726
1657
  })) || ("object" === typeof elem && null !== elem || _report(_exceptionable, {
1727
- path: _path + ".expose[" + _index20 + "]",
1658
+ path: _path + ".expose[" + _index19 + "]",
1728
1659
  expected: "((__type & TagBase<__type>) | (string & TagBase<__type>) | ExposedPort | number)",
1729
1660
  value: elem
1730
- })) && _vu1(elem, _path + ".expose[" + _index20 + "]", true && _exceptionable) || _report(_exceptionable, {
1731
- path: _path + ".expose[" + _index20 + "]",
1661
+ })) && _vu1(elem, _path + ".expose[" + _index19 + "]", true && _exceptionable) || _report(_exceptionable, {
1662
+ path: _path + ".expose[" + _index19 + "]",
1732
1663
  expected: "((__type & TagBase<__type>) | (string & TagBase<__type>) | ExposedPort | number)",
1733
1664
  value: elem
1734
1665
  }))).every(flag => flag)) || "object" === typeof input.expose && null !== input.expose && _vu1(input.expose, _path + ".expose", true && _exceptionable) || _report(_exceptionable, {
@@ -1755,8 +1686,8 @@ export const validateOps = (() => { const _io0 = (input, _exceptionable = true)
1755
1686
  path: _path + ".entrypoint",
1756
1687
  expected: "(CMDArray | string | undefined)",
1757
1688
  value: input.entrypoint
1758
- })) && input.entrypoint.map((elem, _index21) => "string" === typeof elem || _report(_exceptionable, {
1759
- path: _path + ".entrypoint[" + _index21 + "]",
1689
+ })) && input.entrypoint.map((elem, _index20) => "string" === typeof elem || _report(_exceptionable, {
1690
+ path: _path + ".entrypoint[" + _index20 + "]",
1760
1691
  expected: "string",
1761
1692
  value: elem
1762
1693
  })).every(flag => flag) || _report(_exceptionable, {
@@ -1791,20 +1722,20 @@ export const validateOps = (() => { const _io0 = (input, _exceptionable = true)
1791
1722
  path: _path + ".resources",
1792
1723
  expected: "(Resources | undefined)",
1793
1724
  value: input.resources
1794
- })) && input.resources.map((elem, _index22) => (null !== elem || _report(_exceptionable, {
1795
- path: _path + ".resources[" + _index22 + "]",
1725
+ })) && input.resources.map((elem, _index21) => (null !== elem || _report(_exceptionable, {
1726
+ path: _path + ".resources[" + _index21 + "]",
1796
1727
  expected: "(\"__remove-if-empty__\" | (__type & TagBase<__type>) | HFResource | OllamaResource | S3Base | S3WithBucket | S3WithBuckets)",
1797
1728
  value: elem
1798
1729
  })) && (undefined !== elem || _report(_exceptionable, {
1799
- path: _path + ".resources[" + _index22 + "]",
1730
+ path: _path + ".resources[" + _index21 + "]",
1800
1731
  expected: "(\"__remove-if-empty__\" | (__type & TagBase<__type>) | HFResource | OllamaResource | S3Base | S3WithBucket | S3WithBuckets)",
1801
1732
  value: elem
1802
1733
  })) && ("__remove-if-empty__" === elem || ("object" === typeof elem && null !== elem || _report(_exceptionable, {
1803
- path: _path + ".resources[" + _index22 + "]",
1734
+ path: _path + ".resources[" + _index21 + "]",
1804
1735
  expected: "(\"__remove-if-empty__\" | (__type & TagBase<__type>) | HFResource | OllamaResource | S3Base | S3WithBucket | S3WithBuckets)",
1805
1736
  value: elem
1806
- })) && _vu2(elem, _path + ".resources[" + _index22 + "]", true && _exceptionable) || _report(_exceptionable, {
1807
- path: _path + ".resources[" + _index22 + "]",
1737
+ })) && _vu2(elem, _path + ".resources[" + _index21 + "]", true && _exceptionable) || _report(_exceptionable, {
1738
+ path: _path + ".resources[" + _index21 + "]",
1808
1739
  expected: "(\"__remove-if-empty__\" | (__type & TagBase<__type>) | HFResource | OllamaResource | S3Base | S3WithBucket | S3WithBuckets)",
1809
1740
  value: elem
1810
1741
  }))).every(flag => flag) || _report(_exceptionable, {
@@ -1899,12 +1830,12 @@ export const validateOps = (() => { const _io0 = (input, _exceptionable = true)
1899
1830
  path: _path + ".health_checks",
1900
1831
  expected: "(Array<HealthCheck> | undefined)",
1901
1832
  value: input.health_checks
1902
- })) && input.health_checks.map((elem, _index23) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
1903
- path: _path + ".health_checks[" + _index23 + "]",
1833
+ })) && input.health_checks.map((elem, _index22) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
1834
+ path: _path + ".health_checks[" + _index22 + "]",
1904
1835
  expected: "(HttpHealthCheck | WebSocketHealthCheck)",
1905
1836
  value: elem
1906
- })) && _vu0(elem, _path + ".health_checks[" + _index23 + "]", true && _exceptionable) || _report(_exceptionable, {
1907
- path: _path + ".health_checks[" + _index23 + "]",
1837
+ })) && _vu0(elem, _path + ".health_checks[" + _index22 + "]", true && _exceptionable) || _report(_exceptionable, {
1838
+ path: _path + ".health_checks[" + _index22 + "]",
1908
1839
  expected: "(HttpHealthCheck | WebSocketHealthCheck)",
1909
1840
  value: elem
1910
1841
  })).every(flag => flag) || _report(_exceptionable, {
@@ -2061,8 +1992,8 @@ export const validateOps = (() => { const _io0 = (input, _exceptionable = true)
2061
1992
  path: _path + ".files",
2062
1993
  expected: "(Array<string> | undefined)",
2063
1994
  value: input.files
2064
- })) && input.files.map((elem, _index24) => "string" === typeof elem || _report(_exceptionable, {
2065
- path: _path + ".files[" + _index24 + "]",
1995
+ })) && input.files.map((elem, _index23) => "string" === typeof elem || _report(_exceptionable, {
1996
+ path: _path + ".files[" + _index23 + "]",
2066
1997
  expected: "string",
2067
1998
  value: elem
2068
1999
  })).every(flag => flag) || _report(_exceptionable, {
@@ -2177,12 +2108,12 @@ export const validateOps = (() => { const _io0 = (input, _exceptionable = true)
2177
2108
  path: _path + ".buckets",
2178
2109
  expected: "Array<__type>",
2179
2110
  value: input.buckets
2180
- })) && input.buckets.map((elem, _index25) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
2181
- path: _path + ".buckets[" + _index25 + "]",
2111
+ })) && input.buckets.map((elem, _index24) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
2112
+ path: _path + ".buckets[" + _index24 + "]",
2182
2113
  expected: "__type.o5",
2183
2114
  value: elem
2184
- })) && _vo14(elem, _path + ".buckets[" + _index25 + "]", true && _exceptionable) || _report(_exceptionable, {
2185
- path: _path + ".buckets[" + _index25 + "]",
2115
+ })) && _vo14(elem, _path + ".buckets[" + _index24 + "]", true && _exceptionable) || _report(_exceptionable, {
2116
+ path: _path + ".buckets[" + _index24 + "]",
2186
2117
  expected: "__type.o5",
2187
2118
  value: elem
2188
2119
  })).every(flag => flag) || _report(_exceptionable, {
@@ -2229,8 +2160,8 @@ export const validateOps = (() => { const _io0 = (input, _exceptionable = true)
2229
2160
  path: _path + ".files",
2230
2161
  expected: "(Array<string> | undefined)",
2231
2162
  value: input.files
2232
- })) && input.files.map((elem, _index26) => "string" === typeof elem || _report(_exceptionable, {
2233
- path: _path + ".files[" + _index26 + "]",
2163
+ })) && input.files.map((elem, _index25) => "string" === typeof elem || _report(_exceptionable, {
2164
+ path: _path + ".files[" + _index25 + "]",
2234
2165
  expected: "string",
2235
2166
  value: elem
2236
2167
  })).every(flag => flag) || _report(_exceptionable, {
@@ -2273,8 +2204,8 @@ export const validateOps = (() => { const _io0 = (input, _exceptionable = true)
2273
2204
  path: _path + ".files",
2274
2205
  expected: "(Array<string> | undefined)",
2275
2206
  value: input.files
2276
- })) && input.files.map((elem, _index27) => "string" === typeof elem || _report(_exceptionable, {
2277
- path: _path + ".files[" + _index27 + "]",
2207
+ })) && input.files.map((elem, _index26) => "string" === typeof elem || _report(_exceptionable, {
2208
+ path: _path + ".files[" + _index26 + "]",
2278
2209
  expected: "string",
2279
2210
  value: elem
2280
2211
  })).every(flag => flag) || _report(_exceptionable, {
@@ -2446,8 +2377,8 @@ export const validateOps = (() => { const _io0 = (input, _exceptionable = true)
2446
2377
  path: _path + ".logType",
2447
2378
  expected: "Array<> & UniqueLogTypeTag",
2448
2379
  value: input.logType
2449
- })) && input.logType.map((elem, _index28) => "stdin" === elem || "stdout" === elem || "stderr" === elem || "nodeerr" === elem || _report(_exceptionable, {
2450
- path: _path + ".logType[" + _index28 + "]",
2380
+ })) && input.logType.map((elem, _index27) => "stdin" === elem || "stdout" === elem || "stderr" === elem || "nodeerr" === elem || _report(_exceptionable, {
2381
+ path: _path + ".logType[" + _index27 + "]",
2451
2382
  expected: "(\"nodeerr\" | \"stderr\" | \"stdin\" | \"stdout\")",
2452
2383
  value: elem
2453
2384
  })).every(flag => flag)) || _report(_exceptionable, {
@@ -2478,63 +2409,23 @@ export const validateOps = (() => { const _io0 = (input, _exceptionable = true)
2478
2409
  path: _path + ".timeout",
2479
2410
  expected: "(number | undefined)",
2480
2411
  value: input.timeout
2481
- }), (null !== input.depends_on || _report(_exceptionable, {
2482
- path: _path + ".depends_on",
2483
- expected: "undefined",
2484
- value: input.depends_on
2485
- })) && (undefined === input.depends_on || _report(_exceptionable, {
2412
+ }), undefined === input.depends_on || (Array.isArray(input.depends_on) || _report(_exceptionable, {
2486
2413
  path: _path + ".depends_on",
2487
- expected: "undefined",
2488
- value: input.depends_on
2489
- })), (null !== input.stop_if_dependent_stops || _report(_exceptionable, {
2490
- path: _path + ".stop_if_dependent_stops",
2491
- expected: "undefined",
2492
- value: input.stop_if_dependent_stops
2493
- })) && (undefined === input.stop_if_dependent_stops || _report(_exceptionable, {
2494
- path: _path + ".stop_if_dependent_stops",
2495
- expected: "undefined",
2496
- value: input.stop_if_dependent_stops
2497
- })), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
2498
- if (["group", "timeout", "depends_on", "stop_if_dependent_stops"].some(prop => key === prop))
2499
- return true;
2500
- const value = input[key];
2501
- if (undefined === value)
2502
- return true;
2503
- return _report(_exceptionable, {
2504
- path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
2505
- expected: "undefined",
2506
- value: value,
2507
- description: [
2508
- `The property \`${key}\` is not defined in the object type.`,
2509
- "",
2510
- "Please remove the property next time."
2511
- ].join("\n")
2512
- });
2513
- }).every(flag => flag))].every(flag => flag); const _vo23 = (input, _path, _exceptionable = true) => [undefined === input.group || "string" === typeof input.group || _report(_exceptionable, {
2514
- path: _path + ".group",
2515
- expected: "(string | undefined)",
2516
- value: input.group
2517
- }), undefined === input.timeout || "number" === typeof input.timeout || _report(_exceptionable, {
2518
- path: _path + ".timeout",
2519
- expected: "(number | undefined)",
2520
- value: input.timeout
2521
- }), (Array.isArray(input.depends_on) || _report(_exceptionable, {
2522
- path: _path + ".depends_on",
2523
- expected: "Array<string>",
2414
+ expected: "(Array<string> | undefined)",
2524
2415
  value: input.depends_on
2525
- })) && input.depends_on.map((elem, _index29) => "string" === typeof elem || _report(_exceptionable, {
2526
- path: _path + ".depends_on[" + _index29 + "]",
2416
+ })) && input.depends_on.map((elem, _index28) => "string" === typeof elem || _report(_exceptionable, {
2417
+ path: _path + ".depends_on[" + _index28 + "]",
2527
2418
  expected: "string",
2528
2419
  value: elem
2529
2420
  })).every(flag => flag) || _report(_exceptionable, {
2530
2421
  path: _path + ".depends_on",
2531
- expected: "Array<string>",
2422
+ expected: "(Array<string> | undefined)",
2532
2423
  value: input.depends_on
2533
2424
  }), undefined === input.stop_if_dependent_stops || "boolean" === typeof input.stop_if_dependent_stops || _report(_exceptionable, {
2534
2425
  path: _path + ".stop_if_dependent_stops",
2535
2426
  expected: "(boolean | undefined)",
2536
2427
  value: input.stop_if_dependent_stops
2537
- }), 1 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
2428
+ }), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
2538
2429
  if (["group", "timeout", "depends_on", "stop_if_dependent_stops"].some(prop => key === prop))
2539
2430
  return true;
2540
2431
  const value = input[key];
@@ -2596,11 +2487,6 @@ export const validateOps = (() => { const _io0 = (input, _exceptionable = true)
2596
2487
  expected: "(ContainerRun | ContainerCreateVolume)",
2597
2488
  value: input
2598
2489
  });
2599
- })(); const _vu4 = (input, _path, _exceptionable = true) => (() => {
2600
- if (Array.isArray(input.depends_on) && input.depends_on.map((elem, _index30) => "string" === typeof elem).every(flag => flag))
2601
- return _vo23(input, _path, true && _exceptionable);
2602
- else
2603
- return _vo22(input, _path, true && _exceptionable);
2604
2490
  })(); const __is = (input, _exceptionable = true) => Array.isArray(input) && (Array.isArray(input) && (() => {
2605
2491
  const seen = new Set();
2606
2492
  for (const it of input) {
@@ -2633,12 +2519,12 @@ export const validateOps = (() => { const _io0 = (input, _exceptionable = true)
2633
2519
  path: _path + "",
2634
2520
  expected: "Array<> & UniqueById",
2635
2521
  value: input
2636
- })) && input.map((elem, _index16) => ("object" === typeof elem && null !== elem || _report(true, {
2637
- path: _path + "[" + _index16 + "]",
2522
+ })) && input.map((elem, _index15) => ("object" === typeof elem && null !== elem || _report(true, {
2523
+ path: _path + "[" + _index15 + "]",
2638
2524
  expected: "Operation<keyof OperationArgsMap>",
2639
2525
  value: elem
2640
- })) && _vo0(elem, _path + "[" + _index16 + "]", true) || _report(true, {
2641
- path: _path + "[" + _index16 + "]",
2526
+ })) && _vo0(elem, _path + "[" + _index15 + "]", true) || _report(true, {
2527
+ path: _path + "[" + _index15 + "]",
2642
2528
  expected: "Operation<keyof OperationArgsMap>",
2643
2529
  value: elem
2644
2530
  })).every(flag => flag)) || _report(true, {