@nxtedition/types 23.0.60 → 23.0.62
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.
- package/dist/common/asset-indexer.d.ts +98 -0
- package/dist/common/asset-indexer.js +1 -0
- package/dist/common/index.d.ts +4 -0
- package/dist/common/index.js +4 -0
- package/dist/common/panel-property.d.ts +29 -0
- package/dist/common/panel-property.js +1 -0
- package/dist/common/schema-property.d.ts +12 -0
- package/dist/common/schema-property.js +1 -0
- package/dist/common/settings.d.ts +16 -0
- package/dist/common/subtitle.d.ts +4 -0
- package/dist/common/subtitle.js +1 -0
- package/dist/nxtpression.d.ts +295 -6
- package/dist/records/domains/asset.d.ts +11 -2
- package/dist/records/domains/device.d.ts +16 -0
- package/dist/records/domains/device.js +1 -0
- package/dist/records/domains/folder.d.ts +6 -0
- package/dist/records/domains/folder.js +1 -0
- package/dist/records/domains/index.d.ts +9 -1
- package/dist/records/domains/index.js +4 -0
- package/dist/records/domains/ingestschedule.d.ts +45 -0
- package/dist/records/domains/ingestschedule.js +1 -0
- package/dist/records/domains/note.d.ts +6 -0
- package/dist/records/domains/note.js +1 -0
- package/dist/records/domains/panel.d.ts +1 -28
- package/dist/records/domains/settings.d.ts +5 -0
- package/dist/records/exact/asset.d.ts +18 -1
- package/dist/records/exact/media.d.ts +40 -1
- package/dist/records/validate/assert-guard.js +3018 -1066
- package/dist/records/validate/assert.js +3030 -1068
- package/dist/records/validate/is.js +89 -8
- package/dist/records/validate/schemas.js +1932 -530
- package/dist/records/validate/stringify.js +252 -13
- package/dist/records/validate/utils.js +2 -2
- package/dist/records/validate/validate-equals.js +4737 -1738
- package/dist/records/validate/validate.js +1968 -230
- package/dist/rpc.d.ts +3 -2
- package/package.json +1 -1
|
@@ -358,6 +358,212 @@ function _validateExactRecord(name, input) {
|
|
|
358
358
|
};
|
|
359
359
|
}; })()(input);
|
|
360
360
|
}
|
|
361
|
+
case "asset.dynamicProperties?": {
|
|
362
|
+
return (() => { const _io0 = input => undefined === input.value || Array.isArray(input.value) && input.value.every(elem => "object" === typeof elem && null !== elem && _io1(elem)); const _io1 = input => (undefined === input.panel || "string" === typeof input.panel) && (undefined === input.schema || "string" === typeof input.schema) && (Array.isArray(input.supports) && input.supports.every(elem => "string" === typeof elem)) && "string" === typeof input.path && ("string" === input.type || "number" === input.type || "boolean" === input.type || "object" === input.type || "array" === input.type || "asset" === input.type || "datetime" === input.type || "rpc" === input.type) && (undefined === input.index || "object" === typeof input.index && null !== input.index && _io2(input.index)) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.domain || "string" === typeof input.domain) && true && (undefined === input.required || "boolean" === typeof input.required) && (undefined === input.oneOf || Array.isArray(input.oneOf) && input.oneOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io3(elem))) && (undefined === input.anyOf || Array.isArray(input.anyOf) && input.anyOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io4(elem))) && (undefined === input["enum"] || Array.isArray(input["enum"])) && true && (null !== input.recordName && (undefined === input.recordName || "string" === typeof input.recordName || "object" === typeof input.recordName && null !== input.recordName && _io5(input.recordName))) && (null !== input.setter && (undefined === input.setter || "function" === typeof input.setter || "string" === typeof input.setter || "object" === typeof input.setter && null !== input.setter && _io7(input.setter))) && true; const _io2 = input => "string" === typeof input.label && "string" === typeof input.path; const _io3 = input => true && (undefined === input.title || "string" === typeof input.title); const _io4 = input => true && (undefined === input.title || "string" === typeof input.title); const _io5 = input => "object" === typeof input.__context && null !== input.__context && _io6(input.__context) && "string" === typeof input.__returnValue; const _io6 = input => "string" === typeof input.id; const _io7 = input => "object" === typeof input.__context && null !== input.__context && _io8(input.__context) && true; const _io8 = input => "string" === typeof input.id && true; const _vo0 = (input, _path, _exceptionable = true) => [undefined === input.value || (Array.isArray(input.value) || _report(_exceptionable, {
|
|
363
|
+
path: _path + ".value",
|
|
364
|
+
expected: "(Array<DynamicProperty> | undefined)",
|
|
365
|
+
value: input.value
|
|
366
|
+
})) && input.value.map((elem, _index5) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
367
|
+
path: _path + ".value[" + _index5 + "]",
|
|
368
|
+
expected: "DynamicProperty",
|
|
369
|
+
value: elem
|
|
370
|
+
})) && _vo1(elem, _path + ".value[" + _index5 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
371
|
+
path: _path + ".value[" + _index5 + "]",
|
|
372
|
+
expected: "DynamicProperty",
|
|
373
|
+
value: elem
|
|
374
|
+
})).every(flag => flag) || _report(_exceptionable, {
|
|
375
|
+
path: _path + ".value",
|
|
376
|
+
expected: "(Array<DynamicProperty> | undefined)",
|
|
377
|
+
value: input.value
|
|
378
|
+
})].every(flag => flag); const _vo1 = (input, _path, _exceptionable = true) => [undefined === input.panel || "string" === typeof input.panel || _report(_exceptionable, {
|
|
379
|
+
path: _path + ".panel",
|
|
380
|
+
expected: "(string | undefined)",
|
|
381
|
+
value: input.panel
|
|
382
|
+
}), undefined === input.schema || "string" === typeof input.schema || _report(_exceptionable, {
|
|
383
|
+
path: _path + ".schema",
|
|
384
|
+
expected: "(string | undefined)",
|
|
385
|
+
value: input.schema
|
|
386
|
+
}), (Array.isArray(input.supports) || _report(_exceptionable, {
|
|
387
|
+
path: _path + ".supports",
|
|
388
|
+
expected: "Array<string>",
|
|
389
|
+
value: input.supports
|
|
390
|
+
})) && input.supports.map((elem, _index6) => "string" === typeof elem || _report(_exceptionable, {
|
|
391
|
+
path: _path + ".supports[" + _index6 + "]",
|
|
392
|
+
expected: "string",
|
|
393
|
+
value: elem
|
|
394
|
+
})).every(flag => flag) || _report(_exceptionable, {
|
|
395
|
+
path: _path + ".supports",
|
|
396
|
+
expected: "Array<string>",
|
|
397
|
+
value: input.supports
|
|
398
|
+
}), "string" === typeof input.path || _report(_exceptionable, {
|
|
399
|
+
path: _path + ".path",
|
|
400
|
+
expected: "string",
|
|
401
|
+
value: input.path
|
|
402
|
+
}), "string" === input.type || "number" === input.type || "boolean" === input.type || "object" === input.type || "array" === input.type || "asset" === input.type || "datetime" === input.type || "rpc" === input.type || _report(_exceptionable, {
|
|
403
|
+
path: _path + ".type",
|
|
404
|
+
expected: "(\"array\" | \"asset\" | \"boolean\" | \"datetime\" | \"number\" | \"object\" | \"rpc\" | \"string\")",
|
|
405
|
+
value: input.type
|
|
406
|
+
}), undefined === input.index || ("object" === typeof input.index && null !== input.index || _report(_exceptionable, {
|
|
407
|
+
path: _path + ".index",
|
|
408
|
+
expected: "(__type | undefined)",
|
|
409
|
+
value: input.index
|
|
410
|
+
})) && _vo2(input.index, _path + ".index", true && _exceptionable) || _report(_exceptionable, {
|
|
411
|
+
path: _path + ".index",
|
|
412
|
+
expected: "(__type | undefined)",
|
|
413
|
+
value: input.index
|
|
414
|
+
}), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
|
415
|
+
path: _path + ".title",
|
|
416
|
+
expected: "(string | undefined)",
|
|
417
|
+
value: input.title
|
|
418
|
+
}), undefined === input.description || "string" === typeof input.description || _report(_exceptionable, {
|
|
419
|
+
path: _path + ".description",
|
|
420
|
+
expected: "(string | undefined)",
|
|
421
|
+
value: input.description
|
|
422
|
+
}), undefined === input.domain || "string" === typeof input.domain || _report(_exceptionable, {
|
|
423
|
+
path: _path + ".domain",
|
|
424
|
+
expected: "(string | undefined)",
|
|
425
|
+
value: input.domain
|
|
426
|
+
}), true, undefined === input.required || "boolean" === typeof input.required || _report(_exceptionable, {
|
|
427
|
+
path: _path + ".required",
|
|
428
|
+
expected: "(boolean | undefined)",
|
|
429
|
+
value: input.required
|
|
430
|
+
}), undefined === input.oneOf || (Array.isArray(input.oneOf) || _report(_exceptionable, {
|
|
431
|
+
path: _path + ".oneOf",
|
|
432
|
+
expected: "(Array<__type> | undefined)",
|
|
433
|
+
value: input.oneOf
|
|
434
|
+
})) && input.oneOf.map((elem, _index7) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
435
|
+
path: _path + ".oneOf[" + _index7 + "]",
|
|
436
|
+
expected: "__type.o1",
|
|
437
|
+
value: elem
|
|
438
|
+
})) && _vo3(elem, _path + ".oneOf[" + _index7 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
439
|
+
path: _path + ".oneOf[" + _index7 + "]",
|
|
440
|
+
expected: "__type.o1",
|
|
441
|
+
value: elem
|
|
442
|
+
})).every(flag => flag) || _report(_exceptionable, {
|
|
443
|
+
path: _path + ".oneOf",
|
|
444
|
+
expected: "(Array<__type> | undefined)",
|
|
445
|
+
value: input.oneOf
|
|
446
|
+
}), undefined === input.anyOf || (Array.isArray(input.anyOf) || _report(_exceptionable, {
|
|
447
|
+
path: _path + ".anyOf",
|
|
448
|
+
expected: "(Array<__type>.o1 | undefined)",
|
|
449
|
+
value: input.anyOf
|
|
450
|
+
})) && input.anyOf.map((elem, _index8) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
451
|
+
path: _path + ".anyOf[" + _index8 + "]",
|
|
452
|
+
expected: "__type.o2",
|
|
453
|
+
value: elem
|
|
454
|
+
})) && _vo4(elem, _path + ".anyOf[" + _index8 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
455
|
+
path: _path + ".anyOf[" + _index8 + "]",
|
|
456
|
+
expected: "__type.o2",
|
|
457
|
+
value: elem
|
|
458
|
+
})).every(flag => flag) || _report(_exceptionable, {
|
|
459
|
+
path: _path + ".anyOf",
|
|
460
|
+
expected: "(Array<__type>.o1 | undefined)",
|
|
461
|
+
value: input.anyOf
|
|
462
|
+
}), undefined === input["enum"] || Array.isArray(input["enum"]) || _report(_exceptionable, {
|
|
463
|
+
path: _path + "[\"enum\"]",
|
|
464
|
+
expected: "(Array<unknown> | undefined)",
|
|
465
|
+
value: input["enum"]
|
|
466
|
+
}), true, (null !== input.recordName || _report(_exceptionable, {
|
|
467
|
+
path: _path + ".recordName",
|
|
468
|
+
expected: "(__type.o3 | string | undefined)",
|
|
469
|
+
value: input.recordName
|
|
470
|
+
})) && (undefined === input.recordName || "string" === typeof input.recordName || ("object" === typeof input.recordName && null !== input.recordName || _report(_exceptionable, {
|
|
471
|
+
path: _path + ".recordName",
|
|
472
|
+
expected: "(__type.o3 | string | undefined)",
|
|
473
|
+
value: input.recordName
|
|
474
|
+
})) && _vo5(input.recordName, _path + ".recordName", true && _exceptionable) || _report(_exceptionable, {
|
|
475
|
+
path: _path + ".recordName",
|
|
476
|
+
expected: "(__type.o3 | string | undefined)",
|
|
477
|
+
value: input.recordName
|
|
478
|
+
})), (null !== input.setter || _report(_exceptionable, {
|
|
479
|
+
path: _path + ".setter",
|
|
480
|
+
expected: "(__type.o5 | string | undefined)",
|
|
481
|
+
value: input.setter
|
|
482
|
+
})) && (undefined === input.setter || "function" === typeof input.setter || "string" === typeof input.setter || ("object" === typeof input.setter && null !== input.setter || _report(_exceptionable, {
|
|
483
|
+
path: _path + ".setter",
|
|
484
|
+
expected: "(__type.o5 | string | undefined)",
|
|
485
|
+
value: input.setter
|
|
486
|
+
})) && _vo7(input.setter, _path + ".setter", true && _exceptionable) || _report(_exceptionable, {
|
|
487
|
+
path: _path + ".setter",
|
|
488
|
+
expected: "(__type.o5 | string | undefined)",
|
|
489
|
+
value: input.setter
|
|
490
|
+
})), true].every(flag => flag); const _vo2 = (input, _path, _exceptionable = true) => ["string" === typeof input.label || _report(_exceptionable, {
|
|
491
|
+
path: _path + ".label",
|
|
492
|
+
expected: "string",
|
|
493
|
+
value: input.label
|
|
494
|
+
}), "string" === typeof input.path || _report(_exceptionable, {
|
|
495
|
+
path: _path + ".path",
|
|
496
|
+
expected: "string",
|
|
497
|
+
value: input.path
|
|
498
|
+
})].every(flag => flag); const _vo3 = (input, _path, _exceptionable = true) => [true, undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
|
499
|
+
path: _path + ".title",
|
|
500
|
+
expected: "(string | undefined)",
|
|
501
|
+
value: input.title
|
|
502
|
+
})].every(flag => flag); const _vo4 = (input, _path, _exceptionable = true) => [true, undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
|
503
|
+
path: _path + ".title",
|
|
504
|
+
expected: "(string | undefined)",
|
|
505
|
+
value: input.title
|
|
506
|
+
})].every(flag => flag); const _vo5 = (input, _path, _exceptionable = true) => [("object" === typeof input.__context && null !== input.__context || _report(_exceptionable, {
|
|
507
|
+
path: _path + ".__context",
|
|
508
|
+
expected: "__type.o4",
|
|
509
|
+
value: input.__context
|
|
510
|
+
})) && _vo6(input.__context, _path + ".__context", true && _exceptionable) || _report(_exceptionable, {
|
|
511
|
+
path: _path + ".__context",
|
|
512
|
+
expected: "__type.o4",
|
|
513
|
+
value: input.__context
|
|
514
|
+
}), "string" === typeof input.__returnValue || _report(_exceptionable, {
|
|
515
|
+
path: _path + ".__returnValue",
|
|
516
|
+
expected: "string",
|
|
517
|
+
value: input.__returnValue
|
|
518
|
+
})].every(flag => flag); const _vo6 = (input, _path, _exceptionable = true) => ["string" === typeof input.id || _report(_exceptionable, {
|
|
519
|
+
path: _path + ".id",
|
|
520
|
+
expected: "string",
|
|
521
|
+
value: input.id
|
|
522
|
+
})].every(flag => flag); const _vo7 = (input, _path, _exceptionable = true) => [("object" === typeof input.__context && null !== input.__context || _report(_exceptionable, {
|
|
523
|
+
path: _path + ".__context",
|
|
524
|
+
expected: "__type.o6",
|
|
525
|
+
value: input.__context
|
|
526
|
+
})) && _vo8(input.__context, _path + ".__context", true && _exceptionable) || _report(_exceptionable, {
|
|
527
|
+
path: _path + ".__context",
|
|
528
|
+
expected: "__type.o6",
|
|
529
|
+
value: input.__context
|
|
530
|
+
}), true || _report(_exceptionable, {
|
|
531
|
+
path: _path + ".__returnValue",
|
|
532
|
+
expected: "unknown",
|
|
533
|
+
value: input.__returnValue
|
|
534
|
+
})].every(flag => flag); const _vo8 = (input, _path, _exceptionable = true) => ["string" === typeof input.id || _report(_exceptionable, {
|
|
535
|
+
path: _path + ".id",
|
|
536
|
+
expected: "string",
|
|
537
|
+
value: input.id
|
|
538
|
+
}), true].every(flag => flag); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); let errors; let _report; return input => {
|
|
539
|
+
if (false === __is(input)) {
|
|
540
|
+
errors = [];
|
|
541
|
+
_report = __typia_transform__validateReport._validateReport(errors);
|
|
542
|
+
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || _report(true, {
|
|
543
|
+
path: _path + "",
|
|
544
|
+
expected: "AssetDynamicPropertiesProvidedRecord",
|
|
545
|
+
value: input
|
|
546
|
+
})) && _vo0(input, _path + "", true) || _report(true, {
|
|
547
|
+
path: _path + "",
|
|
548
|
+
expected: "AssetDynamicPropertiesProvidedRecord",
|
|
549
|
+
value: input
|
|
550
|
+
}))(input, "$input", true);
|
|
551
|
+
const success = 0 === errors.length;
|
|
552
|
+
return success ? {
|
|
553
|
+
success,
|
|
554
|
+
data: input
|
|
555
|
+
} : {
|
|
556
|
+
success,
|
|
557
|
+
errors,
|
|
558
|
+
data: input
|
|
559
|
+
};
|
|
560
|
+
}
|
|
561
|
+
return {
|
|
562
|
+
success: true,
|
|
563
|
+
data: input
|
|
564
|
+
};
|
|
565
|
+
}; })()(input);
|
|
566
|
+
}
|
|
361
567
|
case "asset.embedding": {
|
|
362
568
|
return (() => { const _io0 = input => null !== input.value && (undefined === input.value || "string" === typeof input.value || "object" === typeof input.value && null !== input.value && _io1(input.value)) && (null !== input.dynamic && (undefined === input.dynamic || false === input.dynamic || Array.isArray(input.dynamic) && input.dynamic.every(elem => "string" === typeof elem))); const _io1 = input => "object" === typeof input.__context && null !== input.__context && _io2(input.__context) && "string" === typeof input.__returnValue; const _io2 = input => "string" === typeof input.id; const _vo0 = (input, _path, _exceptionable = true) => [(null !== input.value || _report(_exceptionable, {
|
|
363
569
|
path: _path + ".value",
|
|
@@ -1540,13 +1746,25 @@ function _validateExactRecord(name, input) {
|
|
|
1540
1746
|
};
|
|
1541
1747
|
}; })()(input);
|
|
1542
1748
|
}
|
|
1543
|
-
case "media.transcribe
|
|
1544
|
-
return (() => { const _io0 = input => "object" === typeof input.engines && null !== input.engines && false === Array.isArray(input.engines) && _io1(input.engines) && ("object" === typeof input.languages && null !== input.languages && false === Array.isArray(input.languages) && _io1(input.languages)) && (undefined === input.translate || "object" === typeof input.translate && null !== input.translate && _io2(input.translate)); const _io1 = input => Object.keys(input).every(key => {
|
|
1749
|
+
case "media.transcribe": {
|
|
1750
|
+
return (() => { const _io0 = input => "object" === typeof input.engines && null !== input.engines && false === Array.isArray(input.engines) && _io1(input.engines) && ("object" === typeof input.languages && null !== input.languages && false === Array.isArray(input.languages) && _io1(input.languages)) && (undefined === input.translate || "object" === typeof input.translate && null !== input.translate && _io2(input.translate)) && (undefined === input.replacers || "object" === typeof input.replacers && null !== input.replacers && false === Array.isArray(input.replacers) && _io3(input.replacers)); const _io1 = input => Object.keys(input).every(key => {
|
|
1545
1751
|
const value = input[key];
|
|
1546
1752
|
if (undefined === value)
|
|
1547
1753
|
return true;
|
|
1548
1754
|
return "string" === typeof value;
|
|
1549
|
-
}); const _io2 = input => "object" === typeof input.languages && null !== input.languages && false === Array.isArray(input.languages) && _io1(input.languages); const
|
|
1755
|
+
}); const _io2 = input => "object" === typeof input.languages && null !== input.languages && false === Array.isArray(input.languages) && _io1(input.languages); const _io3 = input => Object.keys(input).every(key => {
|
|
1756
|
+
const value = input[key];
|
|
1757
|
+
if (undefined === value)
|
|
1758
|
+
return true;
|
|
1759
|
+
return null !== value && undefined !== value && (Array.isArray(value) && value.every(elem => "object" === typeof elem && null !== elem && _iu0(elem)) || "object" === typeof value && null !== value && _iu0(value));
|
|
1760
|
+
}); const _io4 = input => (undefined === input.type || "replace" === input.type) && true && (null !== input.replacement && undefined !== input.replacement && ("function" === typeof input.replacement || "string" === typeof input.replacement || "object" === typeof input.replacement && null !== input.replacement && _io5(input.replacement))) && (undefined === input.flags || "string" === typeof input.flags) && (undefined === input._comment || "string" === typeof input._comment); const _io5 = input => "object" === typeof input.__context && null !== input.__context && _io6(input.__context) && (null !== input.__returnValue && undefined !== input.__returnValue && ("function" === typeof input.__returnValue || "string" === typeof input.__returnValue)); const _io6 = input => "string" === typeof input.item; const _io7 = input => "items" === input.type && (Array.isArray(input.items) && input.items.every(elem => "string" === typeof elem)) && (undefined === input._comment || "string" === typeof input._comment) && (Array.isArray(input.replacers) && input.replacers.every(elem => "object" === typeof elem && null !== elem && _io8(elem))); const _io8 = input => true && (null !== input.replacement && undefined !== input.replacement && ("function" === typeof input.replacement || "string" === typeof input.replacement || "object" === typeof input.replacement && null !== input.replacement && _io9(input.replacement))) && (undefined === input.flags || "string" === typeof input.flags) && (undefined === input._comment || "string" === typeof input._comment); const _io9 = input => "object" === typeof input.__context && null !== input.__context && _io10(input.__context) && (null !== input.__returnValue && undefined !== input.__returnValue && ("function" === typeof input.__returnValue || "string" === typeof input.__returnValue)); const _io10 = input => "string" === typeof input.item; const _iu0 = input => (() => {
|
|
1761
|
+
if (undefined !== input.pattern)
|
|
1762
|
+
return _io4(input);
|
|
1763
|
+
else if ("items" === input.type)
|
|
1764
|
+
return _io7(input);
|
|
1765
|
+
else
|
|
1766
|
+
return false;
|
|
1767
|
+
})(); const _vo0 = (input, _path, _exceptionable = true) => [("object" === typeof input.engines && null !== input.engines && false === Array.isArray(input.engines) || _report(_exceptionable, {
|
|
1550
1768
|
path: _path + ".engines",
|
|
1551
1769
|
expected: "Record<string, string>",
|
|
1552
1770
|
value: input.engines
|
|
@@ -1570,6 +1788,14 @@ function _validateExactRecord(name, input) {
|
|
|
1570
1788
|
path: _path + ".translate",
|
|
1571
1789
|
expected: "(__type | undefined)",
|
|
1572
1790
|
value: input.translate
|
|
1791
|
+
}), undefined === input.replacers || ("object" === typeof input.replacers && null !== input.replacers && false === Array.isArray(input.replacers) || _report(_exceptionable, {
|
|
1792
|
+
path: _path + ".replacers",
|
|
1793
|
+
expected: "(Record<string, TranscribeReplacer | TranscribeReplacer[]> | undefined)",
|
|
1794
|
+
value: input.replacers
|
|
1795
|
+
})) && _vo3(input.replacers, _path + ".replacers", true && _exceptionable) || _report(_exceptionable, {
|
|
1796
|
+
path: _path + ".replacers",
|
|
1797
|
+
expected: "(Record<string, TranscribeReplacer | TranscribeReplacer[]> | undefined)",
|
|
1798
|
+
value: input.replacers
|
|
1573
1799
|
})].every(flag => flag); const _vo1 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
1574
1800
|
const value = input[key];
|
|
1575
1801
|
if (undefined === value)
|
|
@@ -1587,17 +1813,193 @@ function _validateExactRecord(name, input) {
|
|
|
1587
1813
|
path: _path + ".languages",
|
|
1588
1814
|
expected: "Record<string, string>",
|
|
1589
1815
|
value: input.languages
|
|
1590
|
-
})].every(flag => flag); const
|
|
1816
|
+
})].every(flag => flag); const _vo3 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
1817
|
+
const value = input[key];
|
|
1818
|
+
if (undefined === value)
|
|
1819
|
+
return true;
|
|
1820
|
+
return (null !== value || _report(_exceptionable, {
|
|
1821
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
1822
|
+
expected: "(Array<TranscribeReplacer> | TranscribeForEachWordReplacer | TranscribeReplaceReplacer)",
|
|
1823
|
+
value: value
|
|
1824
|
+
})) && (undefined !== value || _report(_exceptionable, {
|
|
1825
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
1826
|
+
expected: "(Array<TranscribeReplacer> | TranscribeForEachWordReplacer | TranscribeReplaceReplacer)",
|
|
1827
|
+
value: value
|
|
1828
|
+
})) && (Array.isArray(value) && value.map((elem, _index4) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
1829
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key) + "[" + _index4 + "]",
|
|
1830
|
+
expected: "(TranscribeForEachWordReplacer | TranscribeReplaceReplacer)",
|
|
1831
|
+
value: elem
|
|
1832
|
+
})) && _vu0(elem, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key) + "[" + _index4 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
1833
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key) + "[" + _index4 + "]",
|
|
1834
|
+
expected: "(TranscribeForEachWordReplacer | TranscribeReplaceReplacer)",
|
|
1835
|
+
value: elem
|
|
1836
|
+
})).every(flag => flag) || "object" === typeof value && null !== value && _vu0(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || _report(_exceptionable, {
|
|
1837
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
1838
|
+
expected: "(Array<TranscribeReplacer> | TranscribeForEachWordReplacer | TranscribeReplaceReplacer)",
|
|
1839
|
+
value: value
|
|
1840
|
+
}) || _report(_exceptionable, {
|
|
1841
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
1842
|
+
expected: "(Array<TranscribeReplacer> | TranscribeForEachWordReplacer | TranscribeReplaceReplacer)",
|
|
1843
|
+
value: value
|
|
1844
|
+
}));
|
|
1845
|
+
}).every(flag => flag)].every(flag => flag); const _vo4 = (input, _path, _exceptionable = true) => [undefined === input.type || "replace" === input.type || _report(_exceptionable, {
|
|
1846
|
+
path: _path + ".type",
|
|
1847
|
+
expected: "(\"replace\" | undefined)",
|
|
1848
|
+
value: input.type
|
|
1849
|
+
}), true, (null !== input.replacement || _report(_exceptionable, {
|
|
1850
|
+
path: _path + ".replacement",
|
|
1851
|
+
expected: "(__type.o1 | string)",
|
|
1852
|
+
value: input.replacement
|
|
1853
|
+
})) && (undefined !== input.replacement || _report(_exceptionable, {
|
|
1854
|
+
path: _path + ".replacement",
|
|
1855
|
+
expected: "(__type.o1 | string)",
|
|
1856
|
+
value: input.replacement
|
|
1857
|
+
})) && ("function" === typeof input.replacement || "string" === typeof input.replacement || ("object" === typeof input.replacement && null !== input.replacement || _report(_exceptionable, {
|
|
1858
|
+
path: _path + ".replacement",
|
|
1859
|
+
expected: "(__type.o1 | string)",
|
|
1860
|
+
value: input.replacement
|
|
1861
|
+
})) && _vo5(input.replacement, _path + ".replacement", true && _exceptionable) || _report(_exceptionable, {
|
|
1862
|
+
path: _path + ".replacement",
|
|
1863
|
+
expected: "(__type.o1 | string)",
|
|
1864
|
+
value: input.replacement
|
|
1865
|
+
})), undefined === input.flags || "string" === typeof input.flags || _report(_exceptionable, {
|
|
1866
|
+
path: _path + ".flags",
|
|
1867
|
+
expected: "(string | undefined)",
|
|
1868
|
+
value: input.flags
|
|
1869
|
+
}), undefined === input._comment || "string" === typeof input._comment || _report(_exceptionable, {
|
|
1870
|
+
path: _path + "._comment",
|
|
1871
|
+
expected: "(string | undefined)",
|
|
1872
|
+
value: input._comment
|
|
1873
|
+
})].every(flag => flag); const _vo5 = (input, _path, _exceptionable = true) => [("object" === typeof input.__context && null !== input.__context || _report(_exceptionable, {
|
|
1874
|
+
path: _path + ".__context",
|
|
1875
|
+
expected: "__type.o2",
|
|
1876
|
+
value: input.__context
|
|
1877
|
+
})) && _vo6(input.__context, _path + ".__context", true && _exceptionable) || _report(_exceptionable, {
|
|
1878
|
+
path: _path + ".__context",
|
|
1879
|
+
expected: "__type.o2",
|
|
1880
|
+
value: input.__context
|
|
1881
|
+
}), (null !== input.__returnValue || _report(_exceptionable, {
|
|
1882
|
+
path: _path + ".__returnValue",
|
|
1883
|
+
expected: "string",
|
|
1884
|
+
value: input.__returnValue
|
|
1885
|
+
})) && (undefined !== input.__returnValue || _report(_exceptionable, {
|
|
1886
|
+
path: _path + ".__returnValue",
|
|
1887
|
+
expected: "string",
|
|
1888
|
+
value: input.__returnValue
|
|
1889
|
+
})) && ("function" === typeof input.__returnValue || "string" === typeof input.__returnValue || _report(_exceptionable, {
|
|
1890
|
+
path: _path + ".__returnValue",
|
|
1891
|
+
expected: "string",
|
|
1892
|
+
value: input.__returnValue
|
|
1893
|
+
}))].every(flag => flag); const _vo6 = (input, _path, _exceptionable = true) => ["string" === typeof input.item || _report(_exceptionable, {
|
|
1894
|
+
path: _path + ".item",
|
|
1895
|
+
expected: "string",
|
|
1896
|
+
value: input.item
|
|
1897
|
+
})].every(flag => flag); const _vo7 = (input, _path, _exceptionable = true) => ["items" === input.type || _report(_exceptionable, {
|
|
1898
|
+
path: _path + ".type",
|
|
1899
|
+
expected: "\"items\"",
|
|
1900
|
+
value: input.type
|
|
1901
|
+
}), (Array.isArray(input.items) || _report(_exceptionable, {
|
|
1902
|
+
path: _path + ".items",
|
|
1903
|
+
expected: "Array<string>",
|
|
1904
|
+
value: input.items
|
|
1905
|
+
})) && input.items.map((elem, _index5) => "string" === typeof elem || _report(_exceptionable, {
|
|
1906
|
+
path: _path + ".items[" + _index5 + "]",
|
|
1907
|
+
expected: "string",
|
|
1908
|
+
value: elem
|
|
1909
|
+
})).every(flag => flag) || _report(_exceptionable, {
|
|
1910
|
+
path: _path + ".items",
|
|
1911
|
+
expected: "Array<string>",
|
|
1912
|
+
value: input.items
|
|
1913
|
+
}), undefined === input._comment || "string" === typeof input._comment || _report(_exceptionable, {
|
|
1914
|
+
path: _path + "._comment",
|
|
1915
|
+
expected: "(string | undefined)",
|
|
1916
|
+
value: input._comment
|
|
1917
|
+
}), (Array.isArray(input.replacers) || _report(_exceptionable, {
|
|
1918
|
+
path: _path + ".replacers",
|
|
1919
|
+
expected: "Array<__type>",
|
|
1920
|
+
value: input.replacers
|
|
1921
|
+
})) && input.replacers.map((elem, _index6) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
1922
|
+
path: _path + ".replacers[" + _index6 + "]",
|
|
1923
|
+
expected: "__type.o3",
|
|
1924
|
+
value: elem
|
|
1925
|
+
})) && _vo8(elem, _path + ".replacers[" + _index6 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
1926
|
+
path: _path + ".replacers[" + _index6 + "]",
|
|
1927
|
+
expected: "__type.o3",
|
|
1928
|
+
value: elem
|
|
1929
|
+
})).every(flag => flag) || _report(_exceptionable, {
|
|
1930
|
+
path: _path + ".replacers",
|
|
1931
|
+
expected: "Array<__type>",
|
|
1932
|
+
value: input.replacers
|
|
1933
|
+
})].every(flag => flag); const _vo8 = (input, _path, _exceptionable = true) => [true, (null !== input.replacement || _report(_exceptionable, {
|
|
1934
|
+
path: _path + ".replacement",
|
|
1935
|
+
expected: "(__type.o4 | string)",
|
|
1936
|
+
value: input.replacement
|
|
1937
|
+
})) && (undefined !== input.replacement || _report(_exceptionable, {
|
|
1938
|
+
path: _path + ".replacement",
|
|
1939
|
+
expected: "(__type.o4 | string)",
|
|
1940
|
+
value: input.replacement
|
|
1941
|
+
})) && ("function" === typeof input.replacement || "string" === typeof input.replacement || ("object" === typeof input.replacement && null !== input.replacement || _report(_exceptionable, {
|
|
1942
|
+
path: _path + ".replacement",
|
|
1943
|
+
expected: "(__type.o4 | string)",
|
|
1944
|
+
value: input.replacement
|
|
1945
|
+
})) && _vo9(input.replacement, _path + ".replacement", true && _exceptionable) || _report(_exceptionable, {
|
|
1946
|
+
path: _path + ".replacement",
|
|
1947
|
+
expected: "(__type.o4 | string)",
|
|
1948
|
+
value: input.replacement
|
|
1949
|
+
})), undefined === input.flags || "string" === typeof input.flags || _report(_exceptionable, {
|
|
1950
|
+
path: _path + ".flags",
|
|
1951
|
+
expected: "(string | undefined)",
|
|
1952
|
+
value: input.flags
|
|
1953
|
+
}), undefined === input._comment || "string" === typeof input._comment || _report(_exceptionable, {
|
|
1954
|
+
path: _path + "._comment",
|
|
1955
|
+
expected: "(string | undefined)",
|
|
1956
|
+
value: input._comment
|
|
1957
|
+
})].every(flag => flag); const _vo9 = (input, _path, _exceptionable = true) => [("object" === typeof input.__context && null !== input.__context || _report(_exceptionable, {
|
|
1958
|
+
path: _path + ".__context",
|
|
1959
|
+
expected: "__type.o5",
|
|
1960
|
+
value: input.__context
|
|
1961
|
+
})) && _vo10(input.__context, _path + ".__context", true && _exceptionable) || _report(_exceptionable, {
|
|
1962
|
+
path: _path + ".__context",
|
|
1963
|
+
expected: "__type.o5",
|
|
1964
|
+
value: input.__context
|
|
1965
|
+
}), (null !== input.__returnValue || _report(_exceptionable, {
|
|
1966
|
+
path: _path + ".__returnValue",
|
|
1967
|
+
expected: "string",
|
|
1968
|
+
value: input.__returnValue
|
|
1969
|
+
})) && (undefined !== input.__returnValue || _report(_exceptionable, {
|
|
1970
|
+
path: _path + ".__returnValue",
|
|
1971
|
+
expected: "string",
|
|
1972
|
+
value: input.__returnValue
|
|
1973
|
+
})) && ("function" === typeof input.__returnValue || "string" === typeof input.__returnValue || _report(_exceptionable, {
|
|
1974
|
+
path: _path + ".__returnValue",
|
|
1975
|
+
expected: "string",
|
|
1976
|
+
value: input.__returnValue
|
|
1977
|
+
}))].every(flag => flag); const _vo10 = (input, _path, _exceptionable = true) => ["string" === typeof input.item || _report(_exceptionable, {
|
|
1978
|
+
path: _path + ".item",
|
|
1979
|
+
expected: "string",
|
|
1980
|
+
value: input.item
|
|
1981
|
+
})].every(flag => flag); const _vu0 = (input, _path, _exceptionable = true) => (() => {
|
|
1982
|
+
if (undefined !== input.pattern)
|
|
1983
|
+
return _vo4(input, _path, true && _exceptionable);
|
|
1984
|
+
else if ("items" === input.type)
|
|
1985
|
+
return _vo7(input, _path, true && _exceptionable);
|
|
1986
|
+
else
|
|
1987
|
+
return _report(_exceptionable, {
|
|
1988
|
+
path: _path,
|
|
1989
|
+
expected: "(TranscribeReplaceReplacer | TranscribeForEachWordReplacer)",
|
|
1990
|
+
value: input
|
|
1991
|
+
});
|
|
1992
|
+
})(); const __is = input => "object" === typeof input && null !== input && _io0(input); let errors; let _report; return input => {
|
|
1591
1993
|
if (false === __is(input)) {
|
|
1592
1994
|
errors = [];
|
|
1593
1995
|
_report = __typia_transform__validateReport._validateReport(errors);
|
|
1594
1996
|
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input || _report(true, {
|
|
1595
1997
|
path: _path + "",
|
|
1596
|
-
expected: "
|
|
1998
|
+
expected: "MediaTranscribeRecord",
|
|
1597
1999
|
value: input
|
|
1598
2000
|
})) && _vo0(input, _path + "", true) || _report(true, {
|
|
1599
2001
|
path: _path + "",
|
|
1600
|
-
expected: "
|
|
2002
|
+
expected: "MediaTranscribeRecord",
|
|
1601
2003
|
value: input
|
|
1602
2004
|
}))(input, "$input", true);
|
|
1603
2005
|
const success = 0 === errors.length;
|
|
@@ -1616,26 +2018,298 @@ function _validateExactRecord(name, input) {
|
|
|
1616
2018
|
};
|
|
1617
2019
|
}; })()(input);
|
|
1618
2020
|
}
|
|
1619
|
-
case "media.
|
|
1620
|
-
return (() => { const _io0 = input =>
|
|
1621
|
-
|
|
1622
|
-
|
|
1623
|
-
|
|
1624
|
-
|
|
1625
|
-
|
|
1626
|
-
|
|
1627
|
-
|
|
1628
|
-
|
|
1629
|
-
|
|
1630
|
-
|
|
1631
|
-
|
|
1632
|
-
|
|
1633
|
-
|
|
1634
|
-
|
|
1635
|
-
|
|
1636
|
-
|
|
1637
|
-
|
|
1638
|
-
|
|
2021
|
+
case "media.transcribe?": {
|
|
2022
|
+
return (() => { const _io0 = input => "object" === typeof input.engines && null !== input.engines && false === Array.isArray(input.engines) && _io1(input.engines) && ("object" === typeof input.languages && null !== input.languages && false === Array.isArray(input.languages) && _io1(input.languages)) && (undefined === input.translate || "object" === typeof input.translate && null !== input.translate && _io2(input.translate)) && (undefined === input.replacers || "object" === typeof input.replacers && null !== input.replacers && false === Array.isArray(input.replacers) && _io3(input.replacers)); const _io1 = input => Object.keys(input).every(key => {
|
|
2023
|
+
const value = input[key];
|
|
2024
|
+
if (undefined === value)
|
|
2025
|
+
return true;
|
|
2026
|
+
return "string" === typeof value;
|
|
2027
|
+
}); const _io2 = input => "object" === typeof input.languages && null !== input.languages && false === Array.isArray(input.languages) && _io1(input.languages); const _io3 = input => Object.keys(input).every(key => {
|
|
2028
|
+
const value = input[key];
|
|
2029
|
+
if (undefined === value)
|
|
2030
|
+
return true;
|
|
2031
|
+
return null !== value && undefined !== value && (Array.isArray(value) && value.every(elem => "object" === typeof elem && null !== elem && _iu0(elem)) || "object" === typeof value && null !== value && _iu0(value));
|
|
2032
|
+
}); const _io4 = input => (undefined === input.type || "replace" === input.type) && true && (null !== input.replacement && undefined !== input.replacement && ("function" === typeof input.replacement || "string" === typeof input.replacement || "object" === typeof input.replacement && null !== input.replacement && _io5(input.replacement))) && (undefined === input.flags || "string" === typeof input.flags) && (undefined === input._comment || "string" === typeof input._comment); const _io5 = input => "object" === typeof input.__context && null !== input.__context && _io6(input.__context) && (null !== input.__returnValue && undefined !== input.__returnValue && ("function" === typeof input.__returnValue || "string" === typeof input.__returnValue)); const _io6 = input => "string" === typeof input.item; const _io7 = input => "items" === input.type && (Array.isArray(input.items) && input.items.every(elem => "string" === typeof elem)) && (undefined === input._comment || "string" === typeof input._comment) && (Array.isArray(input.replacers) && input.replacers.every(elem => "object" === typeof elem && null !== elem && _io8(elem))); const _io8 = input => true && (null !== input.replacement && undefined !== input.replacement && ("function" === typeof input.replacement || "string" === typeof input.replacement || "object" === typeof input.replacement && null !== input.replacement && _io9(input.replacement))) && (undefined === input.flags || "string" === typeof input.flags) && (undefined === input._comment || "string" === typeof input._comment); const _io9 = input => "object" === typeof input.__context && null !== input.__context && _io10(input.__context) && (null !== input.__returnValue && undefined !== input.__returnValue && ("function" === typeof input.__returnValue || "string" === typeof input.__returnValue)); const _io10 = input => "string" === typeof input.item; const _iu0 = input => (() => {
|
|
2033
|
+
if (undefined !== input.pattern)
|
|
2034
|
+
return _io4(input);
|
|
2035
|
+
else if ("items" === input.type)
|
|
2036
|
+
return _io7(input);
|
|
2037
|
+
else
|
|
2038
|
+
return false;
|
|
2039
|
+
})(); const _vo0 = (input, _path, _exceptionable = true) => [("object" === typeof input.engines && null !== input.engines && false === Array.isArray(input.engines) || _report(_exceptionable, {
|
|
2040
|
+
path: _path + ".engines",
|
|
2041
|
+
expected: "Record<string, string>",
|
|
2042
|
+
value: input.engines
|
|
2043
|
+
})) && _vo1(input.engines, _path + ".engines", true && _exceptionable) || _report(_exceptionable, {
|
|
2044
|
+
path: _path + ".engines",
|
|
2045
|
+
expected: "Record<string, string>",
|
|
2046
|
+
value: input.engines
|
|
2047
|
+
}), ("object" === typeof input.languages && null !== input.languages && false === Array.isArray(input.languages) || _report(_exceptionable, {
|
|
2048
|
+
path: _path + ".languages",
|
|
2049
|
+
expected: "Record<string, string>",
|
|
2050
|
+
value: input.languages
|
|
2051
|
+
})) && _vo1(input.languages, _path + ".languages", true && _exceptionable) || _report(_exceptionable, {
|
|
2052
|
+
path: _path + ".languages",
|
|
2053
|
+
expected: "Record<string, string>",
|
|
2054
|
+
value: input.languages
|
|
2055
|
+
}), undefined === input.translate || ("object" === typeof input.translate && null !== input.translate || _report(_exceptionable, {
|
|
2056
|
+
path: _path + ".translate",
|
|
2057
|
+
expected: "(__type | undefined)",
|
|
2058
|
+
value: input.translate
|
|
2059
|
+
})) && _vo2(input.translate, _path + ".translate", true && _exceptionable) || _report(_exceptionable, {
|
|
2060
|
+
path: _path + ".translate",
|
|
2061
|
+
expected: "(__type | undefined)",
|
|
2062
|
+
value: input.translate
|
|
2063
|
+
}), undefined === input.replacers || ("object" === typeof input.replacers && null !== input.replacers && false === Array.isArray(input.replacers) || _report(_exceptionable, {
|
|
2064
|
+
path: _path + ".replacers",
|
|
2065
|
+
expected: "(Record<string, TranscribeReplacer | TranscribeReplacer[]> | undefined)",
|
|
2066
|
+
value: input.replacers
|
|
2067
|
+
})) && _vo3(input.replacers, _path + ".replacers", true && _exceptionable) || _report(_exceptionable, {
|
|
2068
|
+
path: _path + ".replacers",
|
|
2069
|
+
expected: "(Record<string, TranscribeReplacer | TranscribeReplacer[]> | undefined)",
|
|
2070
|
+
value: input.replacers
|
|
2071
|
+
})].every(flag => flag); const _vo1 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
2072
|
+
const value = input[key];
|
|
2073
|
+
if (undefined === value)
|
|
2074
|
+
return true;
|
|
2075
|
+
return "string" === typeof value || _report(_exceptionable, {
|
|
2076
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
2077
|
+
expected: "string",
|
|
2078
|
+
value: value
|
|
2079
|
+
});
|
|
2080
|
+
}).every(flag => flag)].every(flag => flag); const _vo2 = (input, _path, _exceptionable = true) => [("object" === typeof input.languages && null !== input.languages && false === Array.isArray(input.languages) || _report(_exceptionable, {
|
|
2081
|
+
path: _path + ".languages",
|
|
2082
|
+
expected: "Record<string, string>",
|
|
2083
|
+
value: input.languages
|
|
2084
|
+
})) && _vo1(input.languages, _path + ".languages", true && _exceptionable) || _report(_exceptionable, {
|
|
2085
|
+
path: _path + ".languages",
|
|
2086
|
+
expected: "Record<string, string>",
|
|
2087
|
+
value: input.languages
|
|
2088
|
+
})].every(flag => flag); const _vo3 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
2089
|
+
const value = input[key];
|
|
2090
|
+
if (undefined === value)
|
|
2091
|
+
return true;
|
|
2092
|
+
return (null !== value || _report(_exceptionable, {
|
|
2093
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
2094
|
+
expected: "(Array<TranscribeReplacer> | TranscribeForEachWordReplacer | TranscribeReplaceReplacer)",
|
|
2095
|
+
value: value
|
|
2096
|
+
})) && (undefined !== value || _report(_exceptionable, {
|
|
2097
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
2098
|
+
expected: "(Array<TranscribeReplacer> | TranscribeForEachWordReplacer | TranscribeReplaceReplacer)",
|
|
2099
|
+
value: value
|
|
2100
|
+
})) && (Array.isArray(value) && value.map((elem, _index4) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
2101
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key) + "[" + _index4 + "]",
|
|
2102
|
+
expected: "(TranscribeForEachWordReplacer | TranscribeReplaceReplacer)",
|
|
2103
|
+
value: elem
|
|
2104
|
+
})) && _vu0(elem, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key) + "[" + _index4 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
2105
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key) + "[" + _index4 + "]",
|
|
2106
|
+
expected: "(TranscribeForEachWordReplacer | TranscribeReplaceReplacer)",
|
|
2107
|
+
value: elem
|
|
2108
|
+
})).every(flag => flag) || "object" === typeof value && null !== value && _vu0(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || _report(_exceptionable, {
|
|
2109
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
2110
|
+
expected: "(Array<TranscribeReplacer> | TranscribeForEachWordReplacer | TranscribeReplaceReplacer)",
|
|
2111
|
+
value: value
|
|
2112
|
+
}) || _report(_exceptionable, {
|
|
2113
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
2114
|
+
expected: "(Array<TranscribeReplacer> | TranscribeForEachWordReplacer | TranscribeReplaceReplacer)",
|
|
2115
|
+
value: value
|
|
2116
|
+
}));
|
|
2117
|
+
}).every(flag => flag)].every(flag => flag); const _vo4 = (input, _path, _exceptionable = true) => [undefined === input.type || "replace" === input.type || _report(_exceptionable, {
|
|
2118
|
+
path: _path + ".type",
|
|
2119
|
+
expected: "(\"replace\" | undefined)",
|
|
2120
|
+
value: input.type
|
|
2121
|
+
}), true, (null !== input.replacement || _report(_exceptionable, {
|
|
2122
|
+
path: _path + ".replacement",
|
|
2123
|
+
expected: "(__type.o1 | string)",
|
|
2124
|
+
value: input.replacement
|
|
2125
|
+
})) && (undefined !== input.replacement || _report(_exceptionable, {
|
|
2126
|
+
path: _path + ".replacement",
|
|
2127
|
+
expected: "(__type.o1 | string)",
|
|
2128
|
+
value: input.replacement
|
|
2129
|
+
})) && ("function" === typeof input.replacement || "string" === typeof input.replacement || ("object" === typeof input.replacement && null !== input.replacement || _report(_exceptionable, {
|
|
2130
|
+
path: _path + ".replacement",
|
|
2131
|
+
expected: "(__type.o1 | string)",
|
|
2132
|
+
value: input.replacement
|
|
2133
|
+
})) && _vo5(input.replacement, _path + ".replacement", true && _exceptionable) || _report(_exceptionable, {
|
|
2134
|
+
path: _path + ".replacement",
|
|
2135
|
+
expected: "(__type.o1 | string)",
|
|
2136
|
+
value: input.replacement
|
|
2137
|
+
})), undefined === input.flags || "string" === typeof input.flags || _report(_exceptionable, {
|
|
2138
|
+
path: _path + ".flags",
|
|
2139
|
+
expected: "(string | undefined)",
|
|
2140
|
+
value: input.flags
|
|
2141
|
+
}), undefined === input._comment || "string" === typeof input._comment || _report(_exceptionable, {
|
|
2142
|
+
path: _path + "._comment",
|
|
2143
|
+
expected: "(string | undefined)",
|
|
2144
|
+
value: input._comment
|
|
2145
|
+
})].every(flag => flag); const _vo5 = (input, _path, _exceptionable = true) => [("object" === typeof input.__context && null !== input.__context || _report(_exceptionable, {
|
|
2146
|
+
path: _path + ".__context",
|
|
2147
|
+
expected: "__type.o2",
|
|
2148
|
+
value: input.__context
|
|
2149
|
+
})) && _vo6(input.__context, _path + ".__context", true && _exceptionable) || _report(_exceptionable, {
|
|
2150
|
+
path: _path + ".__context",
|
|
2151
|
+
expected: "__type.o2",
|
|
2152
|
+
value: input.__context
|
|
2153
|
+
}), (null !== input.__returnValue || _report(_exceptionable, {
|
|
2154
|
+
path: _path + ".__returnValue",
|
|
2155
|
+
expected: "string",
|
|
2156
|
+
value: input.__returnValue
|
|
2157
|
+
})) && (undefined !== input.__returnValue || _report(_exceptionable, {
|
|
2158
|
+
path: _path + ".__returnValue",
|
|
2159
|
+
expected: "string",
|
|
2160
|
+
value: input.__returnValue
|
|
2161
|
+
})) && ("function" === typeof input.__returnValue || "string" === typeof input.__returnValue || _report(_exceptionable, {
|
|
2162
|
+
path: _path + ".__returnValue",
|
|
2163
|
+
expected: "string",
|
|
2164
|
+
value: input.__returnValue
|
|
2165
|
+
}))].every(flag => flag); const _vo6 = (input, _path, _exceptionable = true) => ["string" === typeof input.item || _report(_exceptionable, {
|
|
2166
|
+
path: _path + ".item",
|
|
2167
|
+
expected: "string",
|
|
2168
|
+
value: input.item
|
|
2169
|
+
})].every(flag => flag); const _vo7 = (input, _path, _exceptionable = true) => ["items" === input.type || _report(_exceptionable, {
|
|
2170
|
+
path: _path + ".type",
|
|
2171
|
+
expected: "\"items\"",
|
|
2172
|
+
value: input.type
|
|
2173
|
+
}), (Array.isArray(input.items) || _report(_exceptionable, {
|
|
2174
|
+
path: _path + ".items",
|
|
2175
|
+
expected: "Array<string>",
|
|
2176
|
+
value: input.items
|
|
2177
|
+
})) && input.items.map((elem, _index5) => "string" === typeof elem || _report(_exceptionable, {
|
|
2178
|
+
path: _path + ".items[" + _index5 + "]",
|
|
2179
|
+
expected: "string",
|
|
2180
|
+
value: elem
|
|
2181
|
+
})).every(flag => flag) || _report(_exceptionable, {
|
|
2182
|
+
path: _path + ".items",
|
|
2183
|
+
expected: "Array<string>",
|
|
2184
|
+
value: input.items
|
|
2185
|
+
}), undefined === input._comment || "string" === typeof input._comment || _report(_exceptionable, {
|
|
2186
|
+
path: _path + "._comment",
|
|
2187
|
+
expected: "(string | undefined)",
|
|
2188
|
+
value: input._comment
|
|
2189
|
+
}), (Array.isArray(input.replacers) || _report(_exceptionable, {
|
|
2190
|
+
path: _path + ".replacers",
|
|
2191
|
+
expected: "Array<__type>",
|
|
2192
|
+
value: input.replacers
|
|
2193
|
+
})) && input.replacers.map((elem, _index6) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
2194
|
+
path: _path + ".replacers[" + _index6 + "]",
|
|
2195
|
+
expected: "__type.o3",
|
|
2196
|
+
value: elem
|
|
2197
|
+
})) && _vo8(elem, _path + ".replacers[" + _index6 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
2198
|
+
path: _path + ".replacers[" + _index6 + "]",
|
|
2199
|
+
expected: "__type.o3",
|
|
2200
|
+
value: elem
|
|
2201
|
+
})).every(flag => flag) || _report(_exceptionable, {
|
|
2202
|
+
path: _path + ".replacers",
|
|
2203
|
+
expected: "Array<__type>",
|
|
2204
|
+
value: input.replacers
|
|
2205
|
+
})].every(flag => flag); const _vo8 = (input, _path, _exceptionable = true) => [true, (null !== input.replacement || _report(_exceptionable, {
|
|
2206
|
+
path: _path + ".replacement",
|
|
2207
|
+
expected: "(__type.o4 | string)",
|
|
2208
|
+
value: input.replacement
|
|
2209
|
+
})) && (undefined !== input.replacement || _report(_exceptionable, {
|
|
2210
|
+
path: _path + ".replacement",
|
|
2211
|
+
expected: "(__type.o4 | string)",
|
|
2212
|
+
value: input.replacement
|
|
2213
|
+
})) && ("function" === typeof input.replacement || "string" === typeof input.replacement || ("object" === typeof input.replacement && null !== input.replacement || _report(_exceptionable, {
|
|
2214
|
+
path: _path + ".replacement",
|
|
2215
|
+
expected: "(__type.o4 | string)",
|
|
2216
|
+
value: input.replacement
|
|
2217
|
+
})) && _vo9(input.replacement, _path + ".replacement", true && _exceptionable) || _report(_exceptionable, {
|
|
2218
|
+
path: _path + ".replacement",
|
|
2219
|
+
expected: "(__type.o4 | string)",
|
|
2220
|
+
value: input.replacement
|
|
2221
|
+
})), undefined === input.flags || "string" === typeof input.flags || _report(_exceptionable, {
|
|
2222
|
+
path: _path + ".flags",
|
|
2223
|
+
expected: "(string | undefined)",
|
|
2224
|
+
value: input.flags
|
|
2225
|
+
}), undefined === input._comment || "string" === typeof input._comment || _report(_exceptionable, {
|
|
2226
|
+
path: _path + "._comment",
|
|
2227
|
+
expected: "(string | undefined)",
|
|
2228
|
+
value: input._comment
|
|
2229
|
+
})].every(flag => flag); const _vo9 = (input, _path, _exceptionable = true) => [("object" === typeof input.__context && null !== input.__context || _report(_exceptionable, {
|
|
2230
|
+
path: _path + ".__context",
|
|
2231
|
+
expected: "__type.o5",
|
|
2232
|
+
value: input.__context
|
|
2233
|
+
})) && _vo10(input.__context, _path + ".__context", true && _exceptionable) || _report(_exceptionable, {
|
|
2234
|
+
path: _path + ".__context",
|
|
2235
|
+
expected: "__type.o5",
|
|
2236
|
+
value: input.__context
|
|
2237
|
+
}), (null !== input.__returnValue || _report(_exceptionable, {
|
|
2238
|
+
path: _path + ".__returnValue",
|
|
2239
|
+
expected: "string",
|
|
2240
|
+
value: input.__returnValue
|
|
2241
|
+
})) && (undefined !== input.__returnValue || _report(_exceptionable, {
|
|
2242
|
+
path: _path + ".__returnValue",
|
|
2243
|
+
expected: "string",
|
|
2244
|
+
value: input.__returnValue
|
|
2245
|
+
})) && ("function" === typeof input.__returnValue || "string" === typeof input.__returnValue || _report(_exceptionable, {
|
|
2246
|
+
path: _path + ".__returnValue",
|
|
2247
|
+
expected: "string",
|
|
2248
|
+
value: input.__returnValue
|
|
2249
|
+
}))].every(flag => flag); const _vo10 = (input, _path, _exceptionable = true) => ["string" === typeof input.item || _report(_exceptionable, {
|
|
2250
|
+
path: _path + ".item",
|
|
2251
|
+
expected: "string",
|
|
2252
|
+
value: input.item
|
|
2253
|
+
})].every(flag => flag); const _vu0 = (input, _path, _exceptionable = true) => (() => {
|
|
2254
|
+
if (undefined !== input.pattern)
|
|
2255
|
+
return _vo4(input, _path, true && _exceptionable);
|
|
2256
|
+
else if ("items" === input.type)
|
|
2257
|
+
return _vo7(input, _path, true && _exceptionable);
|
|
2258
|
+
else
|
|
2259
|
+
return _report(_exceptionable, {
|
|
2260
|
+
path: _path,
|
|
2261
|
+
expected: "(TranscribeReplaceReplacer | TranscribeForEachWordReplacer)",
|
|
2262
|
+
value: input
|
|
2263
|
+
});
|
|
2264
|
+
})(); const __is = input => "object" === typeof input && null !== input && _io0(input); let errors; let _report; return input => {
|
|
2265
|
+
if (false === __is(input)) {
|
|
2266
|
+
errors = [];
|
|
2267
|
+
_report = __typia_transform__validateReport._validateReport(errors);
|
|
2268
|
+
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input || _report(true, {
|
|
2269
|
+
path: _path + "",
|
|
2270
|
+
expected: "MediaTranscribeProvidedRecord",
|
|
2271
|
+
value: input
|
|
2272
|
+
})) && _vo0(input, _path + "", true) || _report(true, {
|
|
2273
|
+
path: _path + "",
|
|
2274
|
+
expected: "MediaTranscribeProvidedRecord",
|
|
2275
|
+
value: input
|
|
2276
|
+
}))(input, "$input", true);
|
|
2277
|
+
const success = 0 === errors.length;
|
|
2278
|
+
return success ? {
|
|
2279
|
+
success,
|
|
2280
|
+
data: input
|
|
2281
|
+
} : {
|
|
2282
|
+
success,
|
|
2283
|
+
errors,
|
|
2284
|
+
data: input
|
|
2285
|
+
};
|
|
2286
|
+
}
|
|
2287
|
+
return {
|
|
2288
|
+
success: true,
|
|
2289
|
+
data: input
|
|
2290
|
+
};
|
|
2291
|
+
}; })()(input);
|
|
2292
|
+
}
|
|
2293
|
+
case "media.fonts?": {
|
|
2294
|
+
return (() => { const _io0 = input => (undefined === input.fontFaces || Array.isArray(input.fontFaces) && input.fontFaces.every(elem => "object" === typeof elem && null !== elem && _io1(elem))) && (undefined === input.fontFamilyNames || Array.isArray(input.fontFamilyNames) && input.fontFamilyNames.every(elem => "string" === typeof elem)); const _io1 = input => "string" === typeof input.name && "string" === typeof input.family && "string" === typeof input.asset && "string" === typeof input.url && "number" === typeof input.weight && ("italic" === input.style || "normal" === input.style) && (Array.isArray(input.ranges) && input.ranges.every(elem => Array.isArray(elem) && (elem.length === 2 && "number" === typeof elem[0] && "number" === typeof elem[1]))); const _vo0 = (input, _path, _exceptionable = true) => [undefined === input.fontFaces || (Array.isArray(input.fontFaces) || _report(_exceptionable, {
|
|
2295
|
+
path: _path + ".fontFaces",
|
|
2296
|
+
expected: "(Array<FontFace> | undefined)",
|
|
2297
|
+
value: input.fontFaces
|
|
2298
|
+
})) && input.fontFaces.map((elem, _index4) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
2299
|
+
path: _path + ".fontFaces[" + _index4 + "]",
|
|
2300
|
+
expected: "FontFace",
|
|
2301
|
+
value: elem
|
|
2302
|
+
})) && _vo1(elem, _path + ".fontFaces[" + _index4 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
2303
|
+
path: _path + ".fontFaces[" + _index4 + "]",
|
|
2304
|
+
expected: "FontFace",
|
|
2305
|
+
value: elem
|
|
2306
|
+
})).every(flag => flag) || _report(_exceptionable, {
|
|
2307
|
+
path: _path + ".fontFaces",
|
|
2308
|
+
expected: "(Array<FontFace> | undefined)",
|
|
2309
|
+
value: input.fontFaces
|
|
2310
|
+
}), undefined === input.fontFamilyNames || (Array.isArray(input.fontFamilyNames) || _report(_exceptionable, {
|
|
2311
|
+
path: _path + ".fontFamilyNames",
|
|
2312
|
+
expected: "(Array<string> | undefined)",
|
|
1639
2313
|
value: input.fontFamilyNames
|
|
1640
2314
|
})) && input.fontFamilyNames.map((elem, _index5) => "string" === typeof elem || _report(_exceptionable, {
|
|
1641
2315
|
path: _path + ".fontFamilyNames[" + _index5 + "]",
|
|
@@ -2099,9 +2773,9 @@ function _validateDomainRecord(domain, input) {
|
|
|
2099
2773
|
{
|
|
2100
2774
|
switch (domain) {
|
|
2101
2775
|
case ":asset.title?": {
|
|
2102
|
-
return (() => { const _io0 = input => undefined === input.value || "string" === typeof input.value; const _vo0 = (input, _path, _exceptionable = true) => [undefined === input.value || "string" === typeof input.value || _report(_exceptionable, {
|
|
2776
|
+
return (() => { const _io0 = input => null === input.value || undefined === input.value || "string" === typeof input.value; const _vo0 = (input, _path, _exceptionable = true) => [null === input.value || undefined === input.value || "string" === typeof input.value || _report(_exceptionable, {
|
|
2103
2777
|
path: _path + ".value",
|
|
2104
|
-
expected: "(string | undefined)",
|
|
2778
|
+
expected: "(null | string | undefined)",
|
|
2105
2779
|
value: input.value
|
|
2106
2780
|
})].every(flag => flag); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); let errors; let _report; return input => {
|
|
2107
2781
|
if (false === __is(input)) {
|
|
@@ -2982,26 +3656,576 @@ function _validateDomainRecord(domain, input) {
|
|
|
2982
3656
|
return (() => { const _io0 = input => undefined === input.value || Array.isArray(input.value) && input.value.every(elem => "string" === typeof elem); const _vo0 = (input, _path, _exceptionable = true) => [undefined === input.value || (Array.isArray(input.value) || _report(_exceptionable, {
|
|
2983
3657
|
path: _path + ".value",
|
|
2984
3658
|
expected: "(Array<string> | undefined)",
|
|
2985
|
-
value: input.value
|
|
2986
|
-
})) && input.value.map((elem, _index2) => "string" === typeof elem || _report(_exceptionable, {
|
|
2987
|
-
path: _path + ".value[" + _index2 + "]",
|
|
3659
|
+
value: input.value
|
|
3660
|
+
})) && input.value.map((elem, _index2) => "string" === typeof elem || _report(_exceptionable, {
|
|
3661
|
+
path: _path + ".value[" + _index2 + "]",
|
|
3662
|
+
expected: "string",
|
|
3663
|
+
value: elem
|
|
3664
|
+
})).every(flag => flag) || _report(_exceptionable, {
|
|
3665
|
+
path: _path + ".value",
|
|
3666
|
+
expected: "(Array<string> | undefined)",
|
|
3667
|
+
value: input.value
|
|
3668
|
+
})].every(flag => flag); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); let errors; let _report; return input => {
|
|
3669
|
+
if (false === __is(input)) {
|
|
3670
|
+
errors = [];
|
|
3671
|
+
_report = __typia_transform__validateReport._validateReport(errors);
|
|
3672
|
+
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || _report(true, {
|
|
3673
|
+
path: _path + "",
|
|
3674
|
+
expected: "AssetCommentsRecord",
|
|
3675
|
+
value: input
|
|
3676
|
+
})) && _vo0(input, _path + "", true) || _report(true, {
|
|
3677
|
+
path: _path + "",
|
|
3678
|
+
expected: "AssetCommentsRecord",
|
|
3679
|
+
value: input
|
|
3680
|
+
}))(input, "$input", true);
|
|
3681
|
+
const success = 0 === errors.length;
|
|
3682
|
+
return success ? {
|
|
3683
|
+
success,
|
|
3684
|
+
data: input
|
|
3685
|
+
} : {
|
|
3686
|
+
success,
|
|
3687
|
+
errors,
|
|
3688
|
+
data: input
|
|
3689
|
+
};
|
|
3690
|
+
}
|
|
3691
|
+
return {
|
|
3692
|
+
success: true,
|
|
3693
|
+
data: input
|
|
3694
|
+
};
|
|
3695
|
+
}; })()(input);
|
|
3696
|
+
}
|
|
3697
|
+
case ":asset.record?": {
|
|
3698
|
+
return (() => { const _io0 = input => "string" === typeof input.id && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.created || "string" === typeof input.created) && (undefined === input.createdBy || "string" === typeof input.createdBy) && (undefined === input.createdByTitle || "string" === typeof input.createdByTitle) && (undefined === input.origin || "string" === typeof input.origin) && (undefined === input.modified || "string" === typeof input.modified) && (undefined === input.modifiedBy || "string" === typeof input.modifiedBy) && (undefined === input.modifiedByAll || Array.isArray(input.modifiedByAll) && input.modifiedByAll.every(elem => "string" === typeof elem)) && (undefined === input.modifiedByTitle || "string" === typeof input.modifiedByTitle) && (undefined === input.duration || "number" === typeof input.duration) && (undefined === input.tags || Array.isArray(input.tags) && input.tags.every(elem => "string" === typeof elem)) && (undefined === input.deadlines || Array.isArray(input.deadlines) && input.deadlines.every(elem => "string" === typeof elem)) && (undefined === input.deadlinesCount || "number" === typeof input.deadlinesCount) && (undefined === input.deadlines_date_range || Array.isArray(input.deadlines_date_range) && input.deadlines_date_range.every(elem => "object" === typeof elem && null !== elem && _io1(elem))) && (undefined === input.assignees || Array.isArray(input.assignees) && input.assignees.every(elem => "string" === typeof elem)) && (undefined === input.assigneesCount || "number" === typeof input.assigneesCount) && (undefined === input.locations || Array.isArray(input.locations) && input.locations.every(elem => "object" === typeof elem && null !== elem && _io2(elem))) && (undefined === input.locationsCount || "number" === typeof input.locationsCount) && (undefined === input.types || Array.isArray(input.types) && input.types.every(elem => "string" === typeof elem)) && (undefined === input.primaryType || "string" === typeof input.primaryType) && (undefined === input.rawTypes || Array.isArray(input.rawTypes) && input.rawTypes.every(elem => "string" === typeof elem)) && (undefined === input.status || "object" === typeof input.status && null !== input.status && false === Array.isArray(input.status) && _io3(input.status)) && (undefined === input.published || Array.isArray(input.published) && input.published.every(elem => "string" === typeof elem)) && (undefined === input.publishedCount || "number" === typeof input.publishedCount) && (undefined === input.storage || "object" === typeof input.storage && null !== input.storage && false === Array.isArray(input.storage) && _io5(input.storage)) && (undefined === input.refs || "number" === typeof input.refs) && (undefined === input.refsByType || "object" === typeof input.refsByType && null !== input.refsByType && false === Array.isArray(input.refsByType) && _io6(input.refsByType)) && (undefined === input.recurrence_date_range || "object" === typeof input.recurrence_date_range && null !== input.recurrence_date_range && _io7(input.recurrence_date_range)) && (undefined === input.media_date_range || "object" === typeof input.media_date_range && null !== input.media_date_range && _io8(input.media_date_range)) && (undefined === input.ingestschedule_date_range || "object" === typeof input.ingestschedule_date_range && null !== input.ingestschedule_date_range && _io9(input.ingestschedule_date_range)) && (undefined === input.ingestschedule || "object" === typeof input.ingestschedule && null !== input.ingestschedule && false === Array.isArray(input.ingestschedule) && _io10(input.ingestschedule)) && (undefined === input.username || "string" === typeof input.username) && (undefined === input.user || "string" === typeof input.user) && (undefined === input["note.text"] || "string" === typeof input["note.text"]) && (undefined === input.subtitles || "string" === typeof input.subtitles) && (undefined === input.graphics || "string" === typeof input.graphics) && (undefined === input.story || "object" === typeof input.story && null !== input.story && false === Array.isArray(input.story) && _io11(input.story)) && (undefined === input.storyboard || "object" === typeof input.storyboard && null !== input.storyboard && false === Array.isArray(input.storyboard) && _io12(input.storyboard)) && (undefined === input.media || "object" === typeof input.media && null !== input.media && false === Array.isArray(input.media) && _io13(input.media)) && (undefined === input.embedding || Array.isArray(input.embedding) && input.embedding.every(elem => "object" === typeof elem && null !== elem && _io14(elem))) && Object.keys(input).every(key => {
|
|
3699
|
+
if (["id", "title", "description", "created", "createdBy", "createdByTitle", "origin", "modified", "modifiedBy", "modifiedByAll", "modifiedByTitle", "duration", "tags", "deadlines", "deadlinesCount", "deadlines_date_range", "assignees", "assigneesCount", "locations", "locationsCount", "types", "primaryType", "rawTypes", "status", "published", "publishedCount", "storage", "refs", "refsByType", "recurrence_date_range", "media_date_range", "ingestschedule_date_range", "ingestschedule", "username", "user", "note.text", "subtitles", "graphics", "story", "storyboard", "media", "embedding"].some(prop => key === prop))
|
|
3700
|
+
return true;
|
|
3701
|
+
const value = input[key];
|
|
3702
|
+
if (undefined === value)
|
|
3703
|
+
return true;
|
|
3704
|
+
return true;
|
|
3705
|
+
}); const _io1 = input => "string" === typeof input.gte && "string" === typeof input.lte; const _io2 = input => "number" === typeof input.lat && "number" === typeof input.lon; const _io3 = input => undefined === input.messages || Array.isArray(input.messages) && input.messages.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io4(elem)); const _io4 = input => (undefined === input.code || "string" === typeof input.code) && (undefined === input.level || "number" === typeof input.level); const _io5 = input => (undefined === input.files || Array.isArray(input.files) && input.files.every(elem => "string" === typeof elem)) && (undefined === input.replicas || Array.isArray(input.replicas) && input.replicas.every(elem => "string" === typeof elem)) && (undefined === input.locations || Array.isArray(input.locations) && input.locations.every(elem => "string" === typeof elem)) && (undefined === input.zones || Array.isArray(input.zones) && input.zones.every(elem => "string" === typeof elem)) && (undefined === input.uploading || "boolean" === typeof input.uploading) && (undefined === input.size || "number" === typeof input.size) && (undefined === input.filesCount || "number" === typeof input.filesCount) && (undefined === input.replicasCount || "number" === typeof input.replicasCount) && (undefined === input.locationsCount || "number" === typeof input.locationsCount); const _io6 = input => Object.keys(input).every(key => {
|
|
3706
|
+
const value = input[key];
|
|
3707
|
+
if (undefined === value)
|
|
3708
|
+
return true;
|
|
3709
|
+
return "number" === typeof value;
|
|
3710
|
+
}); const _io7 = input => "string" === typeof input.gte && (null === input.lte || "string" === typeof input.lte); const _io8 = input => "string" === typeof input.gte && "string" === typeof input.lte; const _io9 = input => "string" === typeof input.gte && (null === input.lte || "string" === typeof input.lte); const _io10 = input => (undefined === input.type || "string" === typeof input.type) && (undefined === input.sources || Array.isArray(input.sources) && input.sources.every(elem => "string" === typeof elem)) && (undefined === input.routes || Array.isArray(input.routes) && input.routes.every(elem => "string" === typeof elem)); const _io11 = input => (undefined === input.content || "string" === typeof input.content) && (undefined === input.graphics || Array.isArray(input.graphics) && input.graphics.every(elem => "string" === typeof elem)); const _io12 = input => undefined === input.content || Array.isArray(input.content); const _io13 = input => true && true && true && true && true; const _io14 = input => Array.isArray(input.vector) && input.vector.every(elem => "number" === typeof elem); const _vo0 = (input, _path, _exceptionable = true) => ["string" === typeof input.id || _report(_exceptionable, {
|
|
3711
|
+
path: _path + ".id",
|
|
3712
|
+
expected: "string",
|
|
3713
|
+
value: input.id
|
|
3714
|
+
}), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
|
3715
|
+
path: _path + ".title",
|
|
3716
|
+
expected: "(string | undefined)",
|
|
3717
|
+
value: input.title
|
|
3718
|
+
}), undefined === input.description || "string" === typeof input.description || _report(_exceptionable, {
|
|
3719
|
+
path: _path + ".description",
|
|
3720
|
+
expected: "(string | undefined)",
|
|
3721
|
+
value: input.description
|
|
3722
|
+
}), undefined === input.created || "string" === typeof input.created || _report(_exceptionable, {
|
|
3723
|
+
path: _path + ".created",
|
|
3724
|
+
expected: "(string | undefined)",
|
|
3725
|
+
value: input.created
|
|
3726
|
+
}), undefined === input.createdBy || "string" === typeof input.createdBy || _report(_exceptionable, {
|
|
3727
|
+
path: _path + ".createdBy",
|
|
3728
|
+
expected: "(string | undefined)",
|
|
3729
|
+
value: input.createdBy
|
|
3730
|
+
}), undefined === input.createdByTitle || "string" === typeof input.createdByTitle || _report(_exceptionable, {
|
|
3731
|
+
path: _path + ".createdByTitle",
|
|
3732
|
+
expected: "(string | undefined)",
|
|
3733
|
+
value: input.createdByTitle
|
|
3734
|
+
}), undefined === input.origin || "string" === typeof input.origin || _report(_exceptionable, {
|
|
3735
|
+
path: _path + ".origin",
|
|
3736
|
+
expected: "(string | undefined)",
|
|
3737
|
+
value: input.origin
|
|
3738
|
+
}), undefined === input.modified || "string" === typeof input.modified || _report(_exceptionable, {
|
|
3739
|
+
path: _path + ".modified",
|
|
3740
|
+
expected: "(string | undefined)",
|
|
3741
|
+
value: input.modified
|
|
3742
|
+
}), undefined === input.modifiedBy || "string" === typeof input.modifiedBy || _report(_exceptionable, {
|
|
3743
|
+
path: _path + ".modifiedBy",
|
|
3744
|
+
expected: "(string | undefined)",
|
|
3745
|
+
value: input.modifiedBy
|
|
3746
|
+
}), undefined === input.modifiedByAll || (Array.isArray(input.modifiedByAll) || _report(_exceptionable, {
|
|
3747
|
+
path: _path + ".modifiedByAll",
|
|
3748
|
+
expected: "(Array<string> | undefined)",
|
|
3749
|
+
value: input.modifiedByAll
|
|
3750
|
+
})) && input.modifiedByAll.map((elem, _index20) => "string" === typeof elem || _report(_exceptionable, {
|
|
3751
|
+
path: _path + ".modifiedByAll[" + _index20 + "]",
|
|
3752
|
+
expected: "string",
|
|
3753
|
+
value: elem
|
|
3754
|
+
})).every(flag => flag) || _report(_exceptionable, {
|
|
3755
|
+
path: _path + ".modifiedByAll",
|
|
3756
|
+
expected: "(Array<string> | undefined)",
|
|
3757
|
+
value: input.modifiedByAll
|
|
3758
|
+
}), undefined === input.modifiedByTitle || "string" === typeof input.modifiedByTitle || _report(_exceptionable, {
|
|
3759
|
+
path: _path + ".modifiedByTitle",
|
|
3760
|
+
expected: "(string | undefined)",
|
|
3761
|
+
value: input.modifiedByTitle
|
|
3762
|
+
}), undefined === input.duration || "number" === typeof input.duration || _report(_exceptionable, {
|
|
3763
|
+
path: _path + ".duration",
|
|
3764
|
+
expected: "(number | undefined)",
|
|
3765
|
+
value: input.duration
|
|
3766
|
+
}), undefined === input.tags || (Array.isArray(input.tags) || _report(_exceptionable, {
|
|
3767
|
+
path: _path + ".tags",
|
|
3768
|
+
expected: "(Array<string> | undefined)",
|
|
3769
|
+
value: input.tags
|
|
3770
|
+
})) && input.tags.map((elem, _index21) => "string" === typeof elem || _report(_exceptionable, {
|
|
3771
|
+
path: _path + ".tags[" + _index21 + "]",
|
|
3772
|
+
expected: "string",
|
|
3773
|
+
value: elem
|
|
3774
|
+
})).every(flag => flag) || _report(_exceptionable, {
|
|
3775
|
+
path: _path + ".tags",
|
|
3776
|
+
expected: "(Array<string> | undefined)",
|
|
3777
|
+
value: input.tags
|
|
3778
|
+
}), undefined === input.deadlines || (Array.isArray(input.deadlines) || _report(_exceptionable, {
|
|
3779
|
+
path: _path + ".deadlines",
|
|
3780
|
+
expected: "(Array<string> | undefined)",
|
|
3781
|
+
value: input.deadlines
|
|
3782
|
+
})) && input.deadlines.map((elem, _index22) => "string" === typeof elem || _report(_exceptionable, {
|
|
3783
|
+
path: _path + ".deadlines[" + _index22 + "]",
|
|
3784
|
+
expected: "string",
|
|
3785
|
+
value: elem
|
|
3786
|
+
})).every(flag => flag) || _report(_exceptionable, {
|
|
3787
|
+
path: _path + ".deadlines",
|
|
3788
|
+
expected: "(Array<string> | undefined)",
|
|
3789
|
+
value: input.deadlines
|
|
3790
|
+
}), undefined === input.deadlinesCount || "number" === typeof input.deadlinesCount || _report(_exceptionable, {
|
|
3791
|
+
path: _path + ".deadlinesCount",
|
|
3792
|
+
expected: "(number | undefined)",
|
|
3793
|
+
value: input.deadlinesCount
|
|
3794
|
+
}), undefined === input.deadlines_date_range || (Array.isArray(input.deadlines_date_range) || _report(_exceptionable, {
|
|
3795
|
+
path: _path + ".deadlines_date_range",
|
|
3796
|
+
expected: "(Array<__type> | undefined)",
|
|
3797
|
+
value: input.deadlines_date_range
|
|
3798
|
+
})) && input.deadlines_date_range.map((elem, _index23) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
3799
|
+
path: _path + ".deadlines_date_range[" + _index23 + "]",
|
|
3800
|
+
expected: "__type",
|
|
3801
|
+
value: elem
|
|
3802
|
+
})) && _vo1(elem, _path + ".deadlines_date_range[" + _index23 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
3803
|
+
path: _path + ".deadlines_date_range[" + _index23 + "]",
|
|
3804
|
+
expected: "__type",
|
|
3805
|
+
value: elem
|
|
3806
|
+
})).every(flag => flag) || _report(_exceptionable, {
|
|
3807
|
+
path: _path + ".deadlines_date_range",
|
|
3808
|
+
expected: "(Array<__type> | undefined)",
|
|
3809
|
+
value: input.deadlines_date_range
|
|
3810
|
+
}), undefined === input.assignees || (Array.isArray(input.assignees) || _report(_exceptionable, {
|
|
3811
|
+
path: _path + ".assignees",
|
|
3812
|
+
expected: "(Array<string> | undefined)",
|
|
3813
|
+
value: input.assignees
|
|
3814
|
+
})) && input.assignees.map((elem, _index24) => "string" === typeof elem || _report(_exceptionable, {
|
|
3815
|
+
path: _path + ".assignees[" + _index24 + "]",
|
|
3816
|
+
expected: "string",
|
|
3817
|
+
value: elem
|
|
3818
|
+
})).every(flag => flag) || _report(_exceptionable, {
|
|
3819
|
+
path: _path + ".assignees",
|
|
3820
|
+
expected: "(Array<string> | undefined)",
|
|
3821
|
+
value: input.assignees
|
|
3822
|
+
}), undefined === input.assigneesCount || "number" === typeof input.assigneesCount || _report(_exceptionable, {
|
|
3823
|
+
path: _path + ".assigneesCount",
|
|
3824
|
+
expected: "(number | undefined)",
|
|
3825
|
+
value: input.assigneesCount
|
|
3826
|
+
}), undefined === input.locations || (Array.isArray(input.locations) || _report(_exceptionable, {
|
|
3827
|
+
path: _path + ".locations",
|
|
3828
|
+
expected: "(Array<__type>.o1 | undefined)",
|
|
3829
|
+
value: input.locations
|
|
3830
|
+
})) && input.locations.map((elem, _index25) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
3831
|
+
path: _path + ".locations[" + _index25 + "]",
|
|
3832
|
+
expected: "__type.o1",
|
|
3833
|
+
value: elem
|
|
3834
|
+
})) && _vo2(elem, _path + ".locations[" + _index25 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
3835
|
+
path: _path + ".locations[" + _index25 + "]",
|
|
3836
|
+
expected: "__type.o1",
|
|
3837
|
+
value: elem
|
|
3838
|
+
})).every(flag => flag) || _report(_exceptionable, {
|
|
3839
|
+
path: _path + ".locations",
|
|
3840
|
+
expected: "(Array<__type>.o1 | undefined)",
|
|
3841
|
+
value: input.locations
|
|
3842
|
+
}), undefined === input.locationsCount || "number" === typeof input.locationsCount || _report(_exceptionable, {
|
|
3843
|
+
path: _path + ".locationsCount",
|
|
3844
|
+
expected: "(number | undefined)",
|
|
3845
|
+
value: input.locationsCount
|
|
3846
|
+
}), undefined === input.types || (Array.isArray(input.types) || _report(_exceptionable, {
|
|
3847
|
+
path: _path + ".types",
|
|
3848
|
+
expected: "(Array<string> | undefined)",
|
|
3849
|
+
value: input.types
|
|
3850
|
+
})) && input.types.map((elem, _index26) => "string" === typeof elem || _report(_exceptionable, {
|
|
3851
|
+
path: _path + ".types[" + _index26 + "]",
|
|
3852
|
+
expected: "string",
|
|
3853
|
+
value: elem
|
|
3854
|
+
})).every(flag => flag) || _report(_exceptionable, {
|
|
3855
|
+
path: _path + ".types",
|
|
3856
|
+
expected: "(Array<string> | undefined)",
|
|
3857
|
+
value: input.types
|
|
3858
|
+
}), undefined === input.primaryType || "string" === typeof input.primaryType || _report(_exceptionable, {
|
|
3859
|
+
path: _path + ".primaryType",
|
|
3860
|
+
expected: "(string | undefined)",
|
|
3861
|
+
value: input.primaryType
|
|
3862
|
+
}), undefined === input.rawTypes || (Array.isArray(input.rawTypes) || _report(_exceptionable, {
|
|
3863
|
+
path: _path + ".rawTypes",
|
|
3864
|
+
expected: "(Array<string> | undefined)",
|
|
3865
|
+
value: input.rawTypes
|
|
3866
|
+
})) && input.rawTypes.map((elem, _index27) => "string" === typeof elem || _report(_exceptionable, {
|
|
3867
|
+
path: _path + ".rawTypes[" + _index27 + "]",
|
|
3868
|
+
expected: "string",
|
|
3869
|
+
value: elem
|
|
3870
|
+
})).every(flag => flag) || _report(_exceptionable, {
|
|
3871
|
+
path: _path + ".rawTypes",
|
|
3872
|
+
expected: "(Array<string> | undefined)",
|
|
3873
|
+
value: input.rawTypes
|
|
3874
|
+
}), undefined === input.status || ("object" === typeof input.status && null !== input.status && false === Array.isArray(input.status) || _report(_exceptionable, {
|
|
3875
|
+
path: _path + ".status",
|
|
3876
|
+
expected: "(__type.o2 | undefined)",
|
|
3877
|
+
value: input.status
|
|
3878
|
+
})) && _vo3(input.status, _path + ".status", true && _exceptionable) || _report(_exceptionable, {
|
|
3879
|
+
path: _path + ".status",
|
|
3880
|
+
expected: "(__type.o2 | undefined)",
|
|
3881
|
+
value: input.status
|
|
3882
|
+
}), undefined === input.published || (Array.isArray(input.published) || _report(_exceptionable, {
|
|
3883
|
+
path: _path + ".published",
|
|
3884
|
+
expected: "(Array<string> | undefined)",
|
|
3885
|
+
value: input.published
|
|
3886
|
+
})) && input.published.map((elem, _index28) => "string" === typeof elem || _report(_exceptionable, {
|
|
3887
|
+
path: _path + ".published[" + _index28 + "]",
|
|
3888
|
+
expected: "string",
|
|
3889
|
+
value: elem
|
|
3890
|
+
})).every(flag => flag) || _report(_exceptionable, {
|
|
3891
|
+
path: _path + ".published",
|
|
3892
|
+
expected: "(Array<string> | undefined)",
|
|
3893
|
+
value: input.published
|
|
3894
|
+
}), undefined === input.publishedCount || "number" === typeof input.publishedCount || _report(_exceptionable, {
|
|
3895
|
+
path: _path + ".publishedCount",
|
|
3896
|
+
expected: "(number | undefined)",
|
|
3897
|
+
value: input.publishedCount
|
|
3898
|
+
}), undefined === input.storage || ("object" === typeof input.storage && null !== input.storage && false === Array.isArray(input.storage) || _report(_exceptionable, {
|
|
3899
|
+
path: _path + ".storage",
|
|
3900
|
+
expected: "(__type.o4 | undefined)",
|
|
3901
|
+
value: input.storage
|
|
3902
|
+
})) && _vo5(input.storage, _path + ".storage", true && _exceptionable) || _report(_exceptionable, {
|
|
3903
|
+
path: _path + ".storage",
|
|
3904
|
+
expected: "(__type.o4 | undefined)",
|
|
3905
|
+
value: input.storage
|
|
3906
|
+
}), undefined === input.refs || "number" === typeof input.refs || _report(_exceptionable, {
|
|
3907
|
+
path: _path + ".refs",
|
|
3908
|
+
expected: "(number | undefined)",
|
|
3909
|
+
value: input.refs
|
|
3910
|
+
}), undefined === input.refsByType || ("object" === typeof input.refsByType && null !== input.refsByType && false === Array.isArray(input.refsByType) || _report(_exceptionable, {
|
|
3911
|
+
path: _path + ".refsByType",
|
|
3912
|
+
expected: "(Record<string, number> | undefined)",
|
|
3913
|
+
value: input.refsByType
|
|
3914
|
+
})) && _vo6(input.refsByType, _path + ".refsByType", true && _exceptionable) || _report(_exceptionable, {
|
|
3915
|
+
path: _path + ".refsByType",
|
|
3916
|
+
expected: "(Record<string, number> | undefined)",
|
|
3917
|
+
value: input.refsByType
|
|
3918
|
+
}), undefined === input.recurrence_date_range || ("object" === typeof input.recurrence_date_range && null !== input.recurrence_date_range || _report(_exceptionable, {
|
|
3919
|
+
path: _path + ".recurrence_date_range",
|
|
3920
|
+
expected: "(__type.o5 | undefined)",
|
|
3921
|
+
value: input.recurrence_date_range
|
|
3922
|
+
})) && _vo7(input.recurrence_date_range, _path + ".recurrence_date_range", true && _exceptionable) || _report(_exceptionable, {
|
|
3923
|
+
path: _path + ".recurrence_date_range",
|
|
3924
|
+
expected: "(__type.o5 | undefined)",
|
|
3925
|
+
value: input.recurrence_date_range
|
|
3926
|
+
}), undefined === input.media_date_range || ("object" === typeof input.media_date_range && null !== input.media_date_range || _report(_exceptionable, {
|
|
3927
|
+
path: _path + ".media_date_range",
|
|
3928
|
+
expected: "(__type.o6 | undefined)",
|
|
3929
|
+
value: input.media_date_range
|
|
3930
|
+
})) && _vo8(input.media_date_range, _path + ".media_date_range", true && _exceptionable) || _report(_exceptionable, {
|
|
3931
|
+
path: _path + ".media_date_range",
|
|
3932
|
+
expected: "(__type.o6 | undefined)",
|
|
3933
|
+
value: input.media_date_range
|
|
3934
|
+
}), undefined === input.ingestschedule_date_range || ("object" === typeof input.ingestschedule_date_range && null !== input.ingestschedule_date_range || _report(_exceptionable, {
|
|
3935
|
+
path: _path + ".ingestschedule_date_range",
|
|
3936
|
+
expected: "(__type.o7 | undefined)",
|
|
3937
|
+
value: input.ingestschedule_date_range
|
|
3938
|
+
})) && _vo9(input.ingestschedule_date_range, _path + ".ingestschedule_date_range", true && _exceptionable) || _report(_exceptionable, {
|
|
3939
|
+
path: _path + ".ingestschedule_date_range",
|
|
3940
|
+
expected: "(__type.o7 | undefined)",
|
|
3941
|
+
value: input.ingestschedule_date_range
|
|
3942
|
+
}), undefined === input.ingestschedule || ("object" === typeof input.ingestschedule && null !== input.ingestschedule && false === Array.isArray(input.ingestschedule) || _report(_exceptionable, {
|
|
3943
|
+
path: _path + ".ingestschedule",
|
|
3944
|
+
expected: "(__type.o8 | undefined)",
|
|
3945
|
+
value: input.ingestschedule
|
|
3946
|
+
})) && _vo10(input.ingestschedule, _path + ".ingestschedule", true && _exceptionable) || _report(_exceptionable, {
|
|
3947
|
+
path: _path + ".ingestschedule",
|
|
3948
|
+
expected: "(__type.o8 | undefined)",
|
|
3949
|
+
value: input.ingestschedule
|
|
3950
|
+
}), undefined === input.username || "string" === typeof input.username || _report(_exceptionable, {
|
|
3951
|
+
path: _path + ".username",
|
|
3952
|
+
expected: "(string | undefined)",
|
|
3953
|
+
value: input.username
|
|
3954
|
+
}), undefined === input.user || "string" === typeof input.user || _report(_exceptionable, {
|
|
3955
|
+
path: _path + ".user",
|
|
3956
|
+
expected: "(string | undefined)",
|
|
3957
|
+
value: input.user
|
|
3958
|
+
}), undefined === input["note.text"] || "string" === typeof input["note.text"] || _report(_exceptionable, {
|
|
3959
|
+
path: _path + "[\"note.text\"]",
|
|
3960
|
+
expected: "(string | undefined)",
|
|
3961
|
+
value: input["note.text"]
|
|
3962
|
+
}), undefined === input.subtitles || "string" === typeof input.subtitles || _report(_exceptionable, {
|
|
3963
|
+
path: _path + ".subtitles",
|
|
3964
|
+
expected: "(string | undefined)",
|
|
3965
|
+
value: input.subtitles
|
|
3966
|
+
}), undefined === input.graphics || "string" === typeof input.graphics || _report(_exceptionable, {
|
|
3967
|
+
path: _path + ".graphics",
|
|
3968
|
+
expected: "(string | undefined)",
|
|
3969
|
+
value: input.graphics
|
|
3970
|
+
}), undefined === input.story || ("object" === typeof input.story && null !== input.story && false === Array.isArray(input.story) || _report(_exceptionable, {
|
|
3971
|
+
path: _path + ".story",
|
|
3972
|
+
expected: "(__type.o9 | undefined)",
|
|
3973
|
+
value: input.story
|
|
3974
|
+
})) && _vo11(input.story, _path + ".story", true && _exceptionable) || _report(_exceptionable, {
|
|
3975
|
+
path: _path + ".story",
|
|
3976
|
+
expected: "(__type.o9 | undefined)",
|
|
3977
|
+
value: input.story
|
|
3978
|
+
}), undefined === input.storyboard || ("object" === typeof input.storyboard && null !== input.storyboard && false === Array.isArray(input.storyboard) || _report(_exceptionable, {
|
|
3979
|
+
path: _path + ".storyboard",
|
|
3980
|
+
expected: "(__type.o10 | undefined)",
|
|
3981
|
+
value: input.storyboard
|
|
3982
|
+
})) && _vo12(input.storyboard, _path + ".storyboard", true && _exceptionable) || _report(_exceptionable, {
|
|
3983
|
+
path: _path + ".storyboard",
|
|
3984
|
+
expected: "(__type.o10 | undefined)",
|
|
3985
|
+
value: input.storyboard
|
|
3986
|
+
}), undefined === input.media || ("object" === typeof input.media && null !== input.media && false === Array.isArray(input.media) || _report(_exceptionable, {
|
|
3987
|
+
path: _path + ".media",
|
|
3988
|
+
expected: "(__type.o11 | undefined)",
|
|
3989
|
+
value: input.media
|
|
3990
|
+
})) && _vo13(input.media, _path + ".media", true && _exceptionable) || _report(_exceptionable, {
|
|
3991
|
+
path: _path + ".media",
|
|
3992
|
+
expected: "(__type.o11 | undefined)",
|
|
3993
|
+
value: input.media
|
|
3994
|
+
}), undefined === input.embedding || (Array.isArray(input.embedding) || _report(_exceptionable, {
|
|
3995
|
+
path: _path + ".embedding",
|
|
3996
|
+
expected: "(Array<__type>.o3 | undefined)",
|
|
3997
|
+
value: input.embedding
|
|
3998
|
+
})) && input.embedding.map((elem, _index29) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
3999
|
+
path: _path + ".embedding[" + _index29 + "]",
|
|
4000
|
+
expected: "__type.o12",
|
|
4001
|
+
value: elem
|
|
4002
|
+
})) && _vo14(elem, _path + ".embedding[" + _index29 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
4003
|
+
path: _path + ".embedding[" + _index29 + "]",
|
|
4004
|
+
expected: "__type.o12",
|
|
4005
|
+
value: elem
|
|
4006
|
+
})).every(flag => flag) || _report(_exceptionable, {
|
|
4007
|
+
path: _path + ".embedding",
|
|
4008
|
+
expected: "(Array<__type>.o3 | undefined)",
|
|
4009
|
+
value: input.embedding
|
|
4010
|
+
}), false === _exceptionable || Object.keys(input).map(key => {
|
|
4011
|
+
if (["id", "title", "description", "created", "createdBy", "createdByTitle", "origin", "modified", "modifiedBy", "modifiedByAll", "modifiedByTitle", "duration", "tags", "deadlines", "deadlinesCount", "deadlines_date_range", "assignees", "assigneesCount", "locations", "locationsCount", "types", "primaryType", "rawTypes", "status", "published", "publishedCount", "storage", "refs", "refsByType", "recurrence_date_range", "media_date_range", "ingestschedule_date_range", "ingestschedule", "username", "user", "note.text", "subtitles", "graphics", "story", "storyboard", "media", "embedding"].some(prop => key === prop))
|
|
4012
|
+
return true;
|
|
4013
|
+
const value = input[key];
|
|
4014
|
+
if (undefined === value)
|
|
4015
|
+
return true;
|
|
4016
|
+
return true;
|
|
4017
|
+
}).every(flag => flag)].every(flag => flag); const _vo1 = (input, _path, _exceptionable = true) => ["string" === typeof input.gte || _report(_exceptionable, {
|
|
4018
|
+
path: _path + ".gte",
|
|
4019
|
+
expected: "string",
|
|
4020
|
+
value: input.gte
|
|
4021
|
+
}), "string" === typeof input.lte || _report(_exceptionable, {
|
|
4022
|
+
path: _path + ".lte",
|
|
4023
|
+
expected: "string",
|
|
4024
|
+
value: input.lte
|
|
4025
|
+
})].every(flag => flag); const _vo2 = (input, _path, _exceptionable = true) => ["number" === typeof input.lat || _report(_exceptionable, {
|
|
4026
|
+
path: _path + ".lat",
|
|
4027
|
+
expected: "number",
|
|
4028
|
+
value: input.lat
|
|
4029
|
+
}), "number" === typeof input.lon || _report(_exceptionable, {
|
|
4030
|
+
path: _path + ".lon",
|
|
4031
|
+
expected: "number",
|
|
4032
|
+
value: input.lon
|
|
4033
|
+
})].every(flag => flag); const _vo3 = (input, _path, _exceptionable = true) => [undefined === input.messages || (Array.isArray(input.messages) || _report(_exceptionable, {
|
|
4034
|
+
path: _path + ".messages",
|
|
4035
|
+
expected: "(Array<__type>.o2 | undefined)",
|
|
4036
|
+
value: input.messages
|
|
4037
|
+
})) && input.messages.map((elem, _index30) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
4038
|
+
path: _path + ".messages[" + _index30 + "]",
|
|
4039
|
+
expected: "__type.o3",
|
|
4040
|
+
value: elem
|
|
4041
|
+
})) && _vo4(elem, _path + ".messages[" + _index30 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
4042
|
+
path: _path + ".messages[" + _index30 + "]",
|
|
4043
|
+
expected: "__type.o3",
|
|
4044
|
+
value: elem
|
|
4045
|
+
})).every(flag => flag) || _report(_exceptionable, {
|
|
4046
|
+
path: _path + ".messages",
|
|
4047
|
+
expected: "(Array<__type>.o2 | undefined)",
|
|
4048
|
+
value: input.messages
|
|
4049
|
+
})].every(flag => flag); const _vo4 = (input, _path, _exceptionable = true) => [undefined === input.code || "string" === typeof input.code || _report(_exceptionable, {
|
|
4050
|
+
path: _path + ".code",
|
|
4051
|
+
expected: "(string | undefined)",
|
|
4052
|
+
value: input.code
|
|
4053
|
+
}), undefined === input.level || "number" === typeof input.level || _report(_exceptionable, {
|
|
4054
|
+
path: _path + ".level",
|
|
4055
|
+
expected: "(number | undefined)",
|
|
4056
|
+
value: input.level
|
|
4057
|
+
})].every(flag => flag); const _vo5 = (input, _path, _exceptionable = true) => [undefined === input.files || (Array.isArray(input.files) || _report(_exceptionable, {
|
|
4058
|
+
path: _path + ".files",
|
|
4059
|
+
expected: "(Array<string> | undefined)",
|
|
4060
|
+
value: input.files
|
|
4061
|
+
})) && input.files.map((elem, _index31) => "string" === typeof elem || _report(_exceptionable, {
|
|
4062
|
+
path: _path + ".files[" + _index31 + "]",
|
|
4063
|
+
expected: "string",
|
|
4064
|
+
value: elem
|
|
4065
|
+
})).every(flag => flag) || _report(_exceptionable, {
|
|
4066
|
+
path: _path + ".files",
|
|
4067
|
+
expected: "(Array<string> | undefined)",
|
|
4068
|
+
value: input.files
|
|
4069
|
+
}), undefined === input.replicas || (Array.isArray(input.replicas) || _report(_exceptionable, {
|
|
4070
|
+
path: _path + ".replicas",
|
|
4071
|
+
expected: "(Array<string> | undefined)",
|
|
4072
|
+
value: input.replicas
|
|
4073
|
+
})) && input.replicas.map((elem, _index32) => "string" === typeof elem || _report(_exceptionable, {
|
|
4074
|
+
path: _path + ".replicas[" + _index32 + "]",
|
|
4075
|
+
expected: "string",
|
|
4076
|
+
value: elem
|
|
4077
|
+
})).every(flag => flag) || _report(_exceptionable, {
|
|
4078
|
+
path: _path + ".replicas",
|
|
4079
|
+
expected: "(Array<string> | undefined)",
|
|
4080
|
+
value: input.replicas
|
|
4081
|
+
}), undefined === input.locations || (Array.isArray(input.locations) || _report(_exceptionable, {
|
|
4082
|
+
path: _path + ".locations",
|
|
4083
|
+
expected: "(Array<string> | undefined)",
|
|
4084
|
+
value: input.locations
|
|
4085
|
+
})) && input.locations.map((elem, _index33) => "string" === typeof elem || _report(_exceptionable, {
|
|
4086
|
+
path: _path + ".locations[" + _index33 + "]",
|
|
4087
|
+
expected: "string",
|
|
4088
|
+
value: elem
|
|
4089
|
+
})).every(flag => flag) || _report(_exceptionable, {
|
|
4090
|
+
path: _path + ".locations",
|
|
4091
|
+
expected: "(Array<string> | undefined)",
|
|
4092
|
+
value: input.locations
|
|
4093
|
+
}), undefined === input.zones || (Array.isArray(input.zones) || _report(_exceptionable, {
|
|
4094
|
+
path: _path + ".zones",
|
|
4095
|
+
expected: "(Array<string> | undefined)",
|
|
4096
|
+
value: input.zones
|
|
4097
|
+
})) && input.zones.map((elem, _index34) => "string" === typeof elem || _report(_exceptionable, {
|
|
4098
|
+
path: _path + ".zones[" + _index34 + "]",
|
|
4099
|
+
expected: "string",
|
|
4100
|
+
value: elem
|
|
4101
|
+
})).every(flag => flag) || _report(_exceptionable, {
|
|
4102
|
+
path: _path + ".zones",
|
|
4103
|
+
expected: "(Array<string> | undefined)",
|
|
4104
|
+
value: input.zones
|
|
4105
|
+
}), undefined === input.uploading || "boolean" === typeof input.uploading || _report(_exceptionable, {
|
|
4106
|
+
path: _path + ".uploading",
|
|
4107
|
+
expected: "(boolean | undefined)",
|
|
4108
|
+
value: input.uploading
|
|
4109
|
+
}), undefined === input.size || "number" === typeof input.size || _report(_exceptionable, {
|
|
4110
|
+
path: _path + ".size",
|
|
4111
|
+
expected: "(number | undefined)",
|
|
4112
|
+
value: input.size
|
|
4113
|
+
}), undefined === input.filesCount || "number" === typeof input.filesCount || _report(_exceptionable, {
|
|
4114
|
+
path: _path + ".filesCount",
|
|
4115
|
+
expected: "(number | undefined)",
|
|
4116
|
+
value: input.filesCount
|
|
4117
|
+
}), undefined === input.replicasCount || "number" === typeof input.replicasCount || _report(_exceptionable, {
|
|
4118
|
+
path: _path + ".replicasCount",
|
|
4119
|
+
expected: "(number | undefined)",
|
|
4120
|
+
value: input.replicasCount
|
|
4121
|
+
}), undefined === input.locationsCount || "number" === typeof input.locationsCount || _report(_exceptionable, {
|
|
4122
|
+
path: _path + ".locationsCount",
|
|
4123
|
+
expected: "(number | undefined)",
|
|
4124
|
+
value: input.locationsCount
|
|
4125
|
+
})].every(flag => flag); const _vo6 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
4126
|
+
const value = input[key];
|
|
4127
|
+
if (undefined === value)
|
|
4128
|
+
return true;
|
|
4129
|
+
return "number" === typeof value || _report(_exceptionable, {
|
|
4130
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
4131
|
+
expected: "number",
|
|
4132
|
+
value: value
|
|
4133
|
+
});
|
|
4134
|
+
}).every(flag => flag)].every(flag => flag); const _vo7 = (input, _path, _exceptionable = true) => ["string" === typeof input.gte || _report(_exceptionable, {
|
|
4135
|
+
path: _path + ".gte",
|
|
4136
|
+
expected: "string",
|
|
4137
|
+
value: input.gte
|
|
4138
|
+
}), null === input.lte || "string" === typeof input.lte || _report(_exceptionable, {
|
|
4139
|
+
path: _path + ".lte",
|
|
4140
|
+
expected: "(null | string)",
|
|
4141
|
+
value: input.lte
|
|
4142
|
+
})].every(flag => flag); const _vo8 = (input, _path, _exceptionable = true) => ["string" === typeof input.gte || _report(_exceptionable, {
|
|
4143
|
+
path: _path + ".gte",
|
|
4144
|
+
expected: "string",
|
|
4145
|
+
value: input.gte
|
|
4146
|
+
}), "string" === typeof input.lte || _report(_exceptionable, {
|
|
4147
|
+
path: _path + ".lte",
|
|
4148
|
+
expected: "string",
|
|
4149
|
+
value: input.lte
|
|
4150
|
+
})].every(flag => flag); const _vo9 = (input, _path, _exceptionable = true) => ["string" === typeof input.gte || _report(_exceptionable, {
|
|
4151
|
+
path: _path + ".gte",
|
|
4152
|
+
expected: "string",
|
|
4153
|
+
value: input.gte
|
|
4154
|
+
}), null === input.lte || "string" === typeof input.lte || _report(_exceptionable, {
|
|
4155
|
+
path: _path + ".lte",
|
|
4156
|
+
expected: "(null | string)",
|
|
4157
|
+
value: input.lte
|
|
4158
|
+
})].every(flag => flag); const _vo10 = (input, _path, _exceptionable = true) => [undefined === input.type || "string" === typeof input.type || _report(_exceptionable, {
|
|
4159
|
+
path: _path + ".type",
|
|
4160
|
+
expected: "(string | undefined)",
|
|
4161
|
+
value: input.type
|
|
4162
|
+
}), undefined === input.sources || (Array.isArray(input.sources) || _report(_exceptionable, {
|
|
4163
|
+
path: _path + ".sources",
|
|
4164
|
+
expected: "(Array<string> | undefined)",
|
|
4165
|
+
value: input.sources
|
|
4166
|
+
})) && input.sources.map((elem, _index35) => "string" === typeof elem || _report(_exceptionable, {
|
|
4167
|
+
path: _path + ".sources[" + _index35 + "]",
|
|
2988
4168
|
expected: "string",
|
|
2989
4169
|
value: elem
|
|
2990
4170
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
2991
|
-
path: _path + ".
|
|
4171
|
+
path: _path + ".sources",
|
|
2992
4172
|
expected: "(Array<string> | undefined)",
|
|
2993
|
-
value: input.
|
|
2994
|
-
})
|
|
4173
|
+
value: input.sources
|
|
4174
|
+
}), undefined === input.routes || (Array.isArray(input.routes) || _report(_exceptionable, {
|
|
4175
|
+
path: _path + ".routes",
|
|
4176
|
+
expected: "(Array<string> | undefined)",
|
|
4177
|
+
value: input.routes
|
|
4178
|
+
})) && input.routes.map((elem, _index36) => "string" === typeof elem || _report(_exceptionable, {
|
|
4179
|
+
path: _path + ".routes[" + _index36 + "]",
|
|
4180
|
+
expected: "string",
|
|
4181
|
+
value: elem
|
|
4182
|
+
})).every(flag => flag) || _report(_exceptionable, {
|
|
4183
|
+
path: _path + ".routes",
|
|
4184
|
+
expected: "(Array<string> | undefined)",
|
|
4185
|
+
value: input.routes
|
|
4186
|
+
})].every(flag => flag); const _vo11 = (input, _path, _exceptionable = true) => [undefined === input.content || "string" === typeof input.content || _report(_exceptionable, {
|
|
4187
|
+
path: _path + ".content",
|
|
4188
|
+
expected: "(string | undefined)",
|
|
4189
|
+
value: input.content
|
|
4190
|
+
}), undefined === input.graphics || (Array.isArray(input.graphics) || _report(_exceptionable, {
|
|
4191
|
+
path: _path + ".graphics",
|
|
4192
|
+
expected: "(Array<string> | undefined)",
|
|
4193
|
+
value: input.graphics
|
|
4194
|
+
})) && input.graphics.map((elem, _index37) => "string" === typeof elem || _report(_exceptionable, {
|
|
4195
|
+
path: _path + ".graphics[" + _index37 + "]",
|
|
4196
|
+
expected: "string",
|
|
4197
|
+
value: elem
|
|
4198
|
+
})).every(flag => flag) || _report(_exceptionable, {
|
|
4199
|
+
path: _path + ".graphics",
|
|
4200
|
+
expected: "(Array<string> | undefined)",
|
|
4201
|
+
value: input.graphics
|
|
4202
|
+
})].every(flag => flag); const _vo12 = (input, _path, _exceptionable = true) => [undefined === input.content || Array.isArray(input.content) || _report(_exceptionable, {
|
|
4203
|
+
path: _path + ".content",
|
|
4204
|
+
expected: "(Array<unknown> | undefined)",
|
|
4205
|
+
value: input.content
|
|
4206
|
+
})].every(flag => flag); const _vo13 = (input, _path, _exceptionable = true) => [true, true, true, true, true].every(flag => flag); const _vo14 = (input, _path, _exceptionable = true) => [(Array.isArray(input.vector) || _report(_exceptionable, {
|
|
4207
|
+
path: _path + ".vector",
|
|
4208
|
+
expected: "Array<number>",
|
|
4209
|
+
value: input.vector
|
|
4210
|
+
})) && input.vector.map((elem, _index38) => "number" === typeof elem || _report(_exceptionable, {
|
|
4211
|
+
path: _path + ".vector[" + _index38 + "]",
|
|
4212
|
+
expected: "number",
|
|
4213
|
+
value: elem
|
|
4214
|
+
})).every(flag => flag) || _report(_exceptionable, {
|
|
4215
|
+
path: _path + ".vector",
|
|
4216
|
+
expected: "Array<number>",
|
|
4217
|
+
value: input.vector
|
|
4218
|
+
})].every(flag => flag); const __is = input => "object" === typeof input && null !== input && _io0(input); let errors; let _report; return input => {
|
|
2995
4219
|
if (false === __is(input)) {
|
|
2996
4220
|
errors = [];
|
|
2997
4221
|
_report = __typia_transform__validateReport._validateReport(errors);
|
|
2998
|
-
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input
|
|
4222
|
+
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input || _report(true, {
|
|
2999
4223
|
path: _path + "",
|
|
3000
|
-
expected: "
|
|
4224
|
+
expected: "AssetRecordProvidedRecord",
|
|
3001
4225
|
value: input
|
|
3002
4226
|
})) && _vo0(input, _path + "", true) || _report(true, {
|
|
3003
4227
|
path: _path + "",
|
|
3004
|
-
expected: "
|
|
4228
|
+
expected: "AssetRecordProvidedRecord",
|
|
3005
4229
|
value: input
|
|
3006
4230
|
}))(input, "$input", true);
|
|
3007
4231
|
const success = 0 === errors.length;
|
|
@@ -6324,6 +7548,98 @@ function _validateDomainRecord(domain, input) {
|
|
|
6324
7548
|
};
|
|
6325
7549
|
}; })()(input);
|
|
6326
7550
|
}
|
|
7551
|
+
case ":device": {
|
|
7552
|
+
return (() => { const _io0 = input => (undefined === input.type || "display" === input.type) && (undefined === input.display || "object" === typeof input.display && null !== input.display && false === Array.isArray(input.display) && _io1(input.display)); const _io1 = input => (undefined === input.activeAsset || "string" === typeof input.activeAsset) && (undefined === input.editor || "string" === typeof input.editor); const _vo0 = (input, _path, _exceptionable = true) => [undefined === input.type || "display" === input.type || _report(_exceptionable, {
|
|
7553
|
+
path: _path + ".type",
|
|
7554
|
+
expected: "(\"display\" | undefined)",
|
|
7555
|
+
value: input.type
|
|
7556
|
+
}), undefined === input.display || ("object" === typeof input.display && null !== input.display && false === Array.isArray(input.display) || _report(_exceptionable, {
|
|
7557
|
+
path: _path + ".display",
|
|
7558
|
+
expected: "(__type | undefined)",
|
|
7559
|
+
value: input.display
|
|
7560
|
+
})) && _vo1(input.display, _path + ".display", true && _exceptionable) || _report(_exceptionable, {
|
|
7561
|
+
path: _path + ".display",
|
|
7562
|
+
expected: "(__type | undefined)",
|
|
7563
|
+
value: input.display
|
|
7564
|
+
})].every(flag => flag); const _vo1 = (input, _path, _exceptionable = true) => [undefined === input.activeAsset || "string" === typeof input.activeAsset || _report(_exceptionable, {
|
|
7565
|
+
path: _path + ".activeAsset",
|
|
7566
|
+
expected: "(string | undefined)",
|
|
7567
|
+
value: input.activeAsset
|
|
7568
|
+
}), undefined === input.editor || "string" === typeof input.editor || _report(_exceptionable, {
|
|
7569
|
+
path: _path + ".editor",
|
|
7570
|
+
expected: "(string | undefined)",
|
|
7571
|
+
value: input.editor
|
|
7572
|
+
})].every(flag => flag); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); let errors; let _report; return input => {
|
|
7573
|
+
if (false === __is(input)) {
|
|
7574
|
+
errors = [];
|
|
7575
|
+
_report = __typia_transform__validateReport._validateReport(errors);
|
|
7576
|
+
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || _report(true, {
|
|
7577
|
+
path: _path + "",
|
|
7578
|
+
expected: "DeviceDomainRecord",
|
|
7579
|
+
value: input
|
|
7580
|
+
})) && _vo0(input, _path + "", true) || _report(true, {
|
|
7581
|
+
path: _path + "",
|
|
7582
|
+
expected: "DeviceDomainRecord",
|
|
7583
|
+
value: input
|
|
7584
|
+
}))(input, "$input", true);
|
|
7585
|
+
const success = 0 === errors.length;
|
|
7586
|
+
return success ? {
|
|
7587
|
+
success,
|
|
7588
|
+
data: input
|
|
7589
|
+
} : {
|
|
7590
|
+
success,
|
|
7591
|
+
errors,
|
|
7592
|
+
data: input
|
|
7593
|
+
};
|
|
7594
|
+
}
|
|
7595
|
+
return {
|
|
7596
|
+
success: true,
|
|
7597
|
+
data: input
|
|
7598
|
+
};
|
|
7599
|
+
}; })()(input);
|
|
7600
|
+
}
|
|
7601
|
+
case ":device.status?": {
|
|
7602
|
+
return (() => { const _io0 = input => (undefined === input.since || "string" === typeof input.since) && (undefined === input.heartbeat || "string" === typeof input.heartbeat) && (undefined === input.version || "string" === typeof input.version); const _vo0 = (input, _path, _exceptionable = true) => [undefined === input.since || "string" === typeof input.since || _report(_exceptionable, {
|
|
7603
|
+
path: _path + ".since",
|
|
7604
|
+
expected: "(string | undefined)",
|
|
7605
|
+
value: input.since
|
|
7606
|
+
}), undefined === input.heartbeat || "string" === typeof input.heartbeat || _report(_exceptionable, {
|
|
7607
|
+
path: _path + ".heartbeat",
|
|
7608
|
+
expected: "(string | undefined)",
|
|
7609
|
+
value: input.heartbeat
|
|
7610
|
+
}), undefined === input.version || "string" === typeof input.version || _report(_exceptionable, {
|
|
7611
|
+
path: _path + ".version",
|
|
7612
|
+
expected: "(string | undefined)",
|
|
7613
|
+
value: input.version
|
|
7614
|
+
})].every(flag => flag); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); let errors; let _report; return input => {
|
|
7615
|
+
if (false === __is(input)) {
|
|
7616
|
+
errors = [];
|
|
7617
|
+
_report = __typia_transform__validateReport._validateReport(errors);
|
|
7618
|
+
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || _report(true, {
|
|
7619
|
+
path: _path + "",
|
|
7620
|
+
expected: "DeviceDomainStatusRecord",
|
|
7621
|
+
value: input
|
|
7622
|
+
})) && _vo0(input, _path + "", true) || _report(true, {
|
|
7623
|
+
path: _path + "",
|
|
7624
|
+
expected: "DeviceDomainStatusRecord",
|
|
7625
|
+
value: input
|
|
7626
|
+
}))(input, "$input", true);
|
|
7627
|
+
const success = 0 === errors.length;
|
|
7628
|
+
return success ? {
|
|
7629
|
+
success,
|
|
7630
|
+
data: input
|
|
7631
|
+
} : {
|
|
7632
|
+
success,
|
|
7633
|
+
errors,
|
|
7634
|
+
data: input
|
|
7635
|
+
};
|
|
7636
|
+
}
|
|
7637
|
+
return {
|
|
7638
|
+
success: true,
|
|
7639
|
+
data: input
|
|
7640
|
+
};
|
|
7641
|
+
}; })()(input);
|
|
7642
|
+
}
|
|
6327
7643
|
case ":edit": {
|
|
6328
7644
|
return (() => { const _io0 = input => "object" === typeof input.nodes && null !== input.nodes && false === Array.isArray(input.nodes) && _io1(input.nodes) && (Array.isArray(input.tracks) && input.tracks.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io1(elem))) && ("object" === typeof input.transitions && null !== input.transitions && false === Array.isArray(input.transitions) && _io1(input.transitions)) && (undefined === input.active || "boolean" === typeof input.active) && (undefined === input.changeId || "string" === typeof input.changeId); const _io1 = input => true; const _vo0 = (input, _path, _exceptionable = true) => [("object" === typeof input.nodes && null !== input.nodes && false === Array.isArray(input.nodes) || _report(_exceptionable, {
|
|
6329
7645
|
path: _path + ".nodes",
|
|
@@ -7529,6 +8845,48 @@ function _validateDomainRecord(domain, input) {
|
|
|
7529
8845
|
};
|
|
7530
8846
|
}; })()(input);
|
|
7531
8847
|
}
|
|
8848
|
+
case ":folder.items": {
|
|
8849
|
+
return (() => { const _io0 = input => Array.isArray(input.value) && input.value.every(elem => "string" === typeof elem); const _vo0 = (input, _path, _exceptionable = true) => [(Array.isArray(input.value) || _report(_exceptionable, {
|
|
8850
|
+
path: _path + ".value",
|
|
8851
|
+
expected: "Array<string>",
|
|
8852
|
+
value: input.value
|
|
8853
|
+
})) && input.value.map((elem, _index2) => "string" === typeof elem || _report(_exceptionable, {
|
|
8854
|
+
path: _path + ".value[" + _index2 + "]",
|
|
8855
|
+
expected: "string",
|
|
8856
|
+
value: elem
|
|
8857
|
+
})).every(flag => flag) || _report(_exceptionable, {
|
|
8858
|
+
path: _path + ".value",
|
|
8859
|
+
expected: "Array<string>",
|
|
8860
|
+
value: input.value
|
|
8861
|
+
})].every(flag => flag); const __is = input => "object" === typeof input && null !== input && _io0(input); let errors; let _report; return input => {
|
|
8862
|
+
if (false === __is(input)) {
|
|
8863
|
+
errors = [];
|
|
8864
|
+
_report = __typia_transform__validateReport._validateReport(errors);
|
|
8865
|
+
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input || _report(true, {
|
|
8866
|
+
path: _path + "",
|
|
8867
|
+
expected: "FolderItemsDomainRecord",
|
|
8868
|
+
value: input
|
|
8869
|
+
})) && _vo0(input, _path + "", true) || _report(true, {
|
|
8870
|
+
path: _path + "",
|
|
8871
|
+
expected: "FolderItemsDomainRecord",
|
|
8872
|
+
value: input
|
|
8873
|
+
}))(input, "$input", true);
|
|
8874
|
+
const success = 0 === errors.length;
|
|
8875
|
+
return success ? {
|
|
8876
|
+
success,
|
|
8877
|
+
data: input
|
|
8878
|
+
} : {
|
|
8879
|
+
success,
|
|
8880
|
+
errors,
|
|
8881
|
+
data: input
|
|
8882
|
+
};
|
|
8883
|
+
}
|
|
8884
|
+
return {
|
|
8885
|
+
success: true,
|
|
8886
|
+
data: input
|
|
8887
|
+
};
|
|
8888
|
+
}; })()(input);
|
|
8889
|
+
}
|
|
7532
8890
|
case ":general.title": {
|
|
7533
8891
|
return (() => { const _io0 = input => undefined === input.value || "string" === typeof input.value; const _vo0 = (input, _path, _exceptionable = true) => [undefined === input.value || "string" === typeof input.value || _report(_exceptionable, {
|
|
7534
8892
|
path: _path + ".value",
|
|
@@ -8007,26 +9365,240 @@ function _validateDomainRecord(domain, input) {
|
|
|
8007
9365
|
}), undefined === input.channel || "string" === typeof input.channel || _report(_exceptionable, {
|
|
8008
9366
|
path: _path + ".channel",
|
|
8009
9367
|
expected: "(string | undefined)",
|
|
8010
|
-
value: input.channel
|
|
8011
|
-
}), undefined === input.schedule || "string" === typeof input.schedule || _report(_exceptionable, {
|
|
8012
|
-
path: _path + ".schedule",
|
|
9368
|
+
value: input.channel
|
|
9369
|
+
}), undefined === input.schedule || "string" === typeof input.schedule || _report(_exceptionable, {
|
|
9370
|
+
path: _path + ".schedule",
|
|
9371
|
+
expected: "(string | undefined)",
|
|
9372
|
+
value: input.schedule
|
|
9373
|
+
}), undefined === input.parent || "string" === typeof input.parent || _report(_exceptionable, {
|
|
9374
|
+
path: _path + ".parent",
|
|
9375
|
+
expected: "(string | undefined)",
|
|
9376
|
+
value: input.parent
|
|
9377
|
+
})].every(flag => flag); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); let errors; let _report; return input => {
|
|
9378
|
+
if (false === __is(input)) {
|
|
9379
|
+
errors = [];
|
|
9380
|
+
_report = __typia_transform__validateReport._validateReport(errors);
|
|
9381
|
+
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || _report(true, {
|
|
9382
|
+
path: _path + "",
|
|
9383
|
+
expected: "IngestclipDomainRecord",
|
|
9384
|
+
value: input
|
|
9385
|
+
})) && _vo0(input, _path + "", true) || _report(true, {
|
|
9386
|
+
path: _path + "",
|
|
9387
|
+
expected: "IngestclipDomainRecord",
|
|
9388
|
+
value: input
|
|
9389
|
+
}))(input, "$input", true);
|
|
9390
|
+
const success = 0 === errors.length;
|
|
9391
|
+
return success ? {
|
|
9392
|
+
success,
|
|
9393
|
+
data: input
|
|
9394
|
+
} : {
|
|
9395
|
+
success,
|
|
9396
|
+
errors,
|
|
9397
|
+
data: input
|
|
9398
|
+
};
|
|
9399
|
+
}
|
|
9400
|
+
return {
|
|
9401
|
+
success: true,
|
|
9402
|
+
data: input
|
|
9403
|
+
};
|
|
9404
|
+
}; })()(input);
|
|
9405
|
+
}
|
|
9406
|
+
case ":ingestschedule": {
|
|
9407
|
+
return (() => { const _io0 = input => (undefined === input.io || "object" === typeof input.io && null !== input.io && false === Array.isArray(input.io) && _io1(input.io)) && (undefined === input.sourcesHint || "string" === typeof input.sourcesHint) && (undefined === input.enabled || "boolean" === typeof input.enabled) && (null !== input.clipname && (undefined === input.clipname || "string" === typeof input.clipname || "object" === typeof input.clipname && null !== input.clipname && _io3(input.clipname))) && (undefined === input.autoTags || Array.isArray(input.autoTags) && input.autoTags.every(elem => "string" === typeof elem)) && (null === input.storyboard || undefined === input.storyboard || "string" === typeof input.storyboard) && (null === input.pipeline || undefined === input.pipeline || "string" === typeof input.pipeline) && (undefined === input.type || "instant" === input.type || "repeat" === input.type || "salami" === input.type) && (undefined === input.salami || "object" === typeof input.salami && null !== input.salami && false === Array.isArray(input.salami) && _io5(input.salami)) && (undefined === input.repeat || "object" === typeof input.repeat && null !== input.repeat && false === Array.isArray(input.repeat) && _io6(input.repeat)); const _io1 = input => Object.keys(input).every(key => {
|
|
9408
|
+
const value = input[key];
|
|
9409
|
+
if (undefined === value)
|
|
9410
|
+
return true;
|
|
9411
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io2(value);
|
|
9412
|
+
}); const _io2 = input => (undefined === input.route || "string" === typeof input.route) && (undefined === input.publish || Array.isArray(input.publish) && input.publish.every(elem => "string" === typeof elem)); const _io3 = input => "object" === typeof input.__context && null !== input.__context && false === Array.isArray(input.__context) && _io4(input.__context) && "string" === typeof input.__returnValue; const _io4 = input => true; const _io5 = input => (null === input.gallery || undefined === input.gallery || "string" === typeof input.gallery) && (undefined === input.tag || "string" === typeof input.tag); const _io6 = input => (undefined === input.freq || 0 === input.freq || 2 === input.freq || 3 === input.freq) && (undefined === input.until || "string" === typeof input.until) && (undefined === input.start || "string" === typeof input.start) && (undefined === input.tzid || "string" === typeof input.tzid) && (undefined === input.duration || "number" === typeof input.duration) && (undefined === input.byweekday || Array.isArray(input.byweekday) && input.byweekday.every(elem => "number" === typeof elem)); const _vo0 = (input, _path, _exceptionable = true) => [undefined === input.io || ("object" === typeof input.io && null !== input.io && false === Array.isArray(input.io) || _report(_exceptionable, {
|
|
9413
|
+
path: _path + ".io",
|
|
9414
|
+
expected: "(__type | undefined)",
|
|
9415
|
+
value: input.io
|
|
9416
|
+
})) && _vo1(input.io, _path + ".io", true && _exceptionable) || _report(_exceptionable, {
|
|
9417
|
+
path: _path + ".io",
|
|
9418
|
+
expected: "(__type | undefined)",
|
|
9419
|
+
value: input.io
|
|
9420
|
+
}), undefined === input.sourcesHint || "string" === typeof input.sourcesHint || _report(_exceptionable, {
|
|
9421
|
+
path: _path + ".sourcesHint",
|
|
9422
|
+
expected: "(string | undefined)",
|
|
9423
|
+
value: input.sourcesHint
|
|
9424
|
+
}), undefined === input.enabled || "boolean" === typeof input.enabled || _report(_exceptionable, {
|
|
9425
|
+
path: _path + ".enabled",
|
|
9426
|
+
expected: "(boolean | undefined)",
|
|
9427
|
+
value: input.enabled
|
|
9428
|
+
}), (null !== input.clipname || _report(_exceptionable, {
|
|
9429
|
+
path: _path + ".clipname",
|
|
9430
|
+
expected: "(__type.o1 | string | undefined)",
|
|
9431
|
+
value: input.clipname
|
|
9432
|
+
})) && (undefined === input.clipname || "string" === typeof input.clipname || ("object" === typeof input.clipname && null !== input.clipname || _report(_exceptionable, {
|
|
9433
|
+
path: _path + ".clipname",
|
|
9434
|
+
expected: "(__type.o1 | string | undefined)",
|
|
9435
|
+
value: input.clipname
|
|
9436
|
+
})) && _vo3(input.clipname, _path + ".clipname", true && _exceptionable) || _report(_exceptionable, {
|
|
9437
|
+
path: _path + ".clipname",
|
|
9438
|
+
expected: "(__type.o1 | string | undefined)",
|
|
9439
|
+
value: input.clipname
|
|
9440
|
+
})), undefined === input.autoTags || (Array.isArray(input.autoTags) || _report(_exceptionable, {
|
|
9441
|
+
path: _path + ".autoTags",
|
|
9442
|
+
expected: "(Array<string> | undefined)",
|
|
9443
|
+
value: input.autoTags
|
|
9444
|
+
})) && input.autoTags.map((elem, _index4) => "string" === typeof elem || _report(_exceptionable, {
|
|
9445
|
+
path: _path + ".autoTags[" + _index4 + "]",
|
|
9446
|
+
expected: "string",
|
|
9447
|
+
value: elem
|
|
9448
|
+
})).every(flag => flag) || _report(_exceptionable, {
|
|
9449
|
+
path: _path + ".autoTags",
|
|
9450
|
+
expected: "(Array<string> | undefined)",
|
|
9451
|
+
value: input.autoTags
|
|
9452
|
+
}), null === input.storyboard || undefined === input.storyboard || "string" === typeof input.storyboard || _report(_exceptionable, {
|
|
9453
|
+
path: _path + ".storyboard",
|
|
9454
|
+
expected: "(null | string | undefined)",
|
|
9455
|
+
value: input.storyboard
|
|
9456
|
+
}), null === input.pipeline || undefined === input.pipeline || "string" === typeof input.pipeline || _report(_exceptionable, {
|
|
9457
|
+
path: _path + ".pipeline",
|
|
9458
|
+
expected: "(null | string | undefined)",
|
|
9459
|
+
value: input.pipeline
|
|
9460
|
+
}), undefined === input.type || "instant" === input.type || "repeat" === input.type || "salami" === input.type || _report(_exceptionable, {
|
|
9461
|
+
path: _path + ".type",
|
|
9462
|
+
expected: "(\"instant\" | \"repeat\" | \"salami\" | undefined)",
|
|
9463
|
+
value: input.type
|
|
9464
|
+
}), undefined === input.salami || ("object" === typeof input.salami && null !== input.salami && false === Array.isArray(input.salami) || _report(_exceptionable, {
|
|
9465
|
+
path: _path + ".salami",
|
|
9466
|
+
expected: "(__type.o2 | undefined)",
|
|
9467
|
+
value: input.salami
|
|
9468
|
+
})) && _vo5(input.salami, _path + ".salami", true && _exceptionable) || _report(_exceptionable, {
|
|
9469
|
+
path: _path + ".salami",
|
|
9470
|
+
expected: "(__type.o2 | undefined)",
|
|
9471
|
+
value: input.salami
|
|
9472
|
+
}), undefined === input.repeat || ("object" === typeof input.repeat && null !== input.repeat && false === Array.isArray(input.repeat) || _report(_exceptionable, {
|
|
9473
|
+
path: _path + ".repeat",
|
|
9474
|
+
expected: "(IngestScheduleRepeat | undefined)",
|
|
9475
|
+
value: input.repeat
|
|
9476
|
+
})) && _vo6(input.repeat, _path + ".repeat", true && _exceptionable) || _report(_exceptionable, {
|
|
9477
|
+
path: _path + ".repeat",
|
|
9478
|
+
expected: "(IngestScheduleRepeat | undefined)",
|
|
9479
|
+
value: input.repeat
|
|
9480
|
+
})].every(flag => flag); const _vo1 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
9481
|
+
const value = input[key];
|
|
9482
|
+
if (undefined === value)
|
|
9483
|
+
return true;
|
|
9484
|
+
return ("object" === typeof value && null !== value && false === Array.isArray(value) || _report(_exceptionable, {
|
|
9485
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
9486
|
+
expected: "IngestIo",
|
|
9487
|
+
value: value
|
|
9488
|
+
})) && _vo2(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || _report(_exceptionable, {
|
|
9489
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
9490
|
+
expected: "IngestIo",
|
|
9491
|
+
value: value
|
|
9492
|
+
});
|
|
9493
|
+
}).every(flag => flag)].every(flag => flag); const _vo2 = (input, _path, _exceptionable = true) => [undefined === input.route || "string" === typeof input.route || _report(_exceptionable, {
|
|
9494
|
+
path: _path + ".route",
|
|
9495
|
+
expected: "(string | undefined)",
|
|
9496
|
+
value: input.route
|
|
9497
|
+
}), undefined === input.publish || (Array.isArray(input.publish) || _report(_exceptionable, {
|
|
9498
|
+
path: _path + ".publish",
|
|
9499
|
+
expected: "(Array<string> | undefined)",
|
|
9500
|
+
value: input.publish
|
|
9501
|
+
})) && input.publish.map((elem, _index5) => "string" === typeof elem || _report(_exceptionable, {
|
|
9502
|
+
path: _path + ".publish[" + _index5 + "]",
|
|
9503
|
+
expected: "string",
|
|
9504
|
+
value: elem
|
|
9505
|
+
})).every(flag => flag) || _report(_exceptionable, {
|
|
9506
|
+
path: _path + ".publish",
|
|
9507
|
+
expected: "(Array<string> | undefined)",
|
|
9508
|
+
value: input.publish
|
|
9509
|
+
})].every(flag => flag); const _vo3 = (input, _path, _exceptionable = true) => [("object" === typeof input.__context && null !== input.__context && false === Array.isArray(input.__context) || _report(_exceptionable, {
|
|
9510
|
+
path: _path + ".__context",
|
|
9511
|
+
expected: "object",
|
|
9512
|
+
value: input.__context
|
|
9513
|
+
})) && _vo4(input.__context, _path + ".__context", true && _exceptionable) || _report(_exceptionable, {
|
|
9514
|
+
path: _path + ".__context",
|
|
9515
|
+
expected: "object",
|
|
9516
|
+
value: input.__context
|
|
9517
|
+
}), "string" === typeof input.__returnValue || _report(_exceptionable, {
|
|
9518
|
+
path: _path + ".__returnValue",
|
|
9519
|
+
expected: "string",
|
|
9520
|
+
value: input.__returnValue
|
|
9521
|
+
})].every(flag => flag); const _vo4 = (input, _path, _exceptionable = true) => true; const _vo5 = (input, _path, _exceptionable = true) => [null === input.gallery || undefined === input.gallery || "string" === typeof input.gallery || _report(_exceptionable, {
|
|
9522
|
+
path: _path + ".gallery",
|
|
9523
|
+
expected: "(null | string | undefined)",
|
|
9524
|
+
value: input.gallery
|
|
9525
|
+
}), undefined === input.tag || "string" === typeof input.tag || _report(_exceptionable, {
|
|
9526
|
+
path: _path + ".tag",
|
|
9527
|
+
expected: "(string | undefined)",
|
|
9528
|
+
value: input.tag
|
|
9529
|
+
})].every(flag => flag); const _vo6 = (input, _path, _exceptionable = true) => [undefined === input.freq || 0 === input.freq || 2 === input.freq || 3 === input.freq || _report(_exceptionable, {
|
|
9530
|
+
path: _path + ".freq",
|
|
9531
|
+
expected: "(0 | 2 | 3 | undefined)",
|
|
9532
|
+
value: input.freq
|
|
9533
|
+
}), undefined === input.until || "string" === typeof input.until || _report(_exceptionable, {
|
|
9534
|
+
path: _path + ".until",
|
|
9535
|
+
expected: "(string | undefined)",
|
|
9536
|
+
value: input.until
|
|
9537
|
+
}), undefined === input.start || "string" === typeof input.start || _report(_exceptionable, {
|
|
9538
|
+
path: _path + ".start",
|
|
8013
9539
|
expected: "(string | undefined)",
|
|
8014
|
-
value: input.
|
|
8015
|
-
}), undefined === input.
|
|
8016
|
-
path: _path + ".
|
|
9540
|
+
value: input.start
|
|
9541
|
+
}), undefined === input.tzid || "string" === typeof input.tzid || _report(_exceptionable, {
|
|
9542
|
+
path: _path + ".tzid",
|
|
8017
9543
|
expected: "(string | undefined)",
|
|
8018
|
-
value: input.
|
|
9544
|
+
value: input.tzid
|
|
9545
|
+
}), undefined === input.duration || "number" === typeof input.duration || _report(_exceptionable, {
|
|
9546
|
+
path: _path + ".duration",
|
|
9547
|
+
expected: "(number | undefined)",
|
|
9548
|
+
value: input.duration
|
|
9549
|
+
}), undefined === input.byweekday || (Array.isArray(input.byweekday) || _report(_exceptionable, {
|
|
9550
|
+
path: _path + ".byweekday",
|
|
9551
|
+
expected: "(Array<number> | undefined)",
|
|
9552
|
+
value: input.byweekday
|
|
9553
|
+
})) && input.byweekday.map((elem, _index6) => "number" === typeof elem || _report(_exceptionable, {
|
|
9554
|
+
path: _path + ".byweekday[" + _index6 + "]",
|
|
9555
|
+
expected: "number",
|
|
9556
|
+
value: elem
|
|
9557
|
+
})).every(flag => flag) || _report(_exceptionable, {
|
|
9558
|
+
path: _path + ".byweekday",
|
|
9559
|
+
expected: "(Array<number> | undefined)",
|
|
9560
|
+
value: input.byweekday
|
|
8019
9561
|
})].every(flag => flag); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); let errors; let _report; return input => {
|
|
8020
9562
|
if (false === __is(input)) {
|
|
8021
9563
|
errors = [];
|
|
8022
9564
|
_report = __typia_transform__validateReport._validateReport(errors);
|
|
8023
9565
|
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || _report(true, {
|
|
8024
9566
|
path: _path + "",
|
|
8025
|
-
expected: "
|
|
9567
|
+
expected: "IngestScheduleDomainRecord",
|
|
8026
9568
|
value: input
|
|
8027
9569
|
})) && _vo0(input, _path + "", true) || _report(true, {
|
|
8028
9570
|
path: _path + "",
|
|
8029
|
-
expected: "
|
|
9571
|
+
expected: "IngestScheduleDomainRecord",
|
|
9572
|
+
value: input
|
|
9573
|
+
}))(input, "$input", true);
|
|
9574
|
+
const success = 0 === errors.length;
|
|
9575
|
+
return success ? {
|
|
9576
|
+
success,
|
|
9577
|
+
data: input
|
|
9578
|
+
} : {
|
|
9579
|
+
success,
|
|
9580
|
+
errors,
|
|
9581
|
+
data: input
|
|
9582
|
+
};
|
|
9583
|
+
}
|
|
9584
|
+
return {
|
|
9585
|
+
success: true,
|
|
9586
|
+
data: input
|
|
9587
|
+
};
|
|
9588
|
+
}; })()(input);
|
|
9589
|
+
}
|
|
9590
|
+
case ":ingestschedule.stats?": {
|
|
9591
|
+
return (() => { const _io0 = input => true; const _vo0 = (input, _path, _exceptionable = true) => [true].every(flag => flag); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); let errors; let _report; return input => {
|
|
9592
|
+
if (false === __is(input)) {
|
|
9593
|
+
errors = [];
|
|
9594
|
+
_report = __typia_transform__validateReport._validateReport(errors);
|
|
9595
|
+
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || _report(true, {
|
|
9596
|
+
path: _path + "",
|
|
9597
|
+
expected: "IngestScheduleDomainStatsRecord",
|
|
9598
|
+
value: input
|
|
9599
|
+
})) && _vo0(input, _path + "", true) || _report(true, {
|
|
9600
|
+
path: _path + "",
|
|
9601
|
+
expected: "IngestScheduleDomainStatsRecord",
|
|
8030
9602
|
value: input
|
|
8031
9603
|
}))(input, "$input", true);
|
|
8032
9604
|
const success = 0 === errors.length;
|
|
@@ -9717,13 +11289,47 @@ function _validateDomainRecord(domain, input) {
|
|
|
9717
11289
|
};
|
|
9718
11290
|
}; })()(input);
|
|
9719
11291
|
}
|
|
11292
|
+
case ":note": {
|
|
11293
|
+
return (() => { const _io0 = input => "string" === typeof input.value; const _vo0 = (input, _path, _exceptionable = true) => ["string" === typeof input.value || _report(_exceptionable, {
|
|
11294
|
+
path: _path + ".value",
|
|
11295
|
+
expected: "string",
|
|
11296
|
+
value: input.value
|
|
11297
|
+
})].every(flag => flag); const __is = input => "object" === typeof input && null !== input && _io0(input); let errors; let _report; return input => {
|
|
11298
|
+
if (false === __is(input)) {
|
|
11299
|
+
errors = [];
|
|
11300
|
+
_report = __typia_transform__validateReport._validateReport(errors);
|
|
11301
|
+
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input || _report(true, {
|
|
11302
|
+
path: _path + "",
|
|
11303
|
+
expected: "NoteDomainRecord",
|
|
11304
|
+
value: input
|
|
11305
|
+
})) && _vo0(input, _path + "", true) || _report(true, {
|
|
11306
|
+
path: _path + "",
|
|
11307
|
+
expected: "NoteDomainRecord",
|
|
11308
|
+
value: input
|
|
11309
|
+
}))(input, "$input", true);
|
|
11310
|
+
const success = 0 === errors.length;
|
|
11311
|
+
return success ? {
|
|
11312
|
+
success,
|
|
11313
|
+
data: input
|
|
11314
|
+
} : {
|
|
11315
|
+
success,
|
|
11316
|
+
errors,
|
|
11317
|
+
data: input
|
|
11318
|
+
};
|
|
11319
|
+
}
|
|
11320
|
+
return {
|
|
11321
|
+
success: true,
|
|
11322
|
+
data: input
|
|
11323
|
+
};
|
|
11324
|
+
}; })()(input);
|
|
11325
|
+
}
|
|
9720
11326
|
case ":panel": {
|
|
9721
11327
|
return (() => { const _io0 = input => (undefined === input.title || "string" === typeof input.title) && (null !== input.supports && (undefined === input.supports || "string" === typeof input.supports || Array.isArray(input.supports) && input.supports.every(elem => "string" === typeof elem))) && (undefined === input.priority || "number" === typeof input.priority) && (undefined === input.editorPriority || "number" === typeof input.editorPriority) && (undefined === input.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && _io1(input.properties)) && (undefined === input.layout || "object" === typeof input.layout && null !== input.layout && false === Array.isArray(input.layout) && _io6(input.layout)) && true && true; const _io1 = input => Object.keys(input).every(key => {
|
|
9722
11328
|
const value = input[key];
|
|
9723
11329
|
if (undefined === value)
|
|
9724
11330
|
return true;
|
|
9725
11331
|
return "object" === typeof value && null !== value && _io2(value);
|
|
9726
|
-
}); const _io2 = input => ("string" === input.type || "number" === input.type || "boolean" === input.type || "object" === input.type || "array" === input.type || "asset" === input.type || "datetime" === input.type || "rpc" === input.type) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.domain || "string" === typeof input.domain) && (undefined === input.path || "string" === typeof input.path) && true && (undefined === input.index || "object" === typeof input.index && null !== input.index && _io3(input.index)) && (undefined === input.required || "boolean" === typeof input.required) && (undefined === input.oneOf || Array.isArray(input.oneOf) && input.oneOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io4(elem))) && (undefined === input.anyOf || Array.isArray(input.anyOf) && input.anyOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io5(elem))); const _io3 = input => "string" === typeof input.label && "string" === typeof input.path; const _io4 = input => true && (undefined === input.title || "string" === typeof input.title); const _io5 = input => true && (undefined === input.title || "string" === typeof input.title); const _io6 = input => null !== input.panel && (undefined === input.panel || "string" === typeof input.panel || (Array.isArray(input.panel) && (_ia0(input.panel) || false) || "object" === typeof input.panel && null !== input.panel && _iu0(input.panel))) && (null !== input.editor && (undefined === input.editor || "string" === typeof input.editor || (Array.isArray(input.editor) && (_ia0(input.editor) || false) || "object" === typeof input.editor && null !== input.editor && _iu0(input.editor)))); const _io7 = input => "divider" === input.type && (undefined === input.title || "string" === typeof input.title); const _io8 = input => "string" === typeof input.property && (undefined === input.width || "string" === typeof input.width || "number" === typeof input.width) && (null !== input.widget && (undefined === input.widget || "default" === input.widget || "
|
|
11332
|
+
}); const _io2 = input => ("string" === input.type || "number" === input.type || "boolean" === input.type || "object" === input.type || "array" === input.type || "asset" === input.type || "datetime" === input.type || "rpc" === input.type) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.domain || "string" === typeof input.domain) && (undefined === input.path || "string" === typeof input.path) && true && (undefined === input.index || "object" === typeof input.index && null !== input.index && _io3(input.index)) && (undefined === input.required || "boolean" === typeof input.required) && (undefined === input.oneOf || Array.isArray(input.oneOf) && input.oneOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io4(elem))) && (undefined === input.anyOf || Array.isArray(input.anyOf) && input.anyOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io5(elem))) && (undefined === input["enum"] || Array.isArray(input["enum"])); const _io3 = input => "string" === typeof input.label && "string" === typeof input.path; const _io4 = input => true && (undefined === input.title || "string" === typeof input.title); const _io5 = input => true && (undefined === input.title || "string" === typeof input.title); const _io6 = input => null !== input.panel && (undefined === input.panel || "string" === typeof input.panel || (Array.isArray(input.panel) && (_ia0(input.panel) || false) || "object" === typeof input.panel && null !== input.panel && _iu0(input.panel))) && (null !== input.editor && (undefined === input.editor || "string" === typeof input.editor || (Array.isArray(input.editor) && (_ia0(input.editor) || false) || "object" === typeof input.editor && null !== input.editor && _iu0(input.editor)))); const _io7 = input => "divider" === input.type && (undefined === input.title || "string" === typeof input.title); const _io8 = input => "string" === typeof input.property && (undefined === input.width || "string" === typeof input.width || "number" === typeof input.width) && (null !== input.widget && (undefined === input.widget || "default" === input.widget || "tags" === input.widget || "assetTypes" === input.widget || "assetTags" === input.widget || "geopoint" === input.widget || "poster" === input.widget || "textarea" === input.widget || "object" === typeof input.widget && null !== input.widget && _io9(input.widget))); const _io9 = input => ("default" === input.type || "tags" === input.type || "assetTypes" === input.type || "assetTags" === input.type || "geopoint" === input.type || "poster" === input.type || "textarea" === input.type) && (undefined === input.readOnly || "boolean" === typeof input.readOnly); const _iu0 = input => (() => {
|
|
9727
11333
|
if (undefined !== input.type)
|
|
9728
11334
|
return _io7(input);
|
|
9729
11335
|
else if (undefined !== input.property)
|
|
@@ -9780,11 +11386,11 @@ function _validateDomainRecord(domain, input) {
|
|
|
9780
11386
|
return true;
|
|
9781
11387
|
return ("object" === typeof value && null !== value || _report(_exceptionable, {
|
|
9782
11388
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
9783
|
-
expected: "PanelProperty",
|
|
11389
|
+
expected: "PanelProperty<unknown>",
|
|
9784
11390
|
value: value
|
|
9785
11391
|
})) && _vo2(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || _report(_exceptionable, {
|
|
9786
11392
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
9787
|
-
expected: "PanelProperty",
|
|
11393
|
+
expected: "PanelProperty<unknown>",
|
|
9788
11394
|
value: value
|
|
9789
11395
|
});
|
|
9790
11396
|
}).every(flag => flag)].every(flag => flag); const _vo2 = (input, _path, _exceptionable = true) => ["string" === input.type || "number" === input.type || "boolean" === input.type || "object" === input.type || "array" === input.type || "asset" === input.type || "datetime" === input.type || "rpc" === input.type || _report(_exceptionable, {
|
|
@@ -9851,6 +11457,10 @@ function _validateDomainRecord(domain, input) {
|
|
|
9851
11457
|
path: _path + ".anyOf",
|
|
9852
11458
|
expected: "(Array<__type>.o1 | undefined)",
|
|
9853
11459
|
value: input.anyOf
|
|
11460
|
+
}), undefined === input["enum"] || Array.isArray(input["enum"]) || _report(_exceptionable, {
|
|
11461
|
+
path: _path + "[\"enum\"]",
|
|
11462
|
+
expected: "(Array<unknown> | undefined)",
|
|
11463
|
+
value: input["enum"]
|
|
9854
11464
|
})].every(flag => flag); const _vo3 = (input, _path, _exceptionable = true) => ["string" === typeof input.label || _report(_exceptionable, {
|
|
9855
11465
|
path: _path + ".label",
|
|
9856
11466
|
expected: "string",
|
|
@@ -9919,7 +11529,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
9919
11529
|
path: _path + ".widget",
|
|
9920
11530
|
expected: "(\"assetTags\" | \"assetTypes\" | \"default\" | \"geopoint\" | \"poster\" | \"tags\" | \"textarea\" | WidgetItem | undefined)",
|
|
9921
11531
|
value: input.widget
|
|
9922
|
-
})) && (undefined === input.widget || "default" === input.widget || "
|
|
11532
|
+
})) && (undefined === input.widget || "default" === input.widget || "tags" === input.widget || "assetTypes" === input.widget || "assetTags" === input.widget || "geopoint" === input.widget || "poster" === input.widget || "textarea" === input.widget || ("object" === typeof input.widget && null !== input.widget || _report(_exceptionable, {
|
|
9923
11533
|
path: _path + ".widget",
|
|
9924
11534
|
expected: "(\"assetTags\" | \"assetTypes\" | \"default\" | \"geopoint\" | \"poster\" | \"tags\" | \"textarea\" | WidgetItem | undefined)",
|
|
9925
11535
|
value: input.widget
|
|
@@ -9927,7 +11537,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
9927
11537
|
path: _path + ".widget",
|
|
9928
11538
|
expected: "(\"assetTags\" | \"assetTypes\" | \"default\" | \"geopoint\" | \"poster\" | \"tags\" | \"textarea\" | WidgetItem | undefined)",
|
|
9929
11539
|
value: input.widget
|
|
9930
|
-
}))].every(flag => flag); const _vo9 = (input, _path, _exceptionable = true) => ["default" === input.type || "
|
|
11540
|
+
}))].every(flag => flag); const _vo9 = (input, _path, _exceptionable = true) => ["default" === input.type || "tags" === input.type || "assetTypes" === input.type || "assetTags" === input.type || "geopoint" === input.type || "poster" === input.type || "textarea" === input.type || _report(_exceptionable, {
|
|
9931
11541
|
path: _path + ".type",
|
|
9932
11542
|
expected: "(\"assetTags\" | \"assetTypes\" | \"default\" | \"geopoint\" | \"poster\" | \"tags\" | \"textarea\")",
|
|
9933
11543
|
value: input.type
|
|
@@ -14800,7 +16410,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
14800
16410
|
}; })()(input);
|
|
14801
16411
|
}
|
|
14802
16412
|
case ":settings": {
|
|
14803
|
-
return (() => { const _iv22 = new Set(["name", "fontname", "fontsize", "primaryColour", "secondaryColour", "outlineColour", "backColour", "bold", "italic", "underline", "strikeOut", "scaleX", "scaleY", "spacing", "angle", "borderStyle", "outline", "shadow", "alignment", "marginL", "marginR", "marginV", "encoding"]); const
|
|
16413
|
+
return (() => { const _iv22 = new Set(["name", "fontname", "fontsize", "primaryColour", "secondaryColour", "outlineColour", "backColour", "bold", "italic", "underline", "strikeOut", "scaleX", "scaleY", "spacing", "angle", "borderStyle", "outline", "shadow", "alignment", "marginL", "marginR", "marginV", "encoding"]); const _iv27 = new Set(["default", "manual", "az", "za", "newest", "oldest", "mostrecent", "leastrecent", "earliestdeadline", "latestdeadline"]); const _vv55 = new Set(["name", "fontname", "fontsize", "primaryColour", "secondaryColour", "outlineColour", "backColour", "bold", "italic", "underline", "strikeOut", "scaleX", "scaleY", "spacing", "angle", "borderStyle", "outline", "shadow", "alignment", "marginL", "marginR", "marginV", "encoding"]); const _vv60 = new Set(["default", "manual", "az", "za", "newest", "oldest", "mostrecent", "leastrecent", "earliestdeadline", "latestdeadline"]); const _io0 = input => (undefined === input.autoLogoutTime || "number" === typeof input.autoLogoutTime) && (undefined === input.permission || "object" === typeof input.permission && null !== input.permission && false === Array.isArray(input.permission) && _io1(input.permission)) && (undefined === input["module"] || "object" === typeof input["module"] && null !== input["module"] && false === Array.isArray(input["module"]) && _io2(input["module"])) && (undefined === input.upload || "object" === typeof input.upload && null !== input.upload && false === Array.isArray(input.upload) && _io6(input.upload)) && (undefined === input.download || "object" === typeof input.download && null !== input.download && false === Array.isArray(input.download) && _io7(input.download)) && (undefined === input.browser || "object" === typeof input.browser && null !== input.browser && false === Array.isArray(input.browser) && _io8(input.browser)) && (undefined === input.toolbarTags || "object" === typeof input.toolbarTags && null !== input.toolbarTags && false === Array.isArray(input.toolbarTags) && _io12(input.toolbarTags)) && (undefined === input.exclusiveTagGroups || Array.isArray(input.exclusiveTagGroups) && input.exclusiveTagGroups.every(elem => Array.isArray(elem) && elem.every(elem => "string" === typeof elem))) && (undefined === input.deadlines || "object" === typeof input.deadlines && null !== input.deadlines && false === Array.isArray(input.deadlines) && _io13(input.deadlines)) && (undefined === input.assignees || "object" === typeof input.assignees && null !== input.assignees && false === Array.isArray(input.assignees) && _io14(input.assignees)) && (undefined === input.comments || "object" === typeof input.comments && null !== input.comments && false === Array.isArray(input.comments) && _io15(input.comments)) && (undefined === input.clock || "object" === typeof input.clock && null !== input.clock && false === Array.isArray(input.clock) && _io16(input.clock)) && (undefined === input.swarm || "object" === typeof input.swarm && null !== input.swarm && false === Array.isArray(input.swarm) && _io17(input.swarm)) && (undefined === input.dashboard || "object" === typeof input.dashboard && null !== input.dashboard && false === Array.isArray(input.dashboard) && _io18(input.dashboard)) && (undefined === input.script || "object" === typeof input.script && null !== input.script && false === Array.isArray(input.script) && _io20(input.script)) && (undefined === input.events || "object" === typeof input.events && null !== input.events && false === Array.isArray(input.events) && _io25(input.events)) && (undefined === input.rundown || "object" === typeof input.rundown && null !== input.rundown && _io28(input.rundown)) && (undefined === input.gallery || "object" === typeof input.gallery && null !== input.gallery && false === Array.isArray(input.gallery) && _io29(input.gallery)) && (undefined === input.history || "boolean" === typeof input.history) && (undefined === input.keymap || "object" === typeof input.keymap && null !== input.keymap && false === Array.isArray(input.keymap) && _io30(input.keymap)) && (undefined === input.media || "object" === typeof input.media && null !== input.media && false === Array.isArray(input.media) && _io43(input.media)) && (undefined === input.edit || "object" === typeof input.edit && null !== input.edit && false === Array.isArray(input.edit) && _io56(input.edit)) && (undefined === input.commands || Array.isArray(input.commands) && input.commands.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io60(elem))) && (undefined === input.predefinedTags || Array.isArray(input.predefinedTags) && input.predefinedTags.every(elem => "string" === typeof elem)) && (undefined === input.storyboard || "object" === typeof input.storyboard && null !== input.storyboard && false === Array.isArray(input.storyboard) && _io61(input.storyboard)) && (undefined === input.print || "object" === typeof input.print && null !== input.print && false === Array.isArray(input.print) && _io70(input.print)) && (undefined === input.hiddenPreviews || Array.isArray(input.hiddenPreviews) && input.hiddenPreviews.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io71(elem))) && (undefined === input.plugins || "object" === typeof input.plugins && null !== input.plugins && false === Array.isArray(input.plugins) && _io72(input.plugins)) && (undefined === input.crashScreen || "boolean" === typeof input.crashScreen) && (undefined === input.debug || "boolean" === typeof input.debug) && (undefined === input.featurePreview || "object" === typeof input.featurePreview && null !== input.featurePreview && false === Array.isArray(input.featurePreview) && _io75(input.featurePreview)) && (undefined === input.flags || "object" === typeof input.flags && null !== input.flags && false === Array.isArray(input.flags) && _io76(input.flags)) && (undefined === input.notifications || "object" === typeof input.notifications && null !== input.notifications && false === Array.isArray(input.notifications) && _io77(input.notifications)) && (undefined === input.suppressDeleteAlert || "boolean" === typeof input.suppressDeleteAlert) && (undefined === input.clone || "object" === typeof input.clone && null !== input.clone && false === Array.isArray(input.clone) && _io80(input.clone)) && (undefined === input.utilsAssetEditorPanel || "object" === typeof input.utilsAssetEditorPanel && null !== input.utilsAssetEditorPanel && false === Array.isArray(input.utilsAssetEditorPanel) && _io82(input.utilsAssetEditorPanel)) && (undefined === input.display || "object" === typeof input.display && null !== input.display && false === Array.isArray(input.display) && _io83(input.display)) && (undefined === input.bookmarks || "object" === typeof input.bookmarks && null !== input.bookmarks && false === Array.isArray(input.bookmarks) && _io84(input.bookmarks)); const _io1 = input => (undefined === input.overrideUserContact || "boolean" === typeof input.overrideUserContact) && (undefined === input.overrideUserLogin || "boolean" === typeof input.overrideUserLogin); const _io2 = input => (undefined === input.editor || "string" === typeof input.editor) && (undefined === input.tabs || "object" === typeof input.tabs && null !== input.tabs && false === Array.isArray(input.tabs) && _io3(input.tabs)); const _io3 = input => (undefined === input.settingsPanelStore || "object" === typeof input.settingsPanelStore && null !== input.settingsPanelStore && false === Array.isArray(input.settingsPanelStore) && _io4(input.settingsPanelStore)) && Object.keys(input).every(key => {
|
|
14804
16414
|
if (["settingsPanelStore"].some(prop => key === prop))
|
|
14805
16415
|
return true;
|
|
14806
16416
|
const value = input[key];
|
|
@@ -14817,7 +16427,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
14817
16427
|
if (undefined === value)
|
|
14818
16428
|
return true;
|
|
14819
16429
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io27(value);
|
|
14820
|
-
}); const _io27 = input => (undefined === input.event || "string" === typeof input.event) && (undefined === input.property || "string" === typeof input.property); const _io28 = input => undefined === input.eventThumbnails || "boolean" === typeof input.eventThumbnails; const _io29 = input => (undefined === input.dimOnBlur || "boolean" === typeof input.dimOnBlur) && (undefined === input.float || "rundown" === input.float || "gallery" === input.float || "disabled" === input.float) && (undefined === input.countFloatedDuration || "boolean" === typeof input.countFloatedDuration); const _io30 = input => (undefined === input.display || "object" === typeof input.display && null !== input.display && false === Array.isArray(input.display) && _io31(input.display)) && (undefined === input.browser || "object" === typeof input.browser && null !== input.browser && false === Array.isArray(input.browser) && _io33(input.browser)) && (undefined === input.gallery || "object" === typeof input.gallery && null !== input.gallery && false === Array.isArray(input.gallery) && _io34(input.gallery)) && (undefined === input.global || "object" === typeof input.global && null !== input.global && false === Array.isArray(input.global) && _io35(input.global)) && (undefined === input.player || "object" === typeof input.player && null !== input.player && false === Array.isArray(input.player) && _io36(input.player)) && (undefined === input.script || "object" === typeof input.script && null !== input.script && false === Array.isArray(input.script) && _io37(input.script)) && (undefined === input.codeEditor || "object" === typeof input.codeEditor && null !== input.codeEditor && false === Array.isArray(input.codeEditor) && _io38(input.codeEditor)) && (undefined === input.bookmarks || "object" === typeof input.bookmarks && null !== input.bookmarks && false === Array.isArray(input.bookmarks) && _io39(input.bookmarks)) && (undefined === input.edit || "object" === typeof input.edit && null !== input.edit && false === Array.isArray(input.edit) && _io40(input.edit)) && (undefined === input.rundown || "object" === typeof input.rundown && null !== input.rundown && false === Array.isArray(input.rundown) && _io41(input.rundown)) && (undefined === input.segment || "object" === typeof input.segment && null !== input.segment && false === Array.isArray(input.segment) && _io42(input.segment)); const _io31 = input => Object.keys(input).every(key => {
|
|
16430
|
+
}); const _io27 = input => (undefined === input.event || "string" === typeof input.event) && (undefined === input.property || "string" === typeof input.property); const _io28 = input => (undefined === input.eventThumbnails || "boolean" === typeof input.eventThumbnails) && ("folded" === input.scriptEventFolding || "unfoldedUntilFolded" === input.scriptEventFolding); const _io29 = input => (undefined === input.dimOnBlur || "boolean" === typeof input.dimOnBlur) && (undefined === input.float || "rundown" === input.float || "gallery" === input.float || "disabled" === input.float) && (undefined === input.countFloatedDuration || "boolean" === typeof input.countFloatedDuration); const _io30 = input => (undefined === input.display || "object" === typeof input.display && null !== input.display && false === Array.isArray(input.display) && _io31(input.display)) && (undefined === input.browser || "object" === typeof input.browser && null !== input.browser && false === Array.isArray(input.browser) && _io33(input.browser)) && (undefined === input.gallery || "object" === typeof input.gallery && null !== input.gallery && false === Array.isArray(input.gallery) && _io34(input.gallery)) && (undefined === input.global || "object" === typeof input.global && null !== input.global && false === Array.isArray(input.global) && _io35(input.global)) && (undefined === input.player || "object" === typeof input.player && null !== input.player && false === Array.isArray(input.player) && _io36(input.player)) && (undefined === input.script || "object" === typeof input.script && null !== input.script && false === Array.isArray(input.script) && _io37(input.script)) && (undefined === input.codeEditor || "object" === typeof input.codeEditor && null !== input.codeEditor && false === Array.isArray(input.codeEditor) && _io38(input.codeEditor)) && (undefined === input.bookmarks || "object" === typeof input.bookmarks && null !== input.bookmarks && false === Array.isArray(input.bookmarks) && _io39(input.bookmarks)) && (undefined === input.edit || "object" === typeof input.edit && null !== input.edit && false === Array.isArray(input.edit) && _io40(input.edit)) && (undefined === input.rundown || "object" === typeof input.rundown && null !== input.rundown && false === Array.isArray(input.rundown) && _io41(input.rundown)) && (undefined === input.segment || "object" === typeof input.segment && null !== input.segment && false === Array.isArray(input.segment) && _io42(input.segment)); const _io31 = input => Object.keys(input).every(key => {
|
|
14821
16431
|
const value = input[key];
|
|
14822
16432
|
if (undefined === value)
|
|
14823
16433
|
return true;
|
|
@@ -14872,12 +16482,12 @@ function _validateDomainRecord(domain, input) {
|
|
|
14872
16482
|
if (undefined === value)
|
|
14873
16483
|
return true;
|
|
14874
16484
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io32(value);
|
|
14875
|
-
}); const _io43 = input => (undefined === input.defaultFrameRate || "number" === typeof input.defaultFrameRate) && (undefined === input.placeholder || "string" === typeof input.placeholder) && (undefined === input.guide || "object" === typeof input.guide && null !== input.guide && false === Array.isArray(input.guide) && _io44(input.guide)) && (undefined === input.stepManyFrames || "number" === typeof input.stepManyFrames) && (undefined === input.liveZoomDuration || "number" === typeof input.liveZoomDuration) && (undefined === input.importTitleTemplate || "string" === typeof input.importTitleTemplate) && (undefined === input.tile || "object" === typeof input.tile && null !== input.tile && false === Array.isArray(input.tile) && _io45(input.tile)) && (undefined === input.timecodeReference || "string" === typeof input.timecodeReference) && (undefined === input.maxSubclipDuration || "number" === typeof input.maxSubclipDuration) && (undefined === input.rewindStep || "number" === typeof input.rewindStep) && (undefined === input.forwardStep || "number" === typeof input.forwardStep) && (undefined === input.interlacedPlayback || "string" === typeof input.interlacedPlayback) && (undefined === input.playbackRates || Array.isArray(input.playbackRates) && input.playbackRates.every(elem => "number" === typeof elem)) && (undefined === input.subtitles || "object" === typeof input.subtitles && null !== input.subtitles && false === Array.isArray(input.subtitles) && _io46(input.subtitles)) && (undefined === input.subtitleTemplateId || "string" === typeof input.subtitleTemplateId) && (undefined === input.initialVolume || "string" === typeof input.initialVolume) && (undefined === input.guides || Array.isArray(input.guides) && input.guides.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io49(elem))) && (undefined === input.download || "boolean" === typeof input.download) && (undefined === input.editMode || "object" === typeof input.editMode && null !== input.editMode && false === Array.isArray(input.editMode) && _io50(input.editMode)) && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && false === Array.isArray(input.transcribe) && _io51(input.transcribe)) && (null !== input.openCommand && (undefined === input.openCommand || "string" === typeof input.openCommand || "object" === typeof input.openCommand && null !== input.openCommand && false === Array.isArray(input.openCommand) && _io55(input.openCommand))); const _io44 = input => (undefined === input.mask || "boolean" === typeof input.mask) && (undefined === input.actionSafe || "boolean" === typeof input.actionSafe) && (undefined === input.titleSafe || "boolean" === typeof input.titleSafe); const _io45 = input => (undefined === input.preview || "disabled" === input.preview || "play" === input.preview || "seek" === input.preview || "seekplay" === input.preview || "boolean" === typeof input.preview) && (undefined === input.showRenderProgress || "boolean" === typeof input.showRenderProgress); const _io46 = input => (undefined === input.spacing || "number" === typeof input.spacing) && (undefined === input.maxCharactersPerLine || "number" === typeof input.maxCharactersPerLine) && (undefined === input.suggestions || Array.isArray(input.suggestions) && input.suggestions.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io47(elem))) && (undefined === input.colors || Array.isArray(input.colors) && input.colors.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io48(elem))) && (undefined === input.overridableProperties || Array.isArray(input.overridableProperties) && input.overridableProperties.every(elem => null === elem || true === _iv22.has(elem))); const _io47 = input => (null === input.ifAspectRatio || undefined === input.ifAspectRatio || "string" === typeof input.ifAspectRatio) && (null === input.ifLang || undefined === input.ifLang || "string" === typeof input.ifLang) && (null === input.thenStyle || undefined === input.thenStyle || "string" === typeof input.thenStyle) && (null === input.thenMaxCharactersPerLine || undefined === input.thenMaxCharactersPerLine || "number" === typeof input.thenMaxCharactersPerLine); const _io48 = input => (null === input.label || undefined === input.label || "string" === typeof input.label) && (null === input.color || undefined === input.color || "string" === typeof input.color); const _io49 = input => (undefined === input.label || "string" === typeof input.label) && (undefined === input.aspectRatio || "string" === typeof input.aspectRatio); const _io50 = input => (undefined === input.enabled || "boolean" === typeof input.enabled) && (undefined === input.defaultEnterOption || "edit" === input.defaultEnterOption || "createNew" === input.defaultEnterOption || "none" === input.defaultEnterOption) && (undefined === input.defaultExitOption || "none" === input.defaultExitOption || "update" === input.defaultExitOption || "leave" === input.defaultExitOption); const _io51 = input => undefined === input.subtitleDisclaimer || "object" === typeof input.subtitleDisclaimer && null !== input.subtitleDisclaimer && false === Array.isArray(input.subtitleDisclaimer) && _io52(input.subtitleDisclaimer); const _io52 = input => (undefined === input.isUserConfigurable || "boolean" === typeof input.isUserConfigurable) && (undefined === input.defaultValue || "object" === typeof input.defaultValue && null !== input.defaultValue && false === Array.isArray(input.defaultValue) && _io53(input.defaultValue)); const _io53 = input => (undefined === input.enabled || false === input.enabled) && (undefined === input.text || Array.isArray(input.text) && input.text.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io54(elem))) && (undefined === input.offset || "number" === typeof input.offset) && (undefined === input.duration || "number" === typeof input.duration); const _io54 = input => (undefined === input.language || "string" === typeof input.language) && (undefined === input.value || "string" === typeof input.value); const _io55 = input => (undefined === input.url || "string" === typeof input.url) && (undefined === input.command || "string" === typeof input.command) && (undefined === input.app || "string" === typeof input.app) && (undefined === input.args || Array.isArray(input.args) && input.args.every(elem => "string" === typeof elem)); const _io56 = input => (undefined === input.thumbnailView || "none" === input.thumbnailView || "filmStrip" === input.thumbnailView || "thumbnail" === input.thumbnailView) && (undefined === input.voiceOver || "object" === typeof input.voiceOver && null !== input.voiceOver && false === Array.isArray(input.voiceOver) && _io57(input.voiceOver)); const _io57 = input => (undefined === input.inputDevice || "string" === typeof input.inputDevice) && (undefined === input.inputGainDb || "number" === typeof input.inputGainDb) && (undefined === input.backgroundReductionDb || "number" === typeof input.backgroundReductionDb) && (undefined === input.recordMode || "instant" === input.recordMode || "punchAndRoll" === input.recordMode) && (undefined === input.preRollDuration || "number" === typeof input.preRollDuration); const _io58 = input => (undefined === input.title || "string" === typeof input.title) && (undefined === input.command || "string" === typeof input.command) && (undefined === input.args || Array.isArray(input.args) && input.args.every(elem => "string" === typeof elem)); const _io59 = input => (undefined === input.folded || "object" === typeof input.folded && null !== input.folded && false === Array.isArray(input.folded) && _io60(input.folded)) && (undefined === input.assets || "object" === typeof input.assets && null !== input.assets && false === Array.isArray(input.assets) && _io61(input.assets)) && (undefined === input.pipeline || "object" === typeof input.pipeline && null !== input.pipeline && false === Array.isArray(input.pipeline) && _io65(input.pipeline)) && (undefined === input.item || "object" === typeof input.item && null !== input.item && false === Array.isArray(input.item) && _io67(input.item)); const _io60 = input => undefined === input.auto || "boolean" === typeof input.auto; const _io61 = input => (undefined === input.story || "object" === typeof input.story && null !== input.story && false === Array.isArray(input.story) && _io62(input.story)) && (undefined === input.note || "object" === typeof input.note && null !== input.note && false === Array.isArray(input.note) && _io64(input.note)); const _io62 = input => undefined === input.excerpt || "object" === typeof input.excerpt && null !== input.excerpt && false === Array.isArray(input.excerpt) && _io63(input.excerpt); const _io63 = input => (undefined === input.maxLines || "number" === typeof input.maxLines) && (undefined === input.mode || "string" === typeof input.mode) && (undefined === input.comments || "boolean" === typeof input.comments); const _io64 = input => undefined === input.maxHeight || "number" === typeof input.maxHeight; const _io65 = input => (undefined === input.search || "object" === typeof input.search && null !== input.search && false === Array.isArray(input.search) && _io66(input.search)) && (undefined === input.sortMode || true === _iv26.has(input.sortMode)); const _io66 = input => undefined === input.maxItemsDisplayed || "number" === typeof input.maxItemsDisplayed; const _io67 = input => (undefined === input.maxHeight || "number" === typeof input.maxHeight) && (undefined === input.titleLines || "number" === typeof input.titleLines); const _io68 = input => undefined === input.fontFamilies || Array.isArray(input.fontFamilies) && input.fontFamilies.every(elem => "string" === typeof elem); const _io69 = input => (undefined === input.id || "string" === typeof input.id) && (undefined === input.folded || "boolean" === typeof input.folded); const _io70 = input => (undefined === input.adobe || "object" === typeof input.adobe && null !== input.adobe && false === Array.isArray(input.adobe) && _io71(input.adobe)) && (undefined === input.rive || "object" === typeof input.rive && null !== input.rive && false === Array.isArray(input.rive) && _io72(input.rive)); const _io71 = input => undefined === input.useProxies || "boolean" === typeof input.useProxies; const _io72 = input => undefined === input.template || "string" === typeof input.template; const _io73 = input => (undefined === input.collections || "boolean" === typeof input.collections) && (undefined === input.semanticSearch || "boolean" === typeof input.semanticSearch) && (undefined === input.ameRemoteRendering || "boolean" === typeof input.ameRemoteRendering); const _io74 = input => (undefined === input.utils || "boolean" === typeof input.utils) && (undefined === input.utilsAssetEditor || "boolean" === typeof input.utilsAssetEditor) && (undefined === input.utilsAssetPanel || "boolean" === typeof input.utilsAssetPanel) && (undefined === input.history || "boolean" === typeof input.history) && (undefined === input.refs || "boolean" === typeof input.refs) && (undefined === input.access || "boolean" === typeof input.access) && (undefined === input.files || "boolean" === typeof input.files) && (undefined === input["export"] || "boolean" === typeof input["export"]) && (undefined === input.json || "boolean" === typeof input.json) && (undefined === input.hlsjs || "boolean" === typeof input.hlsjs) && (undefined === input.resetRenders || "boolean" === typeof input.resetRenders) && (undefined === input.resetReplicas || "boolean" === typeof input.resetReplicas) && (undefined === input.assetStatus || "boolean" === typeof input.assetStatus) && (undefined === input.consolidateMedia || "boolean" === typeof input.consolidateMedia) && (undefined === input.hideInAssetMenu || "boolean" === typeof input.hideInAssetMenu) && (undefined === input.assetRoute || "boolean" === typeof input.assetRoute) && (undefined === input.devWarnings || "boolean" === typeof input.devWarnings) && (undefined === input.multiplexWebSockets || "boolean" === typeof input.multiplexWebSockets) && (undefined === input.systemHealth || "boolean" === typeof input.systemHealth); const _io75 = input => undefined === input.events || "object" === typeof input.events && null !== input.events && false === Array.isArray(input.events) && _io76(input.events); const _io76 = input => (undefined === input.comment || Array.isArray(input.comment) && input.comment.every(elem => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem)) && (undefined === input.assigned || Array.isArray(input.assigned) && input.assigned.every(elem => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem)) && (undefined === input.unassigned || Array.isArray(input.unassigned) && input.unassigned.every(elem => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem)) && (undefined === input.publishSucceeded || "object" === typeof input.publishSucceeded && null !== input.publishSucceeded && false === Array.isArray(input.publishSucceeded) && _io77(input.publishSucceeded)); const _io77 = input => Object.keys(input).every(key => {
|
|
16485
|
+
}); const _io43 = input => (undefined === input.defaultFrameRate || "number" === typeof input.defaultFrameRate) && (undefined === input.placeholder || "string" === typeof input.placeholder) && (undefined === input.guide || "object" === typeof input.guide && null !== input.guide && false === Array.isArray(input.guide) && _io44(input.guide)) && (undefined === input.stepManyFrames || "number" === typeof input.stepManyFrames) && (undefined === input.liveZoomDuration || "number" === typeof input.liveZoomDuration) && (undefined === input.importTitleTemplate || "string" === typeof input.importTitleTemplate) && (undefined === input.tile || "object" === typeof input.tile && null !== input.tile && false === Array.isArray(input.tile) && _io45(input.tile)) && (undefined === input.timecodeReference || "string" === typeof input.timecodeReference) && (undefined === input.maxSubclipDuration || "number" === typeof input.maxSubclipDuration) && (undefined === input.rewindStep || "number" === typeof input.rewindStep) && (undefined === input.forwardStep || "number" === typeof input.forwardStep) && (undefined === input.interlacedPlayback || "string" === typeof input.interlacedPlayback) && (undefined === input.playbackRates || Array.isArray(input.playbackRates) && input.playbackRates.every(elem => "number" === typeof elem)) && (undefined === input.subtitles || "object" === typeof input.subtitles && null !== input.subtitles && false === Array.isArray(input.subtitles) && _io46(input.subtitles)) && (undefined === input.subtitleTemplateId || "string" === typeof input.subtitleTemplateId) && (undefined === input.initialVolume || "string" === typeof input.initialVolume) && (undefined === input.guides || Array.isArray(input.guides) && input.guides.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io49(elem))) && (undefined === input.download || "boolean" === typeof input.download) && (undefined === input.editMode || "object" === typeof input.editMode && null !== input.editMode && false === Array.isArray(input.editMode) && _io50(input.editMode)) && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && false === Array.isArray(input.transcribe) && _io51(input.transcribe)) && (null !== input.openCommand && (undefined === input.openCommand || "string" === typeof input.openCommand || "object" === typeof input.openCommand && null !== input.openCommand && false === Array.isArray(input.openCommand) && _io55(input.openCommand))); const _io44 = input => (undefined === input.mask || "boolean" === typeof input.mask) && (undefined === input.actionSafe || "boolean" === typeof input.actionSafe) && (undefined === input.titleSafe || "boolean" === typeof input.titleSafe); const _io45 = input => (undefined === input.preview || "disabled" === input.preview || "play" === input.preview || "seek" === input.preview || "seekplay" === input.preview || "boolean" === typeof input.preview) && (undefined === input.showRenderProgress || "boolean" === typeof input.showRenderProgress); const _io46 = input => (undefined === input.spacing || "number" === typeof input.spacing) && (undefined === input.maxCharactersPerLine || "number" === typeof input.maxCharactersPerLine) && (undefined === input.suggestions || Array.isArray(input.suggestions) && input.suggestions.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io47(elem))) && (undefined === input.colors || Array.isArray(input.colors) && input.colors.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io48(elem))) && (undefined === input.overridableProperties || Array.isArray(input.overridableProperties) && input.overridableProperties.every(elem => null === elem || true === _iv22.has(elem))); const _io47 = input => (null === input.ifAspectRatio || undefined === input.ifAspectRatio || "string" === typeof input.ifAspectRatio) && (null === input.ifLang || undefined === input.ifLang || "string" === typeof input.ifLang) && (null === input.thenStyle || undefined === input.thenStyle || "string" === typeof input.thenStyle) && (null === input.thenMaxCharactersPerLine || undefined === input.thenMaxCharactersPerLine || "number" === typeof input.thenMaxCharactersPerLine); const _io48 = input => (null === input.label || undefined === input.label || "string" === typeof input.label) && (null === input.color || undefined === input.color || "string" === typeof input.color); const _io49 = input => (undefined === input.label || "string" === typeof input.label) && (undefined === input.aspectRatio || "string" === typeof input.aspectRatio); const _io50 = input => (undefined === input.enabled || "boolean" === typeof input.enabled) && (undefined === input.defaultEnterOption || "edit" === input.defaultEnterOption || "createNew" === input.defaultEnterOption || "none" === input.defaultEnterOption) && (undefined === input.defaultExitOption || "none" === input.defaultExitOption || "update" === input.defaultExitOption || "leave" === input.defaultExitOption); const _io51 = input => undefined === input.subtitleDisclaimer || "object" === typeof input.subtitleDisclaimer && null !== input.subtitleDisclaimer && false === Array.isArray(input.subtitleDisclaimer) && _io52(input.subtitleDisclaimer); const _io52 = input => (undefined === input.isUserConfigurable || "boolean" === typeof input.isUserConfigurable) && (undefined === input.defaultValue || "object" === typeof input.defaultValue && null !== input.defaultValue && false === Array.isArray(input.defaultValue) && _io53(input.defaultValue)); const _io53 = input => (undefined === input.enabled || false === input.enabled) && (undefined === input.text || Array.isArray(input.text) && input.text.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io54(elem))) && (undefined === input.offset || "number" === typeof input.offset) && (undefined === input.duration || "number" === typeof input.duration); const _io54 = input => (undefined === input.language || "string" === typeof input.language) && (undefined === input.value || "string" === typeof input.value); const _io55 = input => (undefined === input.url || "string" === typeof input.url) && (undefined === input.command || "string" === typeof input.command) && (undefined === input.app || "string" === typeof input.app) && (undefined === input.args || Array.isArray(input.args) && input.args.every(elem => "string" === typeof elem)); const _io56 = input => (undefined === input.thumbnailView || "none" === input.thumbnailView || "filmStrip" === input.thumbnailView || "thumbnail" === input.thumbnailView) && (undefined === input.normalize || "object" === typeof input.normalize && null !== input.normalize && false === Array.isArray(input.normalize) && _io57(input.normalize)) && (undefined === input.voiceOver || "object" === typeof input.voiceOver && null !== input.voiceOver && false === Array.isArray(input.voiceOver) && _io59(input.voiceOver)); const _io57 = input => (undefined === input.presets || Array.isArray(input.presets) && input.presets.every(elem => "object" === typeof elem && null !== elem && _io58(elem))) && (undefined === input.defaultPresetId || "string" === typeof input.defaultPresetId); const _io58 = input => "string" === typeof input.id && "string" === typeof input.title && "number" === typeof input.i && "number" === typeof input.tp; const _io59 = input => (undefined === input.inputDevice || "string" === typeof input.inputDevice) && (undefined === input.inputGainDb || "number" === typeof input.inputGainDb) && (undefined === input.backgroundReductionDb || "number" === typeof input.backgroundReductionDb) && (undefined === input.recordMode || "instant" === input.recordMode || "punchAndRoll" === input.recordMode) && (undefined === input.preRollDuration || "number" === typeof input.preRollDuration); const _io60 = input => (undefined === input.title || "string" === typeof input.title) && (undefined === input.command || "string" === typeof input.command) && (undefined === input.args || Array.isArray(input.args) && input.args.every(elem => "string" === typeof elem)); const _io61 = input => (undefined === input.folded || "object" === typeof input.folded && null !== input.folded && false === Array.isArray(input.folded) && _io62(input.folded)) && (undefined === input.assets || "object" === typeof input.assets && null !== input.assets && false === Array.isArray(input.assets) && _io63(input.assets)) && (undefined === input.pipeline || "object" === typeof input.pipeline && null !== input.pipeline && false === Array.isArray(input.pipeline) && _io67(input.pipeline)) && (undefined === input.item || "object" === typeof input.item && null !== input.item && false === Array.isArray(input.item) && _io69(input.item)); const _io62 = input => undefined === input.auto || "boolean" === typeof input.auto; const _io63 = input => (undefined === input.story || "object" === typeof input.story && null !== input.story && false === Array.isArray(input.story) && _io64(input.story)) && (undefined === input.note || "object" === typeof input.note && null !== input.note && false === Array.isArray(input.note) && _io66(input.note)); const _io64 = input => undefined === input.excerpt || "object" === typeof input.excerpt && null !== input.excerpt && false === Array.isArray(input.excerpt) && _io65(input.excerpt); const _io65 = input => (undefined === input.maxLines || "number" === typeof input.maxLines) && (undefined === input.mode || "string" === typeof input.mode) && (undefined === input.comments || "boolean" === typeof input.comments); const _io66 = input => undefined === input.maxHeight || "number" === typeof input.maxHeight; const _io67 = input => (undefined === input.search || "object" === typeof input.search && null !== input.search && false === Array.isArray(input.search) && _io68(input.search)) && (undefined === input.sortMode || true === _iv27.has(input.sortMode)); const _io68 = input => undefined === input.maxItemsDisplayed || "number" === typeof input.maxItemsDisplayed; const _io69 = input => (undefined === input.maxHeight || "number" === typeof input.maxHeight) && (undefined === input.titleLines || "number" === typeof input.titleLines); const _io70 = input => undefined === input.fontFamilies || Array.isArray(input.fontFamilies) && input.fontFamilies.every(elem => "string" === typeof elem); const _io71 = input => (undefined === input.id || "string" === typeof input.id) && (undefined === input.folded || "boolean" === typeof input.folded); const _io72 = input => (undefined === input.adobe || "object" === typeof input.adobe && null !== input.adobe && false === Array.isArray(input.adobe) && _io73(input.adobe)) && (undefined === input.rive || "object" === typeof input.rive && null !== input.rive && false === Array.isArray(input.rive) && _io74(input.rive)); const _io73 = input => undefined === input.useProxies || "boolean" === typeof input.useProxies; const _io74 = input => undefined === input.template || "string" === typeof input.template; const _io75 = input => (undefined === input.collections || "boolean" === typeof input.collections) && (undefined === input.semanticSearch || "boolean" === typeof input.semanticSearch) && (undefined === input.ameRemoteRendering || "boolean" === typeof input.ameRemoteRendering); const _io76 = input => (undefined === input.utils || "boolean" === typeof input.utils) && (undefined === input.utilsAssetEditor || "boolean" === typeof input.utilsAssetEditor) && (undefined === input.utilsAssetPanel || "boolean" === typeof input.utilsAssetPanel) && (undefined === input.history || "boolean" === typeof input.history) && (undefined === input.refs || "boolean" === typeof input.refs) && (undefined === input.access || "boolean" === typeof input.access) && (undefined === input.files || "boolean" === typeof input.files) && (undefined === input["export"] || "boolean" === typeof input["export"]) && (undefined === input.json || "boolean" === typeof input.json) && (undefined === input.hlsjs || "boolean" === typeof input.hlsjs) && (undefined === input.resetRenders || "boolean" === typeof input.resetRenders) && (undefined === input.resetReplicas || "boolean" === typeof input.resetReplicas) && (undefined === input.assetStatus || "boolean" === typeof input.assetStatus) && (undefined === input.consolidateMedia || "boolean" === typeof input.consolidateMedia) && (undefined === input.hideInAssetMenu || "boolean" === typeof input.hideInAssetMenu) && (undefined === input.assetRoute || "boolean" === typeof input.assetRoute) && (undefined === input.devWarnings || "boolean" === typeof input.devWarnings) && (undefined === input.multiplexWebSockets || "boolean" === typeof input.multiplexWebSockets) && (undefined === input.systemHealth || "boolean" === typeof input.systemHealth); const _io77 = input => undefined === input.events || "object" === typeof input.events && null !== input.events && false === Array.isArray(input.events) && _io78(input.events); const _io78 = input => (undefined === input.comment || Array.isArray(input.comment) && input.comment.every(elem => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem)) && (undefined === input.assigned || Array.isArray(input.assigned) && input.assigned.every(elem => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem)) && (undefined === input.unassigned || Array.isArray(input.unassigned) && input.unassigned.every(elem => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem)) && (undefined === input.publishSucceeded || "object" === typeof input.publishSucceeded && null !== input.publishSucceeded && false === Array.isArray(input.publishSucceeded) && _io79(input.publishSucceeded)); const _io79 = input => Object.keys(input).every(key => {
|
|
14876
16486
|
const value = input[key];
|
|
14877
16487
|
if (undefined === value)
|
|
14878
16488
|
return true;
|
|
14879
16489
|
return Array.isArray(value) && value.every(elem => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem);
|
|
14880
|
-
}); const
|
|
16490
|
+
}); const _io80 = input => undefined === input.duplicate || "object" === typeof input.duplicate && null !== input.duplicate && false === Array.isArray(input.duplicate) && _io81(input.duplicate); const _io81 = input => (undefined === input.titlePrefix || "string" === typeof input.titlePrefix) && (undefined === input.titleSuffix || "string" === typeof input.titleSuffix); const _io82 = input => (undefined === input.stateFilter || Array.isArray(input.stateFilter) && input.stateFilter.every(elem => "number" === typeof elem)) && (undefined === input.textFilter || "string" === typeof input.textFilter) && (undefined === input.showEmpty || "boolean" === typeof input.showEmpty) && (undefined === input.selectedRecord || "string" === typeof input.selectedRecord) && (undefined === input.subscribeSearchHits || "boolean" === typeof input.subscribeSearchHits) && (undefined === input.parseRegex || "boolean" === typeof input.parseRegex); const _io83 = input => undefined === input.disableHotArea || "boolean" === typeof input.disableHotArea; const _io84 = input => undefined === input.refreshInterval || "number" === typeof input.refreshInterval; const _vo0 = (input, _path, _exceptionable = true) => [undefined === input.autoLogoutTime || "number" === typeof input.autoLogoutTime || _report(_exceptionable, {
|
|
14881
16491
|
path: _path + ".autoLogoutTime",
|
|
14882
16492
|
expected: "(number | undefined)",
|
|
14883
16493
|
value: input.autoLogoutTime
|
|
@@ -14933,16 +16543,16 @@ function _validateDomainRecord(domain, input) {
|
|
|
14933
16543
|
path: _path + ".exclusiveTagGroups",
|
|
14934
16544
|
expected: "(Array<Array<string>> | undefined)",
|
|
14935
16545
|
value: input.exclusiveTagGroups
|
|
14936
|
-
})) && input.exclusiveTagGroups.map((elem,
|
|
14937
|
-
path: _path + ".exclusiveTagGroups[" +
|
|
16546
|
+
})) && input.exclusiveTagGroups.map((elem, _index34) => (Array.isArray(elem) || _report(_exceptionable, {
|
|
16547
|
+
path: _path + ".exclusiveTagGroups[" + _index34 + "]",
|
|
14938
16548
|
expected: "Array<string>",
|
|
14939
16549
|
value: elem
|
|
14940
|
-
})) && elem.map((elem,
|
|
14941
|
-
path: _path + ".exclusiveTagGroups[" +
|
|
16550
|
+
})) && elem.map((elem, _index35) => "string" === typeof elem || _report(_exceptionable, {
|
|
16551
|
+
path: _path + ".exclusiveTagGroups[" + _index34 + "][" + _index35 + "]",
|
|
14942
16552
|
expected: "string",
|
|
14943
16553
|
value: elem
|
|
14944
16554
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
14945
|
-
path: _path + ".exclusiveTagGroups[" +
|
|
16555
|
+
path: _path + ".exclusiveTagGroups[" + _index34 + "]",
|
|
14946
16556
|
expected: "Array<string>",
|
|
14947
16557
|
value: elem
|
|
14948
16558
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -15013,7 +16623,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
15013
16623
|
path: _path + ".events",
|
|
15014
16624
|
expected: "(__type.o20 | undefined)",
|
|
15015
16625
|
value: input.events
|
|
15016
|
-
}), undefined === input.rundown || ("object" === typeof input.rundown && null !== input.rundown
|
|
16626
|
+
}), undefined === input.rundown || ("object" === typeof input.rundown && null !== input.rundown || _report(_exceptionable, {
|
|
15017
16627
|
path: _path + ".rundown",
|
|
15018
16628
|
expected: "(__type.o22 | undefined)",
|
|
15019
16629
|
value: input.rundown
|
|
@@ -15059,26 +16669,26 @@ function _validateDomainRecord(domain, input) {
|
|
|
15059
16669
|
value: input.edit
|
|
15060
16670
|
}), undefined === input.commands || (Array.isArray(input.commands) || _report(_exceptionable, {
|
|
15061
16671
|
path: _path + ".commands",
|
|
15062
|
-
expected: "(Array<__type>.
|
|
16672
|
+
expected: "(Array<__type>.o5 | undefined)",
|
|
15063
16673
|
value: input.commands
|
|
15064
|
-
})) && input.commands.map((elem,
|
|
15065
|
-
path: _path + ".commands[" +
|
|
15066
|
-
expected: "__type.
|
|
16674
|
+
})) && input.commands.map((elem, _index36) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
16675
|
+
path: _path + ".commands[" + _index36 + "]",
|
|
16676
|
+
expected: "__type.o53",
|
|
15067
16677
|
value: elem
|
|
15068
|
-
})) &&
|
|
15069
|
-
path: _path + ".commands[" +
|
|
15070
|
-
expected: "__type.
|
|
16678
|
+
})) && _vo60(elem, _path + ".commands[" + _index36 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
16679
|
+
path: _path + ".commands[" + _index36 + "]",
|
|
16680
|
+
expected: "__type.o53",
|
|
15071
16681
|
value: elem
|
|
15072
16682
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
15073
16683
|
path: _path + ".commands",
|
|
15074
|
-
expected: "(Array<__type>.
|
|
16684
|
+
expected: "(Array<__type>.o5 | undefined)",
|
|
15075
16685
|
value: input.commands
|
|
15076
16686
|
}), undefined === input.predefinedTags || (Array.isArray(input.predefinedTags) || _report(_exceptionable, {
|
|
15077
16687
|
path: _path + ".predefinedTags",
|
|
15078
16688
|
expected: "(Array<string> | undefined)",
|
|
15079
16689
|
value: input.predefinedTags
|
|
15080
|
-
})) && input.predefinedTags.map((elem,
|
|
15081
|
-
path: _path + ".predefinedTags[" +
|
|
16690
|
+
})) && input.predefinedTags.map((elem, _index37) => "string" === typeof elem || _report(_exceptionable, {
|
|
16691
|
+
path: _path + ".predefinedTags[" + _index37 + "]",
|
|
15082
16692
|
expected: "string",
|
|
15083
16693
|
value: elem
|
|
15084
16694
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -15087,43 +16697,43 @@ function _validateDomainRecord(domain, input) {
|
|
|
15087
16697
|
value: input.predefinedTags
|
|
15088
16698
|
}), undefined === input.storyboard || ("object" === typeof input.storyboard && null !== input.storyboard && false === Array.isArray(input.storyboard) || _report(_exceptionable, {
|
|
15089
16699
|
path: _path + ".storyboard",
|
|
15090
|
-
expected: "(__type.
|
|
16700
|
+
expected: "(__type.o54 | undefined)",
|
|
15091
16701
|
value: input.storyboard
|
|
15092
|
-
})) &&
|
|
16702
|
+
})) && _vo61(input.storyboard, _path + ".storyboard", true && _exceptionable) || _report(_exceptionable, {
|
|
15093
16703
|
path: _path + ".storyboard",
|
|
15094
|
-
expected: "(__type.
|
|
16704
|
+
expected: "(__type.o54 | undefined)",
|
|
15095
16705
|
value: input.storyboard
|
|
15096
16706
|
}), undefined === input.print || ("object" === typeof input.print && null !== input.print && false === Array.isArray(input.print) || _report(_exceptionable, {
|
|
15097
16707
|
path: _path + ".print",
|
|
15098
|
-
expected: "(__type.
|
|
16708
|
+
expected: "(__type.o63 | undefined)",
|
|
15099
16709
|
value: input.print
|
|
15100
|
-
})) &&
|
|
16710
|
+
})) && _vo70(input.print, _path + ".print", true && _exceptionable) || _report(_exceptionable, {
|
|
15101
16711
|
path: _path + ".print",
|
|
15102
|
-
expected: "(__type.
|
|
16712
|
+
expected: "(__type.o63 | undefined)",
|
|
15103
16713
|
value: input.print
|
|
15104
16714
|
}), undefined === input.hiddenPreviews || (Array.isArray(input.hiddenPreviews) || _report(_exceptionable, {
|
|
15105
16715
|
path: _path + ".hiddenPreviews",
|
|
15106
|
-
expected: "(Array<__type>.
|
|
16716
|
+
expected: "(Array<__type>.o6 | undefined)",
|
|
15107
16717
|
value: input.hiddenPreviews
|
|
15108
|
-
})) && input.hiddenPreviews.map((elem,
|
|
15109
|
-
path: _path + ".hiddenPreviews[" +
|
|
15110
|
-
expected: "__type.
|
|
16718
|
+
})) && input.hiddenPreviews.map((elem, _index38) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
16719
|
+
path: _path + ".hiddenPreviews[" + _index38 + "]",
|
|
16720
|
+
expected: "__type.o64",
|
|
15111
16721
|
value: elem
|
|
15112
|
-
})) &&
|
|
15113
|
-
path: _path + ".hiddenPreviews[" +
|
|
15114
|
-
expected: "__type.
|
|
16722
|
+
})) && _vo71(elem, _path + ".hiddenPreviews[" + _index38 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
16723
|
+
path: _path + ".hiddenPreviews[" + _index38 + "]",
|
|
16724
|
+
expected: "__type.o64",
|
|
15115
16725
|
value: elem
|
|
15116
16726
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
15117
16727
|
path: _path + ".hiddenPreviews",
|
|
15118
|
-
expected: "(Array<__type>.
|
|
16728
|
+
expected: "(Array<__type>.o6 | undefined)",
|
|
15119
16729
|
value: input.hiddenPreviews
|
|
15120
16730
|
}), undefined === input.plugins || ("object" === typeof input.plugins && null !== input.plugins && false === Array.isArray(input.plugins) || _report(_exceptionable, {
|
|
15121
16731
|
path: _path + ".plugins",
|
|
15122
|
-
expected: "(__type.
|
|
16732
|
+
expected: "(__type.o65 | undefined)",
|
|
15123
16733
|
value: input.plugins
|
|
15124
|
-
})) &&
|
|
16734
|
+
})) && _vo72(input.plugins, _path + ".plugins", true && _exceptionable) || _report(_exceptionable, {
|
|
15125
16735
|
path: _path + ".plugins",
|
|
15126
|
-
expected: "(__type.
|
|
16736
|
+
expected: "(__type.o65 | undefined)",
|
|
15127
16737
|
value: input.plugins
|
|
15128
16738
|
}), undefined === input.crashScreen || "boolean" === typeof input.crashScreen || _report(_exceptionable, {
|
|
15129
16739
|
path: _path + ".crashScreen",
|
|
@@ -15135,27 +16745,27 @@ function _validateDomainRecord(domain, input) {
|
|
|
15135
16745
|
value: input.debug
|
|
15136
16746
|
}), undefined === input.featurePreview || ("object" === typeof input.featurePreview && null !== input.featurePreview && false === Array.isArray(input.featurePreview) || _report(_exceptionable, {
|
|
15137
16747
|
path: _path + ".featurePreview",
|
|
15138
|
-
expected: "(__type.
|
|
16748
|
+
expected: "(__type.o68 | undefined)",
|
|
15139
16749
|
value: input.featurePreview
|
|
15140
|
-
})) &&
|
|
16750
|
+
})) && _vo75(input.featurePreview, _path + ".featurePreview", true && _exceptionable) || _report(_exceptionable, {
|
|
15141
16751
|
path: _path + ".featurePreview",
|
|
15142
|
-
expected: "(__type.
|
|
16752
|
+
expected: "(__type.o68 | undefined)",
|
|
15143
16753
|
value: input.featurePreview
|
|
15144
16754
|
}), undefined === input.flags || ("object" === typeof input.flags && null !== input.flags && false === Array.isArray(input.flags) || _report(_exceptionable, {
|
|
15145
16755
|
path: _path + ".flags",
|
|
15146
|
-
expected: "(__type.
|
|
16756
|
+
expected: "(__type.o69 | undefined)",
|
|
15147
16757
|
value: input.flags
|
|
15148
|
-
})) &&
|
|
16758
|
+
})) && _vo76(input.flags, _path + ".flags", true && _exceptionable) || _report(_exceptionable, {
|
|
15149
16759
|
path: _path + ".flags",
|
|
15150
|
-
expected: "(__type.
|
|
16760
|
+
expected: "(__type.o69 | undefined)",
|
|
15151
16761
|
value: input.flags
|
|
15152
16762
|
}), undefined === input.notifications || ("object" === typeof input.notifications && null !== input.notifications && false === Array.isArray(input.notifications) || _report(_exceptionable, {
|
|
15153
16763
|
path: _path + ".notifications",
|
|
15154
|
-
expected: "(__type.
|
|
16764
|
+
expected: "(__type.o70 | undefined)",
|
|
15155
16765
|
value: input.notifications
|
|
15156
|
-
})) &&
|
|
16766
|
+
})) && _vo77(input.notifications, _path + ".notifications", true && _exceptionable) || _report(_exceptionable, {
|
|
15157
16767
|
path: _path + ".notifications",
|
|
15158
|
-
expected: "(__type.
|
|
16768
|
+
expected: "(__type.o70 | undefined)",
|
|
15159
16769
|
value: input.notifications
|
|
15160
16770
|
}), undefined === input.suppressDeleteAlert || "boolean" === typeof input.suppressDeleteAlert || _report(_exceptionable, {
|
|
15161
16771
|
path: _path + ".suppressDeleteAlert",
|
|
@@ -15163,20 +16773,36 @@ function _validateDomainRecord(domain, input) {
|
|
|
15163
16773
|
value: input.suppressDeleteAlert
|
|
15164
16774
|
}), undefined === input.clone || ("object" === typeof input.clone && null !== input.clone && false === Array.isArray(input.clone) || _report(_exceptionable, {
|
|
15165
16775
|
path: _path + ".clone",
|
|
15166
|
-
expected: "(__type.
|
|
16776
|
+
expected: "(__type.o73 | undefined)",
|
|
15167
16777
|
value: input.clone
|
|
15168
|
-
})) &&
|
|
16778
|
+
})) && _vo80(input.clone, _path + ".clone", true && _exceptionable) || _report(_exceptionable, {
|
|
15169
16779
|
path: _path + ".clone",
|
|
15170
|
-
expected: "(__type.
|
|
16780
|
+
expected: "(__type.o73 | undefined)",
|
|
15171
16781
|
value: input.clone
|
|
15172
16782
|
}), undefined === input.utilsAssetEditorPanel || ("object" === typeof input.utilsAssetEditorPanel && null !== input.utilsAssetEditorPanel && false === Array.isArray(input.utilsAssetEditorPanel) || _report(_exceptionable, {
|
|
15173
16783
|
path: _path + ".utilsAssetEditorPanel",
|
|
15174
|
-
expected: "(__type.
|
|
16784
|
+
expected: "(__type.o75 | undefined)",
|
|
15175
16785
|
value: input.utilsAssetEditorPanel
|
|
15176
|
-
})) &&
|
|
16786
|
+
})) && _vo82(input.utilsAssetEditorPanel, _path + ".utilsAssetEditorPanel", true && _exceptionable) || _report(_exceptionable, {
|
|
15177
16787
|
path: _path + ".utilsAssetEditorPanel",
|
|
15178
|
-
expected: "(__type.
|
|
16788
|
+
expected: "(__type.o75 | undefined)",
|
|
15179
16789
|
value: input.utilsAssetEditorPanel
|
|
16790
|
+
}), undefined === input.display || ("object" === typeof input.display && null !== input.display && false === Array.isArray(input.display) || _report(_exceptionable, {
|
|
16791
|
+
path: _path + ".display",
|
|
16792
|
+
expected: "(__type.o76 | undefined)",
|
|
16793
|
+
value: input.display
|
|
16794
|
+
})) && _vo83(input.display, _path + ".display", true && _exceptionable) || _report(_exceptionable, {
|
|
16795
|
+
path: _path + ".display",
|
|
16796
|
+
expected: "(__type.o76 | undefined)",
|
|
16797
|
+
value: input.display
|
|
16798
|
+
}), undefined === input.bookmarks || ("object" === typeof input.bookmarks && null !== input.bookmarks && false === Array.isArray(input.bookmarks) || _report(_exceptionable, {
|
|
16799
|
+
path: _path + ".bookmarks",
|
|
16800
|
+
expected: "(__type.o77 | undefined)",
|
|
16801
|
+
value: input.bookmarks
|
|
16802
|
+
})) && _vo84(input.bookmarks, _path + ".bookmarks", true && _exceptionable) || _report(_exceptionable, {
|
|
16803
|
+
path: _path + ".bookmarks",
|
|
16804
|
+
expected: "(__type.o77 | undefined)",
|
|
16805
|
+
value: input.bookmarks
|
|
15180
16806
|
})].every(flag => flag); const _vo1 = (input, _path, _exceptionable = true) => [undefined === input.overrideUserContact || "boolean" === typeof input.overrideUserContact || _report(_exceptionable, {
|
|
15181
16807
|
path: _path + ".overrideUserContact",
|
|
15182
16808
|
expected: "(boolean | undefined)",
|
|
@@ -15312,8 +16938,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
15312
16938
|
path: _path + ".sortOrder",
|
|
15313
16939
|
expected: "(Array<string> | undefined)",
|
|
15314
16940
|
value: input.sortOrder
|
|
15315
|
-
})) && input.sortOrder.map((elem,
|
|
15316
|
-
path: _path + ".sortOrder[" +
|
|
16941
|
+
})) && input.sortOrder.map((elem, _index39) => "string" === typeof elem || _report(_exceptionable, {
|
|
16942
|
+
path: _path + ".sortOrder[" + _index39 + "]",
|
|
15317
16943
|
expected: "string",
|
|
15318
16944
|
value: elem
|
|
15319
16945
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -15324,8 +16950,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
15324
16950
|
path: _path + ".include",
|
|
15325
16951
|
expected: "(Array<string> | undefined)",
|
|
15326
16952
|
value: input.include
|
|
15327
|
-
})) && input.include.map((elem,
|
|
15328
|
-
path: _path + ".include[" +
|
|
16953
|
+
})) && input.include.map((elem, _index40) => "string" === typeof elem || _report(_exceptionable, {
|
|
16954
|
+
path: _path + ".include[" + _index40 + "]",
|
|
15329
16955
|
expected: "string",
|
|
15330
16956
|
value: elem
|
|
15331
16957
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -15336,8 +16962,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
15336
16962
|
path: _path + ".exclude",
|
|
15337
16963
|
expected: "(Array<string> | undefined)",
|
|
15338
16964
|
value: input.exclude
|
|
15339
|
-
})) && input.exclude.map((elem,
|
|
15340
|
-
path: _path + ".exclude[" +
|
|
16965
|
+
})) && input.exclude.map((elem, _index41) => "string" === typeof elem || _report(_exceptionable, {
|
|
16966
|
+
path: _path + ".exclude[" + _index41 + "]",
|
|
15341
16967
|
expected: "string",
|
|
15342
16968
|
value: elem
|
|
15343
16969
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -15348,8 +16974,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
15348
16974
|
path: _path + ".include",
|
|
15349
16975
|
expected: "(Array<string> | undefined)",
|
|
15350
16976
|
value: input.include
|
|
15351
|
-
})) && input.include.map((elem,
|
|
15352
|
-
path: _path + ".include[" +
|
|
16977
|
+
})) && input.include.map((elem, _index42) => "string" === typeof elem || _report(_exceptionable, {
|
|
16978
|
+
path: _path + ".include[" + _index42 + "]",
|
|
15353
16979
|
expected: "string",
|
|
15354
16980
|
value: elem
|
|
15355
16981
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -15360,8 +16986,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
15360
16986
|
path: _path + ".exclude",
|
|
15361
16987
|
expected: "(Array<string> | undefined)",
|
|
15362
16988
|
value: input.exclude
|
|
15363
|
-
})) && input.exclude.map((elem,
|
|
15364
|
-
path: _path + ".exclude[" +
|
|
16989
|
+
})) && input.exclude.map((elem, _index43) => "string" === typeof elem || _report(_exceptionable, {
|
|
16990
|
+
path: _path + ".exclude[" + _index43 + "]",
|
|
15365
16991
|
expected: "string",
|
|
15366
16992
|
value: elem
|
|
15367
16993
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -15372,8 +16998,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
15372
16998
|
path: _path + ".include",
|
|
15373
16999
|
expected: "(Array<string> | undefined)",
|
|
15374
17000
|
value: input.include
|
|
15375
|
-
})) && input.include.map((elem,
|
|
15376
|
-
path: _path + ".include[" +
|
|
17001
|
+
})) && input.include.map((elem, _index44) => "string" === typeof elem || _report(_exceptionable, {
|
|
17002
|
+
path: _path + ".include[" + _index44 + "]",
|
|
15377
17003
|
expected: "string",
|
|
15378
17004
|
value: elem
|
|
15379
17005
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -15384,8 +17010,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
15384
17010
|
path: _path + ".exclude",
|
|
15385
17011
|
expected: "(Array<string> | undefined)",
|
|
15386
17012
|
value: input.exclude
|
|
15387
|
-
})) && input.exclude.map((elem,
|
|
15388
|
-
path: _path + ".exclude[" +
|
|
17013
|
+
})) && input.exclude.map((elem, _index45) => "string" === typeof elem || _report(_exceptionable, {
|
|
17014
|
+
path: _path + ".exclude[" + _index45 + "]",
|
|
15389
17015
|
expected: "string",
|
|
15390
17016
|
value: elem
|
|
15391
17017
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -15396,8 +17022,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
15396
17022
|
path: _path + ".include",
|
|
15397
17023
|
expected: "(Array<string> | undefined)",
|
|
15398
17024
|
value: input.include
|
|
15399
|
-
})) && input.include.map((elem,
|
|
15400
|
-
path: _path + ".include[" +
|
|
17025
|
+
})) && input.include.map((elem, _index46) => "string" === typeof elem || _report(_exceptionable, {
|
|
17026
|
+
path: _path + ".include[" + _index46 + "]",
|
|
15401
17027
|
expected: "string",
|
|
15402
17028
|
value: elem
|
|
15403
17029
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -15408,8 +17034,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
15408
17034
|
path: _path + ".exclude",
|
|
15409
17035
|
expected: "(Array<string> | undefined)",
|
|
15410
17036
|
value: input.exclude
|
|
15411
|
-
})) && input.exclude.map((elem,
|
|
15412
|
-
path: _path + ".exclude[" +
|
|
17037
|
+
})) && input.exclude.map((elem, _index47) => "string" === typeof elem || _report(_exceptionable, {
|
|
17038
|
+
path: _path + ".exclude[" + _index47 + "]",
|
|
15413
17039
|
expected: "string",
|
|
15414
17040
|
value: elem
|
|
15415
17041
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -15488,12 +17114,12 @@ function _validateDomainRecord(domain, input) {
|
|
|
15488
17114
|
path: _path + ".colorTags",
|
|
15489
17115
|
expected: "(Array<PromotedTag> | undefined)",
|
|
15490
17116
|
value: input.colorTags
|
|
15491
|
-
})) && input.colorTags.map((elem,
|
|
15492
|
-
path: _path + ".colorTags[" +
|
|
17117
|
+
})) && input.colorTags.map((elem, _index48) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
17118
|
+
path: _path + ".colorTags[" + _index48 + "]",
|
|
15493
17119
|
expected: "PromotedTag",
|
|
15494
17120
|
value: elem
|
|
15495
|
-
})) && _vo22(elem, _path + ".colorTags[" +
|
|
15496
|
-
path: _path + ".colorTags[" +
|
|
17121
|
+
})) && _vo22(elem, _path + ".colorTags[" + _index48 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
17122
|
+
path: _path + ".colorTags[" + _index48 + "]",
|
|
15497
17123
|
expected: "PromotedTag",
|
|
15498
17124
|
value: elem
|
|
15499
17125
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -15569,8 +17195,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
15569
17195
|
path: _path + ".favorites",
|
|
15570
17196
|
expected: "(Array<string> | undefined)",
|
|
15571
17197
|
value: input.favorites
|
|
15572
|
-
})) && input.favorites.map((elem,
|
|
15573
|
-
path: _path + ".favorites[" +
|
|
17198
|
+
})) && input.favorites.map((elem, _index49) => "string" === typeof elem || _report(_exceptionable, {
|
|
17199
|
+
path: _path + ".favorites[" + _index49 + "]",
|
|
15574
17200
|
expected: "string",
|
|
15575
17201
|
value: elem
|
|
15576
17202
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -15610,6 +17236,10 @@ function _validateDomainRecord(domain, input) {
|
|
|
15610
17236
|
path: _path + ".eventThumbnails",
|
|
15611
17237
|
expected: "(boolean | undefined)",
|
|
15612
17238
|
value: input.eventThumbnails
|
|
17239
|
+
}), "folded" === input.scriptEventFolding || "unfoldedUntilFolded" === input.scriptEventFolding || _report(_exceptionable, {
|
|
17240
|
+
path: _path + ".scriptEventFolding",
|
|
17241
|
+
expected: "(\"folded\" | \"unfoldedUntilFolded\")",
|
|
17242
|
+
value: input.scriptEventFolding
|
|
15613
17243
|
})].every(flag => flag); const _vo29 = (input, _path, _exceptionable = true) => [undefined === input.dimOnBlur || "boolean" === typeof input.dimOnBlur || _report(_exceptionable, {
|
|
15614
17244
|
path: _path + ".dimOnBlur",
|
|
15615
17245
|
expected: "(boolean | undefined)",
|
|
@@ -15921,8 +17551,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
15921
17551
|
path: _path + ".playbackRates",
|
|
15922
17552
|
expected: "(Array<number> | undefined)",
|
|
15923
17553
|
value: input.playbackRates
|
|
15924
|
-
})) && input.playbackRates.map((elem,
|
|
15925
|
-
path: _path + ".playbackRates[" +
|
|
17554
|
+
})) && input.playbackRates.map((elem, _index50) => "number" === typeof elem || _report(_exceptionable, {
|
|
17555
|
+
path: _path + ".playbackRates[" + _index50 + "]",
|
|
15926
17556
|
expected: "number",
|
|
15927
17557
|
value: elem
|
|
15928
17558
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -15949,12 +17579,12 @@ function _validateDomainRecord(domain, input) {
|
|
|
15949
17579
|
path: _path + ".guides",
|
|
15950
17580
|
expected: "(Array<__type>.o2 | undefined)",
|
|
15951
17581
|
value: input.guides
|
|
15952
|
-
})) && input.guides.map((elem,
|
|
15953
|
-
path: _path + ".guides[" +
|
|
17582
|
+
})) && input.guides.map((elem, _index51) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
17583
|
+
path: _path + ".guides[" + _index51 + "]",
|
|
15954
17584
|
expected: "__type.o42",
|
|
15955
17585
|
value: elem
|
|
15956
|
-
})) && _vo49(elem, _path + ".guides[" +
|
|
15957
|
-
path: _path + ".guides[" +
|
|
17586
|
+
})) && _vo49(elem, _path + ".guides[" + _index51 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
17587
|
+
path: _path + ".guides[" + _index51 + "]",
|
|
15958
17588
|
expected: "__type.o42",
|
|
15959
17589
|
value: elem
|
|
15960
17590
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -16025,12 +17655,12 @@ function _validateDomainRecord(domain, input) {
|
|
|
16025
17655
|
path: _path + ".suggestions",
|
|
16026
17656
|
expected: "(Array<__type> | undefined)",
|
|
16027
17657
|
value: input.suggestions
|
|
16028
|
-
})) && input.suggestions.map((elem,
|
|
16029
|
-
path: _path + ".suggestions[" +
|
|
17658
|
+
})) && input.suggestions.map((elem, _index52) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
17659
|
+
path: _path + ".suggestions[" + _index52 + "]",
|
|
16030
17660
|
expected: "__type.o40",
|
|
16031
17661
|
value: elem
|
|
16032
|
-
})) && _vo47(elem, _path + ".suggestions[" +
|
|
16033
|
-
path: _path + ".suggestions[" +
|
|
17662
|
+
})) && _vo47(elem, _path + ".suggestions[" + _index52 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
17663
|
+
path: _path + ".suggestions[" + _index52 + "]",
|
|
16034
17664
|
expected: "__type.o40",
|
|
16035
17665
|
value: elem
|
|
16036
17666
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -16041,12 +17671,12 @@ function _validateDomainRecord(domain, input) {
|
|
|
16041
17671
|
path: _path + ".colors",
|
|
16042
17672
|
expected: "(Array<__type>.o1 | undefined)",
|
|
16043
17673
|
value: input.colors
|
|
16044
|
-
})) && input.colors.map((elem,
|
|
16045
|
-
path: _path + ".colors[" +
|
|
17674
|
+
})) && input.colors.map((elem, _index53) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
17675
|
+
path: _path + ".colors[" + _index53 + "]",
|
|
16046
17676
|
expected: "__type.o41",
|
|
16047
17677
|
value: elem
|
|
16048
|
-
})) && _vo48(elem, _path + ".colors[" +
|
|
16049
|
-
path: _path + ".colors[" +
|
|
17678
|
+
})) && _vo48(elem, _path + ".colors[" + _index53 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
17679
|
+
path: _path + ".colors[" + _index53 + "]",
|
|
16050
17680
|
expected: "__type.o41",
|
|
16051
17681
|
value: elem
|
|
16052
17682
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -16057,8 +17687,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
16057
17687
|
path: _path + ".overridableProperties",
|
|
16058
17688
|
expected: "(Array<keyof SubtitleStyle | null> | undefined)",
|
|
16059
17689
|
value: input.overridableProperties
|
|
16060
|
-
})) && input.overridableProperties.map((elem,
|
|
16061
|
-
path: _path + ".overridableProperties[" +
|
|
17690
|
+
})) && input.overridableProperties.map((elem, _index54) => null === elem || true === _vv55.has(elem) || _report(_exceptionable, {
|
|
17691
|
+
path: _path + ".overridableProperties[" + _index54 + "]",
|
|
16062
17692
|
expected: "(\"alignment\" | \"angle\" | \"backColour\" | \"bold\" | \"borderStyle\" | \"encoding\" | \"fontname\" | \"fontsize\" | \"italic\" | \"marginL\" | \"marginR\" | \"marginV\" | \"name\" | \"outline\" | \"outlineColour\" | \"primaryColour\" | \"scaleX\" | \"scaleY\" | \"secondaryColour\" | \"shadow\" | \"spacing\" | \"strikeOut\" | \"underline\" | null)",
|
|
16063
17693
|
value: elem
|
|
16064
17694
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -16137,12 +17767,12 @@ function _validateDomainRecord(domain, input) {
|
|
|
16137
17767
|
path: _path + ".text",
|
|
16138
17768
|
expected: "(Array<__type>.o3 | undefined)",
|
|
16139
17769
|
value: input.text
|
|
16140
|
-
})) && input.text.map((elem,
|
|
16141
|
-
path: _path + ".text[" +
|
|
17770
|
+
})) && input.text.map((elem, _index56) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
17771
|
+
path: _path + ".text[" + _index56 + "]",
|
|
16142
17772
|
expected: "__type.o47",
|
|
16143
17773
|
value: elem
|
|
16144
|
-
})) && _vo54(elem, _path + ".text[" +
|
|
16145
|
-
path: _path + ".text[" +
|
|
17774
|
+
})) && _vo54(elem, _path + ".text[" + _index56 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
17775
|
+
path: _path + ".text[" + _index56 + "]",
|
|
16146
17776
|
expected: "__type.o47",
|
|
16147
17777
|
value: elem
|
|
16148
17778
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -16181,8 +17811,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
16181
17811
|
path: _path + ".args",
|
|
16182
17812
|
expected: "(Array<string> | undefined)",
|
|
16183
17813
|
value: input.args
|
|
16184
|
-
})) && input.args.map((elem,
|
|
16185
|
-
path: _path + ".args[" +
|
|
17814
|
+
})) && input.args.map((elem, _index57) => "string" === typeof elem || _report(_exceptionable, {
|
|
17815
|
+
path: _path + ".args[" + _index57 + "]",
|
|
16186
17816
|
expected: "string",
|
|
16187
17817
|
value: elem
|
|
16188
17818
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -16193,15 +17823,59 @@ function _validateDomainRecord(domain, input) {
|
|
|
16193
17823
|
path: _path + ".thumbnailView",
|
|
16194
17824
|
expected: "(\"filmStrip\" | \"none\" | \"thumbnail\" | undefined)",
|
|
16195
17825
|
value: input.thumbnailView
|
|
17826
|
+
}), undefined === input.normalize || ("object" === typeof input.normalize && null !== input.normalize && false === Array.isArray(input.normalize) || _report(_exceptionable, {
|
|
17827
|
+
path: _path + ".normalize",
|
|
17828
|
+
expected: "(__type.o50 | undefined)",
|
|
17829
|
+
value: input.normalize
|
|
17830
|
+
})) && _vo57(input.normalize, _path + ".normalize", true && _exceptionable) || _report(_exceptionable, {
|
|
17831
|
+
path: _path + ".normalize",
|
|
17832
|
+
expected: "(__type.o50 | undefined)",
|
|
17833
|
+
value: input.normalize
|
|
16196
17834
|
}), undefined === input.voiceOver || ("object" === typeof input.voiceOver && null !== input.voiceOver && false === Array.isArray(input.voiceOver) || _report(_exceptionable, {
|
|
16197
17835
|
path: _path + ".voiceOver",
|
|
16198
|
-
expected: "(__type.
|
|
17836
|
+
expected: "(__type.o52 | undefined)",
|
|
16199
17837
|
value: input.voiceOver
|
|
16200
|
-
})) &&
|
|
17838
|
+
})) && _vo59(input.voiceOver, _path + ".voiceOver", true && _exceptionable) || _report(_exceptionable, {
|
|
16201
17839
|
path: _path + ".voiceOver",
|
|
16202
|
-
expected: "(__type.
|
|
17840
|
+
expected: "(__type.o52 | undefined)",
|
|
16203
17841
|
value: input.voiceOver
|
|
16204
|
-
})].every(flag => flag); const _vo57 = (input, _path, _exceptionable = true) => [undefined === input.
|
|
17842
|
+
})].every(flag => flag); const _vo57 = (input, _path, _exceptionable = true) => [undefined === input.presets || (Array.isArray(input.presets) || _report(_exceptionable, {
|
|
17843
|
+
path: _path + ".presets",
|
|
17844
|
+
expected: "(Array<__type>.o4 | undefined)",
|
|
17845
|
+
value: input.presets
|
|
17846
|
+
})) && input.presets.map((elem, _index58) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
17847
|
+
path: _path + ".presets[" + _index58 + "]",
|
|
17848
|
+
expected: "__type.o51",
|
|
17849
|
+
value: elem
|
|
17850
|
+
})) && _vo58(elem, _path + ".presets[" + _index58 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
17851
|
+
path: _path + ".presets[" + _index58 + "]",
|
|
17852
|
+
expected: "__type.o51",
|
|
17853
|
+
value: elem
|
|
17854
|
+
})).every(flag => flag) || _report(_exceptionable, {
|
|
17855
|
+
path: _path + ".presets",
|
|
17856
|
+
expected: "(Array<__type>.o4 | undefined)",
|
|
17857
|
+
value: input.presets
|
|
17858
|
+
}), undefined === input.defaultPresetId || "string" === typeof input.defaultPresetId || _report(_exceptionable, {
|
|
17859
|
+
path: _path + ".defaultPresetId",
|
|
17860
|
+
expected: "(string | undefined)",
|
|
17861
|
+
value: input.defaultPresetId
|
|
17862
|
+
})].every(flag => flag); const _vo58 = (input, _path, _exceptionable = true) => ["string" === typeof input.id || _report(_exceptionable, {
|
|
17863
|
+
path: _path + ".id",
|
|
17864
|
+
expected: "string",
|
|
17865
|
+
value: input.id
|
|
17866
|
+
}), "string" === typeof input.title || _report(_exceptionable, {
|
|
17867
|
+
path: _path + ".title",
|
|
17868
|
+
expected: "string",
|
|
17869
|
+
value: input.title
|
|
17870
|
+
}), "number" === typeof input.i || _report(_exceptionable, {
|
|
17871
|
+
path: _path + ".i",
|
|
17872
|
+
expected: "number",
|
|
17873
|
+
value: input.i
|
|
17874
|
+
}), "number" === typeof input.tp || _report(_exceptionable, {
|
|
17875
|
+
path: _path + ".tp",
|
|
17876
|
+
expected: "number",
|
|
17877
|
+
value: input.tp
|
|
17878
|
+
})].every(flag => flag); const _vo59 = (input, _path, _exceptionable = true) => [undefined === input.inputDevice || "string" === typeof input.inputDevice || _report(_exceptionable, {
|
|
16205
17879
|
path: _path + ".inputDevice",
|
|
16206
17880
|
expected: "(string | undefined)",
|
|
16207
17881
|
value: input.inputDevice
|
|
@@ -16221,7 +17895,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
16221
17895
|
path: _path + ".preRollDuration",
|
|
16222
17896
|
expected: "(number | undefined)",
|
|
16223
17897
|
value: input.preRollDuration
|
|
16224
|
-
})].every(flag => flag); const
|
|
17898
|
+
})].every(flag => flag); const _vo60 = (input, _path, _exceptionable = true) => [undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
|
16225
17899
|
path: _path + ".title",
|
|
16226
17900
|
expected: "(string | undefined)",
|
|
16227
17901
|
value: input.title
|
|
@@ -16233,75 +17907,75 @@ function _validateDomainRecord(domain, input) {
|
|
|
16233
17907
|
path: _path + ".args",
|
|
16234
17908
|
expected: "(Array<string> | undefined)",
|
|
16235
17909
|
value: input.args
|
|
16236
|
-
})) && input.args.map((elem,
|
|
16237
|
-
path: _path + ".args[" +
|
|
17910
|
+
})) && input.args.map((elem, _index59) => "string" === typeof elem || _report(_exceptionable, {
|
|
17911
|
+
path: _path + ".args[" + _index59 + "]",
|
|
16238
17912
|
expected: "string",
|
|
16239
17913
|
value: elem
|
|
16240
17914
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
16241
17915
|
path: _path + ".args",
|
|
16242
17916
|
expected: "(Array<string> | undefined)",
|
|
16243
17917
|
value: input.args
|
|
16244
|
-
})].every(flag => flag); const
|
|
17918
|
+
})].every(flag => flag); const _vo61 = (input, _path, _exceptionable = true) => [undefined === input.folded || ("object" === typeof input.folded && null !== input.folded && false === Array.isArray(input.folded) || _report(_exceptionable, {
|
|
16245
17919
|
path: _path + ".folded",
|
|
16246
|
-
expected: "(__type.
|
|
17920
|
+
expected: "(__type.o55 | undefined)",
|
|
16247
17921
|
value: input.folded
|
|
16248
|
-
})) &&
|
|
17922
|
+
})) && _vo62(input.folded, _path + ".folded", true && _exceptionable) || _report(_exceptionable, {
|
|
16249
17923
|
path: _path + ".folded",
|
|
16250
|
-
expected: "(__type.
|
|
17924
|
+
expected: "(__type.o55 | undefined)",
|
|
16251
17925
|
value: input.folded
|
|
16252
17926
|
}), undefined === input.assets || ("object" === typeof input.assets && null !== input.assets && false === Array.isArray(input.assets) || _report(_exceptionable, {
|
|
16253
17927
|
path: _path + ".assets",
|
|
16254
|
-
expected: "(__type.
|
|
17928
|
+
expected: "(__type.o56 | undefined)",
|
|
16255
17929
|
value: input.assets
|
|
16256
|
-
})) &&
|
|
17930
|
+
})) && _vo63(input.assets, _path + ".assets", true && _exceptionable) || _report(_exceptionable, {
|
|
16257
17931
|
path: _path + ".assets",
|
|
16258
|
-
expected: "(__type.
|
|
17932
|
+
expected: "(__type.o56 | undefined)",
|
|
16259
17933
|
value: input.assets
|
|
16260
17934
|
}), undefined === input.pipeline || ("object" === typeof input.pipeline && null !== input.pipeline && false === Array.isArray(input.pipeline) || _report(_exceptionable, {
|
|
16261
17935
|
path: _path + ".pipeline",
|
|
16262
|
-
expected: "(__type.
|
|
17936
|
+
expected: "(__type.o60 | undefined)",
|
|
16263
17937
|
value: input.pipeline
|
|
16264
|
-
})) &&
|
|
17938
|
+
})) && _vo67(input.pipeline, _path + ".pipeline", true && _exceptionable) || _report(_exceptionable, {
|
|
16265
17939
|
path: _path + ".pipeline",
|
|
16266
|
-
expected: "(__type.
|
|
17940
|
+
expected: "(__type.o60 | undefined)",
|
|
16267
17941
|
value: input.pipeline
|
|
16268
17942
|
}), undefined === input.item || ("object" === typeof input.item && null !== input.item && false === Array.isArray(input.item) || _report(_exceptionable, {
|
|
16269
17943
|
path: _path + ".item",
|
|
16270
|
-
expected: "(__type.
|
|
17944
|
+
expected: "(__type.o62 | undefined)",
|
|
16271
17945
|
value: input.item
|
|
16272
|
-
})) &&
|
|
17946
|
+
})) && _vo69(input.item, _path + ".item", true && _exceptionable) || _report(_exceptionable, {
|
|
16273
17947
|
path: _path + ".item",
|
|
16274
|
-
expected: "(__type.
|
|
17948
|
+
expected: "(__type.o62 | undefined)",
|
|
16275
17949
|
value: input.item
|
|
16276
|
-
})].every(flag => flag); const
|
|
17950
|
+
})].every(flag => flag); const _vo62 = (input, _path, _exceptionable = true) => [undefined === input.auto || "boolean" === typeof input.auto || _report(_exceptionable, {
|
|
16277
17951
|
path: _path + ".auto",
|
|
16278
17952
|
expected: "(boolean | undefined)",
|
|
16279
17953
|
value: input.auto
|
|
16280
|
-
})].every(flag => flag); const
|
|
17954
|
+
})].every(flag => flag); const _vo63 = (input, _path, _exceptionable = true) => [undefined === input.story || ("object" === typeof input.story && null !== input.story && false === Array.isArray(input.story) || _report(_exceptionable, {
|
|
16281
17955
|
path: _path + ".story",
|
|
16282
|
-
expected: "(__type.
|
|
17956
|
+
expected: "(__type.o57 | undefined)",
|
|
16283
17957
|
value: input.story
|
|
16284
|
-
})) &&
|
|
17958
|
+
})) && _vo64(input.story, _path + ".story", true && _exceptionable) || _report(_exceptionable, {
|
|
16285
17959
|
path: _path + ".story",
|
|
16286
|
-
expected: "(__type.
|
|
17960
|
+
expected: "(__type.o57 | undefined)",
|
|
16287
17961
|
value: input.story
|
|
16288
17962
|
}), undefined === input.note || ("object" === typeof input.note && null !== input.note && false === Array.isArray(input.note) || _report(_exceptionable, {
|
|
16289
17963
|
path: _path + ".note",
|
|
16290
|
-
expected: "(__type.
|
|
17964
|
+
expected: "(__type.o59 | undefined)",
|
|
16291
17965
|
value: input.note
|
|
16292
|
-
})) &&
|
|
17966
|
+
})) && _vo66(input.note, _path + ".note", true && _exceptionable) || _report(_exceptionable, {
|
|
16293
17967
|
path: _path + ".note",
|
|
16294
|
-
expected: "(__type.
|
|
17968
|
+
expected: "(__type.o59 | undefined)",
|
|
16295
17969
|
value: input.note
|
|
16296
|
-
})].every(flag => flag); const
|
|
17970
|
+
})].every(flag => flag); const _vo64 = (input, _path, _exceptionable = true) => [undefined === input.excerpt || ("object" === typeof input.excerpt && null !== input.excerpt && false === Array.isArray(input.excerpt) || _report(_exceptionable, {
|
|
16297
17971
|
path: _path + ".excerpt",
|
|
16298
|
-
expected: "(__type.
|
|
17972
|
+
expected: "(__type.o58 | undefined)",
|
|
16299
17973
|
value: input.excerpt
|
|
16300
|
-
})) &&
|
|
17974
|
+
})) && _vo65(input.excerpt, _path + ".excerpt", true && _exceptionable) || _report(_exceptionable, {
|
|
16301
17975
|
path: _path + ".excerpt",
|
|
16302
|
-
expected: "(__type.
|
|
17976
|
+
expected: "(__type.o58 | undefined)",
|
|
16303
17977
|
value: input.excerpt
|
|
16304
|
-
})].every(flag => flag); const
|
|
17978
|
+
})].every(flag => flag); const _vo65 = (input, _path, _exceptionable = true) => [undefined === input.maxLines || "number" === typeof input.maxLines || _report(_exceptionable, {
|
|
16305
17979
|
path: _path + ".maxLines",
|
|
16306
17980
|
expected: "(number | undefined)",
|
|
16307
17981
|
value: input.maxLines
|
|
@@ -16313,27 +17987,27 @@ function _validateDomainRecord(domain, input) {
|
|
|
16313
17987
|
path: _path + ".comments",
|
|
16314
17988
|
expected: "(boolean | undefined)",
|
|
16315
17989
|
value: input.comments
|
|
16316
|
-
})].every(flag => flag); const
|
|
17990
|
+
})].every(flag => flag); const _vo66 = (input, _path, _exceptionable = true) => [undefined === input.maxHeight || "number" === typeof input.maxHeight || _report(_exceptionable, {
|
|
16317
17991
|
path: _path + ".maxHeight",
|
|
16318
17992
|
expected: "(number | undefined)",
|
|
16319
17993
|
value: input.maxHeight
|
|
16320
|
-
})].every(flag => flag); const
|
|
17994
|
+
})].every(flag => flag); const _vo67 = (input, _path, _exceptionable = true) => [undefined === input.search || ("object" === typeof input.search && null !== input.search && false === Array.isArray(input.search) || _report(_exceptionable, {
|
|
16321
17995
|
path: _path + ".search",
|
|
16322
|
-
expected: "(__type.
|
|
17996
|
+
expected: "(__type.o61 | undefined)",
|
|
16323
17997
|
value: input.search
|
|
16324
|
-
})) &&
|
|
17998
|
+
})) && _vo68(input.search, _path + ".search", true && _exceptionable) || _report(_exceptionable, {
|
|
16325
17999
|
path: _path + ".search",
|
|
16326
|
-
expected: "(__type.
|
|
18000
|
+
expected: "(__type.o61 | undefined)",
|
|
16327
18001
|
value: input.search
|
|
16328
|
-
}), undefined === input.sortMode || true ===
|
|
18002
|
+
}), undefined === input.sortMode || true === _vv60.has(input.sortMode) || _report(_exceptionable, {
|
|
16329
18003
|
path: _path + ".sortMode",
|
|
16330
18004
|
expected: "(\"az\" | \"default\" | \"earliestdeadline\" | \"latestdeadline\" | \"leastrecent\" | \"manual\" | \"mostrecent\" | \"newest\" | \"oldest\" | \"za\" | undefined)",
|
|
16331
18005
|
value: input.sortMode
|
|
16332
|
-
})].every(flag => flag); const
|
|
18006
|
+
})].every(flag => flag); const _vo68 = (input, _path, _exceptionable = true) => [undefined === input.maxItemsDisplayed || "number" === typeof input.maxItemsDisplayed || _report(_exceptionable, {
|
|
16333
18007
|
path: _path + ".maxItemsDisplayed",
|
|
16334
18008
|
expected: "(number | undefined)",
|
|
16335
18009
|
value: input.maxItemsDisplayed
|
|
16336
|
-
})].every(flag => flag); const
|
|
18010
|
+
})].every(flag => flag); const _vo69 = (input, _path, _exceptionable = true) => [undefined === input.maxHeight || "number" === typeof input.maxHeight || _report(_exceptionable, {
|
|
16337
18011
|
path: _path + ".maxHeight",
|
|
16338
18012
|
expected: "(number | undefined)",
|
|
16339
18013
|
value: input.maxHeight
|
|
@@ -16341,19 +18015,19 @@ function _validateDomainRecord(domain, input) {
|
|
|
16341
18015
|
path: _path + ".titleLines",
|
|
16342
18016
|
expected: "(number | undefined)",
|
|
16343
18017
|
value: input.titleLines
|
|
16344
|
-
})].every(flag => flag); const
|
|
18018
|
+
})].every(flag => flag); const _vo70 = (input, _path, _exceptionable = true) => [undefined === input.fontFamilies || (Array.isArray(input.fontFamilies) || _report(_exceptionable, {
|
|
16345
18019
|
path: _path + ".fontFamilies",
|
|
16346
18020
|
expected: "(Array<string> | undefined)",
|
|
16347
18021
|
value: input.fontFamilies
|
|
16348
|
-
})) && input.fontFamilies.map((elem,
|
|
16349
|
-
path: _path + ".fontFamilies[" +
|
|
18022
|
+
})) && input.fontFamilies.map((elem, _index61) => "string" === typeof elem || _report(_exceptionable, {
|
|
18023
|
+
path: _path + ".fontFamilies[" + _index61 + "]",
|
|
16350
18024
|
expected: "string",
|
|
16351
18025
|
value: elem
|
|
16352
18026
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
16353
18027
|
path: _path + ".fontFamilies",
|
|
16354
18028
|
expected: "(Array<string> | undefined)",
|
|
16355
18029
|
value: input.fontFamilies
|
|
16356
|
-
})].every(flag => flag); const
|
|
18030
|
+
})].every(flag => flag); const _vo71 = (input, _path, _exceptionable = true) => [undefined === input.id || "string" === typeof input.id || _report(_exceptionable, {
|
|
16357
18031
|
path: _path + ".id",
|
|
16358
18032
|
expected: "(string | undefined)",
|
|
16359
18033
|
value: input.id
|
|
@@ -16361,31 +18035,31 @@ function _validateDomainRecord(domain, input) {
|
|
|
16361
18035
|
path: _path + ".folded",
|
|
16362
18036
|
expected: "(boolean | undefined)",
|
|
16363
18037
|
value: input.folded
|
|
16364
|
-
})].every(flag => flag); const
|
|
18038
|
+
})].every(flag => flag); const _vo72 = (input, _path, _exceptionable = true) => [undefined === input.adobe || ("object" === typeof input.adobe && null !== input.adobe && false === Array.isArray(input.adobe) || _report(_exceptionable, {
|
|
16365
18039
|
path: _path + ".adobe",
|
|
16366
|
-
expected: "(__type.
|
|
18040
|
+
expected: "(__type.o66 | undefined)",
|
|
16367
18041
|
value: input.adobe
|
|
16368
|
-
})) &&
|
|
18042
|
+
})) && _vo73(input.adobe, _path + ".adobe", true && _exceptionable) || _report(_exceptionable, {
|
|
16369
18043
|
path: _path + ".adobe",
|
|
16370
|
-
expected: "(__type.
|
|
18044
|
+
expected: "(__type.o66 | undefined)",
|
|
16371
18045
|
value: input.adobe
|
|
16372
18046
|
}), undefined === input.rive || ("object" === typeof input.rive && null !== input.rive && false === Array.isArray(input.rive) || _report(_exceptionable, {
|
|
16373
18047
|
path: _path + ".rive",
|
|
16374
|
-
expected: "(__type.
|
|
18048
|
+
expected: "(__type.o67 | undefined)",
|
|
16375
18049
|
value: input.rive
|
|
16376
|
-
})) &&
|
|
18050
|
+
})) && _vo74(input.rive, _path + ".rive", true && _exceptionable) || _report(_exceptionable, {
|
|
16377
18051
|
path: _path + ".rive",
|
|
16378
|
-
expected: "(__type.
|
|
18052
|
+
expected: "(__type.o67 | undefined)",
|
|
16379
18053
|
value: input.rive
|
|
16380
|
-
})].every(flag => flag); const
|
|
18054
|
+
})].every(flag => flag); const _vo73 = (input, _path, _exceptionable = true) => [undefined === input.useProxies || "boolean" === typeof input.useProxies || _report(_exceptionable, {
|
|
16381
18055
|
path: _path + ".useProxies",
|
|
16382
18056
|
expected: "(boolean | undefined)",
|
|
16383
18057
|
value: input.useProxies
|
|
16384
|
-
})].every(flag => flag); const
|
|
18058
|
+
})].every(flag => flag); const _vo74 = (input, _path, _exceptionable = true) => [undefined === input.template || "string" === typeof input.template || _report(_exceptionable, {
|
|
16385
18059
|
path: _path + ".template",
|
|
16386
18060
|
expected: "(string | undefined)",
|
|
16387
18061
|
value: input.template
|
|
16388
|
-
})].every(flag => flag); const
|
|
18062
|
+
})].every(flag => flag); const _vo75 = (input, _path, _exceptionable = true) => [undefined === input.collections || "boolean" === typeof input.collections || _report(_exceptionable, {
|
|
16389
18063
|
path: _path + ".collections",
|
|
16390
18064
|
expected: "(boolean | undefined)",
|
|
16391
18065
|
value: input.collections
|
|
@@ -16397,7 +18071,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
16397
18071
|
path: _path + ".ameRemoteRendering",
|
|
16398
18072
|
expected: "(boolean | undefined)",
|
|
16399
18073
|
value: input.ameRemoteRendering
|
|
16400
|
-
})].every(flag => flag); const
|
|
18074
|
+
})].every(flag => flag); const _vo76 = (input, _path, _exceptionable = true) => [undefined === input.utils || "boolean" === typeof input.utils || _report(_exceptionable, {
|
|
16401
18075
|
path: _path + ".utils",
|
|
16402
18076
|
expected: "(boolean | undefined)",
|
|
16403
18077
|
value: input.utils
|
|
@@ -16473,20 +18147,20 @@ function _validateDomainRecord(domain, input) {
|
|
|
16473
18147
|
path: _path + ".systemHealth",
|
|
16474
18148
|
expected: "(boolean | undefined)",
|
|
16475
18149
|
value: input.systemHealth
|
|
16476
|
-
})].every(flag => flag); const
|
|
18150
|
+
})].every(flag => flag); const _vo77 = (input, _path, _exceptionable = true) => [undefined === input.events || ("object" === typeof input.events && null !== input.events && false === Array.isArray(input.events) || _report(_exceptionable, {
|
|
16477
18151
|
path: _path + ".events",
|
|
16478
|
-
expected: "(__type.
|
|
18152
|
+
expected: "(__type.o71 | undefined)",
|
|
16479
18153
|
value: input.events
|
|
16480
|
-
})) &&
|
|
18154
|
+
})) && _vo78(input.events, _path + ".events", true && _exceptionable) || _report(_exceptionable, {
|
|
16481
18155
|
path: _path + ".events",
|
|
16482
|
-
expected: "(__type.
|
|
18156
|
+
expected: "(__type.o71 | undefined)",
|
|
16483
18157
|
value: input.events
|
|
16484
|
-
})].every(flag => flag); const
|
|
18158
|
+
})].every(flag => flag); const _vo78 = (input, _path, _exceptionable = true) => [undefined === input.comment || (Array.isArray(input.comment) || _report(_exceptionable, {
|
|
16485
18159
|
path: _path + ".comment",
|
|
16486
18160
|
expected: "(Array<NotificationReason> | undefined)",
|
|
16487
18161
|
value: input.comment
|
|
16488
|
-
})) && input.comment.map((elem,
|
|
16489
|
-
path: _path + ".comment[" +
|
|
18162
|
+
})) && input.comment.map((elem, _index62) => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem || _report(_exceptionable, {
|
|
18163
|
+
path: _path + ".comment[" + _index62 + "]",
|
|
16490
18164
|
expected: "(\"always\" | \"assigned\" | \"author\" | \"mentioned\" | \"participated\")",
|
|
16491
18165
|
value: elem
|
|
16492
18166
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -16497,8 +18171,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
16497
18171
|
path: _path + ".assigned",
|
|
16498
18172
|
expected: "(Array<NotificationReason> | undefined)",
|
|
16499
18173
|
value: input.assigned
|
|
16500
|
-
})) && input.assigned.map((elem,
|
|
16501
|
-
path: _path + ".assigned[" +
|
|
18174
|
+
})) && input.assigned.map((elem, _index63) => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem || _report(_exceptionable, {
|
|
18175
|
+
path: _path + ".assigned[" + _index63 + "]",
|
|
16502
18176
|
expected: "(\"always\" | \"assigned\" | \"author\" | \"mentioned\" | \"participated\")",
|
|
16503
18177
|
value: elem
|
|
16504
18178
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -16509,8 +18183,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
16509
18183
|
path: _path + ".unassigned",
|
|
16510
18184
|
expected: "(Array<NotificationReason> | undefined)",
|
|
16511
18185
|
value: input.unassigned
|
|
16512
|
-
})) && input.unassigned.map((elem,
|
|
16513
|
-
path: _path + ".unassigned[" +
|
|
18186
|
+
})) && input.unassigned.map((elem, _index64) => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem || _report(_exceptionable, {
|
|
18187
|
+
path: _path + ".unassigned[" + _index64 + "]",
|
|
16514
18188
|
expected: "(\"always\" | \"assigned\" | \"author\" | \"mentioned\" | \"participated\")",
|
|
16515
18189
|
value: elem
|
|
16516
18190
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -16519,13 +18193,13 @@ function _validateDomainRecord(domain, input) {
|
|
|
16519
18193
|
value: input.unassigned
|
|
16520
18194
|
}), undefined === input.publishSucceeded || ("object" === typeof input.publishSucceeded && null !== input.publishSucceeded && false === Array.isArray(input.publishSucceeded) || _report(_exceptionable, {
|
|
16521
18195
|
path: _path + ".publishSucceeded",
|
|
16522
|
-
expected: "(__type.
|
|
18196
|
+
expected: "(__type.o72 | undefined)",
|
|
16523
18197
|
value: input.publishSucceeded
|
|
16524
|
-
})) &&
|
|
18198
|
+
})) && _vo79(input.publishSucceeded, _path + ".publishSucceeded", true && _exceptionable) || _report(_exceptionable, {
|
|
16525
18199
|
path: _path + ".publishSucceeded",
|
|
16526
|
-
expected: "(__type.
|
|
18200
|
+
expected: "(__type.o72 | undefined)",
|
|
16527
18201
|
value: input.publishSucceeded
|
|
16528
|
-
})].every(flag => flag); const
|
|
18202
|
+
})].every(flag => flag); const _vo79 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
16529
18203
|
const value = input[key];
|
|
16530
18204
|
if (undefined === value)
|
|
16531
18205
|
return true;
|
|
@@ -16533,8 +18207,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
16533
18207
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
16534
18208
|
expected: "Array<NotificationReason>",
|
|
16535
18209
|
value: value
|
|
16536
|
-
})) && value.map((elem,
|
|
16537
|
-
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key) + "[" +
|
|
18210
|
+
})) && value.map((elem, _index65) => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem || _report(_exceptionable, {
|
|
18211
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key) + "[" + _index65 + "]",
|
|
16538
18212
|
expected: "(\"always\" | \"assigned\" | \"author\" | \"mentioned\" | \"participated\")",
|
|
16539
18213
|
value: elem
|
|
16540
18214
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -16542,15 +18216,15 @@ function _validateDomainRecord(domain, input) {
|
|
|
16542
18216
|
expected: "Array<NotificationReason>",
|
|
16543
18217
|
value: value
|
|
16544
18218
|
});
|
|
16545
|
-
}).every(flag => flag)].every(flag => flag); const
|
|
18219
|
+
}).every(flag => flag)].every(flag => flag); const _vo80 = (input, _path, _exceptionable = true) => [undefined === input.duplicate || ("object" === typeof input.duplicate && null !== input.duplicate && false === Array.isArray(input.duplicate) || _report(_exceptionable, {
|
|
16546
18220
|
path: _path + ".duplicate",
|
|
16547
|
-
expected: "(__type.
|
|
18221
|
+
expected: "(__type.o74 | undefined)",
|
|
16548
18222
|
value: input.duplicate
|
|
16549
|
-
})) &&
|
|
18223
|
+
})) && _vo81(input.duplicate, _path + ".duplicate", true && _exceptionable) || _report(_exceptionable, {
|
|
16550
18224
|
path: _path + ".duplicate",
|
|
16551
|
-
expected: "(__type.
|
|
18225
|
+
expected: "(__type.o74 | undefined)",
|
|
16552
18226
|
value: input.duplicate
|
|
16553
|
-
})].every(flag => flag); const
|
|
18227
|
+
})].every(flag => flag); const _vo81 = (input, _path, _exceptionable = true) => [undefined === input.titlePrefix || "string" === typeof input.titlePrefix || _report(_exceptionable, {
|
|
16554
18228
|
path: _path + ".titlePrefix",
|
|
16555
18229
|
expected: "(string | undefined)",
|
|
16556
18230
|
value: input.titlePrefix
|
|
@@ -16558,12 +18232,12 @@ function _validateDomainRecord(domain, input) {
|
|
|
16558
18232
|
path: _path + ".titleSuffix",
|
|
16559
18233
|
expected: "(string | undefined)",
|
|
16560
18234
|
value: input.titleSuffix
|
|
16561
|
-
})].every(flag => flag); const
|
|
18235
|
+
})].every(flag => flag); const _vo82 = (input, _path, _exceptionable = true) => [undefined === input.stateFilter || (Array.isArray(input.stateFilter) || _report(_exceptionable, {
|
|
16562
18236
|
path: _path + ".stateFilter",
|
|
16563
18237
|
expected: "(Array<number> | undefined)",
|
|
16564
18238
|
value: input.stateFilter
|
|
16565
|
-
})) && input.stateFilter.map((elem,
|
|
16566
|
-
path: _path + ".stateFilter[" +
|
|
18239
|
+
})) && input.stateFilter.map((elem, _index66) => "number" === typeof elem || _report(_exceptionable, {
|
|
18240
|
+
path: _path + ".stateFilter[" + _index66 + "]",
|
|
16567
18241
|
expected: "number",
|
|
16568
18242
|
value: elem
|
|
16569
18243
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -16590,6 +18264,14 @@ function _validateDomainRecord(domain, input) {
|
|
|
16590
18264
|
path: _path + ".parseRegex",
|
|
16591
18265
|
expected: "(boolean | undefined)",
|
|
16592
18266
|
value: input.parseRegex
|
|
18267
|
+
})].every(flag => flag); const _vo83 = (input, _path, _exceptionable = true) => [undefined === input.disableHotArea || "boolean" === typeof input.disableHotArea || _report(_exceptionable, {
|
|
18268
|
+
path: _path + ".disableHotArea",
|
|
18269
|
+
expected: "(boolean | undefined)",
|
|
18270
|
+
value: input.disableHotArea
|
|
18271
|
+
})].every(flag => flag); const _vo84 = (input, _path, _exceptionable = true) => [undefined === input.refreshInterval || "number" === typeof input.refreshInterval || _report(_exceptionable, {
|
|
18272
|
+
path: _path + ".refreshInterval",
|
|
18273
|
+
expected: "(number | undefined)",
|
|
18274
|
+
value: input.refreshInterval
|
|
16593
18275
|
})].every(flag => flag); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); let errors; let _report; return input => {
|
|
16594
18276
|
if (false === __is(input)) {
|
|
16595
18277
|
errors = [];
|
|
@@ -16619,6 +18301,62 @@ function _validateDomainRecord(domain, input) {
|
|
|
16619
18301
|
};
|
|
16620
18302
|
}; })()(input);
|
|
16621
18303
|
}
|
|
18304
|
+
case ":settings.node": {
|
|
18305
|
+
return (() => { const _io0 = input => Object.keys(input).every(key => {
|
|
18306
|
+
const value = input[key];
|
|
18307
|
+
if (undefined === value)
|
|
18308
|
+
return true;
|
|
18309
|
+
return "object" === typeof value && null !== value && _io1(value);
|
|
18310
|
+
}); const _io1 = input => "boolean" === typeof input.collapsed && "boolean" === typeof input.hidden; const _vo0 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
18311
|
+
const value = input[key];
|
|
18312
|
+
if (undefined === value)
|
|
18313
|
+
return true;
|
|
18314
|
+
return ("object" === typeof value && null !== value || _report(_exceptionable, {
|
|
18315
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
18316
|
+
expected: "__type",
|
|
18317
|
+
value: value
|
|
18318
|
+
})) && _vo1(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || _report(_exceptionable, {
|
|
18319
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
18320
|
+
expected: "__type",
|
|
18321
|
+
value: value
|
|
18322
|
+
});
|
|
18323
|
+
}).every(flag => flag)].every(flag => flag); const _vo1 = (input, _path, _exceptionable = true) => ["boolean" === typeof input.collapsed || _report(_exceptionable, {
|
|
18324
|
+
path: _path + ".collapsed",
|
|
18325
|
+
expected: "boolean",
|
|
18326
|
+
value: input.collapsed
|
|
18327
|
+
}), "boolean" === typeof input.hidden || _report(_exceptionable, {
|
|
18328
|
+
path: _path + ".hidden",
|
|
18329
|
+
expected: "boolean",
|
|
18330
|
+
value: input.hidden
|
|
18331
|
+
})].every(flag => flag); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); let errors; let _report; return input => {
|
|
18332
|
+
if (false === __is(input)) {
|
|
18333
|
+
errors = [];
|
|
18334
|
+
_report = __typia_transform__validateReport._validateReport(errors);
|
|
18335
|
+
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || _report(true, {
|
|
18336
|
+
path: _path + "",
|
|
18337
|
+
expected: "SettingsNodeRecord",
|
|
18338
|
+
value: input
|
|
18339
|
+
})) && _vo0(input, _path + "", true) || _report(true, {
|
|
18340
|
+
path: _path + "",
|
|
18341
|
+
expected: "SettingsNodeRecord",
|
|
18342
|
+
value: input
|
|
18343
|
+
}))(input, "$input", true);
|
|
18344
|
+
const success = 0 === errors.length;
|
|
18345
|
+
return success ? {
|
|
18346
|
+
success,
|
|
18347
|
+
data: input
|
|
18348
|
+
} : {
|
|
18349
|
+
success,
|
|
18350
|
+
errors,
|
|
18351
|
+
data: input
|
|
18352
|
+
};
|
|
18353
|
+
}
|
|
18354
|
+
return {
|
|
18355
|
+
success: true,
|
|
18356
|
+
data: input
|
|
18357
|
+
};
|
|
18358
|
+
}; })()(input);
|
|
18359
|
+
}
|
|
16622
18360
|
case ":shotbox": {
|
|
16623
18361
|
return (() => { const _io0 = input => undefined === input.pages || Array.isArray(input.pages) && input.pages.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io1(elem)); const _io1 = input => (undefined === input.stickyTopRow || "boolean" === typeof input.stickyTopRow) && (undefined === input.inferGroups || "boolean" === typeof input.inferGroups) && (undefined === input.layout || Array.isArray(input.layout) && input.layout.every(elem => null !== elem && undefined !== elem && (Array.isArray(elem) && elem.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _iu0(elem)) || "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _iu0(elem)))); const _io2 = input => (undefined === input.id || "string" === typeof input.id) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.sticky || "boolean" === typeof input.sticky) && (undefined === input.type || "trigger" === input.type || "toggle" === input.type) && (undefined === input.width || "string" === typeof input.width) && (undefined === input.include || Array.isArray(input.include) && input.include.every(elem => "string" === typeof elem)) && (undefined === input.exclude || Array.isArray(input.exclude) && input.exclude.every(elem => "string" === typeof elem)) && (undefined === input.states || "object" === typeof input.states && null !== input.states && _io3(input.states)) && (undefined === input.flow || "column" === input.flow || "row" === input.flow) && (undefined === input.minRows || "number" === typeof input.minRows) && (undefined === input.maxRows || "number" === typeof input.maxRows); const _io3 = input => "boolean" === typeof input.completed; const _io4 = input => "stream" === input.type && (undefined === input.title || "string" === typeof input.title) && (undefined === input.width || "string" === typeof input.width) && (undefined === input.source || "string" === typeof input.source); const _iu0 = input => (() => {
|
|
16624
18362
|
if ("stream" === input.type)
|