@nxtedition/types 23.1.3 → 23.1.4
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/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/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/settings.d.ts +11 -2
- package/dist/nxtpression.d.ts +337 -42
- package/dist/records/domains/connection/file/smb.d.ts +2 -0
- package/dist/records/domains/event.d.ts +6 -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 +1549 -433
- package/dist/records/validate/assert.js +1557 -433
- package/dist/records/validate/is.js +85 -25
- package/dist/records/validate/schemas.d.ts +3 -10
- package/dist/records/validate/schemas.js +1241 -240
- package/dist/records/validate/stringify.js +137 -49
- package/dist/records/validate/utils.js +2 -2
- package/dist/records/validate/validate-equals.js +2087 -457
- package/dist/records/validate/validate.js +1414 -382
- package/package.json +1 -1
|
@@ -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,40 @@ 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
|
+
}
|
|
8789
8885
|
case ":file.replicate": {
|
|
8790
8886
|
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
8887
|
const value = input[key];
|
|
@@ -9379,6 +9475,48 @@ function _validateDomainRecord(domain, input) {
|
|
|
9379
9475
|
};
|
|
9380
9476
|
}; })()(input);
|
|
9381
9477
|
}
|
|
9478
|
+
case ":gallery": {
|
|
9479
|
+
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, {
|
|
9480
|
+
path: _path + ".sources",
|
|
9481
|
+
expected: "(__type | undefined)",
|
|
9482
|
+
value: input.sources
|
|
9483
|
+
})) && _vo1(input.sources, _path + ".sources", true && _exceptionable) || _report(_exceptionable, {
|
|
9484
|
+
path: _path + ".sources",
|
|
9485
|
+
expected: "(__type | undefined)",
|
|
9486
|
+
value: input.sources
|
|
9487
|
+
})].every(flag => flag); const _vo1 = (input, _path, _exceptionable = true) => [undefined === input.program || "string" === typeof input.program || _report(_exceptionable, {
|
|
9488
|
+
path: _path + ".program",
|
|
9489
|
+
expected: "(string | undefined)",
|
|
9490
|
+
value: input.program
|
|
9491
|
+
})].every(flag => flag); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); let errors; let _report; return input => {
|
|
9492
|
+
if (false === __is(input)) {
|
|
9493
|
+
errors = [];
|
|
9494
|
+
_report = __typia_transform__validateReport._validateReport(errors);
|
|
9495
|
+
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || _report(true, {
|
|
9496
|
+
path: _path + "",
|
|
9497
|
+
expected: "GalleryDomainRecord",
|
|
9498
|
+
value: input
|
|
9499
|
+
})) && _vo0(input, _path + "", true) || _report(true, {
|
|
9500
|
+
path: _path + "",
|
|
9501
|
+
expected: "GalleryDomainRecord",
|
|
9502
|
+
value: input
|
|
9503
|
+
}))(input, "$input", true);
|
|
9504
|
+
const success = 0 === errors.length;
|
|
9505
|
+
return success ? {
|
|
9506
|
+
success,
|
|
9507
|
+
data: input
|
|
9508
|
+
} : {
|
|
9509
|
+
success,
|
|
9510
|
+
errors,
|
|
9511
|
+
data: input
|
|
9512
|
+
};
|
|
9513
|
+
}
|
|
9514
|
+
return {
|
|
9515
|
+
success: true,
|
|
9516
|
+
data: input
|
|
9517
|
+
};
|
|
9518
|
+
}; })()(input);
|
|
9519
|
+
}
|
|
9382
9520
|
case ":general.title": {
|
|
9383
9521
|
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
9522
|
path: _path + ".value",
|
|
@@ -9901,7 +10039,12 @@ function _validateDomainRecord(domain, input) {
|
|
|
9901
10039
|
if (undefined === value)
|
|
9902
10040
|
return true;
|
|
9903
10041
|
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 =>
|
|
10042
|
+
}); 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 => {
|
|
10043
|
+
const value = input[key];
|
|
10044
|
+
if (undefined === value)
|
|
10045
|
+
return true;
|
|
10046
|
+
return true;
|
|
10047
|
+
}); 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
10048
|
path: _path + ".io",
|
|
9906
10049
|
expected: "(__type | undefined)",
|
|
9907
10050
|
value: input.io
|
|
@@ -10000,17 +10143,22 @@ function _validateDomainRecord(domain, input) {
|
|
|
10000
10143
|
value: input.publish
|
|
10001
10144
|
})].every(flag => flag); const _vo3 = (input, _path, _exceptionable = true) => [("object" === typeof input.__context && null !== input.__context && false === Array.isArray(input.__context) || _report(_exceptionable, {
|
|
10002
10145
|
path: _path + ".__context",
|
|
10003
|
-
expected: "
|
|
10146
|
+
expected: "Record<string, unknown>",
|
|
10004
10147
|
value: input.__context
|
|
10005
10148
|
})) && _vo4(input.__context, _path + ".__context", true && _exceptionable) || _report(_exceptionable, {
|
|
10006
10149
|
path: _path + ".__context",
|
|
10007
|
-
expected: "
|
|
10150
|
+
expected: "Record<string, unknown>",
|
|
10008
10151
|
value: input.__context
|
|
10009
10152
|
}), "string" === typeof input.__returnValue || _report(_exceptionable, {
|
|
10010
10153
|
path: _path + ".__returnValue",
|
|
10011
10154
|
expected: "string",
|
|
10012
10155
|
value: input.__returnValue
|
|
10013
|
-
})].every(flag => flag); const _vo4 = (input, _path, _exceptionable = true) =>
|
|
10156
|
+
})].every(flag => flag); const _vo4 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
10157
|
+
const value = input[key];
|
|
10158
|
+
if (undefined === value)
|
|
10159
|
+
return true;
|
|
10160
|
+
return true;
|
|
10161
|
+
}).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
10162
|
path: _path + ".gallery",
|
|
10015
10163
|
expected: "(null | string | undefined)",
|
|
10016
10164
|
value: input.gallery
|
|
@@ -10115,7 +10263,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
10115
10263
|
if (undefined === value)
|
|
10116
10264
|
return true;
|
|
10117
10265
|
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, {
|
|
10266
|
+
}); 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
10267
|
path: _path + ".id",
|
|
10120
10268
|
expected: "(string | undefined)",
|
|
10121
10269
|
value: input.id
|
|
@@ -10544,6 +10692,10 @@ function _validateDomainRecord(domain, input) {
|
|
|
10544
10692
|
path: _path + ".pan",
|
|
10545
10693
|
expected: "(Array<number> | undefined)",
|
|
10546
10694
|
value: input.pan
|
|
10695
|
+
}), undefined === input.diarization || "boolean" === typeof input.diarization || _report(_exceptionable, {
|
|
10696
|
+
path: _path + ".diarization",
|
|
10697
|
+
expected: "(boolean | undefined)",
|
|
10698
|
+
value: input.diarization
|
|
10547
10699
|
})].every(flag => flag); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); let errors; let _report; return input => {
|
|
10548
10700
|
if (false === __is(input)) {
|
|
10549
10701
|
errors = [];
|
|
@@ -11370,7 +11522,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
11370
11522
|
if (undefined === value)
|
|
11371
11523
|
return true;
|
|
11372
11524
|
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 => {
|
|
11525
|
+
}); 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
11526
|
const value = input[key];
|
|
11375
11527
|
if (undefined === value)
|
|
11376
11528
|
return true;
|
|
@@ -11812,6 +11964,10 @@ function _validateDomainRecord(domain, input) {
|
|
|
11812
11964
|
path: _path + ".pan",
|
|
11813
11965
|
expected: "(Array<number> | undefined)",
|
|
11814
11966
|
value: input.pan
|
|
11967
|
+
}), undefined === input.diarization || "boolean" === typeof input.diarization || _report(_exceptionable, {
|
|
11968
|
+
path: _path + ".diarization",
|
|
11969
|
+
expected: "(boolean | undefined)",
|
|
11970
|
+
value: input.diarization
|
|
11815
11971
|
})].every(flag => flag); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); let errors; let _report; return input => {
|
|
11816
11972
|
if (false === __is(input)) {
|
|
11817
11973
|
errors = [];
|
|
@@ -13671,7 +13827,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
13671
13827
|
if (undefined === value)
|
|
13672
13828
|
return true;
|
|
13673
13829
|
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 => {
|
|
13830
|
+
}); 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
13831
|
const value = input[key];
|
|
13676
13832
|
if (undefined === value)
|
|
13677
13833
|
return true;
|
|
@@ -14204,6 +14360,10 @@ function _validateDomainRecord(domain, input) {
|
|
|
14204
14360
|
path: _path + ".pan",
|
|
14205
14361
|
expected: "(Array<number> | undefined)",
|
|
14206
14362
|
value: input.pan
|
|
14363
|
+
}), undefined === input.diarization || "boolean" === typeof input.diarization || _report(_exceptionable, {
|
|
14364
|
+
path: _path + ".diarization",
|
|
14365
|
+
expected: "(boolean | undefined)",
|
|
14366
|
+
value: input.diarization
|
|
14207
14367
|
})].every(flag => flag); const _vo16 = (input, _path, _exceptionable = true) => ["string" === typeof input.format || _report(_exceptionable, {
|
|
14208
14368
|
path: _path + ".format",
|
|
14209
14369
|
expected: "string",
|
|
@@ -14905,7 +15065,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
14905
15065
|
if (undefined === value)
|
|
14906
15066
|
return true;
|
|
14907
15067
|
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 => {
|
|
15068
|
+
}); 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
15069
|
const value = input[key];
|
|
14910
15070
|
if (undefined === value)
|
|
14911
15071
|
return true;
|
|
@@ -15546,6 +15706,10 @@ function _validateDomainRecord(domain, input) {
|
|
|
15546
15706
|
path: _path + ".pan",
|
|
15547
15707
|
expected: "(Array<number> | undefined)",
|
|
15548
15708
|
value: input.pan
|
|
15709
|
+
}), undefined === input.diarization || "boolean" === typeof input.diarization || _report(_exceptionable, {
|
|
15710
|
+
path: _path + ".diarization",
|
|
15711
|
+
expected: "(boolean | undefined)",
|
|
15712
|
+
value: input.diarization
|
|
15549
15713
|
})].every(flag => flag); const _vo23 = (input, _path, _exceptionable = true) => ["string" === typeof input.format || _report(_exceptionable, {
|
|
15550
15714
|
path: _path + ".format",
|
|
15551
15715
|
expected: "string",
|
|
@@ -16687,7 +16851,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
16687
16851
|
if (undefined === value)
|
|
16688
16852
|
return true;
|
|
16689
16853
|
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, {
|
|
16854
|
+
}); 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
16855
|
path: _path + ".type",
|
|
16692
16856
|
expected: "string",
|
|
16693
16857
|
value: input.type
|
|
@@ -17152,6 +17316,10 @@ function _validateDomainRecord(domain, input) {
|
|
|
17152
17316
|
path: _path + ".pan",
|
|
17153
17317
|
expected: "(Array<number> | undefined)",
|
|
17154
17318
|
value: input.pan
|
|
17319
|
+
}), undefined === input.diarization || "boolean" === typeof input.diarization || _report(_exceptionable, {
|
|
17320
|
+
path: _path + ".diarization",
|
|
17321
|
+
expected: "(boolean | undefined)",
|
|
17322
|
+
value: input.diarization
|
|
17155
17323
|
})].every(flag => flag); const _vo16 = (input, _path, _exceptionable = true) => ["string" === typeof input.format || _report(_exceptionable, {
|
|
17156
17324
|
path: _path + ".format",
|
|
17157
17325
|
expected: "string",
|
|
@@ -17687,6 +17855,108 @@ function _validateDomainRecord(domain, input) {
|
|
|
17687
17855
|
};
|
|
17688
17856
|
}; })()(input);
|
|
17689
17857
|
}
|
|
17858
|
+
case ":role": {
|
|
17859
|
+
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 => {
|
|
17860
|
+
const value = input[key];
|
|
17861
|
+
if (undefined === value)
|
|
17862
|
+
return true;
|
|
17863
|
+
return Array.isArray(value) && value.every(elem => "string" === typeof elem);
|
|
17864
|
+
}); const _vo0 = (input, _path, _exceptionable = true) => [undefined === input.permissions || ("object" === typeof input.permissions && null !== input.permissions && false === Array.isArray(input.permissions) || _report(_exceptionable, {
|
|
17865
|
+
path: _path + ".permissions",
|
|
17866
|
+
expected: "(Record<string, Array<string>> | undefined)",
|
|
17867
|
+
value: input.permissions
|
|
17868
|
+
})) && _vo1(input.permissions, _path + ".permissions", true && _exceptionable) || _report(_exceptionable, {
|
|
17869
|
+
path: _path + ".permissions",
|
|
17870
|
+
expected: "(Record<string, Array<string>> | undefined)",
|
|
17871
|
+
value: input.permissions
|
|
17872
|
+
})].every(flag => flag); const _vo1 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
17873
|
+
const value = input[key];
|
|
17874
|
+
if (undefined === value)
|
|
17875
|
+
return true;
|
|
17876
|
+
return (Array.isArray(value) || _report(_exceptionable, {
|
|
17877
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
17878
|
+
expected: "Array<string>",
|
|
17879
|
+
value: value
|
|
17880
|
+
})) && value.map((elem, _index2) => "string" === typeof elem || _report(_exceptionable, {
|
|
17881
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key) + "[" + _index2 + "]",
|
|
17882
|
+
expected: "string",
|
|
17883
|
+
value: elem
|
|
17884
|
+
})).every(flag => flag) || _report(_exceptionable, {
|
|
17885
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
17886
|
+
expected: "Array<string>",
|
|
17887
|
+
value: value
|
|
17888
|
+
});
|
|
17889
|
+
}).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 => {
|
|
17890
|
+
if (false === __is(input)) {
|
|
17891
|
+
errors = [];
|
|
17892
|
+
_report = __typia_transform__validateReport._validateReport(errors);
|
|
17893
|
+
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || _report(true, {
|
|
17894
|
+
path: _path + "",
|
|
17895
|
+
expected: "RoleRecord",
|
|
17896
|
+
value: input
|
|
17897
|
+
})) && _vo0(input, _path + "", true) || _report(true, {
|
|
17898
|
+
path: _path + "",
|
|
17899
|
+
expected: "RoleRecord",
|
|
17900
|
+
value: input
|
|
17901
|
+
}))(input, "$input", true);
|
|
17902
|
+
const success = 0 === errors.length;
|
|
17903
|
+
return success ? {
|
|
17904
|
+
success,
|
|
17905
|
+
data: input
|
|
17906
|
+
} : {
|
|
17907
|
+
success,
|
|
17908
|
+
errors,
|
|
17909
|
+
data: input
|
|
17910
|
+
};
|
|
17911
|
+
}
|
|
17912
|
+
return {
|
|
17913
|
+
success: true,
|
|
17914
|
+
data: input
|
|
17915
|
+
};
|
|
17916
|
+
}; })()(input);
|
|
17917
|
+
}
|
|
17918
|
+
case ":role.users?": {
|
|
17919
|
+
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, {
|
|
17920
|
+
path: _path + ".value",
|
|
17921
|
+
expected: "(Array<string> | undefined)",
|
|
17922
|
+
value: input.value
|
|
17923
|
+
})) && input.value.map((elem, _index2) => "string" === typeof elem || _report(_exceptionable, {
|
|
17924
|
+
path: _path + ".value[" + _index2 + "]",
|
|
17925
|
+
expected: "string",
|
|
17926
|
+
value: elem
|
|
17927
|
+
})).every(flag => flag) || _report(_exceptionable, {
|
|
17928
|
+
path: _path + ".value",
|
|
17929
|
+
expected: "(Array<string> | undefined)",
|
|
17930
|
+
value: input.value
|
|
17931
|
+
})].every(flag => flag); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); let errors; let _report; return input => {
|
|
17932
|
+
if (false === __is(input)) {
|
|
17933
|
+
errors = [];
|
|
17934
|
+
_report = __typia_transform__validateReport._validateReport(errors);
|
|
17935
|
+
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || _report(true, {
|
|
17936
|
+
path: _path + "",
|
|
17937
|
+
expected: "RoleUsersRecord",
|
|
17938
|
+
value: input
|
|
17939
|
+
})) && _vo0(input, _path + "", true) || _report(true, {
|
|
17940
|
+
path: _path + "",
|
|
17941
|
+
expected: "RoleUsersRecord",
|
|
17942
|
+
value: input
|
|
17943
|
+
}))(input, "$input", true);
|
|
17944
|
+
const success = 0 === errors.length;
|
|
17945
|
+
return success ? {
|
|
17946
|
+
success,
|
|
17947
|
+
data: input
|
|
17948
|
+
} : {
|
|
17949
|
+
success,
|
|
17950
|
+
errors,
|
|
17951
|
+
data: input
|
|
17952
|
+
};
|
|
17953
|
+
}
|
|
17954
|
+
return {
|
|
17955
|
+
success: true,
|
|
17956
|
+
data: input
|
|
17957
|
+
};
|
|
17958
|
+
}; })()(input);
|
|
17959
|
+
}
|
|
17690
17960
|
case ":role.tags": {
|
|
17691
17961
|
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, {
|
|
17692
17962
|
path: _path + ".value",
|
|
@@ -18314,7 +18584,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
18314
18584
|
}; })()(input);
|
|
18315
18585
|
}
|
|
18316
18586
|
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 || "
|
|
18587
|
+
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
18588
|
const value = input[key];
|
|
18319
18589
|
if (undefined === value)
|
|
18320
18590
|
return true;
|
|
@@ -18371,7 +18641,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
18371
18641
|
path: _path + ".direction",
|
|
18372
18642
|
expected: "(\"ltr\" | \"rtl\" | null)",
|
|
18373
18643
|
value: input.direction
|
|
18374
|
-
}), "" === input.format || "
|
|
18644
|
+
}), "" === input.format || "right" === input.format || "left" === input.format || "center" === input.format || "start" === input.format || "end" === input.format || "justify" === input.format || _report(_exceptionable, {
|
|
18375
18645
|
path: _path + ".format",
|
|
18376
18646
|
expected: "(\"\" | \"center\" | \"end\" | \"justify\" | \"left\" | \"right\" | \"start\")",
|
|
18377
18647
|
value: input.format
|
|
@@ -18538,7 +18808,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
18538
18808
|
}; })()(input);
|
|
18539
18809
|
}
|
|
18540
18810
|
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 || "
|
|
18811
|
+
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
18812
|
const value = input[key];
|
|
18543
18813
|
if (undefined === value)
|
|
18544
18814
|
return true;
|
|
@@ -18607,7 +18877,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
18607
18877
|
path: _path + ".direction",
|
|
18608
18878
|
expected: "(\"ltr\" | \"rtl\" | null)",
|
|
18609
18879
|
value: input.direction
|
|
18610
|
-
}), "" === input.format || "
|
|
18880
|
+
}), "" === input.format || "right" === input.format || "left" === input.format || "center" === input.format || "start" === input.format || "end" === input.format || "justify" === input.format || _report(_exceptionable, {
|
|
18611
18881
|
path: _path + ".format",
|
|
18612
18882
|
expected: "(\"\" | \"center\" | \"end\" | \"justify\" | \"left\" | \"right\" | \"start\")",
|
|
18613
18883
|
value: input.format
|
|
@@ -19370,14 +19640,14 @@ function _validateDomainRecord(domain, input) {
|
|
|
19370
19640
|
}; })()(input);
|
|
19371
19641
|
}
|
|
19372
19642
|
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
|
|
19643
|
+
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
19644
|
if (["settingsPanelStore"].some(prop => key === prop))
|
|
19375
19645
|
return true;
|
|
19376
19646
|
const value = input[key];
|
|
19377
19647
|
if (undefined === value)
|
|
19378
19648
|
return true;
|
|
19379
19649
|
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 || "
|
|
19650
|
+
}); 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
19651
|
const value = input[key];
|
|
19382
19652
|
if (undefined === value)
|
|
19383
19653
|
return true;
|
|
@@ -19402,12 +19672,19 @@ function _validateDomainRecord(domain, input) {
|
|
|
19402
19672
|
if (undefined === value)
|
|
19403
19673
|
return true;
|
|
19404
19674
|
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 => {
|
|
19675
|
+
}); 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
19676
|
const value = input[key];
|
|
19407
19677
|
if (undefined === value)
|
|
19408
19678
|
return true;
|
|
19409
19679
|
return Array.isArray(value) && value.every(elem => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem);
|
|
19410
|
-
}); const
|
|
19680
|
+
}); 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 => (() => {
|
|
19681
|
+
if ("script" === input.type)
|
|
19682
|
+
return _io71(input);
|
|
19683
|
+
else if ("rundown" === input.type)
|
|
19684
|
+
return _io72(input);
|
|
19685
|
+
else
|
|
19686
|
+
return false;
|
|
19687
|
+
})(); const _vo0 = (input, _path, _exceptionable = true) => [undefined === input.autoLogoutTime || "number" === typeof input.autoLogoutTime || _report(_exceptionable, {
|
|
19411
19688
|
path: _path + ".autoLogoutTime",
|
|
19412
19689
|
expected: "(number | undefined)",
|
|
19413
19690
|
value: input.autoLogoutTime
|
|
@@ -19431,12 +19708,12 @@ function _validateDomainRecord(domain, input) {
|
|
|
19431
19708
|
path: _path + ".googleWhitelist",
|
|
19432
19709
|
expected: "(Array<__type> | undefined)",
|
|
19433
19710
|
value: input.googleWhitelist
|
|
19434
|
-
})) && input.googleWhitelist.map((elem,
|
|
19435
|
-
path: _path + ".googleWhitelist[" +
|
|
19711
|
+
})) && input.googleWhitelist.map((elem, _index52) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
19712
|
+
path: _path + ".googleWhitelist[" + _index52 + "]",
|
|
19436
19713
|
expected: "__type.o2",
|
|
19437
19714
|
value: elem
|
|
19438
|
-
})) && _vo3(elem, _path + ".googleWhitelist[" +
|
|
19439
|
-
path: _path + ".googleWhitelist[" +
|
|
19715
|
+
})) && _vo3(elem, _path + ".googleWhitelist[" + _index52 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
19716
|
+
path: _path + ".googleWhitelist[" + _index52 + "]",
|
|
19440
19717
|
expected: "__type.o2",
|
|
19441
19718
|
value: elem
|
|
19442
19719
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -19447,8 +19724,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
19447
19724
|
path: _path + ".googleUserRoles",
|
|
19448
19725
|
expected: "(Array<string> | undefined)",
|
|
19449
19726
|
value: input.googleUserRoles
|
|
19450
|
-
})) && input.googleUserRoles.map((elem,
|
|
19451
|
-
path: _path + ".googleUserRoles[" +
|
|
19727
|
+
})) && input.googleUserRoles.map((elem, _index53) => "string" === typeof elem || _report(_exceptionable, {
|
|
19728
|
+
path: _path + ".googleUserRoles[" + _index53 + "]",
|
|
19452
19729
|
expected: "string",
|
|
19453
19730
|
value: elem
|
|
19454
19731
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -19459,12 +19736,12 @@ function _validateDomainRecord(domain, input) {
|
|
|
19459
19736
|
path: _path + ".azureWhitelist",
|
|
19460
19737
|
expected: "(Array<__type>.o1 | undefined)",
|
|
19461
19738
|
value: input.azureWhitelist
|
|
19462
|
-
})) && input.azureWhitelist.map((elem,
|
|
19463
|
-
path: _path + ".azureWhitelist[" +
|
|
19739
|
+
})) && input.azureWhitelist.map((elem, _index54) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
19740
|
+
path: _path + ".azureWhitelist[" + _index54 + "]",
|
|
19464
19741
|
expected: "__type.o3",
|
|
19465
19742
|
value: elem
|
|
19466
|
-
})) && _vo4(elem, _path + ".azureWhitelist[" +
|
|
19467
|
-
path: _path + ".azureWhitelist[" +
|
|
19743
|
+
})) && _vo4(elem, _path + ".azureWhitelist[" + _index54 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
19744
|
+
path: _path + ".azureWhitelist[" + _index54 + "]",
|
|
19468
19745
|
expected: "__type.o3",
|
|
19469
19746
|
value: elem
|
|
19470
19747
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -19475,8 +19752,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
19475
19752
|
path: _path + ".azureUserRoles",
|
|
19476
19753
|
expected: "(Array<string> | undefined)",
|
|
19477
19754
|
value: input.azureUserRoles
|
|
19478
|
-
})) && input.azureUserRoles.map((elem,
|
|
19479
|
-
path: _path + ".azureUserRoles[" +
|
|
19755
|
+
})) && input.azureUserRoles.map((elem, _index55) => "string" === typeof elem || _report(_exceptionable, {
|
|
19756
|
+
path: _path + ".azureUserRoles[" + _index55 + "]",
|
|
19480
19757
|
expected: "string",
|
|
19481
19758
|
value: elem
|
|
19482
19759
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -19527,16 +19804,16 @@ function _validateDomainRecord(domain, input) {
|
|
|
19527
19804
|
path: _path + ".exclusiveTagGroups",
|
|
19528
19805
|
expected: "(Array<Array<string>> | undefined)",
|
|
19529
19806
|
value: input.exclusiveTagGroups
|
|
19530
|
-
})) && input.exclusiveTagGroups.map((elem,
|
|
19531
|
-
path: _path + ".exclusiveTagGroups[" +
|
|
19807
|
+
})) && input.exclusiveTagGroups.map((elem, _index56) => (Array.isArray(elem) || _report(_exceptionable, {
|
|
19808
|
+
path: _path + ".exclusiveTagGroups[" + _index56 + "]",
|
|
19532
19809
|
expected: "Array<string>",
|
|
19533
19810
|
value: elem
|
|
19534
|
-
})) && elem.map((elem,
|
|
19535
|
-
path: _path + ".exclusiveTagGroups[" +
|
|
19811
|
+
})) && elem.map((elem, _index57) => "string" === typeof elem || _report(_exceptionable, {
|
|
19812
|
+
path: _path + ".exclusiveTagGroups[" + _index56 + "][" + _index57 + "]",
|
|
19536
19813
|
expected: "string",
|
|
19537
19814
|
value: elem
|
|
19538
19815
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
19539
|
-
path: _path + ".exclusiveTagGroups[" +
|
|
19816
|
+
path: _path + ".exclusiveTagGroups[" + _index56 + "]",
|
|
19540
19817
|
expected: "Array<string>",
|
|
19541
19818
|
value: elem
|
|
19542
19819
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -19655,12 +19932,12 @@ function _validateDomainRecord(domain, input) {
|
|
|
19655
19932
|
path: _path + ".commands",
|
|
19656
19933
|
expected: "(Array<__type>.o9 | undefined)",
|
|
19657
19934
|
value: input.commands
|
|
19658
|
-
})) && input.commands.map((elem,
|
|
19659
|
-
path: _path + ".commands[" +
|
|
19935
|
+
})) && input.commands.map((elem, _index58) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
19936
|
+
path: _path + ".commands[" + _index58 + "]",
|
|
19660
19937
|
expected: "__type.o49",
|
|
19661
19938
|
value: elem
|
|
19662
|
-
})) && _vo60(elem, _path + ".commands[" +
|
|
19663
|
-
path: _path + ".commands[" +
|
|
19939
|
+
})) && _vo60(elem, _path + ".commands[" + _index58 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
19940
|
+
path: _path + ".commands[" + _index58 + "]",
|
|
19664
19941
|
expected: "__type.o49",
|
|
19665
19942
|
value: elem
|
|
19666
19943
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -19671,8 +19948,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
19671
19948
|
path: _path + ".predefinedTags",
|
|
19672
19949
|
expected: "(Array<string> | undefined)",
|
|
19673
19950
|
value: input.predefinedTags
|
|
19674
|
-
})) && input.predefinedTags.map((elem,
|
|
19675
|
-
path: _path + ".predefinedTags[" +
|
|
19951
|
+
})) && input.predefinedTags.map((elem, _index59) => "string" === typeof elem || _report(_exceptionable, {
|
|
19952
|
+
path: _path + ".predefinedTags[" + _index59 + "]",
|
|
19676
19953
|
expected: "string",
|
|
19677
19954
|
value: elem
|
|
19678
19955
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -19699,12 +19976,12 @@ function _validateDomainRecord(domain, input) {
|
|
|
19699
19976
|
path: _path + ".hiddenPreviews",
|
|
19700
19977
|
expected: "(Array<__type>.o10 | undefined)",
|
|
19701
19978
|
value: input.hiddenPreviews
|
|
19702
|
-
})) && input.hiddenPreviews.map((elem,
|
|
19703
|
-
path: _path + ".hiddenPreviews[" +
|
|
19979
|
+
})) && input.hiddenPreviews.map((elem, _index60) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
19980
|
+
path: _path + ".hiddenPreviews[" + _index60 + "]",
|
|
19704
19981
|
expected: "__type.o60",
|
|
19705
19982
|
value: elem
|
|
19706
|
-
})) &&
|
|
19707
|
-
path: _path + ".hiddenPreviews[" +
|
|
19983
|
+
})) && _vo74(elem, _path + ".hiddenPreviews[" + _index60 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
19984
|
+
path: _path + ".hiddenPreviews[" + _index60 + "]",
|
|
19708
19985
|
expected: "__type.o60",
|
|
19709
19986
|
value: elem
|
|
19710
19987
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -19715,7 +19992,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
19715
19992
|
path: _path + ".plugins",
|
|
19716
19993
|
expected: "(__type.o61 | undefined)",
|
|
19717
19994
|
value: input.plugins
|
|
19718
|
-
})) &&
|
|
19995
|
+
})) && _vo75(input.plugins, _path + ".plugins", true && _exceptionable) || _report(_exceptionable, {
|
|
19719
19996
|
path: _path + ".plugins",
|
|
19720
19997
|
expected: "(__type.o61 | undefined)",
|
|
19721
19998
|
value: input.plugins
|
|
@@ -19729,27 +20006,27 @@ function _validateDomainRecord(domain, input) {
|
|
|
19729
20006
|
value: input.debug
|
|
19730
20007
|
}), undefined === input.featurePreview || ("object" === typeof input.featurePreview && null !== input.featurePreview && false === Array.isArray(input.featurePreview) || _report(_exceptionable, {
|
|
19731
20008
|
path: _path + ".featurePreview",
|
|
19732
|
-
expected: "(__type.
|
|
20009
|
+
expected: "(__type.o66 | undefined)",
|
|
19733
20010
|
value: input.featurePreview
|
|
19734
|
-
})) &&
|
|
20011
|
+
})) && _vo80(input.featurePreview, _path + ".featurePreview", true && _exceptionable) || _report(_exceptionable, {
|
|
19735
20012
|
path: _path + ".featurePreview",
|
|
19736
|
-
expected: "(__type.
|
|
20013
|
+
expected: "(__type.o66 | undefined)",
|
|
19737
20014
|
value: input.featurePreview
|
|
19738
20015
|
}), undefined === input.flags || ("object" === typeof input.flags && null !== input.flags && false === Array.isArray(input.flags) || _report(_exceptionable, {
|
|
19739
20016
|
path: _path + ".flags",
|
|
19740
|
-
expected: "(__type.
|
|
20017
|
+
expected: "(__type.o67 | undefined)",
|
|
19741
20018
|
value: input.flags
|
|
19742
|
-
})) &&
|
|
20019
|
+
})) && _vo81(input.flags, _path + ".flags", true && _exceptionable) || _report(_exceptionable, {
|
|
19743
20020
|
path: _path + ".flags",
|
|
19744
|
-
expected: "(__type.
|
|
20021
|
+
expected: "(__type.o67 | undefined)",
|
|
19745
20022
|
value: input.flags
|
|
19746
20023
|
}), undefined === input.notifications || ("object" === typeof input.notifications && null !== input.notifications && false === Array.isArray(input.notifications) || _report(_exceptionable, {
|
|
19747
20024
|
path: _path + ".notifications",
|
|
19748
|
-
expected: "(__type.
|
|
20025
|
+
expected: "(__type.o68 | undefined)",
|
|
19749
20026
|
value: input.notifications
|
|
19750
|
-
})) &&
|
|
20027
|
+
})) && _vo82(input.notifications, _path + ".notifications", true && _exceptionable) || _report(_exceptionable, {
|
|
19751
20028
|
path: _path + ".notifications",
|
|
19752
|
-
expected: "(__type.
|
|
20029
|
+
expected: "(__type.o68 | undefined)",
|
|
19753
20030
|
value: input.notifications
|
|
19754
20031
|
}), undefined === input.suppressDeleteAlert || "boolean" === typeof input.suppressDeleteAlert || _report(_exceptionable, {
|
|
19755
20032
|
path: _path + ".suppressDeleteAlert",
|
|
@@ -19757,59 +20034,59 @@ function _validateDomainRecord(domain, input) {
|
|
|
19757
20034
|
value: input.suppressDeleteAlert
|
|
19758
20035
|
}), undefined === input.clone || ("object" === typeof input.clone && null !== input.clone && false === Array.isArray(input.clone) || _report(_exceptionable, {
|
|
19759
20036
|
path: _path + ".clone",
|
|
19760
|
-
expected: "(__type.
|
|
20037
|
+
expected: "(__type.o71 | undefined)",
|
|
19761
20038
|
value: input.clone
|
|
19762
|
-
})) &&
|
|
20039
|
+
})) && _vo85(input.clone, _path + ".clone", true && _exceptionable) || _report(_exceptionable, {
|
|
19763
20040
|
path: _path + ".clone",
|
|
19764
|
-
expected: "(__type.
|
|
20041
|
+
expected: "(__type.o71 | undefined)",
|
|
19765
20042
|
value: input.clone
|
|
19766
20043
|
}), undefined === input.utilsAssetEditorPanel || ("object" === typeof input.utilsAssetEditorPanel && null !== input.utilsAssetEditorPanel && false === Array.isArray(input.utilsAssetEditorPanel) || _report(_exceptionable, {
|
|
19767
20044
|
path: _path + ".utilsAssetEditorPanel",
|
|
19768
|
-
expected: "(__type.
|
|
20045
|
+
expected: "(__type.o74 | undefined)",
|
|
19769
20046
|
value: input.utilsAssetEditorPanel
|
|
19770
|
-
})) &&
|
|
20047
|
+
})) && _vo88(input.utilsAssetEditorPanel, _path + ".utilsAssetEditorPanel", true && _exceptionable) || _report(_exceptionable, {
|
|
19771
20048
|
path: _path + ".utilsAssetEditorPanel",
|
|
19772
|
-
expected: "(__type.
|
|
20049
|
+
expected: "(__type.o74 | undefined)",
|
|
19773
20050
|
value: input.utilsAssetEditorPanel
|
|
19774
20051
|
}), undefined === input.display || ("object" === typeof input.display && null !== input.display && false === Array.isArray(input.display) || _report(_exceptionable, {
|
|
19775
20052
|
path: _path + ".display",
|
|
19776
|
-
expected: "(__type.
|
|
20053
|
+
expected: "(__type.o75 | undefined)",
|
|
19777
20054
|
value: input.display
|
|
19778
|
-
})) &&
|
|
20055
|
+
})) && _vo89(input.display, _path + ".display", true && _exceptionable) || _report(_exceptionable, {
|
|
19779
20056
|
path: _path + ".display",
|
|
19780
|
-
expected: "(__type.
|
|
20057
|
+
expected: "(__type.o75 | undefined)",
|
|
19781
20058
|
value: input.display
|
|
19782
20059
|
}), undefined === input.bookmarks || ("object" === typeof input.bookmarks && null !== input.bookmarks && false === Array.isArray(input.bookmarks) || _report(_exceptionable, {
|
|
19783
20060
|
path: _path + ".bookmarks",
|
|
19784
|
-
expected: "(__type.
|
|
20061
|
+
expected: "(__type.o76 | undefined)",
|
|
19785
20062
|
value: input.bookmarks
|
|
19786
|
-
})) &&
|
|
20063
|
+
})) && _vo90(input.bookmarks, _path + ".bookmarks", true && _exceptionable) || _report(_exceptionable, {
|
|
19787
20064
|
path: _path + ".bookmarks",
|
|
19788
|
-
expected: "(__type.
|
|
20065
|
+
expected: "(__type.o76 | undefined)",
|
|
19789
20066
|
value: input.bookmarks
|
|
19790
20067
|
}), undefined === input.shotbox || ("object" === typeof input.shotbox && null !== input.shotbox && false === Array.isArray(input.shotbox) || _report(_exceptionable, {
|
|
19791
20068
|
path: _path + ".shotbox",
|
|
19792
|
-
expected: "(__type.
|
|
20069
|
+
expected: "(__type.o77 | undefined)",
|
|
19793
20070
|
value: input.shotbox
|
|
19794
|
-
})) &&
|
|
20071
|
+
})) && _vo91(input.shotbox, _path + ".shotbox", true && _exceptionable) || _report(_exceptionable, {
|
|
19795
20072
|
path: _path + ".shotbox",
|
|
19796
|
-
expected: "(__type.
|
|
20073
|
+
expected: "(__type.o77 | undefined)",
|
|
19797
20074
|
value: input.shotbox
|
|
19798
20075
|
}), undefined === input.performance || ("object" === typeof input.performance && null !== input.performance && false === Array.isArray(input.performance) || _report(_exceptionable, {
|
|
19799
20076
|
path: _path + ".performance",
|
|
19800
|
-
expected: "(__type.
|
|
20077
|
+
expected: "(__type.o78 | undefined)",
|
|
19801
20078
|
value: input.performance
|
|
19802
|
-
})) &&
|
|
20079
|
+
})) && _vo92(input.performance, _path + ".performance", true && _exceptionable) || _report(_exceptionable, {
|
|
19803
20080
|
path: _path + ".performance",
|
|
19804
|
-
expected: "(__type.
|
|
20081
|
+
expected: "(__type.o78 | undefined)",
|
|
19805
20082
|
value: input.performance
|
|
19806
20083
|
}), undefined === input.app || ("object" === typeof input.app && null !== input.app && false === Array.isArray(input.app) || _report(_exceptionable, {
|
|
19807
20084
|
path: _path + ".app",
|
|
19808
|
-
expected: "(__type.
|
|
20085
|
+
expected: "(__type.o79 | undefined)",
|
|
19809
20086
|
value: input.app
|
|
19810
|
-
})) &&
|
|
20087
|
+
})) && _vo93(input.app, _path + ".app", true && _exceptionable) || _report(_exceptionable, {
|
|
19811
20088
|
path: _path + ".app",
|
|
19812
|
-
expected: "(__type.
|
|
20089
|
+
expected: "(__type.o79 | undefined)",
|
|
19813
20090
|
value: input.app
|
|
19814
20091
|
})].every(flag => flag); const _vo1 = (input, _path, _exceptionable = true) => [undefined === input.overrideUserContact || "boolean" === typeof input.overrideUserContact || _report(_exceptionable, {
|
|
19815
20092
|
path: _path + ".overrideUserContact",
|
|
@@ -19969,8 +20246,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
19969
20246
|
path: _path + ".sortOrder",
|
|
19970
20247
|
expected: "(Array<string> | undefined)",
|
|
19971
20248
|
value: input.sortOrder
|
|
19972
|
-
})) && input.sortOrder.map((elem,
|
|
19973
|
-
path: _path + ".sortOrder[" +
|
|
20249
|
+
})) && input.sortOrder.map((elem, _index61) => "string" === typeof elem || _report(_exceptionable, {
|
|
20250
|
+
path: _path + ".sortOrder[" + _index61 + "]",
|
|
19974
20251
|
expected: "string",
|
|
19975
20252
|
value: elem
|
|
19976
20253
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -19981,8 +20258,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
19981
20258
|
path: _path + ".include",
|
|
19982
20259
|
expected: "(Array<string> | undefined)",
|
|
19983
20260
|
value: input.include
|
|
19984
|
-
})) && input.include.map((elem,
|
|
19985
|
-
path: _path + ".include[" +
|
|
20261
|
+
})) && input.include.map((elem, _index62) => "string" === typeof elem || _report(_exceptionable, {
|
|
20262
|
+
path: _path + ".include[" + _index62 + "]",
|
|
19986
20263
|
expected: "string",
|
|
19987
20264
|
value: elem
|
|
19988
20265
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -19993,8 +20270,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
19993
20270
|
path: _path + ".exclude",
|
|
19994
20271
|
expected: "(Array<string> | undefined)",
|
|
19995
20272
|
value: input.exclude
|
|
19996
|
-
})) && input.exclude.map((elem,
|
|
19997
|
-
path: _path + ".exclude[" +
|
|
20273
|
+
})) && input.exclude.map((elem, _index63) => "string" === typeof elem || _report(_exceptionable, {
|
|
20274
|
+
path: _path + ".exclude[" + _index63 + "]",
|
|
19998
20275
|
expected: "string",
|
|
19999
20276
|
value: elem
|
|
20000
20277
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -20005,8 +20282,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
20005
20282
|
path: _path + ".include",
|
|
20006
20283
|
expected: "(Array<string> | undefined)",
|
|
20007
20284
|
value: input.include
|
|
20008
|
-
})) && input.include.map((elem,
|
|
20009
|
-
path: _path + ".include[" +
|
|
20285
|
+
})) && input.include.map((elem, _index64) => "string" === typeof elem || _report(_exceptionable, {
|
|
20286
|
+
path: _path + ".include[" + _index64 + "]",
|
|
20010
20287
|
expected: "string",
|
|
20011
20288
|
value: elem
|
|
20012
20289
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -20017,8 +20294,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
20017
20294
|
path: _path + ".exclude",
|
|
20018
20295
|
expected: "(Array<string> | undefined)",
|
|
20019
20296
|
value: input.exclude
|
|
20020
|
-
})) && input.exclude.map((elem,
|
|
20021
|
-
path: _path + ".exclude[" +
|
|
20297
|
+
})) && input.exclude.map((elem, _index65) => "string" === typeof elem || _report(_exceptionable, {
|
|
20298
|
+
path: _path + ".exclude[" + _index65 + "]",
|
|
20022
20299
|
expected: "string",
|
|
20023
20300
|
value: elem
|
|
20024
20301
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -20029,8 +20306,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
20029
20306
|
path: _path + ".include",
|
|
20030
20307
|
expected: "(Array<string> | undefined)",
|
|
20031
20308
|
value: input.include
|
|
20032
|
-
})) && input.include.map((elem,
|
|
20033
|
-
path: _path + ".include[" +
|
|
20309
|
+
})) && input.include.map((elem, _index66) => "string" === typeof elem || _report(_exceptionable, {
|
|
20310
|
+
path: _path + ".include[" + _index66 + "]",
|
|
20034
20311
|
expected: "string",
|
|
20035
20312
|
value: elem
|
|
20036
20313
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -20041,8 +20318,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
20041
20318
|
path: _path + ".exclude",
|
|
20042
20319
|
expected: "(Array<string> | undefined)",
|
|
20043
20320
|
value: input.exclude
|
|
20044
|
-
})) && input.exclude.map((elem,
|
|
20045
|
-
path: _path + ".exclude[" +
|
|
20321
|
+
})) && input.exclude.map((elem, _index67) => "string" === typeof elem || _report(_exceptionable, {
|
|
20322
|
+
path: _path + ".exclude[" + _index67 + "]",
|
|
20046
20323
|
expected: "string",
|
|
20047
20324
|
value: elem
|
|
20048
20325
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -20053,8 +20330,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
20053
20330
|
path: _path + ".include",
|
|
20054
20331
|
expected: "(Array<string> | undefined)",
|
|
20055
20332
|
value: input.include
|
|
20056
|
-
})) && input.include.map((elem,
|
|
20057
|
-
path: _path + ".include[" +
|
|
20333
|
+
})) && input.include.map((elem, _index68) => "string" === typeof elem || _report(_exceptionable, {
|
|
20334
|
+
path: _path + ".include[" + _index68 + "]",
|
|
20058
20335
|
expected: "string",
|
|
20059
20336
|
value: elem
|
|
20060
20337
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -20065,8 +20342,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
20065
20342
|
path: _path + ".exclude",
|
|
20066
20343
|
expected: "(Array<string> | undefined)",
|
|
20067
20344
|
value: input.exclude
|
|
20068
|
-
})) && input.exclude.map((elem,
|
|
20069
|
-
path: _path + ".exclude[" +
|
|
20345
|
+
})) && input.exclude.map((elem, _index69) => "string" === typeof elem || _report(_exceptionable, {
|
|
20346
|
+
path: _path + ".exclude[" + _index69 + "]",
|
|
20070
20347
|
expected: "string",
|
|
20071
20348
|
value: elem
|
|
20072
20349
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -20141,16 +20418,20 @@ function _validateDomainRecord(domain, input) {
|
|
|
20141
20418
|
path: _path + ".createMenu",
|
|
20142
20419
|
expected: "(__type.o19 | undefined)",
|
|
20143
20420
|
value: input.createMenu
|
|
20421
|
+
}), undefined === input.contentMaxWidth || "number" === typeof input.contentMaxWidth || _report(_exceptionable, {
|
|
20422
|
+
path: _path + ".contentMaxWidth",
|
|
20423
|
+
expected: "(number | undefined)",
|
|
20424
|
+
value: input.contentMaxWidth
|
|
20144
20425
|
}), undefined === input.colorTags || (Array.isArray(input.colorTags) || _report(_exceptionable, {
|
|
20145
20426
|
path: _path + ".colorTags",
|
|
20146
20427
|
expected: "(Array<PromotedTag> | undefined)",
|
|
20147
20428
|
value: input.colorTags
|
|
20148
|
-
})) && input.colorTags.map((elem,
|
|
20149
|
-
path: _path + ".colorTags[" +
|
|
20429
|
+
})) && input.colorTags.map((elem, _index70) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
20430
|
+
path: _path + ".colorTags[" + _index70 + "]",
|
|
20150
20431
|
expected: "PromotedTag",
|
|
20151
20432
|
value: elem
|
|
20152
|
-
})) && _vo24(elem, _path + ".colorTags[" +
|
|
20153
|
-
path: _path + ".colorTags[" +
|
|
20433
|
+
})) && _vo24(elem, _path + ".colorTags[" + _index70 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
20434
|
+
path: _path + ".colorTags[" + _index70 + "]",
|
|
20154
20435
|
expected: "PromotedTag",
|
|
20155
20436
|
value: elem
|
|
20156
20437
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -20177,19 +20458,19 @@ function _validateDomainRecord(domain, input) {
|
|
|
20177
20458
|
path: _path + ".colorHistory",
|
|
20178
20459
|
expected: "(Array<__type>.o2 | undefined)",
|
|
20179
20460
|
value: input.colorHistory
|
|
20180
|
-
})) && input.colorHistory.map((elem,
|
|
20181
|
-
path: _path + ".colorHistory[" +
|
|
20461
|
+
})) && input.colorHistory.map((elem, _index71) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
20462
|
+
path: _path + ".colorHistory[" + _index71 + "]",
|
|
20182
20463
|
expected: "__type.o22",
|
|
20183
20464
|
value: elem
|
|
20184
|
-
})) && _vo27(elem, _path + ".colorHistory[" +
|
|
20185
|
-
path: _path + ".colorHistory[" +
|
|
20465
|
+
})) && _vo27(elem, _path + ".colorHistory[" + _index71 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
20466
|
+
path: _path + ".colorHistory[" + _index71 + "]",
|
|
20186
20467
|
expected: "__type.o22",
|
|
20187
20468
|
value: elem
|
|
20188
20469
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
20189
20470
|
path: _path + ".colorHistory",
|
|
20190
20471
|
expected: "(Array<__type>.o2 | undefined)",
|
|
20191
20472
|
value: input.colorHistory
|
|
20192
|
-
})].every(flag => flag); const _vo23 = (input, _path, _exceptionable = true) => [undefined === input.sortBy || "
|
|
20473
|
+
})].every(flag => flag); const _vo23 = (input, _path, _exceptionable = true) => [undefined === input.sortBy || "title" === input.sortBy || "index" === input.sortBy || _report(_exceptionable, {
|
|
20193
20474
|
path: _path + ".sortBy",
|
|
20194
20475
|
expected: "(\"index\" | \"title\" | undefined)",
|
|
20195
20476
|
value: input.sortBy
|
|
@@ -20250,8 +20531,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
20250
20531
|
path: _path + ".favorites",
|
|
20251
20532
|
expected: "(Array<string> | undefined)",
|
|
20252
20533
|
value: input.favorites
|
|
20253
|
-
})) && input.favorites.map((elem,
|
|
20254
|
-
path: _path + ".favorites[" +
|
|
20534
|
+
})) && input.favorites.map((elem, _index72) => "string" === typeof elem || _report(_exceptionable, {
|
|
20535
|
+
path: _path + ".favorites[" + _index72 + "]",
|
|
20255
20536
|
expected: "string",
|
|
20256
20537
|
value: elem
|
|
20257
20538
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -20341,31 +20622,31 @@ function _validateDomainRecord(domain, input) {
|
|
|
20341
20622
|
path: _path + ".sequence",
|
|
20342
20623
|
expected: "(Array<string | [string, unknown]> | null | string | undefined)",
|
|
20343
20624
|
value: input.sequence
|
|
20344
|
-
})) && input.sequence.map((elem,
|
|
20345
|
-
path: _path + ".sequence[" +
|
|
20625
|
+
})) && input.sequence.map((elem, _index73) => (null !== elem || _report(_exceptionable, {
|
|
20626
|
+
path: _path + ".sequence[" + _index73 + "]",
|
|
20346
20627
|
expected: "([string, unknown] | string)",
|
|
20347
20628
|
value: elem
|
|
20348
20629
|
})) && (undefined !== elem || _report(_exceptionable, {
|
|
20349
|
-
path: _path + ".sequence[" +
|
|
20630
|
+
path: _path + ".sequence[" + _index73 + "]",
|
|
20350
20631
|
expected: "([string, unknown] | string)",
|
|
20351
20632
|
value: elem
|
|
20352
20633
|
})) && ("string" === typeof elem || (Array.isArray(elem) || _report(_exceptionable, {
|
|
20353
|
-
path: _path + ".sequence[" +
|
|
20634
|
+
path: _path + ".sequence[" + _index73 + "]",
|
|
20354
20635
|
expected: "([string, unknown] | string)",
|
|
20355
20636
|
value: elem
|
|
20356
20637
|
})) && ((elem.length === 2 || _report(_exceptionable, {
|
|
20357
|
-
path: _path + ".sequence[" +
|
|
20638
|
+
path: _path + ".sequence[" + _index73 + "]",
|
|
20358
20639
|
expected: "[string, any]",
|
|
20359
20640
|
value: elem
|
|
20360
20641
|
})) && [
|
|
20361
20642
|
"string" === typeof elem[0] || _report(_exceptionable, {
|
|
20362
|
-
path: _path + ".sequence[" +
|
|
20643
|
+
path: _path + ".sequence[" + _index73 + "][0]",
|
|
20363
20644
|
expected: "string",
|
|
20364
20645
|
value: elem[0]
|
|
20365
20646
|
}),
|
|
20366
20647
|
true
|
|
20367
20648
|
].every(flag => flag)) || _report(_exceptionable, {
|
|
20368
|
-
path: _path + ".sequence[" +
|
|
20649
|
+
path: _path + ".sequence[" + _index73 + "]",
|
|
20369
20650
|
expected: "([string, unknown] | string)",
|
|
20370
20651
|
value: elem
|
|
20371
20652
|
}))).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -20425,12 +20706,12 @@ function _validateDomainRecord(domain, input) {
|
|
|
20425
20706
|
path: _path + ".displayAspectRatioPresets",
|
|
20426
20707
|
expected: "(Array<__type>.o3 | undefined)",
|
|
20427
20708
|
value: input.displayAspectRatioPresets
|
|
20428
|
-
})) && input.displayAspectRatioPresets.map((elem,
|
|
20429
|
-
path: _path + ".displayAspectRatioPresets[" +
|
|
20709
|
+
})) && input.displayAspectRatioPresets.map((elem, _index74) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
20710
|
+
path: _path + ".displayAspectRatioPresets[" + _index74 + "]",
|
|
20430
20711
|
expected: "__type.o28",
|
|
20431
20712
|
value: elem
|
|
20432
|
-
})) && _vo38(elem, _path + ".displayAspectRatioPresets[" +
|
|
20433
|
-
path: _path + ".displayAspectRatioPresets[" +
|
|
20713
|
+
})) && _vo38(elem, _path + ".displayAspectRatioPresets[" + _index74 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
20714
|
+
path: _path + ".displayAspectRatioPresets[" + _index74 + "]",
|
|
20434
20715
|
expected: "__type.o28",
|
|
20435
20716
|
value: elem
|
|
20436
20717
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -20489,8 +20770,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
20489
20770
|
path: _path + ".playbackRates",
|
|
20490
20771
|
expected: "(Array<number> | undefined)",
|
|
20491
20772
|
value: input.playbackRates
|
|
20492
|
-
})) && input.playbackRates.map((elem,
|
|
20493
|
-
path: _path + ".playbackRates[" +
|
|
20773
|
+
})) && input.playbackRates.map((elem, _index75) => "number" === typeof elem || _report(_exceptionable, {
|
|
20774
|
+
path: _path + ".playbackRates[" + _index75 + "]",
|
|
20494
20775
|
expected: "number",
|
|
20495
20776
|
value: elem
|
|
20496
20777
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -20517,12 +20798,12 @@ function _validateDomainRecord(domain, input) {
|
|
|
20517
20798
|
path: _path + ".guides",
|
|
20518
20799
|
expected: "(Array<__type>.o6 | undefined)",
|
|
20519
20800
|
value: input.guides
|
|
20520
|
-
})) && input.guides.map((elem,
|
|
20521
|
-
path: _path + ".guides[" +
|
|
20801
|
+
})) && input.guides.map((elem, _index76) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
20802
|
+
path: _path + ".guides[" + _index76 + "]",
|
|
20522
20803
|
expected: "__type.o34",
|
|
20523
20804
|
value: elem
|
|
20524
|
-
})) && _vo44(elem, _path + ".guides[" +
|
|
20525
|
-
path: _path + ".guides[" +
|
|
20805
|
+
})) && _vo44(elem, _path + ".guides[" + _index76 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
20806
|
+
path: _path + ".guides[" + _index76 + "]",
|
|
20526
20807
|
expected: "__type.o34",
|
|
20527
20808
|
value: elem
|
|
20528
20809
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -20609,12 +20890,12 @@ function _validateDomainRecord(domain, input) {
|
|
|
20609
20890
|
path: _path + ".suggestions",
|
|
20610
20891
|
expected: "(Array<__type>.o4 | undefined)",
|
|
20611
20892
|
value: input.suggestions
|
|
20612
|
-
})) && input.suggestions.map((elem,
|
|
20613
|
-
path: _path + ".suggestions[" +
|
|
20893
|
+
})) && input.suggestions.map((elem, _index77) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
20894
|
+
path: _path + ".suggestions[" + _index77 + "]",
|
|
20614
20895
|
expected: "__type.o32",
|
|
20615
20896
|
value: elem
|
|
20616
|
-
})) && _vo42(elem, _path + ".suggestions[" +
|
|
20617
|
-
path: _path + ".suggestions[" +
|
|
20897
|
+
})) && _vo42(elem, _path + ".suggestions[" + _index77 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
20898
|
+
path: _path + ".suggestions[" + _index77 + "]",
|
|
20618
20899
|
expected: "__type.o32",
|
|
20619
20900
|
value: elem
|
|
20620
20901
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -20625,12 +20906,12 @@ function _validateDomainRecord(domain, input) {
|
|
|
20625
20906
|
path: _path + ".colors",
|
|
20626
20907
|
expected: "(Array<__type>.o5 | undefined)",
|
|
20627
20908
|
value: input.colors
|
|
20628
|
-
})) && input.colors.map((elem,
|
|
20629
|
-
path: _path + ".colors[" +
|
|
20909
|
+
})) && input.colors.map((elem, _index78) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
20910
|
+
path: _path + ".colors[" + _index78 + "]",
|
|
20630
20911
|
expected: "__type.o33",
|
|
20631
20912
|
value: elem
|
|
20632
|
-
})) && _vo43(elem, _path + ".colors[" +
|
|
20633
|
-
path: _path + ".colors[" +
|
|
20913
|
+
})) && _vo43(elem, _path + ".colors[" + _index78 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
20914
|
+
path: _path + ".colors[" + _index78 + "]",
|
|
20634
20915
|
expected: "__type.o33",
|
|
20635
20916
|
value: elem
|
|
20636
20917
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -20641,8 +20922,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
20641
20922
|
path: _path + ".overridableProperties",
|
|
20642
20923
|
expected: "(Array<keyof SubtitleStyle | null> | undefined)",
|
|
20643
20924
|
value: input.overridableProperties
|
|
20644
|
-
})) && input.overridableProperties.map((elem,
|
|
20645
|
-
path: _path + ".overridableProperties[" +
|
|
20925
|
+
})) && input.overridableProperties.map((elem, _index79) => null === elem || true === _vv80.has(elem) || _report(_exceptionable, {
|
|
20926
|
+
path: _path + ".overridableProperties[" + _index79 + "]",
|
|
20646
20927
|
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
20928
|
value: elem
|
|
20648
20929
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -20725,12 +21006,12 @@ function _validateDomainRecord(domain, input) {
|
|
|
20725
21006
|
path: _path + ".text",
|
|
20726
21007
|
expected: "(Array<__type>.o7 | undefined)",
|
|
20727
21008
|
value: input.text
|
|
20728
|
-
})) && input.text.map((elem,
|
|
20729
|
-
path: _path + ".text[" +
|
|
21009
|
+
})) && input.text.map((elem, _index81) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
21010
|
+
path: _path + ".text[" + _index81 + "]",
|
|
20730
21011
|
expected: "__type.o39",
|
|
20731
21012
|
value: elem
|
|
20732
|
-
})) && _vo49(elem, _path + ".text[" +
|
|
20733
|
-
path: _path + ".text[" +
|
|
21013
|
+
})) && _vo49(elem, _path + ".text[" + _index81 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
21014
|
+
path: _path + ".text[" + _index81 + "]",
|
|
20734
21015
|
expected: "__type.o39",
|
|
20735
21016
|
value: elem
|
|
20736
21017
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -20769,8 +21050,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
20769
21050
|
path: _path + ".args",
|
|
20770
21051
|
expected: "(Array<string> | undefined)",
|
|
20771
21052
|
value: input.args
|
|
20772
|
-
})) && input.args.map((elem,
|
|
20773
|
-
path: _path + ".args[" +
|
|
21053
|
+
})) && input.args.map((elem, _index82) => "string" === typeof elem || _report(_exceptionable, {
|
|
21054
|
+
path: _path + ".args[" + _index82 + "]",
|
|
20774
21055
|
expected: "string",
|
|
20775
21056
|
value: elem
|
|
20776
21057
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -20853,12 +21134,12 @@ function _validateDomainRecord(domain, input) {
|
|
|
20853
21134
|
path: _path + ".presets",
|
|
20854
21135
|
expected: "(Array<AudioMappingPreset> | undefined)",
|
|
20855
21136
|
value: input.presets
|
|
20856
|
-
})) && input.presets.map((elem,
|
|
20857
|
-
path: _path + ".presets[" +
|
|
21137
|
+
})) && input.presets.map((elem, _index83) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
21138
|
+
path: _path + ".presets[" + _index83 + "]",
|
|
20858
21139
|
expected: "AudioMappingPreset",
|
|
20859
21140
|
value: elem
|
|
20860
|
-
})) && _vo56(elem, _path + ".presets[" +
|
|
20861
|
-
path: _path + ".presets[" +
|
|
21141
|
+
})) && _vo56(elem, _path + ".presets[" + _index83 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
21142
|
+
path: _path + ".presets[" + _index83 + "]",
|
|
20862
21143
|
expected: "AudioMappingPreset",
|
|
20863
21144
|
value: elem
|
|
20864
21145
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -20877,16 +21158,16 @@ function _validateDomainRecord(domain, input) {
|
|
|
20877
21158
|
path: _path + ".mapping",
|
|
20878
21159
|
expected: "(Array<Array<number>> | undefined)",
|
|
20879
21160
|
value: input.mapping
|
|
20880
|
-
})) && input.mapping.map((elem,
|
|
20881
|
-
path: _path + ".mapping[" +
|
|
21161
|
+
})) && input.mapping.map((elem, _index84) => (Array.isArray(elem) || _report(_exceptionable, {
|
|
21162
|
+
path: _path + ".mapping[" + _index84 + "]",
|
|
20882
21163
|
expected: "Array<number>",
|
|
20883
21164
|
value: elem
|
|
20884
|
-
})) && elem.map((elem,
|
|
20885
|
-
path: _path + ".mapping[" +
|
|
21165
|
+
})) && elem.map((elem, _index85) => "number" === typeof elem || _report(_exceptionable, {
|
|
21166
|
+
path: _path + ".mapping[" + _index84 + "][" + _index85 + "]",
|
|
20886
21167
|
expected: "number",
|
|
20887
21168
|
value: elem
|
|
20888
21169
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
20889
|
-
path: _path + ".mapping[" +
|
|
21170
|
+
path: _path + ".mapping[" + _index84 + "]",
|
|
20890
21171
|
expected: "Array<number>",
|
|
20891
21172
|
value: elem
|
|
20892
21173
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -20897,8 +21178,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
20897
21178
|
path: _path + ".mute",
|
|
20898
21179
|
expected: "(Array<boolean> | undefined)",
|
|
20899
21180
|
value: input.mute
|
|
20900
|
-
})) && input.mute.map((elem,
|
|
20901
|
-
path: _path + ".mute[" +
|
|
21181
|
+
})) && input.mute.map((elem, _index86) => "boolean" === typeof elem || _report(_exceptionable, {
|
|
21182
|
+
path: _path + ".mute[" + _index86 + "]",
|
|
20902
21183
|
expected: "boolean",
|
|
20903
21184
|
value: elem
|
|
20904
21185
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -20925,12 +21206,12 @@ function _validateDomainRecord(domain, input) {
|
|
|
20925
21206
|
path: _path + ".presets",
|
|
20926
21207
|
expected: "(Array<__type>.o8 | undefined)",
|
|
20927
21208
|
value: input.presets
|
|
20928
|
-
})) && input.presets.map((elem,
|
|
20929
|
-
path: _path + ".presets[" +
|
|
21209
|
+
})) && input.presets.map((elem, _index87) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
21210
|
+
path: _path + ".presets[" + _index87 + "]",
|
|
20930
21211
|
expected: "__type.o47",
|
|
20931
21212
|
value: elem
|
|
20932
|
-
})) && _vo58(elem, _path + ".presets[" +
|
|
20933
|
-
path: _path + ".presets[" +
|
|
21213
|
+
})) && _vo58(elem, _path + ".presets[" + _index87 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
21214
|
+
path: _path + ".presets[" + _index87 + "]",
|
|
20934
21215
|
expected: "__type.o47",
|
|
20935
21216
|
value: elem
|
|
20936
21217
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -20993,8 +21274,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
20993
21274
|
path: _path + ".args",
|
|
20994
21275
|
expected: "(Array<string> | undefined)",
|
|
20995
21276
|
value: input.args
|
|
20996
|
-
})) && input.args.map((elem,
|
|
20997
|
-
path: _path + ".args[" +
|
|
21277
|
+
})) && input.args.map((elem, _index88) => "string" === typeof elem || _report(_exceptionable, {
|
|
21278
|
+
path: _path + ".args[" + _index88 + "]",
|
|
20998
21279
|
expected: "string",
|
|
20999
21280
|
value: elem
|
|
21000
21281
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -21085,7 +21366,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
21085
21366
|
path: _path + ".search",
|
|
21086
21367
|
expected: "(__type.o57 | undefined)",
|
|
21087
21368
|
value: input.search
|
|
21088
|
-
}), undefined === input.sortMode || true ===
|
|
21369
|
+
}), undefined === input.sortMode || true === _vv89.has(input.sortMode) || _report(_exceptionable, {
|
|
21089
21370
|
path: _path + ".sortMode",
|
|
21090
21371
|
expected: "(\"az\" | \"default\" | \"earliestdeadline\" | \"latestdeadline\" | \"leastrecent\" | \"manual\" | \"mostrecent\" | \"newest\" | \"oldest\" | \"za\" | undefined)",
|
|
21091
21372
|
value: input.sortMode
|
|
@@ -21105,15 +21386,151 @@ function _validateDomainRecord(domain, input) {
|
|
|
21105
21386
|
path: _path + ".fontFamilies",
|
|
21106
21387
|
expected: "(Array<string> | undefined)",
|
|
21107
21388
|
value: input.fontFamilies
|
|
21108
|
-
})) && input.fontFamilies.map((elem,
|
|
21109
|
-
path: _path + ".fontFamilies[" +
|
|
21389
|
+
})) && input.fontFamilies.map((elem, _index90) => "string" === typeof elem || _report(_exceptionable, {
|
|
21390
|
+
path: _path + ".fontFamilies[" + _index90 + "]",
|
|
21110
21391
|
expected: "string",
|
|
21111
21392
|
value: elem
|
|
21112
21393
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
21113
21394
|
path: _path + ".fontFamilies",
|
|
21114
21395
|
expected: "(Array<string> | undefined)",
|
|
21115
21396
|
value: input.fontFamilies
|
|
21116
|
-
})
|
|
21397
|
+
}), undefined === input.presets || (Array.isArray(input.presets) || _report(_exceptionable, {
|
|
21398
|
+
path: _path + ".presets",
|
|
21399
|
+
expected: "(Array<PrintOptions> | undefined)",
|
|
21400
|
+
value: input.presets
|
|
21401
|
+
})) && input.presets.map((elem, _index91) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
21402
|
+
path: _path + ".presets[" + _index91 + "]",
|
|
21403
|
+
expected: "(PrintRundownOptions | PrintScriptOptions)",
|
|
21404
|
+
value: elem
|
|
21405
|
+
})) && _vu0(elem, _path + ".presets[" + _index91 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
21406
|
+
path: _path + ".presets[" + _index91 + "]",
|
|
21407
|
+
expected: "(PrintRundownOptions | PrintScriptOptions)",
|
|
21408
|
+
value: elem
|
|
21409
|
+
})).every(flag => flag) || _report(_exceptionable, {
|
|
21410
|
+
path: _path + ".presets",
|
|
21411
|
+
expected: "(Array<PrintOptions> | undefined)",
|
|
21412
|
+
value: input.presets
|
|
21413
|
+
})].every(flag => flag); const _vo71 = (input, _path, _exceptionable = true) => ["script" === input.type || _report(_exceptionable, {
|
|
21414
|
+
path: _path + ".type",
|
|
21415
|
+
expected: "\"script\"",
|
|
21416
|
+
value: input.type
|
|
21417
|
+
}), "string" === typeof input.title || _report(_exceptionable, {
|
|
21418
|
+
path: _path + ".title",
|
|
21419
|
+
expected: "string",
|
|
21420
|
+
value: input.title
|
|
21421
|
+
}), "number" === typeof input.horizontalMargin || _report(_exceptionable, {
|
|
21422
|
+
path: _path + ".horizontalMargin",
|
|
21423
|
+
expected: "number",
|
|
21424
|
+
value: input.horizontalMargin
|
|
21425
|
+
}), "A5" === input.pageSize || "A4" === input.pageSize || "A3" === input.pageSize || _report(_exceptionable, {
|
|
21426
|
+
path: _path + ".pageSize",
|
|
21427
|
+
expected: "(\"A3\" | \"A4\" | \"A5\")",
|
|
21428
|
+
value: input.pageSize
|
|
21429
|
+
}), "landscape" === input.orientation || "portrait" === input.orientation || _report(_exceptionable, {
|
|
21430
|
+
path: _path + ".orientation",
|
|
21431
|
+
expected: "(\"landscape\" | \"portrait\")",
|
|
21432
|
+
value: input.orientation
|
|
21433
|
+
}), "number" === typeof input.fontSize || _report(_exceptionable, {
|
|
21434
|
+
path: _path + ".fontSize",
|
|
21435
|
+
expected: "number",
|
|
21436
|
+
value: input.fontSize
|
|
21437
|
+
}), undefined === input.fontFamily || "string" === typeof input.fontFamily || _report(_exceptionable, {
|
|
21438
|
+
path: _path + ".fontFamily",
|
|
21439
|
+
expected: "(string | undefined)",
|
|
21440
|
+
value: input.fontFamily
|
|
21441
|
+
}), (Array.isArray(input.hide) || _report(_exceptionable, {
|
|
21442
|
+
path: _path + ".hide",
|
|
21443
|
+
expected: "Array<PrintOptionalScriptNodes>",
|
|
21444
|
+
value: input.hide
|
|
21445
|
+
})) && input.hide.map((elem, _index92) => "event" === elem || "event-data" === elem || "comment" === elem || "heading" === elem || "list" === elem || "quote" === elem || "paragraph" === elem || "horizontalrule" === elem || _report(_exceptionable, {
|
|
21446
|
+
path: _path + ".hide[" + _index92 + "]",
|
|
21447
|
+
expected: "(\"comment\" | \"event\" | \"event-data\" | \"heading\" | \"horizontalrule\" | \"list\" | \"paragraph\" | \"quote\")",
|
|
21448
|
+
value: elem
|
|
21449
|
+
})).every(flag => flag) || _report(_exceptionable, {
|
|
21450
|
+
path: _path + ".hide",
|
|
21451
|
+
expected: "Array<PrintOptionalScriptNodes>",
|
|
21452
|
+
value: input.hide
|
|
21453
|
+
})].every(flag => flag); const _vo72 = (input, _path, _exceptionable = true) => ["rundown" === input.type || _report(_exceptionable, {
|
|
21454
|
+
path: _path + ".type",
|
|
21455
|
+
expected: "\"rundown\"",
|
|
21456
|
+
value: input.type
|
|
21457
|
+
}), (Array.isArray(input.columns) || _report(_exceptionable, {
|
|
21458
|
+
path: _path + ".columns",
|
|
21459
|
+
expected: "Array<PrintRundownColumn>",
|
|
21460
|
+
value: input.columns
|
|
21461
|
+
})) && input.columns.map((elem, _index93) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
21462
|
+
path: _path + ".columns[" + _index93 + "]",
|
|
21463
|
+
expected: "PrintRundownColumn",
|
|
21464
|
+
value: elem
|
|
21465
|
+
})) && _vo73(elem, _path + ".columns[" + _index93 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
21466
|
+
path: _path + ".columns[" + _index93 + "]",
|
|
21467
|
+
expected: "PrintRundownColumn",
|
|
21468
|
+
value: elem
|
|
21469
|
+
})).every(flag => flag) || _report(_exceptionable, {
|
|
21470
|
+
path: _path + ".columns",
|
|
21471
|
+
expected: "Array<PrintRundownColumn>",
|
|
21472
|
+
value: input.columns
|
|
21473
|
+
}), undefined === input.rangeStart || "number" === typeof input.rangeStart || _report(_exceptionable, {
|
|
21474
|
+
path: _path + ".rangeStart",
|
|
21475
|
+
expected: "(number | undefined)",
|
|
21476
|
+
value: input.rangeStart
|
|
21477
|
+
}), undefined === input.rangeEnd || "number" === typeof input.rangeEnd || _report(_exceptionable, {
|
|
21478
|
+
path: _path + ".rangeEnd",
|
|
21479
|
+
expected: "(number | undefined)",
|
|
21480
|
+
value: input.rangeEnd
|
|
21481
|
+
}), (Array.isArray(input.hide) || _report(_exceptionable, {
|
|
21482
|
+
path: _path + ".hide",
|
|
21483
|
+
expected: "Array<\"event\" | \"comment\" | \"heading\" | \"list\" | \"quote\" | \"paragraph\" | \"horizontalrule\">",
|
|
21484
|
+
value: input.hide
|
|
21485
|
+
})) && input.hide.map((elem, _index94) => "event" === elem || "comment" === elem || "heading" === elem || "list" === elem || "quote" === elem || "paragraph" === elem || "horizontalrule" === elem || _report(_exceptionable, {
|
|
21486
|
+
path: _path + ".hide[" + _index94 + "]",
|
|
21487
|
+
expected: "(\"comment\" | \"event\" | \"heading\" | \"horizontalrule\" | \"list\" | \"paragraph\" | \"quote\")",
|
|
21488
|
+
value: elem
|
|
21489
|
+
})).every(flag => flag) || _report(_exceptionable, {
|
|
21490
|
+
path: _path + ".hide",
|
|
21491
|
+
expected: "Array<\"event\" | \"comment\" | \"heading\" | \"list\" | \"quote\" | \"paragraph\" | \"horizontalrule\">",
|
|
21492
|
+
value: input.hide
|
|
21493
|
+
}), "string" === typeof input.title || _report(_exceptionable, {
|
|
21494
|
+
path: _path + ".title",
|
|
21495
|
+
expected: "string",
|
|
21496
|
+
value: input.title
|
|
21497
|
+
}), "number" === typeof input.horizontalMargin || _report(_exceptionable, {
|
|
21498
|
+
path: _path + ".horizontalMargin",
|
|
21499
|
+
expected: "number",
|
|
21500
|
+
value: input.horizontalMargin
|
|
21501
|
+
}), "A5" === input.pageSize || "A4" === input.pageSize || "A3" === input.pageSize || _report(_exceptionable, {
|
|
21502
|
+
path: _path + ".pageSize",
|
|
21503
|
+
expected: "(\"A3\" | \"A4\" | \"A5\")",
|
|
21504
|
+
value: input.pageSize
|
|
21505
|
+
}), "landscape" === input.orientation || "portrait" === input.orientation || _report(_exceptionable, {
|
|
21506
|
+
path: _path + ".orientation",
|
|
21507
|
+
expected: "(\"landscape\" | \"portrait\")",
|
|
21508
|
+
value: input.orientation
|
|
21509
|
+
}), "number" === typeof input.fontSize || _report(_exceptionable, {
|
|
21510
|
+
path: _path + ".fontSize",
|
|
21511
|
+
expected: "number",
|
|
21512
|
+
value: input.fontSize
|
|
21513
|
+
}), undefined === input.fontFamily || "string" === typeof input.fontFamily || _report(_exceptionable, {
|
|
21514
|
+
path: _path + ".fontFamily",
|
|
21515
|
+
expected: "(string | undefined)",
|
|
21516
|
+
value: input.fontFamily
|
|
21517
|
+
})].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, {
|
|
21518
|
+
path: _path + ".key",
|
|
21519
|
+
expected: "(\"accDuration\" | \"duration\" | \"id\" | \"position\" | \"time\" | \"title\" | \"type\")",
|
|
21520
|
+
value: input.key
|
|
21521
|
+
}), "string" === typeof input.label || _report(_exceptionable, {
|
|
21522
|
+
path: _path + ".label",
|
|
21523
|
+
expected: "string",
|
|
21524
|
+
value: input.label
|
|
21525
|
+
}), "string" === typeof input.width || _report(_exceptionable, {
|
|
21526
|
+
path: _path + ".width",
|
|
21527
|
+
expected: "string",
|
|
21528
|
+
value: input.width
|
|
21529
|
+
}), "right" === input.textAlign || "left" === input.textAlign || "center" === input.textAlign || _report(_exceptionable, {
|
|
21530
|
+
path: _path + ".textAlign",
|
|
21531
|
+
expected: "(\"center\" | \"left\" | \"right\")",
|
|
21532
|
+
value: input.textAlign
|
|
21533
|
+
})].every(flag => flag); const _vo74 = (input, _path, _exceptionable = true) => [undefined === input.id || "string" === typeof input.id || _report(_exceptionable, {
|
|
21117
21534
|
path: _path + ".id",
|
|
21118
21535
|
expected: "(string | undefined)",
|
|
21119
21536
|
value: input.id
|
|
@@ -21121,23 +21538,31 @@ function _validateDomainRecord(domain, input) {
|
|
|
21121
21538
|
path: _path + ".folded",
|
|
21122
21539
|
expected: "(boolean | undefined)",
|
|
21123
21540
|
value: input.folded
|
|
21124
|
-
})].every(flag => flag); const
|
|
21541
|
+
})].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
21542
|
path: _path + ".adobe",
|
|
21126
21543
|
expected: "(__type.o62 | undefined)",
|
|
21127
21544
|
value: input.adobe
|
|
21128
|
-
})) &&
|
|
21545
|
+
})) && _vo76(input.adobe, _path + ".adobe", true && _exceptionable) || _report(_exceptionable, {
|
|
21129
21546
|
path: _path + ".adobe",
|
|
21130
21547
|
expected: "(__type.o62 | undefined)",
|
|
21131
21548
|
value: input.adobe
|
|
21549
|
+
}), undefined === input.ograf || ("object" === typeof input.ograf && null !== input.ograf && false === Array.isArray(input.ograf) || _report(_exceptionable, {
|
|
21550
|
+
path: _path + ".ograf",
|
|
21551
|
+
expected: "(__type.o64 | undefined)",
|
|
21552
|
+
value: input.ograf
|
|
21553
|
+
})) && _vo78(input.ograf, _path + ".ograf", true && _exceptionable) || _report(_exceptionable, {
|
|
21554
|
+
path: _path + ".ograf",
|
|
21555
|
+
expected: "(__type.o64 | undefined)",
|
|
21556
|
+
value: input.ograf
|
|
21132
21557
|
}), undefined === input.rive || ("object" === typeof input.rive && null !== input.rive && false === Array.isArray(input.rive) || _report(_exceptionable, {
|
|
21133
21558
|
path: _path + ".rive",
|
|
21134
|
-
expected: "(__type.
|
|
21559
|
+
expected: "(__type.o65 | undefined)",
|
|
21135
21560
|
value: input.rive
|
|
21136
|
-
})) &&
|
|
21561
|
+
})) && _vo79(input.rive, _path + ".rive", true && _exceptionable) || _report(_exceptionable, {
|
|
21137
21562
|
path: _path + ".rive",
|
|
21138
|
-
expected: "(__type.
|
|
21563
|
+
expected: "(__type.o65 | undefined)",
|
|
21139
21564
|
value: input.rive
|
|
21140
|
-
})].every(flag => flag); const
|
|
21565
|
+
})].every(flag => flag); const _vo76 = (input, _path, _exceptionable = true) => [undefined === input.videoBin || "string" === typeof input.videoBin || _report(_exceptionable, {
|
|
21141
21566
|
path: _path + ".videoBin",
|
|
21142
21567
|
expected: "(string | undefined)",
|
|
21143
21568
|
value: input.videoBin
|
|
@@ -21169,6 +21594,18 @@ function _validateDomainRecord(domain, input) {
|
|
|
21169
21594
|
path: _path + ".renderPresetPath",
|
|
21170
21595
|
expected: "(string | undefined)",
|
|
21171
21596
|
value: input.renderPresetPath
|
|
21597
|
+
}), undefined === input.renderPresets || (Array.isArray(input.renderPresets) || _report(_exceptionable, {
|
|
21598
|
+
path: _path + ".renderPresets",
|
|
21599
|
+
expected: "(Array<string> | undefined)",
|
|
21600
|
+
value: input.renderPresets
|
|
21601
|
+
})) && input.renderPresets.map((elem, _index95) => "string" === typeof elem || _report(_exceptionable, {
|
|
21602
|
+
path: _path + ".renderPresets[" + _index95 + "]",
|
|
21603
|
+
expected: "string",
|
|
21604
|
+
value: elem
|
|
21605
|
+
})).every(flag => flag) || _report(_exceptionable, {
|
|
21606
|
+
path: _path + ".renderPresets",
|
|
21607
|
+
expected: "(Array<string> | undefined)",
|
|
21608
|
+
value: input.renderPresets
|
|
21172
21609
|
}), undefined === input.videoRenderPreset || "string" === typeof input.videoRenderPreset || _report(_exceptionable, {
|
|
21173
21610
|
path: _path + ".videoRenderPreset",
|
|
21174
21611
|
expected: "(string | undefined)",
|
|
@@ -21197,19 +21634,23 @@ function _validateDomainRecord(domain, input) {
|
|
|
21197
21634
|
path: _path + ".bodymovin",
|
|
21198
21635
|
expected: "(__type.o63 | undefined)",
|
|
21199
21636
|
value: input.bodymovin
|
|
21200
|
-
})) &&
|
|
21637
|
+
})) && _vo77(input.bodymovin, _path + ".bodymovin", true && _exceptionable) || _report(_exceptionable, {
|
|
21201
21638
|
path: _path + ".bodymovin",
|
|
21202
21639
|
expected: "(__type.o63 | undefined)",
|
|
21203
21640
|
value: input.bodymovin
|
|
21204
|
-
})].every(flag => flag); const
|
|
21641
|
+
})].every(flag => flag); const _vo77 = (input, _path, _exceptionable = true) => [undefined === input.template || "string" === typeof input.template || _report(_exceptionable, {
|
|
21205
21642
|
path: _path + ".template",
|
|
21206
21643
|
expected: "(string | undefined)",
|
|
21207
21644
|
value: input.template
|
|
21208
|
-
})].every(flag => flag); const
|
|
21645
|
+
})].every(flag => flag); const _vo78 = (input, _path, _exceptionable = true) => [undefined === input.template || "string" === typeof input.template || _report(_exceptionable, {
|
|
21209
21646
|
path: _path + ".template",
|
|
21210
21647
|
expected: "(string | undefined)",
|
|
21211
21648
|
value: input.template
|
|
21212
|
-
})].every(flag => flag); const
|
|
21649
|
+
})].every(flag => flag); const _vo79 = (input, _path, _exceptionable = true) => [undefined === input.template || "string" === typeof input.template || _report(_exceptionable, {
|
|
21650
|
+
path: _path + ".template",
|
|
21651
|
+
expected: "(string | undefined)",
|
|
21652
|
+
value: input.template
|
|
21653
|
+
})].every(flag => flag); const _vo80 = (input, _path, _exceptionable = true) => [undefined === input.collections || "boolean" === typeof input.collections || _report(_exceptionable, {
|
|
21213
21654
|
path: _path + ".collections",
|
|
21214
21655
|
expected: "(boolean | undefined)",
|
|
21215
21656
|
value: input.collections
|
|
@@ -21225,7 +21666,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
21225
21666
|
path: _path + ".ameRemoteRendering",
|
|
21226
21667
|
expected: "(boolean | undefined)",
|
|
21227
21668
|
value: input.ameRemoteRendering
|
|
21228
|
-
})].every(flag => flag); const
|
|
21669
|
+
})].every(flag => flag); const _vo81 = (input, _path, _exceptionable = true) => [undefined === input.utils || "boolean" === typeof input.utils || _report(_exceptionable, {
|
|
21229
21670
|
path: _path + ".utils",
|
|
21230
21671
|
expected: "(boolean | undefined)",
|
|
21231
21672
|
value: input.utils
|
|
@@ -21313,20 +21754,20 @@ function _validateDomainRecord(domain, input) {
|
|
|
21313
21754
|
path: _path + ".systemHealthIgnore",
|
|
21314
21755
|
expected: "(boolean | undefined)",
|
|
21315
21756
|
value: input.systemHealthIgnore
|
|
21316
|
-
})].every(flag => flag); const
|
|
21757
|
+
})].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
21758
|
path: _path + ".events",
|
|
21318
|
-
expected: "(__type.
|
|
21759
|
+
expected: "(__type.o69 | undefined)",
|
|
21319
21760
|
value: input.events
|
|
21320
|
-
})) &&
|
|
21761
|
+
})) && _vo83(input.events, _path + ".events", true && _exceptionable) || _report(_exceptionable, {
|
|
21321
21762
|
path: _path + ".events",
|
|
21322
|
-
expected: "(__type.
|
|
21763
|
+
expected: "(__type.o69 | undefined)",
|
|
21323
21764
|
value: input.events
|
|
21324
|
-
})].every(flag => flag); const
|
|
21765
|
+
})].every(flag => flag); const _vo83 = (input, _path, _exceptionable = true) => [undefined === input.comment || (Array.isArray(input.comment) || _report(_exceptionable, {
|
|
21325
21766
|
path: _path + ".comment",
|
|
21326
21767
|
expected: "(Array<NotificationReason> | undefined)",
|
|
21327
21768
|
value: input.comment
|
|
21328
|
-
})) && input.comment.map((elem,
|
|
21329
|
-
path: _path + ".comment[" +
|
|
21769
|
+
})) && input.comment.map((elem, _index96) => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem || _report(_exceptionable, {
|
|
21770
|
+
path: _path + ".comment[" + _index96 + "]",
|
|
21330
21771
|
expected: "(\"always\" | \"assigned\" | \"author\" | \"mentioned\" | \"participated\")",
|
|
21331
21772
|
value: elem
|
|
21332
21773
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -21337,8 +21778,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
21337
21778
|
path: _path + ".assigned",
|
|
21338
21779
|
expected: "(Array<NotificationReason> | undefined)",
|
|
21339
21780
|
value: input.assigned
|
|
21340
|
-
})) && input.assigned.map((elem,
|
|
21341
|
-
path: _path + ".assigned[" +
|
|
21781
|
+
})) && input.assigned.map((elem, _index97) => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem || _report(_exceptionable, {
|
|
21782
|
+
path: _path + ".assigned[" + _index97 + "]",
|
|
21342
21783
|
expected: "(\"always\" | \"assigned\" | \"author\" | \"mentioned\" | \"participated\")",
|
|
21343
21784
|
value: elem
|
|
21344
21785
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -21349,8 +21790,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
21349
21790
|
path: _path + ".unassigned",
|
|
21350
21791
|
expected: "(Array<NotificationReason> | undefined)",
|
|
21351
21792
|
value: input.unassigned
|
|
21352
|
-
})) && input.unassigned.map((elem,
|
|
21353
|
-
path: _path + ".unassigned[" +
|
|
21793
|
+
})) && input.unassigned.map((elem, _index98) => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem || _report(_exceptionable, {
|
|
21794
|
+
path: _path + ".unassigned[" + _index98 + "]",
|
|
21354
21795
|
expected: "(\"always\" | \"assigned\" | \"author\" | \"mentioned\" | \"participated\")",
|
|
21355
21796
|
value: elem
|
|
21356
21797
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -21359,13 +21800,13 @@ function _validateDomainRecord(domain, input) {
|
|
|
21359
21800
|
value: input.unassigned
|
|
21360
21801
|
}), undefined === input.publishSucceeded || ("object" === typeof input.publishSucceeded && null !== input.publishSucceeded && false === Array.isArray(input.publishSucceeded) || _report(_exceptionable, {
|
|
21361
21802
|
path: _path + ".publishSucceeded",
|
|
21362
|
-
expected: "(__type.
|
|
21803
|
+
expected: "(__type.o70 | undefined)",
|
|
21363
21804
|
value: input.publishSucceeded
|
|
21364
|
-
})) &&
|
|
21805
|
+
})) && _vo84(input.publishSucceeded, _path + ".publishSucceeded", true && _exceptionable) || _report(_exceptionable, {
|
|
21365
21806
|
path: _path + ".publishSucceeded",
|
|
21366
|
-
expected: "(__type.
|
|
21807
|
+
expected: "(__type.o70 | undefined)",
|
|
21367
21808
|
value: input.publishSucceeded
|
|
21368
|
-
})].every(flag => flag); const
|
|
21809
|
+
})].every(flag => flag); const _vo84 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
21369
21810
|
const value = input[key];
|
|
21370
21811
|
if (undefined === value)
|
|
21371
21812
|
return true;
|
|
@@ -21373,8 +21814,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
21373
21814
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
21374
21815
|
expected: "Array<NotificationReason>",
|
|
21375
21816
|
value: value
|
|
21376
|
-
})) && value.map((elem,
|
|
21377
|
-
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key) + "[" +
|
|
21817
|
+
})) && value.map((elem, _index99) => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem || _report(_exceptionable, {
|
|
21818
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key) + "[" + _index99 + "]",
|
|
21378
21819
|
expected: "(\"always\" | \"assigned\" | \"author\" | \"mentioned\" | \"participated\")",
|
|
21379
21820
|
value: elem
|
|
21380
21821
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -21382,23 +21823,23 @@ function _validateDomainRecord(domain, input) {
|
|
|
21382
21823
|
expected: "Array<NotificationReason>",
|
|
21383
21824
|
value: value
|
|
21384
21825
|
});
|
|
21385
|
-
}).every(flag => flag)].every(flag => flag); const
|
|
21826
|
+
}).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
21827
|
path: _path + ".create",
|
|
21387
|
-
expected: "(__type.
|
|
21828
|
+
expected: "(__type.o72 | undefined)",
|
|
21388
21829
|
value: input.create
|
|
21389
|
-
})) &&
|
|
21830
|
+
})) && _vo86(input.create, _path + ".create", true && _exceptionable) || _report(_exceptionable, {
|
|
21390
21831
|
path: _path + ".create",
|
|
21391
|
-
expected: "(__type.
|
|
21832
|
+
expected: "(__type.o72 | undefined)",
|
|
21392
21833
|
value: input.create
|
|
21393
21834
|
}), undefined === input.duplicate || ("object" === typeof input.duplicate && null !== input.duplicate && false === Array.isArray(input.duplicate) || _report(_exceptionable, {
|
|
21394
21835
|
path: _path + ".duplicate",
|
|
21395
|
-
expected: "(__type.
|
|
21836
|
+
expected: "(__type.o73 | undefined)",
|
|
21396
21837
|
value: input.duplicate
|
|
21397
|
-
})) &&
|
|
21838
|
+
})) && _vo87(input.duplicate, _path + ".duplicate", true && _exceptionable) || _report(_exceptionable, {
|
|
21398
21839
|
path: _path + ".duplicate",
|
|
21399
|
-
expected: "(__type.
|
|
21840
|
+
expected: "(__type.o73 | undefined)",
|
|
21400
21841
|
value: input.duplicate
|
|
21401
|
-
})].every(flag => flag); const
|
|
21842
|
+
})].every(flag => flag); const _vo86 = (input, _path, _exceptionable = true) => [undefined === input.titlePrefix || "string" === typeof input.titlePrefix || _report(_exceptionable, {
|
|
21402
21843
|
path: _path + ".titlePrefix",
|
|
21403
21844
|
expected: "(string | undefined)",
|
|
21404
21845
|
value: input.titlePrefix
|
|
@@ -21406,7 +21847,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
21406
21847
|
path: _path + ".titleSuffix",
|
|
21407
21848
|
expected: "(string | undefined)",
|
|
21408
21849
|
value: input.titleSuffix
|
|
21409
|
-
})].every(flag => flag); const
|
|
21850
|
+
})].every(flag => flag); const _vo87 = (input, _path, _exceptionable = true) => [undefined === input.titlePrefix || "string" === typeof input.titlePrefix || _report(_exceptionable, {
|
|
21410
21851
|
path: _path + ".titlePrefix",
|
|
21411
21852
|
expected: "(string | undefined)",
|
|
21412
21853
|
value: input.titlePrefix
|
|
@@ -21414,12 +21855,12 @@ function _validateDomainRecord(domain, input) {
|
|
|
21414
21855
|
path: _path + ".titleSuffix",
|
|
21415
21856
|
expected: "(string | undefined)",
|
|
21416
21857
|
value: input.titleSuffix
|
|
21417
|
-
})].every(flag => flag); const
|
|
21858
|
+
})].every(flag => flag); const _vo88 = (input, _path, _exceptionable = true) => [undefined === input.stateFilter || (Array.isArray(input.stateFilter) || _report(_exceptionable, {
|
|
21418
21859
|
path: _path + ".stateFilter",
|
|
21419
21860
|
expected: "(Array<number> | undefined)",
|
|
21420
21861
|
value: input.stateFilter
|
|
21421
|
-
})) && input.stateFilter.map((elem,
|
|
21422
|
-
path: _path + ".stateFilter[" +
|
|
21862
|
+
})) && input.stateFilter.map((elem, _index100) => "number" === typeof elem || _report(_exceptionable, {
|
|
21863
|
+
path: _path + ".stateFilter[" + _index100 + "]",
|
|
21423
21864
|
expected: "number",
|
|
21424
21865
|
value: elem
|
|
21425
21866
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -21446,31 +21887,43 @@ function _validateDomainRecord(domain, input) {
|
|
|
21446
21887
|
path: _path + ".parseRegex",
|
|
21447
21888
|
expected: "(boolean | undefined)",
|
|
21448
21889
|
value: input.parseRegex
|
|
21449
|
-
})].every(flag => flag); const
|
|
21890
|
+
})].every(flag => flag); const _vo89 = (input, _path, _exceptionable = true) => [undefined === input.disableHotArea || "boolean" === typeof input.disableHotArea || _report(_exceptionable, {
|
|
21450
21891
|
path: _path + ".disableHotArea",
|
|
21451
21892
|
expected: "(boolean | undefined)",
|
|
21452
21893
|
value: input.disableHotArea
|
|
21453
|
-
})].every(flag => flag); const
|
|
21894
|
+
})].every(flag => flag); const _vo90 = (input, _path, _exceptionable = true) => [undefined === input.refreshInterval || "number" === typeof input.refreshInterval || _report(_exceptionable, {
|
|
21454
21895
|
path: _path + ".refreshInterval",
|
|
21455
21896
|
expected: "(number | undefined)",
|
|
21456
21897
|
value: input.refreshInterval
|
|
21457
|
-
})].every(flag => flag); const
|
|
21898
|
+
})].every(flag => flag); const _vo91 = (input, _path, _exceptionable = true) => [undefined === input.layout || "string" === typeof input.layout || _report(_exceptionable, {
|
|
21458
21899
|
path: _path + ".layout",
|
|
21459
21900
|
expected: "(string | undefined)",
|
|
21460
21901
|
value: input.layout
|
|
21461
|
-
})].every(flag => flag); const
|
|
21462
|
-
path: _path + ".
|
|
21902
|
+
})].every(flag => flag); const _vo92 = (input, _path, _exceptionable = true) => [undefined === input.ignoredWarnings || (Array.isArray(input.ignoredWarnings) || _report(_exceptionable, {
|
|
21903
|
+
path: _path + ".ignoredWarnings",
|
|
21904
|
+
expected: "(Array<string> | undefined)",
|
|
21905
|
+
value: input.ignoredWarnings
|
|
21906
|
+
})) && input.ignoredWarnings.map((elem, _index101) => "string" === typeof elem || _report(_exceptionable, {
|
|
21907
|
+
path: _path + ".ignoredWarnings[" + _index101 + "]",
|
|
21908
|
+
expected: "string",
|
|
21909
|
+
value: elem
|
|
21910
|
+
})).every(flag => flag) || _report(_exceptionable, {
|
|
21911
|
+
path: _path + ".ignoredWarnings",
|
|
21463
21912
|
expected: "(Array<string> | undefined)",
|
|
21464
|
-
value: input.
|
|
21465
|
-
})
|
|
21466
|
-
path: _path + ".
|
|
21913
|
+
value: input.ignoredWarnings
|
|
21914
|
+
}), undefined === input.ignoredErrors || (Array.isArray(input.ignoredErrors) || _report(_exceptionable, {
|
|
21915
|
+
path: _path + ".ignoredErrors",
|
|
21916
|
+
expected: "(Array<string> | undefined)",
|
|
21917
|
+
value: input.ignoredErrors
|
|
21918
|
+
})) && input.ignoredErrors.map((elem, _index102) => "string" === typeof elem || _report(_exceptionable, {
|
|
21919
|
+
path: _path + ".ignoredErrors[" + _index102 + "]",
|
|
21467
21920
|
expected: "string",
|
|
21468
21921
|
value: elem
|
|
21469
21922
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
21470
|
-
path: _path + ".
|
|
21923
|
+
path: _path + ".ignoredErrors",
|
|
21471
21924
|
expected: "(Array<string> | undefined)",
|
|
21472
|
-
value: input.
|
|
21473
|
-
})].every(flag => flag); const
|
|
21925
|
+
value: input.ignoredErrors
|
|
21926
|
+
})].every(flag => flag); const _vo93 = (input, _path, _exceptionable = true) => [undefined === input.enableUpdate || "boolean" === typeof input.enableUpdate || _report(_exceptionable, {
|
|
21474
21927
|
path: _path + ".enableUpdate",
|
|
21475
21928
|
expected: "(boolean | undefined)",
|
|
21476
21929
|
value: input.enableUpdate
|
|
@@ -21478,7 +21931,18 @@ function _validateDomainRecord(domain, input) {
|
|
|
21478
21931
|
path: _path + ".autoUpdate",
|
|
21479
21932
|
expected: "(boolean | undefined)",
|
|
21480
21933
|
value: input.autoUpdate
|
|
21481
|
-
})].every(flag => flag); const
|
|
21934
|
+
})].every(flag => flag); const _vu0 = (input, _path, _exceptionable = true) => (() => {
|
|
21935
|
+
if ("script" === input.type)
|
|
21936
|
+
return _vo71(input, _path, true && _exceptionable);
|
|
21937
|
+
else if ("rundown" === input.type)
|
|
21938
|
+
return _vo72(input, _path, true && _exceptionable);
|
|
21939
|
+
else
|
|
21940
|
+
return _report(_exceptionable, {
|
|
21941
|
+
path: _path,
|
|
21942
|
+
expected: "(PrintScriptOptions | PrintRundownOptions)",
|
|
21943
|
+
value: input
|
|
21944
|
+
});
|
|
21945
|
+
})(); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); let errors; let _report; return input => {
|
|
21482
21946
|
if (false === __is(input)) {
|
|
21483
21947
|
errors = [];
|
|
21484
21948
|
_report = __typia_transform__validateReport._validateReport(errors);
|
|
@@ -21755,6 +22219,420 @@ function _validateDomainRecord(domain, input) {
|
|
|
21755
22219
|
};
|
|
21756
22220
|
}; })()(input);
|
|
21757
22221
|
}
|
|
22222
|
+
case ":storage": {
|
|
22223
|
+
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, {
|
|
22224
|
+
path: _path + ".zone",
|
|
22225
|
+
expected: "string",
|
|
22226
|
+
value: input.zone
|
|
22227
|
+
}), null === input.hostname || "string" === typeof input.hostname || _report(_exceptionable, {
|
|
22228
|
+
path: _path + ".hostname",
|
|
22229
|
+
expected: "(null | string)",
|
|
22230
|
+
value: input.hostname
|
|
22231
|
+
}), null === input.port || undefined === input.port || "number" === typeof input.port || _report(_exceptionable, {
|
|
22232
|
+
path: _path + ".port",
|
|
22233
|
+
expected: "(null | number | undefined)",
|
|
22234
|
+
value: input.port
|
|
22235
|
+
}), undefined === input.location || "string" === typeof input.location || _report(_exceptionable, {
|
|
22236
|
+
path: _path + ".location",
|
|
22237
|
+
expected: "(string | undefined)",
|
|
22238
|
+
value: input.location
|
|
22239
|
+
}), null === input.cache || undefined === input.cache || "boolean" === typeof input.cache || _report(_exceptionable, {
|
|
22240
|
+
path: _path + ".cache",
|
|
22241
|
+
expected: "(boolean | null | undefined)",
|
|
22242
|
+
value: input.cache
|
|
22243
|
+
}), undefined === input.allows || (Array.isArray(input.allows) || _report(_exceptionable, {
|
|
22244
|
+
path: _path + ".allows",
|
|
22245
|
+
expected: "(Array<string> | undefined)",
|
|
22246
|
+
value: input.allows
|
|
22247
|
+
})) && input.allows.map((elem, _index2) => "string" === typeof elem || _report(_exceptionable, {
|
|
22248
|
+
path: _path + ".allows[" + _index2 + "]",
|
|
22249
|
+
expected: "string",
|
|
22250
|
+
value: elem
|
|
22251
|
+
})).every(flag => flag) || _report(_exceptionable, {
|
|
22252
|
+
path: _path + ".allows",
|
|
22253
|
+
expected: "(Array<string> | undefined)",
|
|
22254
|
+
value: input.allows
|
|
22255
|
+
}), null === input.capacity || undefined === input.capacity || "number" === typeof input.capacity || _report(_exceptionable, {
|
|
22256
|
+
path: _path + ".capacity",
|
|
22257
|
+
expected: "(null | number | undefined)",
|
|
22258
|
+
value: input.capacity
|
|
22259
|
+
}), null === input.rxBytesSecMax || undefined === input.rxBytesSecMax || "number" === typeof input.rxBytesSecMax || _report(_exceptionable, {
|
|
22260
|
+
path: _path + ".rxBytesSecMax",
|
|
22261
|
+
expected: "(null | number | undefined)",
|
|
22262
|
+
value: input.rxBytesSecMax
|
|
22263
|
+
}), null === input.txBytesSecMax || undefined === input.txBytesSecMax || "number" === typeof input.txBytesSecMax || _report(_exceptionable, {
|
|
22264
|
+
path: _path + ".txBytesSecMax",
|
|
22265
|
+
expected: "(null | number | undefined)",
|
|
22266
|
+
value: input.txBytesSecMax
|
|
22267
|
+
}), null === input.rxBytesSecLimit || undefined === input.rxBytesSecLimit || "number" === typeof input.rxBytesSecLimit || _report(_exceptionable, {
|
|
22268
|
+
path: _path + ".rxBytesSecLimit",
|
|
22269
|
+
expected: "(null | number | undefined)",
|
|
22270
|
+
value: input.rxBytesSecLimit
|
|
22271
|
+
}), null === input.txBytesSecLimit || undefined === input.txBytesSecLimit || "number" === typeof input.txBytesSecLimit || _report(_exceptionable, {
|
|
22272
|
+
path: _path + ".txBytesSecLimit",
|
|
22273
|
+
expected: "(null | number | undefined)",
|
|
22274
|
+
value: input.txBytesSecLimit
|
|
22275
|
+
})].every(flag => flag); const __is = input => "object" === typeof input && null !== input && _io0(input); let errors; let _report; return input => {
|
|
22276
|
+
if (false === __is(input)) {
|
|
22277
|
+
errors = [];
|
|
22278
|
+
_report = __typia_transform__validateReport._validateReport(errors);
|
|
22279
|
+
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input || _report(true, {
|
|
22280
|
+
path: _path + "",
|
|
22281
|
+
expected: "StorageDomainRecord",
|
|
22282
|
+
value: input
|
|
22283
|
+
})) && _vo0(input, _path + "", true) || _report(true, {
|
|
22284
|
+
path: _path + "",
|
|
22285
|
+
expected: "StorageDomainRecord",
|
|
22286
|
+
value: input
|
|
22287
|
+
}))(input, "$input", true);
|
|
22288
|
+
const success = 0 === errors.length;
|
|
22289
|
+
return success ? {
|
|
22290
|
+
success,
|
|
22291
|
+
data: input
|
|
22292
|
+
} : {
|
|
22293
|
+
success,
|
|
22294
|
+
errors,
|
|
22295
|
+
data: input
|
|
22296
|
+
};
|
|
22297
|
+
}
|
|
22298
|
+
return {
|
|
22299
|
+
success: true,
|
|
22300
|
+
data: input
|
|
22301
|
+
};
|
|
22302
|
+
}; })()(input);
|
|
22303
|
+
}
|
|
22304
|
+
case ":storage.stats": {
|
|
22305
|
+
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 => {
|
|
22306
|
+
if (["concurrency", "path", "snapshot", "available", "free", "used", "size", "state"].some(prop => key === prop))
|
|
22307
|
+
return true;
|
|
22308
|
+
const value = input[key];
|
|
22309
|
+
if (undefined === value)
|
|
22310
|
+
return true;
|
|
22311
|
+
return true;
|
|
22312
|
+
}); 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 => {
|
|
22313
|
+
if (["bucket", "region", "endpoint", "path", "storageClass"].some(prop => key === prop))
|
|
22314
|
+
return true;
|
|
22315
|
+
const value = input[key];
|
|
22316
|
+
if (undefined === value)
|
|
22317
|
+
return true;
|
|
22318
|
+
return true;
|
|
22319
|
+
}); const _vo0 = (input, _path, _exceptionable = true) => ["string" === typeof input.id || _report(_exceptionable, {
|
|
22320
|
+
path: _path + ".id",
|
|
22321
|
+
expected: "string",
|
|
22322
|
+
value: input.id
|
|
22323
|
+
}), "string" === typeof input.location || _report(_exceptionable, {
|
|
22324
|
+
path: _path + ".location",
|
|
22325
|
+
expected: "string",
|
|
22326
|
+
value: input.location
|
|
22327
|
+
}), "string" === typeof input.timestamp || _report(_exceptionable, {
|
|
22328
|
+
path: _path + ".timestamp",
|
|
22329
|
+
expected: "string",
|
|
22330
|
+
value: input.timestamp
|
|
22331
|
+
}), "string" === typeof input.type || _report(_exceptionable, {
|
|
22332
|
+
path: _path + ".type",
|
|
22333
|
+
expected: "string",
|
|
22334
|
+
value: input.type
|
|
22335
|
+
}), "string" === typeof input.zone || _report(_exceptionable, {
|
|
22336
|
+
path: _path + ".zone",
|
|
22337
|
+
expected: "string",
|
|
22338
|
+
value: input.zone
|
|
22339
|
+
}), "string" === typeof input.origin || _report(_exceptionable, {
|
|
22340
|
+
path: _path + ".origin",
|
|
22341
|
+
expected: "string",
|
|
22342
|
+
value: input.origin
|
|
22343
|
+
}), null === input.free || "number" === typeof input.free || _report(_exceptionable, {
|
|
22344
|
+
path: _path + ".free",
|
|
22345
|
+
expected: "(null | number)",
|
|
22346
|
+
value: input.free
|
|
22347
|
+
}), null === input.size || "number" === typeof input.size || _report(_exceptionable, {
|
|
22348
|
+
path: _path + ".size",
|
|
22349
|
+
expected: "(null | number)",
|
|
22350
|
+
value: input.size
|
|
22351
|
+
}), null === input.available || "number" === typeof input.available || _report(_exceptionable, {
|
|
22352
|
+
path: _path + ".available",
|
|
22353
|
+
expected: "(null | number)",
|
|
22354
|
+
value: input.available
|
|
22355
|
+
}), null === input.cache || "boolean" === typeof input.cache || _report(_exceptionable, {
|
|
22356
|
+
path: _path + ".cache",
|
|
22357
|
+
expected: "(boolean | null)",
|
|
22358
|
+
value: input.cache
|
|
22359
|
+
}), null === input.capacity || "number" === typeof input.capacity || _report(_exceptionable, {
|
|
22360
|
+
path: _path + ".capacity",
|
|
22361
|
+
expected: "(null | number)",
|
|
22362
|
+
value: input.capacity
|
|
22363
|
+
}), ("object" === typeof input.limiter && null !== input.limiter && false === Array.isArray(input.limiter) || _report(_exceptionable, {
|
|
22364
|
+
path: _path + ".limiter",
|
|
22365
|
+
expected: "__type",
|
|
22366
|
+
value: input.limiter
|
|
22367
|
+
})) && _vo1(input.limiter, _path + ".limiter", true && _exceptionable) || _report(_exceptionable, {
|
|
22368
|
+
path: _path + ".limiter",
|
|
22369
|
+
expected: "__type",
|
|
22370
|
+
value: input.limiter
|
|
22371
|
+
}), ("object" === typeof input.http && null !== input.http || _report(_exceptionable, {
|
|
22372
|
+
path: _path + ".http",
|
|
22373
|
+
expected: "__type.o1",
|
|
22374
|
+
value: input.http
|
|
22375
|
+
})) && _vo2(input.http, _path + ".http", true && _exceptionable) || _report(_exceptionable, {
|
|
22376
|
+
path: _path + ".http",
|
|
22377
|
+
expected: "__type.o1",
|
|
22378
|
+
value: input.http
|
|
22379
|
+
}), ("object" === typeof input.io && null !== input.io || _report(_exceptionable, {
|
|
22380
|
+
path: _path + ".io",
|
|
22381
|
+
expected: "__type.o2",
|
|
22382
|
+
value: input.io
|
|
22383
|
+
})) && _vo3(input.io, _path + ".io", true && _exceptionable) || _report(_exceptionable, {
|
|
22384
|
+
path: _path + ".io",
|
|
22385
|
+
expected: "__type.o2",
|
|
22386
|
+
value: input.io
|
|
22387
|
+
}), undefined === input.fs || ("object" === typeof input.fs && null !== input.fs && false === Array.isArray(input.fs) || _report(_exceptionable, {
|
|
22388
|
+
path: _path + ".fs",
|
|
22389
|
+
expected: "(StorageFsStats | undefined)",
|
|
22390
|
+
value: input.fs
|
|
22391
|
+
})) && _vo7(input.fs, _path + ".fs", true && _exceptionable) || _report(_exceptionable, {
|
|
22392
|
+
path: _path + ".fs",
|
|
22393
|
+
expected: "(StorageFsStats | undefined)",
|
|
22394
|
+
value: input.fs
|
|
22395
|
+
}), undefined === input.s3 || ("object" === typeof input.s3 && null !== input.s3 && false === Array.isArray(input.s3) || _report(_exceptionable, {
|
|
22396
|
+
path: _path + ".s3",
|
|
22397
|
+
expected: "(StorageS3Stats | undefined)",
|
|
22398
|
+
value: input.s3
|
|
22399
|
+
})) && _vo8(input.s3, _path + ".s3", true && _exceptionable) || _report(_exceptionable, {
|
|
22400
|
+
path: _path + ".s3",
|
|
22401
|
+
expected: "(StorageS3Stats | undefined)",
|
|
22402
|
+
value: input.s3
|
|
22403
|
+
})].every(flag => flag); const _vo1 = (input, _path, _exceptionable = true) => [undefined === input.readBytesPerSecond || "number" === typeof input.readBytesPerSecond || _report(_exceptionable, {
|
|
22404
|
+
path: _path + ".readBytesPerSecond",
|
|
22405
|
+
expected: "(number | undefined)",
|
|
22406
|
+
value: input.readBytesPerSecond
|
|
22407
|
+
}), undefined === input.writeBytesPerSecond || "number" === typeof input.writeBytesPerSecond || _report(_exceptionable, {
|
|
22408
|
+
path: _path + ".writeBytesPerSecond",
|
|
22409
|
+
expected: "(number | undefined)",
|
|
22410
|
+
value: input.writeBytesPerSecond
|
|
22411
|
+
})].every(flag => flag); const _vo2 = (input, _path, _exceptionable = true) => ["number" === typeof input.downstreamConnected || _report(_exceptionable, {
|
|
22412
|
+
path: _path + ".downstreamConnected",
|
|
22413
|
+
expected: "number",
|
|
22414
|
+
value: input.downstreamConnected
|
|
22415
|
+
}), "number" === typeof input.upstreamConnected || _report(_exceptionable, {
|
|
22416
|
+
path: _path + ".upstreamConnected",
|
|
22417
|
+
expected: "number",
|
|
22418
|
+
value: input.upstreamConnected
|
|
22419
|
+
}), "number" === typeof input.pending || _report(_exceptionable, {
|
|
22420
|
+
path: _path + ".pending",
|
|
22421
|
+
expected: "number",
|
|
22422
|
+
value: input.pending
|
|
22423
|
+
}), "number" === typeof input.completed || _report(_exceptionable, {
|
|
22424
|
+
path: _path + ".completed",
|
|
22425
|
+
expected: "number",
|
|
22426
|
+
value: input.completed
|
|
22427
|
+
}), "number" === typeof input.failed || _report(_exceptionable, {
|
|
22428
|
+
path: _path + ".failed",
|
|
22429
|
+
expected: "number",
|
|
22430
|
+
value: input.failed
|
|
22431
|
+
})].every(flag => flag); const _vo3 = (input, _path, _exceptionable = true) => [("object" === typeof input.read && null !== input.read || _report(_exceptionable, {
|
|
22432
|
+
path: _path + ".read",
|
|
22433
|
+
expected: "__type.o3",
|
|
22434
|
+
value: input.read
|
|
22435
|
+
})) && _vo4(input.read, _path + ".read", true && _exceptionable) || _report(_exceptionable, {
|
|
22436
|
+
path: _path + ".read",
|
|
22437
|
+
expected: "__type.o3",
|
|
22438
|
+
value: input.read
|
|
22439
|
+
}), ("object" === typeof input.write && null !== input.write || _report(_exceptionable, {
|
|
22440
|
+
path: _path + ".write",
|
|
22441
|
+
expected: "__type.o4",
|
|
22442
|
+
value: input.write
|
|
22443
|
+
})) && _vo6(input.write, _path + ".write", true && _exceptionable) || _report(_exceptionable, {
|
|
22444
|
+
path: _path + ".write",
|
|
22445
|
+
expected: "__type.o4",
|
|
22446
|
+
value: input.write
|
|
22447
|
+
})].every(flag => flag); const _vo4 = (input, _path, _exceptionable = true) => ["number" === typeof input.bytesPerSecond || _report(_exceptionable, {
|
|
22448
|
+
path: _path + ".bytesPerSecond",
|
|
22449
|
+
expected: "number",
|
|
22450
|
+
value: input.bytesPerSecond
|
|
22451
|
+
}), "number" === typeof input.pending || _report(_exceptionable, {
|
|
22452
|
+
path: _path + ".pending",
|
|
22453
|
+
expected: "number",
|
|
22454
|
+
value: input.pending
|
|
22455
|
+
}), ("object" === typeof input.queues && null !== input.queues || _report(_exceptionable, {
|
|
22456
|
+
path: _path + ".queues",
|
|
22457
|
+
expected: "StorageIoQueues",
|
|
22458
|
+
value: input.queues
|
|
22459
|
+
})) && _vo5(input.queues, _path + ".queues", true && _exceptionable) || _report(_exceptionable, {
|
|
22460
|
+
path: _path + ".queues",
|
|
22461
|
+
expected: "StorageIoQueues",
|
|
22462
|
+
value: input.queues
|
|
22463
|
+
})].every(flag => flag); const _vo5 = (input, _path, _exceptionable = true) => ["number" === typeof input.highest || _report(_exceptionable, {
|
|
22464
|
+
path: _path + ".highest",
|
|
22465
|
+
expected: "number",
|
|
22466
|
+
value: input.highest
|
|
22467
|
+
}), "number" === typeof input.higher || _report(_exceptionable, {
|
|
22468
|
+
path: _path + ".higher",
|
|
22469
|
+
expected: "number",
|
|
22470
|
+
value: input.higher
|
|
22471
|
+
}), "number" === typeof input.high || _report(_exceptionable, {
|
|
22472
|
+
path: _path + ".high",
|
|
22473
|
+
expected: "number",
|
|
22474
|
+
value: input.high
|
|
22475
|
+
}), "number" === typeof input.normal || _report(_exceptionable, {
|
|
22476
|
+
path: _path + ".normal",
|
|
22477
|
+
expected: "number",
|
|
22478
|
+
value: input.normal
|
|
22479
|
+
}), "number" === typeof input.low || _report(_exceptionable, {
|
|
22480
|
+
path: _path + ".low",
|
|
22481
|
+
expected: "number",
|
|
22482
|
+
value: input.low
|
|
22483
|
+
}), "number" === typeof input.lower || _report(_exceptionable, {
|
|
22484
|
+
path: _path + ".lower",
|
|
22485
|
+
expected: "number",
|
|
22486
|
+
value: input.lower
|
|
22487
|
+
}), "number" === typeof input.lowest || _report(_exceptionable, {
|
|
22488
|
+
path: _path + ".lowest",
|
|
22489
|
+
expected: "number",
|
|
22490
|
+
value: input.lowest
|
|
22491
|
+
})].every(flag => flag); const _vo6 = (input, _path, _exceptionable = true) => ["number" === typeof input.bytesPerSecond || _report(_exceptionable, {
|
|
22492
|
+
path: _path + ".bytesPerSecond",
|
|
22493
|
+
expected: "number",
|
|
22494
|
+
value: input.bytesPerSecond
|
|
22495
|
+
}), "number" === typeof input.pending || _report(_exceptionable, {
|
|
22496
|
+
path: _path + ".pending",
|
|
22497
|
+
expected: "number",
|
|
22498
|
+
value: input.pending
|
|
22499
|
+
}), ("object" === typeof input.queues && null !== input.queues || _report(_exceptionable, {
|
|
22500
|
+
path: _path + ".queues",
|
|
22501
|
+
expected: "StorageIoQueues",
|
|
22502
|
+
value: input.queues
|
|
22503
|
+
})) && _vo5(input.queues, _path + ".queues", true && _exceptionable) || _report(_exceptionable, {
|
|
22504
|
+
path: _path + ".queues",
|
|
22505
|
+
expected: "StorageIoQueues",
|
|
22506
|
+
value: input.queues
|
|
22507
|
+
})].every(flag => flag); const _vo7 = (input, _path, _exceptionable = true) => [undefined === input.concurrency || "number" === typeof input.concurrency || _report(_exceptionable, {
|
|
22508
|
+
path: _path + ".concurrency",
|
|
22509
|
+
expected: "(number | undefined)",
|
|
22510
|
+
value: input.concurrency
|
|
22511
|
+
}), undefined === input.path || "string" === typeof input.path || _report(_exceptionable, {
|
|
22512
|
+
path: _path + ".path",
|
|
22513
|
+
expected: "(string | undefined)",
|
|
22514
|
+
value: input.path
|
|
22515
|
+
}), null === input.snapshot || undefined === input.snapshot || "number" === typeof input.snapshot || _report(_exceptionable, {
|
|
22516
|
+
path: _path + ".snapshot",
|
|
22517
|
+
expected: "(null | number | undefined)",
|
|
22518
|
+
value: input.snapshot
|
|
22519
|
+
}), undefined === input.available || "number" === typeof input.available || _report(_exceptionable, {
|
|
22520
|
+
path: _path + ".available",
|
|
22521
|
+
expected: "(number | undefined)",
|
|
22522
|
+
value: input.available
|
|
22523
|
+
}), undefined === input.free || "number" === typeof input.free || _report(_exceptionable, {
|
|
22524
|
+
path: _path + ".free",
|
|
22525
|
+
expected: "(number | undefined)",
|
|
22526
|
+
value: input.free
|
|
22527
|
+
}), undefined === input.used || "number" === typeof input.used || _report(_exceptionable, {
|
|
22528
|
+
path: _path + ".used",
|
|
22529
|
+
expected: "(number | undefined)",
|
|
22530
|
+
value: input.used
|
|
22531
|
+
}), undefined === input.size || "number" === typeof input.size || _report(_exceptionable, {
|
|
22532
|
+
path: _path + ".size",
|
|
22533
|
+
expected: "(number | undefined)",
|
|
22534
|
+
value: input.size
|
|
22535
|
+
}), undefined === input.state || "string" === typeof input.state || _report(_exceptionable, {
|
|
22536
|
+
path: _path + ".state",
|
|
22537
|
+
expected: "(string | undefined)",
|
|
22538
|
+
value: input.state
|
|
22539
|
+
}), false === _exceptionable || Object.keys(input).map(key => {
|
|
22540
|
+
if (["concurrency", "path", "snapshot", "available", "free", "used", "size", "state"].some(prop => key === prop))
|
|
22541
|
+
return true;
|
|
22542
|
+
const value = input[key];
|
|
22543
|
+
if (undefined === value)
|
|
22544
|
+
return true;
|
|
22545
|
+
return true;
|
|
22546
|
+
}).every(flag => flag)].every(flag => flag); const _vo8 = (input, _path, _exceptionable = true) => [undefined === input.bucket || "string" === typeof input.bucket || _report(_exceptionable, {
|
|
22547
|
+
path: _path + ".bucket",
|
|
22548
|
+
expected: "(string | undefined)",
|
|
22549
|
+
value: input.bucket
|
|
22550
|
+
}), undefined === input.region || "string" === typeof input.region || _report(_exceptionable, {
|
|
22551
|
+
path: _path + ".region",
|
|
22552
|
+
expected: "(string | undefined)",
|
|
22553
|
+
value: input.region
|
|
22554
|
+
}), undefined === input.endpoint || "string" === typeof input.endpoint || _report(_exceptionable, {
|
|
22555
|
+
path: _path + ".endpoint",
|
|
22556
|
+
expected: "(string | undefined)",
|
|
22557
|
+
value: input.endpoint
|
|
22558
|
+
}), undefined === input.path || "string" === typeof input.path || _report(_exceptionable, {
|
|
22559
|
+
path: _path + ".path",
|
|
22560
|
+
expected: "(string | undefined)",
|
|
22561
|
+
value: input.path
|
|
22562
|
+
}), undefined === input.storageClass || "string" === typeof input.storageClass || _report(_exceptionable, {
|
|
22563
|
+
path: _path + ".storageClass",
|
|
22564
|
+
expected: "(string | undefined)",
|
|
22565
|
+
value: input.storageClass
|
|
22566
|
+
}), false === _exceptionable || Object.keys(input).map(key => {
|
|
22567
|
+
if (["bucket", "region", "endpoint", "path", "storageClass"].some(prop => key === prop))
|
|
22568
|
+
return true;
|
|
22569
|
+
const value = input[key];
|
|
22570
|
+
if (undefined === value)
|
|
22571
|
+
return true;
|
|
22572
|
+
return true;
|
|
22573
|
+
}).every(flag => flag)].every(flag => flag); const __is = input => "object" === typeof input && null !== input && _io0(input); let errors; let _report; return input => {
|
|
22574
|
+
if (false === __is(input)) {
|
|
22575
|
+
errors = [];
|
|
22576
|
+
_report = __typia_transform__validateReport._validateReport(errors);
|
|
22577
|
+
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input || _report(true, {
|
|
22578
|
+
path: _path + "",
|
|
22579
|
+
expected: "StorageStatsDomainRecord",
|
|
22580
|
+
value: input
|
|
22581
|
+
})) && _vo0(input, _path + "", true) || _report(true, {
|
|
22582
|
+
path: _path + "",
|
|
22583
|
+
expected: "StorageStatsDomainRecord",
|
|
22584
|
+
value: input
|
|
22585
|
+
}))(input, "$input", true);
|
|
22586
|
+
const success = 0 === errors.length;
|
|
22587
|
+
return success ? {
|
|
22588
|
+
success,
|
|
22589
|
+
data: input
|
|
22590
|
+
} : {
|
|
22591
|
+
success,
|
|
22592
|
+
errors,
|
|
22593
|
+
data: input
|
|
22594
|
+
};
|
|
22595
|
+
}
|
|
22596
|
+
return {
|
|
22597
|
+
success: true,
|
|
22598
|
+
data: input
|
|
22599
|
+
};
|
|
22600
|
+
}; })()(input);
|
|
22601
|
+
}
|
|
22602
|
+
case ":storage-zone": {
|
|
22603
|
+
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, {
|
|
22604
|
+
path: _path + ".priority",
|
|
22605
|
+
expected: "(number | undefined)",
|
|
22606
|
+
value: input.priority
|
|
22607
|
+
})].every(flag => flag); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); let errors; let _report; return input => {
|
|
22608
|
+
if (false === __is(input)) {
|
|
22609
|
+
errors = [];
|
|
22610
|
+
_report = __typia_transform__validateReport._validateReport(errors);
|
|
22611
|
+
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || _report(true, {
|
|
22612
|
+
path: _path + "",
|
|
22613
|
+
expected: "StorageZoneDomainRecord",
|
|
22614
|
+
value: input
|
|
22615
|
+
})) && _vo0(input, _path + "", true) || _report(true, {
|
|
22616
|
+
path: _path + "",
|
|
22617
|
+
expected: "StorageZoneDomainRecord",
|
|
22618
|
+
value: input
|
|
22619
|
+
}))(input, "$input", true);
|
|
22620
|
+
const success = 0 === errors.length;
|
|
22621
|
+
return success ? {
|
|
22622
|
+
success,
|
|
22623
|
+
data: input
|
|
22624
|
+
} : {
|
|
22625
|
+
success,
|
|
22626
|
+
errors,
|
|
22627
|
+
data: input
|
|
22628
|
+
};
|
|
22629
|
+
}
|
|
22630
|
+
return {
|
|
22631
|
+
success: true,
|
|
22632
|
+
data: input
|
|
22633
|
+
};
|
|
22634
|
+
}; })()(input);
|
|
22635
|
+
}
|
|
21758
22636
|
case ":storyboard": {
|
|
21759
22637
|
return (() => { const _io0 = input => Object.keys(input).every(key => {
|
|
21760
22638
|
const value = input[key];
|
|
@@ -22595,7 +23473,12 @@ function _validateDomainRecord(domain, input) {
|
|
|
22595
23473
|
if (undefined === value)
|
|
22596
23474
|
return true;
|
|
22597
23475
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io2(value);
|
|
22598
|
-
}); const _io2 = input => undefined === input.path || "string" === typeof input.path; const
|
|
23476
|
+
}); 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 => {
|
|
23477
|
+
const value = input[key];
|
|
23478
|
+
if (undefined === value)
|
|
23479
|
+
return true;
|
|
23480
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io7(value);
|
|
23481
|
+
}); 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
23482
|
path: _path + ".source",
|
|
22600
23483
|
expected: "(string | undefined)",
|
|
22601
23484
|
value: input.source
|
|
@@ -22644,6 +23527,155 @@ function _validateDomainRecord(domain, input) {
|
|
|
22644
23527
|
path: _path + ".path",
|
|
22645
23528
|
expected: "(string | undefined)",
|
|
22646
23529
|
value: input.path
|
|
23530
|
+
}), undefined === input.type || "string" === typeof input.type || _report(_exceptionable, {
|
|
23531
|
+
path: _path + ".type",
|
|
23532
|
+
expected: "(string | undefined)",
|
|
23533
|
+
value: input.type
|
|
23534
|
+
}), undefined === input.label || "string" === typeof input.label || _report(_exceptionable, {
|
|
23535
|
+
path: _path + ".label",
|
|
23536
|
+
expected: "(string | undefined)",
|
|
23537
|
+
value: input.label
|
|
23538
|
+
}), undefined === input.defaultValue || "string" === typeof input.defaultValue || _report(_exceptionable, {
|
|
23539
|
+
path: _path + ".defaultValue",
|
|
23540
|
+
expected: "(string | undefined)",
|
|
23541
|
+
value: input.defaultValue
|
|
23542
|
+
}), undefined === input.widget || ("object" === typeof input.widget && null !== input.widget || _report(_exceptionable, {
|
|
23543
|
+
path: _path + ".widget",
|
|
23544
|
+
expected: "(__type | undefined)",
|
|
23545
|
+
value: input.widget
|
|
23546
|
+
})) && _vo3(input.widget, _path + ".widget", true && _exceptionable) || _report(_exceptionable, {
|
|
23547
|
+
path: _path + ".widget",
|
|
23548
|
+
expected: "(__type | undefined)",
|
|
23549
|
+
value: input.widget
|
|
23550
|
+
}), undefined === input.properties || ("object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) || _report(_exceptionable, {
|
|
23551
|
+
path: _path + ".properties",
|
|
23552
|
+
expected: "(object | undefined)",
|
|
23553
|
+
value: input.properties
|
|
23554
|
+
})) && _vo4(input.properties, _path + ".properties", true && _exceptionable) || _report(_exceptionable, {
|
|
23555
|
+
path: _path + ".properties",
|
|
23556
|
+
expected: "(object | undefined)",
|
|
23557
|
+
value: input.properties
|
|
23558
|
+
}), undefined === input.items || ("object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) || _report(_exceptionable, {
|
|
23559
|
+
path: _path + ".items",
|
|
23560
|
+
expected: "(__type.o1 | undefined)",
|
|
23561
|
+
value: input.items
|
|
23562
|
+
})) && _vo5(input.items, _path + ".items", true && _exceptionable) || _report(_exceptionable, {
|
|
23563
|
+
path: _path + ".items",
|
|
23564
|
+
expected: "(__type.o1 | undefined)",
|
|
23565
|
+
value: input.items
|
|
23566
|
+
}), undefined === input.render || ("object" === typeof input.render && null !== input.render || _report(_exceptionable, {
|
|
23567
|
+
path: _path + ".render",
|
|
23568
|
+
expected: "(__type.o3 | undefined)",
|
|
23569
|
+
value: input.render
|
|
23570
|
+
})) && _vo9(input.render, _path + ".render", true && _exceptionable) || _report(_exceptionable, {
|
|
23571
|
+
path: _path + ".render",
|
|
23572
|
+
expected: "(__type.o3 | undefined)",
|
|
23573
|
+
value: input.render
|
|
23574
|
+
})].every(flag => flag); const _vo3 = (input, _path, _exceptionable = true) => ["string" === typeof input.type || _report(_exceptionable, {
|
|
23575
|
+
path: _path + ".type",
|
|
23576
|
+
expected: "string",
|
|
23577
|
+
value: input.type
|
|
23578
|
+
})].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, {
|
|
23579
|
+
path: _path + ".properties",
|
|
23580
|
+
expected: "(Record<string, TemplatePropertySchema> | undefined)",
|
|
23581
|
+
value: input.properties
|
|
23582
|
+
})) && _vo6(input.properties, _path + ".properties", true && _exceptionable) || _report(_exceptionable, {
|
|
23583
|
+
path: _path + ".properties",
|
|
23584
|
+
expected: "(Record<string, TemplatePropertySchema> | undefined)",
|
|
23585
|
+
value: input.properties
|
|
23586
|
+
})].every(flag => flag); const _vo6 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
23587
|
+
const value = input[key];
|
|
23588
|
+
if (undefined === value)
|
|
23589
|
+
return true;
|
|
23590
|
+
return ("object" === typeof value && null !== value && false === Array.isArray(value) || _report(_exceptionable, {
|
|
23591
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
23592
|
+
expected: "TemplatePropertySchema",
|
|
23593
|
+
value: value
|
|
23594
|
+
})) && _vo7(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || _report(_exceptionable, {
|
|
23595
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
23596
|
+
expected: "TemplatePropertySchema",
|
|
23597
|
+
value: value
|
|
23598
|
+
});
|
|
23599
|
+
}).every(flag => flag)].every(flag => flag); const _vo7 = (input, _path, _exceptionable = true) => [undefined === input.path || "string" === typeof input.path || _report(_exceptionable, {
|
|
23600
|
+
path: _path + ".path",
|
|
23601
|
+
expected: "(string | undefined)",
|
|
23602
|
+
value: input.path
|
|
23603
|
+
}), undefined === input.type || "string" === typeof input.type || _report(_exceptionable, {
|
|
23604
|
+
path: _path + ".type",
|
|
23605
|
+
expected: "(string | undefined)",
|
|
23606
|
+
value: input.type
|
|
23607
|
+
}), undefined === input.label || "string" === typeof input.label || _report(_exceptionable, {
|
|
23608
|
+
path: _path + ".label",
|
|
23609
|
+
expected: "(string | undefined)",
|
|
23610
|
+
value: input.label
|
|
23611
|
+
}), undefined === input.defaultValue || "string" === typeof input.defaultValue || _report(_exceptionable, {
|
|
23612
|
+
path: _path + ".defaultValue",
|
|
23613
|
+
expected: "(string | undefined)",
|
|
23614
|
+
value: input.defaultValue
|
|
23615
|
+
}), undefined === input.widget || ("object" === typeof input.widget && null !== input.widget || _report(_exceptionable, {
|
|
23616
|
+
path: _path + ".widget",
|
|
23617
|
+
expected: "(__type.o2 | undefined)",
|
|
23618
|
+
value: input.widget
|
|
23619
|
+
})) && _vo8(input.widget, _path + ".widget", true && _exceptionable) || _report(_exceptionable, {
|
|
23620
|
+
path: _path + ".widget",
|
|
23621
|
+
expected: "(__type.o2 | undefined)",
|
|
23622
|
+
value: input.widget
|
|
23623
|
+
}), undefined === input.items || ("object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) || _report(_exceptionable, {
|
|
23624
|
+
path: _path + ".items",
|
|
23625
|
+
expected: "(TemplatePropertySchema | undefined)",
|
|
23626
|
+
value: input.items
|
|
23627
|
+
})) && _vo7(input.items, _path + ".items", true && _exceptionable) || _report(_exceptionable, {
|
|
23628
|
+
path: _path + ".items",
|
|
23629
|
+
expected: "(TemplatePropertySchema | undefined)",
|
|
23630
|
+
value: input.items
|
|
23631
|
+
}), undefined === input.properties || ("object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) || _report(_exceptionable, {
|
|
23632
|
+
path: _path + ".properties",
|
|
23633
|
+
expected: "(Record<string, TemplatePropertySchema> | undefined)",
|
|
23634
|
+
value: input.properties
|
|
23635
|
+
})) && _vo6(input.properties, _path + ".properties", true && _exceptionable) || _report(_exceptionable, {
|
|
23636
|
+
path: _path + ".properties",
|
|
23637
|
+
expected: "(Record<string, TemplatePropertySchema> | undefined)",
|
|
23638
|
+
value: input.properties
|
|
23639
|
+
})].every(flag => flag); const _vo8 = (input, _path, _exceptionable = true) => ["string" === typeof input.type || _report(_exceptionable, {
|
|
23640
|
+
path: _path + ".type",
|
|
23641
|
+
expected: "string",
|
|
23642
|
+
value: input.type
|
|
23643
|
+
})].every(flag => flag); const _vo9 = (input, _path, _exceptionable = true) => ["image" === input.type || _report(_exceptionable, {
|
|
23644
|
+
path: _path + ".type",
|
|
23645
|
+
expected: "\"image\"",
|
|
23646
|
+
value: input.type
|
|
23647
|
+
}), undefined === input.profile || ("object" === typeof input.profile && null !== input.profile && false === Array.isArray(input.profile) || _report(_exceptionable, {
|
|
23648
|
+
path: _path + ".profile",
|
|
23649
|
+
expected: "(__type.o4 | undefined)",
|
|
23650
|
+
value: input.profile
|
|
23651
|
+
})) && _vo10(input.profile, _path + ".profile", true && _exceptionable) || _report(_exceptionable, {
|
|
23652
|
+
path: _path + ".profile",
|
|
23653
|
+
expected: "(__type.o4 | undefined)",
|
|
23654
|
+
value: input.profile
|
|
23655
|
+
})].every(flag => flag); const _vo10 = (input, _path, _exceptionable = true) => [undefined === input.format || "string" === typeof input.format || _report(_exceptionable, {
|
|
23656
|
+
path: _path + ".format",
|
|
23657
|
+
expected: "(string | undefined)",
|
|
23658
|
+
value: input.format
|
|
23659
|
+
}), undefined === input.video || ("object" === typeof input.video && null !== input.video || _report(_exceptionable, {
|
|
23660
|
+
path: _path + ".video",
|
|
23661
|
+
expected: "(__type.o5 | undefined)",
|
|
23662
|
+
value: input.video
|
|
23663
|
+
})) && _vo11(input.video, _path + ".video", true && _exceptionable) || _report(_exceptionable, {
|
|
23664
|
+
path: _path + ".video",
|
|
23665
|
+
expected: "(__type.o5 | undefined)",
|
|
23666
|
+
value: input.video
|
|
23667
|
+
})].every(flag => flag); const _vo11 = (input, _path, _exceptionable = true) => ["number" === typeof input.width || _report(_exceptionable, {
|
|
23668
|
+
path: _path + ".width",
|
|
23669
|
+
expected: "number",
|
|
23670
|
+
value: input.width
|
|
23671
|
+
}), "number" === typeof input.height || _report(_exceptionable, {
|
|
23672
|
+
path: _path + ".height",
|
|
23673
|
+
expected: "number",
|
|
23674
|
+
value: input.height
|
|
23675
|
+
}), "cover" === input.fit || _report(_exceptionable, {
|
|
23676
|
+
path: _path + ".fit",
|
|
23677
|
+
expected: "\"cover\"",
|
|
23678
|
+
value: input.fit
|
|
22647
23679
|
})].every(flag => flag); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); let errors; let _report; return input => {
|
|
22648
23680
|
if (false === __is(input)) {
|
|
22649
23681
|
errors = [];
|