@nxtedition/types 23.1.3 → 23.1.5
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/block.d.ts +1 -0
- package/dist/common/block.js +31 -13
- package/dist/common/file.js +9 -8
- package/dist/common/index.d.ts +2 -0
- package/dist/common/index.js +2 -0
- package/dist/common/json-schema.d.ts +95 -0
- package/dist/common/json-schema.js +1 -0
- package/dist/common/location.js +1 -1
- package/dist/common/nxtpression.d.ts +1 -1
- package/dist/common/print.d.ts +30 -0
- package/dist/common/print.js +1 -0
- package/dist/common/render-scene.d.ts +1 -0
- package/dist/common/rule.js +2 -2
- package/dist/common/settings.d.ts +11 -2
- package/dist/nxtpression.d.ts +451 -205
- package/dist/records/domains/connection/file/smb.d.ts +2 -0
- package/dist/records/domains/event.d.ts +20 -0
- package/dist/records/domains/gallery.d.ts +8 -0
- package/dist/records/domains/gallery.js +1 -0
- package/dist/records/domains/index.d.ts +5 -1
- package/dist/records/domains/index.js +2 -0
- package/dist/records/domains/role.d.ts +8 -0
- package/dist/records/domains/storage.d.ts +87 -0
- package/dist/records/domains/storage.js +1 -0
- package/dist/records/domains/template.d.ts +32 -0
- package/dist/records/exact/index.d.ts +6 -0
- package/dist/records/exact/monitor.d.ts +1 -0
- package/dist/records/validate/assert-guard.js +1641 -454
- package/dist/records/validate/assert.js +1645 -448
- package/dist/records/validate/is.js +92 -26
- package/dist/records/validate/schemas.d.ts +3 -10
- package/dist/records/validate/schemas.js +1336 -254
- package/dist/records/validate/stringify.js +348 -253
- package/dist/records/validate/utils.js +2 -2
- package/dist/records/validate/validate-equals.js +2245 -481
- package/dist/records/validate/validate.js +1549 -429
- package/dist/rpc.js +2 -2
- package/dist/tsdoc-metadata.json +1 -1
- package/package.json +13 -14
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import * as __typia_transform__validateReport from "typia/lib/internal/_validateReport
|
|
2
|
-
import * as __typia_transform__accessExpressionAsString from "typia/lib/internal/_accessExpressionAsString
|
|
3
|
-
import * as __typia_transform__isTypeUint64 from "typia/lib/internal/_isTypeUint64
|
|
1
|
+
import * as __typia_transform__validateReport from "typia/lib/internal/_validateReport";
|
|
2
|
+
import * as __typia_transform__accessExpressionAsString from "typia/lib/internal/_accessExpressionAsString";
|
|
3
|
+
import * as __typia_transform__isTypeUint64 from "typia/lib/internal/_isTypeUint64";
|
|
4
4
|
import { parseRecordName, isEmptyRecord } from "./utils.js";
|
|
5
5
|
import typia from 'typia';
|
|
6
6
|
export function validateRecord(name, input) {
|
|
@@ -359,19 +359,19 @@ function _validateExactRecord(name, input) {
|
|
|
359
359
|
}; })()(input);
|
|
360
360
|
}
|
|
361
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 && _iu0(elem)); const _io1 = input => "string" === typeof input.panel && "string" === typeof input.path && "string" === typeof input.domain && (undefined === input.type || "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.
|
|
362
|
+
return (() => { const _io0 = input => undefined === input.value || Array.isArray(input.value) && input.value.every(elem => "object" === typeof elem && null !== elem && _iu0(elem)); const _io1 = input => "string" === typeof input.panel && "string" === typeof input.path && "string" === typeof input.domain && (undefined === input.type || "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.items || "object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) && _io2(input.items)) && (undefined === input.minItems || "number" === typeof input.minItems) && (undefined === input.maxItems || "number" === typeof input.maxItems) && (undefined === input.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && _io4(input.properties)) && (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) && _io2(elem))) && (undefined === input.anyOf || Array.isArray(input.anyOf) && input.anyOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io2(elem))) && (undefined === input["enum"] || Array.isArray(input["enum"])) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.index || "object" === typeof input.index && null !== input.index && _io5(input.index)) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.placeholder || "string" === typeof input.placeholder) && (null !== input.widget && (undefined === input.widget || "string" === typeof input.widget || "object" === typeof input.widget && null !== input.widget && false === Array.isArray(input.widget) && _io3(input.widget))) && (undefined === input.helpText || "string" === typeof input.helpText) && (undefined === input.invalid || "boolean" === typeof input.invalid) && true && true; const _io2 = input => (undefined === input.domain || "string" === typeof input.domain) && (undefined === input.path || "string" === typeof input.path) && (undefined === input.type || "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.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) && _io2(elem))) && (undefined === input.anyOf || Array.isArray(input.anyOf) && input.anyOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io2(elem))) && (undefined === input["enum"] || Array.isArray(input["enum"])) && (null !== input.widget && (undefined === input.widget || "string" === typeof input.widget || "object" === typeof input.widget && null !== input.widget && false === Array.isArray(input.widget) && _io3(input.widget))) && (undefined === input.placeholder || "string" === typeof input.placeholder) && (undefined === input.helpText || "string" === typeof input.helpText) && (undefined === input.invalid || "boolean" === typeof input.invalid) && true && (undefined === input.minItems || "number" === typeof input.minItems) && (undefined === input.maxItems || "number" === typeof input.maxItems) && (undefined === input.items || "object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) && _io2(input.items)) && (undefined === input.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && _io4(input.properties)) && true && (undefined === input.index || "object" === typeof input.index && null !== input.index && _io5(input.index)); const _io3 = input => (undefined === input.type || "string" === typeof input.type) && (undefined === input.readOnly || "boolean" === typeof input.readOnly) && Object.keys(input).every(key => {
|
|
363
363
|
if (["type", "readOnly"].some(prop => key === prop))
|
|
364
364
|
return true;
|
|
365
365
|
const value = input[key];
|
|
366
366
|
if (undefined === value)
|
|
367
367
|
return true;
|
|
368
368
|
return true;
|
|
369
|
-
}); const
|
|
369
|
+
}); const _io4 = input => Object.keys(input).every(key => {
|
|
370
370
|
const value = input[key];
|
|
371
371
|
if (undefined === value)
|
|
372
372
|
return true;
|
|
373
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) &&
|
|
374
|
-
}); const _io6 = input => "string" === typeof input.schema && "string" === typeof input.path && "string" === typeof input.domain && (undefined === input.type || "string" === input.type || "number" === input.type || "boolean" === input.type || "object" === input.type || "array" === input.type || "asset" === input.type || "datetime" === input.type || "rpc" === input.type) &&
|
|
373
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io2(value);
|
|
374
|
+
}); const _io5 = input => "string" === typeof input.label && "string" === typeof input.path; const _io6 = input => "string" === typeof input.schema && "string" === typeof input.path && "string" === typeof input.domain && (undefined === input.type || "string" === input.type || "number" === input.type || "boolean" === input.type || "object" === input.type || "array" === input.type || "asset" === input.type || "datetime" === input.type || "rpc" === input.type) && true && (undefined === input.items || "object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) && _io2(input.items)) && (undefined === input.minItems || "number" === typeof input.minItems) && (undefined === input.maxItems || "number" === typeof input.maxItems) && (undefined === input.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && _io4(input.properties)) && (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) && _io2(elem))) && (undefined === input.anyOf || Array.isArray(input.anyOf) && input.anyOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io2(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 && _io7(input.recordName))) && (null !== input.setter && (undefined === input.setter || "function" === typeof input.setter || "string" === typeof input.setter || "object" === typeof input.setter && null !== input.setter && _io9(input.setter))) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.index || "object" === typeof input.index && null !== input.index && _io5(input.index)) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.placeholder || "string" === typeof input.placeholder) && (null !== input.widget && (undefined === input.widget || "string" === typeof input.widget || "object" === typeof input.widget && null !== input.widget && false === Array.isArray(input.widget) && _io3(input.widget))) && (undefined === input.helpText || "string" === typeof input.helpText) && (undefined === input.invalid || "boolean" === typeof input.invalid) && true && true; const _io7 = input => "object" === typeof input.__context && null !== input.__context && _io8(input.__context) && "string" === typeof input.__returnValue; const _io8 = input => "string" === typeof input.id; const _io9 = input => "object" === typeof input.__context && null !== input.__context && _io10(input.__context) && true; const _io10 = input => "string" === typeof input.id && true; const _iu0 = input => (() => {
|
|
375
375
|
if (undefined !== input.panel)
|
|
376
376
|
return _io1(input);
|
|
377
377
|
else if (undefined !== input.schema)
|
|
@@ -410,26 +410,30 @@ function _validateExactRecord(name, input) {
|
|
|
410
410
|
path: _path + ".type",
|
|
411
411
|
expected: "(\"array\" | \"asset\" | \"boolean\" | \"datetime\" | \"number\" | \"object\" | \"rpc\" | \"string\" | undefined)",
|
|
412
412
|
value: input.type
|
|
413
|
-
}), undefined === input.
|
|
414
|
-
path: _path + ".
|
|
415
|
-
expected: "(
|
|
416
|
-
value: input.
|
|
417
|
-
})) && _vo2(input.
|
|
418
|
-
path: _path + ".
|
|
419
|
-
expected: "(
|
|
420
|
-
value: input.
|
|
421
|
-
}), undefined === input.
|
|
422
|
-
path: _path + ".
|
|
423
|
-
expected: "(
|
|
424
|
-
value: input.
|
|
425
|
-
}), undefined === input.
|
|
426
|
-
path: _path + ".
|
|
427
|
-
expected: "(
|
|
428
|
-
value: input.
|
|
429
|
-
}), undefined === input.
|
|
430
|
-
path: _path + ".
|
|
431
|
-
expected: "(string | undefined)",
|
|
432
|
-
value: input.
|
|
413
|
+
}), undefined === input.items || ("object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) || _report(_exceptionable, {
|
|
414
|
+
path: _path + ".items",
|
|
415
|
+
expected: "(BaseSchemaProperty<unknown> | undefined)",
|
|
416
|
+
value: input.items
|
|
417
|
+
})) && _vo2(input.items, _path + ".items", true && _exceptionable) || _report(_exceptionable, {
|
|
418
|
+
path: _path + ".items",
|
|
419
|
+
expected: "(BaseSchemaProperty<unknown> | undefined)",
|
|
420
|
+
value: input.items
|
|
421
|
+
}), undefined === input.minItems || "number" === typeof input.minItems || _report(_exceptionable, {
|
|
422
|
+
path: _path + ".minItems",
|
|
423
|
+
expected: "(number | undefined)",
|
|
424
|
+
value: input.minItems
|
|
425
|
+
}), undefined === input.maxItems || "number" === typeof input.maxItems || _report(_exceptionable, {
|
|
426
|
+
path: _path + ".maxItems",
|
|
427
|
+
expected: "(number | undefined)",
|
|
428
|
+
value: input.maxItems
|
|
429
|
+
}), undefined === input.properties || ("object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) || _report(_exceptionable, {
|
|
430
|
+
path: _path + ".properties",
|
|
431
|
+
expected: "(Record<string, BaseSchemaProperty<unknown>> | undefined)",
|
|
432
|
+
value: input.properties
|
|
433
|
+
})) && _vo4(input.properties, _path + ".properties", true && _exceptionable) || _report(_exceptionable, {
|
|
434
|
+
path: _path + ".properties",
|
|
435
|
+
expected: "(Record<string, BaseSchemaProperty<unknown>> | undefined)",
|
|
436
|
+
value: input.properties
|
|
433
437
|
}), undefined === input.required || "boolean" === typeof input.required || _report(_exceptionable, {
|
|
434
438
|
path: _path + ".required",
|
|
435
439
|
expected: "(boolean | undefined)",
|
|
@@ -442,7 +446,7 @@ function _validateExactRecord(name, input) {
|
|
|
442
446
|
path: _path + ".oneOf[" + _index9 + "]",
|
|
443
447
|
expected: "BaseSchemaProperty<unknown>",
|
|
444
448
|
value: elem
|
|
445
|
-
})) &&
|
|
449
|
+
})) && _vo2(elem, _path + ".oneOf[" + _index9 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
446
450
|
path: _path + ".oneOf[" + _index9 + "]",
|
|
447
451
|
expected: "BaseSchemaProperty<unknown>",
|
|
448
452
|
value: elem
|
|
@@ -458,7 +462,7 @@ function _validateExactRecord(name, input) {
|
|
|
458
462
|
path: _path + ".anyOf[" + _index10 + "]",
|
|
459
463
|
expected: "BaseSchemaProperty<unknown>",
|
|
460
464
|
value: elem
|
|
461
|
-
})) &&
|
|
465
|
+
})) && _vo2(elem, _path + ".anyOf[" + _index10 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
462
466
|
path: _path + ".anyOf[" + _index10 + "]",
|
|
463
467
|
expected: "BaseSchemaProperty<unknown>",
|
|
464
468
|
value: elem
|
|
@@ -470,6 +474,26 @@ function _validateExactRecord(name, input) {
|
|
|
470
474
|
path: _path + "[\"enum\"]",
|
|
471
475
|
expected: "(ReadonlyArray<unknown> | undefined)",
|
|
472
476
|
value: input["enum"]
|
|
477
|
+
}), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
|
478
|
+
path: _path + ".title",
|
|
479
|
+
expected: "(string | undefined)",
|
|
480
|
+
value: input.title
|
|
481
|
+
}), undefined === input.index || ("object" === typeof input.index && null !== input.index || _report(_exceptionable, {
|
|
482
|
+
path: _path + ".index",
|
|
483
|
+
expected: "(__type | undefined)",
|
|
484
|
+
value: input.index
|
|
485
|
+
})) && _vo5(input.index, _path + ".index", true && _exceptionable) || _report(_exceptionable, {
|
|
486
|
+
path: _path + ".index",
|
|
487
|
+
expected: "(__type | undefined)",
|
|
488
|
+
value: input.index
|
|
489
|
+
}), undefined === input.description || "string" === typeof input.description || _report(_exceptionable, {
|
|
490
|
+
path: _path + ".description",
|
|
491
|
+
expected: "(string | undefined)",
|
|
492
|
+
value: input.description
|
|
493
|
+
}), undefined === input.placeholder || "string" === typeof input.placeholder || _report(_exceptionable, {
|
|
494
|
+
path: _path + ".placeholder",
|
|
495
|
+
expected: "(string | undefined)",
|
|
496
|
+
value: input.placeholder
|
|
473
497
|
}), (null !== input.widget || _report(_exceptionable, {
|
|
474
498
|
path: _path + ".widget",
|
|
475
499
|
expected: "(WidgetOptions | string | undefined)",
|
|
@@ -478,7 +502,7 @@ function _validateExactRecord(name, input) {
|
|
|
478
502
|
path: _path + ".widget",
|
|
479
503
|
expected: "(WidgetOptions | string | undefined)",
|
|
480
504
|
value: input.widget
|
|
481
|
-
})) &&
|
|
505
|
+
})) && _vo3(input.widget, _path + ".widget", true && _exceptionable) || _report(_exceptionable, {
|
|
482
506
|
path: _path + ".widget",
|
|
483
507
|
expected: "(WidgetOptions | string | undefined)",
|
|
484
508
|
value: input.widget
|
|
@@ -490,39 +514,7 @@ function _validateExactRecord(name, input) {
|
|
|
490
514
|
path: _path + ".invalid",
|
|
491
515
|
expected: "(boolean | undefined)",
|
|
492
516
|
value: input.invalid
|
|
493
|
-
}), true, undefined === input.
|
|
494
|
-
path: _path + ".minItems",
|
|
495
|
-
expected: "(number | undefined)",
|
|
496
|
-
value: input.minItems
|
|
497
|
-
}), undefined === input.maxItems || "number" === typeof input.maxItems || _report(_exceptionable, {
|
|
498
|
-
path: _path + ".maxItems",
|
|
499
|
-
expected: "(number | undefined)",
|
|
500
|
-
value: input.maxItems
|
|
501
|
-
}), undefined === input.items || ("object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) || _report(_exceptionable, {
|
|
502
|
-
path: _path + ".items",
|
|
503
|
-
expected: "(BaseSchemaProperty<unknown> | undefined)",
|
|
504
|
-
value: input.items
|
|
505
|
-
})) && _vo3(input.items, _path + ".items", true && _exceptionable) || _report(_exceptionable, {
|
|
506
|
-
path: _path + ".items",
|
|
507
|
-
expected: "(BaseSchemaProperty<unknown> | undefined)",
|
|
508
|
-
value: input.items
|
|
509
|
-
}), undefined === input.properties || ("object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) || _report(_exceptionable, {
|
|
510
|
-
path: _path + ".properties",
|
|
511
|
-
expected: "(Record<string, BaseSchemaProperty<unknown>> | undefined)",
|
|
512
|
-
value: input.properties
|
|
513
|
-
})) && _vo5(input.properties, _path + ".properties", true && _exceptionable) || _report(_exceptionable, {
|
|
514
|
-
path: _path + ".properties",
|
|
515
|
-
expected: "(Record<string, BaseSchemaProperty<unknown>> | undefined)",
|
|
516
|
-
value: input.properties
|
|
517
|
-
}), true].every(flag => flag); const _vo2 = (input, _path, _exceptionable = true) => ["string" === typeof input.label || _report(_exceptionable, {
|
|
518
|
-
path: _path + ".label",
|
|
519
|
-
expected: "string",
|
|
520
|
-
value: input.label
|
|
521
|
-
}), "string" === typeof input.path || _report(_exceptionable, {
|
|
522
|
-
path: _path + ".path",
|
|
523
|
-
expected: "string",
|
|
524
|
-
value: input.path
|
|
525
|
-
})].every(flag => flag); const _vo3 = (input, _path, _exceptionable = true) => [undefined === input.domain || "string" === typeof input.domain || _report(_exceptionable, {
|
|
517
|
+
}), true, true].every(flag => flag); const _vo2 = (input, _path, _exceptionable = true) => [undefined === input.domain || "string" === typeof input.domain || _report(_exceptionable, {
|
|
526
518
|
path: _path + ".domain",
|
|
527
519
|
expected: "(string | undefined)",
|
|
528
520
|
value: input.domain
|
|
@@ -554,7 +546,7 @@ function _validateExactRecord(name, input) {
|
|
|
554
546
|
path: _path + ".oneOf[" + _index11 + "]",
|
|
555
547
|
expected: "BaseSchemaProperty<unknown>",
|
|
556
548
|
value: elem
|
|
557
|
-
})) &&
|
|
549
|
+
})) && _vo2(elem, _path + ".oneOf[" + _index11 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
558
550
|
path: _path + ".oneOf[" + _index11 + "]",
|
|
559
551
|
expected: "BaseSchemaProperty<unknown>",
|
|
560
552
|
value: elem
|
|
@@ -570,7 +562,7 @@ function _validateExactRecord(name, input) {
|
|
|
570
562
|
path: _path + ".anyOf[" + _index12 + "]",
|
|
571
563
|
expected: "BaseSchemaProperty<unknown>",
|
|
572
564
|
value: elem
|
|
573
|
-
})) &&
|
|
565
|
+
})) && _vo2(elem, _path + ".anyOf[" + _index12 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
574
566
|
path: _path + ".anyOf[" + _index12 + "]",
|
|
575
567
|
expected: "BaseSchemaProperty<unknown>",
|
|
576
568
|
value: elem
|
|
@@ -590,7 +582,7 @@ function _validateExactRecord(name, input) {
|
|
|
590
582
|
path: _path + ".widget",
|
|
591
583
|
expected: "(WidgetOptions | string | undefined)",
|
|
592
584
|
value: input.widget
|
|
593
|
-
})) &&
|
|
585
|
+
})) && _vo3(input.widget, _path + ".widget", true && _exceptionable) || _report(_exceptionable, {
|
|
594
586
|
path: _path + ".widget",
|
|
595
587
|
expected: "(WidgetOptions | string | undefined)",
|
|
596
588
|
value: input.widget
|
|
@@ -618,7 +610,7 @@ function _validateExactRecord(name, input) {
|
|
|
618
610
|
path: _path + ".items",
|
|
619
611
|
expected: "(BaseSchemaProperty<unknown> | undefined)",
|
|
620
612
|
value: input.items
|
|
621
|
-
})) &&
|
|
613
|
+
})) && _vo2(input.items, _path + ".items", true && _exceptionable) || _report(_exceptionable, {
|
|
622
614
|
path: _path + ".items",
|
|
623
615
|
expected: "(BaseSchemaProperty<unknown> | undefined)",
|
|
624
616
|
value: input.items
|
|
@@ -626,7 +618,7 @@ function _validateExactRecord(name, input) {
|
|
|
626
618
|
path: _path + ".properties",
|
|
627
619
|
expected: "(Record<string, BaseSchemaProperty<unknown>> | undefined)",
|
|
628
620
|
value: input.properties
|
|
629
|
-
})) &&
|
|
621
|
+
})) && _vo4(input.properties, _path + ".properties", true && _exceptionable) || _report(_exceptionable, {
|
|
630
622
|
path: _path + ".properties",
|
|
631
623
|
expected: "(Record<string, BaseSchemaProperty<unknown>> | undefined)",
|
|
632
624
|
value: input.properties
|
|
@@ -634,11 +626,11 @@ function _validateExactRecord(name, input) {
|
|
|
634
626
|
path: _path + ".index",
|
|
635
627
|
expected: "(__type | undefined)",
|
|
636
628
|
value: input.index
|
|
637
|
-
})) &&
|
|
629
|
+
})) && _vo5(input.index, _path + ".index", true && _exceptionable) || _report(_exceptionable, {
|
|
638
630
|
path: _path + ".index",
|
|
639
631
|
expected: "(__type | undefined)",
|
|
640
632
|
value: input.index
|
|
641
|
-
})].every(flag => flag); const
|
|
633
|
+
})].every(flag => flag); const _vo3 = (input, _path, _exceptionable = true) => [undefined === input.type || "string" === typeof input.type || _report(_exceptionable, {
|
|
642
634
|
path: _path + ".type",
|
|
643
635
|
expected: "(string | undefined)",
|
|
644
636
|
value: input.type
|
|
@@ -653,7 +645,7 @@ function _validateExactRecord(name, input) {
|
|
|
653
645
|
if (undefined === value)
|
|
654
646
|
return true;
|
|
655
647
|
return true;
|
|
656
|
-
}).every(flag => flag)].every(flag => flag); const
|
|
648
|
+
}).every(flag => flag)].every(flag => flag); const _vo4 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
657
649
|
const value = input[key];
|
|
658
650
|
if (undefined === value)
|
|
659
651
|
return true;
|
|
@@ -661,12 +653,20 @@ function _validateExactRecord(name, input) {
|
|
|
661
653
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
662
654
|
expected: "BaseSchemaProperty<unknown>",
|
|
663
655
|
value: value
|
|
664
|
-
})) &&
|
|
656
|
+
})) && _vo2(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || _report(_exceptionable, {
|
|
665
657
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
666
658
|
expected: "BaseSchemaProperty<unknown>",
|
|
667
659
|
value: value
|
|
668
660
|
});
|
|
669
|
-
}).every(flag => flag)].every(flag => flag); const
|
|
661
|
+
}).every(flag => flag)].every(flag => flag); const _vo5 = (input, _path, _exceptionable = true) => ["string" === typeof input.label || _report(_exceptionable, {
|
|
662
|
+
path: _path + ".label",
|
|
663
|
+
expected: "string",
|
|
664
|
+
value: input.label
|
|
665
|
+
}), "string" === typeof input.path || _report(_exceptionable, {
|
|
666
|
+
path: _path + ".path",
|
|
667
|
+
expected: "string",
|
|
668
|
+
value: input.path
|
|
669
|
+
})].every(flag => flag); const _vo6 = (input, _path, _exceptionable = true) => ["string" === typeof input.schema || _report(_exceptionable, {
|
|
670
670
|
path: _path + ".schema",
|
|
671
671
|
expected: "string",
|
|
672
672
|
value: input.schema
|
|
@@ -682,50 +682,30 @@ function _validateExactRecord(name, input) {
|
|
|
682
682
|
path: _path + ".type",
|
|
683
683
|
expected: "(\"array\" | \"asset\" | \"boolean\" | \"datetime\" | \"number\" | \"object\" | \"rpc\" | \"string\" | undefined)",
|
|
684
684
|
value: input.type
|
|
685
|
-
}), (null !== input.
|
|
686
|
-
path: _path + ".
|
|
687
|
-
expected: "(
|
|
688
|
-
value: input.
|
|
689
|
-
})) && (
|
|
690
|
-
path: _path + ".
|
|
691
|
-
expected: "(
|
|
692
|
-
value: input.
|
|
693
|
-
})
|
|
694
|
-
path: _path + ".
|
|
695
|
-
expected: "(
|
|
696
|
-
value: input.
|
|
697
|
-
})
|
|
698
|
-
path: _path + ".
|
|
699
|
-
expected: "(
|
|
700
|
-
value: input.
|
|
701
|
-
})
|
|
702
|
-
path: _path + ".
|
|
703
|
-
expected: "(
|
|
704
|
-
value: input.
|
|
705
|
-
})) &&
|
|
706
|
-
path: _path + ".
|
|
707
|
-
expected: "(
|
|
708
|
-
value: input.
|
|
709
|
-
})), true, true, undefined === input.index || ("object" === typeof input.index && null !== input.index || _report(_exceptionable, {
|
|
710
|
-
path: _path + ".index",
|
|
711
|
-
expected: "(__type | undefined)",
|
|
712
|
-
value: input.index
|
|
713
|
-
})) && _vo2(input.index, _path + ".index", true && _exceptionable) || _report(_exceptionable, {
|
|
714
|
-
path: _path + ".index",
|
|
715
|
-
expected: "(__type | undefined)",
|
|
716
|
-
value: input.index
|
|
717
|
-
}), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
|
718
|
-
path: _path + ".title",
|
|
719
|
-
expected: "(string | undefined)",
|
|
720
|
-
value: input.title
|
|
721
|
-
}), undefined === input.description || "string" === typeof input.description || _report(_exceptionable, {
|
|
722
|
-
path: _path + ".description",
|
|
723
|
-
expected: "(string | undefined)",
|
|
724
|
-
value: input.description
|
|
725
|
-
}), undefined === input.placeholder || "string" === typeof input.placeholder || _report(_exceptionable, {
|
|
726
|
-
path: _path + ".placeholder",
|
|
727
|
-
expected: "(string | undefined)",
|
|
728
|
-
value: input.placeholder
|
|
685
|
+
}), true, undefined === input.items || ("object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) || _report(_exceptionable, {
|
|
686
|
+
path: _path + ".items",
|
|
687
|
+
expected: "(BaseSchemaProperty<unknown> | undefined)",
|
|
688
|
+
value: input.items
|
|
689
|
+
})) && _vo2(input.items, _path + ".items", true && _exceptionable) || _report(_exceptionable, {
|
|
690
|
+
path: _path + ".items",
|
|
691
|
+
expected: "(BaseSchemaProperty<unknown> | undefined)",
|
|
692
|
+
value: input.items
|
|
693
|
+
}), undefined === input.minItems || "number" === typeof input.minItems || _report(_exceptionable, {
|
|
694
|
+
path: _path + ".minItems",
|
|
695
|
+
expected: "(number | undefined)",
|
|
696
|
+
value: input.minItems
|
|
697
|
+
}), undefined === input.maxItems || "number" === typeof input.maxItems || _report(_exceptionable, {
|
|
698
|
+
path: _path + ".maxItems",
|
|
699
|
+
expected: "(number | undefined)",
|
|
700
|
+
value: input.maxItems
|
|
701
|
+
}), undefined === input.properties || ("object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) || _report(_exceptionable, {
|
|
702
|
+
path: _path + ".properties",
|
|
703
|
+
expected: "(Record<string, BaseSchemaProperty<unknown>> | undefined)",
|
|
704
|
+
value: input.properties
|
|
705
|
+
})) && _vo4(input.properties, _path + ".properties", true && _exceptionable) || _report(_exceptionable, {
|
|
706
|
+
path: _path + ".properties",
|
|
707
|
+
expected: "(Record<string, BaseSchemaProperty<unknown>> | undefined)",
|
|
708
|
+
value: input.properties
|
|
729
709
|
}), undefined === input.required || "boolean" === typeof input.required || _report(_exceptionable, {
|
|
730
710
|
path: _path + ".required",
|
|
731
711
|
expected: "(boolean | undefined)",
|
|
@@ -738,7 +718,7 @@ function _validateExactRecord(name, input) {
|
|
|
738
718
|
path: _path + ".oneOf[" + _index13 + "]",
|
|
739
719
|
expected: "BaseSchemaProperty<unknown>",
|
|
740
720
|
value: elem
|
|
741
|
-
})) &&
|
|
721
|
+
})) && _vo2(elem, _path + ".oneOf[" + _index13 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
742
722
|
path: _path + ".oneOf[" + _index13 + "]",
|
|
743
723
|
expected: "BaseSchemaProperty<unknown>",
|
|
744
724
|
value: elem
|
|
@@ -754,7 +734,7 @@ function _validateExactRecord(name, input) {
|
|
|
754
734
|
path: _path + ".anyOf[" + _index14 + "]",
|
|
755
735
|
expected: "BaseSchemaProperty<unknown>",
|
|
756
736
|
value: elem
|
|
757
|
-
})) &&
|
|
737
|
+
})) && _vo2(elem, _path + ".anyOf[" + _index14 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
758
738
|
path: _path + ".anyOf[" + _index14 + "]",
|
|
759
739
|
expected: "BaseSchemaProperty<unknown>",
|
|
760
740
|
value: elem
|
|
@@ -766,6 +746,50 @@ function _validateExactRecord(name, input) {
|
|
|
766
746
|
path: _path + "[\"enum\"]",
|
|
767
747
|
expected: "(ReadonlyArray<unknown> | undefined)",
|
|
768
748
|
value: input["enum"]
|
|
749
|
+
}), true, (null !== input.recordName || _report(_exceptionable, {
|
|
750
|
+
path: _path + ".recordName",
|
|
751
|
+
expected: "(__type.o1 | string | undefined)",
|
|
752
|
+
value: input.recordName
|
|
753
|
+
})) && (undefined === input.recordName || "string" === typeof input.recordName || ("object" === typeof input.recordName && null !== input.recordName || _report(_exceptionable, {
|
|
754
|
+
path: _path + ".recordName",
|
|
755
|
+
expected: "(__type.o1 | string | undefined)",
|
|
756
|
+
value: input.recordName
|
|
757
|
+
})) && _vo7(input.recordName, _path + ".recordName", true && _exceptionable) || _report(_exceptionable, {
|
|
758
|
+
path: _path + ".recordName",
|
|
759
|
+
expected: "(__type.o1 | string | undefined)",
|
|
760
|
+
value: input.recordName
|
|
761
|
+
})), (null !== input.setter || _report(_exceptionable, {
|
|
762
|
+
path: _path + ".setter",
|
|
763
|
+
expected: "(__type.o3 | string | undefined)",
|
|
764
|
+
value: input.setter
|
|
765
|
+
})) && (undefined === input.setter || "function" === typeof input.setter || "string" === typeof input.setter || ("object" === typeof input.setter && null !== input.setter || _report(_exceptionable, {
|
|
766
|
+
path: _path + ".setter",
|
|
767
|
+
expected: "(__type.o3 | string | undefined)",
|
|
768
|
+
value: input.setter
|
|
769
|
+
})) && _vo9(input.setter, _path + ".setter", true && _exceptionable) || _report(_exceptionable, {
|
|
770
|
+
path: _path + ".setter",
|
|
771
|
+
expected: "(__type.o3 | string | undefined)",
|
|
772
|
+
value: input.setter
|
|
773
|
+
})), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
|
774
|
+
path: _path + ".title",
|
|
775
|
+
expected: "(string | undefined)",
|
|
776
|
+
value: input.title
|
|
777
|
+
}), undefined === input.index || ("object" === typeof input.index && null !== input.index || _report(_exceptionable, {
|
|
778
|
+
path: _path + ".index",
|
|
779
|
+
expected: "(__type | undefined)",
|
|
780
|
+
value: input.index
|
|
781
|
+
})) && _vo5(input.index, _path + ".index", true && _exceptionable) || _report(_exceptionable, {
|
|
782
|
+
path: _path + ".index",
|
|
783
|
+
expected: "(__type | undefined)",
|
|
784
|
+
value: input.index
|
|
785
|
+
}), undefined === input.description || "string" === typeof input.description || _report(_exceptionable, {
|
|
786
|
+
path: _path + ".description",
|
|
787
|
+
expected: "(string | undefined)",
|
|
788
|
+
value: input.description
|
|
789
|
+
}), undefined === input.placeholder || "string" === typeof input.placeholder || _report(_exceptionable, {
|
|
790
|
+
path: _path + ".placeholder",
|
|
791
|
+
expected: "(string | undefined)",
|
|
792
|
+
value: input.placeholder
|
|
769
793
|
}), (null !== input.widget || _report(_exceptionable, {
|
|
770
794
|
path: _path + ".widget",
|
|
771
795
|
expected: "(WidgetOptions | string | undefined)",
|
|
@@ -774,7 +798,7 @@ function _validateExactRecord(name, input) {
|
|
|
774
798
|
path: _path + ".widget",
|
|
775
799
|
expected: "(WidgetOptions | string | undefined)",
|
|
776
800
|
value: input.widget
|
|
777
|
-
})) &&
|
|
801
|
+
})) && _vo3(input.widget, _path + ".widget", true && _exceptionable) || _report(_exceptionable, {
|
|
778
802
|
path: _path + ".widget",
|
|
779
803
|
expected: "(WidgetOptions | string | undefined)",
|
|
780
804
|
value: input.widget
|
|
@@ -786,31 +810,7 @@ function _validateExactRecord(name, input) {
|
|
|
786
810
|
path: _path + ".invalid",
|
|
787
811
|
expected: "(boolean | undefined)",
|
|
788
812
|
value: input.invalid
|
|
789
|
-
}), true,
|
|
790
|
-
path: _path + ".minItems",
|
|
791
|
-
expected: "(number | undefined)",
|
|
792
|
-
value: input.minItems
|
|
793
|
-
}), undefined === input.maxItems || "number" === typeof input.maxItems || _report(_exceptionable, {
|
|
794
|
-
path: _path + ".maxItems",
|
|
795
|
-
expected: "(number | undefined)",
|
|
796
|
-
value: input.maxItems
|
|
797
|
-
}), undefined === input.items || ("object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) || _report(_exceptionable, {
|
|
798
|
-
path: _path + ".items",
|
|
799
|
-
expected: "(BaseSchemaProperty<unknown> | undefined)",
|
|
800
|
-
value: input.items
|
|
801
|
-
})) && _vo3(input.items, _path + ".items", true && _exceptionable) || _report(_exceptionable, {
|
|
802
|
-
path: _path + ".items",
|
|
803
|
-
expected: "(BaseSchemaProperty<unknown> | undefined)",
|
|
804
|
-
value: input.items
|
|
805
|
-
}), undefined === input.properties || ("object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) || _report(_exceptionable, {
|
|
806
|
-
path: _path + ".properties",
|
|
807
|
-
expected: "(Record<string, BaseSchemaProperty<unknown>> | undefined)",
|
|
808
|
-
value: input.properties
|
|
809
|
-
})) && _vo5(input.properties, _path + ".properties", true && _exceptionable) || _report(_exceptionable, {
|
|
810
|
-
path: _path + ".properties",
|
|
811
|
-
expected: "(Record<string, BaseSchemaProperty<unknown>> | undefined)",
|
|
812
|
-
value: input.properties
|
|
813
|
-
}), true].every(flag => flag); const _vo7 = (input, _path, _exceptionable = true) => [("object" === typeof input.__context && null !== input.__context || _report(_exceptionable, {
|
|
813
|
+
}), true, true].every(flag => flag); const _vo7 = (input, _path, _exceptionable = true) => [("object" === typeof input.__context && null !== input.__context || _report(_exceptionable, {
|
|
814
814
|
path: _path + ".__context",
|
|
815
815
|
expected: "__type.o2",
|
|
816
816
|
value: input.__context
|
|
@@ -1706,7 +1706,7 @@ function _validateExactRecord(name, input) {
|
|
|
1706
1706
|
if (undefined === value)
|
|
1707
1707
|
return true;
|
|
1708
1708
|
return "object" === typeof value && null !== value && _io2(value);
|
|
1709
|
-
}); const _io2 = input => (undefined === input.state || "string" === typeof input.state) && (undefined === input.role || "string" === typeof input.role) && (undefined === input.leader || "boolean" === typeof input.leader) && (undefined === input.availability || "string" === typeof input.availability) && (undefined === input.classes || Array.isArray(input.classes) && input.classes.every(elem => "string" === typeof elem)) && (undefined === input.address || "string" === typeof input.address) && "number" === typeof input.level && "string" === typeof input.status && (Array.isArray(input.messages) && input.messages.every(elem => "object" === typeof elem && null !== elem && _io3(elem))); const _io3 = input => "string" === typeof input.id && "string" === typeof input.msg && "number" === typeof input.level && (undefined === input.ignored || "boolean" === typeof input.ignored) && (undefined === input.title || "string" === typeof input.title) && (null !== input.url && (undefined === input.url || "string" === typeof input.url || "object" === typeof input.url && null !== input.url && _io4(input.url))); const _io4 = input => "string" === typeof input.title && "string" === typeof input.url; const _io5 = input => Object.keys(input).every(key => {
|
|
1709
|
+
}); const _io2 = input => (undefined === input.state || "string" === typeof input.state) && (undefined === input.role || "string" === typeof input.role) && (undefined === input.leader || "boolean" === typeof input.leader) && (undefined === input.availability || "string" === typeof input.availability) && (undefined === input.classes || Array.isArray(input.classes) && input.classes.every(elem => "string" === typeof elem)) && (undefined === input.address || "string" === typeof input.address) && "number" === typeof input.level && "string" === typeof input.status && (Array.isArray(input.messages) && input.messages.every(elem => "object" === typeof elem && null !== elem && _io3(elem))); const _io3 = input => "string" === typeof input.id && "string" === typeof input.msg && "number" === typeof input.level && (undefined === input.ignored || "boolean" === typeof input.ignored) && (undefined === input.title || "string" === typeof input.title) && (null !== input.url && (undefined === input.url || "string" === typeof input.url || "object" === typeof input.url && null !== input.url && _io4(input.url))) && true; const _io4 = input => "string" === typeof input.title && "string" === typeof input.url; const _io5 = input => Object.keys(input).every(key => {
|
|
1710
1710
|
const value = input[key];
|
|
1711
1711
|
if (undefined === value)
|
|
1712
1712
|
return true;
|
|
@@ -1836,7 +1836,7 @@ function _validateExactRecord(name, input) {
|
|
|
1836
1836
|
path: _path + ".url",
|
|
1837
1837
|
expected: "(__type.o1 | string | undefined)",
|
|
1838
1838
|
value: input.url
|
|
1839
|
-
}))].every(flag => flag); const _vo4 = (input, _path, _exceptionable = true) => ["string" === typeof input.title || _report(_exceptionable, {
|
|
1839
|
+
})), true].every(flag => flag); const _vo4 = (input, _path, _exceptionable = true) => ["string" === typeof input.title || _report(_exceptionable, {
|
|
1840
1840
|
path: _path + ".title",
|
|
1841
1841
|
expected: "string",
|
|
1842
1842
|
value: input.title
|
|
@@ -3050,10 +3050,14 @@ function _validateExactRecord(name, input) {
|
|
|
3050
3050
|
}; })()(input);
|
|
3051
3051
|
}
|
|
3052
3052
|
case "asset-daemon": {
|
|
3053
|
-
return (() => { const _io0 = input => undefined === input["user-notify"] || "boolean" === typeof input["user-notify"]; const _vo0 = (input, _path, _exceptionable = true) => [undefined === input["user-notify"] || "boolean" === typeof input["user-notify"] || _report(_exceptionable, {
|
|
3053
|
+
return (() => { const _io0 = input => (undefined === input["user-notify"] || "boolean" === typeof input["user-notify"]) && (undefined === input.validate || "boolean" === typeof input.validate); const _vo0 = (input, _path, _exceptionable = true) => [undefined === input["user-notify"] || "boolean" === typeof input["user-notify"] || _report(_exceptionable, {
|
|
3054
3054
|
path: _path + "[\"user-notify\"]",
|
|
3055
3055
|
expected: "(boolean | undefined)",
|
|
3056
3056
|
value: input["user-notify"]
|
|
3057
|
+
}), undefined === input.validate || "boolean" === typeof input.validate || _report(_exceptionable, {
|
|
3058
|
+
path: _path + ".validate",
|
|
3059
|
+
expected: "(boolean | undefined)",
|
|
3060
|
+
value: input.validate
|
|
3057
3061
|
})].every(flag => flag); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); let errors; let _report; return input => {
|
|
3058
3062
|
if (false === __is(input)) {
|
|
3059
3063
|
errors = [];
|
|
@@ -3121,24 +3125,62 @@ function _validateExactRecord(name, input) {
|
|
|
3121
3125
|
};
|
|
3122
3126
|
}; })()(input);
|
|
3123
3127
|
}
|
|
3124
|
-
case "
|
|
3125
|
-
return (() => { const _io0 = input => (
|
|
3126
|
-
|
|
3127
|
-
|
|
3128
|
-
|
|
3129
|
-
|
|
3130
|
-
|
|
3131
|
-
|
|
3132
|
-
|
|
3133
|
-
|
|
3134
|
-
|
|
3135
|
-
|
|
3136
|
-
|
|
3137
|
-
|
|
3138
|
-
|
|
3139
|
-
|
|
3140
|
-
|
|
3141
|
-
|
|
3128
|
+
case "asset-daemon:validate.state": {
|
|
3129
|
+
return (() => { const _io0 = input => (null === input.since || undefined === input.since || 0 === input.since || "string" === typeof input.since) && (undefined === input.version || "number" === typeof input.version); const _vo0 = (input, _path, _exceptionable = true) => [null === input.since || undefined === input.since || 0 === input.since || "string" === typeof input.since || _report(_exceptionable, {
|
|
3130
|
+
path: _path + ".since",
|
|
3131
|
+
expected: "(0 | null | string | undefined)",
|
|
3132
|
+
value: input.since
|
|
3133
|
+
}), undefined === input.version || "number" === typeof input.version || _report(_exceptionable, {
|
|
3134
|
+
path: _path + ".version",
|
|
3135
|
+
expected: "(number | undefined)",
|
|
3136
|
+
value: input.version
|
|
3137
|
+
})].every(flag => flag); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); let errors; let _report; return input => {
|
|
3138
|
+
if (false === __is(input)) {
|
|
3139
|
+
errors = [];
|
|
3140
|
+
_report = __typia_transform__validateReport._validateReport(errors);
|
|
3141
|
+
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || _report(true, {
|
|
3142
|
+
path: _path + "",
|
|
3143
|
+
expected: "AssetDaemonValidateStateRecord",
|
|
3144
|
+
value: input
|
|
3145
|
+
})) && _vo0(input, _path + "", true) || _report(true, {
|
|
3146
|
+
path: _path + "",
|
|
3147
|
+
expected: "AssetDaemonValidateStateRecord",
|
|
3148
|
+
value: input
|
|
3149
|
+
}))(input, "$input", true);
|
|
3150
|
+
const success = 0 === errors.length;
|
|
3151
|
+
return success ? {
|
|
3152
|
+
success,
|
|
3153
|
+
data: input
|
|
3154
|
+
} : {
|
|
3155
|
+
success,
|
|
3156
|
+
errors,
|
|
3157
|
+
data: input
|
|
3158
|
+
};
|
|
3159
|
+
}
|
|
3160
|
+
return {
|
|
3161
|
+
success: true,
|
|
3162
|
+
data: input
|
|
3163
|
+
};
|
|
3164
|
+
}; })()(input);
|
|
3165
|
+
}
|
|
3166
|
+
case "deepstream-replicator.stats?": {
|
|
3167
|
+
return (() => { const _io0 = input => (undefined === input.replicators || "object" === typeof input.replicators && null !== input.replicators && false === Array.isArray(input.replicators) && _io1(input.replicators)) && (undefined === input.synced || "boolean" === typeof input.synced); const _io1 = input => Object.keys(input).every(key => {
|
|
3168
|
+
const value = input[key];
|
|
3169
|
+
if (undefined === value)
|
|
3170
|
+
return true;
|
|
3171
|
+
return "object" === typeof value && null !== value && _io2(value);
|
|
3172
|
+
}); const _io2 = input => "object" === typeof input.to && null !== input.to && false === Array.isArray(input.to) && _io3(input.to) && ("object" === typeof input.from && null !== input.from && false === Array.isArray(input.from) && _io4(input.from)); const _io3 = input => (undefined === input.synced || "boolean" === typeof input.synced) && (null === input.since || undefined === input.since || 0 === input.since || "string" === typeof input.since); const _io4 = input => null === input.since || undefined === input.since || 0 === input.since || "string" === typeof input.since; const _vo0 = (input, _path, _exceptionable = true) => [undefined === input.replicators || ("object" === typeof input.replicators && null !== input.replicators && false === Array.isArray(input.replicators) || _report(_exceptionable, {
|
|
3173
|
+
path: _path + ".replicators",
|
|
3174
|
+
expected: "(Record<string, __type> | undefined)",
|
|
3175
|
+
value: input.replicators
|
|
3176
|
+
})) && _vo1(input.replicators, _path + ".replicators", true && _exceptionable) || _report(_exceptionable, {
|
|
3177
|
+
path: _path + ".replicators",
|
|
3178
|
+
expected: "(Record<string, __type> | undefined)",
|
|
3179
|
+
value: input.replicators
|
|
3180
|
+
}), undefined === input.synced || "boolean" === typeof input.synced || _report(_exceptionable, {
|
|
3181
|
+
path: _path + ".synced",
|
|
3182
|
+
expected: "(boolean | undefined)",
|
|
3183
|
+
value: input.synced
|
|
3142
3184
|
})].every(flag => flag); const _vo1 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
3143
3185
|
const value = input[key];
|
|
3144
3186
|
if (undefined === value)
|
|
@@ -5583,7 +5625,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
5583
5625
|
if (undefined === value)
|
|
5584
5626
|
return true;
|
|
5585
5627
|
return null !== value && (undefined === value || "string" === typeof value || Array.isArray(value) && value.every(elem => "string" === typeof elem));
|
|
5586
|
-
}); const _io25 = input => "object" === typeof input.__context && null !== input.__context && _io26(input.__context) && (null !== input.__returnValue && undefined === input.__returnValue); const _io26 = input => "object" === typeof input.connection && null !== input.connection && false === Array.isArray(input.connection) && _io2(input.connection) && true && (undefined === input.text || "string" === typeof input.text) && ("object" === typeof input.headers && null !== input.headers && false === Array.isArray(input.headers) && _io24(input.headers)) && "number" === typeof input.statusCode; const _io27 = input => (undefined === input.request || "object" === typeof input.request && null !== input.request && false === Array.isArray(input.request) && _io28(input.request)) && (undefined === input.response || "object" === typeof input.response && null !== input.response && false === Array.isArray(input.response) && _io35(input.response)); const _io28 = input => null !== input.origin && (undefined === input.origin || "string" === typeof input.origin || "object" === typeof input.origin && null !== input.origin && _io29(input.origin)) && (null !== input.path && (undefined === input.path || "string" === typeof input.path || "object" === typeof input.path && null !== input.path && _io29(input.path))) && (null !== input.method && (undefined === input.method || "string" === typeof input.method || "object" === typeof input.method && null !== input.method && _io29(input.method))) && (null !== input.params && (undefined === input.params || "string" === typeof input.params || "object" === typeof input.params && null !== input.params && false === Array.isArray(input.params) && _iu3(input.params))) && (null !== input.form && (undefined === input.form || "string" === typeof input.form || "object" === typeof input.form && null !== input.form && false === Array.isArray(input.form) && _iu4(input.form))) && (null !== input.headers && (undefined === input.headers || "string" === typeof input.headers || "object" === typeof input.headers && null !== input.headers && false === Array.isArray(input.headers) && _iu5(input.headers))) && (null !== input.throwOnError && (undefined === input.throwOnError || "string" === typeof input.throwOnError || "boolean" === typeof input.throwOnError || "object" === typeof input.throwOnError && null !== input.throwOnError && _io34(input.throwOnError))); const _io29 = input => "object" === typeof input.__context && null !== input.__context && _io30(input.__context) && (undefined === input.__returnValue || "string" === typeof input.__returnValue); const _io30 = input => "string" === typeof input.filepath && ("object" === typeof input.connection && null !== input.connection && false === Array.isArray(input.connection) && _io2(input.connection)); const _io31 = input => "object" === typeof input.__context && null !== input.__context && _io30(input.__context) && (undefined === input.__returnValue || "object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) && _io13(input.__returnValue)); const _io32 = input => "object" === typeof input.__context && null !== input.__context && _io30(input.__context) && (undefined === input.__returnValue || "object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) && _io15(input.__returnValue)); const _io33 = input => "object" === typeof input.__context && null !== input.__context && _io30(input.__context) && (undefined === input.__returnValue || "object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) && _io18(input.__returnValue)); const _io34 = input => "object" === typeof input.__context && null !== input.__context && _io30(input.__context) && (undefined === input.__returnValue || "boolean" === typeof input.__returnValue); const _io35 = input => (undefined === input.responseFormat || "text" === input.responseFormat || "json" === input.responseFormat || "stream" === input.responseFormat) && (null === input.error || undefined === input.error || "string" === typeof input.error || "object" === typeof input.error && null !== input.error && _io22(input.error)) && (null !== input.transform && (undefined === input.transform || "string" === typeof input.transform || "object" === typeof input.transform && null !== input.transform && false === Array.isArray(input.transform) && _iu6(input.transform))); const _io36 = input => (undefined === input.size || "number" === typeof input.size) && (undefined === input.hash || "string" === typeof input.hash); const _io37 = input => "object" === typeof input.__context && null !== input.__context && _io26(input.__context) && (undefined === input.__returnValue || "object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) && _io36(input.__returnValue)); const _io38 = input => (undefined === input.request || "object" === typeof input.request && null !== input.request && false === Array.isArray(input.request) && _io39(input.request)) && (undefined === input.response || "object" === typeof input.response && null !== input.response && false === Array.isArray(input.response) && _io46(input.response)); const _io39 = input => null !== input.origin && (undefined === input.origin || "string" === typeof input.origin || "object" === typeof input.origin && null !== input.origin && _io40(input.origin)) && (null !== input.path && (undefined === input.path || "string" === typeof input.path || "object" === typeof input.path && null !== input.path && _io40(input.path))) && (null !== input.method && (undefined === input.method || "string" === typeof input.method || "object" === typeof input.method && null !== input.method && _io40(input.method))) && (null !== input.params && (undefined === input.params || "string" === typeof input.params || "object" === typeof input.params && null !== input.params && false === Array.isArray(input.params) && _iu7(input.params))) && (null !== input.form && (undefined === input.form || "string" === typeof input.form || "object" === typeof input.form && null !== input.form && false === Array.isArray(input.form) && _iu8(input.form))) && (null !== input.headers && (undefined === input.headers || "string" === typeof input.headers || "object" === typeof input.headers && null !== input.headers && false === Array.isArray(input.headers) && _iu9(input.headers))) && (null !== input.throwOnError && (undefined === input.throwOnError || "string" === typeof input.throwOnError || "boolean" === typeof input.throwOnError || "object" === typeof input.throwOnError && null !== input.throwOnError && _io45(input.throwOnError))); const _io40 = input => "object" === typeof input.__context && null !== input.__context && _io41(input.__context) && (undefined === input.__returnValue || "string" === typeof input.__returnValue); const _io41 = input => (undefined === input.dirpath || "string" === typeof input.dirpath) && ("object" === typeof input.connection && null !== input.connection && false === Array.isArray(input.connection) && _io2(input.connection)); const _io42 = input => "object" === typeof input.__context && null !== input.__context && _io41(input.__context) && (undefined === input.__returnValue || "object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) && _io13(input.__returnValue)); const _io43 = input => "object" === typeof input.__context && null !== input.__context && _io41(input.__context) && (undefined === input.__returnValue || "object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) && _io15(input.__returnValue)); const _io44 = input => "object" === typeof input.__context && null !== input.__context && _io41(input.__context) && (undefined === input.__returnValue || "object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) && _io18(input.__returnValue)); const _io45 = input => "object" === typeof input.__context && null !== input.__context && _io41(input.__context) && (undefined === input.__returnValue || "boolean" === typeof input.__returnValue); const _io46 = input => (undefined === input.responseFormat || "text" === input.responseFormat || "json" === input.responseFormat || "stream" === input.responseFormat) && (null === input.error || undefined === input.error || "string" === typeof input.error || "object" === typeof input.error && null !== input.error && _io22(input.error)) && (null !== input.transform && (undefined === input.transform || "string" === typeof input.transform || (Array.isArray(input.transform) && input.transform.every(elem => "object" === typeof elem && null !== elem && _io47(elem)) || "object" === typeof input.transform && null !== input.transform && _io48(input.transform)))); const _io47 = input => "string" === typeof input.name && "boolean" === typeof input.isDir && "number" === typeof input.size && (undefined === input.date || "string" === typeof input.date) && "string" === typeof input.path; const _io48 = input => "object" === typeof input.__context && null !== input.__context && _io26(input.__context) && (Array.isArray(input.__returnValue) && input.__returnValue.every(elem => "object" === typeof elem && null !== elem && _io47(elem))); const _io49 = input => (undefined === input.request || "object" === typeof input.request && null !== input.request && false === Array.isArray(input.request) && _io50(input.request)) && (undefined === input.response || "object" === typeof input.response && null !== input.response && false === Array.isArray(input.response) && _io21(input.response)); const _io50 = input => null !== input.origin && (undefined === input.origin || "string" === typeof input.origin || "object" === typeof input.origin && null !== input.origin && _io51(input.origin)) && (null !== input.path && (undefined === input.path || "string" === typeof input.path || "object" === typeof input.path && null !== input.path && _io51(input.path))) && (null !== input.method && (undefined === input.method || "string" === typeof input.method || "object" === typeof input.method && null !== input.method && _io51(input.method))) && (null !== input.params && (undefined === input.params || "string" === typeof input.params || "object" === typeof input.params && null !== input.params && false === Array.isArray(input.params) && _iu10(input.params))) && (null !== input.form && (undefined === input.form || "string" === typeof input.form || "object" === typeof input.form && null !== input.form && false === Array.isArray(input.form) && _iu11(input.form))) && (null !== input.headers && (undefined === input.headers || "string" === typeof input.headers || "object" === typeof input.headers && null !== input.headers && false === Array.isArray(input.headers) && _iu12(input.headers))) && (null !== input.throwOnError && (undefined === input.throwOnError || "string" === typeof input.throwOnError || "boolean" === typeof input.throwOnError || "object" === typeof input.throwOnError && null !== input.throwOnError && _io56(input.throwOnError))); const _io51 = input => "object" === typeof input.__context && null !== input.__context && _io52(input.__context) && (undefined === input.__returnValue || "string" === typeof input.__returnValue); const _io52 = input => "string" === typeof input.id && (undefined === input.offset || "number" === typeof input.offset) && ("object" === typeof input.connection && null !== input.connection && false === Array.isArray(input.connection) && _io2(input.connection)); const _io53 = input => "object" === typeof input.__context && null !== input.__context && _io52(input.__context) && (undefined === input.__returnValue || "object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) && _io13(input.__returnValue)); const _io54 = input => "object" === typeof input.__context && null !== input.__context && _io52(input.__context) && (undefined === input.__returnValue || "object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) && _io15(input.__returnValue)); const _io55 = input => "object" === typeof input.__context && null !== input.__context && _io52(input.__context) && (undefined === input.__returnValue || "object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) && _io18(input.__returnValue)); const _io56 = input => "object" === typeof input.__context && null !== input.__context && _io52(input.__context) && (undefined === input.__returnValue || "boolean" === typeof input.__returnValue); const _io57 = input => (undefined === input.request || "object" === typeof input.request && null !== input.request && false === Array.isArray(input.request) && _io58(input.request)) && (undefined === input.response || "object" === typeof input.response && null !== input.response && false === Array.isArray(input.response) && _io21(input.response)); const _io58 = input => null !== input.origin && (undefined === input.origin || "string" === typeof input.origin || "object" === typeof input.origin && null !== input.origin && _io59(input.origin)) && (null !== input.path && (undefined === input.path || "string" === typeof input.path || "object" === typeof input.path && null !== input.path && _io59(input.path))) && (null !== input.method && (undefined === input.method || "string" === typeof input.method || "object" === typeof input.method && null !== input.method && _io59(input.method))) && (null !== input.params && (undefined === input.params || "string" === typeof input.params || "object" === typeof input.params && null !== input.params && false === Array.isArray(input.params) && _iu13(input.params))) && (null !== input.form && (undefined === input.form || "string" === typeof input.form || "object" === typeof input.form && null !== input.form && false === Array.isArray(input.form) && _iu14(input.form))) && (null !== input.headers && (undefined === input.headers || "string" === typeof input.headers || "object" === typeof input.headers && null !== input.headers && false === Array.isArray(input.headers) && _iu15(input.headers))) && (null !== input.throwOnError && (undefined === input.throwOnError || "string" === typeof input.throwOnError || "boolean" === typeof input.throwOnError || "object" === typeof input.throwOnError && null !== input.throwOnError && _io64(input.throwOnError))); const _io59 = input => "object" === typeof input.__context && null !== input.__context && _io60(input.__context) && (undefined === input.__returnValue || "string" === typeof input.__returnValue); const _io60 = input => "string" === typeof input.filepath && true && ("object" === typeof input.connection && null !== input.connection && false === Array.isArray(input.connection) && _io2(input.connection)); const _io61 = input => "object" === typeof input.__context && null !== input.__context && _io60(input.__context) && (undefined === input.__returnValue || "object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) && _io13(input.__returnValue)); const _io62 = input => "object" === typeof input.__context && null !== input.__context && _io60(input.__context) && (undefined === input.__returnValue || "object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) && _io15(input.__returnValue)); const _io63 = input => "object" === typeof input.__context && null !== input.__context && _io60(input.__context) && (undefined === input.__returnValue || "object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) && _io18(input.__returnValue)); const _io64 = input => "object" === typeof input.__context && null !== input.__context && _io60(input.__context) && (undefined === input.__returnValue || "boolean" === typeof input.__returnValue); const _io65 = input => (undefined === input.request || "object" === typeof input.request && null !== input.request && false === Array.isArray(input.request) && _io66(input.request)) && (undefined === input.response || "object" === typeof input.response && null !== input.response && false === Array.isArray(input.response) && _io21(input.response)); const _io66 = input => null !== input.origin && (undefined === input.origin || "string" === typeof input.origin || "object" === typeof input.origin && null !== input.origin && _io67(input.origin)) && (null !== input.path && (undefined === input.path || "string" === typeof input.path || "object" === typeof input.path && null !== input.path && _io67(input.path))) && (null !== input.method && (undefined === input.method || "string" === typeof input.method || "object" === typeof input.method && null !== input.method && _io67(input.method))) && (null !== input.params && (undefined === input.params || "string" === typeof input.params || "object" === typeof input.params && null !== input.params && false === Array.isArray(input.params) && _iu16(input.params))) && (null !== input.form && (undefined === input.form || "string" === typeof input.form || "object" === typeof input.form && null !== input.form && false === Array.isArray(input.form) && _iu17(input.form))) && (null !== input.headers && (undefined === input.headers || "string" === typeof input.headers || "object" === typeof input.headers && null !== input.headers && false === Array.isArray(input.headers) && _iu18(input.headers))) && (null !== input.throwOnError && (undefined === input.throwOnError || "string" === typeof input.throwOnError || "boolean" === typeof input.throwOnError || "object" === typeof input.throwOnError && null !== input.throwOnError && _io72(input.throwOnError))); const _io67 = input => "object" === typeof input.__context && null !== input.__context && _io68(input.__context) && (undefined === input.__returnValue || "string" === typeof input.__returnValue); const _io68 = input => "string" === typeof input.id && ("object" === typeof input.connection && null !== input.connection && false === Array.isArray(input.connection) && _io2(input.connection)); const _io69 = input => "object" === typeof input.__context && null !== input.__context && _io68(input.__context) && (undefined === input.__returnValue || "object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) && _io13(input.__returnValue)); const _io70 = input => "object" === typeof input.__context && null !== input.__context && _io68(input.__context) && (undefined === input.__returnValue || "object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) && _io15(input.__returnValue)); const _io71 = input => "object" === typeof input.__context && null !== input.__context && _io68(input.__context) && (undefined === input.__returnValue || "object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) && _io18(input.__returnValue)); const _io72 = input => "object" === typeof input.__context && null !== input.__context && _io68(input.__context) && (undefined === input.__returnValue || "boolean" === typeof input.__returnValue); const _io73 = input => (undefined === input.protocol || "s3" === input.protocol) && true && (undefined === input.bucket || "string" === typeof input.bucket) && (undefined === input.type || "file" === input.type) && (undefined === input.host || "string" === typeof input.host) && (undefined === input.port || "string" === typeof input.port || "number" === typeof input.port) && (undefined === input.ignoreMissing || "boolean" === typeof input.ignoreMissing) && (undefined === input.concurrency || "number" === typeof input.concurrency) && (undefined === input.stabilityThreshold || "number" === typeof input.stabilityThreshold) && (undefined === input.pollInterval || "number" === typeof input.pollInterval) && (undefined === input.listConcurrency || "number" === typeof input.listConcurrency) && (undefined === input.metafile || "object" === typeof input.metafile && null !== input.metafile && false === Array.isArray(input.metafile) && _io1(input.metafile)) && (undefined === input.userNotificationsEnabled || "boolean" === typeof input.userNotificationsEnabled); const _io74 = input => (undefined === input.protocol || "smb" === input.protocol) && (undefined === input.host || "string" === typeof input.host) && (undefined === input.share || "string" === typeof input.share) && (undefined === input.workgroup || "string" === typeof input.workgroup) && (undefined === input.username || "string" === typeof input.username) && (undefined === input.password || "string" === typeof input.password) && (undefined === input.type || "file" === input.type) && (undefined === input.port || "string" === typeof input.port || "number" === typeof input.port) && (undefined === input.ignoreMissing || "boolean" === typeof input.ignoreMissing) && (undefined === input.concurrency || "number" === typeof input.concurrency) && (undefined === input.stabilityThreshold || "number" === typeof input.stabilityThreshold) && (undefined === input.pollInterval || "number" === typeof input.pollInterval) && (undefined === input.listConcurrency || "number" === typeof input.listConcurrency) && (undefined === input.metafile || "object" === typeof input.metafile && null !== input.metafile && false === Array.isArray(input.metafile) && _io1(input.metafile)) && (undefined === input.userNotificationsEnabled || "boolean" === typeof input.userNotificationsEnabled); const _io75 = input => (undefined === input.protocol || "sftp" === input.protocol) && (undefined === input.host || "string" === typeof input.host) && (undefined === input.username || "string" === typeof input.username) && (undefined === input.password || "string" === typeof input.password) && (undefined === input.privateKey || "string" === typeof input.privateKey) && (undefined === input.timezone || "string" === typeof input.timezone) && (undefined === input.debug || "boolean" === typeof input.debug) && (undefined === input.root || "string" === typeof input.root) && (undefined === input.mode || "libcurl" === input.mode || "lftp" === input.mode || "openssh" === input.mode || "ssh2" === input.mode) && (undefined === input.type || "file" === input.type) && (undefined === input.port || "string" === typeof input.port || "number" === typeof input.port) && (undefined === input.ignoreMissing || "boolean" === typeof input.ignoreMissing) && (undefined === input.concurrency || "number" === typeof input.concurrency) && (undefined === input.stabilityThreshold || "number" === typeof input.stabilityThreshold) && (undefined === input.pollInterval || "number" === typeof input.pollInterval) && (undefined === input.listConcurrency || "number" === typeof input.listConcurrency) && (undefined === input.metafile || "object" === typeof input.metafile && null !== input.metafile && false === Array.isArray(input.metafile) && _io1(input.metafile)) && (undefined === input.userNotificationsEnabled || "boolean" === typeof input.userNotificationsEnabled); const _io76 = input => (undefined === input.type || "facebook" === input.type) && (undefined === input.grantedScopes || Array.isArray(input.grantedScopes) && input.grantedScopes.every(elem => "string" === typeof elem)) && (undefined === input.userNotificationsEnabled || "boolean" === typeof input.userNotificationsEnabled); const _io77 = input => (undefined === input.type || "reuters" === input.type) && (undefined === input.clientId || "string" === typeof input.clientId) && (undefined === input.clientSecret || "string" === typeof input.clientSecret) && (undefined === input.audience || "string" === typeof input.audience) && (undefined === input.userNotificationsEnabled || "boolean" === typeof input.userNotificationsEnabled); const _io78 = input => (null === input.type || undefined === input.type) && (undefined === input.userNotificationsEnabled || "boolean" === typeof input.userNotificationsEnabled); const _iu0 = input => (() => {
|
|
5628
|
+
}); const _io25 = input => "object" === typeof input.__context && null !== input.__context && _io26(input.__context) && (null !== input.__returnValue && undefined === input.__returnValue); const _io26 = input => "object" === typeof input.connection && null !== input.connection && false === Array.isArray(input.connection) && _io2(input.connection) && true && (undefined === input.text || "string" === typeof input.text) && ("object" === typeof input.headers && null !== input.headers && false === Array.isArray(input.headers) && _io24(input.headers)) && "number" === typeof input.statusCode; const _io27 = input => (undefined === input.request || "object" === typeof input.request && null !== input.request && false === Array.isArray(input.request) && _io28(input.request)) && (undefined === input.response || "object" === typeof input.response && null !== input.response && false === Array.isArray(input.response) && _io35(input.response)); const _io28 = input => null !== input.origin && (undefined === input.origin || "string" === typeof input.origin || "object" === typeof input.origin && null !== input.origin && _io29(input.origin)) && (null !== input.path && (undefined === input.path || "string" === typeof input.path || "object" === typeof input.path && null !== input.path && _io29(input.path))) && (null !== input.method && (undefined === input.method || "string" === typeof input.method || "object" === typeof input.method && null !== input.method && _io29(input.method))) && (null !== input.params && (undefined === input.params || "string" === typeof input.params || "object" === typeof input.params && null !== input.params && false === Array.isArray(input.params) && _iu3(input.params))) && (null !== input.form && (undefined === input.form || "string" === typeof input.form || "object" === typeof input.form && null !== input.form && false === Array.isArray(input.form) && _iu4(input.form))) && (null !== input.headers && (undefined === input.headers || "string" === typeof input.headers || "object" === typeof input.headers && null !== input.headers && false === Array.isArray(input.headers) && _iu5(input.headers))) && (null !== input.throwOnError && (undefined === input.throwOnError || "string" === typeof input.throwOnError || "boolean" === typeof input.throwOnError || "object" === typeof input.throwOnError && null !== input.throwOnError && _io34(input.throwOnError))); const _io29 = input => "object" === typeof input.__context && null !== input.__context && _io30(input.__context) && (undefined === input.__returnValue || "string" === typeof input.__returnValue); const _io30 = input => "string" === typeof input.filepath && ("object" === typeof input.connection && null !== input.connection && false === Array.isArray(input.connection) && _io2(input.connection)); const _io31 = input => "object" === typeof input.__context && null !== input.__context && _io30(input.__context) && (undefined === input.__returnValue || "object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) && _io13(input.__returnValue)); const _io32 = input => "object" === typeof input.__context && null !== input.__context && _io30(input.__context) && (undefined === input.__returnValue || "object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) && _io15(input.__returnValue)); const _io33 = input => "object" === typeof input.__context && null !== input.__context && _io30(input.__context) && (undefined === input.__returnValue || "object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) && _io18(input.__returnValue)); const _io34 = input => "object" === typeof input.__context && null !== input.__context && _io30(input.__context) && (undefined === input.__returnValue || "boolean" === typeof input.__returnValue); const _io35 = input => (undefined === input.responseFormat || "text" === input.responseFormat || "json" === input.responseFormat || "stream" === input.responseFormat) && (null === input.error || undefined === input.error || "string" === typeof input.error || "object" === typeof input.error && null !== input.error && _io22(input.error)) && (null !== input.transform && (undefined === input.transform || "string" === typeof input.transform || "object" === typeof input.transform && null !== input.transform && false === Array.isArray(input.transform) && _iu6(input.transform))); const _io36 = input => (undefined === input.size || "number" === typeof input.size) && (undefined === input.hash || "string" === typeof input.hash); const _io37 = input => "object" === typeof input.__context && null !== input.__context && _io26(input.__context) && (undefined === input.__returnValue || "object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) && _io36(input.__returnValue)); const _io38 = input => (undefined === input.request || "object" === typeof input.request && null !== input.request && false === Array.isArray(input.request) && _io39(input.request)) && (undefined === input.response || "object" === typeof input.response && null !== input.response && false === Array.isArray(input.response) && _io46(input.response)); const _io39 = input => null !== input.origin && (undefined === input.origin || "string" === typeof input.origin || "object" === typeof input.origin && null !== input.origin && _io40(input.origin)) && (null !== input.path && (undefined === input.path || "string" === typeof input.path || "object" === typeof input.path && null !== input.path && _io40(input.path))) && (null !== input.method && (undefined === input.method || "string" === typeof input.method || "object" === typeof input.method && null !== input.method && _io40(input.method))) && (null !== input.params && (undefined === input.params || "string" === typeof input.params || "object" === typeof input.params && null !== input.params && false === Array.isArray(input.params) && _iu7(input.params))) && (null !== input.form && (undefined === input.form || "string" === typeof input.form || "object" === typeof input.form && null !== input.form && false === Array.isArray(input.form) && _iu8(input.form))) && (null !== input.headers && (undefined === input.headers || "string" === typeof input.headers || "object" === typeof input.headers && null !== input.headers && false === Array.isArray(input.headers) && _iu9(input.headers))) && (null !== input.throwOnError && (undefined === input.throwOnError || "string" === typeof input.throwOnError || "boolean" === typeof input.throwOnError || "object" === typeof input.throwOnError && null !== input.throwOnError && _io45(input.throwOnError))); const _io40 = input => "object" === typeof input.__context && null !== input.__context && _io41(input.__context) && (undefined === input.__returnValue || "string" === typeof input.__returnValue); const _io41 = input => (undefined === input.dirpath || "string" === typeof input.dirpath) && ("object" === typeof input.connection && null !== input.connection && false === Array.isArray(input.connection) && _io2(input.connection)); const _io42 = input => "object" === typeof input.__context && null !== input.__context && _io41(input.__context) && (undefined === input.__returnValue || "object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) && _io13(input.__returnValue)); const _io43 = input => "object" === typeof input.__context && null !== input.__context && _io41(input.__context) && (undefined === input.__returnValue || "object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) && _io15(input.__returnValue)); const _io44 = input => "object" === typeof input.__context && null !== input.__context && _io41(input.__context) && (undefined === input.__returnValue || "object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) && _io18(input.__returnValue)); const _io45 = input => "object" === typeof input.__context && null !== input.__context && _io41(input.__context) && (undefined === input.__returnValue || "boolean" === typeof input.__returnValue); const _io46 = input => (undefined === input.responseFormat || "text" === input.responseFormat || "json" === input.responseFormat || "stream" === input.responseFormat) && (null === input.error || undefined === input.error || "string" === typeof input.error || "object" === typeof input.error && null !== input.error && _io22(input.error)) && (null !== input.transform && (undefined === input.transform || "string" === typeof input.transform || (Array.isArray(input.transform) && input.transform.every(elem => "object" === typeof elem && null !== elem && _io47(elem)) || "object" === typeof input.transform && null !== input.transform && _io48(input.transform)))); const _io47 = input => "string" === typeof input.name && "boolean" === typeof input.isDir && "number" === typeof input.size && (undefined === input.date || "string" === typeof input.date) && "string" === typeof input.path; const _io48 = input => "object" === typeof input.__context && null !== input.__context && _io26(input.__context) && (Array.isArray(input.__returnValue) && input.__returnValue.every(elem => "object" === typeof elem && null !== elem && _io47(elem))); const _io49 = input => (undefined === input.request || "object" === typeof input.request && null !== input.request && false === Array.isArray(input.request) && _io50(input.request)) && (undefined === input.response || "object" === typeof input.response && null !== input.response && false === Array.isArray(input.response) && _io21(input.response)); const _io50 = input => null !== input.origin && (undefined === input.origin || "string" === typeof input.origin || "object" === typeof input.origin && null !== input.origin && _io51(input.origin)) && (null !== input.path && (undefined === input.path || "string" === typeof input.path || "object" === typeof input.path && null !== input.path && _io51(input.path))) && (null !== input.method && (undefined === input.method || "string" === typeof input.method || "object" === typeof input.method && null !== input.method && _io51(input.method))) && (null !== input.params && (undefined === input.params || "string" === typeof input.params || "object" === typeof input.params && null !== input.params && false === Array.isArray(input.params) && _iu10(input.params))) && (null !== input.form && (undefined === input.form || "string" === typeof input.form || "object" === typeof input.form && null !== input.form && false === Array.isArray(input.form) && _iu11(input.form))) && (null !== input.headers && (undefined === input.headers || "string" === typeof input.headers || "object" === typeof input.headers && null !== input.headers && false === Array.isArray(input.headers) && _iu12(input.headers))) && (null !== input.throwOnError && (undefined === input.throwOnError || "string" === typeof input.throwOnError || "boolean" === typeof input.throwOnError || "object" === typeof input.throwOnError && null !== input.throwOnError && _io56(input.throwOnError))); const _io51 = input => "object" === typeof input.__context && null !== input.__context && _io52(input.__context) && (undefined === input.__returnValue || "string" === typeof input.__returnValue); const _io52 = input => "string" === typeof input.id && (undefined === input.offset || "number" === typeof input.offset) && ("object" === typeof input.connection && null !== input.connection && false === Array.isArray(input.connection) && _io2(input.connection)); const _io53 = input => "object" === typeof input.__context && null !== input.__context && _io52(input.__context) && (undefined === input.__returnValue || "object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) && _io13(input.__returnValue)); const _io54 = input => "object" === typeof input.__context && null !== input.__context && _io52(input.__context) && (undefined === input.__returnValue || "object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) && _io15(input.__returnValue)); const _io55 = input => "object" === typeof input.__context && null !== input.__context && _io52(input.__context) && (undefined === input.__returnValue || "object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) && _io18(input.__returnValue)); const _io56 = input => "object" === typeof input.__context && null !== input.__context && _io52(input.__context) && (undefined === input.__returnValue || "boolean" === typeof input.__returnValue); const _io57 = input => (undefined === input.request || "object" === typeof input.request && null !== input.request && false === Array.isArray(input.request) && _io58(input.request)) && (undefined === input.response || "object" === typeof input.response && null !== input.response && false === Array.isArray(input.response) && _io21(input.response)); const _io58 = input => null !== input.origin && (undefined === input.origin || "string" === typeof input.origin || "object" === typeof input.origin && null !== input.origin && _io59(input.origin)) && (null !== input.path && (undefined === input.path || "string" === typeof input.path || "object" === typeof input.path && null !== input.path && _io59(input.path))) && (null !== input.method && (undefined === input.method || "string" === typeof input.method || "object" === typeof input.method && null !== input.method && _io59(input.method))) && (null !== input.params && (undefined === input.params || "string" === typeof input.params || "object" === typeof input.params && null !== input.params && false === Array.isArray(input.params) && _iu13(input.params))) && (null !== input.form && (undefined === input.form || "string" === typeof input.form || "object" === typeof input.form && null !== input.form && false === Array.isArray(input.form) && _iu14(input.form))) && (null !== input.headers && (undefined === input.headers || "string" === typeof input.headers || "object" === typeof input.headers && null !== input.headers && false === Array.isArray(input.headers) && _iu15(input.headers))) && (null !== input.throwOnError && (undefined === input.throwOnError || "string" === typeof input.throwOnError || "boolean" === typeof input.throwOnError || "object" === typeof input.throwOnError && null !== input.throwOnError && _io64(input.throwOnError))); const _io59 = input => "object" === typeof input.__context && null !== input.__context && _io60(input.__context) && (undefined === input.__returnValue || "string" === typeof input.__returnValue); const _io60 = input => "string" === typeof input.filepath && true && ("object" === typeof input.connection && null !== input.connection && false === Array.isArray(input.connection) && _io2(input.connection)); const _io61 = input => "object" === typeof input.__context && null !== input.__context && _io60(input.__context) && (undefined === input.__returnValue || "object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) && _io13(input.__returnValue)); const _io62 = input => "object" === typeof input.__context && null !== input.__context && _io60(input.__context) && (undefined === input.__returnValue || "object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) && _io15(input.__returnValue)); const _io63 = input => "object" === typeof input.__context && null !== input.__context && _io60(input.__context) && (undefined === input.__returnValue || "object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) && _io18(input.__returnValue)); const _io64 = input => "object" === typeof input.__context && null !== input.__context && _io60(input.__context) && (undefined === input.__returnValue || "boolean" === typeof input.__returnValue); const _io65 = input => (undefined === input.request || "object" === typeof input.request && null !== input.request && false === Array.isArray(input.request) && _io66(input.request)) && (undefined === input.response || "object" === typeof input.response && null !== input.response && false === Array.isArray(input.response) && _io21(input.response)); const _io66 = input => null !== input.origin && (undefined === input.origin || "string" === typeof input.origin || "object" === typeof input.origin && null !== input.origin && _io67(input.origin)) && (null !== input.path && (undefined === input.path || "string" === typeof input.path || "object" === typeof input.path && null !== input.path && _io67(input.path))) && (null !== input.method && (undefined === input.method || "string" === typeof input.method || "object" === typeof input.method && null !== input.method && _io67(input.method))) && (null !== input.params && (undefined === input.params || "string" === typeof input.params || "object" === typeof input.params && null !== input.params && false === Array.isArray(input.params) && _iu16(input.params))) && (null !== input.form && (undefined === input.form || "string" === typeof input.form || "object" === typeof input.form && null !== input.form && false === Array.isArray(input.form) && _iu17(input.form))) && (null !== input.headers && (undefined === input.headers || "string" === typeof input.headers || "object" === typeof input.headers && null !== input.headers && false === Array.isArray(input.headers) && _iu18(input.headers))) && (null !== input.throwOnError && (undefined === input.throwOnError || "string" === typeof input.throwOnError || "boolean" === typeof input.throwOnError || "object" === typeof input.throwOnError && null !== input.throwOnError && _io72(input.throwOnError))); const _io67 = input => "object" === typeof input.__context && null !== input.__context && _io68(input.__context) && (undefined === input.__returnValue || "string" === typeof input.__returnValue); const _io68 = input => "string" === typeof input.id && ("object" === typeof input.connection && null !== input.connection && false === Array.isArray(input.connection) && _io2(input.connection)); const _io69 = input => "object" === typeof input.__context && null !== input.__context && _io68(input.__context) && (undefined === input.__returnValue || "object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) && _io13(input.__returnValue)); const _io70 = input => "object" === typeof input.__context && null !== input.__context && _io68(input.__context) && (undefined === input.__returnValue || "object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) && _io15(input.__returnValue)); const _io71 = input => "object" === typeof input.__context && null !== input.__context && _io68(input.__context) && (undefined === input.__returnValue || "object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) && _io18(input.__returnValue)); const _io72 = input => "object" === typeof input.__context && null !== input.__context && _io68(input.__context) && (undefined === input.__returnValue || "boolean" === typeof input.__returnValue); const _io73 = input => (undefined === input.protocol || "s3" === input.protocol) && true && (undefined === input.bucket || "string" === typeof input.bucket) && (undefined === input.type || "file" === input.type) && (undefined === input.host || "string" === typeof input.host) && (undefined === input.port || "string" === typeof input.port || "number" === typeof input.port) && (undefined === input.ignoreMissing || "boolean" === typeof input.ignoreMissing) && (undefined === input.concurrency || "number" === typeof input.concurrency) && (undefined === input.stabilityThreshold || "number" === typeof input.stabilityThreshold) && (undefined === input.pollInterval || "number" === typeof input.pollInterval) && (undefined === input.listConcurrency || "number" === typeof input.listConcurrency) && (undefined === input.metafile || "object" === typeof input.metafile && null !== input.metafile && false === Array.isArray(input.metafile) && _io1(input.metafile)) && (undefined === input.userNotificationsEnabled || "boolean" === typeof input.userNotificationsEnabled); const _io74 = input => (undefined === input.protocol || "smb" === input.protocol) && (undefined === input.host || "string" === typeof input.host) && (undefined === input.share || "string" === typeof input.share) && (undefined === input.root || "string" === typeof input.root) && (undefined === input.workgroup || "string" === typeof input.workgroup) && (undefined === input.username || "string" === typeof input.username) && (undefined === input.password || "string" === typeof input.password) && (undefined === input.createFolders || "boolean" === typeof input.createFolders) && (undefined === input.type || "file" === input.type) && (undefined === input.port || "string" === typeof input.port || "number" === typeof input.port) && (undefined === input.ignoreMissing || "boolean" === typeof input.ignoreMissing) && (undefined === input.concurrency || "number" === typeof input.concurrency) && (undefined === input.stabilityThreshold || "number" === typeof input.stabilityThreshold) && (undefined === input.pollInterval || "number" === typeof input.pollInterval) && (undefined === input.listConcurrency || "number" === typeof input.listConcurrency) && (undefined === input.metafile || "object" === typeof input.metafile && null !== input.metafile && false === Array.isArray(input.metafile) && _io1(input.metafile)) && (undefined === input.userNotificationsEnabled || "boolean" === typeof input.userNotificationsEnabled); const _io75 = input => (undefined === input.protocol || "sftp" === input.protocol) && (undefined === input.host || "string" === typeof input.host) && (undefined === input.username || "string" === typeof input.username) && (undefined === input.password || "string" === typeof input.password) && (undefined === input.privateKey || "string" === typeof input.privateKey) && (undefined === input.timezone || "string" === typeof input.timezone) && (undefined === input.debug || "boolean" === typeof input.debug) && (undefined === input.root || "string" === typeof input.root) && (undefined === input.mode || "libcurl" === input.mode || "lftp" === input.mode || "openssh" === input.mode || "ssh2" === input.mode) && (undefined === input.type || "file" === input.type) && (undefined === input.port || "string" === typeof input.port || "number" === typeof input.port) && (undefined === input.ignoreMissing || "boolean" === typeof input.ignoreMissing) && (undefined === input.concurrency || "number" === typeof input.concurrency) && (undefined === input.stabilityThreshold || "number" === typeof input.stabilityThreshold) && (undefined === input.pollInterval || "number" === typeof input.pollInterval) && (undefined === input.listConcurrency || "number" === typeof input.listConcurrency) && (undefined === input.metafile || "object" === typeof input.metafile && null !== input.metafile && false === Array.isArray(input.metafile) && _io1(input.metafile)) && (undefined === input.userNotificationsEnabled || "boolean" === typeof input.userNotificationsEnabled); const _io76 = input => (undefined === input.type || "facebook" === input.type) && (undefined === input.grantedScopes || Array.isArray(input.grantedScopes) && input.grantedScopes.every(elem => "string" === typeof elem)) && (undefined === input.userNotificationsEnabled || "boolean" === typeof input.userNotificationsEnabled); const _io77 = input => (undefined === input.type || "reuters" === input.type) && (undefined === input.clientId || "string" === typeof input.clientId) && (undefined === input.clientSecret || "string" === typeof input.clientSecret) && (undefined === input.audience || "string" === typeof input.audience) && (undefined === input.userNotificationsEnabled || "boolean" === typeof input.userNotificationsEnabled); const _io78 = input => (null === input.type || undefined === input.type) && (undefined === input.userNotificationsEnabled || "boolean" === typeof input.userNotificationsEnabled); const _iu0 = input => (() => {
|
|
5587
5629
|
if (undefined !== input.__context)
|
|
5588
5630
|
return _io14(input);
|
|
5589
5631
|
else
|
|
@@ -7432,6 +7474,10 @@ function _validateDomainRecord(domain, input) {
|
|
|
7432
7474
|
path: _path + ".share",
|
|
7433
7475
|
expected: "(string | undefined)",
|
|
7434
7476
|
value: input.share
|
|
7477
|
+
}), undefined === input.root || "string" === typeof input.root || _report(_exceptionable, {
|
|
7478
|
+
path: _path + ".root",
|
|
7479
|
+
expected: "(string | undefined)",
|
|
7480
|
+
value: input.root
|
|
7435
7481
|
}), undefined === input.workgroup || "string" === typeof input.workgroup || _report(_exceptionable, {
|
|
7436
7482
|
path: _path + ".workgroup",
|
|
7437
7483
|
expected: "(string | undefined)",
|
|
@@ -7444,6 +7490,10 @@ function _validateDomainRecord(domain, input) {
|
|
|
7444
7490
|
path: _path + ".password",
|
|
7445
7491
|
expected: "(string | undefined)",
|
|
7446
7492
|
value: input.password
|
|
7493
|
+
}), undefined === input.createFolders || "boolean" === typeof input.createFolders || _report(_exceptionable, {
|
|
7494
|
+
path: _path + ".createFolders",
|
|
7495
|
+
expected: "(boolean | undefined)",
|
|
7496
|
+
value: input.createFolders
|
|
7447
7497
|
}), undefined === input.type || "file" === input.type || _report(_exceptionable, {
|
|
7448
7498
|
path: _path + ".type",
|
|
7449
7499
|
expected: "(\"file\" | undefined)",
|
|
@@ -8155,7 +8205,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
8155
8205
|
}; })()(input);
|
|
8156
8206
|
}
|
|
8157
8207
|
case ":event": {
|
|
8158
|
-
return (() => { const _io0 = input => (null === input.start || undefined === input.start || "number" === typeof input.start) && (null === input.end || undefined === input.end || "number" === typeof input.end) && (null === input.duration || undefined === input.duration || "number" === typeof input.duration) && (undefined === input.text || "string" === typeof input.text) && (undefined === input.lang || "string" === typeof input.lang) && (undefined === input.style || "string" === typeof input.style) && (undefined === input.styleOverrides || "object" === typeof input.styleOverrides && null !== input.styleOverrides && false === Array.isArray(input.styleOverrides) && _io1(input.styleOverrides)); const _io1 = input => (undefined === input.marginL || "string" === typeof input.marginL) && (undefined === input.marginR || "string" === typeof input.marginR) && (undefined === input.marginV || "string" === typeof input.marginV) && (undefined === input.alignment || "string" === typeof input.alignment) && (undefined === input.fontname || "string" === typeof input.fontname) && (undefined === input.fontsize || "string" === typeof input.fontsize) && (undefined === input.primaryColour || "string" === typeof input.primaryColour) && (undefined === input.secondaryColour || "string" === typeof input.secondaryColour) && (undefined === input.outlineColour || "string" === typeof input.outlineColour) && (undefined === input.backColour || "string" === typeof input.backColour) && (undefined === input.bold || "string" === typeof input.bold) && (undefined === input.italic || "string" === typeof input.italic) && (undefined === input.underline || "string" === typeof input.underline) && (undefined === input.strikeOut || "string" === typeof input.strikeOut); const _vo0 = (input, _path, _exceptionable = true) => [null === input.start || undefined === input.start || "number" === typeof input.start || _report(_exceptionable, {
|
|
8208
|
+
return (() => { const _io0 = input => (null === input.start || undefined === input.start || "number" === typeof input.start) && (null === input.end || undefined === input.end || "number" === typeof input.end) && (null === input.duration || undefined === input.duration || "number" === typeof input.duration) && (undefined === input.position || "string" === typeof input.position) && (undefined === input.text || "string" === typeof input.text) && (undefined === input.lang || "string" === typeof input.lang) && (undefined === input.style || "string" === typeof input.style) && (undefined === input.styleOverrides || "object" === typeof input.styleOverrides && null !== input.styleOverrides && false === Array.isArray(input.styleOverrides) && _io1(input.styleOverrides)); const _io1 = input => (undefined === input.marginL || "string" === typeof input.marginL) && (undefined === input.marginR || "string" === typeof input.marginR) && (undefined === input.marginV || "string" === typeof input.marginV) && (undefined === input.alignment || "string" === typeof input.alignment) && (undefined === input.fontname || "string" === typeof input.fontname) && (undefined === input.fontsize || "string" === typeof input.fontsize) && (undefined === input.primaryColour || "string" === typeof input.primaryColour) && (undefined === input.secondaryColour || "string" === typeof input.secondaryColour) && (undefined === input.outlineColour || "string" === typeof input.outlineColour) && (undefined === input.backColour || "string" === typeof input.backColour) && (undefined === input.bold || "string" === typeof input.bold) && (undefined === input.italic || "string" === typeof input.italic) && (undefined === input.underline || "string" === typeof input.underline) && (undefined === input.strikeOut || "string" === typeof input.strikeOut); const _vo0 = (input, _path, _exceptionable = true) => [null === input.start || undefined === input.start || "number" === typeof input.start || _report(_exceptionable, {
|
|
8159
8209
|
path: _path + ".start",
|
|
8160
8210
|
expected: "(null | number | undefined)",
|
|
8161
8211
|
value: input.start
|
|
@@ -8167,6 +8217,10 @@ function _validateDomainRecord(domain, input) {
|
|
|
8167
8217
|
path: _path + ".duration",
|
|
8168
8218
|
expected: "(null | number | undefined)",
|
|
8169
8219
|
value: input.duration
|
|
8220
|
+
}), undefined === input.position || "string" === typeof input.position || _report(_exceptionable, {
|
|
8221
|
+
path: _path + ".position",
|
|
8222
|
+
expected: "(string | undefined)",
|
|
8223
|
+
value: input.position
|
|
8170
8224
|
}), undefined === input.text || "string" === typeof input.text || _report(_exceptionable, {
|
|
8171
8225
|
path: _path + ".text",
|
|
8172
8226
|
expected: "(string | undefined)",
|
|
@@ -8344,8 +8398,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
8344
8398
|
if (undefined === value)
|
|
8345
8399
|
return true;
|
|
8346
8400
|
return "object" === typeof value && null !== value && _io1(value);
|
|
8347
|
-
}); const _io1 = input => "object" === typeof input.data && null !== input.data && false === Array.isArray(input.data) && _io2(input.data); const _io2 = input => (undefined === input.source || "string" === typeof input.source) && (undefined === input.cueCard || "string" === typeof input.cueCard || "boolean" === typeof input.cueCard) && (undefined === input.startTime || "number" === typeof input.startTime) && (null !== input.shotboxGroup && (undefined === input.shotboxGroup || "string" === typeof input.shotboxGroup || Array.isArray(input.shotboxGroup) && input.shotboxGroup.every(elem => "string" === typeof elem))) && (undefined === input.shotboxVisible || "boolean" === typeof input.shotboxVisible) && Object.keys(input).every(key => {
|
|
8348
|
-
if (["source", "cueCard", "startTime", "shotboxGroup", "shotboxVisible"].some(prop => key === prop))
|
|
8401
|
+
}); const _io1 = input => "object" === typeof input.data && null !== input.data && false === Array.isArray(input.data) && _io2(input.data); const _io2 = input => (undefined === input.source || "string" === typeof input.source) && (undefined === input.cueCard || "string" === typeof input.cueCard || "boolean" === typeof input.cueCard) && (undefined === input.printRundownColor || "string" === typeof input.printRundownColor) && (undefined === input.startTime || "number" === typeof input.startTime) && (null !== input.shotboxGroup && (undefined === input.shotboxGroup || "string" === typeof input.shotboxGroup || Array.isArray(input.shotboxGroup) && input.shotboxGroup.every(elem => "string" === typeof elem))) && (undefined === input.shotboxVisible || "boolean" === typeof input.shotboxVisible) && Object.keys(input).every(key => {
|
|
8402
|
+
if (["source", "cueCard", "printRundownColor", "startTime", "shotboxGroup", "shotboxVisible"].some(prop => key === prop))
|
|
8349
8403
|
return true;
|
|
8350
8404
|
const value = input[key];
|
|
8351
8405
|
if (undefined === value)
|
|
@@ -8385,6 +8439,10 @@ function _validateDomainRecord(domain, input) {
|
|
|
8385
8439
|
path: _path + ".cueCard",
|
|
8386
8440
|
expected: "(boolean | string | undefined)",
|
|
8387
8441
|
value: input.cueCard
|
|
8442
|
+
}), undefined === input.printRundownColor || "string" === typeof input.printRundownColor || _report(_exceptionable, {
|
|
8443
|
+
path: _path + ".printRundownColor",
|
|
8444
|
+
expected: "(string | undefined)",
|
|
8445
|
+
value: input.printRundownColor
|
|
8388
8446
|
}), undefined === input.startTime || "number" === typeof input.startTime || _report(_exceptionable, {
|
|
8389
8447
|
path: _path + ".startTime",
|
|
8390
8448
|
expected: "(number | undefined)",
|
|
@@ -8410,7 +8468,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
8410
8468
|
expected: "(boolean | undefined)",
|
|
8411
8469
|
value: input.shotboxVisible
|
|
8412
8470
|
}), false === _exceptionable || Object.keys(input).map(key => {
|
|
8413
|
-
if (["source", "cueCard", "startTime", "shotboxGroup", "shotboxVisible"].some(prop => key === prop))
|
|
8471
|
+
if (["source", "cueCard", "printRundownColor", "startTime", "shotboxGroup", "shotboxVisible"].some(prop => key === prop))
|
|
8414
8472
|
return true;
|
|
8415
8473
|
const value = input[key];
|
|
8416
8474
|
if (undefined === value)
|
|
@@ -8653,8 +8711,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
8653
8711
|
}; })()(input);
|
|
8654
8712
|
}
|
|
8655
8713
|
case ":event.props?": {
|
|
8656
|
-
return (() => { const _io0 = input => (undefined === input.source || "string" === typeof input.source) && (undefined === input.cueCard || "string" === typeof input.cueCard || "boolean" === typeof input.cueCard) && (undefined === input.startTime || "number" === typeof input.startTime) && (null !== input.shotboxGroup && (undefined === input.shotboxGroup || "string" === typeof input.shotboxGroup || Array.isArray(input.shotboxGroup) && input.shotboxGroup.every(elem => "string" === typeof elem))) && (undefined === input.shotboxVisible || "boolean" === typeof input.shotboxVisible) && Object.keys(input).every(key => {
|
|
8657
|
-
if (["source", "cueCard", "startTime", "shotboxGroup", "shotboxVisible"].some(prop => key === prop))
|
|
8714
|
+
return (() => { const _io0 = input => (undefined === input.source || "string" === typeof input.source) && (undefined === input.cueCard || "string" === typeof input.cueCard || "boolean" === typeof input.cueCard) && (undefined === input.printRundownColor || "string" === typeof input.printRundownColor) && (undefined === input.startTime || "number" === typeof input.startTime) && (null !== input.shotboxGroup && (undefined === input.shotboxGroup || "string" === typeof input.shotboxGroup || Array.isArray(input.shotboxGroup) && input.shotboxGroup.every(elem => "string" === typeof elem))) && (undefined === input.shotboxVisible || "boolean" === typeof input.shotboxVisible) && Object.keys(input).every(key => {
|
|
8715
|
+
if (["source", "cueCard", "printRundownColor", "startTime", "shotboxGroup", "shotboxVisible"].some(prop => key === prop))
|
|
8658
8716
|
return true;
|
|
8659
8717
|
const value = input[key];
|
|
8660
8718
|
if (undefined === value)
|
|
@@ -8673,6 +8731,10 @@ function _validateDomainRecord(domain, input) {
|
|
|
8673
8731
|
path: _path + ".cueCard",
|
|
8674
8732
|
expected: "(boolean | string | undefined)",
|
|
8675
8733
|
value: input.cueCard
|
|
8734
|
+
}), undefined === input.printRundownColor || "string" === typeof input.printRundownColor || _report(_exceptionable, {
|
|
8735
|
+
path: _path + ".printRundownColor",
|
|
8736
|
+
expected: "(string | undefined)",
|
|
8737
|
+
value: input.printRundownColor
|
|
8676
8738
|
}), undefined === input.startTime || "number" === typeof input.startTime || _report(_exceptionable, {
|
|
8677
8739
|
path: _path + ".startTime",
|
|
8678
8740
|
expected: "(number | undefined)",
|
|
@@ -8698,7 +8760,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
8698
8760
|
expected: "(boolean | undefined)",
|
|
8699
8761
|
value: input.shotboxVisible
|
|
8700
8762
|
}), false === _exceptionable || Object.keys(input).map(key => {
|
|
8701
|
-
if (["source", "cueCard", "startTime", "shotboxGroup", "shotboxVisible"].some(prop => key === prop))
|
|
8763
|
+
if (["source", "cueCard", "printRundownColor", "startTime", "shotboxGroup", "shotboxVisible"].some(prop => key === prop))
|
|
8702
8764
|
return true;
|
|
8703
8765
|
const value = input[key];
|
|
8704
8766
|
if (undefined === value)
|
|
@@ -8786,6 +8848,128 @@ function _validateDomainRecord(domain, input) {
|
|
|
8786
8848
|
};
|
|
8787
8849
|
}; })()(input);
|
|
8788
8850
|
}
|
|
8851
|
+
case ":event.stats?": {
|
|
8852
|
+
return (() => { const _io0 = input => undefined === input.type || "string" === typeof input.type; const _vo0 = (input, _path, _exceptionable = true) => [undefined === input.type || "string" === typeof input.type || _report(_exceptionable, {
|
|
8853
|
+
path: _path + ".type",
|
|
8854
|
+
expected: "(string | undefined)",
|
|
8855
|
+
value: input.type
|
|
8856
|
+
})].every(flag => flag); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); let errors; let _report; return input => {
|
|
8857
|
+
if (false === __is(input)) {
|
|
8858
|
+
errors = [];
|
|
8859
|
+
_report = __typia_transform__validateReport._validateReport(errors);
|
|
8860
|
+
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || _report(true, {
|
|
8861
|
+
path: _path + "",
|
|
8862
|
+
expected: "EventStatsRecord",
|
|
8863
|
+
value: input
|
|
8864
|
+
})) && _vo0(input, _path + "", true) || _report(true, {
|
|
8865
|
+
path: _path + "",
|
|
8866
|
+
expected: "EventStatsRecord",
|
|
8867
|
+
value: input
|
|
8868
|
+
}))(input, "$input", true);
|
|
8869
|
+
const success = 0 === errors.length;
|
|
8870
|
+
return success ? {
|
|
8871
|
+
success,
|
|
8872
|
+
data: input
|
|
8873
|
+
} : {
|
|
8874
|
+
success,
|
|
8875
|
+
errors,
|
|
8876
|
+
data: input
|
|
8877
|
+
};
|
|
8878
|
+
}
|
|
8879
|
+
return {
|
|
8880
|
+
success: true,
|
|
8881
|
+
data: input
|
|
8882
|
+
};
|
|
8883
|
+
}; })()(input);
|
|
8884
|
+
}
|
|
8885
|
+
case ":event.readDuration?": {
|
|
8886
|
+
return (() => { const _io0 = input => (undefined === input.numChars || "number" === typeof input.numChars) && (undefined === input.numWords || "number" === typeof input.numWords) && (undefined === input.readRate || "number" === typeof input.readRate) && (undefined === input.readDuration || "number" === typeof input.readDuration) && (undefined === input.readType || "characters" === input.readType || "words" === input.readType || "wordsPerMinute" === input.readType); const _vo0 = (input, _path, _exceptionable = true) => [undefined === input.numChars || "number" === typeof input.numChars || _report(_exceptionable, {
|
|
8887
|
+
path: _path + ".numChars",
|
|
8888
|
+
expected: "(number | undefined)",
|
|
8889
|
+
value: input.numChars
|
|
8890
|
+
}), undefined === input.numWords || "number" === typeof input.numWords || _report(_exceptionable, {
|
|
8891
|
+
path: _path + ".numWords",
|
|
8892
|
+
expected: "(number | undefined)",
|
|
8893
|
+
value: input.numWords
|
|
8894
|
+
}), undefined === input.readRate || "number" === typeof input.readRate || _report(_exceptionable, {
|
|
8895
|
+
path: _path + ".readRate",
|
|
8896
|
+
expected: "(number | undefined)",
|
|
8897
|
+
value: input.readRate
|
|
8898
|
+
}), undefined === input.readDuration || "number" === typeof input.readDuration || _report(_exceptionable, {
|
|
8899
|
+
path: _path + ".readDuration",
|
|
8900
|
+
expected: "(number | undefined)",
|
|
8901
|
+
value: input.readDuration
|
|
8902
|
+
}), undefined === input.readType || "characters" === input.readType || "words" === input.readType || "wordsPerMinute" === input.readType || _report(_exceptionable, {
|
|
8903
|
+
path: _path + ".readType",
|
|
8904
|
+
expected: "(\"characters\" | \"words\" | \"wordsPerMinute\" | undefined)",
|
|
8905
|
+
value: input.readType
|
|
8906
|
+
})].every(flag => flag); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); let errors; let _report; return input => {
|
|
8907
|
+
if (false === __is(input)) {
|
|
8908
|
+
errors = [];
|
|
8909
|
+
_report = __typia_transform__validateReport._validateReport(errors);
|
|
8910
|
+
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || _report(true, {
|
|
8911
|
+
path: _path + "",
|
|
8912
|
+
expected: "EventReadDurationRecord",
|
|
8913
|
+
value: input
|
|
8914
|
+
})) && _vo0(input, _path + "", true) || _report(true, {
|
|
8915
|
+
path: _path + "",
|
|
8916
|
+
expected: "EventReadDurationRecord",
|
|
8917
|
+
value: input
|
|
8918
|
+
}))(input, "$input", true);
|
|
8919
|
+
const success = 0 === errors.length;
|
|
8920
|
+
return success ? {
|
|
8921
|
+
success,
|
|
8922
|
+
data: input
|
|
8923
|
+
} : {
|
|
8924
|
+
success,
|
|
8925
|
+
errors,
|
|
8926
|
+
data: input
|
|
8927
|
+
};
|
|
8928
|
+
}
|
|
8929
|
+
return {
|
|
8930
|
+
success: true,
|
|
8931
|
+
data: input
|
|
8932
|
+
};
|
|
8933
|
+
}; })()(input);
|
|
8934
|
+
}
|
|
8935
|
+
case ":event.readRate?": {
|
|
8936
|
+
return (() => { const _io0 = input => (undefined === input.readRate || "number" === typeof input.readRate) && (undefined === input.readType || "characters" === input.readType || "words" === input.readType || "wordsPerMinute" === input.readType); const _vo0 = (input, _path, _exceptionable = true) => [undefined === input.readRate || "number" === typeof input.readRate || _report(_exceptionable, {
|
|
8937
|
+
path: _path + ".readRate",
|
|
8938
|
+
expected: "(number | undefined)",
|
|
8939
|
+
value: input.readRate
|
|
8940
|
+
}), undefined === input.readType || "characters" === input.readType || "words" === input.readType || "wordsPerMinute" === input.readType || _report(_exceptionable, {
|
|
8941
|
+
path: _path + ".readType",
|
|
8942
|
+
expected: "(\"characters\" | \"words\" | \"wordsPerMinute\" | undefined)",
|
|
8943
|
+
value: input.readType
|
|
8944
|
+
})].every(flag => flag); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); let errors; let _report; return input => {
|
|
8945
|
+
if (false === __is(input)) {
|
|
8946
|
+
errors = [];
|
|
8947
|
+
_report = __typia_transform__validateReport._validateReport(errors);
|
|
8948
|
+
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || _report(true, {
|
|
8949
|
+
path: _path + "",
|
|
8950
|
+
expected: "EventReadRateRecord",
|
|
8951
|
+
value: input
|
|
8952
|
+
})) && _vo0(input, _path + "", true) || _report(true, {
|
|
8953
|
+
path: _path + "",
|
|
8954
|
+
expected: "EventReadRateRecord",
|
|
8955
|
+
value: input
|
|
8956
|
+
}))(input, "$input", true);
|
|
8957
|
+
const success = 0 === errors.length;
|
|
8958
|
+
return success ? {
|
|
8959
|
+
success,
|
|
8960
|
+
data: input
|
|
8961
|
+
} : {
|
|
8962
|
+
success,
|
|
8963
|
+
errors,
|
|
8964
|
+
data: input
|
|
8965
|
+
};
|
|
8966
|
+
}
|
|
8967
|
+
return {
|
|
8968
|
+
success: true,
|
|
8969
|
+
data: input
|
|
8970
|
+
};
|
|
8971
|
+
}; })()(input);
|
|
8972
|
+
}
|
|
8789
8973
|
case ":file.replicate": {
|
|
8790
8974
|
return (() => { const _io0 = input => Array.isArray(input.replicas) && input.replicas.every(elem => "string" === typeof elem) && (null === input.error || "object" === typeof input.error && null !== input.error && _io1(input.error)); const _io1 = input => "string" === typeof input.message && (undefined === input.type || "string" === typeof input.type) && (undefined === input.code || "string" === typeof input.code) && (undefined === input.exitCode || "number" === typeof input.exitCode) && (undefined === input.signalCode || "number" === typeof input.signalCode) && (undefined === input.statusCode || "number" === typeof input.statusCode) && (undefined === input.headers || "object" === typeof input.headers && null !== input.headers && false === Array.isArray(input.headers) && _io2(input.headers)) && (undefined === input.data || "object" === typeof input.data && null !== input.data && false === Array.isArray(input.data) && _io3(input.data)) && (null === input.cause || undefined === input.cause || "object" === typeof input.cause && null !== input.cause && _io1(input.cause)) && (null === input.errors || undefined === input.errors || Array.isArray(input.errors) && input.errors.every(elem => "object" === typeof elem && null !== elem && _io1(elem))); const _io2 = input => Object.keys(input).every(key => {
|
|
8791
8975
|
const value = input[key];
|
|
@@ -9379,6 +9563,48 @@ function _validateDomainRecord(domain, input) {
|
|
|
9379
9563
|
};
|
|
9380
9564
|
}; })()(input);
|
|
9381
9565
|
}
|
|
9566
|
+
case ":gallery": {
|
|
9567
|
+
return (() => { const _io0 = input => undefined === input.sources || "object" === typeof input.sources && null !== input.sources && false === Array.isArray(input.sources) && _io1(input.sources); const _io1 = input => undefined === input.program || "string" === typeof input.program; const _vo0 = (input, _path, _exceptionable = true) => [undefined === input.sources || ("object" === typeof input.sources && null !== input.sources && false === Array.isArray(input.sources) || _report(_exceptionable, {
|
|
9568
|
+
path: _path + ".sources",
|
|
9569
|
+
expected: "(__type | undefined)",
|
|
9570
|
+
value: input.sources
|
|
9571
|
+
})) && _vo1(input.sources, _path + ".sources", true && _exceptionable) || _report(_exceptionable, {
|
|
9572
|
+
path: _path + ".sources",
|
|
9573
|
+
expected: "(__type | undefined)",
|
|
9574
|
+
value: input.sources
|
|
9575
|
+
})].every(flag => flag); const _vo1 = (input, _path, _exceptionable = true) => [undefined === input.program || "string" === typeof input.program || _report(_exceptionable, {
|
|
9576
|
+
path: _path + ".program",
|
|
9577
|
+
expected: "(string | undefined)",
|
|
9578
|
+
value: input.program
|
|
9579
|
+
})].every(flag => flag); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); let errors; let _report; return input => {
|
|
9580
|
+
if (false === __is(input)) {
|
|
9581
|
+
errors = [];
|
|
9582
|
+
_report = __typia_transform__validateReport._validateReport(errors);
|
|
9583
|
+
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || _report(true, {
|
|
9584
|
+
path: _path + "",
|
|
9585
|
+
expected: "GalleryDomainRecord",
|
|
9586
|
+
value: input
|
|
9587
|
+
})) && _vo0(input, _path + "", true) || _report(true, {
|
|
9588
|
+
path: _path + "",
|
|
9589
|
+
expected: "GalleryDomainRecord",
|
|
9590
|
+
value: input
|
|
9591
|
+
}))(input, "$input", true);
|
|
9592
|
+
const success = 0 === errors.length;
|
|
9593
|
+
return success ? {
|
|
9594
|
+
success,
|
|
9595
|
+
data: input
|
|
9596
|
+
} : {
|
|
9597
|
+
success,
|
|
9598
|
+
errors,
|
|
9599
|
+
data: input
|
|
9600
|
+
};
|
|
9601
|
+
}
|
|
9602
|
+
return {
|
|
9603
|
+
success: true,
|
|
9604
|
+
data: input
|
|
9605
|
+
};
|
|
9606
|
+
}; })()(input);
|
|
9607
|
+
}
|
|
9382
9608
|
case ":general.title": {
|
|
9383
9609
|
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, {
|
|
9384
9610
|
path: _path + ".value",
|
|
@@ -9901,7 +10127,12 @@ function _validateDomainRecord(domain, input) {
|
|
|
9901
10127
|
if (undefined === value)
|
|
9902
10128
|
return true;
|
|
9903
10129
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io2(value);
|
|
9904
|
-
}); 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 =>
|
|
10130
|
+
}); 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 => Object.keys(input).every(key => {
|
|
10131
|
+
const value = input[key];
|
|
10132
|
+
if (undefined === value)
|
|
10133
|
+
return true;
|
|
10134
|
+
return true;
|
|
10135
|
+
}); 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, {
|
|
9905
10136
|
path: _path + ".io",
|
|
9906
10137
|
expected: "(__type | undefined)",
|
|
9907
10138
|
value: input.io
|
|
@@ -10000,17 +10231,22 @@ function _validateDomainRecord(domain, input) {
|
|
|
10000
10231
|
value: input.publish
|
|
10001
10232
|
})].every(flag => flag); const _vo3 = (input, _path, _exceptionable = true) => [("object" === typeof input.__context && null !== input.__context && false === Array.isArray(input.__context) || _report(_exceptionable, {
|
|
10002
10233
|
path: _path + ".__context",
|
|
10003
|
-
expected: "
|
|
10234
|
+
expected: "Record<string, unknown>",
|
|
10004
10235
|
value: input.__context
|
|
10005
10236
|
})) && _vo4(input.__context, _path + ".__context", true && _exceptionable) || _report(_exceptionable, {
|
|
10006
10237
|
path: _path + ".__context",
|
|
10007
|
-
expected: "
|
|
10238
|
+
expected: "Record<string, unknown>",
|
|
10008
10239
|
value: input.__context
|
|
10009
10240
|
}), "string" === typeof input.__returnValue || _report(_exceptionable, {
|
|
10010
10241
|
path: _path + ".__returnValue",
|
|
10011
10242
|
expected: "string",
|
|
10012
10243
|
value: input.__returnValue
|
|
10013
|
-
})].every(flag => flag); const _vo4 = (input, _path, _exceptionable = true) =>
|
|
10244
|
+
})].every(flag => flag); const _vo4 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
10245
|
+
const value = input[key];
|
|
10246
|
+
if (undefined === value)
|
|
10247
|
+
return true;
|
|
10248
|
+
return true;
|
|
10249
|
+
}).every(flag => flag)].every(flag => flag); const _vo5 = (input, _path, _exceptionable = true) => [null === input.gallery || undefined === input.gallery || "string" === typeof input.gallery || _report(_exceptionable, {
|
|
10014
10250
|
path: _path + ".gallery",
|
|
10015
10251
|
expected: "(null | string | undefined)",
|
|
10016
10252
|
value: input.gallery
|
|
@@ -10115,7 +10351,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
10115
10351
|
if (undefined === value)
|
|
10116
10352
|
return true;
|
|
10117
10353
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io4(value);
|
|
10118
|
-
}); const _io4 = input => (null === input.style || undefined === input.style || "string" === typeof input.style) && (undefined === input.styleOverrides || "object" === typeof input.styleOverrides && null !== input.styleOverrides && false === Array.isArray(input.styleOverrides) && _io5(input.styleOverrides)); const _io5 = input => (undefined === input.name || "string" === typeof input.name) && (undefined === input.fontname || "string" === typeof input.fontname) && (undefined === input.fontsize || "string" === typeof input.fontsize) && (undefined === input.primaryColour || "string" === typeof input.primaryColour) && (undefined === input.secondaryColour || "string" === typeof input.secondaryColour) && (undefined === input.outlineColour || "string" === typeof input.outlineColour) && (undefined === input.backColour || "string" === typeof input.backColour) && (undefined === input.bold || "string" === typeof input.bold) && (undefined === input.italic || "string" === typeof input.italic) && (undefined === input.underline || "string" === typeof input.underline) && (undefined === input.strikeOut || "string" === typeof input.strikeOut) && (undefined === input.scaleX || "string" === typeof input.scaleX) && (undefined === input.scaleY || "string" === typeof input.scaleY) && (undefined === input.spacing || "string" === typeof input.spacing) && (undefined === input.lineSpacing || "string" === typeof input.lineSpacing) && (undefined === input.angle || "string" === typeof input.angle) && (undefined === input.borderStyle || "string" === typeof input.borderStyle) && (undefined === input.outline || "string" === typeof input.outline) && (undefined === input.shadow || "string" === typeof input.shadow) && (undefined === input.alignment || "string" === typeof input.alignment) && (undefined === input.marginL || "string" === typeof input.marginL) && (undefined === input.marginR || "string" === typeof input.marginR) && (undefined === input.marginV || "string" === typeof input.marginV) && (undefined === input.encoding || "string" === typeof input.encoding); const _io6 = input => (undefined === input.filters || "object" === typeof input.filters && null !== input.filters && false === Array.isArray(input.filters) && _io7(input.filters)) && (undefined === input.crop || "object" === typeof input.crop && null !== input.crop && false === Array.isArray(input.crop) && _io11(input.crop)) && (undefined === input.orientation || "number" === typeof input.orientation) && (null === input.interlaced || undefined === input.interlaced || false === input.interlaced || "tff" === input.interlaced || "bff" === input.interlaced) && (null === input.alpha || undefined === input.alpha || "straight" === input.alpha || "boolean" === typeof input.alpha); const _io7 = input => (undefined === input.eq || "object" === typeof input.eq && null !== input.eq && false === Array.isArray(input.eq) && _io8(input.eq)) && (undefined === input.hue || "object" === typeof input.hue && null !== input.hue && false === Array.isArray(input.hue) && _io9(input.hue)) && (undefined === input.colorbalance || "object" === typeof input.colorbalance && null !== input.colorbalance && false === Array.isArray(input.colorbalance) && _io10(input.colorbalance)); const _io8 = input => (undefined === input.brightness || "number" === typeof input.brightness) && (undefined === input.contrast || "number" === typeof input.contrast) && (undefined === input.gamma || "number" === typeof input.gamma) && (undefined === input.saturation || "number" === typeof input.saturation); const _io9 = input => (undefined === input.h || "number" === typeof input.h) && (undefined === input.s || "number" === typeof input.s) && (undefined === input.b || "number" === typeof input.b); const _io10 = input => (undefined === input.rs || "number" === typeof input.rs) && (undefined === input.gs || "number" === typeof input.gs) && (undefined === input.bs || "number" === typeof input.bs) && (undefined === input.rm || "number" === typeof input.rm) && (undefined === input.gm || "number" === typeof input.gm) && (undefined === input.bm || "number" === typeof input.bm) && (undefined === input.rh || "number" === typeof input.rh) && (undefined === input.gh || "number" === typeof input.gh) && (undefined === input.bh || "number" === typeof input.bh); const _io11 = input => (undefined === input.x || "number" === typeof input.x) && (undefined === input.y || "number" === typeof input.y) && (undefined === input.width || "number" === typeof input.width) && (undefined === input.height || "number" === typeof input.height); const _io12 = input => undefined === input.pan || Array.isArray(input.pan) && input.pan.every(elem => Array.isArray(elem) && elem.every(elem => "number" === typeof elem)); const _io13 = input => (undefined === input.language || "string" === typeof input.language) && (undefined === input.pan || Array.isArray(input.pan) && input.pan.every(elem => "number" === typeof elem)); const _vo0 = (input, _path, _exceptionable = true) => [undefined === input.id || "string" === typeof input.id || _report(_exceptionable, {
|
|
10354
|
+
}); const _io4 = input => (null === input.style || undefined === input.style || "string" === typeof input.style) && (undefined === input.styleOverrides || "object" === typeof input.styleOverrides && null !== input.styleOverrides && false === Array.isArray(input.styleOverrides) && _io5(input.styleOverrides)); const _io5 = input => (undefined === input.name || "string" === typeof input.name) && (undefined === input.fontname || "string" === typeof input.fontname) && (undefined === input.fontsize || "string" === typeof input.fontsize) && (undefined === input.primaryColour || "string" === typeof input.primaryColour) && (undefined === input.secondaryColour || "string" === typeof input.secondaryColour) && (undefined === input.outlineColour || "string" === typeof input.outlineColour) && (undefined === input.backColour || "string" === typeof input.backColour) && (undefined === input.bold || "string" === typeof input.bold) && (undefined === input.italic || "string" === typeof input.italic) && (undefined === input.underline || "string" === typeof input.underline) && (undefined === input.strikeOut || "string" === typeof input.strikeOut) && (undefined === input.scaleX || "string" === typeof input.scaleX) && (undefined === input.scaleY || "string" === typeof input.scaleY) && (undefined === input.spacing || "string" === typeof input.spacing) && (undefined === input.lineSpacing || "string" === typeof input.lineSpacing) && (undefined === input.angle || "string" === typeof input.angle) && (undefined === input.borderStyle || "string" === typeof input.borderStyle) && (undefined === input.outline || "string" === typeof input.outline) && (undefined === input.shadow || "string" === typeof input.shadow) && (undefined === input.alignment || "string" === typeof input.alignment) && (undefined === input.marginL || "string" === typeof input.marginL) && (undefined === input.marginR || "string" === typeof input.marginR) && (undefined === input.marginV || "string" === typeof input.marginV) && (undefined === input.encoding || "string" === typeof input.encoding); const _io6 = input => (undefined === input.filters || "object" === typeof input.filters && null !== input.filters && false === Array.isArray(input.filters) && _io7(input.filters)) && (undefined === input.crop || "object" === typeof input.crop && null !== input.crop && false === Array.isArray(input.crop) && _io11(input.crop)) && (undefined === input.orientation || "number" === typeof input.orientation) && (null === input.interlaced || undefined === input.interlaced || false === input.interlaced || "tff" === input.interlaced || "bff" === input.interlaced) && (null === input.alpha || undefined === input.alpha || "straight" === input.alpha || "boolean" === typeof input.alpha); const _io7 = input => (undefined === input.eq || "object" === typeof input.eq && null !== input.eq && false === Array.isArray(input.eq) && _io8(input.eq)) && (undefined === input.hue || "object" === typeof input.hue && null !== input.hue && false === Array.isArray(input.hue) && _io9(input.hue)) && (undefined === input.colorbalance || "object" === typeof input.colorbalance && null !== input.colorbalance && false === Array.isArray(input.colorbalance) && _io10(input.colorbalance)); const _io8 = input => (undefined === input.brightness || "number" === typeof input.brightness) && (undefined === input.contrast || "number" === typeof input.contrast) && (undefined === input.gamma || "number" === typeof input.gamma) && (undefined === input.saturation || "number" === typeof input.saturation); const _io9 = input => (undefined === input.h || "number" === typeof input.h) && (undefined === input.s || "number" === typeof input.s) && (undefined === input.b || "number" === typeof input.b); const _io10 = input => (undefined === input.rs || "number" === typeof input.rs) && (undefined === input.gs || "number" === typeof input.gs) && (undefined === input.bs || "number" === typeof input.bs) && (undefined === input.rm || "number" === typeof input.rm) && (undefined === input.gm || "number" === typeof input.gm) && (undefined === input.bm || "number" === typeof input.bm) && (undefined === input.rh || "number" === typeof input.rh) && (undefined === input.gh || "number" === typeof input.gh) && (undefined === input.bh || "number" === typeof input.bh); const _io11 = input => (undefined === input.x || "number" === typeof input.x) && (undefined === input.y || "number" === typeof input.y) && (undefined === input.width || "number" === typeof input.width) && (undefined === input.height || "number" === typeof input.height); const _io12 = input => undefined === input.pan || Array.isArray(input.pan) && input.pan.every(elem => Array.isArray(elem) && elem.every(elem => "number" === typeof elem)); const _io13 = input => (undefined === input.language || "string" === typeof input.language) && (undefined === input.pan || Array.isArray(input.pan) && input.pan.every(elem => "number" === typeof elem)) && (undefined === input.diarization || "boolean" === typeof input.diarization); const _vo0 = (input, _path, _exceptionable = true) => [undefined === input.id || "string" === typeof input.id || _report(_exceptionable, {
|
|
10119
10355
|
path: _path + ".id",
|
|
10120
10356
|
expected: "(string | undefined)",
|
|
10121
10357
|
value: input.id
|
|
@@ -10544,6 +10780,10 @@ function _validateDomainRecord(domain, input) {
|
|
|
10544
10780
|
path: _path + ".pan",
|
|
10545
10781
|
expected: "(Array<number> | undefined)",
|
|
10546
10782
|
value: input.pan
|
|
10783
|
+
}), undefined === input.diarization || "boolean" === typeof input.diarization || _report(_exceptionable, {
|
|
10784
|
+
path: _path + ".diarization",
|
|
10785
|
+
expected: "(boolean | undefined)",
|
|
10786
|
+
value: input.diarization
|
|
10547
10787
|
})].every(flag => flag); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); let errors; let _report; return input => {
|
|
10548
10788
|
if (false === __is(input)) {
|
|
10549
10789
|
errors = [];
|
|
@@ -11370,7 +11610,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
11370
11610
|
if (undefined === value)
|
|
11371
11611
|
return true;
|
|
11372
11612
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io5(value);
|
|
11373
|
-
}); const _io5 = input => (null === input.style || undefined === input.style || "string" === typeof input.style) && (undefined === input.styleOverrides || "object" === typeof input.styleOverrides && null !== input.styleOverrides && false === Array.isArray(input.styleOverrides) && _io6(input.styleOverrides)); const _io6 = input => (undefined === input.name || "string" === typeof input.name) && (undefined === input.fontname || "string" === typeof input.fontname) && (undefined === input.fontsize || "string" === typeof input.fontsize) && (undefined === input.primaryColour || "string" === typeof input.primaryColour) && (undefined === input.secondaryColour || "string" === typeof input.secondaryColour) && (undefined === input.outlineColour || "string" === typeof input.outlineColour) && (undefined === input.backColour || "string" === typeof input.backColour) && (undefined === input.bold || "string" === typeof input.bold) && (undefined === input.italic || "string" === typeof input.italic) && (undefined === input.underline || "string" === typeof input.underline) && (undefined === input.strikeOut || "string" === typeof input.strikeOut) && (undefined === input.scaleX || "string" === typeof input.scaleX) && (undefined === input.scaleY || "string" === typeof input.scaleY) && (undefined === input.spacing || "string" === typeof input.spacing) && (undefined === input.lineSpacing || "string" === typeof input.lineSpacing) && (undefined === input.angle || "string" === typeof input.angle) && (undefined === input.borderStyle || "string" === typeof input.borderStyle) && (undefined === input.outline || "string" === typeof input.outline) && (undefined === input.shadow || "string" === typeof input.shadow) && (undefined === input.alignment || "string" === typeof input.alignment) && (undefined === input.marginL || "string" === typeof input.marginL) && (undefined === input.marginR || "string" === typeof input.marginR) && (undefined === input.marginV || "string" === typeof input.marginV) && (undefined === input.encoding || "string" === typeof input.encoding); const _io7 = input => (undefined === input.filters || "object" === typeof input.filters && null !== input.filters && false === Array.isArray(input.filters) && _io8(input.filters)) && (undefined === input.crop || "object" === typeof input.crop && null !== input.crop && false === Array.isArray(input.crop) && _io12(input.crop)) && (undefined === input.orientation || "number" === typeof input.orientation) && (null === input.interlaced || undefined === input.interlaced || false === input.interlaced || "tff" === input.interlaced || "bff" === input.interlaced) && (null === input.alpha || undefined === input.alpha || "straight" === input.alpha || "boolean" === typeof input.alpha); const _io8 = input => (undefined === input.eq || "object" === typeof input.eq && null !== input.eq && false === Array.isArray(input.eq) && _io9(input.eq)) && (undefined === input.hue || "object" === typeof input.hue && null !== input.hue && false === Array.isArray(input.hue) && _io10(input.hue)) && (undefined === input.colorbalance || "object" === typeof input.colorbalance && null !== input.colorbalance && false === Array.isArray(input.colorbalance) && _io11(input.colorbalance)); const _io9 = input => (undefined === input.brightness || "number" === typeof input.brightness) && (undefined === input.contrast || "number" === typeof input.contrast) && (undefined === input.gamma || "number" === typeof input.gamma) && (undefined === input.saturation || "number" === typeof input.saturation); const _io10 = input => (undefined === input.h || "number" === typeof input.h) && (undefined === input.s || "number" === typeof input.s) && (undefined === input.b || "number" === typeof input.b); const _io11 = input => (undefined === input.rs || "number" === typeof input.rs) && (undefined === input.gs || "number" === typeof input.gs) && (undefined === input.bs || "number" === typeof input.bs) && (undefined === input.rm || "number" === typeof input.rm) && (undefined === input.gm || "number" === typeof input.gm) && (undefined === input.bm || "number" === typeof input.bm) && (undefined === input.rh || "number" === typeof input.rh) && (undefined === input.gh || "number" === typeof input.gh) && (undefined === input.bh || "number" === typeof input.bh); const _io12 = input => (undefined === input.x || "number" === typeof input.x) && (undefined === input.y || "number" === typeof input.y) && (undefined === input.width || "number" === typeof input.width) && (undefined === input.height || "number" === typeof input.height); const _io13 = input => undefined === input.pan || Array.isArray(input.pan) && input.pan.every(elem => Array.isArray(elem) && elem.every(elem => "number" === typeof elem)); const _io14 = input => (undefined === input.language || "string" === typeof input.language) && (undefined === input.pan || Array.isArray(input.pan) && input.pan.every(elem => "number" === typeof elem)); const _vo0 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
11613
|
+
}); const _io5 = input => (null === input.style || undefined === input.style || "string" === typeof input.style) && (undefined === input.styleOverrides || "object" === typeof input.styleOverrides && null !== input.styleOverrides && false === Array.isArray(input.styleOverrides) && _io6(input.styleOverrides)); const _io6 = input => (undefined === input.name || "string" === typeof input.name) && (undefined === input.fontname || "string" === typeof input.fontname) && (undefined === input.fontsize || "string" === typeof input.fontsize) && (undefined === input.primaryColour || "string" === typeof input.primaryColour) && (undefined === input.secondaryColour || "string" === typeof input.secondaryColour) && (undefined === input.outlineColour || "string" === typeof input.outlineColour) && (undefined === input.backColour || "string" === typeof input.backColour) && (undefined === input.bold || "string" === typeof input.bold) && (undefined === input.italic || "string" === typeof input.italic) && (undefined === input.underline || "string" === typeof input.underline) && (undefined === input.strikeOut || "string" === typeof input.strikeOut) && (undefined === input.scaleX || "string" === typeof input.scaleX) && (undefined === input.scaleY || "string" === typeof input.scaleY) && (undefined === input.spacing || "string" === typeof input.spacing) && (undefined === input.lineSpacing || "string" === typeof input.lineSpacing) && (undefined === input.angle || "string" === typeof input.angle) && (undefined === input.borderStyle || "string" === typeof input.borderStyle) && (undefined === input.outline || "string" === typeof input.outline) && (undefined === input.shadow || "string" === typeof input.shadow) && (undefined === input.alignment || "string" === typeof input.alignment) && (undefined === input.marginL || "string" === typeof input.marginL) && (undefined === input.marginR || "string" === typeof input.marginR) && (undefined === input.marginV || "string" === typeof input.marginV) && (undefined === input.encoding || "string" === typeof input.encoding); const _io7 = input => (undefined === input.filters || "object" === typeof input.filters && null !== input.filters && false === Array.isArray(input.filters) && _io8(input.filters)) && (undefined === input.crop || "object" === typeof input.crop && null !== input.crop && false === Array.isArray(input.crop) && _io12(input.crop)) && (undefined === input.orientation || "number" === typeof input.orientation) && (null === input.interlaced || undefined === input.interlaced || false === input.interlaced || "tff" === input.interlaced || "bff" === input.interlaced) && (null === input.alpha || undefined === input.alpha || "straight" === input.alpha || "boolean" === typeof input.alpha); const _io8 = input => (undefined === input.eq || "object" === typeof input.eq && null !== input.eq && false === Array.isArray(input.eq) && _io9(input.eq)) && (undefined === input.hue || "object" === typeof input.hue && null !== input.hue && false === Array.isArray(input.hue) && _io10(input.hue)) && (undefined === input.colorbalance || "object" === typeof input.colorbalance && null !== input.colorbalance && false === Array.isArray(input.colorbalance) && _io11(input.colorbalance)); const _io9 = input => (undefined === input.brightness || "number" === typeof input.brightness) && (undefined === input.contrast || "number" === typeof input.contrast) && (undefined === input.gamma || "number" === typeof input.gamma) && (undefined === input.saturation || "number" === typeof input.saturation); const _io10 = input => (undefined === input.h || "number" === typeof input.h) && (undefined === input.s || "number" === typeof input.s) && (undefined === input.b || "number" === typeof input.b); const _io11 = input => (undefined === input.rs || "number" === typeof input.rs) && (undefined === input.gs || "number" === typeof input.gs) && (undefined === input.bs || "number" === typeof input.bs) && (undefined === input.rm || "number" === typeof input.rm) && (undefined === input.gm || "number" === typeof input.gm) && (undefined === input.bm || "number" === typeof input.bm) && (undefined === input.rh || "number" === typeof input.rh) && (undefined === input.gh || "number" === typeof input.gh) && (undefined === input.bh || "number" === typeof input.bh); const _io12 = input => (undefined === input.x || "number" === typeof input.x) && (undefined === input.y || "number" === typeof input.y) && (undefined === input.width || "number" === typeof input.width) && (undefined === input.height || "number" === typeof input.height); const _io13 = input => undefined === input.pan || Array.isArray(input.pan) && input.pan.every(elem => Array.isArray(elem) && elem.every(elem => "number" === typeof elem)); const _io14 = input => (undefined === input.language || "string" === typeof input.language) && (undefined === input.pan || Array.isArray(input.pan) && input.pan.every(elem => "number" === typeof elem)) && (undefined === input.diarization || "boolean" === typeof input.diarization); const _vo0 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
11374
11614
|
const value = input[key];
|
|
11375
11615
|
if (undefined === value)
|
|
11376
11616
|
return true;
|
|
@@ -11812,6 +12052,10 @@ function _validateDomainRecord(domain, input) {
|
|
|
11812
12052
|
path: _path + ".pan",
|
|
11813
12053
|
expected: "(Array<number> | undefined)",
|
|
11814
12054
|
value: input.pan
|
|
12055
|
+
}), undefined === input.diarization || "boolean" === typeof input.diarization || _report(_exceptionable, {
|
|
12056
|
+
path: _path + ".diarization",
|
|
12057
|
+
expected: "(boolean | undefined)",
|
|
12058
|
+
value: input.diarization
|
|
11815
12059
|
})].every(flag => flag); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); let errors; let _report; return input => {
|
|
11816
12060
|
if (false === __is(input)) {
|
|
11817
12061
|
errors = [];
|
|
@@ -13671,7 +13915,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
13671
13915
|
if (undefined === value)
|
|
13672
13916
|
return true;
|
|
13673
13917
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io6(value);
|
|
13674
|
-
}); const _io6 = input => (null === input.style || undefined === input.style || "string" === typeof input.style) && (undefined === input.styleOverrides || "object" === typeof input.styleOverrides && null !== input.styleOverrides && false === Array.isArray(input.styleOverrides) && _io7(input.styleOverrides)); const _io7 = input => (undefined === input.name || "string" === typeof input.name) && (undefined === input.fontname || "string" === typeof input.fontname) && (undefined === input.fontsize || "string" === typeof input.fontsize) && (undefined === input.primaryColour || "string" === typeof input.primaryColour) && (undefined === input.secondaryColour || "string" === typeof input.secondaryColour) && (undefined === input.outlineColour || "string" === typeof input.outlineColour) && (undefined === input.backColour || "string" === typeof input.backColour) && (undefined === input.bold || "string" === typeof input.bold) && (undefined === input.italic || "string" === typeof input.italic) && (undefined === input.underline || "string" === typeof input.underline) && (undefined === input.strikeOut || "string" === typeof input.strikeOut) && (undefined === input.scaleX || "string" === typeof input.scaleX) && (undefined === input.scaleY || "string" === typeof input.scaleY) && (undefined === input.spacing || "string" === typeof input.spacing) && (undefined === input.lineSpacing || "string" === typeof input.lineSpacing) && (undefined === input.angle || "string" === typeof input.angle) && (undefined === input.borderStyle || "string" === typeof input.borderStyle) && (undefined === input.outline || "string" === typeof input.outline) && (undefined === input.shadow || "string" === typeof input.shadow) && (undefined === input.alignment || "string" === typeof input.alignment) && (undefined === input.marginL || "string" === typeof input.marginL) && (undefined === input.marginR || "string" === typeof input.marginR) && (undefined === input.marginV || "string" === typeof input.marginV) && (undefined === input.encoding || "string" === typeof input.encoding); const _io8 = input => (undefined === input.filters || "object" === typeof input.filters && null !== input.filters && false === Array.isArray(input.filters) && _io9(input.filters)) && (undefined === input.crop || "object" === typeof input.crop && null !== input.crop && false === Array.isArray(input.crop) && _io13(input.crop)) && (undefined === input.orientation || "number" === typeof input.orientation) && (null === input.interlaced || undefined === input.interlaced || false === input.interlaced || "tff" === input.interlaced || "bff" === input.interlaced) && (null === input.alpha || undefined === input.alpha || "straight" === input.alpha || "boolean" === typeof input.alpha); const _io9 = input => (undefined === input.eq || "object" === typeof input.eq && null !== input.eq && false === Array.isArray(input.eq) && _io10(input.eq)) && (undefined === input.hue || "object" === typeof input.hue && null !== input.hue && false === Array.isArray(input.hue) && _io11(input.hue)) && (undefined === input.colorbalance || "object" === typeof input.colorbalance && null !== input.colorbalance && false === Array.isArray(input.colorbalance) && _io12(input.colorbalance)); const _io10 = input => (undefined === input.brightness || "number" === typeof input.brightness) && (undefined === input.contrast || "number" === typeof input.contrast) && (undefined === input.gamma || "number" === typeof input.gamma) && (undefined === input.saturation || "number" === typeof input.saturation); const _io11 = input => (undefined === input.h || "number" === typeof input.h) && (undefined === input.s || "number" === typeof input.s) && (undefined === input.b || "number" === typeof input.b); const _io12 = input => (undefined === input.rs || "number" === typeof input.rs) && (undefined === input.gs || "number" === typeof input.gs) && (undefined === input.bs || "number" === typeof input.bs) && (undefined === input.rm || "number" === typeof input.rm) && (undefined === input.gm || "number" === typeof input.gm) && (undefined === input.bm || "number" === typeof input.bm) && (undefined === input.rh || "number" === typeof input.rh) && (undefined === input.gh || "number" === typeof input.gh) && (undefined === input.bh || "number" === typeof input.bh); const _io13 = input => (undefined === input.x || "number" === typeof input.x) && (undefined === input.y || "number" === typeof input.y) && (undefined === input.width || "number" === typeof input.width) && (undefined === input.height || "number" === typeof input.height); const _io14 = input => undefined === input.pan || Array.isArray(input.pan) && input.pan.every(elem => Array.isArray(elem) && elem.every(elem => "number" === typeof elem)); const _io15 = input => (undefined === input.language || "string" === typeof input.language) && (undefined === input.pan || Array.isArray(input.pan) && input.pan.every(elem => "number" === typeof elem)); const _io16 = input => "string" === typeof input.format && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && _io17(input.transcribe)) && (undefined === input.translate || "object" === typeof input.translate && null !== input.translate && _io18(input.translate)) && (undefined === input.audio || "object" === typeof input.audio && null !== input.audio && false === Array.isArray(input.audio) && _io19(input.audio)) && true && (undefined === input.pick || Array.isArray(input.pick) && input.pick.every(elem => "string" === typeof elem)) && (null !== input.subtitle && (undefined === input.subtitle || "string" === typeof input.subtitle || "object" === typeof input.subtitle && null !== input.subtitle && false === Array.isArray(input.subtitle) && _io20(input.subtitle))); const _io17 = input => "string" === typeof input.engine; const _io18 = input => "string" === typeof input.language; const _io19 = input => (undefined === input.codec || "string" === typeof input.codec) && (undefined === input.pan || "string" === typeof input.pan) && (undefined === input.samplerate || "number" === typeof input.samplerate) && (undefined === input.split || "boolean" === typeof input.split); const _io20 = input => (undefined === input.lang || "string" === typeof input.lang) && (undefined === input.style || "string" === typeof input.style) && (undefined === input.ccconverter || "object" === typeof input.ccconverter && null !== input.ccconverter && false === Array.isArray(input.ccconverter) && _io21(input.ccconverter)) && (undefined === input.ass || "object" === typeof input.ass && null !== input.ass && false === Array.isArray(input.ass) && _io22(input.ass)); const _io21 = input => undefined === input.preset || "string" === typeof input.preset; const _io22 = input => (undefined === input.futureWordWrapping || "boolean" === typeof input.futureWordWrapping) && (undefined === input.scaledBorderAndShadow || "boolean" === typeof input.scaledBorderAndShadow) && (undefined === input.enableUnsafeLineSpacingHack || "boolean" === typeof input.enableUnsafeLineSpacingHack); const _io23 = input => "string" === typeof input.method; const _io24 = input => "number" === typeof input.level && "string" === typeof input.code && "string" === typeof input.msg; const _io25 = input => (undefined === input.type || "facebook" === input.type) && (undefined === input.pageId || "string" === typeof input.pageId) && (null === input.asset || undefined === input.asset || "string" === typeof input.asset) && (undefined === input.connection || "string" === typeof input.connection) && (undefined === input.render || "object" === typeof input.render && null !== input.render && _io1(input.render)) && true && true && true && (null === input.error || undefined === input.error || "object" === typeof input.error && null !== input.error && _io23(input.error)) && (undefined === input.messages || Array.isArray(input.messages) && input.messages.every(elem => "object" === typeof elem && null !== elem && _io24(elem))); const _io26 = input => (undefined === input.type || "file" === input.type) && (undefined === input.directory || "string" === typeof input.directory) && (undefined === input.filename || "string" === typeof input.filename) && (undefined === input.renders || "object" === typeof input.renders && null !== input.renders && false === Array.isArray(input.renders) && _io27(input.renders)) && (undefined === input.draft || "object" === typeof input.draft && null !== input.draft && false === Array.isArray(input.draft) && _io31(input.draft)) && (undefined === input.remote || "object" === typeof input.remote && null !== input.remote && false === Array.isArray(input.remote) && _io32(input.remote)) && (undefined === input.published || "object" === typeof input.published && null !== input.published && _io35(input.published)) && (null === input.asset || undefined === input.asset || "string" === typeof input.asset) && (undefined === input.connection || "string" === typeof input.connection) && (undefined === input.render || "object" === typeof input.render && null !== input.render && _io1(input.render)) && (null === input.error || undefined === input.error || "object" === typeof input.error && null !== input.error && _io23(input.error)) && (undefined === input.messages || Array.isArray(input.messages) && input.messages.every(elem => "object" === typeof elem && null !== elem && _io24(elem))); const _io27 = input => Object.keys(input).every(key => {
|
|
13918
|
+
}); const _io6 = input => (null === input.style || undefined === input.style || "string" === typeof input.style) && (undefined === input.styleOverrides || "object" === typeof input.styleOverrides && null !== input.styleOverrides && false === Array.isArray(input.styleOverrides) && _io7(input.styleOverrides)); const _io7 = input => (undefined === input.name || "string" === typeof input.name) && (undefined === input.fontname || "string" === typeof input.fontname) && (undefined === input.fontsize || "string" === typeof input.fontsize) && (undefined === input.primaryColour || "string" === typeof input.primaryColour) && (undefined === input.secondaryColour || "string" === typeof input.secondaryColour) && (undefined === input.outlineColour || "string" === typeof input.outlineColour) && (undefined === input.backColour || "string" === typeof input.backColour) && (undefined === input.bold || "string" === typeof input.bold) && (undefined === input.italic || "string" === typeof input.italic) && (undefined === input.underline || "string" === typeof input.underline) && (undefined === input.strikeOut || "string" === typeof input.strikeOut) && (undefined === input.scaleX || "string" === typeof input.scaleX) && (undefined === input.scaleY || "string" === typeof input.scaleY) && (undefined === input.spacing || "string" === typeof input.spacing) && (undefined === input.lineSpacing || "string" === typeof input.lineSpacing) && (undefined === input.angle || "string" === typeof input.angle) && (undefined === input.borderStyle || "string" === typeof input.borderStyle) && (undefined === input.outline || "string" === typeof input.outline) && (undefined === input.shadow || "string" === typeof input.shadow) && (undefined === input.alignment || "string" === typeof input.alignment) && (undefined === input.marginL || "string" === typeof input.marginL) && (undefined === input.marginR || "string" === typeof input.marginR) && (undefined === input.marginV || "string" === typeof input.marginV) && (undefined === input.encoding || "string" === typeof input.encoding); const _io8 = input => (undefined === input.filters || "object" === typeof input.filters && null !== input.filters && false === Array.isArray(input.filters) && _io9(input.filters)) && (undefined === input.crop || "object" === typeof input.crop && null !== input.crop && false === Array.isArray(input.crop) && _io13(input.crop)) && (undefined === input.orientation || "number" === typeof input.orientation) && (null === input.interlaced || undefined === input.interlaced || false === input.interlaced || "tff" === input.interlaced || "bff" === input.interlaced) && (null === input.alpha || undefined === input.alpha || "straight" === input.alpha || "boolean" === typeof input.alpha); const _io9 = input => (undefined === input.eq || "object" === typeof input.eq && null !== input.eq && false === Array.isArray(input.eq) && _io10(input.eq)) && (undefined === input.hue || "object" === typeof input.hue && null !== input.hue && false === Array.isArray(input.hue) && _io11(input.hue)) && (undefined === input.colorbalance || "object" === typeof input.colorbalance && null !== input.colorbalance && false === Array.isArray(input.colorbalance) && _io12(input.colorbalance)); const _io10 = input => (undefined === input.brightness || "number" === typeof input.brightness) && (undefined === input.contrast || "number" === typeof input.contrast) && (undefined === input.gamma || "number" === typeof input.gamma) && (undefined === input.saturation || "number" === typeof input.saturation); const _io11 = input => (undefined === input.h || "number" === typeof input.h) && (undefined === input.s || "number" === typeof input.s) && (undefined === input.b || "number" === typeof input.b); const _io12 = input => (undefined === input.rs || "number" === typeof input.rs) && (undefined === input.gs || "number" === typeof input.gs) && (undefined === input.bs || "number" === typeof input.bs) && (undefined === input.rm || "number" === typeof input.rm) && (undefined === input.gm || "number" === typeof input.gm) && (undefined === input.bm || "number" === typeof input.bm) && (undefined === input.rh || "number" === typeof input.rh) && (undefined === input.gh || "number" === typeof input.gh) && (undefined === input.bh || "number" === typeof input.bh); const _io13 = input => (undefined === input.x || "number" === typeof input.x) && (undefined === input.y || "number" === typeof input.y) && (undefined === input.width || "number" === typeof input.width) && (undefined === input.height || "number" === typeof input.height); const _io14 = input => undefined === input.pan || Array.isArray(input.pan) && input.pan.every(elem => Array.isArray(elem) && elem.every(elem => "number" === typeof elem)); const _io15 = input => (undefined === input.language || "string" === typeof input.language) && (undefined === input.pan || Array.isArray(input.pan) && input.pan.every(elem => "number" === typeof elem)) && (undefined === input.diarization || "boolean" === typeof input.diarization); const _io16 = input => "string" === typeof input.format && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && _io17(input.transcribe)) && (undefined === input.translate || "object" === typeof input.translate && null !== input.translate && _io18(input.translate)) && (undefined === input.audio || "object" === typeof input.audio && null !== input.audio && false === Array.isArray(input.audio) && _io19(input.audio)) && true && (undefined === input.pick || Array.isArray(input.pick) && input.pick.every(elem => "string" === typeof elem)) && (null !== input.subtitle && (undefined === input.subtitle || "string" === typeof input.subtitle || "object" === typeof input.subtitle && null !== input.subtitle && false === Array.isArray(input.subtitle) && _io20(input.subtitle))); const _io17 = input => "string" === typeof input.engine; const _io18 = input => "string" === typeof input.language; const _io19 = input => (undefined === input.codec || "string" === typeof input.codec) && (undefined === input.pan || "string" === typeof input.pan) && (undefined === input.samplerate || "number" === typeof input.samplerate) && (undefined === input.split || "boolean" === typeof input.split); const _io20 = input => (undefined === input.lang || "string" === typeof input.lang) && (undefined === input.style || "string" === typeof input.style) && (undefined === input.ccconverter || "object" === typeof input.ccconverter && null !== input.ccconverter && false === Array.isArray(input.ccconverter) && _io21(input.ccconverter)) && (undefined === input.ass || "object" === typeof input.ass && null !== input.ass && false === Array.isArray(input.ass) && _io22(input.ass)); const _io21 = input => undefined === input.preset || "string" === typeof input.preset; const _io22 = input => (undefined === input.futureWordWrapping || "boolean" === typeof input.futureWordWrapping) && (undefined === input.scaledBorderAndShadow || "boolean" === typeof input.scaledBorderAndShadow) && (undefined === input.enableUnsafeLineSpacingHack || "boolean" === typeof input.enableUnsafeLineSpacingHack); const _io23 = input => "string" === typeof input.method; const _io24 = input => "number" === typeof input.level && "string" === typeof input.code && "string" === typeof input.msg; const _io25 = input => (undefined === input.type || "facebook" === input.type) && (undefined === input.pageId || "string" === typeof input.pageId) && (null === input.asset || undefined === input.asset || "string" === typeof input.asset) && (undefined === input.connection || "string" === typeof input.connection) && (undefined === input.render || "object" === typeof input.render && null !== input.render && _io1(input.render)) && true && true && true && (null === input.error || undefined === input.error || "object" === typeof input.error && null !== input.error && _io23(input.error)) && (undefined === input.messages || Array.isArray(input.messages) && input.messages.every(elem => "object" === typeof elem && null !== elem && _io24(elem))); const _io26 = input => (undefined === input.type || "file" === input.type) && (undefined === input.directory || "string" === typeof input.directory) && (undefined === input.filename || "string" === typeof input.filename) && (undefined === input.renders || "object" === typeof input.renders && null !== input.renders && false === Array.isArray(input.renders) && _io27(input.renders)) && (undefined === input.draft || "object" === typeof input.draft && null !== input.draft && false === Array.isArray(input.draft) && _io31(input.draft)) && (undefined === input.remote || "object" === typeof input.remote && null !== input.remote && false === Array.isArray(input.remote) && _io32(input.remote)) && (undefined === input.published || "object" === typeof input.published && null !== input.published && _io35(input.published)) && (null === input.asset || undefined === input.asset || "string" === typeof input.asset) && (undefined === input.connection || "string" === typeof input.connection) && (undefined === input.render || "object" === typeof input.render && null !== input.render && _io1(input.render)) && (null === input.error || undefined === input.error || "object" === typeof input.error && null !== input.error && _io23(input.error)) && (undefined === input.messages || Array.isArray(input.messages) && input.messages.every(elem => "object" === typeof elem && null !== elem && _io24(elem))); const _io27 = input => Object.keys(input).every(key => {
|
|
13675
13919
|
const value = input[key];
|
|
13676
13920
|
if (undefined === value)
|
|
13677
13921
|
return true;
|
|
@@ -14204,6 +14448,10 @@ function _validateDomainRecord(domain, input) {
|
|
|
14204
14448
|
path: _path + ".pan",
|
|
14205
14449
|
expected: "(Array<number> | undefined)",
|
|
14206
14450
|
value: input.pan
|
|
14451
|
+
}), undefined === input.diarization || "boolean" === typeof input.diarization || _report(_exceptionable, {
|
|
14452
|
+
path: _path + ".diarization",
|
|
14453
|
+
expected: "(boolean | undefined)",
|
|
14454
|
+
value: input.diarization
|
|
14207
14455
|
})].every(flag => flag); const _vo16 = (input, _path, _exceptionable = true) => ["string" === typeof input.format || _report(_exceptionable, {
|
|
14208
14456
|
path: _path + ".format",
|
|
14209
14457
|
expected: "string",
|
|
@@ -14905,7 +15153,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
14905
15153
|
if (undefined === value)
|
|
14906
15154
|
return true;
|
|
14907
15155
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io13(value);
|
|
14908
|
-
}); const _io13 = input => (null === input.style || undefined === input.style || "string" === typeof input.style) && (undefined === input.styleOverrides || "object" === typeof input.styleOverrides && null !== input.styleOverrides && false === Array.isArray(input.styleOverrides) && _io14(input.styleOverrides)); const _io14 = input => (undefined === input.name || "string" === typeof input.name) && (undefined === input.fontname || "string" === typeof input.fontname) && (undefined === input.fontsize || "string" === typeof input.fontsize) && (undefined === input.primaryColour || "string" === typeof input.primaryColour) && (undefined === input.secondaryColour || "string" === typeof input.secondaryColour) && (undefined === input.outlineColour || "string" === typeof input.outlineColour) && (undefined === input.backColour || "string" === typeof input.backColour) && (undefined === input.bold || "string" === typeof input.bold) && (undefined === input.italic || "string" === typeof input.italic) && (undefined === input.underline || "string" === typeof input.underline) && (undefined === input.strikeOut || "string" === typeof input.strikeOut) && (undefined === input.scaleX || "string" === typeof input.scaleX) && (undefined === input.scaleY || "string" === typeof input.scaleY) && (undefined === input.spacing || "string" === typeof input.spacing) && (undefined === input.lineSpacing || "string" === typeof input.lineSpacing) && (undefined === input.angle || "string" === typeof input.angle) && (undefined === input.borderStyle || "string" === typeof input.borderStyle) && (undefined === input.outline || "string" === typeof input.outline) && (undefined === input.shadow || "string" === typeof input.shadow) && (undefined === input.alignment || "string" === typeof input.alignment) && (undefined === input.marginL || "string" === typeof input.marginL) && (undefined === input.marginR || "string" === typeof input.marginR) && (undefined === input.marginV || "string" === typeof input.marginV) && (undefined === input.encoding || "string" === typeof input.encoding); const _io15 = input => (undefined === input.filters || "object" === typeof input.filters && null !== input.filters && false === Array.isArray(input.filters) && _io16(input.filters)) && (undefined === input.crop || "object" === typeof input.crop && null !== input.crop && false === Array.isArray(input.crop) && _io20(input.crop)) && (undefined === input.orientation || "number" === typeof input.orientation) && (null === input.interlaced || undefined === input.interlaced || false === input.interlaced || "tff" === input.interlaced || "bff" === input.interlaced) && (null === input.alpha || undefined === input.alpha || "straight" === input.alpha || "boolean" === typeof input.alpha); const _io16 = input => (undefined === input.eq || "object" === typeof input.eq && null !== input.eq && false === Array.isArray(input.eq) && _io17(input.eq)) && (undefined === input.hue || "object" === typeof input.hue && null !== input.hue && false === Array.isArray(input.hue) && _io18(input.hue)) && (undefined === input.colorbalance || "object" === typeof input.colorbalance && null !== input.colorbalance && false === Array.isArray(input.colorbalance) && _io19(input.colorbalance)); const _io17 = input => (undefined === input.brightness || "number" === typeof input.brightness) && (undefined === input.contrast || "number" === typeof input.contrast) && (undefined === input.gamma || "number" === typeof input.gamma) && (undefined === input.saturation || "number" === typeof input.saturation); const _io18 = input => (undefined === input.h || "number" === typeof input.h) && (undefined === input.s || "number" === typeof input.s) && (undefined === input.b || "number" === typeof input.b); const _io19 = input => (undefined === input.rs || "number" === typeof input.rs) && (undefined === input.gs || "number" === typeof input.gs) && (undefined === input.bs || "number" === typeof input.bs) && (undefined === input.rm || "number" === typeof input.rm) && (undefined === input.gm || "number" === typeof input.gm) && (undefined === input.bm || "number" === typeof input.bm) && (undefined === input.rh || "number" === typeof input.rh) && (undefined === input.gh || "number" === typeof input.gh) && (undefined === input.bh || "number" === typeof input.bh); const _io20 = input => (undefined === input.x || "number" === typeof input.x) && (undefined === input.y || "number" === typeof input.y) && (undefined === input.width || "number" === typeof input.width) && (undefined === input.height || "number" === typeof input.height); const _io21 = input => undefined === input.pan || Array.isArray(input.pan) && input.pan.every(elem => Array.isArray(elem) && elem.every(elem => "number" === typeof elem)); const _io22 = input => (undefined === input.language || "string" === typeof input.language) && (undefined === input.pan || Array.isArray(input.pan) && input.pan.every(elem => "number" === typeof elem)); const _io23 = input => "string" === typeof input.format && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && _io24(input.transcribe)) && (undefined === input.translate || "object" === typeof input.translate && null !== input.translate && _io25(input.translate)) && (undefined === input.audio || "object" === typeof input.audio && null !== input.audio && false === Array.isArray(input.audio) && _io26(input.audio)) && true && (undefined === input.pick || Array.isArray(input.pick) && input.pick.every(elem => "string" === typeof elem)) && (null !== input.subtitle && (undefined === input.subtitle || "string" === typeof input.subtitle || "object" === typeof input.subtitle && null !== input.subtitle && false === Array.isArray(input.subtitle) && _io27(input.subtitle))); const _io24 = input => "string" === typeof input.engine; const _io25 = input => "string" === typeof input.language; const _io26 = input => (undefined === input.codec || "string" === typeof input.codec) && (undefined === input.pan || "string" === typeof input.pan) && (undefined === input.samplerate || "number" === typeof input.samplerate) && (undefined === input.split || "boolean" === typeof input.split); const _io27 = input => (undefined === input.lang || "string" === typeof input.lang) && (undefined === input.style || "string" === typeof input.style) && (undefined === input.ccconverter || "object" === typeof input.ccconverter && null !== input.ccconverter && false === Array.isArray(input.ccconverter) && _io28(input.ccconverter)) && (undefined === input.ass || "object" === typeof input.ass && null !== input.ass && false === Array.isArray(input.ass) && _io29(input.ass)); const _io28 = input => undefined === input.preset || "string" === typeof input.preset; const _io29 = input => (undefined === input.futureWordWrapping || "boolean" === typeof input.futureWordWrapping) && (undefined === input.scaledBorderAndShadow || "boolean" === typeof input.scaledBorderAndShadow) && (undefined === input.enableUnsafeLineSpacingHack || "boolean" === typeof input.enableUnsafeLineSpacingHack); const _io30 = input => "object" === typeof input.__context && null !== input.__context && _io31(input.__context) && ("object" === typeof input.__returnValue && null !== input.__returnValue && _io8(input.__returnValue)); const _io31 = input => "object" === typeof input.publish && null !== input.publish && false === Array.isArray(input.publish) && _io32(input.publish) && "string" === typeof input.directory && "string" === typeof input.name; const _io32 = input => (undefined === input.type || "file" === input.type) && (undefined === input.directory || "string" === typeof input.directory) && (undefined === input.filename || "string" === typeof input.filename) && (undefined === input.renders || "object" === typeof input.renders && null !== input.renders && false === Array.isArray(input.renders) && _io7(input.renders)) && (undefined === input.draft || "object" === typeof input.draft && null !== input.draft && false === Array.isArray(input.draft) && _io33(input.draft)) && (undefined === input.remote || "object" === typeof input.remote && null !== input.remote && false === Array.isArray(input.remote) && _io34(input.remote)) && (undefined === input.published || "object" === typeof input.published && null !== input.published && _io37(input.published)) && (null === input.asset || undefined === input.asset || "string" === typeof input.asset) && (undefined === input.connection || "string" === typeof input.connection) && (undefined === input.render || "object" === typeof input.render && null !== input.render && _io38(input.render)) && (null === input.error || undefined === input.error || "object" === typeof input.error && null !== input.error && _io39(input.error)) && (undefined === input.messages || Array.isArray(input.messages) && input.messages.every(elem => "object" === typeof elem && null !== elem && _io1(elem))); const _io33 = input => (undefined === input.directory || "string" === typeof input.directory) && (undefined === input.filename || "string" === typeof input.filename); const _io34 = input => (undefined === input.directory || "string" === typeof input.directory) && (undefined === input.filename || "string" === typeof input.filename) && (undefined === input.renders || "object" === typeof input.renders && null !== input.renders && false === Array.isArray(input.renders) && _io35(input.renders)); const _io35 = input => Object.keys(input).every(key => {
|
|
15156
|
+
}); const _io13 = input => (null === input.style || undefined === input.style || "string" === typeof input.style) && (undefined === input.styleOverrides || "object" === typeof input.styleOverrides && null !== input.styleOverrides && false === Array.isArray(input.styleOverrides) && _io14(input.styleOverrides)); const _io14 = input => (undefined === input.name || "string" === typeof input.name) && (undefined === input.fontname || "string" === typeof input.fontname) && (undefined === input.fontsize || "string" === typeof input.fontsize) && (undefined === input.primaryColour || "string" === typeof input.primaryColour) && (undefined === input.secondaryColour || "string" === typeof input.secondaryColour) && (undefined === input.outlineColour || "string" === typeof input.outlineColour) && (undefined === input.backColour || "string" === typeof input.backColour) && (undefined === input.bold || "string" === typeof input.bold) && (undefined === input.italic || "string" === typeof input.italic) && (undefined === input.underline || "string" === typeof input.underline) && (undefined === input.strikeOut || "string" === typeof input.strikeOut) && (undefined === input.scaleX || "string" === typeof input.scaleX) && (undefined === input.scaleY || "string" === typeof input.scaleY) && (undefined === input.spacing || "string" === typeof input.spacing) && (undefined === input.lineSpacing || "string" === typeof input.lineSpacing) && (undefined === input.angle || "string" === typeof input.angle) && (undefined === input.borderStyle || "string" === typeof input.borderStyle) && (undefined === input.outline || "string" === typeof input.outline) && (undefined === input.shadow || "string" === typeof input.shadow) && (undefined === input.alignment || "string" === typeof input.alignment) && (undefined === input.marginL || "string" === typeof input.marginL) && (undefined === input.marginR || "string" === typeof input.marginR) && (undefined === input.marginV || "string" === typeof input.marginV) && (undefined === input.encoding || "string" === typeof input.encoding); const _io15 = input => (undefined === input.filters || "object" === typeof input.filters && null !== input.filters && false === Array.isArray(input.filters) && _io16(input.filters)) && (undefined === input.crop || "object" === typeof input.crop && null !== input.crop && false === Array.isArray(input.crop) && _io20(input.crop)) && (undefined === input.orientation || "number" === typeof input.orientation) && (null === input.interlaced || undefined === input.interlaced || false === input.interlaced || "tff" === input.interlaced || "bff" === input.interlaced) && (null === input.alpha || undefined === input.alpha || "straight" === input.alpha || "boolean" === typeof input.alpha); const _io16 = input => (undefined === input.eq || "object" === typeof input.eq && null !== input.eq && false === Array.isArray(input.eq) && _io17(input.eq)) && (undefined === input.hue || "object" === typeof input.hue && null !== input.hue && false === Array.isArray(input.hue) && _io18(input.hue)) && (undefined === input.colorbalance || "object" === typeof input.colorbalance && null !== input.colorbalance && false === Array.isArray(input.colorbalance) && _io19(input.colorbalance)); const _io17 = input => (undefined === input.brightness || "number" === typeof input.brightness) && (undefined === input.contrast || "number" === typeof input.contrast) && (undefined === input.gamma || "number" === typeof input.gamma) && (undefined === input.saturation || "number" === typeof input.saturation); const _io18 = input => (undefined === input.h || "number" === typeof input.h) && (undefined === input.s || "number" === typeof input.s) && (undefined === input.b || "number" === typeof input.b); const _io19 = input => (undefined === input.rs || "number" === typeof input.rs) && (undefined === input.gs || "number" === typeof input.gs) && (undefined === input.bs || "number" === typeof input.bs) && (undefined === input.rm || "number" === typeof input.rm) && (undefined === input.gm || "number" === typeof input.gm) && (undefined === input.bm || "number" === typeof input.bm) && (undefined === input.rh || "number" === typeof input.rh) && (undefined === input.gh || "number" === typeof input.gh) && (undefined === input.bh || "number" === typeof input.bh); const _io20 = input => (undefined === input.x || "number" === typeof input.x) && (undefined === input.y || "number" === typeof input.y) && (undefined === input.width || "number" === typeof input.width) && (undefined === input.height || "number" === typeof input.height); const _io21 = input => undefined === input.pan || Array.isArray(input.pan) && input.pan.every(elem => Array.isArray(elem) && elem.every(elem => "number" === typeof elem)); const _io22 = input => (undefined === input.language || "string" === typeof input.language) && (undefined === input.pan || Array.isArray(input.pan) && input.pan.every(elem => "number" === typeof elem)) && (undefined === input.diarization || "boolean" === typeof input.diarization); const _io23 = input => "string" === typeof input.format && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && _io24(input.transcribe)) && (undefined === input.translate || "object" === typeof input.translate && null !== input.translate && _io25(input.translate)) && (undefined === input.audio || "object" === typeof input.audio && null !== input.audio && false === Array.isArray(input.audio) && _io26(input.audio)) && true && (undefined === input.pick || Array.isArray(input.pick) && input.pick.every(elem => "string" === typeof elem)) && (null !== input.subtitle && (undefined === input.subtitle || "string" === typeof input.subtitle || "object" === typeof input.subtitle && null !== input.subtitle && false === Array.isArray(input.subtitle) && _io27(input.subtitle))); const _io24 = input => "string" === typeof input.engine; const _io25 = input => "string" === typeof input.language; const _io26 = input => (undefined === input.codec || "string" === typeof input.codec) && (undefined === input.pan || "string" === typeof input.pan) && (undefined === input.samplerate || "number" === typeof input.samplerate) && (undefined === input.split || "boolean" === typeof input.split); const _io27 = input => (undefined === input.lang || "string" === typeof input.lang) && (undefined === input.style || "string" === typeof input.style) && (undefined === input.ccconverter || "object" === typeof input.ccconverter && null !== input.ccconverter && false === Array.isArray(input.ccconverter) && _io28(input.ccconverter)) && (undefined === input.ass || "object" === typeof input.ass && null !== input.ass && false === Array.isArray(input.ass) && _io29(input.ass)); const _io28 = input => undefined === input.preset || "string" === typeof input.preset; const _io29 = input => (undefined === input.futureWordWrapping || "boolean" === typeof input.futureWordWrapping) && (undefined === input.scaledBorderAndShadow || "boolean" === typeof input.scaledBorderAndShadow) && (undefined === input.enableUnsafeLineSpacingHack || "boolean" === typeof input.enableUnsafeLineSpacingHack); const _io30 = input => "object" === typeof input.__context && null !== input.__context && _io31(input.__context) && ("object" === typeof input.__returnValue && null !== input.__returnValue && _io8(input.__returnValue)); const _io31 = input => "object" === typeof input.publish && null !== input.publish && false === Array.isArray(input.publish) && _io32(input.publish) && "string" === typeof input.directory && "string" === typeof input.name; const _io32 = input => (undefined === input.type || "file" === input.type) && (undefined === input.directory || "string" === typeof input.directory) && (undefined === input.filename || "string" === typeof input.filename) && (undefined === input.renders || "object" === typeof input.renders && null !== input.renders && false === Array.isArray(input.renders) && _io7(input.renders)) && (undefined === input.draft || "object" === typeof input.draft && null !== input.draft && false === Array.isArray(input.draft) && _io33(input.draft)) && (undefined === input.remote || "object" === typeof input.remote && null !== input.remote && false === Array.isArray(input.remote) && _io34(input.remote)) && (undefined === input.published || "object" === typeof input.published && null !== input.published && _io37(input.published)) && (null === input.asset || undefined === input.asset || "string" === typeof input.asset) && (undefined === input.connection || "string" === typeof input.connection) && (undefined === input.render || "object" === typeof input.render && null !== input.render && _io38(input.render)) && (null === input.error || undefined === input.error || "object" === typeof input.error && null !== input.error && _io39(input.error)) && (undefined === input.messages || Array.isArray(input.messages) && input.messages.every(elem => "object" === typeof elem && null !== elem && _io1(elem))); const _io33 = input => (undefined === input.directory || "string" === typeof input.directory) && (undefined === input.filename || "string" === typeof input.filename); const _io34 = input => (undefined === input.directory || "string" === typeof input.directory) && (undefined === input.filename || "string" === typeof input.filename) && (undefined === input.renders || "object" === typeof input.renders && null !== input.renders && false === Array.isArray(input.renders) && _io35(input.renders)); const _io35 = input => Object.keys(input).every(key => {
|
|
14909
15157
|
const value = input[key];
|
|
14910
15158
|
if (undefined === value)
|
|
14911
15159
|
return true;
|
|
@@ -15546,6 +15794,10 @@ function _validateDomainRecord(domain, input) {
|
|
|
15546
15794
|
path: _path + ".pan",
|
|
15547
15795
|
expected: "(Array<number> | undefined)",
|
|
15548
15796
|
value: input.pan
|
|
15797
|
+
}), undefined === input.diarization || "boolean" === typeof input.diarization || _report(_exceptionable, {
|
|
15798
|
+
path: _path + ".diarization",
|
|
15799
|
+
expected: "(boolean | undefined)",
|
|
15800
|
+
value: input.diarization
|
|
15549
15801
|
})].every(flag => flag); const _vo23 = (input, _path, _exceptionable = true) => ["string" === typeof input.format || _report(_exceptionable, {
|
|
15550
15802
|
path: _path + ".format",
|
|
15551
15803
|
expected: "string",
|
|
@@ -16687,7 +16939,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
16687
16939
|
if (undefined === value)
|
|
16688
16940
|
return true;
|
|
16689
16941
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io6(value);
|
|
16690
|
-
}); const _io6 = input => (null === input.style || undefined === input.style || "string" === typeof input.style) && (undefined === input.styleOverrides || "object" === typeof input.styleOverrides && null !== input.styleOverrides && false === Array.isArray(input.styleOverrides) && _io7(input.styleOverrides)); const _io7 = input => (undefined === input.name || "string" === typeof input.name) && (undefined === input.fontname || "string" === typeof input.fontname) && (undefined === input.fontsize || "string" === typeof input.fontsize) && (undefined === input.primaryColour || "string" === typeof input.primaryColour) && (undefined === input.secondaryColour || "string" === typeof input.secondaryColour) && (undefined === input.outlineColour || "string" === typeof input.outlineColour) && (undefined === input.backColour || "string" === typeof input.backColour) && (undefined === input.bold || "string" === typeof input.bold) && (undefined === input.italic || "string" === typeof input.italic) && (undefined === input.underline || "string" === typeof input.underline) && (undefined === input.strikeOut || "string" === typeof input.strikeOut) && (undefined === input.scaleX || "string" === typeof input.scaleX) && (undefined === input.scaleY || "string" === typeof input.scaleY) && (undefined === input.spacing || "string" === typeof input.spacing) && (undefined === input.lineSpacing || "string" === typeof input.lineSpacing) && (undefined === input.angle || "string" === typeof input.angle) && (undefined === input.borderStyle || "string" === typeof input.borderStyle) && (undefined === input.outline || "string" === typeof input.outline) && (undefined === input.shadow || "string" === typeof input.shadow) && (undefined === input.alignment || "string" === typeof input.alignment) && (undefined === input.marginL || "string" === typeof input.marginL) && (undefined === input.marginR || "string" === typeof input.marginR) && (undefined === input.marginV || "string" === typeof input.marginV) && (undefined === input.encoding || "string" === typeof input.encoding); const _io8 = input => (undefined === input.filters || "object" === typeof input.filters && null !== input.filters && false === Array.isArray(input.filters) && _io9(input.filters)) && (undefined === input.crop || "object" === typeof input.crop && null !== input.crop && false === Array.isArray(input.crop) && _io13(input.crop)) && (undefined === input.orientation || "number" === typeof input.orientation) && (null === input.interlaced || undefined === input.interlaced || false === input.interlaced || "tff" === input.interlaced || "bff" === input.interlaced) && (null === input.alpha || undefined === input.alpha || "straight" === input.alpha || "boolean" === typeof input.alpha); const _io9 = input => (undefined === input.eq || "object" === typeof input.eq && null !== input.eq && false === Array.isArray(input.eq) && _io10(input.eq)) && (undefined === input.hue || "object" === typeof input.hue && null !== input.hue && false === Array.isArray(input.hue) && _io11(input.hue)) && (undefined === input.colorbalance || "object" === typeof input.colorbalance && null !== input.colorbalance && false === Array.isArray(input.colorbalance) && _io12(input.colorbalance)); const _io10 = input => (undefined === input.brightness || "number" === typeof input.brightness) && (undefined === input.contrast || "number" === typeof input.contrast) && (undefined === input.gamma || "number" === typeof input.gamma) && (undefined === input.saturation || "number" === typeof input.saturation); const _io11 = input => (undefined === input.h || "number" === typeof input.h) && (undefined === input.s || "number" === typeof input.s) && (undefined === input.b || "number" === typeof input.b); const _io12 = input => (undefined === input.rs || "number" === typeof input.rs) && (undefined === input.gs || "number" === typeof input.gs) && (undefined === input.bs || "number" === typeof input.bs) && (undefined === input.rm || "number" === typeof input.rm) && (undefined === input.gm || "number" === typeof input.gm) && (undefined === input.bm || "number" === typeof input.bm) && (undefined === input.rh || "number" === typeof input.rh) && (undefined === input.gh || "number" === typeof input.gh) && (undefined === input.bh || "number" === typeof input.bh); const _io13 = input => (undefined === input.x || "number" === typeof input.x) && (undefined === input.y || "number" === typeof input.y) && (undefined === input.width || "number" === typeof input.width) && (undefined === input.height || "number" === typeof input.height); const _io14 = input => undefined === input.pan || Array.isArray(input.pan) && input.pan.every(elem => Array.isArray(elem) && elem.every(elem => "number" === typeof elem)); const _io15 = input => (undefined === input.language || "string" === typeof input.language) && (undefined === input.pan || Array.isArray(input.pan) && input.pan.every(elem => "number" === typeof elem)); const _io16 = input => "string" === typeof input.format && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && _io17(input.transcribe)) && (undefined === input.translate || "object" === typeof input.translate && null !== input.translate && _io18(input.translate)) && (undefined === input.audio || "object" === typeof input.audio && null !== input.audio && false === Array.isArray(input.audio) && _io19(input.audio)) && true && (undefined === input.pick || Array.isArray(input.pick) && input.pick.every(elem => "string" === typeof elem)) && (null !== input.subtitle && (undefined === input.subtitle || "string" === typeof input.subtitle || "object" === typeof input.subtitle && null !== input.subtitle && false === Array.isArray(input.subtitle) && _io20(input.subtitle))); const _io17 = input => "string" === typeof input.engine; const _io18 = input => "string" === typeof input.language; const _io19 = input => (undefined === input.codec || "string" === typeof input.codec) && (undefined === input.pan || "string" === typeof input.pan) && (undefined === input.samplerate || "number" === typeof input.samplerate) && (undefined === input.split || "boolean" === typeof input.split); const _io20 = input => (undefined === input.lang || "string" === typeof input.lang) && (undefined === input.style || "string" === typeof input.style) && (undefined === input.ccconverter || "object" === typeof input.ccconverter && null !== input.ccconverter && false === Array.isArray(input.ccconverter) && _io21(input.ccconverter)) && (undefined === input.ass || "object" === typeof input.ass && null !== input.ass && false === Array.isArray(input.ass) && _io22(input.ass)); const _io21 = input => undefined === input.preset || "string" === typeof input.preset; const _io22 = input => (undefined === input.futureWordWrapping || "boolean" === typeof input.futureWordWrapping) && (undefined === input.scaledBorderAndShadow || "boolean" === typeof input.scaledBorderAndShadow) && (undefined === input.enableUnsafeLineSpacingHack || "boolean" === typeof input.enableUnsafeLineSpacingHack); const _vo0 = (input, _path, _exceptionable = true) => ["string" === typeof input.type || _report(_exceptionable, {
|
|
16942
|
+
}); const _io6 = input => (null === input.style || undefined === input.style || "string" === typeof input.style) && (undefined === input.styleOverrides || "object" === typeof input.styleOverrides && null !== input.styleOverrides && false === Array.isArray(input.styleOverrides) && _io7(input.styleOverrides)); const _io7 = input => (undefined === input.name || "string" === typeof input.name) && (undefined === input.fontname || "string" === typeof input.fontname) && (undefined === input.fontsize || "string" === typeof input.fontsize) && (undefined === input.primaryColour || "string" === typeof input.primaryColour) && (undefined === input.secondaryColour || "string" === typeof input.secondaryColour) && (undefined === input.outlineColour || "string" === typeof input.outlineColour) && (undefined === input.backColour || "string" === typeof input.backColour) && (undefined === input.bold || "string" === typeof input.bold) && (undefined === input.italic || "string" === typeof input.italic) && (undefined === input.underline || "string" === typeof input.underline) && (undefined === input.strikeOut || "string" === typeof input.strikeOut) && (undefined === input.scaleX || "string" === typeof input.scaleX) && (undefined === input.scaleY || "string" === typeof input.scaleY) && (undefined === input.spacing || "string" === typeof input.spacing) && (undefined === input.lineSpacing || "string" === typeof input.lineSpacing) && (undefined === input.angle || "string" === typeof input.angle) && (undefined === input.borderStyle || "string" === typeof input.borderStyle) && (undefined === input.outline || "string" === typeof input.outline) && (undefined === input.shadow || "string" === typeof input.shadow) && (undefined === input.alignment || "string" === typeof input.alignment) && (undefined === input.marginL || "string" === typeof input.marginL) && (undefined === input.marginR || "string" === typeof input.marginR) && (undefined === input.marginV || "string" === typeof input.marginV) && (undefined === input.encoding || "string" === typeof input.encoding); const _io8 = input => (undefined === input.filters || "object" === typeof input.filters && null !== input.filters && false === Array.isArray(input.filters) && _io9(input.filters)) && (undefined === input.crop || "object" === typeof input.crop && null !== input.crop && false === Array.isArray(input.crop) && _io13(input.crop)) && (undefined === input.orientation || "number" === typeof input.orientation) && (null === input.interlaced || undefined === input.interlaced || false === input.interlaced || "tff" === input.interlaced || "bff" === input.interlaced) && (null === input.alpha || undefined === input.alpha || "straight" === input.alpha || "boolean" === typeof input.alpha); const _io9 = input => (undefined === input.eq || "object" === typeof input.eq && null !== input.eq && false === Array.isArray(input.eq) && _io10(input.eq)) && (undefined === input.hue || "object" === typeof input.hue && null !== input.hue && false === Array.isArray(input.hue) && _io11(input.hue)) && (undefined === input.colorbalance || "object" === typeof input.colorbalance && null !== input.colorbalance && false === Array.isArray(input.colorbalance) && _io12(input.colorbalance)); const _io10 = input => (undefined === input.brightness || "number" === typeof input.brightness) && (undefined === input.contrast || "number" === typeof input.contrast) && (undefined === input.gamma || "number" === typeof input.gamma) && (undefined === input.saturation || "number" === typeof input.saturation); const _io11 = input => (undefined === input.h || "number" === typeof input.h) && (undefined === input.s || "number" === typeof input.s) && (undefined === input.b || "number" === typeof input.b); const _io12 = input => (undefined === input.rs || "number" === typeof input.rs) && (undefined === input.gs || "number" === typeof input.gs) && (undefined === input.bs || "number" === typeof input.bs) && (undefined === input.rm || "number" === typeof input.rm) && (undefined === input.gm || "number" === typeof input.gm) && (undefined === input.bm || "number" === typeof input.bm) && (undefined === input.rh || "number" === typeof input.rh) && (undefined === input.gh || "number" === typeof input.gh) && (undefined === input.bh || "number" === typeof input.bh); const _io13 = input => (undefined === input.x || "number" === typeof input.x) && (undefined === input.y || "number" === typeof input.y) && (undefined === input.width || "number" === typeof input.width) && (undefined === input.height || "number" === typeof input.height); const _io14 = input => undefined === input.pan || Array.isArray(input.pan) && input.pan.every(elem => Array.isArray(elem) && elem.every(elem => "number" === typeof elem)); const _io15 = input => (undefined === input.language || "string" === typeof input.language) && (undefined === input.pan || Array.isArray(input.pan) && input.pan.every(elem => "number" === typeof elem)) && (undefined === input.diarization || "boolean" === typeof input.diarization); const _io16 = input => "string" === typeof input.format && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && _io17(input.transcribe)) && (undefined === input.translate || "object" === typeof input.translate && null !== input.translate && _io18(input.translate)) && (undefined === input.audio || "object" === typeof input.audio && null !== input.audio && false === Array.isArray(input.audio) && _io19(input.audio)) && true && (undefined === input.pick || Array.isArray(input.pick) && input.pick.every(elem => "string" === typeof elem)) && (null !== input.subtitle && (undefined === input.subtitle || "string" === typeof input.subtitle || "object" === typeof input.subtitle && null !== input.subtitle && false === Array.isArray(input.subtitle) && _io20(input.subtitle))); const _io17 = input => "string" === typeof input.engine; const _io18 = input => "string" === typeof input.language; const _io19 = input => (undefined === input.codec || "string" === typeof input.codec) && (undefined === input.pan || "string" === typeof input.pan) && (undefined === input.samplerate || "number" === typeof input.samplerate) && (undefined === input.split || "boolean" === typeof input.split); const _io20 = input => (undefined === input.lang || "string" === typeof input.lang) && (undefined === input.style || "string" === typeof input.style) && (undefined === input.ccconverter || "object" === typeof input.ccconverter && null !== input.ccconverter && false === Array.isArray(input.ccconverter) && _io21(input.ccconverter)) && (undefined === input.ass || "object" === typeof input.ass && null !== input.ass && false === Array.isArray(input.ass) && _io22(input.ass)); const _io21 = input => undefined === input.preset || "string" === typeof input.preset; const _io22 = input => (undefined === input.futureWordWrapping || "boolean" === typeof input.futureWordWrapping) && (undefined === input.scaledBorderAndShadow || "boolean" === typeof input.scaledBorderAndShadow) && (undefined === input.enableUnsafeLineSpacingHack || "boolean" === typeof input.enableUnsafeLineSpacingHack); const _vo0 = (input, _path, _exceptionable = true) => ["string" === typeof input.type || _report(_exceptionable, {
|
|
16691
16943
|
path: _path + ".type",
|
|
16692
16944
|
expected: "string",
|
|
16693
16945
|
value: input.type
|
|
@@ -17152,6 +17404,10 @@ function _validateDomainRecord(domain, input) {
|
|
|
17152
17404
|
path: _path + ".pan",
|
|
17153
17405
|
expected: "(Array<number> | undefined)",
|
|
17154
17406
|
value: input.pan
|
|
17407
|
+
}), undefined === input.diarization || "boolean" === typeof input.diarization || _report(_exceptionable, {
|
|
17408
|
+
path: _path + ".diarization",
|
|
17409
|
+
expected: "(boolean | undefined)",
|
|
17410
|
+
value: input.diarization
|
|
17155
17411
|
})].every(flag => flag); const _vo16 = (input, _path, _exceptionable = true) => ["string" === typeof input.format || _report(_exceptionable, {
|
|
17156
17412
|
path: _path + ".format",
|
|
17157
17413
|
expected: "string",
|
|
@@ -17687,26 +17943,128 @@ function _validateDomainRecord(domain, input) {
|
|
|
17687
17943
|
};
|
|
17688
17944
|
}; })()(input);
|
|
17689
17945
|
}
|
|
17690
|
-
case ":role
|
|
17691
|
-
return (() => { const _io0 = input =>
|
|
17692
|
-
|
|
17693
|
-
|
|
17694
|
-
|
|
17695
|
-
|
|
17696
|
-
|
|
17697
|
-
|
|
17698
|
-
|
|
17699
|
-
|
|
17700
|
-
|
|
17701
|
-
|
|
17702
|
-
|
|
17703
|
-
|
|
17946
|
+
case ":role": {
|
|
17947
|
+
return (() => { const _io0 = input => undefined === input.permissions || "object" === typeof input.permissions && null !== input.permissions && false === Array.isArray(input.permissions) && _io1(input.permissions); const _io1 = input => Object.keys(input).every(key => {
|
|
17948
|
+
const value = input[key];
|
|
17949
|
+
if (undefined === value)
|
|
17950
|
+
return true;
|
|
17951
|
+
return Array.isArray(value) && value.every(elem => "string" === typeof elem);
|
|
17952
|
+
}); const _vo0 = (input, _path, _exceptionable = true) => [undefined === input.permissions || ("object" === typeof input.permissions && null !== input.permissions && false === Array.isArray(input.permissions) || _report(_exceptionable, {
|
|
17953
|
+
path: _path + ".permissions",
|
|
17954
|
+
expected: "(Record<string, Array<string>> | undefined)",
|
|
17955
|
+
value: input.permissions
|
|
17956
|
+
})) && _vo1(input.permissions, _path + ".permissions", true && _exceptionable) || _report(_exceptionable, {
|
|
17957
|
+
path: _path + ".permissions",
|
|
17958
|
+
expected: "(Record<string, Array<string>> | undefined)",
|
|
17959
|
+
value: input.permissions
|
|
17960
|
+
})].every(flag => flag); const _vo1 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
17961
|
+
const value = input[key];
|
|
17962
|
+
if (undefined === value)
|
|
17963
|
+
return true;
|
|
17964
|
+
return (Array.isArray(value) || _report(_exceptionable, {
|
|
17965
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
17966
|
+
expected: "Array<string>",
|
|
17967
|
+
value: value
|
|
17968
|
+
})) && value.map((elem, _index2) => "string" === typeof elem || _report(_exceptionable, {
|
|
17969
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key) + "[" + _index2 + "]",
|
|
17970
|
+
expected: "string",
|
|
17971
|
+
value: elem
|
|
17972
|
+
})).every(flag => flag) || _report(_exceptionable, {
|
|
17973
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
17974
|
+
expected: "Array<string>",
|
|
17975
|
+
value: value
|
|
17976
|
+
});
|
|
17977
|
+
}).every(flag => flag)].every(flag => flag); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); let errors; let _report; return input => {
|
|
17704
17978
|
if (false === __is(input)) {
|
|
17705
17979
|
errors = [];
|
|
17706
17980
|
_report = __typia_transform__validateReport._validateReport(errors);
|
|
17707
|
-
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input || _report(true, {
|
|
17981
|
+
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || _report(true, {
|
|
17708
17982
|
path: _path + "",
|
|
17709
|
-
expected: "
|
|
17983
|
+
expected: "RoleRecord",
|
|
17984
|
+
value: input
|
|
17985
|
+
})) && _vo0(input, _path + "", true) || _report(true, {
|
|
17986
|
+
path: _path + "",
|
|
17987
|
+
expected: "RoleRecord",
|
|
17988
|
+
value: input
|
|
17989
|
+
}))(input, "$input", true);
|
|
17990
|
+
const success = 0 === errors.length;
|
|
17991
|
+
return success ? {
|
|
17992
|
+
success,
|
|
17993
|
+
data: input
|
|
17994
|
+
} : {
|
|
17995
|
+
success,
|
|
17996
|
+
errors,
|
|
17997
|
+
data: input
|
|
17998
|
+
};
|
|
17999
|
+
}
|
|
18000
|
+
return {
|
|
18001
|
+
success: true,
|
|
18002
|
+
data: input
|
|
18003
|
+
};
|
|
18004
|
+
}; })()(input);
|
|
18005
|
+
}
|
|
18006
|
+
case ":role.users?": {
|
|
18007
|
+
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, {
|
|
18008
|
+
path: _path + ".value",
|
|
18009
|
+
expected: "(Array<string> | undefined)",
|
|
18010
|
+
value: input.value
|
|
18011
|
+
})) && input.value.map((elem, _index2) => "string" === typeof elem || _report(_exceptionable, {
|
|
18012
|
+
path: _path + ".value[" + _index2 + "]",
|
|
18013
|
+
expected: "string",
|
|
18014
|
+
value: elem
|
|
18015
|
+
})).every(flag => flag) || _report(_exceptionable, {
|
|
18016
|
+
path: _path + ".value",
|
|
18017
|
+
expected: "(Array<string> | undefined)",
|
|
18018
|
+
value: input.value
|
|
18019
|
+
})].every(flag => flag); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); let errors; let _report; return input => {
|
|
18020
|
+
if (false === __is(input)) {
|
|
18021
|
+
errors = [];
|
|
18022
|
+
_report = __typia_transform__validateReport._validateReport(errors);
|
|
18023
|
+
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || _report(true, {
|
|
18024
|
+
path: _path + "",
|
|
18025
|
+
expected: "RoleUsersRecord",
|
|
18026
|
+
value: input
|
|
18027
|
+
})) && _vo0(input, _path + "", true) || _report(true, {
|
|
18028
|
+
path: _path + "",
|
|
18029
|
+
expected: "RoleUsersRecord",
|
|
18030
|
+
value: input
|
|
18031
|
+
}))(input, "$input", true);
|
|
18032
|
+
const success = 0 === errors.length;
|
|
18033
|
+
return success ? {
|
|
18034
|
+
success,
|
|
18035
|
+
data: input
|
|
18036
|
+
} : {
|
|
18037
|
+
success,
|
|
18038
|
+
errors,
|
|
18039
|
+
data: input
|
|
18040
|
+
};
|
|
18041
|
+
}
|
|
18042
|
+
return {
|
|
18043
|
+
success: true,
|
|
18044
|
+
data: input
|
|
18045
|
+
};
|
|
18046
|
+
}; })()(input);
|
|
18047
|
+
}
|
|
18048
|
+
case ":role.tags": {
|
|
18049
|
+
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, {
|
|
18050
|
+
path: _path + ".value",
|
|
18051
|
+
expected: "Array<string>",
|
|
18052
|
+
value: input.value
|
|
18053
|
+
})) && input.value.map((elem, _index2) => "string" === typeof elem || _report(_exceptionable, {
|
|
18054
|
+
path: _path + ".value[" + _index2 + "]",
|
|
18055
|
+
expected: "string",
|
|
18056
|
+
value: elem
|
|
18057
|
+
})).every(flag => flag) || _report(_exceptionable, {
|
|
18058
|
+
path: _path + ".value",
|
|
18059
|
+
expected: "Array<string>",
|
|
18060
|
+
value: input.value
|
|
18061
|
+
})].every(flag => flag); const __is = input => "object" === typeof input && null !== input && _io0(input); let errors; let _report; return input => {
|
|
18062
|
+
if (false === __is(input)) {
|
|
18063
|
+
errors = [];
|
|
18064
|
+
_report = __typia_transform__validateReport._validateReport(errors);
|
|
18065
|
+
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input || _report(true, {
|
|
18066
|
+
path: _path + "",
|
|
18067
|
+
expected: "RoleTagsRecord",
|
|
17710
18068
|
value: input
|
|
17711
18069
|
})) && _vo0(input, _path + "", true) || _report(true, {
|
|
17712
18070
|
path: _path + "",
|
|
@@ -18314,7 +18672,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
18314
18672
|
}; })()(input);
|
|
18315
18673
|
}
|
|
18316
18674
|
case ":script?": {
|
|
18317
|
-
return (() => { const _io0 = input => "object" === typeof input.value && null !== input.value && _io1(input.value); const _io1 = input => "object" === typeof input.root && null !== input.root && _io2(input.root); const _io2 = input => "string" === typeof input.type && (undefined === input.$ || "object" === typeof input.$ && null !== input.$ && false === Array.isArray(input.$) && _io3(input.$)) && "number" === typeof input.version && (Array.isArray(input.children) && input.children.every(elem => "object" === typeof elem && null !== elem && _io4(elem))) && (null === input.direction || "ltr" === input.direction || "rtl" === input.direction) && ("" === input.format || "
|
|
18675
|
+
return (() => { const _io0 = input => "object" === typeof input.value && null !== input.value && _io1(input.value); const _io1 = input => "object" === typeof input.root && null !== input.root && _io2(input.root); const _io2 = input => "string" === typeof input.type && (undefined === input.$ || "object" === typeof input.$ && null !== input.$ && false === Array.isArray(input.$) && _io3(input.$)) && "number" === typeof input.version && (Array.isArray(input.children) && input.children.every(elem => "object" === typeof elem && null !== elem && _io4(elem))) && (null === input.direction || "ltr" === input.direction || "rtl" === input.direction) && ("" === input.format || "right" === input.format || "left" === input.format || "center" === input.format || "start" === input.format || "end" === input.format || "justify" === input.format) && "number" === typeof input.indent && (undefined === input.textFormat || "number" === typeof input.textFormat) && (undefined === input.textStyle || "string" === typeof input.textStyle); const _io3 = input => Object.keys(input).every(key => {
|
|
18318
18676
|
const value = input[key];
|
|
18319
18677
|
if (undefined === value)
|
|
18320
18678
|
return true;
|
|
@@ -18371,7 +18729,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
18371
18729
|
path: _path + ".direction",
|
|
18372
18730
|
expected: "(\"ltr\" | \"rtl\" | null)",
|
|
18373
18731
|
value: input.direction
|
|
18374
|
-
}), "" === input.format || "
|
|
18732
|
+
}), "" === input.format || "right" === input.format || "left" === input.format || "center" === input.format || "start" === input.format || "end" === input.format || "justify" === input.format || _report(_exceptionable, {
|
|
18375
18733
|
path: _path + ".format",
|
|
18376
18734
|
expected: "(\"\" | \"center\" | \"end\" | \"justify\" | \"left\" | \"right\" | \"start\")",
|
|
18377
18735
|
value: input.format
|
|
@@ -18538,7 +18896,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
18538
18896
|
}; })()(input);
|
|
18539
18897
|
}
|
|
18540
18898
|
case ":script.revision?": {
|
|
18541
|
-
return (() => { const _io0 = input => "string" === typeof input.$parent && "string" === typeof input.scriptId && "string" === typeof input.userId && ("object" === typeof input.value && null !== input.value && _io1(input.value)); const _io1 = input => "object" === typeof input.root && null !== input.root && _io2(input.root); const _io2 = input => "string" === typeof input.type && (undefined === input.$ || "object" === typeof input.$ && null !== input.$ && false === Array.isArray(input.$) && _io3(input.$)) && "number" === typeof input.version && (Array.isArray(input.children) && input.children.every(elem => "object" === typeof elem && null !== elem && _io4(elem))) && (null === input.direction || "ltr" === input.direction || "rtl" === input.direction) && ("" === input.format || "
|
|
18899
|
+
return (() => { const _io0 = input => "string" === typeof input.$parent && "string" === typeof input.scriptId && "string" === typeof input.userId && ("object" === typeof input.value && null !== input.value && _io1(input.value)); const _io1 = input => "object" === typeof input.root && null !== input.root && _io2(input.root); const _io2 = input => "string" === typeof input.type && (undefined === input.$ || "object" === typeof input.$ && null !== input.$ && false === Array.isArray(input.$) && _io3(input.$)) && "number" === typeof input.version && (Array.isArray(input.children) && input.children.every(elem => "object" === typeof elem && null !== elem && _io4(elem))) && (null === input.direction || "ltr" === input.direction || "rtl" === input.direction) && ("" === input.format || "right" === input.format || "left" === input.format || "center" === input.format || "start" === input.format || "end" === input.format || "justify" === input.format) && "number" === typeof input.indent && (undefined === input.textFormat || "number" === typeof input.textFormat) && (undefined === input.textStyle || "string" === typeof input.textStyle); const _io3 = input => Object.keys(input).every(key => {
|
|
18542
18900
|
const value = input[key];
|
|
18543
18901
|
if (undefined === value)
|
|
18544
18902
|
return true;
|
|
@@ -18607,7 +18965,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
18607
18965
|
path: _path + ".direction",
|
|
18608
18966
|
expected: "(\"ltr\" | \"rtl\" | null)",
|
|
18609
18967
|
value: input.direction
|
|
18610
|
-
}), "" === input.format || "
|
|
18968
|
+
}), "" === input.format || "right" === input.format || "left" === input.format || "center" === input.format || "start" === input.format || "end" === input.format || "justify" === input.format || _report(_exceptionable, {
|
|
18611
18969
|
path: _path + ".format",
|
|
18612
18970
|
expected: "(\"\" | \"center\" | \"end\" | \"justify\" | \"left\" | \"right\" | \"start\")",
|
|
18613
18971
|
value: input.format
|
|
@@ -19370,14 +19728,14 @@ function _validateDomainRecord(domain, input) {
|
|
|
19370
19728
|
}; })()(input);
|
|
19371
19729
|
}
|
|
19372
19730
|
case ":settings": {
|
|
19373
|
-
return (() => { const _iv29 = new Set(["name", "fontname", "fontsize", "primaryColour", "secondaryColour", "outlineColour", "backColour", "bold", "italic", "underline", "strikeOut", "scaleX", "scaleY", "spacing", "lineSpacing", "angle", "borderStyle", "outline", "shadow", "alignment", "marginL", "marginR", "marginV", "encoding"]); const _iv38 = new Set(["default", "manual", "az", "za", "newest", "oldest", "mostrecent", "leastrecent", "earliestdeadline", "latestdeadline"]); const
|
|
19731
|
+
return (() => { const _iv29 = new Set(["name", "fontname", "fontsize", "primaryColour", "secondaryColour", "outlineColour", "backColour", "bold", "italic", "underline", "strikeOut", "scaleX", "scaleY", "spacing", "lineSpacing", "angle", "borderStyle", "outline", "shadow", "alignment", "marginL", "marginR", "marginV", "encoding"]); const _iv38 = new Set(["default", "manual", "az", "za", "newest", "oldest", "mostrecent", "leastrecent", "earliestdeadline", "latestdeadline"]); const _vv80 = new Set(["name", "fontname", "fontsize", "primaryColour", "secondaryColour", "outlineColour", "backColour", "bold", "italic", "underline", "strikeOut", "scaleX", "scaleY", "spacing", "lineSpacing", "angle", "borderStyle", "outline", "shadow", "alignment", "marginL", "marginR", "marginV", "encoding"]); const _vv89 = 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.graphics || "object" === typeof input.graphics && null !== input.graphics && false === Array.isArray(input.graphics) && _io2(input.graphics)) && (undefined === input.googleWhitelist || Array.isArray(input.googleWhitelist) && input.googleWhitelist.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io3(elem))) && (undefined === input.googleUserRoles || Array.isArray(input.googleUserRoles) && input.googleUserRoles.every(elem => "string" === typeof elem)) && (undefined === input.azureWhitelist || Array.isArray(input.azureWhitelist) && input.azureWhitelist.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io4(elem))) && (undefined === input.azureUserRoles || Array.isArray(input.azureUserRoles) && input.azureUserRoles.every(elem => "string" === typeof elem)) && (undefined === input["module"] || "object" === typeof input["module"] && null !== input["module"] && false === Array.isArray(input["module"]) && _io5(input["module"])) && (undefined === input.upload || "object" === typeof input.upload && null !== input.upload && false === Array.isArray(input.upload) && _io9(input.upload)) && (undefined === input.download || "object" === typeof input.download && null !== input.download && false === Array.isArray(input.download) && _io10(input.download)) && (undefined === input.browser || "object" === typeof input.browser && null !== input.browser && false === Array.isArray(input.browser) && _io11(input.browser)) && (undefined === input.toolbarTags || "object" === typeof input.toolbarTags && null !== input.toolbarTags && false === Array.isArray(input.toolbarTags) && _io14(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) && _io15(input.deadlines)) && (undefined === input.assignees || "object" === typeof input.assignees && null !== input.assignees && false === Array.isArray(input.assignees) && _io16(input.assignees)) && (undefined === input.comments || "object" === typeof input.comments && null !== input.comments && false === Array.isArray(input.comments) && _io17(input.comments)) && (undefined === input.clock || "object" === typeof input.clock && null !== input.clock && false === Array.isArray(input.clock) && _io18(input.clock)) && (undefined === input.swarm || "object" === typeof input.swarm && null !== input.swarm && false === Array.isArray(input.swarm) && _io19(input.swarm)) && (undefined === input.dashboard || "object" === typeof input.dashboard && null !== input.dashboard && false === Array.isArray(input.dashboard) && _io20(input.dashboard)) && (undefined === input.script || "object" === typeof input.script && null !== input.script && false === Array.isArray(input.script) && _io22(input.script)) && (undefined === input.events || "object" === typeof input.events && null !== input.events && false === Array.isArray(input.events) && _io28(input.events)) && (undefined === input.rundown || "object" === typeof input.rundown && null !== input.rundown && _io31(input.rundown)) && (undefined === input.gallery || "object" === typeof input.gallery && null !== input.gallery && false === Array.isArray(input.gallery) && _io32(input.gallery)) && (undefined === input.history || "boolean" === typeof input.history) && (undefined === input.keymap || "object" === typeof input.keymap && null !== input.keymap && false === Array.isArray(input.keymap) && _io33(input.keymap)) && (undefined === input.media || "object" === typeof input.media && null !== input.media && false === Array.isArray(input.media) && _io37(input.media)) && (undefined === input.edit || "object" === typeof input.edit && null !== input.edit && false === Array.isArray(input.edit) && _io54(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) && _io74(elem))) && (undefined === input.plugins || "object" === typeof input.plugins && null !== input.plugins && false === Array.isArray(input.plugins) && _io75(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) && _io80(input.featurePreview)) && (undefined === input.flags || "object" === typeof input.flags && null !== input.flags && false === Array.isArray(input.flags) && _io81(input.flags)) && (undefined === input.notifications || "object" === typeof input.notifications && null !== input.notifications && false === Array.isArray(input.notifications) && _io82(input.notifications)) && (undefined === input.suppressDeleteAlert || "boolean" === typeof input.suppressDeleteAlert) && (undefined === input.clone || "object" === typeof input.clone && null !== input.clone && false === Array.isArray(input.clone) && _io85(input.clone)) && (undefined === input.utilsAssetEditorPanel || "object" === typeof input.utilsAssetEditorPanel && null !== input.utilsAssetEditorPanel && false === Array.isArray(input.utilsAssetEditorPanel) && _io88(input.utilsAssetEditorPanel)) && (undefined === input.display || "object" === typeof input.display && null !== input.display && false === Array.isArray(input.display) && _io89(input.display)) && (undefined === input.bookmarks || "object" === typeof input.bookmarks && null !== input.bookmarks && false === Array.isArray(input.bookmarks) && _io90(input.bookmarks)) && (undefined === input.shotbox || "object" === typeof input.shotbox && null !== input.shotbox && false === Array.isArray(input.shotbox) && _io91(input.shotbox)) && (undefined === input.performance || "object" === typeof input.performance && null !== input.performance && false === Array.isArray(input.performance) && _io92(input.performance)) && (undefined === input.app || "object" === typeof input.app && null !== input.app && false === Array.isArray(input.app) && _io93(input.app)); const _io1 = input => (undefined === input.overrideUserContact || "boolean" === typeof input.overrideUserContact) && (undefined === input.overrideUserLogin || "boolean" === typeof input.overrideUserLogin); const _io2 = input => (undefined === input.width || "number" === typeof input.width) && (undefined === input.height || "number" === typeof input.height); const _io3 = input => undefined === input.domain || "string" === typeof input.domain; const _io4 = input => undefined === input.domain || "string" === typeof input.domain; const _io5 = input => (undefined === input.editor || "string" === typeof input.editor) && (undefined === input.tabs || "object" === typeof input.tabs && null !== input.tabs && false === Array.isArray(input.tabs) && _io6(input.tabs)); const _io6 = input => (undefined === input.settingsPanelStore || "object" === typeof input.settingsPanelStore && null !== input.settingsPanelStore && false === Array.isArray(input.settingsPanelStore) && _io7(input.settingsPanelStore)) && Object.keys(input).every(key => {
|
|
19374
19732
|
if (["settingsPanelStore"].some(prop => key === prop))
|
|
19375
19733
|
return true;
|
|
19376
19734
|
const value = input[key];
|
|
19377
19735
|
if (undefined === value)
|
|
19378
19736
|
return true;
|
|
19379
19737
|
return undefined === value || "object" === typeof value && null !== value && false === Array.isArray(value) && _io8(value);
|
|
19380
|
-
}); const _io7 = input => (undefined === input.activeSectionIndex || "number" === typeof input.activeSectionIndex) && (null === input.activeTab || undefined === input.activeTab || "string" === typeof input.activeTab) && (undefined === input.priority || "number" === typeof input.priority) && (null === input.height || undefined === input.height || "number" === typeof input.height); const _io8 = input => (null === input.activeTab || undefined === input.activeTab || "string" === typeof input.activeTab) && (undefined === input.priority || "number" === typeof input.priority) && (null === input.height || undefined === input.height || "number" === typeof input.height); const _io9 = input => (undefined === input.defaultGrouping || "" === input.defaultGrouping || "collection" === input.defaultGrouping || "stitch" === input.defaultGrouping) && (undefined === input.hideStoryboardCollection || "boolean" === typeof input.hideStoryboardCollection) && (undefined === input.displayUploadFilesDialog || "always" === input.displayUploadFilesDialog || "never" === input.displayUploadFilesDialog || "ifMultipleFiles" === input.displayUploadFilesDialog); const _io10 = input => (undefined === input.displaySaveDialog || "boolean" === typeof input.displaySaveDialog) && (undefined === input.batchDownloadDialogMode || "file" === input.batchDownloadDialogMode || "directory" === input.batchDownloadDialogMode); const _io11 = input => (undefined === input.map || "object" === typeof input.map && null !== input.map && false === Array.isArray(input.map) && _io12(input.map)) && (undefined === input.createMenu || "object" === typeof input.createMenu && null !== input.createMenu && false === Array.isArray(input.createMenu) && _io13(input.createMenu)); const _io12 = input => (undefined === input.clustering || "boolean" === typeof input.clustering) && (undefined === input.zoom || "number" === typeof input.zoom) && (undefined === input.center || Array.isArray(input.center) && (input.center.length === 2 && "number" === typeof input.center[0] && "number" === typeof input.center[1])); const _io13 = input => undefined === input.sortOrder || Array.isArray(input.sortOrder) && input.sortOrder.every(elem => "string" === typeof elem); const _io14 = input => (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)); const _io15 = input => (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)); const _io16 = input => (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)); const _io17 = input => (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)); const _io18 = input => (undefined === input.enable || "boolean" === typeof input.enable) && (undefined === input.show24Hours || "boolean" === typeof input.show24Hours) && (undefined === input.showAmPm || "boolean" === typeof input.showAmPm) && (undefined === input.showSeconds || "boolean" === typeof input.showSeconds) && (undefined === input.showDayOfWeek || "boolean" === typeof input.showDayOfWeek) && (undefined === input.showDate || "boolean" === typeof input.showDate) && (undefined === input.format || "string" === typeof input.format); const _io19 = input => (undefined === input.color || "string" === typeof input.color) && (undefined === input.name || "string" === typeof input.name); const _io20 = input => (undefined === input.maxMru || "number" === typeof input.maxMru) && (undefined === input.maxTabs || "number" === typeof input.maxTabs) && (undefined === input.layout || "object" === typeof input.layout && null !== input.layout && false === Array.isArray(input.layout) && _io21(input.layout)); const _io21 = input => (undefined === input.bookmarks || "number" === typeof input.bookmarks) && (undefined === input.browser || "number" === typeof input.browser); const _io22 = input => (undefined === input.createMenu || "object" === typeof input.createMenu && null !== input.createMenu && false === Array.isArray(input.createMenu) && _io23(input.createMenu)) && (undefined === input.colorTags || Array.isArray(input.colorTags) && input.colorTags.every(elem => "object" === typeof elem && null !== elem && _io24(elem))) && (undefined === input.readType || "characters" === input.readType || "words" === input.readType || "wordsPerMinute" === input.readType) && (undefined === input.readRate || "number" === typeof input.readRate) && (undefined === input.collapsedNodes || "object" === typeof input.collapsedNodes && null !== input.collapsedNodes && false === Array.isArray(input.collapsedNodes) && _io25(input.collapsedNodes)) && (undefined === input.colorHistory || Array.isArray(input.colorHistory) && input.colorHistory.every(elem => "object" === typeof elem && null !== elem && _io27(elem))); const _io23 = input => (undefined === input.sortBy || "
|
|
19738
|
+
}); const _io7 = input => (undefined === input.activeSectionIndex || "number" === typeof input.activeSectionIndex) && (null === input.activeTab || undefined === input.activeTab || "string" === typeof input.activeTab) && (undefined === input.priority || "number" === typeof input.priority) && (null === input.height || undefined === input.height || "number" === typeof input.height); const _io8 = input => (null === input.activeTab || undefined === input.activeTab || "string" === typeof input.activeTab) && (undefined === input.priority || "number" === typeof input.priority) && (null === input.height || undefined === input.height || "number" === typeof input.height); const _io9 = input => (undefined === input.defaultGrouping || "" === input.defaultGrouping || "collection" === input.defaultGrouping || "stitch" === input.defaultGrouping) && (undefined === input.hideStoryboardCollection || "boolean" === typeof input.hideStoryboardCollection) && (undefined === input.displayUploadFilesDialog || "always" === input.displayUploadFilesDialog || "never" === input.displayUploadFilesDialog || "ifMultipleFiles" === input.displayUploadFilesDialog); const _io10 = input => (undefined === input.displaySaveDialog || "boolean" === typeof input.displaySaveDialog) && (undefined === input.batchDownloadDialogMode || "file" === input.batchDownloadDialogMode || "directory" === input.batchDownloadDialogMode); const _io11 = input => (undefined === input.map || "object" === typeof input.map && null !== input.map && false === Array.isArray(input.map) && _io12(input.map)) && (undefined === input.createMenu || "object" === typeof input.createMenu && null !== input.createMenu && false === Array.isArray(input.createMenu) && _io13(input.createMenu)); const _io12 = input => (undefined === input.clustering || "boolean" === typeof input.clustering) && (undefined === input.zoom || "number" === typeof input.zoom) && (undefined === input.center || Array.isArray(input.center) && (input.center.length === 2 && "number" === typeof input.center[0] && "number" === typeof input.center[1])); const _io13 = input => undefined === input.sortOrder || Array.isArray(input.sortOrder) && input.sortOrder.every(elem => "string" === typeof elem); const _io14 = input => (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)); const _io15 = input => (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)); const _io16 = input => (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)); const _io17 = input => (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)); const _io18 = input => (undefined === input.enable || "boolean" === typeof input.enable) && (undefined === input.show24Hours || "boolean" === typeof input.show24Hours) && (undefined === input.showAmPm || "boolean" === typeof input.showAmPm) && (undefined === input.showSeconds || "boolean" === typeof input.showSeconds) && (undefined === input.showDayOfWeek || "boolean" === typeof input.showDayOfWeek) && (undefined === input.showDate || "boolean" === typeof input.showDate) && (undefined === input.format || "string" === typeof input.format); const _io19 = input => (undefined === input.color || "string" === typeof input.color) && (undefined === input.name || "string" === typeof input.name); const _io20 = input => (undefined === input.maxMru || "number" === typeof input.maxMru) && (undefined === input.maxTabs || "number" === typeof input.maxTabs) && (undefined === input.layout || "object" === typeof input.layout && null !== input.layout && false === Array.isArray(input.layout) && _io21(input.layout)); const _io21 = input => (undefined === input.bookmarks || "number" === typeof input.bookmarks) && (undefined === input.browser || "number" === typeof input.browser); const _io22 = input => (undefined === input.createMenu || "object" === typeof input.createMenu && null !== input.createMenu && false === Array.isArray(input.createMenu) && _io23(input.createMenu)) && (undefined === input.contentMaxWidth || "number" === typeof input.contentMaxWidth) && (undefined === input.colorTags || Array.isArray(input.colorTags) && input.colorTags.every(elem => "object" === typeof elem && null !== elem && _io24(elem))) && (undefined === input.readType || "characters" === input.readType || "words" === input.readType || "wordsPerMinute" === input.readType) && (undefined === input.readRate || "number" === typeof input.readRate) && (undefined === input.collapsedNodes || "object" === typeof input.collapsedNodes && null !== input.collapsedNodes && false === Array.isArray(input.collapsedNodes) && _io25(input.collapsedNodes)) && (undefined === input.colorHistory || Array.isArray(input.colorHistory) && input.colorHistory.every(elem => "object" === typeof elem && null !== elem && _io27(elem))); const _io23 = input => (undefined === input.sortBy || "title" === input.sortBy || "index" === input.sortBy) && (undefined === input.showPreview || "boolean" === typeof input.showPreview); const _io24 = input => (null === input.name || "string" === typeof input.name) && (null === input.icon || "string" === typeof input.icon) && (null === input.color || "string" === typeof input.color) && (null === input.description || "string" === typeof input.description); const _io25 = input => Object.keys(input).every(key => {
|
|
19381
19739
|
const value = input[key];
|
|
19382
19740
|
if (undefined === value)
|
|
19383
19741
|
return true;
|
|
@@ -19402,12 +19760,19 @@ function _validateDomainRecord(domain, input) {
|
|
|
19402
19760
|
if (undefined === value)
|
|
19403
19761
|
return true;
|
|
19404
19762
|
return true;
|
|
19405
|
-
}); const _io37 = input => (undefined === input.volume || "number" === typeof input.volume) && (undefined === input.muted || "boolean" === typeof input.muted) && (undefined === input.graphics || "boolean" === typeof input.graphics) && (undefined === input.waveform || "boolean" === typeof input.waveform) && (undefined === input.defaultFrameRate || "number" === typeof input.defaultFrameRate) && (undefined === input.dropFrame || "boolean" === typeof input.dropFrame) && (undefined === input.placeholder || "string" === typeof input.placeholder) && (undefined === input.warnSubclipDuration || "number" === typeof input.warnSubclipDuration) && (undefined === input.displayAspectRatioPresets || Array.isArray(input.displayAspectRatioPresets) && input.displayAspectRatioPresets.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io38(elem))) && (undefined === input.guide || "object" === typeof input.guide && null !== input.guide && false === Array.isArray(input.guide) && _io39(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) && _io40(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) && _io41(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) && _io44(elem))) && (undefined === input.download || "boolean" === typeof input.download) && (undefined === input.editMode || "object" === typeof input.editMode && null !== input.editMode && false === Array.isArray(input.editMode) && _io45(input.editMode)) && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && false === Array.isArray(input.transcribe) && _io46(input.transcribe)) && (null !== input.openCommand && (undefined === input.openCommand || "string" === typeof input.openCommand || "object" === typeof input.openCommand && null !== input.openCommand && false === Array.isArray(input.openCommand) && _io50(input.openCommand))) && (undefined === input.recorder || "object" === typeof input.recorder && null !== input.recorder && false === Array.isArray(input.recorder) && _io51(input.recorder)); const _io38 = input => (undefined === input.label || "string" === typeof input.label) && (undefined === input.value || "string" === typeof input.value); const _io39 = input => (undefined === input.mask || "boolean" === typeof input.mask) && (undefined === input.actionSafe || "boolean" === typeof input.actionSafe) && (undefined === input.titleSafe || "boolean" === typeof input.titleSafe); const _io40 = 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 _io41 = 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) && _io42(elem))) && (undefined === input.colors || Array.isArray(input.colors) && input.colors.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io43(elem))) && (undefined === input.overridableProperties || Array.isArray(input.overridableProperties) && input.overridableProperties.every(elem => null === elem || true === _iv29.has(elem))) && (undefined === input.previewResolutionScale || "number" === typeof input.previewResolutionScale); const _io42 = 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 _io43 = input => (null === input.label || undefined === input.label || "string" === typeof input.label) && (null === input.color || undefined === input.color || "string" === typeof input.color); const _io44 = input => (undefined === input.label || "string" === typeof input.label) && (undefined === input.aspectRatio || "string" === typeof input.aspectRatio); const _io45 = 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 _io46 = input => undefined === input.subtitleDisclaimer || "object" === typeof input.subtitleDisclaimer && null !== input.subtitleDisclaimer && false === Array.isArray(input.subtitleDisclaimer) && _io47(input.subtitleDisclaimer); const _io47 = input => (undefined === input.isUserConfigurable || "boolean" === typeof input.isUserConfigurable) && (undefined === input.defaultValue || "object" === typeof input.defaultValue && null !== input.defaultValue && false === Array.isArray(input.defaultValue) && _io48(input.defaultValue)); const _io48 = 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) && _io49(elem))) && (undefined === input.offset || "number" === typeof input.offset) && (undefined === input.duration || "number" === typeof input.duration); const _io49 = input => (undefined === input.language || "string" === typeof input.language) && (undefined === input.value || "string" === typeof input.value); const _io50 = 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 _io51 = input => (undefined === input.microphone || "object" === typeof input.microphone && null !== input.microphone && false === Array.isArray(input.microphone) && _io52(input.microphone)) && (undefined === input.webcam || "object" === typeof input.webcam && null !== input.webcam && false === Array.isArray(input.webcam) && _io53(input.webcam)) && (undefined === input.countdown || "number" === typeof input.countdown); const _io52 = input => (undefined === input.deviceId || "string" === typeof input.deviceId) && (undefined === input.inputGainDb || "number" === typeof input.inputGainDb) && (undefined === input.monitorInput || "boolean" === typeof input.monitorInput); const _io53 = input => (undefined === input.deviceId || "string" === typeof input.deviceId) && (undefined === input.frameRate || "number" === typeof input.frameRate) && (undefined === input.aspectRatio || "number" === typeof input.aspectRatio); const _io54 = input => (undefined === input.thumbnailView || "none" === input.thumbnailView || "filmStrip" === input.thumbnailView || "thumbnail" === input.thumbnailView) && (undefined === input.audioMapping || "object" === typeof input.audioMapping && null !== input.audioMapping && false === Array.isArray(input.audioMapping) && _io55(input.audioMapping)) && (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 _io55 = input => undefined === input.presets || Array.isArray(input.presets) && input.presets.every(elem => "object" === typeof elem && null !== elem && _io56(elem)); const _io56 = input => "string" === typeof input.id && "string" === typeof input.title && (undefined === input.mapping || Array.isArray(input.mapping) && input.mapping.every(elem => Array.isArray(elem) && elem.every(elem => "number" === typeof elem))) && (undefined === input.mute || Array.isArray(input.mute) && input.mute.every(elem => "boolean" === typeof elem)) && (undefined === input.minInChannels || "number" === typeof input.minInChannels) && (undefined === input.maxInChannels || "number" === typeof input.maxInChannels) && (undefined === input.minOutChannels || "number" === typeof input.minOutChannels) && (undefined === input.maxOutChannels || "number" === typeof input.maxOutChannels); 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.monitorInput || "boolean" === typeof input.monitorInput) && (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 === _iv38.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) && _io75(input.rive)); const _io73 = input => (undefined === input.videoBin || "string" === typeof input.videoBin) && (undefined === input.imageBin || "string" === typeof input.imageBin) && (undefined === input.audioBin || "string" === typeof input.audioBin) && (undefined === input.timelineBin || "string" === typeof input.timelineBin) && (undefined === input.clipBin || "string" === typeof input.clipBin) && (undefined === input.downloadPath || "string" === typeof input.downloadPath) && (undefined === input.renderPath || "string" === typeof input.renderPath) && (undefined === input.renderPresetPath || "string" === typeof input.renderPresetPath) && (undefined === input.videoRenderPreset || "string" === typeof input.videoRenderPreset) && (undefined === input.imageRenderPreset || "string" === typeof input.imageRenderPreset) && (undefined === input.audioRenderPreset || "string" === typeof input.audioRenderPreset) && (undefined === input.forceRender || "boolean" === typeof input.forceRender) && (undefined === input.useProxies || "boolean" === typeof input.useProxies) && (undefined === input.deleteIntermediateFiles || "boolean" === typeof input.deleteIntermediateFiles) && (undefined === input.bodymovin || "object" === typeof input.bodymovin && null !== input.bodymovin && false === Array.isArray(input.bodymovin) && _io74(input.bodymovin)); const _io74 = input => undefined === input.template || "string" === typeof input.template; const _io75 = input => undefined === input.template || "string" === typeof input.template; const _io76 = input => (undefined === input.collections || "boolean" === typeof input.collections) && (undefined === input.aiMetadata || "boolean" === typeof input.aiMetadata) && (undefined === input.semanticSearch || "boolean" === typeof input.semanticSearch) && (undefined === input.ameRemoteRendering || "boolean" === typeof input.ameRemoteRendering); const _io77 = 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.downloadFiles || "boolean" === typeof input.downloadFiles) && (undefined === input.supportPortal || "boolean" === typeof input.supportPortal) && (undefined === input.multiplexWebSockets || "boolean" === typeof input.multiplexWebSockets) && (undefined === input.systemHealth || "boolean" === typeof input.systemHealth) && (undefined === input.systemHealthIgnore || "boolean" === typeof input.systemHealthIgnore); const _io78 = input => undefined === input.events || "object" === typeof input.events && null !== input.events && false === Array.isArray(input.events) && _io79(input.events); const _io79 = 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) && _io80(input.publishSucceeded)); const _io80 = input => Object.keys(input).every(key => {
|
|
19763
|
+
}); const _io37 = input => (undefined === input.volume || "number" === typeof input.volume) && (undefined === input.muted || "boolean" === typeof input.muted) && (undefined === input.graphics || "boolean" === typeof input.graphics) && (undefined === input.waveform || "boolean" === typeof input.waveform) && (undefined === input.defaultFrameRate || "number" === typeof input.defaultFrameRate) && (undefined === input.dropFrame || "boolean" === typeof input.dropFrame) && (undefined === input.placeholder || "string" === typeof input.placeholder) && (undefined === input.warnSubclipDuration || "number" === typeof input.warnSubclipDuration) && (undefined === input.displayAspectRatioPresets || Array.isArray(input.displayAspectRatioPresets) && input.displayAspectRatioPresets.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io38(elem))) && (undefined === input.guide || "object" === typeof input.guide && null !== input.guide && false === Array.isArray(input.guide) && _io39(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) && _io40(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) && _io41(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) && _io44(elem))) && (undefined === input.download || "boolean" === typeof input.download) && (undefined === input.editMode || "object" === typeof input.editMode && null !== input.editMode && false === Array.isArray(input.editMode) && _io45(input.editMode)) && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && false === Array.isArray(input.transcribe) && _io46(input.transcribe)) && (null !== input.openCommand && (undefined === input.openCommand || "string" === typeof input.openCommand || "object" === typeof input.openCommand && null !== input.openCommand && false === Array.isArray(input.openCommand) && _io50(input.openCommand))) && (undefined === input.recorder || "object" === typeof input.recorder && null !== input.recorder && false === Array.isArray(input.recorder) && _io51(input.recorder)); const _io38 = input => (undefined === input.label || "string" === typeof input.label) && (undefined === input.value || "string" === typeof input.value); const _io39 = input => (undefined === input.mask || "boolean" === typeof input.mask) && (undefined === input.actionSafe || "boolean" === typeof input.actionSafe) && (undefined === input.titleSafe || "boolean" === typeof input.titleSafe); const _io40 = 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 _io41 = 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) && _io42(elem))) && (undefined === input.colors || Array.isArray(input.colors) && input.colors.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io43(elem))) && (undefined === input.overridableProperties || Array.isArray(input.overridableProperties) && input.overridableProperties.every(elem => null === elem || true === _iv29.has(elem))) && (undefined === input.previewResolutionScale || "number" === typeof input.previewResolutionScale); const _io42 = 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 _io43 = input => (null === input.label || undefined === input.label || "string" === typeof input.label) && (null === input.color || undefined === input.color || "string" === typeof input.color); const _io44 = input => (undefined === input.label || "string" === typeof input.label) && (undefined === input.aspectRatio || "string" === typeof input.aspectRatio); const _io45 = 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 _io46 = input => undefined === input.subtitleDisclaimer || "object" === typeof input.subtitleDisclaimer && null !== input.subtitleDisclaimer && false === Array.isArray(input.subtitleDisclaimer) && _io47(input.subtitleDisclaimer); const _io47 = input => (undefined === input.isUserConfigurable || "boolean" === typeof input.isUserConfigurable) && (undefined === input.defaultValue || "object" === typeof input.defaultValue && null !== input.defaultValue && false === Array.isArray(input.defaultValue) && _io48(input.defaultValue)); const _io48 = 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) && _io49(elem))) && (undefined === input.offset || "number" === typeof input.offset) && (undefined === input.duration || "number" === typeof input.duration); const _io49 = input => (undefined === input.language || "string" === typeof input.language) && (undefined === input.value || "string" === typeof input.value); const _io50 = 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 _io51 = input => (undefined === input.microphone || "object" === typeof input.microphone && null !== input.microphone && false === Array.isArray(input.microphone) && _io52(input.microphone)) && (undefined === input.webcam || "object" === typeof input.webcam && null !== input.webcam && false === Array.isArray(input.webcam) && _io53(input.webcam)) && (undefined === input.countdown || "number" === typeof input.countdown); const _io52 = input => (undefined === input.deviceId || "string" === typeof input.deviceId) && (undefined === input.inputGainDb || "number" === typeof input.inputGainDb) && (undefined === input.monitorInput || "boolean" === typeof input.monitorInput); const _io53 = input => (undefined === input.deviceId || "string" === typeof input.deviceId) && (undefined === input.frameRate || "number" === typeof input.frameRate) && (undefined === input.aspectRatio || "number" === typeof input.aspectRatio); const _io54 = input => (undefined === input.thumbnailView || "none" === input.thumbnailView || "filmStrip" === input.thumbnailView || "thumbnail" === input.thumbnailView) && (undefined === input.audioMapping || "object" === typeof input.audioMapping && null !== input.audioMapping && false === Array.isArray(input.audioMapping) && _io55(input.audioMapping)) && (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 _io55 = input => undefined === input.presets || Array.isArray(input.presets) && input.presets.every(elem => "object" === typeof elem && null !== elem && _io56(elem)); const _io56 = input => "string" === typeof input.id && "string" === typeof input.title && (undefined === input.mapping || Array.isArray(input.mapping) && input.mapping.every(elem => Array.isArray(elem) && elem.every(elem => "number" === typeof elem))) && (undefined === input.mute || Array.isArray(input.mute) && input.mute.every(elem => "boolean" === typeof elem)) && (undefined === input.minInChannels || "number" === typeof input.minInChannels) && (undefined === input.maxInChannels || "number" === typeof input.maxInChannels) && (undefined === input.minOutChannels || "number" === typeof input.minOutChannels) && (undefined === input.maxOutChannels || "number" === typeof input.maxOutChannels); 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.monitorInput || "boolean" === typeof input.monitorInput) && (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 === _iv38.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)) && (undefined === input.presets || Array.isArray(input.presets) && input.presets.every(elem => "object" === typeof elem && null !== elem && _iu0(elem))); const _io71 = input => "script" === input.type && "string" === typeof input.title && "number" === typeof input.horizontalMargin && ("A5" === input.pageSize || "A4" === input.pageSize || "A3" === input.pageSize) && ("landscape" === input.orientation || "portrait" === input.orientation) && "number" === typeof input.fontSize && (undefined === input.fontFamily || "string" === typeof input.fontFamily) && (Array.isArray(input.hide) && input.hide.every(elem => "event" === elem || "event-data" === elem || "comment" === elem || "heading" === elem || "list" === elem || "quote" === elem || "paragraph" === elem || "horizontalrule" === elem)); const _io72 = input => "rundown" === input.type && (Array.isArray(input.columns) && input.columns.every(elem => "object" === typeof elem && null !== elem && _io73(elem))) && (undefined === input.rangeStart || "number" === typeof input.rangeStart) && (undefined === input.rangeEnd || "number" === typeof input.rangeEnd) && (Array.isArray(input.hide) && input.hide.every(elem => "event" === elem || "comment" === elem || "heading" === elem || "list" === elem || "quote" === elem || "paragraph" === elem || "horizontalrule" === elem)) && "string" === typeof input.title && "number" === typeof input.horizontalMargin && ("A5" === input.pageSize || "A4" === input.pageSize || "A3" === input.pageSize) && ("landscape" === input.orientation || "portrait" === input.orientation) && "number" === typeof input.fontSize && (undefined === input.fontFamily || "string" === typeof input.fontFamily); const _io73 = input => ("type" === input.key || "id" === input.key || "title" === input.key || "time" === input.key || "duration" === input.key || "position" === input.key || "accDuration" === input.key) && "string" === typeof input.label && "string" === typeof input.width && ("right" === input.textAlign || "left" === input.textAlign || "center" === input.textAlign); const _io74 = input => (undefined === input.id || "string" === typeof input.id) && (undefined === input.folded || "boolean" === typeof input.folded); const _io75 = input => (undefined === input.adobe || "object" === typeof input.adobe && null !== input.adobe && false === Array.isArray(input.adobe) && _io76(input.adobe)) && (undefined === input.ograf || "object" === typeof input.ograf && null !== input.ograf && false === Array.isArray(input.ograf) && _io78(input.ograf)) && (undefined === input.rive || "object" === typeof input.rive && null !== input.rive && false === Array.isArray(input.rive) && _io79(input.rive)); const _io76 = input => (undefined === input.videoBin || "string" === typeof input.videoBin) && (undefined === input.imageBin || "string" === typeof input.imageBin) && (undefined === input.audioBin || "string" === typeof input.audioBin) && (undefined === input.timelineBin || "string" === typeof input.timelineBin) && (undefined === input.clipBin || "string" === typeof input.clipBin) && (undefined === input.downloadPath || "string" === typeof input.downloadPath) && (undefined === input.renderPath || "string" === typeof input.renderPath) && (undefined === input.renderPresetPath || "string" === typeof input.renderPresetPath) && (undefined === input.renderPresets || Array.isArray(input.renderPresets) && input.renderPresets.every(elem => "string" === typeof elem)) && (undefined === input.videoRenderPreset || "string" === typeof input.videoRenderPreset) && (undefined === input.imageRenderPreset || "string" === typeof input.imageRenderPreset) && (undefined === input.audioRenderPreset || "string" === typeof input.audioRenderPreset) && (undefined === input.forceRender || "boolean" === typeof input.forceRender) && (undefined === input.useProxies || "boolean" === typeof input.useProxies) && (undefined === input.deleteIntermediateFiles || "boolean" === typeof input.deleteIntermediateFiles) && (undefined === input.bodymovin || "object" === typeof input.bodymovin && null !== input.bodymovin && false === Array.isArray(input.bodymovin) && _io77(input.bodymovin)); const _io77 = input => undefined === input.template || "string" === typeof input.template; const _io78 = input => undefined === input.template || "string" === typeof input.template; const _io79 = input => undefined === input.template || "string" === typeof input.template; const _io80 = input => (undefined === input.collections || "boolean" === typeof input.collections) && (undefined === input.aiMetadata || "boolean" === typeof input.aiMetadata) && (undefined === input.semanticSearch || "boolean" === typeof input.semanticSearch) && (undefined === input.ameRemoteRendering || "boolean" === typeof input.ameRemoteRendering); const _io81 = 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.downloadFiles || "boolean" === typeof input.downloadFiles) && (undefined === input.supportPortal || "boolean" === typeof input.supportPortal) && (undefined === input.multiplexWebSockets || "boolean" === typeof input.multiplexWebSockets) && (undefined === input.systemHealth || "boolean" === typeof input.systemHealth) && (undefined === input.systemHealthIgnore || "boolean" === typeof input.systemHealthIgnore); const _io82 = input => undefined === input.events || "object" === typeof input.events && null !== input.events && false === Array.isArray(input.events) && _io83(input.events); const _io83 = 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) && _io84(input.publishSucceeded)); const _io84 = input => Object.keys(input).every(key => {
|
|
19406
19764
|
const value = input[key];
|
|
19407
19765
|
if (undefined === value)
|
|
19408
19766
|
return true;
|
|
19409
19767
|
return Array.isArray(value) && value.every(elem => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem);
|
|
19410
|
-
}); const
|
|
19768
|
+
}); const _io85 = input => (undefined === input.create || "object" === typeof input.create && null !== input.create && false === Array.isArray(input.create) && _io86(input.create)) && (undefined === input.duplicate || "object" === typeof input.duplicate && null !== input.duplicate && false === Array.isArray(input.duplicate) && _io87(input.duplicate)); const _io86 = input => (undefined === input.titlePrefix || "string" === typeof input.titlePrefix) && (undefined === input.titleSuffix || "string" === typeof input.titleSuffix); const _io87 = input => (undefined === input.titlePrefix || "string" === typeof input.titlePrefix) && (undefined === input.titleSuffix || "string" === typeof input.titleSuffix); const _io88 = 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 _io89 = input => undefined === input.disableHotArea || "boolean" === typeof input.disableHotArea; const _io90 = input => undefined === input.refreshInterval || "number" === typeof input.refreshInterval; const _io91 = input => undefined === input.layout || "string" === typeof input.layout; const _io92 = input => (undefined === input.ignoredWarnings || Array.isArray(input.ignoredWarnings) && input.ignoredWarnings.every(elem => "string" === typeof elem)) && (undefined === input.ignoredErrors || Array.isArray(input.ignoredErrors) && input.ignoredErrors.every(elem => "string" === typeof elem)); const _io93 = input => (undefined === input.enableUpdate || "boolean" === typeof input.enableUpdate) && (undefined === input.autoUpdate || "boolean" === typeof input.autoUpdate); const _iu0 = input => (() => {
|
|
19769
|
+
if ("script" === input.type)
|
|
19770
|
+
return _io71(input);
|
|
19771
|
+
else if ("rundown" === input.type)
|
|
19772
|
+
return _io72(input);
|
|
19773
|
+
else
|
|
19774
|
+
return false;
|
|
19775
|
+
})(); const _vo0 = (input, _path, _exceptionable = true) => [undefined === input.autoLogoutTime || "number" === typeof input.autoLogoutTime || _report(_exceptionable, {
|
|
19411
19776
|
path: _path + ".autoLogoutTime",
|
|
19412
19777
|
expected: "(number | undefined)",
|
|
19413
19778
|
value: input.autoLogoutTime
|
|
@@ -19431,12 +19796,12 @@ function _validateDomainRecord(domain, input) {
|
|
|
19431
19796
|
path: _path + ".googleWhitelist",
|
|
19432
19797
|
expected: "(Array<__type> | undefined)",
|
|
19433
19798
|
value: input.googleWhitelist
|
|
19434
|
-
})) && input.googleWhitelist.map((elem,
|
|
19435
|
-
path: _path + ".googleWhitelist[" +
|
|
19799
|
+
})) && input.googleWhitelist.map((elem, _index52) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
19800
|
+
path: _path + ".googleWhitelist[" + _index52 + "]",
|
|
19436
19801
|
expected: "__type.o2",
|
|
19437
19802
|
value: elem
|
|
19438
|
-
})) && _vo3(elem, _path + ".googleWhitelist[" +
|
|
19439
|
-
path: _path + ".googleWhitelist[" +
|
|
19803
|
+
})) && _vo3(elem, _path + ".googleWhitelist[" + _index52 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
19804
|
+
path: _path + ".googleWhitelist[" + _index52 + "]",
|
|
19440
19805
|
expected: "__type.o2",
|
|
19441
19806
|
value: elem
|
|
19442
19807
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -19447,8 +19812,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
19447
19812
|
path: _path + ".googleUserRoles",
|
|
19448
19813
|
expected: "(Array<string> | undefined)",
|
|
19449
19814
|
value: input.googleUserRoles
|
|
19450
|
-
})) && input.googleUserRoles.map((elem,
|
|
19451
|
-
path: _path + ".googleUserRoles[" +
|
|
19815
|
+
})) && input.googleUserRoles.map((elem, _index53) => "string" === typeof elem || _report(_exceptionable, {
|
|
19816
|
+
path: _path + ".googleUserRoles[" + _index53 + "]",
|
|
19452
19817
|
expected: "string",
|
|
19453
19818
|
value: elem
|
|
19454
19819
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -19459,12 +19824,12 @@ function _validateDomainRecord(domain, input) {
|
|
|
19459
19824
|
path: _path + ".azureWhitelist",
|
|
19460
19825
|
expected: "(Array<__type>.o1 | undefined)",
|
|
19461
19826
|
value: input.azureWhitelist
|
|
19462
|
-
})) && input.azureWhitelist.map((elem,
|
|
19463
|
-
path: _path + ".azureWhitelist[" +
|
|
19827
|
+
})) && input.azureWhitelist.map((elem, _index54) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
19828
|
+
path: _path + ".azureWhitelist[" + _index54 + "]",
|
|
19464
19829
|
expected: "__type.o3",
|
|
19465
19830
|
value: elem
|
|
19466
|
-
})) && _vo4(elem, _path + ".azureWhitelist[" +
|
|
19467
|
-
path: _path + ".azureWhitelist[" +
|
|
19831
|
+
})) && _vo4(elem, _path + ".azureWhitelist[" + _index54 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
19832
|
+
path: _path + ".azureWhitelist[" + _index54 + "]",
|
|
19468
19833
|
expected: "__type.o3",
|
|
19469
19834
|
value: elem
|
|
19470
19835
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -19475,8 +19840,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
19475
19840
|
path: _path + ".azureUserRoles",
|
|
19476
19841
|
expected: "(Array<string> | undefined)",
|
|
19477
19842
|
value: input.azureUserRoles
|
|
19478
|
-
})) && input.azureUserRoles.map((elem,
|
|
19479
|
-
path: _path + ".azureUserRoles[" +
|
|
19843
|
+
})) && input.azureUserRoles.map((elem, _index55) => "string" === typeof elem || _report(_exceptionable, {
|
|
19844
|
+
path: _path + ".azureUserRoles[" + _index55 + "]",
|
|
19480
19845
|
expected: "string",
|
|
19481
19846
|
value: elem
|
|
19482
19847
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -19527,16 +19892,16 @@ function _validateDomainRecord(domain, input) {
|
|
|
19527
19892
|
path: _path + ".exclusiveTagGroups",
|
|
19528
19893
|
expected: "(Array<Array<string>> | undefined)",
|
|
19529
19894
|
value: input.exclusiveTagGroups
|
|
19530
|
-
})) && input.exclusiveTagGroups.map((elem,
|
|
19531
|
-
path: _path + ".exclusiveTagGroups[" +
|
|
19895
|
+
})) && input.exclusiveTagGroups.map((elem, _index56) => (Array.isArray(elem) || _report(_exceptionable, {
|
|
19896
|
+
path: _path + ".exclusiveTagGroups[" + _index56 + "]",
|
|
19532
19897
|
expected: "Array<string>",
|
|
19533
19898
|
value: elem
|
|
19534
|
-
})) && elem.map((elem,
|
|
19535
|
-
path: _path + ".exclusiveTagGroups[" +
|
|
19899
|
+
})) && elem.map((elem, _index57) => "string" === typeof elem || _report(_exceptionable, {
|
|
19900
|
+
path: _path + ".exclusiveTagGroups[" + _index56 + "][" + _index57 + "]",
|
|
19536
19901
|
expected: "string",
|
|
19537
19902
|
value: elem
|
|
19538
19903
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
19539
|
-
path: _path + ".exclusiveTagGroups[" +
|
|
19904
|
+
path: _path + ".exclusiveTagGroups[" + _index56 + "]",
|
|
19540
19905
|
expected: "Array<string>",
|
|
19541
19906
|
value: elem
|
|
19542
19907
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -19655,12 +20020,12 @@ function _validateDomainRecord(domain, input) {
|
|
|
19655
20020
|
path: _path + ".commands",
|
|
19656
20021
|
expected: "(Array<__type>.o9 | undefined)",
|
|
19657
20022
|
value: input.commands
|
|
19658
|
-
})) && input.commands.map((elem,
|
|
19659
|
-
path: _path + ".commands[" +
|
|
20023
|
+
})) && input.commands.map((elem, _index58) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
20024
|
+
path: _path + ".commands[" + _index58 + "]",
|
|
19660
20025
|
expected: "__type.o49",
|
|
19661
20026
|
value: elem
|
|
19662
|
-
})) && _vo60(elem, _path + ".commands[" +
|
|
19663
|
-
path: _path + ".commands[" +
|
|
20027
|
+
})) && _vo60(elem, _path + ".commands[" + _index58 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
20028
|
+
path: _path + ".commands[" + _index58 + "]",
|
|
19664
20029
|
expected: "__type.o49",
|
|
19665
20030
|
value: elem
|
|
19666
20031
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -19671,8 +20036,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
19671
20036
|
path: _path + ".predefinedTags",
|
|
19672
20037
|
expected: "(Array<string> | undefined)",
|
|
19673
20038
|
value: input.predefinedTags
|
|
19674
|
-
})) && input.predefinedTags.map((elem,
|
|
19675
|
-
path: _path + ".predefinedTags[" +
|
|
20039
|
+
})) && input.predefinedTags.map((elem, _index59) => "string" === typeof elem || _report(_exceptionable, {
|
|
20040
|
+
path: _path + ".predefinedTags[" + _index59 + "]",
|
|
19676
20041
|
expected: "string",
|
|
19677
20042
|
value: elem
|
|
19678
20043
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -19699,12 +20064,12 @@ function _validateDomainRecord(domain, input) {
|
|
|
19699
20064
|
path: _path + ".hiddenPreviews",
|
|
19700
20065
|
expected: "(Array<__type>.o10 | undefined)",
|
|
19701
20066
|
value: input.hiddenPreviews
|
|
19702
|
-
})) && input.hiddenPreviews.map((elem,
|
|
19703
|
-
path: _path + ".hiddenPreviews[" +
|
|
20067
|
+
})) && input.hiddenPreviews.map((elem, _index60) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
20068
|
+
path: _path + ".hiddenPreviews[" + _index60 + "]",
|
|
19704
20069
|
expected: "__type.o60",
|
|
19705
20070
|
value: elem
|
|
19706
|
-
})) &&
|
|
19707
|
-
path: _path + ".hiddenPreviews[" +
|
|
20071
|
+
})) && _vo74(elem, _path + ".hiddenPreviews[" + _index60 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
20072
|
+
path: _path + ".hiddenPreviews[" + _index60 + "]",
|
|
19708
20073
|
expected: "__type.o60",
|
|
19709
20074
|
value: elem
|
|
19710
20075
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -19715,7 +20080,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
19715
20080
|
path: _path + ".plugins",
|
|
19716
20081
|
expected: "(__type.o61 | undefined)",
|
|
19717
20082
|
value: input.plugins
|
|
19718
|
-
})) &&
|
|
20083
|
+
})) && _vo75(input.plugins, _path + ".plugins", true && _exceptionable) || _report(_exceptionable, {
|
|
19719
20084
|
path: _path + ".plugins",
|
|
19720
20085
|
expected: "(__type.o61 | undefined)",
|
|
19721
20086
|
value: input.plugins
|
|
@@ -19729,27 +20094,27 @@ function _validateDomainRecord(domain, input) {
|
|
|
19729
20094
|
value: input.debug
|
|
19730
20095
|
}), undefined === input.featurePreview || ("object" === typeof input.featurePreview && null !== input.featurePreview && false === Array.isArray(input.featurePreview) || _report(_exceptionable, {
|
|
19731
20096
|
path: _path + ".featurePreview",
|
|
19732
|
-
expected: "(__type.
|
|
20097
|
+
expected: "(__type.o66 | undefined)",
|
|
19733
20098
|
value: input.featurePreview
|
|
19734
|
-
})) &&
|
|
20099
|
+
})) && _vo80(input.featurePreview, _path + ".featurePreview", true && _exceptionable) || _report(_exceptionable, {
|
|
19735
20100
|
path: _path + ".featurePreview",
|
|
19736
|
-
expected: "(__type.
|
|
20101
|
+
expected: "(__type.o66 | undefined)",
|
|
19737
20102
|
value: input.featurePreview
|
|
19738
20103
|
}), undefined === input.flags || ("object" === typeof input.flags && null !== input.flags && false === Array.isArray(input.flags) || _report(_exceptionable, {
|
|
19739
20104
|
path: _path + ".flags",
|
|
19740
|
-
expected: "(__type.
|
|
20105
|
+
expected: "(__type.o67 | undefined)",
|
|
19741
20106
|
value: input.flags
|
|
19742
|
-
})) &&
|
|
20107
|
+
})) && _vo81(input.flags, _path + ".flags", true && _exceptionable) || _report(_exceptionable, {
|
|
19743
20108
|
path: _path + ".flags",
|
|
19744
|
-
expected: "(__type.
|
|
20109
|
+
expected: "(__type.o67 | undefined)",
|
|
19745
20110
|
value: input.flags
|
|
19746
20111
|
}), undefined === input.notifications || ("object" === typeof input.notifications && null !== input.notifications && false === Array.isArray(input.notifications) || _report(_exceptionable, {
|
|
19747
20112
|
path: _path + ".notifications",
|
|
19748
|
-
expected: "(__type.
|
|
20113
|
+
expected: "(__type.o68 | undefined)",
|
|
19749
20114
|
value: input.notifications
|
|
19750
|
-
})) &&
|
|
20115
|
+
})) && _vo82(input.notifications, _path + ".notifications", true && _exceptionable) || _report(_exceptionable, {
|
|
19751
20116
|
path: _path + ".notifications",
|
|
19752
|
-
expected: "(__type.
|
|
20117
|
+
expected: "(__type.o68 | undefined)",
|
|
19753
20118
|
value: input.notifications
|
|
19754
20119
|
}), undefined === input.suppressDeleteAlert || "boolean" === typeof input.suppressDeleteAlert || _report(_exceptionable, {
|
|
19755
20120
|
path: _path + ".suppressDeleteAlert",
|
|
@@ -19757,59 +20122,59 @@ function _validateDomainRecord(domain, input) {
|
|
|
19757
20122
|
value: input.suppressDeleteAlert
|
|
19758
20123
|
}), undefined === input.clone || ("object" === typeof input.clone && null !== input.clone && false === Array.isArray(input.clone) || _report(_exceptionable, {
|
|
19759
20124
|
path: _path + ".clone",
|
|
19760
|
-
expected: "(__type.
|
|
20125
|
+
expected: "(__type.o71 | undefined)",
|
|
19761
20126
|
value: input.clone
|
|
19762
|
-
})) &&
|
|
20127
|
+
})) && _vo85(input.clone, _path + ".clone", true && _exceptionable) || _report(_exceptionable, {
|
|
19763
20128
|
path: _path + ".clone",
|
|
19764
|
-
expected: "(__type.
|
|
20129
|
+
expected: "(__type.o71 | undefined)",
|
|
19765
20130
|
value: input.clone
|
|
19766
20131
|
}), undefined === input.utilsAssetEditorPanel || ("object" === typeof input.utilsAssetEditorPanel && null !== input.utilsAssetEditorPanel && false === Array.isArray(input.utilsAssetEditorPanel) || _report(_exceptionable, {
|
|
19767
20132
|
path: _path + ".utilsAssetEditorPanel",
|
|
19768
|
-
expected: "(__type.
|
|
20133
|
+
expected: "(__type.o74 | undefined)",
|
|
19769
20134
|
value: input.utilsAssetEditorPanel
|
|
19770
|
-
})) &&
|
|
20135
|
+
})) && _vo88(input.utilsAssetEditorPanel, _path + ".utilsAssetEditorPanel", true && _exceptionable) || _report(_exceptionable, {
|
|
19771
20136
|
path: _path + ".utilsAssetEditorPanel",
|
|
19772
|
-
expected: "(__type.
|
|
20137
|
+
expected: "(__type.o74 | undefined)",
|
|
19773
20138
|
value: input.utilsAssetEditorPanel
|
|
19774
20139
|
}), undefined === input.display || ("object" === typeof input.display && null !== input.display && false === Array.isArray(input.display) || _report(_exceptionable, {
|
|
19775
20140
|
path: _path + ".display",
|
|
19776
|
-
expected: "(__type.
|
|
20141
|
+
expected: "(__type.o75 | undefined)",
|
|
19777
20142
|
value: input.display
|
|
19778
|
-
})) &&
|
|
20143
|
+
})) && _vo89(input.display, _path + ".display", true && _exceptionable) || _report(_exceptionable, {
|
|
19779
20144
|
path: _path + ".display",
|
|
19780
|
-
expected: "(__type.
|
|
20145
|
+
expected: "(__type.o75 | undefined)",
|
|
19781
20146
|
value: input.display
|
|
19782
20147
|
}), undefined === input.bookmarks || ("object" === typeof input.bookmarks && null !== input.bookmarks && false === Array.isArray(input.bookmarks) || _report(_exceptionable, {
|
|
19783
20148
|
path: _path + ".bookmarks",
|
|
19784
|
-
expected: "(__type.
|
|
20149
|
+
expected: "(__type.o76 | undefined)",
|
|
19785
20150
|
value: input.bookmarks
|
|
19786
|
-
})) &&
|
|
20151
|
+
})) && _vo90(input.bookmarks, _path + ".bookmarks", true && _exceptionable) || _report(_exceptionable, {
|
|
19787
20152
|
path: _path + ".bookmarks",
|
|
19788
|
-
expected: "(__type.
|
|
20153
|
+
expected: "(__type.o76 | undefined)",
|
|
19789
20154
|
value: input.bookmarks
|
|
19790
20155
|
}), undefined === input.shotbox || ("object" === typeof input.shotbox && null !== input.shotbox && false === Array.isArray(input.shotbox) || _report(_exceptionable, {
|
|
19791
20156
|
path: _path + ".shotbox",
|
|
19792
|
-
expected: "(__type.
|
|
20157
|
+
expected: "(__type.o77 | undefined)",
|
|
19793
20158
|
value: input.shotbox
|
|
19794
|
-
})) &&
|
|
20159
|
+
})) && _vo91(input.shotbox, _path + ".shotbox", true && _exceptionable) || _report(_exceptionable, {
|
|
19795
20160
|
path: _path + ".shotbox",
|
|
19796
|
-
expected: "(__type.
|
|
20161
|
+
expected: "(__type.o77 | undefined)",
|
|
19797
20162
|
value: input.shotbox
|
|
19798
20163
|
}), undefined === input.performance || ("object" === typeof input.performance && null !== input.performance && false === Array.isArray(input.performance) || _report(_exceptionable, {
|
|
19799
20164
|
path: _path + ".performance",
|
|
19800
|
-
expected: "(__type.
|
|
20165
|
+
expected: "(__type.o78 | undefined)",
|
|
19801
20166
|
value: input.performance
|
|
19802
|
-
})) &&
|
|
20167
|
+
})) && _vo92(input.performance, _path + ".performance", true && _exceptionable) || _report(_exceptionable, {
|
|
19803
20168
|
path: _path + ".performance",
|
|
19804
|
-
expected: "(__type.
|
|
20169
|
+
expected: "(__type.o78 | undefined)",
|
|
19805
20170
|
value: input.performance
|
|
19806
20171
|
}), undefined === input.app || ("object" === typeof input.app && null !== input.app && false === Array.isArray(input.app) || _report(_exceptionable, {
|
|
19807
20172
|
path: _path + ".app",
|
|
19808
|
-
expected: "(__type.
|
|
20173
|
+
expected: "(__type.o79 | undefined)",
|
|
19809
20174
|
value: input.app
|
|
19810
|
-
})) &&
|
|
20175
|
+
})) && _vo93(input.app, _path + ".app", true && _exceptionable) || _report(_exceptionable, {
|
|
19811
20176
|
path: _path + ".app",
|
|
19812
|
-
expected: "(__type.
|
|
20177
|
+
expected: "(__type.o79 | undefined)",
|
|
19813
20178
|
value: input.app
|
|
19814
20179
|
})].every(flag => flag); const _vo1 = (input, _path, _exceptionable = true) => [undefined === input.overrideUserContact || "boolean" === typeof input.overrideUserContact || _report(_exceptionable, {
|
|
19815
20180
|
path: _path + ".overrideUserContact",
|
|
@@ -19969,8 +20334,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
19969
20334
|
path: _path + ".sortOrder",
|
|
19970
20335
|
expected: "(Array<string> | undefined)",
|
|
19971
20336
|
value: input.sortOrder
|
|
19972
|
-
})) && input.sortOrder.map((elem,
|
|
19973
|
-
path: _path + ".sortOrder[" +
|
|
20337
|
+
})) && input.sortOrder.map((elem, _index61) => "string" === typeof elem || _report(_exceptionable, {
|
|
20338
|
+
path: _path + ".sortOrder[" + _index61 + "]",
|
|
19974
20339
|
expected: "string",
|
|
19975
20340
|
value: elem
|
|
19976
20341
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -19981,8 +20346,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
19981
20346
|
path: _path + ".include",
|
|
19982
20347
|
expected: "(Array<string> | undefined)",
|
|
19983
20348
|
value: input.include
|
|
19984
|
-
})) && input.include.map((elem,
|
|
19985
|
-
path: _path + ".include[" +
|
|
20349
|
+
})) && input.include.map((elem, _index62) => "string" === typeof elem || _report(_exceptionable, {
|
|
20350
|
+
path: _path + ".include[" + _index62 + "]",
|
|
19986
20351
|
expected: "string",
|
|
19987
20352
|
value: elem
|
|
19988
20353
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -19993,8 +20358,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
19993
20358
|
path: _path + ".exclude",
|
|
19994
20359
|
expected: "(Array<string> | undefined)",
|
|
19995
20360
|
value: input.exclude
|
|
19996
|
-
})) && input.exclude.map((elem,
|
|
19997
|
-
path: _path + ".exclude[" +
|
|
20361
|
+
})) && input.exclude.map((elem, _index63) => "string" === typeof elem || _report(_exceptionable, {
|
|
20362
|
+
path: _path + ".exclude[" + _index63 + "]",
|
|
19998
20363
|
expected: "string",
|
|
19999
20364
|
value: elem
|
|
20000
20365
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -20005,8 +20370,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
20005
20370
|
path: _path + ".include",
|
|
20006
20371
|
expected: "(Array<string> | undefined)",
|
|
20007
20372
|
value: input.include
|
|
20008
|
-
})) && input.include.map((elem,
|
|
20009
|
-
path: _path + ".include[" +
|
|
20373
|
+
})) && input.include.map((elem, _index64) => "string" === typeof elem || _report(_exceptionable, {
|
|
20374
|
+
path: _path + ".include[" + _index64 + "]",
|
|
20010
20375
|
expected: "string",
|
|
20011
20376
|
value: elem
|
|
20012
20377
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -20017,8 +20382,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
20017
20382
|
path: _path + ".exclude",
|
|
20018
20383
|
expected: "(Array<string> | undefined)",
|
|
20019
20384
|
value: input.exclude
|
|
20020
|
-
})) && input.exclude.map((elem,
|
|
20021
|
-
path: _path + ".exclude[" +
|
|
20385
|
+
})) && input.exclude.map((elem, _index65) => "string" === typeof elem || _report(_exceptionable, {
|
|
20386
|
+
path: _path + ".exclude[" + _index65 + "]",
|
|
20022
20387
|
expected: "string",
|
|
20023
20388
|
value: elem
|
|
20024
20389
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -20029,8 +20394,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
20029
20394
|
path: _path + ".include",
|
|
20030
20395
|
expected: "(Array<string> | undefined)",
|
|
20031
20396
|
value: input.include
|
|
20032
|
-
})) && input.include.map((elem,
|
|
20033
|
-
path: _path + ".include[" +
|
|
20397
|
+
})) && input.include.map((elem, _index66) => "string" === typeof elem || _report(_exceptionable, {
|
|
20398
|
+
path: _path + ".include[" + _index66 + "]",
|
|
20034
20399
|
expected: "string",
|
|
20035
20400
|
value: elem
|
|
20036
20401
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -20041,8 +20406,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
20041
20406
|
path: _path + ".exclude",
|
|
20042
20407
|
expected: "(Array<string> | undefined)",
|
|
20043
20408
|
value: input.exclude
|
|
20044
|
-
})) && input.exclude.map((elem,
|
|
20045
|
-
path: _path + ".exclude[" +
|
|
20409
|
+
})) && input.exclude.map((elem, _index67) => "string" === typeof elem || _report(_exceptionable, {
|
|
20410
|
+
path: _path + ".exclude[" + _index67 + "]",
|
|
20046
20411
|
expected: "string",
|
|
20047
20412
|
value: elem
|
|
20048
20413
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -20053,8 +20418,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
20053
20418
|
path: _path + ".include",
|
|
20054
20419
|
expected: "(Array<string> | undefined)",
|
|
20055
20420
|
value: input.include
|
|
20056
|
-
})) && input.include.map((elem,
|
|
20057
|
-
path: _path + ".include[" +
|
|
20421
|
+
})) && input.include.map((elem, _index68) => "string" === typeof elem || _report(_exceptionable, {
|
|
20422
|
+
path: _path + ".include[" + _index68 + "]",
|
|
20058
20423
|
expected: "string",
|
|
20059
20424
|
value: elem
|
|
20060
20425
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -20065,8 +20430,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
20065
20430
|
path: _path + ".exclude",
|
|
20066
20431
|
expected: "(Array<string> | undefined)",
|
|
20067
20432
|
value: input.exclude
|
|
20068
|
-
})) && input.exclude.map((elem,
|
|
20069
|
-
path: _path + ".exclude[" +
|
|
20433
|
+
})) && input.exclude.map((elem, _index69) => "string" === typeof elem || _report(_exceptionable, {
|
|
20434
|
+
path: _path + ".exclude[" + _index69 + "]",
|
|
20070
20435
|
expected: "string",
|
|
20071
20436
|
value: elem
|
|
20072
20437
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -20141,16 +20506,20 @@ function _validateDomainRecord(domain, input) {
|
|
|
20141
20506
|
path: _path + ".createMenu",
|
|
20142
20507
|
expected: "(__type.o19 | undefined)",
|
|
20143
20508
|
value: input.createMenu
|
|
20509
|
+
}), undefined === input.contentMaxWidth || "number" === typeof input.contentMaxWidth || _report(_exceptionable, {
|
|
20510
|
+
path: _path + ".contentMaxWidth",
|
|
20511
|
+
expected: "(number | undefined)",
|
|
20512
|
+
value: input.contentMaxWidth
|
|
20144
20513
|
}), undefined === input.colorTags || (Array.isArray(input.colorTags) || _report(_exceptionable, {
|
|
20145
20514
|
path: _path + ".colorTags",
|
|
20146
20515
|
expected: "(Array<PromotedTag> | undefined)",
|
|
20147
20516
|
value: input.colorTags
|
|
20148
|
-
})) && input.colorTags.map((elem,
|
|
20149
|
-
path: _path + ".colorTags[" +
|
|
20517
|
+
})) && input.colorTags.map((elem, _index70) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
20518
|
+
path: _path + ".colorTags[" + _index70 + "]",
|
|
20150
20519
|
expected: "PromotedTag",
|
|
20151
20520
|
value: elem
|
|
20152
|
-
})) && _vo24(elem, _path + ".colorTags[" +
|
|
20153
|
-
path: _path + ".colorTags[" +
|
|
20521
|
+
})) && _vo24(elem, _path + ".colorTags[" + _index70 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
20522
|
+
path: _path + ".colorTags[" + _index70 + "]",
|
|
20154
20523
|
expected: "PromotedTag",
|
|
20155
20524
|
value: elem
|
|
20156
20525
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -20177,19 +20546,19 @@ function _validateDomainRecord(domain, input) {
|
|
|
20177
20546
|
path: _path + ".colorHistory",
|
|
20178
20547
|
expected: "(Array<__type>.o2 | undefined)",
|
|
20179
20548
|
value: input.colorHistory
|
|
20180
|
-
})) && input.colorHistory.map((elem,
|
|
20181
|
-
path: _path + ".colorHistory[" +
|
|
20549
|
+
})) && input.colorHistory.map((elem, _index71) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
20550
|
+
path: _path + ".colorHistory[" + _index71 + "]",
|
|
20182
20551
|
expected: "__type.o22",
|
|
20183
20552
|
value: elem
|
|
20184
|
-
})) && _vo27(elem, _path + ".colorHistory[" +
|
|
20185
|
-
path: _path + ".colorHistory[" +
|
|
20553
|
+
})) && _vo27(elem, _path + ".colorHistory[" + _index71 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
20554
|
+
path: _path + ".colorHistory[" + _index71 + "]",
|
|
20186
20555
|
expected: "__type.o22",
|
|
20187
20556
|
value: elem
|
|
20188
20557
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
20189
20558
|
path: _path + ".colorHistory",
|
|
20190
20559
|
expected: "(Array<__type>.o2 | undefined)",
|
|
20191
20560
|
value: input.colorHistory
|
|
20192
|
-
})].every(flag => flag); const _vo23 = (input, _path, _exceptionable = true) => [undefined === input.sortBy || "
|
|
20561
|
+
})].every(flag => flag); const _vo23 = (input, _path, _exceptionable = true) => [undefined === input.sortBy || "title" === input.sortBy || "index" === input.sortBy || _report(_exceptionable, {
|
|
20193
20562
|
path: _path + ".sortBy",
|
|
20194
20563
|
expected: "(\"index\" | \"title\" | undefined)",
|
|
20195
20564
|
value: input.sortBy
|
|
@@ -20250,8 +20619,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
20250
20619
|
path: _path + ".favorites",
|
|
20251
20620
|
expected: "(Array<string> | undefined)",
|
|
20252
20621
|
value: input.favorites
|
|
20253
|
-
})) && input.favorites.map((elem,
|
|
20254
|
-
path: _path + ".favorites[" +
|
|
20622
|
+
})) && input.favorites.map((elem, _index72) => "string" === typeof elem || _report(_exceptionable, {
|
|
20623
|
+
path: _path + ".favorites[" + _index72 + "]",
|
|
20255
20624
|
expected: "string",
|
|
20256
20625
|
value: elem
|
|
20257
20626
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -20341,31 +20710,31 @@ function _validateDomainRecord(domain, input) {
|
|
|
20341
20710
|
path: _path + ".sequence",
|
|
20342
20711
|
expected: "(Array<string | [string, unknown]> | null | string | undefined)",
|
|
20343
20712
|
value: input.sequence
|
|
20344
|
-
})) && input.sequence.map((elem,
|
|
20345
|
-
path: _path + ".sequence[" +
|
|
20713
|
+
})) && input.sequence.map((elem, _index73) => (null !== elem || _report(_exceptionable, {
|
|
20714
|
+
path: _path + ".sequence[" + _index73 + "]",
|
|
20346
20715
|
expected: "([string, unknown] | string)",
|
|
20347
20716
|
value: elem
|
|
20348
20717
|
})) && (undefined !== elem || _report(_exceptionable, {
|
|
20349
|
-
path: _path + ".sequence[" +
|
|
20718
|
+
path: _path + ".sequence[" + _index73 + "]",
|
|
20350
20719
|
expected: "([string, unknown] | string)",
|
|
20351
20720
|
value: elem
|
|
20352
20721
|
})) && ("string" === typeof elem || (Array.isArray(elem) || _report(_exceptionable, {
|
|
20353
|
-
path: _path + ".sequence[" +
|
|
20722
|
+
path: _path + ".sequence[" + _index73 + "]",
|
|
20354
20723
|
expected: "([string, unknown] | string)",
|
|
20355
20724
|
value: elem
|
|
20356
20725
|
})) && ((elem.length === 2 || _report(_exceptionable, {
|
|
20357
|
-
path: _path + ".sequence[" +
|
|
20726
|
+
path: _path + ".sequence[" + _index73 + "]",
|
|
20358
20727
|
expected: "[string, any]",
|
|
20359
20728
|
value: elem
|
|
20360
20729
|
})) && [
|
|
20361
20730
|
"string" === typeof elem[0] || _report(_exceptionable, {
|
|
20362
|
-
path: _path + ".sequence[" +
|
|
20731
|
+
path: _path + ".sequence[" + _index73 + "][0]",
|
|
20363
20732
|
expected: "string",
|
|
20364
20733
|
value: elem[0]
|
|
20365
20734
|
}),
|
|
20366
20735
|
true
|
|
20367
20736
|
].every(flag => flag)) || _report(_exceptionable, {
|
|
20368
|
-
path: _path + ".sequence[" +
|
|
20737
|
+
path: _path + ".sequence[" + _index73 + "]",
|
|
20369
20738
|
expected: "([string, unknown] | string)",
|
|
20370
20739
|
value: elem
|
|
20371
20740
|
}))).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -20425,12 +20794,12 @@ function _validateDomainRecord(domain, input) {
|
|
|
20425
20794
|
path: _path + ".displayAspectRatioPresets",
|
|
20426
20795
|
expected: "(Array<__type>.o3 | undefined)",
|
|
20427
20796
|
value: input.displayAspectRatioPresets
|
|
20428
|
-
})) && input.displayAspectRatioPresets.map((elem,
|
|
20429
|
-
path: _path + ".displayAspectRatioPresets[" +
|
|
20797
|
+
})) && input.displayAspectRatioPresets.map((elem, _index74) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
20798
|
+
path: _path + ".displayAspectRatioPresets[" + _index74 + "]",
|
|
20430
20799
|
expected: "__type.o28",
|
|
20431
20800
|
value: elem
|
|
20432
|
-
})) && _vo38(elem, _path + ".displayAspectRatioPresets[" +
|
|
20433
|
-
path: _path + ".displayAspectRatioPresets[" +
|
|
20801
|
+
})) && _vo38(elem, _path + ".displayAspectRatioPresets[" + _index74 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
20802
|
+
path: _path + ".displayAspectRatioPresets[" + _index74 + "]",
|
|
20434
20803
|
expected: "__type.o28",
|
|
20435
20804
|
value: elem
|
|
20436
20805
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -20489,8 +20858,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
20489
20858
|
path: _path + ".playbackRates",
|
|
20490
20859
|
expected: "(Array<number> | undefined)",
|
|
20491
20860
|
value: input.playbackRates
|
|
20492
|
-
})) && input.playbackRates.map((elem,
|
|
20493
|
-
path: _path + ".playbackRates[" +
|
|
20861
|
+
})) && input.playbackRates.map((elem, _index75) => "number" === typeof elem || _report(_exceptionable, {
|
|
20862
|
+
path: _path + ".playbackRates[" + _index75 + "]",
|
|
20494
20863
|
expected: "number",
|
|
20495
20864
|
value: elem
|
|
20496
20865
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -20517,12 +20886,12 @@ function _validateDomainRecord(domain, input) {
|
|
|
20517
20886
|
path: _path + ".guides",
|
|
20518
20887
|
expected: "(Array<__type>.o6 | undefined)",
|
|
20519
20888
|
value: input.guides
|
|
20520
|
-
})) && input.guides.map((elem,
|
|
20521
|
-
path: _path + ".guides[" +
|
|
20889
|
+
})) && input.guides.map((elem, _index76) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
20890
|
+
path: _path + ".guides[" + _index76 + "]",
|
|
20522
20891
|
expected: "__type.o34",
|
|
20523
20892
|
value: elem
|
|
20524
|
-
})) && _vo44(elem, _path + ".guides[" +
|
|
20525
|
-
path: _path + ".guides[" +
|
|
20893
|
+
})) && _vo44(elem, _path + ".guides[" + _index76 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
20894
|
+
path: _path + ".guides[" + _index76 + "]",
|
|
20526
20895
|
expected: "__type.o34",
|
|
20527
20896
|
value: elem
|
|
20528
20897
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -20609,12 +20978,12 @@ function _validateDomainRecord(domain, input) {
|
|
|
20609
20978
|
path: _path + ".suggestions",
|
|
20610
20979
|
expected: "(Array<__type>.o4 | undefined)",
|
|
20611
20980
|
value: input.suggestions
|
|
20612
|
-
})) && input.suggestions.map((elem,
|
|
20613
|
-
path: _path + ".suggestions[" +
|
|
20981
|
+
})) && input.suggestions.map((elem, _index77) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
20982
|
+
path: _path + ".suggestions[" + _index77 + "]",
|
|
20614
20983
|
expected: "__type.o32",
|
|
20615
20984
|
value: elem
|
|
20616
|
-
})) && _vo42(elem, _path + ".suggestions[" +
|
|
20617
|
-
path: _path + ".suggestions[" +
|
|
20985
|
+
})) && _vo42(elem, _path + ".suggestions[" + _index77 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
20986
|
+
path: _path + ".suggestions[" + _index77 + "]",
|
|
20618
20987
|
expected: "__type.o32",
|
|
20619
20988
|
value: elem
|
|
20620
20989
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -20625,12 +20994,12 @@ function _validateDomainRecord(domain, input) {
|
|
|
20625
20994
|
path: _path + ".colors",
|
|
20626
20995
|
expected: "(Array<__type>.o5 | undefined)",
|
|
20627
20996
|
value: input.colors
|
|
20628
|
-
})) && input.colors.map((elem,
|
|
20629
|
-
path: _path + ".colors[" +
|
|
20997
|
+
})) && input.colors.map((elem, _index78) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
20998
|
+
path: _path + ".colors[" + _index78 + "]",
|
|
20630
20999
|
expected: "__type.o33",
|
|
20631
21000
|
value: elem
|
|
20632
|
-
})) && _vo43(elem, _path + ".colors[" +
|
|
20633
|
-
path: _path + ".colors[" +
|
|
21001
|
+
})) && _vo43(elem, _path + ".colors[" + _index78 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
21002
|
+
path: _path + ".colors[" + _index78 + "]",
|
|
20634
21003
|
expected: "__type.o33",
|
|
20635
21004
|
value: elem
|
|
20636
21005
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -20641,8 +21010,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
20641
21010
|
path: _path + ".overridableProperties",
|
|
20642
21011
|
expected: "(Array<keyof SubtitleStyle | null> | undefined)",
|
|
20643
21012
|
value: input.overridableProperties
|
|
20644
|
-
})) && input.overridableProperties.map((elem,
|
|
20645
|
-
path: _path + ".overridableProperties[" +
|
|
21013
|
+
})) && input.overridableProperties.map((elem, _index79) => null === elem || true === _vv80.has(elem) || _report(_exceptionable, {
|
|
21014
|
+
path: _path + ".overridableProperties[" + _index79 + "]",
|
|
20646
21015
|
expected: "(\"alignment\" | \"angle\" | \"backColour\" | \"bold\" | \"borderStyle\" | \"encoding\" | \"fontname\" | \"fontsize\" | \"italic\" | \"lineSpacing\" | \"marginL\" | \"marginR\" | \"marginV\" | \"name\" | \"outline\" | \"outlineColour\" | \"primaryColour\" | \"scaleX\" | \"scaleY\" | \"secondaryColour\" | \"shadow\" | \"spacing\" | \"strikeOut\" | \"underline\" | null)",
|
|
20647
21016
|
value: elem
|
|
20648
21017
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -20725,12 +21094,12 @@ function _validateDomainRecord(domain, input) {
|
|
|
20725
21094
|
path: _path + ".text",
|
|
20726
21095
|
expected: "(Array<__type>.o7 | undefined)",
|
|
20727
21096
|
value: input.text
|
|
20728
|
-
})) && input.text.map((elem,
|
|
20729
|
-
path: _path + ".text[" +
|
|
21097
|
+
})) && input.text.map((elem, _index81) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
21098
|
+
path: _path + ".text[" + _index81 + "]",
|
|
20730
21099
|
expected: "__type.o39",
|
|
20731
21100
|
value: elem
|
|
20732
|
-
})) && _vo49(elem, _path + ".text[" +
|
|
20733
|
-
path: _path + ".text[" +
|
|
21101
|
+
})) && _vo49(elem, _path + ".text[" + _index81 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
21102
|
+
path: _path + ".text[" + _index81 + "]",
|
|
20734
21103
|
expected: "__type.o39",
|
|
20735
21104
|
value: elem
|
|
20736
21105
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -20769,8 +21138,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
20769
21138
|
path: _path + ".args",
|
|
20770
21139
|
expected: "(Array<string> | undefined)",
|
|
20771
21140
|
value: input.args
|
|
20772
|
-
})) && input.args.map((elem,
|
|
20773
|
-
path: _path + ".args[" +
|
|
21141
|
+
})) && input.args.map((elem, _index82) => "string" === typeof elem || _report(_exceptionable, {
|
|
21142
|
+
path: _path + ".args[" + _index82 + "]",
|
|
20774
21143
|
expected: "string",
|
|
20775
21144
|
value: elem
|
|
20776
21145
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -20853,12 +21222,12 @@ function _validateDomainRecord(domain, input) {
|
|
|
20853
21222
|
path: _path + ".presets",
|
|
20854
21223
|
expected: "(Array<AudioMappingPreset> | undefined)",
|
|
20855
21224
|
value: input.presets
|
|
20856
|
-
})) && input.presets.map((elem,
|
|
20857
|
-
path: _path + ".presets[" +
|
|
21225
|
+
})) && input.presets.map((elem, _index83) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
21226
|
+
path: _path + ".presets[" + _index83 + "]",
|
|
20858
21227
|
expected: "AudioMappingPreset",
|
|
20859
21228
|
value: elem
|
|
20860
|
-
})) && _vo56(elem, _path + ".presets[" +
|
|
20861
|
-
path: _path + ".presets[" +
|
|
21229
|
+
})) && _vo56(elem, _path + ".presets[" + _index83 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
21230
|
+
path: _path + ".presets[" + _index83 + "]",
|
|
20862
21231
|
expected: "AudioMappingPreset",
|
|
20863
21232
|
value: elem
|
|
20864
21233
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -20877,16 +21246,16 @@ function _validateDomainRecord(domain, input) {
|
|
|
20877
21246
|
path: _path + ".mapping",
|
|
20878
21247
|
expected: "(Array<Array<number>> | undefined)",
|
|
20879
21248
|
value: input.mapping
|
|
20880
|
-
})) && input.mapping.map((elem,
|
|
20881
|
-
path: _path + ".mapping[" +
|
|
21249
|
+
})) && input.mapping.map((elem, _index84) => (Array.isArray(elem) || _report(_exceptionable, {
|
|
21250
|
+
path: _path + ".mapping[" + _index84 + "]",
|
|
20882
21251
|
expected: "Array<number>",
|
|
20883
21252
|
value: elem
|
|
20884
|
-
})) && elem.map((elem,
|
|
20885
|
-
path: _path + ".mapping[" +
|
|
21253
|
+
})) && elem.map((elem, _index85) => "number" === typeof elem || _report(_exceptionable, {
|
|
21254
|
+
path: _path + ".mapping[" + _index84 + "][" + _index85 + "]",
|
|
20886
21255
|
expected: "number",
|
|
20887
21256
|
value: elem
|
|
20888
21257
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
20889
|
-
path: _path + ".mapping[" +
|
|
21258
|
+
path: _path + ".mapping[" + _index84 + "]",
|
|
20890
21259
|
expected: "Array<number>",
|
|
20891
21260
|
value: elem
|
|
20892
21261
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -20897,8 +21266,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
20897
21266
|
path: _path + ".mute",
|
|
20898
21267
|
expected: "(Array<boolean> | undefined)",
|
|
20899
21268
|
value: input.mute
|
|
20900
|
-
})) && input.mute.map((elem,
|
|
20901
|
-
path: _path + ".mute[" +
|
|
21269
|
+
})) && input.mute.map((elem, _index86) => "boolean" === typeof elem || _report(_exceptionable, {
|
|
21270
|
+
path: _path + ".mute[" + _index86 + "]",
|
|
20902
21271
|
expected: "boolean",
|
|
20903
21272
|
value: elem
|
|
20904
21273
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -20925,12 +21294,12 @@ function _validateDomainRecord(domain, input) {
|
|
|
20925
21294
|
path: _path + ".presets",
|
|
20926
21295
|
expected: "(Array<__type>.o8 | undefined)",
|
|
20927
21296
|
value: input.presets
|
|
20928
|
-
})) && input.presets.map((elem,
|
|
20929
|
-
path: _path + ".presets[" +
|
|
21297
|
+
})) && input.presets.map((elem, _index87) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
21298
|
+
path: _path + ".presets[" + _index87 + "]",
|
|
20930
21299
|
expected: "__type.o47",
|
|
20931
21300
|
value: elem
|
|
20932
|
-
})) && _vo58(elem, _path + ".presets[" +
|
|
20933
|
-
path: _path + ".presets[" +
|
|
21301
|
+
})) && _vo58(elem, _path + ".presets[" + _index87 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
21302
|
+
path: _path + ".presets[" + _index87 + "]",
|
|
20934
21303
|
expected: "__type.o47",
|
|
20935
21304
|
value: elem
|
|
20936
21305
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -20993,8 +21362,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
20993
21362
|
path: _path + ".args",
|
|
20994
21363
|
expected: "(Array<string> | undefined)",
|
|
20995
21364
|
value: input.args
|
|
20996
|
-
})) && input.args.map((elem,
|
|
20997
|
-
path: _path + ".args[" +
|
|
21365
|
+
})) && input.args.map((elem, _index88) => "string" === typeof elem || _report(_exceptionable, {
|
|
21366
|
+
path: _path + ".args[" + _index88 + "]",
|
|
20998
21367
|
expected: "string",
|
|
20999
21368
|
value: elem
|
|
21000
21369
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -21085,7 +21454,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
21085
21454
|
path: _path + ".search",
|
|
21086
21455
|
expected: "(__type.o57 | undefined)",
|
|
21087
21456
|
value: input.search
|
|
21088
|
-
}), undefined === input.sortMode || true ===
|
|
21457
|
+
}), undefined === input.sortMode || true === _vv89.has(input.sortMode) || _report(_exceptionable, {
|
|
21089
21458
|
path: _path + ".sortMode",
|
|
21090
21459
|
expected: "(\"az\" | \"default\" | \"earliestdeadline\" | \"latestdeadline\" | \"leastrecent\" | \"manual\" | \"mostrecent\" | \"newest\" | \"oldest\" | \"za\" | undefined)",
|
|
21091
21460
|
value: input.sortMode
|
|
@@ -21105,15 +21474,151 @@ function _validateDomainRecord(domain, input) {
|
|
|
21105
21474
|
path: _path + ".fontFamilies",
|
|
21106
21475
|
expected: "(Array<string> | undefined)",
|
|
21107
21476
|
value: input.fontFamilies
|
|
21108
|
-
})) && input.fontFamilies.map((elem,
|
|
21109
|
-
path: _path + ".fontFamilies[" +
|
|
21477
|
+
})) && input.fontFamilies.map((elem, _index90) => "string" === typeof elem || _report(_exceptionable, {
|
|
21478
|
+
path: _path + ".fontFamilies[" + _index90 + "]",
|
|
21110
21479
|
expected: "string",
|
|
21111
21480
|
value: elem
|
|
21112
21481
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
21113
21482
|
path: _path + ".fontFamilies",
|
|
21114
21483
|
expected: "(Array<string> | undefined)",
|
|
21115
21484
|
value: input.fontFamilies
|
|
21116
|
-
})
|
|
21485
|
+
}), undefined === input.presets || (Array.isArray(input.presets) || _report(_exceptionable, {
|
|
21486
|
+
path: _path + ".presets",
|
|
21487
|
+
expected: "(Array<PrintOptions> | undefined)",
|
|
21488
|
+
value: input.presets
|
|
21489
|
+
})) && input.presets.map((elem, _index91) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
21490
|
+
path: _path + ".presets[" + _index91 + "]",
|
|
21491
|
+
expected: "(PrintRundownOptions | PrintScriptOptions)",
|
|
21492
|
+
value: elem
|
|
21493
|
+
})) && _vu0(elem, _path + ".presets[" + _index91 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
21494
|
+
path: _path + ".presets[" + _index91 + "]",
|
|
21495
|
+
expected: "(PrintRundownOptions | PrintScriptOptions)",
|
|
21496
|
+
value: elem
|
|
21497
|
+
})).every(flag => flag) || _report(_exceptionable, {
|
|
21498
|
+
path: _path + ".presets",
|
|
21499
|
+
expected: "(Array<PrintOptions> | undefined)",
|
|
21500
|
+
value: input.presets
|
|
21501
|
+
})].every(flag => flag); const _vo71 = (input, _path, _exceptionable = true) => ["script" === input.type || _report(_exceptionable, {
|
|
21502
|
+
path: _path + ".type",
|
|
21503
|
+
expected: "\"script\"",
|
|
21504
|
+
value: input.type
|
|
21505
|
+
}), "string" === typeof input.title || _report(_exceptionable, {
|
|
21506
|
+
path: _path + ".title",
|
|
21507
|
+
expected: "string",
|
|
21508
|
+
value: input.title
|
|
21509
|
+
}), "number" === typeof input.horizontalMargin || _report(_exceptionable, {
|
|
21510
|
+
path: _path + ".horizontalMargin",
|
|
21511
|
+
expected: "number",
|
|
21512
|
+
value: input.horizontalMargin
|
|
21513
|
+
}), "A5" === input.pageSize || "A4" === input.pageSize || "A3" === input.pageSize || _report(_exceptionable, {
|
|
21514
|
+
path: _path + ".pageSize",
|
|
21515
|
+
expected: "(\"A3\" | \"A4\" | \"A5\")",
|
|
21516
|
+
value: input.pageSize
|
|
21517
|
+
}), "landscape" === input.orientation || "portrait" === input.orientation || _report(_exceptionable, {
|
|
21518
|
+
path: _path + ".orientation",
|
|
21519
|
+
expected: "(\"landscape\" | \"portrait\")",
|
|
21520
|
+
value: input.orientation
|
|
21521
|
+
}), "number" === typeof input.fontSize || _report(_exceptionable, {
|
|
21522
|
+
path: _path + ".fontSize",
|
|
21523
|
+
expected: "number",
|
|
21524
|
+
value: input.fontSize
|
|
21525
|
+
}), undefined === input.fontFamily || "string" === typeof input.fontFamily || _report(_exceptionable, {
|
|
21526
|
+
path: _path + ".fontFamily",
|
|
21527
|
+
expected: "(string | undefined)",
|
|
21528
|
+
value: input.fontFamily
|
|
21529
|
+
}), (Array.isArray(input.hide) || _report(_exceptionable, {
|
|
21530
|
+
path: _path + ".hide",
|
|
21531
|
+
expected: "Array<PrintOptionalScriptNodes>",
|
|
21532
|
+
value: input.hide
|
|
21533
|
+
})) && input.hide.map((elem, _index92) => "event" === elem || "event-data" === elem || "comment" === elem || "heading" === elem || "list" === elem || "quote" === elem || "paragraph" === elem || "horizontalrule" === elem || _report(_exceptionable, {
|
|
21534
|
+
path: _path + ".hide[" + _index92 + "]",
|
|
21535
|
+
expected: "(\"comment\" | \"event\" | \"event-data\" | \"heading\" | \"horizontalrule\" | \"list\" | \"paragraph\" | \"quote\")",
|
|
21536
|
+
value: elem
|
|
21537
|
+
})).every(flag => flag) || _report(_exceptionable, {
|
|
21538
|
+
path: _path + ".hide",
|
|
21539
|
+
expected: "Array<PrintOptionalScriptNodes>",
|
|
21540
|
+
value: input.hide
|
|
21541
|
+
})].every(flag => flag); const _vo72 = (input, _path, _exceptionable = true) => ["rundown" === input.type || _report(_exceptionable, {
|
|
21542
|
+
path: _path + ".type",
|
|
21543
|
+
expected: "\"rundown\"",
|
|
21544
|
+
value: input.type
|
|
21545
|
+
}), (Array.isArray(input.columns) || _report(_exceptionable, {
|
|
21546
|
+
path: _path + ".columns",
|
|
21547
|
+
expected: "Array<PrintRundownColumn>",
|
|
21548
|
+
value: input.columns
|
|
21549
|
+
})) && input.columns.map((elem, _index93) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
21550
|
+
path: _path + ".columns[" + _index93 + "]",
|
|
21551
|
+
expected: "PrintRundownColumn",
|
|
21552
|
+
value: elem
|
|
21553
|
+
})) && _vo73(elem, _path + ".columns[" + _index93 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
21554
|
+
path: _path + ".columns[" + _index93 + "]",
|
|
21555
|
+
expected: "PrintRundownColumn",
|
|
21556
|
+
value: elem
|
|
21557
|
+
})).every(flag => flag) || _report(_exceptionable, {
|
|
21558
|
+
path: _path + ".columns",
|
|
21559
|
+
expected: "Array<PrintRundownColumn>",
|
|
21560
|
+
value: input.columns
|
|
21561
|
+
}), undefined === input.rangeStart || "number" === typeof input.rangeStart || _report(_exceptionable, {
|
|
21562
|
+
path: _path + ".rangeStart",
|
|
21563
|
+
expected: "(number | undefined)",
|
|
21564
|
+
value: input.rangeStart
|
|
21565
|
+
}), undefined === input.rangeEnd || "number" === typeof input.rangeEnd || _report(_exceptionable, {
|
|
21566
|
+
path: _path + ".rangeEnd",
|
|
21567
|
+
expected: "(number | undefined)",
|
|
21568
|
+
value: input.rangeEnd
|
|
21569
|
+
}), (Array.isArray(input.hide) || _report(_exceptionable, {
|
|
21570
|
+
path: _path + ".hide",
|
|
21571
|
+
expected: "Array<\"event\" | \"comment\" | \"heading\" | \"list\" | \"quote\" | \"paragraph\" | \"horizontalrule\">",
|
|
21572
|
+
value: input.hide
|
|
21573
|
+
})) && input.hide.map((elem, _index94) => "event" === elem || "comment" === elem || "heading" === elem || "list" === elem || "quote" === elem || "paragraph" === elem || "horizontalrule" === elem || _report(_exceptionable, {
|
|
21574
|
+
path: _path + ".hide[" + _index94 + "]",
|
|
21575
|
+
expected: "(\"comment\" | \"event\" | \"heading\" | \"horizontalrule\" | \"list\" | \"paragraph\" | \"quote\")",
|
|
21576
|
+
value: elem
|
|
21577
|
+
})).every(flag => flag) || _report(_exceptionable, {
|
|
21578
|
+
path: _path + ".hide",
|
|
21579
|
+
expected: "Array<\"event\" | \"comment\" | \"heading\" | \"list\" | \"quote\" | \"paragraph\" | \"horizontalrule\">",
|
|
21580
|
+
value: input.hide
|
|
21581
|
+
}), "string" === typeof input.title || _report(_exceptionable, {
|
|
21582
|
+
path: _path + ".title",
|
|
21583
|
+
expected: "string",
|
|
21584
|
+
value: input.title
|
|
21585
|
+
}), "number" === typeof input.horizontalMargin || _report(_exceptionable, {
|
|
21586
|
+
path: _path + ".horizontalMargin",
|
|
21587
|
+
expected: "number",
|
|
21588
|
+
value: input.horizontalMargin
|
|
21589
|
+
}), "A5" === input.pageSize || "A4" === input.pageSize || "A3" === input.pageSize || _report(_exceptionable, {
|
|
21590
|
+
path: _path + ".pageSize",
|
|
21591
|
+
expected: "(\"A3\" | \"A4\" | \"A5\")",
|
|
21592
|
+
value: input.pageSize
|
|
21593
|
+
}), "landscape" === input.orientation || "portrait" === input.orientation || _report(_exceptionable, {
|
|
21594
|
+
path: _path + ".orientation",
|
|
21595
|
+
expected: "(\"landscape\" | \"portrait\")",
|
|
21596
|
+
value: input.orientation
|
|
21597
|
+
}), "number" === typeof input.fontSize || _report(_exceptionable, {
|
|
21598
|
+
path: _path + ".fontSize",
|
|
21599
|
+
expected: "number",
|
|
21600
|
+
value: input.fontSize
|
|
21601
|
+
}), undefined === input.fontFamily || "string" === typeof input.fontFamily || _report(_exceptionable, {
|
|
21602
|
+
path: _path + ".fontFamily",
|
|
21603
|
+
expected: "(string | undefined)",
|
|
21604
|
+
value: input.fontFamily
|
|
21605
|
+
})].every(flag => flag); const _vo73 = (input, _path, _exceptionable = true) => ["type" === input.key || "id" === input.key || "title" === input.key || "time" === input.key || "duration" === input.key || "position" === input.key || "accDuration" === input.key || _report(_exceptionable, {
|
|
21606
|
+
path: _path + ".key",
|
|
21607
|
+
expected: "(\"accDuration\" | \"duration\" | \"id\" | \"position\" | \"time\" | \"title\" | \"type\")",
|
|
21608
|
+
value: input.key
|
|
21609
|
+
}), "string" === typeof input.label || _report(_exceptionable, {
|
|
21610
|
+
path: _path + ".label",
|
|
21611
|
+
expected: "string",
|
|
21612
|
+
value: input.label
|
|
21613
|
+
}), "string" === typeof input.width || _report(_exceptionable, {
|
|
21614
|
+
path: _path + ".width",
|
|
21615
|
+
expected: "string",
|
|
21616
|
+
value: input.width
|
|
21617
|
+
}), "right" === input.textAlign || "left" === input.textAlign || "center" === input.textAlign || _report(_exceptionable, {
|
|
21618
|
+
path: _path + ".textAlign",
|
|
21619
|
+
expected: "(\"center\" | \"left\" | \"right\")",
|
|
21620
|
+
value: input.textAlign
|
|
21621
|
+
})].every(flag => flag); const _vo74 = (input, _path, _exceptionable = true) => [undefined === input.id || "string" === typeof input.id || _report(_exceptionable, {
|
|
21117
21622
|
path: _path + ".id",
|
|
21118
21623
|
expected: "(string | undefined)",
|
|
21119
21624
|
value: input.id
|
|
@@ -21121,23 +21626,31 @@ function _validateDomainRecord(domain, input) {
|
|
|
21121
21626
|
path: _path + ".folded",
|
|
21122
21627
|
expected: "(boolean | undefined)",
|
|
21123
21628
|
value: input.folded
|
|
21124
|
-
})].every(flag => flag); const
|
|
21629
|
+
})].every(flag => flag); const _vo75 = (input, _path, _exceptionable = true) => [undefined === input.adobe || ("object" === typeof input.adobe && null !== input.adobe && false === Array.isArray(input.adobe) || _report(_exceptionable, {
|
|
21125
21630
|
path: _path + ".adobe",
|
|
21126
21631
|
expected: "(__type.o62 | undefined)",
|
|
21127
21632
|
value: input.adobe
|
|
21128
|
-
})) &&
|
|
21633
|
+
})) && _vo76(input.adobe, _path + ".adobe", true && _exceptionable) || _report(_exceptionable, {
|
|
21129
21634
|
path: _path + ".adobe",
|
|
21130
21635
|
expected: "(__type.o62 | undefined)",
|
|
21131
21636
|
value: input.adobe
|
|
21637
|
+
}), undefined === input.ograf || ("object" === typeof input.ograf && null !== input.ograf && false === Array.isArray(input.ograf) || _report(_exceptionable, {
|
|
21638
|
+
path: _path + ".ograf",
|
|
21639
|
+
expected: "(__type.o64 | undefined)",
|
|
21640
|
+
value: input.ograf
|
|
21641
|
+
})) && _vo78(input.ograf, _path + ".ograf", true && _exceptionable) || _report(_exceptionable, {
|
|
21642
|
+
path: _path + ".ograf",
|
|
21643
|
+
expected: "(__type.o64 | undefined)",
|
|
21644
|
+
value: input.ograf
|
|
21132
21645
|
}), undefined === input.rive || ("object" === typeof input.rive && null !== input.rive && false === Array.isArray(input.rive) || _report(_exceptionable, {
|
|
21133
21646
|
path: _path + ".rive",
|
|
21134
|
-
expected: "(__type.
|
|
21647
|
+
expected: "(__type.o65 | undefined)",
|
|
21135
21648
|
value: input.rive
|
|
21136
|
-
})) &&
|
|
21649
|
+
})) && _vo79(input.rive, _path + ".rive", true && _exceptionable) || _report(_exceptionable, {
|
|
21137
21650
|
path: _path + ".rive",
|
|
21138
|
-
expected: "(__type.
|
|
21651
|
+
expected: "(__type.o65 | undefined)",
|
|
21139
21652
|
value: input.rive
|
|
21140
|
-
})].every(flag => flag); const
|
|
21653
|
+
})].every(flag => flag); const _vo76 = (input, _path, _exceptionable = true) => [undefined === input.videoBin || "string" === typeof input.videoBin || _report(_exceptionable, {
|
|
21141
21654
|
path: _path + ".videoBin",
|
|
21142
21655
|
expected: "(string | undefined)",
|
|
21143
21656
|
value: input.videoBin
|
|
@@ -21169,6 +21682,18 @@ function _validateDomainRecord(domain, input) {
|
|
|
21169
21682
|
path: _path + ".renderPresetPath",
|
|
21170
21683
|
expected: "(string | undefined)",
|
|
21171
21684
|
value: input.renderPresetPath
|
|
21685
|
+
}), undefined === input.renderPresets || (Array.isArray(input.renderPresets) || _report(_exceptionable, {
|
|
21686
|
+
path: _path + ".renderPresets",
|
|
21687
|
+
expected: "(Array<string> | undefined)",
|
|
21688
|
+
value: input.renderPresets
|
|
21689
|
+
})) && input.renderPresets.map((elem, _index95) => "string" === typeof elem || _report(_exceptionable, {
|
|
21690
|
+
path: _path + ".renderPresets[" + _index95 + "]",
|
|
21691
|
+
expected: "string",
|
|
21692
|
+
value: elem
|
|
21693
|
+
})).every(flag => flag) || _report(_exceptionable, {
|
|
21694
|
+
path: _path + ".renderPresets",
|
|
21695
|
+
expected: "(Array<string> | undefined)",
|
|
21696
|
+
value: input.renderPresets
|
|
21172
21697
|
}), undefined === input.videoRenderPreset || "string" === typeof input.videoRenderPreset || _report(_exceptionable, {
|
|
21173
21698
|
path: _path + ".videoRenderPreset",
|
|
21174
21699
|
expected: "(string | undefined)",
|
|
@@ -21197,19 +21722,23 @@ function _validateDomainRecord(domain, input) {
|
|
|
21197
21722
|
path: _path + ".bodymovin",
|
|
21198
21723
|
expected: "(__type.o63 | undefined)",
|
|
21199
21724
|
value: input.bodymovin
|
|
21200
|
-
})) &&
|
|
21725
|
+
})) && _vo77(input.bodymovin, _path + ".bodymovin", true && _exceptionable) || _report(_exceptionable, {
|
|
21201
21726
|
path: _path + ".bodymovin",
|
|
21202
21727
|
expected: "(__type.o63 | undefined)",
|
|
21203
21728
|
value: input.bodymovin
|
|
21204
|
-
})].every(flag => flag); const
|
|
21729
|
+
})].every(flag => flag); const _vo77 = (input, _path, _exceptionable = true) => [undefined === input.template || "string" === typeof input.template || _report(_exceptionable, {
|
|
21730
|
+
path: _path + ".template",
|
|
21731
|
+
expected: "(string | undefined)",
|
|
21732
|
+
value: input.template
|
|
21733
|
+
})].every(flag => flag); const _vo78 = (input, _path, _exceptionable = true) => [undefined === input.template || "string" === typeof input.template || _report(_exceptionable, {
|
|
21205
21734
|
path: _path + ".template",
|
|
21206
21735
|
expected: "(string | undefined)",
|
|
21207
21736
|
value: input.template
|
|
21208
|
-
})].every(flag => flag); const
|
|
21737
|
+
})].every(flag => flag); const _vo79 = (input, _path, _exceptionable = true) => [undefined === input.template || "string" === typeof input.template || _report(_exceptionable, {
|
|
21209
21738
|
path: _path + ".template",
|
|
21210
21739
|
expected: "(string | undefined)",
|
|
21211
21740
|
value: input.template
|
|
21212
|
-
})].every(flag => flag); const
|
|
21741
|
+
})].every(flag => flag); const _vo80 = (input, _path, _exceptionable = true) => [undefined === input.collections || "boolean" === typeof input.collections || _report(_exceptionable, {
|
|
21213
21742
|
path: _path + ".collections",
|
|
21214
21743
|
expected: "(boolean | undefined)",
|
|
21215
21744
|
value: input.collections
|
|
@@ -21225,7 +21754,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
21225
21754
|
path: _path + ".ameRemoteRendering",
|
|
21226
21755
|
expected: "(boolean | undefined)",
|
|
21227
21756
|
value: input.ameRemoteRendering
|
|
21228
|
-
})].every(flag => flag); const
|
|
21757
|
+
})].every(flag => flag); const _vo81 = (input, _path, _exceptionable = true) => [undefined === input.utils || "boolean" === typeof input.utils || _report(_exceptionable, {
|
|
21229
21758
|
path: _path + ".utils",
|
|
21230
21759
|
expected: "(boolean | undefined)",
|
|
21231
21760
|
value: input.utils
|
|
@@ -21313,20 +21842,20 @@ function _validateDomainRecord(domain, input) {
|
|
|
21313
21842
|
path: _path + ".systemHealthIgnore",
|
|
21314
21843
|
expected: "(boolean | undefined)",
|
|
21315
21844
|
value: input.systemHealthIgnore
|
|
21316
|
-
})].every(flag => flag); const
|
|
21845
|
+
})].every(flag => flag); const _vo82 = (input, _path, _exceptionable = true) => [undefined === input.events || ("object" === typeof input.events && null !== input.events && false === Array.isArray(input.events) || _report(_exceptionable, {
|
|
21317
21846
|
path: _path + ".events",
|
|
21318
|
-
expected: "(__type.
|
|
21847
|
+
expected: "(__type.o69 | undefined)",
|
|
21319
21848
|
value: input.events
|
|
21320
|
-
})) &&
|
|
21849
|
+
})) && _vo83(input.events, _path + ".events", true && _exceptionable) || _report(_exceptionable, {
|
|
21321
21850
|
path: _path + ".events",
|
|
21322
|
-
expected: "(__type.
|
|
21851
|
+
expected: "(__type.o69 | undefined)",
|
|
21323
21852
|
value: input.events
|
|
21324
|
-
})].every(flag => flag); const
|
|
21853
|
+
})].every(flag => flag); const _vo83 = (input, _path, _exceptionable = true) => [undefined === input.comment || (Array.isArray(input.comment) || _report(_exceptionable, {
|
|
21325
21854
|
path: _path + ".comment",
|
|
21326
21855
|
expected: "(Array<NotificationReason> | undefined)",
|
|
21327
21856
|
value: input.comment
|
|
21328
|
-
})) && input.comment.map((elem,
|
|
21329
|
-
path: _path + ".comment[" +
|
|
21857
|
+
})) && input.comment.map((elem, _index96) => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem || _report(_exceptionable, {
|
|
21858
|
+
path: _path + ".comment[" + _index96 + "]",
|
|
21330
21859
|
expected: "(\"always\" | \"assigned\" | \"author\" | \"mentioned\" | \"participated\")",
|
|
21331
21860
|
value: elem
|
|
21332
21861
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -21337,8 +21866,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
21337
21866
|
path: _path + ".assigned",
|
|
21338
21867
|
expected: "(Array<NotificationReason> | undefined)",
|
|
21339
21868
|
value: input.assigned
|
|
21340
|
-
})) && input.assigned.map((elem,
|
|
21341
|
-
path: _path + ".assigned[" +
|
|
21869
|
+
})) && input.assigned.map((elem, _index97) => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem || _report(_exceptionable, {
|
|
21870
|
+
path: _path + ".assigned[" + _index97 + "]",
|
|
21342
21871
|
expected: "(\"always\" | \"assigned\" | \"author\" | \"mentioned\" | \"participated\")",
|
|
21343
21872
|
value: elem
|
|
21344
21873
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -21349,8 +21878,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
21349
21878
|
path: _path + ".unassigned",
|
|
21350
21879
|
expected: "(Array<NotificationReason> | undefined)",
|
|
21351
21880
|
value: input.unassigned
|
|
21352
|
-
})) && input.unassigned.map((elem,
|
|
21353
|
-
path: _path + ".unassigned[" +
|
|
21881
|
+
})) && input.unassigned.map((elem, _index98) => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem || _report(_exceptionable, {
|
|
21882
|
+
path: _path + ".unassigned[" + _index98 + "]",
|
|
21354
21883
|
expected: "(\"always\" | \"assigned\" | \"author\" | \"mentioned\" | \"participated\")",
|
|
21355
21884
|
value: elem
|
|
21356
21885
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -21359,13 +21888,13 @@ function _validateDomainRecord(domain, input) {
|
|
|
21359
21888
|
value: input.unassigned
|
|
21360
21889
|
}), undefined === input.publishSucceeded || ("object" === typeof input.publishSucceeded && null !== input.publishSucceeded && false === Array.isArray(input.publishSucceeded) || _report(_exceptionable, {
|
|
21361
21890
|
path: _path + ".publishSucceeded",
|
|
21362
|
-
expected: "(__type.
|
|
21891
|
+
expected: "(__type.o70 | undefined)",
|
|
21363
21892
|
value: input.publishSucceeded
|
|
21364
|
-
})) &&
|
|
21893
|
+
})) && _vo84(input.publishSucceeded, _path + ".publishSucceeded", true && _exceptionable) || _report(_exceptionable, {
|
|
21365
21894
|
path: _path + ".publishSucceeded",
|
|
21366
|
-
expected: "(__type.
|
|
21895
|
+
expected: "(__type.o70 | undefined)",
|
|
21367
21896
|
value: input.publishSucceeded
|
|
21368
|
-
})].every(flag => flag); const
|
|
21897
|
+
})].every(flag => flag); const _vo84 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
21369
21898
|
const value = input[key];
|
|
21370
21899
|
if (undefined === value)
|
|
21371
21900
|
return true;
|
|
@@ -21373,8 +21902,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
21373
21902
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
21374
21903
|
expected: "Array<NotificationReason>",
|
|
21375
21904
|
value: value
|
|
21376
|
-
})) && value.map((elem,
|
|
21377
|
-
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key) + "[" +
|
|
21905
|
+
})) && value.map((elem, _index99) => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem || _report(_exceptionable, {
|
|
21906
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key) + "[" + _index99 + "]",
|
|
21378
21907
|
expected: "(\"always\" | \"assigned\" | \"author\" | \"mentioned\" | \"participated\")",
|
|
21379
21908
|
value: elem
|
|
21380
21909
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -21382,23 +21911,23 @@ function _validateDomainRecord(domain, input) {
|
|
|
21382
21911
|
expected: "Array<NotificationReason>",
|
|
21383
21912
|
value: value
|
|
21384
21913
|
});
|
|
21385
|
-
}).every(flag => flag)].every(flag => flag); const
|
|
21914
|
+
}).every(flag => flag)].every(flag => flag); const _vo85 = (input, _path, _exceptionable = true) => [undefined === input.create || ("object" === typeof input.create && null !== input.create && false === Array.isArray(input.create) || _report(_exceptionable, {
|
|
21386
21915
|
path: _path + ".create",
|
|
21387
|
-
expected: "(__type.
|
|
21916
|
+
expected: "(__type.o72 | undefined)",
|
|
21388
21917
|
value: input.create
|
|
21389
|
-
})) &&
|
|
21918
|
+
})) && _vo86(input.create, _path + ".create", true && _exceptionable) || _report(_exceptionable, {
|
|
21390
21919
|
path: _path + ".create",
|
|
21391
|
-
expected: "(__type.
|
|
21920
|
+
expected: "(__type.o72 | undefined)",
|
|
21392
21921
|
value: input.create
|
|
21393
21922
|
}), undefined === input.duplicate || ("object" === typeof input.duplicate && null !== input.duplicate && false === Array.isArray(input.duplicate) || _report(_exceptionable, {
|
|
21394
21923
|
path: _path + ".duplicate",
|
|
21395
|
-
expected: "(__type.
|
|
21924
|
+
expected: "(__type.o73 | undefined)",
|
|
21396
21925
|
value: input.duplicate
|
|
21397
|
-
})) &&
|
|
21926
|
+
})) && _vo87(input.duplicate, _path + ".duplicate", true && _exceptionable) || _report(_exceptionable, {
|
|
21398
21927
|
path: _path + ".duplicate",
|
|
21399
|
-
expected: "(__type.
|
|
21928
|
+
expected: "(__type.o73 | undefined)",
|
|
21400
21929
|
value: input.duplicate
|
|
21401
|
-
})].every(flag => flag); const
|
|
21930
|
+
})].every(flag => flag); const _vo86 = (input, _path, _exceptionable = true) => [undefined === input.titlePrefix || "string" === typeof input.titlePrefix || _report(_exceptionable, {
|
|
21402
21931
|
path: _path + ".titlePrefix",
|
|
21403
21932
|
expected: "(string | undefined)",
|
|
21404
21933
|
value: input.titlePrefix
|
|
@@ -21406,7 +21935,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
21406
21935
|
path: _path + ".titleSuffix",
|
|
21407
21936
|
expected: "(string | undefined)",
|
|
21408
21937
|
value: input.titleSuffix
|
|
21409
|
-
})].every(flag => flag); const
|
|
21938
|
+
})].every(flag => flag); const _vo87 = (input, _path, _exceptionable = true) => [undefined === input.titlePrefix || "string" === typeof input.titlePrefix || _report(_exceptionable, {
|
|
21410
21939
|
path: _path + ".titlePrefix",
|
|
21411
21940
|
expected: "(string | undefined)",
|
|
21412
21941
|
value: input.titlePrefix
|
|
@@ -21414,12 +21943,12 @@ function _validateDomainRecord(domain, input) {
|
|
|
21414
21943
|
path: _path + ".titleSuffix",
|
|
21415
21944
|
expected: "(string | undefined)",
|
|
21416
21945
|
value: input.titleSuffix
|
|
21417
|
-
})].every(flag => flag); const
|
|
21946
|
+
})].every(flag => flag); const _vo88 = (input, _path, _exceptionable = true) => [undefined === input.stateFilter || (Array.isArray(input.stateFilter) || _report(_exceptionable, {
|
|
21418
21947
|
path: _path + ".stateFilter",
|
|
21419
21948
|
expected: "(Array<number> | undefined)",
|
|
21420
21949
|
value: input.stateFilter
|
|
21421
|
-
})) && input.stateFilter.map((elem,
|
|
21422
|
-
path: _path + ".stateFilter[" +
|
|
21950
|
+
})) && input.stateFilter.map((elem, _index100) => "number" === typeof elem || _report(_exceptionable, {
|
|
21951
|
+
path: _path + ".stateFilter[" + _index100 + "]",
|
|
21423
21952
|
expected: "number",
|
|
21424
21953
|
value: elem
|
|
21425
21954
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -21446,31 +21975,43 @@ function _validateDomainRecord(domain, input) {
|
|
|
21446
21975
|
path: _path + ".parseRegex",
|
|
21447
21976
|
expected: "(boolean | undefined)",
|
|
21448
21977
|
value: input.parseRegex
|
|
21449
|
-
})].every(flag => flag); const
|
|
21978
|
+
})].every(flag => flag); const _vo89 = (input, _path, _exceptionable = true) => [undefined === input.disableHotArea || "boolean" === typeof input.disableHotArea || _report(_exceptionable, {
|
|
21450
21979
|
path: _path + ".disableHotArea",
|
|
21451
21980
|
expected: "(boolean | undefined)",
|
|
21452
21981
|
value: input.disableHotArea
|
|
21453
|
-
})].every(flag => flag); const
|
|
21982
|
+
})].every(flag => flag); const _vo90 = (input, _path, _exceptionable = true) => [undefined === input.refreshInterval || "number" === typeof input.refreshInterval || _report(_exceptionable, {
|
|
21454
21983
|
path: _path + ".refreshInterval",
|
|
21455
21984
|
expected: "(number | undefined)",
|
|
21456
21985
|
value: input.refreshInterval
|
|
21457
|
-
})].every(flag => flag); const
|
|
21986
|
+
})].every(flag => flag); const _vo91 = (input, _path, _exceptionable = true) => [undefined === input.layout || "string" === typeof input.layout || _report(_exceptionable, {
|
|
21458
21987
|
path: _path + ".layout",
|
|
21459
21988
|
expected: "(string | undefined)",
|
|
21460
21989
|
value: input.layout
|
|
21461
|
-
})].every(flag => flag); const
|
|
21462
|
-
path: _path + ".
|
|
21990
|
+
})].every(flag => flag); const _vo92 = (input, _path, _exceptionable = true) => [undefined === input.ignoredWarnings || (Array.isArray(input.ignoredWarnings) || _report(_exceptionable, {
|
|
21991
|
+
path: _path + ".ignoredWarnings",
|
|
21992
|
+
expected: "(Array<string> | undefined)",
|
|
21993
|
+
value: input.ignoredWarnings
|
|
21994
|
+
})) && input.ignoredWarnings.map((elem, _index101) => "string" === typeof elem || _report(_exceptionable, {
|
|
21995
|
+
path: _path + ".ignoredWarnings[" + _index101 + "]",
|
|
21996
|
+
expected: "string",
|
|
21997
|
+
value: elem
|
|
21998
|
+
})).every(flag => flag) || _report(_exceptionable, {
|
|
21999
|
+
path: _path + ".ignoredWarnings",
|
|
21463
22000
|
expected: "(Array<string> | undefined)",
|
|
21464
|
-
value: input.
|
|
21465
|
-
})
|
|
21466
|
-
path: _path + ".
|
|
22001
|
+
value: input.ignoredWarnings
|
|
22002
|
+
}), undefined === input.ignoredErrors || (Array.isArray(input.ignoredErrors) || _report(_exceptionable, {
|
|
22003
|
+
path: _path + ".ignoredErrors",
|
|
22004
|
+
expected: "(Array<string> | undefined)",
|
|
22005
|
+
value: input.ignoredErrors
|
|
22006
|
+
})) && input.ignoredErrors.map((elem, _index102) => "string" === typeof elem || _report(_exceptionable, {
|
|
22007
|
+
path: _path + ".ignoredErrors[" + _index102 + "]",
|
|
21467
22008
|
expected: "string",
|
|
21468
22009
|
value: elem
|
|
21469
22010
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
21470
|
-
path: _path + ".
|
|
22011
|
+
path: _path + ".ignoredErrors",
|
|
21471
22012
|
expected: "(Array<string> | undefined)",
|
|
21472
|
-
value: input.
|
|
21473
|
-
})].every(flag => flag); const
|
|
22013
|
+
value: input.ignoredErrors
|
|
22014
|
+
})].every(flag => flag); const _vo93 = (input, _path, _exceptionable = true) => [undefined === input.enableUpdate || "boolean" === typeof input.enableUpdate || _report(_exceptionable, {
|
|
21474
22015
|
path: _path + ".enableUpdate",
|
|
21475
22016
|
expected: "(boolean | undefined)",
|
|
21476
22017
|
value: input.enableUpdate
|
|
@@ -21478,7 +22019,18 @@ function _validateDomainRecord(domain, input) {
|
|
|
21478
22019
|
path: _path + ".autoUpdate",
|
|
21479
22020
|
expected: "(boolean | undefined)",
|
|
21480
22021
|
value: input.autoUpdate
|
|
21481
|
-
})].every(flag => flag); const
|
|
22022
|
+
})].every(flag => flag); const _vu0 = (input, _path, _exceptionable = true) => (() => {
|
|
22023
|
+
if ("script" === input.type)
|
|
22024
|
+
return _vo71(input, _path, true && _exceptionable);
|
|
22025
|
+
else if ("rundown" === input.type)
|
|
22026
|
+
return _vo72(input, _path, true && _exceptionable);
|
|
22027
|
+
else
|
|
22028
|
+
return _report(_exceptionable, {
|
|
22029
|
+
path: _path,
|
|
22030
|
+
expected: "(PrintScriptOptions | PrintRundownOptions)",
|
|
22031
|
+
value: input
|
|
22032
|
+
});
|
|
22033
|
+
})(); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); let errors; let _report; return input => {
|
|
21482
22034
|
if (false === __is(input)) {
|
|
21483
22035
|
errors = [];
|
|
21484
22036
|
_report = __typia_transform__validateReport._validateReport(errors);
|
|
@@ -21755,34 +22307,448 @@ function _validateDomainRecord(domain, input) {
|
|
|
21755
22307
|
};
|
|
21756
22308
|
}; })()(input);
|
|
21757
22309
|
}
|
|
21758
|
-
case ":
|
|
21759
|
-
return (() => { const _io0 = input =>
|
|
21760
|
-
|
|
21761
|
-
|
|
21762
|
-
|
|
21763
|
-
|
|
21764
|
-
|
|
21765
|
-
|
|
21766
|
-
|
|
21767
|
-
|
|
21768
|
-
|
|
21769
|
-
|
|
21770
|
-
|
|
21771
|
-
|
|
21772
|
-
|
|
21773
|
-
(
|
|
21774
|
-
|
|
21775
|
-
|
|
21776
|
-
|
|
21777
|
-
|
|
21778
|
-
|
|
21779
|
-
|
|
21780
|
-
|
|
21781
|
-
|
|
21782
|
-
|
|
21783
|
-
|
|
21784
|
-
|
|
21785
|
-
|
|
22310
|
+
case ":storage": {
|
|
22311
|
+
return (() => { const _io0 = input => "string" === typeof input.zone && (null === input.hostname || "string" === typeof input.hostname) && (null === input.port || undefined === input.port || "number" === typeof input.port) && (undefined === input.location || "string" === typeof input.location) && (null === input.cache || undefined === input.cache || "boolean" === typeof input.cache) && (undefined === input.allows || Array.isArray(input.allows) && input.allows.every(elem => "string" === typeof elem)) && (null === input.capacity || undefined === input.capacity || "number" === typeof input.capacity) && (null === input.rxBytesSecMax || undefined === input.rxBytesSecMax || "number" === typeof input.rxBytesSecMax) && (null === input.txBytesSecMax || undefined === input.txBytesSecMax || "number" === typeof input.txBytesSecMax) && (null === input.rxBytesSecLimit || undefined === input.rxBytesSecLimit || "number" === typeof input.rxBytesSecLimit) && (null === input.txBytesSecLimit || undefined === input.txBytesSecLimit || "number" === typeof input.txBytesSecLimit); const _vo0 = (input, _path, _exceptionable = true) => ["string" === typeof input.zone || _report(_exceptionable, {
|
|
22312
|
+
path: _path + ".zone",
|
|
22313
|
+
expected: "string",
|
|
22314
|
+
value: input.zone
|
|
22315
|
+
}), null === input.hostname || "string" === typeof input.hostname || _report(_exceptionable, {
|
|
22316
|
+
path: _path + ".hostname",
|
|
22317
|
+
expected: "(null | string)",
|
|
22318
|
+
value: input.hostname
|
|
22319
|
+
}), null === input.port || undefined === input.port || "number" === typeof input.port || _report(_exceptionable, {
|
|
22320
|
+
path: _path + ".port",
|
|
22321
|
+
expected: "(null | number | undefined)",
|
|
22322
|
+
value: input.port
|
|
22323
|
+
}), undefined === input.location || "string" === typeof input.location || _report(_exceptionable, {
|
|
22324
|
+
path: _path + ".location",
|
|
22325
|
+
expected: "(string | undefined)",
|
|
22326
|
+
value: input.location
|
|
22327
|
+
}), null === input.cache || undefined === input.cache || "boolean" === typeof input.cache || _report(_exceptionable, {
|
|
22328
|
+
path: _path + ".cache",
|
|
22329
|
+
expected: "(boolean | null | undefined)",
|
|
22330
|
+
value: input.cache
|
|
22331
|
+
}), undefined === input.allows || (Array.isArray(input.allows) || _report(_exceptionable, {
|
|
22332
|
+
path: _path + ".allows",
|
|
22333
|
+
expected: "(Array<string> | undefined)",
|
|
22334
|
+
value: input.allows
|
|
22335
|
+
})) && input.allows.map((elem, _index2) => "string" === typeof elem || _report(_exceptionable, {
|
|
22336
|
+
path: _path + ".allows[" + _index2 + "]",
|
|
22337
|
+
expected: "string",
|
|
22338
|
+
value: elem
|
|
22339
|
+
})).every(flag => flag) || _report(_exceptionable, {
|
|
22340
|
+
path: _path + ".allows",
|
|
22341
|
+
expected: "(Array<string> | undefined)",
|
|
22342
|
+
value: input.allows
|
|
22343
|
+
}), null === input.capacity || undefined === input.capacity || "number" === typeof input.capacity || _report(_exceptionable, {
|
|
22344
|
+
path: _path + ".capacity",
|
|
22345
|
+
expected: "(null | number | undefined)",
|
|
22346
|
+
value: input.capacity
|
|
22347
|
+
}), null === input.rxBytesSecMax || undefined === input.rxBytesSecMax || "number" === typeof input.rxBytesSecMax || _report(_exceptionable, {
|
|
22348
|
+
path: _path + ".rxBytesSecMax",
|
|
22349
|
+
expected: "(null | number | undefined)",
|
|
22350
|
+
value: input.rxBytesSecMax
|
|
22351
|
+
}), null === input.txBytesSecMax || undefined === input.txBytesSecMax || "number" === typeof input.txBytesSecMax || _report(_exceptionable, {
|
|
22352
|
+
path: _path + ".txBytesSecMax",
|
|
22353
|
+
expected: "(null | number | undefined)",
|
|
22354
|
+
value: input.txBytesSecMax
|
|
22355
|
+
}), null === input.rxBytesSecLimit || undefined === input.rxBytesSecLimit || "number" === typeof input.rxBytesSecLimit || _report(_exceptionable, {
|
|
22356
|
+
path: _path + ".rxBytesSecLimit",
|
|
22357
|
+
expected: "(null | number | undefined)",
|
|
22358
|
+
value: input.rxBytesSecLimit
|
|
22359
|
+
}), null === input.txBytesSecLimit || undefined === input.txBytesSecLimit || "number" === typeof input.txBytesSecLimit || _report(_exceptionable, {
|
|
22360
|
+
path: _path + ".txBytesSecLimit",
|
|
22361
|
+
expected: "(null | number | undefined)",
|
|
22362
|
+
value: input.txBytesSecLimit
|
|
22363
|
+
})].every(flag => flag); const __is = input => "object" === typeof input && null !== input && _io0(input); let errors; let _report; return input => {
|
|
22364
|
+
if (false === __is(input)) {
|
|
22365
|
+
errors = [];
|
|
22366
|
+
_report = __typia_transform__validateReport._validateReport(errors);
|
|
22367
|
+
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input || _report(true, {
|
|
22368
|
+
path: _path + "",
|
|
22369
|
+
expected: "StorageDomainRecord",
|
|
22370
|
+
value: input
|
|
22371
|
+
})) && _vo0(input, _path + "", true) || _report(true, {
|
|
22372
|
+
path: _path + "",
|
|
22373
|
+
expected: "StorageDomainRecord",
|
|
22374
|
+
value: input
|
|
22375
|
+
}))(input, "$input", true);
|
|
22376
|
+
const success = 0 === errors.length;
|
|
22377
|
+
return success ? {
|
|
22378
|
+
success,
|
|
22379
|
+
data: input
|
|
22380
|
+
} : {
|
|
22381
|
+
success,
|
|
22382
|
+
errors,
|
|
22383
|
+
data: input
|
|
22384
|
+
};
|
|
22385
|
+
}
|
|
22386
|
+
return {
|
|
22387
|
+
success: true,
|
|
22388
|
+
data: input
|
|
22389
|
+
};
|
|
22390
|
+
}; })()(input);
|
|
22391
|
+
}
|
|
22392
|
+
case ":storage.stats": {
|
|
22393
|
+
return (() => { const _io0 = input => "string" === typeof input.id && "string" === typeof input.location && "string" === typeof input.timestamp && "string" === typeof input.type && "string" === typeof input.zone && "string" === typeof input.origin && (null === input.free || "number" === typeof input.free) && (null === input.size || "number" === typeof input.size) && (null === input.available || "number" === typeof input.available) && (null === input.cache || "boolean" === typeof input.cache) && (null === input.capacity || "number" === typeof input.capacity) && ("object" === typeof input.limiter && null !== input.limiter && false === Array.isArray(input.limiter) && _io1(input.limiter)) && ("object" === typeof input.http && null !== input.http && _io2(input.http)) && ("object" === typeof input.io && null !== input.io && _io3(input.io)) && (undefined === input.fs || "object" === typeof input.fs && null !== input.fs && false === Array.isArray(input.fs) && _io7(input.fs)) && (undefined === input.s3 || "object" === typeof input.s3 && null !== input.s3 && false === Array.isArray(input.s3) && _io8(input.s3)); const _io1 = input => (undefined === input.readBytesPerSecond || "number" === typeof input.readBytesPerSecond) && (undefined === input.writeBytesPerSecond || "number" === typeof input.writeBytesPerSecond); const _io2 = input => "number" === typeof input.downstreamConnected && "number" === typeof input.upstreamConnected && "number" === typeof input.pending && "number" === typeof input.completed && "number" === typeof input.failed; const _io3 = input => "object" === typeof input.read && null !== input.read && _io4(input.read) && ("object" === typeof input.write && null !== input.write && _io6(input.write)); const _io4 = input => "number" === typeof input.bytesPerSecond && "number" === typeof input.pending && ("object" === typeof input.queues && null !== input.queues && _io5(input.queues)); const _io5 = input => "number" === typeof input.highest && "number" === typeof input.higher && "number" === typeof input.high && "number" === typeof input.normal && "number" === typeof input.low && "number" === typeof input.lower && "number" === typeof input.lowest; const _io6 = input => "number" === typeof input.bytesPerSecond && "number" === typeof input.pending && ("object" === typeof input.queues && null !== input.queues && _io5(input.queues)); const _io7 = input => (undefined === input.concurrency || "number" === typeof input.concurrency) && (undefined === input.path || "string" === typeof input.path) && (null === input.snapshot || undefined === input.snapshot || "number" === typeof input.snapshot) && (undefined === input.available || "number" === typeof input.available) && (undefined === input.free || "number" === typeof input.free) && (undefined === input.used || "number" === typeof input.used) && (undefined === input.size || "number" === typeof input.size) && (undefined === input.state || "string" === typeof input.state) && Object.keys(input).every(key => {
|
|
22394
|
+
if (["concurrency", "path", "snapshot", "available", "free", "used", "size", "state"].some(prop => key === prop))
|
|
22395
|
+
return true;
|
|
22396
|
+
const value = input[key];
|
|
22397
|
+
if (undefined === value)
|
|
22398
|
+
return true;
|
|
22399
|
+
return true;
|
|
22400
|
+
}); const _io8 = input => (undefined === input.bucket || "string" === typeof input.bucket) && (undefined === input.region || "string" === typeof input.region) && (undefined === input.endpoint || "string" === typeof input.endpoint) && (undefined === input.path || "string" === typeof input.path) && (undefined === input.storageClass || "string" === typeof input.storageClass) && Object.keys(input).every(key => {
|
|
22401
|
+
if (["bucket", "region", "endpoint", "path", "storageClass"].some(prop => key === prop))
|
|
22402
|
+
return true;
|
|
22403
|
+
const value = input[key];
|
|
22404
|
+
if (undefined === value)
|
|
22405
|
+
return true;
|
|
22406
|
+
return true;
|
|
22407
|
+
}); const _vo0 = (input, _path, _exceptionable = true) => ["string" === typeof input.id || _report(_exceptionable, {
|
|
22408
|
+
path: _path + ".id",
|
|
22409
|
+
expected: "string",
|
|
22410
|
+
value: input.id
|
|
22411
|
+
}), "string" === typeof input.location || _report(_exceptionable, {
|
|
22412
|
+
path: _path + ".location",
|
|
22413
|
+
expected: "string",
|
|
22414
|
+
value: input.location
|
|
22415
|
+
}), "string" === typeof input.timestamp || _report(_exceptionable, {
|
|
22416
|
+
path: _path + ".timestamp",
|
|
22417
|
+
expected: "string",
|
|
22418
|
+
value: input.timestamp
|
|
22419
|
+
}), "string" === typeof input.type || _report(_exceptionable, {
|
|
22420
|
+
path: _path + ".type",
|
|
22421
|
+
expected: "string",
|
|
22422
|
+
value: input.type
|
|
22423
|
+
}), "string" === typeof input.zone || _report(_exceptionable, {
|
|
22424
|
+
path: _path + ".zone",
|
|
22425
|
+
expected: "string",
|
|
22426
|
+
value: input.zone
|
|
22427
|
+
}), "string" === typeof input.origin || _report(_exceptionable, {
|
|
22428
|
+
path: _path + ".origin",
|
|
22429
|
+
expected: "string",
|
|
22430
|
+
value: input.origin
|
|
22431
|
+
}), null === input.free || "number" === typeof input.free || _report(_exceptionable, {
|
|
22432
|
+
path: _path + ".free",
|
|
22433
|
+
expected: "(null | number)",
|
|
22434
|
+
value: input.free
|
|
22435
|
+
}), null === input.size || "number" === typeof input.size || _report(_exceptionable, {
|
|
22436
|
+
path: _path + ".size",
|
|
22437
|
+
expected: "(null | number)",
|
|
22438
|
+
value: input.size
|
|
22439
|
+
}), null === input.available || "number" === typeof input.available || _report(_exceptionable, {
|
|
22440
|
+
path: _path + ".available",
|
|
22441
|
+
expected: "(null | number)",
|
|
22442
|
+
value: input.available
|
|
22443
|
+
}), null === input.cache || "boolean" === typeof input.cache || _report(_exceptionable, {
|
|
22444
|
+
path: _path + ".cache",
|
|
22445
|
+
expected: "(boolean | null)",
|
|
22446
|
+
value: input.cache
|
|
22447
|
+
}), null === input.capacity || "number" === typeof input.capacity || _report(_exceptionable, {
|
|
22448
|
+
path: _path + ".capacity",
|
|
22449
|
+
expected: "(null | number)",
|
|
22450
|
+
value: input.capacity
|
|
22451
|
+
}), ("object" === typeof input.limiter && null !== input.limiter && false === Array.isArray(input.limiter) || _report(_exceptionable, {
|
|
22452
|
+
path: _path + ".limiter",
|
|
22453
|
+
expected: "__type",
|
|
22454
|
+
value: input.limiter
|
|
22455
|
+
})) && _vo1(input.limiter, _path + ".limiter", true && _exceptionable) || _report(_exceptionable, {
|
|
22456
|
+
path: _path + ".limiter",
|
|
22457
|
+
expected: "__type",
|
|
22458
|
+
value: input.limiter
|
|
22459
|
+
}), ("object" === typeof input.http && null !== input.http || _report(_exceptionable, {
|
|
22460
|
+
path: _path + ".http",
|
|
22461
|
+
expected: "__type.o1",
|
|
22462
|
+
value: input.http
|
|
22463
|
+
})) && _vo2(input.http, _path + ".http", true && _exceptionable) || _report(_exceptionable, {
|
|
22464
|
+
path: _path + ".http",
|
|
22465
|
+
expected: "__type.o1",
|
|
22466
|
+
value: input.http
|
|
22467
|
+
}), ("object" === typeof input.io && null !== input.io || _report(_exceptionable, {
|
|
22468
|
+
path: _path + ".io",
|
|
22469
|
+
expected: "__type.o2",
|
|
22470
|
+
value: input.io
|
|
22471
|
+
})) && _vo3(input.io, _path + ".io", true && _exceptionable) || _report(_exceptionable, {
|
|
22472
|
+
path: _path + ".io",
|
|
22473
|
+
expected: "__type.o2",
|
|
22474
|
+
value: input.io
|
|
22475
|
+
}), undefined === input.fs || ("object" === typeof input.fs && null !== input.fs && false === Array.isArray(input.fs) || _report(_exceptionable, {
|
|
22476
|
+
path: _path + ".fs",
|
|
22477
|
+
expected: "(StorageFsStats | undefined)",
|
|
22478
|
+
value: input.fs
|
|
22479
|
+
})) && _vo7(input.fs, _path + ".fs", true && _exceptionable) || _report(_exceptionable, {
|
|
22480
|
+
path: _path + ".fs",
|
|
22481
|
+
expected: "(StorageFsStats | undefined)",
|
|
22482
|
+
value: input.fs
|
|
22483
|
+
}), undefined === input.s3 || ("object" === typeof input.s3 && null !== input.s3 && false === Array.isArray(input.s3) || _report(_exceptionable, {
|
|
22484
|
+
path: _path + ".s3",
|
|
22485
|
+
expected: "(StorageS3Stats | undefined)",
|
|
22486
|
+
value: input.s3
|
|
22487
|
+
})) && _vo8(input.s3, _path + ".s3", true && _exceptionable) || _report(_exceptionable, {
|
|
22488
|
+
path: _path + ".s3",
|
|
22489
|
+
expected: "(StorageS3Stats | undefined)",
|
|
22490
|
+
value: input.s3
|
|
22491
|
+
})].every(flag => flag); const _vo1 = (input, _path, _exceptionable = true) => [undefined === input.readBytesPerSecond || "number" === typeof input.readBytesPerSecond || _report(_exceptionable, {
|
|
22492
|
+
path: _path + ".readBytesPerSecond",
|
|
22493
|
+
expected: "(number | undefined)",
|
|
22494
|
+
value: input.readBytesPerSecond
|
|
22495
|
+
}), undefined === input.writeBytesPerSecond || "number" === typeof input.writeBytesPerSecond || _report(_exceptionable, {
|
|
22496
|
+
path: _path + ".writeBytesPerSecond",
|
|
22497
|
+
expected: "(number | undefined)",
|
|
22498
|
+
value: input.writeBytesPerSecond
|
|
22499
|
+
})].every(flag => flag); const _vo2 = (input, _path, _exceptionable = true) => ["number" === typeof input.downstreamConnected || _report(_exceptionable, {
|
|
22500
|
+
path: _path + ".downstreamConnected",
|
|
22501
|
+
expected: "number",
|
|
22502
|
+
value: input.downstreamConnected
|
|
22503
|
+
}), "number" === typeof input.upstreamConnected || _report(_exceptionable, {
|
|
22504
|
+
path: _path + ".upstreamConnected",
|
|
22505
|
+
expected: "number",
|
|
22506
|
+
value: input.upstreamConnected
|
|
22507
|
+
}), "number" === typeof input.pending || _report(_exceptionable, {
|
|
22508
|
+
path: _path + ".pending",
|
|
22509
|
+
expected: "number",
|
|
22510
|
+
value: input.pending
|
|
22511
|
+
}), "number" === typeof input.completed || _report(_exceptionable, {
|
|
22512
|
+
path: _path + ".completed",
|
|
22513
|
+
expected: "number",
|
|
22514
|
+
value: input.completed
|
|
22515
|
+
}), "number" === typeof input.failed || _report(_exceptionable, {
|
|
22516
|
+
path: _path + ".failed",
|
|
22517
|
+
expected: "number",
|
|
22518
|
+
value: input.failed
|
|
22519
|
+
})].every(flag => flag); const _vo3 = (input, _path, _exceptionable = true) => [("object" === typeof input.read && null !== input.read || _report(_exceptionable, {
|
|
22520
|
+
path: _path + ".read",
|
|
22521
|
+
expected: "__type.o3",
|
|
22522
|
+
value: input.read
|
|
22523
|
+
})) && _vo4(input.read, _path + ".read", true && _exceptionable) || _report(_exceptionable, {
|
|
22524
|
+
path: _path + ".read",
|
|
22525
|
+
expected: "__type.o3",
|
|
22526
|
+
value: input.read
|
|
22527
|
+
}), ("object" === typeof input.write && null !== input.write || _report(_exceptionable, {
|
|
22528
|
+
path: _path + ".write",
|
|
22529
|
+
expected: "__type.o4",
|
|
22530
|
+
value: input.write
|
|
22531
|
+
})) && _vo6(input.write, _path + ".write", true && _exceptionable) || _report(_exceptionable, {
|
|
22532
|
+
path: _path + ".write",
|
|
22533
|
+
expected: "__type.o4",
|
|
22534
|
+
value: input.write
|
|
22535
|
+
})].every(flag => flag); const _vo4 = (input, _path, _exceptionable = true) => ["number" === typeof input.bytesPerSecond || _report(_exceptionable, {
|
|
22536
|
+
path: _path + ".bytesPerSecond",
|
|
22537
|
+
expected: "number",
|
|
22538
|
+
value: input.bytesPerSecond
|
|
22539
|
+
}), "number" === typeof input.pending || _report(_exceptionable, {
|
|
22540
|
+
path: _path + ".pending",
|
|
22541
|
+
expected: "number",
|
|
22542
|
+
value: input.pending
|
|
22543
|
+
}), ("object" === typeof input.queues && null !== input.queues || _report(_exceptionable, {
|
|
22544
|
+
path: _path + ".queues",
|
|
22545
|
+
expected: "StorageIoQueues",
|
|
22546
|
+
value: input.queues
|
|
22547
|
+
})) && _vo5(input.queues, _path + ".queues", true && _exceptionable) || _report(_exceptionable, {
|
|
22548
|
+
path: _path + ".queues",
|
|
22549
|
+
expected: "StorageIoQueues",
|
|
22550
|
+
value: input.queues
|
|
22551
|
+
})].every(flag => flag); const _vo5 = (input, _path, _exceptionable = true) => ["number" === typeof input.highest || _report(_exceptionable, {
|
|
22552
|
+
path: _path + ".highest",
|
|
22553
|
+
expected: "number",
|
|
22554
|
+
value: input.highest
|
|
22555
|
+
}), "number" === typeof input.higher || _report(_exceptionable, {
|
|
22556
|
+
path: _path + ".higher",
|
|
22557
|
+
expected: "number",
|
|
22558
|
+
value: input.higher
|
|
22559
|
+
}), "number" === typeof input.high || _report(_exceptionable, {
|
|
22560
|
+
path: _path + ".high",
|
|
22561
|
+
expected: "number",
|
|
22562
|
+
value: input.high
|
|
22563
|
+
}), "number" === typeof input.normal || _report(_exceptionable, {
|
|
22564
|
+
path: _path + ".normal",
|
|
22565
|
+
expected: "number",
|
|
22566
|
+
value: input.normal
|
|
22567
|
+
}), "number" === typeof input.low || _report(_exceptionable, {
|
|
22568
|
+
path: _path + ".low",
|
|
22569
|
+
expected: "number",
|
|
22570
|
+
value: input.low
|
|
22571
|
+
}), "number" === typeof input.lower || _report(_exceptionable, {
|
|
22572
|
+
path: _path + ".lower",
|
|
22573
|
+
expected: "number",
|
|
22574
|
+
value: input.lower
|
|
22575
|
+
}), "number" === typeof input.lowest || _report(_exceptionable, {
|
|
22576
|
+
path: _path + ".lowest",
|
|
22577
|
+
expected: "number",
|
|
22578
|
+
value: input.lowest
|
|
22579
|
+
})].every(flag => flag); const _vo6 = (input, _path, _exceptionable = true) => ["number" === typeof input.bytesPerSecond || _report(_exceptionable, {
|
|
22580
|
+
path: _path + ".bytesPerSecond",
|
|
22581
|
+
expected: "number",
|
|
22582
|
+
value: input.bytesPerSecond
|
|
22583
|
+
}), "number" === typeof input.pending || _report(_exceptionable, {
|
|
22584
|
+
path: _path + ".pending",
|
|
22585
|
+
expected: "number",
|
|
22586
|
+
value: input.pending
|
|
22587
|
+
}), ("object" === typeof input.queues && null !== input.queues || _report(_exceptionable, {
|
|
22588
|
+
path: _path + ".queues",
|
|
22589
|
+
expected: "StorageIoQueues",
|
|
22590
|
+
value: input.queues
|
|
22591
|
+
})) && _vo5(input.queues, _path + ".queues", true && _exceptionable) || _report(_exceptionable, {
|
|
22592
|
+
path: _path + ".queues",
|
|
22593
|
+
expected: "StorageIoQueues",
|
|
22594
|
+
value: input.queues
|
|
22595
|
+
})].every(flag => flag); const _vo7 = (input, _path, _exceptionable = true) => [undefined === input.concurrency || "number" === typeof input.concurrency || _report(_exceptionable, {
|
|
22596
|
+
path: _path + ".concurrency",
|
|
22597
|
+
expected: "(number | undefined)",
|
|
22598
|
+
value: input.concurrency
|
|
22599
|
+
}), undefined === input.path || "string" === typeof input.path || _report(_exceptionable, {
|
|
22600
|
+
path: _path + ".path",
|
|
22601
|
+
expected: "(string | undefined)",
|
|
22602
|
+
value: input.path
|
|
22603
|
+
}), null === input.snapshot || undefined === input.snapshot || "number" === typeof input.snapshot || _report(_exceptionable, {
|
|
22604
|
+
path: _path + ".snapshot",
|
|
22605
|
+
expected: "(null | number | undefined)",
|
|
22606
|
+
value: input.snapshot
|
|
22607
|
+
}), undefined === input.available || "number" === typeof input.available || _report(_exceptionable, {
|
|
22608
|
+
path: _path + ".available",
|
|
22609
|
+
expected: "(number | undefined)",
|
|
22610
|
+
value: input.available
|
|
22611
|
+
}), undefined === input.free || "number" === typeof input.free || _report(_exceptionable, {
|
|
22612
|
+
path: _path + ".free",
|
|
22613
|
+
expected: "(number | undefined)",
|
|
22614
|
+
value: input.free
|
|
22615
|
+
}), undefined === input.used || "number" === typeof input.used || _report(_exceptionable, {
|
|
22616
|
+
path: _path + ".used",
|
|
22617
|
+
expected: "(number | undefined)",
|
|
22618
|
+
value: input.used
|
|
22619
|
+
}), undefined === input.size || "number" === typeof input.size || _report(_exceptionable, {
|
|
22620
|
+
path: _path + ".size",
|
|
22621
|
+
expected: "(number | undefined)",
|
|
22622
|
+
value: input.size
|
|
22623
|
+
}), undefined === input.state || "string" === typeof input.state || _report(_exceptionable, {
|
|
22624
|
+
path: _path + ".state",
|
|
22625
|
+
expected: "(string | undefined)",
|
|
22626
|
+
value: input.state
|
|
22627
|
+
}), false === _exceptionable || Object.keys(input).map(key => {
|
|
22628
|
+
if (["concurrency", "path", "snapshot", "available", "free", "used", "size", "state"].some(prop => key === prop))
|
|
22629
|
+
return true;
|
|
22630
|
+
const value = input[key];
|
|
22631
|
+
if (undefined === value)
|
|
22632
|
+
return true;
|
|
22633
|
+
return true;
|
|
22634
|
+
}).every(flag => flag)].every(flag => flag); const _vo8 = (input, _path, _exceptionable = true) => [undefined === input.bucket || "string" === typeof input.bucket || _report(_exceptionable, {
|
|
22635
|
+
path: _path + ".bucket",
|
|
22636
|
+
expected: "(string | undefined)",
|
|
22637
|
+
value: input.bucket
|
|
22638
|
+
}), undefined === input.region || "string" === typeof input.region || _report(_exceptionable, {
|
|
22639
|
+
path: _path + ".region",
|
|
22640
|
+
expected: "(string | undefined)",
|
|
22641
|
+
value: input.region
|
|
22642
|
+
}), undefined === input.endpoint || "string" === typeof input.endpoint || _report(_exceptionable, {
|
|
22643
|
+
path: _path + ".endpoint",
|
|
22644
|
+
expected: "(string | undefined)",
|
|
22645
|
+
value: input.endpoint
|
|
22646
|
+
}), undefined === input.path || "string" === typeof input.path || _report(_exceptionable, {
|
|
22647
|
+
path: _path + ".path",
|
|
22648
|
+
expected: "(string | undefined)",
|
|
22649
|
+
value: input.path
|
|
22650
|
+
}), undefined === input.storageClass || "string" === typeof input.storageClass || _report(_exceptionable, {
|
|
22651
|
+
path: _path + ".storageClass",
|
|
22652
|
+
expected: "(string | undefined)",
|
|
22653
|
+
value: input.storageClass
|
|
22654
|
+
}), false === _exceptionable || Object.keys(input).map(key => {
|
|
22655
|
+
if (["bucket", "region", "endpoint", "path", "storageClass"].some(prop => key === prop))
|
|
22656
|
+
return true;
|
|
22657
|
+
const value = input[key];
|
|
22658
|
+
if (undefined === value)
|
|
22659
|
+
return true;
|
|
22660
|
+
return true;
|
|
22661
|
+
}).every(flag => flag)].every(flag => flag); const __is = input => "object" === typeof input && null !== input && _io0(input); let errors; let _report; return input => {
|
|
22662
|
+
if (false === __is(input)) {
|
|
22663
|
+
errors = [];
|
|
22664
|
+
_report = __typia_transform__validateReport._validateReport(errors);
|
|
22665
|
+
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input || _report(true, {
|
|
22666
|
+
path: _path + "",
|
|
22667
|
+
expected: "StorageStatsDomainRecord",
|
|
22668
|
+
value: input
|
|
22669
|
+
})) && _vo0(input, _path + "", true) || _report(true, {
|
|
22670
|
+
path: _path + "",
|
|
22671
|
+
expected: "StorageStatsDomainRecord",
|
|
22672
|
+
value: input
|
|
22673
|
+
}))(input, "$input", true);
|
|
22674
|
+
const success = 0 === errors.length;
|
|
22675
|
+
return success ? {
|
|
22676
|
+
success,
|
|
22677
|
+
data: input
|
|
22678
|
+
} : {
|
|
22679
|
+
success,
|
|
22680
|
+
errors,
|
|
22681
|
+
data: input
|
|
22682
|
+
};
|
|
22683
|
+
}
|
|
22684
|
+
return {
|
|
22685
|
+
success: true,
|
|
22686
|
+
data: input
|
|
22687
|
+
};
|
|
22688
|
+
}; })()(input);
|
|
22689
|
+
}
|
|
22690
|
+
case ":storage-zone": {
|
|
22691
|
+
return (() => { const _io0 = input => undefined === input.priority || "number" === typeof input.priority; const _vo0 = (input, _path, _exceptionable = true) => [undefined === input.priority || "number" === typeof input.priority || _report(_exceptionable, {
|
|
22692
|
+
path: _path + ".priority",
|
|
22693
|
+
expected: "(number | undefined)",
|
|
22694
|
+
value: input.priority
|
|
22695
|
+
})].every(flag => flag); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); let errors; let _report; return input => {
|
|
22696
|
+
if (false === __is(input)) {
|
|
22697
|
+
errors = [];
|
|
22698
|
+
_report = __typia_transform__validateReport._validateReport(errors);
|
|
22699
|
+
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || _report(true, {
|
|
22700
|
+
path: _path + "",
|
|
22701
|
+
expected: "StorageZoneDomainRecord",
|
|
22702
|
+
value: input
|
|
22703
|
+
})) && _vo0(input, _path + "", true) || _report(true, {
|
|
22704
|
+
path: _path + "",
|
|
22705
|
+
expected: "StorageZoneDomainRecord",
|
|
22706
|
+
value: input
|
|
22707
|
+
}))(input, "$input", true);
|
|
22708
|
+
const success = 0 === errors.length;
|
|
22709
|
+
return success ? {
|
|
22710
|
+
success,
|
|
22711
|
+
data: input
|
|
22712
|
+
} : {
|
|
22713
|
+
success,
|
|
22714
|
+
errors,
|
|
22715
|
+
data: input
|
|
22716
|
+
};
|
|
22717
|
+
}
|
|
22718
|
+
return {
|
|
22719
|
+
success: true,
|
|
22720
|
+
data: input
|
|
22721
|
+
};
|
|
22722
|
+
}; })()(input);
|
|
22723
|
+
}
|
|
22724
|
+
case ":storyboard": {
|
|
22725
|
+
return (() => { const _io0 = input => Object.keys(input).every(key => {
|
|
22726
|
+
const value = input[key];
|
|
22727
|
+
if (undefined === value)
|
|
22728
|
+
return true;
|
|
22729
|
+
return true;
|
|
22730
|
+
}); const _vo0 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
22731
|
+
const value = input[key];
|
|
22732
|
+
if (undefined === value)
|
|
22733
|
+
return true;
|
|
22734
|
+
return true;
|
|
22735
|
+
}).every(flag => flag)].every(flag => flag); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); let errors; let _report; return input => {
|
|
22736
|
+
if (false === __is(input)) {
|
|
22737
|
+
errors = [];
|
|
22738
|
+
_report = __typia_transform__validateReport._validateReport(errors);
|
|
22739
|
+
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || _report(true, {
|
|
22740
|
+
path: _path + "",
|
|
22741
|
+
expected: "StoryboardDomainRecord",
|
|
22742
|
+
value: input
|
|
22743
|
+
})) && _vo0(input, _path + "", true) || _report(true, {
|
|
22744
|
+
path: _path + "",
|
|
22745
|
+
expected: "StoryboardDomainRecord",
|
|
22746
|
+
value: input
|
|
22747
|
+
}))(input, "$input", true);
|
|
22748
|
+
const success = 0 === errors.length;
|
|
22749
|
+
return success ? {
|
|
22750
|
+
success,
|
|
22751
|
+
data: input
|
|
21786
22752
|
} : {
|
|
21787
22753
|
success,
|
|
21788
22754
|
errors,
|
|
@@ -22595,7 +23561,12 @@ function _validateDomainRecord(domain, input) {
|
|
|
22595
23561
|
if (undefined === value)
|
|
22596
23562
|
return true;
|
|
22597
23563
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io2(value);
|
|
22598
|
-
}); const _io2 = input => undefined === input.path || "string" === typeof input.path; const
|
|
23564
|
+
}); const _io2 = input => (undefined === input.path || "string" === typeof input.path) && (undefined === input.type || "string" === typeof input.type) && (undefined === input.label || "string" === typeof input.label) && (undefined === input.defaultValue || "string" === typeof input.defaultValue) && (undefined === input.widget || "object" === typeof input.widget && null !== input.widget && _io3(input.widget)) && (undefined === input.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && _io4(input.properties)) && (undefined === input.items || "object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) && _io5(input.items)) && (undefined === input.render || "object" === typeof input.render && null !== input.render && _io9(input.render)); const _io3 = input => "string" === typeof input.type; const _io4 = input => true; const _io5 = input => undefined === input.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && _io6(input.properties); const _io6 = input => Object.keys(input).every(key => {
|
|
23565
|
+
const value = input[key];
|
|
23566
|
+
if (undefined === value)
|
|
23567
|
+
return true;
|
|
23568
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io7(value);
|
|
23569
|
+
}); const _io7 = input => (undefined === input.path || "string" === typeof input.path) && (undefined === input.type || "string" === typeof input.type) && (undefined === input.label || "string" === typeof input.label) && (undefined === input.defaultValue || "string" === typeof input.defaultValue) && (undefined === input.widget || "object" === typeof input.widget && null !== input.widget && _io8(input.widget)) && (undefined === input.items || "object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) && _io7(input.items)) && (undefined === input.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && _io6(input.properties)); const _io8 = input => "string" === typeof input.type; const _io9 = input => "image" === input.type && (undefined === input.profile || "object" === typeof input.profile && null !== input.profile && false === Array.isArray(input.profile) && _io10(input.profile)); const _io10 = input => (undefined === input.format || "string" === typeof input.format) && (undefined === input.video || "object" === typeof input.video && null !== input.video && _io11(input.video)); const _io11 = input => "number" === typeof input.width && "number" === typeof input.height && "cover" === input.fit; const _vo0 = (input, _path, _exceptionable = true) => [undefined === input.source || "string" === typeof input.source || _report(_exceptionable, {
|
|
22599
23570
|
path: _path + ".source",
|
|
22600
23571
|
expected: "(string | undefined)",
|
|
22601
23572
|
value: input.source
|
|
@@ -22644,6 +23615,155 @@ function _validateDomainRecord(domain, input) {
|
|
|
22644
23615
|
path: _path + ".path",
|
|
22645
23616
|
expected: "(string | undefined)",
|
|
22646
23617
|
value: input.path
|
|
23618
|
+
}), undefined === input.type || "string" === typeof input.type || _report(_exceptionable, {
|
|
23619
|
+
path: _path + ".type",
|
|
23620
|
+
expected: "(string | undefined)",
|
|
23621
|
+
value: input.type
|
|
23622
|
+
}), undefined === input.label || "string" === typeof input.label || _report(_exceptionable, {
|
|
23623
|
+
path: _path + ".label",
|
|
23624
|
+
expected: "(string | undefined)",
|
|
23625
|
+
value: input.label
|
|
23626
|
+
}), undefined === input.defaultValue || "string" === typeof input.defaultValue || _report(_exceptionable, {
|
|
23627
|
+
path: _path + ".defaultValue",
|
|
23628
|
+
expected: "(string | undefined)",
|
|
23629
|
+
value: input.defaultValue
|
|
23630
|
+
}), undefined === input.widget || ("object" === typeof input.widget && null !== input.widget || _report(_exceptionable, {
|
|
23631
|
+
path: _path + ".widget",
|
|
23632
|
+
expected: "(__type | undefined)",
|
|
23633
|
+
value: input.widget
|
|
23634
|
+
})) && _vo3(input.widget, _path + ".widget", true && _exceptionable) || _report(_exceptionable, {
|
|
23635
|
+
path: _path + ".widget",
|
|
23636
|
+
expected: "(__type | undefined)",
|
|
23637
|
+
value: input.widget
|
|
23638
|
+
}), undefined === input.properties || ("object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) || _report(_exceptionable, {
|
|
23639
|
+
path: _path + ".properties",
|
|
23640
|
+
expected: "(object | undefined)",
|
|
23641
|
+
value: input.properties
|
|
23642
|
+
})) && _vo4(input.properties, _path + ".properties", true && _exceptionable) || _report(_exceptionable, {
|
|
23643
|
+
path: _path + ".properties",
|
|
23644
|
+
expected: "(object | undefined)",
|
|
23645
|
+
value: input.properties
|
|
23646
|
+
}), undefined === input.items || ("object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) || _report(_exceptionable, {
|
|
23647
|
+
path: _path + ".items",
|
|
23648
|
+
expected: "(__type.o1 | undefined)",
|
|
23649
|
+
value: input.items
|
|
23650
|
+
})) && _vo5(input.items, _path + ".items", true && _exceptionable) || _report(_exceptionable, {
|
|
23651
|
+
path: _path + ".items",
|
|
23652
|
+
expected: "(__type.o1 | undefined)",
|
|
23653
|
+
value: input.items
|
|
23654
|
+
}), undefined === input.render || ("object" === typeof input.render && null !== input.render || _report(_exceptionable, {
|
|
23655
|
+
path: _path + ".render",
|
|
23656
|
+
expected: "(__type.o3 | undefined)",
|
|
23657
|
+
value: input.render
|
|
23658
|
+
})) && _vo9(input.render, _path + ".render", true && _exceptionable) || _report(_exceptionable, {
|
|
23659
|
+
path: _path + ".render",
|
|
23660
|
+
expected: "(__type.o3 | undefined)",
|
|
23661
|
+
value: input.render
|
|
23662
|
+
})].every(flag => flag); const _vo3 = (input, _path, _exceptionable = true) => ["string" === typeof input.type || _report(_exceptionable, {
|
|
23663
|
+
path: _path + ".type",
|
|
23664
|
+
expected: "string",
|
|
23665
|
+
value: input.type
|
|
23666
|
+
})].every(flag => flag); const _vo4 = (input, _path, _exceptionable = true) => true; const _vo5 = (input, _path, _exceptionable = true) => [undefined === input.properties || ("object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) || _report(_exceptionable, {
|
|
23667
|
+
path: _path + ".properties",
|
|
23668
|
+
expected: "(Record<string, TemplatePropertySchema> | undefined)",
|
|
23669
|
+
value: input.properties
|
|
23670
|
+
})) && _vo6(input.properties, _path + ".properties", true && _exceptionable) || _report(_exceptionable, {
|
|
23671
|
+
path: _path + ".properties",
|
|
23672
|
+
expected: "(Record<string, TemplatePropertySchema> | undefined)",
|
|
23673
|
+
value: input.properties
|
|
23674
|
+
})].every(flag => flag); const _vo6 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
23675
|
+
const value = input[key];
|
|
23676
|
+
if (undefined === value)
|
|
23677
|
+
return true;
|
|
23678
|
+
return ("object" === typeof value && null !== value && false === Array.isArray(value) || _report(_exceptionable, {
|
|
23679
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
23680
|
+
expected: "TemplatePropertySchema",
|
|
23681
|
+
value: value
|
|
23682
|
+
})) && _vo7(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || _report(_exceptionable, {
|
|
23683
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
23684
|
+
expected: "TemplatePropertySchema",
|
|
23685
|
+
value: value
|
|
23686
|
+
});
|
|
23687
|
+
}).every(flag => flag)].every(flag => flag); const _vo7 = (input, _path, _exceptionable = true) => [undefined === input.path || "string" === typeof input.path || _report(_exceptionable, {
|
|
23688
|
+
path: _path + ".path",
|
|
23689
|
+
expected: "(string | undefined)",
|
|
23690
|
+
value: input.path
|
|
23691
|
+
}), undefined === input.type || "string" === typeof input.type || _report(_exceptionable, {
|
|
23692
|
+
path: _path + ".type",
|
|
23693
|
+
expected: "(string | undefined)",
|
|
23694
|
+
value: input.type
|
|
23695
|
+
}), undefined === input.label || "string" === typeof input.label || _report(_exceptionable, {
|
|
23696
|
+
path: _path + ".label",
|
|
23697
|
+
expected: "(string | undefined)",
|
|
23698
|
+
value: input.label
|
|
23699
|
+
}), undefined === input.defaultValue || "string" === typeof input.defaultValue || _report(_exceptionable, {
|
|
23700
|
+
path: _path + ".defaultValue",
|
|
23701
|
+
expected: "(string | undefined)",
|
|
23702
|
+
value: input.defaultValue
|
|
23703
|
+
}), undefined === input.widget || ("object" === typeof input.widget && null !== input.widget || _report(_exceptionable, {
|
|
23704
|
+
path: _path + ".widget",
|
|
23705
|
+
expected: "(__type.o2 | undefined)",
|
|
23706
|
+
value: input.widget
|
|
23707
|
+
})) && _vo8(input.widget, _path + ".widget", true && _exceptionable) || _report(_exceptionable, {
|
|
23708
|
+
path: _path + ".widget",
|
|
23709
|
+
expected: "(__type.o2 | undefined)",
|
|
23710
|
+
value: input.widget
|
|
23711
|
+
}), undefined === input.items || ("object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) || _report(_exceptionable, {
|
|
23712
|
+
path: _path + ".items",
|
|
23713
|
+
expected: "(TemplatePropertySchema | undefined)",
|
|
23714
|
+
value: input.items
|
|
23715
|
+
})) && _vo7(input.items, _path + ".items", true && _exceptionable) || _report(_exceptionable, {
|
|
23716
|
+
path: _path + ".items",
|
|
23717
|
+
expected: "(TemplatePropertySchema | undefined)",
|
|
23718
|
+
value: input.items
|
|
23719
|
+
}), undefined === input.properties || ("object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) || _report(_exceptionable, {
|
|
23720
|
+
path: _path + ".properties",
|
|
23721
|
+
expected: "(Record<string, TemplatePropertySchema> | undefined)",
|
|
23722
|
+
value: input.properties
|
|
23723
|
+
})) && _vo6(input.properties, _path + ".properties", true && _exceptionable) || _report(_exceptionable, {
|
|
23724
|
+
path: _path + ".properties",
|
|
23725
|
+
expected: "(Record<string, TemplatePropertySchema> | undefined)",
|
|
23726
|
+
value: input.properties
|
|
23727
|
+
})].every(flag => flag); const _vo8 = (input, _path, _exceptionable = true) => ["string" === typeof input.type || _report(_exceptionable, {
|
|
23728
|
+
path: _path + ".type",
|
|
23729
|
+
expected: "string",
|
|
23730
|
+
value: input.type
|
|
23731
|
+
})].every(flag => flag); const _vo9 = (input, _path, _exceptionable = true) => ["image" === input.type || _report(_exceptionable, {
|
|
23732
|
+
path: _path + ".type",
|
|
23733
|
+
expected: "\"image\"",
|
|
23734
|
+
value: input.type
|
|
23735
|
+
}), undefined === input.profile || ("object" === typeof input.profile && null !== input.profile && false === Array.isArray(input.profile) || _report(_exceptionable, {
|
|
23736
|
+
path: _path + ".profile",
|
|
23737
|
+
expected: "(__type.o4 | undefined)",
|
|
23738
|
+
value: input.profile
|
|
23739
|
+
})) && _vo10(input.profile, _path + ".profile", true && _exceptionable) || _report(_exceptionable, {
|
|
23740
|
+
path: _path + ".profile",
|
|
23741
|
+
expected: "(__type.o4 | undefined)",
|
|
23742
|
+
value: input.profile
|
|
23743
|
+
})].every(flag => flag); const _vo10 = (input, _path, _exceptionable = true) => [undefined === input.format || "string" === typeof input.format || _report(_exceptionable, {
|
|
23744
|
+
path: _path + ".format",
|
|
23745
|
+
expected: "(string | undefined)",
|
|
23746
|
+
value: input.format
|
|
23747
|
+
}), undefined === input.video || ("object" === typeof input.video && null !== input.video || _report(_exceptionable, {
|
|
23748
|
+
path: _path + ".video",
|
|
23749
|
+
expected: "(__type.o5 | undefined)",
|
|
23750
|
+
value: input.video
|
|
23751
|
+
})) && _vo11(input.video, _path + ".video", true && _exceptionable) || _report(_exceptionable, {
|
|
23752
|
+
path: _path + ".video",
|
|
23753
|
+
expected: "(__type.o5 | undefined)",
|
|
23754
|
+
value: input.video
|
|
23755
|
+
})].every(flag => flag); const _vo11 = (input, _path, _exceptionable = true) => ["number" === typeof input.width || _report(_exceptionable, {
|
|
23756
|
+
path: _path + ".width",
|
|
23757
|
+
expected: "number",
|
|
23758
|
+
value: input.width
|
|
23759
|
+
}), "number" === typeof input.height || _report(_exceptionable, {
|
|
23760
|
+
path: _path + ".height",
|
|
23761
|
+
expected: "number",
|
|
23762
|
+
value: input.height
|
|
23763
|
+
}), "cover" === input.fit || _report(_exceptionable, {
|
|
23764
|
+
path: _path + ".fit",
|
|
23765
|
+
expected: "\"cover\"",
|
|
23766
|
+
value: input.fit
|
|
22647
23767
|
})].every(flag => flag); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); let errors; let _report; return input => {
|
|
22648
23768
|
if (false === __is(input)) {
|
|
22649
23769
|
errors = [];
|